diff --git "a/dist/assets/index-33b9caaa.js" "b/dist/assets/index-33b9caaa.js" new file mode 100644--- /dev/null +++ "b/dist/assets/index-33b9caaa.js" @@ -0,0 +1,72 @@ +function YH(){import.meta.url,import("_").catch(()=>1);async function*e(){}}function fy(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 a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();var lg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hy={exports:{}},Gc={},my={exports:{}},Ye={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var bs=Symbol.for("react.element"),w_=Symbol.for("react.portal"),I_=Symbol.for("react.fragment"),N_=Symbol.for("react.strict_mode"),R_=Symbol.for("react.profiler"),O_=Symbol.for("react.provider"),P_=Symbol.for("react.context"),L_=Symbol.for("react.forward_ref"),k_=Symbol.for("react.suspense"),M_=Symbol.for("react.memo"),D_=Symbol.for("react.lazy"),cg=Symbol.iterator;function F_(e){return e===null||typeof e!="object"?null:(e=cg&&e[cg]||e["@@iterator"],typeof e=="function"?e:null)}var py={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},gy=Object.assign,vy={};function Po(e,t,n){this.props=e,this.context=t,this.refs=vy,this.updater=n||py}Po.prototype.isReactComponent={};Po.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Po.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ey(){}Ey.prototype=Po.prototype;function ym(e,t,n){this.props=e,this.context=t,this.refs=vy,this.updater=n||py}var bm=ym.prototype=new Ey;bm.constructor=ym;gy(bm,Po.prototype);bm.isPureReactComponent=!0;var dg=Array.isArray,yy=Object.prototype.hasOwnProperty,Tm={current:null},by={key:!0,ref:!0,__self:!0,__source:!0};function Ty(e,t,n){var r,i={},a=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(a=""+t.key),t)yy.call(t,r)&&!by.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(u===1)i.children=n;else if(1>>1,W=P[D];if(0>>1;Di(Z,C))Ji(fe,Z)?(P[D]=fe,P[J]=C,D=J):(P[D]=Z,P[X]=C,D=X);else if(Ji(fe,C))P[D]=fe,P[J]=C,D=J;else break e}}return $}function i(P,$){var C=P.sortIndex-$.sortIndex;return C!==0?C:P.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var s=[],l=[],c=1,d=null,h=3,m=!1,y=!1,b=!1,T=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(P){for(var $=n(l);$!==null;){if($.callback===null)r(l);else if($.startTime<=P)r(l),$.sortIndex=$.expirationTime,t(s,$);else break;$=n(l)}}function _(P){if(b=!1,E(P),!y)if(n(s)!==null)y=!0,H(x);else{var $=n(l);$!==null&&L(_,$.startTime-P)}}function x(P,$){y=!1,b&&(b=!1,v(R),R=-1),m=!0;var C=h;try{for(E($),d=n(s);d!==null&&(!(d.expirationTime>$)||P&&!F());){var D=d.callback;if(typeof D=="function"){d.callback=null,h=d.priorityLevel;var W=D(d.expirationTime<=$);$=e.unstable_now(),typeof W=="function"?d.callback=W:d===n(s)&&r(s),E($)}else r(s);d=n(s)}if(d!==null)var w=!0;else{var X=n(l);X!==null&&L(_,X.startTime-$),w=!1}return w}finally{d=null,h=C,m=!1}}var S=!1,I=null,R=-1,O=5,M=-1;function F(){return!(e.unstable_now()-MP||125D?(P.sortIndex=C,t(l,P),n(s)===null&&P===n(l)&&(b?(v(R),R=-1):b=!0,L(_,C-D))):(P.sortIndex=W,t(s,P),y||m||(y=!0,H(x))),P},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(P){var $=h;return function(){var C=h;h=$;try{return P.apply(this,arguments)}finally{h=C}}}})(Ay);xy.exports=Ay;var G_=xy.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var K_=p,zn=G_;function ne(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),S0=Object.prototype.hasOwnProperty,Q_=/^[: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]*$/,hg={},mg={};function X_(e){return S0.call(mg,e)?!0:S0.call(hg,e)?!1:Q_.test(e)?mg[e]=!0:(hg[e]=!0,!1)}function Z_(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 J_(e,t,n,r){if(t===null||typeof t>"u"||Z_(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 mn(e,t,n,r,i,a,o){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=a,this.removeEmptyString=o}var Zt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Zt[e]=new mn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Zt[t]=new mn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Zt[e]=new mn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Zt[e]=new mn(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){Zt[e]=new mn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Zt[e]=new mn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Zt[e]=new mn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Zt[e]=new mn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Zt[e]=new mn(e,5,!1,e.toLowerCase(),null,!1,!1)});var _m=/[\-:]([a-z])/g;function xm(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(_m,xm);Zt[t]=new mn(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(_m,xm);Zt[t]=new mn(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(_m,xm);Zt[t]=new mn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Zt[e]=new mn(e,1,!1,e.toLowerCase(),null,!1,!1)});Zt.xlinkHref=new mn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Zt[e]=new mn(e,1,!1,e.toLowerCase(),null,!0,!0)});function Am(e,t,n,r){var i=Zt.hasOwnProperty(t)?Zt[t]:null;(i!==null?i.type!==0:r||!(2u||i[o]!==a[u]){var s="\n"+i[o].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=u);break}}}finally{ff=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?du(e):""}function ex(e){switch(e.tag){case 5:return du(e.type);case 16:return du("Lazy");case 13:return du("Suspense");case 19:return du("SuspenseList");case 0:case 2:case 15:return e=hf(e.type,!1),e;case 11:return e=hf(e.type.render,!1),e;case 1:return e=hf(e.type,!0),e;default:return""}}function w0(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 Ga:return"Fragment";case qa:return"Portal";case _0:return"Profiler";case wm:return"StrictMode";case x0:return"Suspense";case A0:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ny:return(e.displayName||"Context")+".Consumer";case Iy:return(e._context.displayName||"Context")+".Provider";case Im:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Nm:return t=e.displayName||null,t!==null?t:w0(e.type)||"Memo";case Ci:t=e._payload,e=e._init;try{return w0(e(t))}catch(n){}}return null}function tx(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 w0(t);case 8:return t===wm?"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 $i(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Oy(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function nx(e){var t=Oy(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,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Js(e){e._valueTracker||(e._valueTracker=nx(e))}function Py(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Oy(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function oc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch(t){return e.body}}function I0(e,t){var n=t.checked;return yt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function gg(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=$i(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 Ly(e,t){t=t.checked,t!=null&&Am(e,"checked",t,!1)}function N0(e,t){Ly(e,t);var n=$i(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")?R0(e,t.type,n):t.hasOwnProperty("defaultValue")&&R0(e,t.type,$i(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function vg(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 R0(e,t,n){(t!=="number"||oc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var fu=Array.isArray;function lo(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=el.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Hu(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var vu={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},rx=["Webkit","ms","Moz","O"];Object.keys(vu).forEach(function(e){rx.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),vu[t]=vu[e]})});function Fy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||vu.hasOwnProperty(e)&&vu[e]?(""+t).trim():t+"px"}function By(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Fy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var ix=yt({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 L0(e,t){if(t){if(ix[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ne(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ne(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ne(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ne(62))}}function k0(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 M0=null;function Rm(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var D0=null,co=null,fo=null;function bg(e){if(e=_s(e)){if(typeof D0!="function")throw Error(ne(280));var t=e.stateNode;t&&(t=Jc(t),D0(e.stateNode,e.type,t))}}function Hy(e){co?fo?fo.push(e):fo=[e]:co=e}function Uy(){if(co){var e=co,t=fo;if(fo=co=null,bg(e),t)for(e=0;e>>=0,e===0?32:31-(px(e)/gx|0)|0}var tl=64,nl=4194304;function hu(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 cc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var u=o&~i;u!==0?r=hu(u):(a&=o,a!==0&&(r=hu(a)))}else o=n&~i,o!==0?r=hu(o):a!==0&&(r=hu(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,a=t&-t,i>=a||i===16&&(a&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 Cs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Cr(t),e[t]=n}function bx(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=yu),Ng=String.fromCharCode(32),Rg=!1;function ob(e,t){switch(e){case"keyup":return Gx.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ub(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ka=!1;function Qx(e,t){switch(e){case"compositionend":return ub(t);case"keypress":return t.which!==32?null:(Rg=!0,Ng);case"textInput":return e=t.data,e===Ng&&Rg?null:e;default:return null}}function Xx(e,t){if(Ka)return e==="compositionend"||!Bm&&ob(e,t)?(e=ib(),Fl=Mm=Ai=null,Ka=!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=kg(n)}}function db(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?db(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function fb(){for(var e=window,t=oc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch(r){n=!1}if(n)e=t.contentWindow;else break;t=oc(e.document)}return t}function Hm(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 oA(e){var t=fb(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&db(n.ownerDocument.documentElement,n)){if(r!==null&&Hm(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,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=Mg(n,a);var o=Mg(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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,Qa=null,z0=null,Tu=null,j0=!1;function Dg(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;j0||Qa==null||Qa!==oc(r)||(r=Qa,"selectionStart"in r&&Hm(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}),Tu&&Wu(Tu,r)||(Tu=r,r=hc(z0,"onSelect"),0Ja||(e.current=K0[Ja],K0[Ja]=null,Ja--)}function st(e,t){Ja++,K0[Ja]=e.current,e.current=t}var zi={},rn=Wi(zi),bn=Wi(!1),Ea=zi;function bo(e,t){var n=e.type.contextTypes;if(!n)return zi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Tn(e){return e=e.childContextTypes,e!=null}function pc(){ft(bn),ft(rn)}function jg(e,t,n){if(rn.current!==zi)throw Error(ne(168));st(rn,t),st(bn,n)}function Tb(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(ne(108,tx(e)||"Unknown",i));return yt({},n,r)}function gc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||zi,Ea=rn.current,st(rn,e),st(bn,bn.current),!0}function Vg(e,t,n){var r=e.stateNode;if(!r)throw Error(ne(169));n?(e=Tb(e,t,Ea),r.__reactInternalMemoizedMergedChildContext=e,ft(bn),ft(rn),st(rn,e)):ft(bn),st(bn,n)}var Qr=null,ed=!1,wf=!1;function Cb(e){Qr===null?Qr=[e]:Qr.push(e)}function EA(e){ed=!0,Cb(e)}function Yi(){if(!wf&&Qr!==null){wf=!0;var e=0,t=rt;try{var n=Qr;for(rt=1;e>=o,i-=o,Zr=1<<32-Cr(t)+i|n<R?(O=I,I=null):O=I.sibling;var M=h(v,I,E[R],_);if(M===null){I===null&&(I=O);break}e&&I&&M.alternate===null&&t(v,I),g=a(M,g,R),S===null?x=M:S.sibling=M,S=M,I=O}if(R===E.length)return n(v,I),pt&&ea(v,R),x;if(I===null){for(;RR?(O=I,I=null):O=I.sibling;var F=h(v,I,M.value,_);if(F===null){I===null&&(I=O);break}e&&I&&F.alternate===null&&t(v,I),g=a(F,g,R),S===null?x=F:S.sibling=F,S=F,I=O}if(M.done)return n(v,I),pt&&ea(v,R),x;if(I===null){for(;!M.done;R++,M=E.next())M=d(v,M.value,_),M!==null&&(g=a(M,g,R),S===null?x=M:S.sibling=M,S=M);return pt&&ea(v,R),x}for(I=r(v,I);!M.done;R++,M=E.next())M=m(I,v,R,M.value,_),M!==null&&(e&&M.alternate!==null&&I.delete(M.key===null?R:M.key),g=a(M,g,R),S===null?x=M:S.sibling=M,S=M);return e&&I.forEach(function(B){return t(v,B)}),pt&&ea(v,R),x}function T(v,g,E,_){if(typeof E=="object"&&E!==null&&E.type===Ga&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case Zs:e:{for(var x=E.key,S=g;S!==null;){if(S.key===x){if(x=E.type,x===Ga){if(S.tag===7){n(v,S.sibling),g=i(S,E.props.children),g.return=v,v=g;break e}}else if(S.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Ci&&qg(x)===S.type){n(v,S.sibling),g=i(S,E.props),g.ref=eu(v,S,E),g.return=v,v=g;break e}n(v,S);break}else t(v,S);S=S.sibling}E.type===Ga?(g=ma(E.props.children,v.mode,_,E.key),g.return=v,v=g):(_=Wl(E.type,E.key,E.props,null,v.mode,_),_.ref=eu(v,g,E),_.return=v,v=_)}return o(v);case qa:e:{for(S=E.key;g!==null;){if(g.key===S)if(g.tag===4&&g.stateNode.containerInfo===E.containerInfo&&g.stateNode.implementation===E.implementation){n(v,g.sibling),g=i(g,E.children||[]),g.return=v,v=g;break e}else{n(v,g);break}else t(v,g);g=g.sibling}g=Mf(E,v.mode,_),g.return=v,v=g}return o(v);case Ci:return S=E._init,T(v,g,S(E._payload),_)}if(fu(E))return y(v,g,E,_);if(Ko(E))return b(v,g,E,_);ll(v,E)}return typeof E=="string"&&E!==""||typeof E=="number"?(E=""+E,g!==null&&g.tag===6?(n(v,g.sibling),g=i(g,E),g.return=v,v=g):(n(v,g),g=kf(E,v.mode,_),g.return=v,v=g),o(v)):n(v,g)}return T}var Co=Ab(!0),wb=Ab(!1),yc=Wi(null),bc=null,no=null,jm=null;function Vm(){jm=no=bc=null}function Wm(e){var t=yc.current;ft(yc),e._currentValue=t}function Z0(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function mo(e,t){bc=e,jm=no=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(yn=!0),e.firstContext=null)}function ir(e){var t=e._currentValue;if(jm!==e)if(e={context:e,memoizedValue:t,next:null},no===null){if(bc===null)throw Error(ne(308));no=e,bc.dependencies={lanes:0,firstContext:e}}else no=no.next=e;return t}var ua=null;function Ym(e){ua===null?ua=[e]:ua.push(e)}function Ib(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ym(t)):(n.next=i.next,i.next=n),t.interleaved=n,ii(e,r)}function ii(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Si=!1;function qm(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Nb(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ei(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Di(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Qe&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,ii(e,n)}return i=r.interleaved,i===null?(t.next=t,Ym(r)):(t.next=i.next,i.next=t),r.interleaved=t,ii(e,n)}function Hl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Pm(e,n)}}function Gg(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Tc(e,t,n,r){var i=e.updateQueue;Si=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,u=i.shared.pending;if(u!==null){i.shared.pending=null;var s=u,l=s.next;s.next=null,o===null?a=l:o.next=l,o=s;var c=e.alternate;c!==null&&(c=c.updateQueue,u=c.lastBaseUpdate,u!==o&&(u===null?c.firstBaseUpdate=l:u.next=l,c.lastBaseUpdate=s))}if(a!==null){var d=i.baseState;o=0,c=l=s=null,u=a;do{var h=u.lane,m=u.eventTime;if((r&h)===h){c!==null&&(c=c.next={eventTime:m,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var y=e,b=u;switch(h=t,m=n,b.tag){case 1:if(y=b.payload,typeof y=="function"){d=y.call(m,d,h);break e}d=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=b.payload,h=typeof y=="function"?y.call(m,d,h):y,h==null)break e;d=yt({},d,h);break e;case 2:Si=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[u]:h.push(u))}else m={eventTime:m,lane:h,tag:u.tag,payload:u.payload,callback:u.callback,next:null},c===null?(l=c=m,s=d):c=c.next=m,o|=h;if(u=u.next,u===null){if(u=i.shared.pending,u===null)break;h=u,u=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(1);if(c===null&&(s=d),i.baseState=s,i.firstBaseUpdate=l,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);Ta|=o,e.lanes=o,e.memoizedState=d}}function Kg(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Nf.transition;Nf.transition={};try{e(!1),t()}finally{rt=n,Nf.transition=r}}function Yb(){return ar().memoizedState}function CA(e,t,n){var r=Bi(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},qb(e))Gb(t,n);else if(n=Ib(e,t,n,r),n!==null){var i=dn();Sr(n,e,r,i),Kb(n,t,r)}}function SA(e,t,n){var r=Bi(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(qb(e))Gb(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,u=a(o,n);if(i.hasEagerState=!0,i.eagerState=u,Ar(u,o)){var s=t.interleaved;s===null?(i.next=i,Ym(t)):(i.next=s.next,s.next=i),t.interleaved=i;return}}catch(l){}finally{}n=Ib(e,t,i,r),n!==null&&(i=dn(),Sr(n,e,r,i),Kb(n,t,r))}}function qb(e){var t=e.alternate;return e===Et||t!==null&&t===Et}function Gb(e,t){Cu=Sc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Kb(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Pm(e,n)}}var _c={readContext:ir,useCallback:en,useContext:en,useEffect:en,useImperativeHandle:en,useInsertionEffect:en,useLayoutEffect:en,useMemo:en,useReducer:en,useRef:en,useState:en,useDebugValue:en,useDeferredValue:en,useTransition:en,useMutableSource:en,useSyncExternalStore:en,useId:en,unstable_isNewReconciler:!1},_A={readContext:ir,useCallback:function(e,t){return Pr().memoizedState=[e,t===void 0?null:t],e},useContext:ir,useEffect:Xg,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,$l(4194308,4,$b.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $l(4194308,4,e,t)},useInsertionEffect:function(e,t){return $l(4,2,e,t)},useMemo:function(e,t){var n=Pr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Pr();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=CA.bind(null,Et,e),[r.memoizedState,e]},useRef:function(e){var t=Pr();return e={current:e},t.memoizedState=e},useState:Qg,useDebugValue:tp,useDeferredValue:function(e){return Pr().memoizedState=e},useTransition:function(){var e=Qg(!1),t=e[0];return e=TA.bind(null,e[1]),Pr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Et,i=Pr();if(pt){if(n===void 0)throw Error(ne(407));n=n()}else{if(n=t(),zt===null)throw Error(ne(349));ba&30||Lb(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Xg(Mb.bind(null,r,a,e),[e]),r.flags|=2048,Ju(9,kb.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Pr(),t=zt.identifierPrefix;if(pt){var n=Jr,r=Zr;n=(r&~(1<<32-Cr(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Xu++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[kr]=t,e[Gu]=r,aT(e,t,!1,!1),t.stateNode=e;e:{switch(o=k0(n,r),n){case"dialog":dt("cancel",e),dt("close",e),i=r;break;case"iframe":case"object":case"embed":dt("load",e),i=r;break;case"video":case"audio":for(i=0;ixo&&(t.flags|=128,r=!0,tu(a,!1),t.lanes=4194304)}else{if(!r)if(e=Cc(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),tu(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!pt)return tn(t),null}else 2*_t()-a.renderingStartTime>xo&&n!==1073741824&&(t.flags|=128,r=!0,tu(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(n=a.last,n!==null?n.sibling=o:t.child=o,a.last=o)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=_t(),t.sibling=null,n=vt.current,st(vt,r?n&1|2:n&1),t):(tn(t),null);case 22:case 23:return up(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?kn&1073741824&&(tn(t),t.subtreeFlags&6&&(t.flags|=8192)):tn(t),null;case 24:return null;case 25:return null}throw Error(ne(156,t.tag))}function PA(e,t){switch($m(t),t.tag){case 1:return Tn(t.type)&&pc(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return So(),ft(bn),ft(rn),Qm(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Km(t),null;case 13:if(ft(vt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ne(340));To()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ft(vt),null;case 4:return So(),null;case 10:return Wm(t.type._context),null;case 22:case 23:return up(),null;case 24:return null;default:return null}}var dl=!1,nn=!1,LA=typeof WeakSet=="function"?WeakSet:Set,ge=null;function ro(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ct(e,t,r)}else n.current=null}function uh(e,t,n){try{n()}catch(r){Ct(e,t,r)}}var s1=!1;function kA(e,t){if(V0=dc,e=fb(),Hm(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,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(_){n=null;break e}var o=0,u=-1,s=-1,l=0,c=0,d=e,h=null;t:for(;;){for(var m;d!==n||i!==0&&d.nodeType!==3||(u=o+i),d!==a||r!==0&&d.nodeType!==3||(s=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(m=d.firstChild)!==null;)h=d,d=m;for(;;){if(d===e)break t;if(h===n&&++l===i&&(u=o),h===a&&++c===r&&(s=o),(m=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=m}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(W0={focusedElem:e,selectionRange:n},dc=!1,ge=t;ge!==null;)if(t=ge,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ge=e;else for(;ge!==null;){t=ge;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var b=y.memoizedProps,T=y.memoizedState,v=t.stateNode,g=v.getSnapshotBeforeUpdate(t.elementType===t.type?b:gr(t.type,b),T);v.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var E=t.stateNode.containerInfo;E.nodeType===1?E.textContent="":E.nodeType===9&&E.documentElement&&E.removeChild(E.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ne(163))}}catch(_){Ct(t,t.return,_)}if(e=t.sibling,e!==null){e.return=t.return,ge=e;break}ge=t.return}return y=s1,s1=!1,y}function Su(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 a=i.destroy;i.destroy=void 0,a!==void 0&&uh(t,n,a)}i=i.next}while(i!==r)}}function rd(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 sh(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 sT(e){var t=e.alternate;t!==null&&(e.alternate=null,sT(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[kr],delete t[Gu],delete t[G0],delete t[gA],delete t[vA])),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 lT(e){return e.tag===5||e.tag===3||e.tag===4}function l1(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||lT(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 lh(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=mc));else if(r!==4&&(e=e.child,e!==null))for(lh(e,t,n),e=e.sibling;e!==null;)lh(e,t,n),e=e.sibling}function ch(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(ch(e,t,n),e=e.sibling;e!==null;)ch(e,t,n),e=e.sibling}var qt=null,vr=!1;function gi(e,t,n){for(n=n.child;n!==null;)cT(e,t,n),n=n.sibling}function cT(e,t,n){if(Br&&typeof Br.onCommitFiberUnmount=="function")try{Br.onCommitFiberUnmount(Kc,n)}catch(u){}switch(n.tag){case 5:nn||ro(n,t);case 6:var r=qt,i=vr;qt=null,gi(e,t,n),qt=r,vr=i,qt!==null&&(vr?(e=qt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):qt.removeChild(n.stateNode));break;case 18:qt!==null&&(vr?(e=qt,n=n.stateNode,e.nodeType===8?Af(e.parentNode,n):e.nodeType===1&&Af(e,n),ju(e)):Af(qt,n.stateNode));break;case 4:r=qt,i=vr,qt=n.stateNode.containerInfo,vr=!0,gi(e,t,n),qt=r,vr=i;break;case 0:case 11:case 14:case 15:if(!nn&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&uh(n,t,o),i=i.next}while(i!==r)}gi(e,t,n);break;case 1:if(!nn&&(ro(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){Ct(n,t,u)}gi(e,t,n);break;case 21:gi(e,t,n);break;case 22:n.mode&1?(nn=(r=nn)||n.memoizedState!==null,gi(e,t,n),nn=r):gi(e,t,n);break;default:gi(e,t,n)}}function c1(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new LA),t.forEach(function(r){var i=jA.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function mr(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~a}if(r=i,r=_t()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*DA(r/1960))-r,10e?16:e,wi===null)var r=!1;else{if(e=wi,wi=null,wc=0,Qe&6)throw Error(ne(331));var i=Qe;for(Qe|=4,ge=e.current;ge!==null;){var a=ge,o=a.child;if(ge.flags&16){var u=a.deletions;if(u!==null){for(var s=0;s_t()-ap?ha(e,0):ip|=n),Cn(e,t)}function ET(e,t){t===0&&(e.mode&1?(t=nl,nl<<=1,!(nl&130023424)&&(nl=4194304)):t=1);var n=dn();e=ii(e,t),e!==null&&(Cs(e,t,n),Cn(e,n))}function zA(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ET(e,n)}function jA(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(ne(314))}r!==null&&r.delete(t),ET(e,n)}var yT;yT=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||bn.current)yn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return yn=!1,RA(e,t,n);yn=!!(e.flags&131072)}else yn=!1,pt&&t.flags&1048576&&Sb(t,Ec,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;zl(e,t),e=t.pendingProps;var i=bo(t,rn.current);mo(t,n),i=Zm(null,t,r,e,i,n);var a=Jm();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,Tn(r)?(a=!0,gc(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,qm(t),i.updater=nd,t.stateNode=i,i._reactInternals=t,eh(t,r,e,n),t=rh(null,t,r,!0,a,n)):(t.tag=0,pt&&a&&Um(t),ln(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(zl(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=WA(r),e=gr(r,e),i){case 0:t=nh(null,t,r,e,n);break e;case 1:t=a1(null,t,r,e,n);break e;case 11:t=r1(null,t,r,e,n);break e;case 14:t=i1(null,t,r,gr(r.type,e),n);break e}throw Error(ne(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:gr(r,i),nh(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:gr(r,i),a1(e,t,r,i,n);case 3:e:{if(nT(t),e===null)throw Error(ne(387));r=t.pendingProps,a=t.memoizedState,i=a.element,Nb(e,t),Tc(t,r,null,n);var o=t.memoizedState;if(r=o.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=_o(Error(ne(423)),t),t=o1(e,t,r,n,i);break e}else if(r!==i){i=_o(Error(ne(424)),t),t=o1(e,t,r,n,i);break e}else for(Dn=Mi(t.stateNode.containerInfo.firstChild),Un=t,pt=!0,br=null,n=wb(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(To(),r===i){t=ai(e,t,n);break e}ln(e,t,r,n)}t=t.child}return t;case 5:return Rb(t),e===null&&X0(t),r=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,Y0(r,i)?o=null:a!==null&&Y0(r,a)&&(t.flags|=32),tT(e,t),ln(e,t,o,n),t.child;case 6:return e===null&&X0(t),null;case 13:return rT(e,t,n);case 4:return Gm(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Co(t,null,r,n):ln(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:gr(r,i),r1(e,t,r,i,n);case 7:return ln(e,t,t.pendingProps,n),t.child;case 8:return ln(e,t,t.pendingProps.children,n),t.child;case 12:return ln(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value,st(yc,r._currentValue),r._currentValue=o,a!==null)if(Ar(a.value,o)){if(a.children===i.children&&!bn.current){t=ai(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var u=a.dependencies;if(u!==null){o=a.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(a.tag===1){s=ei(-1,n&-n),s.tag=2;var l=a.updateQueue;if(l!==null){l=l.shared;var c=l.pending;c===null?s.next=s:(s.next=c.next,c.next=s),l.pending=s}}a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Z0(a.return,n,t),u.lanes|=n;break}s=s.next}}else if(a.tag===10)o=a.type===t.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(ne(341));o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Z0(o,n,t),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===t){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}ln(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,mo(t,n),i=ir(i),r=r(i),t.flags|=1,ln(e,t,r,n),t.child;case 14:return r=t.type,i=gr(r,t.pendingProps),i=gr(r.type,i),i1(e,t,r,i,n);case 15:return Jb(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:gr(r,i),zl(e,t),t.tag=1,Tn(r)?(e=!0,gc(t)):e=!1,mo(t,n),Qb(t,r,i),eh(t,r,i,n),rh(null,t,r,!0,e,n);case 19:return iT(e,t,n);case 22:return eT(e,t,n)}throw Error(ne(156,t.tag))};function bT(e,t){return qy(e,t)}function VA(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 nr(e,t,n,r){return new VA(e,t,n,r)}function lp(e){return e=e.prototype,!(!e||!e.isReactComponent)}function WA(e){if(typeof e=="function")return lp(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Im)return 11;if(e===Nm)return 14}return 2}function Hi(e,t){var n=e.alternate;return n===null?(n=nr(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 Wl(e,t,n,r,i,a){var o=2;if(r=e,typeof e=="function")lp(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ga:return ma(n.children,i,a,t);case wm:o=8,i|=8;break;case _0:return e=nr(12,n,t,i|2),e.elementType=_0,e.lanes=a,e;case x0:return e=nr(13,n,t,i),e.elementType=x0,e.lanes=a,e;case A0:return e=nr(19,n,t,i),e.elementType=A0,e.lanes=a,e;case Ry:return ad(n,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Iy:o=10;break e;case Ny:o=9;break e;case Im:o=11;break e;case Nm:o=14;break e;case Ci:o=16,r=null;break e}throw Error(ne(130,e==null?e:typeof e,""))}return t=nr(o,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function ma(e,t,n,r){return e=nr(7,e,r,t),e.lanes=n,e}function ad(e,t,n,r){return e=nr(22,e,r,t),e.elementType=Ry,e.lanes=n,e.stateNode={isHidden:!1},e}function kf(e,t,n){return e=nr(6,e,null,t),e.lanes=n,e}function Mf(e,t,n){return t=nr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function YA(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=pf(0),this.expirationTimes=pf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pf(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function cp(e,t,n,r,i,a,o,u,s){return e=new YA(e,t,n,u,s),t===1?(t=1,a===!0&&(t|=8)):t=0,a=nr(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},qm(a),e}function qA(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(_T)}catch(e){console.error(e)}}_T(),_y.exports=Vn;var As=_y.exports;const ph=qc(As),ZA=fy({__proto__:null,default:ph},[As]);var E1=As;C0.createRoot=E1.createRoot,C0.hydrateRoot=E1.hydrateRoot;const JA="_app_1k3bk_1",e3="_content_1k3bk_9",t3="_header_1k3bk_15",n3="_header-nav_1k3bk_23",r3="_active_1k3bk_37",i3="_header-opt_1k3bk_40",ml={app:JA,content:e3,header:t3,"header-nav":"_header-nav_1k3bk_23",headerNav:n3,active:r3,"header-opt":"_header-opt_1k3bk_40",headerOpt:i3},a3="/assets/logo-38417354.svg";/** + * @remix-run/router v1.16.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function ts(){return ts=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function xT(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch(n){}}}function u3(){return Math.random().toString(36).substr(2,8)}function b1(e,t){return{usr:e.state,key:e.key,idx:t}}function gh(e,t,n,r){return n===void 0&&(n=null),ts({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Mo(t):t,{state:n,key:t&&t.key||r||u3()})}function AT(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 Mo(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 s3(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,u=Ii.Pop,s=null,l=c();l==null&&(l=0,o.replaceState(ts({},o.state,{idx:l}),""));function c(){return(o.state||{idx:null}).idx}function d(){u=Ii.Pop;let T=c(),v=T==null?null:T-l;l=T,s&&s({action:u,location:b.location,delta:v})}function h(T,v){u=Ii.Push;let g=gh(b.location,T,v);n&&n(g,T),l=c()+1;let E=b1(g,l),_=b.createHref(g);try{o.pushState(E,"",_)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;i.location.assign(_)}a&&s&&s({action:u,location:b.location,delta:1})}function m(T,v){u=Ii.Replace;let g=gh(b.location,T,v);n&&n(g,T),l=c();let E=b1(g,l),_=b.createHref(g);o.replaceState(E,"",_),a&&s&&s({action:u,location:b.location,delta:0})}function y(T){let v=i.location.origin!=="null"?i.location.origin:i.location.href,g=typeof T=="string"?T:AT(T);return g=g.replace(/ $/,"%20"),Qt(v,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,v)}let b={get action(){return u},get location(){return e(i,o)},listen(T){if(s)throw new Error("A history only accepts one active listener");return i.addEventListener(y1,d),s=T,()=>{i.removeEventListener(y1,d),s=null}},createHref(T){return t(i,T)},createURL:y,encodeLocation(T){let v=y(T);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:h,replace:m,go(T){return o.go(T)}};return b}var T1;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(T1||(T1={}));function l3(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Mo(t):t,i=NT(r.pathname||"/",n);if(i==null)return null;let a=wT(e);c3(a);let o=null;for(let u=0;o==null&&u{let s={relativePath:u===void 0?a.path||"":u,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};s.relativePath.startsWith("/")&&(Qt(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 l=pa([r,s.relativePath]),c=n.concat(s);a.children&&a.children.length>0&&(Qt(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+l+'".')),wT(a.children,t,c,l)),!(a.path==null&&!a.index)&&t.push({path:l,score:v3(l,a.index),routesMeta:c})};return e.forEach((a,o)=>{var u;if(a.path===""||!((u=a.path)!=null&&u.includes("?")))i(a,o);else for(let s of IT(a.path))i(a,o,s)}),t}function IT(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let o=IT(r.join("/")),u=[];return u.push(...o.map(s=>s===""?a:[a,s].join("/"))),i&&u.push(...o),u.map(s=>e.startsWith("/")&&s===""?"/":s)}function c3(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:E3(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const d3=/^:[\w-]+$/,f3=3,h3=2,m3=1,p3=10,g3=-2,C1=e=>e==="*";function v3(e,t){let n=e.split("/"),r=n.length;return n.some(C1)&&(r+=g3),t&&(r+=h3),n.filter(i=>!C1(i)).reduce((i,a)=>i+(d3.test(a)?f3:a===""?m3:p3),r)}function E3(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 y3(e,t){let{routesMeta:n}=e,r={},i="/",a=[];for(let o=0;o{let{paramName:h,isOptional:m}=c;if(h==="*"){let b=u[d]||"";o=a.slice(0,a.length-b.length).replace(/(.)\/+$/,"$1")}const y=u[d];return m&&!y?l[h]=void 0:l[h]=(y||"").replace(/%2F/g,"/"),l},{}),pathname:a,pathnameBase:o,pattern:e}}function T3(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),xT(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,(o,u,s)=>(r.push({paramName:u,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 C3(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return xT(!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 NT(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 S3(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Mo(e):e;return{pathname:n?n.startsWith("/")?n:_3(n,t):t,search:w3(r),hash:I3(i)}}function _3(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 Df(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 x3(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function RT(e,t){let n=x3(e);return t?n.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function OT(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Mo(e):(i=ts({},e),Qt(!i.pathname||!i.pathname.includes("?"),Df("?","pathname","search",i)),Qt(!i.pathname||!i.pathname.includes("#"),Df("#","pathname","hash",i)),Qt(!i.search||!i.search.includes("#"),Df("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,u;if(o==null)u=n;else{let d=t.length-1;if(!r&&o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),d-=1;i.pathname=h.join("/")}u=d>=0?t[d]:"/"}let s=S3(i,u),l=o&&o!=="/"&&o.endsWith("/"),c=(a||o===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(l||c)&&(s.pathname+="/"),s}const pa=e=>e.join("/").replace(/\/\/+/g,"/"),A3=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),w3=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,I3=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function N3(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const PT=["post","put","patch","delete"];new Set(PT);const R3=["get",...PT];new Set(R3);/** + * React Router v6.23.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function ns(){return ns=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u.current=!0}),p.useCallback(function(l,c){if(c===void 0&&(c={}),!u.current)return;if(typeof l=="number"){r.go(l);return}let d=OT(l,JSON.parse(o),a,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:pa([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,o,a,e])}function k3(e,t){return M3(e,t)}function M3(e,t,n,r){Is()||Qt(!1);let{navigator:i}=p.useContext(ws),{matches:a}=p.useContext(Aa),o=a[a.length-1],u=o?o.params:{};o&&o.pathname;let s=o?o.pathnameBase:"/";o&&o.route;let l=pp(),c;if(t){var d;let T=typeof t=="string"?Mo(t):t;s==="/"||(d=T.pathname)!=null&&d.startsWith(s)||Qt(!1),c=T}else c=l;let h=c.pathname||"/",m=h;if(s!=="/"){let T=s.replace(/^\//,"").split("/");m="/"+h.replace(/^\//,"").split("/").slice(T.length).join("/")}let y=l3(e,{pathname:m}),b=U3(y&&y.map(T=>Object.assign({},T,{params:Object.assign({},u,T.params),pathname:pa([s,i.encodeLocation?i.encodeLocation(T.pathname).pathname:T.pathname]),pathnameBase:T.pathnameBase==="/"?s:pa([s,i.encodeLocation?i.encodeLocation(T.pathnameBase).pathname:T.pathnameBase])})),a,n,r);return t&&b?p.createElement(cd.Provider,{value:{location:ns({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Ii.Pop}},b):b}function D3(){let e=V3(),t=N3(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)"},a=null;return p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},t),n?p.createElement("pre",{style:i},n):null,a)}const F3=p.createElement(D3,null);class B3 extends p.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?p.createElement(Aa.Provider,{value:this.props.routeContext},p.createElement(LT.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function H3(e){let{routeContext:t,match:n,children:r}=e,i=p.useContext(mp);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),p.createElement(Aa.Provider,{value:t},r)}function U3(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var a;if((a=n)!=null&&a.errors)e=n.matches;else return null}let o=e,u=(i=n)==null?void 0:i.errors;if(u!=null){let c=o.findIndex(d=>d.route.id&&(u==null?void 0:u[d.route.id])!==void 0);c>=0||Qt(!1),o=o.slice(0,Math.min(o.length,c+1))}let s=!1,l=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?o=o.slice(0,l+1):o=[o[0]];break}}}return o.reduceRight((c,d,h)=>{let m,y=!1,b=null,T=null;n&&(m=u&&d.route.id?u[d.route.id]:void 0,b=d.route.errorElement||F3,s&&(l<0&&h===0?(Y3("route-fallback",!1),y=!0,T=null):l===h&&(y=!0,T=d.route.hydrateFallbackElement||null)));let v=t.concat(o.slice(0,h+1)),g=()=>{let E;return m?E=b:y?E=T:d.route.Component?E=p.createElement(d.route.Component,null):d.route.element?E=d.route.element:E=c,p.createElement(H3,{match:d,routeContext:{outlet:c,matches:v,isDataRoute:n!=null},children:E})};return n&&(d.route.ErrorBoundary||d.route.errorElement||h===0)?p.createElement(B3,{location:n.location,revalidation:n.revalidation,component:b,error:m,children:g(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):g()},null)}var MT=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(MT||{}),Rc=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}(Rc||{});function $3(e){let t=p.useContext(mp);return t||Qt(!1),t}function z3(e){let t=p.useContext(O3);return t||Qt(!1),t}function j3(e){let t=p.useContext(Aa);return t||Qt(!1),t}function DT(e){let t=j3(),n=t.matches[t.matches.length-1];return n.route.id||Qt(!1),n.route.id}function V3(){var e;let t=p.useContext(LT),n=z3(Rc.UseRouteError),r=DT(Rc.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function W3(){let{router:e}=$3(MT.UseNavigateStable),t=DT(Rc.UseNavigateStable),n=p.useRef(!1);return kT(()=>{n.current=!0}),p.useCallback(function(i,a){a===void 0&&(a={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,ns({fromRouteId:t},a)))},[e,t])}const S1={};function Y3(e,t,n){!t&&!S1[e]&&(S1[e]=!0)}function q3(e){let{to:t,replace:n,state:r,relative:i}=e;Is()||Qt(!1);let{future:a,static:o}=p.useContext(ws),{matches:u}=p.useContext(Aa),{pathname:s}=pp(),l=P3(),c=OT(t,RT(u,a.v7_relativeSplatPath),s,i==="path"),d=JSON.stringify(c);return p.useEffect(()=>l(JSON.parse(d),{replace:n,state:r,relative:i}),[l,d,i,n,r]),null}function G3(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Ii.Pop,navigator:a,static:o=!1,future:u}=e;Is()&&Qt(!1);let s=t.replace(/^\/*/,"/"),l=p.useMemo(()=>({basename:s,navigator:a,static:o,future:ns({v7_relativeSplatPath:!1},u)}),[s,u,a,o]);typeof r=="string"&&(r=Mo(r));let{pathname:c="/",search:d="",hash:h="",state:m=null,key:y="default"}=r,b=p.useMemo(()=>{let T=NT(c,s);return T==null?null:{location:{pathname:T,search:d,hash:h,state:m,key:y},navigationType:i}},[s,c,d,h,m,y,i]);return b==null?null:p.createElement(ws.Provider,{value:l},p.createElement(cd.Provider,{children:n,value:b}))}new Promise(()=>{});/** + * React Router DOM v6.23.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */const K3="6";try{window.__reactRouterVersion=K3}catch(e){}const Q3="startTransition",_1=Ts[Q3];function X3(e){let{basename:t,children:n,future:r,window:i}=e,a=p.useRef();a.current==null&&(a.current=o3({window:i,v5Compat:!0}));let o=a.current,[u,s]=p.useState({action:o.action,location:o.location}),{v7_startTransition:l}=r||{},c=p.useCallback(d=>{l&&_1?_1(()=>s(d)):s(d)},[s,l]);return p.useLayoutEffect(()=>o.listen(c),[o,c]),p.createElement(G3,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:o,future:r})}var x1;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(x1||(x1={}));var A1;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(A1||(A1={}));const Z3="_mainPage_6absh_1",J3="_chatContent_6absh_13",ew="_top_6absh_25",tw="_question_6absh_41",nw="_end_6absh_55",rw="_node_6absh_65",iw="_answer_6absh_91",aw="_inner_6absh_96",ow="_mapArea_6absh_105",uw="_response_6absh_121",sw="_sendArea_6absh_159",lw="_notice_6absh_200",cw="_progressContent_6absh_215",dw="_toggleIcon_6absh_238",fw="_titleNode_6absh_244",hw="_conclusion_6absh_251",mw="_steps_6absh_260",pw="_title_6absh_244",gw="_open_6absh_270",vw="_thinking_6absh_287",Ew="_select_6absh_288",yw="_searchList_6absh_291",bw="_con_6absh_251",Tw="_collapsed_6absh_304",Cw="_subTitle_6absh_310",Sw="_query_6absh_320",_w="_query-Item_6absh_324",xw="_thought_6absh_338",Aw="_scrollCon_6absh_344",ww="_searchItem_6absh_369",Iw="_highLight_6absh_376",Nw="_summ_6absh_387",Rw="_url_6absh_393",Ow="_draft_6absh_412",Pw="_loading_6absh_417",Lw="_ball-pulse_6absh_1",kw="_mindmap_6absh_460",Mw="_looping_6absh_490",Dw="_moveGradient_6absh_1",Fw="_disabled_6absh_503",Bw="_finished_6absh_508",Hw="_finishDot_6absh_511",Uw="_init_6absh_520",$w="_status_6absh_533",zw="_onlyone_6absh_550",jw="_endLine_6absh_604",Vw="_showRight_6absh_609",Ww="_loading99_6absh_654",Yw="_fadeIn_6absh_1",qw="_unfold_6absh_1",xe={mainPage:Z3,chatContent:J3,top:ew,question:tw,end:nw,node:rw,answer:iw,inner:aw,mapArea:ow,response:uw,sendArea:sw,notice:lw,progressContent:cw,toggleIcon:dw,titleNode:fw,conclusion:hw,steps:mw,title:pw,open:gw,thinking:vw,select:Ew,searchList:yw,con:bw,collapsed:Tw,subTitle:Cw,query:Sw,"query-Item":"_query-Item_6absh_324",queryItem:_w,thought:xw,scrollCon:Aw,searchItem:ww,highLight:Iw,summ:Nw,url:Rw,draft:Ow,loading:Pw,"ball-pulse":"_ball-pulse_6absh_1",ballPulse:Lw,mindmap:kw,looping:Mw,moveGradient:Dw,disabled:Fw,finished:Bw,finishDot:Hw,init:Uw,status:$w,onlyone:zw,endLine:jw,showRight:Vw,loading99:Ww,fadeIn:Yw,unfold:qw};var FT={exports:{}};/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",o=0;o{var n;const r=()=>e.children&&e.children.length>0?ye("ul",{className:e.children.length===1?xe.onlyone:"",children:e.children.map(i=>ye(BT,{item:i,isEnd:t},i.name))}):null;return ot("li",{children:[ot("article",{className:pe(e.state===1?xe.loading:e.state===2?xe.disabled:e.state===3?xe.finished:"",e.id===0?xe.init:""),children:[ye("span",{children:e.name}),e.state===1&&ye("div",{className:xe.looping}),e.id!==0&&ye("div",{className:xe.finishDot})]}),e.children.length>0&&r(),t&&((n=e.children)===null||n===void 0?void 0:n.length)===0&&ye("div",{className:pe(xe.endLine,"endline")})]})},Kw="/assets/pack-up-ad0b3cbc.svg",Qw="/assets/sendIcon-79e92e84.svg";function et(){return et=Object.assign?Object.assign.bind():function(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},n=[];return ae.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(Oc(r)):Au.isFragment(r)&&r.props?n=n.concat(Oc(r.props.children,t)):n.push(r))}),n}var vh={},Jw=function(t){};function eI(e,t){}function tI(e,t){}function nI(){vh={}}function $T(e,t,n){!t&&!vh[n]&&(e(!1,n),vh[n]=!0)}function $n(e,t){$T(eI,e,t)}function rI(e,t){$T(tI,e,t)}$n.preMessage=Jw;$n.resetWarned=nI;$n.noteOnce=rI;function Be(e){"@babel/helpers - typeof";return Be=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},Be(e)}function iI(e,t){if(Be(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Be(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function zT(e){var t=iI(e,"string");return Be(t)=="symbol"?t:t+""}function V(e,t,n){return(t=zT(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w1(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 K(e){for(var t=1;t=19;var Eh=p.createContext(null);function oI(e){var t=e.children,n=e.onBatchResize,r=p.useRef(0),i=p.useRef([]),a=p.useContext(Eh),o=p.useCallback(function(u,s,l){r.current+=1;var c=r.current;i.current.push({size:u,element:s,data:l}),Promise.resolve().then(function(){c===r.current&&(n==null||n(i.current),i.current=[])}),a==null||a(u,s,l)},[n,a]);return p.createElement(Eh.Provider,{value:o},t)}var jT=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(i,a){return i[0]===n?(r=a,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),i=this.__entries__[r];return i&&i[1]},t.prototype.set=function(n,r){var i=e(this.__entries__,n);~i?this.__entries__[i][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,i=e(r,n);~i&&r.splice(i,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var i=0,a=this.__entries__;i0},e.prototype.connect_=function(){!yh||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),fI?(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(){!yh||!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=dI.some(function(a){return!!~r.indexOf(a)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),VT=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof Ao(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new TI(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 Ao(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 CI(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}(),YT=typeof WeakMap<"u"?new WeakMap:new jT,qT=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=hI.getInstance(),r=new SI(t,n,this);YT.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){qT.prototype[e]=function(){var t;return(t=YT.get(this))[e].apply(t,arguments)}});var _I=function(){return typeof Pc.ResizeObserver<"u"?Pc.ResizeObserver:qT}(),Ni=new Map;function xI(e){e.forEach(function(t){var n,r=t.target;(n=Ni.get(r))===null||n===void 0||n.forEach(function(i){return i(r)})})}var GT=new _I(xI);function AI(e,t){Ni.has(e)||(Ni.set(e,new Set),GT.observe(e)),Ni.get(e).add(t)}function wI(e,t){Ni.has(e)&&(Ni.get(e).delete(t),Ni.get(e).size||(GT.unobserve(e),Ni.delete(e)))}function an(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R1(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:1;O1+=1;var r=O1;function i(a){if(a===0)ZT(r),t();else{var o=QT(function(){i(a-1)});Sp.set(r,o)}}return i(n),r};Ur.cancel=function(e){var t=Sp.get(e);return ZT(e),XT(t)};function JT(e){if(Array.isArray(e))return e}function DI(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,u=[],s=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(c){l=!0,i=c}finally{try{if(!s&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}function eC(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ue(e,t){return JT(e)||DI(e,t)||Cp(e,t)||eC()}function os(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 jn(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function FI(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 P1="data-rc-order",L1="data-rc-priority",BI="rc-util-key",Th=new Map;function tC(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):BI}function _d(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function HI(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function _p(e){return Array.from((Th.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function nC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!jn())return null;var n=t.csp,r=t.prepend,i=t.priority,a=i===void 0?0:i,o=HI(r),u=o==="prependQueue",s=document.createElement("style");s.setAttribute(P1,o),u&&a&&s.setAttribute(L1,"".concat(a)),n!=null&&n.nonce&&(s.nonce=n==null?void 0:n.nonce),s.innerHTML=e;var l=_d(t),c=l.firstChild;if(r){if(u){var d=(t.styles||_p(l)).filter(function(h){if(!["prepend","prependQueue"].includes(h.getAttribute(P1)))return!1;var m=Number(h.getAttribute(L1)||0);return a>=m});if(d.length)return l.insertBefore(s,d[d.length-1].nextSibling),s}l.insertBefore(s,c)}else l.appendChild(s);return s}function rC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=_d(t);return(t.styles||_p(n)).find(function(r){return r.getAttribute(tC(t))===e})}function us(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=rC(e,t);if(n){var r=_d(t);r.removeChild(n)}}function UI(e,t){var n=Th.get(e);if(!n||!FI(document,n)){var r=nC("",t),i=r.parentNode;Th.set(e,i),e.removeChild(r)}}function ti(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=_d(n),i=_p(r),a=K(K({},n),{},{styles:i});UI(r,a);var o=rC(t,a);if(o){var u,s;if((u=a.csp)!==null&&u!==void 0&&u.nonce&&o.nonce!==((s=a.csp)===null||s===void 0?void 0:s.nonce)){var l;o.nonce=(l=a.csp)===null||l===void 0?void 0:l.nonce}return o.innerHTML!==e&&(o.innerHTML=e),o}var c=nC(e,a);return c.setAttribute(tC(a),t),c}function $I(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function jt(e,t){if(e==null)return{};var n,r,i=$I(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Ch(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function i(a,o){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,s=r.has(a);if($n(!s,"Warning: There may be circular references"),s)return!1;if(a===o)return!0;if(n&&u>1)return!1;r.add(a);var l=u+1;if(Array.isArray(a)){if(!Array.isArray(o)||a.length!==o.length)return!1;for(var c=0;c1&&arguments[1]!==void 0?arguments[1]:!1,o={map:this.cache};return n.forEach(function(u){if(!o)o=void 0;else{var s;o=(s=o)===null||s===void 0||(s=s.map)===null||s===void 0?void 0:s.get(u)}}),(r=o)!==null&&r!==void 0&&r.value&&a&&(o.value[1]=this.cacheCallTimes++),(i=o)===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 a=this.keys.reduce(function(l,c){var d=ue(l,2),h=d[1];return i.internalGet(c)[1]0,void 0),k1+=1}return on(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,i){return i(n,r)},void 0)}}]),e}(),Bf=new xp;function _h(e){var t=Array.isArray(e)?e:[e];return Bf.has(t)||Bf.set(t,new oC(t)),Bf.get(t)}var XI=new WeakMap,Hf={};function ZI(e,t){for(var n=XI,r=0;r1&&arguments[1]!==void 0?arguments[1]:!1,n=M1.get(e)||"";return n||(Object.keys(e).forEach(function(r){var i=e[r];n+=r,i instanceof oC?n+=i.id:i&&Be(i)==="object"?n+=wu(i,t):n+=i}),t&&(n=os(n)),M1.set(e,n)),n}function D1(e,t){return os("".concat(t,"_").concat(wu(e,!0)))}var xh=jn();function Je(e){return typeof e=="number"?"".concat(e,"px"):e}function kc(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(i)return e;var a=K(K({},r),{},V(V({},wo,t),_r,n)),o=Object.keys(a).map(function(u){var s=a[u];return s?"".concat(u,'="').concat(s,'"'):null}).filter(function(u){return u}).join(" ");return"")}var ql=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()},JI=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 a=ue(i,2),o=a[0],u=a[1];return"".concat(o,":").concat(u,";")}).join(""),"}"):""},uC=function(t,n,r){var i={},a={};return Object.entries(t).forEach(function(o){var u,s,l=ue(o,2),c=l[0],d=l[1];if(r!=null&&(u=r.preserve)!==null&&u!==void 0&&u[c])a[c]=d;else if((typeof d=="string"||typeof d=="number")&&!(r!=null&&(s=r.ignore)!==null&&s!==void 0&&s[c])){var h,m=ql(c,r==null?void 0:r.prefix);i[m]=typeof d=="number"&&!(r!=null&&(h=r.unitless)!==null&&h!==void 0&&h[c])?"".concat(d,"px"):String(d),a[c]="var(".concat(m,")")}}),[a,JI(i,n,{scope:r==null?void 0:r.scope})]},F1=jn()?p.useLayoutEffect:p.useEffect,Gt=function(t,n){var r=p.useRef(!0);F1(function(){return t(r.current)},n),F1(function(){return r.current=!1,function(){r.current=!0}},[])},B1=function(t,n){Gt(function(r){if(!r)return t()},n)},eN=K({},Ts),H1=eN.useInsertionEffect,tN=function(t,n,r){p.useMemo(t,r),Gt(function(){return n(!0)},r)},nN=H1?function(e,t,n){return H1(function(){return e(),t()},n)}:tN;const rN=nN;var iN=K({},Ts),aN=iN.useInsertionEffect,oN=function(t){var n=[],r=!1;function i(a){r||n.push(a)}return p.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(a){return a()})}},t),i},uN=function(){return function(t){t()}},sN=typeof aN<"u"?oN:uN;const lN=sN;function Ap(e,t,n,r,i){var a=p.useContext(xd),o=a.cache,u=[e].concat(be(t)),s=Sh(u),l=lN([s]),c=function(y){o.opUpdate(s,function(b){var T=b||[void 0,void 0],v=ue(T,2),g=v[0],E=g===void 0?0:g,_=v[1],x=_,S=x||n(),I=[E,S];return y?y(I):I})};p.useMemo(function(){c()},[s]);var d=o.opGet(s),h=d[1];return rN(function(){i==null||i(h)},function(m){return c(function(y){var b=ue(y,2),T=b[0],v=b[1];return m&&T===0&&(i==null||i(h)),[T+1,v]}),function(){o.opUpdate(s,function(y){var b=y||[],T=ue(b,2),v=T[0],g=v===void 0?0:v,E=T[1],_=g-1;return _===0?(l(function(){(m||!o.opGet(s))&&(r==null||r(E,!1))}),null):[g-1,E]})}},[s]),h}var cN={},dN="css",ra=new Map;function fN(e){ra.set(e,(ra.get(e)||0)+1)}function hN(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(wo,'="').concat(e,'"]'));n.forEach(function(r){if(r[Ri]===t){var i;(i=r.parentNode)===null||i===void 0||i.removeChild(r)}})}}var mN=0;function pN(e,t){ra.set(e,(ra.get(e)||0)-1);var n=Array.from(ra.keys()),r=n.filter(function(i){var a=ra.get(i)||0;return a<=0});n.length-r.length>mN&&r.forEach(function(i){hN(i,t),ra.delete(i)})}var gN=function(t,n,r,i){var a=r.getDerivativeToken(t),o=K(K({},a),n);return i&&(o=i(o)),o},sC="token";function vN(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=p.useContext(xd),i=r.cache.instanceId,a=r.container,o=n.salt,u=o===void 0?"":o,s=n.override,l=s===void 0?cN:s,c=n.formatToken,d=n.getComputedToken,h=n.cssVar,m=ZI(function(){return Object.assign.apply(Object,[{}].concat(be(t)))},t),y=wu(m),b=wu(l),T=h?wu(h):"",v=Ap(sC,[u,e.id,y,b,T],function(){var g,E=d?d(m,l,e):gN(m,l,e,c),_=K({},E),x="";if(h){var S=uC(E,h.key,{prefix:h.prefix,ignore:h.ignore,unitless:h.unitless,preserve:h.preserve}),I=ue(S,2);E=I[0],x=I[1]}var R=D1(E,u);E._tokenKey=R,_._tokenKey=D1(_,u);var O=(g=h==null?void 0:h.key)!==null&&g!==void 0?g:R;E._themeKey=O,fN(O);var M="".concat(dN,"-").concat(os(R));return E._hashId=M,[E,M,_,x,(h==null?void 0:h.key)||""]},function(g){pN(g[0]._themeKey,i)},function(g){var E=ue(g,4),_=E[0],x=E[3];if(h&&x){var S=ti(x,os("css-variables-".concat(_._themeKey)),{mark:_r,prepend:"queue",attachTo:a,priority:-999});S[Ri]=i,S.setAttribute(wo,_._themeKey)}});return v}var EN=function(t,n,r){var i=ue(t,5),a=i[2],o=i[3],u=i[4],s=r||{},l=s.plain;if(!o)return null;var c=a._tokenKey,d=-999,h={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)},m=kc(o,u,c,h,l);return[d,c,m]},yN={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},lC="comm",cC="rule",dC="decl",bN="@import",TN="@keyframes",CN="@layer",fC=Math.abs,wp=String.fromCharCode;function hC(e){return e.trim()}function Gl(e,t,n){return e.replace(t,n)}function SN(e,t,n){return e.indexOf(t,n)}function ss(e,t){return e.charCodeAt(t)|0}function ls(e,t,n){return e.slice(t,n)}function Xr(e){return e.length}function _N(e){return e.length}function pl(e,t){return t.push(e),e}var Ad=1,Io=1,mC=0,or=0,Nt=0,Do="";function Ip(e,t,n,r,i,a,o,u){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Ad,column:Io,length:o,return:"",siblings:u}}function xN(){return Nt}function AN(){return Nt=or>0?ss(Do,--or):0,Io--,Nt===10&&(Io=1,Ad--),Nt}function xr(){return Nt=or2||Ah(Nt)>3?"":" "}function RN(e,t){for(;--t&&xr()&&!(Nt<48||Nt>102||Nt>57&&Nt<65||Nt>70&&Nt<97););return wd(e,Kl()+(t<6&&ga()==32&&xr()==32))}function wh(e){for(;xr();)switch(Nt){case e:return or;case 34:case 39:e!==34&&e!==39&&wh(Nt);break;case 40:e===41&&wh(e);break;case 92:xr();break}return or}function ON(e,t){for(;xr()&&e+Nt!==47+10;)if(e+Nt===42+42&&ga()===47)break;return"/*"+wd(t,or-1)+"*"+wp(e===47?e:xr())}function PN(e){for(;!Ah(ga());)xr();return wd(e,or)}function LN(e){return IN(Ql("",null,null,null,[""],e=wN(e),0,[0],e))}function Ql(e,t,n,r,i,a,o,u,s){for(var l=0,c=0,d=o,h=0,m=0,y=0,b=1,T=1,v=1,g=0,E="",_=i,x=a,S=r,I=E;T;)switch(y=g,g=xr()){case 40:if(y!=108&&ss(I,d-1)==58){SN(I+=Gl(Uf(g),"&","&\f"),"&\f",fC(l?u[l-1]:0))!=-1&&(v=-1);break}case 34:case 39:case 91:I+=Uf(g);break;case 9:case 10:case 13:case 32:I+=NN(y);break;case 92:I+=RN(Kl()-1,7);continue;case 47:switch(ga()){case 42:case 47:pl(kN(ON(xr(),Kl()),t,n,s),s);break;default:I+="/"}break;case 123*b:u[l++]=Xr(I)*v;case 125*b:case 59:case 0:switch(g){case 0:case 125:T=0;case 59+c:v==-1&&(I=Gl(I,/\f/g,"")),m>0&&Xr(I)-d&&pl(m>32?$1(I+";",r,n,d-1,s):$1(Gl(I," ","")+";",r,n,d-2,s),s);break;case 59:I+=";";default:if(pl(S=U1(I,t,n,l,c,i,u,E,_=[],x=[],d,a),a),g===123)if(c===0)Ql(I,t,S,S,_,a,d,u,x);else switch(h===99&&ss(I,3)===110?100:h){case 100:case 108:case 109:case 115:Ql(e,S,S,r&&pl(U1(e,S,S,0,0,i,u,E,i,_=[],d,x),x),i,x,d,u,r?_:x);break;default:Ql(I,S,S,S,[""],x,0,u,x)}}l=c=m=0,b=v=1,E=I="",d=o;break;case 58:d=1+Xr(I),m=y;default:if(b<1){if(g==123)--b;else if(g==125&&b++==0&&AN()==125)continue}switch(I+=wp(g),g*b){case 38:v=c>0?1:(I+="\f",-1);break;case 44:u[l++]=(Xr(I)-1)*v,v=1;break;case 64:ga()===45&&(I+=Uf(xr())),h=ga(),c=d=Xr(E=I+=PN(Kl())),g++;break;case 45:y===45&&Xr(I)==2&&(b=0)}}return a}function U1(e,t,n,r,i,a,o,u,s,l,c,d){for(var h=i-1,m=i===0?a:[""],y=_N(m),b=0,T=0,v=0;b0?m[g]+" "+E:Gl(E,/&\f/g,m[g])))&&(s[v++]=_);return Ip(e,t,n,i===0?cC:u,s,l,c,d)}function kN(e,t,n,r){return Ip(e,t,n,lC,wp(xN()),ls(e,2,-2),0,r)}function $1(e,t,n,r,i){return Ip(e,t,n,dC,ls(e,0,r),ls(e,r+1,-1),r,i)}function Ih(e,t){for(var n="",r=0;r1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},i=r.root,a=r.injectHash,o=r.parentSelectors,u=n.hashId,s=n.layer;n.path;var l=n.hashPriority,c=n.transformers,d=c===void 0?[]:c;n.linters;var h="",m={};function y(v){var g=v.getName(u);if(!m[g]){var E=e(v.style,n,{root:!1,parentSelectors:o}),_=ue(E,1),x=_[0];m[g]="@keyframes ".concat(v.getName(u)).concat(x)}}function b(v){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return v.forEach(function(E){Array.isArray(E)?b(E,g):E&&g.push(E)}),g}var T=b(Array.isArray(t)?t:[t]);return T.forEach(function(v){var g=typeof v=="string"&&!i?{}:v;if(typeof g=="string")h+="".concat(g,"\n");else if(g._keyframe)y(g);else{var E=d.reduce(function(_,x){var S;return(x==null||(S=x.visit)===null||S===void 0?void 0:S.call(x,_))||_},g);Object.keys(E).forEach(function(_){var x=E[_];if(Be(x)==="object"&&x&&(_!=="animationName"||!x._keyframe)&&!UN(x)){var S=!1,I=_.trim(),R=!1;(i||a)&&u?I.startsWith("@")?S=!0:I=$N(_,u,l):i&&!u&&(I==="&"||I==="")&&(I="",R=!0);var O=e(x,n,{root:R,injectHash:S,parentSelectors:[].concat(be(o),[I])}),M=ue(O,2),F=M[0],B=M[1];m=K(K({},m),B),h+="".concat(I).concat(F)}else{let G=function(H,L){var P=H.replace(/[A-Z]/g,function(C){return"-".concat(C.toLowerCase())}),$=L;!yN[H]&&typeof $=="number"&&$!==0&&($="".concat($,"px")),H==="animationName"&&L!==null&&L!==void 0&&L._keyframe&&(y(L),$=L.getName(u)),h+="".concat(P,":").concat($,";")};var z,U=(z=x==null?void 0:x.value)!==null&&z!==void 0?z:x;Be(x)==="object"&&x!==null&&x!==void 0&&x[vC]&&Array.isArray(U)?U.forEach(function(H){G(_,H)}):G(_,U)}})}}),i?s&&(h="@layer ".concat(s.name," {").concat(h,"}"),s.dependencies&&(m["@layer ".concat(s.name)]=s.dependencies.map(function(v){return"@layer ".concat(v,", ").concat(s.name,";")}).join("\n"))):h="{".concat(h,"}"),[h,m]};function EC(e,t){return os("".concat(e.join("%")).concat(t))}function jN(){return null}var yC="style";function Nh(e,t){var n=e.token,r=e.path,i=e.hashId,a=e.layer,o=e.nonce,u=e.clientOnly,s=e.order,l=s===void 0?0:s,c=p.useContext(xd),d=c.autoClear;c.mock;var h=c.defaultCache,m=c.hashPriority,y=c.container,b=c.ssrInline,T=c.transformers,v=c.linters,g=c.cache,E=c.layer,_=n._tokenKey,x=[_];E&&x.push("layer"),x.push.apply(x,be(r));var S=xh,I=Ap(yC,x,function(){var B=x.join("|");if(FN(B)){var z=BN(B),U=ue(z,2),G=U[0],H=U[1];if(G)return[G,_,H,{},u,l]}var L=t(),P=zN(L,{hashId:i,hashPriority:m,layer:E?a:void 0,path:r.join("-"),transformers:T,linters:v}),$=ue(P,2),C=$[0],D=$[1],W=Xl(C),w=EC(x,W);return[W,_,w,D,u,l]},function(B,z){var U=ue(B,3),G=U[2];(z||d)&&xh&&us(G,{mark:_r})},function(B){var z=ue(B,4),U=z[0];z[1];var G=z[2],H=z[3];if(S&&U!==pC){var L={mark:_r,prepend:E?!1:"queue",attachTo:y,priority:l},P=typeof o=="function"?o():o;P&&(L.csp={nonce:P});var $=[],C=[];Object.keys(H).forEach(function(W){W.startsWith("@layer")?$.push(W):C.push(W)}),$.forEach(function(W){ti(Xl(H[W]),"_layer-".concat(W),K(K({},L),{},{prepend:!0}))});var D=ti(U,G,L);D[Ri]=g.instanceId,D.setAttribute(wo,_),C.forEach(function(W){ti(Xl(H[W]),"_effect-".concat(W),L)})}}),R=ue(I,3),O=R[0],M=R[1],F=R[2];return function(B){var z;return!b||S||!h?z=p.createElement(jN,null):z=p.createElement("style",et({},V(V({},wo,M),_r,F),{dangerouslySetInnerHTML:{__html:O}})),p.createElement(p.Fragment,null,z,B)}}var VN=function(t,n,r){var i=ue(t,6),a=i[0],o=i[1],u=i[2],s=i[3],l=i[4],c=i[5],d=r||{},h=d.plain;if(l)return null;var m=a,y={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)};return m=kc(a,o,u,y,h),s&&Object.keys(s).forEach(function(b){if(!n[b]){n[b]=!0;var T=Xl(s[b]),v=kc(T,o,"_effect-".concat(b),y,h);b.startsWith("@layer")?m=v+m:m+=v}}),[c,u,m]},bC="cssVar",WN=function(t,n){var r=t.key,i=t.prefix,a=t.unitless,o=t.ignore,u=t.token,s=t.scope,l=s===void 0?"":s,c=p.useContext(xd),d=c.cache.instanceId,h=c.container,m=u._tokenKey,y=[].concat(be(t.path),[r,l,m]),b=Ap(bC,y,function(){var T=n(),v=uC(T,r,{prefix:i,unitless:a,ignore:o,scope:l}),g=ue(v,2),E=g[0],_=g[1],x=EC(y,_);return[E,_,x,r]},function(T){var v=ue(T,3),g=v[2];xh&&us(g,{mark:_r})},function(T){var v=ue(T,3),g=v[1],E=v[2];if(g){var _=ti(g,E,{mark:_r,prepend:"queue",attachTo:h,priority:-999});_[Ri]=d,_.setAttribute(wo,r)}});return b},YN=function(t,n,r){var i=ue(t,4),a=i[1],o=i[2],u=i[3],s=r||{},l=s.plain;if(!a)return null;var c=-999,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)},h=kc(a,u,o,d,l);return[c,o,h]};V(V(V({},yC,VN),sC,EN),bC,YN);var _n=function(){function e(t,n){an(this,e),V(this,"name",void 0),V(this,"style",void 0),V(this,"_keyframe",!0),this.name=t,this.style=n}return on(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 Fa(e){return e.notSplit=!0,e}Fa(["borderTop","borderBottom"]),Fa(["borderTop"]),Fa(["borderBottom"]),Fa(["borderLeft","borderRight"]),Fa(["borderLeft"]),Fa(["borderRight"]);var qN=p.createContext({});const Id=qN;function GN(e){return JT(e)||KT(e)||Cp(e)||eC()}function Dr(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Dr(e,t.slice(0,-1))?e:TC(e,t,n,r)}function KN(e){return Be(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function j1(e){return Array.isArray(e)?[]:{}}var QN=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function ao(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=XN,e},JN=p.createContext(void 0);var eR={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"},tR={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 nR={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},CC=nR,rR={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"]},tR),timePickerLocale:Object.assign({},CC)},V1=rR,Rn="${label} is not a valid ${type}",iR={locale:"en",Pagination:eR,DatePicker:V1,TimePicker:CC,Calendar:V1,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",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:Rn,method:Rn,array:Rn,object:Rn,number:Rn,date:Rn,boolean:Rn,integer:Rn,float:Rn,regexp:Rn,email:Rn,url:Rn,hex:Rn},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"}},Nd=iR;Object.assign({},Nd.Modal);let Zl=[];const W1=()=>Zl.reduce((e,t)=>Object.assign(Object.assign({},e),t),Nd.Modal);function aR(e){if(e){const t=Object.assign({},e);return Zl.push(t),W1(),()=>{Zl=Zl.filter(n=>n!==t),W1()}}Object.assign({},Nd.Modal)}const oR=p.createContext(void 0),SC=oR,uR="internalMark",sR=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;p.useEffect(()=>aR(t&&t.Modal),[t]);const i=p.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return p.createElement(SC.Provider,{value:i},n)},lR=sR;function Xt(e,t){cR(e)&&(e="100%");var n=dR(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 gl(e){return Math.min(1,Math.max(0,e))}function cR(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function dR(e){return typeof e=="string"&&e.indexOf("%")!==-1}function _C(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function vl(e){return e<=1?"".concat(Number(e)*100,"%"):e}function la(e){return e.length===1?"0"+e:String(e)}function fR(e,t,n){return{r:Xt(e,255)*255,g:Xt(t,255)*255,b:Xt(n,255)*255}}function Y1(e,t,n){e=Xt(e,255),t=Xt(t,255),n=Xt(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a=0,o=0,u=(r+i)/2;if(r===i)o=0,a=0;else{var s=r-i;switch(o=u>.5?s/(2-r-i):s/(r+i),r){case e:a=(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 hR(e,t,n){var r,i,a;if(e=Xt(e,360),t=Xt(t,100),n=Xt(n,100),t===0)i=n,a=n,r=n;else{var o=n<.5?n*(1+t):n+t-n*t,u=2*n-o;r=$f(u,o,e+1/3),i=$f(u,o,e),a=$f(u,o,e-1/3)}return{r:r*255,g:i*255,b:a*255}}function Rh(e,t,n){e=Xt(e,255),t=Xt(t,255),n=Xt(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),a=0,o=r,u=r-i,s=r===0?0:u/r;if(r===i)a=0;else{switch(r){case e:a=(t-n)/u+(t>16,g:(e&65280)>>8,b:e&255}}var Ph={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 Va(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,a=null,o=!1,u=!1;return typeof e=="string"&&(e=bR(e)),typeof e=="object"&&(qr(e.r)&&qr(e.g)&&qr(e.b)?(t=fR(e.r,e.g,e.b),o=!0,u=String(e.r).substr(-1)==="%"?"prgb":"rgb"):qr(e.h)&&qr(e.s)&&qr(e.v)?(r=vl(e.s),i=vl(e.v),t=mR(e.h,r,i),o=!0,u="hsv"):qr(e.h)&&qr(e.s)&&qr(e.l)&&(r=vl(e.s),a=vl(e.l),t=hR(e.h,r,a),o=!0,u="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=_C(n),{ok:o,format:e.format||u,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 ER="[-\\+]?\\d+%?",yR="[-\\+]?\\d*\\.\\d+%?",Oi="(?:".concat(yR,")|(?:").concat(ER,")"),zf="[\\s|\\(]+(".concat(Oi,")[,|\\s]+(").concat(Oi,")[,|\\s]+(").concat(Oi,")\\s*\\)?"),jf="[\\s|\\(]+(".concat(Oi,")[,|\\s]+(").concat(Oi,")[,|\\s]+(").concat(Oi,")[,|\\s]+(").concat(Oi,")\\s*\\)?"),pr={CSS_UNIT:new RegExp(Oi),rgb:new RegExp("rgb"+zf),rgba:new RegExp("rgba"+jf),hsl:new RegExp("hsl"+zf),hsla:new RegExp("hsla"+jf),hsv:new RegExp("hsv"+zf),hsva:new RegExp("hsva"+jf),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 bR(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Ph[e])e=Ph[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=pr.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=pr.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=pr.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=pr.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=pr.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=pr.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=pr.hex8.exec(e),n?{r:Pn(n[1]),g:Pn(n[2]),b:Pn(n[3]),a:q1(n[4]),format:t?"name":"hex8"}:(n=pr.hex6.exec(e),n?{r:Pn(n[1]),g:Pn(n[2]),b:Pn(n[3]),format:t?"name":"hex"}:(n=pr.hex4.exec(e),n?{r:Pn(n[1]+n[1]),g:Pn(n[2]+n[2]),b:Pn(n[3]+n[3]),a:q1(n[4]+n[4]),format:t?"name":"hex8"}:(n=pr.hex3.exec(e),n?{r:Pn(n[1]+n[1]),g:Pn(n[2]+n[2]),b:Pn(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function qr(e){return!!pr.CSS_UNIT.exec(String(e))}var Fn=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=vR(t)),this.originalInput=t;var i=Va(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,a=t.r/255,o=t.g/255,u=t.b/255;return a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),u<=.03928?i=u/12.92:i=Math.pow((u+.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=_C(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=Rh(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=Rh(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=Y1(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=Y1(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),Oh(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),pR(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(Xt(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(Xt(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="#"+Oh(this.r,this.g,this.b,!1),n=0,r=Object.entries(Ph);n=0,a=!n&&i&&(t.startsWith("hex")||t==="name");return a?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=gl(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=gl(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=gl(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=gl(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(),a=n/100,o={r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a};return new e(o)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,a=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(new e(r));return a},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,a=n.v,o=[],u=1/t;t--;)o.push(new e({h:r,s:i,v:a})),a=(a+u)%1;return o},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],a=360/t,o=1;o=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-El*t:Math.round(e.h)+El*t:r=n?Math.round(e.h)+El*t:Math.round(e.h)-El*t,r<0?r+=360:r>=360&&(r-=360),r}function X1(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-G1*t:t===AC?r=e.s+G1:r=e.s+TR*t,r>1&&(r=1),n&&t===xC&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function Z1(e,t,n){var r;return n?r=e.v+CR*t:r=e.v-SR*t,r>1&&(r=1),Number(r.toFixed(2))}function Sa(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=Va(e),i=xC;i>0;i-=1){var a=K1(r),o=yl(Va({h:Q1(a,i,!0),s:X1(a,i,!0),v:Z1(a,i,!0)}));n.push(o)}n.push(yl(r));for(var u=1;u<=AC;u+=1){var s=K1(r),l=yl(Va({h:Q1(s,u),s:X1(s,u),v:Z1(s,u)}));n.push(l)}return t.theme==="dark"?_R.map(function(c){var d=c.index,h=c.opacity,m=yl(xR(Va(t.backgroundColor||"#141414"),Va(n[d]),h*100));return m}):n}var Vf={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"},Jl={},Wf={};Object.keys(Vf).forEach(function(e){Jl[e]=Sa(Vf[e]),Jl[e].primary=Jl[e][5],Wf[e]=Sa(Vf[e],{theme:"dark",backgroundColor:"#141414"}),Wf[e].primary=Wf[e][5]});var AR=Jl.blue;const wC={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"},wR=Object.assign(Object.assign({},wC),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'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}),cs=wR;function IR(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:i,colorWarning:a,colorError:o,colorInfo:u,colorPrimary:s,colorBgBase:l,colorTextBase:c}=e,d=n(s),h=n(i),m=n(a),y=n(o),b=n(u),T=r(l,c),v=e.colorLink||e.colorInfo,g=n(v);return Object.assign(Object.assign({},T),{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: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:y[1],colorErrorBgHover:y[2],colorErrorBgActive:y[3],colorErrorBorder:y[3],colorErrorBorderHover:y[4],colorErrorHover:y[5],colorError:y[6],colorErrorActive:y[7],colorErrorTextHover:y[8],colorErrorText:y[9],colorErrorTextActive:y[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:b[1],colorInfoBgHover:b[2],colorInfoBorder:b[3],colorInfoBorderHover:b[4],colorInfoHover:b[4],colorInfo:b[6],colorInfoActive:b[7],colorInfoTextHover:b[8],colorInfoText:b[9],colorInfoTextActive:b[10],colorLinkHover:g[4],colorLink:g[6],colorLinkActive:g[7],colorBgMask:new Fn("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const NR=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}},RR=NR;function OR(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:i}=e;return Object.assign({motionDurationFast:"".concat((n+t).toFixed(1),"s"),motionDurationMid:"".concat((n+t*2).toFixed(1),"s"),motionDurationSlow:"".concat((n+t*3).toFixed(1),"s"),lineWidthBold:i+1},RR(r))}const PR=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},LR=PR;function ec(e){return(e+8)/e}function kR(e){const t=new Array(10).fill(null).map((n,r)=>{const i=r-1,a=e*Math.pow(2.71828,i/5),o=r>1?Math.floor(a):Math.ceil(a);return Math.floor(o/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:ec(n)}))}const MR=e=>{const t=kR(e),n=t.map(c=>c.size),r=t.map(c=>c.lineHeight),i=n[1],a=n[0],o=n[2],u=r[1],s=r[0],l=r[2];return{fontSizeSM:a,fontSize:i,fontSizeLG:o,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:u,lineHeightLG:l,lineHeightSM:s,fontHeight:Math.round(u*i),fontHeightLG:Math.round(l*o),fontHeightSM:Math.round(s*a),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},DR=MR;function FR(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 Gr=(e,t)=>new Fn(e).setAlpha(t).toRgbString(),ru=(e,t)=>new Fn(e).darken(t).toHexString(),BR=e=>{const t=Sa(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]}},HR=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Gr(r,.88),colorTextSecondary:Gr(r,.65),colorTextTertiary:Gr(r,.45),colorTextQuaternary:Gr(r,.25),colorFill:Gr(r,.15),colorFillSecondary:Gr(r,.06),colorFillTertiary:Gr(r,.04),colorFillQuaternary:Gr(r,.02),colorBgLayout:ru(n,4),colorBgContainer:ru(n,0),colorBgElevated:ru(n,0),colorBgSpotlight:Gr(r,.85),colorBgBlur:"transparent",colorBorder:ru(n,15),colorBorderSecondary:ru(n,6)}};function UR(e){const t=Object.keys(wC).map(n=>{const r=Sa(e[n]);return new Array(10).fill(1).reduce((i,a,o)=>(i["".concat(n,"-").concat(o+1)]=r[o],i["".concat(n).concat(o+1)]=r[o],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),IR(e,{generateColorPalettes:BR,generateNeutralColorPalettes:HR})),DR(e.fontSize)),FR(e)),LR(e)),OR(e))}const IC=_h(UR),Lh={token:cs,override:{override:cs},hashed:!0},NC=ae.createContext(Lh),Rp="anticon",$R=(e,t)=>t||(e?"ant-".concat(e):"ant"),Dt=p.createContext({getPrefixCls:$R,iconPrefixCls:Rp}),zR="-ant-".concat(Date.now(),"-").concat(Math.random());function jR(e,t){const n={},r=(o,u)=>{let s=o.clone();return s=(u==null?void 0:u(s))||s,s.toRgbString()},i=(o,u)=>{const s=new Fn(o),l=Sa(s.toRgbString());n["".concat(u,"-color")]=r(s),n["".concat(u,"-color-disabled")]=l[1],n["".concat(u,"-color-hover")]=l[4],n["".concat(u,"-color-active")]=l[6],n["".concat(u,"-color-outline")]=s.clone().setAlpha(.2).toRgbString(),n["".concat(u,"-color-deprecated-bg")]=l[0],n["".concat(u,"-color-deprecated-border")]=l[2]};if(t.primaryColor){i(t.primaryColor,"primary");const o=new Fn(t.primaryColor),u=Sa(o.toRgbString());u.forEach((l,c)=>{n["primary-".concat(c+1)]=l}),n["primary-color-deprecated-l-35"]=r(o,l=>l.lighten(35)),n["primary-color-deprecated-l-20"]=r(o,l=>l.lighten(20)),n["primary-color-deprecated-t-20"]=r(o,l=>l.tint(20)),n["primary-color-deprecated-t-50"]=r(o,l=>l.tint(50)),n["primary-color-deprecated-f-12"]=r(o,l=>l.setAlpha(l.getAlpha()*.12));const s=new Fn(u[0]);n["primary-color-active-deprecated-f-30"]=r(s,l=>l.setAlpha(l.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(s,l=>l.darken(2))}t.successColor&&i(t.successColor,"success"),t.warningColor&&i(t.warningColor,"warning"),t.errorColor&&i(t.errorColor,"error"),t.infoColor&&i(t.infoColor,"info");const a=Object.keys(n).map(o=>"--".concat(e,"-").concat(o,": ").concat(n[o],";"));return"\n :root {\n ".concat(a.join("\n"),"\n }\n ").trim()}function VR(e,t){const n=jR(e,t);jn()&&ti(n,"".concat(zR,"-dynamic-theme"))}const kh=p.createContext(!1),WR=e=>{let{children:t,disabled:n}=e;const r=p.useContext(kh);return p.createElement(kh.Provider,{value:n!=null?n:r},t)},Rd=kh,Mh=p.createContext(void 0),YR=e=>{let{children:t,size:n}=e;const r=p.useContext(Mh);return p.createElement(Mh.Provider,{value:n||r},t)},Od=Mh;function qR(){const e=p.useContext(Rd),t=p.useContext(Od);return{componentDisabled:e,componentSize:t}}const Mc=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],GR="5.18.3";function Yf(e){return e>=0&&e<=255}function bl(e,t){const{r:n,g:r,b:i,a}=new Fn(e).toRgb();if(a<1)return e;const{r:o,g:u,b:s}=new Fn(t).toRgb();for(let l=.01;l<=1;l+=.01){const c=Math.round((n-o*(1-l))/l),d=Math.round((r-u*(1-l))/l),h=Math.round((i-s*(1-l))/l);if(Yf(c)&&Yf(d)&&Yf(h))return new Fn({r:c,g:d,b:h,a:Math.round(l*100)/100}).toRgbString()}return new Fn({r:n,g:r,b:i,a:1}).toRgbString()}var KR=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,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),a=480,o=576,u=768,s=992,l=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:bl(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:bl(i.colorErrorBg,i.colorBgContainer),colorWarningOutline:bl(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:bl(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:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:a,screenXSMin:a,screenXSMax:o-1,screenSM:o,screenSMMin:o,screenSMMax:u-1,screenMD:u,screenMDMin:u,screenMDMax:s-1,screenLG:s,screenLGMin:s,screenLGMax:l-1,screenXL:l,screenXLMin:l,screenXLMax:c-1,screenXXL:c,screenXXLMin:c,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:"\n 0 1px 2px -2px ".concat(new Fn("rgba(0, 0, 0, 0.16)").toRgbString(),",\n 0 3px 6px 0 ").concat(new Fn("rgba(0, 0, 0, 0.12)").toRgbString(),",\n 0 5px 12px 4px ").concat(new Fn("rgba(0, 0, 0, 0.09)").toRgbString(),"\n "),boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",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 J1=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,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,a=J1(t,["override"]);let o=Object.assign(Object.assign({},r),{override:i});return o=RC(o),a&&Object.entries(a).forEach(u=>{let[s,l]=u;const{theme:c}=l,d=J1(l,["theme"]);let h=d;c&&(h=LC(Object.assign(Object.assign({},o),d),{override:d},c)),o[s]=h}),o};function $r(){const{token:e,hashed:t,theme:n,override:r,cssVar:i}=ae.useContext(NC),a="".concat(GR,"-").concat(t||""),o=n||IC,[u,s,l]=vN(o,[cs,e],{salt:a,override:r,getComputedToken:LC,formatToken:RC,cssVar:i&&{prefix:i.prefix,key:i.key,unitless:OC,ignore:PC,preserve:QR}});return[o,l,t?s:"",u,i]}const XR=1e3*60*10;let ZR=function(){function e(){an(this,e),this.map=new Map,this.objectIDMap=new WeakMap,this.nextID=0,this.lastAccessBeat=new Map,this.accessBeat=0}return on(e,[{key:"set",value:function(n,r){this.clear();const i=this.getCompositeKey(n);this.map.set(i,r),this.lastAccessBeat.set(i,Date.now())}},{key:"get",value:function(n){const r=this.getCompositeKey(n),i=this.map.get(r);return this.lastAccessBeat.set(r,Date.now()),this.accessBeat+=1,i}},{key:"getCompositeKey",value:function(n){return n.map(i=>i&&typeof i=="object"?"obj_".concat(this.getObjectID(i)):"".concat(typeof i,"_").concat(i)).join("|")}},{key:"getObjectID",value:function(n){if(this.objectIDMap.has(n))return this.objectIDMap.get(n);const r=this.nextID;return this.objectIDMap.set(n,r),this.nextID+=1,r}},{key:"clear",value:function(){if(this.accessBeat>1e4){const n=Date.now();this.lastAccessBeat.forEach((r,i)=>{n-r>XR&&(this.map.delete(i),this.lastAccessBeat.delete(i))}),this.accessBeat=0}}}])}();const ev=new ZR;function JR(e,t){return ae.useMemo(()=>{const n=ev.get(t);if(n)return n;const r=e();return ev.set(t,r),r},t)}function cn(e){var t=p.useRef();t.current=e;var n=p.useCallback(function(){for(var r,i=arguments.length,a=new Array(i),o=0;o1&&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}},e6=()=>({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"}}),t6=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),n6=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:"color ".concat(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"}}}),r6=(e,t,n,r)=>{const i='[class^="'.concat(t,'"], [class*=" ').concat(t,'"]'),a=n?".".concat(n):i,o={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let u={};return r!==!1&&(u={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[a]:Object.assign(Object.assign(Object.assign({},u),o),{[i]:o})}},i6=e=>({outline:"".concat(Je(e.lineWidthFocus)," solid ").concat(e.colorPrimaryBorder),outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),a6=e=>({"&:focus-visible":Object.assign({},i6(e))});function o6(e){return e==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var t=arguments.length,n=new Array(t),r=0;rJe(i)).join(","),")")},min:function(){for(var t=arguments.length,n=new Array(t),r=0;rJe(i)).join(","),")")}}}const kC=typeof CSSINJS_STATISTIC<"u";let Dh=!0;function Yn(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(i).forEach(o=>{Object.defineProperty(r,o,{configurable:!0,enumerable:!0,get:()=>i[o]})})}),Dh=!0,r}const tv={};function u6(){}const s6=e=>{let t,n=e,r=u6;return kC&&typeof Proxy<"u"&&(t=new Set,n=new Proxy(e,{get(i,a){return Dh&&t.add(a),i[a]}}),r=(i,a)=>{var o;tv[i]={global:Array.from(t),component:Object.assign(Object.assign({},(o=tv[i])===null||o===void 0?void 0:o.component),a)}}),{token:n,keys:t,flush:r}},l6=(e,t)=>{const[n,r]=$r();return Nh({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce,layer:{name:"antd"}},()=>[{[".".concat(e)]:Object.assign(Object.assign({},e6()),{[".".concat(e," .").concat(e,"-icon")]:{display:"block"}})}])},MC=l6,DC=(e,t,n)=>{var r;return typeof n=="function"?n(Yn(t,(r=t[e])!==null&&r!==void 0?r:{})):n!=null?n:{}},FC=(e,t,n,r)=>{const i=Object.assign({},t[e]);if(r!=null&&r.deprecatedTokens){const{deprecatedTokens:o}=r;o.forEach(u=>{let[s,l]=u;var c;(i!=null&&i[s]||i!=null&&i[l])&&((c=i[l])!==null&&c!==void 0||(i[l]=i==null?void 0:i[s]))})}const a=Object.assign(Object.assign({},n),i);return Object.keys(a).forEach(o=>{a[o]===t[o]&&delete a[o]}),a},nv=(e,t)=>"".concat([t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"));function Op(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=Array.isArray(e)?e:[e,e],[a]=i,o=i.join("-");return function(u){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u;const[l,c,d,h,m]=$r(),{getPrefixCls:y,iconPrefixCls:b,csp:T}=p.useContext(Dt),v=y(),g=m?"css":"js",E=JR(()=>{const R=new Set;return m&&Object.keys(r.unitless||{}).forEach(O=>{R.add(ql(O,m.prefix)),R.add(ql(O,nv(a,m.prefix)))}),KI(g,R)},[g,a,m&&m.prefix]),{max:_,min:x}=o6(g),S={theme:l,token:h,hashId:d,nonce:()=>T==null?void 0:T.nonce,clientOnly:r.clientOnly,layer:{name:"antd"},order:r.order||-999};return Nh(Object.assign(Object.assign({},S),{clientOnly:!1,path:["Shared",v]}),()=>[{"&":n6(h)}]),MC(b,T),[Nh(Object.assign(Object.assign({},S),{path:[o,u,b]}),()=>{if(r.injectStyle===!1)return[];const{token:R,flush:O}=s6(h),M=DC(a,c,n),F=".".concat(u),B=FC(a,c,M,{deprecatedTokens:r.deprecatedTokens});m&&Object.keys(M).forEach(G=>{M[G]="var(".concat(ql(G,nv(a,m.prefix)),")")});const z=Yn(R,{componentCls:F,prefixCls:u,iconCls:".".concat(b),antCls:".".concat(v),calc:E,max:_,min:x},m?M:B),U=t(z,{hashId:d,prefixCls:u,rootPrefixCls:v,iconPrefixCls:b});return O(a,B),[r.resetStyle===!1?null:r6(z,u,s,r.resetFont),U]}),d]}}const c6=(e,t,n,r)=>{const i=Op(e,t,n,Object.assign({resetStyle:!1,order:-998},r));return o=>{let{prefixCls:u,rootCls:s=u}=o;return i(u,s),null}},d6=(e,t,n)=>{const{unitless:r,injectStyle:i=!0,prefixToken:a}=n,o=s=>{let{rootCls:l,cssVar:c}=s;const[,d]=$r();return WN({path:[e],prefix:c.prefix,key:c==null?void 0:c.key,unitless:r,ignore:PC,token:d,scope:l},()=>{const h=DC(e,d,t),m=FC(e,d,h,{deprecatedTokens:n==null?void 0:n.deprecatedTokens});return Object.keys(h).forEach(y=>{m[a(y)]=m[y],delete m[y]}),m}),null};return s=>{const[,,,,l]=$r();return[c=>i&&l?ae.createElement(ae.Fragment,null,ae.createElement(o,{rootCls:s,cssVar:l,component:e}),c):c,l==null?void 0:l.key]}},Rs=(e,t,n,r)=>{const i=Array.isArray(e)?e[0]:e;function a(d){return"".concat(i).concat(d.slice(0,1).toUpperCase()).concat(d.slice(1))}const o=r&&r.unitless||{},u=Object.assign(Object.assign({},OC),{[a("zIndexPopup")]:!0});Object.keys(o).forEach(d=>{u[a(d)]=o[d]});const s=Object.assign(Object.assign({},r),{unitless:u,prefixToken:a}),l=Op(e,t,n,s),c=d6(i,n,s);return function(d){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d;const[,m]=l(d,h),[y,b]=c(h);return[y,m,b]}};function f6(e,t){return Mc.reduce((n,r)=>{const i=e["".concat(r,"1")],a=e["".concat(r,"3")],o=e["".concat(r,"6")],u=e["".concat(r,"7")];return Object.assign(Object.assign({},n),t(r,{lightColor:i,lightBorderColor:a,darkColor:o,textColor:u}))},{})}const h6=Object.assign({},Ts),{useId:rv}=h6,m6=()=>"",p6=typeof rv>"u"?m6:rv,g6=p6;function v6(e,t,n){var r;Np();const i=e||{},a=i.inherit===!1||!t?Object.assign(Object.assign({},Lh),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:Lh.hashed,cssVar:t==null?void 0:t.cssVar}):t,o=g6();return Ep(()=>{var u,s;if(!e)return t;const l=Object.assign({},a.components);Object.keys(e.components||{}).forEach(h=>{l[h]=Object.assign(Object.assign({},l[h]),e.components[h])});const c="css-var-".concat(o.replace(/:/g,"")),d=((u=i.cssVar)!==null&&u!==void 0?u:a.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof a.cssVar=="object"?a.cssVar:{}),typeof i.cssVar=="object"?i.cssVar:{}),{key:typeof i.cssVar=="object"&&((s=i.cssVar)===null||s===void 0?void 0:s.key)||c});return Object.assign(Object.assign(Object.assign({},a),i),{token:Object.assign(Object.assign({},a.token),i.token),components:l,cssVar:d})},[i,a],(u,s)=>u.some((l,c)=>{const d=s[c];return!Ch(l,d,!0)}))}var E6=["children"],BC=p.createContext({});function y6(e){var t=e.children,n=jt(e,E6);return p.createElement(BC.Provider,{value:n},t)}var b6=function(e){wa(n,e);var t=Ia(n);function n(){return an(this,n),t.apply(this,arguments)}return on(n,[{key:"render",value:function(){return this.props.children}}]),n}(p.Component);function T6(e){var t=p.useReducer(function(u){return u+1},0),n=ue(t,2),r=n[1],i=p.useRef(e),a=cn(function(){return i.current}),o=cn(function(u){i.current=typeof u=="function"?u(i.current):u,r()});return[a,o]}var yi="none",Tl="appear",Cl="enter",Sl="leave",iv="none",yr="prepare",oo="start",uo="active",Pp="end",HC="prepared";function av(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 C6(e,t){var n={animationend:av("Animation","AnimationEnd"),transitionend:av("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var S6=C6(jn(),typeof window<"u"?window:{}),UC={};if(jn()){var _6=document.createElement("div");UC=_6.style}var _l={};function $C(e){if(_l[e])return _l[e];var t=S6[e];if(t)for(var n=Object.keys(t),r=n.length,i=0;i1&&arguments[1]!==void 0?arguments[1]:2;t();var a=Ur(function(){i<=1?r({isCanceled:function(){return a!==e.current}}):n(r,i-1)});e.current=a}return p.useEffect(function(){return function(){t()}},[]),[n,t]};var w6=[yr,oo,uo,Pp],I6=[yr,HC],YC=!1,N6=!0;function qC(e){return e===uo||e===Pp}const R6=function(e,t,n){var r=ds(iv),i=ue(r,2),a=i[0],o=i[1],u=A6(),s=ue(u,2),l=s[0],c=s[1];function d(){o(yr,!0)}var h=t?I6:w6;return WC(function(){if(a!==iv&&a!==Pp){var m=h.indexOf(a),y=h[m+1],b=n(a);b===YC?o(y,!0):y&&l(function(T){function v(){T.isCanceled()||o(y,!0)}b===!0?v():Promise.resolve(b).then(v)})}},[e,a]),p.useEffect(function(){return function(){c()}},[]),[d,a]};function O6(e,t,n,r){var i=r.motionEnter,a=i===void 0?!0:i,o=r.motionAppear,u=o===void 0?!0:o,s=r.motionLeave,l=s===void 0?!0:s,c=r.motionDeadline,d=r.motionLeaveImmediately,h=r.onAppearPrepare,m=r.onEnterPrepare,y=r.onLeavePrepare,b=r.onAppearStart,T=r.onEnterStart,v=r.onLeaveStart,g=r.onAppearActive,E=r.onEnterActive,_=r.onLeaveActive,x=r.onAppearEnd,S=r.onEnterEnd,I=r.onLeaveEnd,R=r.onVisibleChanged,O=ds(),M=ue(O,2),F=M[0],B=M[1],z=T6(yi),U=ue(z,2),G=U[0],H=U[1],L=ds(null),P=ue(L,2),$=P[0],C=P[1],D=G(),W=p.useRef(!1),w=p.useRef(null);function X(){return n()}var Z=p.useRef(!1);function J(){H(yi),C(null,!0)}var fe=cn(function(ve){var de=G();if(de!==yi){var Ie=X();if(!(ve&&!ve.deadline&&ve.target!==Ie)){var Ne=Z.current,Se;de===Tl&&Ne?Se=x==null?void 0:x(Ie,ve):de===Cl&&Ne?Se=S==null?void 0:S(Ie,ve):de===Sl&&Ne&&(Se=I==null?void 0:I(Ie,ve)),Ne&&Se!==!1&&J()}}}),Te=x6(fe),_e=ue(Te,1),Ae=_e[0],ke=function(de){switch(de){case Tl:return V(V(V({},yr,h),oo,b),uo,g);case Cl:return V(V(V({},yr,m),oo,T),uo,E);case Sl:return V(V(V({},yr,y),oo,v),uo,_);default:return{}}},Oe=p.useMemo(function(){return ke(D)},[D]),He=R6(D,!e,function(ve){if(ve===yr){var de=Oe[yr];return de?de(X()):YC}if(Fe in Oe){var Ie;C(((Ie=Oe[Fe])===null||Ie===void 0?void 0:Ie.call(Oe,X(),null))||null)}return Fe===uo&&D!==yi&&(Ae(X()),c>0&&(clearTimeout(w.current),w.current=setTimeout(function(){fe({deadline:!0})},c))),Fe===HC&&J(),N6}),Me=ue(He,2),Ge=Me[0],Fe=Me[1],$e=qC(Fe);Z.current=$e,WC(function(){B(t);var ve=W.current;W.current=!0;var de;!ve&&t&&u&&(de=Tl),ve&&t&&a&&(de=Cl),(ve&&!t&&l||!ve&&d&&!t&&l)&&(de=Sl);var Ie=ke(de);de&&(e||Ie[yr])?(H(de),Ge()):H(yi)},[t]),p.useEffect(function(){(D===Tl&&!u||D===Cl&&!a||D===Sl&&!l)&&H(yi)},[u,a,l]),p.useEffect(function(){return function(){W.current=!1,clearTimeout(w.current)}},[]);var ce=p.useRef(!1);p.useEffect(function(){F&&(ce.current=!0),F!==void 0&&D===yi&&((ce.current||F)&&(R==null||R(F)),ce.current=!0)},[F,D]);var we=$;return Oe[yr]&&Fe===oo&&(we=K({transition:"none"},we)),[D,Fe,we,F!=null?F:t]}function P6(e){var t=e;Be(e)==="object"&&(t=e.transitionSupport);function n(i,a){return!!(i.motionName&&t&&a!==!1)}var r=p.forwardRef(function(i,a){var o=i.visible,u=o===void 0?!0:o,s=i.removeOnLeave,l=s===void 0?!0:s,c=i.forceRender,d=i.children,h=i.motionName,m=i.leavedClassName,y=i.eventProps,b=p.useContext(BC),T=b.motion,v=n(i,T),g=p.useRef(),E=p.useRef();function _(){try{return g.current instanceof HTMLElement?g.current:Yl(E.current)}catch($){return null}}var x=O6(v,u,_,i),S=ue(x,4),I=S[0],R=S[1],O=S[2],M=S[3],F=p.useRef(M);M&&(F.current=!0);var B=p.useCallback(function($){g.current=$,yp(a,$)},[a]),z,U=K(K({},y),{},{visible:u});if(!d)z=null;else if(I===yi)M?z=d(K({},U),B):!l&&F.current&&m?z=d(K(K({},U),{},{className:m}),B):c||!l&&!m?z=d(K(K({},U),{},{style:{display:"none"}}),B):z=null;else{var G;R===yr?G="prepare":qC(R)?G="active":R===oo&&(G="start");var H=sv(h,"".concat(I,"-").concat(G));z=d(K(K({},U),{},{className:pe(sv(h,I),V(V({},H,H&&G),h,typeof h=="string")),style:O}),B)}if(p.isValidElement(z)&&Ns(z)){var L=z,P=L.ref;P||(z=p.cloneElement(z,{ref:B}))}return p.createElement(b6,{ref:E},z)});return r.displayName="CSSMotion",r}const Os=P6(VC);var Fh="add",Bh="keep",Hh="remove",Gf="removed";function L6(e){var t;return e&&Be(e)==="object"&&"key"in e?t=e:t={key:e},K(K({},t),{},{key:String(t.key)})}function Uh(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(L6)}function k6(){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,a=Uh(e),o=Uh(t);a.forEach(function(l){for(var c=!1,d=r;d1});return s.forEach(function(l){n=n.filter(function(c){var d=c.key,h=c.status;return d!==l||h!==Hh}),n.forEach(function(c){c.key===l&&(c.status=Bh)})}),n}var M6=["component","children","onVisibleChanged","onAllRemoved"],D6=["status"],F6=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function B6(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Os,n=function(r){wa(a,r);var i=Ia(a);function a(){var o;an(this,a);for(var u=arguments.length,s=new Array(u),l=0;lnull;var z6=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,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 Y6=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:i}=e;t!==void 0&&(Dc=t),n!==void 0&&(KC=n),"holderRender"in e&&(XC=i),r&&(W6(r)?VR(tc(),r):QC=r)},q6=()=>({getPrefixCls:(e,t)=>t||(e?"".concat(tc(),"-").concat(e):tc()),getIconPrefixCls:V6,getRootPrefixCls:()=>Dc||tc(),getTheme:()=>QC,holderRender:XC}),G6=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:i,anchor:a,form:o,locale:u,componentSize:s,direction:l,space:c,virtual:d,dropdownMatchSelectWidth:h,popupMatchSelectWidth:m,popupOverflow:y,legacyLocale:b,parentContext:T,iconPrefixCls:v,theme:g,componentDisabled:E,segmented:_,statistic:x,spin:S,calendar:I,carousel:R,cascader:O,collapse:M,typography:F,checkbox:B,descriptions:z,divider:U,drawer:G,skeleton:H,steps:L,image:P,layout:$,list:C,mentions:D,modal:W,progress:w,result:X,slider:Z,breadcrumb:J,menu:fe,pagination:Te,input:_e,textArea:Ae,empty:ke,badge:Oe,radio:He,rate:Me,switch:Ge,transfer:Fe,avatar:$e,message:ce,tag:we,table:ve,card:de,tabs:Ie,timeline:Ne,timePicker:Se,upload:Pe,notification:Y,tree:ie,colorPicker:Ce,datePicker:me,rangePicker:he,flex:Xe,wave:Ze,dropdown:Vt,warning:pn,tour:xn,floatButtonGroup:ct}=e,ht=p.useCallback((We,nt)=>{const{prefixCls:At}=e;if(nt)return nt;const wt=At||T.getPrefixCls("");return We?"".concat(wt,"-").concat(We):wt},[T.getPrefixCls,e.prefixCls]),Ke=v||T.iconPrefixCls||Rp,Wt=n||T.csp;MC(Ke,Wt);const Ot=v6(g,T.theme,{prefixCls:ht("")}),lr={csp:Wt,autoInsertSpaceInButton:r,alert:i,anchor:a,locale:u||b,direction:l,space:c,virtual:d,popupMatchSelectWidth:m!=null?m:h,popupOverflow:y,getPrefixCls:ht,iconPrefixCls:Ke,theme:Ot,segmented:_,statistic:x,spin:S,calendar:I,carousel:R,cascader:O,collapse:M,typography:F,checkbox:B,descriptions:z,divider:U,drawer:G,skeleton:H,steps:L,image:P,input:_e,textArea:Ae,layout:$,list:C,mentions:D,modal:W,progress:w,result:X,slider:Z,breadcrumb:J,menu:fe,pagination:Te,empty:ke,badge:Oe,radio:He,rate:Me,switch:Ge,transfer:Fe,avatar:$e,message:ce,tag:we,table:ve,card:de,tabs:Ie,timeline:Ne,timePicker:Se,upload:Pe,notification:Y,tree:ie,colorPicker:Ce,datePicker:me,rangePicker:he,flex:Xe,wave:Ze,dropdown:Vt,warning:pn,tour:xn,floatButtonGroup:ct},oe=Object.assign({},T);Object.keys(lr).forEach(We=>{lr[We]!==void 0&&(oe[We]=lr[We])}),j6.forEach(We=>{const nt=e[We];nt&&(oe[We]=nt)}),typeof r<"u"&&(oe.button=Object.assign({autoInsertSpace:r},oe.button));const le=Ep(()=>oe,oe,(We,nt)=>{const At=Object.keys(We),wt=Object.keys(nt);return At.length!==wt.length||At.some(Jt=>We[Jt]!==nt[Jt])}),ee=p.useMemo(()=>({prefixCls:Ke,csp:Wt}),[Ke,Wt]);let se=p.createElement(p.Fragment,null,p.createElement($6,{dropdownMatchSelectWidth:h}),t);const ze=p.useMemo(()=>{var We,nt,At,wt;return ao(((We=Nd.Form)===null||We===void 0?void 0:We.defaultValidateMessages)||{},((At=(nt=le.locale)===null||nt===void 0?void 0:nt.Form)===null||At===void 0?void 0:At.defaultValidateMessages)||{},((wt=le.form)===null||wt===void 0?void 0:wt.validateMessages)||{},(o==null?void 0:o.validateMessages)||{})},[le,o==null?void 0:o.validateMessages]);Object.keys(ze).length>0&&(se=p.createElement(JN.Provider,{value:ze},se)),u&&(se=p.createElement(lR,{locale:u,_ANT_MARK__:uR},se)),(Ke||Wt)&&(se=p.createElement(Id.Provider,{value:ee},se)),s&&(se=p.createElement(YR,{size:s},se)),se=p.createElement(U6,null,se);const Ft=p.useMemo(()=>{const We=Ot||{},{algorithm:nt,token:At,components:wt,cssVar:Jt}=We,Yt=z6(We,["algorithm","token","components","cssVar"]),Ir=nt&&(!Array.isArray(nt)||nt.length>0)?_h(nt):IC,An={};Object.entries(wt||{}).forEach(cr=>{let[In,Nn]=cr;const gt=Object.assign({},Nn);"algorithm"in gt&&(gt.algorithm===!0?gt.theme=Ir:(Array.isArray(gt.algorithm)||typeof gt.algorithm=="function")&&(gt.theme=_h(gt.algorithm)),delete gt.algorithm),An[In]=gt});const wn=Object.assign(Object.assign({},cs),At);return Object.assign(Object.assign({},Yt),{theme:Ir,token:wn,components:An,override:Object.assign({override:wn},An),cssVar:Jt})},[Ot]);return g&&(se=p.createElement(NC.Provider,{value:Ft},se)),le.warning&&(se=p.createElement(ZN.Provider,{value:le.warning},se)),E!==void 0&&(se=p.createElement(WR,{disabled:E},se)),p.createElement(Dt.Provider,{value:le},se)},Fo=e=>{const t=p.useContext(Dt),n=p.useContext(SC);return p.createElement(G6,Object.assign({parentContext:t,legacyLocale:n},e))};Fo.ConfigContext=Dt;Fo.SizeContext=Od;Fo.config=Y6;Fo.useConfig=qR;Object.defineProperty(Fo,"SizeContext",{get:()=>Od});var K6={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 Q6=K6;function ZC(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function X6(e){return ZC(e)instanceof ShadowRoot}function Fc(e){return X6(e)?ZC(e):null}function Z6(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function $h(e,t){$n(e,"[@ant-design/icons] ".concat(t))}function lv(e){return Be(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(Be(e.icon)==="object"||typeof e.icon=="function")}function cv(){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[Z6(n)]=r}return t},{})}function zh(e,t,n){return n?ae.createElement(e.tag,K(K({key:t},cv(e.attrs)),n),(e.children||[]).map(function(r,i){return zh(r,"".concat(t,"-").concat(e.tag,"-").concat(i))})):ae.createElement(e.tag,K({key:t},cv(e.attrs)),(e.children||[]).map(function(r,i){return zh(r,"".concat(t,"-").concat(e.tag,"-").concat(i))}))}function JC(e){return Sa(e)[0]}function e2(e){return e?Array.isArray(e)?e:[e]:[]}var J6={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},eO="\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",t2=function(t){var n=p.useContext(Id),r=n.csp,i=n.prefixCls,a=eO;i&&(a=a.replace(/anticon/g,i)),p.useEffect(function(){var o=t.current,u=Fc(o);ti(a,"@ant-design-icons",{prepend:!0,csp:r,attachTo:u})},[])},tO=["icon","className","onClick","style","primaryColor","secondaryColor"],Iu={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function nO(e){var t=e.primaryColor,n=e.secondaryColor;Iu.primaryColor=t,Iu.secondaryColor=n||JC(t),Iu.calculated=!!n}function rO(){return K({},Iu)}var kd=function(t){var n=t.icon,r=t.className,i=t.onClick,a=t.style,o=t.primaryColor,u=t.secondaryColor,s=jt(t,tO),l=p.useRef(),c=Iu;if(o&&(c={primaryColor:o,secondaryColor:u||JC(o)}),t2(l),$h(lv(n),"icon should be icon definiton, but got ".concat(n)),!lv(n))return null;var d=n;return d&&typeof d.icon=="function"&&(d=K(K({},d),{},{icon:d.icon(c.primaryColor,c.secondaryColor)})),zh(d.icon,"svg-".concat(d.name),K(K({className:r,onClick:i,style:a,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},s),{},{ref:l}))};kd.displayName="IconReact";kd.getTwoToneColors=rO;kd.setTwoToneColors=nO;const Lp=kd;function n2(e){var t=e2(e),n=ue(t,2),r=n[0],i=n[1];return Lp.setTwoToneColors({primaryColor:r,secondaryColor:i})}function iO(){var e=Lp.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var aO=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];n2(AR.primary);var Md=p.forwardRef(function(e,t){var n=e.className,r=e.icon,i=e.spin,a=e.rotate,o=e.tabIndex,u=e.onClick,s=e.twoToneColor,l=jt(e,aO),c=p.useContext(Id),d=c.prefixCls,h=d===void 0?"anticon":d,m=c.rootClassName,y=pe(m,h,V(V({},"".concat(h,"-").concat(r.name),!!r.name),"".concat(h,"-spin"),!!i||r.name==="loading"),n),b=o;b===void 0&&u&&(b=-1);var T=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,v=e2(s),g=ue(v,2),E=g[0],_=g[1];return p.createElement("span",et({role:"img","aria-label":r.name},l,{ref:t,tabIndex:b,onClick:u,className:y}),p.createElement(Lp,{icon:r,primaryColor:E,secondaryColor:_,style:T}))});Md.displayName="AntdIcon";Md.getTwoToneColor=iO;Md.setTwoToneColor=n2;const li=Md;var oO=function(t,n){return p.createElement(li,et({},t,{ref:n,icon:Q6}))},uO=p.forwardRef(oO);const sO=uO;var lO={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 cO=lO;var dO=function(t,n){return p.createElement(li,et({},t,{ref:n,icon:cO}))},fO=p.forwardRef(dO);const r2=fO;var hO={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 mO=hO;var pO=function(t,n){return p.createElement(li,et({},t,{ref:n,icon:mO}))},gO=p.forwardRef(pO);const vO=gO;var EO={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 yO=EO;var bO=function(t,n){return p.createElement(li,et({},t,{ref:n,icon:yO}))},TO=p.forwardRef(bO);const CO=TO;var SO={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 _O=SO;var xO=function(t,n){return p.createElement(li,et({},t,{ref:n,icon:_O}))},AO=p.forwardRef(xO);const wO=AO;var IO="accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap",NO="onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError",RO="".concat(IO," ").concat(NO).split(/[\s\n]+/),OO="aria-",PO="data-";function dv(e,t){return e.indexOf(t)===0}function i2(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=K({},t);var r={};return Object.keys(e).forEach(function(i){(n.aria&&(i==="role"||dv(i,OO))||n.data&&dv(i,PO)||n.attr&&RO.includes(i))&&(r[i]=e[i])}),r}function a2(e){return e&&ae.isValidElement(e)&&e.type===ae.Fragment}const LO=(e,t,n)=>ae.isValidElement(e)?ae.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function fs(e,t){return LO(e,e,t)}const kO=e=>{const[,,,,t]=$r();return t?"".concat(e,"-css-var"):""},Ps=kO;var Re={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>=Re.F1&&n<=Re.F12)return!1;switch(n){case Re.ALT:case Re.CAPS_LOCK:case Re.CONTEXT_MENU:case Re.CTRL:case Re.DOWN:case Re.END:case Re.ESC:case Re.HOME:case Re.INSERT:case Re.LEFT:case Re.MAC_FF_META:case Re.META:case Re.NUMLOCK:case Re.NUM_CENTER:case Re.PAGE_DOWN:case Re.PAGE_UP:case Re.PAUSE:case Re.PRINT_SCREEN:case Re.RIGHT:case Re.SHIFT:case Re.UP:case Re.WIN_KEY:case Re.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=Re.ZERO&&t<=Re.NINE||t>=Re.NUM_ZERO&&t<=Re.NUM_MULTIPLY||t>=Re.A&&t<=Re.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case Re.SPACE:case Re.QUESTION_MARK:case Re.NUM_PLUS:case Re.NUM_MINUS:case Re.NUM_PERIOD:case Re.NUM_DIVISION:case Re.SEMICOLON:case Re.DASH:case Re.EQUALS:case Re.COMMA:case Re.PERIOD:case Re.SLASH:case Re.APOSTROPHE:case Re.SINGLE_QUOTE:case Re.OPEN_SQUARE_BRACKET:case Re.BACKSLASH:case Re.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},o2=p.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,i=e.className,a=e.duration,o=a===void 0?4.5:a,u=e.showProgress,s=e.pauseOnHover,l=s===void 0?!0:s,c=e.eventKey,d=e.content,h=e.closable,m=e.closeIcon,y=m===void 0?"x":m,b=e.props,T=e.onClick,v=e.onNoticeClose,g=e.times,E=e.hovering,_=p.useState(!1),x=ue(_,2),S=x[0],I=x[1],R=p.useState(0),O=ue(R,2),M=O[0],F=O[1],B=p.useState(0),z=ue(B,2),U=z[0],G=z[1],H=E||S,L=o>0&&u,P=function(){v(c)},$=function(Z){(Z.key==="Enter"||Z.code==="Enter"||Z.keyCode===Re.ENTER)&&P()};p.useEffect(function(){if(!H&&o>0){var X=Date.now()-U,Z=setTimeout(function(){P()},o*1e3-U);return function(){l&&clearTimeout(Z),G(Date.now()-X)}}},[o,H,g]),p.useEffect(function(){if(!H&&L&&(l||U===0)){var X=performance.now(),Z,J=function fe(){cancelAnimationFrame(Z),Z=requestAnimationFrame(function(Te){var _e=Te+U-X,Ae=Math.min(_e/(o*1e3),1);F(Ae*100),Ae<1&&fe()})};return J(),function(){l&&cancelAnimationFrame(Z)}}},[o,U,H,L,g]);var C=p.useMemo(function(){return Be(h)==="object"&&h!==null?h:h?{closeIcon:y}:{}},[h,y]),D=i2(C,!0),W=100-(!M||M<0?0:M>100?100:M),w="".concat(n,"-notice");return p.createElement("div",et({},b,{ref:t,className:pe(w,i,V({},"".concat(w,"-closable"),h)),style:r,onMouseEnter:function(Z){var J;I(!0),b==null||(J=b.onMouseEnter)===null||J===void 0||J.call(b,Z)},onMouseLeave:function(Z){var J;I(!1),b==null||(J=b.onMouseLeave)===null||J===void 0||J.call(b,Z)},onClick:T}),p.createElement("div",{className:"".concat(w,"-content")},d),h&&p.createElement("a",et({tabIndex:0,className:"".concat(w,"-close"),onKeyDown:$,"aria-label":"Close"},D,{onClick:function(Z){Z.preventDefault(),Z.stopPropagation(),P()}}),C.closeIcon),L&&p.createElement("progress",{className:"".concat(w,"-progress"),max:"100",value:W},W+"%"))}),u2=ae.createContext({}),MO=function(t){var n=t.children,r=t.classNames;return ae.createElement(u2.Provider,{value:{classNames:r}},n)},fv=8,hv=3,mv=16,DO=function(t){var n={offset:fv,threshold:hv,gap:mv};if(t&&Be(t)==="object"){var r,i,a;n.offset=(r=t.offset)!==null&&r!==void 0?r:fv,n.threshold=(i=t.threshold)!==null&&i!==void 0?i:hv,n.gap=(a=t.gap)!==null&&a!==void 0?a:mv}return[!!t,n]},FO=["className","style","classNames","styles"],BO=function(t){var n=t.configList,r=t.placement,i=t.prefixCls,a=t.className,o=t.style,u=t.motion,s=t.onAllNoticeRemoved,l=t.onNoticeClose,c=t.stack,d=p.useContext(u2),h=d.classNames,m=p.useRef({}),y=p.useState(null),b=ue(y,2),T=b[0],v=b[1],g=p.useState([]),E=ue(g,2),_=E[0],x=E[1],S=n.map(function(H){return{config:H,key:String(H.key)}}),I=DO(c),R=ue(I,2),O=R[0],M=R[1],F=M.offset,B=M.threshold,z=M.gap,U=O&&(_.length>0||S.length<=B),G=typeof u=="function"?u(r):u;return p.useEffect(function(){O&&_.length>1&&x(function(H){return H.filter(function(L){return S.some(function(P){var $=P.key;return L===$})})})},[_,S,O]),p.useEffect(function(){var H;if(O&&m.current[(H=S[S.length-1])===null||H===void 0?void 0:H.key]){var L;v(m.current[(L=S[S.length-1])===null||L===void 0?void 0:L.key])}},[S,O]),ae.createElement(H6,et({key:r,className:pe(i,"".concat(i,"-").concat(r),h==null?void 0:h.list,a,V(V({},"".concat(i,"-stack"),!!O),"".concat(i,"-stack-expanded"),U)),style:o,keys:S,motionAppear:!0},G,{onAllRemoved:function(){s(r)}}),function(H,L){var P=H.config,$=H.className,C=H.style,D=H.index,W=P,w=W.key,X=W.times,Z=String(w),J=P,fe=J.className,Te=J.style,_e=J.classNames,Ae=J.styles,ke=jt(J,FO),Oe=S.findIndex(function(Se){return Se.key===Z}),He={};if(O){var Me=S.length-1-(Oe>-1?Oe:D-1),Ge=r==="top"||r==="bottom"?"-50%":"0";if(Me>0){var Fe,$e,ce;He.height=U?(Fe=m.current[Z])===null||Fe===void 0?void 0:Fe.offsetHeight:T==null?void 0:T.offsetHeight;for(var we=0,ve=0;ve-1?m.current[Z]=Pe:delete m.current[Z]},prefixCls:i,classNames:_e,styles:Ae,className:pe(fe,h==null?void 0:h.notice),style:Te,times:X,key:w,eventKey:w,onNoticeClose:l,hovering:O&&_.length>0})))})},HO=p.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-notification":n,i=e.container,a=e.motion,o=e.maxCount,u=e.className,s=e.style,l=e.onAllRemoved,c=e.stack,d=e.renderNotifications,h=p.useState([]),m=ue(h,2),y=m[0],b=m[1],T=function(O){var M,F=y.find(function(B){return B.key===O});F==null||(M=F.onClose)===null||M===void 0||M.call(F),b(function(B){return B.filter(function(z){return z.key!==O})})};p.useImperativeHandle(t,function(){return{open:function(O){b(function(M){var F=be(M),B=F.findIndex(function(G){return G.key===O.key}),z=K({},O);if(B>=0){var U;z.times=(((U=M[B])===null||U===void 0?void 0:U.times)||0)+1,F[B]=z}else z.times=0,F.push(z);return o>0&&F.length>o&&(F=F.slice(-o)),F})},close:function(O){T(O)},destroy:function(){b([])}}});var v=p.useState({}),g=ue(v,2),E=g[0],_=g[1];p.useEffect(function(){var R={};y.forEach(function(O){var M=O.placement,F=M===void 0?"topRight":M;F&&(R[F]=R[F]||[],R[F].push(O))}),Object.keys(E).forEach(function(O){R[O]=R[O]||[]}),_(R)},[y]);var x=function(O){_(function(M){var F=K({},M),B=F[O]||[];return B.length||delete F[O],F})},S=p.useRef(!1);if(p.useEffect(function(){Object.keys(E).length>0?S.current=!0:S.current&&(l==null||l(),S.current=!1)},[E]),!i)return null;var I=Object.keys(E);return As.createPortal(p.createElement(p.Fragment,null,I.map(function(R){var O=E[R],M=p.createElement(BO,{key:R,configList:O,placement:R,prefixCls:r,className:u==null?void 0:u(R),style:s==null?void 0:s(R),motion:a,onNoticeClose:T,onAllNoticeRemoved:x,stack:c});return d?d(M,{prefixCls:r,key:R}):M})),i)}),UO=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],$O=function(){return document.body},pv=0;function zO(){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?$O:t,r=e.motion,i=e.prefixCls,a=e.maxCount,o=e.className,u=e.style,s=e.onAllRemoved,l=e.stack,c=e.renderNotifications,d=jt(e,UO),h=p.useState(),m=ue(h,2),y=m[0],b=m[1],T=p.useRef(),v=p.createElement(HO,{container:y,ref:T,prefixCls:i,motion:r,maxCount:a,className:o,style:u,onAllRemoved:s,stack:l,renderNotifications:c}),g=p.useState([]),E=ue(g,2),_=E[0],x=E[1],S=p.useMemo(function(){return{open:function(R){var O=zO(d,R);(O.key===null||O.key===void 0)&&(O.key="rc-notification-".concat(pv),pv+=1),x(function(M){return[].concat(be(M),[{type:"open",config:O}])})},close:function(R){x(function(O){return[].concat(be(O),[{type:"close",key:R}])})},destroy:function(){x(function(R){return[].concat(be(R),[{type:"destroy"}])})}}},[]);return p.useEffect(function(){b(n())}),p.useEffect(function(){T.current&&_.length&&(_.forEach(function(I){switch(I.type){case"open":T.current.open(I.config);break;case"close":T.current.close(I.key);break;case"destroy":T.current.destroy();break}}),x(function(I){return I.filter(function(R){return!_.includes(R)})}))},[_]),[S,v]}var VO={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 WO=VO;var YO=function(t,n){return p.createElement(li,et({},t,{ref:n,icon:WO}))},qO=p.forwardRef(YO);const s2=qO,GO=ae.createContext(void 0),l2=GO,na=100,KO=10,c2=na*KO,d2={Modal:na,Drawer:na,Popover:na,Popconfirm:na,Tooltip:na,Tour:na},QO={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function XO(e){return e in d2}function ZO(e,t){const[,n]=$r(),r=ae.useContext(l2),i=XO(e);if(t!==void 0)return[t,t];let a=r!=null?r:0;return i?(a+=(r?0:n.zIndexPopupBase)+d2[e],a=Math.min(a,n.zIndexPopupBase+c2)):a+=QO[e],[r===void 0?t:a,a]}const JO=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:i,colorSuccess:a,colorError:o,colorWarning:u,colorInfo:s,fontSizeLG:l,motionEaseInOutCirc:c,motionDurationSlow:d,marginXS:h,paddingXS:m,borderRadiusLG:y,zIndexPopup:b,contentPadding:T,contentBg:v}=e,g="".concat(t,"-notice"),E=new _n("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:m,transform:"translateY(0)",opacity:1}}),_=new _n("MessageMoveOut",{"0%":{maxHeight:e.height,padding:m,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),x={padding:m,textAlign:"center",["".concat(t,"-custom-content")]:{display:"flex",alignItems:"center"},["".concat(t,"-custom-content > ").concat(n)]:{marginInlineEnd:h,fontSize:l},["".concat(g,"-content")]:{display:"inline-block",padding:T,background:v,borderRadius:y,boxShadow:r,pointerEvents:"all"},["".concat(t,"-success > ").concat(n)]:{color:a},["".concat(t,"-error > ").concat(n)]:{color:o},["".concat(t,"-warning > ").concat(n)]:{color:u},["".concat(t,"-info > ").concat(n,",\n ").concat(t,"-loading > ").concat(n)]:{color:s}};return[{[t]:Object.assign(Object.assign({},Ld(e)),{color:i,position:"fixed",top:h,width:"100%",pointerEvents:"none",zIndex:b,["".concat(t,"-move-up")]:{animationFillMode:"forwards"},["\n ".concat(t,"-move-up-appear,\n ").concat(t,"-move-up-enter\n ")]:{animationName:E,animationDuration:d,animationPlayState:"paused",animationTimingFunction:c},["\n ".concat(t,"-move-up-appear").concat(t,"-move-up-appear-active,\n ").concat(t,"-move-up-enter").concat(t,"-move-up-enter-active\n ")]:{animationPlayState:"running"},["".concat(t,"-move-up-leave")]:{animationName:_,animationDuration:d,animationPlayState:"paused",animationTimingFunction:c},["".concat(t,"-move-up-leave").concat(t,"-move-up-leave-active")]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{["".concat(g,"-wrapper")]:Object.assign({},x)}},{["".concat(t,"-notice-pure-panel")]:Object.assign(Object.assign({},x),{padding:0,textAlign:"start"})}]},e4=e=>({zIndexPopup:e.zIndexPopupBase+c2+10,contentBg:e.colorBgElevated,contentPadding:"".concat((e.controlHeightLG-e.fontSize*e.lineHeight)/2,"px ").concat(e.paddingSM,"px")}),f2=Rs("Message",e=>{const t=Yn(e,{height:150});return[JO(t)]},e4);var t4=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,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 p.createElement("div",{className:pe("".concat(t,"-custom-content"),"".concat(t,"-").concat(n))},r||n4[n],p.createElement("span",null,i))},r4=e=>{const{prefixCls:t,className:n,type:r,icon:i,content:a}=e,o=t4(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:u}=p.useContext(Dt),s=t||u("message"),l=Ps(s),[c,d,h]=f2(s,l);return c(p.createElement(o2,Object.assign({},o,{prefixCls:s,className:pe(n,d,"".concat(s,"-notice-pure-panel"),h,l),eventKey:"pure",duration:null,content:p.createElement(h2,{prefixCls:s,type:r,icon:i},a)})))},i4=r4;function a4(e,t){return{motionName:t!=null?t:"".concat(e,"-move-up")}}function kp(e){let t;const n=new Promise(i=>{t=e(()=>{i(!0)})}),r=()=>{t==null||t()};return r.then=(i,a)=>n.then(i,a),r.promise=n,r}var o4=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,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=Ps(n),[i,a,o]=f2(n,r);return i(p.createElement(MO,{classNames:{list:pe(a,o,r)}},t))},c4=(e,t)=>{let{prefixCls:n,key:r}=t;return p.createElement(l4,{prefixCls:n,key:r},e)},d4=p.forwardRef((e,t)=>{const{top:n,prefixCls:r,getContainer:i,maxCount:a,duration:o=s4,rtl:u,transitionName:s,onAllRemoved:l}=e,{getPrefixCls:c,getPopupContainer:d,message:h,direction:m}=p.useContext(Dt),y=r||c("message"),b=()=>({left:"50%",transform:"translateX(-50%)",top:n!=null?n:u4}),T=()=>pe({["".concat(y,"-rtl")]:u!=null?u:m==="rtl"}),v=()=>a4(y,s),g=p.createElement("span",{className:"".concat(y,"-close-x")},p.createElement(vO,{className:"".concat(y,"-close-icon")})),[E,_]=jO({prefixCls:y,style:b,className:T,motion:v,closable:!1,closeIcon:g,duration:o,getContainer:()=>(i==null?void 0:i())||(d==null?void 0:d())||document.body,maxCount:a,onAllRemoved:l,renderNotifications:c4});return p.useImperativeHandle(t,()=>Object.assign(Object.assign({},E),{prefixCls:y,message:h})),_});let gv=0;function m2(e){const t=p.useRef(null);return Np(),[p.useMemo(()=>{const r=s=>{var l;(l=t.current)===null||l===void 0||l.close(s)},i=s=>{if(!t.current){const S=()=>{};return S.then=()=>{},S}const{open:l,prefixCls:c,message:d}=t.current,h="".concat(c,"-notice"),{content:m,icon:y,type:b,key:T,className:v,style:g,onClose:E}=s,_=o4(s,["content","icon","type","key","className","style","onClose"]);let x=T;return x==null&&(gv+=1,x="antd-message-".concat(gv)),kp(S=>(l(Object.assign(Object.assign({},_),{key:x,content:p.createElement(h2,{prefixCls:c,type:b,icon:y},m),placement:"top",className:pe(b&&"".concat(h,"-").concat(b),v,d==null?void 0:d.className),style:Object.assign(Object.assign({},d==null?void 0:d.style),g),onClose:()=>{E==null||E(),S()}})),()=>{r(x)}))},o={open:i,destroy:s=>{var l;s!==void 0?r(s):(l=t.current)===null||l===void 0||l.destroy()}};return["info","success","warning","error","loading"].forEach(s=>{const l=(c,d,h)=>{let m;c&&typeof c=="object"&&"content"in c?m=c:m={content:c};let y,b;typeof d=="function"?b=d:(y=d,b=h);const T=Object.assign(Object.assign({onClose:b,duration:y},m),{type:s});return i(T)};o[s]=l}),o},[]),p.createElement(d4,Object.assign({key:"message-holder"},e,{ref:t}))]}function f4(e){return m2(e)}function fn(){fn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(H,L,P){H[L]=P.value},a=typeof Symbol=="function"?Symbol:{},o=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(H,L,P){return Object.defineProperty(H,L,{value:P,enumerable:!0,configurable:!0,writable:!0}),H[L]}try{l({},"")}catch(H){l=function(P,$,C){return P[$]=C}}function c(H,L,P,$){var C=L&&L.prototype instanceof v?L:v,D=Object.create(C.prototype),W=new U($||[]);return i(D,"_invoke",{value:M(H,P,W)}),D}function d(H,L,P){try{return{type:"normal",arg:H.call(L,P)}}catch($){return{type:"throw",arg:$}}}t.wrap=c;var h="suspendedStart",m="suspendedYield",y="executing",b="completed",T={};function v(){}function g(){}function E(){}var _={};l(_,o,function(){return this});var x=Object.getPrototypeOf,S=x&&x(x(G([])));S&&S!==n&&r.call(S,o)&&(_=S);var I=E.prototype=v.prototype=Object.create(_);function R(H){["next","throw","return"].forEach(function(L){l(H,L,function(P){return this._invoke(L,P)})})}function O(H,L){function P(C,D,W,w){var X=d(H[C],H,D);if(X.type!=="throw"){var Z=X.arg,J=Z.value;return J&&Be(J)=="object"&&r.call(J,"__await")?L.resolve(J.__await).then(function(fe){P("next",fe,W,w)},function(fe){P("throw",fe,W,w)}):L.resolve(J).then(function(fe){Z.value=fe,W(Z)},function(fe){return P("throw",fe,W,w)})}w(X.arg)}var $;i(this,"_invoke",{value:function(D,W){function w(){return new L(function(X,Z){P(D,W,X,Z)})}return $=$?$.then(w,w):w()}})}function M(H,L,P){var $=h;return function(C,D){if($===y)throw Error("Generator is already running");if($===b){if(C==="throw")throw D;return{value:e,done:!0}}for(P.method=C,P.arg=D;;){var W=P.delegate;if(W){var w=F(W,P);if(w){if(w===T)continue;return w}}if(P.method==="next")P.sent=P._sent=P.arg;else if(P.method==="throw"){if($===h)throw $=b,P.arg;P.dispatchException(P.arg)}else P.method==="return"&&P.abrupt("return",P.arg);$=y;var X=d(H,L,P);if(X.type==="normal"){if($=P.done?b:m,X.arg===T)continue;return{value:X.arg,done:P.done}}X.type==="throw"&&($=b,P.method="throw",P.arg=X.arg)}}}function F(H,L){var P=L.method,$=H.iterator[P];if($===e)return L.delegate=null,P==="throw"&&H.iterator.return&&(L.method="return",L.arg=e,F(H,L),L.method==="throw")||P!=="return"&&(L.method="throw",L.arg=new TypeError("The iterator does not provide a '"+P+"' method")),T;var C=d($,H.iterator,L.arg);if(C.type==="throw")return L.method="throw",L.arg=C.arg,L.delegate=null,T;var D=C.arg;return D?D.done?(L[H.resultName]=D.value,L.next=H.nextLoc,L.method!=="return"&&(L.method="next",L.arg=e),L.delegate=null,T):D:(L.method="throw",L.arg=new TypeError("iterator result is not an object"),L.delegate=null,T)}function B(H){var L={tryLoc:H[0]};1 in H&&(L.catchLoc=H[1]),2 in H&&(L.finallyLoc=H[2],L.afterLoc=H[3]),this.tryEntries.push(L)}function z(H){var L=H.completion||{};L.type="normal",delete L.arg,H.completion=L}function U(H){this.tryEntries=[{tryLoc:"root"}],H.forEach(B,this),this.reset(!0)}function G(H){if(H||H===""){var L=H[o];if(L)return L.call(H);if(typeof H.next=="function")return H;if(!isNaN(H.length)){var P=-1,$=function C(){for(;++P=0;--C){var D=this.tryEntries[C],W=D.completion;if(D.tryLoc==="root")return $("end");if(D.tryLoc<=this.prev){var w=r.call(D,"catchLoc"),X=r.call(D,"finallyLoc");if(w&&X){if(this.prev=0;--$){var C=this.tryEntries[$];if(C.tryLoc<=this.prev&&r.call(C,"finallyLoc")&&this.prev=0;--P){var $=this.tryEntries[P];if($.finallyLoc===L)return this.complete($.completion,$.afterLoc),z($),T}},catch:function(L){for(var P=this.tryEntries.length-1;P>=0;--P){var $=this.tryEntries[P];if($.tryLoc===L){var C=$.completion;if(C.type==="throw"){var D=C.arg;z($)}return D}}throw Error("illegal catch attempt")},delegateYield:function(L,P,$){return this.delegate={iterator:G(L),resultName:P,nextLoc:$},this.method==="next"&&(this.arg=e),T}},t}function vv(e,t,n,r,i,a,o){try{var u=e[a](o),s=u.value}catch(l){return void n(l)}u.done?t(s):Promise.resolve(s).then(r,i)}function Na(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(s){vv(a,r,i,o,u,"next",s)}function u(s){vv(a,r,i,o,u,"throw",s)}o(void 0)})}}var Ls=K({},ZA),h4=Ls.version,m4=Ls.render,p4=Ls.unmountComponentAtNode,Dd;try{var g4=Number((h4||"").split(".")[0]);g4>=18&&(Dd=Ls.createRoot)}catch(e){}function Ev(e){var t=Ls.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&Be(t)==="object"&&(t.usingClientEntryPoint=e)}var Bc="__rc_react_root__";function v4(e,t){Ev(!0);var n=t[Bc]||Dd(t);Ev(!1),n.render(e),t[Bc]=n}function E4(e,t){m4(e,t)}function p2(e,t){if(Dd){v4(e,t);return}E4(e,t)}function y4(e){return jh.apply(this,arguments)}function jh(){return jh=Na(fn().mark(function e(t){return fn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var i;(i=t[Bc])===null||i===void 0||i.unmount(),delete t[Bc]}));case 1:case"end":return r.stop()}},e)})),jh.apply(this,arguments)}function b4(e){p4(e)}function T4(e){return Vh.apply(this,arguments)}function Vh(){return Vh=Na(fn().mark(function e(t){return fn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(Dd===void 0){r.next=2;break}return r.abrupt("return",y4(t));case 2:b4(t);case 3:case"end":return r.stop()}},e)})),Vh.apply(this,arguments)}const C4=(e,t,n)=>n!==void 0?n:"".concat(e,"-").concat(t),g2=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(),a=i.width,o=i.height;if(a||o)return!0}}return!1},S4=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:"var(--wave-color, ".concat(n,")"),boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:["box-shadow 0.4s ".concat(e.motionEaseOutCirc),"opacity 2s ".concat(e.motionEaseOutCirc)].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:["box-shadow ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut),"opacity ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut)].join(",")}}}}},_4=Op("Wave",e=>[S4(e)]),v2="".concat(GC,"-wave-target");function x4(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 Kf(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&x4(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function A4(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return Kf(t)?t:Kf(n)?n:Kf(r)?r:null}function Qf(e){return Number.isNaN(e)?0:e}const w4=e=>{const{className:t,target:n,component:r}=e,i=p.useRef(null),[a,o]=p.useState(null),[u,s]=p.useState([]),[l,c]=p.useState(0),[d,h]=p.useState(0),[m,y]=p.useState(0),[b,T]=p.useState(0),[v,g]=p.useState(!1),E={left:l,top:d,width:m,height:b,borderRadius:u.map(S=>"".concat(S,"px")).join(" ")};a&&(E["--wave-color"]=a);function _(){const S=getComputedStyle(n);o(A4(n));const I=S.position==="static",{borderLeftWidth:R,borderTopWidth:O}=S;c(I?n.offsetLeft:Qf(-parseFloat(R))),h(I?n.offsetTop:Qf(-parseFloat(O))),y(n.offsetWidth),T(n.offsetHeight);const{borderTopLeftRadius:M,borderTopRightRadius:F,borderBottomLeftRadius:B,borderBottomRightRadius:z}=S;s([M,F,z,B].map(U=>Qf(parseFloat(U))))}if(p.useEffect(()=>{if(n){const S=Ur(()=>{_(),g(!0)});let I;return typeof ResizeObserver<"u"&&(I=new ResizeObserver(_),I.observe(n)),()=>{Ur.cancel(S),I==null||I.disconnect()}}},[]),!v)return null;const x=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(v2));return p.createElement(Os,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(S,I)=>{var R;if(I.deadline||I.propertyName==="opacity"){const O=(R=i.current)===null||R===void 0?void 0:R.parentElement;T4(O).then(()=>{O==null||O.remove()})}return!1}},(S,I)=>{let{className:R}=S;return p.createElement("div",{ref:qi(i,I),className:pe(t,R,{"wave-quick":x}),style:E})})},I4=(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),p2(p.createElement(w4,Object.assign({},t,{target:e})),i)},N4=I4,R4=(e,t,n)=>{const{wave:r}=p.useContext(Dt),[,i,a]=$r(),o=cn(l=>{const c=e.current;if(r!=null&&r.disabled||!c)return;const d=c.querySelector(".".concat(v2))||c,{showEffect:h}=r||{};(h||N4)(d,{className:t,token:i,component:n,event:l,hashId:a})}),u=p.useRef();return l=>{Ur.cancel(u.current),u.current=Ur(()=>{o(l)})}},O4=R4,P4=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:i}=p.useContext(Dt),a=p.useRef(null),o=i("wave"),[,u]=_4(o),s=O4(a,pe(o,u),r);if(ae.useEffect(()=>{const c=a.current;if(!c||c.nodeType!==1||n)return;const d=h=>{!g2(h.target)||!c.getAttribute||c.getAttribute("disabled")||c.disabled||c.className.includes("disabled")||c.className.includes("-leave")||s(h)};return c.addEventListener("click",d,!0),()=>{c.removeEventListener("click",d,!0)}},[n]),!ae.isValidElement(t))return t!=null?t:null;const l=Ns(t)?qi(t.ref,a):a;return fs(t,{ref:l})},L4=P4,k4=e=>{const t=ae.useContext(Od);return ae.useMemo(()=>e?typeof e=="string"?e!=null?e:t:e instanceof Function?e(t):t:t,[e,t])},ks=k4;globalThis&&globalThis.__rest;const E2=p.createContext(null),Mp=(e,t)=>{const n=p.useContext(E2),r=p.useMemo(()=>{if(!n)return"";const{compactDirection:i,isFirstItem:a,isLastItem:o}=n,u=i==="vertical"?"-vertical-":"-";return pe("".concat(e,"-compact").concat(u,"item"),{["".concat(e,"-compact").concat(u,"first-item")]:a,["".concat(e,"-compact").concat(u,"last-item")]:o,["".concat(e,"-compact").concat(u,"item-rtl")]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},y2=e=>{let{children:t}=e;return p.createElement(E2.Provider,{value:null},t)};var M4=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,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}=p.useContext(Dt),{prefixCls:r,size:i,className:a}=e,o=M4(e,["prefixCls","size","className"]),u=t("btn-group",r),[,,s]=$r();let l="";switch(i){case"large":l="lg";break;case"small":l="sm";break}const c=pe(u,{["".concat(u,"-").concat(l)]:l,["".concat(u,"-rtl")]:n==="rtl"},a,s);return p.createElement(b2.Provider,{value:i},p.createElement("div",Object.assign({},o,{className:c})))},F4=D4,yv=/^[\u4e00-\u9fa5]{2}$/,Wh=yv.test.bind(yv);function bv(e){return typeof e=="string"}function Xf(e){return e==="text"||e==="link"}function B4(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&bv(e.type)&&Wh(e.props.children)?fs(e,{children:e.props.children.split("").join(n)}):bv(e)?Wh(e)?ae.createElement("span",null,e.split("").join(n)):ae.createElement("span",null,e):a2(e)?ae.createElement("span",null,e):e}function H4(e,t){let n=!1;const r=[];return ae.Children.forEach(e,i=>{const a=typeof i,o=a==="string"||a==="number";if(n&&o){const u=r.length-1,s=r[u];r[u]="".concat(s).concat(i)}else r.push(i);n=o}),ae.Children.map(r,i=>B4(i,t))}const U4=p.forwardRef((e,t)=>{const{className:n,style:r,children:i,prefixCls:a}=e,o=pe("".concat(a,"-icon"),n);return ae.createElement("span",{ref:t,className:o,style:r},i)}),T2=U4,Tv=p.forwardRef((e,t)=>{const{prefixCls:n,className:r,style:i,iconClassName:a}=e,o=pe("".concat(n,"-loading-icon"),r);return ae.createElement(T2,{prefixCls:n,className:o,style:i,ref:t},ae.createElement(s2,{className:a}))}),Zf=()=>({width:0,opacity:0,transform:"scale(0)"}),Jf=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),$4=e=>{const{prefixCls:t,loading:n,existIcon:r,className:i,style:a}=e,o=!!n;return r?ae.createElement(Tv,{prefixCls:t,className:i,style:a}):ae.createElement(Os,{visible:o,motionName:"".concat(t,"-loading-icon-motion"),motionLeave:o,removeOnLeave:!0,onAppearStart:Zf,onAppearActive:Jf,onEnterStart:Zf,onEnterActive:Jf,onLeaveStart:Jf,onLeaveActive:Zf},(u,s)=>{let{className:l,style:c}=u;return ae.createElement(Tv,{prefixCls:t,className:i,style:Object.assign(Object.assign({},a),c),ref:s,iconClassName:l})})},z4=$4,Cv=(e,t)=>({["> span, > ".concat(e)]:{"&:not(:last-child)":{["&, & > ".concat(e)]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{["&, & > ".concat(e)]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),j4=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:i,colorErrorHover:a}=e;return{["".concat(t,"-group")]:[{position:"relative",display:"inline-flex",["> span, > ".concat(t)]:{"&:not(:last-child)":{["&, & > ".concat(t)]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),["&, & > ".concat(t)]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},["".concat(t,"-icon-only")]:{fontSize:n}},Cv("".concat(t,"-primary"),i),Cv("".concat(t,"-danger"),a)]}},V4=j4,C2=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return Yn(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},S2=e=>{var t,n,r,i,a,o;const u=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,s=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,l=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,c=(i=e.contentLineHeight)!==null&&i!==void 0?i:ec(u),d=(a=e.contentLineHeightSM)!==null&&a!==void 0?a:ec(s),h=(o=e.contentLineHeightLG)!==null&&o!==void 0?o:ec(l);return{fontWeight:400,defaultShadow:"0 ".concat(e.controlOutlineWidth,"px 0 ").concat(e.controlTmpOutline),primaryShadow:"0 ".concat(e.controlOutlineWidth,"px 0 ").concat(e.controlOutline),dangerShadow:"0 ".concat(e.controlOutlineWidth,"px 0 ").concat(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:u,contentFontSizeSM:s,contentFontSizeLG:l,contentLineHeight:c,contentLineHeightSM:d,contentLineHeightLG:h,paddingBlock:Math.max((e.controlHeight-u*c)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-s*d)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-l*h)/2-e.lineWidth,0)}},W4=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:"".concat(Je(e.lineWidth)," ").concat(e.lineType," transparent"),cursor:"pointer",transition:"all ".concat(e.motionDurationMid," ").concat(e.motionEaseInOut),userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},["".concat(t,"-icon")]:{lineHeight:1},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},a6(e)),["&".concat(t,"-two-chinese-chars::first-letter")]:{letterSpacing:"0.34em"},["&".concat(t,"-two-chinese-chars > *:not(").concat(n,")")]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},"&-icon-end":{flexDirection:"row-reverse"}}}},oi=(e,t,n)=>({["&:not(:disabled):not(".concat(e,"-disabled)")]:{"&:hover":t,"&:active":n}}),Y4=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),q4=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),G4=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),hs=(e,t,n,r,i,a,o,u)=>({["&".concat(e,"-background-ghost")]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},oi(e,Object.assign({background:t},o),Object.assign({background:t},u))),{"&:disabled":{cursor:"not-allowed",color:i||void 0,borderColor:a||void 0}})}),Dp=e=>({["&:disabled, &".concat(e.componentCls,"-disabled")]:Object.assign({},G4(e))}),_2=e=>Object.assign({},Dp(e)),Hc=e=>({["&:disabled, &".concat(e.componentCls,"-disabled")]:{cursor:"not-allowed",color:e.colorTextDisabled}}),x2=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},_2(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),oi(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),hs(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{["&".concat(e.componentCls,"-dangerous")]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},oi(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),hs(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),Dp(e))}),K4=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},_2(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),oi(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),hs(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{["&".concat(e.componentCls,"-dangerous")]:Object.assign(Object.assign(Object.assign({background:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},oi(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),hs(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Dp(e))}),Q4=e=>Object.assign(Object.assign({},x2(e)),{borderStyle:"dashed"}),X4=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},oi(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Hc(e)),{["&".concat(e.componentCls,"-dangerous")]:Object.assign(Object.assign({color:e.colorError},oi(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),Hc(e))}),Z4=e=>Object.assign(Object.assign(Object.assign({},oi(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),Hc(e)),{["&".concat(e.componentCls,"-dangerous")]:Object.assign(Object.assign({color:e.colorError},Hc(e)),oi(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}))}),J4=e=>{const{componentCls:t}=e;return{["".concat(t,"-default")]:x2(e),["".concat(t,"-primary")]:K4(e),["".concat(t,"-dashed")]:Q4(e),["".concat(t,"-link")]:X4(e),["".concat(t,"-text")]:Z4(e),["".concat(t,"-ghost")]:hs(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},Fp=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:i,lineHeight:a,borderRadius:o,buttonPaddingHorizontal:u,iconCls:s,buttonPaddingVertical:l}=e,c="".concat(n,"-icon-only");return[{["".concat(t)]:{fontSize:i,lineHeight:a,height:r,padding:"".concat(Je(l)," ").concat(Je(u)),borderRadius:o,["&".concat(c)]:{width:r,paddingInline:0,["&".concat(n,"-compact-item")]:{flex:"none"},["&".concat(n,"-round")]:{width:"auto"},[s]:{fontSize:e.buttonIconOnlyFontSize}},["&".concat(n,"-loading")]:{opacity:e.opacityLoading,cursor:"default"},["".concat(n,"-loading-icon")]:{transition:"width ".concat(e.motionDurationSlow," ").concat(e.motionEaseInOut,", opacity ").concat(e.motionDurationSlow," ").concat(e.motionEaseInOut)}}},{["".concat(n).concat(n,"-circle").concat(t)]:Y4(e)},{["".concat(n).concat(n,"-round").concat(t)]:q4(e)}]},eP=e=>{const t=Yn(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return Fp(t,e.componentCls)},tP=e=>{const t=Yn(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 Fp(t,"".concat(e.componentCls,"-sm"))},nP=e=>{const t=Yn(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return Fp(t,"".concat(e.componentCls,"-lg"))},rP=e=>{const{componentCls:t}=e;return{[t]:{["&".concat(t,"-block")]:{width:"100%"}}}},iP=Rs("Button",e=>{const t=C2(e);return[W4(t),eP(t),tP(t),nP(t),rP(t),J4(t),V4(t)]},S2,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function aP(e,t,n){const{focusElCls:r,focus:i,borderElCls:a}=n,o=a?"> *":"",u=["hover",i?"focus":null,"active"].filter(Boolean).map(s=>"&:".concat(s," ").concat(o)).join(",");return{["&-item:not(".concat(t,"-last-item)")]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[u]:{zIndex:2}},r?{["&".concat(r)]:{zIndex:2}}:{}),{["&[disabled] ".concat(o)]:{zIndex:0}})}}function oP(e,t,n){const{borderElCls:r}=n,i=r?"> ".concat(r):"";return{["&-item:not(".concat(t,"-first-item):not(").concat(t,"-last-item) ").concat(i)]:{borderRadius:0},["&-item:not(".concat(t,"-last-item)").concat(t,"-first-item")]:{["& ".concat(i,", &").concat(e,"-sm ").concat(i,", &").concat(e,"-lg ").concat(i)]:{borderStartEndRadius:0,borderEndEndRadius:0}},["&-item:not(".concat(t,"-first-item)").concat(t,"-last-item")]:{["& ".concat(i,", &").concat(e,"-sm ").concat(i,", &").concat(e,"-lg ").concat(i)]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function A2(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r="".concat(n,"-compact");return{[r]:Object.assign(Object.assign({},aP(e,r,t)),oP(n,r,t))}}function uP(e,t){return{["&-item:not(".concat(t,"-last-item)")]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function sP(e,t){return{["&-item:not(".concat(t,"-first-item):not(").concat(t,"-last-item)")]:{borderRadius:0},["&-item".concat(t,"-first-item:not(").concat(t,"-last-item)")]:{["&, &".concat(e,"-sm, &").concat(e,"-lg")]:{borderEndEndRadius:0,borderEndStartRadius:0}},["&-item".concat(t,"-last-item:not(").concat(t,"-first-item)")]:{["&, &".concat(e,"-sm, &").concat(e,"-lg")]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function lP(e){const t="".concat(e.componentCls,"-compact-vertical");return{[t]:Object.assign(Object.assign({},uP(e,t)),sP(e.componentCls,t))}}const cP=e=>{const{componentCls:t,calc:n}=e;return{[t]:{["&-compact-item".concat(t,"-primary")]:{["&:not([disabled]) + ".concat(t,"-compact-item").concat(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% + ".concat(Je(e.lineWidth)," * 2)"),backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{["&".concat(t,"-primary")]:{["&:not([disabled]) + ".concat(t,"-compact-vertical-item").concat(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% + ".concat(Je(e.lineWidth)," * 2)"),height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},dP=c6(["Button","compact"],e=>{const t=C2(e);return[A2(t),lP(t),cP(t)]},S2);var fP=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,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,i;const{loading:a=!1,prefixCls:o,type:u,danger:s=!1,shape:l="default",size:c,styles:d,disabled:h,className:m,rootClassName:y,children:b,icon:T,iconPosition:v="start",ghost:g=!1,block:E=!1,htmlType:_="button",classNames:x,style:S={},autoInsertSpace:I}=e,R=fP(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace"]),O=u||"default",{getPrefixCls:M,direction:F,button:B}=p.useContext(Dt),z=(n=I!=null?I:B==null?void 0:B.autoInsertSpace)!==null&&n!==void 0?n:!0,U=M("btn",o),[G,H,L]=iP(U),P=p.useContext(Rd),$=h!=null?h:P,C=p.useContext(b2),D=p.useMemo(()=>hP(a),[a]),[W,w]=p.useState(D.loading),[X,Z]=p.useState(!1),fe=qi(t,p.createRef()),Te=p.Children.count(b)===1&&!T&&!Xf(O);p.useEffect(()=>{let Se=null;D.delay>0?Se=setTimeout(()=>{Se=null,w(!0)},D.delay):w(D.loading);function Pe(){Se&&(clearTimeout(Se),Se=null)}return Pe},[D]),p.useEffect(()=>{if(!fe||!fe.current||!z)return;const Se=fe.current.textContent;Te&&Wh(Se)?X||Z(!0):X&&Z(!1)},[fe]);const _e=Se=>{const{onClick:Pe}=e;if(W||$){Se.preventDefault();return}Pe==null||Pe(Se)},{compactSize:Ae,compactItemClassnames:ke}=Mp(U,F),Oe={large:"lg",small:"sm",middle:void 0},He=ks(Se=>{var Pe,Y;return(Y=(Pe=c!=null?c:Ae)!==null&&Pe!==void 0?Pe:C)!==null&&Y!==void 0?Y:Se}),Me=He&&Oe[He]||"",Ge=W?"loading":T,Fe=Tp(R,["navigate"]),$e=pe(U,H,L,{["".concat(U,"-").concat(l)]:l!=="default"&&l,["".concat(U,"-").concat(O)]:O,["".concat(U,"-").concat(Me)]:Me,["".concat(U,"-icon-only")]:!b&&b!==0&&!!Ge,["".concat(U,"-background-ghost")]:g&&!Xf(O),["".concat(U,"-loading")]:W,["".concat(U,"-two-chinese-chars")]:X&&z&&!W,["".concat(U,"-block")]:E,["".concat(U,"-dangerous")]:s,["".concat(U,"-rtl")]:F==="rtl",["".concat(U,"-icon-end")]:v==="end"},ke,m,y,B==null?void 0:B.className),ce=Object.assign(Object.assign({},B==null?void 0:B.style),S),we=pe(x==null?void 0:x.icon,(r=B==null?void 0:B.classNames)===null||r===void 0?void 0:r.icon),ve=Object.assign(Object.assign({},(d==null?void 0:d.icon)||{}),((i=B==null?void 0:B.styles)===null||i===void 0?void 0:i.icon)||{}),de=T&&!W?ae.createElement(T2,{prefixCls:U,className:we,style:ve},T):ae.createElement(z4,{existIcon:!!T,prefixCls:U,loading:W}),Ie=b||b===0?H4(b,Te&&z):null;if(Fe.href!==void 0)return G(ae.createElement("a",Object.assign({},Fe,{className:pe($e,{["".concat(U,"-disabled")]:$}),href:$?void 0:Fe.href,style:ce,onClick:_e,ref:fe,tabIndex:$?-1:0}),de,Ie));let Ne=ae.createElement("button",Object.assign({},R,{type:_,className:$e,style:ce,onClick:_e,disabled:$,ref:fe}),de,Ie,!!ke&&ae.createElement(dP,{key:"compact",prefixCls:U}));return Xf(O)||(Ne=ae.createElement(L4,{component:"Button",disabled:W},Ne)),G(Ne)}),Bp=mP;Bp.Group=F4;Bp.__ANT_BUTTON=!0;const pP=Bp;var w2=p.createContext(null),Sv=[];function gP(e,t){var n=p.useState(function(){if(!jn())return null;var y=document.createElement("div");return y}),r=ue(n,1),i=r[0],a=p.useRef(!1),o=p.useContext(w2),u=p.useState(Sv),s=ue(u,2),l=s[0],c=s[1],d=o||(a.current?void 0:function(y){c(function(b){var T=[y].concat(be(b));return T})});function h(){i.parentElement||document.body.appendChild(i),a.current=!0}function m(){var y;(y=i.parentElement)===null||y===void 0||y.removeChild(i),a.current=!1}return Gt(function(){return e?o?o(h):h():m(),m},[e]),Gt(function(){l.length&&(l.forEach(function(y){return y()}),c(Sv))},[l]),[i,d]}function vP(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r=n.style;r.position="absolute",r.left="0",r.top="0",r.width="100px",r.height="100px",r.overflow="scroll";var i,a;if(e){var o=getComputedStyle(e);r.scrollbarColor=o.scrollbarColor,r.scrollbarWidth=o.scrollbarWidth;var u=getComputedStyle(e,"::-webkit-scrollbar"),s=parseInt(u.width,10),l=parseInt(u.height,10);try{var c=s?"width: ".concat(u.width,";"):"",d=l?"height: ".concat(u.height,";"):"";ti("\n#".concat(t,"::-webkit-scrollbar {\n").concat(c,"\n").concat(d,"\n}"),t)}catch(y){console.error(y),i=s,a=l}}document.body.appendChild(n);var h=e&&i&&!isNaN(i)?i:n.offsetWidth-n.clientWidth,m=e&&a&&!isNaN(a)?a:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),us(t),{width:h,height:m}}function EP(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:vP(e)}function yP(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var bP="rc-util-locker-".concat(Date.now()),_v=0;function TP(e){var t=!!e,n=p.useState(function(){return _v+=1,"".concat(bP,"_").concat(_v)}),r=ue(n,1),i=r[0];Gt(function(){if(t){var a=EP(document.body).width,o=yP();ti("\nhtml body {\n overflow-y: hidden;\n ".concat(o?"width: calc(100% - ".concat(a,"px);"):"","\n}"),i)}else us(i);return function(){us(i)}},[t,i])}var xv=!1;function CP(e){return typeof e=="boolean"&&(xv=e),xv}var Av=function(t){return t===!1?!1:!jn()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},I2=p.forwardRef(function(e,t){var n=e.open,r=e.autoLock,i=e.getContainer;e.debug;var a=e.autoDestroy,o=a===void 0?!0:a,u=e.children,s=p.useState(n),l=ue(s,2),c=l[0],d=l[1],h=c||n;p.useEffect(function(){(o||n)&&d(n)},[n,o]);var m=p.useState(function(){return Av(i)}),y=ue(m,2),b=y[0],T=y[1];p.useEffect(function(){var F=Av(i);T(F!=null?F:null)});var v=gP(h&&!b),g=ue(v,2),E=g[0],_=g[1],x=b!=null?b:E;TP(r&&n&&jn()&&(x===E||x===document.body));var S=null;if(u&&Ns(u)&&t){var I=u;S=I.ref}var R=Td(S,t);if(!h||!jn()||b===void 0)return null;var O=x===!1||CP(),M=u;return t&&(M=p.cloneElement(u,{ref:R})),p.createElement(w2.Provider,{value:_},O?M:As.createPortal(M,x))});function SP(){var e=K({},Ts);return e.useId}var wv=0,Iv=SP();const _P=Iv?function(t){var n=Iv();return t||n}:function(t){var n=p.useState("ssr-id"),r=ue(n,2),i=r[0],a=r[1];return p.useEffect(function(){var o=wv;wv+=1,a("rc_unique_".concat(o))},[]),t||i};var ca="RC_FORM_INTERNAL_HOOKS",at=function(){$n(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},No=p.createContext({getFieldValue:at,getFieldsValue:at,getFieldError:at,getFieldWarning:at,getFieldsError:at,isFieldsTouched:at,isFieldTouched:at,isFieldValidating:at,isFieldsValidating:at,resetFields:at,setFields:at,setFieldValue:at,setFieldsValue:at,validateFields:at,submit:at,getInternalHooks:function(){return at(),{dispatch:at,initEntityValue:at,registerField:at,useSubscribe:at,setInitialValues:at,destroyForm:at,setCallbacks:at,registerWatch:at,getFields:at,setValidateMessages:at,setPreserve:at,getInitialValue:at}}}),Uc=p.createContext(null);function Yh(e){return e==null?[]:Array.isArray(e)?e:[e]}function xP(e){return e&&!!e._init}function qh(){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 Gh=qh();function AP(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch(t){return typeof e=="function"}}function wP(e,t,n){if(bp())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&is(i,n.prototype),i}function Kh(e){var t=typeof Map=="function"?new Map:void 0;return Kh=function(r){if(r===null||!AP(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return wP(r,arguments,as(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),is(i,r)},Kh(e)}var IP=/%[sdj%]/g,NP=function(){};typeof process<"u"&&process.env;function Qh(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 Bn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=a)return u;switch(u){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(s){return"[Circular]"}break;default:return u}});return o}return e}function RP(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Mt(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||RP(t)&&typeof e=="string"&&!e)}function OP(e,t,n){var r=[],i=0,a=e.length;function o(u){r.push.apply(r,be(u||[])),i++,i===a&&n(r)}e.forEach(function(u){t(u,o)})}function Nv(e,t,n){var r=0,i=e.length;function a(o){if(o&&o.length){n(o);return}var u=r;r=r+1,ut.max?i.push(Bn(a.messages[d].max,t.fullField,t.max)):u&&s&&(ct.max)&&i.push(Bn(a.messages[d].range,t.fullField,t.min,t.max))},N2=function(t,n,r,i,a,o){t.required&&(!r.hasOwnProperty(t.field)||Mt(n,o||t.type))&&i.push(Bn(a.messages.required,t.fullField))},xl;const HP=function(){if(xl)return xl;var e="[a-fA-F\\d:]",t=function(S){return S&&S.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",i=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],a="(?:%[0-9a-zA-Z]{1,})?",o="(?:".concat(i.join("|"),")").concat(a),u=new RegExp("(?:^".concat(n,"$)|(?:^").concat(o,"$)")),s=new RegExp("^".concat(n,"$")),l=new RegExp("^".concat(o,"$")),c=function(S){return S&&S.exact?u:new RegExp("(?:".concat(t(S)).concat(n).concat(t(S),")|(?:").concat(t(S)).concat(o).concat(t(S),")"),"g")};c.v4=function(x){return x&&x.exact?s:new RegExp("".concat(t(x)).concat(n).concat(t(x)),"g")},c.v6=function(x){return x&&x.exact?l:new RegExp("".concat(t(x)).concat(o).concat(t(x)),"g")};var d="(?:(?:[a-z]+:)?//)",h="(?:\\S+(?::\\S*)?@)?",m=c.v4().source,y=c.v6().source,b="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",T="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",v="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",g="(?::\\d{2,5})?",E='(?:[/?#][^\\s"]*)?',_="(?:".concat(d,"|www\\.)").concat(h,"(?:localhost|").concat(m,"|").concat(y,"|").concat(b).concat(T).concat(v,")").concat(g).concat(E);return xl=new RegExp("(?:^".concat(_,"$)"),"i"),xl};var Lv={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},pu={integer:function(t){return pu.number(t)&&parseInt(t,10)===t},float:function(t){return pu.number(t)&&!pu.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){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 Be(t)==="object"&&!pu.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(Lv.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(HP())},hex:function(t){return typeof t=="string"&&!!t.match(Lv.hex)}},UP=function(t,n,r,i,a){if(t.required&&n===void 0){N2(t,n,r,i,a);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=t.type;o.indexOf(u)>-1?pu[u](n)||i.push(Bn(a.messages.types[u],t.fullField,t.type)):u&&Be(n)!==t.type&&i.push(Bn(a.messages.types[u],t.fullField,t.type))},$P=function(t,n,r,i,a){(/^\s+$/.test(n)||n==="")&&i.push(Bn(a.messages.whitespace,t.fullField))};const qe={required:N2,whitespace:$P,type:UP,range:BP,enum:DP,pattern:FP};var zP=function(t,n,r,i,a){var o=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Mt(n)&&!t.required)return r();qe.required(t,n,i,o,a)}r(o)},jP=function(t,n,r,i,a){var o=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(n==null&&!t.required)return r();qe.required(t,n,i,o,a,"array"),n!=null&&(qe.type(t,n,i,o,a),qe.range(t,n,i,o,a))}r(o)},VP=function(t,n,r,i,a){var o=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Mt(n)&&!t.required)return r();qe.required(t,n,i,o,a),n!==void 0&&qe.type(t,n,i,o,a)}r(o)},WP=function(t,n,r,i,a){var o=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Mt(n,"date")&&!t.required)return r();if(qe.required(t,n,i,o,a),!Mt(n,"date")){var s;n instanceof Date?s=n:s=new Date(n),qe.type(t,s,i,o,a),s&&qe.range(t,s.getTime(),i,o,a)}}r(o)},YP="enum",qP=function(t,n,r,i,a){var o=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Mt(n)&&!t.required)return r();qe.required(t,n,i,o,a),n!==void 0&&qe[YP](t,n,i,o,a)}r(o)},GP=function(t,n,r,i,a){var o=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Mt(n)&&!t.required)return r();qe.required(t,n,i,o,a),n!==void 0&&(qe.type(t,n,i,o,a),qe.range(t,n,i,o,a))}r(o)},KP=function(t,n,r,i,a){var o=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Mt(n)&&!t.required)return r();qe.required(t,n,i,o,a),n!==void 0&&(qe.type(t,n,i,o,a),qe.range(t,n,i,o,a))}r(o)},QP=function(t,n,r,i,a){var o=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Mt(n)&&!t.required)return r();qe.required(t,n,i,o,a),n!==void 0&&qe.type(t,n,i,o,a)}r(o)},XP=function(t,n,r,i,a){var o=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(n===""&&(n=void 0),Mt(n)&&!t.required)return r();qe.required(t,n,i,o,a),n!==void 0&&(qe.type(t,n,i,o,a),qe.range(t,n,i,o,a))}r(o)},ZP=function(t,n,r,i,a){var o=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Mt(n)&&!t.required)return r();qe.required(t,n,i,o,a),n!==void 0&&qe.type(t,n,i,o,a)}r(o)},JP=function(t,n,r,i,a){var o=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Mt(n,"string")&&!t.required)return r();qe.required(t,n,i,o,a),Mt(n,"string")||qe.pattern(t,n,i,o,a)}r(o)},eL=function(t,n,r,i,a){var o=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Mt(n)&&!t.required)return r();qe.required(t,n,i,o,a),Mt(n)||qe.type(t,n,i,o,a)}r(o)},tL=function(t,n,r,i,a){var o=[],u=Array.isArray(n)?"array":Be(n);qe.required(t,n,i,o,a,u),r(o)},nL=function(t,n,r,i,a){var o=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Mt(n,"string")&&!t.required)return r();qe.required(t,n,i,o,a,"string"),Mt(n,"string")||(qe.type(t,n,i,o,a),qe.range(t,n,i,o,a),qe.pattern(t,n,i,o,a),t.whitespace===!0&&qe.whitespace(t,n,i,o,a))}r(o)},e0=function(t,n,r,i,a){var o=t.type,u=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Mt(n,o)&&!t.required)return r();qe.required(t,n,i,u,a,o),Mt(n,o)||qe.type(t,n,i,u,a)}r(u)};const Nu={string:nL,method:QP,number:XP,boolean:VP,regexp:eL,integer:KP,float:GP,array:jP,object:ZP,enum:qP,pattern:JP,date:WP,url:e0,hex:e0,email:e0,required:tL,any:zP};var Ms=function(){function e(t){an(this,e),V(this,"rules",null),V(this,"_messages",Gh),this.define(t)}return on(e,[{key:"define",value:function(n){var r=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(Be(n)!=="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(i){var a=n[i];r.rules[i]=Array.isArray(a)?a:[a]})}},{key:"messages",value:function(n){return n&&(this._messages=Pv(qh(),n)),this._messages}},{key:"validate",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},o=n,u=i,s=a;if(typeof u=="function"&&(s=u,u={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(null,o),Promise.resolve(o);function l(y){var b=[],T={};function v(E){if(Array.isArray(E)){var _;b=(_=b).concat.apply(_,be(E))}else b.push(E)}for(var g=0;g0&&arguments[0]!==void 0?arguments[0]:[],R=Array.isArray(I)?I:[I];!u.suppressWarning&&R.length&&e.warning("async-validator:",R),R.length&&T.message!==void 0&&(R=[].concat(T.message));var O=R.map(Ov(T,o));if(u.first&&O.length)return m[T.field]=1,b(O);if(!v)b(O);else{if(T.required&&!y.value)return T.message!==void 0?O=[].concat(T.message).map(Ov(T,o)):u.error&&(O=[u.error(T,Bn(u.messages.required,T.field))]),b(O);var M={};T.defaultField&&Object.keys(y.value).map(function(z){M[z]=T.defaultField}),M=K(K({},M),y.rule.fields);var F={};Object.keys(M).forEach(function(z){var U=M[z],G=Array.isArray(U)?U:[U];F[z]=G.map(g.bind(null,z))});var B=new e(F);B.messages(u.messages),y.rule.options&&(y.rule.options.messages=u.messages,y.rule.options.error=u.error),B.validate(y.value,y.rule.options||u,function(z){var U=[];O&&O.length&&U.push.apply(U,be(O)),z&&z.length&&U.push.apply(U,be(z)),b(U.length?U:null)})}}var _;if(T.asyncValidator)_=T.asyncValidator(T,y.value,E,y.source,u);else if(T.validator){try{_=T.validator(T,y.value,E,y.source,u)}catch(I){var x,S;(x=(S=console).error)===null||x===void 0||x.call(S,I),u.suppressValidatorError||setTimeout(function(){throw I},0),E(I.message)}_===!0?E():_===!1?E(typeof T.message=="function"?T.message(T.fullField||T.field):T.message||"".concat(T.fullField||T.field," fails")):_ instanceof Array?E(_):_ instanceof Error&&E(_.message)}_&&_.then&&_.then(function(){return E()},function(I){return E(I)})},function(y){l(y)},o)}},{key:"getType",value:function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!Nu.hasOwnProperty(n.type))throw new Error(Bn("Unknown rule type %s",n.type));return n.type||"string"}},{key:"getValidationMethod",value:function(n){if(typeof n.validator=="function")return n.validator;var r=Object.keys(n),i=r.indexOf("message");return i!==-1&&r.splice(i,1),r.length===1&&r[0]==="required"?Nu.required:Nu[this.getType(n)]||void 0}}]),e}();V(Ms,"register",function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Nu[t]=n});V(Ms,"warning",NP);V(Ms,"messages",Gh);V(Ms,"validators",Nu);var On="'${name}' is not a valid ${type}",R2={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:On,method:On,array:On,object:On,number:On,date:On,boolean:On,integer:On,float:On,regexp:On,email:On,url:On,hex:On},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},kv=Ms;function rL(e,t){return e.replace(/\$\{\w+\}/g,function(n){var r=n.slice(2,-1);return t[r]})}var Mv="CODE_LOGIC_ERROR";function Xh(e,t,n,r,i){return Zh.apply(this,arguments)}function Zh(){return Zh=Na(fn().mark(function e(t,n,r,i,a){var o,u,s,l,c,d,h,m,y;return fn().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return o=K({},r),delete o.ruleIndex,kv.warning=function(){},o.validator&&(u=o.validator,o.validator=function(){try{return u.apply(void 0,arguments)}catch(v){return console.error(v),Promise.reject(Mv)}}),s=null,o&&o.type==="array"&&o.defaultField&&(s=o.defaultField,delete o.defaultField),l=new kv(V({},t,[o])),c=ao(R2,i.validateMessages),l.messages(c),d=[],T.prev=10,T.next=13,Promise.resolve(l.validate(V({},t,n),K({},i)));case 13:T.next=18;break;case 15:T.prev=15,T.t0=T.catch(10),T.t0.errors&&(d=T.t0.errors.map(function(v,g){var E=v.message,_=E===Mv?c.default:E;return p.isValidElement(_)?p.cloneElement(_,{key:"error_".concat(g)}):_}));case 18:if(!(!d.length&&s)){T.next=23;break}return T.next=21,Promise.all(n.map(function(v,g){return Xh("".concat(t,".").concat(g),v,s,i,a)}));case 21:return h=T.sent,T.abrupt("return",h.reduce(function(v,g){return[].concat(be(v),be(g))},[]));case 23:return m=K(K({},r),{},{name:t,enum:(r.enum||[]).join(", ")},a),y=d.map(function(v){return typeof v=="string"?rL(v,m):v}),T.abrupt("return",y);case 26:case"end":return T.stop()}},e,null,[[10,15]])})),Zh.apply(this,arguments)}function iL(e,t,n,r,i,a){var o=e.join("."),u=n.map(function(c,d){var h=c.validator,m=K(K({},c),{},{ruleIndex:d});return h&&(m.validator=function(y,b,T){var v=!1,g=function(){for(var x=arguments.length,S=new Array(x),I=0;I2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return O2(t,r,n)})}function O2(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 uL(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||Be(e)!=="object"||Be(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),i=new Set([].concat(n,r));return be(i).every(function(a){var o=e[a],u=t[a];return typeof o=="function"&&typeof u=="function"?!0:o===u})}function sL(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&Be(t.target)==="object"&&e in t.target?t.target[e]:t}function Fv(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var i=e[t],a=t-n;return a>0?[].concat(be(e.slice(0,n)),[i],be(e.slice(n,t)),be(e.slice(t+1,r))):a<0?[].concat(be(e.slice(0,t)),be(e.slice(t+1,n+1)),[i],be(e.slice(n+1,r))):e}var lL=["name"],Kn=[];function Bv(e,t,n,r,i,a){return typeof e=="function"?e(t,n,"source"in a?{source:a.source}:{}):r!==i}var Hp=function(e){wa(n,e);var t=Ia(n);function n(r){var i;if(an(this,n),i=t.call(this,r),V(je(i),"state",{resetCount:0}),V(je(i),"cancelRegisterFunc",null),V(je(i),"mounted",!1),V(je(i),"touched",!1),V(je(i),"dirty",!1),V(je(i),"validatePromise",void 0),V(je(i),"prevValidating",void 0),V(je(i),"errors",Kn),V(je(i),"warnings",Kn),V(je(i),"cancelRegister",function(){var s=i.props,l=s.preserve,c=s.isListField,d=s.name;i.cancelRegisterFunc&&i.cancelRegisterFunc(c,l,St(d)),i.cancelRegisterFunc=null}),V(je(i),"getNamePath",function(){var s=i.props,l=s.name,c=s.fieldContext,d=c.prefixName,h=d===void 0?[]:d;return l!==void 0?[].concat(be(h),be(l)):[]}),V(je(i),"getRules",function(){var s=i.props,l=s.rules,c=l===void 0?[]:l,d=s.fieldContext;return c.map(function(h){return typeof h=="function"?h(d):h})}),V(je(i),"refresh",function(){i.mounted&&i.setState(function(s){var l=s.resetCount;return{resetCount:l+1}})}),V(je(i),"metaCache",null),V(je(i),"triggerMetaEvent",function(s){var l=i.props.onMetaChange;if(l){var c=K(K({},i.getMeta()),{},{destroy:s});Ch(i.metaCache,c)||l(c),i.metaCache=c}else i.metaCache=null}),V(je(i),"onStoreChange",function(s,l,c){var d=i.props,h=d.shouldUpdate,m=d.dependencies,y=m===void 0?[]:m,b=d.onReset,T=c.store,v=i.getNamePath(),g=i.getValue(s),E=i.getValue(T),_=l&&go(l,v);switch(c.type==="valueUpdate"&&c.source==="external"&&!Ch(g,E)&&(i.touched=!0,i.dirty=!0,i.validatePromise=null,i.errors=Kn,i.warnings=Kn,i.triggerMetaEvent()),c.type){case"reset":if(!l||_){i.touched=!1,i.dirty=!1,i.validatePromise=void 0,i.errors=Kn,i.warnings=Kn,i.triggerMetaEvent(),b==null||b(),i.refresh();return}break;case"remove":{if(h){i.reRender();return}break}case"setField":{var x=c.data;if(_){"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||Kn),"warnings"in x&&(i.warnings=x.warnings||Kn),i.dirty=!0,i.triggerMetaEvent(),i.reRender();return}else if("value"in x&&go(l,v,!0)){i.reRender();return}if(h&&!v.length&&Bv(h,s,T,g,E,c)){i.reRender();return}break}case"dependenciesUpdate":{var S=y.map(St);if(S.some(function(I){return go(c.relatedFields,I)})){i.reRender();return}break}default:if(_||(!y.length||v.length||h)&&Bv(h,s,T,g,E,c)){i.reRender();return}break}h===!0&&i.reRender()}),V(je(i),"validateRules",function(s){var l=i.getNamePath(),c=i.getValue(),d=s||{},h=d.triggerName,m=d.validateOnly,y=m===void 0?!1:m,b=Promise.resolve().then(Na(fn().mark(function T(){var v,g,E,_,x,S,I;return fn().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:if(i.mounted){O.next=2;break}return O.abrupt("return",[]);case 2:if(v=i.props,g=v.validateFirst,E=g===void 0?!1:g,_=v.messageVariables,x=v.validateDebounce,S=i.getRules(),h&&(S=S.filter(function(M){return M}).filter(function(M){var F=M.validateTrigger;if(!F)return!0;var B=Yh(F);return B.includes(h)})),!(x&&h)){O.next=10;break}return O.next=8,new Promise(function(M){setTimeout(M,x)});case 8:if(i.validatePromise===b){O.next=10;break}return O.abrupt("return",[]);case 10:return I=iL(l,c,S,s,E,_),I.catch(function(M){return M}).then(function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Kn;if(i.validatePromise===b){var F;i.validatePromise=null;var B=[],z=[];(F=M.forEach)===null||F===void 0||F.call(M,function(U){var G=U.rule.warningOnly,H=U.errors,L=H===void 0?Kn:H;G?z.push.apply(z,be(L)):B.push.apply(B,be(L))}),i.errors=B,i.warnings=z,i.triggerMetaEvent(),i.reRender()}}),O.abrupt("return",I);case 13:case"end":return O.stop()}},T)})));return y||(i.validatePromise=b,i.dirty=!0,i.errors=Kn,i.warnings=Kn,i.triggerMetaEvent(),i.reRender()),b}),V(je(i),"isFieldValidating",function(){return!!i.validatePromise}),V(je(i),"isFieldTouched",function(){return i.touched}),V(je(i),"isFieldDirty",function(){if(i.dirty||i.props.initialValue!==void 0)return!0;var s=i.props.fieldContext,l=s.getInternalHooks(ca),c=l.getInitialValue;return c(i.getNamePath())!==void 0}),V(je(i),"getErrors",function(){return i.errors}),V(je(i),"getWarnings",function(){return i.warnings}),V(je(i),"isListField",function(){return i.props.isListField}),V(je(i),"isList",function(){return i.props.isList}),V(je(i),"isPreserve",function(){return i.props.preserve}),V(je(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}),V(je(i),"getOnlyChild",function(s){if(typeof s=="function"){var l=i.getMeta();return K(K({},i.getOnlyChild(s(i.getControlled(),l,i.props.fieldContext))),{},{isFunction:!0})}var c=Oc(s);return c.length!==1||!p.isValidElement(c[0])?{child:c,isFunction:!1}:{child:c[0],isFunction:!1}}),V(je(i),"getValue",function(s){var l=i.props.fieldContext.getFieldsValue,c=i.getNamePath();return Dr(s||l(!0),c)}),V(je(i),"getControlled",function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=i.props,c=l.name,d=l.trigger,h=l.validateTrigger,m=l.getValueFromEvent,y=l.normalize,b=l.valuePropName,T=l.getValueProps,v=l.fieldContext,g=h!==void 0?h:v.validateTrigger,E=i.getNamePath(),_=v.getInternalHooks,x=v.getFieldsValue,S=_(ca),I=S.dispatch,R=i.getValue(),O=T||function(U){return V({},b,U)},M=s[d],F=c!==void 0?O(R):{},B=K(K({},s),F);B[d]=function(){i.touched=!0,i.dirty=!0,i.triggerMetaEvent();for(var U,G=arguments.length,H=new Array(G),L=0;L=0&&M<=F.length?(c.keys=[].concat(be(c.keys.slice(0,M)),[c.id],be(c.keys.slice(M))),E([].concat(be(F.slice(0,M)),[O],be(F.slice(M))))):(c.keys=[].concat(be(c.keys),[c.id]),E([].concat(be(F),[O]))),c.id+=1},remove:function(O){var M=x(),F=new Set(Array.isArray(O)?O:[O]);F.size<=0||(c.keys=c.keys.filter(function(B,z){return!F.has(z)}),E(M.filter(function(B,z){return!F.has(z)})))},move:function(O,M){if(O!==M){var F=x();O<0||O>=F.length||M<0||M>=F.length||(c.keys=Fv(c.keys,O,M),E(Fv(F,O,M)))}}},I=g||[];return Array.isArray(I)||(I=[]),r(I.map(function(R,O){var M=c.keys[O];return M===void 0&&(c.keys[O]=c.id,M=c.keys[O],c.id+=1),{name:O,key:M,isListField:!0}}),S,T)})))}function dL(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(i,a){e.forEach(function(o,u){o.catch(function(s){return t=!0,s}).then(function(s){n-=1,r[u]=s,!(n>0)&&(t&&a(r),i(r))})})}):Promise.resolve([])}var L2="__@field_split__";function t0(e){return e.map(function(t){return"".concat(Be(t),":").concat(t)}).join(L2)}var Ha=function(){function e(){an(this,e),V(this,"kvs",new Map)}return on(e,[{key:"set",value:function(n,r){this.kvs.set(t0(n),r)}},{key:"get",value:function(n){return this.kvs.get(t0(n))}},{key:"update",value:function(n,r){var i=this.get(n),a=r(i);a?this.set(n,a):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(t0(n))}},{key:"map",value:function(n){return be(this.kvs.entries()).map(function(r){var i=ue(r,2),a=i[0],o=i[1],u=a.split(L2);return n({key:u.map(function(s){var l=s.match(/^([^:]*):(.*)$/),c=ue(l,3),d=c[1],h=c[2];return d==="number"?Number(h):h}),value:o})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var i=r.key,a=r.value;return n[i.join(".")]=a,null}),n}}]),e}(),fL=["name"],hL=on(function e(t){var n=this;an(this,e),V(this,"formHooked",!1),V(this,"forceRootUpdate",void 0),V(this,"subscribable",!0),V(this,"store",{}),V(this,"fieldEntities",[]),V(this,"initialValues",{}),V(this,"callbacks",{}),V(this,"validateMessages",null),V(this,"preserve",null),V(this,"lastValidatePromise",null),V(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}}),V(this,"getInternalHooks",function(r){return r===ca?(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}):($n(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),V(this,"useSubscribe",function(r){n.subscribable=r}),V(this,"prevWithoutPreserves",null),V(this,"setInitialValues",function(r,i){if(n.initialValues=r||{},i){var a,o=ao(r,n.store);(a=n.prevWithoutPreserves)===null||a===void 0||a.map(function(u){var s=u.key;o=Er(o,s,Dr(r,s))}),n.prevWithoutPreserves=null,n.updateStore(o)}}),V(this,"destroyForm",function(r){if(r)n.updateStore({});else{var i=new Ha;n.getFieldEntities(!0).forEach(function(a){n.isMergedPreserve(a.isPreserve())||i.set(a.getNamePath(),!0)}),n.prevWithoutPreserves=i}}),V(this,"getInitialValue",function(r){var i=Dr(n.initialValues,r);return r.length?ao(i):i}),V(this,"setCallbacks",function(r){n.callbacks=r}),V(this,"setValidateMessages",function(r){n.validateMessages=r}),V(this,"setPreserve",function(r){n.preserve=r}),V(this,"watchList",[]),V(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(i){return i!==r})}}),V(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var i=n.getFieldsValue(),a=n.getFieldsValue(!0);n.watchList.forEach(function(o){o(i,a,r)})}}),V(this,"timeoutId",null),V(this,"warningUnhooked",function(){}),V(this,"updateStore",function(r){n.store=r}),V(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}),V(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,i=new Ha;return n.getFieldEntities(r).forEach(function(a){var o=a.getNamePath();i.set(o,a)}),i}),V(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var i=n.getFieldsMap(!0);return r.map(function(a){var o=St(a);return i.get(o)||{INVALIDATE_NAME_PATH:St(a)}})}),V(this,"getFieldsValue",function(r,i){n.warningUnhooked();var a,o,u;if(r===!0||Array.isArray(r)?(a=r,o=i):r&&Be(r)==="object"&&(u=r.strict,o=r.filter),a===!0&&!o)return n.store;var s=n.getFieldEntitiesForNamePathList(Array.isArray(a)?a:null),l=[];return s.forEach(function(c){var d,h,m="INVALIDATE_NAME_PATH"in c?c.INVALIDATE_NAME_PATH:c.getNamePath();if(u){var y,b;if((y=(b=c).isList)!==null&&y!==void 0&&y.call(b))return}else if(!a&&(d=(h=c).isListField)!==null&&d!==void 0&&d.call(h))return;if(!o)l.push(m);else{var T="getMeta"in c?c.getMeta():null;o(T)&&l.push(m)}}),Dv(n.store,l.map(St))}),V(this,"getFieldValue",function(r){n.warningUnhooked();var i=St(r);return Dr(n.store,i)}),V(this,"getFieldsError",function(r){n.warningUnhooked();var i=n.getFieldEntitiesForNamePathList(r);return i.map(function(a,o){return a&&!("INVALIDATE_NAME_PATH"in a)?{name:a.getNamePath(),errors:a.getErrors(),warnings:a.getWarnings()}:{name:St(r[o]),errors:[],warnings:[]}})}),V(this,"getFieldError",function(r){n.warningUnhooked();var i=St(r),a=n.getFieldsError([i])[0];return a.errors}),V(this,"getFieldWarning",function(r){n.warningUnhooked();var i=St(r),a=n.getFieldsError([i])[0];return a.warnings}),V(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,i=new Array(r),a=0;a0&&arguments[0]!==void 0?arguments[0]:{},i=new Ha,a=n.getFieldEntities(!0);a.forEach(function(s){var l=s.props.initialValue,c=s.getNamePath();if(l!==void 0){var d=i.get(c)||new Set;d.add({entity:s,value:l}),i.set(c,d)}});var o=function(l){l.forEach(function(c){var d=c.props.initialValue;if(d!==void 0){var h=c.getNamePath(),m=n.getInitialValue(h);if(m!==void 0)$n(!1,"Form already set 'initialValues' with path '".concat(h.join("."),"'. Field can not overwrite it."));else{var y=i.get(h);if(y&&y.size>1)$n(!1,"Multiple Field with path '".concat(h.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(y){var b=n.getFieldValue(h),T=c.isListField();!T&&(!r.skipExist||b===void 0)&&n.updateStore(Er(n.store,h,be(y)[0].value))}}}})},u;r.entities?u=r.entities:r.namePathList?(u=[],r.namePathList.forEach(function(s){var l=i.get(s);if(l){var c;(c=u).push.apply(c,be(be(l).map(function(d){return d.entity})))}})):u=a,o(u)}),V(this,"resetFields",function(r){n.warningUnhooked();var i=n.store;if(!r){n.updateStore(ao(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(i,null,{type:"reset"}),n.notifyWatch();return}var a=r.map(St);a.forEach(function(o){var u=n.getInitialValue(o);n.updateStore(Er(n.store,o,u))}),n.resetWithFieldInitialValue({namePathList:a}),n.notifyObservers(i,a,{type:"reset"}),n.notifyWatch(a)}),V(this,"setFields",function(r){n.warningUnhooked();var i=n.store,a=[];r.forEach(function(o){var u=o.name,s=jt(o,fL),l=St(u);a.push(l),"value"in s&&n.updateStore(Er(n.store,l,s.value)),n.notifyObservers(i,[l],{type:"setField",data:o})}),n.notifyWatch(a)}),V(this,"getFields",function(){var r=n.getFieldEntities(!0),i=r.map(function(a){var o=a.getNamePath(),u=a.getMeta(),s=K(K({},u),{},{name:o,value:n.getFieldValue(o)});return Object.defineProperty(s,"originRCField",{value:!0}),s});return i}),V(this,"initEntityValue",function(r){var i=r.props.initialValue;if(i!==void 0){var a=r.getNamePath(),o=Dr(n.store,a);o===void 0&&n.updateStore(Er(n.store,a,i))}}),V(this,"isMergedPreserve",function(r){var i=r!==void 0?r:n.preserve;return i!=null?i:!0}),V(this,"registerField",function(r){n.fieldEntities.push(r);var i=r.getNamePath();if(n.notifyWatch([i]),r.props.initialValue!==void 0){var a=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(a,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(o,u){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(d){return d!==r}),!n.isMergedPreserve(u)&&(!o||s.length>1)){var l=o?void 0:n.getInitialValue(i);if(i.length&&n.getFieldValue(i)!==l&&n.fieldEntities.every(function(d){return!O2(d.getNamePath(),i)})){var c=n.store;n.updateStore(Er(c,i,l,!0)),n.notifyObservers(c,[i],{type:"remove"}),n.triggerDependenciesUpdate(c,i)}}n.notifyWatch([i])}}),V(this,"dispatch",function(r){switch(r.type){case"updateValue":{var i=r.namePath,a=r.value;n.updateValue(i,a);break}case"validateField":{var o=r.namePath,u=r.triggerName;n.validateFields([o],{triggerName:u});break}}}),V(this,"notifyObservers",function(r,i,a){if(n.subscribable){var o=K(K({},a),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(u){var s=u.onStoreChange;s(r,i,o)})}else n.forceRootUpdate()}),V(this,"triggerDependenciesUpdate",function(r,i){var a=n.getDependencyChildrenFields(i);return a.length&&n.validateFields(a),n.notifyObservers(r,a,{type:"dependenciesUpdate",relatedFields:[i].concat(be(a))}),a}),V(this,"updateValue",function(r,i){var a=St(r),o=n.store;n.updateStore(Er(n.store,a,i)),n.notifyObservers(o,[a],{type:"valueUpdate",source:"internal"}),n.notifyWatch([a]);var u=n.triggerDependenciesUpdate(o,a),s=n.callbacks.onValuesChange;if(s){var l=Dv(n.store,[a]);s(l,n.getFieldsValue())}n.triggerOnFieldsChange([a].concat(be(u)))}),V(this,"setFieldsValue",function(r){n.warningUnhooked();var i=n.store;if(r){var a=ao(n.store,r);n.updateStore(a)}n.notifyObservers(i,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),V(this,"setFieldValue",function(r,i){n.setFields([{name:r,value:i}])}),V(this,"getDependencyChildrenFields",function(r){var i=new Set,a=[],o=new Ha;n.getFieldEntities().forEach(function(s){var l=s.props.dependencies;(l||[]).forEach(function(c){var d=St(c);o.update(d,function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return h.add(s),h})})});var u=function s(l){var c=o.get(l)||new Set;c.forEach(function(d){if(!i.has(d)){i.add(d);var h=d.getNamePath();d.isFieldDirty()&&h.length&&(a.push(h),s(h))}})};return u(r),a}),V(this,"triggerOnFieldsChange",function(r,i){var a=n.callbacks.onFieldsChange;if(a){var o=n.getFields();if(i){var u=new Ha;i.forEach(function(l){var c=l.name,d=l.errors;u.set(c,d)}),o.forEach(function(l){l.errors=u.get(l.name)||l.errors})}var s=o.filter(function(l){var c=l.name;return go(r,c)});s.length&&a(s,o)}}),V(this,"validateFields",function(r,i){n.warningUnhooked();var a,o;Array.isArray(r)||typeof r=="string"||typeof i=="string"?(a=r,o=i):o=r;var u=!!a,s=u?a.map(St):[],l=[],c=String(Date.now()),d=new Set,h=o||{},m=h.recursive,y=h.dirty;n.getFieldEntities(!0).forEach(function(g){if(u||s.push(g.getNamePath()),!(!g.props.rules||!g.props.rules.length)&&!(y&&!g.isFieldDirty())){var E=g.getNamePath();if(d.add(E.join(c)),!u||go(s,E,m)){var _=g.validateRules(K({validateMessages:K(K({},R2),n.validateMessages)},o));l.push(_.then(function(){return{name:E,errors:[],warnings:[]}}).catch(function(x){var S,I=[],R=[];return(S=x.forEach)===null||S===void 0||S.call(x,function(O){var M=O.rule.warningOnly,F=O.errors;M?R.push.apply(R,be(F)):I.push.apply(I,be(F))}),I.length?Promise.reject({name:E,errors:I,warnings:R}):{name:E,errors:I,warnings:R}}))}}});var b=dL(l);n.lastValidatePromise=b,b.catch(function(g){return g}).then(function(g){var E=g.map(function(_){var x=_.name;return x});n.notifyObservers(n.store,E,{type:"validateFinish"}),n.triggerOnFieldsChange(E,g)});var T=b.then(function(){return n.lastValidatePromise===b?Promise.resolve(n.getFieldsValue(s)):Promise.reject([])}).catch(function(g){var E=g.filter(function(_){return _&&_.errors.length});return Promise.reject({values:n.getFieldsValue(s),errorFields:E,outOfDate:n.lastValidatePromise!==b})});T.catch(function(g){return g});var v=s.filter(function(g){return d.has(g.join(c))});return n.triggerOnFieldsChange(v),T}),V(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var i=n.callbacks.onFinish;if(i)try{i(r)}catch(a){console.error(a)}}).catch(function(r){var i=n.callbacks.onFinishFailed;i&&i(r)})}),this.forceRootUpdate=t});function k2(e){var t=p.useRef(),n=p.useState({}),r=ue(n,2),i=r[1];if(!t.current)if(e)t.current=e;else{var a=function(){i({})},o=new hL(a);t.current=o.getForm()}return[t.current]}var tm=p.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),mL=function(t){var n=t.validateMessages,r=t.onFormChange,i=t.onFormFinish,a=t.children,o=p.useContext(tm),u=p.useRef({});return p.createElement(tm.Provider,{value:K(K({},o),{},{validateMessages:K(K({},o.validateMessages),n),triggerFormChange:function(l,c){r&&r(l,{changedFields:c,forms:u.current}),o.triggerFormChange(l,c)},triggerFormFinish:function(l,c){i&&i(l,{values:c,forms:u.current}),o.triggerFormFinish(l,c)},registerForm:function(l,c){l&&(u.current=K(K({},u.current),{},V({},l,c))),o.registerForm(l,c)},unregisterForm:function(l){var c=K({},u.current);delete c[l],u.current=c,o.unregisterForm(l)}})},a)},pL=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],gL=function(t,n){var r=t.name,i=t.initialValues,a=t.fields,o=t.form,u=t.preserve,s=t.children,l=t.component,c=l===void 0?"form":l,d=t.validateMessages,h=t.validateTrigger,m=h===void 0?"onChange":h,y=t.onValuesChange,b=t.onFieldsChange,T=t.onFinish,v=t.onFinishFailed,g=t.clearOnDestroy,E=jt(t,pL),_=p.useRef(null),x=p.useContext(tm),S=k2(o),I=ue(S,1),R=I[0],O=R.getInternalHooks(ca),M=O.useSubscribe,F=O.setInitialValues,B=O.setCallbacks,z=O.setValidateMessages,U=O.setPreserve,G=O.destroyForm;p.useImperativeHandle(n,function(){return K(K({},R),{},{nativeElement:_.current})}),p.useEffect(function(){return x.registerForm(r,R),function(){x.unregisterForm(r)}},[x,R,r]),z(K(K({},x.validateMessages),d)),B({onValuesChange:y,onFieldsChange:function(X){if(x.triggerFormChange(r,X),b){for(var Z=arguments.length,J=new Array(Z>1?Z-1:0),fe=1;fe{let{children:t,status:n,override:r}=e;const i=p.useContext(ji),a=p.useMemo(()=>{const o=Object.assign({},i);return r&&delete o.isFormItemInput,n&&(delete o.status,delete o.hasFeedback,delete o.feedbackIcon),o},[n,r,i]);return p.createElement(ji.Provider,{value:a},t)},bL=p.createContext(void 0),TL=e=>({animationDuration:e,animationFillMode:"both"}),CL=e=>({animationDuration:e,animationFillMode:"both"}),SL=function(e,t,n,r){const a=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{["\n ".concat(a).concat(e,"-enter,\n ").concat(a).concat(e,"-appear\n ")]:Object.assign(Object.assign({},TL(r)),{animationPlayState:"paused"}),["".concat(a).concat(e,"-leave")]:Object.assign(Object.assign({},CL(r)),{animationPlayState:"paused"}),["\n ".concat(a).concat(e,"-enter").concat(e,"-enter-active,\n ").concat(a).concat(e,"-appear").concat(e,"-appear-active\n ")]:{animationName:t,animationPlayState:"running"},["".concat(a).concat(e,"-leave").concat(e,"-leave-active")]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},_L=new _n("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),xL=new _n("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),Uv=new _n("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),$v=new _n("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),AL=new _n("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),wL=new _n("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),IL=new _n("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),NL=new _n("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),RL=new _n("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),OL=new _n("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),PL=new _n("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),LL=new _n("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),kL={zoom:{inKeyframes:_L,outKeyframes:xL},"zoom-big":{inKeyframes:Uv,outKeyframes:$v},"zoom-big-fast":{inKeyframes:Uv,outKeyframes:$v},"zoom-left":{inKeyframes:IL,outKeyframes:NL},"zoom-right":{inKeyframes:RL,outKeyframes:OL},"zoom-up":{inKeyframes:AL,outKeyframes:wL},"zoom-down":{inKeyframes:PL,outKeyframes:LL}},ML=(e,t)=>{const{antCls:n}=e,r="".concat(n,"-").concat(t),{inKeyframes:i,outKeyframes:a}=kL[t];return[SL(r,i,a,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{["\n ".concat(r,"-enter,\n ").concat(r,"-appear\n ")]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},["".concat(r,"-leave")]:{animationTimingFunction:e.motionEaseInOutCirc}}]},DL=ae.createContext({}),FL=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))};function BL(e){var t=e.prefixCls,n=e.align,r=e.arrow,i=e.arrowPos,a=r||{},o=a.className,u=a.content,s=i.x,l=s===void 0?0:s,c=i.y,d=c===void 0?0:c,h=p.useRef();if(!n||!n.points)return null;var m={position:"absolute"};if(n.autoArrow!==!1){var y=n.points[0],b=n.points[1],T=y[0],v=y[1],g=b[0],E=b[1];T===g||!["t","b"].includes(T)?m.top=d:T==="t"?m.top=0:m.bottom=0,v===E||!["l","r"].includes(v)?m.left=l:v==="l"?m.left=0:m.right=0}return p.createElement("div",{ref:h,className:pe("".concat(t,"-arrow"),o),style:m},u)}function HL(e){var t=e.prefixCls,n=e.open,r=e.zIndex,i=e.mask,a=e.motion;return i?p.createElement(Os,et({},a,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(o){var u=o.className;return p.createElement("div",{style:{zIndex:r},className:pe("".concat(t,"-mask"),u)})}):null}var UL=p.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),$L=p.forwardRef(function(e,t){var n=e.popup,r=e.className,i=e.prefixCls,a=e.style,o=e.target,u=e.onVisibleChanged,s=e.open,l=e.keepDom,c=e.fresh,d=e.onClick,h=e.mask,m=e.arrow,y=e.arrowPos,b=e.align,T=e.motion,v=e.maskMotion,g=e.forceRender,E=e.getPopupContainer,_=e.autoDestroy,x=e.portal,S=e.zIndex,I=e.onMouseEnter,R=e.onMouseLeave,O=e.onPointerEnter,M=e.ready,F=e.offsetX,B=e.offsetY,z=e.offsetR,U=e.offsetB,G=e.onAlign,H=e.onPrepare,L=e.stretch,P=e.targetWidth,$=e.targetHeight,C=typeof n=="function"?n():n,D=s||l,W=(E==null?void 0:E.length)>0,w=p.useState(!E||!W),X=ue(w,2),Z=X[0],J=X[1];if(Gt(function(){!Z&&W&&o&&J(!0)},[Z,W,o]),!Z)return null;var fe="auto",Te={left:"-1000vw",top:"-1000vh",right:fe,bottom:fe};if(M||!s){var _e,Ae=b.points,ke=b.dynamicInset||((_e=b._experimental)===null||_e===void 0?void 0:_e.dynamicInset),Oe=ke&&Ae[0][1]==="r",He=ke&&Ae[0][0]==="b";Oe?(Te.right=z,Te.left=fe):(Te.left=F,Te.right=fe),He?(Te.bottom=U,Te.top=fe):(Te.top=B,Te.bottom=fe)}var Me={};return L&&(L.includes("height")&&$?Me.height=$:L.includes("minHeight")&&$&&(Me.minHeight=$),L.includes("width")&&P?Me.width=P:L.includes("minWidth")&&P&&(Me.minWidth=P)),s||(Me.pointerEvents="none"),p.createElement(x,{open:g||D,getContainer:E&&function(){return E(o)},autoDestroy:_},p.createElement(HL,{prefixCls:i,open:s,zIndex:S,mask:h,motion:v}),p.createElement(Sd,{onResize:G,disabled:!s},function(Ge){return p.createElement(Os,et({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:g,leavedClassName:"".concat(i,"-hidden")},T,{onAppearPrepare:H,onEnterPrepare:H,visible:s,onVisibleChanged:function($e){var ce;T==null||(ce=T.onVisibleChanged)===null||ce===void 0||ce.call(T,$e),u($e)}}),function(Fe,$e){var ce=Fe.className,we=Fe.style,ve=pe(i,ce,r);return p.createElement("div",{ref:qi(Ge,t,$e),className:ve,style:K(K(K(K({"--arrow-x":"".concat(y.x||0,"px"),"--arrow-y":"".concat(y.y||0,"px")},Te),Me),we),{},{boxSizing:"border-box",zIndex:S},a),onMouseEnter:I,onMouseLeave:R,onPointerEnter:O,onClick:d},m&&p.createElement(BL,{prefixCls:i,arrow:m,arrowPos:y,align:b}),p.createElement(UL,{cache:!s&&!c},C))})}))}),zL=p.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,i=Ns(n),a=p.useCallback(function(u){yp(t,r?r(u):u)},[r]),o=Td(a,n.ref);return i?p.cloneElement(n,{ref:o}):n}),zv=p.createContext(null);function jv(e){return e?Array.isArray(e)?e:[e]:[]}function jL(e,t,n,r){return p.useMemo(function(){var i=jv(n!=null?n:t),a=jv(r!=null?r:t),o=new Set(i),u=new Set(a);return e&&(o.has("hover")&&(o.delete("hover"),o.add("click")),u.has("hover")&&(u.delete("hover"),u.add("click"))),[o,u]},[e,t,n,r])}function VL(){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 WL(e,t,n,r){for(var i=n.points,a=Object.keys(e),o=0;o1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function iu(e){return ms(parseFloat(e),0)}function Wv(e,t){var n=K({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var i=Fs(r).getComputedStyle(r),a=i.overflow,o=i.overflowClipMargin,u=i.borderTopWidth,s=i.borderBottomWidth,l=i.borderLeftWidth,c=i.borderRightWidth,d=r.getBoundingClientRect(),h=r.offsetHeight,m=r.clientHeight,y=r.offsetWidth,b=r.clientWidth,T=iu(u),v=iu(s),g=iu(l),E=iu(c),_=ms(Math.round(d.width/y*1e3)/1e3),x=ms(Math.round(d.height/h*1e3)/1e3),S=(y-b-g-E)*_,I=(h-m-T-v)*x,R=T*x,O=v*x,M=g*_,F=E*_,B=0,z=0;if(a==="clip"){var U=iu(o);B=U*_,z=U*x}var G=d.x+M-B,H=d.y+R-z,L=G+d.width+2*B-M-F-S,P=H+d.height+2*z-R-O-I;n.left=Math.max(n.left,G),n.top=Math.max(n.top,H),n.right=Math.min(n.right,L),n.bottom=Math.min(n.bottom,P)}}),n}function Yv(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 qv(e,t){var n=t||[],r=ue(n,2),i=r[0],a=r[1];return[Yv(e.width,i),Yv(e.height,a)]}function Gv(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function Ua(e,t){var n=t[0],r=t[1],i,a;return n==="t"?a=e.y:n==="b"?a=e.y+e.height:a=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:a}}function vi(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 YL(e,t,n,r,i,a,o){var u=p.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:i[r]||{}}),s=ue(u,2),l=s[0],c=s[1],d=p.useRef(0),h=p.useMemo(function(){return t?nm(t):[]},[t]),m=p.useRef({}),y=function(){m.current={}};e||y();var b=cn(function(){if(t&&n&&e){let Gn=function(Yr,Ji){var ka=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ve,Ma=C.x+Yr,qo=C.y+Ji,Go=Ma+_e,Gs=qo+Te,af=Math.max(Ma,ka.left),of=Math.max(qo,ka.top),uf=Math.min(Go,ka.right),sf=Math.min(Gs,ka.bottom);return Math.max(0,(uf-af)*(sf-of))},qs=function(){In=C.y+se,Nn=In+Te,gt=C.x+ee,dr=gt+_e};var g,E,_=t,x=_.ownerDocument,S=Fs(_),I=S.getComputedStyle(_),R=I.width,O=I.height,M=I.position,F=_.style.left,B=_.style.top,z=_.style.right,U=_.style.bottom,G=_.style.overflow,H=K(K({},i[r]),a),L=x.createElement("div");(g=_.parentElement)===null||g===void 0||g.appendChild(L),L.style.left="".concat(_.offsetLeft,"px"),L.style.top="".concat(_.offsetTop,"px"),L.style.position=M,L.style.height="".concat(_.offsetHeight,"px"),L.style.width="".concat(_.offsetWidth,"px"),_.style.left="0",_.style.top="0",_.style.right="auto",_.style.bottom="auto",_.style.overflow="hidden";var P;if(Array.isArray(n))P={x:n[0],y:n[1],width:0,height:0};else{var $=n.getBoundingClientRect();P={x:$.x,y:$.y,width:$.width,height:$.height}}var C=_.getBoundingClientRect(),D=x.documentElement,W=D.clientWidth,w=D.clientHeight,X=D.scrollWidth,Z=D.scrollHeight,J=D.scrollTop,fe=D.scrollLeft,Te=C.height,_e=C.width,Ae=P.height,ke=P.width,Oe={left:0,top:0,right:W,bottom:w},He={left:-fe,top:-J,right:X-fe,bottom:Z-J},Me=H.htmlRegion,Ge="visible",Fe="visibleFirst";Me!=="scroll"&&Me!==Fe&&(Me=Ge);var $e=Me===Fe,ce=Wv(He,h),we=Wv(Oe,h),ve=Me===Ge?we:ce,de=$e?we:ve;_.style.left="auto",_.style.top="auto",_.style.right="0",_.style.bottom="0";var Ie=_.getBoundingClientRect();_.style.left=F,_.style.top=B,_.style.right=z,_.style.bottom=U,_.style.overflow=G,(E=_.parentElement)===null||E===void 0||E.removeChild(L);var Ne=ms(Math.round(_e/parseFloat(R)*1e3)/1e3),Se=ms(Math.round(Te/parseFloat(O)*1e3)/1e3);if(Ne===0||Se===0||rs(n)&&!g2(n))return;var Pe=H.offset,Y=H.targetOffset,ie=qv(C,Pe),Ce=ue(ie,2),me=Ce[0],he=Ce[1],Xe=qv(P,Y),Ze=ue(Xe,2),Vt=Ze[0],pn=Ze[1];P.x-=Vt,P.y-=pn;var xn=H.points||[],ct=ue(xn,2),ht=ct[0],Ke=ct[1],Wt=Gv(Ke),Ot=Gv(ht),lr=Ua(P,Wt),oe=Ua(C,Ot),le=K({},H),ee=lr.x-oe.x+me,se=lr.y-oe.y+he,ze=Gn(ee,se),Ft=Gn(ee,se,we),We=Ua(P,["t","l"]),nt=Ua(C,["t","l"]),At=Ua(P,["b","r"]),wt=Ua(C,["b","r"]),Jt=H.overflow||{},Yt=Jt.adjustX,Ir=Jt.adjustY,An=Jt.shiftX,wn=Jt.shiftY,cr=function(Ji){return typeof Ji=="boolean"?Ji:Ji>=0},In,Nn,gt,dr;qs();var ci=cr(Ir),jr=Ot[0]===Wt[0];if(ci&&Ot[0]==="t"&&(Nn>de.bottom||m.current.bt)){var qn=se;jr?qn-=Te-Ae:qn=We.y-wt.y-he;var di=Gn(ee,qn),Nr=Gn(ee,qn,we);di>ze||di===ze&&(!$e||Nr>=Ft)?(m.current.bt=!0,se=qn,he=-he,le.points=[vi(Ot,0),vi(Wt,0)]):m.current.bt=!1}if(ci&&Ot[0]==="b"&&(Inze||Bt===ze&&(!$e||Qi>=Ft)?(m.current.tb=!0,se=fr,he=-he,le.points=[vi(Ot,0),vi(Wt,0)]):m.current.tb=!1}var fi=cr(Yt),hi=Ot[1]===Wt[1];if(fi&&Ot[1]==="l"&&(dr>de.right||m.current.rl)){var hr=ee;hi?hr-=_e-ke:hr=We.x-wt.x-me;var mi=Gn(hr,se),Gd=Gn(hr,se,we);mi>ze||mi===ze&&(!$e||Gd>=Ft)?(m.current.rl=!0,ee=hr,me=-me,le.points=[vi(Ot,1),vi(Wt,1)]):m.current.rl=!1}if(fi&&Ot[1]==="r"&&(gtze||js===ze&&(!$e||Kd>=Ft)?(m.current.lr=!0,ee=Xi,me=-me,le.points=[vi(Ot,1),vi(Wt,1)]):m.current.lr=!1}qs();var Rr=An===!0?0:An;typeof Rr=="number"&&(gtwe.right&&(ee-=dr-we.right-me,P.x>we.right-Rr&&(ee+=P.x-we.right+Rr)));var Vr=wn===!0?0:wn;typeof Vr=="number"&&(Inwe.bottom&&(se-=Nn-we.bottom-he,P.y>we.bottom-Vr&&(se+=P.y-we.bottom+Vr)));var Vo=C.x+ee,Vs=Vo+_e,pi=C.y+se,Zi=pi+Te,Wo=P.x,Pa=Wo+ke,Wr=P.y,Qd=Wr+Ae,Xd=Math.max(Vo,Wo),Zd=Math.min(Vs,Pa),Ws=(Xd+Zd)/2,Jd=Ws-Vo,ef=Math.max(pi,Wr),tf=Math.min(Zi,Qd),Ys=(ef+tf)/2,nf=Ys-pi;o==null||o(t,le);var Yo=Ie.right-C.x-(ee+C.width),La=Ie.bottom-C.y-(se+C.height);Ne===1&&(ee=Math.round(ee),Yo=Math.round(Yo)),Se===1&&(se=Math.round(se),La=Math.round(La));var rf={ready:!0,offsetX:ee/Ne,offsetY:se/Se,offsetR:Yo/Ne,offsetB:La/Se,arrowX:Jd/Ne,arrowY:nf/Se,scaleX:Ne,scaleY:Se,align:le};c(rf)}}),T=function(){d.current+=1;var E=d.current;Promise.resolve().then(function(){d.current===E&&b()})},v=function(){c(function(E){return K(K({},E),{},{ready:!1})})};return Gt(v,[r]),Gt(function(){e||v()},[e]),[l.ready,l.offsetX,l.offsetY,l.offsetR,l.offsetB,l.arrowX,l.arrowY,l.scaleX,l.scaleY,l.align,T]}function qL(e,t,n,r,i){Gt(function(){if(e&&t&&n){let d=function(){r(),i()};var a=t,o=n,u=nm(a),s=nm(o),l=Fs(o),c=new Set([l].concat(be(u),be(s)));return c.forEach(function(h){h.addEventListener("scroll",d,{passive:!0})}),l.addEventListener("resize",d,{passive:!0}),r(),function(){c.forEach(function(h){h.removeEventListener("scroll",d),l.removeEventListener("resize",d)})}}},[e,t,n])}function GL(e,t,n,r,i,a,o,u){var s=p.useRef(e);s.current=e,p.useEffect(function(){if(t&&r&&(!i||a)){var l=function(m){var y=m.target;s.current&&!o(y)&&u(!1)},c=Fs(r);c.addEventListener("mousedown",l,!0),c.addEventListener("contextmenu",l,!0);var d=Fc(n);return d&&(d.addEventListener("mousedown",l,!0),d.addEventListener("contextmenu",l,!0)),function(){c.removeEventListener("mousedown",l,!0),c.removeEventListener("contextmenu",l,!0),d&&(d.removeEventListener("mousedown",l,!0),d.removeEventListener("contextmenu",l,!0))}}},[t,n,r,i,a])}var KL=["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 QL(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:I2,t=p.forwardRef(function(n,r){var i=n.prefixCls,a=i===void 0?"rc-trigger-popup":i,o=n.children,u=n.action,s=u===void 0?"hover":u,l=n.showAction,c=n.hideAction,d=n.popupVisible,h=n.defaultPopupVisible,m=n.onPopupVisibleChange,y=n.afterPopupVisibleChange,b=n.mouseEnterDelay,T=n.mouseLeaveDelay,v=T===void 0?.1:T,g=n.focusDelay,E=n.blurDelay,_=n.mask,x=n.maskClosable,S=x===void 0?!0:x,I=n.getPopupContainer,R=n.forceRender,O=n.autoDestroy,M=n.destroyPopupOnHide,F=n.popup,B=n.popupClassName,z=n.popupStyle,U=n.popupPlacement,G=n.builtinPlacements,H=G===void 0?{}:G,L=n.popupAlign,P=n.zIndex,$=n.stretch,C=n.getPopupClassNameFromAlign,D=n.fresh,W=n.alignPoint,w=n.onPopupClick,X=n.onPopupAlign,Z=n.arrow,J=n.popupMotion,fe=n.maskMotion,Te=n.popupTransitionName,_e=n.popupAnimation,Ae=n.maskTransitionName,ke=n.maskAnimation,Oe=n.className,He=n.getTriggerDOMNode,Me=jt(n,KL),Ge=O||M||!1,Fe=p.useState(!1),$e=ue(Fe,2),ce=$e[0],we=$e[1];Gt(function(){we(FL())},[]);var ve=p.useRef({}),de=p.useContext(zv),Ie=p.useMemo(function(){return{registerSubPopup:function(De,bt){ve.current[De]=bt,de==null||de.registerSubPopup(De,bt)}}},[de]),Ne=_P(),Se=p.useState(null),Pe=ue(Se,2),Y=Pe[0],ie=Pe[1],Ce=p.useRef(null),me=cn(function(Ee){Ce.current=Ee,rs(Ee)&&Y!==Ee&&ie(Ee),de==null||de.registerSubPopup(Ne,Ee)}),he=p.useState(null),Xe=ue(he,2),Ze=Xe[0],Vt=Xe[1],pn=p.useRef(null),xn=cn(function(Ee){rs(Ee)&&Ze!==Ee&&(Vt(Ee),pn.current=Ee)}),ct=p.Children.only(o),ht=(ct==null?void 0:ct.props)||{},Ke={},Wt=cn(function(Ee){var De,bt,Pt=Ze;return(Pt==null?void 0:Pt.contains(Ee))||((De=Fc(Pt))===null||De===void 0?void 0:De.host)===Ee||Ee===Pt||(Y==null?void 0:Y.contains(Ee))||((bt=Fc(Y))===null||bt===void 0?void 0:bt.host)===Ee||Ee===Y||Object.values(ve.current).some(function(Tt){return(Tt==null?void 0:Tt.contains(Ee))||Ee===Tt})}),Ot=Vv(a,J,_e,Te),lr=Vv(a,fe,ke,Ae),oe=p.useState(h||!1),le=ue(oe,2),ee=le[0],se=le[1],ze=d!=null?d:ee,Ft=cn(function(Ee){d===void 0&&se(Ee)});Gt(function(){se(d||!1)},[d]);var We=p.useRef(ze);We.current=ze;var nt=p.useRef([]);nt.current=[];var At=cn(function(Ee){var De;Ft(Ee),((De=nt.current[nt.current.length-1])!==null&&De!==void 0?De:ze)!==Ee&&(nt.current.push(Ee),m==null||m(Ee))}),wt=p.useRef(),Jt=function(){clearTimeout(wt.current)},Yt=function(De){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Jt(),bt===0?At(De):wt.current=setTimeout(function(){At(De)},bt*1e3)};p.useEffect(function(){return Jt},[]);var Ir=p.useState(!1),An=ue(Ir,2),wn=An[0],cr=An[1];Gt(function(Ee){(!Ee||ze)&&cr(!0)},[ze]);var In=p.useState(null),Nn=ue(In,2),gt=Nn[0],dr=Nn[1],ci=p.useState([0,0]),jr=ue(ci,2),qn=jr[0],di=jr[1],Nr=function(De){di([De.clientX,De.clientY])},fr=YL(ze,Y,W?qn:Ze,U,H,L,X),Bt=ue(fr,11),Qi=Bt[0],fi=Bt[1],hi=Bt[2],hr=Bt[3],mi=Bt[4],Gd=Bt[5],Xi=Bt[6],js=Bt[7],Kd=Bt[8],Rr=Bt[9],Vr=Bt[10],Vo=jL(ce,s,l,c),Vs=ue(Vo,2),pi=Vs[0],Zi=Vs[1],Wo=pi.has("click"),Pa=Zi.has("click")||Zi.has("contextMenu"),Wr=cn(function(){wn||Vr()}),Qd=function(){We.current&&W&&Pa&&Yt(!1)};qL(ze,Ze,Y,Wr,Qd),Gt(function(){Wr()},[qn,U]),Gt(function(){ze&&!(H!=null&&H[U])&&Wr()},[JSON.stringify(L)]);var Xd=p.useMemo(function(){var Ee=WL(H,a,Rr,W);return pe(Ee,C==null?void 0:C(Rr))},[Rr,C,H,a,W]);p.useImperativeHandle(r,function(){return{nativeElement:pn.current,popupElement:Ce.current,forceAlign:Wr}});var Zd=p.useState(0),Ws=ue(Zd,2),Jd=Ws[0],ef=Ws[1],tf=p.useState(0),Ys=ue(tf,2),nf=Ys[0],Yo=Ys[1],La=function(){if($&&Ze){var De=Ze.getBoundingClientRect();ef(De.width),Yo(De.height)}},rf=function(){La(),Wr()},Gn=function(De){cr(!1),Vr(),y==null||y(De)},qs=function(){return new Promise(function(De){La(),dr(function(){return De})})};Gt(function(){gt&&(Vr(),gt(),dr(null))},[gt]);function Yr(Ee,De,bt,Pt){Ke[Ee]=function(Tt){var Ks;Pt==null||Pt(Tt),Yt(De,bt);for(var lf=arguments.length,sg=new Array(lf>1?lf-1:0),Qs=1;Qs1?bt-1:0),Tt=1;Tt1?bt-1:0),Tt=1;Ttt||e,ZL=["outlined","borderless","filled"],JL=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;const n=p.useContext(bL);let r;typeof e<"u"?r=e:t===!1?r="borderless":r=n!=null?n:"outlined";const i=ZL.includes(r);return[r,i]},M2=JL;var ek={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 tk=ek;var nk=function(t,n){return p.createElement(li,et({},t,{ref:n,icon:tk}))},rk=p.forwardRef(nk);const ik=rk;function D2(e){var t=e.children,n=e.prefixCls,r=e.id,i=e.overlayInnerStyle,a=e.className,o=e.style;return p.createElement("div",{className:pe("".concat(n,"-content"),a),style:o},p.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:i},typeof t=="function"?t():t))}var $a={shiftX:64,adjustY:1},za={adjustX:1,shiftY:!0},Qn=[0,0],ak={left:{points:["cr","cl"],overflow:za,offset:[-4,0],targetOffset:Qn},right:{points:["cl","cr"],overflow:za,offset:[4,0],targetOffset:Qn},top:{points:["bc","tc"],overflow:$a,offset:[0,-4],targetOffset:Qn},bottom:{points:["tc","bc"],overflow:$a,offset:[0,4],targetOffset:Qn},topLeft:{points:["bl","tl"],overflow:$a,offset:[0,-4],targetOffset:Qn},leftTop:{points:["tr","tl"],overflow:za,offset:[-4,0],targetOffset:Qn},topRight:{points:["br","tr"],overflow:$a,offset:[0,-4],targetOffset:Qn},rightTop:{points:["tl","tr"],overflow:za,offset:[4,0],targetOffset:Qn},bottomRight:{points:["tr","br"],overflow:$a,offset:[0,4],targetOffset:Qn},rightBottom:{points:["bl","br"],overflow:za,offset:[4,0],targetOffset:Qn},bottomLeft:{points:["tl","bl"],overflow:$a,offset:[0,4],targetOffset:Qn},leftBottom:{points:["br","bl"],overflow:za,offset:[-4,0],targetOffset:Qn}},ok=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],uk=function(t,n){var r=t.overlayClassName,i=t.trigger,a=i===void 0?["hover"]:i,o=t.mouseEnterDelay,u=o===void 0?0:o,s=t.mouseLeaveDelay,l=s===void 0?.1:s,c=t.overlayStyle,d=t.prefixCls,h=d===void 0?"rc-tooltip":d,m=t.children,y=t.onVisibleChange,b=t.afterVisibleChange,T=t.transitionName,v=t.animation,g=t.motion,E=t.placement,_=E===void 0?"right":E,x=t.align,S=x===void 0?{}:x,I=t.destroyTooltipOnHide,R=I===void 0?!1:I,O=t.defaultVisible,M=t.getTooltipContainer,F=t.overlayInnerStyle;t.arrowContent;var B=t.overlay,z=t.id,U=t.showArrow,G=U===void 0?!0:U,H=jt(t,ok),L=p.useRef(null);p.useImperativeHandle(n,function(){return L.current});var P=K({},H);"visible"in t&&(P.popupVisible=t.visible);var $=function(){return p.createElement(D2,{key:"content",prefixCls:h,id:z,overlayInnerStyle:F},B)};return p.createElement(XL,et({popupClassName:r,prefixCls:h,popup:$,action:a,builtinPlacements:ak,popupPlacement:_,ref:L,popupAlign:S,getPopupContainer:M,onPopupVisibleChange:y,afterPopupVisibleChange:b,popupTransitionName:T,popupAnimation:v,popupMotion:g,defaultPopupVisible:O,autoDestroy:R,mouseLeaveDelay:l,popupStyle:c,mouseEnterDelay:u,arrow:G},P),m)};const sk=p.forwardRef(uk);function lk(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,i=t/2,a=0,o=i,u=r*1/Math.sqrt(2),s=i-r*(1-1/Math.sqrt(2)),l=i-n*(1/Math.sqrt(2)),c=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),d=2*i-l,h=c,m=2*i-u,y=s,b=2*i-a,T=o,v=i*Math.sqrt(2)+r*(Math.sqrt(2)-2),g=r*(Math.sqrt(2)-1),E="polygon(".concat(g,"px 100%, 50% ").concat(g,"px, ").concat(2*i-g,"px 100%, ").concat(g,"px 100%)"),_="path('M ".concat(a," ").concat(o," A ").concat(r," ").concat(r," 0 0 0 ").concat(u," ").concat(s," L ").concat(l," ").concat(c," A ").concat(n," ").concat(n," 0 0 1 ").concat(d," ").concat(h," L ").concat(m," ").concat(y," A ").concat(r," ").concat(r," 0 0 0 ").concat(b," ").concat(T," Z')");return{arrowShadowWidth:v,arrowPath:_,arrowPolygon:E}}const ck=(e,t,n)=>{const{sizePopupArrow:r,arrowPolygon:i,arrowPath:a,arrowShadowWidth:o,borderRadiusXS:u,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,a]},content:'""'},"&::after":{content:'""',position:"absolute",width:o,height:o,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:"0 0 ".concat(Je(u)," 0")},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},F2=8;function B2(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?F2:r}}function Al(e,t){return e?t:{}}function dk(e,t,n){const{componentCls:r,boxShadowPopoverArrow:i,arrowOffsetVertical:a,arrowOffsetHorizontal:o}=e,{arrowDistance:u=0,arrowPlacement:s={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({["".concat(r,"-arrow")]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},ck(e,t,i)),{"&:before":{background:t}})]},Al(!!s.top,{[["&-placement-top > ".concat(r,"-arrow"),"&-placement-topLeft > ".concat(r,"-arrow"),"&-placement-topRight > ".concat(r,"-arrow")].join(",")]:{bottom:u,transform:"translateY(100%) rotate(180deg)"},["&-placement-top > ".concat(r,"-arrow")]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},["&-placement-topLeft > ".concat(r,"-arrow")]:{left:{_skip_check_:!0,value:o}},["&-placement-topRight > ".concat(r,"-arrow")]:{right:{_skip_check_:!0,value:o}}})),Al(!!s.bottom,{[["&-placement-bottom > ".concat(r,"-arrow"),"&-placement-bottomLeft > ".concat(r,"-arrow"),"&-placement-bottomRight > ".concat(r,"-arrow")].join(",")]:{top:u,transform:"translateY(-100%)"},["&-placement-bottom > ".concat(r,"-arrow")]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},["&-placement-bottomLeft > ".concat(r,"-arrow")]:{left:{_skip_check_:!0,value:o}},["&-placement-bottomRight > ".concat(r,"-arrow")]:{right:{_skip_check_:!0,value:o}}})),Al(!!s.left,{[["&-placement-left > ".concat(r,"-arrow"),"&-placement-leftTop > ".concat(r,"-arrow"),"&-placement-leftBottom > ".concat(r,"-arrow")].join(",")]:{right:{_skip_check_:!0,value:u},transform:"translateX(100%) rotate(90deg)"},["&-placement-left > ".concat(r,"-arrow")]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},["&-placement-leftTop > ".concat(r,"-arrow")]:{top:a},["&-placement-leftBottom > ".concat(r,"-arrow")]:{bottom:a}})),Al(!!s.right,{[["&-placement-right > ".concat(r,"-arrow"),"&-placement-rightTop > ".concat(r,"-arrow"),"&-placement-rightBottom > ".concat(r,"-arrow")].join(",")]:{left:{_skip_check_:!0,value:u},transform:"translateX(-100%) rotate(-90deg)"},["&-placement-right > ".concat(r,"-arrow")]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},["&-placement-rightTop > ".concat(r,"-arrow")]:{top:a},["&-placement-rightBottom > ".concat(r,"-arrow")]:{bottom:a}}))}}function fk(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};const i=r&&typeof r=="object"?r:{},a={};switch(e){case"top":case"bottom":a.shiftX=t.arrowOffsetHorizontal*2+n,a.shiftY=!0,a.adjustY=!0;break;case"left":case"right":a.shiftY=t.arrowOffsetVertical*2+n,a.shiftX=!0,a.adjustX=!0;break}const o=Object.assign(Object.assign({},a),i);return o.shiftX||(o.adjustX=!0),o.shiftY||(o.adjustY=!0),o}const Kv={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"]}},hk={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"]}},mk=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function pk(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:i,borderRadius:a,visibleFirst:o}=e,u=t/2,s={};return Object.keys(Kv).forEach(l=>{const c=r&&hk[l]||Kv[l],d=Object.assign(Object.assign({},c),{offset:[0,0],dynamicInset:!0});switch(s[l]=d,mk.has(l)&&(d.autoArrow=!1),l){case"top":case"topLeft":case"topRight":d.offset[1]=-u-i;break;case"bottom":case"bottomLeft":case"bottomRight":d.offset[1]=u+i;break;case"left":case"leftTop":case"leftBottom":d.offset[0]=-u-i;break;case"right":case"rightTop":case"rightBottom":d.offset[0]=u+i;break}const h=B2({contentRadius:a,limitVerticalRadius:!0});if(r)switch(l){case"topLeft":case"bottomLeft":d.offset[0]=-h.arrowOffsetHorizontal-u;break;case"topRight":case"bottomRight":d.offset[0]=h.arrowOffsetHorizontal+u;break;case"leftTop":case"rightTop":d.offset[1]=-h.arrowOffsetHorizontal-u;break;case"leftBottom":case"rightBottom":d.offset[1]=h.arrowOffsetHorizontal+u;break}d.overflow=fk(l,h,t,n),o&&(d.htmlRegion="visibleFirst")}),s}const gk=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:i,tooltipBorderRadius:a,zIndexPopup:o,controlHeight:u,boxShadowSecondary:s,paddingSM:l,paddingXS:c}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Ld(e)),{position:"absolute",zIndex:o,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,["".concat(t,"-inner")]:{minWidth:"1em",minHeight:u,padding:"".concat(Je(e.calc(l).div(2).equal())," ").concat(Je(c)),color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:i,borderRadius:a,boxShadow:s,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{["".concat(t,"-inner")]:{borderRadius:e.min(a,F2)}},["".concat(t,"-content")]:{position:"relative"}}),f6(e,(d,h)=>{let{darkColor:m}=h;return{["&".concat(t,"-").concat(d)]:{["".concat(t,"-inner")]:{backgroundColor:m},["".concat(t,"-arrow")]:{"--antd-arrow-background-color":m}}}})),{"&-rtl":{direction:"rtl"}})},dk(e,"var(--antd-arrow-background-color)"),{["".concat(t,"-pure")]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},vk=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},B2({contentRadius:e.borderRadius,limitVerticalRadius:!0})),lk(Yn(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),H2=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Rs("Tooltip",r=>{const{borderRadius:i,colorTextLightSolid:a,colorBgSpotlight:o}=r,u=Yn(r,{tooltipMaxWidth:250,tooltipColor:a,tooltipBorderRadius:i,tooltipBg:o});return[gk(u),ML(r,"zoom-big-fast")]},vk,{resetStyle:!1,injectStyle:t})(e)},Ek=Mc.map(e=>"".concat(e,"-inverse"));function yk(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(be(Ek),be(Mc)).includes(e):Mc.includes(e)}function U2(e,t){const n=yk(t),r=pe({["".concat(e,"-").concat(t)]:t&&n}),i={},a={};return t&&!n&&(i.background=t,a["--antd-arrow-background-color"]=t),{className:r,overlayStyle:i,arrowStyle:a}}const bk=e=>{const{prefixCls:t,className:n,placement:r="top",title:i,color:a,overlayInnerStyle:o}=e,{getPrefixCls:u}=p.useContext(Dt),s=u("tooltip",t),[l,c,d]=H2(s),h=U2(s,a),m=h.arrowStyle,y=Object.assign(Object.assign({},o),h.overlayStyle),b=pe(c,d,s,"".concat(s,"-pure"),"".concat(s,"-placement-").concat(r),n,h.className);return l(p.createElement("div",{className:b,style:m},p.createElement("div",{className:"".concat(s,"-arrow")}),p.createElement(D2,Object.assign({},e,{className:c,prefixCls:s,overlayInnerStyle:y}),i)))},Tk=bk;var Ck=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,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:a,getTooltipContainer:o,overlayClassName:u,color:s,overlayInnerStyle:l,children:c,afterOpenChange:d,afterVisibleChange:h,destroyTooltipOnHide:m,arrow:y=!0,title:b,overlay:T,builtinPlacements:v,arrowPointAtCenter:g=!1,autoAdjustOverflow:E=!0}=e,_=!!y,[,x]=$r(),{getPopupContainer:S,getPrefixCls:I,direction:R}=p.useContext(Dt),O=Np(),M=p.useRef(null),F=()=>{var Ne;(Ne=M.current)===null||Ne===void 0||Ne.forceAlign()};p.useImperativeHandle(t,()=>{var Ne;return{forceAlign:F,forcePopupAlign:()=>{O.deprecated(!1,"forcePopupAlign","forceAlign"),F()},nativeElement:(Ne=M.current)===null||Ne===void 0?void 0:Ne.nativeElement}});const[B,z]=Pd(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),U=!b&&!T&&b!==0,G=Ne=>{var Se,Pe;z(U?!1:Ne),U||((Se=e.onOpenChange)===null||Se===void 0||Se.call(e,Ne),(Pe=e.onVisibleChange)===null||Pe===void 0||Pe.call(e,Ne))},H=p.useMemo(()=>{var Ne,Se;let Pe=g;return typeof y=="object"&&(Pe=(Se=(Ne=y.pointAtCenter)!==null&&Ne!==void 0?Ne:y.arrowPointAtCenter)!==null&&Se!==void 0?Se:g),v||pk({arrowPointAtCenter:Pe,autoAdjustOverflow:E,arrowWidth:_?x.sizePopupArrow:0,borderRadius:x.borderRadius,offset:x.marginXXS,visibleFirst:!0})},[g,y,v,x]),L=p.useMemo(()=>b===0?b:T||b||"",[T,b]),P=p.createElement(y2,null,typeof L=="function"?L():L),{getPopupContainer:$,placement:C="top",mouseEnterDelay:D=.1,mouseLeaveDelay:W=.1,overlayStyle:w,rootClassName:X}=e,Z=Ck(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),J=I("tooltip",i),fe=I(),Te=e["data-popover-inject"];let _e=B;!("open"in e)&&!("visible"in e)&&U&&(_e=!1);const Ae=p.isValidElement(c)&&!a2(c)?c:p.createElement("span",null,c),ke=Ae.props,Oe=!ke.className||typeof ke.className=="string"?pe(ke.className,a||"".concat(J,"-open")):ke.className,[He,Me,Ge]=H2(J,!Te),Fe=U2(J,s),$e=Fe.arrowStyle,ce=Object.assign(Object.assign({},l),Fe.overlayStyle),we=pe(u,{["".concat(J,"-rtl")]:R==="rtl"},Fe.className,X,Me,Ge),[ve,de]=ZO("Tooltip",Z.zIndex),Ie=p.createElement(sk,Object.assign({},Z,{zIndex:ve,showArrow:_,placement:C,mouseEnterDelay:D,mouseLeaveDelay:W,prefixCls:J,overlayClassName:we,overlayStyle:Object.assign(Object.assign({},$e),w),getTooltipContainer:$||o||S,ref:M,builtinPlacements:H,overlay:P,visible:_e,onVisibleChange:G,afterVisibleChange:d!=null?d:h,overlayInnerStyle:ce,arrowContent:p.createElement("span",{className:"".concat(J,"-arrow-content")}),motion:{motionName:C4(fe,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!m}),_e?fs(Ae,{className:Oe}):Ae);return He(p.createElement(l2.Provider,{value:de},Ie))}),$2=Sk;$2._InternalPanelDoNotUseOrYouWillBeFired=Tk;const _k=$2;function z2(e){return Yn(e,{inputAffixPadding:e.paddingXXS})}const j2=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:i,controlHeightSM:a,controlHeightLG:o,fontSizeLG:u,lineHeightLG:s,paddingSM:l,controlPaddingHorizontalSM:c,controlPaddingHorizontal:d,colorFillAlter:h,colorPrimaryHover:m,colorPrimary:y,controlOutlineWidth:b,controlOutline:T,colorErrorOutline:v,colorWarningOutline:g,colorBgContainer:E}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-i,0),paddingBlockSM:Math.max(Math.round((a-n*r)/2*10)/10-i,0),paddingBlockLG:Math.ceil((o-u*s)/2*10)/10-i,paddingInline:l-i,paddingInlineSM:c-i,paddingInlineLG:d-i,addonBg:h,activeBorderColor:y,hoverBorderColor:m,activeShadow:"0 0 0 ".concat(b,"px ").concat(T),errorActiveShadow:"0 0 0 ".concat(b,"px ").concat(v),warningActiveShadow:"0 0 0 ".concat(b,"px ").concat(g),hoverBg:E,activeBg:E,inputFontSize:n,inputFontSizeLG:u,inputFontSizeSM:n}},xk=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),$p=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},xk(Yn(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),V2=(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}}),Qv=(e,t)=>({["&".concat(e.componentCls,"-status-").concat(t.status,":not(").concat(e.componentCls,"-disabled)")]:Object.assign(Object.assign({},V2(e,t)),{["".concat(e.componentCls,"-prefix, ").concat(e.componentCls,"-suffix")]:{color:t.affixColor}}),["&".concat(e.componentCls,"-status-").concat(t.status).concat(e.componentCls,"-disabled")]:{borderColor:t.borderColor}}),Ak=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},V2(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{["&".concat(e.componentCls,"-disabled, &[disabled]")]:Object.assign({},$p(e))}),Qv(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),Qv(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),Xv=(e,t)=>({["&".concat(e.componentCls,"-group-wrapper-status-").concat(t.status)]:{["".concat(e.componentCls,"-group-addon")]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),wk=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({["".concat(e.componentCls,"-group")]:{"&-addon":{background:e.addonBg,border:"".concat(Je(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder)},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},Xv(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),Xv(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{["&".concat(e.componentCls,"-group-wrapper-disabled")]:{["".concat(e.componentCls,"-group-addon")]:Object.assign({},$p(e))}})}),Ik=(e,t)=>({"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},["&".concat(e.componentCls,"-disabled, &[disabled]")]:{color:e.colorTextDisabled}},t)}),W2=(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}}),Zv=(e,t)=>({["&".concat(e.componentCls,"-status-").concat(t.status,":not(").concat(e.componentCls,"-disabled)")]:Object.assign(Object.assign({},W2(e,t)),{["".concat(e.componentCls,"-prefix, ").concat(e.componentCls,"-suffix")]:{color:t.affixColor}})}),Nk=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},W2(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary})),{["&".concat(e.componentCls,"-disabled, &[disabled]")]:Object.assign({},$p(e))}),Zv(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),Zv(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),Jv=(e,t)=>({["&".concat(e.componentCls,"-group-wrapper-status-").concat(t.status)]:{["".concat(e.componentCls,"-group-addon")]:{background:t.addonBg,color:t.addonColor}}}),Rk=e=>({"&-filled":Object.assign(Object.assign(Object.assign({["".concat(e.componentCls,"-group")]:{"&-addon":{background:e.colorFillTertiary},["".concat(e.componentCls,"-filled:not(:focus):not(:focus-within)")]:{"&:not(:first-child)":{borderInlineStart:"".concat(Je(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit)},"&:not(:last-child)":{borderInlineEnd:"".concat(Je(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorSplit)}}}},Jv(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),Jv(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{["&".concat(e.componentCls,"-group-wrapper-disabled")]:{["".concat(e.componentCls,"-group")]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:"".concat(Je(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderTop:"".concat(Je(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderBottom:"".concat(Je(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder)},"&-addon:last-child":{borderInlineEnd:"".concat(Je(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderTop:"".concat(Je(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderBottom:"".concat(Je(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder)}}}})}),Ok=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Y2=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:i}=e;return{padding:"".concat(Je(t)," ").concat(Je(i)),fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},q2=e=>({padding:"".concat(Je(e.paddingBlockSM)," ").concat(Je(e.paddingInlineSM)),fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),G2=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:"".concat(Je(e.paddingBlock)," ").concat(Je(e.paddingInline)),color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:"all ".concat(e.motionDurationMid)},Ok(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:"all ".concat(e.motionDurationSlow,", height 0s"),resize:"vertical"},"&-lg":Object.assign({},Y2(e)),"&-sm":Object.assign({},q2(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),Pk=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 ".concat(t,", &-lg > ").concat(t,"-group-addon")]:Object.assign({},Y2(e)),["&-sm ".concat(t,", &-sm > ").concat(t,"-group-addon")]:Object.assign({},q2(e)),["&-lg ".concat(n,"-select-single ").concat(n,"-select-selector")]:{height:e.controlHeightLG},["&-sm ".concat(n,"-select-single ").concat(n,"-select-selector")]:{height:e.controlHeightSM},["> ".concat(t)]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},["".concat(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 ".concat(Je(e.paddingInline)),color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:"all ".concat(e.motionDurationSlow),lineHeight:1,["".concat(n,"-select")]:{margin:"".concat(Je(e.calc(e.paddingBlock).add(1).mul(-1).equal())," ").concat(Je(e.calc(e.paddingInline).mul(-1).equal())),["&".concat(n,"-select-single:not(").concat(n,"-select-customize-input):not(").concat(n,"-pagination-size-changer)")]:{["".concat(n,"-select-selector")]:{backgroundColor:"inherit",border:"".concat(Je(e.lineWidth)," ").concat(e.lineType," transparent"),boxShadow:"none"}},"&-open, &-focused":{["".concat(n,"-select-selector")]:{color:e.colorPrimary}}},["".concat(n,"-cascader-picker")]:{margin:"-9px ".concat(Je(e.calc(e.paddingInline).mul(-1).equal())),backgroundColor:"transparent",["".concat(n,"-cascader-input")]:{textAlign:"start",border:0,boxShadow:"none"}}}},["".concat(t)]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,["".concat(t,"-search-with-button &")]:{zIndex:0}}},["> ".concat(t,":first-child, ").concat(t,"-group-addon:first-child")]:{borderStartEndRadius:0,borderEndEndRadius:0,["".concat(n,"-select ").concat(n,"-select-selector")]:{borderStartEndRadius:0,borderEndEndRadius:0}},["> ".concat(t,"-affix-wrapper")]:{["&:not(:first-child) ".concat(t)]:{borderStartStartRadius:0,borderEndStartRadius:0},["&:not(:last-child) ".concat(t)]:{borderStartEndRadius:0,borderEndEndRadius:0}},["> ".concat(t,":last-child, ").concat(t,"-group-addon:last-child")]:{borderStartStartRadius:0,borderEndStartRadius:0,["".concat(n,"-select ").concat(n,"-select-selector")]:{borderStartStartRadius:0,borderEndStartRadius:0}},["".concat(t,"-affix-wrapper")]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,["".concat(t,"-search &")]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},["&:not(:first-child), ".concat(t,"-search &:not(:first-child)")]:{borderStartStartRadius:0,borderEndStartRadius:0}},["&".concat(t,"-group-compact")]:Object.assign(Object.assign({display:"block"},t6()),{["".concat(t,"-group-addon, ").concat(t,"-group-wrap, > ").concat(t)]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},["\n & > ".concat(t,"-affix-wrapper,\n & > ").concat(t,"-number-affix-wrapper,\n & > ").concat(n,"-picker-range\n ")]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},["".concat(t)]:{float:"none"},["& > ".concat(n,"-select > ").concat(n,"-select-selector,\n & > ").concat(n,"-select-auto-complete ").concat(t,",\n & > ").concat(n,"-cascader-picker ").concat(t,",\n & > ").concat(t,"-group-wrapper ").concat(t)]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},["& > ".concat(n,"-select-focused")]:{zIndex:1},["& > ".concat(n,"-select > ").concat(n,"-select-arrow")]:{zIndex:1},["& > *:first-child,\n & > ".concat(n,"-select:first-child > ").concat(n,"-select-selector,\n & > ").concat(n,"-select-auto-complete:first-child ").concat(t,",\n & > ").concat(n,"-cascader-picker:first-child ").concat(t)]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},["& > *:last-child,\n & > ".concat(n,"-select:last-child > ").concat(n,"-select-selector,\n & > ").concat(n,"-cascader-picker:last-child ").concat(t,",\n & > ").concat(n,"-cascader-picker-focused:last-child ").concat(t)]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},["& > ".concat(n,"-select-auto-complete ").concat(t)]:{verticalAlign:"top"},["".concat(t,"-group-wrapper + ").concat(t,"-group-wrapper")]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),["".concat(t,"-affix-wrapper")]:{borderRadius:0}},["".concat(t,"-group-wrapper:not(:last-child)")]:{["&".concat(t,"-search > ").concat(t,"-group")]:{["& > ".concat(t,"-group-addon > ").concat(t,"-search-button")]:{borderRadius:0},["& > ".concat(t)]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},Lk=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:i}=e,a=16,o=i(n).sub(i(r).mul(2)).sub(a).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Ld(e)),G2(e)),Ak(e)),Nk(e)),Ik(e)),{'&[type="color"]':{height:e.controlHeight,["&".concat(t,"-lg")]:{height:e.controlHeightLG},["&".concat(t,"-sm")]:{height:n,paddingTop:o,paddingBottom:o}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},kk=e=>{const{componentCls:t}=e;return{["".concat(t,"-clear-icon")]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:"color ".concat(e.motionDurationSlow),"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:"0 ".concat(Je(e.inputAffixPadding))}}}},Mk=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:i,colorIcon:a,colorIconHover:o,iconCls:u}=e;return{["".concat(t,"-affix-wrapper")]:Object.assign(Object.assign(Object.assign(Object.assign({},G2(e)),{display:"inline-flex",["&:not(".concat(t,"-disabled):hover")]:{zIndex:1,["".concat(t,"-search-with-button &")]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},["> input".concat(t)]:{padding:0},["> input".concat(t,", > textarea").concat(t)]:{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"'},["".concat(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}}}),kk(e)),{["".concat(u).concat(t,"-password-icon")]:{color:a,cursor:"pointer",transition:"all ".concat(i),"&:hover":{color:o}}})}},Dk=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{["".concat(t,"-group")]:Object.assign(Object.assign(Object.assign({},Ld(e)),Pk(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{["".concat(t,"-group-addon")]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{["".concat(t,"-group-addon")]:{borderRadius:r}}},wk(e)),Rk(e)),{["&:not(".concat(t,"-compact-first-item):not(").concat(t,"-compact-last-item)").concat(t,"-compact-item")]:{["".concat(t,", ").concat(t,"-group-addon")]:{borderRadius:0}},["&:not(".concat(t,"-compact-last-item)").concat(t,"-compact-first-item")]:{["".concat(t,", ").concat(t,"-group-addon")]:{borderStartEndRadius:0,borderEndEndRadius:0}},["&:not(".concat(t,"-compact-first-item)").concat(t,"-compact-last-item")]:{["".concat(t,", ").concat(t,"-group-addon")]:{borderStartStartRadius:0,borderEndStartRadius:0}},["&:not(".concat(t,"-compact-last-item)").concat(t,"-compact-item")]:{["".concat(t,"-affix-wrapper")]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},Fk=e=>{const{componentCls:t,antCls:n}=e,r="".concat(t,"-search");return{[r]:{["".concat(t)]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,["+ ".concat(t,"-group-addon ").concat(r,"-button:not(").concat(n,"-btn-primary)")]:{borderInlineStartColor:e.colorPrimaryHover}}},["".concat(t,"-affix-wrapper")]:{borderRadius:0},["".concat(t,"-lg")]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},["> ".concat(t,"-group")]:{["> ".concat(t,"-group-addon:last-child")]:{insetInlineStart:-1,padding:0,border:0,["".concat(r,"-button")]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0,boxShadow:"none"},["".concat(r,"-button:not(").concat(n,"-btn-primary)")]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},["&".concat(n,"-btn-loading::before")]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},["".concat(r,"-button")]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},["&-large ".concat(r,"-button")]:{height:e.controlHeightLG},["&-small ".concat(r,"-button")]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},["&".concat(t,"-compact-item")]:{["&:not(".concat(t,"-compact-last-item)")]:{["".concat(t,"-group-addon")]:{["".concat(t,"-search-button")]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},["&:not(".concat(t,"-compact-first-item)")]:{["".concat(t,",").concat(t,"-affix-wrapper")]:{borderRadius:0}},["> ".concat(t,"-group-addon ").concat(t,"-search-button,\n > ").concat(t,",\n ").concat(t,"-affix-wrapper")]:{"&:hover, &:focus, &:active":{zIndex:2}},["> ".concat(t,"-affix-wrapper-focused")]:{zIndex:2}}}}},Bk=e=>{const{componentCls:t,paddingLG:n}=e,r="".concat(t,"-textarea");return{[r]:{position:"relative","&-show-count":{["> ".concat(t)]:{height:"100%"},["".concat(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"}},["\n &-allow-clear > ".concat(t,",\n &-affix-wrapper").concat(r,"-has-feedback ").concat(t,"\n ")]:{paddingInlineEnd:n},["&-affix-wrapper".concat(t,"-affix-wrapper")]:{padding:0,["> textarea".concat(t)]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},["".concat(t,"-suffix")]:{margin:0,"> *:not(:last-child)":{marginInline:0},["".concat(t,"-clear-icon")]:{position:"absolute",insetInlineEnd:e.paddingXS,insetBlockStart:e.paddingXS},["".concat(r,"-suffix")]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}},Hk=e=>{const{componentCls:t}=e;return{["".concat(t,"-out-of-range")]:{["&, & input, & textarea, ".concat(t,"-show-count-suffix, ").concat(t,"-data-count")]:{color:e.colorError}}}},zp=Rs("Input",e=>{const t=Yn(e,z2(e));return[Lk(t),Bk(t),Mk(t),Dk(t),Fk(t),Hk(t),A2(t)]},j2,{resetFont:!1});function Uk(e){return!!(e.addonBefore||e.addonAfter)}function $k(e){return!!(e.prefix||e.suffix||e.allowClear)}function eE(e,t,n){var r=t.cloneNode(!0),i=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},i}function $c(e,t,n,r){if(n){var i=t;if(t.type==="click"){i=eE(t,e,""),n(i);return}if(e.type!=="file"&&r!==void 0){i=eE(t,e,r),n(i);return}n(i)}}function zk(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 K2=ae.forwardRef(function(e,t){var n,r,i=e.inputElement,a=e.children,o=e.prefixCls,u=e.prefix,s=e.suffix,l=e.addonBefore,c=e.addonAfter,d=e.className,h=e.style,m=e.disabled,y=e.readOnly,b=e.focused,T=e.triggerFocus,v=e.allowClear,g=e.value,E=e.handleReset,_=e.hidden,x=e.classes,S=e.classNames,I=e.dataAttrs,R=e.styles,O=e.components,M=a!=null?a:i,F=(O==null?void 0:O.affixWrapper)||"span",B=(O==null?void 0:O.groupWrapper)||"span",z=(O==null?void 0:O.wrapper)||"span",U=(O==null?void 0:O.groupAddon)||"span",G=p.useRef(null),H=function(Ge){var Fe;(Fe=G.current)!==null&&Fe!==void 0&&Fe.contains(Ge.target)&&(T==null||T())},L=$k(e),P=p.cloneElement(M,{value:g,className:pe(M.props.className,!L&&(S==null?void 0:S.variant))||null}),$=p.useRef(null);if(ae.useImperativeHandle(t,function(){return{nativeElement:$.current||G.current}}),L){var C,D=null;if(v){var W,w=!m&&!y&&g,X="".concat(o,"-clear-icon"),Z=Be(v)==="object"&&v!==null&&v!==void 0&&v.clearIcon?v.clearIcon:"✖";D=ae.createElement("span",{onClick:E,onMouseDown:function(Ge){return Ge.preventDefault()},className:pe(X,(W={},V(W,"".concat(X,"-hidden"),!w),V(W,"".concat(X,"-has-suffix"),!!s),W)),role:"button",tabIndex:-1},Z)}var J="".concat(o,"-affix-wrapper"),fe=pe(J,(C={},V(C,"".concat(o,"-disabled"),m),V(C,"".concat(J,"-disabled"),m),V(C,"".concat(J,"-focused"),b),V(C,"".concat(J,"-readonly"),y),V(C,"".concat(J,"-input-with-clear-btn"),s&&v&&g),C),x==null?void 0:x.affixWrapper,S==null?void 0:S.affixWrapper,S==null?void 0:S.variant),Te=(s||v)&&ae.createElement("span",{className:pe("".concat(o,"-suffix"),S==null?void 0:S.suffix),style:R==null?void 0:R.suffix},D,s);P=ae.createElement(F,et({className:fe,style:R==null?void 0:R.affixWrapper,onClick:H},I==null?void 0:I.affixWrapper,{ref:G}),u&&ae.createElement("span",{className:pe("".concat(o,"-prefix"),S==null?void 0:S.prefix),style:R==null?void 0:R.prefix},u),P,Te)}if(Uk(e)){var _e="".concat(o,"-group"),Ae="".concat(_e,"-addon"),ke="".concat(_e,"-wrapper"),Oe=pe("".concat(o,"-wrapper"),_e,x==null?void 0:x.wrapper,S==null?void 0:S.wrapper),He=pe(ke,V({},"".concat(ke,"-disabled"),m),x==null?void 0:x.group,S==null?void 0:S.groupWrapper);P=ae.createElement(B,{className:He,ref:$},ae.createElement(z,{className:Oe},l&&ae.createElement(U,{className:Ae},l),P,c&&ae.createElement(U,{className:Ae},c)))}return ae.cloneElement(P,{className:pe((n=P.props)===null||n===void 0?void 0:n.className,d)||null,style:K(K({},(r=P.props)===null||r===void 0?void 0:r.style),h),hidden:_})}),jk=["show"];function Q2(e,t){return p.useMemo(function(){var n={};t&&(n.show=Be(t)==="object"&&t.formatter?t.formatter:!!t),n=K(K({},n),e);var r=n,i=r.show,a=jt(r,jk);return K(K({},a),{},{show:!!i,showFormatter:typeof i=="function"?i:void 0,strategy:a.strategy||function(o){return o.length}})},[e,t])}var Vk=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],Wk=p.forwardRef(function(e,t){var n=e.autoComplete,r=e.onChange,i=e.onFocus,a=e.onBlur,o=e.onPressEnter,u=e.onKeyDown,s=e.prefixCls,l=s===void 0?"rc-input":s,c=e.disabled,d=e.htmlSize,h=e.className,m=e.maxLength,y=e.suffix,b=e.showCount,T=e.count,v=e.type,g=v===void 0?"text":v,E=e.classes,_=e.classNames,x=e.styles,S=e.onCompositionStart,I=e.onCompositionEnd,R=jt(e,Vk),O=p.useState(!1),M=ue(O,2),F=M[0],B=M[1],z=p.useRef(!1),U=p.useRef(null),G=p.useRef(null),H=function(de){U.current&&zk(U.current,de)},L=Pd(e.defaultValue,{value:e.value}),P=ue(L,2),$=P[0],C=P[1],D=$==null?"":String($),W=p.useState(null),w=ue(W,2),X=w[0],Z=w[1],J=Q2(T,b),fe=J.max||m,Te=J.strategy(D),_e=!!fe&&Te>fe;p.useImperativeHandle(t,function(){var ve;return{focus:H,blur:function(){var Ie;(Ie=U.current)===null||Ie===void 0||Ie.blur()},setSelectionRange:function(Ie,Ne,Se){var Pe;(Pe=U.current)===null||Pe===void 0||Pe.setSelectionRange(Ie,Ne,Se)},select:function(){var Ie;(Ie=U.current)===null||Ie===void 0||Ie.select()},input:U.current,nativeElement:((ve=G.current)===null||ve===void 0?void 0:ve.nativeElement)||U.current}}),p.useEffect(function(){B(function(ve){return ve&&c?!1:ve})},[c]);var Ae=function(de,Ie,Ne){var Se=Ie;if(!z.current&&J.exceedFormatter&&J.max&&J.strategy(Ie)>J.max){if(Se=J.exceedFormatter(Ie,{max:J.max}),Ie!==Se){var Pe,Y;Z([((Pe=U.current)===null||Pe===void 0?void 0:Pe.selectionStart)||0,((Y=U.current)===null||Y===void 0?void 0:Y.selectionEnd)||0])}}else if(Ne.source==="compositionEnd")return;C(Se),U.current&&$c(U.current,de,r,Se)};p.useEffect(function(){if(X){var ve;(ve=U.current)===null||ve===void 0||ve.setSelectionRange.apply(ve,be(X))}},[X]);var ke=function(de){Ae(de,de.target.value,{source:"change"})},Oe=function(de){z.current=!1,Ae(de,de.currentTarget.value,{source:"compositionEnd"}),I==null||I(de)},He=function(de){o&&de.key==="Enter"&&o(de),u==null||u(de)},Me=function(de){B(!0),i==null||i(de)},Ge=function(de){B(!1),a==null||a(de)},Fe=function(de){C(""),H(),U.current&&$c(U.current,de,r)},$e=_e&&"".concat(l,"-out-of-range"),ce=function(){var de=Tp(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames"]);return ae.createElement("input",et({autoComplete:n},de,{onChange:ke,onFocus:Me,onBlur:Ge,onKeyDown:He,className:pe(l,V({},"".concat(l,"-disabled"),c),_==null?void 0:_.input),style:x==null?void 0:x.input,ref:U,size:d,type:g,onCompositionStart:function(Ne){z.current=!0,S==null||S(Ne)},onCompositionEnd:Oe}))},we=function(){var de=Number(fe)>0;if(y||J.show){var Ie=J.showFormatter?J.showFormatter({value:D,count:Te,maxLength:fe}):"".concat(Te).concat(de?" / ".concat(fe):"");return ae.createElement(ae.Fragment,null,J.show&&ae.createElement("span",{className:pe("".concat(l,"-show-count-suffix"),V({},"".concat(l,"-show-count-has-suffix"),!!y),_==null?void 0:_.count),style:K({},x==null?void 0:x.count)},Ie),y)}return null};return ae.createElement(K2,et({},R,{prefixCls:l,className:pe(h,$e),handleReset:Fe,value:D,focused:F,triggerFocus:H,suffix:we(),disabled:c,classes:E,classNames:_,styles:x}),ce())});const Yk=e=>e?ae.createElement(y2,null,ae.createElement(yL,{override:!0,status:!0},e)):null,tE=Yk,qk=e=>{const{getPrefixCls:t,direction:n}=p.useContext(Dt),{prefixCls:r,className:i}=e,a=t("input-group",r),o=t("input"),[u,s]=zp(o),l=pe(a,{["".concat(a,"-lg")]:e.size==="large",["".concat(a,"-sm")]:e.size==="small",["".concat(a,"-compact")]:e.compact,["".concat(a,"-rtl")]:n==="rtl"},s,i),c=p.useContext(ji),d=p.useMemo(()=>Object.assign(Object.assign({},c),{isFormItemInput:!1}),[c]);return u(p.createElement("span",{className:l,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},p.createElement(ji.Provider,{value:d},e.children)))},Gk=qk,Kk=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:ae.createElement(r2,null)}),t},X2=Kk;function Z2(e,t){const n=p.useRef([]),r=()=>{n.current.push(setTimeout(()=>{var i,a,o,u;!((i=e.current)===null||i===void 0)&&i.input&&((a=e.current)===null||a===void 0?void 0:a.input.getAttribute("type"))==="password"&&(!((o=e.current)===null||o===void 0)&&o.input.hasAttribute("value"))&&((u=e.current)===null||u===void 0||u.input.removeAttribute("value"))}))};return p.useEffect(()=>(t&&r(),()=>n.current.forEach(i=>{i&&clearTimeout(i)})),[]),r}function Qk(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var Xk=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,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:a,size:o,disabled:u,onBlur:s,onFocus:l,suffix:c,allowClear:d,addonAfter:h,addonBefore:m,className:y,style:b,styles:T,rootClassName:v,onChange:g,classNames:E,variant:_}=e,x=Xk(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:S,direction:I,input:R}=ae.useContext(Dt),O=S("input",r),M=p.useRef(null),F=Ps(O),[B,z,U]=zp(O,F),{compactSize:G,compactItemClassnames:H}=Mp(O,I),L=ks(He=>{var Me;return(Me=o!=null?o:G)!==null&&Me!==void 0?Me:He}),P=ae.useContext(Rd),$=u!=null?u:P,{status:C,hasFeedback:D,feedbackIcon:W}=p.useContext(ji),w=Up(C,a),X=Qk(e)||!!D;p.useRef(X);const Z=Z2(M,!0),J=He=>{Z(),s==null||s(He)},fe=He=>{Z(),l==null||l(He)},Te=He=>{Z(),g==null||g(He)},_e=(D||c)&&ae.createElement(ae.Fragment,null,c,D&&W),Ae=X2(d!=null?d:R==null?void 0:R.allowClear),[ke,Oe]=M2(_,i);return B(ae.createElement(Wk,Object.assign({ref:qi(t,M),prefixCls:O,autoComplete:R==null?void 0:R.autoComplete},x,{disabled:$,onBlur:J,onFocus:fe,style:Object.assign(Object.assign({},R==null?void 0:R.style),b),styles:Object.assign(Object.assign({},R==null?void 0:R.styles),T),suffix:_e,allowClear:Ae,className:pe(y,v,U,F,H,R==null?void 0:R.className),onChange:Te,addonBefore:tE(m),addonAfter:tE(h),classNames:Object.assign(Object.assign(Object.assign({},E),R==null?void 0:R.classNames),{input:pe({["".concat(O,"-sm")]:L==="small",["".concat(O,"-lg")]:L==="large",["".concat(O,"-rtl")]:I==="rtl"},E==null?void 0:E.input,(n=R==null?void 0:R.classNames)===null||n===void 0?void 0:n.input,z),variant:pe({["".concat(O,"-").concat(ke)]:Oe},rm(O,w)),affixWrapper:pe({["".concat(O,"-affix-wrapper-sm")]:L==="small",["".concat(O,"-affix-wrapper-lg")]:L==="large",["".concat(O,"-affix-wrapper-rtl")]:I==="rtl"},z),wrapper:pe({["".concat(O,"-group-rtl")]:I==="rtl"},z),groupWrapper:pe({["".concat(O,"-group-wrapper-sm")]:L==="small",["".concat(O,"-group-wrapper-lg")]:L==="large",["".concat(O,"-group-wrapper-rtl")]:I==="rtl",["".concat(O,"-group-wrapper-").concat(ke)]:Oe},rm("".concat(O,"-group-wrapper"),w,D),z)})})))}),Fd=Jk,e8=e=>{const{componentCls:t,paddingXS:n}=e;return{["".concat(t)]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,"&-rtl":{direction:"rtl"},["".concat(t,"-input")]:{textAlign:"center",paddingInline:e.paddingXXS},["&".concat(t,"-sm ").concat(t,"-input")]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},["&".concat(t,"-lg ").concat(t,"-input")]:{paddingInline:e.paddingXS}}}},t8=Rs(["Input","OTP"],e=>{const t=Yn(e,z2(e));return[e8(t)]},j2);var n8=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,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:n,onChange:r,onActiveChange:i,index:a,mask:o}=e,u=n8(e,["value","onChange","onActiveChange","index","mask"]),s=n&&typeof o=="string"?o:n,l=y=>{r(a,y.target.value)},c=p.useRef(null);p.useImperativeHandle(t,()=>c.current);const d=()=>{Ur(()=>{var y;const b=(y=c.current)===null||y===void 0?void 0:y.input;document.activeElement===b&&b&&b.select()})},h=y=>{let{key:b}=y;b==="ArrowLeft"?i(a-1):b==="ArrowRight"&&i(a+1),d()},m=y=>{y.key==="Backspace"&&!n&&i(a-1),d()};return p.createElement(Fd,Object.assign({},u,{ref:c,value:s,onInput:l,onFocus:d,onKeyDown:h,onKeyUp:m,onMouseDown:d,onMouseUp:d,type:o===!0?"password":"text"}))}),i8=r8;var a8=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,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,length:r=6,size:i,defaultValue:a,value:o,onChange:u,formatter:s,variant:l,disabled:c,status:d,autoFocus:h,mask:m}=e,y=a8(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","variant","disabled","status","autoFocus","mask"]),{getPrefixCls:b,direction:T}=p.useContext(Dt),v=b("otp",n),g=i2(y,{aria:!0,data:!0,attr:!0}),E=Ps(v),[_,x,S]=t8(v,E),I=ks(D=>i!=null?i:D),R=p.useContext(ji),O=Up(R.status,d),M=p.useMemo(()=>Object.assign(Object.assign({},R),{status:O,hasFeedback:!1,feedbackIcon:null}),[R,O]),F=p.useRef(null),B=p.useRef({});p.useImperativeHandle(t,()=>({focus:()=>{var D;(D=B.current[0])===null||D===void 0||D.focus()},blur:()=>{var D;for(let W=0;Ws?s(D):D,[U,G]=p.useState(wl(z(a||"")));p.useEffect(()=>{o!==void 0&&G(wl(o))},[o]);const H=cn(D=>{G(D),u&&D.length===r&&D.every(W=>W)&&D.some((W,w)=>U[w]!==W)&&u(D.join(""))}),L=cn((D,W)=>{let w=be(U);for(let Z=0;Z=0&&!w[Z];Z-=1)w.pop();const X=z(w.map(Z=>Z||" ").join(""));return w=wl(X).map((Z,J)=>Z===" "&&!w[J]?w[J]:Z),w}),P=(D,W)=>{var w;const X=L(D,W),Z=Math.min(D+W.length,r-1);Z!==D&&((w=B.current[Z])===null||w===void 0||w.focus()),H(X)},$=D=>{var W;(W=B.current[D])===null||W===void 0||W.focus()},C={variant:l,disabled:c,status:O,mask:m};return _(p.createElement("div",Object.assign({},g,{ref:F,className:pe(v,{["".concat(v,"-sm")]:I==="small",["".concat(v,"-lg")]:I==="large",["".concat(v,"-rtl")]:T==="rtl"},S,x)}),p.createElement(ji.Provider,{value:M},Array.from({length:r}).map((D,W)=>{const w="otp-".concat(W),X=U[W]||"";return p.createElement(i8,Object.assign({ref:Z=>{B.current[W]=Z},key:w,index:W,size:I,htmlSize:1,className:"".concat(v,"-input"),onChange:P,value:X,onActiveChange:$,autoFocus:W===0&&h},C))}))))}),u8=o8;var s8={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 l8=s8;var c8=function(t,n){return p.createElement(li,et({},t,{ref:n,icon:l8}))},d8=p.forwardRef(c8);const f8=d8;var h8={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 m8=h8;var p8=function(t,n){return p.createElement(li,et({},t,{ref:n,icon:m8}))},g8=p.forwardRef(p8);const v8=g8;var E8=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,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?p.createElement(v8,null):p.createElement(f8,null),b8={click:"onClick",hover:"onMouseOver"},T8=p.forwardRef((e,t)=>{const{disabled:n,action:r="click",visibilityToggle:i=!0,iconRender:a=y8}=e,o=typeof i=="object"&&i.visible!==void 0,[u,s]=p.useState(()=>o?i.visible:!1),l=p.useRef(null);p.useEffect(()=>{o&&s(i.visible)},[o,i]);const c=Z2(l),d=()=>{n||(u&&c(),s(R=>{var O;const M=!R;return typeof i=="object"&&((O=i.onVisibleChange)===null||O===void 0||O.call(i,M)),M}))},h=R=>{const O=b8[r]||"",M=a(u),F={[O]:d,className:"".concat(R,"-icon"),key:"passwordIcon",onMouseDown:B=>{B.preventDefault()},onMouseUp:B=>{B.preventDefault()}};return p.cloneElement(p.isValidElement(M)?M:p.createElement("span",null,M),F)},{className:m,prefixCls:y,inputPrefixCls:b,size:T}=e,v=E8(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:g}=p.useContext(Dt),E=g("input",b),_=g("input-password",y),x=i&&h(_),S=pe(_,m,{["".concat(_,"-").concat(T)]:!!T}),I=Object.assign(Object.assign({},Tp(v,["suffix","iconRender","visibilityToggle"])),{type:u?"text":"password",className:S,prefixCls:E,suffix:x});return T&&(I.size=T),p.createElement(Fd,Object.assign({ref:qi(t,l)},I))}),C8=T8;var S8=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,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:a,suffix:o,enterButton:u=!1,addonAfter:s,loading:l,disabled:c,onSearch:d,onChange:h,onCompositionStart:m,onCompositionEnd:y}=e,b=S8(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:T,direction:v}=p.useContext(Dt),g=p.useRef(!1),E=T("input-search",n),_=T("input",r),{compactSize:x}=Mp(E,v),S=ks(C=>{var D;return(D=a!=null?a:x)!==null&&D!==void 0?D:C}),I=p.useRef(null),R=C=>{C&&C.target&&C.type==="click"&&d&&d(C.target.value,C,{source:"clear"}),h&&h(C)},O=C=>{var D;document.activeElement===((D=I.current)===null||D===void 0?void 0:D.input)&&C.preventDefault()},M=C=>{var D,W;d&&d((W=(D=I.current)===null||D===void 0?void 0:D.input)===null||W===void 0?void 0:W.value,C,{source:"input"})},F=C=>{g.current||l||M(C)},B=typeof u=="boolean"?p.createElement(ik,null):null,z="".concat(E,"-button");let U;const G=u||{},H=G.type&&G.type.__ANT_BUTTON===!0;H||G.type==="button"?U=fs(G,Object.assign({onMouseDown:O,onClick:C=>{var D,W;(W=(D=G==null?void 0:G.props)===null||D===void 0?void 0:D.onClick)===null||W===void 0||W.call(D,C),M(C)},key:"enterButton"},H?{className:z,size:S}:{})):U=p.createElement(pP,{className:z,type:u?"primary":void 0,size:S,disabled:c,key:"enterButton",onMouseDown:O,onClick:M,loading:l,icon:B},u),s&&(U=[U,fs(s,{key:"addonAfter"})]);const L=pe(E,{["".concat(E,"-rtl")]:v==="rtl",["".concat(E,"-").concat(S)]:!!S,["".concat(E,"-with-button")]:!!u},i),P=C=>{g.current=!0,m==null||m(C)},$=C=>{g.current=!1,y==null||y(C)};return p.createElement(Fd,Object.assign({ref:qi(I,t),onPressEnter:F},b,{size:S,onCompositionStart:P,onCompositionEnd:$,prefixCls:_,addonAfter:U,suffix:o,onChange:R,className:L,disabled:c}))}),x8=_8;var A8="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n",w8=["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"],n0={},Xn;function I8(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&&n0[n])return n0[n];var r=window.getComputedStyle(e),i=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),a=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),o=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),u=w8.map(function(l){return"".concat(l,":").concat(r.getPropertyValue(l))}).join(";"),s={sizingStyle:u,paddingSize:a,borderSize:o,boxSizing:i};return t&&n&&(n0[n]=s),s}function N8(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;Xn||(Xn=document.createElement("textarea"),Xn.setAttribute("tab-index","-1"),Xn.setAttribute("aria-hidden","true"),document.body.appendChild(Xn)),e.getAttribute("wrap")?Xn.setAttribute("wrap",e.getAttribute("wrap")):Xn.removeAttribute("wrap");var i=I8(e,t),a=i.paddingSize,o=i.borderSize,u=i.boxSizing,s=i.sizingStyle;Xn.setAttribute("style","".concat(s,";").concat(A8)),Xn.value=e.value||e.placeholder||"";var l=void 0,c=void 0,d,h=Xn.scrollHeight;if(u==="border-box"?h+=o:u==="content-box"&&(h-=a),n!==null||r!==null){Xn.value=" ";var m=Xn.scrollHeight-a;n!==null&&(l=m*n,u==="border-box"&&(l=l+a+o),h=Math.max(l,h)),r!==null&&(c=m*r,u==="border-box"&&(c=c+a+o),d=h>c?"":"hidden",h=Math.min(c,h))}var y={height:h,overflowY:d,resize:"none"};return l&&(y.minHeight=l),c&&(y.maxHeight=c),y}var R8=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],r0=0,i0=1,a0=2,O8=p.forwardRef(function(e,t){var n=e,r=n.prefixCls;n.onPressEnter;var i=n.defaultValue,a=n.value,o=n.autoSize,u=n.onResize,s=n.className,l=n.style,c=n.disabled,d=n.onChange;n.onInternalAutoSize;var h=jt(n,R8),m=Pd(i,{value:a,postState:function(X){return X!=null?X:""}}),y=ue(m,2),b=y[0],T=y[1],v=function(X){T(X.target.value),d==null||d(X)},g=p.useRef();p.useImperativeHandle(t,function(){return{textArea:g.current}});var E=p.useMemo(function(){return o&&Be(o)==="object"?[o.minRows,o.maxRows]:[]},[o]),_=ue(E,2),x=_[0],S=_[1],I=!!o,R=function(){try{if(document.activeElement===g.current){var X=g.current,Z=X.selectionStart,J=X.selectionEnd,fe=X.scrollTop;g.current.setSelectionRange(Z,J),g.current.scrollTop=fe}}catch(Te){}},O=p.useState(a0),M=ue(O,2),F=M[0],B=M[1],z=p.useState(),U=ue(z,2),G=U[0],H=U[1],L=function(){B(r0)};Gt(function(){I&&L()},[a,x,S,I]),Gt(function(){if(F===r0)B(i0);else if(F===i0){var w=N8(g.current,!1,x,S);B(a0),H(w)}else R()},[F]);var P=p.useRef(),$=function(){Ur.cancel(P.current)},C=function(X){F===a0&&(u==null||u(X),o&&($(),P.current=Ur(function(){L()})))};p.useEffect(function(){return $},[]);var D=I?G:null,W=K(K({},l),D);return(F===r0||F===i0)&&(W.overflowY="hidden",W.overflowX="hidden"),p.createElement(Sd,{onResize:C,disabled:!(o||u)},p.createElement("textarea",et({},h,{ref:g,style:W,className:pe(r,s,V({},"".concat(r,"-disabled"),c)),disabled:c,value:b,onChange:v})))}),P8=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","readOnly"],L8=ae.forwardRef(function(e,t){var n,r=e.defaultValue,i=e.value,a=e.onFocus,o=e.onBlur,u=e.onChange,s=e.allowClear,l=e.maxLength,c=e.onCompositionStart,d=e.onCompositionEnd,h=e.suffix,m=e.prefixCls,y=m===void 0?"rc-textarea":m,b=e.showCount,T=e.count,v=e.className,g=e.style,E=e.disabled,_=e.hidden,x=e.classNames,S=e.styles,I=e.onResize,R=e.readOnly,O=jt(e,P8),M=Pd(r,{value:i,defaultValue:r}),F=ue(M,2),B=F[0],z=F[1],U=B==null?"":String(B),G=ae.useState(!1),H=ue(G,2),L=H[0],P=H[1],$=ae.useRef(!1),C=ae.useState(null),D=ue(C,2),W=D[0],w=D[1],X=p.useRef(null),Z=p.useRef(null),J=function(){var he;return(he=Z.current)===null||he===void 0?void 0:he.textArea},fe=function(){J().focus()};p.useImperativeHandle(t,function(){var me;return{resizableTextArea:Z.current,focus:fe,blur:function(){J().blur()},nativeElement:((me=X.current)===null||me===void 0?void 0:me.nativeElement)||J()}}),p.useEffect(function(){P(function(me){return!E&&me})},[E]);var Te=ae.useState(null),_e=ue(Te,2),Ae=_e[0],ke=_e[1];ae.useEffect(function(){if(Ae){var me;(me=J()).setSelectionRange.apply(me,be(Ae))}},[Ae]);var Oe=Q2(T,b),He=(n=Oe.max)!==null&&n!==void 0?n:l,Me=Number(He)>0,Ge=Oe.strategy(U),Fe=!!He&&Ge>He,$e=function(he,Xe){var Ze=Xe;!$.current&&Oe.exceedFormatter&&Oe.max&&Oe.strategy(Xe)>Oe.max&&(Ze=Oe.exceedFormatter(Xe,{max:Oe.max}),Xe!==Ze&&ke([J().selectionStart||0,J().selectionEnd||0])),z(Ze),$c(he.currentTarget,he,u,Ze)},ce=function(he){$.current=!0,c==null||c(he)},we=function(he){$.current=!1,$e(he,he.currentTarget.value),d==null||d(he)},ve=function(he){$e(he,he.target.value)},de=function(he){var Xe=O.onPressEnter,Ze=O.onKeyDown;he.key==="Enter"&&Xe&&Xe(he),Ze==null||Ze(he)},Ie=function(he){P(!0),a==null||a(he)},Ne=function(he){P(!1),o==null||o(he)},Se=function(he){z(""),fe(),$c(J(),he,u)},Pe=h,Y;Oe.show&&(Oe.showFormatter?Y=Oe.showFormatter({value:U,count:Ge,maxLength:He}):Y="".concat(Ge).concat(Me?" / ".concat(He):""),Pe=ae.createElement(ae.Fragment,null,Pe,ae.createElement("span",{className:pe("".concat(y,"-data-count"),x==null?void 0:x.count),style:S==null?void 0:S.count},Y)));var ie=function(he){var Xe;I==null||I(he),(Xe=J())!==null&&Xe!==void 0&&Xe.style.height&&w(!0)},Ce=!O.autoSize&&!b&&!s;return ae.createElement(K2,{ref:X,value:U,allowClear:s,handleReset:Se,suffix:Pe,prefixCls:y,classNames:K(K({},x),{},{affixWrapper:pe(x==null?void 0:x.affixWrapper,V(V({},"".concat(y,"-show-count"),b),"".concat(y,"-textarea-allow-clear"),s))}),disabled:E,focused:L,className:pe(v,Fe&&"".concat(y,"-out-of-range")),style:K(K({},g),W&&!Ce?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Y=="string"?Y:void 0}},hidden:_,readOnly:R},ae.createElement(O8,et({},O,{maxLength:l,onKeyDown:de,onChange:ve,onFocus:Ie,onBlur:Ne,onCompositionStart:ce,onCompositionEnd:we,className:pe(x==null?void 0:x.textarea),style:K(K({},S==null?void 0:S.textarea),{},{resize:g==null?void 0:g.resize}),disabled:E,prefixCls:y,onResize:ie,ref:Z,readOnly:R})))}),k8=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,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,bordered:a=!0,size:o,disabled:u,status:s,allowClear:l,classNames:c,rootClassName:d,className:h,style:m,styles:y,variant:b}=e,T=k8(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]),{getPrefixCls:v,direction:g,textArea:E}=p.useContext(Dt),_=ks(o),x=p.useContext(Rd),S=u!=null?u:x,{status:I,hasFeedback:R,feedbackIcon:O}=p.useContext(ji),M=Up(I,s),F=p.useRef(null);p.useImperativeHandle(t,()=>{var C;return{resizableTextArea:(C=F.current)===null||C===void 0?void 0:C.resizableTextArea,focus:D=>{var W,w;Zk((w=(W=F.current)===null||W===void 0?void 0:W.resizableTextArea)===null||w===void 0?void 0:w.textArea,D)},blur:()=>{var D;return(D=F.current)===null||D===void 0?void 0:D.blur()}}});const B=v("input",i),z=Ps(B),[U,G,H]=zp(B,z),[L,P]=M2(b,a),$=X2(l!=null?l:E==null?void 0:E.allowClear);return U(p.createElement(L8,Object.assign({autoComplete:E==null?void 0:E.autoComplete},T,{style:Object.assign(Object.assign({},E==null?void 0:E.style),m),styles:Object.assign(Object.assign({},E==null?void 0:E.styles),y),disabled:S,allowClear:$,className:pe(H,z,h,d,E==null?void 0:E.className),classNames:Object.assign(Object.assign(Object.assign({},c),E==null?void 0:E.classNames),{textarea:pe({["".concat(B,"-sm")]:_==="small",["".concat(B,"-lg")]:_==="large"},G,c==null?void 0:c.textarea,(n=E==null?void 0:E.classNames)===null||n===void 0?void 0:n.textarea),variant:pe({["".concat(B,"-").concat(L)]:P},rm(B,M)),affixWrapper:pe("".concat(B,"-textarea-affix-wrapper"),{["".concat(B,"-affix-wrapper-rtl")]:g==="rtl",["".concat(B,"-affix-wrapper-sm")]:_==="small",["".concat(B,"-affix-wrapper-lg")]:_==="large",["".concat(B,"-textarea-show-count")]:e.showCount||((r=e.count)===null||r===void 0?void 0:r.show)},G)}),prefixCls:B,suffix:R&&p.createElement("span",{className:"".concat(B,"-textarea-suffix")},O),ref:F})))}),D8=M8,Bo=Fd;Bo.Group=Gk;Bo.Search=x8;Bo.TextArea=D8;Bo.Password=C8;Bo.OTP=u8;const F8=Bo;let Zn=null,da=e=>e(),ps=[],gs={};function nE(){const{getContainer:e,duration:t,rtl:n,maxCount:r,top:i}=gs,a=(e==null?void 0:e())||document.body;return{getContainer:()=>a,duration:t,rtl:n,maxCount:r,top:i}}const B8=ae.forwardRef((e,t)=>{const{messageConfig:n,sync:r}=e,{getPrefixCls:i}=p.useContext(Dt),a=gs.prefixCls||i("message"),o=p.useContext(DL),[u,s]=m2(Object.assign(Object.assign(Object.assign({},n),{prefixCls:a}),o.message));return ae.useImperativeHandle(t,()=>{const l=Object.assign({},u);return Object.keys(l).forEach(c=>{l[c]=function(){return r(),u[c].apply(u,arguments)}}),{instance:l,sync:r}}),s}),H8=ae.forwardRef((e,t)=>{const[n,r]=ae.useState(nE),i=()=>{r(nE)};ae.useEffect(i,[]);const a=q6(),o=a.getRootPrefixCls(),u=a.getIconPrefixCls(),s=a.getTheme(),l=ae.createElement(B8,{ref:t,sync:i,messageConfig:n});return ae.createElement(Fo,{prefixCls:o,iconPrefixCls:u,theme:s},a.holderRender?a.holderRender(l):l)});function Bd(){if(!Zn){const e=document.createDocumentFragment(),t={fragment:e};Zn=t,da(()=>{p2(ae.createElement(H8,{ref:n=>{const{instance:r,sync:i}=n||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=i,Bd())})}}),e)});return}Zn.instance&&(ps.forEach(e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":{da(()=>{const r=Zn.instance.open(Object.assign(Object.assign({},gs),e.config));r==null||r.then(e.resolve),e.setCloseFn(r)});break}case"destroy":da(()=>{Zn==null||Zn.instance.destroy(e.key)});break;default:da(()=>{var r;const i=(r=Zn.instance)[t].apply(r,be(e.args));i==null||i.then(e.resolve),e.setCloseFn(i)})}}),ps=[])}function U8(e){gs=Object.assign(Object.assign({},gs),e),da(()=>{var t;(t=Zn==null?void 0:Zn.sync)===null||t===void 0||t.call(Zn)})}function $8(e){const t=kp(n=>{let r;const i={type:"open",config:e,resolve:n,setCloseFn:a=>{r=a}};return ps.push(i),()=>{r?da(()=>{r()}):i.skipped=!0}});return Bd(),t}function z8(e,t){const n=kp(r=>{let i;const a={type:e,args:t,resolve:r,setCloseFn:o=>{i=o}};return ps.push(a),()=>{i?da(()=>{i()}):a.skipped=!0}});return Bd(),n}const j8=e=>{ps.push({type:"destroy",key:e}),Bd()},V8=["success","info","warning","error","loading"],W8={open:$8,destroy:j8,config:U8,useMessage:f4,_InternalPanelDoNotUseOrYouWillBeFired:i4},J2=W8;V8.forEach(e=>{J2[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r1&&arguments[1]!==void 0?arguments[1]:0,n=e[t];if(Q8(n)){var r=document.createElement("script");r.setAttribute("src",n),r.setAttribute("data-namespace",n),e.length>t+1&&(r.onload=function(){zc(e,t+1)},r.onerror=function(){zc(e,t+1)}),tS.add(n),document.body.appendChild(r)}}function X8(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,r=n===void 0?{}:n;t&&typeof document<"u"&&typeof window<"u"&&typeof document.createElement=="function"&&(Array.isArray(t)?zc(t.reverse()):zc([t]));var i=p.forwardRef(function(a,o){var u=a.type,s=a.children,l=jt(a,K8),c=null;return a.type&&(c=p.createElement("use",{xlinkHref:"#".concat(u)})),s&&(c=s),p.createElement(G8,et({},r,l,{ref:o}),c)});return i.displayName="Iconfont",i}const Il=X8({scriptUrl:"//at.alicdn.com/t/c/font_3858115_p8dw9q83s0h.js"});function rE(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);const o=n.slice(i,r).trim();(o||!a)&&t.push(o),i=r+1,r=n.indexOf(",",i)}return t}function nS(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Z8=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,J8=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,e5={};function iE(e,t){return((t||e5).jsx?J8:Z8).test(e)}const t5=/[ \t\n\f\r]/g;function n5(e){return typeof e=="object"?e.type==="text"?aE(e.value):!1:aE(e)}function aE(e){return e.replace(t5,"")===""}class Bs{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Bs.prototype.property={};Bs.prototype.normal={};Bs.prototype.space=null;function rS(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&u5.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(uE,c5);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!uE.test(a)){let o=a.replace(s5,l5);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=jp}return new i(r,t)}function l5(e){return"-"+e.toLowerCase()}function c5(e){return e.charAt(1).toUpperCase()}const d5={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Hs=rS([oS,aS,lS,cS,a5],"html"),Gi=rS([oS,aS,lS,cS,o5],"svg");function sE(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function dS(e){return e.join(" ").trim()}var fS={},lE=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,f5=/\n/g,h5=/^\s*/,m5=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,p5=/^:\s*/,g5=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,v5=/^[;\s]*/,E5=/^\s+|\s+$/g,y5="\n",cE="/",dE="*",ia="",b5="comment",T5="declaration",C5=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(y){var b=y.match(f5);b&&(n+=b.length);var T=y.lastIndexOf(y5);r=~T?y.length-T:r+y.length}function a(){var y={line:n,column:r};return function(b){return b.position=new o(y),l(),b}}function o(y){this.start=y,this.end={line:n,column:r},this.source=t.source}o.prototype.content=e;function u(y){var b=new Error(t.source+":"+n+":"+r+": "+y);if(b.reason=y,b.filename=t.source,b.line=n,b.column=r,b.source=e,!t.silent)throw b}function s(y){var b=y.exec(e);if(b){var T=b[0];return i(T),e=e.slice(T.length),b}}function l(){s(h5)}function c(y){var b;for(y=y||[];b=d();)b!==!1&&y.push(b);return y}function d(){var y=a();if(!(cE!=e.charAt(0)||dE!=e.charAt(1))){for(var b=2;ia!=e.charAt(b)&&(dE!=e.charAt(b)||cE!=e.charAt(b+1));)++b;if(b+=2,ia===e.charAt(b-1))return u("End of comment missing");var T=e.slice(2,b-2);return r+=2,i(T),e=e.slice(b),r+=2,y({type:b5,comment:T})}}function h(){var y=a(),b=s(m5);if(b){if(d(),!s(p5))return u("property missing ':'");var T=s(g5),v=y({type:T5,property:fE(b[0].replace(lE,ia)),value:T?fE(T[0].replace(lE,ia)):ia});return s(v5),v}}function m(){var y=[];c(y);for(var b;b=h();)b!==!1&&(y.push(b),c(y));return y}return l(),m()};function fE(e){return e?e.replace(E5,ia):ia}var S5=lg&&lg.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(fS,"__esModule",{value:!0});var _5=S5(C5);function x5(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,_5.default)(e),i=typeof t=="function";return r.forEach(function(a){if(a.type==="declaration"){var o=a.property,u=a.value;i?t(o,u,a):u&&(n=n||{},n[o]=u)}}),n}var hE=fS.default=x5;const A5=hE.default||hE,Ud=hS("end"),zr=hS("start");function hS(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function w5(e){const t=zr(e),n=Ud(e);if(t&&n)return{start:t,end:n}}function Ru(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?mE(e.position):"start"in e||"end"in e?mE(e):"line"in e||"column"in e?am(e):""}function am(e){return pE(e&&e.line)+":"+pE(e&&e.column)}function mE(e){return am(e&&e.start)+"-"+am(e&&e.end)}function pE(e){return e&&typeof e=="number"?e:1}class un extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",a={},o=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?i=t:!a.cause&&t&&(o=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const s=r.indexOf(":");s===-1?a.ruleId=r:(a.source=r.slice(0,s),a.ruleId=r.slice(s+1))}if(!a.place&&a.ancestors&&a.ancestors){const s=a.ancestors[a.ancestors.length-1];s&&(a.place=s.position)}const u=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=u?u.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=u?u.line:void 0,this.name=Ru(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}un.prototype.file="";un.prototype.name="";un.prototype.reason="";un.prototype.message="";un.prototype.stack="";un.prototype.column=void 0;un.prototype.line=void 0;un.prototype.ancestors=void 0;un.prototype.cause=void 0;un.prototype.fatal=void 0;un.prototype.place=void 0;un.prototype.ruleId=void 0;un.prototype.source=void 0;const Vp={}.hasOwnProperty,I5=new Map,N5=/[A-Z]/g,R5=/-([a-z])/g,O5=new Set(["table","tbody","thead","tfoot","tr"]),P5=new Set(["td","th"]),mS="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function L5(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=$5(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=U5(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Gi:Hs,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=pS(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function pS(e,t,n){if(t.type==="element")return k5(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return M5(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return F5(e,t,n);if(t.type==="mdxjsEsm")return D5(e,t);if(t.type==="root")return B5(e,t,n);if(t.type==="text")return H5(e,t)}function k5(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Gi,e.schema=i),e.ancestors.push(t);const a=vS(e,t.tagName,!1),o=z5(e,t);let u=Yp(e,t);return O5.has(t.tagName)&&(u=u.filter(function(s){return typeof s=="string"?!n5(s):!0})),gS(e,o,a,t),Wp(o,u),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function M5(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Es(e,t.position)}function D5(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Es(e,t.position)}function F5(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=Gi,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:vS(e,t.name,!0),o=j5(e,t),u=Yp(e,t);return gS(e,o,a,t),Wp(o,u),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}function B5(e,t,n){const r={};return Wp(r,Yp(e,t)),e.create(t,e.Fragment,r,n)}function H5(e,t){return t.value}function gS(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Wp(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function U5(e,t,n){return r;function r(i,a,o,u){const l=Array.isArray(o.children)?n:t;return u?l(a,o,u):l(a,o)}}function $5(e,t){return n;function n(r,i,a,o){const u=Array.isArray(a.children),s=zr(r);return t(i,a,o,u,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function z5(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&Vp.call(t.properties,i)){const a=V5(e,i,t.properties[i]);if(a){const[o,u]=a;e.tableCellAlignToStyle&&o==="align"&&typeof u=="string"&&P5.has(t.tagName)?r=u:n[o]=u}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function j5(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const o=a.expression;o.type;const u=o.properties[0];u.type,Object.assign(n,e.evaluater.evaluateExpression(u.argument))}else Es(e,t.position);else{const i=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const u=r.value.data.estree.body[0];u.type,a=e.evaluater.evaluateExpression(u.expression)}else Es(e,t.position);else a=r.value===null?!0:r.value;n[i]=a}return n}function Yp(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:I5;for(;++ri?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a0?(ui(e,e.length,0,t),e):t}const EE={}.hasOwnProperty;function J5(e){const t={};let n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Eo(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Mr=Ki(/[A-Za-z]/),Hn=Ki(/[\dA-Za-z]/),nM=Ki(/[#-'*+\--9=?A-Z^-~]/);function om(e){return e!==null&&(e<32||e===127)}const um=Ki(/\d/),rM=Ki(/[\dA-Fa-f]/),iM=Ki(/[!-/:-@[-`{-~]/);function Le(e){return e!==null&&e<-2}function Sn(e){return e!==null&&(e<0||e===32)}function tt(e){return e===-2||e===-1||e===32}const aM=Ki(new RegExp("\\p{P}|\\p{S}","u")),oM=Ki(/\s/);function Ki(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Uo(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&a<57344){const u=e.charCodeAt(n+1);a<56320&&u>56319&&u<57344?(o=String.fromCharCode(a,u),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function lt(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return o;function o(s){return tt(s)?(e.enter(n),u(s)):t(s)}function u(s){return tt(s)&&a++o))return;const I=t.events.length;let R=I,O,M;for(;R--;)if(t.events[R][0]==="exit"&&t.events[R][1].type==="chunkFlow"){if(O){M=t.events[R][1].end;break}O=!0}for(v(r),S=I;SE;){const x=n[_];t.containerState=x[1],x[0].exit.call(t,e)}n.length=E}function g(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function dM(e,t,n){return lt(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function bE(e){if(e===null||Sn(e)||oM(e))return 1;if(aM(e))return 2}function Gp(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const d=Object.assign({},e[r][1].end),h=Object.assign({},e[n][1].start);TE(d,-s),TE(h,s),o={type:s>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},u={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:h},a={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({},o.start),end:Object.assign({},u.end)},e[r][1].end=Object.assign({},o.start),e[n][1].start=Object.assign({},u.end),l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=tr(l,[["enter",e[r][1],t],["exit",e[r][1],t]])),l=tr(l,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),l=tr(l,Gp(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=tr(l,[["exit",a,t],["enter",u,t],["exit",u,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,l=tr(l,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,ui(e,r-1,n-r+3,l),n=r+l.length-c-2;break}}for(n=-1;++n0&&tt(S)?lt(e,g,"linePrefix",a+1)(S):g(S)}function g(S){return S===null||Le(S)?e.check(CE,b,_)(S):(e.enter("codeFlowValue"),E(S))}function E(S){return S===null||Le(S)?(e.exit("codeFlowValue"),g(S)):(e.consume(S),E)}function _(S){return e.exit("codeFenced"),t(S)}function x(S,I,R){let O=0;return M;function M(G){return S.enter("lineEnding"),S.consume(G),S.exit("lineEnding"),F}function F(G){return S.enter("codeFencedFence"),tt(G)?lt(S,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(G):B(G)}function B(G){return G===u?(S.enter("codeFencedFenceSequence"),z(G)):R(G)}function z(G){return G===u?(O++,S.consume(G),z):O>=o?(S.exit("codeFencedFenceSequence"),tt(G)?lt(S,U,"whitespace")(G):U(G)):R(G)}function U(G){return G===null||Le(G)?(S.exit("codeFencedFence"),I(G)):R(G)}}}function SM(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const s0={name:"codeIndented",tokenize:xM},_M={tokenize:AM,partial:!0};function xM(e,t,n){const r=this;return i;function i(l){return e.enter("codeIndented"),lt(e,a,"linePrefix",4+1)(l)}function a(l){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?o(l):n(l)}function o(l){return l===null?s(l):Le(l)?e.attempt(_M,o,s)(l):(e.enter("codeFlowValue"),u(l))}function u(l){return l===null||Le(l)?(e.exit("codeFlowValue"),o(l)):(e.consume(l),u)}function s(l){return e.exit("codeIndented"),t(l)}}function AM(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):Le(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):lt(e,a,"linePrefix",4+1)(o)}function a(o){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(o):Le(o)?i(o):n(o)}}const wM={name:"codeText",tokenize:RM,resolve:IM,previous:NM};function IM(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=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return tthis.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&au(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),au(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),au(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function _S(e,t,n,r,i,a,o,u,s){const l=s||Number.POSITIVE_INFINITY;let c=0;return d;function d(v){return v===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(v),e.exit(a),h):v===null||v===32||v===41||om(v)?n(v):(e.enter(r),e.enter(o),e.enter(u),e.enter("chunkString",{contentType:"string"}),b(v))}function h(v){return v===62?(e.enter(a),e.consume(v),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),m(v))}function m(v){return v===62?(e.exit("chunkString"),e.exit(u),h(v)):v===null||v===60||Le(v)?n(v):(e.consume(v),v===92?y:m)}function y(v){return v===60||v===62||v===92?(e.consume(v),m):m(v)}function b(v){return!c&&(v===null||v===41||Sn(v))?(e.exit("chunkString"),e.exit(u),e.exit(o),e.exit(r),t(v)):c999||m===null||m===91||m===93&&!s||m===94&&!u&&"_hiddenFootnoteSupport"in o.parser.constructs?n(m):m===93?(e.exit(a),e.enter(i),e.consume(m),e.exit(i),e.exit(r),t):Le(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),d(m))}function d(m){return m===null||m===91||m===93||Le(m)||u++>999?(e.exit("chunkString"),c(m)):(e.consume(m),s||(s=!tt(m)),m===92?h:d)}function h(m){return m===91||m===92||m===93?(e.consume(m),u++,d):d(m)}}function AS(e,t,n,r,i,a){let o;return u;function u(h){return h===34||h===39||h===40?(e.enter(r),e.enter(i),e.consume(h),e.exit(i),o=h===40?41:h,s):n(h)}function s(h){return h===o?(e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):(e.enter(a),l(h))}function l(h){return h===o?(e.exit(a),s(o)):h===null?n(h):Le(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),lt(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(h))}function c(h){return h===o||h===null||Le(h)?(e.exit("chunkString"),l(h)):(e.consume(h),h===92?d:c)}function d(h){return h===o||h===92?(e.consume(h),c):c(h)}}function Ou(e,t){let n;return r;function r(i){return Le(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):tt(i)?lt(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const BM={name:"definition",tokenize:UM},HM={tokenize:$M,partial:!0};function UM(e,t,n){const r=this;let i;return a;function a(m){return e.enter("definition"),o(m)}function o(m){return xS.call(r,e,u,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function u(m){return i=Eo(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),s):n(m)}function s(m){return Sn(m)?Ou(e,l)(m):l(m)}function l(m){return _S(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function c(m){return e.attempt(HM,d,d)(m)}function d(m){return tt(m)?lt(e,h,"whitespace")(m):h(m)}function h(m){return m===null||Le(m)?(e.exit("definition"),r.parser.defined.push(i),t(m)):n(m)}}function $M(e,t,n){return r;function r(u){return Sn(u)?Ou(e,i)(u):n(u)}function i(u){return AS(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function a(u){return tt(u)?lt(e,o,"whitespace")(u):o(u)}function o(u){return u===null||Le(u)?t(u):n(u)}}const zM={name:"hardBreakEscape",tokenize:jM};function jM(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return Le(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const VM={name:"headingAtx",tokenize:YM,resolve:WM};function WM(e,t){let n=e.length-2,r=3,i,a;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},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},ui(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function YM(e,t,n){let r=0;return i;function i(c){return e.enter("atxHeading"),a(c)}function a(c){return e.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&r++<6?(e.consume(c),o):c===null||Sn(c)?(e.exit("atxHeadingSequence"),u(c)):n(c)}function u(c){return c===35?(e.enter("atxHeadingSequence"),s(c)):c===null||Le(c)?(e.exit("atxHeading"),t(c)):tt(c)?lt(e,u,"whitespace")(c):(e.enter("atxHeadingText"),l(c))}function s(c){return c===35?(e.consume(c),s):(e.exit("atxHeadingSequence"),u(c))}function l(c){return c===null||c===35||Sn(c)?(e.exit("atxHeadingText"),u(c)):(e.consume(c),l)}}const qM=["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"],_E=["pre","script","style","textarea"],GM={name:"htmlFlow",tokenize:ZM,resolveTo:XM,concrete:!0},KM={tokenize:eD,partial:!0},QM={tokenize:JM,partial:!0};function XM(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 ZM(e,t,n){const r=this;let i,a,o,u,s;return l;function l(w){return c(w)}function c(w){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(w),d}function d(w){return w===33?(e.consume(w),h):w===47?(e.consume(w),a=!0,b):w===63?(e.consume(w),i=3,r.interrupt?t:C):Mr(w)?(e.consume(w),o=String.fromCharCode(w),T):n(w)}function h(w){return w===45?(e.consume(w),i=2,m):w===91?(e.consume(w),i=5,u=0,y):Mr(w)?(e.consume(w),i=4,r.interrupt?t:C):n(w)}function m(w){return w===45?(e.consume(w),r.interrupt?t:C):n(w)}function y(w){const X="CDATA[";return w===X.charCodeAt(u++)?(e.consume(w),u===X.length?r.interrupt?t:B:y):n(w)}function b(w){return Mr(w)?(e.consume(w),o=String.fromCharCode(w),T):n(w)}function T(w){if(w===null||w===47||w===62||Sn(w)){const X=w===47,Z=o.toLowerCase();return!X&&!a&&_E.includes(Z)?(i=1,r.interrupt?t(w):B(w)):qM.includes(o.toLowerCase())?(i=6,X?(e.consume(w),v):r.interrupt?t(w):B(w)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(w):a?g(w):E(w))}return w===45||Hn(w)?(e.consume(w),o+=String.fromCharCode(w),T):n(w)}function v(w){return w===62?(e.consume(w),r.interrupt?t:B):n(w)}function g(w){return tt(w)?(e.consume(w),g):M(w)}function E(w){return w===47?(e.consume(w),M):w===58||w===95||Mr(w)?(e.consume(w),_):tt(w)?(e.consume(w),E):M(w)}function _(w){return w===45||w===46||w===58||w===95||Hn(w)?(e.consume(w),_):x(w)}function x(w){return w===61?(e.consume(w),S):tt(w)?(e.consume(w),x):E(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,I):tt(w)?(e.consume(w),S):R(w)}function I(w){return w===s?(e.consume(w),s=null,O):w===null||Le(w)?n(w):(e.consume(w),I)}function R(w){return w===null||w===34||w===39||w===47||w===60||w===61||w===62||w===96||Sn(w)?x(w):(e.consume(w),R)}function O(w){return w===47||w===62||tt(w)?E(w):n(w)}function M(w){return w===62?(e.consume(w),F):n(w)}function F(w){return w===null||Le(w)?B(w):tt(w)?(e.consume(w),F):n(w)}function B(w){return w===45&&i===2?(e.consume(w),H):w===60&&i===1?(e.consume(w),L):w===62&&i===4?(e.consume(w),D):w===63&&i===3?(e.consume(w),C):w===93&&i===5?(e.consume(w),$):Le(w)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(KM,W,z)(w)):w===null||Le(w)?(e.exit("htmlFlowData"),z(w)):(e.consume(w),B)}function z(w){return e.check(QM,U,W)(w)}function U(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),G}function G(w){return w===null||Le(w)?z(w):(e.enter("htmlFlowData"),B(w))}function H(w){return w===45?(e.consume(w),C):B(w)}function L(w){return w===47?(e.consume(w),o="",P):B(w)}function P(w){if(w===62){const X=o.toLowerCase();return _E.includes(X)?(e.consume(w),D):B(w)}return Mr(w)&&o.length<8?(e.consume(w),o+=String.fromCharCode(w),P):B(w)}function $(w){return w===93?(e.consume(w),C):B(w)}function C(w){return w===62?(e.consume(w),D):w===45&&i===2?(e.consume(w),C):B(w)}function D(w){return w===null||Le(w)?(e.exit("htmlFlowData"),W(w)):(e.consume(w),D)}function W(w){return e.exit("htmlFlow"),t(w)}}function JM(e,t,n){const r=this;return i;function i(o){return Le(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):n(o)}function a(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function eD(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt($d,t,n)}}const tD={name:"htmlText",tokenize:nD};function nD(e,t,n){const r=this;let i,a,o;return u;function u(C){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(C),s}function s(C){return C===33?(e.consume(C),l):C===47?(e.consume(C),x):C===63?(e.consume(C),E):Mr(C)?(e.consume(C),R):n(C)}function l(C){return C===45?(e.consume(C),c):C===91?(e.consume(C),a=0,y):Mr(C)?(e.consume(C),g):n(C)}function c(C){return C===45?(e.consume(C),m):n(C)}function d(C){return C===null?n(C):C===45?(e.consume(C),h):Le(C)?(o=d,L(C)):(e.consume(C),d)}function h(C){return C===45?(e.consume(C),m):d(C)}function m(C){return C===62?H(C):C===45?h(C):d(C)}function y(C){const D="CDATA[";return C===D.charCodeAt(a++)?(e.consume(C),a===D.length?b:y):n(C)}function b(C){return C===null?n(C):C===93?(e.consume(C),T):Le(C)?(o=b,L(C)):(e.consume(C),b)}function T(C){return C===93?(e.consume(C),v):b(C)}function v(C){return C===62?H(C):C===93?(e.consume(C),v):b(C)}function g(C){return C===null||C===62?H(C):Le(C)?(o=g,L(C)):(e.consume(C),g)}function E(C){return C===null?n(C):C===63?(e.consume(C),_):Le(C)?(o=E,L(C)):(e.consume(C),E)}function _(C){return C===62?H(C):E(C)}function x(C){return Mr(C)?(e.consume(C),S):n(C)}function S(C){return C===45||Hn(C)?(e.consume(C),S):I(C)}function I(C){return Le(C)?(o=I,L(C)):tt(C)?(e.consume(C),I):H(C)}function R(C){return C===45||Hn(C)?(e.consume(C),R):C===47||C===62||Sn(C)?O(C):n(C)}function O(C){return C===47?(e.consume(C),H):C===58||C===95||Mr(C)?(e.consume(C),M):Le(C)?(o=O,L(C)):tt(C)?(e.consume(C),O):H(C)}function M(C){return C===45||C===46||C===58||C===95||Hn(C)?(e.consume(C),M):F(C)}function F(C){return C===61?(e.consume(C),B):Le(C)?(o=F,L(C)):tt(C)?(e.consume(C),F):O(C)}function B(C){return C===null||C===60||C===61||C===62||C===96?n(C):C===34||C===39?(e.consume(C),i=C,z):Le(C)?(o=B,L(C)):tt(C)?(e.consume(C),B):(e.consume(C),U)}function z(C){return C===i?(e.consume(C),i=void 0,G):C===null?n(C):Le(C)?(o=z,L(C)):(e.consume(C),z)}function U(C){return C===null||C===34||C===39||C===60||C===61||C===96?n(C):C===47||C===62||Sn(C)?O(C):(e.consume(C),U)}function G(C){return C===47||C===62||Sn(C)?O(C):n(C)}function H(C){return C===62?(e.consume(C),e.exit("htmlTextData"),e.exit("htmlText"),t):n(C)}function L(C){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),P}function P(C){return tt(C)?lt(e,$,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):$(C)}function $(C){return e.enter("htmlTextData"),o(C)}}const Kp={name:"labelEnd",tokenize:sD,resolveTo:uD,resolveAll:oD},rD={tokenize:lD},iD={tokenize:cD},aD={tokenize:dD};function oD(e){let t=-1;for(;++t=3&&(l===null||Le(l))?(e.exit("thematicBreak"),t(l)):n(l)}function s(l){return l===i?(e.consume(l),r++,s):(e.exit("thematicBreakSequence"),tt(l)?lt(e,u,"whitespace")(l):u(l))}}const vn={name:"list",tokenize:bD,continuation:{tokenize:TD},exit:SD},ED={tokenize:_D,partial:!0},yD={tokenize:CD,partial:!0};function bD(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return u;function u(m){const y=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:um(m)){if(r.containerState.type||(r.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(nc,n,l)(m):l(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(m)}return n(m)}function s(m){return um(m)&&++o<10?(e.consume(m),s):(!r.interrupt||o<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),l(m)):n(m)}function l(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check($d,r.interrupt?n:c,e.attempt(ED,h,d))}function c(m){return r.containerState.initialBlankLine=!0,a++,h(m)}function d(m){return tt(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),h):n(m)}function h(m){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function TD(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check($d,i,a);function i(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,lt(e,t,"listItemIndent",r.containerState.size+1)(u)}function a(u){return r.containerState.furtherBlankLines||!tt(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(yD,t,o)(u))}function o(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,lt(e,e.attempt(vn,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function CD(e,t,n){const r=this;return lt(e,i,"listItemIndent",r.containerState.size+1);function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(a):n(a)}}function SD(e){e.exit(this.containerState.type)}function _D(e,t,n){const r=this;return lt(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function i(a){const o=r.events[r.events.length-1];return!tt(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const xE={name:"setextUnderline",tokenize:AD,resolveTo:xD};function xD(e,t){let n=e.length,r,i,a;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),!a&&e[n][1].type==="definition"&&(a=n);const o={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[a][1].end)):e[r][1]=o,e.push(["exit",o,t]),e}function AD(e,t,n){const r=this;let i;return a;function a(l){let c=r.events.length,d;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){d=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(e.enter("setextHeadingLine"),i=l,o(l)):n(l)}function o(l){return e.enter("setextHeadingLineSequence"),u(l)}function u(l){return l===i?(e.consume(l),u):(e.exit("setextHeadingLineSequence"),tt(l)?lt(e,s,"lineSuffix")(l):s(l))}function s(l){return l===null||Le(l)?(e.exit("setextHeadingLine"),t(l)):n(l)}}const wD={tokenize:ID};function ID(e){const t=this,n=e.attempt($d,r,e.attempt(this.parser.constructs.flowInitial,i,lt(e,e.attempt(this.parser.constructs.flow,i,e.attempt(LM,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const ND={resolveAll:IS()},RD=wS("string"),OD=wS("text");function wS(e){return{tokenize:t,resolveAll:IS(e==="text"?PD:void 0)};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,o,u);return o;function o(c){return l(c)?a(c):u(c)}function u(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),s}function s(c){return l(c)?(n.exit("data"),a(c)):(n.consume(c),s)}function l(c){if(c===null)return!0;const d=i[c];let h=-1;if(d)for(;++h-1){const u=o[0];typeof u=="string"?o[0]=u.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function MD(e,t){let n=-1;const r=[];let i;for(;++n0){const Xe=Ce.tokenStack[Ce.tokenStack.length-1];(Xe[1]||wE).call(Ce,void 0,Xe[0])}for(ie.position={start:Ei(Y.length>0?Y[0][1].start:{line:1,column:1,offset:0}),end:Ei(Y.length>0?Y[Y.length-2][1].end:{line:1,column:1,offset:0})},he=-1;++he1?"-"+u:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,s);const l={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,l),e.applyData(t,l)}function sF(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 lF(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function OS(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),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}function cF(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return OS(e,t);const i={src:Uo(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function dF(e,t){const n={src:Uo(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 fF(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 hF(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return OS(e,t);const i={href:Uo(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function mF(e,t){const n={href:Uo(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 pF(e,t,n){const r=e.all(t),i=n?gF(n):PS(t),a={},o=[];if(typeof t.checked=="boolean"){const c=r[0];let d;c&&c.type==="element"&&c.tagName==="p"?d=c:(d={type:"element",tagName:"p",properties:{},children:[]},r.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let u=-1;for(;++u1:t}function vF(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 o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},u=zr(t.children[1]),s=Ud(t.children[t.children.length-1]);u&&s&&(o.position={start:u,end:s}),i.push(o)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function CF(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,u=o?o.length:t.children.length;let s=-1;const l=[];for(;++s0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(RE(t.slice(i),i>0,!1)),a.join("")}function RE(e,t,n){let r=0,i=e.length;if(t){let a=e.codePointAt(r);for(;a===IE||a===NE;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(i-1);for(;a===IE||a===NE;)i--,a=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function xF(e,t){const n={type:"text",value:_F(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function AF(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const wF={blockquote:nF,break:rF,code:iF,delete:aF,emphasis:oF,footnoteReference:uF,heading:sF,html:lF,imageReference:cF,image:dF,inlineCode:fF,linkReference:hF,link:mF,listItem:pF,list:vF,paragraph:EF,root:yF,strong:bF,table:TF,tableCell:SF,tableRow:CF,text:xF,thematicBreak:AF,toml:Nl,yaml:Nl,definition:Nl,footnoteDefinition:Nl};function Nl(){}const LS=-1,zd=0,jc=1,Vc=2,Qp=3,Xp=4,Zp=5,Jp=6,kS=7,MS=8,OE=typeof self=="object"?self:globalThis,IF=(e,t)=>{const n=(i,a)=>(e.set(a,i),i),r=i=>{if(e.has(i))return e.get(i);const[a,o]=t[i];switch(a){case zd:case LS:return n(o,i);case jc:{const u=n([],i);for(const s of o)u.push(r(s));return u}case Vc:{const u=n({},i);for(const[s,l]of o)u[r(s)]=r(l);return u}case Qp:return n(new Date(o),i);case Xp:{const{source:u,flags:s}=o;return n(new RegExp(u,s),i)}case Zp:{const u=n(new Map,i);for(const[s,l]of o)u.set(r(s),r(l));return u}case Jp:{const u=n(new Set,i);for(const s of o)u.add(r(s));return u}case kS:{const{name:u,message:s}=o;return n(new OE[u](s),i)}case MS:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i)}return n(new OE[a](o),i)};return r},PE=e=>IF(new Map,e)(0),ja="",{toString:NF}={},{keys:RF}=Object,ou=e=>{const t=typeof e;if(t!=="object"||!e)return[zd,t];const n=NF.call(e).slice(8,-1);switch(n){case"Array":return[jc,ja];case"Object":return[Vc,ja];case"Date":return[Qp,ja];case"RegExp":return[Xp,ja];case"Map":return[Zp,ja];case"Set":return[Jp,ja]}return n.includes("Array")?[jc,n]:n.includes("Error")?[kS,n]:[Vc,n]},Rl=([e,t])=>e===zd&&(t==="function"||t==="symbol"),OF=(e,t,n,r)=>{const i=(o,u)=>{const s=r.push(o)-1;return n.set(u,s),s},a=o=>{if(n.has(o))return n.get(o);let[u,s]=ou(o);switch(u){case zd:{let c=o;switch(s){case"bigint":u=MS,c=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);c=null;break;case"undefined":return i([LS],o)}return i([u,c],o)}case jc:{if(s)return i([s,[...o]],o);const c=[],d=i([u,c],o);for(const h of o)c.push(a(h));return d}case Vc:{if(s)switch(s){case"BigInt":return i([s,o.toString()],o);case"Boolean":case"Number":case"String":return i([s,o.valueOf()],o)}if(t&&"toJSON"in o)return a(o.toJSON());const c=[],d=i([u,c],o);for(const h of RF(o))(e||!Rl(ou(o[h])))&&c.push([a(h),a(o[h])]);return d}case Qp:return i([u,o.toISOString()],o);case Xp:{const{source:c,flags:d}=o;return i([u,{source:c,flags:d}],o)}case Zp:{const c=[],d=i([u,c],o);for(const[h,m]of o)(e||!(Rl(ou(h))||Rl(ou(m))))&&c.push([a(h),a(m)]);return d}case Jp:{const c=[],d=i([u,c],o);for(const h of o)(e||!Rl(ou(h)))&&c.push(a(h));return d}}const{message:l}=o;return i([u,{name:s,message:l}],o)};return a},LE=(e,{json:t,lossy:n}={})=>{const r=[];return OF(!(t||n),!!t,new Map,r)(e),r},Ro=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?PE(LE(e,t)):structuredClone(e):(e,t)=>PE(LE(e,t));function PF(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function LF(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function kF(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||PF,r=e.options.footnoteBackLabel||LF,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},u=[];let s=-1;for(;++s0&&y.push({type:"text",value:" "});let g=typeof n=="string"?n:n(s,m);typeof g=="string"&&(g={type:"text",value:g}),y.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+h+(m>1?"-"+m:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(s,m),className:["data-footnote-backref"]},children:Array.isArray(g)?g:[g]})}const T=c[c.length-1];if(T&&T.type==="element"&&T.tagName==="p"){const g=T.children[T.children.length-1];g&&g.type==="text"?g.value+=" ":T.children.push({type:"text",value:" "}),T.children.push(...y)}else c.push(...y);const v={type:"element",tagName:"li",properties:{id:t+"fn-"+h},children:e.wrap(c,!0)};e.patch(l,v),u.push(v)}if(u.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...Ro(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(u,!0)},{type:"text",value:"\n"}]}}const DS=function(e){if(e==null)return BF;if(typeof e=="function")return jd(e);if(typeof e=="object")return Array.isArray(e)?MF(e):DF(e);if(typeof e=="string")return FF(e);throw new Error("Expected function, string, or object as test")};function MF(e){const t=[];let n=-1;for(;++n":""))+")"})}return h;function h(){let m=FS,y,b,T;if((!t||a(s,l,c[c.length-1]||void 0))&&(m=jF(n(s,c)),m[0]===kE))return m;if("children"in s&&s.children){const v=s;if(v.children&&m[0]!==$F)for(b=(r?v.children.length:-1)+o,T=c.concat(v);b>-1&&b0&&n.push({type:"text",value:"\n"}),n}function ME(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function DE(e,t){const n=WF(e,t),r=n.one(e,void 0),i=kF(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&a.children.push({type:"text",value:"\n"},i),a}function QF(e,t){return e&&"run"in e?async function(n,r){const i=DE(n,{file:r,...t});await e.run(i,r)}:function(n,r){return DE(n,{file:r,...t||e})}}function FE(e){if(e)throw e}var rc=Object.prototype.hasOwnProperty,BS=Object.prototype.toString,BE=Object.defineProperty,HE=Object.getOwnPropertyDescriptor,UE=function(t){return typeof Array.isArray=="function"?Array.isArray(t):BS.call(t)==="[object Array]"},$E=function(t){if(!t||BS.call(t)!=="[object Object]")return!1;var n=rc.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&rc.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||rc.call(t,i)},zE=function(t,n){BE&&n.name==="__proto__"?BE(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},jE=function(t,n){if(n==="__proto__")if(rc.call(t,n)){if(HE)return HE(t,n).value}else return;return t[n]},XF=function e(){var t,n,r,i,a,o,u=arguments[0],s=1,l=arguments.length,c=!1;for(typeof u=="boolean"&&(c=u,u=arguments[1]||{},s=2),(u==null||typeof u!="object"&&typeof u!="function")&&(u={});so.length;let s;u&&o.push(i);try{s=e.apply(this,o)}catch(l){const c=l;if(u&&n)throw c;return i(c)}u||(s&&s.then&&typeof s.then=="function"?s.then(a,i):s instanceof Error?i(s):a(s))}function i(o,...u){n||(n=!0,t(o,...u))}function a(o){i(null,o)}}const Lr={basename:e9,dirname:t9,extname:n9,join:r9,sep:"/"};function e9(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Us(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,u=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),u>-1&&(e.codePointAt(i)===t.codePointAt(u--)?u<0&&(r=i):(u=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function t9(e){if(Us(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function n9(e){Us(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){const u=e.codePointAt(t);if(u===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),u===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function r9(...e){let t=-1,n;for(;++t0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function a9(e,t){let n="",r=0,i=-1,a=0,o=-1,u,s;for(;++o<=e.length;){if(o2){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=o,a=0;continue}}else if(n.length>0){n="",r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else u===46&&a>-1?a++:a=-1}return n}function Us(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const o9={cwd:u9};function u9(){return"/"}function dm(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function s9(e){if(typeof e=="string")e=new URL(e);else if(!dm(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 l9(e)}function l9(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(;++n0){let[m,...y]=c;const b=r[h][1];cm(b)&&cm(m)&&(m=c0(!0,b,m)),r[h]=[l,m,...y]}}}}const h9=new tg().freeze();function m0(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function p0(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function g0(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 WE(e){if(!cm(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function YE(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Ol(e){return m9(e)?e:new HS(e)}function m9(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function p9(e){return typeof e=="string"||g9(e)}function g9(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const v9="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",qE=[],GE={allowDangerousHtml:!0},E9=/^(https?|ircs?|mailto|xmpp)$/i,y9=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function uu(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",i=e.className,a=e.components,o=e.disallowedElements,u=e.rehypePlugins||qE,s=e.remarkPlugins||qE,l=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...GE}:GE,c=e.skipHtml,d=e.unwrapDisallowed,h=e.urlTransform||b9,m=h9().use(tF).use(s).use(QF,l).use(u),y=new HS;typeof r=="string"&&(y.value=r);for(const g of y9)Object.hasOwn(e,g.from)&&(""+g.from+(g.to?"use `"+g.to+"` instead":"remove it")+v9+g.id,void 0);const b=m.parse(y);let T=m.runSync(b,y);return i&&(T={type:"element",tagName:"div",properties:{className:i},children:T.type==="root"?T.children:[T]}),eg(T,v),L5(T,{Fragment:Ya,components:a,ignoreInvalidStyle:!0,jsx:ye,jsxs:ot,passKeys:!0,passNode:!0});function v(g,E,_){if(g.type==="raw"&&_&&typeof E=="number")return c?_.children.splice(E,1):_.children[E]={type:"text",value:g.value},E;if(g.type==="element"){let x;for(x in u0)if(Object.hasOwn(u0,x)&&Object.hasOwn(g.properties,x)){const S=g.properties[x],I=u0[x];(I===null||I.includes(g.tagName))&&(g.properties[x]=h(String(S||""),x,g))}}if(g.type==="element"){let x=t?!t.includes(g.tagName):o?o.includes(g.tagName):!1;if(!x&&n&&typeof E=="number"&&(x=!n(g,E,_)),x&&_&&typeof E=="number")return d&&g.children?_.children.splice(E,1,...g.children):_.children.splice(E,1),E}}}function b9(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t<0||i>-1&&t>i||n>-1&&t>n||r>-1&&t>r||E9.test(e.slice(0,t))?e:""}const T9="/assets/show-right-icon-12c14da5.png",KE=/[#.]/g;function C9(e,t){const n=e||"",r={};let i=0,a,o;for(;i-1&&aa)return{line:o+1,column:a-(o>0?n[o-1]:0)+1,offset:a}}}function i(a){const o=a&&a.line,u=a&&a.column;if(typeof o=="number"&&typeof u=="number"&&!Number.isNaN(o)&&!Number.isNaN(u)&&o-1 in n){const s=(n[o-2]||0)+u-1||0;if(s>-1&&s=55296&&e<=57343}function G9(e){return e>=56320&&e<=57343}function K9(e,t){return(e-55296)*1024+9216+t}function YS(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function qS(e){return e>=64976&&e<=65007||q9.has(e)}var q;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(q=q||(q={}));const Q9=65536;class X9{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Q9,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t){const{line:n,col:r,offset:i}=this;return{code:t,startLine:n,endLine:n,startCol:r,endCol:r,startOffset:i,endOffset:i}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(G9(n))return this.pos++,this._addGap(),K9(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,A.EOF;return this._err(q.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,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.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,A.EOF;const r=this.html.charCodeAt(n);return r===A.CARRIAGE_RETURN?A.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,A.EOF;let t=this.html.charCodeAt(this.pos);return t===A.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,A.LINE_FEED):t===A.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,WS(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===A.LINE_FEED||t===A.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){YS(t)?this._err(q.controlCharacterInInputStream):qS(t)&&this._err(q.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const bi=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ��es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁ���;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ���atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Z9=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var E0;const J9=new Map([[0,65533],[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]]),eB=(E0=String.fromCodePoint)!==null&&E0!==void 0?E0:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function tB(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=J9.get(e))!==null&&t!==void 0?t:e}var $t;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})($t||($t={}));const nB=32;var Fr;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Fr||(Fr={}));function mm(e){return e>=$t.ZERO&&e<=$t.NINE}function rB(e){return e>=$t.UPPER_A&&e<=$t.UPPER_F||e>=$t.LOWER_A&&e<=$t.LOWER_F}function iB(e){return e>=$t.UPPER_A&&e<=$t.UPPER_Z||e>=$t.LOWER_A&&e<=$t.LOWER_Z||mm(e)}function aB(e){return e===$t.EQUALS||iB(e)}var Ht;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Ht||(Ht={}));var aa;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(aa||(aa={}));class oB{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Ht.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=aa.Strict}startEntity(t){this.decodeMode=t,this.state=Ht.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Ht.EntityStart:return t.charCodeAt(n)===$t.NUM?(this.state=Ht.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Ht.NamedEntity,this.stateNamedEntity(t,n));case Ht.NumericStart:return this.stateNumericStart(t,n);case Ht.NumericDecimal:return this.stateNumericDecimal(t,n);case Ht.NumericHex:return this.stateNumericHex(t,n);case Ht.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|nB)===$t.LOWER_X?(this.state=Ht.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Ht.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const a=r-n;this.result=this.result*Math.pow(i,a)+parseInt(t.substr(n,a),i),this.consumed+=a}}stateNumericHex(t,n){const r=n;for(;n>14;for(;n>14,a!==0){if(o===$t.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==aa.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&Fr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~Fr.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case Ht.NamedEntity:return this.result!==0&&(this.decodeMode!==aa.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Ht.NumericDecimal:return this.emitNumericEntity(0,2);case Ht.NumericHex:return this.emitNumericEntity(0,3);case Ht.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ht.EntityStart:return 0}}}function KS(e){let t="";const n=new oB(e,r=>t+=eB(r));return function(i,a){let o=0,u=0;for(;(u=i.indexOf("&",u))>=0;){t+=i.slice(o,u),n.startEntity(a);const l=n.write(i,u+1);if(l<0){o=u+n.end();break}o=u+l,u=l===0?o+1:o}const s=t+i.slice(o);return t="",s}}function QS(e,t,n,r){const i=(t&Fr.BRANCH_LENGTH)>>7,a=t&Fr.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){const s=r-a;return s<0||s>=i?-1:e[n+s]-1}let o=n,u=o+i-1;for(;o<=u;){const s=o+u>>>1,l=e[s];if(lr)u=s-1;else return e[s+i]}return-1}KS(bi);KS(Z9);var Q;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(Q=Q||(Q={}));var Ui;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(Ui=Ui||(Ui={}));var Mn;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Mn=Mn||(Mn={}));var j;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(j=j||(j={}));var f;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SECTION=94]="SECTION",e[e.SELECT=95]="SELECT",e[e.SOURCE=96]="SOURCE",e[e.SMALL=97]="SMALL",e[e.SPAN=98]="SPAN",e[e.STRIKE=99]="STRIKE",e[e.STRONG=100]="STRONG",e[e.STYLE=101]="STYLE",e[e.SUB=102]="SUB",e[e.SUMMARY=103]="SUMMARY",e[e.SUP=104]="SUP",e[e.TABLE=105]="TABLE",e[e.TBODY=106]="TBODY",e[e.TEMPLATE=107]="TEMPLATE",e[e.TEXTAREA=108]="TEXTAREA",e[e.TFOOT=109]="TFOOT",e[e.TD=110]="TD",e[e.TH=111]="TH",e[e.THEAD=112]="THEAD",e[e.TITLE=113]="TITLE",e[e.TR=114]="TR",e[e.TRACK=115]="TRACK",e[e.TT=116]="TT",e[e.U=117]="U",e[e.UL=118]="UL",e[e.SVG=119]="SVG",e[e.VAR=120]="VAR",e[e.WBR=121]="WBR",e[e.XMP=122]="XMP"})(f=f||(f={}));const uB=new Map([[j.A,f.A],[j.ADDRESS,f.ADDRESS],[j.ANNOTATION_XML,f.ANNOTATION_XML],[j.APPLET,f.APPLET],[j.AREA,f.AREA],[j.ARTICLE,f.ARTICLE],[j.ASIDE,f.ASIDE],[j.B,f.B],[j.BASE,f.BASE],[j.BASEFONT,f.BASEFONT],[j.BGSOUND,f.BGSOUND],[j.BIG,f.BIG],[j.BLOCKQUOTE,f.BLOCKQUOTE],[j.BODY,f.BODY],[j.BR,f.BR],[j.BUTTON,f.BUTTON],[j.CAPTION,f.CAPTION],[j.CENTER,f.CENTER],[j.CODE,f.CODE],[j.COL,f.COL],[j.COLGROUP,f.COLGROUP],[j.DD,f.DD],[j.DESC,f.DESC],[j.DETAILS,f.DETAILS],[j.DIALOG,f.DIALOG],[j.DIR,f.DIR],[j.DIV,f.DIV],[j.DL,f.DL],[j.DT,f.DT],[j.EM,f.EM],[j.EMBED,f.EMBED],[j.FIELDSET,f.FIELDSET],[j.FIGCAPTION,f.FIGCAPTION],[j.FIGURE,f.FIGURE],[j.FONT,f.FONT],[j.FOOTER,f.FOOTER],[j.FOREIGN_OBJECT,f.FOREIGN_OBJECT],[j.FORM,f.FORM],[j.FRAME,f.FRAME],[j.FRAMESET,f.FRAMESET],[j.H1,f.H1],[j.H2,f.H2],[j.H3,f.H3],[j.H4,f.H4],[j.H5,f.H5],[j.H6,f.H6],[j.HEAD,f.HEAD],[j.HEADER,f.HEADER],[j.HGROUP,f.HGROUP],[j.HR,f.HR],[j.HTML,f.HTML],[j.I,f.I],[j.IMG,f.IMG],[j.IMAGE,f.IMAGE],[j.INPUT,f.INPUT],[j.IFRAME,f.IFRAME],[j.KEYGEN,f.KEYGEN],[j.LABEL,f.LABEL],[j.LI,f.LI],[j.LINK,f.LINK],[j.LISTING,f.LISTING],[j.MAIN,f.MAIN],[j.MALIGNMARK,f.MALIGNMARK],[j.MARQUEE,f.MARQUEE],[j.MATH,f.MATH],[j.MENU,f.MENU],[j.META,f.META],[j.MGLYPH,f.MGLYPH],[j.MI,f.MI],[j.MO,f.MO],[j.MN,f.MN],[j.MS,f.MS],[j.MTEXT,f.MTEXT],[j.NAV,f.NAV],[j.NOBR,f.NOBR],[j.NOFRAMES,f.NOFRAMES],[j.NOEMBED,f.NOEMBED],[j.NOSCRIPT,f.NOSCRIPT],[j.OBJECT,f.OBJECT],[j.OL,f.OL],[j.OPTGROUP,f.OPTGROUP],[j.OPTION,f.OPTION],[j.P,f.P],[j.PARAM,f.PARAM],[j.PLAINTEXT,f.PLAINTEXT],[j.PRE,f.PRE],[j.RB,f.RB],[j.RP,f.RP],[j.RT,f.RT],[j.RTC,f.RTC],[j.RUBY,f.RUBY],[j.S,f.S],[j.SCRIPT,f.SCRIPT],[j.SECTION,f.SECTION],[j.SELECT,f.SELECT],[j.SOURCE,f.SOURCE],[j.SMALL,f.SMALL],[j.SPAN,f.SPAN],[j.STRIKE,f.STRIKE],[j.STRONG,f.STRONG],[j.STYLE,f.STYLE],[j.SUB,f.SUB],[j.SUMMARY,f.SUMMARY],[j.SUP,f.SUP],[j.TABLE,f.TABLE],[j.TBODY,f.TBODY],[j.TEMPLATE,f.TEMPLATE],[j.TEXTAREA,f.TEXTAREA],[j.TFOOT,f.TFOOT],[j.TD,f.TD],[j.TH,f.TH],[j.THEAD,f.THEAD],[j.TITLE,f.TITLE],[j.TR,f.TR],[j.TRACK,f.TRACK],[j.TT,f.TT],[j.U,f.U],[j.UL,f.UL],[j.SVG,f.SVG],[j.VAR,f.VAR],[j.WBR,f.WBR],[j.XMP,f.XMP]]);function zo(e){var t;return(t=uB.get(e))!==null&&t!==void 0?t:f.UNKNOWN}const te=f,sB={[Q.HTML]:new Set([te.ADDRESS,te.APPLET,te.AREA,te.ARTICLE,te.ASIDE,te.BASE,te.BASEFONT,te.BGSOUND,te.BLOCKQUOTE,te.BODY,te.BR,te.BUTTON,te.CAPTION,te.CENTER,te.COL,te.COLGROUP,te.DD,te.DETAILS,te.DIR,te.DIV,te.DL,te.DT,te.EMBED,te.FIELDSET,te.FIGCAPTION,te.FIGURE,te.FOOTER,te.FORM,te.FRAME,te.FRAMESET,te.H1,te.H2,te.H3,te.H4,te.H5,te.H6,te.HEAD,te.HEADER,te.HGROUP,te.HR,te.HTML,te.IFRAME,te.IMG,te.INPUT,te.LI,te.LINK,te.LISTING,te.MAIN,te.MARQUEE,te.MENU,te.META,te.NAV,te.NOEMBED,te.NOFRAMES,te.NOSCRIPT,te.OBJECT,te.OL,te.P,te.PARAM,te.PLAINTEXT,te.PRE,te.SCRIPT,te.SECTION,te.SELECT,te.SOURCE,te.STYLE,te.SUMMARY,te.TABLE,te.TBODY,te.TD,te.TEMPLATE,te.TEXTAREA,te.TFOOT,te.TH,te.THEAD,te.TITLE,te.TR,te.TRACK,te.UL,te.WBR,te.XMP]),[Q.MATHML]:new Set([te.MI,te.MO,te.MN,te.MS,te.MTEXT,te.ANNOTATION_XML]),[Q.SVG]:new Set([te.TITLE,te.FOREIGN_OBJECT,te.DESC]),[Q.XLINK]:new Set,[Q.XML]:new Set,[Q.XMLNS]:new Set};function XS(e){return e===te.H1||e===te.H2||e===te.H3||e===te.H4||e===te.H5||e===te.H6}j.STYLE,j.SCRIPT,j.XMP,j.IFRAME,j.NOEMBED,j.NOFRAMES,j.PLAINTEXT;const lB=new Map([[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]]);var N;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",e[e.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",e[e.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",e[e.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",e[e.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"})(N||(N={}));const xt={DATA:N.DATA,RCDATA:N.RCDATA,RAWTEXT:N.RAWTEXT,SCRIPT_DATA:N.SCRIPT_DATA,PLAINTEXT:N.PLAINTEXT,CDATA_SECTION:N.CDATA_SECTION};function Pu(e){return e>=A.DIGIT_0&&e<=A.DIGIT_9}function gu(e){return e>=A.LATIN_CAPITAL_A&&e<=A.LATIN_CAPITAL_Z}function cB(e){return e>=A.LATIN_SMALL_A&&e<=A.LATIN_SMALL_Z}function Ti(e){return cB(e)||gu(e)}function pm(e){return Ti(e)||Pu(e)}function ZS(e){return e>=A.LATIN_CAPITAL_A&&e<=A.LATIN_CAPITAL_F}function JS(e){return e>=A.LATIN_SMALL_A&&e<=A.LATIN_SMALL_F}function dB(e){return Pu(e)||ZS(e)||JS(e)}function Pl(e){return e+32}function e_(e){return e===A.SPACE||e===A.LINE_FEED||e===A.TABULATION||e===A.FORM_FEED}function fB(e){return e===A.EQUALS_SIGN||pm(e)}function JE(e){return e_(e)||e===A.SOLIDUS||e===A.GREATER_THAN_SIGN}class hB{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=N.DATA,this.returnState=N.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new X9(n),this.currentLocation=this.getCurrentLocation(-1)}_err(t){var n,r;(r=(n=this.handler).onParseError)===null||r===void 0||r.call(n,this.preprocessor.getError(t))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(t){this.consumedAfterSnapshot-=t,this.preprocessor.retreat(t)}_reconsumeInState(t,n){this.state=t,this._callState(n)}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n0&&this._err(q.endTagWithAttributes),t.selfClosing&&this._err(q.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case Ve.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Ve.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Ve.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:Ve.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==t)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=n;return}this._createCharacterToken(t,n)}_emitCodePoint(t){const n=e_(t)?Ve.WHITESPACE_CHARACTER:t===A.NULL?Ve.NULL_CHARACTER:Ve.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Ve.CHARACTER,t)}_matchNamedCharacterReference(t){let n=null,r=0,i=!1;for(let a=0,o=bi[0];a>=0&&(a=QS(bi,o,a+1,t),!(a<0));t=this._consume()){r+=1,o=bi[a];const u=o&Fr.VALUE_LENGTH;if(u){const s=(u>>14)-1;if(t!==A.SEMICOLON&&this._isCharacterReferenceInAttribute()&&fB(this.preprocessor.peek(1))?(n=[A.AMPERSAND],a+=s):(n=s===0?[bi[a]&~Fr.VALUE_LENGTH]:s===1?[bi[++a]]:[bi[++a],bi[++a]],r=0,i=t!==A.SEMICOLON),s===0){this._consume();break}}}return this._unconsume(r),i&&!this.preprocessor.endOfChunkHit&&this._err(q.missingSemicolonAfterCharacterReference),this._unconsume(1),n}_isCharacterReferenceInAttribute(){return this.returnState===N.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===N.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===N.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case N.DATA:{this._stateData(t);break}case N.RCDATA:{this._stateRcdata(t);break}case N.RAWTEXT:{this._stateRawtext(t);break}case N.SCRIPT_DATA:{this._stateScriptData(t);break}case N.PLAINTEXT:{this._statePlaintext(t);break}case N.TAG_OPEN:{this._stateTagOpen(t);break}case N.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case N.TAG_NAME:{this._stateTagName(t);break}case N.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case N.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case N.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case N.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case N.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case N.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case N.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case N.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case N.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case N.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case N.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case N.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case N.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case N.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case N.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case N.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case N.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case N.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case N.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case N.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case N.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case N.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case N.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case N.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case N.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case N.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case N.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case N.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case N.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case N.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case N.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case N.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case N.BOGUS_COMMENT:{this._stateBogusComment(t);break}case N.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case N.COMMENT_START:{this._stateCommentStart(t);break}case N.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case N.COMMENT:{this._stateComment(t);break}case N.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case N.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case N.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case N.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case N.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case N.COMMENT_END:{this._stateCommentEnd(t);break}case N.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case N.DOCTYPE:{this._stateDoctype(t);break}case N.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case N.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case N.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case N.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case N.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case N.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case N.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case N.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case N.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case N.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case N.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case N.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case N.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case N.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case N.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case N.CDATA_SECTION:{this._stateCdataSection(t);break}case N.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case N.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case N.CHARACTER_REFERENCE:{this._stateCharacterReference(t);break}case N.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(t);break}case N.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}case N.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(t);break}case N.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(t);break}case N.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(t);break}case N.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(t);break}case N.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case A.LESS_THAN_SIGN:{this.state=N.TAG_OPEN;break}case A.AMPERSAND:{this.returnState=N.DATA,this.state=N.CHARACTER_REFERENCE;break}case A.NULL:{this._err(q.unexpectedNullCharacter),this._emitCodePoint(t);break}case A.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case A.AMPERSAND:{this.returnState=N.RCDATA,this.state=N.CHARACTER_REFERENCE;break}case A.LESS_THAN_SIGN:{this.state=N.RCDATA_LESS_THAN_SIGN;break}case A.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(mt);break}case A.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case A.LESS_THAN_SIGN:{this.state=N.RAWTEXT_LESS_THAN_SIGN;break}case A.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(mt);break}case A.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case A.LESS_THAN_SIGN:{this.state=N.SCRIPT_DATA_LESS_THAN_SIGN;break}case A.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(mt);break}case A.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case A.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(mt);break}case A.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Ti(t))this._createStartTagToken(),this.state=N.TAG_NAME,this._stateTagName(t);else switch(t){case A.EXCLAMATION_MARK:{this.state=N.MARKUP_DECLARATION_OPEN;break}case A.SOLIDUS:{this.state=N.END_TAG_OPEN;break}case A.QUESTION_MARK:{this._err(q.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=N.BOGUS_COMMENT,this._stateBogusComment(t);break}case A.EOF:{this._err(q.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(q.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=N.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Ti(t))this._createEndTagToken(),this.state=N.TAG_NAME,this._stateTagName(t);else switch(t){case A.GREATER_THAN_SIGN:{this._err(q.missingEndTagName),this.state=N.DATA;break}case A.EOF:{this._err(q.eofBeforeTagName),this._emitChars("");break}case A.NULL:{this._err(q.unexpectedNullCharacter),this.state=N.SCRIPT_DATA_ESCAPED,this._emitChars(mt);break}case A.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=N.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===A.SOLIDUS?this.state=N.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Ti(t)?(this._emitChars("<"),this.state=N.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=N.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Ti(t)?(this.state=N.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("");break}case A.NULL:{this._err(q.unexpectedNullCharacter),this.state=N.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(mt);break}case A.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=N.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===A.SOLIDUS?(this.state=N.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=N.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(gn.SCRIPT,!1)&&JE(this.preprocessor.peek(gn.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n1114111)this._err(q.characterReferenceOutsideUnicodeRange),this.charRefCode=A.REPLACEMENT_CHARACTER;else if(WS(this.charRefCode))this._err(q.surrogateCharacterReference),this.charRefCode=A.REPLACEMENT_CHARACTER;else if(qS(this.charRefCode))this._err(q.noncharacterCharacterReference);else if(YS(this.charRefCode)||this.charRefCode===A.CARRIAGE_RETURN){this._err(q.controlCharacterReference);const n=lB.get(this.charRefCode);n!==void 0&&(this.charRefCode=n)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,t)}}const t_=new Set([f.DD,f.DT,f.LI,f.OPTGROUP,f.OPTION,f.P,f.RB,f.RP,f.RT,f.RTC]),ey=new Set([...t_,f.CAPTION,f.COLGROUP,f.TBODY,f.TD,f.TFOOT,f.TH,f.THEAD,f.TR]),Ll=new Map([[f.APPLET,Q.HTML],[f.CAPTION,Q.HTML],[f.HTML,Q.HTML],[f.MARQUEE,Q.HTML],[f.OBJECT,Q.HTML],[f.TABLE,Q.HTML],[f.TD,Q.HTML],[f.TEMPLATE,Q.HTML],[f.TH,Q.HTML],[f.ANNOTATION_XML,Q.MATHML],[f.MI,Q.MATHML],[f.MN,Q.MATHML],[f.MO,Q.MATHML],[f.MS,Q.MATHML],[f.MTEXT,Q.MATHML],[f.DESC,Q.SVG],[f.FOREIGN_OBJECT,Q.SVG],[f.TITLE,Q.SVG]]),mB=[f.H1,f.H2,f.H3,f.H4,f.H5,f.H6],pB=[f.TR,f.TEMPLATE,f.HTML],gB=[f.TBODY,f.TFOOT,f.THEAD,f.TEMPLATE,f.HTML],vB=[f.TABLE,f.TEMPLATE,f.HTML],EB=[f.TD,f.TH];class yB{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=f.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===f.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Q.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const i=this._indexOf(t)+1;this.items.splice(i,0,n),this.tagIDs.splice(i,0,r),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,i===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==Q.HTML);this.shortenToLength(n<0?0:n)}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop=0;r--)if(t.includes(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(vB,Q.HTML)}clearBackToTableBodyContext(){this.clearBackTo(gB,Q.HTML)}clearBackToTableRowContext(){this.clearBackTo(pB,Q.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===f.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===f.HTML}hasInScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Q.HTML)return!0;if(Ll.get(r)===i)return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(XS(n)&&r===Q.HTML)return!0;if(Ll.get(n)===r)return!1}return!0}hasInListItemScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Q.HTML)return!0;if((r===f.UL||r===f.OL)&&i===Q.HTML||Ll.get(r)===i)return!1}return!0}hasInButtonScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Q.HTML)return!0;if(r===f.BUTTON&&i===Q.HTML||Ll.get(r)===i)return!1}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===Q.HTML){if(r===t)return!0;if(r===f.TABLE||r===f.TEMPLATE||r===f.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===Q.HTML){if(n===f.TBODY||n===f.THEAD||n===f.TFOOT)return!0;if(n===f.TABLE||n===f.HTML)return!1}}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===Q.HTML){if(r===t)return!0;if(r!==f.OPTION&&r!==f.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;t_.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ey.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&ey.has(this.currentTagId);)this.pop()}}const y0=3;var Tr;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Tr=Tr||(Tr={}));const ty={type:Tr.Marker};class bB{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],i=n.length,a=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t);for(let u=0;u[o.name,o.value]));let a=0;for(let o=0;oi.get(s.name)===s.value)&&(a+=1,a>=y0&&this.entries.splice(u.idx,1))}}insertMarker(){this.entries.unshift(ty)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Tr.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Tr.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n>=0&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(ty);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Tr.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Tr.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Tr.Element&&n.element===t)}}function ny(e){return{nodeName:"#text",value:e,parentNode:null}}const Wa={createDocument(){return{nodeName:"#document",mode:Mn.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const i=e.childNodes.find(a=>a.nodeName==="#documentType");if(i)i.name=t,i.publicId=n,i.systemId=r;else{const a={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};Wa.appendChild(e,a)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Wa.isTextNode(n)){n.value+=t;return}}Wa.appendChild(e,ny(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Wa.isTextNode(r)?r.value+=t:Wa.insertBefore(e,ny(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;re.startsWith(n))}function AB(e){return e.name===n_&&e.publicId===null&&(e.systemId===null||e.systemId===TB)}function wB(e){if(e.name!==n_)return Mn.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===CB)return Mn.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),_B.has(n))return Mn.QUIRKS;let r=t===null?SB:r_;if(ry(n,r))return Mn.QUIRKS;if(r=t===null?i_:xB,ry(n,r))return Mn.LIMITED_QUIRKS}return Mn.NO_QUIRKS}const iy={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},IB="definitionurl",NB="definitionURL",RB=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),OB=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Q.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Q.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Q.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Q.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Q.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Q.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Q.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:Q.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:Q.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Q.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Q.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Q.XMLNS}]]),PB=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),LB=new Set([f.B,f.BIG,f.BLOCKQUOTE,f.BODY,f.BR,f.CENTER,f.CODE,f.DD,f.DIV,f.DL,f.DT,f.EM,f.EMBED,f.H1,f.H2,f.H3,f.H4,f.H5,f.H6,f.HEAD,f.HR,f.I,f.IMG,f.LI,f.LISTING,f.MENU,f.META,f.NOBR,f.OL,f.P,f.PRE,f.RUBY,f.S,f.SMALL,f.SPAN,f.STRONG,f.STRIKE,f.SUB,f.SUP,f.TABLE,f.TT,f.U,f.UL,f.VAR]);function kB(e){const t=e.tagID;return t===f.FONT&&e.attrs.some(({name:r})=>r===Ui.COLOR||r===Ui.SIZE||r===Ui.FACE)||LB.has(t)}function a_(e){for(let t=0;t0&&this._setContextModes(t,n)}onItemPop(t,n){var r,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(r=this.treeAdapter).onItemPop)===null||i===void 0||i.call(r,t,this.openElements.current),n){let a,o;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,o=this.fragmentContextID):{current:a,currentTagId:o}=this.openElements,this._setContextModes(a,o)}}_setContextModes(t,n){const r=t===this.document||this.treeAdapter.getNamespaceURI(t)===Q.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,Q.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=k.TEXT}switchToPlaintextParsing(){this.insertionMode=k.TEXT,this.originalInsertionMode=k.IN_BODY,this.tokenizer.state=xt.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===j.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Q.HTML))switch(this.fragmentContextID){case f.TITLE:case f.TEXTAREA:{this.tokenizer.state=xt.RCDATA;break}case f.STYLE:case f.XMP:case f.IFRAME:case f.NOEMBED:case f.NOFRAMES:case f.NOSCRIPT:{this.tokenizer.state=xt.RAWTEXT;break}case f.SCRIPT:{this.tokenizer.state=xt.SCRIPT_DATA;break}case f.PLAINTEXT:{this.tokenizer.state=xt.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",i=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,i),t.location){const o=this.treeAdapter.getChildNodes(this.document).find(u=>this.treeAdapter.isDocumentTypeNode(u));o&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,Q.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,Q.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(j.HTML,Q.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,f.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const i=this.treeAdapter.getChildNodes(n),a=r?i.lastIndexOf(r):i.length,o=i[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:s,endCol:l,endOffset:c}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:s,endCol:l,endOffset:c})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,i=this.treeAdapter.getTagName(t),a=n.type===Ve.END_TAG&&i===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,a)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===f.SVG&&this.treeAdapter.getTagName(n)===j.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===Q.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===f.MGLYPH||t.tagID===f.MALIGNMARK)&&!this._isIntegrationPoint(r,n,Q.HTML)}_processToken(t){switch(t.type){case Ve.CHARACTER:{this.onCharacter(t);break}case Ve.NULL_CHARACTER:{this.onNullCharacter(t);break}case Ve.COMMENT:{this.onComment(t);break}case Ve.DOCTYPE:{this.onDoctype(t);break}case Ve.START_TAG:{this._processStartTag(t);break}case Ve.END_TAG:{this.onEndTag(t);break}case Ve.EOF:{this.onEof(t);break}case Ve.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const i=this.treeAdapter.getNamespaceURI(n),a=this.treeAdapter.getAttrList(n);return BB(t,i,a,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(i=>i.type===Tr.Marker||this.openElements.contains(i.element)),r=n<0?t-1:n-1;for(let i=r;i>=0;i--){const a=this.activeFormattingElements.entries[i];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=k.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(f.P),this.openElements.popUntilTagNamePopped(f.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case f.TR:{this.insertionMode=k.IN_ROW;return}case f.TBODY:case f.THEAD:case f.TFOOT:{this.insertionMode=k.IN_TABLE_BODY;return}case f.CAPTION:{this.insertionMode=k.IN_CAPTION;return}case f.COLGROUP:{this.insertionMode=k.IN_COLUMN_GROUP;return}case f.TABLE:{this.insertionMode=k.IN_TABLE;return}case f.BODY:{this.insertionMode=k.IN_BODY;return}case f.FRAMESET:{this.insertionMode=k.IN_FRAMESET;return}case f.SELECT:{this._resetInsertionModeForSelect(t);return}case f.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case f.HTML:{this.insertionMode=this.headElement?k.AFTER_HEAD:k.BEFORE_HEAD;return}case f.TD:case f.TH:{if(t>0){this.insertionMode=k.IN_CELL;return}break}case f.HEAD:{if(t>0){this.insertionMode=k.IN_HEAD;return}break}}this.insertionMode=k.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===f.TEMPLATE)break;if(r===f.TABLE){this.insertionMode=k.IN_SELECT_IN_TABLE;return}}this.insertionMode=k.IN_SELECT}_isElementCausesFosterParenting(t){return u_.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case f.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===Q.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case f.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return sB[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){EH(this,t);return}switch(this.insertionMode){case k.INITIAL:{su(this,t);break}case k.BEFORE_HTML:{Lu(this,t);break}case k.BEFORE_HEAD:{ku(this,t);break}case k.IN_HEAD:{Mu(this,t);break}case k.IN_HEAD_NO_SCRIPT:{Du(this,t);break}case k.AFTER_HEAD:{Fu(this,t);break}case k.IN_BODY:case k.IN_CAPTION:case k.IN_CELL:case k.IN_TEMPLATE:{l_(this,t);break}case k.TEXT:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{b0(this,t);break}case k.IN_TABLE_TEXT:{p_(this,t);break}case k.IN_COLUMN_GROUP:{Wc(this,t);break}case k.AFTER_BODY:{Yc(this,t);break}case k.AFTER_AFTER_BODY:{ac(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){vH(this,t);return}switch(this.insertionMode){case k.INITIAL:{su(this,t);break}case k.BEFORE_HTML:{Lu(this,t);break}case k.BEFORE_HEAD:{ku(this,t);break}case k.IN_HEAD:{Mu(this,t);break}case k.IN_HEAD_NO_SCRIPT:{Du(this,t);break}case k.AFTER_HEAD:{Fu(this,t);break}case k.TEXT:{this._insertCharacters(t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{b0(this,t);break}case k.IN_COLUMN_GROUP:{Wc(this,t);break}case k.AFTER_BODY:{Yc(this,t);break}case k.AFTER_AFTER_BODY:{ac(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){gm(this,t);return}switch(this.insertionMode){case k.INITIAL:case k.BEFORE_HTML:case k.BEFORE_HEAD:case k.IN_HEAD:case k.IN_HEAD_NO_SCRIPT:case k.AFTER_HEAD:case k.IN_BODY:case k.IN_TABLE:case k.IN_CAPTION:case k.IN_COLUMN_GROUP:case k.IN_TABLE_BODY:case k.IN_ROW:case k.IN_CELL:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:case k.IN_TEMPLATE:case k.IN_FRAMESET:case k.AFTER_FRAMESET:{gm(this,t);break}case k.IN_TABLE_TEXT:{lu(this,t);break}case k.AFTER_BODY:{KB(this,t);break}case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{QB(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case k.INITIAL:{XB(this,t);break}case k.BEFORE_HEAD:case k.IN_HEAD:case k.IN_HEAD_NO_SCRIPT:case k.AFTER_HEAD:{this._err(t,q.misplacedDoctype);break}case k.IN_TABLE_TEXT:{lu(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,q.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?yH(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case k.INITIAL:{su(this,t);break}case k.BEFORE_HTML:{ZB(this,t);break}case k.BEFORE_HEAD:{e7(this,t);break}case k.IN_HEAD:{wr(this,t);break}case k.IN_HEAD_NO_SCRIPT:{r7(this,t);break}case k.AFTER_HEAD:{a7(this,t);break}case k.IN_BODY:{sn(this,t);break}case k.IN_TABLE:{Oo(this,t);break}case k.IN_TABLE_TEXT:{lu(this,t);break}case k.IN_CAPTION:{tH(this,t);break}case k.IN_COLUMN_GROUP:{ug(this,t);break}case k.IN_TABLE_BODY:{Yd(this,t);break}case k.IN_ROW:{qd(this,t);break}case k.IN_CELL:{iH(this,t);break}case k.IN_SELECT:{E_(this,t);break}case k.IN_SELECT_IN_TABLE:{oH(this,t);break}case k.IN_TEMPLATE:{sH(this,t);break}case k.AFTER_BODY:{cH(this,t);break}case k.IN_FRAMESET:{dH(this,t);break}case k.AFTER_FRAMESET:{hH(this,t);break}case k.AFTER_AFTER_BODY:{pH(this,t);break}case k.AFTER_AFTER_FRAMESET:{gH(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?bH(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case k.INITIAL:{su(this,t);break}case k.BEFORE_HTML:{JB(this,t);break}case k.BEFORE_HEAD:{t7(this,t);break}case k.IN_HEAD:{n7(this,t);break}case k.IN_HEAD_NO_SCRIPT:{i7(this,t);break}case k.AFTER_HEAD:{o7(this,t);break}case k.IN_BODY:{Wd(this,t);break}case k.TEXT:{W7(this,t);break}case k.IN_TABLE:{ys(this,t);break}case k.IN_TABLE_TEXT:{lu(this,t);break}case k.IN_CAPTION:{nH(this,t);break}case k.IN_COLUMN_GROUP:{rH(this,t);break}case k.IN_TABLE_BODY:{vm(this,t);break}case k.IN_ROW:{v_(this,t);break}case k.IN_CELL:{aH(this,t);break}case k.IN_SELECT:{y_(this,t);break}case k.IN_SELECT_IN_TABLE:{uH(this,t);break}case k.IN_TEMPLATE:{lH(this,t);break}case k.AFTER_BODY:{T_(this,t);break}case k.IN_FRAMESET:{fH(this,t);break}case k.AFTER_FRAMESET:{mH(this,t);break}case k.AFTER_AFTER_BODY:{ac(this,t);break}}}onEof(t){switch(this.insertionMode){case k.INITIAL:{su(this,t);break}case k.BEFORE_HTML:{Lu(this,t);break}case k.BEFORE_HEAD:{ku(this,t);break}case k.IN_HEAD:{Mu(this,t);break}case k.IN_HEAD_NO_SCRIPT:{Du(this,t);break}case k.AFTER_HEAD:{Fu(this,t);break}case k.IN_BODY:case k.IN_TABLE:case k.IN_CAPTION:case k.IN_COLUMN_GROUP:case k.IN_TABLE_BODY:case k.IN_ROW:case k.IN_CELL:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:{h_(this,t);break}case k.TEXT:{Y7(this,t);break}case k.IN_TABLE_TEXT:{lu(this,t);break}case k.IN_TEMPLATE:{b_(this,t);break}case k.AFTER_BODY:case k.IN_FRAMESET:case k.AFTER_FRAMESET:case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{og(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===A.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case k.IN_HEAD:case k.IN_HEAD_NO_SCRIPT:case k.AFTER_HEAD:case k.TEXT:case k.IN_COLUMN_GROUP:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:case k.IN_FRAMESET:case k.AFTER_FRAMESET:{this._insertCharacters(t);break}case k.IN_BODY:case k.IN_CAPTION:case k.IN_CELL:case k.IN_TEMPLATE:case k.AFTER_BODY:case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{s_(this,t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{b0(this,t);break}case k.IN_TABLE_TEXT:{m_(this,t);break}}}}function jB(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):f_(e,t),n}function VB(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}function WB(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,o=i;o!==n;a++,o=i){i=e.openElements.getCommonAncestor(o);const u=e.activeFormattingElements.getElementEntry(o),s=u&&a>=$B;!u||s?(s&&e.activeFormattingElements.removeEntry(u),e.openElements.remove(o)):(o=YB(e,u),r===t&&(e.activeFormattingElements.bookmark=u),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function YB(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 qB(e,t,n){const r=e.treeAdapter.getTagName(t),i=zo(r);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(n);else{const a=e.treeAdapter.getNamespaceURI(t);i===f.TEMPLATE&&a===Q.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function GB(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}function ag(e,t){for(let n=0;n=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(r);if(i&&!i.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const a=e.openElements.items[1],o=e.treeAdapter.getNodeSourceCodeLocation(a);o&&!o.endTag&&e._setEndLocation(a,t)}}}}function XB(e,t){e._setDocumentType(t);const n=t.forceQuirks?Mn.QUIRKS:wB(t);AB(t)||e._err(t,q.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=k.BEFORE_HTML}function su(e,t){e._err(t,q.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Mn.QUIRKS),e.insertionMode=k.BEFORE_HTML,e._processToken(t)}function ZB(e,t){t.tagID===f.HTML?(e._insertElement(t,Q.HTML),e.insertionMode=k.BEFORE_HEAD):Lu(e,t)}function JB(e,t){const n=t.tagID;(n===f.HTML||n===f.HEAD||n===f.BODY||n===f.BR)&&Lu(e,t)}function Lu(e,t){e._insertFakeRootElement(),e.insertionMode=k.BEFORE_HEAD,e._processToken(t)}function e7(e,t){switch(t.tagID){case f.HTML:{sn(e,t);break}case f.HEAD:{e._insertElement(t,Q.HTML),e.headElement=e.openElements.current,e.insertionMode=k.IN_HEAD;break}default:ku(e,t)}}function t7(e,t){const n=t.tagID;n===f.HEAD||n===f.BODY||n===f.HTML||n===f.BR?ku(e,t):e._err(t,q.endTagWithoutMatchingOpenElement)}function ku(e,t){e._insertFakeElement(j.HEAD,f.HEAD),e.headElement=e.openElements.current,e.insertionMode=k.IN_HEAD,e._processToken(t)}function wr(e,t){switch(t.tagID){case f.HTML:{sn(e,t);break}case f.BASE:case f.BASEFONT:case f.BGSOUND:case f.LINK:case f.META:{e._appendElement(t,Q.HTML),t.ackSelfClosing=!0;break}case f.TITLE:{e._switchToTextParsing(t,xt.RCDATA);break}case f.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,xt.RAWTEXT):(e._insertElement(t,Q.HTML),e.insertionMode=k.IN_HEAD_NO_SCRIPT);break}case f.NOFRAMES:case f.STYLE:{e._switchToTextParsing(t,xt.RAWTEXT);break}case f.SCRIPT:{e._switchToTextParsing(t,xt.SCRIPT_DATA);break}case f.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=k.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(k.IN_TEMPLATE);break}case f.HEAD:{e._err(t,q.misplacedStartTagForHeadElement);break}default:Mu(e,t)}}function n7(e,t){switch(t.tagID){case f.HEAD:{e.openElements.pop(),e.insertionMode=k.AFTER_HEAD;break}case f.BODY:case f.BR:case f.HTML:{Mu(e,t);break}case f.TEMPLATE:{Oa(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function Oa(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==f.TEMPLATE&&e._err(t,q.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(f.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,q.endTagWithoutMatchingOpenElement)}function Mu(e,t){e.openElements.pop(),e.insertionMode=k.AFTER_HEAD,e._processToken(t)}function r7(e,t){switch(t.tagID){case f.HTML:{sn(e,t);break}case f.BASEFONT:case f.BGSOUND:case f.HEAD:case f.LINK:case f.META:case f.NOFRAMES:case f.STYLE:{wr(e,t);break}case f.NOSCRIPT:{e._err(t,q.nestedNoscriptInHead);break}default:Du(e,t)}}function i7(e,t){switch(t.tagID){case f.NOSCRIPT:{e.openElements.pop(),e.insertionMode=k.IN_HEAD;break}case f.BR:{Du(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function Du(e,t){const n=t.type===Ve.EOF?q.openElementsLeftAfterEof:q.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=k.IN_HEAD,e._processToken(t)}function a7(e,t){switch(t.tagID){case f.HTML:{sn(e,t);break}case f.BODY:{e._insertElement(t,Q.HTML),e.framesetOk=!1,e.insertionMode=k.IN_BODY;break}case f.FRAMESET:{e._insertElement(t,Q.HTML),e.insertionMode=k.IN_FRAMESET;break}case f.BASE:case f.BASEFONT:case f.BGSOUND:case f.LINK:case f.META:case f.NOFRAMES:case f.SCRIPT:case f.STYLE:case f.TEMPLATE:case f.TITLE:{e._err(t,q.abandonedHeadElementChild),e.openElements.push(e.headElement,f.HEAD),wr(e,t),e.openElements.remove(e.headElement);break}case f.HEAD:{e._err(t,q.misplacedStartTagForHeadElement);break}default:Fu(e,t)}}function o7(e,t){switch(t.tagID){case f.BODY:case f.HTML:case f.BR:{Fu(e,t);break}case f.TEMPLATE:{Oa(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function Fu(e,t){e._insertFakeElement(j.BODY,f.BODY),e.insertionMode=k.IN_BODY,Vd(e,t)}function Vd(e,t){switch(t.type){case Ve.CHARACTER:{l_(e,t);break}case Ve.WHITESPACE_CHARACTER:{s_(e,t);break}case Ve.COMMENT:{gm(e,t);break}case Ve.START_TAG:{sn(e,t);break}case Ve.END_TAG:{Wd(e,t);break}case Ve.EOF:{h_(e,t);break}}}function s_(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function l_(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function u7(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function s7(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function l7(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,Q.HTML),e.insertionMode=k.IN_FRAMESET)}function c7(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,Q.HTML)}function d7(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),XS(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,Q.HTML)}function f7(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,Q.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function h7(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,Q.HTML),n||(e.formElement=e.openElements.current))}function m7(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.tagIDs[r];if(n===f.LI&&i===f.LI||(n===f.DD||n===f.DT)&&(i===f.DD||i===f.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==f.ADDRESS&&i!==f.DIV&&i!==f.P&&e._isSpecialElement(e.openElements.items[r],i))break}e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,Q.HTML)}function p7(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,Q.HTML),e.tokenizer.state=xt.PLAINTEXT}function g7(e,t){e.openElements.hasInScope(f.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(f.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,Q.HTML),e.framesetOk=!1}function v7(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(j.A);n&&(ag(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,Q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function E7(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function y7(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(f.NOBR)&&(ag(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,Q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function b7(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Q.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function T7(e,t){e.treeAdapter.getDocumentMode(e.document)!==Mn.QUIRKS&&e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,Q.HTML),e.framesetOk=!1,e.insertionMode=k.IN_TABLE}function c_(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Q.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function d_(e){const t=GS(e,Ui.TYPE);return t!=null&&t.toLowerCase()===HB}function C7(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Q.HTML),d_(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function S7(e,t){e._appendElement(t,Q.HTML),t.ackSelfClosing=!0}function _7(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._appendElement(t,Q.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function x7(e,t){t.tagName=j.IMG,t.tagID=f.IMG,c_(e,t)}function A7(e,t){e._insertElement(t,Q.HTML),e.skipNextNewLine=!0,e.tokenizer.state=xt.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=k.TEXT}function w7(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,xt.RAWTEXT)}function I7(e,t){e.framesetOk=!1,e._switchToTextParsing(t,xt.RAWTEXT)}function uy(e,t){e._switchToTextParsing(t,xt.RAWTEXT)}function N7(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Q.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===k.IN_TABLE||e.insertionMode===k.IN_CAPTION||e.insertionMode===k.IN_TABLE_BODY||e.insertionMode===k.IN_ROW||e.insertionMode===k.IN_CELL?k.IN_SELECT_IN_TABLE:k.IN_SELECT}function R7(e,t){e.openElements.currentTagId===f.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,Q.HTML)}function O7(e,t){e.openElements.hasInScope(f.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,Q.HTML)}function P7(e,t){e.openElements.hasInScope(f.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(f.RTC),e._insertElement(t,Q.HTML)}function L7(e,t){e._reconstructActiveFormattingElements(),a_(t),ig(t),t.selfClosing?e._appendElement(t,Q.MATHML):e._insertElement(t,Q.MATHML),t.ackSelfClosing=!0}function k7(e,t){e._reconstructActiveFormattingElements(),o_(t),ig(t),t.selfClosing?e._appendElement(t,Q.SVG):e._insertElement(t,Q.SVG),t.ackSelfClosing=!0}function sy(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Q.HTML)}function sn(e,t){switch(t.tagID){case f.I:case f.S:case f.B:case f.U:case f.EM:case f.TT:case f.BIG:case f.CODE:case f.FONT:case f.SMALL:case f.STRIKE:case f.STRONG:{E7(e,t);break}case f.A:{v7(e,t);break}case f.H1:case f.H2:case f.H3:case f.H4:case f.H5:case f.H6:{d7(e,t);break}case f.P:case f.DL:case f.OL:case f.UL:case f.DIV:case f.DIR:case f.NAV:case f.MAIN:case f.MENU:case f.ASIDE:case f.CENTER:case f.FIGURE:case f.FOOTER:case f.HEADER:case f.HGROUP:case f.DIALOG:case f.DETAILS:case f.ADDRESS:case f.ARTICLE:case f.SECTION:case f.SUMMARY:case f.FIELDSET:case f.BLOCKQUOTE:case f.FIGCAPTION:{c7(e,t);break}case f.LI:case f.DD:case f.DT:{m7(e,t);break}case f.BR:case f.IMG:case f.WBR:case f.AREA:case f.EMBED:case f.KEYGEN:{c_(e,t);break}case f.HR:{_7(e,t);break}case f.RB:case f.RTC:{O7(e,t);break}case f.RT:case f.RP:{P7(e,t);break}case f.PRE:case f.LISTING:{f7(e,t);break}case f.XMP:{w7(e,t);break}case f.SVG:{k7(e,t);break}case f.HTML:{u7(e,t);break}case f.BASE:case f.LINK:case f.META:case f.STYLE:case f.TITLE:case f.SCRIPT:case f.BGSOUND:case f.BASEFONT:case f.TEMPLATE:{wr(e,t);break}case f.BODY:{s7(e,t);break}case f.FORM:{h7(e,t);break}case f.NOBR:{y7(e,t);break}case f.MATH:{L7(e,t);break}case f.TABLE:{T7(e,t);break}case f.INPUT:{C7(e,t);break}case f.PARAM:case f.TRACK:case f.SOURCE:{S7(e,t);break}case f.IMAGE:{x7(e,t);break}case f.BUTTON:{g7(e,t);break}case f.APPLET:case f.OBJECT:case f.MARQUEE:{b7(e,t);break}case f.IFRAME:{I7(e,t);break}case f.SELECT:{N7(e,t);break}case f.OPTION:case f.OPTGROUP:{R7(e,t);break}case f.NOEMBED:{uy(e,t);break}case f.FRAMESET:{l7(e,t);break}case f.TEXTAREA:{A7(e,t);break}case f.NOSCRIPT:{e.options.scriptingEnabled?uy(e,t):sy(e,t);break}case f.PLAINTEXT:{p7(e,t);break}case f.COL:case f.TH:case f.TD:case f.TR:case f.HEAD:case f.FRAME:case f.TBODY:case f.TFOOT:case f.THEAD:case f.CAPTION:case f.COLGROUP:break;default:sy(e,t)}}function M7(e,t){if(e.openElements.hasInScope(f.BODY)&&(e.insertionMode=k.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function D7(e,t){e.openElements.hasInScope(f.BODY)&&(e.insertionMode=k.AFTER_BODY,T_(e,t))}function F7(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function B7(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(f.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(f.FORM):n&&e.openElements.remove(n))}function H7(e){e.openElements.hasInButtonScope(f.P)||e._insertFakeElement(j.P,f.P),e._closePElement()}function U7(e){e.openElements.hasInListItemScope(f.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(f.LI),e.openElements.popUntilTagNamePopped(f.LI))}function $7(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function z7(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function j7(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function V7(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(j.BR,f.BR),e.openElements.pop(),e.framesetOk=!1}function f_(e,t){const n=t.tagName,r=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){const a=e.openElements.items[i],o=e.openElements.tagIDs[i];if(r===o&&(r!==f.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(a,o))break}}function Wd(e,t){switch(t.tagID){case f.A:case f.B:case f.I:case f.S:case f.U:case f.EM:case f.TT:case f.BIG:case f.CODE:case f.FONT:case f.NOBR:case f.SMALL:case f.STRIKE:case f.STRONG:{ag(e,t);break}case f.P:{H7(e);break}case f.DL:case f.UL:case f.OL:case f.DIR:case f.DIV:case f.NAV:case f.PRE:case f.MAIN:case f.MENU:case f.ASIDE:case f.BUTTON:case f.CENTER:case f.FIGURE:case f.FOOTER:case f.HEADER:case f.HGROUP:case f.DIALOG:case f.ADDRESS:case f.ARTICLE:case f.DETAILS:case f.SECTION:case f.SUMMARY:case f.LISTING:case f.FIELDSET:case f.BLOCKQUOTE:case f.FIGCAPTION:{F7(e,t);break}case f.LI:{U7(e);break}case f.DD:case f.DT:{$7(e,t);break}case f.H1:case f.H2:case f.H3:case f.H4:case f.H5:case f.H6:{z7(e);break}case f.BR:{V7(e);break}case f.BODY:{M7(e,t);break}case f.HTML:{D7(e,t);break}case f.FORM:{B7(e);break}case f.APPLET:case f.OBJECT:case f.MARQUEE:{j7(e,t);break}case f.TEMPLATE:{Oa(e,t);break}default:f_(e,t)}}function h_(e,t){e.tmplInsertionModeStack.length>0?b_(e,t):og(e,t)}function W7(e,t){var n;t.tagID===f.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Y7(e,t){e._err(t,q.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function b0(e,t){if(u_.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=k.IN_TABLE_TEXT,t.type){case Ve.CHARACTER:{p_(e,t);break}case Ve.WHITESPACE_CHARACTER:{m_(e,t);break}}else $s(e,t)}function q7(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,Q.HTML),e.insertionMode=k.IN_CAPTION}function G7(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Q.HTML),e.insertionMode=k.IN_COLUMN_GROUP}function K7(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(j.COLGROUP,f.COLGROUP),e.insertionMode=k.IN_COLUMN_GROUP,ug(e,t)}function Q7(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Q.HTML),e.insertionMode=k.IN_TABLE_BODY}function X7(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(j.TBODY,f.TBODY),e.insertionMode=k.IN_TABLE_BODY,Yd(e,t)}function Z7(e,t){e.openElements.hasInTableScope(f.TABLE)&&(e.openElements.popUntilTagNamePopped(f.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function J7(e,t){d_(t)?e._appendElement(t,Q.HTML):$s(e,t),t.ackSelfClosing=!0}function eH(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,Q.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Oo(e,t){switch(t.tagID){case f.TD:case f.TH:case f.TR:{X7(e,t);break}case f.STYLE:case f.SCRIPT:case f.TEMPLATE:{wr(e,t);break}case f.COL:{K7(e,t);break}case f.FORM:{eH(e,t);break}case f.TABLE:{Z7(e,t);break}case f.TBODY:case f.TFOOT:case f.THEAD:{Q7(e,t);break}case f.INPUT:{J7(e,t);break}case f.CAPTION:{q7(e,t);break}case f.COLGROUP:{G7(e,t);break}default:$s(e,t)}}function ys(e,t){switch(t.tagID){case f.TABLE:{e.openElements.hasInTableScope(f.TABLE)&&(e.openElements.popUntilTagNamePopped(f.TABLE),e._resetInsertionMode());break}case f.TEMPLATE:{Oa(e,t);break}case f.BODY:case f.CAPTION:case f.COL:case f.COLGROUP:case f.HTML:case f.TBODY:case f.TD:case f.TFOOT:case f.TH:case f.THEAD:case f.TR:break;default:$s(e,t)}}function $s(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Vd(e,t),e.fosterParentingEnabled=n}function m_(e,t){e.pendingCharacterTokens.push(t)}function p_(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function lu(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===f.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===f.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===f.OPTGROUP&&e.openElements.pop();break}case f.OPTION:{e.openElements.currentTagId===f.OPTION&&e.openElements.pop();break}case f.SELECT:{e.openElements.hasInSelectScope(f.SELECT)&&(e.openElements.popUntilTagNamePopped(f.SELECT),e._resetInsertionMode());break}case f.TEMPLATE:{Oa(e,t);break}}}function oH(e,t){const n=t.tagID;n===f.CAPTION||n===f.TABLE||n===f.TBODY||n===f.TFOOT||n===f.THEAD||n===f.TR||n===f.TD||n===f.TH?(e.openElements.popUntilTagNamePopped(f.SELECT),e._resetInsertionMode(),e._processStartTag(t)):E_(e,t)}function uH(e,t){const n=t.tagID;n===f.CAPTION||n===f.TABLE||n===f.TBODY||n===f.TFOOT||n===f.THEAD||n===f.TR||n===f.TD||n===f.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(f.SELECT),e._resetInsertionMode(),e.onEndTag(t)):y_(e,t)}function sH(e,t){switch(t.tagID){case f.BASE:case f.BASEFONT:case f.BGSOUND:case f.LINK:case f.META:case f.NOFRAMES:case f.SCRIPT:case f.STYLE:case f.TEMPLATE:case f.TITLE:{wr(e,t);break}case f.CAPTION:case f.COLGROUP:case f.TBODY:case f.TFOOT:case f.THEAD:{e.tmplInsertionModeStack[0]=k.IN_TABLE,e.insertionMode=k.IN_TABLE,Oo(e,t);break}case f.COL:{e.tmplInsertionModeStack[0]=k.IN_COLUMN_GROUP,e.insertionMode=k.IN_COLUMN_GROUP,ug(e,t);break}case f.TR:{e.tmplInsertionModeStack[0]=k.IN_TABLE_BODY,e.insertionMode=k.IN_TABLE_BODY,Yd(e,t);break}case f.TD:case f.TH:{e.tmplInsertionModeStack[0]=k.IN_ROW,e.insertionMode=k.IN_ROW,qd(e,t);break}default:e.tmplInsertionModeStack[0]=k.IN_BODY,e.insertionMode=k.IN_BODY,sn(e,t)}}function lH(e,t){t.tagID===f.TEMPLATE&&Oa(e,t)}function b_(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(f.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):og(e,t)}function cH(e,t){t.tagID===f.HTML?sn(e,t):Yc(e,t)}function T_(e,t){var n;if(t.tagID===f.HTML){if(e.fragmentContext||(e.insertionMode=k.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===f.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else Yc(e,t)}function Yc(e,t){e.insertionMode=k.IN_BODY,Vd(e,t)}function dH(e,t){switch(t.tagID){case f.HTML:{sn(e,t);break}case f.FRAMESET:{e._insertElement(t,Q.HTML);break}case f.FRAME:{e._appendElement(t,Q.HTML),t.ackSelfClosing=!0;break}case f.NOFRAMES:{wr(e,t);break}}}function fH(e,t){t.tagID===f.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==f.FRAMESET&&(e.insertionMode=k.AFTER_FRAMESET))}function hH(e,t){switch(t.tagID){case f.HTML:{sn(e,t);break}case f.NOFRAMES:{wr(e,t);break}}}function mH(e,t){t.tagID===f.HTML&&(e.insertionMode=k.AFTER_AFTER_FRAMESET)}function pH(e,t){t.tagID===f.HTML?sn(e,t):ac(e,t)}function ac(e,t){e.insertionMode=k.IN_BODY,Vd(e,t)}function gH(e,t){switch(t.tagID){case f.HTML:{sn(e,t);break}case f.NOFRAMES:{wr(e,t);break}}}function vH(e,t){t.chars=mt,e._insertCharacters(t)}function EH(e,t){e._insertCharacters(t),e.framesetOk=!1}function C_(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==Q.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function yH(e,t){if(kB(t))C_(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===Q.MATHML?a_(t):r===Q.SVG&&(MB(t),o_(t)),ig(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function bH(e,t){if(t.tagID===f.P||t.tagID===f.BR){C_(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===Q.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}j.AREA,j.BASE,j.BASEFONT,j.BGSOUND,j.BR,j.COL,j.EMBED,j.FRAME,j.HR,j.IMG,j.INPUT,j.KEYGEN,j.LINK,j.META,j.PARAM,j.SOURCE,j.TRACK,j.WBR;const TH=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),ly={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function S_(e,t){const n=OH(e),r=jS("type",{handlers:{root:CH,element:SH,text:_H,comment:x_,doctype:xH,raw:wH},unknown:IH}),i={parser:n?new oy(ly):oy.getFragmentParser(void 0,ly),handle(u){r(u,i)},stitches:!1,options:t||{}};r(e,i),jo(i,zr());const a=n?i.parser.document:i.parser.getFragment(),o=L9(a,{file:i.options.file});return i.stitches&&eg(o,"comment",function(u,s,l){const c=u;if(c.value.stitch&&l&&s!==void 0){const d=l.children;return d[s]=c.value.stitch,s}}),o.type==="root"&&o.children.length===1&&o.children[0].type===e.type?o.children[0]:o}function __(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);const n={type:Ve.CHARACTER,chars:e.value,location:zs(e)};jo(t,zr(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function xH(e,t){const n={type:Ve.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:zs(e)};jo(t,zr(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function AH(e,t){t.stitches=!0;const n=PH(e);if("children"in e&&"children"in n){const r=S_({type:"root",children:e.children},t.options);n.children=r.children}x_({type:"comment",value:{stitch:n}},t)}function x_(e,t){const n=e.value,r={type:Ve.COMMENT,data:n,location:zs(e)};jo(t,zr(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function wH(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,A_(t,zr(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function IH(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))AH(n,t);else{let r="";throw TH.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function jo(e,t){A_(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=xt.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function A_(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function NH(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===xt.PLAINTEXT)return;jo(t,zr(e));const r=t.parser.openElements.current;let i="namespaceURI"in r?r.namespaceURI:fa.html;i===fa.html&&n==="svg"&&(i=fa.svg);const a=B9({...e,children:[]},{space:i===fa.svg?"svg":"html"}),o={type:Ve.START_TAG,tagName:n,tagID:zo(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:zs(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function RH(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Y9.includes(n)||t.parser.tokenizer.state===xt.PLAINTEXT)return;jo(t,Ud(e));const r={type:Ve.END_TAG,tagName:n,tagID:zo(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:zs(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===xt.RCDATA||t.parser.tokenizer.state===xt.RAWTEXT||t.parser.tokenizer.state===xt.SCRIPT_DATA)&&(t.parser.tokenizer.state=xt.DATA)}function OH(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function zs(e){const t=zr(e)||{line:void 0,column:void 0,offset:void 0},n=Ud(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function PH(e){return"children"in e?Ro({...e,children:[]}):Ro(e)}function cu(e){return function(t,n){return S_(t,{...e,file:n})}}async function LH(e,t){const n=e.getReader();let r;for(;!(r=await n.read()).done;)t(r.value)}function kH(e){let t,n,r,i=!1;return function(o){t===void 0?(t=o,n=0,r=-1):t=DH(t,o);const u=t.length;let s=0;for(;n0){const s=i.decode(o.subarray(0,u)),l=u+(o[u+1]===32?2:1),c=i.decode(o.subarray(l));switch(s){case"data":r.data=r.data?r.data+"\n"+c:c;break;case"event":r.event=c;break;case"id":e(r.id=c);break;case"retry":const d=parseInt(c,10);isNaN(d)||t(r.retry=d);break}}}}function DH(e,t){const n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}function cy(){return{data:"",event:"",id:"",retry:void 0}}var FH=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,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 m=Object.assign({},r);m.accept||(m.accept=Em);let y;function b(){y.abort(),document.hidden||x()}s||document.addEventListener("visibilitychange",b);let T=BH,v=0;function g(){document.removeEventListener("visibilitychange",b),window.clearTimeout(v),y.abort()}n==null||n.addEventListener("abort",()=>{g(),d()});const E=l!=null?l:window.fetch,_=i!=null?i:UH;async function x(){var S;y=new AbortController;try{const I=await E(e,Object.assign(Object.assign({},c),{headers:m,signal:y.signal}));await _(I),await LH(I.body,kH(MH(R=>{R?m[dy]=R:delete m[dy]},R=>{T=R},a))),o==null||o(),g(),d()}catch(I){if(!y.signal.aborted)try{const R=(S=u==null?void 0:u(I))!==null&&S!==void 0?S:T;window.clearTimeout(v),v=window.setTimeout(x,R)}catch(R){g(),h(R)}}}x()})}function UH(e){const t=e.headers.get("content-type");if(!(t!=null&&t.startsWith(Em)))throw new Error("Expected content-type to be ".concat(Em,", Actual: ").concat(t))}const $H="/solve",T0=e=>e.replace(/\[\[(\d+)\]\]/g,(t,n)=>"".concat(n,"")),zH=()=>{var e;p.useRef(null);const[t,n]=p.useState(!1),[r,i]=p.useState(""),[a,o]=p.useState(""),[u,s]=p.useState(!1),[l,c]=p.useState(!1),[d,h]=p.useState(""),[m,y]=p.useState(!0),[b,T]=p.useState(!1),[v,g]=p.useState(""),[E,_]=p.useState(""),[x,S]=p.useState(!1),[I,R]=p.useState(""),[O,M]=p.useState(""),[F,B]=p.useState([]),[z,U]=p.useState([]),[G,H]=p.useState([]),[L,P]=p.useState(null);p.useState(0);const[$,C]=p.useState(""),[D,W]=p.useState(0),[w,X]=p.useState([!0,!0]),[Z,J]=p.useState(0),[fe,Te]=p.useState(!0),[_e,Ae]=p.useState(!1),[ke,Oe]=p.useState([]),[He,Me]=p.useState(""),Ge=p.useRef(!1),Fe=p.useRef(!1),$e=p.useRef(!1),[ce,we]=p.useState(null),[ve,de]=p.useState(!1),[Ie,Ne]=p.useState([]),Se=20,Pe=80,Y=()=>{Te(!fe)},ie=(oe,le)=>oe.map(ee=>ee.state===1&&ee.id!==0?{...ee,state:3}:ee.name===le?{...ee,state:1}:(ee.children&&(ee.children=ie(ee.children,le)),ee)),Ce=()=>{const oe=document.getElementsByClassName("endline"),le=document.getElementById("mindMap");if(oe.length>=2&&le){const ee=oe[0].getBoundingClientRect(),se=oe[oe.length-1].getBoundingClientRect(),ze=le==null?void 0:le.getBoundingClientRect(),Ft=se.top-ee.top;return{top:ee.top-ze.top,height:Ft+1}}else return{top:"50%",height:0}},me=()=>{const oe=document.querySelectorAll("article");if(oe!=null&&oe.length){let le=0;oe.forEach((se,ze)=>{se.getBoundingClientRect().right>le&&(le=se.getBoundingClientRect().right)});const ee=oe[0].getBoundingClientRect();return le-ee.left+200>Z?le-ee.left+200:Z}else return 100},he=(oe,le,ee)=>{let se=0,Ft=setInterval(()=>{if(le==="stepDraft-1"&&se+3>(oe==null?void 0:oe.length)&&($e.current=!0),se<(oe==null?void 0:oe.length)){let We=oe.slice(se,Math.min(se+10,oe.length));se+=We.length,le==="thought"?h(oe.slice(0,se)):le==="stepDraft-0"?g(oe.slice(0,se)):le==="stepDraft-1"?_(oe.slice(0,se)):le==="conclusion"?R(oe.slice(0,se)):le==="response"&&C(oe.slice(0,se))}else clearInterval(Ft),ee&&ee()},Se)},Xe=()=>{let oe=0;const le=JSON.parse(L.actions[D].result[0].content),ee=Object.keys(le).map(We=>({id:We,...le[We]})),se=Object.keys(le).length;let Ft=setInterval(()=>{oe++,oe{Oe([]);const le=D+1;W(le);const ee=[...z];ee.forEach(se=>{oe.includes(Number(se.id))&&(se.highLight=!0)}),ee.sort((se,ze)=>se.highLight===ze.highLight?0:se.highLight?-1:1),U(ee),he(L.actions[1].thought,"stepDraft-1",()=>{}),Ge.current=!0},Vt=()=>{const oe=window.localStorage.getItem("nodeRes")||"",le=T0(oe);X([!1,!1]),R(le),M(oe),O.length+5>oe.length&&(Fe.current=!0,S(!0))},pn=oe=>{var le,ee;const se=(le=L.actions[D])===null||le===void 0||(ee=le.args)===null||ee===void 0?void 0:ee.query;B(se),oe&&oe()},xn=()=>{Ae(!0);const oe=()=>{L.actions[D].result[0].content&&(L.actions[D].type==="BingBrowser.search"||L.actions[D].type==="BingBrowser")&&Xe()},le=()=>{var ee,se,ze;(ee=L.actions[D])!==null&&ee!==void 0&&(se=ee.args)!==null&&se!==void 0&&(ze=se.query)!==null&&ze!==void 0&&ze.length?pn(oe):oe()};L.actions[D].thought&&he(L.actions[D].thought,"stepDraft-".concat(D),le)},ct=oe=>{const le=[...w];le[oe]=!le[oe],X(le)},ht=(oe,le)=>{const ee=le.offsetHeight;ee>oe.offsetHeight&&(oe.scrollTop=ee-oe.offsetHeight)};p.useEffect(()=>{H([{id:0,state:3,name:"原始问题",children:Ie}])},[JSON.stringify(Ie)]),p.useEffect(()=>{console.log("render data changed-----",G)},[G]),p.useEffect(()=>{D===1&&X([!1,!0])},[D]),p.useEffect(()=>{if(ve&&!localStorage.getItem("nodeRes")){Fe.current=!0,S(!0);return}$e.current&&localStorage.getItem("nodeRes")&&Vt()},[localStorage.getItem("nodeRes"),$e.current,ve]),p.useEffect(()=>{var oe,le,ee,se,ze,Ft,We;if((ce==null||(oe=ce.response)===null||oe===void 0||(le=oe.nodes[ce.current_node])===null||le===void 0||(ee=le.detail)===null||ee===void 0?void 0:ee.state)!==1&&n(!0),(ce==null||(se=ce.response)===null||se===void 0||(ze=se.nodes)===null||ze===void 0||(Ft=ze[ce.current_node].detail)===null||Ft===void 0?void 0:Ft.state)===0&&(L==null?void 0:L.current_node)===ce.current_node&&(console.log("node render end-----",ce),de(!0)),ce!=null&&ce.current_node&&(ce==null||(We=ce.response)===null||We===void 0?void 0:We.state)===3){var nt,At,wt,Jt,Yt,Ir,An,wn,cr,In,Nn,gt,dr,ci,jr,qn,di;if(((nt=ce.response.nodes[ce.current_node])===null||nt===void 0||(At=nt.detail)===null||At===void 0||(wt=At.actions)===null||wt===void 0?void 0:wt.length)===2&&((Jt=ce.response.nodes[ce.current_node])===null||Jt===void 0||(Yt=Jt.detail)===null||Yt===void 0?void 0:Yt.state)===1&&(Ir=ce.response.nodes[ce.current_node])!==null&&Ir!==void 0&&Ir.detail.response){var Nr;window.localStorage.setItem("nodeRes",(Nr=ce.response.nodes[ce.current_node])===null||Nr===void 0?void 0:Nr.detail.response)}if(ce.current_node&&((An=ce.response.nodes[ce.current_node])===null||An===void 0||(wn=An.detail)===null||wn===void 0?void 0:wn.state)===1&&(cr=ce.response.nodes[ce.current_node])!==null&&cr!==void 0&&(In=cr.detail)!==null&&In!==void 0&&(Nn=In.actions)!==null&&Nn!==void 0&&Nn.length&&D===0&&(L==null?void 0:L.current_node)!==(ce==null?void 0:ce.current_node)){var fr;console.log("update current node----"),n(!1),P({...(fr=ce.response.nodes[ce.current_node])===null||fr===void 0?void 0:fr.detail,current_node:ce.current_node})}if(!ke.length&&((gt=ce.response.nodes[ce.current_node])===null||gt===void 0||(dr=gt.detail)===null||dr===void 0||(ci=dr.actions)===null||ci===void 0||(jr=ci[1])===null||jr===void 0?void 0:jr.type)==="BingBrowser.select"&&((qn=ce.response.nodes[ce.current_node])===null||qn===void 0||(di=qn.detail)===null||di===void 0?void 0:di.state)===1){var Bt,Qi,fi,hi,hr,mi;Oe(((Bt=ce.response.nodes[ce.current_node])===null||Bt===void 0||(Qi=Bt.detail)===null||Qi===void 0||(fi=Qi.actions)===null||fi===void 0||(hi=fi[1])===null||hi===void 0||(hr=hi.args)===null||hr===void 0?void 0:hr.select_ids)||[]),P({...(mi=ce.response.nodes[ce.current_node])===null||mi===void 0?void 0:mi.detail,current_node:ce.current_node})}}},[ce]),p.useEffect(()=>{!L||_e||xn()},[L,_e,ke]),p.useEffect(()=>{!Ge.current&&ke.length&&(L==null?void 0:L.actions.length)===2&&Ze(ke)},[ke,L]),p.useEffect(()=>{He&&He!==(L==null?void 0:L.current_node)&&x&&!u&&(Wt(He),J(me()))},[He,L,x,u]);let Ke=p.useRef(null);p.useEffect(()=>(u?(Ke.current=setInterval(()=>{const oe=document.getElementById("chatArea"),le=document.getElementById("messageWindowId");ht(oe,le),m&&clearInterval(Ke.current)},500),setTimeout(()=>{c(!0)},300)):Ke.current&&(clearInterval(Ke.current),Ke.current=null),()=>{Ke.current&&(clearInterval(Ke.current),Ke.current=null)}),[u,m]),p.useEffect(()=>{H([]),C(""),h(""),s(!1),Te(!0),window.localStorage.setItem("nodeRes",""),window.localStorage.setItem("finishedNodes","")},[r]);const Wt=oe=>{oe!=="response"&&(ie(G,oe),console.log("reset node------",oe,G),W(0),B([]),U([]),R(""),X([!0,!0]),g(""),_(""),S(!1),P(null),Ae(!1),Oe([]),de(!1),Ge.current=!1,$e.current=!1,Fe.current=!1,window.localStorage.setItem("nodeRes",""))},Ot=oe=>{try{n(!1);const ee=JSON.parse(oe);if(!ee.current_node&&ee.response.state===0){console.log("chat is over end-------"),y(!0);return}if(!ee.current_node&&ee.response.state===9){Te(!1),s(!0);const se=T0(ee.response.response);C(se);return}if(!ee.current_node&&ee.response.state===1&&!L&&(T(!1),h(ee.response.response)),!ee.current_node&&(ee.response.state!==1||ee.response.state!==0||ee.response.state!==9)&&(T(!0),n(!0)),ee.current_node&&ee.response.state===3){var le;Me(ee.current_node),we(ee);const se=(le=ee.response)===null||le===void 0?void 0:le.adjacency_list;(se==null?void 0:se.length)>0&&Ne(se)}}catch(ee){console.log("format error-----",ee)}},lr=()=>{if(!m){Y8.warning("有对话进行中!");return}i(a),y(!1);const oe={inputs:[{role:"user",content:a}]};new AbortController,HH($H,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(oe),onmessage(le){Ot(le.data)},onerror(le){console.log("sse error------",le)}})};return ot("div",{className:xe.mainPage,style:fe?{}:{maxWidth:"1000px"},children:[ot("div",{className:xe.chatContent,children:[ye("div",{className:xe.top,id:"chatArea",children:ot("div",{id:"messageWindowId",children:[r&&ye("div",{className:xe.question,children:ye("span",{children:r})}),(d||$||(G==null?void 0:G.length)>0)&&ot("div",{className:xe.answer,children:[(G==null?void 0:G.length)>0?ye("div",{className:xe.inner,children:ye("div",{className:xe.mapArea,children:ot("ul",{className:xe.mindmap,id:"mindMap",style:u?{width:Z,overflow:"hidden"}:{},children:[G.map(oe=>ye(BT,{item:oe,isEnd:u},oe.name)),l&&ye("div",{className:xe.end,style:Ce(),children:ye("div",{className:xe.node,children:ye("article",{children:"最终回复"})})})]})})}):ye(Ya,{}),!$&&ye("div",{className:xe.draft,children:ye(uu,{rehypePlugins:[cu],children:T0(d)})}),$&&ye("div",{className:xe.response,children:ye(uu,{rehypePlugins:[cu],children:$})})]})]})}),ot("div",{className:xe.sendArea,children:[ye(F8,{type:"text",placeholder:"说点什么吧~ Shift+Enter 换行 ; Enter 发送",onChange:oe=>{o(oe.target.value)},onPressEnter:lr}),ot("button",{onClick:lr,children:[ye("img",{src:Qw}),"发送"]})]}),ot("div",{className:xe.notice,children:["如果想要更丝滑的体验,请在本地搭建-",ot("a",{href:"https://github.com/InternLM/MindSearch",target:"_blank",children:["MindSearch ",ye(Il,{type:"icon-GithubFilled"})]})]})]}),fe&&ot("div",{className:xe.progressContent,children:[L&&ot(Ya,{children:[ye("div",{className:xe.toggleIcon,onClick:Y,children:ye(_k,{placement:"top",title:"收起",children:ye("img",{src:Kw})})}),ye("div",{className:xe.titleNode,children:(L==null?void 0:L.content)||(L==null?void 0:L.node)}),L!=null&&(e=L.actions)!==null&&e!==void 0&&e.length?ye(Ya,{children:L.actions.map((oe,le)=>D>=le&&ot("div",{className:pe(xe.steps,oe.type==="BingBrowser.search"?xe.thinking:xe.select),children:[ot("div",{className:xe.title,children:[ye("i",{}),oe.type==="BingBrowser.search"?"思考":oe.type==="BingBrowser.select"?"信息来源":"信息整合",ye("div",{className:xe.open,onClick:()=>{ct(le)},children:ye(Il,{type:w[le]?"icon-shouqi":"icon-xiangxiazhankai"})})]}),ot("div",{className:pe(xe.con,w[le]?"":xe.collapsed),children:[oe.type==="BingBrowser.search"&&ye("div",{className:xe.thought,children:ye(uu,{rehypePlugins:[cu],children:v})}),oe.type==="BingBrowser.search"&&F.length>0&&ot("div",{className:xe.query,children:[ot("div",{className:xe.subTitle,children:[ye(Il,{type:"icon-SearchOutlined"}),"搜索关键词"]}),F.map((ee,se)=>ye("div",{className:pe(xe.queryItem,xe.fadeIn),children:ee},"query-item-".concat(ee)))]}),D===le&&z.length>0&&ot("div",{className:xe.searchList,children:[oe.type==="BingBrowser.search"&&ot("div",{className:xe.subTitle,children:[ye(Il,{type:"icon-DocOutlined"}),"信息来源"]}),oe.type==="BingBrowser.select"&&ye("div",{className:xe.thought,children:ye(uu,{rehypePlugins:[cu],children:E})}),ye("div",{className:xe.scrollCon,style:z.length>5&&D===0?{height:"300px"}:{},children:ye("div",{className:xe.inner,style:z.length>5&&D===0?{position:"absolute",bottom:0,left:0}:{},children:z.map((ee,se)=>ot("div",{className:pe(xe.searchItem,ee.highLight?xe.highLight:""),children:[ot("p",{className:xe.summ,children:[ee.id,". ",ee==null?void 0:ee.title]}),ye("p",{className:xe.url,children:ee==null?void 0:ee.url})]},"search-item-".concat(ee.url,"-").concat(le)))})})]})]})]},"step-".concat(le)))}):ye(Ya,{})]}),I&&ot("div",{className:xe.steps,children:[ot("div",{className:xe.title,children:[ye("i",{}),"信息整合"]}),ye("div",{className:xe.conclusion,children:ye(uu,{rehypePlugins:[cu],children:I})})]}),t&&r&&ye("div",{className:xe.loading99})]}),!fe&&ye("div",{className:xe.showRight,onClick:Y,children:ye("img",{src:T9})})]})},jH=[{path:"/",needLogin:!1,element:ye(zH,{})},{path:"*",element:ye(q3,{to:"/"})}],VH=()=>k3(jH.map(e=>e.needLogin?{...e,element:ye(Ya,{})}:e));function WH(){return ye(X3,{children:ot("div",{className:ml.app,id:"app",children:[ye("div",{className:ml.header,children:ye("div",{className:ml.headerNav,children:ye("img",{src:a3})})}),ye("div",{className:ml.content,children:ye(VH,{})})]})})}C0.createRoot(document.getElementById("root")).render(ye(ae.StrictMode,{children:ye(WH,{})}));export{YH as __vite_legacy_guard};