diff --git a/index.js b/index.js index b1377bd..3496f5e 100644 --- a/index.js +++ b/index.js @@ -22,7 +22,7 @@ var og=Object.defineProperty;var lg=(e,t,n)=>t in e?og(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function t(I,B){var V=I.length;I.push(B);e:for(;0>>1,ne=I[se];if(0>>1;ses(le,V))kes(qe,le)?(I[se]=qe,I[ke]=V,se=ke):(I[se]=le,I[G]=V,se=G);else if(kes(qe,V))I[se]=qe,I[ke]=V,se=ke;else break e}}return B}function s(I,B){var V=I.sortIndex-B.sortIndex;return V!==0?V:I.id-B.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}var c=[],u=[],h=1,f=null,p=3,x=!1,_=!1,y=!1,C=typeof setTimeout=="function"?setTimeout:null,j=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(I){for(var B=n(u);B!==null;){if(B.callback===null)i(u);else if(B.startTime<=I)i(u),B.sortIndex=B.expirationTime,t(c,B);else break;B=n(u)}}function v(I){if(y=!1,m(I),!_)if(n(c)!==null)_=!0,K(w);else{var B=n(u);B!==null&&J(v,B.startTime-I)}}function w(I,B){_=!1,y&&(y=!1,j(E),E=-1),x=!0;var V=p;try{for(m(B),f=n(c);f!==null&&(!(f.expirationTime>B)||I&&!F());){var se=f.callback;if(typeof se=="function"){f.callback=null,p=f.priorityLevel;var ne=se(f.expirationTime<=B);B=e.unstable_now(),typeof ne=="function"?f.callback=ne:f===n(c)&&i(c),m(B)}else i(c);f=n(c)}if(f!==null)var nt=!0;else{var G=n(u);G!==null&&J(v,G.startTime-B),nt=!1}return nt}finally{f=null,p=V,x=!1}}var g=!1,S=null,E=-1,L=5,R=-1;function F(){return!(e.unstable_now()-RI||125se?(I.sortIndex=V,t(u,I),n(c)===null&&I===n(u)&&(y?(j(E),E=-1):y=!0,J(v,V-se))):(I.sortIndex=ne,t(c,I),_||x||(_=!0,K(w))),I},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(I){var B=p;return function(){var V=p;p=B;try{return I.apply(this,arguments)}finally{p=V}}}})(T1);M1.exports=T1;var Lg=M1.exports;/** + */(function(e){function t(I,B){var V=I.length;I.push(B);e:for(;0>>1,ne=I[se];if(0>>1;ses(le,V))kes(qe,le)?(I[se]=qe,I[ke]=V,se=ke):(I[se]=le,I[G]=V,se=G);else if(kes(qe,V))I[se]=qe,I[ke]=V,se=ke;else break e}}return B}function s(I,B){var V=I.sortIndex-B.sortIndex;return V!==0?V:I.id-B.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}var c=[],u=[],h=1,f=null,p=3,x=!1,j=!1,y=!1,C=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(I){for(var B=n(u);B!==null;){if(B.callback===null)i(u);else if(B.startTime<=I)i(u),B.sortIndex=B.expirationTime,t(c,B);else break;B=n(u)}}function v(I){if(y=!1,m(I),!j)if(n(c)!==null)j=!0,K(w);else{var B=n(u);B!==null&&J(v,B.startTime-I)}}function w(I,B){j=!1,y&&(y=!1,_(E),E=-1),x=!0;var V=p;try{for(m(B),f=n(c);f!==null&&(!(f.expirationTime>B)||I&&!F());){var se=f.callback;if(typeof se=="function"){f.callback=null,p=f.priorityLevel;var ne=se(f.expirationTime<=B);B=e.unstable_now(),typeof ne=="function"?f.callback=ne:f===n(c)&&i(c),m(B)}else i(c);f=n(c)}if(f!==null)var nt=!0;else{var G=n(u);G!==null&&J(v,G.startTime-B),nt=!1}return nt}finally{f=null,p=V,x=!1}}var g=!1,S=null,E=-1,L=5,R=-1;function F(){return!(e.unstable_now()-RI||125se?(I.sortIndex=V,t(u,I),n(c)===null&&I===n(u)&&(y?(_(E),E=-1):y=!0,J(v,V-se))):(I.sortIndex=ne,t(c,I),j||x||(j=!0,K(w))),I},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(I){var B=p;return function(){var V=p;p=B;try{return I.apply(this,arguments)}finally{p=V}}}})(T1);M1.exports=T1;var Lg=M1.exports;/** * @license React * react-dom.production.min.js * @@ -34,10 +34,10 @@ var og=Object.defineProperty;var lg=(e,t,n)=>t in e?og(e,t,{enumerable:!0,config `+Gl+e}var Ql=!1;function Yl(e,t){if(!e||Ql)return"";Ql=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var i=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){i=u}e.call(t.prototype)}else{try{throw Error()}catch(u){i=u}e()}}catch(u){if(u&&i&&typeof u.stack=="string"){for(var s=u.stack.split(` `),a=i.stack.split(` `),o=s.length-1,l=a.length-1;1<=o&&0<=l&&s[o]!==a[l];)l--;for(;1<=o&&0<=l;o--,l--)if(s[o]!==a[l]){if(o!==1||l!==1)do if(o--,l--,0>l||s[o]!==a[l]){var c=` -`+s[o].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=o&&0<=l);break}}}finally{Ql=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Gs(e):""}function Tg(e){switch(e.tag){case 5:return Gs(e.type);case 16:return Gs("Lazy");case 13:return Gs("Suspense");case 19:return Gs("SuspenseList");case 0:case 2:case 15:return e=Yl(e.type,!1),e;case 11:return e=Yl(e.type.render,!1),e;case 1:return e=Yl(e.type,!0),e;default:return""}}function Hc(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 Qi:return"Fragment";case Gi:return"Portal";case Oc:return"Profiler";case Xd:return"StrictMode";case Dc:return"Suspense";case Uc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case O1:return(e.displayName||"Context")+".Consumer";case B1:return(e._context.displayName||"Context")+".Provider";case Zd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case eu:return t=e.displayName||null,t!==null?t:Hc(e.type)||"Memo";case Dr:t=e._payload,e=e._init;try{return Hc(e(t))}catch{}}return null}function Fg(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 Hc(t);case 8:return t===Xd?"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 ni(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function U1(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Bg(e){var t=U1(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(o){i=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(o){i=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ja(e){e._valueTracker||(e._valueTracker=Bg(e))}function H1(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=U1(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}function Ro(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Wc(e,t){var n=t.checked;return ut({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function hh(e,t){var n=t.defaultValue==null?"":t.defaultValue,i=t.checked!=null?t.checked:t.defaultChecked;n=ni(t.value!=null?t.value:n),e._wrapperState={initialChecked:i,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function W1(e,t){t=t.checked,t!=null&&Jd(e,"checked",t,!1)}function qc(e,t){W1(e,t);var n=ni(t.value),i=t.type;if(n!=null)i==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(i==="submit"||i==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Vc(e,t.type,n):t.hasOwnProperty("defaultValue")&&Vc(e,t.type,ni(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ph(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var i=t.type;if(!(i!=="submit"&&i!=="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 Vc(e,t,n){(t!=="number"||Ro(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Qs=Array.isArray;function os(e,t,n,i){if(e=e.options,t){t={};for(var s=0;s"+t.valueOf().toString()+"",t=Xa.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ha(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ea={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},Og=["Webkit","ms","Moz","O"];Object.keys(ea).forEach(function(e){Og.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ea[t]=ea[e]})});function G1(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ea.hasOwnProperty(e)&&ea[e]?(""+t).trim():t+"px"}function Q1(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var i=n.indexOf("--")===0,s=G1(n,t[n],i);n==="float"&&(n="cssFloat"),i?e.setProperty(n,s):e[n]=s}}var Dg=ut({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 Qc(e,t){if(t){if(Dg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(H(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(H(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(H(61))}if(t.style!=null&&typeof t.style!="object")throw Error(H(62))}}function Yc(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 Jc=null;function tu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Xc=null,ls=null,cs=null;function gh(e){if(e=Ta(e)){if(typeof Xc!="function")throw Error(H(280));var t=e.stateNode;t&&(t=Cl(t),Xc(e.stateNode,e.type,t))}}function Y1(e){ls?cs?cs.push(e):cs=[e]:ls=e}function J1(){if(ls){var e=ls,t=cs;if(cs=ls=null,gh(e),t)for(e=0;e>>=0,e===0?32:31-(Xg(e)/Zg|0)|0}var Za=64,eo=4194304;function Ys(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 To(e,t){var n=e.pendingLanes;if(n===0)return 0;var i=0,s=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var l=o&~s;l!==0?i=Ys(l):(a&=o,a!==0&&(i=Ys(a)))}else o=n&~s,o!==0?i=Ys(o):a!==0&&(i=Ys(a));if(i===0)return 0;if(t!==0&&t!==i&&!(t&s)&&(s=i&-i,a=t&-t,s>=a||s===16&&(a&4194240)!==0))return t;if(i&4&&(i|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=i;0n;n++)t.push(e);return t}function Pa(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Hn(t),e[t]=n}function r2(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 i=e.eventTimes;for(e=e.expirationTimes;0=na),kh=" ",Sh=!1;function vf(e,t){switch(e){case"keyup":return L2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _f(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Yi=!1;function R2(e,t){switch(e){case"compositionend":return _f(t);case"keypress":return t.which!==32?null:(Sh=!0,kh);case"textInput":return e=t.data,e===kh&&Sh?null:e;default:return null}}function A2(e,t){if(Yi)return e==="compositionend"||!cu&&vf(e,t)?(e=gf(),jo=au=qr=null,Yi=!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=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=zh(n)}}function wf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?wf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Cf(){for(var e=window,t=Ro();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ro(e.document)}return t}function du(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 H2(e){var t=Cf(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&wf(n.ownerDocument.documentElement,n)){if(i!==null&&du(n)){if(t=i.start,e=i.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 s=n.textContent.length,a=Math.min(i.start,s);i=i.end===void 0?a:Math.min(i.end,s),!e.extend&&a>i&&(s=i,i=a,a=s),s=Lh(n,a);var o=Lh(n,i);s&&o&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),a>i?(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,Ji=null,id=null,ia=null,sd=!1;function Ih(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;sd||Ji==null||Ji!==Ro(i)||(i=Ji,"selectionStart"in i&&du(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),ia&&va(ia,i)||(ia=i,i=Oo(id,"onSelect"),0es||(e.current=ud[es],ud[es]=null,es--)}function Ye(e,t){es++,ud[es]=e.current,e.current=t}var ri={},Yt=si(ri),cn=si(!1),Si=ri;function fs(e,t){var n=e.type.contextTypes;if(!n)return ri;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var s={},a;for(a in n)s[a]=t[a];return i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function dn(e){return e=e.childContextTypes,e!=null}function Uo(){tt(cn),tt(Yt)}function Bh(e,t,n){if(Yt.current!==ri)throw Error(H(168));Ye(Yt,t),Ye(cn,n)}function Rf(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!="function")return n;i=i.getChildContext();for(var s in i)if(!(s in t))throw Error(H(108,Fg(e)||"Unknown",s));return ut({},n,i)}function Ho(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ri,Si=Yt.current,Ye(Yt,e),Ye(cn,cn.current),!0}function Oh(e,t,n){var i=e.stateNode;if(!i)throw Error(H(169));n?(e=Rf(e,t,Si),i.__reactInternalMemoizedMergedChildContext=e,tt(cn),tt(Yt),Ye(Yt,e)):tt(cn),Ye(cn,n)}var _r=null,kl=!1,dc=!1;function Af(e){_r===null?_r=[e]:_r.push(e)}function t4(e){kl=!0,Af(e)}function ai(){if(!dc&&_r!==null){dc=!0;var e=0,t=He;try{var n=_r;for(He=1;e>=o,s-=o,jr=1<<32-Hn(t)+s|n<E?(L=S,S=null):L=S.sibling;var R=p(j,S,m[E],v);if(R===null){S===null&&(S=L);break}e&&S&&R.alternate===null&&t(j,S),d=a(R,d,E),g===null?w=R:g.sibling=R,g=R,S=L}if(E===m.length)return n(j,S),at&&fi(j,E),w;if(S===null){for(;EE?(L=S,S=null):L=S.sibling;var F=p(j,S,R.value,v);if(F===null){S===null&&(S=L);break}e&&S&&F.alternate===null&&t(j,S),d=a(F,d,E),g===null?w=F:g.sibling=F,g=F,S=L}if(R.done)return n(j,S),at&&fi(j,E),w;if(S===null){for(;!R.done;E++,R=m.next())R=f(j,R.value,v),R!==null&&(d=a(R,d,E),g===null?w=R:g.sibling=R,g=R);return at&&fi(j,E),w}for(S=i(j,S);!R.done;E++,R=m.next())R=x(S,j,E,R.value,v),R!==null&&(e&&R.alternate!==null&&S.delete(R.key===null?E:R.key),d=a(R,d,E),g===null?w=R:g.sibling=R,g=R);return e&&S.forEach(function(Y){return t(j,Y)}),at&&fi(j,E),w}function C(j,d,m,v){if(typeof m=="object"&&m!==null&&m.type===Qi&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Ya:e:{for(var w=m.key,g=d;g!==null;){if(g.key===w){if(w=m.type,w===Qi){if(g.tag===7){n(j,g.sibling),d=s(g,m.props.children),d.return=j,j=d;break e}}else if(g.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Dr&&Hh(w)===g.type){n(j,g.sibling),d=s(g,m.props),d.ref=As(j,g,m),d.return=j,j=d;break e}n(j,g);break}else t(j,g);g=g.sibling}m.type===Qi?(d=Ci(m.props.children,j.mode,v,m.key),d.return=j,j=d):(v=$o(m.type,m.key,m.props,null,j.mode,v),v.ref=As(j,d,m),v.return=j,j=v)}return o(j);case Gi:e:{for(g=m.key;d!==null;){if(d.key===g)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){n(j,d.sibling),d=s(d,m.children||[]),d.return=j,j=d;break e}else{n(j,d);break}else t(j,d);d=d.sibling}d=vc(m,j.mode,v),d.return=j,j=d}return o(j);case Dr:return g=m._init,C(j,d,g(m._payload),v)}if(Qs(m))return _(j,d,m,v);if(Es(m))return y(j,d,m,v);oo(j,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,d!==null&&d.tag===6?(n(j,d.sibling),d=s(d,m),d.return=j,j=d):(n(j,d),d=xc(m,j.mode,v),d.return=j,j=d),o(j)):n(j,d)}return C}var gs=Ff(!0),Bf=Ff(!1),Vo=si(null),Ko=null,rs=null,fu=null;function mu(){fu=rs=Ko=null}function gu(e){var t=Vo.current;tt(Vo),e._currentValue=t}function fd(e,t,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}}function us(e,t){Ko=e,fu=rs=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ln=!0),e.firstContext=null)}function Rn(e){var t=e._currentValue;if(fu!==e)if(e={context:e,memoizedValue:t,next:null},rs===null){if(Ko===null)throw Error(H(308));rs=e,Ko.dependencies={lanes:0,firstContext:e}}else rs=rs.next=e;return t}var _i=null;function xu(e){_i===null?_i=[e]:_i.push(e)}function Of(e,t,n,i){var s=t.interleaved;return s===null?(n.next=n,xu(t)):(n.next=s.next,s.next=n),t.interleaved=n,Nr(e,i)}function Nr(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 Ur=!1;function vu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Df(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 br(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xr(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,Pe&2){var s=i.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),i.pending=t,Nr(e,n)}return s=i.interleaved,s===null?(t.next=t,xu(i)):(t.next=s.next,s.next=t),i.interleaved=t,Nr(e,n)}function bo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,ru(e,n)}}function Wh(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var s=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?s=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?s=a=t:a=a.next=t}else s=a=t;n={baseState:i.baseState,firstBaseUpdate:s,lastBaseUpdate:a,shared:i.shared,effects:i.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Go(e,t,n,i){var s=e.updateQueue;Ur=!1;var a=s.firstBaseUpdate,o=s.lastBaseUpdate,l=s.shared.pending;if(l!==null){s.shared.pending=null;var c=l,u=c.next;c.next=null,o===null?a=u:o.next=u,o=c;var h=e.alternate;h!==null&&(h=h.updateQueue,l=h.lastBaseUpdate,l!==o&&(l===null?h.firstBaseUpdate=u:l.next=u,h.lastBaseUpdate=c))}if(a!==null){var f=s.baseState;o=0,h=u=c=null,l=a;do{var p=l.lane,x=l.eventTime;if((i&p)===p){h!==null&&(h=h.next={eventTime:x,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var _=e,y=l;switch(p=t,x=n,y.tag){case 1:if(_=y.payload,typeof _=="function"){f=_.call(x,f,p);break e}f=_;break e;case 3:_.flags=_.flags&-65537|128;case 0:if(_=y.payload,p=typeof _=="function"?_.call(x,f,p):_,p==null)break e;f=ut({},f,p);break e;case 2:Ur=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,p=s.effects,p===null?s.effects=[l]:p.push(l))}else x={eventTime:x,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},h===null?(u=h=x,c=f):h=h.next=x,o|=p;if(l=l.next,l===null){if(l=s.shared.pending,l===null)break;p=l,l=p.next,p.next=null,s.lastBaseUpdate=p,s.shared.pending=null}}while(!0);if(h===null&&(c=f),s.baseState=c,s.firstBaseUpdate=u,s.lastBaseUpdate=h,t=s.shared.interleaved,t!==null){s=t;do o|=s.lane,s=s.next;while(s!==t)}else a===null&&(s.shared.lanes=0);Ei|=o,e.lanes=o,e.memoizedState=f}}function qh(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var i=hc.transition;hc.transition={};try{e(!1),t()}finally{He=n,hc.transition=i}}function im(){return An().memoizedState}function s4(e,t,n){var i=ei(e);if(n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},sm(e))am(t,n);else if(n=Of(e,t,n,i),n!==null){var s=tn();Wn(n,e,i,s),om(n,t,i)}}function a4(e,t,n){var i=ei(e),s={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(sm(e))am(t,s);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,l=a(o,n);if(s.hasEagerState=!0,s.eagerState=l,qn(l,o)){var c=t.interleaved;c===null?(s.next=s,xu(t)):(s.next=c.next,c.next=s),t.interleaved=s;return}}catch{}finally{}n=Of(e,t,s,i),n!==null&&(s=tn(),Wn(n,e,i,s),om(n,t,i))}}function sm(e){var t=e.alternate;return e===dt||t!==null&&t===dt}function am(e,t){sa=Yo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function om(e,t,n){if(n&4194240){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,ru(e,n)}}var Jo={readContext:Rn,useCallback:Wt,useContext:Wt,useEffect:Wt,useImperativeHandle:Wt,useInsertionEffect:Wt,useLayoutEffect:Wt,useMemo:Wt,useReducer:Wt,useRef:Wt,useState:Wt,useDebugValue:Wt,useDeferredValue:Wt,useTransition:Wt,useMutableSource:Wt,useSyncExternalStore:Wt,useId:Wt,unstable_isNewReconciler:!1},o4={readContext:Rn,useCallback:function(e,t){return rr().memoizedState=[e,t===void 0?null:t],e},useContext:Rn,useEffect:Kh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Co(4194308,4,Zf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Co(4194308,4,e,t)},useInsertionEffect:function(e,t){return Co(4,2,e,t)},useMemo:function(e,t){var n=rr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var i=rr();return t=n!==void 0?n(t):t,i.memoizedState=i.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},i.queue=e,e=e.dispatch=s4.bind(null,dt,e),[i.memoizedState,e]},useRef:function(e){var t=rr();return e={current:e},t.memoizedState=e},useState:Vh,useDebugValue:Su,useDeferredValue:function(e){return rr().memoizedState=e},useTransition:function(){var e=Vh(!1),t=e[0];return e=i4.bind(null,e[1]),rr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=dt,s=rr();if(at){if(n===void 0)throw Error(H(407));n=n()}else{if(n=t(),Rt===null)throw Error(H(349));$i&30||qf(i,t,n)}s.memoizedState=n;var a={value:n,getSnapshot:t};return s.queue=a,Kh(Kf.bind(null,i,a,e),[e]),i.flags|=2048,Sa(9,Vf.bind(null,i,a,n,t),void 0,null),n},useId:function(){var e=rr(),t=Rt.identifierPrefix;if(at){var n=yr,i=jr;n=(i&~(1<<32-Hn(i)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ca++,0")&&(c=c.replace("",e.displayName)),c}while(1<=o&&0<=l);break}}}finally{Ql=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Gs(e):""}function Tg(e){switch(e.tag){case 5:return Gs(e.type);case 16:return Gs("Lazy");case 13:return Gs("Suspense");case 19:return Gs("SuspenseList");case 0:case 2:case 15:return e=Yl(e.type,!1),e;case 11:return e=Yl(e.type.render,!1),e;case 1:return e=Yl(e.type,!0),e;default:return""}}function Hc(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 Qi:return"Fragment";case Gi:return"Portal";case Oc:return"Profiler";case Xd:return"StrictMode";case Dc:return"Suspense";case Uc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case O1:return(e.displayName||"Context")+".Consumer";case B1:return(e._context.displayName||"Context")+".Provider";case Zd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case eu:return t=e.displayName||null,t!==null?t:Hc(e.type)||"Memo";case Dr:t=e._payload,e=e._init;try{return Hc(e(t))}catch{}}return null}function Fg(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 Hc(t);case 8:return t===Xd?"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 ni(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function U1(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Bg(e){var t=U1(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(o){i=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(o){i=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ja(e){e._valueTracker||(e._valueTracker=Bg(e))}function H1(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=U1(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}function Ro(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Wc(e,t){var n=t.checked;return ut({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function hh(e,t){var n=t.defaultValue==null?"":t.defaultValue,i=t.checked!=null?t.checked:t.defaultChecked;n=ni(t.value!=null?t.value:n),e._wrapperState={initialChecked:i,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function W1(e,t){t=t.checked,t!=null&&Jd(e,"checked",t,!1)}function qc(e,t){W1(e,t);var n=ni(t.value),i=t.type;if(n!=null)i==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(i==="submit"||i==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Vc(e,t.type,n):t.hasOwnProperty("defaultValue")&&Vc(e,t.type,ni(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ph(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var i=t.type;if(!(i!=="submit"&&i!=="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 Vc(e,t,n){(t!=="number"||Ro(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Qs=Array.isArray;function os(e,t,n,i){if(e=e.options,t){t={};for(var s=0;s"+t.valueOf().toString()+"",t=Xa.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ha(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ea={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},Og=["Webkit","ms","Moz","O"];Object.keys(ea).forEach(function(e){Og.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ea[t]=ea[e]})});function G1(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ea.hasOwnProperty(e)&&ea[e]?(""+t).trim():t+"px"}function Q1(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var i=n.indexOf("--")===0,s=G1(n,t[n],i);n==="float"&&(n="cssFloat"),i?e.setProperty(n,s):e[n]=s}}var Dg=ut({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 Qc(e,t){if(t){if(Dg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(H(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(H(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(H(61))}if(t.style!=null&&typeof t.style!="object")throw Error(H(62))}}function Yc(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 Jc=null;function tu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Xc=null,ls=null,cs=null;function gh(e){if(e=Ta(e)){if(typeof Xc!="function")throw Error(H(280));var t=e.stateNode;t&&(t=Cl(t),Xc(e.stateNode,e.type,t))}}function Y1(e){ls?cs?cs.push(e):cs=[e]:ls=e}function J1(){if(ls){var e=ls,t=cs;if(cs=ls=null,gh(e),t)for(e=0;e>>=0,e===0?32:31-(Xg(e)/Zg|0)|0}var Za=64,eo=4194304;function Ys(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 To(e,t){var n=e.pendingLanes;if(n===0)return 0;var i=0,s=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var l=o&~s;l!==0?i=Ys(l):(a&=o,a!==0&&(i=Ys(a)))}else o=n&~s,o!==0?i=Ys(o):a!==0&&(i=Ys(a));if(i===0)return 0;if(t!==0&&t!==i&&!(t&s)&&(s=i&-i,a=t&-t,s>=a||s===16&&(a&4194240)!==0))return t;if(i&4&&(i|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=i;0n;n++)t.push(e);return t}function Pa(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Hn(t),e[t]=n}function r2(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 i=e.eventTimes;for(e=e.expirationTimes;0=na),kh=" ",Sh=!1;function vf(e,t){switch(e){case"keyup":return L2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _f(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Yi=!1;function R2(e,t){switch(e){case"compositionend":return _f(t);case"keypress":return t.which!==32?null:(Sh=!0,kh);case"textInput":return e=t.data,e===kh&&Sh?null:e;default:return null}}function A2(e,t){if(Yi)return e==="compositionend"||!cu&&vf(e,t)?(e=gf(),jo=au=qr=null,Yi=!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=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=zh(n)}}function wf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?wf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Cf(){for(var e=window,t=Ro();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ro(e.document)}return t}function du(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 H2(e){var t=Cf(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&wf(n.ownerDocument.documentElement,n)){if(i!==null&&du(n)){if(t=i.start,e=i.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 s=n.textContent.length,a=Math.min(i.start,s);i=i.end===void 0?a:Math.min(i.end,s),!e.extend&&a>i&&(s=i,i=a,a=s),s=Lh(n,a);var o=Lh(n,i);s&&o&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),a>i?(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,Ji=null,id=null,ia=null,sd=!1;function Ih(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;sd||Ji==null||Ji!==Ro(i)||(i=Ji,"selectionStart"in i&&du(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),ia&&va(ia,i)||(ia=i,i=Oo(id,"onSelect"),0es||(e.current=ud[es],ud[es]=null,es--)}function Ye(e,t){es++,ud[es]=e.current,e.current=t}var ri={},Yt=si(ri),cn=si(!1),Si=ri;function fs(e,t){var n=e.type.contextTypes;if(!n)return ri;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var s={},a;for(a in n)s[a]=t[a];return i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function dn(e){return e=e.childContextTypes,e!=null}function Uo(){tt(cn),tt(Yt)}function Bh(e,t,n){if(Yt.current!==ri)throw Error(H(168));Ye(Yt,t),Ye(cn,n)}function Rf(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!="function")return n;i=i.getChildContext();for(var s in i)if(!(s in t))throw Error(H(108,Fg(e)||"Unknown",s));return ut({},n,i)}function Ho(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ri,Si=Yt.current,Ye(Yt,e),Ye(cn,cn.current),!0}function Oh(e,t,n){var i=e.stateNode;if(!i)throw Error(H(169));n?(e=Rf(e,t,Si),i.__reactInternalMemoizedMergedChildContext=e,tt(cn),tt(Yt),Ye(Yt,e)):tt(cn),Ye(cn,n)}var _r=null,kl=!1,dc=!1;function Af(e){_r===null?_r=[e]:_r.push(e)}function t4(e){kl=!0,Af(e)}function ai(){if(!dc&&_r!==null){dc=!0;var e=0,t=He;try{var n=_r;for(He=1;e>=o,s-=o,jr=1<<32-Hn(t)+s|n<E?(L=S,S=null):L=S.sibling;var R=p(_,S,m[E],v);if(R===null){S===null&&(S=L);break}e&&S&&R.alternate===null&&t(_,S),d=a(R,d,E),g===null?w=R:g.sibling=R,g=R,S=L}if(E===m.length)return n(_,S),at&&fi(_,E),w;if(S===null){for(;EE?(L=S,S=null):L=S.sibling;var F=p(_,S,R.value,v);if(F===null){S===null&&(S=L);break}e&&S&&F.alternate===null&&t(_,S),d=a(F,d,E),g===null?w=F:g.sibling=F,g=F,S=L}if(R.done)return n(_,S),at&&fi(_,E),w;if(S===null){for(;!R.done;E++,R=m.next())R=f(_,R.value,v),R!==null&&(d=a(R,d,E),g===null?w=R:g.sibling=R,g=R);return at&&fi(_,E),w}for(S=i(_,S);!R.done;E++,R=m.next())R=x(S,_,E,R.value,v),R!==null&&(e&&R.alternate!==null&&S.delete(R.key===null?E:R.key),d=a(R,d,E),g===null?w=R:g.sibling=R,g=R);return e&&S.forEach(function(Y){return t(_,Y)}),at&&fi(_,E),w}function C(_,d,m,v){if(typeof m=="object"&&m!==null&&m.type===Qi&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Ya:e:{for(var w=m.key,g=d;g!==null;){if(g.key===w){if(w=m.type,w===Qi){if(g.tag===7){n(_,g.sibling),d=s(g,m.props.children),d.return=_,_=d;break e}}else if(g.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Dr&&Hh(w)===g.type){n(_,g.sibling),d=s(g,m.props),d.ref=As(_,g,m),d.return=_,_=d;break e}n(_,g);break}else t(_,g);g=g.sibling}m.type===Qi?(d=Ci(m.props.children,_.mode,v,m.key),d.return=_,_=d):(v=$o(m.type,m.key,m.props,null,_.mode,v),v.ref=As(_,d,m),v.return=_,_=v)}return o(_);case Gi:e:{for(g=m.key;d!==null;){if(d.key===g)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){n(_,d.sibling),d=s(d,m.children||[]),d.return=_,_=d;break e}else{n(_,d);break}else t(_,d);d=d.sibling}d=vc(m,_.mode,v),d.return=_,_=d}return o(_);case Dr:return g=m._init,C(_,d,g(m._payload),v)}if(Qs(m))return j(_,d,m,v);if(Es(m))return y(_,d,m,v);oo(_,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,d!==null&&d.tag===6?(n(_,d.sibling),d=s(d,m),d.return=_,_=d):(n(_,d),d=xc(m,_.mode,v),d.return=_,_=d),o(_)):n(_,d)}return C}var gs=Ff(!0),Bf=Ff(!1),Vo=si(null),Ko=null,rs=null,fu=null;function mu(){fu=rs=Ko=null}function gu(e){var t=Vo.current;tt(Vo),e._currentValue=t}function fd(e,t,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}}function us(e,t){Ko=e,fu=rs=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ln=!0),e.firstContext=null)}function Rn(e){var t=e._currentValue;if(fu!==e)if(e={context:e,memoizedValue:t,next:null},rs===null){if(Ko===null)throw Error(H(308));rs=e,Ko.dependencies={lanes:0,firstContext:e}}else rs=rs.next=e;return t}var _i=null;function xu(e){_i===null?_i=[e]:_i.push(e)}function Of(e,t,n,i){var s=t.interleaved;return s===null?(n.next=n,xu(t)):(n.next=s.next,s.next=n),t.interleaved=n,Nr(e,i)}function Nr(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 Ur=!1;function vu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Df(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 br(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Xr(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,Pe&2){var s=i.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),i.pending=t,Nr(e,n)}return s=i.interleaved,s===null?(t.next=t,xu(i)):(t.next=s.next,s.next=t),i.interleaved=t,Nr(e,n)}function bo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,ru(e,n)}}function Wh(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var s=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?s=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?s=a=t:a=a.next=t}else s=a=t;n={baseState:i.baseState,firstBaseUpdate:s,lastBaseUpdate:a,shared:i.shared,effects:i.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Go(e,t,n,i){var s=e.updateQueue;Ur=!1;var a=s.firstBaseUpdate,o=s.lastBaseUpdate,l=s.shared.pending;if(l!==null){s.shared.pending=null;var c=l,u=c.next;c.next=null,o===null?a=u:o.next=u,o=c;var h=e.alternate;h!==null&&(h=h.updateQueue,l=h.lastBaseUpdate,l!==o&&(l===null?h.firstBaseUpdate=u:l.next=u,h.lastBaseUpdate=c))}if(a!==null){var f=s.baseState;o=0,h=u=c=null,l=a;do{var p=l.lane,x=l.eventTime;if((i&p)===p){h!==null&&(h=h.next={eventTime:x,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var j=e,y=l;switch(p=t,x=n,y.tag){case 1:if(j=y.payload,typeof j=="function"){f=j.call(x,f,p);break e}f=j;break e;case 3:j.flags=j.flags&-65537|128;case 0:if(j=y.payload,p=typeof j=="function"?j.call(x,f,p):j,p==null)break e;f=ut({},f,p);break e;case 2:Ur=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,p=s.effects,p===null?s.effects=[l]:p.push(l))}else x={eventTime:x,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},h===null?(u=h=x,c=f):h=h.next=x,o|=p;if(l=l.next,l===null){if(l=s.shared.pending,l===null)break;p=l,l=p.next,p.next=null,s.lastBaseUpdate=p,s.shared.pending=null}}while(!0);if(h===null&&(c=f),s.baseState=c,s.firstBaseUpdate=u,s.lastBaseUpdate=h,t=s.shared.interleaved,t!==null){s=t;do o|=s.lane,s=s.next;while(s!==t)}else a===null&&(s.shared.lanes=0);Ei|=o,e.lanes=o,e.memoizedState=f}}function qh(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var i=hc.transition;hc.transition={};try{e(!1),t()}finally{He=n,hc.transition=i}}function im(){return An().memoizedState}function s4(e,t,n){var i=ei(e);if(n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},sm(e))am(t,n);else if(n=Of(e,t,n,i),n!==null){var s=tn();Wn(n,e,i,s),om(n,t,i)}}function a4(e,t,n){var i=ei(e),s={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(sm(e))am(t,s);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,l=a(o,n);if(s.hasEagerState=!0,s.eagerState=l,qn(l,o)){var c=t.interleaved;c===null?(s.next=s,xu(t)):(s.next=c.next,c.next=s),t.interleaved=s;return}}catch{}finally{}n=Of(e,t,s,i),n!==null&&(s=tn(),Wn(n,e,i,s),om(n,t,i))}}function sm(e){var t=e.alternate;return e===dt||t!==null&&t===dt}function am(e,t){sa=Yo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function om(e,t,n){if(n&4194240){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,ru(e,n)}}var Jo={readContext:Rn,useCallback:Wt,useContext:Wt,useEffect:Wt,useImperativeHandle:Wt,useInsertionEffect:Wt,useLayoutEffect:Wt,useMemo:Wt,useReducer:Wt,useRef:Wt,useState:Wt,useDebugValue:Wt,useDeferredValue:Wt,useTransition:Wt,useMutableSource:Wt,useSyncExternalStore:Wt,useId:Wt,unstable_isNewReconciler:!1},o4={readContext:Rn,useCallback:function(e,t){return rr().memoizedState=[e,t===void 0?null:t],e},useContext:Rn,useEffect:Kh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Co(4194308,4,Zf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Co(4194308,4,e,t)},useInsertionEffect:function(e,t){return Co(4,2,e,t)},useMemo:function(e,t){var n=rr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var i=rr();return t=n!==void 0?n(t):t,i.memoizedState=i.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},i.queue=e,e=e.dispatch=s4.bind(null,dt,e),[i.memoizedState,e]},useRef:function(e){var t=rr();return e={current:e},t.memoizedState=e},useState:Vh,useDebugValue:Su,useDeferredValue:function(e){return rr().memoizedState=e},useTransition:function(){var e=Vh(!1),t=e[0];return e=i4.bind(null,e[1]),rr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=dt,s=rr();if(at){if(n===void 0)throw Error(H(407));n=n()}else{if(n=t(),Rt===null)throw Error(H(349));$i&30||qf(i,t,n)}s.memoizedState=n;var a={value:n,getSnapshot:t};return s.queue=a,Kh(Kf.bind(null,i,a,e),[e]),i.flags|=2048,Sa(9,Vf.bind(null,i,a,n,t),void 0,null),n},useId:function(){var e=rr(),t=Rt.identifierPrefix;if(at){var n=yr,i=jr;n=(i&~(1<<32-Hn(i)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ca++,0<\/script>",e=e.removeChild(e.firstChild)):typeof i.is=="string"?e=o.createElement(n,{is:i.is}):(e=o.createElement(n),n==="select"&&(o=e,i.multiple?o.multiple=!0:i.size&&(o.size=i.size))):e=o.createElementNS(e,n),e[sr]=t,e[ya]=i,xm(e,t,!1,!1),t.stateNode=e;e:{switch(o=Yc(n,i),n){case"dialog":Ze("cancel",e),Ze("close",e),s=i;break;case"iframe":case"object":case"embed":Ze("load",e),s=i;break;case"video":case"audio":for(s=0;s_s&&(t.flags|=128,i=!0,Ps(a,!1),t.lanes=4194304)}else{if(!i)if(e=Qo(o),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ps(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!at)return qt(t),null}else 2*jt()-a.renderingStartTime>_s&&n!==1073741824&&(t.flags|=128,i=!0,Ps(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=jt(),t.sibling=null,n=ct.current,Ye(ct,i?n&1|2:n&1),t):(qt(t),null);case 22:case 23:return Iu(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?gn&1073741824&&(qt(t),t.subtreeFlags&6&&(t.flags|=8192)):qt(t),null;case 24:return null;case 25:return null}throw Error(H(156,t.tag))}function m4(e,t){switch(hu(t),t.tag){case 1:return dn(t.type)&&Uo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return xs(),tt(cn),tt(Yt),yu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ju(t),null;case 13:if(tt(ct),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(H(340));ms()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return tt(ct),null;case 4:return xs(),null;case 10:return gu(t.type._context),null;case 22:case 23:return Iu(),null;case 24:return null;default:return null}}var co=!1,Qt=!1,g4=typeof WeakSet=="function"?WeakSet:Set,re=null;function is(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(i){vt(e,t,i)}else n.current=null}function wd(e,t,n){try{n()}catch(i){vt(e,t,i)}}var ip=!1;function x4(e,t){if(ad=Fo,e=Cf(),du(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var s=i.anchorOffset,a=i.focusNode;i=i.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var o=0,l=-1,c=-1,u=0,h=0,f=e,p=null;t:for(;;){for(var x;f!==n||s!==0&&f.nodeType!==3||(l=o+s),f!==a||i!==0&&f.nodeType!==3||(c=o+i),f.nodeType===3&&(o+=f.nodeValue.length),(x=f.firstChild)!==null;)p=f,f=x;for(;;){if(f===e)break t;if(p===n&&++u===s&&(l=o),p===a&&++h===i&&(c=o),(x=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=x}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(od={focusedElem:e,selectionRange:n},Fo=!1,re=t;re!==null;)if(t=re,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,re=e;else for(;re!==null;){t=re;try{var _=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(_!==null){var y=_.memoizedProps,C=_.memoizedState,j=t.stateNode,d=j.getSnapshotBeforeUpdate(t.elementType===t.type?y:Fn(t.type,y),C);j.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(H(163))}}catch(v){vt(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,re=e;break}re=t.return}return _=ip,ip=!1,_}function aa(e,t,n){var i=t.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var s=i=i.next;do{if((s.tag&e)===e){var a=s.destroy;s.destroy=void 0,a!==void 0&&wd(t,n,a)}s=s.next}while(s!==i)}}function $l(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 i=n.create;n.destroy=i()}n=n.next}while(n!==t)}}function Cd(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 jm(e){var t=e.alternate;t!==null&&(e.alternate=null,jm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[sr],delete t[ya],delete t[dd],delete t[Z2],delete t[e4])),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 ym(e){return e.tag===5||e.tag===3||e.tag===4}function sp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ym(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 kd(e,t,n){var i=e.tag;if(i===5||i===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=Do));else if(i!==4&&(e=e.child,e!==null))for(kd(e,t,n),e=e.sibling;e!==null;)kd(e,t,n),e=e.sibling}function Sd(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&(e=e.child,e!==null))for(Sd(e,t,n),e=e.sibling;e!==null;)Sd(e,t,n),e=e.sibling}var Ot=null,Bn=!1;function Tr(e,t,n){for(n=n.child;n!==null;)bm(e,t,n),n=n.sibling}function bm(e,t,n){if(lr&&typeof lr.onCommitFiberUnmount=="function")try{lr.onCommitFiberUnmount(jl,n)}catch{}switch(n.tag){case 5:Qt||is(n,t);case 6:var i=Ot,s=Bn;Ot=null,Tr(e,t,n),Ot=i,Bn=s,Ot!==null&&(Bn?(e=Ot,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ot.removeChild(n.stateNode));break;case 18:Ot!==null&&(Bn?(e=Ot,n=n.stateNode,e.nodeType===8?cc(e.parentNode,n):e.nodeType===1&&cc(e,n),ga(e)):cc(Ot,n.stateNode));break;case 4:i=Ot,s=Bn,Ot=n.stateNode.containerInfo,Bn=!0,Tr(e,t,n),Ot=i,Bn=s;break;case 0:case 11:case 14:case 15:if(!Qt&&(i=n.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){s=i=i.next;do{var a=s,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&wd(n,t,o),s=s.next}while(s!==i)}Tr(e,t,n);break;case 1:if(!Qt&&(is(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(l){vt(n,t,l)}Tr(e,t,n);break;case 21:Tr(e,t,n);break;case 22:n.mode&1?(Qt=(i=Qt)||n.memoizedState!==null,Tr(e,t,n),Qt=i):Tr(e,t,n);break;default:Tr(e,t,n)}}function ap(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new g4),t.forEach(function(i){var s=S4.bind(null,e,i);n.has(i)||(n.add(i),i.then(s,s))})}}function Mn(e,t){var n=t.deletions;if(n!==null)for(var i=0;is&&(s=o),i&=~a}if(i=s,i=jt()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*_4(i/1960))-i,10e?16:e,Vr===null)var i=!1;else{if(e=Vr,Vr=null,el=0,Pe&6)throw Error(H(331));var s=Pe;for(Pe|=4,re=e.current;re!==null;){var a=re,o=a.child;if(re.flags&16){var l=a.deletions;if(l!==null){for(var c=0;cjt()-zu?wi(e,0):Eu|=n),un(e,t)}function zm(e,t){t===0&&(e.mode&1?(t=eo,eo<<=1,!(eo&130023424)&&(eo=4194304)):t=1);var n=tn();e=Nr(e,t),e!==null&&(Pa(e,t,n),un(e,n))}function k4(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),zm(e,n)}function S4(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(H(314))}i!==null&&i.delete(t),zm(e,n)}var Lm;Lm=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||cn.current)ln=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ln=!1,p4(e,t,n);ln=!!(e.flags&131072)}else ln=!1,at&&t.flags&1048576&&Pf(t,qo,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;ko(e,t),e=t.pendingProps;var s=fs(t,Yt.current);us(t,n),s=wu(null,t,i,e,s,n);var a=Cu();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,dn(i)?(a=!0,Ho(t)):a=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,vu(t),s.updater=Nl,t.stateNode=s,s._reactInternals=t,gd(t,i,e,n),t=_d(null,t,i,!0,a,n)):(t.tag=0,at&&a&&uu(t),en(null,t,s,n),t=t.child),t;case 16:i=t.elementType;e:{switch(ko(e,t),e=t.pendingProps,s=i._init,i=s(i._payload),t.type=i,s=t.tag=$4(i),e=Fn(i,e),s){case 0:t=vd(null,t,i,e,n);break e;case 1:t=tp(null,t,i,e,n);break e;case 11:t=Zh(null,t,i,e,n);break e;case 14:t=ep(null,t,i,Fn(i.type,e),n);break e}throw Error(H(306,i,""))}return t;case 0:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:Fn(i,s),vd(e,t,i,s,n);case 1:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:Fn(i,s),tp(e,t,i,s,n);case 3:e:{if(fm(t),e===null)throw Error(H(387));i=t.pendingProps,a=t.memoizedState,s=a.element,Df(e,t),Go(t,i,null,n);var o=t.memoizedState;if(i=o.element,a.isDehydrated)if(a={element:i,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){s=vs(Error(H(423)),t),t=np(e,t,i,n,s);break e}else if(i!==s){s=vs(Error(H(424)),t),t=np(e,t,i,n,s);break e}else for(vn=Jr(t.stateNode.containerInfo.firstChild),_n=t,at=!0,Dn=null,n=Bf(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ms(),i===s){t=$r(e,t,n);break e}en(e,t,i,n)}t=t.child}return t;case 5:return Uf(t),e===null&&pd(t),i=t.type,s=t.pendingProps,a=e!==null?e.memoizedProps:null,o=s.children,ld(i,s)?o=null:a!==null&&ld(i,a)&&(t.flags|=32),pm(e,t),en(e,t,o,n),t.child;case 6:return e===null&&pd(t),null;case 13:return mm(e,t,n);case 4:return _u(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=gs(t,null,i,n):en(e,t,i,n),t.child;case 11:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:Fn(i,s),Zh(e,t,i,s,n);case 7:return en(e,t,t.pendingProps,n),t.child;case 8:return en(e,t,t.pendingProps.children,n),t.child;case 12:return en(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(i=t.type._context,s=t.pendingProps,a=t.memoizedProps,o=s.value,Ye(Vo,i._currentValue),i._currentValue=o,a!==null)if(qn(a.value,o)){if(a.children===s.children&&!cn.current){t=$r(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var l=a.dependencies;if(l!==null){o=a.child;for(var c=l.firstContext;c!==null;){if(c.context===i){if(a.tag===1){c=br(-1,n&-n),c.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var h=u.pending;h===null?c.next=c:(c.next=h.next,h.next=c),u.pending=c}}a.lanes|=n,c=a.alternate,c!==null&&(c.lanes|=n),fd(a.return,n,t),l.lanes|=n;break}c=c.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(H(341));o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),fd(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}en(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,i=t.pendingProps.children,us(t,n),s=Rn(s),i=i(s),t.flags|=1,en(e,t,i,n),t.child;case 14:return i=t.type,s=Fn(i,t.pendingProps),s=Fn(i.type,s),ep(e,t,i,s,n);case 15:return um(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:Fn(i,s),ko(e,t),t.tag=1,dn(i)?(e=!0,Ho(t)):e=!1,us(t,n),lm(t,i,s),gd(t,i,s,n),_d(null,t,i,!0,e,n);case 19:return gm(e,t,n);case 22:return hm(e,t,n)}throw Error(H(156,t.tag))};function Im(e,t){return sf(e,t)}function N4(e,t,n,i){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=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ln(e,t,n,i){return new N4(e,t,n,i)}function Au(e){return e=e.prototype,!(!e||!e.isReactComponent)}function $4(e){if(typeof e=="function")return Au(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Zd)return 11;if(e===eu)return 14}return 2}function ti(e,t){var n=e.alternate;return n===null?(n=Ln(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 $o(e,t,n,i,s,a){var o=2;if(i=e,typeof e=="function")Au(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Qi:return Ci(n.children,s,a,t);case Xd:o=8,s|=8;break;case Oc:return e=Ln(12,n,t,s|2),e.elementType=Oc,e.lanes=a,e;case Dc:return e=Ln(13,n,t,s),e.elementType=Dc,e.lanes=a,e;case Uc:return e=Ln(19,n,t,s),e.elementType=Uc,e.lanes=a,e;case D1:return zl(n,s,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case B1:o=10;break e;case O1:o=9;break e;case Zd:o=11;break e;case eu:o=14;break e;case Dr:o=16,i=null;break e}throw Error(H(130,e==null?e:typeof e,""))}return t=Ln(o,n,t,s),t.elementType=e,t.type=i,t.lanes=a,t}function Ci(e,t,n,i){return e=Ln(7,e,i,t),e.lanes=n,e}function zl(e,t,n,i){return e=Ln(22,e,i,t),e.elementType=D1,e.lanes=n,e.stateNode={isHidden:!1},e}function xc(e,t,n){return e=Ln(6,e,null,t),e.lanes=n,e}function vc(e,t,n){return t=Ln(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function E4(e,t,n,i,s){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=Xl(0),this.expirationTimes=Xl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xl(0),this.identifierPrefix=i,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function Pu(e,t,n,i,s,a,o,l,c){return e=new E4(e,t,n,l,c),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Ln(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},vu(a),e}function z4(e,t,n){var i=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Mm)}catch(e){console.error(e)}}Mm(),P1.exports=yn;var Ba=P1.exports;const Bu=Wd(Ba),P4=w1({__proto__:null,default:Bu},[Ba]);var Tm,fp=Ba;Tm=fp.createRoot,fp.hydrateRoot;/** +`+a.stack}return{value:e,source:t,stack:s,digest:null}}function mc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function xd(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var d4=typeof WeakMap=="function"?WeakMap:Map;function cm(e,t,n){n=br(-1,n),n.tag=3,n.payload={element:null};var i=t.value;return n.callback=function(){Zo||(Zo=!0,Nd=i),xd(e,t)},n}function dm(e,t,n){n=br(-1,n),n.tag=3;var i=e.type.getDerivedStateFromError;if(typeof i=="function"){var s=t.value;n.payload=function(){return i(s)},n.callback=function(){xd(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){xd(e,t),typeof i!="function"&&(Zr===null?Zr=new Set([this]):Zr.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Yh(e,t,n){var i=e.pingCache;if(i===null){i=e.pingCache=new d4;var s=new Set;i.set(t,s)}else s=i.get(t),s===void 0&&(s=new Set,i.set(t,s));s.has(n)||(s.add(n),e=C4.bind(null,e,t,n),t.then(e,e))}function Jh(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Xh(e,t,n,i,s){return e.mode&1?(e.flags|=65536,e.lanes=s,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=br(-1,1),t.tag=2,Xr(n,t,1))),n.lanes|=1),e)}var u4=zr.ReactCurrentOwner,ln=!1;function en(e,t,n,i){t.child=e===null?Bf(t,null,n,i):gs(t,e.child,n,i)}function Zh(e,t,n,i,s){n=n.render;var a=t.ref;return us(t,s),i=wu(e,t,n,i,a,s),n=Cu(),e!==null&&!ln?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,$r(e,t,s)):(at&&n&&uu(t),t.flags|=1,en(e,t,i,s),t.child)}function ep(e,t,n,i,s){if(e===null){var a=n.type;return typeof a=="function"&&!Au(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,um(e,t,a,i,s)):(e=$o(n.type,null,i,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&s)){var o=a.memoizedProps;if(n=n.compare,n=n!==null?n:va,n(o,i)&&e.ref===t.ref)return $r(e,t,s)}return t.flags|=1,e=ti(a,i),e.ref=t.ref,e.return=t,t.child=e}function um(e,t,n,i,s){if(e!==null){var a=e.memoizedProps;if(va(a,i)&&e.ref===t.ref)if(ln=!1,t.pendingProps=i=a,(e.lanes&s)!==0)e.flags&131072&&(ln=!0);else return t.lanes=e.lanes,$r(e,t,s)}return vd(e,t,n,i,s)}function hm(e,t,n){var i=t.pendingProps,s=i.children,a=e!==null?e.memoizedState:null;if(i.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ye(ss,gn),gn|=n;else{if(!(n&1073741824))return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ye(ss,gn),gn|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},i=a!==null?a.baseLanes:n,Ye(ss,gn),gn|=i}else a!==null?(i=a.baseLanes|n,t.memoizedState=null):i=n,Ye(ss,gn),gn|=i;return en(e,t,s,n),t.child}function pm(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function vd(e,t,n,i,s){var a=dn(n)?Si:Yt.current;return a=fs(t,a),us(t,s),n=wu(e,t,n,i,a,s),i=Cu(),e!==null&&!ln?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,$r(e,t,s)):(at&&i&&uu(t),t.flags|=1,en(e,t,n,s),t.child)}function tp(e,t,n,i,s){if(dn(n)){var a=!0;Ho(t)}else a=!1;if(us(t,s),t.stateNode===null)ko(e,t),lm(t,n,i),gd(t,n,i,s),i=!0;else if(e===null){var o=t.stateNode,l=t.memoizedProps;o.props=l;var c=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=Rn(u):(u=dn(n)?Si:Yt.current,u=fs(t,u));var h=n.getDerivedStateFromProps,f=typeof h=="function"||typeof o.getSnapshotBeforeUpdate=="function";f||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==i||c!==u)&&Qh(t,o,i,u),Ur=!1;var p=t.memoizedState;o.state=p,Go(t,i,o,s),c=t.memoizedState,l!==i||p!==c||cn.current||Ur?(typeof h=="function"&&(md(t,n,h,i),c=t.memoizedState),(l=Ur||Gh(t,n,l,i,p,c,u))?(f||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=c),o.props=i,o.state=c,o.context=u,i=l):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{o=t.stateNode,Df(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Fn(t.type,l),o.props=u,f=t.pendingProps,p=o.context,c=n.contextType,typeof c=="object"&&c!==null?c=Rn(c):(c=dn(n)?Si:Yt.current,c=fs(t,c));var x=n.getDerivedStateFromProps;(h=typeof x=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==f||p!==c)&&Qh(t,o,i,c),Ur=!1,p=t.memoizedState,o.state=p,Go(t,i,o,s);var j=t.memoizedState;l!==f||p!==j||cn.current||Ur?(typeof x=="function"&&(md(t,n,x,i),j=t.memoizedState),(u=Ur||Gh(t,n,u,i,p,j,c)||!1)?(h||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(i,j,c),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(i,j,c)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=j),o.props=i,o.state=j,o.context=c,i=u):(typeof o.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),i=!1)}return _d(e,t,n,i,a,s)}function _d(e,t,n,i,s,a){pm(e,t);var o=(t.flags&128)!==0;if(!i&&!o)return s&&Oh(t,n,!1),$r(e,t,a);i=t.stateNode,u4.current=t;var l=o&&typeof n.getDerivedStateFromError!="function"?null:i.render();return t.flags|=1,e!==null&&o?(t.child=gs(t,e.child,null,a),t.child=gs(t,null,l,a)):en(e,t,l,a),t.memoizedState=i.state,s&&Oh(t,n,!0),t.child}function fm(e){var t=e.stateNode;t.pendingContext?Bh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Bh(e,t.context,!1),_u(e,t.containerInfo)}function np(e,t,n,i,s){return ms(),pu(s),t.flags|=256,en(e,t,n,i),t.child}var jd={dehydrated:null,treeContext:null,retryLane:0};function yd(e){return{baseLanes:e,cachePool:null,transitions:null}}function mm(e,t,n){var i=t.pendingProps,s=ct.current,a=!1,o=(t.flags&128)!==0,l;if((l=o)||(l=e!==null&&e.memoizedState===null?!1:(s&2)!==0),l?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),Ye(ct,s&1),e===null)return pd(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=i.children,e=i.fallback,a?(i=t.mode,a=t.child,o={mode:"hidden",children:o},!(i&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=zl(o,i,0,null),e=Ci(e,i,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=yd(n),t.memoizedState=jd,e):Nu(t,o));if(s=e.memoizedState,s!==null&&(l=s.dehydrated,l!==null))return h4(e,t,o,i,l,s,n);if(a){a=i.fallback,o=t.mode,s=e.child,l=s.sibling;var c={mode:"hidden",children:i.children};return!(o&1)&&t.child!==s?(i=t.child,i.childLanes=0,i.pendingProps=c,t.deletions=null):(i=ti(s,c),i.subtreeFlags=s.subtreeFlags&14680064),l!==null?a=ti(l,a):(a=Ci(a,o,n,null),a.flags|=2),a.return=t,i.return=t,i.sibling=a,t.child=i,i=a,a=t.child,o=e.child.memoizedState,o=o===null?yd(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~n,t.memoizedState=jd,i}return a=e.child,e=a.sibling,i=ti(a,{mode:"visible",children:i.children}),!(t.mode&1)&&(i.lanes=n),i.return=t,i.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Nu(e,t){return t=zl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function lo(e,t,n,i){return i!==null&&pu(i),gs(t,e.child,null,n),e=Nu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function h4(e,t,n,i,s,a,o){if(n)return t.flags&256?(t.flags&=-257,i=mc(Error(H(422))),lo(e,t,o,i)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=i.fallback,s=t.mode,i=zl({mode:"visible",children:i.children},s,0,null),a=Ci(a,s,o,null),a.flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,t.mode&1&&gs(t,e.child,null,o),t.child.memoizedState=yd(o),t.memoizedState=jd,a);if(!(t.mode&1))return lo(e,t,o,null);if(s.data==="$!"){if(i=s.nextSibling&&s.nextSibling.dataset,i)var l=i.dgst;return i=l,a=Error(H(419)),i=mc(a,i,void 0),lo(e,t,o,i)}if(l=(o&e.childLanes)!==0,ln||l){if(i=Rt,i!==null){switch(o&-o){case 4:s=2;break;case 16:s=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(i.suspendedLanes|o)?0:s,s!==0&&s!==a.retryLane&&(a.retryLane=s,Nr(e,s),Wn(i,e,s,-1))}return Ru(),i=mc(Error(H(421))),lo(e,t,o,i)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=k4.bind(null,e),s._reactRetry=t,null):(e=a.treeContext,vn=Jr(s.nextSibling),_n=t,at=!0,Dn=null,e!==null&&(En[zn++]=jr,En[zn++]=yr,En[zn++]=Ni,jr=e.id,yr=e.overflow,Ni=t),t=Nu(t,i.children),t.flags|=4096,t)}function rp(e,t,n){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),fd(e.return,t,n)}function gc(e,t,n,i,s){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:s}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=i,a.tail=n,a.tailMode=s)}function gm(e,t,n){var i=t.pendingProps,s=i.revealOrder,a=i.tail;if(en(e,t,i.children,n),i=ct.current,i&2)i=i&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&rp(e,n,t);else if(e.tag===19)rp(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}i&=1}if(Ye(ct,i),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&Qo(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),gc(t,!1,s,n,a);break;case"backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Qo(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}gc(t,!0,n,null,a);break;case"together":gc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ko(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function $r(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ei|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(H(153));if(t.child!==null){for(e=t.child,n=ti(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ti(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function p4(e,t,n){switch(t.tag){case 3:fm(t),ms();break;case 5:Uf(t);break;case 1:dn(t.type)&&Ho(t);break;case 4:_u(t,t.stateNode.containerInfo);break;case 10:var i=t.type._context,s=t.memoizedProps.value;Ye(Vo,i._currentValue),i._currentValue=s;break;case 13:if(i=t.memoizedState,i!==null)return i.dehydrated!==null?(Ye(ct,ct.current&1),t.flags|=128,null):n&t.child.childLanes?mm(e,t,n):(Ye(ct,ct.current&1),e=$r(e,t,n),e!==null?e.sibling:null);Ye(ct,ct.current&1);break;case 19:if(i=(n&t.childLanes)!==0,e.flags&128){if(i)return gm(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Ye(ct,ct.current),i)break;return null;case 22:case 23:return t.lanes=0,hm(e,t,n)}return $r(e,t,n)}var xm,bd,vm,_m;xm=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};bd=function(){};vm=function(e,t,n,i){var s=e.memoizedProps;if(s!==i){e=t.stateNode,ji(cr.current);var a=null;switch(n){case"input":s=Wc(e,s),i=Wc(e,i),a=[];break;case"select":s=ut({},s,{value:void 0}),i=ut({},i,{value:void 0}),a=[];break;case"textarea":s=Kc(e,s),i=Kc(e,i),a=[];break;default:typeof s.onClick!="function"&&typeof i.onClick=="function"&&(e.onclick=Do)}Qc(n,i);var o;n=null;for(u in s)if(!i.hasOwnProperty(u)&&s.hasOwnProperty(u)&&s[u]!=null)if(u==="style"){var l=s[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ua.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in i){var c=i[u];if(l=s!=null?s[u]:void 0,i.hasOwnProperty(u)&&c!==l&&(c!=null||l!=null))if(u==="style")if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(a||(a=[]),a.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(a=a||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(a=a||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ua.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&Ze("scroll",e),a||l===c||(a=[])):(a=a||[]).push(u,c))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}};_m=function(e,t,n,i){n!==i&&(t.flags|=4)};function Ps(e,t){if(!at)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function qt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,i=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,i|=s.subtreeFlags&14680064,i|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,i|=s.subtreeFlags,i|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=i,e.childLanes=n,t}function f4(e,t,n){var i=t.pendingProps;switch(hu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qt(t),null;case 1:return dn(t.type)&&Uo(),qt(t),null;case 3:return i=t.stateNode,xs(),tt(cn),tt(Yt),yu(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(ao(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Dn!==null&&(zd(Dn),Dn=null))),bd(e,t),qt(t),null;case 5:ju(t);var s=ji(wa.current);if(n=t.type,e!==null&&t.stateNode!=null)vm(e,t,n,i,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(t.stateNode===null)throw Error(H(166));return qt(t),null}if(e=ji(cr.current),ao(t)){i=t.stateNode,n=t.type;var a=t.memoizedProps;switch(i[sr]=t,i[ya]=a,e=(t.mode&1)!==0,n){case"dialog":Ze("cancel",i),Ze("close",i);break;case"iframe":case"object":case"embed":Ze("load",i);break;case"video":case"audio":for(s=0;s<\/script>",e=e.removeChild(e.firstChild)):typeof i.is=="string"?e=o.createElement(n,{is:i.is}):(e=o.createElement(n),n==="select"&&(o=e,i.multiple?o.multiple=!0:i.size&&(o.size=i.size))):e=o.createElementNS(e,n),e[sr]=t,e[ya]=i,xm(e,t,!1,!1),t.stateNode=e;e:{switch(o=Yc(n,i),n){case"dialog":Ze("cancel",e),Ze("close",e),s=i;break;case"iframe":case"object":case"embed":Ze("load",e),s=i;break;case"video":case"audio":for(s=0;s_s&&(t.flags|=128,i=!0,Ps(a,!1),t.lanes=4194304)}else{if(!i)if(e=Qo(o),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ps(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!at)return qt(t),null}else 2*jt()-a.renderingStartTime>_s&&n!==1073741824&&(t.flags|=128,i=!0,Ps(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=jt(),t.sibling=null,n=ct.current,Ye(ct,i?n&1|2:n&1),t):(qt(t),null);case 22:case 23:return Iu(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?gn&1073741824&&(qt(t),t.subtreeFlags&6&&(t.flags|=8192)):qt(t),null;case 24:return null;case 25:return null}throw Error(H(156,t.tag))}function m4(e,t){switch(hu(t),t.tag){case 1:return dn(t.type)&&Uo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return xs(),tt(cn),tt(Yt),yu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ju(t),null;case 13:if(tt(ct),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(H(340));ms()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return tt(ct),null;case 4:return xs(),null;case 10:return gu(t.type._context),null;case 22:case 23:return Iu(),null;case 24:return null;default:return null}}var co=!1,Qt=!1,g4=typeof WeakSet=="function"?WeakSet:Set,re=null;function is(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(i){vt(e,t,i)}else n.current=null}function wd(e,t,n){try{n()}catch(i){vt(e,t,i)}}var ip=!1;function x4(e,t){if(ad=Fo,e=Cf(),du(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var s=i.anchorOffset,a=i.focusNode;i=i.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var o=0,l=-1,c=-1,u=0,h=0,f=e,p=null;t:for(;;){for(var x;f!==n||s!==0&&f.nodeType!==3||(l=o+s),f!==a||i!==0&&f.nodeType!==3||(c=o+i),f.nodeType===3&&(o+=f.nodeValue.length),(x=f.firstChild)!==null;)p=f,f=x;for(;;){if(f===e)break t;if(p===n&&++u===s&&(l=o),p===a&&++h===i&&(c=o),(x=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=x}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(od={focusedElem:e,selectionRange:n},Fo=!1,re=t;re!==null;)if(t=re,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,re=e;else for(;re!==null;){t=re;try{var j=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(j!==null){var y=j.memoizedProps,C=j.memoizedState,_=t.stateNode,d=_.getSnapshotBeforeUpdate(t.elementType===t.type?y:Fn(t.type,y),C);_.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(H(163))}}catch(v){vt(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,re=e;break}re=t.return}return j=ip,ip=!1,j}function aa(e,t,n){var i=t.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var s=i=i.next;do{if((s.tag&e)===e){var a=s.destroy;s.destroy=void 0,a!==void 0&&wd(t,n,a)}s=s.next}while(s!==i)}}function $l(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 i=n.create;n.destroy=i()}n=n.next}while(n!==t)}}function Cd(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 jm(e){var t=e.alternate;t!==null&&(e.alternate=null,jm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[sr],delete t[ya],delete t[dd],delete t[Z2],delete t[e4])),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 ym(e){return e.tag===5||e.tag===3||e.tag===4}function sp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ym(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 kd(e,t,n){var i=e.tag;if(i===5||i===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=Do));else if(i!==4&&(e=e.child,e!==null))for(kd(e,t,n),e=e.sibling;e!==null;)kd(e,t,n),e=e.sibling}function Sd(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&(e=e.child,e!==null))for(Sd(e,t,n),e=e.sibling;e!==null;)Sd(e,t,n),e=e.sibling}var Ot=null,Bn=!1;function Tr(e,t,n){for(n=n.child;n!==null;)bm(e,t,n),n=n.sibling}function bm(e,t,n){if(lr&&typeof lr.onCommitFiberUnmount=="function")try{lr.onCommitFiberUnmount(jl,n)}catch{}switch(n.tag){case 5:Qt||is(n,t);case 6:var i=Ot,s=Bn;Ot=null,Tr(e,t,n),Ot=i,Bn=s,Ot!==null&&(Bn?(e=Ot,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ot.removeChild(n.stateNode));break;case 18:Ot!==null&&(Bn?(e=Ot,n=n.stateNode,e.nodeType===8?cc(e.parentNode,n):e.nodeType===1&&cc(e,n),ga(e)):cc(Ot,n.stateNode));break;case 4:i=Ot,s=Bn,Ot=n.stateNode.containerInfo,Bn=!0,Tr(e,t,n),Ot=i,Bn=s;break;case 0:case 11:case 14:case 15:if(!Qt&&(i=n.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){s=i=i.next;do{var a=s,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&wd(n,t,o),s=s.next}while(s!==i)}Tr(e,t,n);break;case 1:if(!Qt&&(is(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(l){vt(n,t,l)}Tr(e,t,n);break;case 21:Tr(e,t,n);break;case 22:n.mode&1?(Qt=(i=Qt)||n.memoizedState!==null,Tr(e,t,n),Qt=i):Tr(e,t,n);break;default:Tr(e,t,n)}}function ap(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new g4),t.forEach(function(i){var s=S4.bind(null,e,i);n.has(i)||(n.add(i),i.then(s,s))})}}function Mn(e,t){var n=t.deletions;if(n!==null)for(var i=0;is&&(s=o),i&=~a}if(i=s,i=jt()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*_4(i/1960))-i,10e?16:e,Vr===null)var i=!1;else{if(e=Vr,Vr=null,el=0,Pe&6)throw Error(H(331));var s=Pe;for(Pe|=4,re=e.current;re!==null;){var a=re,o=a.child;if(re.flags&16){var l=a.deletions;if(l!==null){for(var c=0;cjt()-zu?wi(e,0):Eu|=n),un(e,t)}function zm(e,t){t===0&&(e.mode&1?(t=eo,eo<<=1,!(eo&130023424)&&(eo=4194304)):t=1);var n=tn();e=Nr(e,t),e!==null&&(Pa(e,t,n),un(e,n))}function k4(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),zm(e,n)}function S4(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(H(314))}i!==null&&i.delete(t),zm(e,n)}var Lm;Lm=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||cn.current)ln=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ln=!1,p4(e,t,n);ln=!!(e.flags&131072)}else ln=!1,at&&t.flags&1048576&&Pf(t,qo,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;ko(e,t),e=t.pendingProps;var s=fs(t,Yt.current);us(t,n),s=wu(null,t,i,e,s,n);var a=Cu();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,dn(i)?(a=!0,Ho(t)):a=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,vu(t),s.updater=Nl,t.stateNode=s,s._reactInternals=t,gd(t,i,e,n),t=_d(null,t,i,!0,a,n)):(t.tag=0,at&&a&&uu(t),en(null,t,s,n),t=t.child),t;case 16:i=t.elementType;e:{switch(ko(e,t),e=t.pendingProps,s=i._init,i=s(i._payload),t.type=i,s=t.tag=$4(i),e=Fn(i,e),s){case 0:t=vd(null,t,i,e,n);break e;case 1:t=tp(null,t,i,e,n);break e;case 11:t=Zh(null,t,i,e,n);break e;case 14:t=ep(null,t,i,Fn(i.type,e),n);break e}throw Error(H(306,i,""))}return t;case 0:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:Fn(i,s),vd(e,t,i,s,n);case 1:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:Fn(i,s),tp(e,t,i,s,n);case 3:e:{if(fm(t),e===null)throw Error(H(387));i=t.pendingProps,a=t.memoizedState,s=a.element,Df(e,t),Go(t,i,null,n);var o=t.memoizedState;if(i=o.element,a.isDehydrated)if(a={element:i,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){s=vs(Error(H(423)),t),t=np(e,t,i,n,s);break e}else if(i!==s){s=vs(Error(H(424)),t),t=np(e,t,i,n,s);break e}else for(vn=Jr(t.stateNode.containerInfo.firstChild),_n=t,at=!0,Dn=null,n=Bf(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ms(),i===s){t=$r(e,t,n);break e}en(e,t,i,n)}t=t.child}return t;case 5:return Uf(t),e===null&&pd(t),i=t.type,s=t.pendingProps,a=e!==null?e.memoizedProps:null,o=s.children,ld(i,s)?o=null:a!==null&&ld(i,a)&&(t.flags|=32),pm(e,t),en(e,t,o,n),t.child;case 6:return e===null&&pd(t),null;case 13:return mm(e,t,n);case 4:return _u(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=gs(t,null,i,n):en(e,t,i,n),t.child;case 11:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:Fn(i,s),Zh(e,t,i,s,n);case 7:return en(e,t,t.pendingProps,n),t.child;case 8:return en(e,t,t.pendingProps.children,n),t.child;case 12:return en(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(i=t.type._context,s=t.pendingProps,a=t.memoizedProps,o=s.value,Ye(Vo,i._currentValue),i._currentValue=o,a!==null)if(qn(a.value,o)){if(a.children===s.children&&!cn.current){t=$r(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var l=a.dependencies;if(l!==null){o=a.child;for(var c=l.firstContext;c!==null;){if(c.context===i){if(a.tag===1){c=br(-1,n&-n),c.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var h=u.pending;h===null?c.next=c:(c.next=h.next,h.next=c),u.pending=c}}a.lanes|=n,c=a.alternate,c!==null&&(c.lanes|=n),fd(a.return,n,t),l.lanes|=n;break}c=c.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(H(341));o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),fd(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}en(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,i=t.pendingProps.children,us(t,n),s=Rn(s),i=i(s),t.flags|=1,en(e,t,i,n),t.child;case 14:return i=t.type,s=Fn(i,t.pendingProps),s=Fn(i.type,s),ep(e,t,i,s,n);case 15:return um(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:Fn(i,s),ko(e,t),t.tag=1,dn(i)?(e=!0,Ho(t)):e=!1,us(t,n),lm(t,i,s),gd(t,i,s,n),_d(null,t,i,!0,e,n);case 19:return gm(e,t,n);case 22:return hm(e,t,n)}throw Error(H(156,t.tag))};function Im(e,t){return sf(e,t)}function N4(e,t,n,i){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=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ln(e,t,n,i){return new N4(e,t,n,i)}function Au(e){return e=e.prototype,!(!e||!e.isReactComponent)}function $4(e){if(typeof e=="function")return Au(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Zd)return 11;if(e===eu)return 14}return 2}function ti(e,t){var n=e.alternate;return n===null?(n=Ln(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 $o(e,t,n,i,s,a){var o=2;if(i=e,typeof e=="function")Au(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Qi:return Ci(n.children,s,a,t);case Xd:o=8,s|=8;break;case Oc:return e=Ln(12,n,t,s|2),e.elementType=Oc,e.lanes=a,e;case Dc:return e=Ln(13,n,t,s),e.elementType=Dc,e.lanes=a,e;case Uc:return e=Ln(19,n,t,s),e.elementType=Uc,e.lanes=a,e;case D1:return zl(n,s,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case B1:o=10;break e;case O1:o=9;break e;case Zd:o=11;break e;case eu:o=14;break e;case Dr:o=16,i=null;break e}throw Error(H(130,e==null?e:typeof e,""))}return t=Ln(o,n,t,s),t.elementType=e,t.type=i,t.lanes=a,t}function Ci(e,t,n,i){return e=Ln(7,e,i,t),e.lanes=n,e}function zl(e,t,n,i){return e=Ln(22,e,i,t),e.elementType=D1,e.lanes=n,e.stateNode={isHidden:!1},e}function xc(e,t,n){return e=Ln(6,e,null,t),e.lanes=n,e}function vc(e,t,n){return t=Ln(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function E4(e,t,n,i,s){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=Xl(0),this.expirationTimes=Xl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xl(0),this.identifierPrefix=i,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function Pu(e,t,n,i,s,a,o,l,c){return e=new E4(e,t,n,l,c),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Ln(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},vu(a),e}function z4(e,t,n){var i=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Mm)}catch(e){console.error(e)}}Mm(),P1.exports=yn;var Ba=P1.exports;const Bu=Wd(Ba),P4=w1({__proto__:null,default:Bu},[Ba]);var Tm,fp=Ba;Tm=fp.createRoot,fp.hydrateRoot;/** * @remix-run/router v1.18.0 * * Copyright (c) Remix Software Inc. @@ -46,8 +46,8 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function lt(){return lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Li(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function T4(){return Math.random().toString(36).substr(2,8)}function gp(e,t){return{usr:e.state,key:e.key,idx:t}}function $a(e,t,n,i){return n===void 0&&(n=null),lt({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Lr(t):t,{state:n,key:t&&t.key||i||T4()})}function Ii(e){let{pathname:t="/",search:n="",hash:i=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),i&&i!=="#"&&(t+=i.charAt(0)==="#"?i:"#"+i),t}function Lr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}function F4(e,t,n,i){i===void 0&&(i={});let{window:s=document.defaultView,v5Compat:a=!1}=i,o=s.history,l=wt.Pop,c=null,u=h();u==null&&(u=0,o.replaceState(lt({},o.state,{idx:u}),""));function h(){return(o.state||{idx:null}).idx}function f(){l=wt.Pop;let C=h(),j=C==null?null:C-u;u=C,c&&c({action:l,location:y.location,delta:j})}function p(C,j){l=wt.Push;let d=$a(y.location,C,j);n&&n(d,C),u=h()+1;let m=gp(d,u),v=y.createHref(d);try{o.pushState(m,"",v)}catch(w){if(w instanceof DOMException&&w.name==="DataCloneError")throw w;s.location.assign(v)}a&&c&&c({action:l,location:y.location,delta:1})}function x(C,j){l=wt.Replace;let d=$a(y.location,C,j);n&&n(d,C),u=h();let m=gp(d,u),v=y.createHref(d);o.replaceState(m,"",v),a&&c&&c({action:l,location:y.location,delta:0})}function _(C){let j=s.location.origin!=="null"?s.location.origin:s.location.href,d=typeof C=="string"?C:Ii(C);return d=d.replace(/ $/,"%20"),we(j,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,j)}let y={get action(){return l},get location(){return e(s,o)},listen(C){if(c)throw new Error("A history only accepts one active listener");return s.addEventListener(mp,f),c=C,()=>{s.removeEventListener(mp,f),c=null}},createHref(C){return t(s,C)},createURL:_,encodeLocation(C){let j=_(C);return{pathname:j.pathname,search:j.search,hash:j.hash}},push:p,replace:x,go(C){return o.go(C)}};return y}var Qe;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Qe||(Qe={}));const B4=new Set(["lazy","caseSensitive","path","id","index","children"]);function O4(e){return e.index===!0}function Ea(e,t,n,i){return n===void 0&&(n=[]),i===void 0&&(i={}),e.map((s,a)=>{let o=[...n,String(a)],l=typeof s.id=="string"?s.id:o.join("-");if(we(s.index!==!0||!s.children,"Cannot specify children on an index route"),we(!i[l],'Found a route id collision on id "'+l+`". Route id's must be globally unique within Data Router usages`),O4(s)){let c=lt({},s,t(s),{id:l});return i[l]=c,c}else{let c=lt({},s,t(s),{id:l,children:void 0});return i[l]=c,s.children&&(c.children=Ea(s.children,t,o,i)),c}})}function gi(e,t,n){return n===void 0&&(n="/"),Eo(e,t,n,!1)}function Eo(e,t,n,i){let s=typeof t=="string"?Lr(t):t,a=Er(s.pathname||"/",n);if(a==null)return null;let o=Fm(e);U4(o);let l=null;for(let c=0;l==null&&c{let c={relativePath:l===void 0?a.path||"":l,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};c.relativePath.startsWith("/")&&(we(c.relativePath.startsWith(i),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+i+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(i.length));let u=wr([i,c.relativePath]),h=n.concat(c);a.children&&a.children.length>0&&(we(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Fm(a.children,t,h,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:Q4(u,a.index),routesMeta:h})};return e.forEach((a,o)=>{var l;if(a.path===""||!((l=a.path)!=null&&l.includes("?")))s(a,o);else for(let c of Bm(a.path))s(a,o,c)}),t}function Bm(e){let t=e.split("/");if(t.length===0)return[];let[n,...i]=t,s=n.endsWith("?"),a=n.replace(/\?$/,"");if(i.length===0)return s?[a,""]:[a];let o=Bm(i.join("/")),l=[];return l.push(...o.map(c=>c===""?a:[a,c].join("/"))),s&&l.push(...o),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function U4(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Y4(t.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}const H4=/^:[\w-]+$/,W4=3,q4=2,V4=1,K4=10,G4=-2,xp=e=>e==="*";function Q4(e,t){let n=e.split("/"),i=n.length;return n.some(xp)&&(i+=G4),t&&(i+=q4),n.filter(s=>!xp(s)).reduce((s,a)=>s+(H4.test(a)?W4:a===""?V4:K4),i)}function Y4(e,t){return e.length===t.length&&e.slice(0,-1).every((i,s)=>i===t[s])?e[e.length-1]-t[t.length-1]:0}function J4(e,t,n){n===void 0&&(n=!1);let{routesMeta:i}=e,s={},a="/",o=[];for(let l=0;l{let{paramName:p,isOptional:x}=h;if(p==="*"){let y=l[f]||"";o=a.slice(0,a.length-y.length).replace(/(.)\/+$/,"$1")}const _=l[f];return x&&!_?u[p]=void 0:u[p]=(_||"").replace(/%2F/g,"/"),u},{}),pathname:a,pathnameBase:o,pattern:e}}function X4(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Li(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 i=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,l,c)=>(i.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(i.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),i]}function Z4(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Li(!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 Er(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&i!=="/"?null:e.slice(n)||"/"}function ex(e,t){t===void 0&&(t="/");let{pathname:n,search:i="",hash:s=""}=typeof e=="string"?Lr(e):e;return{pathname:n?n.startsWith("/")?n:tx(n,t):t,search:rx(i),hash:ix(s)}}function tx(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function _c(e,t,n,i){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(i)+"]. 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 Om(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Pl(e,t){let n=Om(e);return t?n.map((i,s)=>s===n.length-1?i.pathname:i.pathnameBase):n.map(i=>i.pathnameBase)}function Ml(e,t,n,i){i===void 0&&(i=!1);let s;typeof e=="string"?s=Lr(e):(s=lt({},e),we(!s.pathname||!s.pathname.includes("?"),_c("?","pathname","search",s)),we(!s.pathname||!s.pathname.includes("#"),_c("#","pathname","hash",s)),we(!s.search||!s.search.includes("#"),_c("#","search","hash",s)));let a=e===""||s.pathname==="",o=a?"/":s.pathname,l;if(o==null)l=n;else{let f=t.length-1;if(!i&&o.startsWith("..")){let p=o.split("/");for(;p[0]==="..";)p.shift(),f-=1;s.pathname=p.join("/")}l=f>=0?t[f]:"/"}let c=ex(s,l),u=o&&o!=="/"&&o.endsWith("/"),h=(a||o===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||h)&&(c.pathname+="/"),c}const wr=e=>e.join("/").replace(/\/\/+/g,"/"),nx=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),rx=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,ix=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Ou{constructor(t,n,i,s){s===void 0&&(s=!1),this.status=t,this.statusText=n||"",this.internal=s,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}}function Tl(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Dm=["post","put","patch","delete"],sx=new Set(Dm),ax=["get",...Dm],ox=new Set(ax),lx=new Set([301,302,303,307,308]),cx=new Set([307,308]),jc={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},dx={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ts={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Du=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ux=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Um="remix-router-transitions";function hx(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",i=!n;we(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let s;if(e.mapRouteProperties)s=e.mapRouteProperties;else if(e.detectErrorBoundary){let $=e.detectErrorBoundary;s=z=>({hasErrorBoundary:$(z)})}else s=ux;let a={},o=Ea(e.routes,s,void 0,a),l,c=e.basename||"/",u=e.unstable_dataStrategy||xx,h=e.unstable_patchRoutesOnMiss,f=lt({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),p=null,x=new Set,_=null,y=null,C=null,j=e.hydrationData!=null,d=gi(o,e.history.location,c),m=null;if(d==null&&!h){let $=Zt(404,{pathname:e.history.location.pathname}),{matches:z,route:A}=Np(o);d=z,m={[A.id]:$}}d&&h&&!e.hydrationData&&Vl(d,o,e.history.location.pathname).active&&(d=null);let v;if(!d)v=!1,d=[];else if(d.some($=>$.route.lazy))v=!1;else if(!d.some($=>$.route.loader))v=!0;else if(f.v7_partialHydration){let $=e.hydrationData?e.hydrationData.loaderData:null,z=e.hydrationData?e.hydrationData.errors:null,A=T=>T.route.loader?typeof T.route.loader=="function"&&T.route.loader.hydrate===!0?!1:$&&$[T.route.id]!==void 0||z&&z[T.route.id]!==void 0:!0;if(z){let T=d.findIndex(ee=>z[ee.route.id]!==void 0);v=d.slice(0,T+1).every(A)}else v=d.every(A)}else v=e.hydrationData!=null;let w,g={historyAction:e.history.action,location:e.history.location,matches:d,initialized:v,navigation:jc,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||m,fetchers:new Map,blockers:new Map},S=wt.Pop,E=!1,L,R=!1,F=new Map,Y=null,q=!1,O=!1,U=[],K=[],J=new Map,I=0,B=-1,V=new Map,se=new Set,ne=new Map,nt=new Map,G=new Set,le=new Map,ke=new Map,qe=new Map,At=!1;function yt(){if(p=e.history.listen($=>{let{action:z,location:A,delta:T}=$;if(At){At=!1;return}Li(ke.size===0||T!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let ee=eh({currentLocation:g.location,nextLocation:A,historyAction:z});if(ee&&T!=null){At=!0,e.history.go(T*-1),Ha(ee,{state:"blocked",location:A,proceed(){Ha(ee,{state:"proceeding",proceed:void 0,reset:void 0,location:A}),e.history.go(T)},reset(){let oe=new Map(g.blockers);oe.set(ee,Ts),Oe({blockers:oe})}});return}return oi(z,A)}),n){zx(t,F);let $=()=>Lx(t,F);t.addEventListener("pagehide",$),Y=()=>t.removeEventListener("pagehide",$)}return g.initialized||oi(wt.Pop,g.location,{initialHydration:!0}),w}function Pt(){p&&p(),Y&&Y(),x.clear(),L&&L.abort(),g.fetchers.forEach(($,z)=>Ua(z)),g.blockers.forEach(($,z)=>Zu(z))}function zt($){return x.add($),()=>x.delete($)}function Oe($,z){z===void 0&&(z={}),g=lt({},g,$);let A=[],T=[];f.v7_fetcherPersist&&g.fetchers.forEach((ee,oe)=>{ee.state==="idle"&&(G.has(oe)?T.push(oe):A.push(oe))}),[...x].forEach(ee=>ee(g,{deletedFetchers:T,unstable_viewTransitionOpts:z.viewTransitionOpts,unstable_flushSync:z.flushSync===!0})),f.v7_fetcherPersist&&(A.forEach(ee=>g.fetchers.delete(ee)),T.forEach(ee=>Ua(ee)))}function Z($,z,A){var T,ee;let{flushSync:oe}=A===void 0?{}:A,fe=g.actionData!=null&&g.navigation.formMethod!=null&&On(g.navigation.formMethod)&&g.navigation.state==="loading"&&((T=$.state)==null?void 0:T._isRedirect)!==!0,Q;z.actionData?Object.keys(z.actionData).length>0?Q=z.actionData:Q=null:fe?Q=g.actionData:Q=null;let ye=z.loaderData?kp(g.loaderData,z.loaderData,z.matches||[],z.errors):g.loaderData,ce=g.blockers;ce.size>0&&(ce=new Map(ce),ce.forEach((De,Ve)=>ce.set(Ve,Ts)));let de=E===!0||g.navigation.formMethod!=null&&On(g.navigation.formMethod)&&((ee=$.state)==null?void 0:ee._isRedirect)!==!0;l&&(o=l,l=void 0),q||S===wt.Pop||(S===wt.Push?e.history.push($,$.state):S===wt.Replace&&e.history.replace($,$.state));let We;if(S===wt.Pop){let De=F.get(g.location.pathname);De&&De.has($.pathname)?We={currentLocation:g.location,nextLocation:$}:F.has($.pathname)&&(We={currentLocation:$,nextLocation:g.location})}else if(R){let De=F.get(g.location.pathname);De?De.add($.pathname):(De=new Set([$.pathname]),F.set(g.location.pathname,De)),We={currentLocation:g.location,nextLocation:$}}Oe(lt({},z,{actionData:Q,loaderData:ye,historyAction:S,location:$,initialized:!0,navigation:jc,revalidation:"idle",restoreScrollPosition:nh($,z.matches||g.matches),preventScrollReset:de,blockers:ce}),{viewTransitionOpts:We,flushSync:oe===!0}),S=wt.Pop,E=!1,R=!1,q=!1,O=!1,U=[],K=[]}async function _e($,z){if(typeof $=="number"){e.history.go($);return}let A=Ld(g.location,g.matches,c,f.v7_prependBasename,$,f.v7_relativeSplatPath,z==null?void 0:z.fromRouteId,z==null?void 0:z.relative),{path:T,submission:ee,error:oe}=vp(f.v7_normalizeFormMethod,!1,A,z),fe=g.location,Q=$a(g.location,T,z&&z.state);Q=lt({},Q,e.history.encodeLocation(Q));let ye=z&&z.replace!=null?z.replace:void 0,ce=wt.Push;ye===!0?ce=wt.Replace:ye===!1||ee!=null&&On(ee.formMethod)&&ee.formAction===g.location.pathname+g.location.search&&(ce=wt.Replace);let de=z&&"preventScrollReset"in z?z.preventScrollReset===!0:void 0,We=(z&&z.unstable_flushSync)===!0,De=eh({currentLocation:fe,nextLocation:Q,historyAction:ce});if(De){Ha(De,{state:"blocked",location:Q,proceed(){Ha(De,{state:"proceeding",proceed:void 0,reset:void 0,location:Q}),_e($,z)},reset(){let Ve=new Map(g.blockers);Ve.set(De,Ts),Oe({blockers:Ve})}});return}return await oi(ce,Q,{submission:ee,pendingError:oe,preventScrollReset:de,replace:z&&z.replace,enableViewTransition:z&&z.unstable_viewTransition,flushSync:We})}function Je(){if(Hl(),Oe({revalidation:"loading"}),g.navigation.state!=="submitting"){if(g.navigation.state==="idle"){oi(g.historyAction,g.location,{startUninterruptedRevalidation:!0});return}oi(S||g.historyAction,g.navigation.location,{overrideNavigation:g.navigation})}}async function oi($,z,A){L&&L.abort(),L=null,S=$,q=(A&&A.startUninterruptedRevalidation)===!0,rg(g.location,g.matches),E=(A&&A.preventScrollReset)===!0,R=(A&&A.enableViewTransition)===!0;let T=l||o,ee=A&&A.overrideNavigation,oe=gi(T,z,c),fe=(A&&A.flushSync)===!0,Q=Vl(oe,T,z.pathname);if(Q.active&&Q.matches&&(oe=Q.matches),!oe){let{error:Fe,notFoundMatches:Mt,route:bt}=Wl(z.pathname);Z(z,{matches:Mt,loaderData:{},errors:{[bt.id]:Fe}},{flushSync:fe});return}if(g.initialized&&!O&&wx(g.location,z)&&!(A&&A.submission&&On(A.submission.formMethod))){Z(z,{matches:oe},{flushSync:fe});return}L=new AbortController;let ye=Bi(e.history,z,L.signal,A&&A.submission),ce;if(A&&A.pendingError)ce=[as(oe).route.id,{type:Qe.error,error:A.pendingError}];else if(A&&A.submission&&On(A.submission.formMethod)){let Fe=await G0(ye,z,A.submission,oe,Q.active,{replace:A.replace,flushSync:fe});if(Fe.shortCircuited)return;if(Fe.pendingActionResult){let[Mt,bt]=Fe.pendingActionResult;if(xn(bt)&&Tl(bt.error)&&bt.error.status===404){L=null,Z(z,{matches:Fe.matches,loaderData:{},errors:{[Mt]:bt.error}});return}}oe=Fe.matches||oe,ce=Fe.pendingActionResult,ee=yc(z,A.submission),fe=!1,Q.active=!1,ye=Bi(e.history,ye.url,ye.signal)}let{shortCircuited:de,matches:We,loaderData:De,errors:Ve}=await Q0(ye,z,oe,Q.active,ee,A&&A.submission,A&&A.fetcherSubmission,A&&A.replace,A&&A.initialHydration===!0,fe,ce);de||(L=null,Z(z,lt({matches:We||oe},Sp(ce),{loaderData:De,errors:Ve})))}async function G0($,z,A,T,ee,oe){oe===void 0&&(oe={}),Hl();let fe=$x(z,A);if(Oe({navigation:fe},{flushSync:oe.flushSync===!0}),ee){let ce=await qa(T,z.pathname,$.signal);if(ce.type==="aborted")return{shortCircuited:!0};if(ce.type==="error"){let{boundaryId:de,error:We}=Wa(z.pathname,ce);return{matches:ce.partialMatches,pendingActionResult:[de,{type:Qe.error,error:We}]}}else if(ce.matches)T=ce.matches;else{let{notFoundMatches:de,error:We,route:De}=Wl(z.pathname);return{matches:de,pendingActionResult:[De.id,{type:Qe.error,error:We}]}}}let Q,ye=Xs(T,z);if(!ye.route.action&&!ye.route.lazy)Q={type:Qe.error,error:Zt(405,{method:$.method,pathname:z.pathname,routeId:ye.route.id})};else if(Q=(await Ns("action",$,[ye],T))[0],$.signal.aborted)return{shortCircuited:!0};if(bi(Q)){let ce;return oe&&oe.replace!=null?ce=oe.replace:ce=bp(Q.response.headers.get("Location"),new URL($.url),c)===g.location.pathname+g.location.search,await Ss($,Q,{submission:A,replace:ce}),{shortCircuited:!0}}if(yi(Q))throw Zt(400,{type:"defer-action"});if(xn(Q)){let ce=as(T,ye.route.id);return(oe&&oe.replace)!==!0&&(S=wt.Push),{matches:T,pendingActionResult:[ce.route.id,Q]}}return{matches:T,pendingActionResult:[ye.route.id,Q]}}async function Q0($,z,A,T,ee,oe,fe,Q,ye,ce,de){let We=ee||yc(z,oe),De=oe||fe||zp(We),Ve=!q&&(!f.v7_partialHydration||!ye);if(T){if(Ve){let ht=Ku(de);Oe(lt({navigation:We},ht!==void 0?{actionData:ht}:{}),{flushSync:ce})}let Ce=await qa(A,z.pathname,$.signal);if(Ce.type==="aborted")return{shortCircuited:!0};if(Ce.type==="error"){let{boundaryId:ht,error:hn}=Wa(z.pathname,Ce);return{matches:Ce.partialMatches,loaderData:{},errors:{[ht]:hn}}}else if(Ce.matches)A=Ce.matches;else{let{error:ht,notFoundMatches:hn,route:rt}=Wl(z.pathname);return{matches:hn,loaderData:{},errors:{[rt.id]:ht}}}}let Fe=l||o,[Mt,bt]=_p(e.history,g,A,De,z,f.v7_partialHydration&&ye===!0,f.v7_skipActionErrorRevalidation,O,U,K,G,ne,se,Fe,c,de);if(ql(Ce=>!(A&&A.some(ht=>ht.route.id===Ce))||Mt&&Mt.some(ht=>ht.route.id===Ce)),B=++I,Mt.length===0&&bt.length===0){let Ce=Ju();return Z(z,lt({matches:A,loaderData:{},errors:de&&xn(de[1])?{[de[0]]:de[1].error}:null},Sp(de),Ce?{fetchers:new Map(g.fetchers)}:{}),{flushSync:ce}),{shortCircuited:!0}}if(Ve){let Ce={};if(!T){Ce.navigation=We;let ht=Ku(de);ht!==void 0&&(Ce.actionData=ht)}bt.length>0&&(Ce.fetchers=Y0(bt)),Oe(Ce,{flushSync:ce})}bt.forEach(Ce=>{J.has(Ce.key)&&Pr(Ce.key),Ce.controller&&J.set(Ce.key,Ce.controller)});let $s=()=>bt.forEach(Ce=>Pr(Ce.key));L&&L.signal.addEventListener("abort",$s);let{loaderResults:Mr,fetcherResults:Pi}=await Gu(g.matches,A,Mt,bt,$);if($.signal.aborted)return{shortCircuited:!0};L&&L.signal.removeEventListener("abort",$s),bt.forEach(Ce=>J.delete(Ce.key));let Mi=$p([...Mr,...Pi]);if(Mi){if(Mi.idx>=Mt.length){let Ce=bt[Mi.idx-Mt.length].key;se.add(Ce)}return await Ss($,Mi.result,{replace:Q}),{shortCircuited:!0}}let{loaderData:Ti,errors:Vn}=Cp(g,A,Mt,Mr,de,bt,Pi,le);le.forEach((Ce,ht)=>{Ce.subscribe(hn=>{(hn||Ce.done)&&le.delete(ht)})}),f.v7_partialHydration&&ye&&g.errors&&Object.entries(g.errors).filter(Ce=>{let[ht]=Ce;return!Mt.some(hn=>hn.route.id===ht)}).forEach(Ce=>{let[ht,hn]=Ce;Vn=Object.assign(Vn||{},{[ht]:hn})});let Va=Ju(),Ka=Xu(B),Ga=Va||Ka||bt.length>0;return lt({matches:A,loaderData:Ti,errors:Vn},Ga?{fetchers:new Map(g.fetchers)}:{})}function Ku($){if($&&!xn($[1]))return{[$[0]]:$[1].data};if(g.actionData)return Object.keys(g.actionData).length===0?null:g.actionData}function Y0($){return $.forEach(z=>{let A=g.fetchers.get(z.key),T=Fs(void 0,A?A.data:void 0);g.fetchers.set(z.key,T)}),new Map(g.fetchers)}function J0($,z,A,T){if(i)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");J.has($)&&Pr($);let ee=(T&&T.unstable_flushSync)===!0,oe=l||o,fe=Ld(g.location,g.matches,c,f.v7_prependBasename,A,f.v7_relativeSplatPath,z,T==null?void 0:T.relative),Q=gi(oe,fe,c),ye=Vl(Q,oe,fe);if(ye.active&&ye.matches&&(Q=ye.matches),!Q){dr($,z,Zt(404,{pathname:fe}),{flushSync:ee});return}let{path:ce,submission:de,error:We}=vp(f.v7_normalizeFormMethod,!0,fe,T);if(We){dr($,z,We,{flushSync:ee});return}let De=Xs(Q,ce);if(E=(T&&T.preventScrollReset)===!0,de&&On(de.formMethod)){X0($,z,ce,De,Q,ye.active,ee,de);return}ne.set($,{routeId:z,path:ce}),Z0($,z,ce,De,Q,ye.active,ee,de)}async function X0($,z,A,T,ee,oe,fe,Q){Hl(),ne.delete($);function ye(rt){if(!rt.route.action&&!rt.route.lazy){let ur=Zt(405,{method:Q.formMethod,pathname:A,routeId:z});return dr($,z,ur,{flushSync:fe}),!0}return!1}if(!oe&&ye(T))return;let ce=g.fetchers.get($);Ar($,Ex(Q,ce),{flushSync:fe});let de=new AbortController,We=Bi(e.history,A,de.signal,Q);if(oe){let rt=await qa(ee,A,We.signal);if(rt.type==="aborted")return;if(rt.type==="error"){let{error:ur}=Wa(A,rt);dr($,z,ur,{flushSync:fe});return}else if(rt.matches){if(ee=rt.matches,T=Xs(ee,A),ye(T))return}else{dr($,z,Zt(404,{pathname:A}),{flushSync:fe});return}}J.set($,de);let De=I,Fe=(await Ns("action",We,[T],ee))[0];if(We.signal.aborted){J.get($)===de&&J.delete($);return}if(f.v7_fetcherPersist&&G.has($)){if(bi(Fe)||xn(Fe)){Ar($,Or(void 0));return}}else{if(bi(Fe))if(J.delete($),B>De){Ar($,Or(void 0));return}else return se.add($),Ar($,Fs(Q)),Ss(We,Fe,{fetcherSubmission:Q});if(xn(Fe)){dr($,z,Fe.error);return}}if(yi(Fe))throw Zt(400,{type:"defer-action"});let Mt=g.navigation.location||g.location,bt=Bi(e.history,Mt,de.signal),$s=l||o,Mr=g.navigation.state!=="idle"?gi($s,g.navigation.location,c):g.matches;we(Mr,"Didn't find any matches after fetcher action");let Pi=++I;V.set($,Pi);let Mi=Fs(Q,Fe.data);g.fetchers.set($,Mi);let[Ti,Vn]=_p(e.history,g,Mr,Q,Mt,!1,f.v7_skipActionErrorRevalidation,O,U,K,G,ne,se,$s,c,[T.route.id,Fe]);Vn.filter(rt=>rt.key!==$).forEach(rt=>{let ur=rt.key,rh=g.fetchers.get(ur),ag=Fs(void 0,rh?rh.data:void 0);g.fetchers.set(ur,ag),J.has(ur)&&Pr(ur),rt.controller&&J.set(ur,rt.controller)}),Oe({fetchers:new Map(g.fetchers)});let Va=()=>Vn.forEach(rt=>Pr(rt.key));de.signal.addEventListener("abort",Va);let{loaderResults:Ka,fetcherResults:Ga}=await Gu(g.matches,Mr,Ti,Vn,bt);if(de.signal.aborted)return;de.signal.removeEventListener("abort",Va),V.delete($),J.delete($),Vn.forEach(rt=>J.delete(rt.key));let Ce=$p([...Ka,...Ga]);if(Ce){if(Ce.idx>=Ti.length){let rt=Vn[Ce.idx-Ti.length].key;se.add(rt)}return Ss(bt,Ce.result)}let{loaderData:ht,errors:hn}=Cp(g,g.matches,Ti,Ka,void 0,Vn,Ga,le);if(g.fetchers.has($)){let rt=Or(Fe.data);g.fetchers.set($,rt)}Xu(Pi),g.navigation.state==="loading"&&Pi>B?(we(S,"Expected pending action"),L&&L.abort(),Z(g.navigation.location,{matches:Mr,loaderData:ht,errors:hn,fetchers:new Map(g.fetchers)})):(Oe({errors:hn,loaderData:kp(g.loaderData,ht,Mr,hn),fetchers:new Map(g.fetchers)}),O=!1)}async function Z0($,z,A,T,ee,oe,fe,Q){let ye=g.fetchers.get($);Ar($,Fs(Q,ye?ye.data:void 0),{flushSync:fe});let ce=new AbortController,de=Bi(e.history,A,ce.signal);if(oe){let Fe=await qa(ee,A,de.signal);if(Fe.type==="aborted")return;if(Fe.type==="error"){let{error:Mt}=Wa(A,Fe);dr($,z,Mt,{flushSync:fe});return}else if(Fe.matches)ee=Fe.matches,T=Xs(ee,A);else{dr($,z,Zt(404,{pathname:A}),{flushSync:fe});return}}J.set($,ce);let We=I,Ve=(await Ns("loader",de,[T],ee))[0];if(yi(Ve)&&(Ve=await Km(Ve,de.signal,!0)||Ve),J.get($)===ce&&J.delete($),!de.signal.aborted){if(G.has($)){Ar($,Or(void 0));return}if(bi(Ve))if(B>We){Ar($,Or(void 0));return}else{se.add($),await Ss(de,Ve);return}if(xn(Ve)){dr($,z,Ve.error);return}we(!yi(Ve),"Unhandled fetcher deferred data"),Ar($,Or(Ve.data))}}async function Ss($,z,A){let{submission:T,fetcherSubmission:ee,replace:oe}=A===void 0?{}:A;z.response.headers.has("X-Remix-Revalidate")&&(O=!0);let fe=z.response.headers.get("Location");we(fe,"Expected a Location header on the redirect Response"),fe=bp(fe,new URL($.url),c);let Q=$a(g.location,fe,{_isRedirect:!0});if(n){let Ve=!1;if(z.response.headers.has("X-Remix-Reload-Document"))Ve=!0;else if(Du.test(fe)){const Fe=e.history.createURL(fe);Ve=Fe.origin!==t.location.origin||Er(Fe.pathname,c)==null}if(Ve){oe?t.location.replace(fe):t.location.assign(fe);return}}L=null;let ye=oe===!0?wt.Replace:wt.Push,{formMethod:ce,formAction:de,formEncType:We}=g.navigation;!T&&!ee&&ce&&de&&We&&(T=zp(g.navigation));let De=T||ee;if(cx.has(z.response.status)&&De&&On(De.formMethod))await oi(ye,Q,{submission:lt({},De,{formAction:fe}),preventScrollReset:E});else{let Ve=yc(Q,T);await oi(ye,Q,{overrideNavigation:Ve,fetcherSubmission:ee,preventScrollReset:E})}}async function Ns($,z,A,T){try{let ee=await vx(u,$,z,A,T,a,s);return await Promise.all(ee.map((oe,fe)=>{if(kx(oe)){let Q=oe.result;return{type:Qe.redirect,response:yx(Q,z,A[fe].route.id,T,c,f.v7_relativeSplatPath)}}return jx(oe)}))}catch(ee){return A.map(()=>({type:Qe.error,error:ee}))}}async function Gu($,z,A,T,ee){let[oe,...fe]=await Promise.all([A.length?Ns("loader",ee,A,z):[],...T.map(Q=>{if(Q.matches&&Q.match&&Q.controller){let ye=Bi(e.history,Q.path,Q.controller.signal);return Ns("loader",ye,[Q.match],Q.matches).then(ce=>ce[0])}else return Promise.resolve({type:Qe.error,error:Zt(404,{pathname:Q.path})})})]);return await Promise.all([Ep($,A,oe,oe.map(()=>ee.signal),!1,g.loaderData),Ep($,T.map(Q=>Q.match),fe,T.map(Q=>Q.controller?Q.controller.signal:null),!0)]),{loaderResults:oe,fetcherResults:fe}}function Hl(){O=!0,U.push(...ql()),ne.forEach(($,z)=>{J.has(z)&&(K.push(z),Pr(z))})}function Ar($,z,A){A===void 0&&(A={}),g.fetchers.set($,z),Oe({fetchers:new Map(g.fetchers)},{flushSync:(A&&A.flushSync)===!0})}function dr($,z,A,T){T===void 0&&(T={});let ee=as(g.matches,z);Ua($),Oe({errors:{[ee.route.id]:A},fetchers:new Map(g.fetchers)},{flushSync:(T&&T.flushSync)===!0})}function Qu($){return f.v7_fetcherPersist&&(nt.set($,(nt.get($)||0)+1),G.has($)&&G.delete($)),g.fetchers.get($)||dx}function Ua($){let z=g.fetchers.get($);J.has($)&&!(z&&z.state==="loading"&&V.has($))&&Pr($),ne.delete($),V.delete($),se.delete($),G.delete($),g.fetchers.delete($)}function eg($){if(f.v7_fetcherPersist){let z=(nt.get($)||0)-1;z<=0?(nt.delete($),G.add($)):nt.set($,z)}else Ua($);Oe({fetchers:new Map(g.fetchers)})}function Pr($){let z=J.get($);we(z,"Expected fetch controller: "+$),z.abort(),J.delete($)}function Yu($){for(let z of $){let A=Qu(z),T=Or(A.data);g.fetchers.set(z,T)}}function Ju(){let $=[],z=!1;for(let A of se){let T=g.fetchers.get(A);we(T,"Expected fetcher: "+A),T.state==="loading"&&(se.delete(A),$.push(A),z=!0)}return Yu($),z}function Xu($){let z=[];for(let[A,T]of V)if(T<$){let ee=g.fetchers.get(A);we(ee,"Expected fetcher: "+A),ee.state==="loading"&&(Pr(A),V.delete(A),z.push(A))}return Yu(z),z.length>0}function tg($,z){let A=g.blockers.get($)||Ts;return ke.get($)!==z&&ke.set($,z),A}function Zu($){g.blockers.delete($),ke.delete($)}function Ha($,z){let A=g.blockers.get($)||Ts;we(A.state==="unblocked"&&z.state==="blocked"||A.state==="blocked"&&z.state==="blocked"||A.state==="blocked"&&z.state==="proceeding"||A.state==="blocked"&&z.state==="unblocked"||A.state==="proceeding"&&z.state==="unblocked","Invalid blocker state transition: "+A.state+" -> "+z.state);let T=new Map(g.blockers);T.set($,z),Oe({blockers:T})}function eh($){let{currentLocation:z,nextLocation:A,historyAction:T}=$;if(ke.size===0)return;ke.size>1&&Li(!1,"A router only supports one blocker at a time");let ee=Array.from(ke.entries()),[oe,fe]=ee[ee.length-1],Q=g.blockers.get(oe);if(!(Q&&Q.state==="proceeding")&&fe({currentLocation:z,nextLocation:A,historyAction:T}))return oe}function Wl($){let z=Zt(404,{pathname:$}),A=l||o,{matches:T,route:ee}=Np(A);return ql(),{notFoundMatches:T,route:ee,error:z}}function Wa($,z){return{boundaryId:as(z.partialMatches).route.id,error:Zt(400,{type:"route-discovery",pathname:$,message:z.error!=null&&"message"in z.error?z.error:String(z.error)})}}function ql($){let z=[];return le.forEach((A,T)=>{(!$||$(T))&&(A.cancel(),z.push(T),le.delete(T))}),z}function ng($,z,A){if(_=$,C=z,y=A||null,!j&&g.navigation===jc){j=!0;let T=nh(g.location,g.matches);T!=null&&Oe({restoreScrollPosition:T})}return()=>{_=null,C=null,y=null}}function th($,z){return y&&y($,z.map(T=>D4(T,g.loaderData)))||$.key}function rg($,z){if(_&&C){let A=th($,z);_[A]=C()}}function nh($,z){if(_){let A=th($,z),T=_[A];if(typeof T=="number")return T}return null}function Vl($,z,A){if(h)if($){let T=$[$.length-1].route;if(T.path&&(T.path==="*"||T.path.endsWith("/*")))return{active:!0,matches:Eo(z,A,c,!0)}}else return{active:!0,matches:Eo(z,A,c,!0)||[]};return{active:!1,matches:null}}async function qa($,z,A){let T=$,ee=T.length>0?T[T.length-1].route:null;for(;;){let oe=l==null,fe=l||o;try{await gx(h,z,T,fe,a,s,qe,A)}catch(de){return{type:"error",error:de,partialMatches:T}}finally{oe&&(o=[...o])}if(A.aborted)return{type:"aborted"};let Q=gi(fe,z,c),ye=!1;if(Q){let de=Q[Q.length-1].route;if(de.index)return{type:"success",matches:Q};if(de.path&&de.path.length>0)if(de.path==="*")ye=!0;else return{type:"success",matches:Q}}let ce=Eo(fe,z,c,!0);if(!ce||T.map(de=>de.route.id).join("-")===ce.map(de=>de.route.id).join("-"))return{type:"success",matches:ye?Q:null};if(T=ce,ee=T[T.length-1].route,ee.path==="*")return{type:"success",matches:T}}}function ig($){a={},l=Ea($,s,void 0,a)}function sg($,z){let A=l==null;Wm($,z,l||o,a,s),A&&(o=[...o],Oe({}))}return w={get basename(){return c},get future(){return f},get state(){return g},get routes(){return o},get window(){return t},initialize:yt,subscribe:zt,enableScrollRestoration:ng,navigate:_e,fetch:J0,revalidate:Je,createHref:$=>e.history.createHref($),encodeLocation:$=>e.history.encodeLocation($),getFetcher:Qu,deleteFetcher:eg,dispose:Pt,getBlocker:tg,deleteBlocker:Zu,patchRoutes:sg,_internalFetchControllers:J,_internalActiveDeferreds:le,_internalSetRoutes:ig},w}function px(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Ld(e,t,n,i,s,a,o,l){let c,u;if(o){c=[];for(let f of t)if(c.push(f),f.route.id===o){u=f;break}}else c=t,u=t[t.length-1];let h=Ml(s||".",Pl(c,a),Er(e.pathname,n)||e.pathname,l==="path");return s==null&&(h.search=e.search,h.hash=e.hash),(s==null||s===""||s===".")&&u&&u.route.index&&!Uu(h.search)&&(h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index"),i&&n!=="/"&&(h.pathname=h.pathname==="/"?n:wr([n,h.pathname])),Ii(h)}function vp(e,t,n,i){if(!i||!px(i))return{path:n};if(i.formMethod&&!Nx(i.formMethod))return{path:n,error:Zt(405,{method:i.formMethod})};let s=()=>({path:n,error:Zt(400,{type:"invalid-body"})}),a=i.formMethod||"get",o=e?a.toUpperCase():a.toLowerCase(),l=qm(n);if(i.body!==void 0){if(i.formEncType==="text/plain"){if(!On(o))return s();let p=typeof i.body=="string"?i.body:i.body instanceof FormData||i.body instanceof URLSearchParams?Array.from(i.body.entries()).reduce((x,_)=>{let[y,C]=_;return""+x+y+"="+C+` -`},""):String(i.body);return{path:n,submission:{formMethod:o,formAction:l,formEncType:i.formEncType,formData:void 0,json:void 0,text:p}}}else if(i.formEncType==="application/json"){if(!On(o))return s();try{let p=typeof i.body=="string"?JSON.parse(i.body):i.body;return{path:n,submission:{formMethod:o,formAction:l,formEncType:i.formEncType,formData:void 0,json:p,text:void 0}}}catch{return s()}}}we(typeof FormData=="function","FormData is not available in this environment");let c,u;if(i.formData)c=Id(i.formData),u=i.formData;else if(i.body instanceof FormData)c=Id(i.body),u=i.body;else if(i.body instanceof URLSearchParams)c=i.body,u=wp(c);else if(i.body==null)c=new URLSearchParams,u=new FormData;else try{c=new URLSearchParams(i.body),u=wp(c)}catch{return s()}let h={formMethod:o,formAction:l,formEncType:i&&i.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(On(h.formMethod))return{path:n,submission:h};let f=Lr(n);return t&&f.search&&Uu(f.search)&&c.append("index",""),f.search="?"+c,{path:Ii(f),submission:h}}function fx(e,t){let n=e;if(t){let i=e.findIndex(s=>s.route.id===t);i>=0&&(n=e.slice(0,i))}return n}function _p(e,t,n,i,s,a,o,l,c,u,h,f,p,x,_,y){let C=y?xn(y[1])?y[1].error:y[1].data:void 0,j=e.createURL(t.location),d=e.createURL(s),m=y&&xn(y[1])?y[0]:void 0,v=m?fx(n,m):n,w=y?y[1].statusCode:void 0,g=o&&w&&w>=400,S=v.filter((L,R)=>{let{route:F}=L;if(F.lazy)return!0;if(F.loader==null)return!1;if(a)return typeof F.loader!="function"||F.loader.hydrate?!0:t.loaderData[F.id]===void 0&&(!t.errors||t.errors[F.id]===void 0);if(mx(t.loaderData,t.matches[R],L)||c.some(O=>O===L.route.id))return!0;let Y=t.matches[R],q=L;return jp(L,lt({currentUrl:j,currentParams:Y.params,nextUrl:d,nextParams:q.params},i,{actionResult:C,actionStatus:w,defaultShouldRevalidate:g?!1:l||j.pathname+j.search===d.pathname+d.search||j.search!==d.search||Hm(Y,q)}))}),E=[];return f.forEach((L,R)=>{if(a||!n.some(U=>U.route.id===L.routeId)||h.has(R))return;let F=gi(x,L.path,_);if(!F){E.push({key:R,routeId:L.routeId,path:L.path,matches:null,match:null,controller:null});return}let Y=t.fetchers.get(R),q=Xs(F,L.path),O=!1;p.has(R)?O=!1:u.includes(R)?O=!0:Y&&Y.state!=="idle"&&Y.data===void 0?O=l:O=jp(q,lt({currentUrl:j,currentParams:t.matches[t.matches.length-1].params,nextUrl:d,nextParams:n[n.length-1].params},i,{actionResult:C,actionStatus:w,defaultShouldRevalidate:g?!1:l})),O&&E.push({key:R,routeId:L.routeId,path:L.path,matches:F,match:q,controller:new AbortController})}),[S,E]}function mx(e,t,n){let i=!t||n.route.id!==t.route.id,s=e[n.route.id]===void 0;return i||s}function Hm(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function jp(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function gx(e,t,n,i,s,a,o,l){let c=[t,...n.map(u=>u.route.id)].join("-");try{let u=o.get(c);u||(u=e({path:t,matches:n,patch:(h,f)=>{l.aborted||Wm(h,f,i,s,a)}}),o.set(c,u)),u&&Cx(u)&&await u}finally{o.delete(c)}}function Wm(e,t,n,i,s){if(e){var a;let o=i[e];we(o,"No route found to patch children into: routeId = "+e);let l=Ea(t,s,[e,"patch",String(((a=o.children)==null?void 0:a.length)||"0")],i);o.children?o.children.push(...l):o.children=l}else{let o=Ea(t,s,["patch",String(n.length||"0")],i);n.push(...o)}}async function yp(e,t,n){if(!e.lazy)return;let i=await e.lazy();if(!e.lazy)return;let s=n[e.id];we(s,"No route found in manifest");let a={};for(let o in i){let c=s[o]!==void 0&&o!=="hasErrorBoundary";Li(!c,'Route "'+s.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!c&&!B4.has(o)&&(a[o]=i[o])}Object.assign(s,a),Object.assign(s,lt({},t(s),{lazy:void 0}))}function xx(e){return Promise.all(e.matches.map(t=>t.resolve()))}async function vx(e,t,n,i,s,a,o,l){let c=i.reduce((f,p)=>f.add(p.route.id),new Set),u=new Set,h=await e({matches:s.map(f=>{let p=c.has(f.route.id);return lt({},f,{shouldLoad:p,resolve:_=>(u.add(f.route.id),p?_x(t,n,f,a,o,_,l):Promise.resolve({type:Qe.data,result:void 0}))})}),request:n,params:s[0].params,context:l});return s.forEach(f=>we(u.has(f.route.id),'`match.resolve()` was not called for route id "'+f.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),h.filter((f,p)=>c.has(s[p].route.id))}async function _x(e,t,n,i,s,a,o){let l,c,u=h=>{let f,p=new Promise((y,C)=>f=C);c=()=>f(),t.signal.addEventListener("abort",c);let x=y=>typeof h!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+n.route.id+"]"))):h({request:t,params:n.params,context:o},...y!==void 0?[y]:[]),_;return a?_=a(y=>x(y)):_=(async()=>{try{return{type:"data",result:await x()}}catch(y){return{type:"error",result:y}}})(),Promise.race([_,p])};try{let h=n.route[e];if(n.route.lazy)if(h){let f,[p]=await Promise.all([u(h).catch(x=>{f=x}),yp(n.route,s,i)]);if(f!==void 0)throw f;l=p}else if(await yp(n.route,s,i),h=n.route[e],h)l=await u(h);else if(e==="action"){let f=new URL(t.url),p=f.pathname+f.search;throw Zt(405,{method:t.method,pathname:p,routeId:n.route.id})}else return{type:Qe.data,result:void 0};else if(h)l=await u(h);else{let f=new URL(t.url),p=f.pathname+f.search;throw Zt(404,{pathname:p})}we(l.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(h){return{type:Qe.error,result:h}}finally{c&&t.signal.removeEventListener("abort",c)}return l}async function jx(e){let{result:t,type:n,status:i}=e;if(Vm(t)){let o;try{let l=t.headers.get("Content-Type");l&&/\bapplication\/json\b/.test(l)?t.body==null?o=null:o=await t.json():o=await t.text()}catch(l){return{type:Qe.error,error:l}}return n===Qe.error?{type:Qe.error,error:new Ou(t.status,t.statusText,o),statusCode:t.status,headers:t.headers}:{type:Qe.data,data:o,statusCode:t.status,headers:t.headers}}if(n===Qe.error)return{type:Qe.error,error:t,statusCode:Tl(t)?t.status:i};if(Sx(t)){var s,a;return{type:Qe.deferred,deferredData:t,statusCode:(s=t.init)==null?void 0:s.status,headers:((a=t.init)==null?void 0:a.headers)&&new Headers(t.init.headers)}}return{type:Qe.data,data:t,statusCode:i}}function yx(e,t,n,i,s,a){let o=e.headers.get("Location");if(we(o,"Redirects returned/thrown from loaders/actions must have a Location header"),!Du.test(o)){let l=i.slice(0,i.findIndex(c=>c.route.id===n)+1);o=Ld(new URL(t.url),l,s,!0,o,a),e.headers.set("Location",o)}return e}function bp(e,t,n){if(Du.test(e)){let i=e,s=i.startsWith("//")?new URL(t.protocol+i):new URL(i),a=Er(s.pathname,n)!=null;if(s.origin===t.origin&&a)return s.pathname+s.search+s.hash}return e}function Bi(e,t,n,i){let s=e.createURL(qm(t)).toString(),a={signal:n};if(i&&On(i.formMethod)){let{formMethod:o,formEncType:l}=i;a.method=o.toUpperCase(),l==="application/json"?(a.headers=new Headers({"Content-Type":l}),a.body=JSON.stringify(i.json)):l==="text/plain"?a.body=i.text:l==="application/x-www-form-urlencoded"&&i.formData?a.body=Id(i.formData):a.body=i.formData}return new Request(s,a)}function Id(e){let t=new URLSearchParams;for(let[n,i]of e.entries())t.append(n,typeof i=="string"?i:i.name);return t}function wp(e){let t=new FormData;for(let[n,i]of e.entries())t.append(n,i);return t}function bx(e,t,n,i,s,a){let o={},l=null,c,u=!1,h={},f=i&&xn(i[1])?i[1].error:void 0;return n.forEach((p,x)=>{let _=t[x].route.id;if(we(!bi(p),"Cannot handle redirect results in processLoaderData"),xn(p)){let y=p.error;f!==void 0&&(y=f,f=void 0),l=l||{};{let C=as(e,_);l[C.route.id]==null&&(l[C.route.id]=y)}o[_]=void 0,u||(u=!0,c=Tl(p.error)?p.error.status:500),p.headers&&(h[_]=p.headers)}else yi(p)?(s.set(_,p.deferredData),o[_]=p.deferredData.data,p.statusCode!=null&&p.statusCode!==200&&!u&&(c=p.statusCode),p.headers&&(h[_]=p.headers)):(o[_]=p.data,p.statusCode&&p.statusCode!==200&&!u&&(c=p.statusCode),p.headers&&(h[_]=p.headers))}),f!==void 0&&i&&(l={[i[0]]:f},o[i[0]]=void 0),{loaderData:o,errors:l,statusCode:c||200,loaderHeaders:h}}function Cp(e,t,n,i,s,a,o,l){let{loaderData:c,errors:u}=bx(t,n,i,s,l);for(let h=0;hi.route.id===t)+1):[...e]).reverse().find(i=>i.route.hasErrorBoundary===!0)||e[0]}function Np(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Zt(e,t){let{pathname:n,routeId:i,method:s,type:a,message:o}=t===void 0?{}:t,l="Unknown Server Error",c="Unknown @remix-run/router error";return e===400?(l="Bad Request",a==="route-discovery"?c='Unable to match URL "'+n+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error: + */function lt(){return lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Li(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function T4(){return Math.random().toString(36).substr(2,8)}function gp(e,t){return{usr:e.state,key:e.key,idx:t}}function $a(e,t,n,i){return n===void 0&&(n=null),lt({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Lr(t):t,{state:n,key:t&&t.key||i||T4()})}function Ii(e){let{pathname:t="/",search:n="",hash:i=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),i&&i!=="#"&&(t+=i.charAt(0)==="#"?i:"#"+i),t}function Lr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}function F4(e,t,n,i){i===void 0&&(i={});let{window:s=document.defaultView,v5Compat:a=!1}=i,o=s.history,l=wt.Pop,c=null,u=h();u==null&&(u=0,o.replaceState(lt({},o.state,{idx:u}),""));function h(){return(o.state||{idx:null}).idx}function f(){l=wt.Pop;let C=h(),_=C==null?null:C-u;u=C,c&&c({action:l,location:y.location,delta:_})}function p(C,_){l=wt.Push;let d=$a(y.location,C,_);n&&n(d,C),u=h()+1;let m=gp(d,u),v=y.createHref(d);try{o.pushState(m,"",v)}catch(w){if(w instanceof DOMException&&w.name==="DataCloneError")throw w;s.location.assign(v)}a&&c&&c({action:l,location:y.location,delta:1})}function x(C,_){l=wt.Replace;let d=$a(y.location,C,_);n&&n(d,C),u=h();let m=gp(d,u),v=y.createHref(d);o.replaceState(m,"",v),a&&c&&c({action:l,location:y.location,delta:0})}function j(C){let _=s.location.origin!=="null"?s.location.origin:s.location.href,d=typeof C=="string"?C:Ii(C);return d=d.replace(/ $/,"%20"),we(_,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,_)}let y={get action(){return l},get location(){return e(s,o)},listen(C){if(c)throw new Error("A history only accepts one active listener");return s.addEventListener(mp,f),c=C,()=>{s.removeEventListener(mp,f),c=null}},createHref(C){return t(s,C)},createURL:j,encodeLocation(C){let _=j(C);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:p,replace:x,go(C){return o.go(C)}};return y}var Qe;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Qe||(Qe={}));const B4=new Set(["lazy","caseSensitive","path","id","index","children"]);function O4(e){return e.index===!0}function Ea(e,t,n,i){return n===void 0&&(n=[]),i===void 0&&(i={}),e.map((s,a)=>{let o=[...n,String(a)],l=typeof s.id=="string"?s.id:o.join("-");if(we(s.index!==!0||!s.children,"Cannot specify children on an index route"),we(!i[l],'Found a route id collision on id "'+l+`". Route id's must be globally unique within Data Router usages`),O4(s)){let c=lt({},s,t(s),{id:l});return i[l]=c,c}else{let c=lt({},s,t(s),{id:l,children:void 0});return i[l]=c,s.children&&(c.children=Ea(s.children,t,o,i)),c}})}function gi(e,t,n){return n===void 0&&(n="/"),Eo(e,t,n,!1)}function Eo(e,t,n,i){let s=typeof t=="string"?Lr(t):t,a=Er(s.pathname||"/",n);if(a==null)return null;let o=Fm(e);U4(o);let l=null;for(let c=0;l==null&&c{let c={relativePath:l===void 0?a.path||"":l,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};c.relativePath.startsWith("/")&&(we(c.relativePath.startsWith(i),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+i+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(i.length));let u=wr([i,c.relativePath]),h=n.concat(c);a.children&&a.children.length>0&&(we(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Fm(a.children,t,h,u)),!(a.path==null&&!a.index)&&t.push({path:u,score:Q4(u,a.index),routesMeta:h})};return e.forEach((a,o)=>{var l;if(a.path===""||!((l=a.path)!=null&&l.includes("?")))s(a,o);else for(let c of Bm(a.path))s(a,o,c)}),t}function Bm(e){let t=e.split("/");if(t.length===0)return[];let[n,...i]=t,s=n.endsWith("?"),a=n.replace(/\?$/,"");if(i.length===0)return s?[a,""]:[a];let o=Bm(i.join("/")),l=[];return l.push(...o.map(c=>c===""?a:[a,c].join("/"))),s&&l.push(...o),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function U4(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Y4(t.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}const H4=/^:[\w-]+$/,W4=3,q4=2,V4=1,K4=10,G4=-2,xp=e=>e==="*";function Q4(e,t){let n=e.split("/"),i=n.length;return n.some(xp)&&(i+=G4),t&&(i+=q4),n.filter(s=>!xp(s)).reduce((s,a)=>s+(H4.test(a)?W4:a===""?V4:K4),i)}function Y4(e,t){return e.length===t.length&&e.slice(0,-1).every((i,s)=>i===t[s])?e[e.length-1]-t[t.length-1]:0}function J4(e,t,n){n===void 0&&(n=!1);let{routesMeta:i}=e,s={},a="/",o=[];for(let l=0;l{let{paramName:p,isOptional:x}=h;if(p==="*"){let y=l[f]||"";o=a.slice(0,a.length-y.length).replace(/(.)\/+$/,"$1")}const j=l[f];return x&&!j?u[p]=void 0:u[p]=(j||"").replace(/%2F/g,"/"),u},{}),pathname:a,pathnameBase:o,pattern:e}}function X4(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Li(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 i=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,l,c)=>(i.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(i.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),i]}function Z4(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Li(!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 Er(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&i!=="/"?null:e.slice(n)||"/"}function ex(e,t){t===void 0&&(t="/");let{pathname:n,search:i="",hash:s=""}=typeof e=="string"?Lr(e):e;return{pathname:n?n.startsWith("/")?n:tx(n,t):t,search:rx(i),hash:ix(s)}}function tx(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function _c(e,t,n,i){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(i)+"]. 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 Om(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Pl(e,t){let n=Om(e);return t?n.map((i,s)=>s===n.length-1?i.pathname:i.pathnameBase):n.map(i=>i.pathnameBase)}function Ml(e,t,n,i){i===void 0&&(i=!1);let s;typeof e=="string"?s=Lr(e):(s=lt({},e),we(!s.pathname||!s.pathname.includes("?"),_c("?","pathname","search",s)),we(!s.pathname||!s.pathname.includes("#"),_c("#","pathname","hash",s)),we(!s.search||!s.search.includes("#"),_c("#","search","hash",s)));let a=e===""||s.pathname==="",o=a?"/":s.pathname,l;if(o==null)l=n;else{let f=t.length-1;if(!i&&o.startsWith("..")){let p=o.split("/");for(;p[0]==="..";)p.shift(),f-=1;s.pathname=p.join("/")}l=f>=0?t[f]:"/"}let c=ex(s,l),u=o&&o!=="/"&&o.endsWith("/"),h=(a||o===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||h)&&(c.pathname+="/"),c}const wr=e=>e.join("/").replace(/\/\/+/g,"/"),nx=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),rx=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,ix=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Ou{constructor(t,n,i,s){s===void 0&&(s=!1),this.status=t,this.statusText=n||"",this.internal=s,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}}function Tl(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Dm=["post","put","patch","delete"],sx=new Set(Dm),ax=["get",...Dm],ox=new Set(ax),lx=new Set([301,302,303,307,308]),cx=new Set([307,308]),jc={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},dx={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ts={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Du=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ux=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Um="remix-router-transitions";function hx(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",i=!n;we(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let s;if(e.mapRouteProperties)s=e.mapRouteProperties;else if(e.detectErrorBoundary){let $=e.detectErrorBoundary;s=z=>({hasErrorBoundary:$(z)})}else s=ux;let a={},o=Ea(e.routes,s,void 0,a),l,c=e.basename||"/",u=e.unstable_dataStrategy||xx,h=e.unstable_patchRoutesOnMiss,f=lt({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),p=null,x=new Set,j=null,y=null,C=null,_=e.hydrationData!=null,d=gi(o,e.history.location,c),m=null;if(d==null&&!h){let $=Zt(404,{pathname:e.history.location.pathname}),{matches:z,route:A}=Np(o);d=z,m={[A.id]:$}}d&&h&&!e.hydrationData&&Vl(d,o,e.history.location.pathname).active&&(d=null);let v;if(!d)v=!1,d=[];else if(d.some($=>$.route.lazy))v=!1;else if(!d.some($=>$.route.loader))v=!0;else if(f.v7_partialHydration){let $=e.hydrationData?e.hydrationData.loaderData:null,z=e.hydrationData?e.hydrationData.errors:null,A=T=>T.route.loader?typeof T.route.loader=="function"&&T.route.loader.hydrate===!0?!1:$&&$[T.route.id]!==void 0||z&&z[T.route.id]!==void 0:!0;if(z){let T=d.findIndex(ee=>z[ee.route.id]!==void 0);v=d.slice(0,T+1).every(A)}else v=d.every(A)}else v=e.hydrationData!=null;let w,g={historyAction:e.history.action,location:e.history.location,matches:d,initialized:v,navigation:jc,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||m,fetchers:new Map,blockers:new Map},S=wt.Pop,E=!1,L,R=!1,F=new Map,Y=null,q=!1,O=!1,U=[],K=[],J=new Map,I=0,B=-1,V=new Map,se=new Set,ne=new Map,nt=new Map,G=new Set,le=new Map,ke=new Map,qe=new Map,At=!1;function yt(){if(p=e.history.listen($=>{let{action:z,location:A,delta:T}=$;if(At){At=!1;return}Li(ke.size===0||T!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let ee=eh({currentLocation:g.location,nextLocation:A,historyAction:z});if(ee&&T!=null){At=!0,e.history.go(T*-1),Ha(ee,{state:"blocked",location:A,proceed(){Ha(ee,{state:"proceeding",proceed:void 0,reset:void 0,location:A}),e.history.go(T)},reset(){let oe=new Map(g.blockers);oe.set(ee,Ts),Oe({blockers:oe})}});return}return oi(z,A)}),n){zx(t,F);let $=()=>Lx(t,F);t.addEventListener("pagehide",$),Y=()=>t.removeEventListener("pagehide",$)}return g.initialized||oi(wt.Pop,g.location,{initialHydration:!0}),w}function Pt(){p&&p(),Y&&Y(),x.clear(),L&&L.abort(),g.fetchers.forEach(($,z)=>Ua(z)),g.blockers.forEach(($,z)=>Zu(z))}function zt($){return x.add($),()=>x.delete($)}function Oe($,z){z===void 0&&(z={}),g=lt({},g,$);let A=[],T=[];f.v7_fetcherPersist&&g.fetchers.forEach((ee,oe)=>{ee.state==="idle"&&(G.has(oe)?T.push(oe):A.push(oe))}),[...x].forEach(ee=>ee(g,{deletedFetchers:T,unstable_viewTransitionOpts:z.viewTransitionOpts,unstable_flushSync:z.flushSync===!0})),f.v7_fetcherPersist&&(A.forEach(ee=>g.fetchers.delete(ee)),T.forEach(ee=>Ua(ee)))}function Z($,z,A){var T,ee;let{flushSync:oe}=A===void 0?{}:A,fe=g.actionData!=null&&g.navigation.formMethod!=null&&On(g.navigation.formMethod)&&g.navigation.state==="loading"&&((T=$.state)==null?void 0:T._isRedirect)!==!0,Q;z.actionData?Object.keys(z.actionData).length>0?Q=z.actionData:Q=null:fe?Q=g.actionData:Q=null;let ye=z.loaderData?kp(g.loaderData,z.loaderData,z.matches||[],z.errors):g.loaderData,ce=g.blockers;ce.size>0&&(ce=new Map(ce),ce.forEach((De,Ve)=>ce.set(Ve,Ts)));let de=E===!0||g.navigation.formMethod!=null&&On(g.navigation.formMethod)&&((ee=$.state)==null?void 0:ee._isRedirect)!==!0;l&&(o=l,l=void 0),q||S===wt.Pop||(S===wt.Push?e.history.push($,$.state):S===wt.Replace&&e.history.replace($,$.state));let We;if(S===wt.Pop){let De=F.get(g.location.pathname);De&&De.has($.pathname)?We={currentLocation:g.location,nextLocation:$}:F.has($.pathname)&&(We={currentLocation:$,nextLocation:g.location})}else if(R){let De=F.get(g.location.pathname);De?De.add($.pathname):(De=new Set([$.pathname]),F.set(g.location.pathname,De)),We={currentLocation:g.location,nextLocation:$}}Oe(lt({},z,{actionData:Q,loaderData:ye,historyAction:S,location:$,initialized:!0,navigation:jc,revalidation:"idle",restoreScrollPosition:nh($,z.matches||g.matches),preventScrollReset:de,blockers:ce}),{viewTransitionOpts:We,flushSync:oe===!0}),S=wt.Pop,E=!1,R=!1,q=!1,O=!1,U=[],K=[]}async function _e($,z){if(typeof $=="number"){e.history.go($);return}let A=Ld(g.location,g.matches,c,f.v7_prependBasename,$,f.v7_relativeSplatPath,z==null?void 0:z.fromRouteId,z==null?void 0:z.relative),{path:T,submission:ee,error:oe}=vp(f.v7_normalizeFormMethod,!1,A,z),fe=g.location,Q=$a(g.location,T,z&&z.state);Q=lt({},Q,e.history.encodeLocation(Q));let ye=z&&z.replace!=null?z.replace:void 0,ce=wt.Push;ye===!0?ce=wt.Replace:ye===!1||ee!=null&&On(ee.formMethod)&&ee.formAction===g.location.pathname+g.location.search&&(ce=wt.Replace);let de=z&&"preventScrollReset"in z?z.preventScrollReset===!0:void 0,We=(z&&z.unstable_flushSync)===!0,De=eh({currentLocation:fe,nextLocation:Q,historyAction:ce});if(De){Ha(De,{state:"blocked",location:Q,proceed(){Ha(De,{state:"proceeding",proceed:void 0,reset:void 0,location:Q}),_e($,z)},reset(){let Ve=new Map(g.blockers);Ve.set(De,Ts),Oe({blockers:Ve})}});return}return await oi(ce,Q,{submission:ee,pendingError:oe,preventScrollReset:de,replace:z&&z.replace,enableViewTransition:z&&z.unstable_viewTransition,flushSync:We})}function Je(){if(Hl(),Oe({revalidation:"loading"}),g.navigation.state!=="submitting"){if(g.navigation.state==="idle"){oi(g.historyAction,g.location,{startUninterruptedRevalidation:!0});return}oi(S||g.historyAction,g.navigation.location,{overrideNavigation:g.navigation})}}async function oi($,z,A){L&&L.abort(),L=null,S=$,q=(A&&A.startUninterruptedRevalidation)===!0,rg(g.location,g.matches),E=(A&&A.preventScrollReset)===!0,R=(A&&A.enableViewTransition)===!0;let T=l||o,ee=A&&A.overrideNavigation,oe=gi(T,z,c),fe=(A&&A.flushSync)===!0,Q=Vl(oe,T,z.pathname);if(Q.active&&Q.matches&&(oe=Q.matches),!oe){let{error:Fe,notFoundMatches:Mt,route:bt}=Wl(z.pathname);Z(z,{matches:Mt,loaderData:{},errors:{[bt.id]:Fe}},{flushSync:fe});return}if(g.initialized&&!O&&wx(g.location,z)&&!(A&&A.submission&&On(A.submission.formMethod))){Z(z,{matches:oe},{flushSync:fe});return}L=new AbortController;let ye=Bi(e.history,z,L.signal,A&&A.submission),ce;if(A&&A.pendingError)ce=[as(oe).route.id,{type:Qe.error,error:A.pendingError}];else if(A&&A.submission&&On(A.submission.formMethod)){let Fe=await G0(ye,z,A.submission,oe,Q.active,{replace:A.replace,flushSync:fe});if(Fe.shortCircuited)return;if(Fe.pendingActionResult){let[Mt,bt]=Fe.pendingActionResult;if(xn(bt)&&Tl(bt.error)&&bt.error.status===404){L=null,Z(z,{matches:Fe.matches,loaderData:{},errors:{[Mt]:bt.error}});return}}oe=Fe.matches||oe,ce=Fe.pendingActionResult,ee=yc(z,A.submission),fe=!1,Q.active=!1,ye=Bi(e.history,ye.url,ye.signal)}let{shortCircuited:de,matches:We,loaderData:De,errors:Ve}=await Q0(ye,z,oe,Q.active,ee,A&&A.submission,A&&A.fetcherSubmission,A&&A.replace,A&&A.initialHydration===!0,fe,ce);de||(L=null,Z(z,lt({matches:We||oe},Sp(ce),{loaderData:De,errors:Ve})))}async function G0($,z,A,T,ee,oe){oe===void 0&&(oe={}),Hl();let fe=$x(z,A);if(Oe({navigation:fe},{flushSync:oe.flushSync===!0}),ee){let ce=await qa(T,z.pathname,$.signal);if(ce.type==="aborted")return{shortCircuited:!0};if(ce.type==="error"){let{boundaryId:de,error:We}=Wa(z.pathname,ce);return{matches:ce.partialMatches,pendingActionResult:[de,{type:Qe.error,error:We}]}}else if(ce.matches)T=ce.matches;else{let{notFoundMatches:de,error:We,route:De}=Wl(z.pathname);return{matches:de,pendingActionResult:[De.id,{type:Qe.error,error:We}]}}}let Q,ye=Xs(T,z);if(!ye.route.action&&!ye.route.lazy)Q={type:Qe.error,error:Zt(405,{method:$.method,pathname:z.pathname,routeId:ye.route.id})};else if(Q=(await Ns("action",$,[ye],T))[0],$.signal.aborted)return{shortCircuited:!0};if(bi(Q)){let ce;return oe&&oe.replace!=null?ce=oe.replace:ce=bp(Q.response.headers.get("Location"),new URL($.url),c)===g.location.pathname+g.location.search,await Ss($,Q,{submission:A,replace:ce}),{shortCircuited:!0}}if(yi(Q))throw Zt(400,{type:"defer-action"});if(xn(Q)){let ce=as(T,ye.route.id);return(oe&&oe.replace)!==!0&&(S=wt.Push),{matches:T,pendingActionResult:[ce.route.id,Q]}}return{matches:T,pendingActionResult:[ye.route.id,Q]}}async function Q0($,z,A,T,ee,oe,fe,Q,ye,ce,de){let We=ee||yc(z,oe),De=oe||fe||zp(We),Ve=!q&&(!f.v7_partialHydration||!ye);if(T){if(Ve){let ht=Ku(de);Oe(lt({navigation:We},ht!==void 0?{actionData:ht}:{}),{flushSync:ce})}let Ce=await qa(A,z.pathname,$.signal);if(Ce.type==="aborted")return{shortCircuited:!0};if(Ce.type==="error"){let{boundaryId:ht,error:hn}=Wa(z.pathname,Ce);return{matches:Ce.partialMatches,loaderData:{},errors:{[ht]:hn}}}else if(Ce.matches)A=Ce.matches;else{let{error:ht,notFoundMatches:hn,route:rt}=Wl(z.pathname);return{matches:hn,loaderData:{},errors:{[rt.id]:ht}}}}let Fe=l||o,[Mt,bt]=_p(e.history,g,A,De,z,f.v7_partialHydration&&ye===!0,f.v7_skipActionErrorRevalidation,O,U,K,G,ne,se,Fe,c,de);if(ql(Ce=>!(A&&A.some(ht=>ht.route.id===Ce))||Mt&&Mt.some(ht=>ht.route.id===Ce)),B=++I,Mt.length===0&&bt.length===0){let Ce=Ju();return Z(z,lt({matches:A,loaderData:{},errors:de&&xn(de[1])?{[de[0]]:de[1].error}:null},Sp(de),Ce?{fetchers:new Map(g.fetchers)}:{}),{flushSync:ce}),{shortCircuited:!0}}if(Ve){let Ce={};if(!T){Ce.navigation=We;let ht=Ku(de);ht!==void 0&&(Ce.actionData=ht)}bt.length>0&&(Ce.fetchers=Y0(bt)),Oe(Ce,{flushSync:ce})}bt.forEach(Ce=>{J.has(Ce.key)&&Pr(Ce.key),Ce.controller&&J.set(Ce.key,Ce.controller)});let $s=()=>bt.forEach(Ce=>Pr(Ce.key));L&&L.signal.addEventListener("abort",$s);let{loaderResults:Mr,fetcherResults:Pi}=await Gu(g.matches,A,Mt,bt,$);if($.signal.aborted)return{shortCircuited:!0};L&&L.signal.removeEventListener("abort",$s),bt.forEach(Ce=>J.delete(Ce.key));let Mi=$p([...Mr,...Pi]);if(Mi){if(Mi.idx>=Mt.length){let Ce=bt[Mi.idx-Mt.length].key;se.add(Ce)}return await Ss($,Mi.result,{replace:Q}),{shortCircuited:!0}}let{loaderData:Ti,errors:Vn}=Cp(g,A,Mt,Mr,de,bt,Pi,le);le.forEach((Ce,ht)=>{Ce.subscribe(hn=>{(hn||Ce.done)&&le.delete(ht)})}),f.v7_partialHydration&&ye&&g.errors&&Object.entries(g.errors).filter(Ce=>{let[ht]=Ce;return!Mt.some(hn=>hn.route.id===ht)}).forEach(Ce=>{let[ht,hn]=Ce;Vn=Object.assign(Vn||{},{[ht]:hn})});let Va=Ju(),Ka=Xu(B),Ga=Va||Ka||bt.length>0;return lt({matches:A,loaderData:Ti,errors:Vn},Ga?{fetchers:new Map(g.fetchers)}:{})}function Ku($){if($&&!xn($[1]))return{[$[0]]:$[1].data};if(g.actionData)return Object.keys(g.actionData).length===0?null:g.actionData}function Y0($){return $.forEach(z=>{let A=g.fetchers.get(z.key),T=Fs(void 0,A?A.data:void 0);g.fetchers.set(z.key,T)}),new Map(g.fetchers)}function J0($,z,A,T){if(i)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");J.has($)&&Pr($);let ee=(T&&T.unstable_flushSync)===!0,oe=l||o,fe=Ld(g.location,g.matches,c,f.v7_prependBasename,A,f.v7_relativeSplatPath,z,T==null?void 0:T.relative),Q=gi(oe,fe,c),ye=Vl(Q,oe,fe);if(ye.active&&ye.matches&&(Q=ye.matches),!Q){dr($,z,Zt(404,{pathname:fe}),{flushSync:ee});return}let{path:ce,submission:de,error:We}=vp(f.v7_normalizeFormMethod,!0,fe,T);if(We){dr($,z,We,{flushSync:ee});return}let De=Xs(Q,ce);if(E=(T&&T.preventScrollReset)===!0,de&&On(de.formMethod)){X0($,z,ce,De,Q,ye.active,ee,de);return}ne.set($,{routeId:z,path:ce}),Z0($,z,ce,De,Q,ye.active,ee,de)}async function X0($,z,A,T,ee,oe,fe,Q){Hl(),ne.delete($);function ye(rt){if(!rt.route.action&&!rt.route.lazy){let ur=Zt(405,{method:Q.formMethod,pathname:A,routeId:z});return dr($,z,ur,{flushSync:fe}),!0}return!1}if(!oe&&ye(T))return;let ce=g.fetchers.get($);Ar($,Ex(Q,ce),{flushSync:fe});let de=new AbortController,We=Bi(e.history,A,de.signal,Q);if(oe){let rt=await qa(ee,A,We.signal);if(rt.type==="aborted")return;if(rt.type==="error"){let{error:ur}=Wa(A,rt);dr($,z,ur,{flushSync:fe});return}else if(rt.matches){if(ee=rt.matches,T=Xs(ee,A),ye(T))return}else{dr($,z,Zt(404,{pathname:A}),{flushSync:fe});return}}J.set($,de);let De=I,Fe=(await Ns("action",We,[T],ee))[0];if(We.signal.aborted){J.get($)===de&&J.delete($);return}if(f.v7_fetcherPersist&&G.has($)){if(bi(Fe)||xn(Fe)){Ar($,Or(void 0));return}}else{if(bi(Fe))if(J.delete($),B>De){Ar($,Or(void 0));return}else return se.add($),Ar($,Fs(Q)),Ss(We,Fe,{fetcherSubmission:Q});if(xn(Fe)){dr($,z,Fe.error);return}}if(yi(Fe))throw Zt(400,{type:"defer-action"});let Mt=g.navigation.location||g.location,bt=Bi(e.history,Mt,de.signal),$s=l||o,Mr=g.navigation.state!=="idle"?gi($s,g.navigation.location,c):g.matches;we(Mr,"Didn't find any matches after fetcher action");let Pi=++I;V.set($,Pi);let Mi=Fs(Q,Fe.data);g.fetchers.set($,Mi);let[Ti,Vn]=_p(e.history,g,Mr,Q,Mt,!1,f.v7_skipActionErrorRevalidation,O,U,K,G,ne,se,$s,c,[T.route.id,Fe]);Vn.filter(rt=>rt.key!==$).forEach(rt=>{let ur=rt.key,rh=g.fetchers.get(ur),ag=Fs(void 0,rh?rh.data:void 0);g.fetchers.set(ur,ag),J.has(ur)&&Pr(ur),rt.controller&&J.set(ur,rt.controller)}),Oe({fetchers:new Map(g.fetchers)});let Va=()=>Vn.forEach(rt=>Pr(rt.key));de.signal.addEventListener("abort",Va);let{loaderResults:Ka,fetcherResults:Ga}=await Gu(g.matches,Mr,Ti,Vn,bt);if(de.signal.aborted)return;de.signal.removeEventListener("abort",Va),V.delete($),J.delete($),Vn.forEach(rt=>J.delete(rt.key));let Ce=$p([...Ka,...Ga]);if(Ce){if(Ce.idx>=Ti.length){let rt=Vn[Ce.idx-Ti.length].key;se.add(rt)}return Ss(bt,Ce.result)}let{loaderData:ht,errors:hn}=Cp(g,g.matches,Ti,Ka,void 0,Vn,Ga,le);if(g.fetchers.has($)){let rt=Or(Fe.data);g.fetchers.set($,rt)}Xu(Pi),g.navigation.state==="loading"&&Pi>B?(we(S,"Expected pending action"),L&&L.abort(),Z(g.navigation.location,{matches:Mr,loaderData:ht,errors:hn,fetchers:new Map(g.fetchers)})):(Oe({errors:hn,loaderData:kp(g.loaderData,ht,Mr,hn),fetchers:new Map(g.fetchers)}),O=!1)}async function Z0($,z,A,T,ee,oe,fe,Q){let ye=g.fetchers.get($);Ar($,Fs(Q,ye?ye.data:void 0),{flushSync:fe});let ce=new AbortController,de=Bi(e.history,A,ce.signal);if(oe){let Fe=await qa(ee,A,de.signal);if(Fe.type==="aborted")return;if(Fe.type==="error"){let{error:Mt}=Wa(A,Fe);dr($,z,Mt,{flushSync:fe});return}else if(Fe.matches)ee=Fe.matches,T=Xs(ee,A);else{dr($,z,Zt(404,{pathname:A}),{flushSync:fe});return}}J.set($,ce);let We=I,Ve=(await Ns("loader",de,[T],ee))[0];if(yi(Ve)&&(Ve=await Km(Ve,de.signal,!0)||Ve),J.get($)===ce&&J.delete($),!de.signal.aborted){if(G.has($)){Ar($,Or(void 0));return}if(bi(Ve))if(B>We){Ar($,Or(void 0));return}else{se.add($),await Ss(de,Ve);return}if(xn(Ve)){dr($,z,Ve.error);return}we(!yi(Ve),"Unhandled fetcher deferred data"),Ar($,Or(Ve.data))}}async function Ss($,z,A){let{submission:T,fetcherSubmission:ee,replace:oe}=A===void 0?{}:A;z.response.headers.has("X-Remix-Revalidate")&&(O=!0);let fe=z.response.headers.get("Location");we(fe,"Expected a Location header on the redirect Response"),fe=bp(fe,new URL($.url),c);let Q=$a(g.location,fe,{_isRedirect:!0});if(n){let Ve=!1;if(z.response.headers.has("X-Remix-Reload-Document"))Ve=!0;else if(Du.test(fe)){const Fe=e.history.createURL(fe);Ve=Fe.origin!==t.location.origin||Er(Fe.pathname,c)==null}if(Ve){oe?t.location.replace(fe):t.location.assign(fe);return}}L=null;let ye=oe===!0?wt.Replace:wt.Push,{formMethod:ce,formAction:de,formEncType:We}=g.navigation;!T&&!ee&&ce&&de&&We&&(T=zp(g.navigation));let De=T||ee;if(cx.has(z.response.status)&&De&&On(De.formMethod))await oi(ye,Q,{submission:lt({},De,{formAction:fe}),preventScrollReset:E});else{let Ve=yc(Q,T);await oi(ye,Q,{overrideNavigation:Ve,fetcherSubmission:ee,preventScrollReset:E})}}async function Ns($,z,A,T){try{let ee=await vx(u,$,z,A,T,a,s);return await Promise.all(ee.map((oe,fe)=>{if(kx(oe)){let Q=oe.result;return{type:Qe.redirect,response:yx(Q,z,A[fe].route.id,T,c,f.v7_relativeSplatPath)}}return jx(oe)}))}catch(ee){return A.map(()=>({type:Qe.error,error:ee}))}}async function Gu($,z,A,T,ee){let[oe,...fe]=await Promise.all([A.length?Ns("loader",ee,A,z):[],...T.map(Q=>{if(Q.matches&&Q.match&&Q.controller){let ye=Bi(e.history,Q.path,Q.controller.signal);return Ns("loader",ye,[Q.match],Q.matches).then(ce=>ce[0])}else return Promise.resolve({type:Qe.error,error:Zt(404,{pathname:Q.path})})})]);return await Promise.all([Ep($,A,oe,oe.map(()=>ee.signal),!1,g.loaderData),Ep($,T.map(Q=>Q.match),fe,T.map(Q=>Q.controller?Q.controller.signal:null),!0)]),{loaderResults:oe,fetcherResults:fe}}function Hl(){O=!0,U.push(...ql()),ne.forEach(($,z)=>{J.has(z)&&(K.push(z),Pr(z))})}function Ar($,z,A){A===void 0&&(A={}),g.fetchers.set($,z),Oe({fetchers:new Map(g.fetchers)},{flushSync:(A&&A.flushSync)===!0})}function dr($,z,A,T){T===void 0&&(T={});let ee=as(g.matches,z);Ua($),Oe({errors:{[ee.route.id]:A},fetchers:new Map(g.fetchers)},{flushSync:(T&&T.flushSync)===!0})}function Qu($){return f.v7_fetcherPersist&&(nt.set($,(nt.get($)||0)+1),G.has($)&&G.delete($)),g.fetchers.get($)||dx}function Ua($){let z=g.fetchers.get($);J.has($)&&!(z&&z.state==="loading"&&V.has($))&&Pr($),ne.delete($),V.delete($),se.delete($),G.delete($),g.fetchers.delete($)}function eg($){if(f.v7_fetcherPersist){let z=(nt.get($)||0)-1;z<=0?(nt.delete($),G.add($)):nt.set($,z)}else Ua($);Oe({fetchers:new Map(g.fetchers)})}function Pr($){let z=J.get($);we(z,"Expected fetch controller: "+$),z.abort(),J.delete($)}function Yu($){for(let z of $){let A=Qu(z),T=Or(A.data);g.fetchers.set(z,T)}}function Ju(){let $=[],z=!1;for(let A of se){let T=g.fetchers.get(A);we(T,"Expected fetcher: "+A),T.state==="loading"&&(se.delete(A),$.push(A),z=!0)}return Yu($),z}function Xu($){let z=[];for(let[A,T]of V)if(T<$){let ee=g.fetchers.get(A);we(ee,"Expected fetcher: "+A),ee.state==="loading"&&(Pr(A),V.delete(A),z.push(A))}return Yu(z),z.length>0}function tg($,z){let A=g.blockers.get($)||Ts;return ke.get($)!==z&&ke.set($,z),A}function Zu($){g.blockers.delete($),ke.delete($)}function Ha($,z){let A=g.blockers.get($)||Ts;we(A.state==="unblocked"&&z.state==="blocked"||A.state==="blocked"&&z.state==="blocked"||A.state==="blocked"&&z.state==="proceeding"||A.state==="blocked"&&z.state==="unblocked"||A.state==="proceeding"&&z.state==="unblocked","Invalid blocker state transition: "+A.state+" -> "+z.state);let T=new Map(g.blockers);T.set($,z),Oe({blockers:T})}function eh($){let{currentLocation:z,nextLocation:A,historyAction:T}=$;if(ke.size===0)return;ke.size>1&&Li(!1,"A router only supports one blocker at a time");let ee=Array.from(ke.entries()),[oe,fe]=ee[ee.length-1],Q=g.blockers.get(oe);if(!(Q&&Q.state==="proceeding")&&fe({currentLocation:z,nextLocation:A,historyAction:T}))return oe}function Wl($){let z=Zt(404,{pathname:$}),A=l||o,{matches:T,route:ee}=Np(A);return ql(),{notFoundMatches:T,route:ee,error:z}}function Wa($,z){return{boundaryId:as(z.partialMatches).route.id,error:Zt(400,{type:"route-discovery",pathname:$,message:z.error!=null&&"message"in z.error?z.error:String(z.error)})}}function ql($){let z=[];return le.forEach((A,T)=>{(!$||$(T))&&(A.cancel(),z.push(T),le.delete(T))}),z}function ng($,z,A){if(j=$,C=z,y=A||null,!_&&g.navigation===jc){_=!0;let T=nh(g.location,g.matches);T!=null&&Oe({restoreScrollPosition:T})}return()=>{j=null,C=null,y=null}}function th($,z){return y&&y($,z.map(T=>D4(T,g.loaderData)))||$.key}function rg($,z){if(j&&C){let A=th($,z);j[A]=C()}}function nh($,z){if(j){let A=th($,z),T=j[A];if(typeof T=="number")return T}return null}function Vl($,z,A){if(h)if($){let T=$[$.length-1].route;if(T.path&&(T.path==="*"||T.path.endsWith("/*")))return{active:!0,matches:Eo(z,A,c,!0)}}else return{active:!0,matches:Eo(z,A,c,!0)||[]};return{active:!1,matches:null}}async function qa($,z,A){let T=$,ee=T.length>0?T[T.length-1].route:null;for(;;){let oe=l==null,fe=l||o;try{await gx(h,z,T,fe,a,s,qe,A)}catch(de){return{type:"error",error:de,partialMatches:T}}finally{oe&&(o=[...o])}if(A.aborted)return{type:"aborted"};let Q=gi(fe,z,c),ye=!1;if(Q){let de=Q[Q.length-1].route;if(de.index)return{type:"success",matches:Q};if(de.path&&de.path.length>0)if(de.path==="*")ye=!0;else return{type:"success",matches:Q}}let ce=Eo(fe,z,c,!0);if(!ce||T.map(de=>de.route.id).join("-")===ce.map(de=>de.route.id).join("-"))return{type:"success",matches:ye?Q:null};if(T=ce,ee=T[T.length-1].route,ee.path==="*")return{type:"success",matches:T}}}function ig($){a={},l=Ea($,s,void 0,a)}function sg($,z){let A=l==null;Wm($,z,l||o,a,s),A&&(o=[...o],Oe({}))}return w={get basename(){return c},get future(){return f},get state(){return g},get routes(){return o},get window(){return t},initialize:yt,subscribe:zt,enableScrollRestoration:ng,navigate:_e,fetch:J0,revalidate:Je,createHref:$=>e.history.createHref($),encodeLocation:$=>e.history.encodeLocation($),getFetcher:Qu,deleteFetcher:eg,dispose:Pt,getBlocker:tg,deleteBlocker:Zu,patchRoutes:sg,_internalFetchControllers:J,_internalActiveDeferreds:le,_internalSetRoutes:ig},w}function px(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Ld(e,t,n,i,s,a,o,l){let c,u;if(o){c=[];for(let f of t)if(c.push(f),f.route.id===o){u=f;break}}else c=t,u=t[t.length-1];let h=Ml(s||".",Pl(c,a),Er(e.pathname,n)||e.pathname,l==="path");return s==null&&(h.search=e.search,h.hash=e.hash),(s==null||s===""||s===".")&&u&&u.route.index&&!Uu(h.search)&&(h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index"),i&&n!=="/"&&(h.pathname=h.pathname==="/"?n:wr([n,h.pathname])),Ii(h)}function vp(e,t,n,i){if(!i||!px(i))return{path:n};if(i.formMethod&&!Nx(i.formMethod))return{path:n,error:Zt(405,{method:i.formMethod})};let s=()=>({path:n,error:Zt(400,{type:"invalid-body"})}),a=i.formMethod||"get",o=e?a.toUpperCase():a.toLowerCase(),l=qm(n);if(i.body!==void 0){if(i.formEncType==="text/plain"){if(!On(o))return s();let p=typeof i.body=="string"?i.body:i.body instanceof FormData||i.body instanceof URLSearchParams?Array.from(i.body.entries()).reduce((x,j)=>{let[y,C]=j;return""+x+y+"="+C+` +`},""):String(i.body);return{path:n,submission:{formMethod:o,formAction:l,formEncType:i.formEncType,formData:void 0,json:void 0,text:p}}}else if(i.formEncType==="application/json"){if(!On(o))return s();try{let p=typeof i.body=="string"?JSON.parse(i.body):i.body;return{path:n,submission:{formMethod:o,formAction:l,formEncType:i.formEncType,formData:void 0,json:p,text:void 0}}}catch{return s()}}}we(typeof FormData=="function","FormData is not available in this environment");let c,u;if(i.formData)c=Id(i.formData),u=i.formData;else if(i.body instanceof FormData)c=Id(i.body),u=i.body;else if(i.body instanceof URLSearchParams)c=i.body,u=wp(c);else if(i.body==null)c=new URLSearchParams,u=new FormData;else try{c=new URLSearchParams(i.body),u=wp(c)}catch{return s()}let h={formMethod:o,formAction:l,formEncType:i&&i.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(On(h.formMethod))return{path:n,submission:h};let f=Lr(n);return t&&f.search&&Uu(f.search)&&c.append("index",""),f.search="?"+c,{path:Ii(f),submission:h}}function fx(e,t){let n=e;if(t){let i=e.findIndex(s=>s.route.id===t);i>=0&&(n=e.slice(0,i))}return n}function _p(e,t,n,i,s,a,o,l,c,u,h,f,p,x,j,y){let C=y?xn(y[1])?y[1].error:y[1].data:void 0,_=e.createURL(t.location),d=e.createURL(s),m=y&&xn(y[1])?y[0]:void 0,v=m?fx(n,m):n,w=y?y[1].statusCode:void 0,g=o&&w&&w>=400,S=v.filter((L,R)=>{let{route:F}=L;if(F.lazy)return!0;if(F.loader==null)return!1;if(a)return typeof F.loader!="function"||F.loader.hydrate?!0:t.loaderData[F.id]===void 0&&(!t.errors||t.errors[F.id]===void 0);if(mx(t.loaderData,t.matches[R],L)||c.some(O=>O===L.route.id))return!0;let Y=t.matches[R],q=L;return jp(L,lt({currentUrl:_,currentParams:Y.params,nextUrl:d,nextParams:q.params},i,{actionResult:C,actionStatus:w,defaultShouldRevalidate:g?!1:l||_.pathname+_.search===d.pathname+d.search||_.search!==d.search||Hm(Y,q)}))}),E=[];return f.forEach((L,R)=>{if(a||!n.some(U=>U.route.id===L.routeId)||h.has(R))return;let F=gi(x,L.path,j);if(!F){E.push({key:R,routeId:L.routeId,path:L.path,matches:null,match:null,controller:null});return}let Y=t.fetchers.get(R),q=Xs(F,L.path),O=!1;p.has(R)?O=!1:u.includes(R)?O=!0:Y&&Y.state!=="idle"&&Y.data===void 0?O=l:O=jp(q,lt({currentUrl:_,currentParams:t.matches[t.matches.length-1].params,nextUrl:d,nextParams:n[n.length-1].params},i,{actionResult:C,actionStatus:w,defaultShouldRevalidate:g?!1:l})),O&&E.push({key:R,routeId:L.routeId,path:L.path,matches:F,match:q,controller:new AbortController})}),[S,E]}function mx(e,t,n){let i=!t||n.route.id!==t.route.id,s=e[n.route.id]===void 0;return i||s}function Hm(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function jp(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function gx(e,t,n,i,s,a,o,l){let c=[t,...n.map(u=>u.route.id)].join("-");try{let u=o.get(c);u||(u=e({path:t,matches:n,patch:(h,f)=>{l.aborted||Wm(h,f,i,s,a)}}),o.set(c,u)),u&&Cx(u)&&await u}finally{o.delete(c)}}function Wm(e,t,n,i,s){if(e){var a;let o=i[e];we(o,"No route found to patch children into: routeId = "+e);let l=Ea(t,s,[e,"patch",String(((a=o.children)==null?void 0:a.length)||"0")],i);o.children?o.children.push(...l):o.children=l}else{let o=Ea(t,s,["patch",String(n.length||"0")],i);n.push(...o)}}async function yp(e,t,n){if(!e.lazy)return;let i=await e.lazy();if(!e.lazy)return;let s=n[e.id];we(s,"No route found in manifest");let a={};for(let o in i){let c=s[o]!==void 0&&o!=="hasErrorBoundary";Li(!c,'Route "'+s.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!c&&!B4.has(o)&&(a[o]=i[o])}Object.assign(s,a),Object.assign(s,lt({},t(s),{lazy:void 0}))}function xx(e){return Promise.all(e.matches.map(t=>t.resolve()))}async function vx(e,t,n,i,s,a,o,l){let c=i.reduce((f,p)=>f.add(p.route.id),new Set),u=new Set,h=await e({matches:s.map(f=>{let p=c.has(f.route.id);return lt({},f,{shouldLoad:p,resolve:j=>(u.add(f.route.id),p?_x(t,n,f,a,o,j,l):Promise.resolve({type:Qe.data,result:void 0}))})}),request:n,params:s[0].params,context:l});return s.forEach(f=>we(u.has(f.route.id),'`match.resolve()` was not called for route id "'+f.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),h.filter((f,p)=>c.has(s[p].route.id))}async function _x(e,t,n,i,s,a,o){let l,c,u=h=>{let f,p=new Promise((y,C)=>f=C);c=()=>f(),t.signal.addEventListener("abort",c);let x=y=>typeof h!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+n.route.id+"]"))):h({request:t,params:n.params,context:o},...y!==void 0?[y]:[]),j;return a?j=a(y=>x(y)):j=(async()=>{try{return{type:"data",result:await x()}}catch(y){return{type:"error",result:y}}})(),Promise.race([j,p])};try{let h=n.route[e];if(n.route.lazy)if(h){let f,[p]=await Promise.all([u(h).catch(x=>{f=x}),yp(n.route,s,i)]);if(f!==void 0)throw f;l=p}else if(await yp(n.route,s,i),h=n.route[e],h)l=await u(h);else if(e==="action"){let f=new URL(t.url),p=f.pathname+f.search;throw Zt(405,{method:t.method,pathname:p,routeId:n.route.id})}else return{type:Qe.data,result:void 0};else if(h)l=await u(h);else{let f=new URL(t.url),p=f.pathname+f.search;throw Zt(404,{pathname:p})}we(l.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(h){return{type:Qe.error,result:h}}finally{c&&t.signal.removeEventListener("abort",c)}return l}async function jx(e){let{result:t,type:n,status:i}=e;if(Vm(t)){let o;try{let l=t.headers.get("Content-Type");l&&/\bapplication\/json\b/.test(l)?t.body==null?o=null:o=await t.json():o=await t.text()}catch(l){return{type:Qe.error,error:l}}return n===Qe.error?{type:Qe.error,error:new Ou(t.status,t.statusText,o),statusCode:t.status,headers:t.headers}:{type:Qe.data,data:o,statusCode:t.status,headers:t.headers}}if(n===Qe.error)return{type:Qe.error,error:t,statusCode:Tl(t)?t.status:i};if(Sx(t)){var s,a;return{type:Qe.deferred,deferredData:t,statusCode:(s=t.init)==null?void 0:s.status,headers:((a=t.init)==null?void 0:a.headers)&&new Headers(t.init.headers)}}return{type:Qe.data,data:t,statusCode:i}}function yx(e,t,n,i,s,a){let o=e.headers.get("Location");if(we(o,"Redirects returned/thrown from loaders/actions must have a Location header"),!Du.test(o)){let l=i.slice(0,i.findIndex(c=>c.route.id===n)+1);o=Ld(new URL(t.url),l,s,!0,o,a),e.headers.set("Location",o)}return e}function bp(e,t,n){if(Du.test(e)){let i=e,s=i.startsWith("//")?new URL(t.protocol+i):new URL(i),a=Er(s.pathname,n)!=null;if(s.origin===t.origin&&a)return s.pathname+s.search+s.hash}return e}function Bi(e,t,n,i){let s=e.createURL(qm(t)).toString(),a={signal:n};if(i&&On(i.formMethod)){let{formMethod:o,formEncType:l}=i;a.method=o.toUpperCase(),l==="application/json"?(a.headers=new Headers({"Content-Type":l}),a.body=JSON.stringify(i.json)):l==="text/plain"?a.body=i.text:l==="application/x-www-form-urlencoded"&&i.formData?a.body=Id(i.formData):a.body=i.formData}return new Request(s,a)}function Id(e){let t=new URLSearchParams;for(let[n,i]of e.entries())t.append(n,typeof i=="string"?i:i.name);return t}function wp(e){let t=new FormData;for(let[n,i]of e.entries())t.append(n,i);return t}function bx(e,t,n,i,s,a){let o={},l=null,c,u=!1,h={},f=i&&xn(i[1])?i[1].error:void 0;return n.forEach((p,x)=>{let j=t[x].route.id;if(we(!bi(p),"Cannot handle redirect results in processLoaderData"),xn(p)){let y=p.error;f!==void 0&&(y=f,f=void 0),l=l||{};{let C=as(e,j);l[C.route.id]==null&&(l[C.route.id]=y)}o[j]=void 0,u||(u=!0,c=Tl(p.error)?p.error.status:500),p.headers&&(h[j]=p.headers)}else yi(p)?(s.set(j,p.deferredData),o[j]=p.deferredData.data,p.statusCode!=null&&p.statusCode!==200&&!u&&(c=p.statusCode),p.headers&&(h[j]=p.headers)):(o[j]=p.data,p.statusCode&&p.statusCode!==200&&!u&&(c=p.statusCode),p.headers&&(h[j]=p.headers))}),f!==void 0&&i&&(l={[i[0]]:f},o[i[0]]=void 0),{loaderData:o,errors:l,statusCode:c||200,loaderHeaders:h}}function Cp(e,t,n,i,s,a,o,l){let{loaderData:c,errors:u}=bx(t,n,i,s,l);for(let h=0;hi.route.id===t)+1):[...e]).reverse().find(i=>i.route.hasErrorBoundary===!0)||e[0]}function Np(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Zt(e,t){let{pathname:n,routeId:i,method:s,type:a,message:o}=t===void 0?{}:t,l="Unknown Server Error",c="Unknown @remix-run/router error";return e===400?(l="Bad Request",a==="route-discovery"?c='Unable to match URL "'+n+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error: `+o):s&&n&&i?c="You made a "+s+' request to "'+n+'" but '+('did not provide a `loader` for route "'+i+'", ')+"so there is no way to handle the request.":a==="defer-action"?c="defer() is not supported in actions":a==="invalid-body"&&(c="Unable to encode submission body")):e===403?(l="Forbidden",c='Route "'+i+'" does not match URL "'+n+'"'):e===404?(l="Not Found",c='No route matches URL "'+n+'"'):e===405&&(l="Method Not Allowed",s&&n&&i?c="You made a "+s.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+i+'", ')+"so there is no way to handle the request.":s&&(c='Invalid request method "'+s.toUpperCase()+'"')),new Ou(e||500,l,new Error(c),!0)}function $p(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(bi(n))return{result:n,idx:t}}}function qm(e){let t=typeof e=="string"?Lr(e):e;return Ii(lt({},t,{hash:""}))}function wx(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Cx(e){return typeof e=="object"&&e!=null&&"then"in e}function kx(e){return Vm(e.result)&&lx.has(e.result.status)}function yi(e){return e.type===Qe.deferred}function xn(e){return e.type===Qe.error}function bi(e){return(e&&e.type)===Qe.redirect}function Sx(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function Vm(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function Nx(e){return ox.has(e.toLowerCase())}function On(e){return sx.has(e.toLowerCase())}async function Ep(e,t,n,i,s,a){for(let o=0;of.route.id===c.route.id),h=u!=null&&!Hm(u,c)&&(a&&a[c.route.id])!==void 0;if(yi(l)&&(s||h)){let f=i[o];we(f,"Expected an AbortSignal for revalidating fetcher deferred result"),await Km(l,f,s).then(p=>{p&&(n[o]=p||n[o])})}}}async function Km(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:Qe.data,data:e.deferredData.unwrappedData}}catch(s){return{type:Qe.error,error:s}}return{type:Qe.data,data:e.deferredData.data}}}function Uu(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Xs(e,t){let n=typeof t=="string"?Lr(t).search:t.search;if(e[e.length-1].route.index&&Uu(n||""))return e[e.length-1];let i=Om(e);return i[i.length-1]}function zp(e){let{formMethod:t,formAction:n,formEncType:i,text:s,formData:a,json:o}=e;if(!(!t||!n||!i)){if(s!=null)return{formMethod:t,formAction:n,formEncType:i,formData:void 0,json:void 0,text:s};if(a!=null)return{formMethod:t,formAction:n,formEncType:i,formData:a,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:n,formEncType:i,formData:void 0,json:o,text:void 0}}}function yc(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function $x(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Fs(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Ex(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Or(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function zx(e,t){try{let n=e.sessionStorage.getItem(Um);if(n){let i=JSON.parse(n);for(let[s,a]of Object.entries(i||{}))a&&Array.isArray(a)&&t.set(s,new Set(a||[]))}}catch{}}function Lx(e,t){if(t.size>0){let n={};for(let[i,s]of t)n[i]=[...s];try{e.sessionStorage.setItem(Um,JSON.stringify(n))}catch(i){Li(!1,"Failed to save applied view transitions in sessionStorage ("+i+").")}}}/** * React Router v6.25.1 * @@ -57,7 +57,7 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function il(){return il=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.current=!0}),b.useCallback(function(u,h){if(h===void 0&&(h={}),!l.current)return;if(typeof u=="number"){i.go(u);return}let f=Ml(u,JSON.parse(o),a,h.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:wr([t,f.pathname])),(h.replace?i.replace:i.push)(f,h.state,h)},[t,i,o,a,e])}const Ax=b.createContext(null);function Px(e){let t=b.useContext(Rr).outlet;return t&&b.createElement(Ax.Provider,{value:e},t)}function Fl(e,t){let{relative:n}=t===void 0?{}:t,{future:i}=b.useContext(Ir),{matches:s}=b.useContext(Rr),{pathname:a}=ks(),o=JSON.stringify(Pl(s,i.v7_relativeSplatPath));return b.useMemo(()=>Ml(e,JSON.parse(o),a,n==="path"),[e,o,a,n])}function Mx(e,t,n,i){Cs()||we(!1);let{navigator:s}=b.useContext(Ir),{matches:a}=b.useContext(Rr),o=a[a.length-1],l=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let u=ks(),h;h=u;let f=h.pathname||"/",p=f;if(c!=="/"){let y=c.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(y.length).join("/")}let x=gi(e,{pathname:p});return Dx(x&&x.map(y=>Object.assign({},y,{params:Object.assign({},l,y.params),pathname:wr([c,s.encodeLocation?s.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?c:wr([c,s.encodeLocation?s.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),a,n,i)}function Tx(){let e=Zm(),t=Tl(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:s},n):null,null)}const Fx=b.createElement(Tx,null);class Bx extends b.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?b.createElement(Rr.Provider,{value:this.props.routeContext},b.createElement(Gm.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ox(e){let{routeContext:t,match:n,children:i}=e,s=b.useContext(Oa);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Rr.Provider,{value:t},i)}function Dx(e,t,n,i){var s;if(t===void 0&&(t=[]),n===void 0&&(n=null),i===void 0&&(i=null),e==null){var a;if((a=n)!=null&&a.errors)e=n.matches;else return null}let o=e,l=(s=n)==null?void 0:s.errors;if(l!=null){let h=o.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id])!==void 0);h>=0||we(!1),o=o.slice(0,Math.min(o.length,h+1))}let c=!1,u=-1;if(n&&i&&i.v7_partialHydration)for(let h=0;h=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((h,f,p)=>{let x,_=!1,y=null,C=null;n&&(x=l&&f.route.id?l[f.route.id]:void 0,y=f.route.errorElement||Fx,c&&(u<0&&p===0?(_=!0,C=null):u===p&&(_=!0,C=f.route.hydrateFallbackElement||null)));let j=t.concat(o.slice(0,p+1)),d=()=>{let m;return x?m=y:_?m=C:f.route.Component?m=b.createElement(f.route.Component,null):f.route.element?m=f.route.element:m=h,b.createElement(Ox,{match:f,routeContext:{outlet:h,matches:j,isDataRoute:n!=null},children:m})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?b.createElement(Bx,{location:n.location,revalidation:n.revalidation,component:y,error:x,children:d(),routeContext:{outlet:null,matches:j,isDataRoute:!0}}):d()},null)}var Jm=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Jm||{}),sl=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}(sl||{});function Ux(e){let t=b.useContext(Oa);return t||we(!1),t}function Hx(e){let t=b.useContext(Hu);return t||we(!1),t}function Wx(e){let t=b.useContext(Rr);return t||we(!1),t}function Xm(e){let t=Wx(),n=t.matches[t.matches.length-1];return n.route.id||we(!1),n.route.id}function Zm(){var e;let t=b.useContext(Gm),n=Hx(sl.UseRouteError),i=Xm(sl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[i]}function qx(){let{router:e}=Ux(Jm.UseNavigateStable),t=Xm(sl.UseNavigateStable),n=b.useRef(!1);return Qm(()=>{n.current=!0}),b.useCallback(function(s,a){a===void 0&&(a={}),n.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,il({fromRouteId:t},a)))},[e,t])}function Vx(e){let{to:t,replace:n,state:i,relative:s}=e;Cs()||we(!1);let{future:a,static:o}=b.useContext(Ir),{matches:l}=b.useContext(Rr),{pathname:c}=ks(),u=Ym(),h=Ml(t,Pl(l,a.v7_relativeSplatPath),c,s==="path"),f=JSON.stringify(h);return b.useEffect(()=>u(JSON.parse(f),{replace:n,state:i,relative:s}),[u,f,s,n,i]),null}function Kx(e){return Px(e.context)}function Gx(e){let{basename:t="/",children:n=null,location:i,navigationType:s=wt.Pop,navigator:a,static:o=!1,future:l}=e;Cs()&&we(!1);let c=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:c,navigator:a,static:o,future:il({v7_relativeSplatPath:!1},l)}),[c,l,a,o]);typeof i=="string"&&(i=Lr(i));let{pathname:h="/",search:f="",hash:p="",state:x=null,key:_="default"}=i,y=b.useMemo(()=>{let C=Er(h,c);return C==null?null:{location:{pathname:C,search:f,hash:p,state:x,key:_},navigationType:s}},[c,h,f,p,x,_,s]);return y==null?null:b.createElement(Ir.Provider,{value:u},b.createElement(Wu.Provider,{children:n,value:y}))}new Promise(()=>{});function Qx(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:b.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:b.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:b.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + */function il(){return il=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.current=!0}),b.useCallback(function(u,h){if(h===void 0&&(h={}),!l.current)return;if(typeof u=="number"){i.go(u);return}let f=Ml(u,JSON.parse(o),a,h.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:wr([t,f.pathname])),(h.replace?i.replace:i.push)(f,h.state,h)},[t,i,o,a,e])}const Ax=b.createContext(null);function Px(e){let t=b.useContext(Rr).outlet;return t&&b.createElement(Ax.Provider,{value:e},t)}function Fl(e,t){let{relative:n}=t===void 0?{}:t,{future:i}=b.useContext(Ir),{matches:s}=b.useContext(Rr),{pathname:a}=ks(),o=JSON.stringify(Pl(s,i.v7_relativeSplatPath));return b.useMemo(()=>Ml(e,JSON.parse(o),a,n==="path"),[e,o,a,n])}function Mx(e,t,n,i){Cs()||we(!1);let{navigator:s}=b.useContext(Ir),{matches:a}=b.useContext(Rr),o=a[a.length-1],l=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let u=ks(),h;h=u;let f=h.pathname||"/",p=f;if(c!=="/"){let y=c.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(y.length).join("/")}let x=gi(e,{pathname:p});return Dx(x&&x.map(y=>Object.assign({},y,{params:Object.assign({},l,y.params),pathname:wr([c,s.encodeLocation?s.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?c:wr([c,s.encodeLocation?s.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),a,n,i)}function Tx(){let e=Zm(),t=Tl(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:s},n):null,null)}const Fx=b.createElement(Tx,null);class Bx extends b.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?b.createElement(Rr.Provider,{value:this.props.routeContext},b.createElement(Gm.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ox(e){let{routeContext:t,match:n,children:i}=e,s=b.useContext(Oa);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Rr.Provider,{value:t},i)}function Dx(e,t,n,i){var s;if(t===void 0&&(t=[]),n===void 0&&(n=null),i===void 0&&(i=null),e==null){var a;if((a=n)!=null&&a.errors)e=n.matches;else return null}let o=e,l=(s=n)==null?void 0:s.errors;if(l!=null){let h=o.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id])!==void 0);h>=0||we(!1),o=o.slice(0,Math.min(o.length,h+1))}let c=!1,u=-1;if(n&&i&&i.v7_partialHydration)for(let h=0;h=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((h,f,p)=>{let x,j=!1,y=null,C=null;n&&(x=l&&f.route.id?l[f.route.id]:void 0,y=f.route.errorElement||Fx,c&&(u<0&&p===0?(j=!0,C=null):u===p&&(j=!0,C=f.route.hydrateFallbackElement||null)));let _=t.concat(o.slice(0,p+1)),d=()=>{let m;return x?m=y:j?m=C:f.route.Component?m=b.createElement(f.route.Component,null):f.route.element?m=f.route.element:m=h,b.createElement(Ox,{match:f,routeContext:{outlet:h,matches:_,isDataRoute:n!=null},children:m})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?b.createElement(Bx,{location:n.location,revalidation:n.revalidation,component:y,error:x,children:d(),routeContext:{outlet:null,matches:_,isDataRoute:!0}}):d()},null)}var Jm=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Jm||{}),sl=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}(sl||{});function Ux(e){let t=b.useContext(Oa);return t||we(!1),t}function Hx(e){let t=b.useContext(Hu);return t||we(!1),t}function Wx(e){let t=b.useContext(Rr);return t||we(!1),t}function Xm(e){let t=Wx(),n=t.matches[t.matches.length-1];return n.route.id||we(!1),n.route.id}function Zm(){var e;let t=b.useContext(Gm),n=Hx(sl.UseRouteError),i=Xm(sl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[i]}function qx(){let{router:e}=Ux(Jm.UseNavigateStable),t=Xm(sl.UseNavigateStable),n=b.useRef(!1);return Qm(()=>{n.current=!0}),b.useCallback(function(s,a){a===void 0&&(a={}),n.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,il({fromRouteId:t},a)))},[e,t])}function Vx(e){let{to:t,replace:n,state:i,relative:s}=e;Cs()||we(!1);let{future:a,static:o}=b.useContext(Ir),{matches:l}=b.useContext(Rr),{pathname:c}=ks(),u=Ym(),h=Ml(t,Pl(l,a.v7_relativeSplatPath),c,s==="path"),f=JSON.stringify(h);return b.useEffect(()=>u(JSON.parse(f),{replace:n,state:i,relative:s}),[u,f,s,n,i]),null}function Kx(e){return Px(e.context)}function Gx(e){let{basename:t="/",children:n=null,location:i,navigationType:s=wt.Pop,navigator:a,static:o=!1,future:l}=e;Cs()&&we(!1);let c=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:c,navigator:a,static:o,future:il({v7_relativeSplatPath:!1},l)}),[c,l,a,o]);typeof i=="string"&&(i=Lr(i));let{pathname:h="/",search:f="",hash:p="",state:x=null,key:j="default"}=i,y=b.useMemo(()=>{let C=Er(h,c);return C==null?null:{location:{pathname:C,search:f,hash:p,state:x,key:j},navigationType:s}},[c,h,f,p,x,j,s]);return y==null?null:b.createElement(Ir.Provider,{value:u},b.createElement(Wu.Provider,{children:n,value:y}))}new Promise(()=>{});function Qx(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:b.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:b.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:b.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** * React Router DOM v6.25.1 * * Copyright (c) Remix Software Inc. @@ -66,15 +66,15 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function js(){return js=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[s]=e[s]);return n}function Yx(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Jx(e,t){return e.button===0&&(!t||t==="_self")&&!Yx(e)}const Xx=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Zx=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],ev="6";try{window.__reactRouterVersion=ev}catch{}function tv(e,t){return hx({basename:void 0,future:js({},void 0,{v7_prependBasename:!0}),history:M4({window:void 0}),hydrationData:nv(),routes:e,mapRouteProperties:Qx,unstable_dataStrategy:void 0,unstable_patchRoutesOnMiss:void 0,window:void 0}).initialize()}function nv(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=js({},t,{errors:rv(t.errors)})),t}function rv(e){if(!e)return null;let t=Object.entries(e),n={};for(let[i,s]of t)if(s&&s.__type==="RouteErrorResponse")n[i]=new Ou(s.status,s.statusText,s.data,s.internal===!0);else if(s&&s.__type==="Error"){if(s.__subType){let a=window[s.__subType];if(typeof a=="function")try{let o=new a(s.message);o.stack="",n[i]=o}catch{}}if(n[i]==null){let a=new Error(s.message);a.stack="",n[i]=a}}else n[i]=s;return n}const t0=b.createContext({isTransitioning:!1}),iv=b.createContext(new Map),sv="startTransition",Lp=Cg[sv],av="flushSync",Ip=P4[av];function ov(e){Lp?Lp(e):e()}function Bs(e){Ip?Ip(e):e()}class lv{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=i=>{this.status==="pending"&&(this.status="resolved",t(i))},this.reject=i=>{this.status==="pending"&&(this.status="rejected",n(i))}})}}function cv(e){let{fallbackElement:t,router:n,future:i}=e,[s,a]=b.useState(n.state),[o,l]=b.useState(),[c,u]=b.useState({isTransitioning:!1}),[h,f]=b.useState(),[p,x]=b.useState(),[_,y]=b.useState(),C=b.useRef(new Map),{v7_startTransition:j}=i||{},d=b.useCallback(E=>{j?ov(E):E()},[j]),m=b.useCallback((E,L)=>{let{deletedFetchers:R,unstable_flushSync:F,unstable_viewTransitionOpts:Y}=L;R.forEach(O=>C.current.delete(O)),E.fetchers.forEach((O,U)=>{O.data!==void 0&&C.current.set(U,O.data)});let q=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!Y||q){F?Bs(()=>a(E)):d(()=>a(E));return}if(F){Bs(()=>{p&&(h&&h.resolve(),p.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:Y.currentLocation,nextLocation:Y.nextLocation})});let O=n.window.document.startViewTransition(()=>{Bs(()=>a(E))});O.finished.finally(()=>{Bs(()=>{f(void 0),x(void 0),l(void 0),u({isTransitioning:!1})})}),Bs(()=>x(O));return}p?(h&&h.resolve(),p.skipTransition(),y({state:E,currentLocation:Y.currentLocation,nextLocation:Y.nextLocation})):(l(E),u({isTransitioning:!0,flushSync:!1,currentLocation:Y.currentLocation,nextLocation:Y.nextLocation}))},[n.window,p,h,C,d]);b.useLayoutEffect(()=>n.subscribe(m),[n,m]),b.useEffect(()=>{c.isTransitioning&&!c.flushSync&&f(new lv)},[c]),b.useEffect(()=>{if(h&&o&&n.window){let E=o,L=h.promise,R=n.window.document.startViewTransition(async()=>{d(()=>a(E)),await L});R.finished.finally(()=>{f(void 0),x(void 0),l(void 0),u({isTransitioning:!1})}),x(R)}},[d,o,h,n.window]),b.useEffect(()=>{h&&o&&s.location.key===o.location.key&&h.resolve()},[h,p,s.location,o]),b.useEffect(()=>{!c.isTransitioning&&_&&(l(_.state),u({isTransitioning:!0,flushSync:!1,currentLocation:_.currentLocation,nextLocation:_.nextLocation}),y(void 0))},[c.isTransitioning,_]),b.useEffect(()=>{},[]);let v=b.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:E=>n.navigate(E),push:(E,L,R)=>n.navigate(E,{state:L,preventScrollReset:R==null?void 0:R.preventScrollReset}),replace:(E,L,R)=>n.navigate(E,{replace:!0,state:L,preventScrollReset:R==null?void 0:R.preventScrollReset})}),[n]),w=n.basename||"/",g=b.useMemo(()=>({router:n,navigator:v,static:!1,basename:w}),[n,v,w]),S=b.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return b.createElement(b.Fragment,null,b.createElement(Oa.Provider,{value:g},b.createElement(Hu.Provider,{value:s},b.createElement(iv.Provider,{value:C.current},b.createElement(t0.Provider,{value:c},b.createElement(Gx,{basename:w,location:s.location,navigationType:s.historyAction,navigator:v,future:S},s.initialized||n.future.v7_partialHydration?b.createElement(dv,{routes:n.routes,future:n.future,state:s}):t))))),null)}const dv=b.memo(uv);function uv(e){let{routes:t,future:n,state:i}=e;return Mx(t,void 0,i,n)}const hv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",pv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,qu=b.forwardRef(function(t,n){let{onClick:i,relative:s,reloadDocument:a,replace:o,state:l,target:c,to:u,preventScrollReset:h,unstable_viewTransition:f}=t,p=e0(t,Xx),{basename:x}=b.useContext(Ir),_,y=!1;if(typeof u=="string"&&pv.test(u)&&(_=u,hv))try{let m=new URL(window.location.href),v=u.startsWith("//")?new URL(m.protocol+u):new URL(u),w=Er(v.pathname,x);v.origin===m.origin&&w!=null?u=w+v.search+v.hash:y=!0}catch{}let C=Ix(u,{relative:s}),j=gv(u,{replace:o,state:l,target:c,preventScrollReset:h,relative:s,unstable_viewTransition:f});function d(m){i&&i(m),m.defaultPrevented||j(m)}return b.createElement("a",js({},p,{href:_||C,onClick:y||a?i:d,ref:n,target:c}))}),fv=b.forwardRef(function(t,n){let{"aria-current":i="page",caseSensitive:s=!1,className:a="",end:o=!1,style:l,to:c,unstable_viewTransition:u,children:h}=t,f=e0(t,Zx),p=Fl(c,{relative:f.relative}),x=ks(),_=b.useContext(Hu),{navigator:y,basename:C}=b.useContext(Ir),j=_!=null&&xv(p)&&u===!0,d=y.encodeLocation?y.encodeLocation(p).pathname:p.pathname,m=x.pathname,v=_&&_.navigation&&_.navigation.location?_.navigation.location.pathname:null;s||(m=m.toLowerCase(),v=v?v.toLowerCase():null,d=d.toLowerCase()),v&&C&&(v=Er(v,C)||v);const w=d!=="/"&&d.endsWith("/")?d.length-1:d.length;let g=m===d||!o&&m.startsWith(d)&&m.charAt(w)==="/",S=v!=null&&(v===d||!o&&v.startsWith(d)&&v.charAt(d.length)==="/"),E={isActive:g,isPending:S,isTransitioning:j},L=g?i:void 0,R;typeof a=="function"?R=a(E):R=[a,g?"active":null,S?"pending":null,j?"transitioning":null].filter(Boolean).join(" ");let F=typeof l=="function"?l(E):l;return b.createElement(qu,js({},f,{"aria-current":L,className:R,ref:n,style:F,to:c,unstable_viewTransition:u}),typeof h=="function"?h(E):h)});var Rd;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Rd||(Rd={}));var Rp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Rp||(Rp={}));function mv(e){let t=b.useContext(Oa);return t||we(!1),t}function gv(e,t){let{target:n,replace:i,state:s,preventScrollReset:a,relative:o,unstable_viewTransition:l}=t===void 0?{}:t,c=Ym(),u=ks(),h=Fl(e,{relative:o});return b.useCallback(f=>{if(Jx(f,n)){f.preventDefault();let p=i!==void 0?i:Ii(u)===Ii(h);c(e,{replace:p,state:s,preventScrollReset:a,relative:o,unstable_viewTransition:l})}},[u,c,h,i,s,n,e,a,o,l])}function xv(e,t){t===void 0&&(t={});let n=b.useContext(t0);n==null&&we(!1);let{basename:i}=mv(Rd.useViewTransitionState),s=Fl(e,{relative:t.relative});if(!n.isTransitioning)return!1;let a=Er(n.currentLocation.pathname,i)||n.currentLocation.pathname,o=Er(n.nextLocation.pathname,i)||n.nextLocation.pathname;return rl(s.pathname,o)!=null||rl(s.pathname,a)!=null}const vv=(...e)=>{console!=null&&console.warn&&(ki(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))},Ap={},Ad=(...e)=>{ki(e[0])&&Ap[e[0]]||(ki(e[0])&&(Ap[e[0]]=new Date),vv(...e))},n0=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},Pp=(e,t,n)=>{e.loadNamespaces(t,n0(e,n))},Mp=(e,t,n,i)=>{ki(n)&&(n=[n]),n.forEach(s=>{e.options.ns.indexOf(s)<0&&e.options.ns.push(s)}),e.loadLanguages(t,n0(e,i))},_v=(e,t,n={})=>!t.languages||!t.languages.length?(Ad("i18n.languages were undefined or empty",t.languages),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(i,s)=>{var a;if(((a=n.bindI18n)==null?void 0:a.indexOf("languageChanging"))>-1&&i.services.backendConnector.backend&&i.isLanguageChangingTo&&!s(i.isLanguageChangingTo,e))return!1}}),ki=e=>typeof e=="string",jv=e=>typeof e=="object"&&e!==null,yv=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,bv={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},wv=e=>bv[e],Cv=e=>e.replace(yv,wv);let Pd={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Cv};const kv=(e={})=>{Pd={...Pd,...e}},Sv=()=>Pd;let r0;const Nv=e=>{r0=e},$v=()=>r0,Ev={type:"3rdParty",init(e){kv(e.options.react),Nv(e)}},i0=b.createContext();class zv{constructor(){ih(this,"getUsedNamespaces",()=>Object.keys(this.usedNamespaces));this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{var i;(i=this.usedNamespaces)[n]??(i[n]=!0)})}}const Lv=(e,t)=>{const n=b.useRef();return b.useEffect(()=>{n.current=e},[e,t]),n.current},s0=(e,t,n,i)=>e.getFixedT(t,n,i),Iv=(e,t,n,i)=>b.useCallback(s0(e,t,n,i),[e,t,n,i]),Le=(e,t={})=>{var v,w,g,S;const{i18n:n}=t,{i18n:i,defaultNS:s}=b.useContext(i0)||{},a=n||i||$v();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new zv),!a){Ad("You will need to pass in an i18next instance by using initReactI18next");const E=(R,F)=>ki(F)?F:jv(F)&&ki(F.defaultValue)?F.defaultValue:Array.isArray(R)?R[R.length-1]:R,L=[E,{},!1];return L.t=E,L.i18n={},L.ready=!1,L}(v=a.options.react)!=null&&v.wait&&Ad("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...Sv(),...a.options.react,...t},{useSuspense:l,keyPrefix:c}=o;let u=s||((w=a.options)==null?void 0:w.defaultNS);u=ki(u)?[u]:u||["translation"],(S=(g=a.reportNamespaces).addUsedNamespaces)==null||S.call(g,u);const h=(a.isInitialized||a.initializedStoreOnce)&&u.every(E=>_v(E,a,o)),f=Iv(a,t.lng||null,o.nsMode==="fallback"?u:u[0],c),p=()=>f,x=()=>s0(a,t.lng||null,o.nsMode==="fallback"?u:u[0],c),[_,y]=b.useState(p);let C=u.join();t.lng&&(C=`${t.lng}${C}`);const j=Lv(C),d=b.useRef(!0);b.useEffect(()=>{const{bindI18n:E,bindI18nStore:L}=o;d.current=!0,!h&&!l&&(t.lng?Mp(a,t.lng,u,()=>{d.current&&y(x)}):Pp(a,u,()=>{d.current&&y(x)})),h&&j&&j!==C&&d.current&&y(x);const R=()=>{d.current&&y(x)};return E&&(a==null||a.on(E,R)),L&&(a==null||a.store.on(L,R)),()=>{d.current=!1,a&&(E==null||E.split(" ").forEach(F=>a.off(F,R))),L&&a&&L.split(" ").forEach(F=>a.store.off(F,R))}},[a,C]),b.useEffect(()=>{d.current&&h&&y(p)},[a,c,h]);const m=[_,a,h];if(m.t=_,m.i18n=a,m.ready=h,h||!h&&!l)return m;throw new Promise(E=>{t.lng?Mp(a,t.lng,u,()=>E()):Pp(a,u,()=>E())})};function Rv({i18n:e,defaultNS:t,children:n}){const i=b.useMemo(()=>({i18n:e,defaultNS:t}),[e,t]);return b.createElement(i0.Provider,{value:i},n)}const Av={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class al{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||Av,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),i=0;i{this.observers[i]||(this.observers[i]=new Map);const s=this.observers[i].get(n)||0;this.observers[i].set(n,s+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s{let[l,c]=o;for(let u=0;u{let[l,c]=o;for(let u=0;u{e=i,t=s});return n.resolve=e,n.reject=t,n}function Tp(e){return e==null?"":""+e}function Pv(e,t,n){e.forEach(i=>{t[i]&&(n[i]=t[i])})}const Mv=/###/g;function ca(e,t,n){function i(l){return l&&l.indexOf("###")>-1?l.replace(Mv,"."):l}function s(){return!e||typeof e=="string"}const a=typeof t!="string"?t:t.split(".");let o=0;for(;o":">",'"':""","'":"'","/":"/"};function Ov(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>Bv[t]):e}class Dv{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const i=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,i),this.regExpQueue.push(t),i}}const Uv=[" ",",","?","!",";"],Hv=new Dv(20);function Wv(e,t,n){t=t||"",n=n||"";const i=Uv.filter(o=>t.indexOf(o)<0&&n.indexOf(o)<0);if(i.length===0)return!0;const s=Hv.getRegExp(`(${i.map(o=>o==="?"?"\\?":o).join("|")})`);let a=!s.test(e);if(!a){const o=e.indexOf(n);o>0&&!s.test(e.substring(0,o))&&(a=!0)}return a}function Md(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const i=t.split(n);let s=e;for(let a=0;a-1&&c0?e.replace("_","-"):e}class Bp extends Bl{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,o=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,n],i&&(Array.isArray(i)?l.push(...i):typeof i=="string"&&a?l.push(...i.split(a)):l.push(i)));const c=ol(this.data,l);return!c&&!n&&!i&&t.indexOf(".")>-1&&(t=l[0],n=l[1],i=l.slice(2).join(".")),c||!o||typeof i!="string"?c:Md(this.data&&this.data[t]&&this.data[t][n],i,a)}addResource(t,n,i,s){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let l=[t,n];i&&(l=l.concat(o?i.split(o):i)),t.indexOf(".")>-1&&(l=t.split("."),s=n,n=l[1]),this.addNamespaces(n),Fp(this.data,l,s),a.silent||this.emit("added",t,n,i,s)}addResources(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const a in i)(typeof i[a]=="string"||Array.isArray(i[a]))&&this.addResource(t,n,a,i[a],{silent:!0});s.silent||this.emit("added",t,n,i)}addResourceBundle(t,n,i,s,a){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[t,n];t.indexOf(".")>-1&&(l=t.split("."),s=i,i=n,n=l[1]),this.addNamespaces(n);let c=ol(this.data,l)||{};o.skipCopy||(i=JSON.parse(JSON.stringify(i))),s?a0(c,i,a):c={...c,...i},Fp(this.data,l,c),o.silent||this.emit("added",t,n,i)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(s=>n[s]&&Object.keys(n[s]).length>0)}toJSON(){return this.data}}var o0={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,i,s){return e.forEach(a=>{this.processors[a]&&(t=this.processors[a].process(t,n,i,s))}),t}};const Op={};class cl extends Bl{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Pv(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=ar.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const i=this.resolve(t,n);return i&&i.res!==void 0}extractFromKey(t,n){let i=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let a=n.ns||this.options.defaultNS||[];const o=i&&t.indexOf(i)>-1,l=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!Wv(t,i,s);if(o&&!l){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:a};const u=t.split(i);(i!==s||i===s&&this.options.ns.indexOf(u[0])>-1)&&(a=u.shift()),t=u.join(s)}return typeof a=="string"&&(a=[a]),{key:t,namespaces:a}}translate(t,n,i){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const s=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(t[t.length-1],n),c=l[l.length-1],u=n.lng||this.language,h=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(h){const v=n.nsSeparator||this.options.nsSeparator;return s?{res:`${c}${v}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:`${c}${v}${o}`}return s?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:o}const f=this.resolve(t,n);let p=f&&f.res;const x=f&&f.usedKey||o,_=f&&f.exactUsedKey||o,y=Object.prototype.toString.apply(p),C=["[object Number]","[object Function]","[object RegExp]"],j=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,d=!this.i18nFormat||this.i18nFormat.handleAsObject;if(d&&p&&(typeof p!="string"&&typeof p!="boolean"&&typeof p!="number")&&C.indexOf(y)<0&&!(typeof j=="string"&&Array.isArray(p))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const v=this.options.returnedObjectHandler?this.options.returnedObjectHandler(x,p,{...n,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return s?(f.res=v,f.usedParams=this.getUsedParamsDetails(n),f):v}if(a){const v=Array.isArray(p),w=v?[]:{},g=v?_:x;for(const S in p)if(Object.prototype.hasOwnProperty.call(p,S)){const E=`${g}${a}${S}`;w[S]=this.translate(E,{...n,joinArrays:!1,ns:l}),w[S]===E&&(w[S]=p[S])}p=w}}else if(d&&typeof j=="string"&&Array.isArray(p))p=p.join(j),p&&(p=this.extendTranslation(p,t,n,i));else{let v=!1,w=!1;const g=n.count!==void 0&&typeof n.count!="string",S=cl.hasDefaultValue(n),E=g?this.pluralResolver.getSuffix(u,n.count,n):"",L=n.ordinal&&g?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",R=g&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),F=R&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${E}`]||n[`defaultValue${L}`]||n.defaultValue;!this.isValidLookup(p)&&S&&(v=!0,p=F),this.isValidLookup(p)||(w=!0,p=o);const q=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&w?void 0:p,O=S&&F!==p&&this.options.updateMissing;if(w||v||O){if(this.logger.log(O?"updateKey":"missingKey",u,c,o,O?F:p),a){const I=this.resolve(o,{...n,keySeparator:!1});I&&I.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let U=[];const K=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&K&&K[0])for(let I=0;I{const se=S&&V!==p?V:q;this.options.missingKeyHandler?this.options.missingKeyHandler(I,c,B,se,O,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(I,c,B,se,O,n),this.emit("missingKey",I,c,B,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&g?U.forEach(I=>{const B=this.pluralResolver.getSuffixes(I,n);R&&n[`defaultValue${this.options.pluralSeparator}zero`]&&B.indexOf(`${this.options.pluralSeparator}zero`)<0&&B.push(`${this.options.pluralSeparator}zero`),B.forEach(V=>{J([I],o+V,n[`defaultValue${V}`]||F)})}):J(U,o,F))}p=this.extendTranslation(p,t,n,f,i),w&&p===o&&this.options.appendNamespaceToMissingKey&&(p=`${c}:${o}`),(w||v)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?p=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${o}`:o,v?p:void 0):p=this.options.parseMissingKeyHandler(p))}return s?(f.res=p,f.usedParams=this.getUsedParamsDetails(n),f):p}extendTranslation(t,n,i,s,a){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});const u=typeof t=="string"&&(i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let h;if(u){const p=t.match(this.interpolator.nestingRegexp);h=p&&p.length}let f=i.replace&&typeof i.replace!="string"?i.replace:i;if(this.options.interpolation.defaultVariables&&(f={...this.options.interpolation.defaultVariables,...f}),t=this.interpolator.interpolate(t,f,i.lng||this.language||s.usedLng,i),u){const p=t.match(this.interpolator.nestingRegexp),x=p&&p.length;h1&&arguments[1]!==void 0?arguments[1]:{},i,s,a,o,l;return typeof t=="string"&&(t=[t]),t.forEach(c=>{if(this.isValidLookup(i))return;const u=this.extractFromKey(c,n),h=u.key;s=h;let f=u.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const p=n.count!==void 0&&typeof n.count!="string",x=p&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),_=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",y=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);f.forEach(C=>{this.isValidLookup(i)||(l=C,!Op[`${y[0]}-${C}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(l)&&(Op[`${y[0]}-${C}`]=!0,this.logger.warn(`key "${s}" for languages "${y.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),y.forEach(j=>{if(this.isValidLookup(i))return;o=j;const d=[h];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(d,h,j,C,n);else{let v;p&&(v=this.pluralResolver.getSuffix(j,n.count,n));const w=`${this.options.pluralSeparator}zero`,g=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(p&&(d.push(h+v),n.ordinal&&v.indexOf(g)===0&&d.push(h+v.replace(g,this.options.pluralSeparator)),x&&d.push(h+w)),_){const S=`${h}${this.options.contextSeparator}${n.context}`;d.push(S),p&&(d.push(S+v),n.ordinal&&v.indexOf(g)===0&&d.push(S+v.replace(g,this.options.pluralSeparator)),x&&d.push(S+w))}}let m;for(;m=d.pop();)this.isValidLookup(i)||(a=m,i=this.getResource(j,C,m,n))}))})}),{res:i,usedKey:s,exactUsedKey:a,usedLng:o,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,i,s):this.resourceStore.getResource(t,n,i,s)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=t.replace&&typeof t.replace!="string";let s=i?t.replace:t;if(i&&typeof t.count<"u"&&(s.count=t.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!i){s={...s};for(const a of n)delete s[a]}return s}static hasDefaultValue(t){const n="defaultValue";for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&n===i.substring(0,n.length)&&t[i]!==void 0)return!0;return!1}}function bc(e){return e.charAt(0).toUpperCase()+e.slice(1)}class Dp{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ar.create("languageUtils")}getScriptPartFromCode(t){if(t=ll(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=ll(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let i=t.split("-");return this.options.lowerCaseLng?i=i.map(s=>s.toLowerCase()):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),n.indexOf(i[1].toLowerCase())>-1&&(i[1]=bc(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),n.indexOf(i[1].toLowerCase())>-1&&(i[1]=bc(i[1].toLowerCase())),n.indexOf(i[2].toLowerCase())>-1&&(i[2]=bc(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(i=>{if(n)return;const s=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(s))&&(n=s)}),!n&&this.options.supportedLngs&&t.forEach(i=>{if(n)return;const s=this.getLanguagePartFromCode(i);if(this.isSupportedCode(s))return n=s;n=this.options.supportedLngs.find(a=>{if(a===s)return a;if(!(a.indexOf("-")<0&&s.indexOf("-")<0)&&(a.indexOf("-")>0&&s.indexOf("-")<0&&a.substring(0,a.indexOf("-"))===s||a.indexOf(s)===0&&s.length>1))return a})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let i=t[n];return i||(i=t[this.getScriptPartFromCode(n)]),i||(i=t[this.formatLanguageCode(n)]),i||(i=t[this.getLanguagePartFromCode(n)]),i||(i=t.default),i||[]}toResolveHierarchy(t,n){const i=this.getFallbackCodes(n||this.options.fallbackLng||[],t),s=[],a=o=>{o&&(this.isSupportedCode(o)?s.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(t))):typeof t=="string"&&a(this.formatLanguageCode(t)),i.forEach(o=>{s.indexOf(o)<0&&a(this.formatLanguageCode(o))}),s}}let qv=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Vv={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const Kv=["v1","v2","v3"],Gv=["v4"],Up={zero:0,one:1,two:2,few:3,many:4,other:5};function Qv(){const e={};return qv.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:Vv[t.fc]}})}),e}class Yv{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=ar.create("pluralResolver"),(!this.options.compatibilityJSON||Gv.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Qv()}addRule(t,n){this.rules[t]=n}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(ll(t==="dev"?"en":t),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,n);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}getPluralFormsOfKey(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,i).map(s=>`${n}${s}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,n);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort((s,a)=>Up[s]-Up[a]).map(s=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${s}`):i.numbers.map(s=>this.getSuffix(t,s,n)):[]}getSuffix(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s=this.getRule(t,i);return s?this.shouldUseIntlApi()?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${s.select(n)}`:this.getSuffixRetroCompatible(s,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const i=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let s=t.numbers[i];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(s===2?s="plural":s===1&&(s=""));const a=()=>this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString();return this.options.compatibilityJSON==="v1"?s===1?"":typeof s=="number"?`_plural_${s.toString()}`:a():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?a():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}shouldUseIntlApi(){return!Kv.includes(this.options.compatibilityJSON)}}function Hp(e,t,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=Fv(e,t,n);return!a&&s&&typeof n=="string"&&(a=Md(e,n,i),a===void 0&&(a=Md(t,n,i))),a}class Jv{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ar.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:i,useRawValueToEscape:s,prefix:a,prefixEscaped:o,suffix:l,suffixEscaped:c,formatSeparator:u,unescapeSuffix:h,unescapePrefix:f,nestingPrefix:p,nestingPrefixEscaped:x,nestingSuffix:_,nestingSuffixEscaped:y,nestingOptionsSeparator:C,maxReplaces:j,alwaysFormat:d}=t.interpolation;this.escape=n!==void 0?n:Ov,this.escapeValue=i!==void 0?i:!0,this.useRawValueToEscape=s!==void 0?s:!1,this.prefix=a?Oi(a):o||"{{",this.suffix=l?Oi(l):c||"}}",this.formatSeparator=u||",",this.unescapePrefix=h?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=p?Oi(p):x||Oi("$t("),this.nestingSuffix=_?Oi(_):y||Oi(")"),this.nestingOptionsSeparator=C||",",this.maxReplaces=j||1e3,this.alwaysFormat=d!==void 0?d:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,i)=>n&&n.source===i?(n.lastIndex=0,n):new RegExp(i,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,i,s){let a,o,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(_){return _.replace(/\$/g,"$$$$")}const h=_=>{if(_.indexOf(this.formatSeparator)<0){const d=Hp(n,c,_,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(d,void 0,i,{...s,...n,interpolationkey:_}):d}const y=_.split(this.formatSeparator),C=y.shift().trim(),j=y.join(this.formatSeparator).trim();return this.format(Hp(n,c,C,this.options.keySeparator,this.options.ignoreJSONStructure),j,i,{...s,...n,interpolationkey:C})};this.resetRegExp();const f=s&&s.missingInterpolationHandler||this.options.missingInterpolationHandler,p=s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:_=>u(_)},{regex:this.regexp,safeValue:_=>this.escapeValue?u(this.escape(_)):u(_)}].forEach(_=>{for(l=0;a=_.regex.exec(t);){const y=a[1].trim();if(o=h(y),o===void 0)if(typeof f=="function"){const j=f(t,a,s);o=typeof j=="string"?j:""}else if(s&&Object.prototype.hasOwnProperty.call(s,y))o="";else if(p){o=a[0];continue}else this.logger.warn(`missed to pass in variable ${y} for interpolating ${t}`),o="";else typeof o!="string"&&!this.useRawValueToEscape&&(o=Tp(o));const C=_.safeValue(o);if(t=t.replace(a[0],C),p?(_.regex.lastIndex+=o.length,_.regex.lastIndex-=a[0].length):_.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,a,o;function l(c,u){const h=this.nestingOptionsSeparator;if(c.indexOf(h)<0)return c;const f=c.split(new RegExp(`${h}[ ]*{`));let p=`{${f[1]}`;c=f[0],p=this.interpolate(p,o);const x=p.match(/'/g),_=p.match(/"/g);(x&&x.length%2===0&&!_||_.length%2!==0)&&(p=p.replace(/'/g,'"'));try{o=JSON.parse(p),u&&(o={...u,...o})}catch(y){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,y),`${c}${h}${p}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,c}for(;s=this.nestingRegexp.exec(t);){let c=[];o={...i},o=o.replace&&typeof o.replace!="string"?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(s[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(s[1])){const h=s[1].split(this.formatSeparator).map(f=>f.trim());s[1]=h.shift(),c=h,u=!0}if(a=n(l.call(this,s[1].trim(),o),o),a&&s[0]===t&&typeof a!="string")return a;typeof a!="string"&&(a=Tp(a)),a||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${t}`),a=""),u&&(a=c.reduce((h,f)=>this.format(h,f,i.lng,{...i,interpolationkey:s[1].trim()}),a.trim())),t=t.replace(s[0],a),this.regexp.lastIndex=0}return t}}function Xv(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const i=e.split("(");t=i[0].toLowerCase().trim();const s=i[1].substring(0,i[1].length-1);t==="currency"&&s.indexOf(":")<0?n.currency||(n.currency=s.trim()):t==="relativetime"&&s.indexOf(":")<0?n.range||(n.range=s.trim()):s.split(";").forEach(o=>{if(o){const[l,...c]=o.split(":"),u=c.join(":").trim().replace(/^'+|'+$/g,""),h=l.trim();n[h]||(n[h]=u),u==="false"&&(n[h]=!1),u==="true"&&(n[h]=!0),isNaN(u)||(n[h]=parseInt(u,10))}})}return{formatName:t,formatOptions:n}}function Di(e){const t={};return function(i,s,a){const o=s+JSON.stringify(a);let l=t[o];return l||(l=e(ll(s),a),t[o]=l),l(i)}}class Zv{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ar.create("formatter"),this.options=t,this.formats={number:Di((n,i)=>{const s=new Intl.NumberFormat(n,{...i});return a=>s.format(a)}),currency:Di((n,i)=>{const s=new Intl.NumberFormat(n,{...i,style:"currency"});return a=>s.format(a)}),datetime:Di((n,i)=>{const s=new Intl.DateTimeFormat(n,{...i});return a=>s.format(a)}),relativetime:Di((n,i)=>{const s=new Intl.RelativeTimeFormat(n,{...i});return a=>s.format(a,i.range||"day")}),list:Di((n,i)=>{const s=new Intl.ListFormat(n,{...i});return a=>s.format(a)})},this.init(t)}init(t){const i=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=Di(n)}format(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((l,c)=>{const{formatName:u,formatOptions:h}=Xv(c);if(this.formats[u]){let f=l;try{const p=s&&s.formatParams&&s.formatParams[s.interpolationkey]||{},x=p.locale||p.lng||s.locale||s.lng||i;f=this.formats[u](l,x,{...h,...s,...p})}catch(p){this.logger.warn(p)}return f}else this.logger.warn(`there was no format function for ${u}`);return l},t)}}function e3(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class t3 extends Bl{constructor(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=i,this.languageUtils=i.languageUtils,this.options=s,this.logger=ar.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=s.maxParallelReads||10,this.readingCalls=0,this.maxRetries=s.maxRetries>=0?s.maxRetries:5,this.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(i,s.backend,s)}queueLoad(t,n,i,s){const a={},o={},l={},c={};return t.forEach(u=>{let h=!0;n.forEach(f=>{const p=`${u}|${f}`;!i.reload&&this.store.hasResourceBundle(u,f)?this.state[p]=2:this.state[p]<0||(this.state[p]===1?o[p]===void 0&&(o[p]=!0):(this.state[p]=1,h=!1,o[p]===void 0&&(o[p]=!0),a[p]===void 0&&(a[p]=!0),c[f]===void 0&&(c[f]=!0)))}),h||(l[u]=!0)}),(Object.keys(a).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(t,n,i){const s=t.split("|"),a=s[0],o=s[1];n&&this.emit("failedLoading",a,o,n),i&&this.store.addResourceBundle(a,o,i,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2;const l={};this.queue.forEach(c=>{Tv(c.loaded,[a],o),e3(c,t),n&&c.errors.push(n),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(u=>{l[u]||(l[u]={});const h=c.loaded[u];h.length&&h.forEach(f=>{l[u][f]===void 0&&(l[u][f]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:i,tried:s,wait:a,callback:o});return}this.readingCalls++;const l=(u,h)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(u&&h&&s{this.read.call(this,t,n,i,s+1,a*2,o)},a);return}o(u,h)},c=this.backend[i].bind(this.backend);if(c.length===2){try{const u=c(t,n);u&&typeof u.then=="function"?u.then(h=>l(null,h)).catch(l):l(null,u)}catch(u){l(u)}return}return c(t,n,l)}prepareLoading(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const a=this.queueLoad(t,n,i,s);if(!a.toLoad.length)return a.pending.length||s(),null;a.toLoad.forEach(o=>{this.loadOne(o)})}load(t,n,i){this.prepareLoading(t,n,{},i)}reload(t,n,i){this.prepareLoading(t,n,{reload:!0},i)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const i=t.split("|"),s=i[0],a=i[1];this.read(s,a,"read",void 0,void 0,(o,l)=>{o&&this.logger.warn(`${n}loading namespace ${a} for language ${s} failed`,o),!o&&l&&this.logger.log(`${n}loaded namespace ${a} for language ${s}`,l),this.loaded(t,o,l)})}saveMissing(t,n,i,s,a){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${i}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(i==null||i==="")){if(this.backend&&this.backend.create){const c={...o,isUpdate:a},u=this.backend.create.bind(this.backend);if(u.length<6)try{let h;u.length===5?h=u(t,n,i,s,c):h=u(t,n,i,s),h&&typeof h.then=="function"?h.then(f=>l(null,f)).catch(l):l(null,h)}catch(h){l(h)}else u(t,n,i,s,l,c)}!t||!t[0]||this.store.addResource(t[0],n,i,s)}}}function Wp(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){let n={};if(typeof t[1]=="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const i=t[3]||t[2];Object.keys(i).forEach(s=>{n[s]=i[s]})}return n},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function qp(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function po(){}function n3(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}class za extends Bl{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=qp(t),this.services={},this.logger=ar,this.modules={external:[]},n3(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(i=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const s=Wp();this.options={...s,...this.options,...qp(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...s.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);function a(h){return h?typeof h=="function"?new h:h:null}if(!this.options.isClone){this.modules.logger?ar.init(a(this.modules.logger),this.options):ar.init(null,this.options);let h;this.modules.formatter?h=this.modules.formatter:typeof Intl<"u"&&(h=Zv);const f=new Dp(this.options);this.store=new Bp(this.options.resources,this.options);const p=this.services;p.logger=ar,p.resourceStore=this.store,p.languageUtils=f,p.pluralResolver=new Yv(f,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),h&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(p.formatter=a(h),p.formatter.init(p,this.options),this.options.interpolation.format=p.formatter.format.bind(p.formatter)),p.interpolator=new Jv(this.options),p.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},p.backendConnector=new t3(a(this.modules.backend),p.resourceStore,p,this.options),p.backendConnector.on("*",function(x){for(var _=arguments.length,y=new Array(_>1?_-1:0),C=1;C<_;C++)y[C-1]=arguments[C];t.emit(x,...y)}),this.modules.languageDetector&&(p.languageDetector=a(this.modules.languageDetector),p.languageDetector.init&&p.languageDetector.init(p,this.options.detection,this.options)),this.modules.i18nFormat&&(p.i18nFormat=a(this.modules.i18nFormat),p.i18nFormat.init&&p.i18nFormat.init(this)),this.translator=new cl(this.services,this.options),this.translator.on("*",function(x){for(var _=arguments.length,y=new Array(_>1?_-1:0),C=1;C<_;C++)y[C-1]=arguments[C];t.emit(x,...y)}),this.modules.external.forEach(x=>{x.init&&x.init(this)})}if(this.format=this.options.interpolation.format,i||(i=po),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.length>0&&h[0]!=="dev"&&(this.options.lng=h[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(h=>{this[h]=function(){return t.store[h](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(h=>{this[h]=function(){return t.store[h](...arguments),t}});const c=Os(),u=()=>{const h=(f,p)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(p),i(f,p)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return h(null,this.t.bind(this));this.changeLanguage(this.options.lng,h)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),c}loadResources(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:po;const s=typeof t=="string"?t:this.language;if(typeof t=="function"&&(i=t),!this.options.resources||this.options.partialBundledLanguages){if(s&&s.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return i();const a=[],o=l=>{if(!l||l==="cimode")return;this.services.languageUtils.toResolveHierarchy(l).forEach(u=>{u!=="cimode"&&a.indexOf(u)<0&&a.push(u)})};s?o(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(c=>o(c)),this.options.preload&&this.options.preload.forEach(l=>o(l)),this.services.backendConnector.load(a,this.options.ns,l=>{!l&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),i(l)})}else i(null)}reloadResources(t,n,i){const s=Os();return t||(t=this.languages),n||(n=this.options.ns),i||(i=po),this.services.backendConnector.reload(t,n,a=>{s.resolve(),i(a)}),s}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&o0.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;break}}}changeLanguage(t,n){var i=this;this.isLanguageChangingTo=t;const s=Os();this.emit("languageChanging",t);const a=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},o=(c,u)=>{u?(a(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,s.resolve(function(){return i.t(...arguments)}),n&&n(c,function(){return i.t(...arguments)})},l=c=>{!t&&!c&&this.services.languageDetector&&(c=[]);const u=typeof c=="string"?c:this.services.languageUtils.getBestMatchFromCodes(c);u&&(this.language||a(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,h=>{o(h,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),s}getFixedT(t,n,i){var s=this;const a=function(o,l){let c;if(typeof l!="object"){for(var u=arguments.length,h=new Array(u>2?u-2:0),f=2;f`${c.keyPrefix}${p}${_}`):x=c.keyPrefix?`${c.keyPrefix}${p}${o}`:o,s.t(x,c)};return typeof t=="string"?a.lng=t:a.lngs=t,a.ns=n,a.keyPrefix=i,a}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=n.lng||this.resolvedLanguage||this.languages[0],s=this.options?this.options.fallbackLng:!1,a=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;const o=(l,c)=>{const u=this.services.backendConnector.state[`${l}|${c}`];return u===-1||u===2};if(n.precheck){const l=n.precheck(this,o);if(l!==void 0)return l}return!!(this.hasResourceBundle(i,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(i,t)&&(!s||o(a,t)))}loadNamespaces(t,n){const i=Os();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(s=>{this.options.ns.indexOf(s)<0&&this.options.ns.push(s)}),this.loadResources(s=>{i.resolve(),n&&n(s)}),i):(n&&n(),Promise.resolve())}loadLanguages(t,n){const i=Os();typeof t=="string"&&(t=[t]);const s=this.options.preload||[],a=t.filter(o=>s.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return a.length?(this.options.preload=s.concat(a),this.loadResources(o=>{i.resolve(),n&&n(o)}),i):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],i=this.services&&this.services.languageUtils||new Dp(Wp());return n.indexOf(i.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new za(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:po;const i=t.forkResourceStore;i&&delete t.forkResourceStore;const s={...this.options,...t,isClone:!0},a=new za(s);return(t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),["store","services","language"].forEach(l=>{a[l]=this[l]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},i&&(a.store=new Bp(this.store.data,s),a.services.resourceStore=a.store),a.translator=new cl(a.services,s),a.translator.on("*",function(l){for(var c=arguments.length,u=new Array(c>1?c-1:0),h=1;h) => void",description:"Callback function triggered when the button is clicked."},children:{name:"children",type:"React.ReactNode",description:"The content to be displayed inside the button. Can be text, icons, or other elements."},className:{name:"className",type:"string",description:"Additional CSS class names to be added to the button."},ariaLabel:{name:"ariaLabel",type:"string",description:"Accessible label for screen readers. Important for buttons that only contain icons."}},examples:{title:"Examples",basic:{title:"Basic Usage",description:"The most basic usage of a button. Use the primary variant for main actions."},variants:{title:"Button Variants",description:"Different styles of buttons for different purposes. Choose the appropriate variant based on the action's importance and meaning."},sizes:{title:"Button Sizes",description:"Buttons come in four sizes: small for compact layouts, medium for general use, large for emphasis, and xlarge for prominent actions."},shapes:{title:"Button Shapes",description:"Buttons can have different shapes to match your design needs. Square for a traditional look, rounded for a modern feel, and circle for icon buttons."},borderRadius:{title:"Border Radius",description:"Customize the corner roundness of buttons. Use predefined values or specify a custom radius in pixels."},states:{title:"Button States",description:"Buttons can be in different states: normal, loading (shows a spinner), disabled (can't be clicked), and active (appears pressed)."},withIcons:{title:"Buttons with Icons",description:"Buttons can include icons to enhance visual communication. Icons can be placed before or after the text."},block:{title:"Block Button",description:"A block button spans the full width of its container. Useful for mobile interfaces or when you want to align button width with other elements."},customStyles:{title:"Custom Styles",description:"Buttons can be customized with your own styles using CSS. Here are some examples of custom styled buttons."}}},switch:{title:"Switch",description:"Switch toggles allow users to turn an option on or off.",basic:"Basic Switch",sizes:"Switch Sizes",disabled:"Disabled State",loading:"Loading State",customColors:"Custom Colors",text:"Text & Icon"},alert:{title:"Alert",description:"Alerts display important messages to users.",basic:"Basic Alerts",types:"Alert Types",withIcon:"With Icons",closable:"Closable"},textfield:{title:"Text Field",description:"Text fields let users enter and edit text.",installation:"Installation",basic_usage:"Basic Usage",examples:"Examples",sizes:"Text Field Sizes",states:"Text Field States",prefix:"Prefix and Suffix",clearable:"Clearable Input",password:"Password Input",textarea:"Text Area",properties:{title:"Properties",value:{name:"value",type:"string",description:"The value of the text field."},placeholder:{name:"placeholder",type:"string",description:"Placeholder text when the field is empty."},disabled:{name:"disabled",type:"boolean",description:"Whether the text field is disabled."},error:{name:"error",type:"boolean",description:"Whether the text field is in error state."},size:{name:"size",type:"'small' | 'medium' | 'large'",description:"The size of the text field."}}},radio:{title:"Radio",description:"Radio buttons allow users to select one option from a set.",basic:"Basic Usage",disabled:"Disabled",group:"Radio Group",direction:"Direction",button:"Button Style"},checkbox:{title:"Checkbox",description:"Checkboxes allow users to select one or more items from a set.",basic:"Basic Checkboxes",shapes:"Checkbox Shapes",sizes:"Checkbox Sizes",customIcons:"Custom Icons",customStyles:"Custom Colors & Styles"},avatar:{title:"Avatar",description:"Avatars represent users or entities with images or initials.",basic:"Basic Usage",sizes:"Sizes",types:"Types",group:"Avatar Group",badge:"With Badge"},badge:{title:"Badge",description:"Badges are small status descriptors for UI elements.",basic:"Basic Usage",max:"Maximum",dot:"Dot Badge",status:"Status",colors:"Custom Colors"},card:{title:"Card",description:"Cards contain content and actions about a single subject.",basic:"Basic Usage",title_prop:"With Title",bordered:"Bordered",hoverable:"Hoverable",loading:"Loading",grid:"Grid Card",inner:"Inner Card"},chip:{title:"Chip",description:"Chips represent small blocks of information.",basic:"Basic Usage",variants:"Variants",sizes:"Sizes",removable:"Removable",icon:"With Icon",colors:"Custom Colors"},divider:{title:"Divider",description:"Dividers separate content into clear groups.",basic:"Basic Usage",orientation:"Text Position",type:"Divider Type",styles:"Styles"},dropdown:{title:"Dropdown",description:"Dropdowns display a list of actions or options.",basic:"Basic Usage",placement:"Placement",trigger:"Trigger",disabled:"Disabled",nested:"Nested Menu"},message:{title:"Message",description:"Messages provide feedback about user operations.",basic:"Basic Usage",types:"Message Types",duration:"Duration",loading:"Loading",promise:"Promise Interface"},progress:{title:"Progress",description:"Progress indicators express an unspecified wait time.",basic:"Basic Usage",types:"Progress Types",sizes:"Sizes",status:"Status",dynamic:"Dynamic"},skeleton:{title:"Skeleton",description:"Skeleton screens provide a low-fidelity representation of content before it's loaded.",basic:"Basic Usage",animated:"Animated",complex:"Complex Combination",active:"Active Animation"},space:{title:"Space",description:"Set the spacing between components",basic:"Basic Usage",size:"Size",align:"Alignment",direction:"Direction",customization:"Customization"},tag:{title:"Tag",description:"Used for marking and selection",basic:"Basic Usage",sizes:"Sizes",color:"Color",closable:"Closable",icon:"With Icon",customization:"Customization"},tooltip:{title:"Tooltip",description:"A simple text popup tip",basic:"Basic Usage",placement:"Placement",trigger:"Trigger",customization:"Customization"},popper:{title:"Popper",description:"Create custom popup content",basic:"Basic Usage",placement:"Placement",trigger:"Trigger",arrow:"Arrow"},searchButton:{title:"Search Button",description:"A special button for triggering search operations",basic:"Basic Usage",sizes:"Sizes",loading:"Loading",customization:"Customization"},statusIndicator:{title:"Status Indicator",description:"Display the current status of an element",basic:"Basic Usage",sizes:"Sizes",colors:"Colors",animation:"Animation"},timePicker:{title:"Time Picker",description:"For selecting a specific time",basic:"Basic Usage",format:"Format",range:"Range Selection",disabled:"Disabled"},virtualList:{title:"Virtual List",description:"Efficiently render large lists",basic:"Basic Usage",height:"Fixed Height",dynamic:"Dynamic Height",loading:"Loading"},autoComplete:{title:"Auto Complete",description:"Input with auto-complete suggestions",basic:"Basic Usage",customization:"Customization",async:"Async Loading",grouping:"Grouping"},empty:{title:"Empty",description:"Empty state placeholder",basic:"Basic Usage",customization:"Customization",image:"Image"},cascader:{title:"Cascader",description:"Cascading Selector",basic:"Basic Usage",size:"Size",multiple:"Multiple Selection",async:"Async Loading"},iconButton:{title:"Icon Button",description:"Icon buttons are buttons that only contain icons, typically used in toolbars or compact interfaces.",basic:"Basic Usage",sizes:"Sizes",variants:"Variants",states:"States"},common:{installation:"Installation",basic_usage:"Basic Usage",examples:"Examples",customization:"Customization",api:"API Reference",props:"Props",events:"Events",methods:"Methods",slots:"Slots"}},s3={title:"Oops!",description:"Sorry, an unexpected error has occurred.",back_home:"Back to Home",refresh:"Refresh Page"},a3={title:"404",description:"Oops! The page you're looking for doesn't exist.",back_home:"Back to Home"},o3={lib:r3,components:i3,error:s3,notFound:a3},l3={title:"Minerva UI",description:"用于构建美观且无障碍的用户界面的现代 React 组件库",about:"关于","about.description":"Minerva UI 是一个全面的 React 组件库,提供一套可重用、无障碍和可定制的组件,帮助您构建现代 Web 应用程序。",installation:"安装","installation.title":"安装","installation.description":"通过在项目中安装 Minerva UI 开始使用。","installation.usage.title":"使用","installation.usage.description":"在 React 应用程序中导入和使用组件。","installation.requirements.title":"要求","installation.cdn.title":"CDN","installation.cdn.description":"您也可以直接从 CDN 使用 Minerva UI。",features:{title:"特性",modern:{title:"现代设计",description:"基于现代设计原则和最佳实践构建。"},customizable:{title:"高度可定制",description:"轻松定制组件以匹配您的品牌和设计系统。"},typescript:{title:"TypeScript 支持",description:"使用 TypeScript 编写,提供完整的类型支持以获得更好的开发体验。"},performance:{title:"性能优先",description:"通过最小化包大小和高效渲染进行性能优化。"}},getStarted:{title:"开始使用",description:"使用 Minerva UI 组件开始构建您的下一个项目。"}},c3={menu:{getting_started:"开始使用",inputs:"输入",data_display:"数据展示",feedback:"反馈",navigation:"导航"},installation:{title:"安装",description:"通过在项目中安装 Minerva UI 开始使用",package:{title:"包安装",description:"使用您喜欢的包管理器安装 Minerva UI"},setup:{title:"项目设置",description:"在 React 应用程序中设置 Minerva UI"},next:{title:"下一步",description:"了解更多关于 Minerva UI",introduction:"阅读介绍",theming:"了解主题",components:"浏览组件"}},overview:{title:"概述",description:"用于构建美观且无障碍界面的现代 React UI 库",features:{title:"主要特性",modern:{title:"现代设计",description:"基于现代设计原则和最佳实践构建。"},performance:{title:"性能优先",description:"通过最小化包大小和高效渲染进行性能优化。"},theme:{title:"主题支持",description:"全面的主题系统,允许您自定义组件的各个方面。"},responsive:{title:"响应式设计",description:"组件设计可在所有设备尺寸上无缝工作。"}},quickstart:{title:"快速开始",description:"通过安装包并导入组件快速开始使用 Minerva UI。"},support:{title:"浏览器支持",description:"Minerva UI 兼容所有现代浏览器。"}},introduction:{title:"介绍",description:"了解 Minerva UI 的特性和功能",what:{title:"什么是 Minerva UI",description:"Minerva UI 是一个现代的 React 组件库,旨在帮助您快速高效地构建美观且无障碍的用户界面。",features:{components:{title:"丰富的组件库",description:"一套遵循设计和可访问性最佳实践的预构建组件。"},customization:{title:"高度可定制",description:"灵活的主题系统,允许您自定义组件的各个方面以匹配您的品牌。"},typescript:{title:"TypeScript 支持",description:"使用 TypeScript 构建,提供完整的类型支持和代码补全,带来更好的开发体验。"}}}},theming:{title:"主题",description:"自定义组件的外观和感觉",tokens:"设计令牌",colors:"颜色系统",typography:"排版",spacing:"间距"},button:{title:"按钮",description:"按钮允许用户通过单击执行操作和做出选择。",installation:"安装",installation_description:"使用包管理器安装按钮组件。",properties:{title:"属性",variant:{name:"variant",type:"'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'retry' | 'back'",description:"按钮的视觉样式。每种变体都有其语义含义:primary 用于主要操作,secondary 用于次要操作,success 用于确认操作,warning 用于需要谨慎的操作,error 用于破坏性操作,retry 用于重试操作,back 用于导航。"},size:{name:"size",type:"'small' | 'medium' | 'large' | 'xlarge'",description:"按钮的尺寸。small 适用于紧凑空间,medium 用于一般用途,large 用于强调,xlarge 用于突出显示的操作。"},shape:{name:"shape",type:"'square' | 'rounded' | 'circle'",description:"按钮的形状。square 有锐利的边角,rounded 有柔和的边角,circle 是完全圆形的。"},borderRadius:{name:"borderRadius",type:"'none' | 'small' | 'medium' | 'large' | 'circle' | 'square' | number",description:"按钮的自定义圆角。可以是预定义的值或以像素为单位的具体数字。"},disabled:{name:"disabled",type:"boolean",description:"按钮是否禁用。禁用的按钮无法点击且显示为淡化状态。"},loading:{name:"loading",type:"boolean",description:"按钮是否处于加载状态。加载时显示加载动画并阻止点击。"},active:{name:"active",type:"boolean",description:"按钮是否处于激活状态。激活的按钮显示为按下的状态。"},onClick:{name:"onClick",type:"(event: React.MouseEvent) => void",description:"点击按钮时触发的回调函数。"},children:{name:"children",type:"React.ReactNode",description:"按钮内显示的内容。可以是文本、图标或其他元素。"},className:{name:"className",type:"string",description:"要添加到按钮的额外 CSS 类名。"},ariaLabel:{name:"ariaLabel",type:"string",description:"为屏幕阅读器提供的无障碍标签。对于仅包含图标的按钮尤为重要。"}},examples:{title:"示例",basic:{title:"基础用法",description:"按钮最基本的用法。使用 primary 变体表示主要操作。"},variants:{title:"按钮变体",description:"不同用途的按钮样式。根据操作的重要性和含义选择合适的变体。"},sizes:{title:"按钮尺寸",description:"按钮有四种尺寸:small 用于紧凑布局,medium 用于一般用途,large 用于强调,xlarge 用于突出显示的操作。"},shapes:{title:"按钮形状",description:"按钮可以有不同的形状以匹配您的设计需求。square 用于传统外观,rounded 用于现代感,circle 用于图标按钮。"},borderRadius:{title:"圆角",description:"自定义按钮的圆角。使用预定义的值或指定以像素为单位的自定义圆角。"},states:{title:"按钮状态",description:"按钮可以处于不同状态:正常、加载中(显示加载动画)、禁用(无法点击)和激活(显示为按下状态)。"},withIcons:{title:"带图标的按钮",description:"按钮可以包含图标以增强视觉交互。图标可以放在文本前面或后面。"},block:{title:"块级按钮",description:"块级按钮会占据其容器的全部宽度。适用于移动端界面或需要与其他元素对齐宽度的场景。"},customStyles:{title:"自定义样式",description:"按钮可以使用 CSS 自定义样式。这里展示了一些自定义样式的按钮示例。"}}},switch:{title:"开关",description:"开关允许用户打开或关闭选项。",basic:"基础开关",sizes:"开关尺寸",disabled:"禁用状态",loading:"加载状态",customColors:"自定义颜色",text:"文本和图标"},alert:{title:"警告提示",description:"警告提示用于向用户显示重要信息。",basic:"基础警告提示",types:"警告提示类型",withIcon:"带图标",closable:"可关闭"},textfield:{title:"文本框",description:"文本框允许用户输入和编辑文本。",installation:"安装",basic_usage:"基础用法",examples:"示例",sizes:"文本框尺寸",states:"文本框状态",prefix:"前缀和后缀",clearable:"可清除输入",password:"密码输入",textarea:"文本域",properties:{title:"属性",value:{name:"value",type:"string",description:"文本框的值。"},placeholder:{name:"placeholder",type:"string",description:"文本框为空时的占位文本。"},disabled:{name:"disabled",type:"boolean",description:"文本框是否禁用。"},error:{name:"error",type:"boolean",description:"文本框是否处于错误状态。"},size:{name:"size",type:"'small' | 'medium' | 'large'",description:"文本框的尺寸。"}}},radio:{title:"单选框",description:"单选框允许用户从一组选项中选择一个。",basic:"基础用法",disabled:"禁用",group:"单选框组",direction:"方向",button:"按钮样式"},checkbox:{title:"复选框",description:"复选框允许用户从一组选项中选择一个或多个。",basic:"基础复选框",shapes:"复选框形状",sizes:"复选框尺寸",customIcons:"自定义图标",customStyles:"自定义颜色和样式"},avatar:{title:"头像",description:"头像用图片或字母代表用户或实体。",basic:"基础用法",sizes:"尺寸",types:"类型",group:"头像组",badge:"带徽标"},badge:{title:"徽标",description:"徽标是 UI 元素的小型状态描述符。",basic:"基础用法",max:"最大值",dot:"点状徽标",status:"状态",colors:"自定义颜色"},card:{title:"卡片",description:"卡片包含关于单个主题的内容和操作。",basic:"基础用法",title_prop:"带标题",bordered:"带边框",hoverable:"可悬浮",loading:"加载中",grid:"网格卡片",inner:"内部卡片"},chip:{title:"纸片",description:"纸片表示小块信息。",basic:"基础用法",variants:"变体",sizes:"尺寸",removable:"可移除",icon:"带图标",colors:"自定义颜色"},divider:{title:"分割线",description:"分割线将内容分成清晰的组。",basic:"基础用法",orientation:"文本位置",type:"分割线类型",styles:"样式"},dropdown:{title:"下拉菜单",description:"下拉菜单显示操作或选项列表。",basic:"基础用法",placement:"位置",trigger:"触发方式",disabled:"禁用",nested:"嵌套菜单"},message:{title:"消息",description:"消息提供关于用户操作的反馈。",basic:"基础用法",types:"消息类型",duration:"持续时间",loading:"加载中",promise:"Promise 接口"},progress:{title:"进度条",description:"进度指示器表示不确定的等待时间。",basic:"基础用法",types:"进度条类型",sizes:"尺寸",status:"状态",dynamic:"动态"},skeleton:{title:"骨架屏",description:"骨架屏在内容加载前提供低保真的表现形式。",basic:"基础用法",animated:"动画",complex:"复杂组合",active:"动态动画"},space:{title:"间距",description:"设置组件之间的间距",basic:"基础用法",size:"尺寸",align:"对齐",direction:"方向",customization:"自定义"},tag:{title:"标签",description:"用于标记和选择",basic:"基础用法",sizes:"尺寸",color:"颜色",closable:"可关闭",icon:"带图标",customization:"自定义"},tooltip:{title:"文字提示",description:"简单的文字弹出提示",basic:"基础用法",placement:"位置",trigger:"触发方式",customization:"自定义"},popper:{title:"弹出框",description:"创建自定义弹出内容",basic:"基础用法",placement:"位置",trigger:"触发方式",arrow:"箭头"},searchButton:{title:"搜索按钮",description:"用于触发搜索操作的特殊按钮",basic:"基础用法",sizes:"尺寸",loading:"加载中",customization:"自定义"},statusIndicator:{title:"状态指示器",description:"显示元素的当前状态",basic:"基础用法",sizes:"尺寸",colors:"颜色",animation:"动画"},timePicker:{title:"时间选择器",description:"用于选择特定时间",basic:"基础用法",format:"格式",range:"范围选择",disabled:"禁用"},virtualList:{title:"虚拟列表",description:"高效渲染大型列表",basic:"基础用法",height:"固定高度",dynamic:"动态高度",loading:"加载中"},autoComplete:{title:"自动完成",description:"带有自动完成建议的输入框",basic:"基础用法",customization:"自定义",async:"异步加载",grouping:"分组"},empty:{title:"空状态",description:"空状态占位符",basic:"基础用法",customization:"自定义",image:"图片"},cascader:{title:"级联选择",description:"级联选择器",basic:"基础用法",size:"尺寸",multiple:"多选",async:"异步加载"},iconButton:{title:"图标按钮",description:"图标按钮仅包含图标,通常用于工具栏或紧凑的界面中。",basic:"基础用法",sizes:"尺寸",variants:"变体",states:"状态"},common:{installation:"安装",basic_usage:"基础用法",examples:"示例",customization:"自定义",api:"API 参考",props:"属性",events:"事件",methods:"方法",slots:"插槽"}},d3={title:"糟糕!",description:"抱歉,发生了意外错误。",back_home:"返回首页",refresh:"刷新页面"},u3={title:"404",description:"抱歉,您访问的页面不存在。",back_home:"返回首页"},h3={lib:l3,components:c3,error:d3,notFound:u3},p3={title:"Minerva UI",description:"モダンな React コンポーネントライブラリ",about:"概要","about.description":"Minerva UI は、モダンなウェブアプリケーションを構築するための再利用可能でアクセシブルなコンポーネントを提供する包括的な React コンポーネントライブラリです。",installation:"インストール","installation.title":"インストール","installation.description":"プロジェクトに Minerva UI をインストールして始めましょう。","installation.usage.title":"使用方法","installation.usage.description":"React アプリケーションでコンポーネントをインポートして使用します。","installation.requirements.title":"要件","installation.cdn.title":"CDN","installation.cdn.description":"CDN から直接 Minerva UI を使用することもできます。",features:{title:"機能",modern:{title:"モダンなデザイン",description:"モダンなデザイン原則とベストプラクティスを念頭に置いて構築されています。"},customizable:{title:"高度にカスタマイズ可能",description:"ブランドやデザインシステムに合わせて簡単にコンポーネントをカスタマイズできます。"},typescript:{title:"TypeScript サポート",description:"より良い開発体験のために、完全な型サポートを備えた TypeScript で書かれています。"},performance:{title:"パフォーマンス重視",description:"最小限のバンドルサイズと効率的なレンダリングでパフォーマンスを最適化。"}},getStarted:{title:"はじめに",description:"Minerva UI コンポーネントで次のプロジェクトを構築しましょう。"}},f3={menu:{getting_started:"はじめに",inputs:"入力",data_display:"データ表示",feedback:"フィードバック",navigation:"ナビゲーション"},installation:{title:"インストール",description:"プロジェクトに Minerva UI をインストールして始めましょう",package:{title:"パッケージのインストール",description:"お好みのパッケージマネージャーで Minerva UI をインストール"},setup:{title:"プロジェクトの設定",description:"React アプリケーションで Minerva UI を設定"},next:{title:"次のステップ",description:"Minerva UI についてさらに学ぶ",introduction:"はじめにを読む",theming:"テーマについて学ぶ",components:"コンポーネントを見る"}},overview:{title:"概要",description:"美しくアクセシブルなインターフェースを構築するためのモダンな React UI ライブラリ",features:{title:"主な機能",modern:{title:"モダンなデザイン",description:"モダンなデザイン原則とベストプラクティスを念頭に置いて構築。"},performance:{title:"パフォーマンス重視",description:"最小限のバンドルサイズと効率的なレンダリングでパフォーマンスを最適化。"},theme:{title:"テーマサポート",description:"コンポーネントのあらゆる側面をカスタマイズできる包括的なテーマシステム。"},responsive:{title:"レスポンシブデザイン",description:"すべてのデバイスサイズで完璧に動作するように設計されたコンポーネント。"}},quickstart:{title:"クイックスタート",description:"パッケージをインストールしてコンポーネントをインポートすることで、すぐに Minerva UI を使い始めることができます。"},support:{title:"ブラウザサポート",description:"Minerva UI はすべてのモダンブラウザに対応しています。"}},introduction:{title:"はじめに",description:"Minerva UI の機能と特徴について学びましょう",what:{title:"Minerva UI とは",description:"Minerva UI は、美しくアクセシブルなユーザーインターフェースを迅速かつ効率的に構築するための現代的な React コンポーネントライブラリです。",features:{components:{title:"豊富なコンポーネント",description:"デザインとアクセシビリティのベストプラクティスに従った、包括的なプリビルドコンポーネントセット。"},customization:{title:"高度なカスタマイズ性",description:"ブランドに合わせてコンポーネントのあらゆる側面をカスタマイズできる柔軟なテーマシステム。"},typescript:{title:"TypeScript サポート",description:"完全な型サポートとコード補完を備えた、より良い開発体験のための TypeScript 実装。"}}}},theming:{title:"テーマ設定",description:"コンポーネントの外観をカスタマイズ",tokens:"デザイントークン",colors:"カラーシステム",typography:"タイポグラフィ",spacing:"スペーシング"},button:{title:"ボタン",description:"アクションをトリガーするためのボタンコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"ボタンの種類",sizes:"ボタンのサイズ",states:"ボタンの状態",loading:"ローディング状態"},switch:{title:"スイッチ",description:"2つの状態を切り替えるためのスイッチコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",sizes:"スイッチのサイズ",states:"スイッチの状態",customization:"カスタマイズ"},alert:{title:"アラート",description:"重要なメッセージを表示するためのアラートコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"アラートの種類",customization:"カスタマイズ"},common:{installation:"インストール",basic_usage:"基本的な使い方",examples:"例",customization:"カスタマイズ",api:"API リファレンス",props:"プロパティ",events:"イベント",methods:"メソッド",slots:"スロット"},avatar:{title:"アバター",description:"ユーザープロフィール画像を表示するためのアバターコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",sizes:"アバターのサイズ",badge:"バッジ付き"},iconButton:{title:"アイコンボタン",description:"アイコンのみを含むボタン、通常はツールバーやコンパクトなインターフェースで使用",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",sizes:"アイコンボタンのサイズ",variants:"アイコンボタンの種類",states:"アイコンボタンの状態"},progress:{title:"プログレス",description:"完了状態を表示するためのプログレスインジケーター",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"プログレスの種類",sizes:"プログレスのサイズ",states:"プログレスの状態"},message:{title:"メッセージ",description:"一時的な通知を表示するためのメッセージコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"メッセージの種類",duration:"表示時間",placement:"表示位置"},tooltip:{title:"ツールチップ",description:"追加情報を表示するためのツールチップコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",placement:"表示位置",trigger:"トリガー",delay:"表示遅延"},popper:{title:"ポッパー",description:"フローティング要素を配置するためのポッパーコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",placement:"配置位置",offset:"オフセット",arrow:"矢印付き"},searchButton:{title:"検索ボタン",description:"検索機能を統合した検索ボタンコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"ボタンの種類",sizes:"ボタンのサイズ",states:"ボタンの状態"},statusIndicator:{title:"ステータスインジケーター",description:"現在の状態を表示するためのステータスインジケーターコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"ステータスの種類",sizes:"インジケーターのサイズ",pulse:"パルスエフェクト"},timePicker:{title:"タイムピッカー",description:"時間を選択するためのタイムピッカーコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",format:"時間フォーマット",range:"時間範囲",validation:"時間の検証"},virtualList:{title:"バーチャルリスト",description:"大きなリストを効率的にレンダリングするためのバーチャルリストコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",height:"リストの高さ",itemSize:"アイテムのサイズ",scrolling:"スムーズスクロール"},autoComplete:{title:"オートコンプリート",description:"入力候補を表示するためのオートコンプリートコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",filter:"カスタムフィルター",async:"非同期データ",templates:"カスタムテンプレート"},empty:{title:"空の状態",description:"データがない場合の空の状態を表示するコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",image:"カスタム画像",description_custom:"カスタム説明",action:"アクション付き"},cascader:{title:"カスケード選択",description:"階層データから選択するためのカスケード選択コンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",options:"カスタムオプション",loading:"ローディング状態",search:"検索機能"},space:{title:"スペース",description:"レイアウトの間隔を管理するためのスペースコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",size:"スペースのサイズ",align:"配置",direction:"方向"},tag:{title:"タグ",description:"分類とフィルタリングのためのタグコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",color:"タグの色",size:"タグのサイズ",closable:"閉じることができるタグ"},textfield:{title:"テキストフィールド",description:"テキストフィールドはユーザーがテキストを入力・編集できるようにします。",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",sizes:"テキストフィールドのサイズ",states:"テキストフィールドの状態",prefix:"プレフィックスとサフィックス",clearable:"クリア可能",password:"パスワード入力",textarea:"テキストエリア",properties:{title:"プロパティ",value:{name:"value",type:"string",description:"テキストフィールドの値。"},placeholder:{name:"placeholder",type:"string",description:"フィールドが空の時のプレースホルダーテキスト。"},disabled:{name:"disabled",type:"boolean",description:"テキストフィールドが無効化されているかどうか。"},error:{name:"error",type:"boolean",description:"テキストフィールドがエラー状態かどうか。"},size:{name:"size",type:"'small' | 'medium' | 'large'",description:"テキストフィールドのサイズ。"}}}},m3={title:"おっと!",description:"申し訳ありません。予期せぬエラーが発生しました。",back_home:"ホームに戻る",refresh:"ページを更新"},g3={title:"404",description:"申し訳ありません。お探しのページは存在しません。",back_home:"ホームに戻る"},x3={lib:p3,components:f3,error:m3,notFound:g3},v3={title:"Minerva UI",description:"Une bibliothèque moderne de composants React",about:"À propos","about.description":"Minerva UI est une bibliothèque complète de composants React qui fournit un ensemble de composants réutilisables, accessibles et personnalisables pour vous aider à construire des applications web modernes.",installation:"Installation","installation.title":"Installation","installation.description":"Commencez avec Minerva UI en l'installant dans votre projet.","installation.usage.title":"Utilisation","installation.usage.description":"Importez et utilisez les composants dans votre application React.","installation.requirements.title":"Prérequis","installation.cdn.title":"CDN","installation.cdn.description":"Vous pouvez également utiliser Minerva UI directement depuis un CDN.",features:{title:"Fonctionnalités",modern:{title:"Design Moderne",description:"Construit avec les principes de design modernes et les meilleures pratiques à l'esprit."},customizable:{title:"Hautement Personnalisable",description:"Personnalisez facilement les composants pour correspondre à votre marque et votre système de design."},typescript:{title:"Support TypeScript",description:"Écrit en TypeScript avec un support complet des types pour une meilleure expérience de développement."},performance:{title:"Axé sur la Performance",description:"Optimisé pour la performance avec une taille de bundle minimale et un rendu efficace."}},getStarted:{title:"Commencer",description:"Commencez à construire votre prochain projet avec les composants Minerva UI."}},_3={menu:{getting_started:"Pour Commencer",inputs:"Entrées",data_display:"Affichage des Données",feedback:"Retour",navigation:"Navigation"},installation:{title:"Installation",description:"Commencez avec Minerva UI en l'installant dans votre projet",package:{title:"Installation du Package",description:"Installez Minerva UI avec votre gestionnaire de paquets préféré"},setup:{title:"Configuration du Projet",description:"Configurez Minerva UI dans votre application React"},next:{title:"Prochaines Étapes",description:"En savoir plus sur Minerva UI",introduction:"Lire l'Introduction",theming:"Découvrir la Thématisation",components:"Parcourir les Composants"}},overview:{title:"Vue d'ensemble",description:"Une bibliothèque moderne de composants React pour construire des interfaces belles et accessibles",features:{title:"Fonctionnalités Clés",modern:{title:"Design Moderne",description:"Construit avec les principes de design modernes et les meilleures pratiques à l'esprit."},performance:{title:"Axé sur la Performance",description:"Optimisé pour la performance avec une taille de bundle minimale et un rendu efficace."},theme:{title:"Support des Thèmes",description:"Système de thèmes complet qui permet de personnaliser chaque aspect des composants."},responsive:{title:"Design Responsive",description:"Les composants sont conçus pour fonctionner parfaitement sur tous les formats d'écran."}},quickstart:{title:"Démarrage Rapide",description:"Commencez rapidement avec Minerva UI en installant le package et en important les composants."},support:{title:"Support des Navigateurs",description:"Minerva UI est compatible avec tous les navigateurs modernes."}},introduction:{title:"Introduction",description:"Découvrez les fonctionnalités et les capacités de Minerva UI",what:{title:"Qu'est-ce que Minerva UI",description:"Minerva UI est une bibliothèque moderne de composants React conçue pour vous aider à construire rapidement et efficacement des interfaces utilisateur belles et accessibles.",features:{components:{title:"Bibliothèque Riche en Composants",description:"Un ensemble complet de composants préconçus qui suivent les meilleures pratiques en matière de design et d'accessibilité."},customization:{title:"Hautement Personnalisable",description:"Système de thèmes flexible qui vous permet de personnaliser chaque aspect des composants pour correspondre à votre marque."},typescript:{title:"Support TypeScript",description:"Construit avec TypeScript pour une meilleure expérience de développement avec un support complet des types et une complétion de code."}}}},theming:{title:"Thématisation",description:"Personnalisez l'apparence de vos composants",tokens:"Tokens de Design",colors:"Système de Couleurs",typography:"Typographie",spacing:"Espacement"},button:{title:"Bouton",description:"Composant bouton pour déclencher des actions",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes de Bouton",sizes:"Tailles de Bouton",states:"États de Bouton",loading:"État de Chargement"},switch:{title:"Interrupteur",description:"Composant interrupteur pour basculer entre deux états",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",sizes:"Tailles d'Interrupteur",states:"États d'Interrupteur",customization:"Personnalisation"},alert:{title:"Alerte",description:"Composant d'alerte pour afficher des messages importants",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes d'Alerte",customization:"Personnalisation"},common:{installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",customization:"Personnalisation",api:"Référence API",props:"Propriétés",events:"Événements",methods:"Méthodes",slots:"Slots"},avatar:{title:"Avatar",description:"Composant d'avatar pour afficher des images de profil",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",sizes:"Tailles d'Avatar",badge:"Avec Badge"},iconButton:{title:"Bouton Icône",description:"Boutons icônes contenant uniquement des icônes, généralement utilisés dans les barres d'outils",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",sizes:"Tailles de Bouton Icône",variants:"Variantes de Bouton Icône",states:"États de Bouton Icône"},progress:{title:"Progression",description:"Indicateurs de progression pour montrer l'état d'avancement",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes de Progression",sizes:"Tailles de Progression",states:"États de Progression"},message:{title:"Message",description:"Composant de message pour afficher des notifications temporaires",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes de Message",duration:"Durée du Message",placement:"Placement du Message"},tooltip:{title:"Info-bulle",description:"Composant info-bulle pour afficher des informations supplémentaires",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",placement:"Placement de l'Info-bulle",trigger:"Déclencheur de l'Info-bulle",delay:"Délai de l'Info-bulle"},popper:{title:"Popper",description:"Composant popper pour positionner des éléments flottants",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",placement:"Placement du Popper",offset:"Décalage du Popper",arrow:"Avec Flèche"},searchButton:{title:"Bouton de Recherche",description:"Composant bouton de recherche avec fonctionnalité de recherche intégrée",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes de Bouton",sizes:"Tailles de Bouton",states:"États de Bouton"},statusIndicator:{title:"Indicateur de Statut",description:"Composant indicateur de statut pour montrer l'état actuel",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes de Statut",sizes:"Tailles d'Indicateur",pulse:"Avec Effet Pulsation"},timePicker:{title:"Sélecteur de Temps",description:"Composant de sélection de temps",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",format:"Format de Temps",range:"Plage de Temps",validation:"Validation de Temps"},virtualList:{title:"Liste Virtuelle",description:"Composant de liste virtuelle pour le rendu efficace de grandes listes",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",height:"Hauteur de Liste",itemSize:"Taille d'Élément",scrolling:"Défilement Fluide"},autoComplete:{title:"Auto-complétion",description:"Composant d'auto-complétion pour les suggestions de saisie",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",filter:"Filtre Personnalisé",async:"Données Asynchrones",templates:"Modèles Personnalisés"},empty:{title:"État Vide",description:"Composant d'état vide pour les scénarios sans données",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",image:"Image Personnalisée",description_custom:"Description Personnalisée",action:"Avec Action"},cascader:{title:"Sélecteur en Cascade",description:"Composant de sélection en cascade pour les données hiérarchiques",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",options:"Options Personnalisées",loading:"État de Chargement",search:"Fonction de Recherche"},space:{title:"Espace",description:"Composant espace pour gérer l'espacement de mise en page",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",size:"Taille d'Espace",align:"Alignement d'Espace",direction:"Direction d'Espace"},tag:{title:"Étiquette",description:"Composant étiquette pour la catégorisation et le filtrage",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",color:"Couleurs d'Étiquette",size:"Tailles d'Étiquette",closable:"Étiquettes Fermables"},textfield:{title:"Champ de Texte",description:"Les champs de texte permettent aux utilisateurs de saisir et de modifier du texte.",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",sizes:"Tailles de Champ",states:"États du Champ",prefix:"Préfixe et Suffixe",clearable:"Effaçable",password:"Champ de Mot de Passe",textarea:"Zone de Texte",properties:{title:"Propriétés",value:{name:"value",type:"string",description:"La valeur du champ de texte."},placeholder:{name:"placeholder",type:"string",description:"Texte d'indication lorsque le champ est vide."},disabled:{name:"disabled",type:"boolean",description:"Si le champ de texte est désactivé."},error:{name:"error",type:"boolean",description:"Si le champ de texte est en état d'erreur."},size:{name:"size",type:"'small' | 'medium' | 'large'",description:"La taille du champ de texte."}}}},j3={title:"Oups !",description:"Désolé, une erreur inattendue s'est produite.",back_home:"Retour à l'accueil",refresh:"Actualiser la page"},y3={title:"404",description:"Oups ! La page que vous recherchez n'existe pas.",back_home:"Retour à l'accueil"},b3={lib:v3,components:_3,error:j3,notFound:y3};Ht.use(Ev).init({resources:{en:{common:o3},zh:{common:h3},ja:{common:x3},fr:{common:b3}},defaultNS:"common",lng:navigator.language.split("-")[0],fallbackLng:"en",interpolation:{escapeValue:!1}});var l0={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Vp=xe.createContext&&xe.createContext(l0),w3=["attr","size","title"];function C3(e,t){if(e==null)return{};var n=k3(e,t),i,s;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function k3(e,t){if(e==null)return{};var n={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}function dl(){return dl=Object.assign?Object.assign.bind():function(e){for(var t=1;txe.createElement(t.tag,ul({key:n},t.attr),c0(t.child)))}function M(e){return t=>xe.createElement(E3,dl({attr:ul({},e.attr)},t),c0(e.child))}function E3(e){var t=n=>{var{attr:i,size:s,title:a}=e,o=C3(e,w3),l=s||n.size||"1em",c;return n.className&&(c=n.className),e.className&&(c=(c?c+" ":"")+e.className),xe.createElement("svg",dl({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,o,{className:c,style:ul(ul({color:e.color||n.color},n.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),a&&xe.createElement("title",null,a),e.children)};return Vp!==void 0?xe.createElement(Vp.Consumer,null,n=>t(n)):t(l0)}function z3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 112v288m144-144H112"},child:[]}]})(e)}function L3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M186.62 464H160a16 16 0 0 1-14.57-22.6l64.46-142.25L113.1 297l-35.3 42.77C71.07 348.23 65.7 352 52 352H34.08a17.66 17.66 0 0 1-14.7-7.06c-2.38-3.21-4.72-8.65-2.44-16.41l19.82-71c.15-.53.33-1.06.53-1.58a.38.38 0 0 0 0-.15 14.82 14.82 0 0 1-.53-1.59l-19.84-71.45c-2.15-7.61.2-12.93 2.56-16.06a16.83 16.83 0 0 1 13.6-6.7H52c10.23 0 20.16 4.59 26 12l34.57 42.05 97.32-1.44-64.44-142A16 16 0 0 1 160 48h26.91a25 25 0 0 1 19.35 9.8l125.05 152 57.77-1.52c4.23-.23 15.95-.31 18.66-.31C463 208 496 225.94 496 256c0 9.46-3.78 27-29.07 38.16-14.93 6.6-34.85 9.94-59.21 9.94-2.68 0-14.37-.08-18.66-.31l-57.76-1.54-125.36 152a25 25 0 0 1-19.32 9.75z"},child:[]}]})(e)}function I3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M153.59 110.46A21.41 21.41 0 0 0 152.48 79 62.67 62.67 0 0 0 112 64l-3.27.09h-.48C74.4 66.15 48 95.55 48.07 131c0 19 8 29.06 14.32 37.11a20.61 20.61 0 0 0 14.7 7.8c.26 0 .7.05 2 .05a19.06 19.06 0 0 0 13.75-5.89zm250.2-46.35-3.27-.1H400a62.67 62.67 0 0 0-40.52 15 21.41 21.41 0 0 0-1.11 31.44l60.77 59.65a19.06 19.06 0 0 0 13.79 5.9c1.28 0 1.72 0 2-.05a20.61 20.61 0 0 0 14.69-7.8c6.36-8.05 14.28-18.08 14.32-37.11.06-35.49-26.34-64.89-60.15-66.93z"},child:[]},{tag:"path",attr:{d:"M256.07 96c-97 0-176 78.95-176 176a175.23 175.23 0 0 0 40.81 112.56l-36.12 36.13a16 16 0 1 0 22.63 22.62l36.12-36.12a175.63 175.63 0 0 0 225.12 0l36.13 36.12a16 16 0 1 0 22.63-22.62l-36.13-36.13A175.17 175.17 0 0 0 432.07 272c0-97-78.95-176-176-176zm16 176a16 16 0 0 1-16 16h-80a16 16 0 0 1 0-32h64v-96a16 16 0 0 1 32 0z"},child:[]}]})(e)}function d0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M250.26 166.05 256 288l5.73-121.95a5.74 5.74 0 0 0-5.79-6h0a5.74 5.74 0 0 0-5.68 6z"},child:[]},{tag:"path",attr:{d:"M256 367.91a20 20 0 1 1 20-20 20 20 0 0 1-20 20z"},child:[]}]})(e)}function Td(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"rect",attr:{width:"80",height:"80",x:"64",y:"64",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"216",y:"64",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"368",y:"64",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"64",y:"216",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"216",y:"216",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"368",y:"216",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"64",y:"368",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"216",y:"368",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"368",y:"368",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]}]})(e)}function wc(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 268 144 144 144-144M256 392V100"},child:[]}]})(e)}function R3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m268 112 144 144-144 144m124-144H100"},child:[]}]})(e)}function A3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 244 144-144 144 144M256 120v292"},child:[]}]})(e)}function Cc(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 244 144-144 144 144M256 120v292"},child:[]}]})(e)}function P3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M48 322.3V189.7A29.74 29.74 0 0 1 77.7 160h137.44l24.4-32H77.7A61.77 61.77 0 0 0 16 189.7v132.6A61.77 61.77 0 0 0 77.7 384h96.85a22.57 22.57 0 0 1 .26-7.32l.15-.75.21-.73 6.5-23.2H77.7A29.74 29.74 0 0 1 48 322.3zM386.3 128h-98.64a22.69 22.69 0 0 1-.27 7.2l-.15.74-.21.73-6.54 23.33H386.3a29.74 29.74 0 0 1 29.7 29.7v132.6a29.74 29.74 0 0 1-29.7 29.7H247l-24.42 32H386.3a61.77 61.77 0 0 0 61.7-61.7V189.7a61.77 61.77 0 0 0-61.7-61.7z"},child:[]},{tag:"path",attr:{d:"M162.65 294.16a24.37 24.37 0 0 1-21.56-13 25 25 0 0 1 1.42-25.83l.31-.46.33-.44L197.62 183H89.69a20 20 0 0 0-20 20v106a20 20 0 0 0 20 20h98.42l9.78-34.86z"},child:[]},{tag:"path",attr:{d:"m276.07 280.89 27.07-35.49a5.2 5.2 0 0 0 .77-1.91 5 5 0 0 0 .08-.66 5 5 0 0 0-.08-1.29 5.11 5.11 0 0 0-.68-1.75 4.76 4.76 0 0 0-.78-.95 3.48 3.48 0 0 0-.48-.38 4 4 0 0 0-1.11-.55 4.28 4.28 0 0 0-1.31-.2h-61.62l12.12-43.21 3.23-11.5 6.21-22.16.51-1.84 7.79-27.76a3.51 3.51 0 0 0 .05-.55v-.16c0-.05 0-.26-.05-.38s0-.09 0-.14a2.2 2.2 0 0 0-.17-.45 3.77 3.77 0 0 0-.26-.39l-.09-.1a2.73 2.73 0 0 0-.25-.23l-.1-.08a3.14 3.14 0 0 0-.39-.24 2 2 0 0 0-.41-.14h-.59a2.3 2.3 0 0 0-.45 0 1.9 1.9 0 0 0-.42.15l-.13.07-.3.21-.11.1a2.4 2.4 0 0 0-.36.41l-18 23.63-13.14 17.22-9.85 12.83-63.71 83.55a5.72 5.72 0 0 0-.44.8 4.78 4.78 0 0 0-.35 1.09 4.7 4.7 0 0 0-.08 1.29 4.86 4.86 0 0 0 2 3.71 4.74 4.74 0 0 0 .54.31 4.31 4.31 0 0 0 1.89.43h61.62L194.42 380.6a3.64 3.64 0 0 0 0 .56v.15a2.32 2.32 0 0 0 .06.38.58.58 0 0 0 0 .14 2.2 2.2 0 0 0 .17.45 3.62 3.62 0 0 0 .26.38l.09.1.25.24a.39.39 0 0 1 .1.08 2.22 2.22 0 0 0 .39.23 2.83 2.83 0 0 0 .41.14h.13a1.86 1.86 0 0 0 .33 0h.13a2.32 2.32 0 0 0 .45-.06 2.05 2.05 0 0 0 .41-.16l.13-.07.3-.21.11-.09a2.4 2.4 0 0 0 .36-.41L221.82 352l17.53-23z"},child:[]},{tag:"path",attr:{d:"m319.5 256.93-.46.6L264.51 329h109.8a20 20 0 0 0 20-20V203a20 20 0 0 0-20-20H274.05l-9.74 34.73h35.24A24.35 24.35 0 0 1 321 230.5a25.21 25.21 0 0 1-1 25.79zM480 202.67a16 16 0 0 0-16 16v74.66a16 16 0 0 0 32 0v-74.66a16 16 0 0 0-16-16z"},child:[]}]})(e)}function kc(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M388 160.77a20 20 0 0 0-5.85-14.91l-112-112A20 20 0 0 0 236 48v164.52l-79-67.71a20 20 0 0 0-26 30.38L225.27 256 131 336.81a20 20 0 1 0 26 30.38l79-67.71V464a20 20 0 0 0 34.14 14.14l112-112a20 20 0 0 0-1.14-29.33L286.73 256 381 175.19a20 20 0 0 0 7-14.42zm-49.42 192.36L276 415.72V299.49zM276 212.52V96.28l62.59 62.59z"},child:[]}]})(e)}function M3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 160c16-63.16 76.43-95.41 208-96a15.94 15.94 0 0 1 16 16v288a16 16 0 0 1-16 16c-128 0-177.45 25.81-208 64-30.37-38-80-64-208-64-9.88 0-16-8.05-16-17.93V80a15.94 15.94 0 0 1 16-16c131.57.59 192 32.84 208 96zm0 0v288"},child:[]}]})(e)}function T3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M352 48H160a48 48 0 0 0-48 48v368l144-128 144 128V96a48 48 0 0 0-48-48z"},child:[]}]})(e)}function F3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"272",r:"64"},child:[]},{tag:"path",attr:{d:"M432 144h-59c-3 0-6.72-1.94-9.62-5l-25.94-40.94a15.52 15.52 0 0 0-1.37-1.85C327.11 85.76 315 80 302 80h-92c-13 0-25.11 5.76-34.07 16.21a15.52 15.52 0 0 0-1.37 1.85l-25.94 41c-2.22 2.42-5.34 5-8.62 5v-8a16 16 0 0 0-16-16h-24a16 16 0 0 0-16 16v8h-4a48.05 48.05 0 0 0-48 48V384a48.05 48.05 0 0 0 48 48h352a48.05 48.05 0 0 0 48-48V192a48.05 48.05 0 0 0-48-48zM256 368a96 96 0 1 1 96-96 96.11 96.11 0 0 1-96 96z"},child:[]}]})(e)}function u0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"rect",attr:{width:"416",height:"320",x:"48",y:"96",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",rx:"56",ry:"56"},child:[]},{tag:"path",attr:{fill:"none",strokeLinejoin:"round",strokeWidth:"60",d:"M48 192h416M128 300h48v20h-48z"},child:[]}]})(e)}function B3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m98 190.06 139.78 163.12a24 24 0 0 0 36.44 0L414 190.06c13.34-15.57 2.28-39.62-18.22-39.62h-279.6c-20.5 0-31.56 24.05-18.18 39.62z"},child:[]}]})(e)}function h0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinejoin:"round",strokeWidth:"32",d:"M408 64H104a56.16 56.16 0 0 0-56 56v192a56.16 56.16 0 0 0 56 56h40v80l93.72-78.14a8 8 0 0 1 5.13-1.86H408a56.16 56.16 0 0 0 56-56V120a56.16 56.16 0 0 0-56-56z"},child:[]}]})(e)}function p0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M352 176 217.6 336 160 272"},child:[]},{tag:"rect",attr:{width:"384",height:"384",x:"64",y:"64",fill:"none",strokeLinejoin:"round",strokeWidth:"32",rx:"48",ry:"48"},child:[]}]})(e)}function Sc(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm108.25 138.29-134.4 160a16 16 0 0 1-12 5.71h-.27a16 16 0 0 1-11.89-5.3l-57.6-64a16 16 0 1 1 23.78-21.4l45.29 50.32 122.59-145.91a16 16 0 0 1 24.5 20.58z"},child:[]}]})(e)}function O3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M416 128 192 384l-96-96"},child:[]}]})(e)}function f0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"},child:[]}]})(e)}function Gp(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M473.66 210c-14-10.38-31.2-18-49.36-22.11a16.11 16.11 0 0 1-12.19-12.22c-7.8-34.75-24.59-64.55-49.27-87.13C334.15 62.25 296.21 47.79 256 47.79c-35.35 0-68 11.08-94.37 32.05a150.07 150.07 0 0 0-42.06 53 16 16 0 0 1-11.31 8.87c-26.75 5.4-50.9 16.87-69.34 33.12C13.46 197.33 0 227.24 0 261.39c0 34.52 14.49 66 40.79 88.76 25.12 21.69 58.94 33.64 95.21 33.64h104V230.42l-36.69 36.69a16 16 0 0 1-23.16-.56c-5.8-6.37-5.24-16.3.85-22.39l63.69-63.68a16 16 0 0 1 22.62 0L331 244.14c6.28 6.29 6.64 16.6.39 22.91a16 16 0 0 1-22.68.06L272 230.42v153.37h124c31.34 0 59.91-8.8 80.45-24.77 23.26-18.1 35.55-44 35.55-74.83 0-29.94-13.26-55.61-38.34-74.19zM240 448.21a16 16 0 1 0 32 0v-64.42h-32z"},child:[]}]})(e)}function D3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M430.11 347.9c-6.6-6.1-16.3-7.6-24.6-9-11.5-1.9-15.9-4-22.6-10-14.3-12.7-14.3-31.1 0-43.8l30.3-26.9c46.4-41 46.4-108.2 0-149.2-34.2-30.1-80.1-45-127.8-45-55.7 0-113.9 20.3-158.8 60.1-83.5 73.8-83.5 194.7 0 268.5 41.5 36.7 97.5 55 152.9 55.4h1.7c55.4 0 110-17.9 148.8-52.4 14.4-12.7 11.99-36.6.1-47.7z"},child:[]},{tag:"circle",attr:{cx:"144",cy:"208",r:"32"},child:[]},{tag:"circle",attr:{cx:"152",cy:"311",r:"32"},child:[]},{tag:"circle",attr:{cx:"224",cy:"144",r:"32"},child:[]},{tag:"circle",attr:{cx:"256",cy:"367",r:"48"},child:[]},{tag:"circle",attr:{cx:"328",cy:"144",r:"32"},child:[]}]})(e)}function Qp(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m441 336.2-.06-.05c-9.93-9.18-22.78-11.34-32.16-12.92l-.69-.12c-9.05-1.49-10.48-2.5-14.58-6.17-2.44-2.17-5.35-5.65-5.35-9.94s2.91-7.77 5.34-9.94l30.28-26.87c25.92-22.91 40.2-53.66 40.2-86.59s-14.25-63.68-40.2-86.6c-35.89-31.59-85-49-138.37-49C223.72 48 162 71.37 116 112.11c-43.87 38.77-68 90.71-68 146.24s24.16 107.47 68 146.23c21.75 19.24 47.49 34.18 76.52 44.42a266.17 266.17 0 0 0 86.87 15h1.81c61 0 119.09-20.57 159.39-56.4 9.7-8.56 15.15-20.83 15.34-34.56.21-14.17-5.37-27.95-14.93-36.84zM112 208a32 32 0 1 1 32 32 32 32 0 0 1-32-32zm40 135a32 32 0 1 1 32-32 32 32 0 0 1-32 32zm40-199a32 32 0 1 1 32 32 32 32 0 0 1-32-32zm64 271a48 48 0 1 1 48-48 48 48 0 0 1-48 48zm72-239a32 32 0 1 1 32-32 32 32 0 0 1-32 32z"},child:[]}]})(e)}function U3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"rect",attr:{width:"336",height:"336",x:"128",y:"128",fill:"none",strokeLinejoin:"round",strokeWidth:"32",rx:"57",ry:"57"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m383.5 128 .5-24a56.16 56.16 0 0 0-56-56H112a64.19 64.19 0 0 0-64 64v216a56.16 56.16 0 0 0 56 56h24"},child:[]}]})(e)}function H3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M336 176h40a40 40 0 0 1 40 40v208a40 40 0 0 1-40 40H136a40 40 0 0 1-40-40V216a40 40 0 0 1 40-40h40"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m176 272 80 80 80-80M256 48v288"},child:[]}]})(e)}function W3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"192",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]}]})(e)}function q3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448zM248 315.85l-51.79-51.79a2 2 0 0 0-3.39 1.69 64.11 64.11 0 0 0 53.49 53.49 2 2 0 0 0 1.69-3.39zm16-119.7L315.87 248a2 2 0 0 0 3.4-1.69 64.13 64.13 0 0 0-53.55-53.55 2 2 0 0 0-1.72 3.39z"},child:[]},{tag:"path",attr:{d:"M491 273.36a32.2 32.2 0 0 0-.1-34.76c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.68 96a226.54 226.54 0 0 0-71.82 11.79 4 4 0 0 0-1.56 6.63l47.24 47.24a4 4 0 0 0 3.82 1.05 96 96 0 0 1 116 116 4 4 0 0 0 1.05 3.81l67.95 68a4 4 0 0 0 5.4.24 343.81 343.81 0 0 0 67.24-77.4zM256 352a96 96 0 0 1-93.3-118.63 4 4 0 0 0-1.05-3.81l-66.84-66.87a4 4 0 0 0-5.41-.23c-24.39 20.81-47 46.13-67.67 75.72a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.39 76.14 98.28 100.65C162.06 402 207.92 416 255.68 416a238.22 238.22 0 0 0 72.64-11.55 4 4 0 0 0 1.61-6.64l-47.47-47.46a4 4 0 0 0-3.81-1.05A96 96 0 0 1 256 352z"},child:[]}]})(e)}function V3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"64"},child:[]},{tag:"path",attr:{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96c-42.52 0-84.33 12.15-124.27 36.11-40.73 24.43-77.63 60.12-109.68 106.07a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416c46.71 0 93.81-14.43 136.2-41.72 38.46-24.77 72.72-59.66 99.08-100.92a32.2 32.2 0 0 0-.1-34.76zM256 352a96 96 0 1 1 96-96 96.11 96.11 0 0 1-96 96z"},child:[]}]})(e)}function K3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M63.28 202a15.29 15.29 0 0 1-7.7-2 14.84 14.84 0 0 1-5.52-20.46C69.34 147.36 128 72.25 256 72.25c55.47 0 104.12 14.57 144.53 43.29 33.26 23.57 51.9 50.25 60.78 63.1a14.79 14.79 0 0 1-4 20.79 15.52 15.52 0 0 1-21.24-4C420 172.32 371 102 256 102c-112.25 0-163 64.71-179.53 92.46A15 15 0 0 1 63.28 202z"},child:[]},{tag:"path",attr:{d:"M320.49 496a15.31 15.31 0 0 1-3.79-.43c-92.85-23-127.52-115.82-128.93-119.68l-.22-.85c-.76-2.68-19.39-66.33 9.21-103.61 13.11-17 33.05-25.72 59.38-25.72 24.48 0 42.14 7.61 54.28 23.36 10 12.86 14 28.72 17.87 44 8.13 31.82 14 48.53 47.79 50.25 14.84.75 24.59-7.93 30.12-15.32 14.95-20.15 17.55-53 6.28-82C398 228.57 346.61 158 256 158c-38.68 0-74.22 12.43-102.72 35.79-23.59 19.35-42.28 46.67-51.28 74.75-16.69 52.28 5.2 134.46 5.41 135.21A14.83 14.83 0 0 1 96.54 422a15.39 15.39 0 0 1-18.74-10.6c-1-3.75-24.38-91.4-5.1-151.82 21-65.47 85.81-131.47 183.33-131.47 45.07 0 87.65 15.32 123.19 44.25 27.52 22.5 50 52.72 61.76 82.93 14.95 38.57 10.94 81.86-10.19 110.14-14.08 18.86-34.13 28.72-56.34 27.65-57.86-2.9-68.26-43.29-75.84-72.75-7.8-30.22-12.79-44.79-42.58-44.79-16.36 0-27.85 4.5-35 13.82-9.75 12.75-10.51 32.68-9.43 47.14a152.44 152.44 0 0 0 5.1 29.79c2.38 6 33.37 82 107.59 100.39a14.88 14.88 0 0 1 11 18.11 15.36 15.36 0 0 1-14.8 11.21z"},child:[]},{tag:"path",attr:{d:"M201.31 489.14a15.5 15.5 0 0 1-11.16-4.71c-37.16-39-58.18-82.61-66.09-137.14V347c-4.44-36.1 2.06-87.21 33.91-122.35 23.51-25.93 56.56-39.11 98.06-39.11 49.08 0 87.65 22.82 111.7 65.89 17.45 31.29 20.91 62.47 21 63.75a15.07 15.07 0 0 1-13.65 16.4 15.26 15.26 0 0 1-16.79-13.29A154 154 0 0 0 340.43 265c-18.64-32.89-47-49.61-84.51-49.61-32.4 0-57.75 9.75-75.19 29-25.14 27.75-30 70.5-26.55 98.78 6.93 48.22 25.46 86.58 58.18 120.86a14.7 14.7 0 0 1-.76 21.11 15.44 15.44 0 0 1-10.29 4z"},child:[]},{tag:"path",attr:{d:"M372.5 446.18c-32.5 0-60.13-9-82.24-26.89-44.42-35.79-49.4-94.08-49.62-96.54a15.27 15.27 0 0 1 30.45-2.36c.11.86 4.55 48.54 38.79 76 20.26 16.18 47.34 22.6 80.71 18.85a15.2 15.2 0 0 1 16.91 13.18 14.92 14.92 0 0 1-13.44 16.5 187 187 0 0 1-21.56 1.26zm25.68-397.39C385.5 40.54 340.54 16 256 16c-88.74 0-133.81 27.11-143.78 34a11.59 11.59 0 0 0-1.84 1.4.36.36 0 0 1-.22.1 14.87 14.87 0 0 0-5.09 11.15 15.06 15.06 0 0 0 15.31 14.85 15.56 15.56 0 0 0 8.88-2.79c.43-.32 39.22-28.82 126.77-28.82S382.58 74.29 383 74.5a15.25 15.25 0 0 0 9.21 3 15.06 15.06 0 0 0 15.29-14.89 14.9 14.9 0 0 0-9.32-13.82z"},child:[]}]})(e)}function G3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M194.82 496a18.36 18.36 0 0 1-18.1-21.53v-.11L204.83 320H96a16 16 0 0 1-12.44-26.06L302.73 23a18.45 18.45 0 0 1 32.8 13.71c0 .3-.08.59-.13.89L307.19 192H416a16 16 0 0 1 12.44 26.06L209.24 489a18.45 18.45 0 0 1-14.42 7z"},child:[]}]})(e)}function Q3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M483.13 245.38C461.92 149.49 430 98.31 382.65 84.33A107.13 107.13 0 0 0 352 80c-13.71 0-25.65 3.34-38.28 6.88C298.5 91.15 281.21 96 256 96s-42.51-4.84-57.76-9.11C185.6 83.34 173.67 80 160 80a115.74 115.74 0 0 0-31.73 4.32c-47.1 13.92-79 65.08-100.52 161C4.61 348.54 16 413.71 59.69 428.83a56.62 56.62 0 0 0 18.64 3.22c29.93 0 53.93-24.93 70.33-45.34 18.53-23.1 40.22-34.82 107.34-34.82 59.95 0 84.76 8.13 106.19 34.82 13.47 16.78 26.2 28.52 38.9 35.91 16.89 9.82 33.77 12 50.16 6.37 25.82-8.81 40.62-32.1 44-69.24 2.57-28.48-1.39-65.89-12.12-114.37zM208 240h-32v32a16 16 0 0 1-32 0v-32h-32a16 16 0 0 1 0-32h32v-32a16 16 0 0 1 32 0v32h32a16 16 0 0 1 0 32zm84 4a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm44 44a20 20 0 1 1 20-19.95A20 20 0 0 1 336 288zm0-88a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm44 44a20 20 0 1 1 20-20 20 20 0 0 1-20 20z"},child:[]}]})(e)}function Y3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",d:"M200 144h40v-40a40 40 0 1 0-40 40zm152-40a40 40 0 0 0-80 0v40h40a40 40 0 0 0 40-40z"},child:[]},{tag:"path",attr:{d:"M80 416a64 64 0 0 0 64 64h92a4 4 0 0 0 4-4V292a4 4 0 0 0-4-4H88a8 8 0 0 0-8 8zm160-164V144h32v108a4 4 0 0 0 4 4h140a47.93 47.93 0 0 0 16-2.75A48.09 48.09 0 0 0 464 208v-16a48 48 0 0 0-48-48h-40.54a2 2 0 0 1-1.7-3A72 72 0 0 0 256 58.82 72 72 0 0 0 138.24 141a2 2 0 0 1-1.7 3H96a48 48 0 0 0-48 48v16a48.09 48.09 0 0 0 32 45.25A47.93 47.93 0 0 0 96 256h140a4 4 0 0 0 4-4zm32-148a40 40 0 1 1 40 40h-40zm-74.86-39.9A40 40 0 0 1 240 104v40h-40a40 40 0 0 1-2.86-79.89zM276 480h92a64 64 0 0 0 64-64V296a8 8 0 0 0-8-8H276a4 4 0 0 0-4 4v184a4 4 0 0 0 4 4z"},child:[]}]})(e)}function J3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"128",cy:"96",r:"48",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"circle",attr:{cx:"256",cy:"416",r:"48",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 256v112"},child:[]},{tag:"circle",attr:{cx:"384",cy:"96",r:"48",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M128 144c0 74.67 68.92 112 128 112m128-112c0 74.67-68.92 112-128 112"},child:[]}]})(e)}function X3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M340.75 344.49c5.91-20.7 9.82-44.75 11.31-67.84a4.41 4.41 0 0 0-4.46-4.65h-71.06a4.43 4.43 0 0 0-4.47 4.39v55.3a4.44 4.44 0 0 0 4.14 4.38 273.51 273.51 0 0 1 59 11.39 4.45 4.45 0 0 0 5.54-2.97zm-17.17 32.82a260.05 260.05 0 0 0-46.6-9.09 4.42 4.42 0 0 0-4.91 4.29v65.24a4.47 4.47 0 0 0 6.76 3.7c15.9-9.27 29-24.84 40.84-45.43 1.94-3.36 4.89-9.15 6.67-12.69a4.29 4.29 0 0 0-2.76-6.02zm-88.29-8.91a256.85 256.85 0 0 0-46.56 8.82c-2.64.76-3.75 4.4-2.55 6.79 1.79 3.56 4 8.11 5.89 11.51 13 23 26.84 37.5 41.24 45.93a4.47 4.47 0 0 0 6.76-3.7v-65.27a4.16 4.16 0 0 0-4.78-4.08zm.31-96.4h-71.06a4.41 4.41 0 0 0-4.46 4.64c1.48 23.06 5.37 47.16 11.26 67.84a4.46 4.46 0 0 0 5.59 3 272.2 272.2 0 0 1 59-11.36 4.44 4.44 0 0 0 4.15-4.38V276.4a4.43 4.43 0 0 0-4.48-4.4zM277 143.78a235.8 235.8 0 0 0 46.5-9.14 4.3 4.3 0 0 0 2.76-6c-1.79-3.57-4.27-8.68-6.17-12.09-12.29-22-26.14-37.35-41.24-46a4.48 4.48 0 0 0-6.76 3.7v65.23a4.43 4.43 0 0 0 4.91 4.3zm-.46 96.22h71.06a4.39 4.39 0 0 0 4.46-4.58c-1.48-22.77-5.27-47.8-11.16-68.22a4.46 4.46 0 0 0-5.59-2.95c-19 5.74-38.79 10.43-59.09 12a4.4 4.4 0 0 0-4.15 4.32v55.11a4.4 4.4 0 0 0 4.47 4.32zM233.31 70.56c-15.42 8.57-29.17 24.43-41.47 46.37-1.91 3.41-4.19 8.11-6 11.67a4.31 4.31 0 0 0 2.76 6 225.42 225.42 0 0 0 46.54 9.17 4.43 4.43 0 0 0 4.91-4.29V74.26a4.49 4.49 0 0 0-6.74-3.7zm2.61 105.7c-20.3-1.55-40.11-6.24-59.09-12a4.46 4.46 0 0 0-5.59 2.95c-5.89 20.42-9.68 45.45-11.16 68.22a4.39 4.39 0 0 0 4.46 4.58h71.06a4.4 4.4 0 0 0 4.47-4.34v-55.09a4.4 4.4 0 0 0-4.15-4.32z"},child:[]},{tag:"path",attr:{d:"M414.39 97.61A224 224 0 1 0 97.61 414.39 224 224 0 1 0 414.39 97.61zM176.6 430.85a219.08 219.08 0 0 1-12.48-19.66c-2-3.69-4.84-9.26-6.73-13.13a7.29 7.29 0 0 0-10.31-3.16c-4.3 2.41-10 5.72-14.13 8.43a147.29 147.29 0 0 1-23.57-22.43 248.83 248.83 0 0 1 30.41-18.36c1.86-1 2.77-2.14 2.18-4.18a374.8 374.8 0 0 1-14.09-82.17 4.36 4.36 0 0 0-4.3-4.17H66.84a2 2 0 0 1-2-1.7A98.28 98.28 0 0 1 64 256a96.27 96.27 0 0 1 .86-14.29 2 2 0 0 1 2-1.7h56.74c2.29 0 4.17-1.32 4.29-3.63a372.71 372.71 0 0 1 14-81.83 4.36 4.36 0 0 0-2.19-5.11 260.63 260.63 0 0 1-29.84-17.9 169.82 169.82 0 0 1 23.14-22.8c4.08 2.68 9.4 5.71 13.66 8.11a7.89 7.89 0 0 0 11-3.42c1.88-3.87 4-8.18 6.06-11.88a221.93 221.93 0 0 1 12.54-19.91A185 185 0 0 1 256 64c28.94 0 55.9 7 80.53 18.46a202.23 202.23 0 0 1 12 19c2.59 4.66 5.34 10.37 7.66 15.32a4.29 4.29 0 0 0 5.92 1.94c5.38-2.91 11.21-6.26 16.34-9.63a171.36 171.36 0 0 1 23.2 23 244.89 244.89 0 0 1-29.06 17.31 4.35 4.35 0 0 0-2.18 5.12 348.68 348.68 0 0 1 13.85 81.4 4.33 4.33 0 0 0 4.3 4.12l56.62-.07a2 2 0 0 1 2 1.7 117.46 117.46 0 0 1 0 28.62 2 2 0 0 1-2 1.72h-56.67a4.35 4.35 0 0 0-4.3 4.17 367.4 367.4 0 0 1-13.87 81.3 4.45 4.45 0 0 0 2.19 5.19c5 2.59 10.57 5.48 15.37 8.42s9.55 6.08 14.13 9.34a172.73 172.73 0 0 1-23 22.93c-2.44-1.61-5.34-3.44-7.84-4.94-1.72-1-4.89-2.77-6.65-3.76-3.82-2.14-7.88-.54-9.79 3.4s-4.83 9.59-6.87 13.25a212.42 212.42 0 0 1-12.35 19.53C310.91 442.37 284.94 448 256 448s-54.77-5.63-79.4-17.15z"},child:[]}]})(e)}function Z3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M417.84 448a16 16 0 0 1-11.35-4.72l-365.84-368a16 16 0 1 1 22.7-22.56l365.83 368A16 16 0 0 1 417.84 448zM364.92 80c-44.09 0-74.61 24.82-92.39 45.5a6 6 0 0 1-9.06 0C245.69 104.82 215.16 80 171.08 80a107.71 107.71 0 0 0-31 4.54l269.13 270.7c3-3.44 5.7-6.64 8.14-9.6 40-48.75 59.15-98.79 58.61-153C475.37 130.53 425.54 80 364.92 80zM69 149.15a115.06 115.06 0 0 0-9 43.49c-.54 54.21 18.63 104.25 58.61 153 18.77 22.87 52.8 59.45 131.39 112.8a31.88 31.88 0 0 0 36 0c20.35-13.82 37.7-26.5 52.58-38.12z"},child:[]}]})(e)}function Ol(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 448a32 32 0 0 1-18-5.57c-78.59-53.35-112.62-89.93-131.39-112.8-40-48.75-59.15-98.8-58.61-153C48.63 114.52 98.46 64 159.08 64c44.08 0 74.61 24.83 92.39 45.51a6 6 0 0 0 9.06 0C278.31 88.81 308.84 64 352.92 64c60.62 0 110.45 50.52 111.08 112.64.54 54.21-18.63 104.26-58.61 153-18.77 22.87-52.8 59.45-131.39 112.8a32 32 0 0 1-18 5.56z"},child:[]}]})(e)}function Dl(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M80 212v236a16 16 0 0 0 16 16h96V328a24 24 0 0 1 24-24h80a24 24 0 0 1 24 24v136h96a16 16 0 0 0 16-16V212"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M480 256 266.89 52c-5-5.28-16.69-5.34-21.78 0L32 256m368-77V64h-48v69"},child:[]}]})(e)}function e6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M261.56 101.28a8 8 0 0 0-11.06 0L66.4 277.15a8 8 0 0 0-2.47 5.79L63.9 448a32 32 0 0 0 32 32H192a16 16 0 0 0 16-16V328a8 8 0 0 1 8-8h80a8 8 0 0 1 8 8v136a16 16 0 0 0 16 16h96.06a32 32 0 0 0 32-32V282.94a8 8 0 0 0-2.47-5.79z"},child:[]},{tag:"path",attr:{d:"m490.91 244.15-74.8-71.56V64a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v32l-57.92-55.38C272.77 35.14 264.71 32 256 32c-8.68 0-16.72 3.14-22.14 8.63l-212.7 203.5c-6.22 6-7 15.87-1.34 22.37A16 16 0 0 0 43 267.56L250.5 69.28a8 8 0 0 1 11.06 0l207.52 198.28a16 16 0 0 0 22.59-.44c6.14-6.36 5.63-16.86-.76-22.97z"},child:[]}]})(e)}function t6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M450.29 112H142c-34 0-62 27.51-62 61.33v245.34c0 33.82 28 61.33 62 61.33h308c34 0 62-26.18 62-60V173.33c0-33.82-27.68-61.33-61.71-61.33zm-77.15 61.34a46 46 0 1 1-46.28 46 46.19 46.19 0 0 1 46.28-46.01zm-231.55 276c-17 0-29.86-13.75-29.86-30.66v-64.83l90.46-80.79a46.54 46.54 0 0 1 63.44 1.83L328.27 337l-113 112.33zM480 418.67a30.67 30.67 0 0 1-30.71 30.66H259L376.08 333a46.24 46.24 0 0 1 59.44-.16L480 370.59z"},child:[]},{tag:"path",attr:{d:"M384 32H64A64 64 0 0 0 0 96v256a64.11 64.11 0 0 0 48 62V152a72 72 0 0 1 72-72h326a64.11 64.11 0 0 0-62-48z"},child:[]}]})(e)}function n6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 256s-48-96-126-96c-54.12 0-98 43-98 96s43.88 96 98 96c37.51 0 71-22.41 94-48m32-48s48 96 126 96c54.12 0 98-43 98-96s-43.88-96-98-96c-37.51 0-71 22.41-94 48"},child:[]}]})(e)}function m0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M248 64C146.39 64 64 146.39 64 248s82.39 184 184 184 184-82.39 184-184S349.61 64 248 64z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M220 220h32v116"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M208 340h88"},child:[]},{tag:"path",attr:{d:"M248 130a26 26 0 1 0 26 26 26 26 0 0 0-26-26z"},child:[]}]})(e)}function Nc(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 56C145.72 56 56 145.72 56 256s89.72 200 200 200 200-89.72 200-200S366.28 56 256 56zm0 82a26 26 0 1 1-26 26 26 26 0 0 1 26-26zm48 226h-88a16 16 0 0 1 0-32h28v-88h-16a16 16 0 0 1 0-32h32a16 16 0 0 1 16 16v104h28a16 16 0 0 1 0 32z"},child:[]}]})(e)}function r6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M48 112h288M192 64v48m80 336 96-224 96 224m-162.5-64h133M281.3 112S257 206 199 277 80 384 80 384"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 336s-35-27-72-75-56-85-56-85"},child:[]}]})(e)}function i6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m478.33 433.6-90-218a22 22 0 0 0-40.67 0l-90 218a22 22 0 1 0 40.67 16.79L316.66 406h102.67l18.33 44.39A22 22 0 0 0 458 464a22 22 0 0 0 20.32-30.4zM334.83 362 368 281.65 401.17 362zm-66.99-19.08a22 22 0 0 0-4.89-30.7c-.2-.15-15-11.13-36.49-34.73 39.65-53.68 62.11-114.75 71.27-143.49H330a22 22 0 0 0 0-44H214V70a22 22 0 0 0-44 0v20H54a22 22 0 0 0 0 44h197.25c-9.52 26.95-27.05 69.5-53.79 108.36-31.41-41.68-43.08-68.65-43.17-68.87a22 22 0 0 0-40.58 17c.58 1.38 14.55 34.23 52.86 83.93.92 1.19 1.83 2.35 2.74 3.51-39.24 44.35-77.74 71.86-93.85 80.74a22 22 0 1 0 21.07 38.63c2.16-1.18 48.6-26.89 101.63-85.59 22.52 24.08 38 35.44 38.93 36.1a22 22 0 0 0 30.75-4.9z"},child:[]}]})(e)}function g0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m434.8 137.65-149.36-68.1c-16.19-7.4-42.69-7.4-58.88 0L77.3 137.65c-17.6 8-17.6 21.09 0 29.09l148 67.5c16.89 7.7 44.69 7.7 61.58 0l148-67.5c17.52-8 17.52-21.1-.08-29.09zM160 308.52l-82.7 37.11c-17.6 8-17.6 21.1 0 29.1l148 67.5c16.89 7.69 44.69 7.69 61.58 0l148-67.5c17.6-8 17.6-21.1 0-29.1l-79.94-38.47"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m160 204.48-82.8 37.16c-17.6 8-17.6 21.1 0 29.1l148 67.49c16.89 7.7 44.69 7.7 61.58 0l148-67.49c17.7-8 17.7-21.1.1-29.1L352 204.48"},child:[]}]})(e)}function s6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M160 144h288M160 256h288M160 368h288"},child:[]},{tag:"circle",attr:{cx:"80",cy:"144",r:"16",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"circle",attr:{cx:"80",cy:"256",r:"16",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"circle",attr:{cx:"80",cy:"368",r:"16",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]}]})(e)}function $c(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"192",r:"32"},child:[]},{tag:"path",attr:{d:"M256 32c-88.22 0-160 68.65-160 153 0 40.17 18.31 93.59 54.42 158.78 29 52.34 62.55 99.67 80 123.22a31.75 31.75 0 0 0 51.22 0c17.42-23.55 51-70.88 80-123.22C397.69 278.61 416 225.19 416 185c0-84.35-71.78-153-160-153zm0 224a64 64 0 1 1 64-64 64.07 64.07 0 0 1-64 64z"},child:[]}]})(e)}function a6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M368 192h-16v-80a96 96 0 1 0-192 0v80h-16a64.07 64.07 0 0 0-64 64v176a64.07 64.07 0 0 0 64 64h224a64.07 64.07 0 0 0 64-64V256a64.07 64.07 0 0 0-64-64zm-48 0H192v-80a64 64 0 1 1 128 0z"},child:[]}]})(e)}function o6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M368 192H192v-80a64 64 0 1 1 128 0 16 16 0 0 0 32 0 96 96 0 1 0-192 0v80h-16a64.07 64.07 0 0 0-64 64v176a64.07 64.07 0 0 0 64 64h224a64.07 64.07 0 0 0 64-64V256a64.07 64.07 0 0 0-64-64z"},child:[]}]})(e)}function Ec(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 32v448h448V32zm240 348c0 43.61-25.76 64.87-63.05 64.87-33.68 0-53.23-17.44-63.15-38.49l34.28-20.75c6.61 11.73 11.63 21.65 26.06 21.65 12 0 21.86-5.41 21.86-26.46V240h44zm99.35 63.87c-39.09 0-64.35-17.64-76.68-42L329 382c9 14.74 20.75 24.56 41.5 24.56 17.44 0 27.57-7.72 27.57-19.75 0-14.43-10.43-19.54-29.68-28l-10.52-4.52c-30.38-12.92-50.52-29.16-50.52-63.45 0-31.57 24.05-54.63 61.64-54.63 26.77 0 46 8.32 59.85 32.68L396 290c-7.22-12.93-15-18-27.06-18-12.33 0-20.15 7.82-20.15 18 0 12.63 7.82 17.74 25.86 25.56l10.52 4.51c35.79 15.34 55.94 31 55.94 66.16.01 37.9-29.76 57.64-69.76 57.64z"},child:[]}]})(e)}function l6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M429.76 130.07 274.33 36.85a37 37 0 0 0-36.65 0L82.24 130.06A38.2 38.2 0 0 0 64 162.83V349a38.26 38.26 0 0 0 18.24 32.8L123 406.14l.23.13c20.58 10.53 28.46 10.53 37.59 10.53 32.14 0 52.11-20.8 52.11-54.29V182a8.51 8.51 0 0 0-8.42-8.58h-22.38a8.51 8.51 0 0 0-8.42 8.58v180.51a15 15 0 0 1-6.85 13.07c-5.9 3.6-14.47 2.84-24.14-2.15l-39.06-23.51a1.1 1.1 0 0 1-.48-.92V165.46a1.32 1.32 0 0 1 .59-1.06l151.84-93a.82.82 0 0 1 .73 0l151.93 93a1.34 1.34 0 0 1 .55 1.1V349a1.28 1.28 0 0 1-.45 1l-152.06 90.65a1.22 1.22 0 0 1-.8 0l-38.83-23.06a7.8 7.8 0 0 0-7.83-.41l-.34.2c-10.72 6.35-13.6 8-23.54 11.62-1.62.59-5.43 2-5.76 5.77s3.29 6.45 6.51 8.32l51.9 31.87a35.67 35.67 0 0 0 18.3 5.07h.58a35.87 35.87 0 0 0 17.83-5.07l155.43-93.13A38.37 38.37 0 0 0 448 349V162.83a38.21 38.21 0 0 0-18.24-32.76z"},child:[]},{tag:"path",attr:{d:"M307.88 318.05c-37.29 0-45.24-10.42-47.6-27.24a8.43 8.43 0 0 0-8.22-7.32h-19.8a8.44 8.44 0 0 0-8.26 8.58c0 14.58 5.12 62.17 83.92 62.17 24.38 0 44.66-5.7 58.63-16.49S388 311.26 388 292.55c0-37.55-24.5-47.83-72.75-54.55-49.05-6.82-49.05-10.29-49.05-17.89 0-5.47 0-18.28 35.46-18.28 25.23 0 38.74 3.19 43.06 20a8.35 8.35 0 0 0 8.06 6.67h19.87a8.24 8.24 0 0 0 6.16-2.86 8.91 8.91 0 0 0 2.12-6.44c-2.57-35.55-28.56-53.58-79.24-53.58-46.06 0-73.55 20.75-73.55 55.5 0 38.1 28.49 48.87 71.29 53.33 50 5.17 50 12.71 50 19.37.03 10.38-4.28 24.23-41.55 24.23z"},child:[]}]})(e)}function c6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M314 36.38c-18.59-3.06-45.8-4.47-64.27-4.38a311.09 311.09 0 0 0-51.66 4.38c-45.74 8-54.07 24.7-54.07 55.54V128h112v16H107.62C66.06 144 32.33 193.67 32 255.12v.88a162.91 162.91 0 0 0 3.13 32c9.29 46.28 38.23 80 72.49 80H128v-54c0-31.3 20.84-59.95 55-66.1l9.87-1.23H314a56.05 56.05 0 0 0 15.06-2A52.48 52.48 0 0 0 368 193.68V91.92c0-28.92-24.68-50.73-54-55.54zM194.93 105.5a20.37 20.37 0 1 1 20.3-20.3 20.29 20.29 0 0 1-20.3 20.3z"},child:[]},{tag:"path",attr:{d:"M475.28 217c-10.7-42.61-38.41-73-70.9-73h-17.71v47.45c0 39.57-26 68.22-57.74 73.13a63.54 63.54 0 0 1-9.69.75H198.08a60 60 0 0 0-15.23 1.95C160.54 273.14 144 291.7 144 315.77v101.77c0 29 29.14 46 57.73 54.31 34.21 9.95 71.48 11.75 112.42 0 27.19-7.77 53.85-23.48 53.85-54.31V384H256v-16h148.38c29.44 0 54.95-24.93 67.45-61.31A156.83 156.83 0 0 0 480 256a160.64 160.64 0 0 0-4.72-39zM316.51 404a20.37 20.37 0 1 1-20.3 20.3 20.29 20.29 0 0 1 20.3-20.3z"},child:[]}]})(e)}function d6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M424 80H88a56.06 56.06 0 0 0-56 56v240a56.06 56.06 0 0 0 56 56h336a56.06 56.06 0 0 0 56-56V136a56.06 56.06 0 0 0-56-56zm-14.18 92.63-144 112a16 16 0 0 1-19.64 0l-144-112a16 16 0 1 1 19.64-25.26L256 251.73l134.18-104.36a16 16 0 0 1 19.64 25.26z"},child:[]}]})(e)}function x0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M80 160h352M80 256h352M80 352h352"},child:[]}]})(e)}function u6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M160 136c0-30.62 4.51-61.61 16-88C99.57 81.27 48 159.32 48 248c0 119.29 96.71 216 216 216 88.68 0 166.73-51.57 200-128-26.39 11.49-57.38 16-88 16-119.29 0-216-96.71-216-216z"},child:[]}]})(e)}function Yp(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M264 480A232 232 0 0 1 32 248c0-94 54-178.28 137.61-214.67a16 16 0 0 1 21.06 21.06C181.07 76.43 176 104.66 176 136c0 110.28 89.72 200 200 200 31.34 0 59.57-5.07 81.61-14.67a16 16 0 0 1 21.06 21.06C442.28 426 358 480 264 480z"},child:[]}]})(e)}function h6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M421.84 37.37a25.86 25.86 0 0 0-22.6-4.46L199.92 86.49A32.3 32.3 0 0 0 176 118v226c0 6.74-4.36 12.56-11.11 14.83l-.12.05-52 18C92.88 383.53 80 402 80 423.91a55.54 55.54 0 0 0 23.23 45.63A54.78 54.78 0 0 0 135.34 480a55.82 55.82 0 0 0 17.75-2.93l.38-.13 21.84-7.94A47.84 47.84 0 0 0 208 423.91v-212c0-7.29 4.77-13.21 12.16-15.07l.21-.06L395 150.14a4 4 0 0 1 5 3.86v141.93c0 6.75-4.25 12.38-11.11 14.68l-.25.09-50.89 18.11A49.09 49.09 0 0 0 304 375.92a55.67 55.67 0 0 0 23.23 45.8 54.63 54.63 0 0 0 49.88 7.35l.36-.12 21.84-7.95A47.83 47.83 0 0 0 432 375.92V58a25.74 25.74 0 0 0-10.16-20.63z"},child:[]}]})(e)}function p6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M448 464a15.92 15.92 0 0 1-11.31-4.69l-384-384a16 16 0 0 1 22.62-22.62l384 384A16 16 0 0 1 448 464zm-7.92-122.69c-1.66-2-3.29-4-4.89-5.93-22-26.61-35.31-42.67-35.31-118 0-39-9.33-71-27.72-95-13.56-17.73-31.89-31.18-56.05-41.12a3 3 0 0 1-.82-.67C306.6 51.49 282.82 32 256 32s-50.59 19.49-59.28 48.56a3.13 3.13 0 0 1-.81.65 157.88 157.88 0 0 0-21.88 11 8 8 0 0 0-1.49 12.49l261.78 261.74a8 8 0 0 0 13.6-6.63 35.39 35.39 0 0 0-7.84-18.5zM112.14 217.35c0 75.36-13.29 91.42-35.31 118-1.6 1.93-3.23 3.89-4.89 5.93a35.16 35.16 0 0 0-4.65 37.62c6.17 13 19.32 21.07 34.33 21.07H312.8a8 8 0 0 0 5.66-13.66l-192-192a8 8 0 0 0-13.62 5q-.7 8.69-.7 18.04zM256 480a80.06 80.06 0 0 0 70.44-42.13 4 4 0 0 0-3.54-5.87H189.12a4 4 0 0 0-3.55 5.87A80.06 80.06 0 0 0 256 480z"},child:[]}]})(e)}function zc(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M440.08 341.31c-1.66-2-3.29-4-4.89-5.93-22-26.61-35.31-42.67-35.31-118 0-39-9.33-71-27.72-95-13.56-17.73-31.89-31.18-56.05-41.12a3 3 0 0 1-.82-.67C306.6 51.49 282.82 32 256 32s-50.59 19.49-59.28 48.56a3.13 3.13 0 0 1-.81.65c-56.38 23.21-83.78 67.74-83.78 136.14 0 75.36-13.29 91.42-35.31 118-1.6 1.93-3.23 3.89-4.89 5.93a35.16 35.16 0 0 0-4.65 37.62c6.17 13 19.32 21.07 34.33 21.07H410.5c14.94 0 28-8.06 34.19-21a35.17 35.17 0 0 0-4.61-37.66zM256 480a80.06 80.06 0 0 0 70.44-42.13 4 4 0 0 0-3.54-5.87H189.12a4 4 0 0 0-3.55 5.87A80.06 80.06 0 0 0 256 480z"},child:[]}]})(e)}function v0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M258.9 48C141.92 46.42 46.42 141.92 48 258.9c1.56 112.19 92.91 203.54 205.1 205.1 117 1.6 212.48-93.9 210.88-210.88C462.44 140.91 371.09 49.56 258.9 48zm126.42 327.25a4 4 0 0 1-6.14-.32 124.27 124.27 0 0 0-32.35-29.59C321.37 329 289.11 320 256 320s-65.37 9-90.83 25.34a124.24 124.24 0 0 0-32.35 29.58 4 4 0 0 1-6.14.32A175.32 175.32 0 0 1 80 259c-1.63-97.31 78.22-178.76 175.57-179S432 158.81 432 256a175.32 175.32 0 0 1-46.68 119.25z"},child:[]},{tag:"path",attr:{d:"M256 144c-19.72 0-37.55 7.39-50.22 20.82s-19 32-17.57 51.93C191.11 256 221.52 288 256 288s64.83-32 67.79-71.24c1.48-19.74-4.8-38.14-17.68-51.82C293.39 151.44 275.59 144 256 144z"},child:[]}]})(e)}function _0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z"},child:[]},{tag:"circle",attr:{cx:"256",cy:"256",r:"144"},child:[]}]})(e)}function f6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"36"},child:[]},{tag:"path",attr:{d:"M190.24 341.77a22 22 0 0 1-16.46-7.38 118 118 0 0 1 0-156.76 22 22 0 1 1 32.87 29.24 74 74 0 0 0 0 98.29 22 22 0 0 1-16.43 36.61zm131.52 0a22 22 0 0 1-16.43-36.61 74 74 0 0 0 0-98.29 22 22 0 1 1 32.87-29.24 118 118 0 0 1 0 156.76 22 22 0 0 1-16.44 7.38z"},child:[]},{tag:"path",attr:{d:"M139.29 392.72a21.92 21.92 0 0 1-16.08-7 190 190 0 0 1 0-259.49 22 22 0 1 1 32.13 30.06 146 146 0 0 0 0 199.38 22 22 0 0 1-16.06 37zm233.42 0a22 22 0 0 1-16.06-37 146 146 0 0 0 0-199.38 22 22 0 1 1 32.13-30.06 190 190 0 0 1 0 259.49 21.92 21.92 0 0 1-16.07 6.95z"},child:[]},{tag:"path",attr:{d:"M429 438a22 22 0 0 1-16.39-36.67 218.34 218.34 0 0 0 0-290.66 22 22 0 0 1 32.78-29.34 262.34 262.34 0 0 1 0 349.34A22 22 0 0 1 429 438zm-346 0a21.94 21.94 0 0 1-16.41-7.33 262.34 262.34 0 0 1 0-349.34 22 22 0 0 1 32.78 29.34 218.34 218.34 0 0 0 0 290.66A22 22 0 0 1 83 438z"},child:[]}]})(e)}function m6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M320 146s24.36-12-64-12a160 160 0 1 0 160 160"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m256 58 80 80-80 80"},child:[]}]})(e)}function j0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M400 256H112"},child:[]}]})(e)}function zo(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M461.81 53.81a4.4 4.4 0 0 0-3.3-3.39c-54.38-13.3-180 34.09-248.13 102.17a294.9 294.9 0 0 0-33.09 39.08c-21-1.9-42-.3-59.88 7.5-50.49 22.2-65.18 80.18-69.28 105.07a9 9 0 0 0 9.8 10.4l81.07-8.9a180.29 180.29 0 0 0 1.1 18.3 18.15 18.15 0 0 0 5.3 11.09l31.39 31.39a18.15 18.15 0 0 0 11.1 5.3 179.91 179.91 0 0 0 18.19 1.1l-8.89 81a9 9 0 0 0 10.39 9.79c24.9-4 83-18.69 105.07-69.17 7.8-17.9 9.4-38.79 7.6-59.69a293.91 293.91 0 0 0 39.19-33.09c68.38-68 115.47-190.86 102.37-247.95zM298.66 213.67a42.7 42.7 0 1 1 60.38 0 42.65 42.65 0 0 1-60.38 0z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M109.64 352a45.06 45.06 0 0 0-26.35 12.84C65.67 382.52 64 448 64 448s65.52-1.67 83.15-19.31A44.73 44.73 0 0 0 160 402.32"},child:[]}]})(e)}function g6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M328.85 156.79a26.69 26.69 0 1 0 18.88 7.81 26.6 26.6 0 0 0-18.88-7.81z"},child:[]},{tag:"path",attr:{d:"M477.44 50.06a.29.29 0 0 1 0-.09 20.4 20.4 0 0 0-15.13-15.3c-29.8-7.27-76.68.48-128.63 21.28-52.36 21-101.42 52-134.58 85.22A320.7 320.7 0 0 0 169.55 175c-22.33-1-42 2.18-58.57 9.41-57.74 25.41-74.23 90.44-78.62 117.14a25 25 0 0 0 27.19 29h.13l64.32-7.02c.08.82.17 1.57.24 2.26a34.36 34.36 0 0 0 9.9 20.72l31.39 31.41a34.27 34.27 0 0 0 20.71 9.91l2.15.23-7 64.24v.13A25 25 0 0 0 206 480a25.25 25.25 0 0 0 4.15-.34C237 475.34 302 459.05 327.34 401c7.17-16.46 10.34-36.05 9.45-58.34a314.78 314.78 0 0 0 33.95-29.55c33.43-33.26 64.53-81.92 85.31-133.52 20.69-51.36 28.48-98.59 21.39-129.53zM370.38 224.94a58.77 58.77 0 1 1 0-83.07 58.3 58.3 0 0 1 0 83.07z"},child:[]},{tag:"path",attr:{d:"M161.93 386.44a16 16 0 0 0-11 2.67c-6.39 4.37-12.81 8.69-19.29 12.9-13.11 8.52-28.79-6.44-21-20l12.15-21a16 16 0 0 0-15.16-24.91A61.25 61.25 0 0 0 72 353.56c-3.66 3.67-14.79 14.81-20.78 57.26A357.94 357.94 0 0 0 48 447.59 16 16 0 0 0 64 464h.4a359.87 359.87 0 0 0 36.8-3.2c42.47-6 53.61-17.14 57.27-20.8a60.49 60.49 0 0 0 17.39-35.74 16 16 0 0 0-13.93-17.82z"},child:[]}]})(e)}function x6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m465.94 119.76-73.7-73.7A47.68 47.68 0 0 0 358.3 32H96a64 64 0 0 0-64 64v320a64 64 0 0 0 64 64h320a64 64 0 0 0 64-64V153.7a47.68 47.68 0 0 0-14.06-33.94zM120 112h176a8 8 0 0 1 8 8v48a8 8 0 0 1-8 8H120a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8zm139.75 319.91a80 80 0 1 1 76.16-76.16 80.06 80.06 0 0 1-76.16 76.16z"},child:[]},{tag:"circle",attr:{cx:"256",cy:"352",r:"48"},child:[]}]})(e)}function Jp(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M221.09 64a157.09 157.09 0 1 0 157.09 157.09A157.1 157.1 0 0 0 221.09 64z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M338.29 338.29 448 448"},child:[]}]})(e)}function v6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M456.69 421.39 362.6 327.3a173.81 173.81 0 0 0 34.84-104.58C397.44 126.38 319.06 48 222.72 48S48 126.38 48 222.72s78.38 174.72 174.72 174.72A173.81 173.81 0 0 0 327.3 362.6l94.09 94.09a25 25 0 0 0 35.3-35.3zM97.92 222.72a124.8 124.8 0 1 1 124.8 124.8 124.95 124.95 0 0 1-124.8-124.8z"},child:[]}]})(e)}function y0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinejoin:"round",strokeWidth:"32",d:"M336 320H32L184 48l152 272zm-70.68-125.49A144 144 0 1 1 192 320"},child:[]}]})(e)}function b0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M463.1 112.37C373.68 96.33 336.71 84.45 256 48c-80.71 36.45-117.68 48.33-207.1 64.37C32.7 369.13 240.58 457.79 256 464c15.42-6.21 223.3-94.87 207.1-351.63z"},child:[]}]})(e)}function _6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M479.07 111.35a16 16 0 0 0-13.15-14.75C379.89 81.18 343.69 69.12 266 34.16c-7.76-2.89-12.57-2.84-20 0-77.69 35-113.89 47-199.92 62.44a16 16 0 0 0-13.15 14.75c-3.85 61.1 4.34 118 24.36 169.15a348.86 348.86 0 0 0 71.43 112.41c44.67 47.43 94.2 75.12 119.74 85.6a20 20 0 0 0 15.11 0c27-10.92 74.69-37.82 119.71-85.62a348.86 348.86 0 0 0 71.43-112.39c20.02-51.14 28.21-108.05 24.36-169.15z"},child:[]}]})(e)}function j6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M208 512a24.84 24.84 0 0 1-23.34-16l-39.84-103.6a16.06 16.06 0 0 0-9.19-9.19L32 343.34a25 25 0 0 1 0-46.68l103.6-39.84a16.06 16.06 0 0 0 9.19-9.19L184.66 144a25 25 0 0 1 46.68 0l39.84 103.6a16.06 16.06 0 0 0 9.19 9.19l103 39.63a25.49 25.49 0 0 1 16.63 24.1 24.82 24.82 0 0 1-16 22.82l-103.6 39.84a16.06 16.06 0 0 0-9.19 9.19L231.34 496A24.84 24.84 0 0 1 208 512zm66.85-254.84zM88 176a14.67 14.67 0 0 1-13.69-9.4l-16.86-43.84a7.28 7.28 0 0 0-4.21-4.21L9.4 101.69a14.67 14.67 0 0 1 0-27.38l43.84-16.86a7.31 7.31 0 0 0 4.21-4.21L74.16 9.79A15 15 0 0 1 86.23.11a14.67 14.67 0 0 1 15.46 9.29l16.86 43.84a7.31 7.31 0 0 0 4.21 4.21l43.84 16.86a14.67 14.67 0 0 1 0 27.38l-43.84 16.86a7.28 7.28 0 0 0-4.21 4.21l-16.86 43.84A14.67 14.67 0 0 1 88 176zm312 80a16 16 0 0 1-14.93-10.26l-22.84-59.37a8 8 0 0 0-4.6-4.6l-59.37-22.84a16 16 0 0 1 0-29.86l59.37-22.84a8 8 0 0 0 4.6-4.6l22.67-58.95a16.45 16.45 0 0 1 13.17-10.57 16 16 0 0 1 16.86 10.15l22.84 59.37a8 8 0 0 0 4.6 4.6l59.37 22.84a16 16 0 0 1 0 29.86l-59.37 22.84a8 8 0 0 0-4.6 4.6l-22.84 59.37A16 16 0 0 1 400 256z"},child:[]}]})(e)}function y6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m326.1 231.9-47.5 75.5a31 31 0 0 1-7 7 30.11 30.11 0 0 1-35-49l75.5-47.5a10.23 10.23 0 0 1 11.7 0 10.06 10.06 0 0 1 2.3 14z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 64C132.3 64 32 164.2 32 287.9a223.18 223.18 0 0 0 56.3 148.5c1.1 1.2 2.1 2.4 3.2 3.5a25.19 25.19 0 0 0 37.1-.1 173.13 173.13 0 0 1 254.8 0 25.19 25.19 0 0 0 37.1.1l3.2-3.5A223.18 223.18 0 0 0 480 287.9C480 164.2 379.7 64 256 64z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 128v32m160 128h-32m-256 0H96m69.49-90.51-22.63-22.63m203.65 22.63 22.63-22.63"},child:[]}]})(e)}function b6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M425.7 118.25A240 240 0 0 0 76.32 447l.18.2c.33.35.64.71 1 1.05.74.84 1.58 1.79 2.57 2.78a41.17 41.17 0 0 0 60.36-.42 157.13 157.13 0 0 1 231.26 0 41.18 41.18 0 0 0 60.65.06l3.21-3.5.18-.2a239.93 239.93 0 0 0-10-328.76zM240 128a16 16 0 0 1 32 0v32a16 16 0 0 1-32 0zM128 304H96a16 16 0 0 1 0-32h32a16 16 0 0 1 0 32zm48.8-95.2a16 16 0 0 1-22.62 0l-22.63-22.62a16 16 0 0 1 22.63-22.63l22.62 22.63a16 16 0 0 1 0 22.62zm149.3 23.1-47.5 75.5a31 31 0 0 1-7 7 30.11 30.11 0 0 1-35-49l75.5-47.5a10.23 10.23 0 0 1 11.7 0 10.06 10.06 0 0 1 2.3 14zm31.72-23.1a16 16 0 0 1-22.62-22.62l22.62-22.63a16 16 0 0 1 22.63 22.63zm65.88 227.6zM416 304h-32a16 16 0 0 1 0-32h32a16 16 0 0 1 0 32z"},child:[]}]})(e)}function w0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M394 480a16 16 0 0 1-9.39-3L256 383.76 127.39 477a16 16 0 0 1-24.55-18.08L153 310.35 23 221.2a16 16 0 0 1 9-29.2h160.38l48.4-148.95a16 16 0 0 1 30.44 0l48.4 149H480a16 16 0 0 1 9.05 29.2L359 310.35l50.13 148.53A16 16 0 0 1 394 480z"},child:[]}]})(e)}function w6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 48v48m0 320v48m147.08-355.08-33.94 33.94M142.86 369.14l-33.94 33.94M464 256h-48m-320 0H48m355.08 147.08-33.94-33.94M142.86 142.86l-33.94-33.94"},child:[]},{tag:"circle",attr:{cx:"256",cy:"256",r:"80",fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32"},child:[]}]})(e)}function Xp(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 118a22 22 0 0 1-22-22V48a22 22 0 0 1 44 0v48a22 22 0 0 1-22 22zm0 368a22 22 0 0 1-22-22v-48a22 22 0 0 1 44 0v48a22 22 0 0 1-22 22zm113.14-321.14a22 22 0 0 1-15.56-37.55l33.94-33.94a22 22 0 0 1 31.11 31.11l-33.94 33.94a21.93 21.93 0 0 1-15.55 6.44zM108.92 425.08a22 22 0 0 1-15.55-37.56l33.94-33.94a22 22 0 1 1 31.11 31.11l-33.94 33.94a21.94 21.94 0 0 1-15.56 6.45zM464 278h-48a22 22 0 0 1 0-44h48a22 22 0 0 1 0 44zm-368 0H48a22 22 0 0 1 0-44h48a22 22 0 0 1 0 44zm307.08 147.08a21.94 21.94 0 0 1-15.56-6.45l-33.94-33.94a22 22 0 0 1 31.11-31.11l33.94 33.94a22 22 0 0 1-15.55 37.56zM142.86 164.86a21.89 21.89 0 0 1-15.55-6.44l-33.94-33.94a22 22 0 0 1 31.11-31.11l33.94 33.94a22 22 0 0 1-15.56 37.55zM256 358a102 102 0 1 1 102-102 102.12 102.12 0 0 1-102 102z"},child:[]}]})(e)}function hl(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M434.67 285.59v-29.8c0-98.73-80.24-178.79-179.2-178.79a179 179 0 0 0-140.14 67.36m-38.53 82v29.8C76.8 355 157 435 256 435a180.45 180.45 0 0 0 140-66.92"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m32 256 44-44 46 44m358 0-44 44-46-44"},child:[]}]})(e)}function C0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m32 415.5 120-320 120 320m-42-112H74m252-64c12.19-28.69 41-48 74-48h0c46 0 80 32 80 80v144"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M320 358.5c0 36 26.86 58 60 58 54 0 100-27 100-106v-15c-20 0-58 1-92 5-32.77 3.86-68 19-68 58z"},child:[]}]})(e)}function C6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M320 287.18V81c0-35.12-27.89-64.42-63-64.95a64.08 64.08 0 0 0-65 64v207.13a8 8 0 0 1-3.18 6.37A113.48 113.48 0 0 0 144 384a112 112 0 0 0 224 0 113.48 113.48 0 0 0-44.82-90.45 8 8 0 0 1-3.18-6.37zM254.07 432a48 48 0 0 1-22-89.54 16 16 0 0 0 8-13.84V112.45c0-8.61 6.62-16 15.23-16.43A16 16 0 0 1 272 112v216.58a16.18 16.18 0 0 0 8.15 13.94A48 48 0 0 1 254.07 432z"},child:[]}]})(e)}function k6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m472.06 334-144.16-6.13c-4.61-.36-23.9-1.21-23.9-25.87 0-23.81 19.16-25.33 24.14-25.88L472.06 270c12.67.13 23.94 14.43 23.94 32s-11.27 31.87-23.94 32zM330.61 202.33 437.35 194C450 194 464 210.68 464 227.88v.33c0 16.32-11.14 29.62-24.88 29.79l-108.45-1.73C304 253 304 236.83 304 229.88c0-22.88 21.8-27.15 26.61-27.55zM421.85 480l-89.37-8.93C308 470.14 304 453.82 304 443.59c0-18.38 13.41-24.6 26.67-24.6l91-3c14.54.23 26.32 14.5 26.32 32s-11.67 31.67-26.14 32.01zm34.36-71.5-126.4-6.21c-9.39-.63-25.81-3-25.81-26.37 0-12 4.35-25.61 25-27.53l127.19-3.88c13.16.14 23.81 13.49 23.81 31.4s-10.65 32.43-23.79 32.58z"},child:[]},{tag:"path",attr:{fill:"none",d:"M133.55 238.06A15.85 15.85 0 0 1 126 240a15.82 15.82 0 0 0 7.51-1.92zm40.59-69.28.13-.23-.13.23c-20.5 35.51-30.36 54.95-33.82 62 3.47-7.07 13.34-26.51 33.82-62z"},child:[]},{tag:"path",attr:{d:"m139.34 232.84 1-2a16.27 16.27 0 0 1-6.77 7.25 16.35 16.35 0 0 0 5.77-5.25z"},child:[]},{tag:"path",attr:{d:"M316.06 52.62C306.63 39.32 291 32 272 32a16 16 0 0 0-14.31 8.84c-3 6.07-15.25 24-28.19 42.91-18 26.33-40.35 59.07-55.23 84.8l-.13.23c-20.48 35.49-30.35 54.93-33.82 62l-1 2a16.35 16.35 0 0 1-5.79 5.22 15.82 15.82 0 0 1-7.53 2h-25.31A84.69 84.69 0 0 0 16 324.69v38.61a84.69 84.69 0 0 0 84.69 84.7h48.79a17.55 17.55 0 0 1 9.58 2.89C182 465.87 225.34 480 272 480c7.45 0 14.19-.14 20.27-.38a8 8 0 0 0 6.2-12.68l-.1-.14C289.8 454.41 288 441 288 432a61.2 61.2 0 0 1 5.19-24.77 17.36 17.36 0 0 0 0-14.05 63.81 63.81 0 0 1 0-50.39 17.32 17.32 0 0 0 0-14 62.15 62.15 0 0 1 0-49.59 18.13 18.13 0 0 0 0-14.68A60.33 60.33 0 0 1 288 239c0-8.2 2-21.3 8-31.19a15.63 15.63 0 0 0 1.14-13.64c-.38-1-.76-2.07-1.13-3.17a24.84 24.84 0 0 1-.86-11.58c3-19.34 9.67-36.29 16.74-54.16 3.08-7.78 6.27-15.82 9.22-24.26 6.14-17.57 4.3-35.2-5.05-48.38z"},child:[]}]})(e)}function S6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 128v144h96"},child:[]}]})(e)}function k0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"368",cy:"256",r:"128",fill:"none",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"rect",attr:{width:"480",height:"256",x:"16",y:"128",fill:"none",strokeLinejoin:"round",strokeWidth:"32",rx:"128",ry:"128"},child:[]}]})(e)}function N6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",d:"M296 64h-80a7.91 7.91 0 0 0-8 8v24h96V72a7.91 7.91 0 0 0-8-8z"},child:[]},{tag:"path",attr:{d:"M432 96h-96V72a40 40 0 0 0-40-40h-80a40 40 0 0 0-40 40v24H80a16 16 0 0 0 0 32h17l19 304.92c1.42 26.85 22 47.08 48 47.08h184c26.13 0 46.3-19.78 48-47l19-305h17a16 16 0 0 0 0-32zM192.57 416H192a16 16 0 0 1-16-15.43l-8-224a16 16 0 1 1 32-1.14l8 224A16 16 0 0 1 192.57 416zM272 400a16 16 0 0 1-32 0V176a16 16 0 0 1 32 0zm32-304h-96V72a7.91 7.91 0 0 1 8-8h80a7.91 7.91 0 0 1 8 8zm32 304.57A16 16 0 0 1 320 416h-.58A16 16 0 0 1 304 399.43l8-224a16 16 0 1 1 32 1.14z"},child:[]}]})(e)}function $6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M416 432 64 80"},child:[]},{tag:"path",attr:{d:"M243.33 98.86a23.89 23.89 0 0 0-25.55 1.82l-.66.51-28.52 23.35a8 8 0 0 0-.59 11.85l54.33 54.33a8 8 0 0 0 13.66-5.66v-64.49a24.51 24.51 0 0 0-12.67-21.71zm8 236.43L96.69 180.69A16 16 0 0 0 85.38 176H56a24 24 0 0 0-24 24v112a24 24 0 0 0 24 24h69.76l92 75.31a23.9 23.9 0 0 0 25.87 1.69A24.51 24.51 0 0 0 256 391.45v-44.86a16 16 0 0 0-4.67-11.3zM352 256c0-24.56-5.81-47.87-17.75-71.27a16 16 0 1 0-28.5 14.55C315.34 218.06 320 236.62 320 256q0 4-.31 8.13a8 8 0 0 0 2.32 6.25l14.36 14.36a8 8 0 0 0 13.55-4.31A146 146 0 0 0 352 256zm64 0c0-51.18-13.08-83.89-34.18-120.06a16 16 0 0 0-27.64 16.12C373.07 184.44 384 211.83 384 256c0 23.83-3.29 42.88-9.37 60.65a8 8 0 0 0 1.9 8.26L389 337.4a8 8 0 0 0 13.13-2.79C411 311.76 416 287.26 416 256z"},child:[]},{tag:"path",attr:{d:"M480 256c0-74.25-20.19-121.11-50.51-168.61a16 16 0 1 0-27 17.22C429.82 147.38 448 189.5 448 256c0 46.19-8.43 80.27-22.43 110.53a8 8 0 0 0 1.59 9l11.92 11.92a8 8 0 0 0 12.92-2.16C471.6 344.9 480 305 480 256z"},child:[]}]})(e)}function E6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M449.07 399.08 278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0 0 80 446.25h340.89a32 32 0 0 0 28.18-47.17zm-198.6-1.83a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm21.72-201.15-5.74 122a16 16 0 0 1-32 0l-5.74-121.95a21.73 21.73 0 0 1 21.5-22.69h.21a21.74 21.74 0 0 1 21.73 22.7z"},child:[]}]})(e)}function z6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M265.12 60.12a12 12 0 0 0-18.23 0C215.23 97.15 112 225.17 112 320c0 88.37 55.64 144 144 144s144-55.63 144-144c0-94.83-103.23-222.85-134.88-259.88zM272 412a12 12 0 0 1-11.34-16 11.89 11.89 0 0 1 11.41-8A60.06 60.06 0 0 0 332 328.07a11.89 11.89 0 0 1 8-11.41A12 12 0 0 1 356 328a84.09 84.09 0 0 1-84 84z"},child:[]}]})(e)}function Lc(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M346.65 304.3a136 136 0 0 0-180.71 0 21 21 0 1 0 27.91 31.38 94 94 0 0 1 124.89 0 21 21 0 0 0 27.91-31.4z"},child:[]},{tag:"path",attr:{d:"M256.28 183.7a221.47 221.47 0 0 0-151.8 59.92 21 21 0 1 0 28.68 30.67 180.28 180.28 0 0 1 246.24 0 21 21 0 1 0 28.68-30.67 221.47 221.47 0 0 0-151.8-59.92z"},child:[]},{tag:"path",attr:{d:"M462 175.86a309 309 0 0 0-411.44 0 21 21 0 1 0 28 31.29 267 267 0 0 1 355.43 0 21 21 0 0 0 28-31.31z"},child:[]},{tag:"circle",attr:{cx:"256.28",cy:"393.41",r:"32"},child:[]}]})(e)}const L6="_sidebar_1nu6q_42",I6="_header_1nu6q_60",R6="_logo_1nu6q_66",A6="_icon_1nu6q_78",P6="_nav_1nu6q_85",M6="_section_1nu6q_88",T6="_title_1nu6q_94",F6="_list_1nu6q_103",B6="_item_1nu6q_108",O6="_active_1nu6q_124",D6="_itemIcon_1nu6q_133",U6="_text_1nu6q_141",H6="_open_1nu6q_159",pn={sidebar:L6,header:I6,logo:R6,icon:A6,nav:P6,section:M6,title:T6,list:F6,item:B6,active:O6,itemIcon:D6,text:U6,open:H6,"accordion-down":"_accordion-down_1nu6q_1","accordion-up":"_accordion-up_1nu6q_1"};var S0={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** + */function js(){return js=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[s]=e[s]);return n}function Yx(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Jx(e,t){return e.button===0&&(!t||t==="_self")&&!Yx(e)}const Xx=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Zx=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],ev="6";try{window.__reactRouterVersion=ev}catch{}function tv(e,t){return hx({basename:void 0,future:js({},void 0,{v7_prependBasename:!0}),history:M4({window:void 0}),hydrationData:nv(),routes:e,mapRouteProperties:Qx,unstable_dataStrategy:void 0,unstable_patchRoutesOnMiss:void 0,window:void 0}).initialize()}function nv(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=js({},t,{errors:rv(t.errors)})),t}function rv(e){if(!e)return null;let t=Object.entries(e),n={};for(let[i,s]of t)if(s&&s.__type==="RouteErrorResponse")n[i]=new Ou(s.status,s.statusText,s.data,s.internal===!0);else if(s&&s.__type==="Error"){if(s.__subType){let a=window[s.__subType];if(typeof a=="function")try{let o=new a(s.message);o.stack="",n[i]=o}catch{}}if(n[i]==null){let a=new Error(s.message);a.stack="",n[i]=a}}else n[i]=s;return n}const t0=b.createContext({isTransitioning:!1}),iv=b.createContext(new Map),sv="startTransition",Lp=Cg[sv],av="flushSync",Ip=P4[av];function ov(e){Lp?Lp(e):e()}function Bs(e){Ip?Ip(e):e()}class lv{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=i=>{this.status==="pending"&&(this.status="resolved",t(i))},this.reject=i=>{this.status==="pending"&&(this.status="rejected",n(i))}})}}function cv(e){let{fallbackElement:t,router:n,future:i}=e,[s,a]=b.useState(n.state),[o,l]=b.useState(),[c,u]=b.useState({isTransitioning:!1}),[h,f]=b.useState(),[p,x]=b.useState(),[j,y]=b.useState(),C=b.useRef(new Map),{v7_startTransition:_}=i||{},d=b.useCallback(E=>{_?ov(E):E()},[_]),m=b.useCallback((E,L)=>{let{deletedFetchers:R,unstable_flushSync:F,unstable_viewTransitionOpts:Y}=L;R.forEach(O=>C.current.delete(O)),E.fetchers.forEach((O,U)=>{O.data!==void 0&&C.current.set(U,O.data)});let q=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!Y||q){F?Bs(()=>a(E)):d(()=>a(E));return}if(F){Bs(()=>{p&&(h&&h.resolve(),p.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:Y.currentLocation,nextLocation:Y.nextLocation})});let O=n.window.document.startViewTransition(()=>{Bs(()=>a(E))});O.finished.finally(()=>{Bs(()=>{f(void 0),x(void 0),l(void 0),u({isTransitioning:!1})})}),Bs(()=>x(O));return}p?(h&&h.resolve(),p.skipTransition(),y({state:E,currentLocation:Y.currentLocation,nextLocation:Y.nextLocation})):(l(E),u({isTransitioning:!0,flushSync:!1,currentLocation:Y.currentLocation,nextLocation:Y.nextLocation}))},[n.window,p,h,C,d]);b.useLayoutEffect(()=>n.subscribe(m),[n,m]),b.useEffect(()=>{c.isTransitioning&&!c.flushSync&&f(new lv)},[c]),b.useEffect(()=>{if(h&&o&&n.window){let E=o,L=h.promise,R=n.window.document.startViewTransition(async()=>{d(()=>a(E)),await L});R.finished.finally(()=>{f(void 0),x(void 0),l(void 0),u({isTransitioning:!1})}),x(R)}},[d,o,h,n.window]),b.useEffect(()=>{h&&o&&s.location.key===o.location.key&&h.resolve()},[h,p,s.location,o]),b.useEffect(()=>{!c.isTransitioning&&j&&(l(j.state),u({isTransitioning:!0,flushSync:!1,currentLocation:j.currentLocation,nextLocation:j.nextLocation}),y(void 0))},[c.isTransitioning,j]),b.useEffect(()=>{},[]);let v=b.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:E=>n.navigate(E),push:(E,L,R)=>n.navigate(E,{state:L,preventScrollReset:R==null?void 0:R.preventScrollReset}),replace:(E,L,R)=>n.navigate(E,{replace:!0,state:L,preventScrollReset:R==null?void 0:R.preventScrollReset})}),[n]),w=n.basename||"/",g=b.useMemo(()=>({router:n,navigator:v,static:!1,basename:w}),[n,v,w]),S=b.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return b.createElement(b.Fragment,null,b.createElement(Oa.Provider,{value:g},b.createElement(Hu.Provider,{value:s},b.createElement(iv.Provider,{value:C.current},b.createElement(t0.Provider,{value:c},b.createElement(Gx,{basename:w,location:s.location,navigationType:s.historyAction,navigator:v,future:S},s.initialized||n.future.v7_partialHydration?b.createElement(dv,{routes:n.routes,future:n.future,state:s}):t))))),null)}const dv=b.memo(uv);function uv(e){let{routes:t,future:n,state:i}=e;return Mx(t,void 0,i,n)}const hv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",pv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,qu=b.forwardRef(function(t,n){let{onClick:i,relative:s,reloadDocument:a,replace:o,state:l,target:c,to:u,preventScrollReset:h,unstable_viewTransition:f}=t,p=e0(t,Xx),{basename:x}=b.useContext(Ir),j,y=!1;if(typeof u=="string"&&pv.test(u)&&(j=u,hv))try{let m=new URL(window.location.href),v=u.startsWith("//")?new URL(m.protocol+u):new URL(u),w=Er(v.pathname,x);v.origin===m.origin&&w!=null?u=w+v.search+v.hash:y=!0}catch{}let C=Ix(u,{relative:s}),_=gv(u,{replace:o,state:l,target:c,preventScrollReset:h,relative:s,unstable_viewTransition:f});function d(m){i&&i(m),m.defaultPrevented||_(m)}return b.createElement("a",js({},p,{href:j||C,onClick:y||a?i:d,ref:n,target:c}))}),fv=b.forwardRef(function(t,n){let{"aria-current":i="page",caseSensitive:s=!1,className:a="",end:o=!1,style:l,to:c,unstable_viewTransition:u,children:h}=t,f=e0(t,Zx),p=Fl(c,{relative:f.relative}),x=ks(),j=b.useContext(Hu),{navigator:y,basename:C}=b.useContext(Ir),_=j!=null&&xv(p)&&u===!0,d=y.encodeLocation?y.encodeLocation(p).pathname:p.pathname,m=x.pathname,v=j&&j.navigation&&j.navigation.location?j.navigation.location.pathname:null;s||(m=m.toLowerCase(),v=v?v.toLowerCase():null,d=d.toLowerCase()),v&&C&&(v=Er(v,C)||v);const w=d!=="/"&&d.endsWith("/")?d.length-1:d.length;let g=m===d||!o&&m.startsWith(d)&&m.charAt(w)==="/",S=v!=null&&(v===d||!o&&v.startsWith(d)&&v.charAt(d.length)==="/"),E={isActive:g,isPending:S,isTransitioning:_},L=g?i:void 0,R;typeof a=="function"?R=a(E):R=[a,g?"active":null,S?"pending":null,_?"transitioning":null].filter(Boolean).join(" ");let F=typeof l=="function"?l(E):l;return b.createElement(qu,js({},f,{"aria-current":L,className:R,ref:n,style:F,to:c,unstable_viewTransition:u}),typeof h=="function"?h(E):h)});var Rd;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Rd||(Rd={}));var Rp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Rp||(Rp={}));function mv(e){let t=b.useContext(Oa);return t||we(!1),t}function gv(e,t){let{target:n,replace:i,state:s,preventScrollReset:a,relative:o,unstable_viewTransition:l}=t===void 0?{}:t,c=Ym(),u=ks(),h=Fl(e,{relative:o});return b.useCallback(f=>{if(Jx(f,n)){f.preventDefault();let p=i!==void 0?i:Ii(u)===Ii(h);c(e,{replace:p,state:s,preventScrollReset:a,relative:o,unstable_viewTransition:l})}},[u,c,h,i,s,n,e,a,o,l])}function xv(e,t){t===void 0&&(t={});let n=b.useContext(t0);n==null&&we(!1);let{basename:i}=mv(Rd.useViewTransitionState),s=Fl(e,{relative:t.relative});if(!n.isTransitioning)return!1;let a=Er(n.currentLocation.pathname,i)||n.currentLocation.pathname,o=Er(n.nextLocation.pathname,i)||n.nextLocation.pathname;return rl(s.pathname,o)!=null||rl(s.pathname,a)!=null}const vv=(...e)=>{console!=null&&console.warn&&(ki(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))},Ap={},Ad=(...e)=>{ki(e[0])&&Ap[e[0]]||(ki(e[0])&&(Ap[e[0]]=new Date),vv(...e))},n0=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},Pp=(e,t,n)=>{e.loadNamespaces(t,n0(e,n))},Mp=(e,t,n,i)=>{ki(n)&&(n=[n]),n.forEach(s=>{e.options.ns.indexOf(s)<0&&e.options.ns.push(s)}),e.loadLanguages(t,n0(e,i))},_v=(e,t,n={})=>!t.languages||!t.languages.length?(Ad("i18n.languages were undefined or empty",t.languages),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(i,s)=>{var a;if(((a=n.bindI18n)==null?void 0:a.indexOf("languageChanging"))>-1&&i.services.backendConnector.backend&&i.isLanguageChangingTo&&!s(i.isLanguageChangingTo,e))return!1}}),ki=e=>typeof e=="string",jv=e=>typeof e=="object"&&e!==null,yv=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,bv={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},wv=e=>bv[e],Cv=e=>e.replace(yv,wv);let Pd={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Cv};const kv=(e={})=>{Pd={...Pd,...e}},Sv=()=>Pd;let r0;const Nv=e=>{r0=e},$v=()=>r0,Ev={type:"3rdParty",init(e){kv(e.options.react),Nv(e)}},i0=b.createContext();class zv{constructor(){ih(this,"getUsedNamespaces",()=>Object.keys(this.usedNamespaces));this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{var i;(i=this.usedNamespaces)[n]??(i[n]=!0)})}}const Lv=(e,t)=>{const n=b.useRef();return b.useEffect(()=>{n.current=e},[e,t]),n.current},s0=(e,t,n,i)=>e.getFixedT(t,n,i),Iv=(e,t,n,i)=>b.useCallback(s0(e,t,n,i),[e,t,n,i]),Le=(e,t={})=>{var v,w,g,S;const{i18n:n}=t,{i18n:i,defaultNS:s}=b.useContext(i0)||{},a=n||i||$v();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new zv),!a){Ad("You will need to pass in an i18next instance by using initReactI18next");const E=(R,F)=>ki(F)?F:jv(F)&&ki(F.defaultValue)?F.defaultValue:Array.isArray(R)?R[R.length-1]:R,L=[E,{},!1];return L.t=E,L.i18n={},L.ready=!1,L}(v=a.options.react)!=null&&v.wait&&Ad("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...Sv(),...a.options.react,...t},{useSuspense:l,keyPrefix:c}=o;let u=s||((w=a.options)==null?void 0:w.defaultNS);u=ki(u)?[u]:u||["translation"],(S=(g=a.reportNamespaces).addUsedNamespaces)==null||S.call(g,u);const h=(a.isInitialized||a.initializedStoreOnce)&&u.every(E=>_v(E,a,o)),f=Iv(a,t.lng||null,o.nsMode==="fallback"?u:u[0],c),p=()=>f,x=()=>s0(a,t.lng||null,o.nsMode==="fallback"?u:u[0],c),[j,y]=b.useState(p);let C=u.join();t.lng&&(C=`${t.lng}${C}`);const _=Lv(C),d=b.useRef(!0);b.useEffect(()=>{const{bindI18n:E,bindI18nStore:L}=o;d.current=!0,!h&&!l&&(t.lng?Mp(a,t.lng,u,()=>{d.current&&y(x)}):Pp(a,u,()=>{d.current&&y(x)})),h&&_&&_!==C&&d.current&&y(x);const R=()=>{d.current&&y(x)};return E&&(a==null||a.on(E,R)),L&&(a==null||a.store.on(L,R)),()=>{d.current=!1,a&&(E==null||E.split(" ").forEach(F=>a.off(F,R))),L&&a&&L.split(" ").forEach(F=>a.store.off(F,R))}},[a,C]),b.useEffect(()=>{d.current&&h&&y(p)},[a,c,h]);const m=[j,a,h];if(m.t=j,m.i18n=a,m.ready=h,h||!h&&!l)return m;throw new Promise(E=>{t.lng?Mp(a,t.lng,u,()=>E()):Pp(a,u,()=>E())})};function Rv({i18n:e,defaultNS:t,children:n}){const i=b.useMemo(()=>({i18n:e,defaultNS:t}),[e,t]);return b.createElement(i0.Provider,{value:i},n)}const Av={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class al{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||Av,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),i=0;i{this.observers[i]||(this.observers[i]=new Map);const s=this.observers[i].get(n)||0;this.observers[i].set(n,s+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s{let[l,c]=o;for(let u=0;u{let[l,c]=o;for(let u=0;u{e=i,t=s});return n.resolve=e,n.reject=t,n}function Tp(e){return e==null?"":""+e}function Pv(e,t,n){e.forEach(i=>{t[i]&&(n[i]=t[i])})}const Mv=/###/g;function ca(e,t,n){function i(l){return l&&l.indexOf("###")>-1?l.replace(Mv,"."):l}function s(){return!e||typeof e=="string"}const a=typeof t!="string"?t:t.split(".");let o=0;for(;o":">",'"':""","'":"'","/":"/"};function Ov(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>Bv[t]):e}class Dv{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const i=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,i),this.regExpQueue.push(t),i}}const Uv=[" ",",","?","!",";"],Hv=new Dv(20);function Wv(e,t,n){t=t||"",n=n||"";const i=Uv.filter(o=>t.indexOf(o)<0&&n.indexOf(o)<0);if(i.length===0)return!0;const s=Hv.getRegExp(`(${i.map(o=>o==="?"?"\\?":o).join("|")})`);let a=!s.test(e);if(!a){const o=e.indexOf(n);o>0&&!s.test(e.substring(0,o))&&(a=!0)}return a}function Md(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const i=t.split(n);let s=e;for(let a=0;a-1&&c0?e.replace("_","-"):e}class Bp extends Bl{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,o=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,n],i&&(Array.isArray(i)?l.push(...i):typeof i=="string"&&a?l.push(...i.split(a)):l.push(i)));const c=ol(this.data,l);return!c&&!n&&!i&&t.indexOf(".")>-1&&(t=l[0],n=l[1],i=l.slice(2).join(".")),c||!o||typeof i!="string"?c:Md(this.data&&this.data[t]&&this.data[t][n],i,a)}addResource(t,n,i,s){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let l=[t,n];i&&(l=l.concat(o?i.split(o):i)),t.indexOf(".")>-1&&(l=t.split("."),s=n,n=l[1]),this.addNamespaces(n),Fp(this.data,l,s),a.silent||this.emit("added",t,n,i,s)}addResources(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const a in i)(typeof i[a]=="string"||Array.isArray(i[a]))&&this.addResource(t,n,a,i[a],{silent:!0});s.silent||this.emit("added",t,n,i)}addResourceBundle(t,n,i,s,a){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[t,n];t.indexOf(".")>-1&&(l=t.split("."),s=i,i=n,n=l[1]),this.addNamespaces(n);let c=ol(this.data,l)||{};o.skipCopy||(i=JSON.parse(JSON.stringify(i))),s?a0(c,i,a):c={...c,...i},Fp(this.data,l,c),o.silent||this.emit("added",t,n,i)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(s=>n[s]&&Object.keys(n[s]).length>0)}toJSON(){return this.data}}var o0={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,i,s){return e.forEach(a=>{this.processors[a]&&(t=this.processors[a].process(t,n,i,s))}),t}};const Op={};class cl extends Bl{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Pv(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=ar.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const i=this.resolve(t,n);return i&&i.res!==void 0}extractFromKey(t,n){let i=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let a=n.ns||this.options.defaultNS||[];const o=i&&t.indexOf(i)>-1,l=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!Wv(t,i,s);if(o&&!l){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:a};const u=t.split(i);(i!==s||i===s&&this.options.ns.indexOf(u[0])>-1)&&(a=u.shift()),t=u.join(s)}return typeof a=="string"&&(a=[a]),{key:t,namespaces:a}}translate(t,n,i){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const s=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(t[t.length-1],n),c=l[l.length-1],u=n.lng||this.language,h=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(h){const v=n.nsSeparator||this.options.nsSeparator;return s?{res:`${c}${v}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:`${c}${v}${o}`}return s?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:o}const f=this.resolve(t,n);let p=f&&f.res;const x=f&&f.usedKey||o,j=f&&f.exactUsedKey||o,y=Object.prototype.toString.apply(p),C=["[object Number]","[object Function]","[object RegExp]"],_=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,d=!this.i18nFormat||this.i18nFormat.handleAsObject;if(d&&p&&(typeof p!="string"&&typeof p!="boolean"&&typeof p!="number")&&C.indexOf(y)<0&&!(typeof _=="string"&&Array.isArray(p))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const v=this.options.returnedObjectHandler?this.options.returnedObjectHandler(x,p,{...n,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return s?(f.res=v,f.usedParams=this.getUsedParamsDetails(n),f):v}if(a){const v=Array.isArray(p),w=v?[]:{},g=v?j:x;for(const S in p)if(Object.prototype.hasOwnProperty.call(p,S)){const E=`${g}${a}${S}`;w[S]=this.translate(E,{...n,joinArrays:!1,ns:l}),w[S]===E&&(w[S]=p[S])}p=w}}else if(d&&typeof _=="string"&&Array.isArray(p))p=p.join(_),p&&(p=this.extendTranslation(p,t,n,i));else{let v=!1,w=!1;const g=n.count!==void 0&&typeof n.count!="string",S=cl.hasDefaultValue(n),E=g?this.pluralResolver.getSuffix(u,n.count,n):"",L=n.ordinal&&g?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",R=g&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),F=R&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${E}`]||n[`defaultValue${L}`]||n.defaultValue;!this.isValidLookup(p)&&S&&(v=!0,p=F),this.isValidLookup(p)||(w=!0,p=o);const q=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&w?void 0:p,O=S&&F!==p&&this.options.updateMissing;if(w||v||O){if(this.logger.log(O?"updateKey":"missingKey",u,c,o,O?F:p),a){const I=this.resolve(o,{...n,keySeparator:!1});I&&I.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let U=[];const K=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&K&&K[0])for(let I=0;I{const se=S&&V!==p?V:q;this.options.missingKeyHandler?this.options.missingKeyHandler(I,c,B,se,O,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(I,c,B,se,O,n),this.emit("missingKey",I,c,B,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&g?U.forEach(I=>{const B=this.pluralResolver.getSuffixes(I,n);R&&n[`defaultValue${this.options.pluralSeparator}zero`]&&B.indexOf(`${this.options.pluralSeparator}zero`)<0&&B.push(`${this.options.pluralSeparator}zero`),B.forEach(V=>{J([I],o+V,n[`defaultValue${V}`]||F)})}):J(U,o,F))}p=this.extendTranslation(p,t,n,f,i),w&&p===o&&this.options.appendNamespaceToMissingKey&&(p=`${c}:${o}`),(w||v)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?p=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${o}`:o,v?p:void 0):p=this.options.parseMissingKeyHandler(p))}return s?(f.res=p,f.usedParams=this.getUsedParamsDetails(n),f):p}extendTranslation(t,n,i,s,a){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});const u=typeof t=="string"&&(i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let h;if(u){const p=t.match(this.interpolator.nestingRegexp);h=p&&p.length}let f=i.replace&&typeof i.replace!="string"?i.replace:i;if(this.options.interpolation.defaultVariables&&(f={...this.options.interpolation.defaultVariables,...f}),t=this.interpolator.interpolate(t,f,i.lng||this.language||s.usedLng,i),u){const p=t.match(this.interpolator.nestingRegexp),x=p&&p.length;h1&&arguments[1]!==void 0?arguments[1]:{},i,s,a,o,l;return typeof t=="string"&&(t=[t]),t.forEach(c=>{if(this.isValidLookup(i))return;const u=this.extractFromKey(c,n),h=u.key;s=h;let f=u.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const p=n.count!==void 0&&typeof n.count!="string",x=p&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),j=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",y=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);f.forEach(C=>{this.isValidLookup(i)||(l=C,!Op[`${y[0]}-${C}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(l)&&(Op[`${y[0]}-${C}`]=!0,this.logger.warn(`key "${s}" for languages "${y.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),y.forEach(_=>{if(this.isValidLookup(i))return;o=_;const d=[h];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(d,h,_,C,n);else{let v;p&&(v=this.pluralResolver.getSuffix(_,n.count,n));const w=`${this.options.pluralSeparator}zero`,g=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(p&&(d.push(h+v),n.ordinal&&v.indexOf(g)===0&&d.push(h+v.replace(g,this.options.pluralSeparator)),x&&d.push(h+w)),j){const S=`${h}${this.options.contextSeparator}${n.context}`;d.push(S),p&&(d.push(S+v),n.ordinal&&v.indexOf(g)===0&&d.push(S+v.replace(g,this.options.pluralSeparator)),x&&d.push(S+w))}}let m;for(;m=d.pop();)this.isValidLookup(i)||(a=m,i=this.getResource(_,C,m,n))}))})}),{res:i,usedKey:s,exactUsedKey:a,usedLng:o,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,i,s):this.resourceStore.getResource(t,n,i,s)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=t.replace&&typeof t.replace!="string";let s=i?t.replace:t;if(i&&typeof t.count<"u"&&(s.count=t.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!i){s={...s};for(const a of n)delete s[a]}return s}static hasDefaultValue(t){const n="defaultValue";for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&n===i.substring(0,n.length)&&t[i]!==void 0)return!0;return!1}}function bc(e){return e.charAt(0).toUpperCase()+e.slice(1)}class Dp{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ar.create("languageUtils")}getScriptPartFromCode(t){if(t=ll(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=ll(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let i=t.split("-");return this.options.lowerCaseLng?i=i.map(s=>s.toLowerCase()):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),n.indexOf(i[1].toLowerCase())>-1&&(i[1]=bc(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),n.indexOf(i[1].toLowerCase())>-1&&(i[1]=bc(i[1].toLowerCase())),n.indexOf(i[2].toLowerCase())>-1&&(i[2]=bc(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(i=>{if(n)return;const s=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(s))&&(n=s)}),!n&&this.options.supportedLngs&&t.forEach(i=>{if(n)return;const s=this.getLanguagePartFromCode(i);if(this.isSupportedCode(s))return n=s;n=this.options.supportedLngs.find(a=>{if(a===s)return a;if(!(a.indexOf("-")<0&&s.indexOf("-")<0)&&(a.indexOf("-")>0&&s.indexOf("-")<0&&a.substring(0,a.indexOf("-"))===s||a.indexOf(s)===0&&s.length>1))return a})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let i=t[n];return i||(i=t[this.getScriptPartFromCode(n)]),i||(i=t[this.formatLanguageCode(n)]),i||(i=t[this.getLanguagePartFromCode(n)]),i||(i=t.default),i||[]}toResolveHierarchy(t,n){const i=this.getFallbackCodes(n||this.options.fallbackLng||[],t),s=[],a=o=>{o&&(this.isSupportedCode(o)?s.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(t))):typeof t=="string"&&a(this.formatLanguageCode(t)),i.forEach(o=>{s.indexOf(o)<0&&a(this.formatLanguageCode(o))}),s}}let qv=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Vv={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const Kv=["v1","v2","v3"],Gv=["v4"],Up={zero:0,one:1,two:2,few:3,many:4,other:5};function Qv(){const e={};return qv.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:Vv[t.fc]}})}),e}class Yv{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=ar.create("pluralResolver"),(!this.options.compatibilityJSON||Gv.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Qv()}addRule(t,n){this.rules[t]=n}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(ll(t==="dev"?"en":t),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,n);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}getPluralFormsOfKey(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,i).map(s=>`${n}${s}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,n);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort((s,a)=>Up[s]-Up[a]).map(s=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${s}`):i.numbers.map(s=>this.getSuffix(t,s,n)):[]}getSuffix(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s=this.getRule(t,i);return s?this.shouldUseIntlApi()?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${s.select(n)}`:this.getSuffixRetroCompatible(s,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const i=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let s=t.numbers[i];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(s===2?s="plural":s===1&&(s=""));const a=()=>this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString();return this.options.compatibilityJSON==="v1"?s===1?"":typeof s=="number"?`_plural_${s.toString()}`:a():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?a():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}shouldUseIntlApi(){return!Kv.includes(this.options.compatibilityJSON)}}function Hp(e,t,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=Fv(e,t,n);return!a&&s&&typeof n=="string"&&(a=Md(e,n,i),a===void 0&&(a=Md(t,n,i))),a}class Jv{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ar.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:i,useRawValueToEscape:s,prefix:a,prefixEscaped:o,suffix:l,suffixEscaped:c,formatSeparator:u,unescapeSuffix:h,unescapePrefix:f,nestingPrefix:p,nestingPrefixEscaped:x,nestingSuffix:j,nestingSuffixEscaped:y,nestingOptionsSeparator:C,maxReplaces:_,alwaysFormat:d}=t.interpolation;this.escape=n!==void 0?n:Ov,this.escapeValue=i!==void 0?i:!0,this.useRawValueToEscape=s!==void 0?s:!1,this.prefix=a?Oi(a):o||"{{",this.suffix=l?Oi(l):c||"}}",this.formatSeparator=u||",",this.unescapePrefix=h?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=p?Oi(p):x||Oi("$t("),this.nestingSuffix=j?Oi(j):y||Oi(")"),this.nestingOptionsSeparator=C||",",this.maxReplaces=_||1e3,this.alwaysFormat=d!==void 0?d:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,i)=>n&&n.source===i?(n.lastIndex=0,n):new RegExp(i,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,i,s){let a,o,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(j){return j.replace(/\$/g,"$$$$")}const h=j=>{if(j.indexOf(this.formatSeparator)<0){const d=Hp(n,c,j,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(d,void 0,i,{...s,...n,interpolationkey:j}):d}const y=j.split(this.formatSeparator),C=y.shift().trim(),_=y.join(this.formatSeparator).trim();return this.format(Hp(n,c,C,this.options.keySeparator,this.options.ignoreJSONStructure),_,i,{...s,...n,interpolationkey:C})};this.resetRegExp();const f=s&&s.missingInterpolationHandler||this.options.missingInterpolationHandler,p=s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:j=>u(j)},{regex:this.regexp,safeValue:j=>this.escapeValue?u(this.escape(j)):u(j)}].forEach(j=>{for(l=0;a=j.regex.exec(t);){const y=a[1].trim();if(o=h(y),o===void 0)if(typeof f=="function"){const _=f(t,a,s);o=typeof _=="string"?_:""}else if(s&&Object.prototype.hasOwnProperty.call(s,y))o="";else if(p){o=a[0];continue}else this.logger.warn(`missed to pass in variable ${y} for interpolating ${t}`),o="";else typeof o!="string"&&!this.useRawValueToEscape&&(o=Tp(o));const C=j.safeValue(o);if(t=t.replace(a[0],C),p?(j.regex.lastIndex+=o.length,j.regex.lastIndex-=a[0].length):j.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,a,o;function l(c,u){const h=this.nestingOptionsSeparator;if(c.indexOf(h)<0)return c;const f=c.split(new RegExp(`${h}[ ]*{`));let p=`{${f[1]}`;c=f[0],p=this.interpolate(p,o);const x=p.match(/'/g),j=p.match(/"/g);(x&&x.length%2===0&&!j||j.length%2!==0)&&(p=p.replace(/'/g,'"'));try{o=JSON.parse(p),u&&(o={...u,...o})}catch(y){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,y),`${c}${h}${p}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,c}for(;s=this.nestingRegexp.exec(t);){let c=[];o={...i},o=o.replace&&typeof o.replace!="string"?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(s[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(s[1])){const h=s[1].split(this.formatSeparator).map(f=>f.trim());s[1]=h.shift(),c=h,u=!0}if(a=n(l.call(this,s[1].trim(),o),o),a&&s[0]===t&&typeof a!="string")return a;typeof a!="string"&&(a=Tp(a)),a||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${t}`),a=""),u&&(a=c.reduce((h,f)=>this.format(h,f,i.lng,{...i,interpolationkey:s[1].trim()}),a.trim())),t=t.replace(s[0],a),this.regexp.lastIndex=0}return t}}function Xv(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const i=e.split("(");t=i[0].toLowerCase().trim();const s=i[1].substring(0,i[1].length-1);t==="currency"&&s.indexOf(":")<0?n.currency||(n.currency=s.trim()):t==="relativetime"&&s.indexOf(":")<0?n.range||(n.range=s.trim()):s.split(";").forEach(o=>{if(o){const[l,...c]=o.split(":"),u=c.join(":").trim().replace(/^'+|'+$/g,""),h=l.trim();n[h]||(n[h]=u),u==="false"&&(n[h]=!1),u==="true"&&(n[h]=!0),isNaN(u)||(n[h]=parseInt(u,10))}})}return{formatName:t,formatOptions:n}}function Di(e){const t={};return function(i,s,a){const o=s+JSON.stringify(a);let l=t[o];return l||(l=e(ll(s),a),t[o]=l),l(i)}}class Zv{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ar.create("formatter"),this.options=t,this.formats={number:Di((n,i)=>{const s=new Intl.NumberFormat(n,{...i});return a=>s.format(a)}),currency:Di((n,i)=>{const s=new Intl.NumberFormat(n,{...i,style:"currency"});return a=>s.format(a)}),datetime:Di((n,i)=>{const s=new Intl.DateTimeFormat(n,{...i});return a=>s.format(a)}),relativetime:Di((n,i)=>{const s=new Intl.RelativeTimeFormat(n,{...i});return a=>s.format(a,i.range||"day")}),list:Di((n,i)=>{const s=new Intl.ListFormat(n,{...i});return a=>s.format(a)})},this.init(t)}init(t){const i=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=Di(n)}format(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((l,c)=>{const{formatName:u,formatOptions:h}=Xv(c);if(this.formats[u]){let f=l;try{const p=s&&s.formatParams&&s.formatParams[s.interpolationkey]||{},x=p.locale||p.lng||s.locale||s.lng||i;f=this.formats[u](l,x,{...h,...s,...p})}catch(p){this.logger.warn(p)}return f}else this.logger.warn(`there was no format function for ${u}`);return l},t)}}function e3(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class t3 extends Bl{constructor(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=i,this.languageUtils=i.languageUtils,this.options=s,this.logger=ar.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=s.maxParallelReads||10,this.readingCalls=0,this.maxRetries=s.maxRetries>=0?s.maxRetries:5,this.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(i,s.backend,s)}queueLoad(t,n,i,s){const a={},o={},l={},c={};return t.forEach(u=>{let h=!0;n.forEach(f=>{const p=`${u}|${f}`;!i.reload&&this.store.hasResourceBundle(u,f)?this.state[p]=2:this.state[p]<0||(this.state[p]===1?o[p]===void 0&&(o[p]=!0):(this.state[p]=1,h=!1,o[p]===void 0&&(o[p]=!0),a[p]===void 0&&(a[p]=!0),c[f]===void 0&&(c[f]=!0)))}),h||(l[u]=!0)}),(Object.keys(a).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(t,n,i){const s=t.split("|"),a=s[0],o=s[1];n&&this.emit("failedLoading",a,o,n),i&&this.store.addResourceBundle(a,o,i,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2;const l={};this.queue.forEach(c=>{Tv(c.loaded,[a],o),e3(c,t),n&&c.errors.push(n),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(u=>{l[u]||(l[u]={});const h=c.loaded[u];h.length&&h.forEach(f=>{l[u][f]===void 0&&(l[u][f]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:i,tried:s,wait:a,callback:o});return}this.readingCalls++;const l=(u,h)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(u&&h&&s{this.read.call(this,t,n,i,s+1,a*2,o)},a);return}o(u,h)},c=this.backend[i].bind(this.backend);if(c.length===2){try{const u=c(t,n);u&&typeof u.then=="function"?u.then(h=>l(null,h)).catch(l):l(null,u)}catch(u){l(u)}return}return c(t,n,l)}prepareLoading(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const a=this.queueLoad(t,n,i,s);if(!a.toLoad.length)return a.pending.length||s(),null;a.toLoad.forEach(o=>{this.loadOne(o)})}load(t,n,i){this.prepareLoading(t,n,{},i)}reload(t,n,i){this.prepareLoading(t,n,{reload:!0},i)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const i=t.split("|"),s=i[0],a=i[1];this.read(s,a,"read",void 0,void 0,(o,l)=>{o&&this.logger.warn(`${n}loading namespace ${a} for language ${s} failed`,o),!o&&l&&this.logger.log(`${n}loaded namespace ${a} for language ${s}`,l),this.loaded(t,o,l)})}saveMissing(t,n,i,s,a){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${i}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(i==null||i==="")){if(this.backend&&this.backend.create){const c={...o,isUpdate:a},u=this.backend.create.bind(this.backend);if(u.length<6)try{let h;u.length===5?h=u(t,n,i,s,c):h=u(t,n,i,s),h&&typeof h.then=="function"?h.then(f=>l(null,f)).catch(l):l(null,h)}catch(h){l(h)}else u(t,n,i,s,l,c)}!t||!t[0]||this.store.addResource(t[0],n,i,s)}}}function Wp(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){let n={};if(typeof t[1]=="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const i=t[3]||t[2];Object.keys(i).forEach(s=>{n[s]=i[s]})}return n},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function qp(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function po(){}function n3(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}class za extends Bl{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=qp(t),this.services={},this.logger=ar,this.modules={external:[]},n3(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(i=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const s=Wp();this.options={...s,...this.options,...qp(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...s.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);function a(h){return h?typeof h=="function"?new h:h:null}if(!this.options.isClone){this.modules.logger?ar.init(a(this.modules.logger),this.options):ar.init(null,this.options);let h;this.modules.formatter?h=this.modules.formatter:typeof Intl<"u"&&(h=Zv);const f=new Dp(this.options);this.store=new Bp(this.options.resources,this.options);const p=this.services;p.logger=ar,p.resourceStore=this.store,p.languageUtils=f,p.pluralResolver=new Yv(f,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),h&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(p.formatter=a(h),p.formatter.init(p,this.options),this.options.interpolation.format=p.formatter.format.bind(p.formatter)),p.interpolator=new Jv(this.options),p.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},p.backendConnector=new t3(a(this.modules.backend),p.resourceStore,p,this.options),p.backendConnector.on("*",function(x){for(var j=arguments.length,y=new Array(j>1?j-1:0),C=1;C1?j-1:0),C=1;C{x.init&&x.init(this)})}if(this.format=this.options.interpolation.format,i||(i=po),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.length>0&&h[0]!=="dev"&&(this.options.lng=h[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(h=>{this[h]=function(){return t.store[h](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(h=>{this[h]=function(){return t.store[h](...arguments),t}});const c=Os(),u=()=>{const h=(f,p)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(p),i(f,p)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return h(null,this.t.bind(this));this.changeLanguage(this.options.lng,h)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),c}loadResources(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:po;const s=typeof t=="string"?t:this.language;if(typeof t=="function"&&(i=t),!this.options.resources||this.options.partialBundledLanguages){if(s&&s.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return i();const a=[],o=l=>{if(!l||l==="cimode")return;this.services.languageUtils.toResolveHierarchy(l).forEach(u=>{u!=="cimode"&&a.indexOf(u)<0&&a.push(u)})};s?o(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(c=>o(c)),this.options.preload&&this.options.preload.forEach(l=>o(l)),this.services.backendConnector.load(a,this.options.ns,l=>{!l&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),i(l)})}else i(null)}reloadResources(t,n,i){const s=Os();return t||(t=this.languages),n||(n=this.options.ns),i||(i=po),this.services.backendConnector.reload(t,n,a=>{s.resolve(),i(a)}),s}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&o0.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;break}}}changeLanguage(t,n){var i=this;this.isLanguageChangingTo=t;const s=Os();this.emit("languageChanging",t);const a=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},o=(c,u)=>{u?(a(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,s.resolve(function(){return i.t(...arguments)}),n&&n(c,function(){return i.t(...arguments)})},l=c=>{!t&&!c&&this.services.languageDetector&&(c=[]);const u=typeof c=="string"?c:this.services.languageUtils.getBestMatchFromCodes(c);u&&(this.language||a(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,h=>{o(h,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),s}getFixedT(t,n,i){var s=this;const a=function(o,l){let c;if(typeof l!="object"){for(var u=arguments.length,h=new Array(u>2?u-2:0),f=2;f`${c.keyPrefix}${p}${j}`):x=c.keyPrefix?`${c.keyPrefix}${p}${o}`:o,s.t(x,c)};return typeof t=="string"?a.lng=t:a.lngs=t,a.ns=n,a.keyPrefix=i,a}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=n.lng||this.resolvedLanguage||this.languages[0],s=this.options?this.options.fallbackLng:!1,a=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;const o=(l,c)=>{const u=this.services.backendConnector.state[`${l}|${c}`];return u===-1||u===2};if(n.precheck){const l=n.precheck(this,o);if(l!==void 0)return l}return!!(this.hasResourceBundle(i,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(i,t)&&(!s||o(a,t)))}loadNamespaces(t,n){const i=Os();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(s=>{this.options.ns.indexOf(s)<0&&this.options.ns.push(s)}),this.loadResources(s=>{i.resolve(),n&&n(s)}),i):(n&&n(),Promise.resolve())}loadLanguages(t,n){const i=Os();typeof t=="string"&&(t=[t]);const s=this.options.preload||[],a=t.filter(o=>s.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return a.length?(this.options.preload=s.concat(a),this.loadResources(o=>{i.resolve(),n&&n(o)}),i):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],i=this.services&&this.services.languageUtils||new Dp(Wp());return n.indexOf(i.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new za(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:po;const i=t.forkResourceStore;i&&delete t.forkResourceStore;const s={...this.options,...t,isClone:!0},a=new za(s);return(t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),["store","services","language"].forEach(l=>{a[l]=this[l]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},i&&(a.store=new Bp(this.store.data,s),a.services.resourceStore=a.store),a.translator=new cl(a.services,s),a.translator.on("*",function(l){for(var c=arguments.length,u=new Array(c>1?c-1:0),h=1;h) => void",description:"Callback function triggered when the button is clicked."},children:{name:"children",type:"React.ReactNode",description:"The content to be displayed inside the button. Can be text, icons, or other elements."},className:{name:"className",type:"string",description:"Additional CSS class names to be added to the button."},ariaLabel:{name:"ariaLabel",type:"string",description:"Accessible label for screen readers. Important for buttons that only contain icons."}},examples:{title:"Examples",basic:{title:"Basic Usage",description:"The most basic usage of a button. Use the primary variant for main actions."},variants:{title:"Button Variants",description:"Different styles of buttons for different purposes. Choose the appropriate variant based on the action's importance and meaning."},sizes:{title:"Button Sizes",description:"Buttons come in four sizes: small for compact layouts, medium for general use, large for emphasis, and xlarge for prominent actions."},shapes:{title:"Button Shapes",description:"Buttons can have different shapes to match your design needs. Square for a traditional look, rounded for a modern feel, and circle for icon buttons."},borderRadius:{title:"Border Radius",description:"Customize the corner roundness of buttons. Use predefined values or specify a custom radius in pixels."},states:{title:"Button States",description:"Buttons can be in different states: normal, loading (shows a spinner), disabled (can't be clicked), and active (appears pressed)."},withIcons:{title:"Buttons with Icons",description:"Buttons can include icons to enhance visual communication. Icons can be placed before or after the text."},block:{title:"Block Button",description:"A block button spans the full width of its container. Useful for mobile interfaces or when you want to align button width with other elements."},customStyles:{title:"Custom Styles",description:"Buttons can be customized with your own styles using CSS. Here are some examples of custom styled buttons."}}},switch:{title:"Switch",description:"Switch toggles allow users to turn an option on or off.",basic:"Basic Switch",sizes:"Switch Sizes",disabled:"Disabled State",loading:"Loading State",customColors:"Custom Colors",text:"Text & Icon"},alert:{title:"Alert",description:"Alerts display important messages to users.",basic:"Basic Alerts",types:"Alert Types",withIcon:"With Icons",closable:"Closable"},textfield:{title:"Text Field",description:"Text fields let users enter and edit text.",installation:"Installation",basic_usage:"Basic Usage",examples:"Examples",sizes:"Text Field Sizes",states:"Text Field States",prefix:"Prefix and Suffix",clearable:"Clearable Input",password:"Password Input",textarea:"Text Area",properties:{title:"Properties",value:{name:"value",type:"string",description:"The value of the text field."},placeholder:{name:"placeholder",type:"string",description:"Placeholder text when the field is empty."},disabled:{name:"disabled",type:"boolean",description:"Whether the text field is disabled."},error:{name:"error",type:"boolean",description:"Whether the text field is in error state."},size:{name:"size",type:"'small' | 'medium' | 'large'",description:"The size of the text field."}}},radio:{title:"Radio",description:"Radio buttons allow users to select one option from a set.",basic:"Basic Usage",disabled:"Disabled",group:"Radio Group",direction:"Direction",button:"Button Style"},checkbox:{title:"Checkbox",description:"Checkboxes allow users to select one or more items from a set.",basic:"Basic Checkboxes",shapes:"Checkbox Shapes",sizes:"Checkbox Sizes",customIcons:"Custom Icons",customStyles:"Custom Colors & Styles"},avatar:{title:"Avatar",description:"Avatars represent users or entities with images or initials.",basic:"Basic Usage",sizes:"Sizes",types:"Types",group:"Avatar Group",badge:"With Badge"},badge:{title:"Badge",description:"Badges are small status descriptors for UI elements.",basic:"Basic Usage",max:"Maximum",dot:"Dot Badge",status:"Status",colors:"Custom Colors"},card:{title:"Card",description:"Cards contain content and actions about a single subject.",basic:"Basic Usage",title_prop:"With Title",bordered:"Bordered",hoverable:"Hoverable",loading:"Loading",grid:"Grid Card",inner:"Inner Card"},chip:{title:"Chip",description:"Chips represent small blocks of information.",basic:"Basic Usage",variants:"Variants",sizes:"Sizes",removable:"Removable",icon:"With Icon",colors:"Custom Colors"},divider:{title:"Divider",description:"Dividers separate content into clear groups.",basic:"Basic Usage",orientation:"Text Position",type:"Divider Type",styles:"Styles"},dropdown:{title:"Dropdown",description:"Dropdowns display a list of actions or options.",basic:"Basic Usage",placement:"Placement",trigger:"Trigger",disabled:"Disabled",nested:"Nested Menu"},message:{title:"Message",description:"Messages provide feedback about user operations.",basic:"Basic Usage",types:"Message Types",duration:"Duration",loading:"Loading",promise:"Promise Interface"},progress:{title:"Progress",description:"Progress indicators express an unspecified wait time.",basic:"Basic Usage",types:"Progress Types",sizes:"Sizes",status:"Status",dynamic:"Dynamic"},skeleton:{title:"Skeleton",description:"Skeleton screens provide a low-fidelity representation of content before it's loaded.",basic:"Basic Usage",animated:"Animated",complex:"Complex Combination",active:"Active Animation"},space:{title:"Space",description:"Set the spacing between components",basic:"Basic Usage",size:"Size",align:"Alignment",direction:"Direction",customization:"Customization"},tag:{title:"Tag",description:"Used for marking and selection",basic:"Basic Usage",sizes:"Sizes",color:"Color",closable:"Closable",icon:"With Icon",customization:"Customization"},tooltip:{title:"Tooltip",description:"A simple text popup tip",basic:"Basic Usage",placement:"Placement",trigger:"Trigger",customization:"Customization"},popper:{title:"Popper",description:"Create custom popup content",basic:"Basic Usage",placement:"Placement",trigger:"Trigger",arrow:"Arrow"},searchButton:{title:"Search Button",description:"A special button for triggering search operations",basic:"Basic Usage",sizes:"Sizes",loading:"Loading",customization:"Customization"},statusIndicator:{title:"Status Indicator",description:"Display the current status of an element",basic:"Basic Usage",sizes:"Sizes",colors:"Colors",animation:"Animation"},timePicker:{title:"Time Picker",description:"For selecting a specific time",basic:"Basic Usage",format:"Format",range:"Range Selection",disabled:"Disabled"},virtualList:{title:"Virtual List",description:"Efficiently render large lists",basic:"Basic Usage",height:"Fixed Height",dynamic:"Dynamic Height",loading:"Loading"},autoComplete:{title:"Auto Complete",description:"Input with auto-complete suggestions",basic:"Basic Usage",customization:"Customization",async:"Async Loading",grouping:"Grouping"},empty:{title:"Empty",description:"Empty state placeholder",basic:"Basic Usage",customization:"Customization",image:"Image"},cascader:{title:"Cascader",description:"Cascading Selector",basic:"Basic Usage",size:"Size",multiple:"Multiple Selection",async:"Async Loading"},iconButton:{title:"Icon Button",description:"Icon buttons are buttons that only contain icons, typically used in toolbars or compact interfaces.",basic:"Basic Usage",sizes:"Sizes",variants:"Variants",states:"States"},common:{installation:"Installation",basic_usage:"Basic Usage",examples:"Examples",customization:"Customization",api:"API Reference",props:"Props",events:"Events",methods:"Methods",slots:"Slots"}},s3={title:"Oops!",description:"Sorry, an unexpected error has occurred.",back_home:"Back to Home",refresh:"Refresh Page"},a3={title:"404",description:"Oops! The page you're looking for doesn't exist.",back_home:"Back to Home"},o3={lib:r3,components:i3,error:s3,notFound:a3},l3={title:"Minerva UI",description:"用于构建美观且无障碍的用户界面的现代 React 组件库",about:"关于","about.description":"Minerva UI 是一个全面的 React 组件库,提供一套可重用、无障碍和可定制的组件,帮助您构建现代 Web 应用程序。",installation:"安装","installation.title":"安装","installation.description":"通过在项目中安装 Minerva UI 开始使用。","installation.usage.title":"使用","installation.usage.description":"在 React 应用程序中导入和使用组件。","installation.requirements.title":"要求","installation.cdn.title":"CDN","installation.cdn.description":"您也可以直接从 CDN 使用 Minerva UI。",features:{title:"特性",modern:{title:"现代设计",description:"基于现代设计原则和最佳实践构建。"},customizable:{title:"高度可定制",description:"轻松定制组件以匹配您的品牌和设计系统。"},typescript:{title:"TypeScript 支持",description:"使用 TypeScript 编写,提供完整的类型支持以获得更好的开发体验。"},performance:{title:"性能优先",description:"通过最小化包大小和高效渲染进行性能优化。"}},getStarted:{title:"开始使用",description:"使用 Minerva UI 组件开始构建您的下一个项目。"}},c3={menu:{getting_started:"开始使用",inputs:"输入",data_display:"数据展示",feedback:"反馈",navigation:"导航"},installation:{title:"安装",description:"通过在项目中安装 Minerva UI 开始使用",package:{title:"包安装",description:"使用您喜欢的包管理器安装 Minerva UI"},setup:{title:"项目设置",description:"在 React 应用程序中设置 Minerva UI"},next:{title:"下一步",description:"了解更多关于 Minerva UI",introduction:"阅读介绍",theming:"了解主题",components:"浏览组件"}},overview:{title:"概述",description:"用于构建美观且无障碍界面的现代 React UI 库",features:{title:"主要特性",modern:{title:"现代设计",description:"基于现代设计原则和最佳实践构建。"},performance:{title:"性能优先",description:"通过最小化包大小和高效渲染进行性能优化。"},theme:{title:"主题支持",description:"全面的主题系统,允许您自定义组件的各个方面。"},responsive:{title:"响应式设计",description:"组件设计可在所有设备尺寸上无缝工作。"}},quickstart:{title:"快速开始",description:"通过安装包并导入组件快速开始使用 Minerva UI。"},support:{title:"浏览器支持",description:"Minerva UI 兼容所有现代浏览器。"}},introduction:{title:"介绍",description:"了解 Minerva UI 的特性和功能",what:{title:"什么是 Minerva UI",description:"Minerva UI 是一个现代的 React 组件库,旨在帮助您快速高效地构建美观且无障碍的用户界面。",features:{components:{title:"丰富的组件库",description:"一套遵循设计和可访问性最佳实践的预构建组件。"},customization:{title:"高度可定制",description:"灵活的主题系统,允许您自定义组件的各个方面以匹配您的品牌。"},typescript:{title:"TypeScript 支持",description:"使用 TypeScript 构建,提供完整的类型支持和代码补全,带来更好的开发体验。"}}}},theming:{title:"主题",description:"自定义组件的外观和感觉",tokens:"设计令牌",colors:"颜色系统",typography:"排版",spacing:"间距"},button:{title:"按钮",description:"按钮允许用户通过单击执行操作和做出选择。",installation:"安装",installation_description:"使用包管理器安装按钮组件。",properties:{title:"属性",variant:{name:"variant",type:"'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'retry' | 'back'",description:"按钮的视觉样式。每种变体都有其语义含义:primary 用于主要操作,secondary 用于次要操作,success 用于确认操作,warning 用于需要谨慎的操作,error 用于破坏性操作,retry 用于重试操作,back 用于导航。"},size:{name:"size",type:"'small' | 'medium' | 'large' | 'xlarge'",description:"按钮的尺寸。small 适用于紧凑空间,medium 用于一般用途,large 用于强调,xlarge 用于突出显示的操作。"},shape:{name:"shape",type:"'square' | 'rounded' | 'circle'",description:"按钮的形状。square 有锐利的边角,rounded 有柔和的边角,circle 是完全圆形的。"},borderRadius:{name:"borderRadius",type:"'none' | 'small' | 'medium' | 'large' | 'circle' | 'square' | number",description:"按钮的自定义圆角。可以是预定义的值或以像素为单位的具体数字。"},disabled:{name:"disabled",type:"boolean",description:"按钮是否禁用。禁用的按钮无法点击且显示为淡化状态。"},loading:{name:"loading",type:"boolean",description:"按钮是否处于加载状态。加载时显示加载动画并阻止点击。"},active:{name:"active",type:"boolean",description:"按钮是否处于激活状态。激活的按钮显示为按下的状态。"},onClick:{name:"onClick",type:"(event: React.MouseEvent) => void",description:"点击按钮时触发的回调函数。"},children:{name:"children",type:"React.ReactNode",description:"按钮内显示的内容。可以是文本、图标或其他元素。"},className:{name:"className",type:"string",description:"要添加到按钮的额外 CSS 类名。"},ariaLabel:{name:"ariaLabel",type:"string",description:"为屏幕阅读器提供的无障碍标签。对于仅包含图标的按钮尤为重要。"}},examples:{title:"示例",basic:{title:"基础用法",description:"按钮最基本的用法。使用 primary 变体表示主要操作。"},variants:{title:"按钮变体",description:"不同用途的按钮样式。根据操作的重要性和含义选择合适的变体。"},sizes:{title:"按钮尺寸",description:"按钮有四种尺寸:small 用于紧凑布局,medium 用于一般用途,large 用于强调,xlarge 用于突出显示的操作。"},shapes:{title:"按钮形状",description:"按钮可以有不同的形状以匹配您的设计需求。square 用于传统外观,rounded 用于现代感,circle 用于图标按钮。"},borderRadius:{title:"圆角",description:"自定义按钮的圆角。使用预定义的值或指定以像素为单位的自定义圆角。"},states:{title:"按钮状态",description:"按钮可以处于不同状态:正常、加载中(显示加载动画)、禁用(无法点击)和激活(显示为按下状态)。"},withIcons:{title:"带图标的按钮",description:"按钮可以包含图标以增强视觉交互。图标可以放在文本前面或后面。"},block:{title:"块级按钮",description:"块级按钮会占据其容器的全部宽度。适用于移动端界面或需要与其他元素对齐宽度的场景。"},customStyles:{title:"自定义样式",description:"按钮可以使用 CSS 自定义样式。这里展示了一些自定义样式的按钮示例。"}}},switch:{title:"开关",description:"开关允许用户打开或关闭选项。",basic:"基础开关",sizes:"开关尺寸",disabled:"禁用状态",loading:"加载状态",customColors:"自定义颜色",text:"文本和图标"},alert:{title:"警告提示",description:"警告提示用于向用户显示重要信息。",basic:"基础警告提示",types:"警告提示类型",withIcon:"带图标",closable:"可关闭"},textfield:{title:"文本框",description:"文本框允许用户输入和编辑文本。",installation:"安装",basic_usage:"基础用法",examples:"示例",sizes:"文本框尺寸",states:"文本框状态",prefix:"前缀和后缀",clearable:"可清除输入",password:"密码输入",textarea:"文本域",properties:{title:"属性",value:{name:"value",type:"string",description:"文本框的值。"},placeholder:{name:"placeholder",type:"string",description:"文本框为空时的占位文本。"},disabled:{name:"disabled",type:"boolean",description:"文本框是否禁用。"},error:{name:"error",type:"boolean",description:"文本框是否处于错误状态。"},size:{name:"size",type:"'small' | 'medium' | 'large'",description:"文本框的尺寸。"}}},radio:{title:"单选框",description:"单选框允许用户从一组选项中选择一个。",basic:"基础用法",disabled:"禁用",group:"单选框组",direction:"方向",button:"按钮样式"},checkbox:{title:"复选框",description:"复选框允许用户从一组选项中选择一个或多个。",basic:"基础复选框",shapes:"复选框形状",sizes:"复选框尺寸",customIcons:"自定义图标",customStyles:"自定义颜色和样式"},avatar:{title:"头像",description:"头像用图片或字母代表用户或实体。",basic:"基础用法",sizes:"尺寸",types:"类型",group:"头像组",badge:"带徽标"},badge:{title:"徽标",description:"徽标是 UI 元素的小型状态描述符。",basic:"基础用法",max:"最大值",dot:"点状徽标",status:"状态",colors:"自定义颜色"},card:{title:"卡片",description:"卡片包含关于单个主题的内容和操作。",basic:"基础用法",title_prop:"带标题",bordered:"带边框",hoverable:"可悬浮",loading:"加载中",grid:"网格卡片",inner:"内部卡片"},chip:{title:"纸片",description:"纸片表示小块信息。",basic:"基础用法",variants:"变体",sizes:"尺寸",removable:"可移除",icon:"带图标",colors:"自定义颜色"},divider:{title:"分割线",description:"分割线将内容分成清晰的组。",basic:"基础用法",orientation:"文本位置",type:"分割线类型",styles:"样式"},dropdown:{title:"下拉菜单",description:"下拉菜单显示操作或选项列表。",basic:"基础用法",placement:"位置",trigger:"触发方式",disabled:"禁用",nested:"嵌套菜单"},message:{title:"消息",description:"消息提供关于用户操作的反馈。",basic:"基础用法",types:"消息类型",duration:"持续时间",loading:"加载中",promise:"Promise 接口"},progress:{title:"进度条",description:"进度指示器表示不确定的等待时间。",basic:"基础用法",types:"进度条类型",sizes:"尺寸",status:"状态",dynamic:"动态"},skeleton:{title:"骨架屏",description:"骨架屏在内容加载前提供低保真的表现形式。",basic:"基础用法",animated:"动画",complex:"复杂组合",active:"动态动画"},space:{title:"间距",description:"设置组件之间的间距",basic:"基础用法",size:"尺寸",align:"对齐",direction:"方向",customization:"自定义"},tag:{title:"标签",description:"用于标记和选择",basic:"基础用法",sizes:"尺寸",color:"颜色",closable:"可关闭",icon:"带图标",customization:"自定义"},tooltip:{title:"文字提示",description:"简单的文字弹出提示",basic:"基础用法",placement:"位置",trigger:"触发方式",customization:"自定义"},popper:{title:"弹出框",description:"创建自定义弹出内容",basic:"基础用法",placement:"位置",trigger:"触发方式",arrow:"箭头"},searchButton:{title:"搜索按钮",description:"用于触发搜索操作的特殊按钮",basic:"基础用法",sizes:"尺寸",loading:"加载中",customization:"自定义"},statusIndicator:{title:"状态指示器",description:"显示元素的当前状态",basic:"基础用法",sizes:"尺寸",colors:"颜色",animation:"动画"},timePicker:{title:"时间选择器",description:"用于选择特定时间",basic:"基础用法",format:"格式",range:"范围选择",disabled:"禁用"},virtualList:{title:"虚拟列表",description:"高效渲染大型列表",basic:"基础用法",height:"固定高度",dynamic:"动态高度",loading:"加载中"},autoComplete:{title:"自动完成",description:"带有自动完成建议的输入框",basic:"基础用法",customization:"自定义",async:"异步加载",grouping:"分组"},empty:{title:"空状态",description:"空状态占位符",basic:"基础用法",customization:"自定义",image:"图片"},cascader:{title:"级联选择",description:"级联选择器",basic:"基础用法",size:"尺寸",multiple:"多选",async:"异步加载"},iconButton:{title:"图标按钮",description:"图标按钮仅包含图标,通常用于工具栏或紧凑的界面中。",basic:"基础用法",sizes:"尺寸",variants:"变体",states:"状态"},common:{installation:"安装",basic_usage:"基础用法",examples:"示例",customization:"自定义",api:"API 参考",props:"属性",events:"事件",methods:"方法",slots:"插槽"}},d3={title:"糟糕!",description:"抱歉,发生了意外错误。",back_home:"返回首页",refresh:"刷新页面"},u3={title:"404",description:"抱歉,您访问的页面不存在。",back_home:"返回首页"},h3={lib:l3,components:c3,error:d3,notFound:u3},p3={title:"Minerva UI",description:"モダンな React コンポーネントライブラリ",about:"概要","about.description":"Minerva UI は、モダンなウェブアプリケーションを構築するための再利用可能でアクセシブルなコンポーネントを提供する包括的な React コンポーネントライブラリです。",installation:"インストール","installation.title":"インストール","installation.description":"プロジェクトに Minerva UI をインストールして始めましょう。","installation.usage.title":"使用方法","installation.usage.description":"React アプリケーションでコンポーネントをインポートして使用します。","installation.requirements.title":"要件","installation.cdn.title":"CDN","installation.cdn.description":"CDN から直接 Minerva UI を使用することもできます。",features:{title:"機能",modern:{title:"モダンなデザイン",description:"モダンなデザイン原則とベストプラクティスを念頭に置いて構築されています。"},customizable:{title:"高度にカスタマイズ可能",description:"ブランドやデザインシステムに合わせて簡単にコンポーネントをカスタマイズできます。"},typescript:{title:"TypeScript サポート",description:"より良い開発体験のために、完全な型サポートを備えた TypeScript で書かれています。"},performance:{title:"パフォーマンス重視",description:"最小限のバンドルサイズと効率的なレンダリングでパフォーマンスを最適化。"}},getStarted:{title:"はじめに",description:"Minerva UI コンポーネントで次のプロジェクトを構築しましょう。"}},f3={menu:{getting_started:"はじめに",inputs:"入力",data_display:"データ表示",feedback:"フィードバック",navigation:"ナビゲーション"},installation:{title:"インストール",description:"プロジェクトに Minerva UI をインストールして始めましょう",package:{title:"パッケージのインストール",description:"お好みのパッケージマネージャーで Minerva UI をインストール"},setup:{title:"プロジェクトの設定",description:"React アプリケーションで Minerva UI を設定"},next:{title:"次のステップ",description:"Minerva UI についてさらに学ぶ",introduction:"はじめにを読む",theming:"テーマについて学ぶ",components:"コンポーネントを見る"}},overview:{title:"概要",description:"美しくアクセシブルなインターフェースを構築するためのモダンな React UI ライブラリ",features:{title:"主な機能",modern:{title:"モダンなデザイン",description:"モダンなデザイン原則とベストプラクティスを念頭に置いて構築。"},performance:{title:"パフォーマンス重視",description:"最小限のバンドルサイズと効率的なレンダリングでパフォーマンスを最適化。"},theme:{title:"テーマサポート",description:"コンポーネントのあらゆる側面をカスタマイズできる包括的なテーマシステム。"},responsive:{title:"レスポンシブデザイン",description:"すべてのデバイスサイズで完璧に動作するように設計されたコンポーネント。"}},quickstart:{title:"クイックスタート",description:"パッケージをインストールしてコンポーネントをインポートすることで、すぐに Minerva UI を使い始めることができます。"},support:{title:"ブラウザサポート",description:"Minerva UI はすべてのモダンブラウザに対応しています。"}},introduction:{title:"はじめに",description:"Minerva UI の機能と特徴について学びましょう",what:{title:"Minerva UI とは",description:"Minerva UI は、美しくアクセシブルなユーザーインターフェースを迅速かつ効率的に構築するための現代的な React コンポーネントライブラリです。",features:{components:{title:"豊富なコンポーネント",description:"デザインとアクセシビリティのベストプラクティスに従った、包括的なプリビルドコンポーネントセット。"},customization:{title:"高度なカスタマイズ性",description:"ブランドに合わせてコンポーネントのあらゆる側面をカスタマイズできる柔軟なテーマシステム。"},typescript:{title:"TypeScript サポート",description:"完全な型サポートとコード補完を備えた、より良い開発体験のための TypeScript 実装。"}}}},theming:{title:"テーマ設定",description:"コンポーネントの外観をカスタマイズ",tokens:"デザイントークン",colors:"カラーシステム",typography:"タイポグラフィ",spacing:"スペーシング"},button:{title:"ボタン",description:"アクションをトリガーするためのボタンコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"ボタンの種類",sizes:"ボタンのサイズ",states:"ボタンの状態",loading:"ローディング状態"},switch:{title:"スイッチ",description:"2つの状態を切り替えるためのスイッチコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",sizes:"スイッチのサイズ",states:"スイッチの状態",customization:"カスタマイズ"},alert:{title:"アラート",description:"重要なメッセージを表示するためのアラートコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"アラートの種類",customization:"カスタマイズ"},common:{installation:"インストール",basic_usage:"基本的な使い方",examples:"例",customization:"カスタマイズ",api:"API リファレンス",props:"プロパティ",events:"イベント",methods:"メソッド",slots:"スロット"},avatar:{title:"アバター",description:"ユーザープロフィール画像を表示するためのアバターコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",sizes:"アバターのサイズ",badge:"バッジ付き"},iconButton:{title:"アイコンボタン",description:"アイコンのみを含むボタン、通常はツールバーやコンパクトなインターフェースで使用",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",sizes:"アイコンボタンのサイズ",variants:"アイコンボタンの種類",states:"アイコンボタンの状態"},progress:{title:"プログレス",description:"完了状態を表示するためのプログレスインジケーター",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"プログレスの種類",sizes:"プログレスのサイズ",states:"プログレスの状態"},message:{title:"メッセージ",description:"一時的な通知を表示するためのメッセージコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"メッセージの種類",duration:"表示時間",placement:"表示位置"},tooltip:{title:"ツールチップ",description:"追加情報を表示するためのツールチップコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",placement:"表示位置",trigger:"トリガー",delay:"表示遅延"},popper:{title:"ポッパー",description:"フローティング要素を配置するためのポッパーコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",placement:"配置位置",offset:"オフセット",arrow:"矢印付き"},searchButton:{title:"検索ボタン",description:"検索機能を統合した検索ボタンコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"ボタンの種類",sizes:"ボタンのサイズ",states:"ボタンの状態"},statusIndicator:{title:"ステータスインジケーター",description:"現在の状態を表示するためのステータスインジケーターコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",variants:"ステータスの種類",sizes:"インジケーターのサイズ",pulse:"パルスエフェクト"},timePicker:{title:"タイムピッカー",description:"時間を選択するためのタイムピッカーコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",format:"時間フォーマット",range:"時間範囲",validation:"時間の検証"},virtualList:{title:"バーチャルリスト",description:"大きなリストを効率的にレンダリングするためのバーチャルリストコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",height:"リストの高さ",itemSize:"アイテムのサイズ",scrolling:"スムーズスクロール"},autoComplete:{title:"オートコンプリート",description:"入力候補を表示するためのオートコンプリートコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",filter:"カスタムフィルター",async:"非同期データ",templates:"カスタムテンプレート"},empty:{title:"空の状態",description:"データがない場合の空の状態を表示するコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",image:"カスタム画像",description_custom:"カスタム説明",action:"アクション付き"},cascader:{title:"カスケード選択",description:"階層データから選択するためのカスケード選択コンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",options:"カスタムオプション",loading:"ローディング状態",search:"検索機能"},space:{title:"スペース",description:"レイアウトの間隔を管理するためのスペースコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",size:"スペースのサイズ",align:"配置",direction:"方向"},tag:{title:"タグ",description:"分類とフィルタリングのためのタグコンポーネント",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",color:"タグの色",size:"タグのサイズ",closable:"閉じることができるタグ"},textfield:{title:"テキストフィールド",description:"テキストフィールドはユーザーがテキストを入力・編集できるようにします。",installation:"インストール",basic_usage:"基本的な使い方",examples:"例",sizes:"テキストフィールドのサイズ",states:"テキストフィールドの状態",prefix:"プレフィックスとサフィックス",clearable:"クリア可能",password:"パスワード入力",textarea:"テキストエリア",properties:{title:"プロパティ",value:{name:"value",type:"string",description:"テキストフィールドの値。"},placeholder:{name:"placeholder",type:"string",description:"フィールドが空の時のプレースホルダーテキスト。"},disabled:{name:"disabled",type:"boolean",description:"テキストフィールドが無効化されているかどうか。"},error:{name:"error",type:"boolean",description:"テキストフィールドがエラー状態かどうか。"},size:{name:"size",type:"'small' | 'medium' | 'large'",description:"テキストフィールドのサイズ。"}}}},m3={title:"おっと!",description:"申し訳ありません。予期せぬエラーが発生しました。",back_home:"ホームに戻る",refresh:"ページを更新"},g3={title:"404",description:"申し訳ありません。お探しのページは存在しません。",back_home:"ホームに戻る"},x3={lib:p3,components:f3,error:m3,notFound:g3},v3={title:"Minerva UI",description:"Une bibliothèque moderne de composants React",about:"À propos","about.description":"Minerva UI est une bibliothèque complète de composants React qui fournit un ensemble de composants réutilisables, accessibles et personnalisables pour vous aider à construire des applications web modernes.",installation:"Installation","installation.title":"Installation","installation.description":"Commencez avec Minerva UI en l'installant dans votre projet.","installation.usage.title":"Utilisation","installation.usage.description":"Importez et utilisez les composants dans votre application React.","installation.requirements.title":"Prérequis","installation.cdn.title":"CDN","installation.cdn.description":"Vous pouvez également utiliser Minerva UI directement depuis un CDN.",features:{title:"Fonctionnalités",modern:{title:"Design Moderne",description:"Construit avec les principes de design modernes et les meilleures pratiques à l'esprit."},customizable:{title:"Hautement Personnalisable",description:"Personnalisez facilement les composants pour correspondre à votre marque et votre système de design."},typescript:{title:"Support TypeScript",description:"Écrit en TypeScript avec un support complet des types pour une meilleure expérience de développement."},performance:{title:"Axé sur la Performance",description:"Optimisé pour la performance avec une taille de bundle minimale et un rendu efficace."}},getStarted:{title:"Commencer",description:"Commencez à construire votre prochain projet avec les composants Minerva UI."}},_3={menu:{getting_started:"Pour Commencer",inputs:"Entrées",data_display:"Affichage des Données",feedback:"Retour",navigation:"Navigation"},installation:{title:"Installation",description:"Commencez avec Minerva UI en l'installant dans votre projet",package:{title:"Installation du Package",description:"Installez Minerva UI avec votre gestionnaire de paquets préféré"},setup:{title:"Configuration du Projet",description:"Configurez Minerva UI dans votre application React"},next:{title:"Prochaines Étapes",description:"En savoir plus sur Minerva UI",introduction:"Lire l'Introduction",theming:"Découvrir la Thématisation",components:"Parcourir les Composants"}},overview:{title:"Vue d'ensemble",description:"Une bibliothèque moderne de composants React pour construire des interfaces belles et accessibles",features:{title:"Fonctionnalités Clés",modern:{title:"Design Moderne",description:"Construit avec les principes de design modernes et les meilleures pratiques à l'esprit."},performance:{title:"Axé sur la Performance",description:"Optimisé pour la performance avec une taille de bundle minimale et un rendu efficace."},theme:{title:"Support des Thèmes",description:"Système de thèmes complet qui permet de personnaliser chaque aspect des composants."},responsive:{title:"Design Responsive",description:"Les composants sont conçus pour fonctionner parfaitement sur tous les formats d'écran."}},quickstart:{title:"Démarrage Rapide",description:"Commencez rapidement avec Minerva UI en installant le package et en important les composants."},support:{title:"Support des Navigateurs",description:"Minerva UI est compatible avec tous les navigateurs modernes."}},introduction:{title:"Introduction",description:"Découvrez les fonctionnalités et les capacités de Minerva UI",what:{title:"Qu'est-ce que Minerva UI",description:"Minerva UI est une bibliothèque moderne de composants React conçue pour vous aider à construire rapidement et efficacement des interfaces utilisateur belles et accessibles.",features:{components:{title:"Bibliothèque Riche en Composants",description:"Un ensemble complet de composants préconçus qui suivent les meilleures pratiques en matière de design et d'accessibilité."},customization:{title:"Hautement Personnalisable",description:"Système de thèmes flexible qui vous permet de personnaliser chaque aspect des composants pour correspondre à votre marque."},typescript:{title:"Support TypeScript",description:"Construit avec TypeScript pour une meilleure expérience de développement avec un support complet des types et une complétion de code."}}}},theming:{title:"Thématisation",description:"Personnalisez l'apparence de vos composants",tokens:"Tokens de Design",colors:"Système de Couleurs",typography:"Typographie",spacing:"Espacement"},button:{title:"Bouton",description:"Composant bouton pour déclencher des actions",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes de Bouton",sizes:"Tailles de Bouton",states:"États de Bouton",loading:"État de Chargement"},switch:{title:"Interrupteur",description:"Composant interrupteur pour basculer entre deux états",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",sizes:"Tailles d'Interrupteur",states:"États d'Interrupteur",customization:"Personnalisation"},alert:{title:"Alerte",description:"Composant d'alerte pour afficher des messages importants",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes d'Alerte",customization:"Personnalisation"},common:{installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",customization:"Personnalisation",api:"Référence API",props:"Propriétés",events:"Événements",methods:"Méthodes",slots:"Slots"},avatar:{title:"Avatar",description:"Composant d'avatar pour afficher des images de profil",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",sizes:"Tailles d'Avatar",badge:"Avec Badge"},iconButton:{title:"Bouton Icône",description:"Boutons icônes contenant uniquement des icônes, généralement utilisés dans les barres d'outils",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",sizes:"Tailles de Bouton Icône",variants:"Variantes de Bouton Icône",states:"États de Bouton Icône"},progress:{title:"Progression",description:"Indicateurs de progression pour montrer l'état d'avancement",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes de Progression",sizes:"Tailles de Progression",states:"États de Progression"},message:{title:"Message",description:"Composant de message pour afficher des notifications temporaires",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes de Message",duration:"Durée du Message",placement:"Placement du Message"},tooltip:{title:"Info-bulle",description:"Composant info-bulle pour afficher des informations supplémentaires",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",placement:"Placement de l'Info-bulle",trigger:"Déclencheur de l'Info-bulle",delay:"Délai de l'Info-bulle"},popper:{title:"Popper",description:"Composant popper pour positionner des éléments flottants",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",placement:"Placement du Popper",offset:"Décalage du Popper",arrow:"Avec Flèche"},searchButton:{title:"Bouton de Recherche",description:"Composant bouton de recherche avec fonctionnalité de recherche intégrée",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes de Bouton",sizes:"Tailles de Bouton",states:"États de Bouton"},statusIndicator:{title:"Indicateur de Statut",description:"Composant indicateur de statut pour montrer l'état actuel",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",variants:"Variantes de Statut",sizes:"Tailles d'Indicateur",pulse:"Avec Effet Pulsation"},timePicker:{title:"Sélecteur de Temps",description:"Composant de sélection de temps",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",format:"Format de Temps",range:"Plage de Temps",validation:"Validation de Temps"},virtualList:{title:"Liste Virtuelle",description:"Composant de liste virtuelle pour le rendu efficace de grandes listes",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",height:"Hauteur de Liste",itemSize:"Taille d'Élément",scrolling:"Défilement Fluide"},autoComplete:{title:"Auto-complétion",description:"Composant d'auto-complétion pour les suggestions de saisie",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",filter:"Filtre Personnalisé",async:"Données Asynchrones",templates:"Modèles Personnalisés"},empty:{title:"État Vide",description:"Composant d'état vide pour les scénarios sans données",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",image:"Image Personnalisée",description_custom:"Description Personnalisée",action:"Avec Action"},cascader:{title:"Sélecteur en Cascade",description:"Composant de sélection en cascade pour les données hiérarchiques",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",options:"Options Personnalisées",loading:"État de Chargement",search:"Fonction de Recherche"},space:{title:"Espace",description:"Composant espace pour gérer l'espacement de mise en page",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",size:"Taille d'Espace",align:"Alignement d'Espace",direction:"Direction d'Espace"},tag:{title:"Étiquette",description:"Composant étiquette pour la catégorisation et le filtrage",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",color:"Couleurs d'Étiquette",size:"Tailles d'Étiquette",closable:"Étiquettes Fermables"},textfield:{title:"Champ de Texte",description:"Les champs de texte permettent aux utilisateurs de saisir et de modifier du texte.",installation:"Installation",basic_usage:"Utilisation de Base",examples:"Exemples",sizes:"Tailles de Champ",states:"États du Champ",prefix:"Préfixe et Suffixe",clearable:"Effaçable",password:"Champ de Mot de Passe",textarea:"Zone de Texte",properties:{title:"Propriétés",value:{name:"value",type:"string",description:"La valeur du champ de texte."},placeholder:{name:"placeholder",type:"string",description:"Texte d'indication lorsque le champ est vide."},disabled:{name:"disabled",type:"boolean",description:"Si le champ de texte est désactivé."},error:{name:"error",type:"boolean",description:"Si le champ de texte est en état d'erreur."},size:{name:"size",type:"'small' | 'medium' | 'large'",description:"La taille du champ de texte."}}}},j3={title:"Oups !",description:"Désolé, une erreur inattendue s'est produite.",back_home:"Retour à l'accueil",refresh:"Actualiser la page"},y3={title:"404",description:"Oups ! La page que vous recherchez n'existe pas.",back_home:"Retour à l'accueil"},b3={lib:v3,components:_3,error:j3,notFound:y3};Ht.use(Ev).init({resources:{en:{common:o3},zh:{common:h3},ja:{common:x3},fr:{common:b3}},defaultNS:"common",lng:navigator.language.split("-")[0],fallbackLng:"en",interpolation:{escapeValue:!1}});var l0={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Vp=xe.createContext&&xe.createContext(l0),w3=["attr","size","title"];function C3(e,t){if(e==null)return{};var n=k3(e,t),i,s;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function k3(e,t){if(e==null)return{};var n={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}function dl(){return dl=Object.assign?Object.assign.bind():function(e){for(var t=1;txe.createElement(t.tag,ul({key:n},t.attr),c0(t.child)))}function M(e){return t=>xe.createElement(E3,dl({attr:ul({},e.attr)},t),c0(e.child))}function E3(e){var t=n=>{var{attr:i,size:s,title:a}=e,o=C3(e,w3),l=s||n.size||"1em",c;return n.className&&(c=n.className),e.className&&(c=(c?c+" ":"")+e.className),xe.createElement("svg",dl({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,o,{className:c,style:ul(ul({color:e.color||n.color},n.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),a&&xe.createElement("title",null,a),e.children)};return Vp!==void 0?xe.createElement(Vp.Consumer,null,n=>t(n)):t(l0)}function z3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 112v288m144-144H112"},child:[]}]})(e)}function L3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M186.62 464H160a16 16 0 0 1-14.57-22.6l64.46-142.25L113.1 297l-35.3 42.77C71.07 348.23 65.7 352 52 352H34.08a17.66 17.66 0 0 1-14.7-7.06c-2.38-3.21-4.72-8.65-2.44-16.41l19.82-71c.15-.53.33-1.06.53-1.58a.38.38 0 0 0 0-.15 14.82 14.82 0 0 1-.53-1.59l-19.84-71.45c-2.15-7.61.2-12.93 2.56-16.06a16.83 16.83 0 0 1 13.6-6.7H52c10.23 0 20.16 4.59 26 12l34.57 42.05 97.32-1.44-64.44-142A16 16 0 0 1 160 48h26.91a25 25 0 0 1 19.35 9.8l125.05 152 57.77-1.52c4.23-.23 15.95-.31 18.66-.31C463 208 496 225.94 496 256c0 9.46-3.78 27-29.07 38.16-14.93 6.6-34.85 9.94-59.21 9.94-2.68 0-14.37-.08-18.66-.31l-57.76-1.54-125.36 152a25 25 0 0 1-19.32 9.75z"},child:[]}]})(e)}function I3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M153.59 110.46A21.41 21.41 0 0 0 152.48 79 62.67 62.67 0 0 0 112 64l-3.27.09h-.48C74.4 66.15 48 95.55 48.07 131c0 19 8 29.06 14.32 37.11a20.61 20.61 0 0 0 14.7 7.8c.26 0 .7.05 2 .05a19.06 19.06 0 0 0 13.75-5.89zm250.2-46.35-3.27-.1H400a62.67 62.67 0 0 0-40.52 15 21.41 21.41 0 0 0-1.11 31.44l60.77 59.65a19.06 19.06 0 0 0 13.79 5.9c1.28 0 1.72 0 2-.05a20.61 20.61 0 0 0 14.69-7.8c6.36-8.05 14.28-18.08 14.32-37.11.06-35.49-26.34-64.89-60.15-66.93z"},child:[]},{tag:"path",attr:{d:"M256.07 96c-97 0-176 78.95-176 176a175.23 175.23 0 0 0 40.81 112.56l-36.12 36.13a16 16 0 1 0 22.63 22.62l36.12-36.12a175.63 175.63 0 0 0 225.12 0l36.13 36.12a16 16 0 1 0 22.63-22.62l-36.13-36.13A175.17 175.17 0 0 0 432.07 272c0-97-78.95-176-176-176zm16 176a16 16 0 0 1-16 16h-80a16 16 0 0 1 0-32h64v-96a16 16 0 0 1 32 0z"},child:[]}]})(e)}function d0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M250.26 166.05 256 288l5.73-121.95a5.74 5.74 0 0 0-5.79-6h0a5.74 5.74 0 0 0-5.68 6z"},child:[]},{tag:"path",attr:{d:"M256 367.91a20 20 0 1 1 20-20 20 20 0 0 1-20 20z"},child:[]}]})(e)}function Td(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"rect",attr:{width:"80",height:"80",x:"64",y:"64",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"216",y:"64",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"368",y:"64",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"64",y:"216",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"216",y:"216",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"368",y:"216",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"64",y:"368",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"216",y:"368",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]},{tag:"rect",attr:{width:"80",height:"80",x:"368",y:"368",fill:"none",strokeMiterlimit:"10",strokeWidth:"32",rx:"40",ry:"40"},child:[]}]})(e)}function wc(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 268 144 144 144-144M256 392V100"},child:[]}]})(e)}function R3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m268 112 144 144-144 144m124-144H100"},child:[]}]})(e)}function A3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 244 144-144 144 144M256 120v292"},child:[]}]})(e)}function Cc(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 244 144-144 144 144M256 120v292"},child:[]}]})(e)}function P3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M48 322.3V189.7A29.74 29.74 0 0 1 77.7 160h137.44l24.4-32H77.7A61.77 61.77 0 0 0 16 189.7v132.6A61.77 61.77 0 0 0 77.7 384h96.85a22.57 22.57 0 0 1 .26-7.32l.15-.75.21-.73 6.5-23.2H77.7A29.74 29.74 0 0 1 48 322.3zM386.3 128h-98.64a22.69 22.69 0 0 1-.27 7.2l-.15.74-.21.73-6.54 23.33H386.3a29.74 29.74 0 0 1 29.7 29.7v132.6a29.74 29.74 0 0 1-29.7 29.7H247l-24.42 32H386.3a61.77 61.77 0 0 0 61.7-61.7V189.7a61.77 61.77 0 0 0-61.7-61.7z"},child:[]},{tag:"path",attr:{d:"M162.65 294.16a24.37 24.37 0 0 1-21.56-13 25 25 0 0 1 1.42-25.83l.31-.46.33-.44L197.62 183H89.69a20 20 0 0 0-20 20v106a20 20 0 0 0 20 20h98.42l9.78-34.86z"},child:[]},{tag:"path",attr:{d:"m276.07 280.89 27.07-35.49a5.2 5.2 0 0 0 .77-1.91 5 5 0 0 0 .08-.66 5 5 0 0 0-.08-1.29 5.11 5.11 0 0 0-.68-1.75 4.76 4.76 0 0 0-.78-.95 3.48 3.48 0 0 0-.48-.38 4 4 0 0 0-1.11-.55 4.28 4.28 0 0 0-1.31-.2h-61.62l12.12-43.21 3.23-11.5 6.21-22.16.51-1.84 7.79-27.76a3.51 3.51 0 0 0 .05-.55v-.16c0-.05 0-.26-.05-.38s0-.09 0-.14a2.2 2.2 0 0 0-.17-.45 3.77 3.77 0 0 0-.26-.39l-.09-.1a2.73 2.73 0 0 0-.25-.23l-.1-.08a3.14 3.14 0 0 0-.39-.24 2 2 0 0 0-.41-.14h-.59a2.3 2.3 0 0 0-.45 0 1.9 1.9 0 0 0-.42.15l-.13.07-.3.21-.11.1a2.4 2.4 0 0 0-.36.41l-18 23.63-13.14 17.22-9.85 12.83-63.71 83.55a5.72 5.72 0 0 0-.44.8 4.78 4.78 0 0 0-.35 1.09 4.7 4.7 0 0 0-.08 1.29 4.86 4.86 0 0 0 2 3.71 4.74 4.74 0 0 0 .54.31 4.31 4.31 0 0 0 1.89.43h61.62L194.42 380.6a3.64 3.64 0 0 0 0 .56v.15a2.32 2.32 0 0 0 .06.38.58.58 0 0 0 0 .14 2.2 2.2 0 0 0 .17.45 3.62 3.62 0 0 0 .26.38l.09.1.25.24a.39.39 0 0 1 .1.08 2.22 2.22 0 0 0 .39.23 2.83 2.83 0 0 0 .41.14h.13a1.86 1.86 0 0 0 .33 0h.13a2.32 2.32 0 0 0 .45-.06 2.05 2.05 0 0 0 .41-.16l.13-.07.3-.21.11-.09a2.4 2.4 0 0 0 .36-.41L221.82 352l17.53-23z"},child:[]},{tag:"path",attr:{d:"m319.5 256.93-.46.6L264.51 329h109.8a20 20 0 0 0 20-20V203a20 20 0 0 0-20-20H274.05l-9.74 34.73h35.24A24.35 24.35 0 0 1 321 230.5a25.21 25.21 0 0 1-1 25.79zM480 202.67a16 16 0 0 0-16 16v74.66a16 16 0 0 0 32 0v-74.66a16 16 0 0 0-16-16z"},child:[]}]})(e)}function kc(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M388 160.77a20 20 0 0 0-5.85-14.91l-112-112A20 20 0 0 0 236 48v164.52l-79-67.71a20 20 0 0 0-26 30.38L225.27 256 131 336.81a20 20 0 1 0 26 30.38l79-67.71V464a20 20 0 0 0 34.14 14.14l112-112a20 20 0 0 0-1.14-29.33L286.73 256 381 175.19a20 20 0 0 0 7-14.42zm-49.42 192.36L276 415.72V299.49zM276 212.52V96.28l62.59 62.59z"},child:[]}]})(e)}function M3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 160c16-63.16 76.43-95.41 208-96a15.94 15.94 0 0 1 16 16v288a16 16 0 0 1-16 16c-128 0-177.45 25.81-208 64-30.37-38-80-64-208-64-9.88 0-16-8.05-16-17.93V80a15.94 15.94 0 0 1 16-16c131.57.59 192 32.84 208 96zm0 0v288"},child:[]}]})(e)}function T3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M352 48H160a48 48 0 0 0-48 48v368l144-128 144 128V96a48 48 0 0 0-48-48z"},child:[]}]})(e)}function F3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"272",r:"64"},child:[]},{tag:"path",attr:{d:"M432 144h-59c-3 0-6.72-1.94-9.62-5l-25.94-40.94a15.52 15.52 0 0 0-1.37-1.85C327.11 85.76 315 80 302 80h-92c-13 0-25.11 5.76-34.07 16.21a15.52 15.52 0 0 0-1.37 1.85l-25.94 41c-2.22 2.42-5.34 5-8.62 5v-8a16 16 0 0 0-16-16h-24a16 16 0 0 0-16 16v8h-4a48.05 48.05 0 0 0-48 48V384a48.05 48.05 0 0 0 48 48h352a48.05 48.05 0 0 0 48-48V192a48.05 48.05 0 0 0-48-48zM256 368a96 96 0 1 1 96-96 96.11 96.11 0 0 1-96 96z"},child:[]}]})(e)}function u0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"rect",attr:{width:"416",height:"320",x:"48",y:"96",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",rx:"56",ry:"56"},child:[]},{tag:"path",attr:{fill:"none",strokeLinejoin:"round",strokeWidth:"60",d:"M48 192h416M128 300h48v20h-48z"},child:[]}]})(e)}function B3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m98 190.06 139.78 163.12a24 24 0 0 0 36.44 0L414 190.06c13.34-15.57 2.28-39.62-18.22-39.62h-279.6c-20.5 0-31.56 24.05-18.18 39.62z"},child:[]}]})(e)}function h0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinejoin:"round",strokeWidth:"32",d:"M408 64H104a56.16 56.16 0 0 0-56 56v192a56.16 56.16 0 0 0 56 56h40v80l93.72-78.14a8 8 0 0 1 5.13-1.86H408a56.16 56.16 0 0 0 56-56V120a56.16 56.16 0 0 0-56-56z"},child:[]}]})(e)}function p0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M352 176 217.6 336 160 272"},child:[]},{tag:"rect",attr:{width:"384",height:"384",x:"64",y:"64",fill:"none",strokeLinejoin:"round",strokeWidth:"32",rx:"48",ry:"48"},child:[]}]})(e)}function Sc(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm108.25 138.29-134.4 160a16 16 0 0 1-12 5.71h-.27a16 16 0 0 1-11.89-5.3l-57.6-64a16 16 0 1 1 23.78-21.4l45.29 50.32 122.59-145.91a16 16 0 0 1 24.5 20.58z"},child:[]}]})(e)}function O3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M416 128 192 384l-96-96"},child:[]}]})(e)}function f0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"},child:[]}]})(e)}function Gp(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M473.66 210c-14-10.38-31.2-18-49.36-22.11a16.11 16.11 0 0 1-12.19-12.22c-7.8-34.75-24.59-64.55-49.27-87.13C334.15 62.25 296.21 47.79 256 47.79c-35.35 0-68 11.08-94.37 32.05a150.07 150.07 0 0 0-42.06 53 16 16 0 0 1-11.31 8.87c-26.75 5.4-50.9 16.87-69.34 33.12C13.46 197.33 0 227.24 0 261.39c0 34.52 14.49 66 40.79 88.76 25.12 21.69 58.94 33.64 95.21 33.64h104V230.42l-36.69 36.69a16 16 0 0 1-23.16-.56c-5.8-6.37-5.24-16.3.85-22.39l63.69-63.68a16 16 0 0 1 22.62 0L331 244.14c6.28 6.29 6.64 16.6.39 22.91a16 16 0 0 1-22.68.06L272 230.42v153.37h124c31.34 0 59.91-8.8 80.45-24.77 23.26-18.1 35.55-44 35.55-74.83 0-29.94-13.26-55.61-38.34-74.19zM240 448.21a16 16 0 1 0 32 0v-64.42h-32z"},child:[]}]})(e)}function D3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M430.11 347.9c-6.6-6.1-16.3-7.6-24.6-9-11.5-1.9-15.9-4-22.6-10-14.3-12.7-14.3-31.1 0-43.8l30.3-26.9c46.4-41 46.4-108.2 0-149.2-34.2-30.1-80.1-45-127.8-45-55.7 0-113.9 20.3-158.8 60.1-83.5 73.8-83.5 194.7 0 268.5 41.5 36.7 97.5 55 152.9 55.4h1.7c55.4 0 110-17.9 148.8-52.4 14.4-12.7 11.99-36.6.1-47.7z"},child:[]},{tag:"circle",attr:{cx:"144",cy:"208",r:"32"},child:[]},{tag:"circle",attr:{cx:"152",cy:"311",r:"32"},child:[]},{tag:"circle",attr:{cx:"224",cy:"144",r:"32"},child:[]},{tag:"circle",attr:{cx:"256",cy:"367",r:"48"},child:[]},{tag:"circle",attr:{cx:"328",cy:"144",r:"32"},child:[]}]})(e)}function Qp(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m441 336.2-.06-.05c-9.93-9.18-22.78-11.34-32.16-12.92l-.69-.12c-9.05-1.49-10.48-2.5-14.58-6.17-2.44-2.17-5.35-5.65-5.35-9.94s2.91-7.77 5.34-9.94l30.28-26.87c25.92-22.91 40.2-53.66 40.2-86.59s-14.25-63.68-40.2-86.6c-35.89-31.59-85-49-138.37-49C223.72 48 162 71.37 116 112.11c-43.87 38.77-68 90.71-68 146.24s24.16 107.47 68 146.23c21.75 19.24 47.49 34.18 76.52 44.42a266.17 266.17 0 0 0 86.87 15h1.81c61 0 119.09-20.57 159.39-56.4 9.7-8.56 15.15-20.83 15.34-34.56.21-14.17-5.37-27.95-14.93-36.84zM112 208a32 32 0 1 1 32 32 32 32 0 0 1-32-32zm40 135a32 32 0 1 1 32-32 32 32 0 0 1-32 32zm40-199a32 32 0 1 1 32 32 32 32 0 0 1-32-32zm64 271a48 48 0 1 1 48-48 48 48 0 0 1-48 48zm72-239a32 32 0 1 1 32-32 32 32 0 0 1-32 32z"},child:[]}]})(e)}function U3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"rect",attr:{width:"336",height:"336",x:"128",y:"128",fill:"none",strokeLinejoin:"round",strokeWidth:"32",rx:"57",ry:"57"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m383.5 128 .5-24a56.16 56.16 0 0 0-56-56H112a64.19 64.19 0 0 0-64 64v216a56.16 56.16 0 0 0 56 56h24"},child:[]}]})(e)}function H3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M336 176h40a40 40 0 0 1 40 40v208a40 40 0 0 1-40 40H136a40 40 0 0 1-40-40V216a40 40 0 0 1 40-40h40"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m176 272 80 80 80-80M256 48v288"},child:[]}]})(e)}function W3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"192",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]}]})(e)}function q3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448zM248 315.85l-51.79-51.79a2 2 0 0 0-3.39 1.69 64.11 64.11 0 0 0 53.49 53.49 2 2 0 0 0 1.69-3.39zm16-119.7L315.87 248a2 2 0 0 0 3.4-1.69 64.13 64.13 0 0 0-53.55-53.55 2 2 0 0 0-1.72 3.39z"},child:[]},{tag:"path",attr:{d:"M491 273.36a32.2 32.2 0 0 0-.1-34.76c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.68 96a226.54 226.54 0 0 0-71.82 11.79 4 4 0 0 0-1.56 6.63l47.24 47.24a4 4 0 0 0 3.82 1.05 96 96 0 0 1 116 116 4 4 0 0 0 1.05 3.81l67.95 68a4 4 0 0 0 5.4.24 343.81 343.81 0 0 0 67.24-77.4zM256 352a96 96 0 0 1-93.3-118.63 4 4 0 0 0-1.05-3.81l-66.84-66.87a4 4 0 0 0-5.41-.23c-24.39 20.81-47 46.13-67.67 75.72a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.39 76.14 98.28 100.65C162.06 402 207.92 416 255.68 416a238.22 238.22 0 0 0 72.64-11.55 4 4 0 0 0 1.61-6.64l-47.47-47.46a4 4 0 0 0-3.81-1.05A96 96 0 0 1 256 352z"},child:[]}]})(e)}function V3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"64"},child:[]},{tag:"path",attr:{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96c-42.52 0-84.33 12.15-124.27 36.11-40.73 24.43-77.63 60.12-109.68 106.07a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416c46.71 0 93.81-14.43 136.2-41.72 38.46-24.77 72.72-59.66 99.08-100.92a32.2 32.2 0 0 0-.1-34.76zM256 352a96 96 0 1 1 96-96 96.11 96.11 0 0 1-96 96z"},child:[]}]})(e)}function K3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M63.28 202a15.29 15.29 0 0 1-7.7-2 14.84 14.84 0 0 1-5.52-20.46C69.34 147.36 128 72.25 256 72.25c55.47 0 104.12 14.57 144.53 43.29 33.26 23.57 51.9 50.25 60.78 63.1a14.79 14.79 0 0 1-4 20.79 15.52 15.52 0 0 1-21.24-4C420 172.32 371 102 256 102c-112.25 0-163 64.71-179.53 92.46A15 15 0 0 1 63.28 202z"},child:[]},{tag:"path",attr:{d:"M320.49 496a15.31 15.31 0 0 1-3.79-.43c-92.85-23-127.52-115.82-128.93-119.68l-.22-.85c-.76-2.68-19.39-66.33 9.21-103.61 13.11-17 33.05-25.72 59.38-25.72 24.48 0 42.14 7.61 54.28 23.36 10 12.86 14 28.72 17.87 44 8.13 31.82 14 48.53 47.79 50.25 14.84.75 24.59-7.93 30.12-15.32 14.95-20.15 17.55-53 6.28-82C398 228.57 346.61 158 256 158c-38.68 0-74.22 12.43-102.72 35.79-23.59 19.35-42.28 46.67-51.28 74.75-16.69 52.28 5.2 134.46 5.41 135.21A14.83 14.83 0 0 1 96.54 422a15.39 15.39 0 0 1-18.74-10.6c-1-3.75-24.38-91.4-5.1-151.82 21-65.47 85.81-131.47 183.33-131.47 45.07 0 87.65 15.32 123.19 44.25 27.52 22.5 50 52.72 61.76 82.93 14.95 38.57 10.94 81.86-10.19 110.14-14.08 18.86-34.13 28.72-56.34 27.65-57.86-2.9-68.26-43.29-75.84-72.75-7.8-30.22-12.79-44.79-42.58-44.79-16.36 0-27.85 4.5-35 13.82-9.75 12.75-10.51 32.68-9.43 47.14a152.44 152.44 0 0 0 5.1 29.79c2.38 6 33.37 82 107.59 100.39a14.88 14.88 0 0 1 11 18.11 15.36 15.36 0 0 1-14.8 11.21z"},child:[]},{tag:"path",attr:{d:"M201.31 489.14a15.5 15.5 0 0 1-11.16-4.71c-37.16-39-58.18-82.61-66.09-137.14V347c-4.44-36.1 2.06-87.21 33.91-122.35 23.51-25.93 56.56-39.11 98.06-39.11 49.08 0 87.65 22.82 111.7 65.89 17.45 31.29 20.91 62.47 21 63.75a15.07 15.07 0 0 1-13.65 16.4 15.26 15.26 0 0 1-16.79-13.29A154 154 0 0 0 340.43 265c-18.64-32.89-47-49.61-84.51-49.61-32.4 0-57.75 9.75-75.19 29-25.14 27.75-30 70.5-26.55 98.78 6.93 48.22 25.46 86.58 58.18 120.86a14.7 14.7 0 0 1-.76 21.11 15.44 15.44 0 0 1-10.29 4z"},child:[]},{tag:"path",attr:{d:"M372.5 446.18c-32.5 0-60.13-9-82.24-26.89-44.42-35.79-49.4-94.08-49.62-96.54a15.27 15.27 0 0 1 30.45-2.36c.11.86 4.55 48.54 38.79 76 20.26 16.18 47.34 22.6 80.71 18.85a15.2 15.2 0 0 1 16.91 13.18 14.92 14.92 0 0 1-13.44 16.5 187 187 0 0 1-21.56 1.26zm25.68-397.39C385.5 40.54 340.54 16 256 16c-88.74 0-133.81 27.11-143.78 34a11.59 11.59 0 0 0-1.84 1.4.36.36 0 0 1-.22.1 14.87 14.87 0 0 0-5.09 11.15 15.06 15.06 0 0 0 15.31 14.85 15.56 15.56 0 0 0 8.88-2.79c.43-.32 39.22-28.82 126.77-28.82S382.58 74.29 383 74.5a15.25 15.25 0 0 0 9.21 3 15.06 15.06 0 0 0 15.29-14.89 14.9 14.9 0 0 0-9.32-13.82z"},child:[]}]})(e)}function G3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M194.82 496a18.36 18.36 0 0 1-18.1-21.53v-.11L204.83 320H96a16 16 0 0 1-12.44-26.06L302.73 23a18.45 18.45 0 0 1 32.8 13.71c0 .3-.08.59-.13.89L307.19 192H416a16 16 0 0 1 12.44 26.06L209.24 489a18.45 18.45 0 0 1-14.42 7z"},child:[]}]})(e)}function Q3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M483.13 245.38C461.92 149.49 430 98.31 382.65 84.33A107.13 107.13 0 0 0 352 80c-13.71 0-25.65 3.34-38.28 6.88C298.5 91.15 281.21 96 256 96s-42.51-4.84-57.76-9.11C185.6 83.34 173.67 80 160 80a115.74 115.74 0 0 0-31.73 4.32c-47.1 13.92-79 65.08-100.52 161C4.61 348.54 16 413.71 59.69 428.83a56.62 56.62 0 0 0 18.64 3.22c29.93 0 53.93-24.93 70.33-45.34 18.53-23.1 40.22-34.82 107.34-34.82 59.95 0 84.76 8.13 106.19 34.82 13.47 16.78 26.2 28.52 38.9 35.91 16.89 9.82 33.77 12 50.16 6.37 25.82-8.81 40.62-32.1 44-69.24 2.57-28.48-1.39-65.89-12.12-114.37zM208 240h-32v32a16 16 0 0 1-32 0v-32h-32a16 16 0 0 1 0-32h32v-32a16 16 0 0 1 32 0v32h32a16 16 0 0 1 0 32zm84 4a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm44 44a20 20 0 1 1 20-19.95A20 20 0 0 1 336 288zm0-88a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm44 44a20 20 0 1 1 20-20 20 20 0 0 1-20 20z"},child:[]}]})(e)}function Y3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",d:"M200 144h40v-40a40 40 0 1 0-40 40zm152-40a40 40 0 0 0-80 0v40h40a40 40 0 0 0 40-40z"},child:[]},{tag:"path",attr:{d:"M80 416a64 64 0 0 0 64 64h92a4 4 0 0 0 4-4V292a4 4 0 0 0-4-4H88a8 8 0 0 0-8 8zm160-164V144h32v108a4 4 0 0 0 4 4h140a47.93 47.93 0 0 0 16-2.75A48.09 48.09 0 0 0 464 208v-16a48 48 0 0 0-48-48h-40.54a2 2 0 0 1-1.7-3A72 72 0 0 0 256 58.82 72 72 0 0 0 138.24 141a2 2 0 0 1-1.7 3H96a48 48 0 0 0-48 48v16a48.09 48.09 0 0 0 32 45.25A47.93 47.93 0 0 0 96 256h140a4 4 0 0 0 4-4zm32-148a40 40 0 1 1 40 40h-40zm-74.86-39.9A40 40 0 0 1 240 104v40h-40a40 40 0 0 1-2.86-79.89zM276 480h92a64 64 0 0 0 64-64V296a8 8 0 0 0-8-8H276a4 4 0 0 0-4 4v184a4 4 0 0 0 4 4z"},child:[]}]})(e)}function J3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"128",cy:"96",r:"48",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"circle",attr:{cx:"256",cy:"416",r:"48",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 256v112"},child:[]},{tag:"circle",attr:{cx:"384",cy:"96",r:"48",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M128 144c0 74.67 68.92 112 128 112m128-112c0 74.67-68.92 112-128 112"},child:[]}]})(e)}function X3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M340.75 344.49c5.91-20.7 9.82-44.75 11.31-67.84a4.41 4.41 0 0 0-4.46-4.65h-71.06a4.43 4.43 0 0 0-4.47 4.39v55.3a4.44 4.44 0 0 0 4.14 4.38 273.51 273.51 0 0 1 59 11.39 4.45 4.45 0 0 0 5.54-2.97zm-17.17 32.82a260.05 260.05 0 0 0-46.6-9.09 4.42 4.42 0 0 0-4.91 4.29v65.24a4.47 4.47 0 0 0 6.76 3.7c15.9-9.27 29-24.84 40.84-45.43 1.94-3.36 4.89-9.15 6.67-12.69a4.29 4.29 0 0 0-2.76-6.02zm-88.29-8.91a256.85 256.85 0 0 0-46.56 8.82c-2.64.76-3.75 4.4-2.55 6.79 1.79 3.56 4 8.11 5.89 11.51 13 23 26.84 37.5 41.24 45.93a4.47 4.47 0 0 0 6.76-3.7v-65.27a4.16 4.16 0 0 0-4.78-4.08zm.31-96.4h-71.06a4.41 4.41 0 0 0-4.46 4.64c1.48 23.06 5.37 47.16 11.26 67.84a4.46 4.46 0 0 0 5.59 3 272.2 272.2 0 0 1 59-11.36 4.44 4.44 0 0 0 4.15-4.38V276.4a4.43 4.43 0 0 0-4.48-4.4zM277 143.78a235.8 235.8 0 0 0 46.5-9.14 4.3 4.3 0 0 0 2.76-6c-1.79-3.57-4.27-8.68-6.17-12.09-12.29-22-26.14-37.35-41.24-46a4.48 4.48 0 0 0-6.76 3.7v65.23a4.43 4.43 0 0 0 4.91 4.3zm-.46 96.22h71.06a4.39 4.39 0 0 0 4.46-4.58c-1.48-22.77-5.27-47.8-11.16-68.22a4.46 4.46 0 0 0-5.59-2.95c-19 5.74-38.79 10.43-59.09 12a4.4 4.4 0 0 0-4.15 4.32v55.11a4.4 4.4 0 0 0 4.47 4.32zM233.31 70.56c-15.42 8.57-29.17 24.43-41.47 46.37-1.91 3.41-4.19 8.11-6 11.67a4.31 4.31 0 0 0 2.76 6 225.42 225.42 0 0 0 46.54 9.17 4.43 4.43 0 0 0 4.91-4.29V74.26a4.49 4.49 0 0 0-6.74-3.7zm2.61 105.7c-20.3-1.55-40.11-6.24-59.09-12a4.46 4.46 0 0 0-5.59 2.95c-5.89 20.42-9.68 45.45-11.16 68.22a4.39 4.39 0 0 0 4.46 4.58h71.06a4.4 4.4 0 0 0 4.47-4.34v-55.09a4.4 4.4 0 0 0-4.15-4.32z"},child:[]},{tag:"path",attr:{d:"M414.39 97.61A224 224 0 1 0 97.61 414.39 224 224 0 1 0 414.39 97.61zM176.6 430.85a219.08 219.08 0 0 1-12.48-19.66c-2-3.69-4.84-9.26-6.73-13.13a7.29 7.29 0 0 0-10.31-3.16c-4.3 2.41-10 5.72-14.13 8.43a147.29 147.29 0 0 1-23.57-22.43 248.83 248.83 0 0 1 30.41-18.36c1.86-1 2.77-2.14 2.18-4.18a374.8 374.8 0 0 1-14.09-82.17 4.36 4.36 0 0 0-4.3-4.17H66.84a2 2 0 0 1-2-1.7A98.28 98.28 0 0 1 64 256a96.27 96.27 0 0 1 .86-14.29 2 2 0 0 1 2-1.7h56.74c2.29 0 4.17-1.32 4.29-3.63a372.71 372.71 0 0 1 14-81.83 4.36 4.36 0 0 0-2.19-5.11 260.63 260.63 0 0 1-29.84-17.9 169.82 169.82 0 0 1 23.14-22.8c4.08 2.68 9.4 5.71 13.66 8.11a7.89 7.89 0 0 0 11-3.42c1.88-3.87 4-8.18 6.06-11.88a221.93 221.93 0 0 1 12.54-19.91A185 185 0 0 1 256 64c28.94 0 55.9 7 80.53 18.46a202.23 202.23 0 0 1 12 19c2.59 4.66 5.34 10.37 7.66 15.32a4.29 4.29 0 0 0 5.92 1.94c5.38-2.91 11.21-6.26 16.34-9.63a171.36 171.36 0 0 1 23.2 23 244.89 244.89 0 0 1-29.06 17.31 4.35 4.35 0 0 0-2.18 5.12 348.68 348.68 0 0 1 13.85 81.4 4.33 4.33 0 0 0 4.3 4.12l56.62-.07a2 2 0 0 1 2 1.7 117.46 117.46 0 0 1 0 28.62 2 2 0 0 1-2 1.72h-56.67a4.35 4.35 0 0 0-4.3 4.17 367.4 367.4 0 0 1-13.87 81.3 4.45 4.45 0 0 0 2.19 5.19c5 2.59 10.57 5.48 15.37 8.42s9.55 6.08 14.13 9.34a172.73 172.73 0 0 1-23 22.93c-2.44-1.61-5.34-3.44-7.84-4.94-1.72-1-4.89-2.77-6.65-3.76-3.82-2.14-7.88-.54-9.79 3.4s-4.83 9.59-6.87 13.25a212.42 212.42 0 0 1-12.35 19.53C310.91 442.37 284.94 448 256 448s-54.77-5.63-79.4-17.15z"},child:[]}]})(e)}function Z3(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M417.84 448a16 16 0 0 1-11.35-4.72l-365.84-368a16 16 0 1 1 22.7-22.56l365.83 368A16 16 0 0 1 417.84 448zM364.92 80c-44.09 0-74.61 24.82-92.39 45.5a6 6 0 0 1-9.06 0C245.69 104.82 215.16 80 171.08 80a107.71 107.71 0 0 0-31 4.54l269.13 270.7c3-3.44 5.7-6.64 8.14-9.6 40-48.75 59.15-98.79 58.61-153C475.37 130.53 425.54 80 364.92 80zM69 149.15a115.06 115.06 0 0 0-9 43.49c-.54 54.21 18.63 104.25 58.61 153 18.77 22.87 52.8 59.45 131.39 112.8a31.88 31.88 0 0 0 36 0c20.35-13.82 37.7-26.5 52.58-38.12z"},child:[]}]})(e)}function Ol(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 448a32 32 0 0 1-18-5.57c-78.59-53.35-112.62-89.93-131.39-112.8-40-48.75-59.15-98.8-58.61-153C48.63 114.52 98.46 64 159.08 64c44.08 0 74.61 24.83 92.39 45.51a6 6 0 0 0 9.06 0C278.31 88.81 308.84 64 352.92 64c60.62 0 110.45 50.52 111.08 112.64.54 54.21-18.63 104.26-58.61 153-18.77 22.87-52.8 59.45-131.39 112.8a32 32 0 0 1-18 5.56z"},child:[]}]})(e)}function Dl(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M80 212v236a16 16 0 0 0 16 16h96V328a24 24 0 0 1 24-24h80a24 24 0 0 1 24 24v136h96a16 16 0 0 0 16-16V212"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M480 256 266.89 52c-5-5.28-16.69-5.34-21.78 0L32 256m368-77V64h-48v69"},child:[]}]})(e)}function e6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M261.56 101.28a8 8 0 0 0-11.06 0L66.4 277.15a8 8 0 0 0-2.47 5.79L63.9 448a32 32 0 0 0 32 32H192a16 16 0 0 0 16-16V328a8 8 0 0 1 8-8h80a8 8 0 0 1 8 8v136a16 16 0 0 0 16 16h96.06a32 32 0 0 0 32-32V282.94a8 8 0 0 0-2.47-5.79z"},child:[]},{tag:"path",attr:{d:"m490.91 244.15-74.8-71.56V64a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v32l-57.92-55.38C272.77 35.14 264.71 32 256 32c-8.68 0-16.72 3.14-22.14 8.63l-212.7 203.5c-6.22 6-7 15.87-1.34 22.37A16 16 0 0 0 43 267.56L250.5 69.28a8 8 0 0 1 11.06 0l207.52 198.28a16 16 0 0 0 22.59-.44c6.14-6.36 5.63-16.86-.76-22.97z"},child:[]}]})(e)}function t6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M450.29 112H142c-34 0-62 27.51-62 61.33v245.34c0 33.82 28 61.33 62 61.33h308c34 0 62-26.18 62-60V173.33c0-33.82-27.68-61.33-61.71-61.33zm-77.15 61.34a46 46 0 1 1-46.28 46 46.19 46.19 0 0 1 46.28-46.01zm-231.55 276c-17 0-29.86-13.75-29.86-30.66v-64.83l90.46-80.79a46.54 46.54 0 0 1 63.44 1.83L328.27 337l-113 112.33zM480 418.67a30.67 30.67 0 0 1-30.71 30.66H259L376.08 333a46.24 46.24 0 0 1 59.44-.16L480 370.59z"},child:[]},{tag:"path",attr:{d:"M384 32H64A64 64 0 0 0 0 96v256a64.11 64.11 0 0 0 48 62V152a72 72 0 0 1 72-72h326a64.11 64.11 0 0 0-62-48z"},child:[]}]})(e)}function n6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 256s-48-96-126-96c-54.12 0-98 43-98 96s43.88 96 98 96c37.51 0 71-22.41 94-48m32-48s48 96 126 96c54.12 0 98-43 98-96s-43.88-96-98-96c-37.51 0-71 22.41-94 48"},child:[]}]})(e)}function m0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M248 64C146.39 64 64 146.39 64 248s82.39 184 184 184 184-82.39 184-184S349.61 64 248 64z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M220 220h32v116"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M208 340h88"},child:[]},{tag:"path",attr:{d:"M248 130a26 26 0 1 0 26 26 26 26 0 0 0-26-26z"},child:[]}]})(e)}function Nc(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 56C145.72 56 56 145.72 56 256s89.72 200 200 200 200-89.72 200-200S366.28 56 256 56zm0 82a26 26 0 1 1-26 26 26 26 0 0 1 26-26zm48 226h-88a16 16 0 0 1 0-32h28v-88h-16a16 16 0 0 1 0-32h32a16 16 0 0 1 16 16v104h28a16 16 0 0 1 0 32z"},child:[]}]})(e)}function r6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M48 112h288M192 64v48m80 336 96-224 96 224m-162.5-64h133M281.3 112S257 206 199 277 80 384 80 384"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 336s-35-27-72-75-56-85-56-85"},child:[]}]})(e)}function i6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m478.33 433.6-90-218a22 22 0 0 0-40.67 0l-90 218a22 22 0 1 0 40.67 16.79L316.66 406h102.67l18.33 44.39A22 22 0 0 0 458 464a22 22 0 0 0 20.32-30.4zM334.83 362 368 281.65 401.17 362zm-66.99-19.08a22 22 0 0 0-4.89-30.7c-.2-.15-15-11.13-36.49-34.73 39.65-53.68 62.11-114.75 71.27-143.49H330a22 22 0 0 0 0-44H214V70a22 22 0 0 0-44 0v20H54a22 22 0 0 0 0 44h197.25c-9.52 26.95-27.05 69.5-53.79 108.36-31.41-41.68-43.08-68.65-43.17-68.87a22 22 0 0 0-40.58 17c.58 1.38 14.55 34.23 52.86 83.93.92 1.19 1.83 2.35 2.74 3.51-39.24 44.35-77.74 71.86-93.85 80.74a22 22 0 1 0 21.07 38.63c2.16-1.18 48.6-26.89 101.63-85.59 22.52 24.08 38 35.44 38.93 36.1a22 22 0 0 0 30.75-4.9z"},child:[]}]})(e)}function g0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m434.8 137.65-149.36-68.1c-16.19-7.4-42.69-7.4-58.88 0L77.3 137.65c-17.6 8-17.6 21.09 0 29.09l148 67.5c16.89 7.7 44.69 7.7 61.58 0l148-67.5c17.52-8 17.52-21.1-.08-29.09zM160 308.52l-82.7 37.11c-17.6 8-17.6 21.1 0 29.1l148 67.5c16.89 7.69 44.69 7.69 61.58 0l148-67.5c17.6-8 17.6-21.1 0-29.1l-79.94-38.47"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m160 204.48-82.8 37.16c-17.6 8-17.6 21.1 0 29.1l148 67.49c16.89 7.7 44.69 7.7 61.58 0l148-67.49c17.7-8 17.7-21.1.1-29.1L352 204.48"},child:[]}]})(e)}function s6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M160 144h288M160 256h288M160 368h288"},child:[]},{tag:"circle",attr:{cx:"80",cy:"144",r:"16",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"circle",attr:{cx:"80",cy:"256",r:"16",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"circle",attr:{cx:"80",cy:"368",r:"16",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"},child:[]}]})(e)}function $c(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"192",r:"32"},child:[]},{tag:"path",attr:{d:"M256 32c-88.22 0-160 68.65-160 153 0 40.17 18.31 93.59 54.42 158.78 29 52.34 62.55 99.67 80 123.22a31.75 31.75 0 0 0 51.22 0c17.42-23.55 51-70.88 80-123.22C397.69 278.61 416 225.19 416 185c0-84.35-71.78-153-160-153zm0 224a64 64 0 1 1 64-64 64.07 64.07 0 0 1-64 64z"},child:[]}]})(e)}function a6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M368 192h-16v-80a96 96 0 1 0-192 0v80h-16a64.07 64.07 0 0 0-64 64v176a64.07 64.07 0 0 0 64 64h224a64.07 64.07 0 0 0 64-64V256a64.07 64.07 0 0 0-64-64zm-48 0H192v-80a64 64 0 1 1 128 0z"},child:[]}]})(e)}function o6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M368 192H192v-80a64 64 0 1 1 128 0 16 16 0 0 0 32 0 96 96 0 1 0-192 0v80h-16a64.07 64.07 0 0 0-64 64v176a64.07 64.07 0 0 0 64 64h224a64.07 64.07 0 0 0 64-64V256a64.07 64.07 0 0 0-64-64z"},child:[]}]})(e)}function Ec(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 32v448h448V32zm240 348c0 43.61-25.76 64.87-63.05 64.87-33.68 0-53.23-17.44-63.15-38.49l34.28-20.75c6.61 11.73 11.63 21.65 26.06 21.65 12 0 21.86-5.41 21.86-26.46V240h44zm99.35 63.87c-39.09 0-64.35-17.64-76.68-42L329 382c9 14.74 20.75 24.56 41.5 24.56 17.44 0 27.57-7.72 27.57-19.75 0-14.43-10.43-19.54-29.68-28l-10.52-4.52c-30.38-12.92-50.52-29.16-50.52-63.45 0-31.57 24.05-54.63 61.64-54.63 26.77 0 46 8.32 59.85 32.68L396 290c-7.22-12.93-15-18-27.06-18-12.33 0-20.15 7.82-20.15 18 0 12.63 7.82 17.74 25.86 25.56l10.52 4.51c35.79 15.34 55.94 31 55.94 66.16.01 37.9-29.76 57.64-69.76 57.64z"},child:[]}]})(e)}function l6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M429.76 130.07 274.33 36.85a37 37 0 0 0-36.65 0L82.24 130.06A38.2 38.2 0 0 0 64 162.83V349a38.26 38.26 0 0 0 18.24 32.8L123 406.14l.23.13c20.58 10.53 28.46 10.53 37.59 10.53 32.14 0 52.11-20.8 52.11-54.29V182a8.51 8.51 0 0 0-8.42-8.58h-22.38a8.51 8.51 0 0 0-8.42 8.58v180.51a15 15 0 0 1-6.85 13.07c-5.9 3.6-14.47 2.84-24.14-2.15l-39.06-23.51a1.1 1.1 0 0 1-.48-.92V165.46a1.32 1.32 0 0 1 .59-1.06l151.84-93a.82.82 0 0 1 .73 0l151.93 93a1.34 1.34 0 0 1 .55 1.1V349a1.28 1.28 0 0 1-.45 1l-152.06 90.65a1.22 1.22 0 0 1-.8 0l-38.83-23.06a7.8 7.8 0 0 0-7.83-.41l-.34.2c-10.72 6.35-13.6 8-23.54 11.62-1.62.59-5.43 2-5.76 5.77s3.29 6.45 6.51 8.32l51.9 31.87a35.67 35.67 0 0 0 18.3 5.07h.58a35.87 35.87 0 0 0 17.83-5.07l155.43-93.13A38.37 38.37 0 0 0 448 349V162.83a38.21 38.21 0 0 0-18.24-32.76z"},child:[]},{tag:"path",attr:{d:"M307.88 318.05c-37.29 0-45.24-10.42-47.6-27.24a8.43 8.43 0 0 0-8.22-7.32h-19.8a8.44 8.44 0 0 0-8.26 8.58c0 14.58 5.12 62.17 83.92 62.17 24.38 0 44.66-5.7 58.63-16.49S388 311.26 388 292.55c0-37.55-24.5-47.83-72.75-54.55-49.05-6.82-49.05-10.29-49.05-17.89 0-5.47 0-18.28 35.46-18.28 25.23 0 38.74 3.19 43.06 20a8.35 8.35 0 0 0 8.06 6.67h19.87a8.24 8.24 0 0 0 6.16-2.86 8.91 8.91 0 0 0 2.12-6.44c-2.57-35.55-28.56-53.58-79.24-53.58-46.06 0-73.55 20.75-73.55 55.5 0 38.1 28.49 48.87 71.29 53.33 50 5.17 50 12.71 50 19.37.03 10.38-4.28 24.23-41.55 24.23z"},child:[]}]})(e)}function c6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M314 36.38c-18.59-3.06-45.8-4.47-64.27-4.38a311.09 311.09 0 0 0-51.66 4.38c-45.74 8-54.07 24.7-54.07 55.54V128h112v16H107.62C66.06 144 32.33 193.67 32 255.12v.88a162.91 162.91 0 0 0 3.13 32c9.29 46.28 38.23 80 72.49 80H128v-54c0-31.3 20.84-59.95 55-66.1l9.87-1.23H314a56.05 56.05 0 0 0 15.06-2A52.48 52.48 0 0 0 368 193.68V91.92c0-28.92-24.68-50.73-54-55.54zM194.93 105.5a20.37 20.37 0 1 1 20.3-20.3 20.29 20.29 0 0 1-20.3 20.3z"},child:[]},{tag:"path",attr:{d:"M475.28 217c-10.7-42.61-38.41-73-70.9-73h-17.71v47.45c0 39.57-26 68.22-57.74 73.13a63.54 63.54 0 0 1-9.69.75H198.08a60 60 0 0 0-15.23 1.95C160.54 273.14 144 291.7 144 315.77v101.77c0 29 29.14 46 57.73 54.31 34.21 9.95 71.48 11.75 112.42 0 27.19-7.77 53.85-23.48 53.85-54.31V384H256v-16h148.38c29.44 0 54.95-24.93 67.45-61.31A156.83 156.83 0 0 0 480 256a160.64 160.64 0 0 0-4.72-39zM316.51 404a20.37 20.37 0 1 1-20.3 20.3 20.29 20.29 0 0 1 20.3-20.3z"},child:[]}]})(e)}function d6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M424 80H88a56.06 56.06 0 0 0-56 56v240a56.06 56.06 0 0 0 56 56h336a56.06 56.06 0 0 0 56-56V136a56.06 56.06 0 0 0-56-56zm-14.18 92.63-144 112a16 16 0 0 1-19.64 0l-144-112a16 16 0 1 1 19.64-25.26L256 251.73l134.18-104.36a16 16 0 0 1 19.64 25.26z"},child:[]}]})(e)}function x0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M80 160h352M80 256h352M80 352h352"},child:[]}]})(e)}function u6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M160 136c0-30.62 4.51-61.61 16-88C99.57 81.27 48 159.32 48 248c0 119.29 96.71 216 216 216 88.68 0 166.73-51.57 200-128-26.39 11.49-57.38 16-88 16-119.29 0-216-96.71-216-216z"},child:[]}]})(e)}function Yp(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M264 480A232 232 0 0 1 32 248c0-94 54-178.28 137.61-214.67a16 16 0 0 1 21.06 21.06C181.07 76.43 176 104.66 176 136c0 110.28 89.72 200 200 200 31.34 0 59.57-5.07 81.61-14.67a16 16 0 0 1 21.06 21.06C442.28 426 358 480 264 480z"},child:[]}]})(e)}function h6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M421.84 37.37a25.86 25.86 0 0 0-22.6-4.46L199.92 86.49A32.3 32.3 0 0 0 176 118v226c0 6.74-4.36 12.56-11.11 14.83l-.12.05-52 18C92.88 383.53 80 402 80 423.91a55.54 55.54 0 0 0 23.23 45.63A54.78 54.78 0 0 0 135.34 480a55.82 55.82 0 0 0 17.75-2.93l.38-.13 21.84-7.94A47.84 47.84 0 0 0 208 423.91v-212c0-7.29 4.77-13.21 12.16-15.07l.21-.06L395 150.14a4 4 0 0 1 5 3.86v141.93c0 6.75-4.25 12.38-11.11 14.68l-.25.09-50.89 18.11A49.09 49.09 0 0 0 304 375.92a55.67 55.67 0 0 0 23.23 45.8 54.63 54.63 0 0 0 49.88 7.35l.36-.12 21.84-7.95A47.83 47.83 0 0 0 432 375.92V58a25.74 25.74 0 0 0-10.16-20.63z"},child:[]}]})(e)}function p6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M448 464a15.92 15.92 0 0 1-11.31-4.69l-384-384a16 16 0 0 1 22.62-22.62l384 384A16 16 0 0 1 448 464zm-7.92-122.69c-1.66-2-3.29-4-4.89-5.93-22-26.61-35.31-42.67-35.31-118 0-39-9.33-71-27.72-95-13.56-17.73-31.89-31.18-56.05-41.12a3 3 0 0 1-.82-.67C306.6 51.49 282.82 32 256 32s-50.59 19.49-59.28 48.56a3.13 3.13 0 0 1-.81.65 157.88 157.88 0 0 0-21.88 11 8 8 0 0 0-1.49 12.49l261.78 261.74a8 8 0 0 0 13.6-6.63 35.39 35.39 0 0 0-7.84-18.5zM112.14 217.35c0 75.36-13.29 91.42-35.31 118-1.6 1.93-3.23 3.89-4.89 5.93a35.16 35.16 0 0 0-4.65 37.62c6.17 13 19.32 21.07 34.33 21.07H312.8a8 8 0 0 0 5.66-13.66l-192-192a8 8 0 0 0-13.62 5q-.7 8.69-.7 18.04zM256 480a80.06 80.06 0 0 0 70.44-42.13 4 4 0 0 0-3.54-5.87H189.12a4 4 0 0 0-3.55 5.87A80.06 80.06 0 0 0 256 480z"},child:[]}]})(e)}function zc(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M440.08 341.31c-1.66-2-3.29-4-4.89-5.93-22-26.61-35.31-42.67-35.31-118 0-39-9.33-71-27.72-95-13.56-17.73-31.89-31.18-56.05-41.12a3 3 0 0 1-.82-.67C306.6 51.49 282.82 32 256 32s-50.59 19.49-59.28 48.56a3.13 3.13 0 0 1-.81.65c-56.38 23.21-83.78 67.74-83.78 136.14 0 75.36-13.29 91.42-35.31 118-1.6 1.93-3.23 3.89-4.89 5.93a35.16 35.16 0 0 0-4.65 37.62c6.17 13 19.32 21.07 34.33 21.07H410.5c14.94 0 28-8.06 34.19-21a35.17 35.17 0 0 0-4.61-37.66zM256 480a80.06 80.06 0 0 0 70.44-42.13 4 4 0 0 0-3.54-5.87H189.12a4 4 0 0 0-3.55 5.87A80.06 80.06 0 0 0 256 480z"},child:[]}]})(e)}function v0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M258.9 48C141.92 46.42 46.42 141.92 48 258.9c1.56 112.19 92.91 203.54 205.1 205.1 117 1.6 212.48-93.9 210.88-210.88C462.44 140.91 371.09 49.56 258.9 48zm126.42 327.25a4 4 0 0 1-6.14-.32 124.27 124.27 0 0 0-32.35-29.59C321.37 329 289.11 320 256 320s-65.37 9-90.83 25.34a124.24 124.24 0 0 0-32.35 29.58 4 4 0 0 1-6.14.32A175.32 175.32 0 0 1 80 259c-1.63-97.31 78.22-178.76 175.57-179S432 158.81 432 256a175.32 175.32 0 0 1-46.68 119.25z"},child:[]},{tag:"path",attr:{d:"M256 144c-19.72 0-37.55 7.39-50.22 20.82s-19 32-17.57 51.93C191.11 256 221.52 288 256 288s64.83-32 67.79-71.24c1.48-19.74-4.8-38.14-17.68-51.82C293.39 151.44 275.59 144 256 144z"},child:[]}]})(e)}function _0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z"},child:[]},{tag:"circle",attr:{cx:"256",cy:"256",r:"144"},child:[]}]})(e)}function f6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"256",cy:"256",r:"36"},child:[]},{tag:"path",attr:{d:"M190.24 341.77a22 22 0 0 1-16.46-7.38 118 118 0 0 1 0-156.76 22 22 0 1 1 32.87 29.24 74 74 0 0 0 0 98.29 22 22 0 0 1-16.43 36.61zm131.52 0a22 22 0 0 1-16.43-36.61 74 74 0 0 0 0-98.29 22 22 0 1 1 32.87-29.24 118 118 0 0 1 0 156.76 22 22 0 0 1-16.44 7.38z"},child:[]},{tag:"path",attr:{d:"M139.29 392.72a21.92 21.92 0 0 1-16.08-7 190 190 0 0 1 0-259.49 22 22 0 1 1 32.13 30.06 146 146 0 0 0 0 199.38 22 22 0 0 1-16.06 37zm233.42 0a22 22 0 0 1-16.06-37 146 146 0 0 0 0-199.38 22 22 0 1 1 32.13-30.06 190 190 0 0 1 0 259.49 21.92 21.92 0 0 1-16.07 6.95z"},child:[]},{tag:"path",attr:{d:"M429 438a22 22 0 0 1-16.39-36.67 218.34 218.34 0 0 0 0-290.66 22 22 0 0 1 32.78-29.34 262.34 262.34 0 0 1 0 349.34A22 22 0 0 1 429 438zm-346 0a21.94 21.94 0 0 1-16.41-7.33 262.34 262.34 0 0 1 0-349.34 22 22 0 0 1 32.78 29.34 218.34 218.34 0 0 0 0 290.66A22 22 0 0 1 83 438z"},child:[]}]})(e)}function m6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M320 146s24.36-12-64-12a160 160 0 1 0 160 160"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m256 58 80 80-80 80"},child:[]}]})(e)}function j0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M400 256H112"},child:[]}]})(e)}function zo(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M461.81 53.81a4.4 4.4 0 0 0-3.3-3.39c-54.38-13.3-180 34.09-248.13 102.17a294.9 294.9 0 0 0-33.09 39.08c-21-1.9-42-.3-59.88 7.5-50.49 22.2-65.18 80.18-69.28 105.07a9 9 0 0 0 9.8 10.4l81.07-8.9a180.29 180.29 0 0 0 1.1 18.3 18.15 18.15 0 0 0 5.3 11.09l31.39 31.39a18.15 18.15 0 0 0 11.1 5.3 179.91 179.91 0 0 0 18.19 1.1l-8.89 81a9 9 0 0 0 10.39 9.79c24.9-4 83-18.69 105.07-69.17 7.8-17.9 9.4-38.79 7.6-59.69a293.91 293.91 0 0 0 39.19-33.09c68.38-68 115.47-190.86 102.37-247.95zM298.66 213.67a42.7 42.7 0 1 1 60.38 0 42.65 42.65 0 0 1-60.38 0z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M109.64 352a45.06 45.06 0 0 0-26.35 12.84C65.67 382.52 64 448 64 448s65.52-1.67 83.15-19.31A44.73 44.73 0 0 0 160 402.32"},child:[]}]})(e)}function g6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M328.85 156.79a26.69 26.69 0 1 0 18.88 7.81 26.6 26.6 0 0 0-18.88-7.81z"},child:[]},{tag:"path",attr:{d:"M477.44 50.06a.29.29 0 0 1 0-.09 20.4 20.4 0 0 0-15.13-15.3c-29.8-7.27-76.68.48-128.63 21.28-52.36 21-101.42 52-134.58 85.22A320.7 320.7 0 0 0 169.55 175c-22.33-1-42 2.18-58.57 9.41-57.74 25.41-74.23 90.44-78.62 117.14a25 25 0 0 0 27.19 29h.13l64.32-7.02c.08.82.17 1.57.24 2.26a34.36 34.36 0 0 0 9.9 20.72l31.39 31.41a34.27 34.27 0 0 0 20.71 9.91l2.15.23-7 64.24v.13A25 25 0 0 0 206 480a25.25 25.25 0 0 0 4.15-.34C237 475.34 302 459.05 327.34 401c7.17-16.46 10.34-36.05 9.45-58.34a314.78 314.78 0 0 0 33.95-29.55c33.43-33.26 64.53-81.92 85.31-133.52 20.69-51.36 28.48-98.59 21.39-129.53zM370.38 224.94a58.77 58.77 0 1 1 0-83.07 58.3 58.3 0 0 1 0 83.07z"},child:[]},{tag:"path",attr:{d:"M161.93 386.44a16 16 0 0 0-11 2.67c-6.39 4.37-12.81 8.69-19.29 12.9-13.11 8.52-28.79-6.44-21-20l12.15-21a16 16 0 0 0-15.16-24.91A61.25 61.25 0 0 0 72 353.56c-3.66 3.67-14.79 14.81-20.78 57.26A357.94 357.94 0 0 0 48 447.59 16 16 0 0 0 64 464h.4a359.87 359.87 0 0 0 36.8-3.2c42.47-6 53.61-17.14 57.27-20.8a60.49 60.49 0 0 0 17.39-35.74 16 16 0 0 0-13.93-17.82z"},child:[]}]})(e)}function x6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m465.94 119.76-73.7-73.7A47.68 47.68 0 0 0 358.3 32H96a64 64 0 0 0-64 64v320a64 64 0 0 0 64 64h320a64 64 0 0 0 64-64V153.7a47.68 47.68 0 0 0-14.06-33.94zM120 112h176a8 8 0 0 1 8 8v48a8 8 0 0 1-8 8H120a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8zm139.75 319.91a80 80 0 1 1 76.16-76.16 80.06 80.06 0 0 1-76.16 76.16z"},child:[]},{tag:"circle",attr:{cx:"256",cy:"352",r:"48"},child:[]}]})(e)}function Jp(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M221.09 64a157.09 157.09 0 1 0 157.09 157.09A157.1 157.1 0 0 0 221.09 64z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M338.29 338.29 448 448"},child:[]}]})(e)}function v6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M456.69 421.39 362.6 327.3a173.81 173.81 0 0 0 34.84-104.58C397.44 126.38 319.06 48 222.72 48S48 126.38 48 222.72s78.38 174.72 174.72 174.72A173.81 173.81 0 0 0 327.3 362.6l94.09 94.09a25 25 0 0 0 35.3-35.3zM97.92 222.72a124.8 124.8 0 1 1 124.8 124.8 124.95 124.95 0 0 1-124.8-124.8z"},child:[]}]})(e)}function y0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinejoin:"round",strokeWidth:"32",d:"M336 320H32L184 48l152 272zm-70.68-125.49A144 144 0 1 1 192 320"},child:[]}]})(e)}function b0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M463.1 112.37C373.68 96.33 336.71 84.45 256 48c-80.71 36.45-117.68 48.33-207.1 64.37C32.7 369.13 240.58 457.79 256 464c15.42-6.21 223.3-94.87 207.1-351.63z"},child:[]}]})(e)}function _6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M479.07 111.35a16 16 0 0 0-13.15-14.75C379.89 81.18 343.69 69.12 266 34.16c-7.76-2.89-12.57-2.84-20 0-77.69 35-113.89 47-199.92 62.44a16 16 0 0 0-13.15 14.75c-3.85 61.1 4.34 118 24.36 169.15a348.86 348.86 0 0 0 71.43 112.41c44.67 47.43 94.2 75.12 119.74 85.6a20 20 0 0 0 15.11 0c27-10.92 74.69-37.82 119.71-85.62a348.86 348.86 0 0 0 71.43-112.39c20.02-51.14 28.21-108.05 24.36-169.15z"},child:[]}]})(e)}function j6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M208 512a24.84 24.84 0 0 1-23.34-16l-39.84-103.6a16.06 16.06 0 0 0-9.19-9.19L32 343.34a25 25 0 0 1 0-46.68l103.6-39.84a16.06 16.06 0 0 0 9.19-9.19L184.66 144a25 25 0 0 1 46.68 0l39.84 103.6a16.06 16.06 0 0 0 9.19 9.19l103 39.63a25.49 25.49 0 0 1 16.63 24.1 24.82 24.82 0 0 1-16 22.82l-103.6 39.84a16.06 16.06 0 0 0-9.19 9.19L231.34 496A24.84 24.84 0 0 1 208 512zm66.85-254.84zM88 176a14.67 14.67 0 0 1-13.69-9.4l-16.86-43.84a7.28 7.28 0 0 0-4.21-4.21L9.4 101.69a14.67 14.67 0 0 1 0-27.38l43.84-16.86a7.31 7.31 0 0 0 4.21-4.21L74.16 9.79A15 15 0 0 1 86.23.11a14.67 14.67 0 0 1 15.46 9.29l16.86 43.84a7.31 7.31 0 0 0 4.21 4.21l43.84 16.86a14.67 14.67 0 0 1 0 27.38l-43.84 16.86a7.28 7.28 0 0 0-4.21 4.21l-16.86 43.84A14.67 14.67 0 0 1 88 176zm312 80a16 16 0 0 1-14.93-10.26l-22.84-59.37a8 8 0 0 0-4.6-4.6l-59.37-22.84a16 16 0 0 1 0-29.86l59.37-22.84a8 8 0 0 0 4.6-4.6l22.67-58.95a16.45 16.45 0 0 1 13.17-10.57 16 16 0 0 1 16.86 10.15l22.84 59.37a8 8 0 0 0 4.6 4.6l59.37 22.84a16 16 0 0 1 0 29.86l-59.37 22.84a8 8 0 0 0-4.6 4.6l-22.84 59.37A16 16 0 0 1 400 256z"},child:[]}]})(e)}function y6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m326.1 231.9-47.5 75.5a31 31 0 0 1-7 7 30.11 30.11 0 0 1-35-49l75.5-47.5a10.23 10.23 0 0 1 11.7 0 10.06 10.06 0 0 1 2.3 14z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 64C132.3 64 32 164.2 32 287.9a223.18 223.18 0 0 0 56.3 148.5c1.1 1.2 2.1 2.4 3.2 3.5a25.19 25.19 0 0 0 37.1-.1 173.13 173.13 0 0 1 254.8 0 25.19 25.19 0 0 0 37.1.1l3.2-3.5A223.18 223.18 0 0 0 480 287.9C480 164.2 379.7 64 256 64z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 128v32m160 128h-32m-256 0H96m69.49-90.51-22.63-22.63m203.65 22.63 22.63-22.63"},child:[]}]})(e)}function b6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M425.7 118.25A240 240 0 0 0 76.32 447l.18.2c.33.35.64.71 1 1.05.74.84 1.58 1.79 2.57 2.78a41.17 41.17 0 0 0 60.36-.42 157.13 157.13 0 0 1 231.26 0 41.18 41.18 0 0 0 60.65.06l3.21-3.5.18-.2a239.93 239.93 0 0 0-10-328.76zM240 128a16 16 0 0 1 32 0v32a16 16 0 0 1-32 0zM128 304H96a16 16 0 0 1 0-32h32a16 16 0 0 1 0 32zm48.8-95.2a16 16 0 0 1-22.62 0l-22.63-22.62a16 16 0 0 1 22.63-22.63l22.62 22.63a16 16 0 0 1 0 22.62zm149.3 23.1-47.5 75.5a31 31 0 0 1-7 7 30.11 30.11 0 0 1-35-49l75.5-47.5a10.23 10.23 0 0 1 11.7 0 10.06 10.06 0 0 1 2.3 14zm31.72-23.1a16 16 0 0 1-22.62-22.62l22.62-22.63a16 16 0 0 1 22.63 22.63zm65.88 227.6zM416 304h-32a16 16 0 0 1 0-32h32a16 16 0 0 1 0 32z"},child:[]}]})(e)}function w0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M394 480a16 16 0 0 1-9.39-3L256 383.76 127.39 477a16 16 0 0 1-24.55-18.08L153 310.35 23 221.2a16 16 0 0 1 9-29.2h160.38l48.4-148.95a16 16 0 0 1 30.44 0l48.4 149H480a16 16 0 0 1 9.05 29.2L359 310.35l50.13 148.53A16 16 0 0 1 394 480z"},child:[]}]})(e)}function w6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 48v48m0 320v48m147.08-355.08-33.94 33.94M142.86 369.14l-33.94 33.94M464 256h-48m-320 0H48m355.08 147.08-33.94-33.94M142.86 142.86l-33.94-33.94"},child:[]},{tag:"circle",attr:{cx:"256",cy:"256",r:"80",fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32"},child:[]}]})(e)}function Xp(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 118a22 22 0 0 1-22-22V48a22 22 0 0 1 44 0v48a22 22 0 0 1-22 22zm0 368a22 22 0 0 1-22-22v-48a22 22 0 0 1 44 0v48a22 22 0 0 1-22 22zm113.14-321.14a22 22 0 0 1-15.56-37.55l33.94-33.94a22 22 0 0 1 31.11 31.11l-33.94 33.94a21.93 21.93 0 0 1-15.55 6.44zM108.92 425.08a22 22 0 0 1-15.55-37.56l33.94-33.94a22 22 0 1 1 31.11 31.11l-33.94 33.94a21.94 21.94 0 0 1-15.56 6.45zM464 278h-48a22 22 0 0 1 0-44h48a22 22 0 0 1 0 44zm-368 0H48a22 22 0 0 1 0-44h48a22 22 0 0 1 0 44zm307.08 147.08a21.94 21.94 0 0 1-15.56-6.45l-33.94-33.94a22 22 0 0 1 31.11-31.11l33.94 33.94a22 22 0 0 1-15.55 37.56zM142.86 164.86a21.89 21.89 0 0 1-15.55-6.44l-33.94-33.94a22 22 0 0 1 31.11-31.11l33.94 33.94a22 22 0 0 1-15.56 37.55zM256 358a102 102 0 1 1 102-102 102.12 102.12 0 0 1-102 102z"},child:[]}]})(e)}function hl(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M434.67 285.59v-29.8c0-98.73-80.24-178.79-179.2-178.79a179 179 0 0 0-140.14 67.36m-38.53 82v29.8C76.8 355 157 435 256 435a180.45 180.45 0 0 0 140-66.92"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m32 256 44-44 46 44m358 0-44 44-46-44"},child:[]}]})(e)}function C0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"m32 415.5 120-320 120 320m-42-112H74m252-64c12.19-28.69 41-48 74-48h0c46 0 80 32 80 80v144"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M320 358.5c0 36 26.86 58 60 58 54 0 100-27 100-106v-15c-20 0-58 1-92 5-32.77 3.86-68 19-68 58z"},child:[]}]})(e)}function C6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M320 287.18V81c0-35.12-27.89-64.42-63-64.95a64.08 64.08 0 0 0-65 64v207.13a8 8 0 0 1-3.18 6.37A113.48 113.48 0 0 0 144 384a112 112 0 0 0 224 0 113.48 113.48 0 0 0-44.82-90.45 8 8 0 0 1-3.18-6.37zM254.07 432a48 48 0 0 1-22-89.54 16 16 0 0 0 8-13.84V112.45c0-8.61 6.62-16 15.23-16.43A16 16 0 0 1 272 112v216.58a16.18 16.18 0 0 0 8.15 13.94A48 48 0 0 1 254.07 432z"},child:[]}]})(e)}function k6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m472.06 334-144.16-6.13c-4.61-.36-23.9-1.21-23.9-25.87 0-23.81 19.16-25.33 24.14-25.88L472.06 270c12.67.13 23.94 14.43 23.94 32s-11.27 31.87-23.94 32zM330.61 202.33 437.35 194C450 194 464 210.68 464 227.88v.33c0 16.32-11.14 29.62-24.88 29.79l-108.45-1.73C304 253 304 236.83 304 229.88c0-22.88 21.8-27.15 26.61-27.55zM421.85 480l-89.37-8.93C308 470.14 304 453.82 304 443.59c0-18.38 13.41-24.6 26.67-24.6l91-3c14.54.23 26.32 14.5 26.32 32s-11.67 31.67-26.14 32.01zm34.36-71.5-126.4-6.21c-9.39-.63-25.81-3-25.81-26.37 0-12 4.35-25.61 25-27.53l127.19-3.88c13.16.14 23.81 13.49 23.81 31.4s-10.65 32.43-23.79 32.58z"},child:[]},{tag:"path",attr:{fill:"none",d:"M133.55 238.06A15.85 15.85 0 0 1 126 240a15.82 15.82 0 0 0 7.51-1.92zm40.59-69.28.13-.23-.13.23c-20.5 35.51-30.36 54.95-33.82 62 3.47-7.07 13.34-26.51 33.82-62z"},child:[]},{tag:"path",attr:{d:"m139.34 232.84 1-2a16.27 16.27 0 0 1-6.77 7.25 16.35 16.35 0 0 0 5.77-5.25z"},child:[]},{tag:"path",attr:{d:"M316.06 52.62C306.63 39.32 291 32 272 32a16 16 0 0 0-14.31 8.84c-3 6.07-15.25 24-28.19 42.91-18 26.33-40.35 59.07-55.23 84.8l-.13.23c-20.48 35.49-30.35 54.93-33.82 62l-1 2a16.35 16.35 0 0 1-5.79 5.22 15.82 15.82 0 0 1-7.53 2h-25.31A84.69 84.69 0 0 0 16 324.69v38.61a84.69 84.69 0 0 0 84.69 84.7h48.79a17.55 17.55 0 0 1 9.58 2.89C182 465.87 225.34 480 272 480c7.45 0 14.19-.14 20.27-.38a8 8 0 0 0 6.2-12.68l-.1-.14C289.8 454.41 288 441 288 432a61.2 61.2 0 0 1 5.19-24.77 17.36 17.36 0 0 0 0-14.05 63.81 63.81 0 0 1 0-50.39 17.32 17.32 0 0 0 0-14 62.15 62.15 0 0 1 0-49.59 18.13 18.13 0 0 0 0-14.68A60.33 60.33 0 0 1 288 239c0-8.2 2-21.3 8-31.19a15.63 15.63 0 0 0 1.14-13.64c-.38-1-.76-2.07-1.13-3.17a24.84 24.84 0 0 1-.86-11.58c3-19.34 9.67-36.29 16.74-54.16 3.08-7.78 6.27-15.82 9.22-24.26 6.14-17.57 4.3-35.2-5.05-48.38z"},child:[]}]})(e)}function S6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeMiterlimit:"10",strokeWidth:"32",d:"M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64z"},child:[]},{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32",d:"M256 128v144h96"},child:[]}]})(e)}function k0(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"circle",attr:{cx:"368",cy:"256",r:"128",fill:"none",strokeLinejoin:"round",strokeWidth:"32"},child:[]},{tag:"rect",attr:{width:"480",height:"256",x:"16",y:"128",fill:"none",strokeLinejoin:"round",strokeWidth:"32",rx:"128",ry:"128"},child:[]}]})(e)}function N6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",d:"M296 64h-80a7.91 7.91 0 0 0-8 8v24h96V72a7.91 7.91 0 0 0-8-8z"},child:[]},{tag:"path",attr:{d:"M432 96h-96V72a40 40 0 0 0-40-40h-80a40 40 0 0 0-40 40v24H80a16 16 0 0 0 0 32h17l19 304.92c1.42 26.85 22 47.08 48 47.08h184c26.13 0 46.3-19.78 48-47l19-305h17a16 16 0 0 0 0-32zM192.57 416H192a16 16 0 0 1-16-15.43l-8-224a16 16 0 1 1 32-1.14l8 224A16 16 0 0 1 192.57 416zM272 400a16 16 0 0 1-32 0V176a16 16 0 0 1 32 0zm32-304h-96V72a7.91 7.91 0 0 1 8-8h80a7.91 7.91 0 0 1 8 8zm32 304.57A16 16 0 0 1 320 416h-.58A16 16 0 0 1 304 399.43l8-224a16 16 0 1 1 32 1.14z"},child:[]}]})(e)}function $6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"32",d:"M416 432 64 80"},child:[]},{tag:"path",attr:{d:"M243.33 98.86a23.89 23.89 0 0 0-25.55 1.82l-.66.51-28.52 23.35a8 8 0 0 0-.59 11.85l54.33 54.33a8 8 0 0 0 13.66-5.66v-64.49a24.51 24.51 0 0 0-12.67-21.71zm8 236.43L96.69 180.69A16 16 0 0 0 85.38 176H56a24 24 0 0 0-24 24v112a24 24 0 0 0 24 24h69.76l92 75.31a23.9 23.9 0 0 0 25.87 1.69A24.51 24.51 0 0 0 256 391.45v-44.86a16 16 0 0 0-4.67-11.3zM352 256c0-24.56-5.81-47.87-17.75-71.27a16 16 0 1 0-28.5 14.55C315.34 218.06 320 236.62 320 256q0 4-.31 8.13a8 8 0 0 0 2.32 6.25l14.36 14.36a8 8 0 0 0 13.55-4.31A146 146 0 0 0 352 256zm64 0c0-51.18-13.08-83.89-34.18-120.06a16 16 0 0 0-27.64 16.12C373.07 184.44 384 211.83 384 256c0 23.83-3.29 42.88-9.37 60.65a8 8 0 0 0 1.9 8.26L389 337.4a8 8 0 0 0 13.13-2.79C411 311.76 416 287.26 416 256z"},child:[]},{tag:"path",attr:{d:"M480 256c0-74.25-20.19-121.11-50.51-168.61a16 16 0 1 0-27 17.22C429.82 147.38 448 189.5 448 256c0 46.19-8.43 80.27-22.43 110.53a8 8 0 0 0 1.59 9l11.92 11.92a8 8 0 0 0 12.92-2.16C471.6 344.9 480 305 480 256z"},child:[]}]})(e)}function E6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M449.07 399.08 278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0 0 80 446.25h340.89a32 32 0 0 0 28.18-47.17zm-198.6-1.83a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm21.72-201.15-5.74 122a16 16 0 0 1-32 0l-5.74-121.95a21.73 21.73 0 0 1 21.5-22.69h.21a21.74 21.74 0 0 1 21.73 22.7z"},child:[]}]})(e)}function z6(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M265.12 60.12a12 12 0 0 0-18.23 0C215.23 97.15 112 225.17 112 320c0 88.37 55.64 144 144 144s144-55.63 144-144c0-94.83-103.23-222.85-134.88-259.88zM272 412a12 12 0 0 1-11.34-16 11.89 11.89 0 0 1 11.41-8A60.06 60.06 0 0 0 332 328.07a11.89 11.89 0 0 1 8-11.41A12 12 0 0 1 356 328a84.09 84.09 0 0 1-84 84z"},child:[]}]})(e)}function Lc(e){return M({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M346.65 304.3a136 136 0 0 0-180.71 0 21 21 0 1 0 27.91 31.38 94 94 0 0 1 124.89 0 21 21 0 0 0 27.91-31.4z"},child:[]},{tag:"path",attr:{d:"M256.28 183.7a221.47 221.47 0 0 0-151.8 59.92 21 21 0 1 0 28.68 30.67 180.28 180.28 0 0 1 246.24 0 21 21 0 1 0 28.68-30.67 221.47 221.47 0 0 0-151.8-59.92z"},child:[]},{tag:"path",attr:{d:"M462 175.86a309 309 0 0 0-411.44 0 21 21 0 1 0 28 31.29 267 267 0 0 1 355.43 0 21 21 0 0 0 28-31.31z"},child:[]},{tag:"circle",attr:{cx:"256.28",cy:"393.41",r:"32"},child:[]}]})(e)}const L6="_sidebar_1nu6q_42",I6="_header_1nu6q_60",R6="_logo_1nu6q_66",A6="_icon_1nu6q_78",P6="_nav_1nu6q_85",M6="_section_1nu6q_88",T6="_title_1nu6q_94",F6="_list_1nu6q_103",B6="_item_1nu6q_108",O6="_active_1nu6q_124",D6="_itemIcon_1nu6q_133",U6="_text_1nu6q_141",H6="_open_1nu6q_159",pn={sidebar:L6,header:I6,logo:R6,icon:A6,nav:P6,section:M6,title:T6,list:F6,item:B6,active:O6,itemIcon:D6,text:U6,open:H6,"accordion-down":"_accordion-down_1nu6q_1","accordion-up":"_accordion-up_1nu6q_1"};var S0={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT * @author Lea Verou * @namespace * @public - */var n=function(i){var s=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,a=0,o={},l={manual:i.Prism&&i.Prism.manual,disableWorkerMessageHandler:i.Prism&&i.Prism.disableWorkerMessageHandler,util:{encode:function d(m){return m instanceof c?new c(m.type,d(m.content),m.alias):Array.isArray(m)?m.map(d):m.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(w){var d=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(w.stack)||[])[1];if(d){var m=document.getElementsByTagName("script");for(var v in m)if(m[v].src==d)return m[v]}return null}},isActive:function(d,m,v){for(var w="no-"+m;d;){var g=d.classList;if(g.contains(m))return!0;if(g.contains(w))return!1;d=d.parentElement}return!!v}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(d,m){var v=l.util.clone(l.languages[d]);for(var w in m)v[w]=m[w];return v},insertBefore:function(d,m,v,w){w=w||l.languages;var g=w[d],S={};for(var E in g)if(g.hasOwnProperty(E)){if(E==m)for(var L in v)v.hasOwnProperty(L)&&(S[L]=v[L]);v.hasOwnProperty(E)||(S[E]=g[E])}var R=w[d];return w[d]=S,l.languages.DFS(l.languages,function(F,Y){Y===R&&F!=d&&(this[F]=S)}),S},DFS:function d(m,v,w,g){g=g||{};var S=l.util.objId;for(var E in m)if(m.hasOwnProperty(E)){v.call(m,E,m[E],w||E);var L=m[E],R=l.util.type(L);R==="Object"&&!g[S(L)]?(g[S(L)]=!0,d(L,v,null,g)):R==="Array"&&!g[S(L)]&&(g[S(L)]=!0,d(L,v,E,g))}}},plugins:{},highlightAll:function(d,m){l.highlightAllUnder(document,d,m)},highlightAllUnder:function(d,m,v){var w={callback:v,container:d,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};l.hooks.run("before-highlightall",w),w.elements=Array.prototype.slice.apply(w.container.querySelectorAll(w.selector)),l.hooks.run("before-all-elements-highlight",w);for(var g=0,S;S=w.elements[g++];)l.highlightElement(S,m===!0,w.callback)},highlightElement:function(d,m,v){var w=l.util.getLanguage(d),g=l.languages[w];l.util.setLanguage(d,w);var S=d.parentElement;S&&S.nodeName.toLowerCase()==="pre"&&l.util.setLanguage(S,w);var E=d.textContent,L={element:d,language:w,grammar:g,code:E};function R(Y){L.highlightedCode=Y,l.hooks.run("before-insert",L),L.element.innerHTML=L.highlightedCode,l.hooks.run("after-highlight",L),l.hooks.run("complete",L),v&&v.call(L.element)}if(l.hooks.run("before-sanity-check",L),S=L.element.parentElement,S&&S.nodeName.toLowerCase()==="pre"&&!S.hasAttribute("tabindex")&&S.setAttribute("tabindex","0"),!L.code){l.hooks.run("complete",L),v&&v.call(L.element);return}if(l.hooks.run("before-highlight",L),!L.grammar){R(l.util.encode(L.code));return}if(m&&i.Worker){var F=new Worker(l.filename);F.onmessage=function(Y){R(Y.data)},F.postMessage(JSON.stringify({language:L.language,code:L.code,immediateClose:!0}))}else R(l.highlight(L.code,L.grammar,L.language))},highlight:function(d,m,v){var w={code:d,grammar:m,language:v};if(l.hooks.run("before-tokenize",w),!w.grammar)throw new Error('The language "'+w.language+'" has no grammar.');return w.tokens=l.tokenize(w.code,w.grammar),l.hooks.run("after-tokenize",w),c.stringify(l.util.encode(w.tokens),w.language)},tokenize:function(d,m){var v=m.rest;if(v){for(var w in v)m[w]=v[w];delete m.rest}var g=new f;return p(g,g.head,d),h(d,g,m,g.head,0),_(g)},hooks:{all:{},add:function(d,m){var v=l.hooks.all;v[d]=v[d]||[],v[d].push(m)},run:function(d,m){var v=l.hooks.all[d];if(!(!v||!v.length))for(var w=0,g;g=v[w++];)g(m)}},Token:c};i.Prism=l;function c(d,m,v,w){this.type=d,this.content=m,this.alias=v,this.length=(w||"").length|0}c.stringify=function d(m,v){if(typeof m=="string")return m;if(Array.isArray(m)){var w="";return m.forEach(function(R){w+=d(R,v)}),w}var g={type:m.type,content:d(m.content,v),tag:"span",classes:["token",m.type],attributes:{},language:v},S=m.alias;S&&(Array.isArray(S)?Array.prototype.push.apply(g.classes,S):g.classes.push(S)),l.hooks.run("wrap",g);var E="";for(var L in g.attributes)E+=" "+L+'="'+(g.attributes[L]||"").replace(/"/g,""")+'"';return"<"+g.tag+' class="'+g.classes.join(" ")+'"'+E+">"+g.content+""};function u(d,m,v,w){d.lastIndex=m;var g=d.exec(v);if(g&&w&&g[1]){var S=g[1].length;g.index+=S,g[0]=g[0].slice(S)}return g}function h(d,m,v,w,g,S){for(var E in v)if(!(!v.hasOwnProperty(E)||!v[E])){var L=v[E];L=Array.isArray(L)?L:[L];for(var R=0;R=S.reach);B+=I.value.length,I=I.next){var V=I.value;if(m.length>d.length)return;if(!(V instanceof c)){var se=1,ne;if(O){if(ne=u(J,B,d,q),!ne||ne.index>=d.length)break;var ke=ne.index,nt=ne.index+ne[0].length,G=B;for(G+=I.value.length;ke>=G;)I=I.next,G+=I.value.length;if(G-=I.value.length,B=G,I.value instanceof c)continue;for(var le=I;le!==m.tail&&(GS.reach&&(S.reach=Pt);var zt=I.prev;At&&(zt=p(m,zt,At),B+=At.length),x(m,zt,se);var Oe=new c(E,Y?l.tokenize(qe,Y):qe,U,qe);if(I=p(m,zt,Oe),yt&&p(m,I,yt),se>1){var Z={cause:E+","+R,reach:Pt};h(d,m,v,I.prev,B,Z),S&&Z.reach>S.reach&&(S.reach=Z.reach)}}}}}}function f(){var d={value:null,prev:null,next:null},m={value:null,prev:d,next:null};d.next=m,this.head=d,this.tail=m,this.length=0}function p(d,m,v){var w=m.next,g={value:v,prev:m,next:w};return m.next=g,w.prev=g,d.length++,g}function x(d,m,v){for(var w=m.next,g=0;g/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(i){i.type==="entity"&&(i.attributes.title=i.content.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(s,a){var o={};o["language-"+a]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[a]},o.cdata=/^$/i;var l={"included-cdata":{pattern://i,inside:o}};l["language-"+a]={pattern:/[\s\S]+/,inside:n.languages[a]};var c={};c[s]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return s}),"i"),lookbehind:!0,greedy:!0,inside:l},n.languages.insertBefore("markup","cdata",c)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(i,s){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+i+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[s,"language-"+s],inside:n.languages[s]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml,function(i){var s=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;i.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+s.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+s.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+s.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+s.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:s,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},i.languages.css.atrule.inside.rest=i.languages.css;var a=i.languages.markup;a&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css"))}(n),n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript,function(){if(typeof n>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var i="Loading…",s=function(y,C){return"✖ Error "+y+" while fetching file: "+C},a="✖ Error: File does not exist or is empty",o={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},l="data-src-status",c="loading",u="loaded",h="failed",f="pre[data-src]:not(["+l+'="'+u+'"]):not(['+l+'="'+c+'"])';function p(y,C,j){var d=new XMLHttpRequest;d.open("GET",y,!0),d.onreadystatechange=function(){d.readyState==4&&(d.status<400&&d.responseText?C(d.responseText):d.status>=400?j(s(d.status,d.statusText)):j(a))},d.send(null)}function x(y){var C=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(y||"");if(C){var j=Number(C[1]),d=C[2],m=C[3];return d?m?[j,Number(m)]:[j,void 0]:[j,j]}}n.hooks.add("before-highlightall",function(y){y.selector+=", "+f}),n.hooks.add("before-sanity-check",function(y){var C=y.element;if(C.matches(f)){y.code="",C.setAttribute(l,c);var j=C.appendChild(document.createElement("CODE"));j.textContent=i;var d=C.getAttribute("data-src"),m=y.language;if(m==="none"){var v=(/\.(\w+)$/.exec(d)||[,"none"])[1];m=o[v]||v}n.util.setLanguage(j,m),n.util.setLanguage(C,m);var w=n.plugins.autoloader;w&&w.loadLanguages(m),p(d,function(g){C.setAttribute(l,u);var S=x(C.getAttribute("data-range"));if(S){var E=g.split(/\r\n?|\n/g),L=S[0],R=S[1]==null?E.length:S[1];L<0&&(L+=E.length),L=Math.max(0,Math.min(L-1,E.length)),R<0&&(R+=E.length),R=Math.max(0,Math.min(R,E.length)),g=E.slice(L,R).join(` -`),C.hasAttribute("data-start")||C.setAttribute("data-start",String(L+1))}j.textContent=g,n.highlightElement(j)},function(g){C.setAttribute(l,h),j.textContent=g})}}),n.plugins.fileHighlight={highlight:function(C){for(var j=(C||document).querySelectorAll(f),d=0,m;m=j[d++];)n.highlightElement(m)}};var _=!1;n.fileHighlight=function(){_||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),_=!0),n.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(S0);var W6=S0.exports;const q6=Wd(W6);(function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var s=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=i.variable[1].inside,o=0;o]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript})(Prism);Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;(function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,s=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function a(c,u){return c=c.replace(//g,function(){return n}).replace(//g,function(){return i}).replace(//g,function(){return s}),RegExp(c,u)}s=a(s).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(c){return c?typeof c=="string"?c:typeof c.content=="string"?c.content:c.content.map(o).join(""):""},l=function(c){for(var u=[],h=0;h0&&u[u.length-1].tagName===o(f.content[0].content[1])&&u.pop():f.content[f.content.length-1].content==="/>"||u.push({tagName:o(f.content[0].content[1]),openedBraces:0}):u.length>0&&f.type==="punctuation"&&f.content==="{"?u[u.length-1].openedBraces++:u.length>0&&u[u.length-1].openedBraces>0&&f.type==="punctuation"&&f.content==="}"?u[u.length-1].openedBraces--:p=!0),(p||typeof f=="string")&&u.length>0&&u[u.length-1].openedBraces===0){var x=o(f);h0&&(typeof c[h-1]=="string"||c[h-1].type==="plain-text")&&(x=o(c[h-1])+x,c.splice(h-1,1),h--),c[h]=new e.Token("plain-text",x,null,x)}f.content&&typeof f.content!="string"&&l(f.content)}};e.hooks.add("after-tokenize",function(c){c.language!=="jsx"&&c.language!=="tsx"||l(c.tokens)})})(Prism);(function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0})(Prism);Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}});Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]});Prism.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/});Prism.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}});Prism.languages.scss.atrule.inside.rest=Prism.languages.scss;(function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))})(Prism);Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;(function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(h){return h=h.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+h+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+s+a+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+a+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(h){["url","bold","italic","strike","code-snippet"].forEach(function(f){h!==f&&(e.languages.markdown[h].inside.content.inside[f]=e.languages.markdown[f])})}),e.hooks.add("after-tokenize",function(h){if(h.language!=="markdown"&&h.language!=="md")return;function f(p){if(!(!p||typeof p=="string"))for(var x=0,_=p.length;x<_;x++){var y=p[x];if(y.type!=="code"){f(y.content);continue}var C=y.content[1],j=y.content[3];if(C&&j&&C.type==="code-language"&&j.type==="code-block"&&typeof C.content=="string"){var d=C.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");d=(/[a-z][\w-]*/i.exec(d)||[""])[0].toLowerCase();var m="language-"+d;j.alias?typeof j.alias=="string"?j.alias=[j.alias,m]:j.alias.push(m):j.alias=[m]}}}f(h.tokens)}),e.hooks.add("wrap",function(h){if(h.type==="code-block"){for(var f="",p=0,x=h.classes.length;p",quot:'"'},c=String.fromCodePoint||String.fromCharCode;function u(h){var f=h.replace(o,"");return f=f.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(p,x){if(x=x.toLowerCase(),x[0]==="#"){var _;return x[1]==="x"?_=parseInt(x.slice(2),16):_=Number(x.slice(1)),c(_)}else{var y=l[x];return y||p}}),f}e.languages.md=e.languages.markdown})(Prism);(function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",s=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(l,c){c=(c||"").replace(/m/g,"")+"m";var u=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return l});return RegExp(u,c)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return"(?:"+s+"|"+a+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(a),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(Prism);(function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return t}),i=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,s=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return i}),a={pattern:RegExp(i),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function l(c,u){return c=c.replace(//g,function(){return s}).replace(//g,function(){return n}),RegExp(c,u)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:l(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[a,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:l(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:a,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker})(Prism);(function(e){var t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]})(Prism);const V6="_codeBlock_5ufwy_42",K6="_header_5ufwy_56",G6="_language_5ufwy_65",Q6="_copyButton_5ufwy_72",Y6="_icon_5ufwy_92",J6="_codeWrapper_5ufwy_100",X6="_pre_5ufwy_120",hr={codeBlock:V6,header:K6,language:G6,copyButton:Q6,icon:Y6,codeWrapper:J6,pre:X6,"line-numbers":"_line-numbers_5ufwy_137","line-numbers-rows":"_line-numbers-rows_5ufwy_145","accordion-down":"_accordion-down_5ufwy_1","accordion-up":"_accordion-up_5ufwy_1"},me=({code:e,language:t="typescript",showLineNumbers:n=!0,live:i=!1})=>{const[s,a]=b.useState(!1),[o,l]=b.useState(null),c=b.useRef(null);b.useEffect(()=>{c.current&&q6.highlightElement(c.current)},[e,t]),b.useEffect(()=>{if(i&&t==="jsx")try{const f=new Function("React",`return ${e}`).call(null,xe).default;l(r.jsx(f,{}))}catch(f){console.error("Live preview error:",f)}},[e,i,t]);const u=async()=>{try{await navigator.clipboard.writeText(e),a(!0),setTimeout(()=>a(!1),2e3)}catch(f){console.error("Failed to copy:",f)}},h=f=>f.trim().replace(/\n$/,"");return r.jsxs("div",{className:hr.codeBlock,children:[r.jsxs("div",{className:hr.header,children:[r.jsx("span",{className:hr.language,children:t}),r.jsx("button",{className:hr.copyButton,onClick:u,children:s?r.jsx(O3,{className:hr.icon}):r.jsx(U3,{className:hr.icon})})]}),r.jsx("div",{className:hr.codeWrapper,children:r.jsx("pre",{className:`${hr.pre} ${n?"line-numbers":""}`,children:r.jsx("code",{ref:c,className:`language-${t}`,style:{whiteSpace:"pre"},children:h(e)})})}),i&&o&&r.jsx("div",{className:hr.preview,children:o})]})},Z6="_page_989pq_42",e5="_header_989pq_47",t5="_titleWrapper_989pq_50",n5="_icon_989pq_55",r5="_section_989pq_71",i5="_features_989pq_95",s5="_codeWrapper_989pq_120",a5="_description_989pq_123",o5="_nextSteps_989pq_128",l5="_tokens_989pq_169",pe={page:Z6,header:e5,titleWrapper:t5,icon:n5,section:r5,features:i5,codeWrapper:s5,description:a5,nextSteps:o5,tokens:l5,"accordion-down":"_accordion-down_989pq_1","accordion-up":"_accordion-up_989pq_1"},c5=()=>{const{t:e}=Le();return r.jsxs("div",{className:pe.page,children:[r.jsx("header",{className:pe.header,children:r.jsxs("div",{className:pe.titleWrapper,children:[r.jsx(Dl,{className:pe.icon}),r.jsxs("div",{children:[r.jsx("h1",{children:e("components.overview.title")}),r.jsx("p",{children:e("components.overview.description")})]})]})}),r.jsxs("section",{className:pe.section,children:[r.jsx("h2",{children:e("components.overview.features.title")}),r.jsxs("ul",{className:pe.features,children:[r.jsxs("li",{children:[r.jsxs("h3",{children:["🎨 ",e("components.overview.features.modern.title")]}),r.jsx("p",{children:e("components.overview.features.modern.description")})]}),r.jsxs("li",{children:[r.jsxs("h3",{children:["🚀 ",e("components.overview.features.performance.title")]}),r.jsx("p",{children:e("components.overview.features.performance.description")})]}),r.jsxs("li",{children:[r.jsxs("h3",{children:["🌙 ",e("components.overview.features.theme.title")]}),r.jsx("p",{children:e("components.overview.features.theme.description")})]}),r.jsxs("li",{children:[r.jsxs("h3",{children:["📱 ",e("components.overview.features.responsive.title")]}),r.jsx("p",{children:e("components.overview.features.responsive.description")})]})]})]}),r.jsxs("section",{className:pe.section,children:[r.jsx("h2",{children:e("components.overview.quickstart.title")}),r.jsx("div",{className:pe.codeWrapper,children:r.jsx(me,{code:"npm install @minerva/lib-core",language:"bash",showLineNumbers:!1})}),r.jsx("p",{className:pe.description,children:e("components.overview.quickstart.description")}),r.jsx("div",{className:pe.codeWrapper,children:r.jsx(me,{code:`import { Button } from '@minerva/lib-core'; + */var n=function(i){var s=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,a=0,o={},l={manual:i.Prism&&i.Prism.manual,disableWorkerMessageHandler:i.Prism&&i.Prism.disableWorkerMessageHandler,util:{encode:function d(m){return m instanceof c?new c(m.type,d(m.content),m.alias):Array.isArray(m)?m.map(d):m.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(w){var d=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(w.stack)||[])[1];if(d){var m=document.getElementsByTagName("script");for(var v in m)if(m[v].src==d)return m[v]}return null}},isActive:function(d,m,v){for(var w="no-"+m;d;){var g=d.classList;if(g.contains(m))return!0;if(g.contains(w))return!1;d=d.parentElement}return!!v}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(d,m){var v=l.util.clone(l.languages[d]);for(var w in m)v[w]=m[w];return v},insertBefore:function(d,m,v,w){w=w||l.languages;var g=w[d],S={};for(var E in g)if(g.hasOwnProperty(E)){if(E==m)for(var L in v)v.hasOwnProperty(L)&&(S[L]=v[L]);v.hasOwnProperty(E)||(S[E]=g[E])}var R=w[d];return w[d]=S,l.languages.DFS(l.languages,function(F,Y){Y===R&&F!=d&&(this[F]=S)}),S},DFS:function d(m,v,w,g){g=g||{};var S=l.util.objId;for(var E in m)if(m.hasOwnProperty(E)){v.call(m,E,m[E],w||E);var L=m[E],R=l.util.type(L);R==="Object"&&!g[S(L)]?(g[S(L)]=!0,d(L,v,null,g)):R==="Array"&&!g[S(L)]&&(g[S(L)]=!0,d(L,v,E,g))}}},plugins:{},highlightAll:function(d,m){l.highlightAllUnder(document,d,m)},highlightAllUnder:function(d,m,v){var w={callback:v,container:d,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};l.hooks.run("before-highlightall",w),w.elements=Array.prototype.slice.apply(w.container.querySelectorAll(w.selector)),l.hooks.run("before-all-elements-highlight",w);for(var g=0,S;S=w.elements[g++];)l.highlightElement(S,m===!0,w.callback)},highlightElement:function(d,m,v){var w=l.util.getLanguage(d),g=l.languages[w];l.util.setLanguage(d,w);var S=d.parentElement;S&&S.nodeName.toLowerCase()==="pre"&&l.util.setLanguage(S,w);var E=d.textContent,L={element:d,language:w,grammar:g,code:E};function R(Y){L.highlightedCode=Y,l.hooks.run("before-insert",L),L.element.innerHTML=L.highlightedCode,l.hooks.run("after-highlight",L),l.hooks.run("complete",L),v&&v.call(L.element)}if(l.hooks.run("before-sanity-check",L),S=L.element.parentElement,S&&S.nodeName.toLowerCase()==="pre"&&!S.hasAttribute("tabindex")&&S.setAttribute("tabindex","0"),!L.code){l.hooks.run("complete",L),v&&v.call(L.element);return}if(l.hooks.run("before-highlight",L),!L.grammar){R(l.util.encode(L.code));return}if(m&&i.Worker){var F=new Worker(l.filename);F.onmessage=function(Y){R(Y.data)},F.postMessage(JSON.stringify({language:L.language,code:L.code,immediateClose:!0}))}else R(l.highlight(L.code,L.grammar,L.language))},highlight:function(d,m,v){var w={code:d,grammar:m,language:v};if(l.hooks.run("before-tokenize",w),!w.grammar)throw new Error('The language "'+w.language+'" has no grammar.');return w.tokens=l.tokenize(w.code,w.grammar),l.hooks.run("after-tokenize",w),c.stringify(l.util.encode(w.tokens),w.language)},tokenize:function(d,m){var v=m.rest;if(v){for(var w in v)m[w]=v[w];delete m.rest}var g=new f;return p(g,g.head,d),h(d,g,m,g.head,0),j(g)},hooks:{all:{},add:function(d,m){var v=l.hooks.all;v[d]=v[d]||[],v[d].push(m)},run:function(d,m){var v=l.hooks.all[d];if(!(!v||!v.length))for(var w=0,g;g=v[w++];)g(m)}},Token:c};i.Prism=l;function c(d,m,v,w){this.type=d,this.content=m,this.alias=v,this.length=(w||"").length|0}c.stringify=function d(m,v){if(typeof m=="string")return m;if(Array.isArray(m)){var w="";return m.forEach(function(R){w+=d(R,v)}),w}var g={type:m.type,content:d(m.content,v),tag:"span",classes:["token",m.type],attributes:{},language:v},S=m.alias;S&&(Array.isArray(S)?Array.prototype.push.apply(g.classes,S):g.classes.push(S)),l.hooks.run("wrap",g);var E="";for(var L in g.attributes)E+=" "+L+'="'+(g.attributes[L]||"").replace(/"/g,""")+'"';return"<"+g.tag+' class="'+g.classes.join(" ")+'"'+E+">"+g.content+""};function u(d,m,v,w){d.lastIndex=m;var g=d.exec(v);if(g&&w&&g[1]){var S=g[1].length;g.index+=S,g[0]=g[0].slice(S)}return g}function h(d,m,v,w,g,S){for(var E in v)if(!(!v.hasOwnProperty(E)||!v[E])){var L=v[E];L=Array.isArray(L)?L:[L];for(var R=0;R=S.reach);B+=I.value.length,I=I.next){var V=I.value;if(m.length>d.length)return;if(!(V instanceof c)){var se=1,ne;if(O){if(ne=u(J,B,d,q),!ne||ne.index>=d.length)break;var ke=ne.index,nt=ne.index+ne[0].length,G=B;for(G+=I.value.length;ke>=G;)I=I.next,G+=I.value.length;if(G-=I.value.length,B=G,I.value instanceof c)continue;for(var le=I;le!==m.tail&&(GS.reach&&(S.reach=Pt);var zt=I.prev;At&&(zt=p(m,zt,At),B+=At.length),x(m,zt,se);var Oe=new c(E,Y?l.tokenize(qe,Y):qe,U,qe);if(I=p(m,zt,Oe),yt&&p(m,I,yt),se>1){var Z={cause:E+","+R,reach:Pt};h(d,m,v,I.prev,B,Z),S&&Z.reach>S.reach&&(S.reach=Z.reach)}}}}}}function f(){var d={value:null,prev:null,next:null},m={value:null,prev:d,next:null};d.next=m,this.head=d,this.tail=m,this.length=0}function p(d,m,v){var w=m.next,g={value:v,prev:m,next:w};return m.next=g,w.prev=g,d.length++,g}function x(d,m,v){for(var w=m.next,g=0;g/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(i){i.type==="entity"&&(i.attributes.title=i.content.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(s,a){var o={};o["language-"+a]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[a]},o.cdata=/^$/i;var l={"included-cdata":{pattern://i,inside:o}};l["language-"+a]={pattern:/[\s\S]+/,inside:n.languages[a]};var c={};c[s]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return s}),"i"),lookbehind:!0,greedy:!0,inside:l},n.languages.insertBefore("markup","cdata",c)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(i,s){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+i+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[s,"language-"+s],inside:n.languages[s]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml,function(i){var s=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;i.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+s.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+s.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+s.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+s.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:s,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},i.languages.css.atrule.inside.rest=i.languages.css;var a=i.languages.markup;a&&(a.tag.addInlined("style","css"),a.tag.addAttribute("style","css"))}(n),n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript,function(){if(typeof n>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var i="Loading…",s=function(y,C){return"✖ Error "+y+" while fetching file: "+C},a="✖ Error: File does not exist or is empty",o={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},l="data-src-status",c="loading",u="loaded",h="failed",f="pre[data-src]:not(["+l+'="'+u+'"]):not(['+l+'="'+c+'"])';function p(y,C,_){var d=new XMLHttpRequest;d.open("GET",y,!0),d.onreadystatechange=function(){d.readyState==4&&(d.status<400&&d.responseText?C(d.responseText):d.status>=400?_(s(d.status,d.statusText)):_(a))},d.send(null)}function x(y){var C=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(y||"");if(C){var _=Number(C[1]),d=C[2],m=C[3];return d?m?[_,Number(m)]:[_,void 0]:[_,_]}}n.hooks.add("before-highlightall",function(y){y.selector+=", "+f}),n.hooks.add("before-sanity-check",function(y){var C=y.element;if(C.matches(f)){y.code="",C.setAttribute(l,c);var _=C.appendChild(document.createElement("CODE"));_.textContent=i;var d=C.getAttribute("data-src"),m=y.language;if(m==="none"){var v=(/\.(\w+)$/.exec(d)||[,"none"])[1];m=o[v]||v}n.util.setLanguage(_,m),n.util.setLanguage(C,m);var w=n.plugins.autoloader;w&&w.loadLanguages(m),p(d,function(g){C.setAttribute(l,u);var S=x(C.getAttribute("data-range"));if(S){var E=g.split(/\r\n?|\n/g),L=S[0],R=S[1]==null?E.length:S[1];L<0&&(L+=E.length),L=Math.max(0,Math.min(L-1,E.length)),R<0&&(R+=E.length),R=Math.max(0,Math.min(R,E.length)),g=E.slice(L,R).join(` +`),C.hasAttribute("data-start")||C.setAttribute("data-start",String(L+1))}_.textContent=g,n.highlightElement(_)},function(g){C.setAttribute(l,h),_.textContent=g})}}),n.plugins.fileHighlight={highlight:function(C){for(var _=(C||document).querySelectorAll(f),d=0,m;m=_[d++];)n.highlightElement(m)}};var j=!1;n.fileHighlight=function(){j||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),j=!0),n.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(S0);var W6=S0.exports;const q6=Wd(W6);(function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var s=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=i.variable[1].inside,o=0;o]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript})(Prism);Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;(function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,s=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function a(c,u){return c=c.replace(//g,function(){return n}).replace(//g,function(){return i}).replace(//g,function(){return s}),RegExp(c,u)}s=a(s).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(c){return c?typeof c=="string"?c:typeof c.content=="string"?c.content:c.content.map(o).join(""):""},l=function(c){for(var u=[],h=0;h0&&u[u.length-1].tagName===o(f.content[0].content[1])&&u.pop():f.content[f.content.length-1].content==="/>"||u.push({tagName:o(f.content[0].content[1]),openedBraces:0}):u.length>0&&f.type==="punctuation"&&f.content==="{"?u[u.length-1].openedBraces++:u.length>0&&u[u.length-1].openedBraces>0&&f.type==="punctuation"&&f.content==="}"?u[u.length-1].openedBraces--:p=!0),(p||typeof f=="string")&&u.length>0&&u[u.length-1].openedBraces===0){var x=o(f);h0&&(typeof c[h-1]=="string"||c[h-1].type==="plain-text")&&(x=o(c[h-1])+x,c.splice(h-1,1),h--),c[h]=new e.Token("plain-text",x,null,x)}f.content&&typeof f.content!="string"&&l(f.content)}};e.hooks.add("after-tokenize",function(c){c.language!=="jsx"&&c.language!=="tsx"||l(c.tokens)})})(Prism);(function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0})(Prism);Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}});Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]});Prism.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/});Prism.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}});Prism.languages.scss.atrule.inside.rest=Prism.languages.scss;(function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))})(Prism);Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}};Prism.languages.webmanifest=Prism.languages.json;(function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(h){return h=h.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+h+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+s+a+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+a+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(h){["url","bold","italic","strike","code-snippet"].forEach(function(f){h!==f&&(e.languages.markdown[h].inside.content.inside[f]=e.languages.markdown[f])})}),e.hooks.add("after-tokenize",function(h){if(h.language!=="markdown"&&h.language!=="md")return;function f(p){if(!(!p||typeof p=="string"))for(var x=0,j=p.length;x",quot:'"'},c=String.fromCodePoint||String.fromCharCode;function u(h){var f=h.replace(o,"");return f=f.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(p,x){if(x=x.toLowerCase(),x[0]==="#"){var j;return x[1]==="x"?j=parseInt(x.slice(2),16):j=Number(x.slice(1)),c(j)}else{var y=l[x];return y||p}}),f}e.languages.md=e.languages.markdown})(Prism);(function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",s=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(l,c){c=(c||"").replace(/m/g,"")+"m";var u=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return l});return RegExp(u,c)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return"(?:"+s+"|"+a+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(a),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(Prism);(function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return t}),i=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,s=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return i}),a={pattern:RegExp(i),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function l(c,u){return c=c.replace(//g,function(){return s}).replace(//g,function(){return n}),RegExp(c,u)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:l(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[a,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:l(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:a,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker})(Prism);(function(e){var t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]})(Prism);const V6="_codeBlock_5ufwy_42",K6="_header_5ufwy_56",G6="_language_5ufwy_65",Q6="_copyButton_5ufwy_72",Y6="_icon_5ufwy_92",J6="_codeWrapper_5ufwy_100",X6="_pre_5ufwy_120",hr={codeBlock:V6,header:K6,language:G6,copyButton:Q6,icon:Y6,codeWrapper:J6,pre:X6,"line-numbers":"_line-numbers_5ufwy_137","line-numbers-rows":"_line-numbers-rows_5ufwy_145","accordion-down":"_accordion-down_5ufwy_1","accordion-up":"_accordion-up_5ufwy_1"},me=({code:e,language:t="typescript",showLineNumbers:n=!0,live:i=!1})=>{const[s,a]=b.useState(!1),[o,l]=b.useState(null),c=b.useRef(null);b.useEffect(()=>{c.current&&q6.highlightElement(c.current)},[e,t]),b.useEffect(()=>{if(i&&t==="jsx")try{const f=new Function("React",`return ${e}`).call(null,xe).default;l(r.jsx(f,{}))}catch(f){console.error("Live preview error:",f)}},[e,i,t]);const u=async()=>{try{await navigator.clipboard.writeText(e),a(!0),setTimeout(()=>a(!1),2e3)}catch(f){console.error("Failed to copy:",f)}},h=f=>f.trim().replace(/\n$/,"");return r.jsxs("div",{className:hr.codeBlock,children:[r.jsxs("div",{className:hr.header,children:[r.jsx("span",{className:hr.language,children:t}),r.jsx("button",{className:hr.copyButton,onClick:u,children:s?r.jsx(O3,{className:hr.icon}):r.jsx(U3,{className:hr.icon})})]}),r.jsx("div",{className:hr.codeWrapper,children:r.jsx("pre",{className:`${hr.pre} ${n?"line-numbers":""}`,children:r.jsx("code",{ref:c,className:`language-${t}`,style:{whiteSpace:"pre"},children:h(e)})})}),i&&o&&r.jsx("div",{className:hr.preview,children:o})]})},Z6="_page_989pq_42",e5="_header_989pq_47",t5="_titleWrapper_989pq_50",n5="_icon_989pq_55",r5="_section_989pq_71",i5="_features_989pq_95",s5="_codeWrapper_989pq_120",a5="_description_989pq_123",o5="_nextSteps_989pq_128",l5="_tokens_989pq_169",pe={page:Z6,header:e5,titleWrapper:t5,icon:n5,section:r5,features:i5,codeWrapper:s5,description:a5,nextSteps:o5,tokens:l5,"accordion-down":"_accordion-down_989pq_1","accordion-up":"_accordion-up_989pq_1"},c5=()=>{const{t:e}=Le();return r.jsxs("div",{className:pe.page,children:[r.jsx("header",{className:pe.header,children:r.jsxs("div",{className:pe.titleWrapper,children:[r.jsx(Dl,{className:pe.icon}),r.jsxs("div",{children:[r.jsx("h1",{children:e("components.overview.title")}),r.jsx("p",{children:e("components.overview.description")})]})]})}),r.jsxs("section",{className:pe.section,children:[r.jsx("h2",{children:e("components.overview.features.title")}),r.jsxs("ul",{className:pe.features,children:[r.jsxs("li",{children:[r.jsxs("h3",{children:["🎨 ",e("components.overview.features.modern.title")]}),r.jsx("p",{children:e("components.overview.features.modern.description")})]}),r.jsxs("li",{children:[r.jsxs("h3",{children:["🚀 ",e("components.overview.features.performance.title")]}),r.jsx("p",{children:e("components.overview.features.performance.description")})]}),r.jsxs("li",{children:[r.jsxs("h3",{children:["🌙 ",e("components.overview.features.theme.title")]}),r.jsx("p",{children:e("components.overview.features.theme.description")})]}),r.jsxs("li",{children:[r.jsxs("h3",{children:["📱 ",e("components.overview.features.responsive.title")]}),r.jsx("p",{children:e("components.overview.features.responsive.description")})]})]})]}),r.jsxs("section",{className:pe.section,children:[r.jsx("h2",{children:e("components.overview.quickstart.title")}),r.jsx("div",{className:pe.codeWrapper,children:r.jsx(me,{code:"npm install @minerva/lib-core",language:"bash",showLineNumbers:!1})}),r.jsx("p",{className:pe.description,children:e("components.overview.quickstart.description")}),r.jsx("div",{className:pe.codeWrapper,children:r.jsx(me,{code:`import { Button } from '@minerva/lib-core'; function App() { return ( @@ -196,30 +196,30 @@ function App() { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Zp;function f5(){if(Zp)return Ds;Zp=1;var e=xe,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function o(l,c,u){var h,f={},p=null,x=null;u!==void 0&&(p=""+u),c.key!==void 0&&(p=""+c.key),c.ref!==void 0&&(x=c.ref);for(h in c)i.call(c,h)&&!a.hasOwnProperty(h)&&(f[h]=c[h]);if(l&&l.defaultProps)for(h in c=l.defaultProps,c)f[h]===void 0&&(f[h]=c[h]);return{$$typeof:t,type:l,key:p,ref:x,props:f,_owner:s.current}}return Ds.Fragment=n,Ds.jsx=o,Ds.jsxs=o,Ds}N0.exports=f5();var k=N0.exports;const m5="_commonRippleEffect_10evj_58",g5="_avatar_10evj_58",x5="_rippleRect_10evj_1",v5="_commonErrorAnimation_10evj_84",_5="_shake_10evj_1",j5="_commonClickedAnimation_10evj_88",y5="_clickedAnimation_10evj_1",b5="_commonStarAnimation_10evj_92",w5="_starAnimation_10evj_1",C5="_circle_10evj_104",k5="_square_10evj_107",S5="_rounded_10evj_110",N5="_small_10evj_113",$5="_medium_10evj_117",E5="_large_10evj_121",z5="_stacked_10evj_135",L5="_avatarImg_10evj_144",I5="_avatarText_10evj_152",R5="_slideDown_10evj_1",A5="_fadeIn_10evj_1",Ui={commonRippleEffect:m5,avatar:g5,rippleRect:x5,commonErrorAnimation:v5,shake:_5,commonClickedAnimation:j5,clickedAnimation:y5,commonStarAnimation:b5,starAnimation:w5,circle:C5,square:k5,rounded:S5,small:N5,medium:$5,large:E5,stacked:z5,avatarImg:L5,avatarText:I5,slideDown:R5,fadeIn:A5},P5=({src:e,name:t="",shape:n="circle",size:i="medium",className:s="",stacked:a=!1,...o})=>{const l=!e,c=`${Ui.avatar} ${Ui[n]} ${Ui[i]} ${a?Ui.stacked:""} ${s}`,u=t?t.charAt(0).toUpperCase():"";return k.jsxs("span",{className:c,...o,tabIndex:0,"aria-label":t||"avatar",children:[!l&&k.jsx("img",{alt:t||"avatar",className:Ui.avatarImg,src:e,draggable:!1}),l&&k.jsx("span",{className:Ui.avatarText,children:u})]})},et=xe.memo(P5),M5="_avatarGroup_z4rus_1",T5="_avatarGroupItem_z4rus_6",F5="_count_z4rus_18",Ic={avatarGroup:M5,avatarGroupItem:T5,count:F5},B5=({count:e,className:t="",children:n})=>k.jsxs("div",{className:`${Ic.avatarGroup} ${t}`,tabIndex:0,"aria-label":`Avatar group with ${e} more`,children:[xe.Children.map(n,(i,s)=>k.jsx("div",{className:Ic.avatarGroupItem,children:i},s)),e&&k.jsxs("div",{className:Ic.count,children:["+",e]})]}),e1=xe.memo(B5),O5="_commonRippleEffect_w1d5k_58",D5="_badge_w1d5k_58",U5="_badgeWrapper_w1d5k_58",H5="_rippleRect_w1d5k_1",W5="_commonErrorAnimation_w1d5k_84",q5="_shake_w1d5k_1",V5="_commonClickedAnimation_w1d5k_88",K5="_clickedAnimation_w1d5k_1",G5="_commonStarAnimation_w1d5k_92",Q5="_starAnimation_w1d5k_1",Y5="_content_w1d5k_114",J5="_primary_w1d5k_144",X5="_secondary_w1d5k_151",Z5="_success_w1d5k_158",e8="_danger_w1d5k_165",t8="_warning_w1d5k_172",n8="_info_w1d5k_179",r8="_error_w1d5k_186",i8="_light_w1d5k_193",s8="_dark_w1d5k_200",a8="_small_w1d5k_207",o8="_medium_w1d5k_211",l8="_large_w1d5k_215",c8="_icon_w1d5k_219",d8="_dot_w1d5k_241",u8="_slideDown_w1d5k_1",h8="_fadeIn_w1d5k_1",Fr={commonRippleEffect:O5,badge:D5,badgeWrapper:U5,rippleRect:H5,commonErrorAnimation:W5,shake:q5,commonClickedAnimation:V5,clickedAnimation:K5,commonStarAnimation:G5,starAnimation:Q5,content:Y5,primary:J5,secondary:X5,success:Z5,danger:e8,warning:t8,info:n8,error:r8,light:i8,dark:s8,small:a8,medium:o8,large:l8,icon:c8,"top-right":"_top-right_w1d5k_236",dot:d8,"top-left":"_top-left_w1d5k_245","bottom-right":"_bottom-right_w1d5k_254","bottom-left":"_bottom-left_w1d5k_263",slideDown:u8,fadeIn:h8},be=({children:e,variant:t="primary",size:n="medium",className:i="",ariaLabel:s,bgColor:a,textColor:o,icon:l,content:c,position:u="top-right",dot:h=!1,borderRadius:f,borderWidth:p,borderColor:x})=>{const _=xe.isValidElement(e),y=h?null:c||(_?"Badge":e);return k.jsxs("div",{className:Fr.badgeWrapper,children:[e&&k.jsx("div",{className:Fr.content,children:e}),k.jsxs("span",{className:` + */var Zp;function f5(){if(Zp)return Ds;Zp=1;var e=xe,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function o(l,c,u){var h,f={},p=null,x=null;u!==void 0&&(p=""+u),c.key!==void 0&&(p=""+c.key),c.ref!==void 0&&(x=c.ref);for(h in c)i.call(c,h)&&!a.hasOwnProperty(h)&&(f[h]=c[h]);if(l&&l.defaultProps)for(h in c=l.defaultProps,c)f[h]===void 0&&(f[h]=c[h]);return{$$typeof:t,type:l,key:p,ref:x,props:f,_owner:s.current}}return Ds.Fragment=n,Ds.jsx=o,Ds.jsxs=o,Ds}N0.exports=f5();var k=N0.exports;const m5="_commonRippleEffect_10evj_58",g5="_avatar_10evj_58",x5="_rippleRect_10evj_1",v5="_commonErrorAnimation_10evj_84",_5="_shake_10evj_1",j5="_commonClickedAnimation_10evj_88",y5="_clickedAnimation_10evj_1",b5="_commonStarAnimation_10evj_92",w5="_starAnimation_10evj_1",C5="_circle_10evj_104",k5="_square_10evj_107",S5="_rounded_10evj_110",N5="_small_10evj_113",$5="_medium_10evj_117",E5="_large_10evj_121",z5="_stacked_10evj_135",L5="_avatarImg_10evj_144",I5="_avatarText_10evj_152",R5="_slideDown_10evj_1",A5="_fadeIn_10evj_1",Ui={commonRippleEffect:m5,avatar:g5,rippleRect:x5,commonErrorAnimation:v5,shake:_5,commonClickedAnimation:j5,clickedAnimation:y5,commonStarAnimation:b5,starAnimation:w5,circle:C5,square:k5,rounded:S5,small:N5,medium:$5,large:E5,stacked:z5,avatarImg:L5,avatarText:I5,slideDown:R5,fadeIn:A5},P5=({src:e,name:t="",shape:n="circle",size:i="medium",className:s="",stacked:a=!1,...o})=>{const l=!e,c=`${Ui.avatar} ${Ui[n]} ${Ui[i]} ${a?Ui.stacked:""} ${s}`,u=t?t.charAt(0).toUpperCase():"";return k.jsxs("span",{className:c,...o,tabIndex:0,"aria-label":t||"avatar",children:[!l&&k.jsx("img",{alt:t||"avatar",className:Ui.avatarImg,src:e,draggable:!1}),l&&k.jsx("span",{className:Ui.avatarText,children:u})]})},et=xe.memo(P5),M5="_avatarGroup_z4rus_1",T5="_avatarGroupItem_z4rus_6",F5="_count_z4rus_18",Ic={avatarGroup:M5,avatarGroupItem:T5,count:F5},B5=({count:e,className:t="",children:n})=>k.jsxs("div",{className:`${Ic.avatarGroup} ${t}`,tabIndex:0,"aria-label":`Avatar group with ${e} more`,children:[xe.Children.map(n,(i,s)=>k.jsx("div",{className:Ic.avatarGroupItem,children:i},s)),e&&k.jsxs("div",{className:Ic.count,children:["+",e]})]}),e1=xe.memo(B5),O5="_commonRippleEffect_w1d5k_58",D5="_badge_w1d5k_58",U5="_badgeWrapper_w1d5k_58",H5="_rippleRect_w1d5k_1",W5="_commonErrorAnimation_w1d5k_84",q5="_shake_w1d5k_1",V5="_commonClickedAnimation_w1d5k_88",K5="_clickedAnimation_w1d5k_1",G5="_commonStarAnimation_w1d5k_92",Q5="_starAnimation_w1d5k_1",Y5="_content_w1d5k_114",J5="_primary_w1d5k_144",X5="_secondary_w1d5k_151",Z5="_success_w1d5k_158",e8="_danger_w1d5k_165",t8="_warning_w1d5k_172",n8="_info_w1d5k_179",r8="_error_w1d5k_186",i8="_light_w1d5k_193",s8="_dark_w1d5k_200",a8="_small_w1d5k_207",o8="_medium_w1d5k_211",l8="_large_w1d5k_215",c8="_icon_w1d5k_219",d8="_dot_w1d5k_241",u8="_slideDown_w1d5k_1",h8="_fadeIn_w1d5k_1",Fr={commonRippleEffect:O5,badge:D5,badgeWrapper:U5,rippleRect:H5,commonErrorAnimation:W5,shake:q5,commonClickedAnimation:V5,clickedAnimation:K5,commonStarAnimation:G5,starAnimation:Q5,content:Y5,primary:J5,secondary:X5,success:Z5,danger:e8,warning:t8,info:n8,error:r8,light:i8,dark:s8,small:a8,medium:o8,large:l8,icon:c8,"top-right":"_top-right_w1d5k_236",dot:d8,"top-left":"_top-left_w1d5k_245","bottom-right":"_bottom-right_w1d5k_254","bottom-left":"_bottom-left_w1d5k_263",slideDown:u8,fadeIn:h8},be=({children:e,variant:t="primary",size:n="medium",className:i="",ariaLabel:s,bgColor:a,textColor:o,icon:l,content:c,position:u="top-right",dot:h=!1,borderRadius:f,borderWidth:p,borderColor:x})=>{const j=xe.isValidElement(e),y=h?null:c||(j?"Badge":e);return k.jsxs("div",{className:Fr.badgeWrapper,children:[e&&k.jsx("div",{className:Fr.content,children:e}),k.jsxs("span",{className:` ${Fr.badge} ${Fr[t]} ${Fr[n]} ${Fr[u]} ${h?Fr.dot:""} ${i} - `,"aria-label":s,role:"status",tabIndex:0,style:{backgroundColor:a,color:o,borderRadius:f,borderWidth:p,borderColor:x},children:[l&&k.jsx("span",{className:Fr.icon,children:l}),y]})]})};xe.memo(be);const p8="_commonRippleEffect_37aqs_57",f8="_customButton_37aqs_57",m8="_rippleRect_37aqs_1",g8="_commonErrorAnimation_37aqs_83",x8="_shake_37aqs_1",v8="_commonClickedAnimation_37aqs_87",_8="_clickedAnimation_37aqs_1",j8="_commonStarAnimation_37aqs_91",y8="_starAnimation_37aqs_1",b8="_primary_37aqs_115",w8="_warning_37aqs_122",C8="_error_37aqs_129",k8="_retry_37aqs_136",S8="_back_37aqs_143",N8="_small_37aqs_163",$8="_medium_37aqs_167",E8="_large_37aqs_171",z8="_xlarge_37aqs_175",L8="_borderRadiusNone_37aqs_179",I8="_borderRadiusSmall_37aqs_182",R8="_borderRadiusMedium_37aqs_185",A8="_borderRadiusLarge_37aqs_188",P8="_borderRadiusCircle_37aqs_191",M8="_borderRadiusSquare_37aqs_205",T8="_secondary_37aqs_232",F8="_success_37aqs_239",B8="_active_37aqs_246",O8="_loading_37aqs_250",D8="_loadingWrapper_37aqs_254",U8="_loadingSpinner_37aqs_259",H8="_spin_37aqs_1",W8="_rounded_37aqs_268",q8="_square_37aqs_271",V8="_circle_37aqs_274",K8="_slideDown_37aqs_1",G8="_fadeIn_37aqs_1",pr={commonRippleEffect:p8,customButton:f8,rippleRect:m8,commonErrorAnimation:g8,shake:x8,commonClickedAnimation:v8,clickedAnimation:_8,commonStarAnimation:j8,starAnimation:y8,primary:b8,warning:w8,error:C8,retry:k8,back:S8,small:N8,medium:$8,large:E8,xlarge:z8,borderRadiusNone:L8,borderRadiusSmall:I8,borderRadiusMedium:R8,borderRadiusLarge:A8,borderRadiusCircle:P8,borderRadiusSquare:M8,secondary:T8,success:F8,active:B8,loading:O8,loadingWrapper:D8,loadingSpinner:U8,spin:H8,rounded:W8,square:q8,circle:V8,slideDown:K8,fadeIn:G8},N=b.forwardRef(({onClick:e,children:t,className:n="",variant:i="primary",size:s="medium",ariaLabel:a,disabled:o=!1,loading:l=!1,active:c=!1,shape:u,borderRadius:h="medium"},f)=>{const p=y=>{!o&&e&&e(y)},x=()=>typeof h=="number"?"":pr[`borderRadius${h.charAt(0).toUpperCase()+h.slice(1)}`],_=()=>typeof h=="number"?{borderRadius:`${h}px`}:{};return k.jsx("button",{ref:f,className:` + `,"aria-label":s,role:"status",tabIndex:0,style:{backgroundColor:a,color:o,borderRadius:f,borderWidth:p,borderColor:x},children:[l&&k.jsx("span",{className:Fr.icon,children:l}),y]})]})};xe.memo(be);const p8="_commonRippleEffect_37aqs_57",f8="_customButton_37aqs_57",m8="_rippleRect_37aqs_1",g8="_commonErrorAnimation_37aqs_83",x8="_shake_37aqs_1",v8="_commonClickedAnimation_37aqs_87",_8="_clickedAnimation_37aqs_1",j8="_commonStarAnimation_37aqs_91",y8="_starAnimation_37aqs_1",b8="_primary_37aqs_115",w8="_warning_37aqs_122",C8="_error_37aqs_129",k8="_retry_37aqs_136",S8="_back_37aqs_143",N8="_small_37aqs_163",$8="_medium_37aqs_167",E8="_large_37aqs_171",z8="_xlarge_37aqs_175",L8="_borderRadiusNone_37aqs_179",I8="_borderRadiusSmall_37aqs_182",R8="_borderRadiusMedium_37aqs_185",A8="_borderRadiusLarge_37aqs_188",P8="_borderRadiusCircle_37aqs_191",M8="_borderRadiusSquare_37aqs_205",T8="_secondary_37aqs_232",F8="_success_37aqs_239",B8="_active_37aqs_246",O8="_loading_37aqs_250",D8="_loadingWrapper_37aqs_254",U8="_loadingSpinner_37aqs_259",H8="_spin_37aqs_1",W8="_rounded_37aqs_268",q8="_square_37aqs_271",V8="_circle_37aqs_274",K8="_slideDown_37aqs_1",G8="_fadeIn_37aqs_1",pr={commonRippleEffect:p8,customButton:f8,rippleRect:m8,commonErrorAnimation:g8,shake:x8,commonClickedAnimation:v8,clickedAnimation:_8,commonStarAnimation:j8,starAnimation:y8,primary:b8,warning:w8,error:C8,retry:k8,back:S8,small:N8,medium:$8,large:E8,xlarge:z8,borderRadiusNone:L8,borderRadiusSmall:I8,borderRadiusMedium:R8,borderRadiusLarge:A8,borderRadiusCircle:P8,borderRadiusSquare:M8,secondary:T8,success:F8,active:B8,loading:O8,loadingWrapper:D8,loadingSpinner:U8,spin:H8,rounded:W8,square:q8,circle:V8,slideDown:K8,fadeIn:G8},N=b.forwardRef(({onClick:e,children:t,className:n="",variant:i="primary",size:s="medium",ariaLabel:a,disabled:o=!1,loading:l=!1,active:c=!1,shape:u,borderRadius:h="medium",style:f,...p},x)=>{const j=_=>{!o&&e&&e(_)},y=()=>typeof h=="number"?"":pr[`borderRadius${h.charAt(0).toUpperCase()+h.slice(1)}`],C=()=>({...typeof h=="number"?{borderRadius:`${h}px`}:{},...f});return k.jsx("button",{ref:x,className:` ${pr.customButton} ${pr[i]} ${pr[s]} - ${x()} + ${y()} ${u?pr[u]:""} ${c?pr.active:""} ${l?pr.loading:""} ${n} - `,onClick:p,"aria-label":a,role:"button",tabIndex:0,disabled:o||l,style:_(),children:l?k.jsxs("span",{className:pr.loadingWrapper,children:[k.jsx("span",{className:pr.loadingSpinner}),t]}):t})});N.displayName="Button";const Q8="_card_62upv_2",Y8="_outlined_62upv_14",J8="_shadow_62upv_18",X8="_elevated_62upv_22",Z8="_filled_62upv_26",e_="_noHeader_62upv_31",t_="_cardHeader_62upv_31",n_="_noFooter_62upv_34",r_="_cardFooter_62upv_34",i_="_noHeaderFooter_62upv_37",s_="_cardTitle_62upv_45",a_="_cardDescription_62upv_53",o_="_cardContent_62upv_60",l_="_cardButton_62upv_75",c_="_fadeIn_62upv_95",d_="_slideIn_62upv_106",u_="_zoomIn_62upv_117",Cr={card:Q8,default:"_default_62upv_10",outlined:Y8,shadow:J8,elevated:X8,filled:Z8,noHeader:e_,cardHeader:t_,noFooter:n_,cardFooter:r_,noHeaderFooter:i_,cardTitle:s_,cardDescription:a_,cardContent:o_,cardButton:l_,fadeIn:c_,slideIn:d_,zoomIn:u_},Gt=({children:e,variant:t="default",type:n="default",className:i=""})=>{const s=`${Cr.card} ${Cr[t]} ${Cr[n]} ${i}`;return k.jsx("div",{className:s,children:e})},Gn=({children:e,className:t="",bgColor:n,textColor:i})=>{const s={backgroundColor:n,color:i};return k.jsx("div",{className:`${Cr.cardHeader} ${t}`,style:s,children:e})},Qn=({children:e,className:t=""})=>k.jsx("h3",{className:`${Cr.cardTitle} ${t}`,children:e}),Yn=({children:e,className:t=""})=>k.jsx("p",{className:`${Cr.cardDescription} ${t}`,children:e}),wn=({children:e,className:t="",bgColor:n,textColor:i,animation:s})=>{const a={backgroundColor:n,color:i},o=`${Cr.cardContent} ${s?Cr[s]:""} ${t}`;return k.jsx("div",{className:o,style:a,children:e})},Jn=({children:e,className:t="",bgColor:n,textColor:i})=>{const s={backgroundColor:n,color:i};return k.jsx("div",{className:`${Cr.cardFooter} ${t}`,style:s,children:e})};xe.memo(Gt);const h_="_dropdown_9sgb2_2",p_="_trigger_9sgb2_6",f_="_menu_9sgb2_12",m_="_fadeIn_9sgb2_1",g_="_menuList_9sgb2_27",x_="_down_9sgb2_49",v_="_up_9sgb2_53",__="_left_9sgb2_57",j_="_right_9sgb2_61",y_="_menuItem_9sgb2_65",b_="_disabled_9sgb2_78",li={dropdown:h_,trigger:p_,menu:f_,fadeIn:m_,menuList:g_,down:x_,up:v_,left:__,right:j_,menuItem:y_,disabled:b_},w_=({className:e="",ariaLabel:t,disabled:n=!1,items:i=[],onSelect:s,menuBgColor:a="#f8f9fa",menuTextColor:o="#000000",menuBoxShadow:l="0 4px 6px rgba(0, 0, 0, 0.1)",direction:c="down",children:u})=>{const[h,f]=b.useState(!1),p=b.useRef(null),x=b.useRef(null),_=()=>{n||f(!h)},y=d=>{s&&!d.disabled&&s(d),f(!1)},C=d=>{p.current&&!p.current.contains(d.target)&&f(!1)},j=d=>{const m=d.relatedTarget;p.current&&x.current&&!p.current.contains(m)&&!x.current.contains(m)&&f(!1)};return b.useEffect(()=>(document.addEventListener("mousedown",C),document.addEventListener("focusout",j),()=>{document.removeEventListener("mousedown",C),document.removeEventListener("focusout",j)}),[]),k.jsxs("div",{className:`${li.dropdown} ${e}`,"aria-label":t,role:"menu",tabIndex:0,"aria-disabled":n,ref:p,children:[k.jsx("div",{className:li.trigger,onClick:_,children:u||k.jsx(N,{size:"small",disabled:n,children:"Dropdown"})}),h&&k.jsx("div",{ref:x,className:`${li.menu} ${li[c]}`,style:{backgroundColor:a,boxShadow:l},tabIndex:-1,children:k.jsx("ul",{className:li.menuList,role:"menu",tabIndex:-1,children:i.map((d,m)=>k.jsx("li",{className:`${li.menuItem} ${d.disabled?li.disabled:""}`,onClick:()=>y(d),style:{color:d.disabled?"#c0c0c0":o},role:"menuitem",tabIndex:d.disabled?-1:0,children:d.label},m))})})]})},Xn=xe.memo(w_);var $0={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},t1=xe.createContext&&xe.createContext($0),C_=["attr","size","title"];function k_(e,t){if(e==null)return{};var n=S_(e,t),i,s;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function S_(e,t){if(e==null)return{};var n={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}function pl(){return pl=Object.assign?Object.assign.bind():function(e){for(var t=1;txe.createElement(t.tag,fl({key:n},t.attr),E0(t.child)))}function Ie(e){return t=>xe.createElement(z_,pl({attr:fl({},e.attr)},t),E0(e.child))}function z_(e){var t=n=>{var{attr:i,size:s,title:a}=e,o=k_(e,C_),l=s||n.size||"1em",c;return n.className&&(c=n.className),e.className&&(c=(c?c+" ":"")+e.className),xe.createElement("svg",pl({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,o,{className:c,style:fl(fl({color:e.color||n.color},n.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),a&&xe.createElement("title",null,a),e.children)};return t1!==void 0?xe.createElement(t1.Consumer,null,n=>t(n)):t($0)}function L_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 448c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V160H32v288zm160-212c0-6.6 5.4-12 12-12h104c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12H204c-6.6 0-12-5.4-12-12v-8zM480 32H32C14.3 32 0 46.3 0 64v48c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16V64c0-17.7-14.3-32-32-32z"},child:[]}]})(e)}function I_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z"},child:[]}]})(e)}function R_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M0 512V48C0 21.49 21.49 0 48 0h288c26.51 0 48 21.49 48 48v464L192 400 0 512z"},child:[]}]})(e)}function A_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"},child:[]}]})(e)}function P_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z"},child:[]}]})(e)}function Fd(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8Zm92.49,313h0l-20,25a16,16,0,0,1-22.49,2.5h0l-67-49.72a40,40,0,0,1-15-31.23V112a16,16,0,0,1,16-16h32a16,16,0,0,1,16,16V256l58,42.5A16,16,0,0,1,348.49,321Z"},child:[]}]})(e)}function M_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"},child:[]}]})(e)}function r1(e){return Ie({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},child:[]}]})(e)}function T_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 192 512"},child:[{tag:"path",attr:{d:"M176 432c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80zM25.26 25.199l13.6 272C39.499 309.972 50.041 320 62.83 320h66.34c12.789 0 23.331-10.028 23.97-22.801l13.6-272C167.425 11.49 156.496 0 142.77 0H49.23C35.504 0 24.575 11.49 25.26 25.199z"},child:[]}]})(e)}function F_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"},child:[]}]})(e)}function z0(e){return Ie({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"},child:[]}]})(e)}function B_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M349.565 98.783C295.978 98.783 251.721 64 184.348 64c-24.955 0-47.309 4.384-68.045 12.013a55.947 55.947 0 0 0 3.586-23.562C118.117 24.015 94.806 1.206 66.338.048 34.345-1.254 8 24.296 8 56c0 19.026 9.497 35.825 24 45.945V488c0 13.255 10.745 24 24 24h16c13.255 0 24-10.745 24-24v-94.4c28.311-12.064 63.582-22.122 114.435-22.122 53.588 0 97.844 34.783 165.217 34.783 48.169 0 86.667-16.294 122.505-40.858C506.84 359.452 512 349.571 512 339.045v-243.1c0-23.393-24.269-38.87-45.485-29.016-34.338 15.948-76.454 31.854-116.95 31.854z"},child:[]}]})(e)}function O_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"},child:[]}]})(e)}function L0(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},child:[]}]})(e)}function D_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 192 512"},child:[{tag:"path",attr:{d:"M20 424.229h20V279.771H20c-11.046 0-20-8.954-20-20V212c0-11.046 8.954-20 20-20h112c11.046 0 20 8.954 20 20v212.229h20c11.046 0 20 8.954 20 20V492c0 11.046-8.954 20-20 20H20c-11.046 0-20-8.954-20-20v-47.771c0-11.046 8.954-20 20-20zM96 0C56.235 0 24 32.235 24 72s32.235 72 72 72 72-32.235 72-72S135.764 0 96 0z"},child:[]}]})(e)}function U_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"},child:[]}]})(e)}function H_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"},child:[]}]})(e)}function W_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M503.691 189.836L327.687 37.851C312.281 24.546 288 35.347 288 56.015v80.053C127.371 137.907 0 170.1 0 322.326c0 61.441 39.581 122.309 83.333 154.132 13.653 9.931 33.111-2.533 28.077-18.631C66.066 312.814 132.917 274.316 288 272.085V360c0 20.7 24.3 31.453 39.687 18.164l176.004-152c11.071-9.562 11.086-26.753 0-36.328z"},child:[]}]})(e)}function q_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"},child:[]}]})(e)}function i1(e){return Ie({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"},child:[]}]})(e)}function V_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M0 56v240c0 13.255 10.745 24 24 24h80c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H24C10.745 32 0 42.745 0 56zm40 200c0-13.255 10.745-24 24-24s24 10.745 24 24-10.745 24-24 24-24-10.745-24-24zm272 256c-20.183 0-29.485-39.293-33.931-57.795-5.206-21.666-10.589-44.07-25.393-58.902-32.469-32.524-49.503-73.967-89.117-113.111a11.98 11.98 0 0 1-3.558-8.521V59.901c0-6.541 5.243-11.878 11.783-11.998 15.831-.29 36.694-9.079 52.651-16.178C256.189 17.598 295.709.017 343.995 0h2.844c42.777 0 93.363.413 113.774 29.737 8.392 12.057 10.446 27.034 6.148 44.632 16.312 17.053 25.063 48.863 16.382 74.757 17.544 23.432 19.143 56.132 9.308 79.469l.11.11c11.893 11.949 19.523 31.259 19.439 49.197-.156 30.352-26.157 58.098-59.553 58.098H350.723C358.03 364.34 384 388.132 384 430.548 384 504 336 512 312 512z"},child:[]}]})(e)}function K_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M104 224H24c-13.255 0-24 10.745-24 24v240c0 13.255 10.745 24 24 24h80c13.255 0 24-10.745 24-24V248c0-13.255-10.745-24-24-24zM64 472c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zM384 81.452c0 42.416-25.97 66.208-33.277 94.548h101.723c33.397 0 59.397 27.746 59.553 58.098.084 17.938-7.546 37.249-19.439 49.197l-.11.11c9.836 23.337 8.237 56.037-9.308 79.469 8.681 25.895-.069 57.704-16.382 74.757 4.298 17.598 2.244 32.575-6.148 44.632C440.202 511.587 389.616 512 346.839 512l-2.845-.001c-48.287-.017-87.806-17.598-119.56-31.725-15.957-7.099-36.821-15.887-52.651-16.178-6.54-.12-11.783-5.457-11.783-11.998v-213.77c0-3.2 1.282-6.271 3.558-8.521 39.614-39.144 56.648-80.587 89.117-113.111 14.804-14.832 20.188-37.236 25.393-58.902C282.515 39.293 291.817 0 312 0c24 0 72 8 72 81.452z"},child:[]}]})(e)}function G_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M298.028 214.267L285.793 96H328c13.255 0 24-10.745 24-24V24c0-13.255-10.745-24-24-24H56C42.745 0 32 10.745 32 24v48c0 13.255 10.745 24 24 24h42.207L85.972 214.267C37.465 236.82 0 277.261 0 328c0 13.255 10.745 24 24 24h136v104.007c0 1.242.289 2.467.845 3.578l24 48c2.941 5.882 11.364 5.893 14.311 0l24-48a8.008 8.008 0 0 0 .845-3.578V352h136c13.255 0 24-10.745 24-24-.001-51.183-37.983-91.42-85.973-113.733z"},child:[]}]})(e)}function Q_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"},child:[]}]})(e)}function Vu(e){return Ie({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},child:[]}]})(e)}function Y_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M624 208h-64v-64c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v64h-64c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h64v64c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-64h64c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm-400 48c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"},child:[]}]})(e)}function J_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M476 480H324a36 36 0 0 1-36-36V96h-96v156a36 36 0 0 1-36 36H16a16 16 0 0 1-16-16v-32a16 16 0 0 1 16-16h112V68a36 36 0 0 1 36-36h152a36 36 0 0 1 36 36v348h96V260a36 36 0 0 1 36-36h140a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16H512v156a36 36 0 0 1-36 36z"},child:[]}]})(e)}const X_="_commonRippleEffect_ouk9h_57",Z_="_searchButton_ouk9h_57",ej="_rippleRect_ouk9h_1",tj="_commonErrorAnimation_ouk9h_83",nj="_shake_ouk9h_231",rj="_commonClickedAnimation_ouk9h_87",ij="_clickedAnimation_ouk9h_1",sj="_commonStarAnimation_ouk9h_91",aj="_starAnimation_ouk9h_1",oj="_circle_ouk9h_112",lj="_square_ouk9h_115",cj="_rounded_ouk9h_118",dj="_primary_ouk9h_121",uj="_warning_ouk9h_128",hj="_error_ouk9h_135",pj="_success_ouk9h_145",fj="_info_ouk9h_152",mj="_loading_ouk9h_166",gj="_loader_ouk9h_170",xj="_spin_ouk9h_1",vj="_icon_ouk9h_196",_j="_small_ouk9h_202",jj="_medium_ouk9h_206",yj="_large_ouk9h_210",bj="_xlarge_ouk9h_214",wj="_children_ouk9h_218",Cj="_expand_ouk9h_225",kj="_shrink_ouk9h_228",Sj="_slideDown_ouk9h_1",Nj="_fadeIn_ouk9h_1",fr={commonRippleEffect:X_,searchButton:Z_,rippleRect:ej,commonErrorAnimation:tj,shake:nj,commonClickedAnimation:rj,clickedAnimation:ij,commonStarAnimation:sj,starAnimation:aj,circle:oj,square:lj,rounded:cj,primary:dj,warning:uj,error:hj,success:pj,info:fj,loading:mj,loader:gj,spin:xj,icon:vj,small:_j,medium:jj,large:yj,xlarge:bj,children:wj,expand:Cj,shrink:kj,slideDown:Sj,fadeIn:Nj},$j=({onClick:e,className:t="",ariaLabel:n,disabled:i=!1,shape:s="circle",variant:a="primary",animation:o="none",size:l="medium",color:c,iconColor:u="#ffffff",bgColor:h,loading:f=!1,children:p})=>{const x=y=>{!i&&e&&e(y)},_=p?"square":s;return k.jsxs("button",{className:`${fr.searchButton} ${fr[_]} ${fr[a]} ${fr[l]} ${o!=="none"?fr[o]:""} ${f?fr.loading:""} ${t}`,onClick:x,"aria-label":n,role:"button",tabIndex:0,disabled:i,style:{backgroundColor:h,color:c,fill:u},children:[f?k.jsx("div",{className:fr.loader}):k.jsx(H_,{className:fr.icon,color:u}),p&&k.jsx("span",{className:fr.children,children:p})]})},te=xe.memo($j),Ej="_commonRippleEffect_s29xq_57",zj="_rippleRect_s29xq_1",Lj="_commonErrorAnimation_s29xq_83",Ij="_statusIndicator_s29xq_83",Rj="_clicked_s29xq_83",Aj="_error_s29xq_83",Pj="_shake_s29xq_1",Mj="_commonClickedAnimation_s29xq_87",Tj="_clickedAnimation_s29xq_1",Fj="_commonStarAnimation_s29xq_91",Bj="_stars_s29xq_91",Oj="_starAnimation_s29xq_1",Dj="_wrapper_s29xq_95",Uj="_circle_s29xq_143",Hj="_square_s29xq_146",Wj="_rounded_s29xq_149",qj="_success_s29xq_152",Vj="_warning_s29xq_166",Kj="_info_s29xq_173",Gj="_icon_s29xq_197",Qj="_small_s29xq_225",Yj="_medium_s29xq_232",Jj="_large_s29xq_239",Xj="_online_s29xq_246",Zj="_offline_s29xq_249",ey="_away_s29xq_252",ty="_busy_s29xq_255",ny="_label_s29xq_279",ry="_slideDown_s29xq_1",iy="_fadeIn_s29xq_1",sn={commonRippleEffect:Ej,rippleRect:zj,commonErrorAnimation:Lj,statusIndicator:Ij,clicked:Rj,error:Aj,shake:Pj,commonClickedAnimation:Mj,clickedAnimation:Tj,commonStarAnimation:Fj,stars:Bj,starAnimation:Oj,wrapper:Dj,circle:Uj,square:Hj,rounded:Wj,success:qj,warning:Vj,info:Kj,icon:Gj,small:Qj,medium:Yj,large:Jj,online:Xj,offline:Zj,away:ey,busy:ty,label:ny,slideDown:ry,fadeIn:iy},sy=({className:e="",ariaLabel:t,disabled:n=!1,status:i="success",shape:s="circle",type:a,showLabel:o=!1,size:l="medium",color:c})=>{const u={success:k.jsx(A_,{className:sn.icon}),error:k.jsx(Vu,{className:sn.icon}),warning:k.jsx(T_,{className:sn.icon}),info:k.jsx(D_,{className:sn.icon})},h={online:"在线",offline:"离线",away:"离开",busy:"忙碌"},f=x=>{if(!n){const _=x.currentTarget;_.classList.add(sn.clicked),setTimeout(()=>{_.classList.remove(sn.clicked)},1e3)}},p=a==="custom"&&c?{backgroundColor:c}:{};return k.jsxs("div",{className:sn.wrapper,children:[k.jsxs("div",{className:` + `,onClick:j,"aria-label":a,role:"button",tabIndex:0,disabled:o||l,style:C(),...p,children:l?k.jsxs("span",{className:pr.loadingWrapper,children:[k.jsx("span",{className:pr.loadingSpinner}),t]}):t})});N.displayName="Button";const Q8="_card_62upv_2",Y8="_outlined_62upv_14",J8="_shadow_62upv_18",X8="_elevated_62upv_22",Z8="_filled_62upv_26",e_="_noHeader_62upv_31",t_="_cardHeader_62upv_31",n_="_noFooter_62upv_34",r_="_cardFooter_62upv_34",i_="_noHeaderFooter_62upv_37",s_="_cardTitle_62upv_45",a_="_cardDescription_62upv_53",o_="_cardContent_62upv_60",l_="_cardButton_62upv_75",c_="_fadeIn_62upv_95",d_="_slideIn_62upv_106",u_="_zoomIn_62upv_117",Cr={card:Q8,default:"_default_62upv_10",outlined:Y8,shadow:J8,elevated:X8,filled:Z8,noHeader:e_,cardHeader:t_,noFooter:n_,cardFooter:r_,noHeaderFooter:i_,cardTitle:s_,cardDescription:a_,cardContent:o_,cardButton:l_,fadeIn:c_,slideIn:d_,zoomIn:u_},Gt=({children:e,variant:t="default",type:n="default",className:i=""})=>{const s=`${Cr.card} ${Cr[t]} ${Cr[n]} ${i}`;return k.jsx("div",{className:s,children:e})},Gn=({children:e,className:t="",bgColor:n,textColor:i})=>{const s={backgroundColor:n,color:i};return k.jsx("div",{className:`${Cr.cardHeader} ${t}`,style:s,children:e})},Qn=({children:e,className:t=""})=>k.jsx("h3",{className:`${Cr.cardTitle} ${t}`,children:e}),Yn=({children:e,className:t=""})=>k.jsx("p",{className:`${Cr.cardDescription} ${t}`,children:e}),wn=({children:e,className:t="",bgColor:n,textColor:i,animation:s})=>{const a={backgroundColor:n,color:i},o=`${Cr.cardContent} ${s?Cr[s]:""} ${t}`;return k.jsx("div",{className:o,style:a,children:e})},Jn=({children:e,className:t="",bgColor:n,textColor:i})=>{const s={backgroundColor:n,color:i};return k.jsx("div",{className:`${Cr.cardFooter} ${t}`,style:s,children:e})};xe.memo(Gt);const h_="_dropdown_9sgb2_2",p_="_trigger_9sgb2_6",f_="_menu_9sgb2_12",m_="_fadeIn_9sgb2_1",g_="_menuList_9sgb2_27",x_="_down_9sgb2_49",v_="_up_9sgb2_53",__="_left_9sgb2_57",j_="_right_9sgb2_61",y_="_menuItem_9sgb2_65",b_="_disabled_9sgb2_78",li={dropdown:h_,trigger:p_,menu:f_,fadeIn:m_,menuList:g_,down:x_,up:v_,left:__,right:j_,menuItem:y_,disabled:b_},w_=({className:e="",ariaLabel:t,disabled:n=!1,items:i=[],onSelect:s,menuBgColor:a="#f8f9fa",menuTextColor:o="#000000",menuBoxShadow:l="0 4px 6px rgba(0, 0, 0, 0.1)",direction:c="down",children:u})=>{const[h,f]=b.useState(!1),p=b.useRef(null),x=b.useRef(null),j=()=>{n||f(!h)},y=d=>{s&&!d.disabled&&s(d),f(!1)},C=d=>{p.current&&!p.current.contains(d.target)&&f(!1)},_=d=>{const m=d.relatedTarget;p.current&&x.current&&!p.current.contains(m)&&!x.current.contains(m)&&f(!1)};return b.useEffect(()=>(document.addEventListener("mousedown",C),document.addEventListener("focusout",_),()=>{document.removeEventListener("mousedown",C),document.removeEventListener("focusout",_)}),[]),k.jsxs("div",{className:`${li.dropdown} ${e}`,"aria-label":t,role:"menu",tabIndex:0,"aria-disabled":n,ref:p,children:[k.jsx("div",{className:li.trigger,onClick:j,children:u||k.jsx(N,{size:"small",disabled:n,children:"Dropdown"})}),h&&k.jsx("div",{ref:x,className:`${li.menu} ${li[c]}`,style:{backgroundColor:a,boxShadow:l},tabIndex:-1,children:k.jsx("ul",{className:li.menuList,role:"menu",tabIndex:-1,children:i.map((d,m)=>k.jsx("li",{className:`${li.menuItem} ${d.disabled?li.disabled:""}`,onClick:()=>y(d),style:{color:d.disabled?"#c0c0c0":o},role:"menuitem",tabIndex:d.disabled?-1:0,children:d.label},m))})})]})},Xn=xe.memo(w_);var $0={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},t1=xe.createContext&&xe.createContext($0),C_=["attr","size","title"];function k_(e,t){if(e==null)return{};var n=S_(e,t),i,s;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function S_(e,t){if(e==null)return{};var n={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){if(t.indexOf(i)>=0)continue;n[i]=e[i]}return n}function pl(){return pl=Object.assign?Object.assign.bind():function(e){for(var t=1;txe.createElement(t.tag,fl({key:n},t.attr),E0(t.child)))}function Ie(e){return t=>xe.createElement(z_,pl({attr:fl({},e.attr)},t),E0(e.child))}function z_(e){var t=n=>{var{attr:i,size:s,title:a}=e,o=k_(e,C_),l=s||n.size||"1em",c;return n.className&&(c=n.className),e.className&&(c=(c?c+" ":"")+e.className),xe.createElement("svg",pl({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,o,{className:c,style:fl(fl({color:e.color||n.color},n.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),a&&xe.createElement("title",null,a),e.children)};return t1!==void 0?xe.createElement(t1.Consumer,null,n=>t(n)):t($0)}function L_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 448c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V160H32v288zm160-212c0-6.6 5.4-12 12-12h104c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12H204c-6.6 0-12-5.4-12-12v-8zM480 32H32C14.3 32 0 46.3 0 64v48c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16V64c0-17.7-14.3-32-32-32z"},child:[]}]})(e)}function I_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z"},child:[]}]})(e)}function R_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M0 512V48C0 21.49 21.49 0 48 0h288c26.51 0 48 21.49 48 48v464L192 400 0 512z"},child:[]}]})(e)}function A_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"},child:[]}]})(e)}function P_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z"},child:[]}]})(e)}function Fd(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8Zm92.49,313h0l-20,25a16,16,0,0,1-22.49,2.5h0l-67-49.72a40,40,0,0,1-15-31.23V112a16,16,0,0,1,16-16h32a16,16,0,0,1,16,16V256l58,42.5A16,16,0,0,1,348.49,321Z"},child:[]}]})(e)}function M_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"},child:[]}]})(e)}function r1(e){return Ie({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},child:[]}]})(e)}function T_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 192 512"},child:[{tag:"path",attr:{d:"M176 432c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80zM25.26 25.199l13.6 272C39.499 309.972 50.041 320 62.83 320h66.34c12.789 0 23.331-10.028 23.97-22.801l13.6-272C167.425 11.49 156.496 0 142.77 0H49.23C35.504 0 24.575 11.49 25.26 25.199z"},child:[]}]})(e)}function F_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"},child:[]}]})(e)}function z0(e){return Ie({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"},child:[]}]})(e)}function B_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M349.565 98.783C295.978 98.783 251.721 64 184.348 64c-24.955 0-47.309 4.384-68.045 12.013a55.947 55.947 0 0 0 3.586-23.562C118.117 24.015 94.806 1.206 66.338.048 34.345-1.254 8 24.296 8 56c0 19.026 9.497 35.825 24 45.945V488c0 13.255 10.745 24 24 24h16c13.255 0 24-10.745 24-24v-94.4c28.311-12.064 63.582-22.122 114.435-22.122 53.588 0 97.844 34.783 165.217 34.783 48.169 0 86.667-16.294 122.505-40.858C506.84 359.452 512 349.571 512 339.045v-243.1c0-23.393-24.269-38.87-45.485-29.016-34.338 15.948-76.454 31.854-116.95 31.854z"},child:[]}]})(e)}function O_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"},child:[]}]})(e)}function L0(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},child:[]}]})(e)}function D_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 192 512"},child:[{tag:"path",attr:{d:"M20 424.229h20V279.771H20c-11.046 0-20-8.954-20-20V212c0-11.046 8.954-20 20-20h112c11.046 0 20 8.954 20 20v212.229h20c11.046 0 20 8.954 20 20V492c0 11.046-8.954 20-20 20H20c-11.046 0-20-8.954-20-20v-47.771c0-11.046 8.954-20 20-20zM96 0C56.235 0 24 32.235 24 72s32.235 72 72 72 72-32.235 72-72S135.764 0 96 0z"},child:[]}]})(e)}function U_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z"},child:[]}]})(e)}function H_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"},child:[]}]})(e)}function W_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M503.691 189.836L327.687 37.851C312.281 24.546 288 35.347 288 56.015v80.053C127.371 137.907 0 170.1 0 322.326c0 61.441 39.581 122.309 83.333 154.132 13.653 9.931 33.111-2.533 28.077-18.631C66.066 312.814 132.917 274.316 288 272.085V360c0 20.7 24.3 31.453 39.687 18.164l176.004-152c11.071-9.562 11.086-26.753 0-36.328z"},child:[]}]})(e)}function q_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"},child:[]}]})(e)}function i1(e){return Ie({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"},child:[]}]})(e)}function V_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M0 56v240c0 13.255 10.745 24 24 24h80c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24H24C10.745 32 0 42.745 0 56zm40 200c0-13.255 10.745-24 24-24s24 10.745 24 24-10.745 24-24 24-24-10.745-24-24zm272 256c-20.183 0-29.485-39.293-33.931-57.795-5.206-21.666-10.589-44.07-25.393-58.902-32.469-32.524-49.503-73.967-89.117-113.111a11.98 11.98 0 0 1-3.558-8.521V59.901c0-6.541 5.243-11.878 11.783-11.998 15.831-.29 36.694-9.079 52.651-16.178C256.189 17.598 295.709.017 343.995 0h2.844c42.777 0 93.363.413 113.774 29.737 8.392 12.057 10.446 27.034 6.148 44.632 16.312 17.053 25.063 48.863 16.382 74.757 17.544 23.432 19.143 56.132 9.308 79.469l.11.11c11.893 11.949 19.523 31.259 19.439 49.197-.156 30.352-26.157 58.098-59.553 58.098H350.723C358.03 364.34 384 388.132 384 430.548 384 504 336 512 312 512z"},child:[]}]})(e)}function K_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M104 224H24c-13.255 0-24 10.745-24 24v240c0 13.255 10.745 24 24 24h80c13.255 0 24-10.745 24-24V248c0-13.255-10.745-24-24-24zM64 472c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zM384 81.452c0 42.416-25.97 66.208-33.277 94.548h101.723c33.397 0 59.397 27.746 59.553 58.098.084 17.938-7.546 37.249-19.439 49.197l-.11.11c9.836 23.337 8.237 56.037-9.308 79.469 8.681 25.895-.069 57.704-16.382 74.757 4.298 17.598 2.244 32.575-6.148 44.632C440.202 511.587 389.616 512 346.839 512l-2.845-.001c-48.287-.017-87.806-17.598-119.56-31.725-15.957-7.099-36.821-15.887-52.651-16.178-6.54-.12-11.783-5.457-11.783-11.998v-213.77c0-3.2 1.282-6.271 3.558-8.521 39.614-39.144 56.648-80.587 89.117-113.111 14.804-14.832 20.188-37.236 25.393-58.902C282.515 39.293 291.817 0 312 0c24 0 72 8 72 81.452z"},child:[]}]})(e)}function G_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M298.028 214.267L285.793 96H328c13.255 0 24-10.745 24-24V24c0-13.255-10.745-24-24-24H56C42.745 0 32 10.745 32 24v48c0 13.255 10.745 24 24 24h42.207L85.972 214.267C37.465 236.82 0 277.261 0 328c0 13.255 10.745 24 24 24h136v104.007c0 1.242.289 2.467.845 3.578l24 48c2.941 5.882 11.364 5.893 14.311 0l24-48a8.008 8.008 0 0 0 .845-3.578V352h136c13.255 0 24-10.745 24-24-.001-51.183-37.983-91.42-85.973-113.733z"},child:[]}]})(e)}function Q_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"},child:[]}]})(e)}function Vu(e){return Ie({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},child:[]}]})(e)}function Y_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M624 208h-64v-64c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v64h-64c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h64v64c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-64h64c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm-400 48c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"},child:[]}]})(e)}function J_(e){return Ie({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M476 480H324a36 36 0 0 1-36-36V96h-96v156a36 36 0 0 1-36 36H16a16 16 0 0 1-16-16v-32a16 16 0 0 1 16-16h112V68a36 36 0 0 1 36-36h152a36 36 0 0 1 36 36v348h96V260a36 36 0 0 1 36-36h140a16 16 0 0 1 16 16v32a16 16 0 0 1-16 16H512v156a36 36 0 0 1-36 36z"},child:[]}]})(e)}const X_="_commonRippleEffect_ouk9h_57",Z_="_searchButton_ouk9h_57",ej="_rippleRect_ouk9h_1",tj="_commonErrorAnimation_ouk9h_83",nj="_shake_ouk9h_231",rj="_commonClickedAnimation_ouk9h_87",ij="_clickedAnimation_ouk9h_1",sj="_commonStarAnimation_ouk9h_91",aj="_starAnimation_ouk9h_1",oj="_circle_ouk9h_112",lj="_square_ouk9h_115",cj="_rounded_ouk9h_118",dj="_primary_ouk9h_121",uj="_warning_ouk9h_128",hj="_error_ouk9h_135",pj="_success_ouk9h_145",fj="_info_ouk9h_152",mj="_loading_ouk9h_166",gj="_loader_ouk9h_170",xj="_spin_ouk9h_1",vj="_icon_ouk9h_196",_j="_small_ouk9h_202",jj="_medium_ouk9h_206",yj="_large_ouk9h_210",bj="_xlarge_ouk9h_214",wj="_children_ouk9h_218",Cj="_expand_ouk9h_225",kj="_shrink_ouk9h_228",Sj="_slideDown_ouk9h_1",Nj="_fadeIn_ouk9h_1",fr={commonRippleEffect:X_,searchButton:Z_,rippleRect:ej,commonErrorAnimation:tj,shake:nj,commonClickedAnimation:rj,clickedAnimation:ij,commonStarAnimation:sj,starAnimation:aj,circle:oj,square:lj,rounded:cj,primary:dj,warning:uj,error:hj,success:pj,info:fj,loading:mj,loader:gj,spin:xj,icon:vj,small:_j,medium:jj,large:yj,xlarge:bj,children:wj,expand:Cj,shrink:kj,slideDown:Sj,fadeIn:Nj},$j=({onClick:e,className:t="",ariaLabel:n,disabled:i=!1,shape:s="circle",variant:a="primary",animation:o="none",size:l="medium",color:c,iconColor:u="#ffffff",bgColor:h,loading:f=!1,children:p})=>{const x=y=>{!i&&e&&e(y)},j=p?"square":s;return k.jsxs("button",{className:`${fr.searchButton} ${fr[j]} ${fr[a]} ${fr[l]} ${o!=="none"?fr[o]:""} ${f?fr.loading:""} ${t}`,onClick:x,"aria-label":n,role:"button",tabIndex:0,disabled:i,style:{backgroundColor:h,color:c,fill:u},children:[f?k.jsx("div",{className:fr.loader}):k.jsx(H_,{className:fr.icon,color:u}),p&&k.jsx("span",{className:fr.children,children:p})]})},te=xe.memo($j),Ej="_commonRippleEffect_s29xq_57",zj="_rippleRect_s29xq_1",Lj="_commonErrorAnimation_s29xq_83",Ij="_statusIndicator_s29xq_83",Rj="_clicked_s29xq_83",Aj="_error_s29xq_83",Pj="_shake_s29xq_1",Mj="_commonClickedAnimation_s29xq_87",Tj="_clickedAnimation_s29xq_1",Fj="_commonStarAnimation_s29xq_91",Bj="_stars_s29xq_91",Oj="_starAnimation_s29xq_1",Dj="_wrapper_s29xq_95",Uj="_circle_s29xq_143",Hj="_square_s29xq_146",Wj="_rounded_s29xq_149",qj="_success_s29xq_152",Vj="_warning_s29xq_166",Kj="_info_s29xq_173",Gj="_icon_s29xq_197",Qj="_small_s29xq_225",Yj="_medium_s29xq_232",Jj="_large_s29xq_239",Xj="_online_s29xq_246",Zj="_offline_s29xq_249",ey="_away_s29xq_252",ty="_busy_s29xq_255",ny="_label_s29xq_279",ry="_slideDown_s29xq_1",iy="_fadeIn_s29xq_1",sn={commonRippleEffect:Ej,rippleRect:zj,commonErrorAnimation:Lj,statusIndicator:Ij,clicked:Rj,error:Aj,shake:Pj,commonClickedAnimation:Mj,clickedAnimation:Tj,commonStarAnimation:Fj,stars:Bj,starAnimation:Oj,wrapper:Dj,circle:Uj,square:Hj,rounded:Wj,success:qj,warning:Vj,info:Kj,icon:Gj,small:Qj,medium:Yj,large:Jj,online:Xj,offline:Zj,away:ey,busy:ty,label:ny,slideDown:ry,fadeIn:iy},sy=({className:e="",ariaLabel:t,disabled:n=!1,status:i="success",shape:s="circle",type:a,showLabel:o=!1,size:l="medium",color:c})=>{const u={success:k.jsx(A_,{className:sn.icon}),error:k.jsx(Vu,{className:sn.icon}),warning:k.jsx(T_,{className:sn.icon}),info:k.jsx(D_,{className:sn.icon})},h={online:"在线",offline:"离线",away:"离开",busy:"忙碌"},f=x=>{if(!n){const j=x.currentTarget;j.classList.add(sn.clicked),setTimeout(()=>{j.classList.remove(sn.clicked)},1e3)}},p=a==="custom"&&c?{backgroundColor:c}:{};return k.jsxs("div",{className:sn.wrapper,children:[k.jsxs("div",{className:` ${sn.statusIndicator} ${sn[i]} ${sn[s]} ${a?sn[a]:""} ${sn[l]} ${e} - `,"aria-label":t,role:"status",tabIndex:0,"aria-disabled":n,onClick:f,style:p,children:[u[i],k.jsx("div",{className:sn.stars})]}),o&&a&&h[a]&&k.jsx("span",{className:sn.label,children:h[a]})]})},ze=xe.memo(sy),ay="_container_y5zsl_1",oy="_containerHideBorder_y5zsl_5",ly="_defaultWidth_y5zsl_16",cy="_fullWidth_y5zsl_20",dy="_textField_y5zsl_24",uy="_focused_y5zsl_32",hy="_label_y5zsl_36",py="_filled_y5zsl_39",fy="_minimal_y5zsl_42",my="_error_y5zsl_47",gy="_shake_y5zsl_54",xy="_readonly_y5zsl_57",vy="_input_y5zsl_62",_y="_suffix_y5zsl_70",jy="_disabled_y5zsl_77",yy="_small_y5zsl_98",by="_shrink_y5zsl_102",wy="_medium_y5zsl_107",Cy="_large_y5zsl_116",ky="_inputWrapper_y5zsl_150",Sy="_hideBorder_y5zsl_167",Ny="_iconLeft_y5zsl_184",$y="_iconRight_y5zsl_192",Ey="_togglePasswordIcon_y5zsl_199",zy="_clearIcon_y5zsl_203",Ly="_errorIcon_y5zsl_215",Iy="_errorMessage_y5zsl_220",Ry="_charCount_y5zsl_228",Ke={container:ay,containerHideBorder:oy,defaultWidth:ly,fullWidth:cy,textField:dy,focused:uy,label:hy,filled:py,minimal:fy,error:my,shake:gy,readonly:xy,input:vy,suffix:_y,disabled:jy,small:yy,shrink:by,medium:wy,large:Cy,inputWrapper:ky,hideBorder:Sy,iconLeft:Ny,iconRight:$y,togglePasswordIcon:Ey,clearIcon:zy,errorIcon:Ly,errorMessage:Iy,charCount:Ry},I0=b.forwardRef(({label:e,placeholder:t,value:n,onChange:i,helperText:s,icon:a,iconPosition:o="left",borderColor:l,hideBorder:c=!1,minimal:u=!1,borderRadius:h="0.25rem",name:f,type:p="text",showCharCount:x=!1,clearable:_=!1,fullWidth:y=!1,width:C="300px",disabled:j=!1,ariaLabel:d,readOnly:m=!1,size:v="medium",suffix:w,onBlur:g,onFocus:S,onKeyDown:E,className:L},R)=>{var F;const Y=b.useRef(null),[q,O]=b.useState(!1),[U,K]=b.useState(!!n),[J,I]=b.useState(!1),[B,V]=b.useState(!1),[se,ne]=b.useState(n||"");b.useEffect(()=>{n!==void 0&&ne(n)},[n]),b.useEffect(()=>{K(!!(n||se))},[n,se]);const nt=b.useCallback(_e=>{E==null||E(_e)},[E]),G=b.useCallback(_e=>{O(!0),S==null||S(_e)},[S]),le=b.useCallback(_e=>{O(!1),g==null||g(_e)},[g]),ke=b.useCallback(_e=>{const Je=_e.target.value;i?i(Je):ne(Je)},[i]),qe=b.useCallback(()=>{i?i(""):ne("")},[i]),At=b.useCallback(()=>{I(!J)},[J]);b.useEffect(()=>{var _e;s&&(V(!0),setTimeout(()=>V(!1),500),(_e=Y.current)==null||_e.focus())},[s]);const yt=`${Ke.textField} ${q?Ke.focused:""} ${U?Ke.filled:""} ${u?Ke.minimal:""} ${s?Ke.error:""} ${c?Ke.containerHideBorder:""} ${B?Ke.shake:""} ${j?Ke.disabled:""} ${m?Ke.readonly:""} ${Ke[v]}`,Pt=`${Ke.input} ${c?Ke.hideBorder:""}`,zt=`${Ke.label} ${q||U?Ke.shrink:""}`,Oe=`${Ke.container} ${c?Ke.containerHideBorder:""} ${L||""}`,Z={width:y?"100%":C,borderRadius:h,borderColor:l};return k.jsxs("div",{className:Oe,style:Z,children:[k.jsxs("div",{className:yt,style:{borderColor:l,borderRadius:h},children:[e&&!t&&!m&&k.jsx("label",{className:zt,onClick:()=>{var _e;return(_e=Y==null?void 0:Y.current)==null?void 0:_e.focus()},style:{left:a&&o==="left"?"2.5rem":"0.75rem"},children:e}),k.jsxs("div",{className:Ke.inputWrapper,style:{borderRadius:h},children:[a&&o==="left"&&k.jsx("span",{className:Ke.iconLeft,children:a}),k.jsx("input",{ref:R||Y,id:f,type:p==="password"&&!J?"password":"text",name:f,className:Pt,placeholder:q||U?"":t,value:n!==void 0?n:se,onChange:ke,onFocus:G,onBlur:le,onKeyDown:nt,tabIndex:0,disabled:j,readOnly:m,"aria-label":d,style:{paddingLeft:a&&o==="left"?"2rem":"",paddingRight:(a&&o==="right"?"2rem":"")+(!w&&_?"2rem":"")}}),a&&o==="right"&&k.jsx(k.Fragment,{children:p!=="password"?k.jsx("span",{className:Ke.iconRight,children:a}):k.jsx("span",{className:`${Ke.iconRight} ${Ke.togglePasswordIcon}`,onClick:At,children:J?k.jsx(F_,{}):k.jsx(z0,{})})}),_&&(n||se)&&!m&&!j&&!w&&k.jsx("span",{className:Ke.clearIcon,onClick:qe,children:k.jsx(Q_,{})}),w&&k.jsx("span",{className:Ke.suffix,children:w}),s&&k.jsx("span",{className:Ke.errorIcon,children:k.jsx(r1,{})})]}),x&&k.jsx("div",{className:Ke.charCount,children:(F=n!==void 0?n:se)==null?void 0:F.length})]}),s&&k.jsxs("div",{className:Ke.errorMessage,children:[k.jsx(r1,{className:Ke.errorIcon}),s]})]})});I0.displayName="TextField";const Re=xe.memo(I0),Ay="_progressIndicator_17t9k_1",Py="_icon_17t9k_7",My="_small_17t9k_10",Ty="_medium_17t9k_13",Fy="_large_17t9k_16",By="_defaultWidth_17t9k_19",Oy="_fullWidth_17t9k_22",Dy="_spinner_17t9k_26",Uy="_circle_17t9k_27",Hy="_spin_17t9k_26",Wy="_barContainer_17t9k_39",qy="_dottedBarContainer_17t9k_40",Vy="_bar_17t9k_39",Ky="_barAnimation_17t9k_1",Gy="_dottedBar_17t9k_40",Qy="_dottedBarAnimation_17t9k_1",Yy="_waveContainer_17t9k_71",Jy="_wave_17t9k_71",Xy="_waveAnimation_17t9k_1",Tt={progressIndicator:Ay,icon:Py,small:My,medium:Ty,large:Fy,defaultWidth:By,fullWidth:Oy,spinner:Dy,circle:Uy,spin:Hy,barContainer:Wy,dottedBarContainer:qy,bar:Vy,barAnimation:Ky,dottedBar:Gy,dottedBarAnimation:Qy,waveContainer:Yy,wave:Jy,waveAnimation:Xy},Zy=({type:e="spinner",size:t="medium",icon:n,ariaLabel:i,className:s="",width:a,full:o=!1})=>{const l={spinner:k.jsx(q_,{className:`${Tt.spinner} ${Tt[t]}`}),bar:k.jsx("div",{className:`${Tt.barContainer} ${Tt[t]}`,children:k.jsx("div",{className:Tt.bar})}),wave:k.jsx("div",{className:`${Tt.waveContainer} ${Tt[t]}`,children:k.jsx(J_,{className:Tt.wave})}),circle:k.jsx(P_,{className:`${Tt.circle} ${Tt[t]}`}),dottedBar:k.jsx("div",{className:`${Tt.dottedBarContainer} ${Tt[t]}`,children:k.jsx("div",{className:Tt.dottedBar})})},c=o?Tt.fullWidth:a?"":Tt.defaultWidth;return k.jsxs("div",{className:`${Tt.progressIndicator} ${s} ${c}`,"aria-label":i,role:"progressbar",tabIndex:0,style:{width:a&&!o?a:void 0},children:[n&&k.jsx("span",{className:Tt.icon,children:n}),l[e]||null]})},Nn=xe.memo(Zy),e9="_commonRippleEffect_e343o_57",t9="_checkbox_e343o_57",n9="_rippleRect_e343o_1",r9="_commonErrorAnimation_e343o_83",i9="_checkboxWrapper_e343o_83",s9="_error_e343o_83",a9="_shake_e343o_1",o9="_commonClickedAnimation_e343o_87",l9="_clickedAnimation_e343o_1",c9="_commonStarAnimation_e343o_91",d9="_starAnimation_e343o_1",u9="_disabled_e343o_108",h9="_checkmark_e343o_112",p9="_labelStart_e343o_116",f9="_labelTop_e343o_119",m9="_labelBottom_e343o_123",g9="_input_e343o_131",x9="_square_e343o_181",v9="_circle_e343o_185",_9="_rounded_e343o_189",j9="_small_e343o_193",y9="_label_e343o_116",b9="_large_e343o_207",w9="_helperTextWrapper_e343o_226",C9="_errorIcon_e343o_232",k9="_helperText_e343o_226",S9="_errorText_e343o_244",N9="_slideDown_e343o_1",$9="_fadeIn_e343o_1",Xt={commonRippleEffect:e9,checkbox:t9,rippleRect:n9,commonErrorAnimation:r9,checkboxWrapper:i9,error:s9,shake:a9,commonClickedAnimation:o9,clickedAnimation:l9,commonStarAnimation:c9,starAnimation:d9,disabled:u9,checkmark:h9,labelStart:p9,labelTop:f9,labelBottom:m9,input:g9,square:x9,circle:v9,rounded:_9,small:j9,label:y9,large:b9,helperTextWrapper:w9,errorIcon:C9,helperText:k9,errorText:S9,slideDown:N9,fadeIn:$9},R0=b.forwardRef(({checked:e,defaultChecked:t,disabled:n=!1,indeterminate:i=!1,name:s,onChange:a,shape:o="square",size:l="medium",label:c,className:u="",checkmarkColor:h,boxColor:f,boxBorderColor:p,icon:x,required:_=!1,error:y=!1,errorIcon:C=k.jsx(L0,{}),helperText:j,labelPlacement:d="end"},m)=>{const v=b.useRef(null);xe.useImperativeHandle(m,()=>v.current,[]),b.useEffect(()=>{v.current&&(v.current.indeterminate=i)},[i]);const w=E=>{a==null||a(E.target.checked,E)},g={...f&&{backgroundColor:f},...p&&{borderColor:p},...h&&{"--checkmark-color":h}},S=` + `,"aria-label":t,role:"status",tabIndex:0,"aria-disabled":n,onClick:f,style:p,children:[u[i],k.jsx("div",{className:sn.stars})]}),o&&a&&h[a]&&k.jsx("span",{className:sn.label,children:h[a]})]})},ze=xe.memo(sy),ay="_container_y5zsl_1",oy="_containerHideBorder_y5zsl_5",ly="_defaultWidth_y5zsl_16",cy="_fullWidth_y5zsl_20",dy="_textField_y5zsl_24",uy="_focused_y5zsl_32",hy="_label_y5zsl_36",py="_filled_y5zsl_39",fy="_minimal_y5zsl_42",my="_error_y5zsl_47",gy="_shake_y5zsl_54",xy="_readonly_y5zsl_57",vy="_input_y5zsl_62",_y="_suffix_y5zsl_70",jy="_disabled_y5zsl_77",yy="_small_y5zsl_98",by="_shrink_y5zsl_102",wy="_medium_y5zsl_107",Cy="_large_y5zsl_116",ky="_inputWrapper_y5zsl_150",Sy="_hideBorder_y5zsl_167",Ny="_iconLeft_y5zsl_184",$y="_iconRight_y5zsl_192",Ey="_togglePasswordIcon_y5zsl_199",zy="_clearIcon_y5zsl_203",Ly="_errorIcon_y5zsl_215",Iy="_errorMessage_y5zsl_220",Ry="_charCount_y5zsl_228",Ke={container:ay,containerHideBorder:oy,defaultWidth:ly,fullWidth:cy,textField:dy,focused:uy,label:hy,filled:py,minimal:fy,error:my,shake:gy,readonly:xy,input:vy,suffix:_y,disabled:jy,small:yy,shrink:by,medium:wy,large:Cy,inputWrapper:ky,hideBorder:Sy,iconLeft:Ny,iconRight:$y,togglePasswordIcon:Ey,clearIcon:zy,errorIcon:Ly,errorMessage:Iy,charCount:Ry},I0=b.forwardRef(({label:e,placeholder:t,value:n,onChange:i,helperText:s,icon:a,iconPosition:o="left",borderColor:l,hideBorder:c=!1,minimal:u=!1,borderRadius:h="0.25rem",name:f,type:p="text",showCharCount:x=!1,clearable:j=!1,fullWidth:y=!1,width:C="300px",disabled:_=!1,ariaLabel:d,readOnly:m=!1,size:v="medium",suffix:w,onBlur:g,onFocus:S,onKeyDown:E,className:L},R)=>{var F;const Y=b.useRef(null),[q,O]=b.useState(!1),[U,K]=b.useState(!!n),[J,I]=b.useState(!1),[B,V]=b.useState(!1),[se,ne]=b.useState(n||"");b.useEffect(()=>{n!==void 0&&ne(n)},[n]),b.useEffect(()=>{K(!!(n||se))},[n,se]);const nt=b.useCallback(_e=>{E==null||E(_e)},[E]),G=b.useCallback(_e=>{O(!0),S==null||S(_e)},[S]),le=b.useCallback(_e=>{O(!1),g==null||g(_e)},[g]),ke=b.useCallback(_e=>{const Je=_e.target.value;i?i(Je):ne(Je)},[i]),qe=b.useCallback(()=>{i?i(""):ne("")},[i]),At=b.useCallback(()=>{I(!J)},[J]);b.useEffect(()=>{var _e;s&&(V(!0),setTimeout(()=>V(!1),500),(_e=Y.current)==null||_e.focus())},[s]);const yt=`${Ke.textField} ${q?Ke.focused:""} ${U?Ke.filled:""} ${u?Ke.minimal:""} ${s?Ke.error:""} ${c?Ke.containerHideBorder:""} ${B?Ke.shake:""} ${_?Ke.disabled:""} ${m?Ke.readonly:""} ${Ke[v]}`,Pt=`${Ke.input} ${c?Ke.hideBorder:""}`,zt=`${Ke.label} ${q||U?Ke.shrink:""}`,Oe=`${Ke.container} ${c?Ke.containerHideBorder:""} ${L||""}`,Z={width:y?"100%":C,borderRadius:h,borderColor:l};return k.jsxs("div",{className:Oe,style:Z,children:[k.jsxs("div",{className:yt,style:{borderColor:l,borderRadius:h},children:[e&&!t&&!m&&k.jsx("label",{className:zt,onClick:()=>{var _e;return(_e=Y==null?void 0:Y.current)==null?void 0:_e.focus()},style:{left:a&&o==="left"?"2.5rem":"0.75rem"},children:e}),k.jsxs("div",{className:Ke.inputWrapper,style:{borderRadius:h},children:[a&&o==="left"&&k.jsx("span",{className:Ke.iconLeft,children:a}),k.jsx("input",{ref:R||Y,id:f,type:p==="password"&&!J?"password":"text",name:f,className:Pt,placeholder:q||U?"":t,value:n!==void 0?n:se,onChange:ke,onFocus:G,onBlur:le,onKeyDown:nt,tabIndex:0,disabled:_,readOnly:m,"aria-label":d,style:{paddingLeft:a&&o==="left"?"2rem":"",paddingRight:(a&&o==="right"?"2rem":"")+(!w&&j?"2rem":"")}}),a&&o==="right"&&k.jsx(k.Fragment,{children:p!=="password"?k.jsx("span",{className:Ke.iconRight,children:a}):k.jsx("span",{className:`${Ke.iconRight} ${Ke.togglePasswordIcon}`,onClick:At,children:J?k.jsx(F_,{}):k.jsx(z0,{})})}),j&&(n||se)&&!m&&!_&&!w&&k.jsx("span",{className:Ke.clearIcon,onClick:qe,children:k.jsx(Q_,{})}),w&&k.jsx("span",{className:Ke.suffix,children:w}),s&&k.jsx("span",{className:Ke.errorIcon,children:k.jsx(r1,{})})]}),x&&k.jsx("div",{className:Ke.charCount,children:(F=n!==void 0?n:se)==null?void 0:F.length})]}),s&&k.jsxs("div",{className:Ke.errorMessage,children:[k.jsx(r1,{className:Ke.errorIcon}),s]})]})});I0.displayName="TextField";const Re=xe.memo(I0),Ay="_progressIndicator_17t9k_1",Py="_icon_17t9k_7",My="_small_17t9k_10",Ty="_medium_17t9k_13",Fy="_large_17t9k_16",By="_defaultWidth_17t9k_19",Oy="_fullWidth_17t9k_22",Dy="_spinner_17t9k_26",Uy="_circle_17t9k_27",Hy="_spin_17t9k_26",Wy="_barContainer_17t9k_39",qy="_dottedBarContainer_17t9k_40",Vy="_bar_17t9k_39",Ky="_barAnimation_17t9k_1",Gy="_dottedBar_17t9k_40",Qy="_dottedBarAnimation_17t9k_1",Yy="_waveContainer_17t9k_71",Jy="_wave_17t9k_71",Xy="_waveAnimation_17t9k_1",Tt={progressIndicator:Ay,icon:Py,small:My,medium:Ty,large:Fy,defaultWidth:By,fullWidth:Oy,spinner:Dy,circle:Uy,spin:Hy,barContainer:Wy,dottedBarContainer:qy,bar:Vy,barAnimation:Ky,dottedBar:Gy,dottedBarAnimation:Qy,waveContainer:Yy,wave:Jy,waveAnimation:Xy},Zy=({type:e="spinner",size:t="medium",icon:n,ariaLabel:i,className:s="",width:a,full:o=!1})=>{const l={spinner:k.jsx(q_,{className:`${Tt.spinner} ${Tt[t]}`}),bar:k.jsx("div",{className:`${Tt.barContainer} ${Tt[t]}`,children:k.jsx("div",{className:Tt.bar})}),wave:k.jsx("div",{className:`${Tt.waveContainer} ${Tt[t]}`,children:k.jsx(J_,{className:Tt.wave})}),circle:k.jsx(P_,{className:`${Tt.circle} ${Tt[t]}`}),dottedBar:k.jsx("div",{className:`${Tt.dottedBarContainer} ${Tt[t]}`,children:k.jsx("div",{className:Tt.dottedBar})})},c=o?Tt.fullWidth:a?"":Tt.defaultWidth;return k.jsxs("div",{className:`${Tt.progressIndicator} ${s} ${c}`,"aria-label":i,role:"progressbar",tabIndex:0,style:{width:a&&!o?a:void 0},children:[n&&k.jsx("span",{className:Tt.icon,children:n}),l[e]||null]})},Nn=xe.memo(Zy),e9="_commonRippleEffect_e343o_57",t9="_checkbox_e343o_57",n9="_rippleRect_e343o_1",r9="_commonErrorAnimation_e343o_83",i9="_checkboxWrapper_e343o_83",s9="_error_e343o_83",a9="_shake_e343o_1",o9="_commonClickedAnimation_e343o_87",l9="_clickedAnimation_e343o_1",c9="_commonStarAnimation_e343o_91",d9="_starAnimation_e343o_1",u9="_disabled_e343o_108",h9="_checkmark_e343o_112",p9="_labelStart_e343o_116",f9="_labelTop_e343o_119",m9="_labelBottom_e343o_123",g9="_input_e343o_131",x9="_square_e343o_181",v9="_circle_e343o_185",_9="_rounded_e343o_189",j9="_small_e343o_193",y9="_label_e343o_116",b9="_large_e343o_207",w9="_helperTextWrapper_e343o_226",C9="_errorIcon_e343o_232",k9="_helperText_e343o_226",S9="_errorText_e343o_244",N9="_slideDown_e343o_1",$9="_fadeIn_e343o_1",Xt={commonRippleEffect:e9,checkbox:t9,rippleRect:n9,commonErrorAnimation:r9,checkboxWrapper:i9,error:s9,shake:a9,commonClickedAnimation:o9,clickedAnimation:l9,commonStarAnimation:c9,starAnimation:d9,disabled:u9,checkmark:h9,labelStart:p9,labelTop:f9,labelBottom:m9,input:g9,square:x9,circle:v9,rounded:_9,small:j9,label:y9,large:b9,helperTextWrapper:w9,errorIcon:C9,helperText:k9,errorText:S9,slideDown:N9,fadeIn:$9},R0=b.forwardRef(({checked:e,defaultChecked:t,disabled:n=!1,indeterminate:i=!1,name:s,onChange:a,shape:o="square",size:l="medium",label:c,className:u="",checkmarkColor:h,boxColor:f,boxBorderColor:p,icon:x,required:j=!1,error:y=!1,errorIcon:C=k.jsx(L0,{}),helperText:_,labelPlacement:d="end"},m)=>{const v=b.useRef(null);xe.useImperativeHandle(m,()=>v.current,[]),b.useEffect(()=>{v.current&&(v.current.indeterminate=i)},[i]);const w=E=>{a==null||a(E.target.checked,E)},g={...f&&{backgroundColor:f},...p&&{borderColor:p},...h&&{"--checkmark-color":h}},S=` ${Xt.checkbox} ${Xt[l]} ${Xt[o]} @@ -227,18 +227,18 @@ function App() { ${n?Xt.disabled:""} ${y?Xt.error:""} ${u} - `;return k.jsxs("div",{className:`${Xt.checkboxWrapper} ${y?Xt.error:""}`,children:[k.jsxs("label",{className:S,children:[k.jsx("input",{ref:v,type:"checkbox",className:Xt.input,checked:e,defaultChecked:t,disabled:n,name:s,onChange:w,required:_}),k.jsx("span",{className:Xt.checkmark,style:g,children:x&&e&&!i&&x}),c&&k.jsx("span",{className:Xt.label,children:c})]}),j&&k.jsxs("div",{className:Xt.helperTextWrapper,children:[y&&k.jsx("span",{className:Xt.errorIcon,children:C}),k.jsx("span",{className:`${Xt.helperText} ${y?Xt.errorText:""}`,children:j})]})]})});R0.displayName="Checkbox";const Ae=xe.memo(R0),E9="_commonRippleEffect_1d9q1_57",z9="_tooltip_1d9q1_57",L9="_rippleRect_1d9q1_1",I9="_commonErrorAnimation_1d9q1_83",R9="_shake_1d9q1_1",A9="_commonClickedAnimation_1d9q1_87",P9="_clickedAnimation_1d9q1_1",M9="_commonStarAnimation_1d9q1_91",T9="_starAnimation_1d9q1_1",F9="_tooltipTrigger_1d9q1_95",B9="_show_1d9q1_117",O9="_dark_1d9q1_130",D9="_light_1d9q1_134",U9="_info_1d9q1_139",H9="_success_1d9q1_143",W9="_warning_1d9q1_147",q9="_error_1d9q1_151",V9="_rounded_1d9q1_158",K9="_thought_1d9q1_162",G9="_square_1d9q1_185",Q9="_followCursor_1d9q1_188",Y9="_arrow_1d9q1_191",J9="_tooltipArrow_1d9q1_194",X9="_slideDown_1d9q1_1",Z9="_fadeIn_1d9q1_1",mr={commonRippleEffect:E9,tooltip:z9,rippleRect:L9,commonErrorAnimation:I9,shake:R9,commonClickedAnimation:A9,clickedAnimation:P9,commonStarAnimation:M9,starAnimation:T9,tooltipTrigger:F9,show:B9,"animation-fade":"_animation-fade_1d9q1_120","animation-scale":"_animation-scale_1d9q1_123",dark:O9,light:D9,info:U9,success:H9,warning:W9,error:q9,default:"_default_1d9q1_155",rounded:V9,thought:K9,square:G9,followCursor:Q9,arrow:Y9,tooltipArrow:J9,slideDown:X9,fadeIn:Z9},e7={top:(e,t,n)=>({top:e.top-t.height-n[1],left:e.left+(e.width-t.width)/2}),"top-start":(e,t,n)=>({top:e.top-t.height-n[1],left:e.left}),"top-end":(e,t,n)=>({top:e.top-t.height-n[1],left:e.right-t.width}),bottom:(e,t,n)=>({top:e.bottom+n[1],left:e.left+(e.width-t.width)/2}),"bottom-start":(e,t,n)=>({top:e.bottom+n[1],left:e.left}),"bottom-end":(e,t,n)=>({top:e.bottom+n[1],left:e.right-t.width}),left:(e,t,n)=>({top:e.top+(e.height-t.height)/2,left:e.left-t.width-n[0]}),"left-start":(e,t,n)=>({top:e.top,left:e.left-t.width-n[0]}),"left-end":(e,t,n)=>({top:e.bottom-t.height,left:e.left-t.width-n[0]}),right:(e,t,n)=>({top:e.top+(e.height-t.height)/2,left:e.right+n[0]}),"right-start":(e,t,n)=>({top:e.top,left:e.right+n[0]}),"right-end":(e,t,n)=>({top:e.bottom-t.height,left:e.right+n[0]})},A0=b.forwardRef(({content:e,children:t,open:n,defaultOpen:i=!1,placement:s="top",variant:a="dark",shape:o="default",animation:l="fade",enterDelay:c=200,leaveDelay:u=0,offset:h=[0,8],disabled:f=!1,followCursor:p=!1,className:x="",zIndex:_=1500,bgColor:y,textColor:C,arrow:j=!1,onOpen:d,onClose:m,ariaLabel:v},w)=>{const[g,S]=b.useState(i),[E,L]=b.useState({top:0,left:0}),[R,F]=b.useState({x:0,y:0}),Y=b.useRef(null),q=b.useRef(null),O=b.useRef(),U=b.useRef(),K=n??g;b.useImperativeHandle(w,()=>({open:()=>S(!0),close:()=>S(!1),toggle:()=>S(ne=>!ne)}));const J=b.useCallback(()=>{if(!Y.current||!q.current)return;if(p){L({top:R.y-q.current.offsetHeight-h[1],left:R.x-q.current.offsetWidth/2});return}const ne=Y.current.getBoundingClientRect(),nt=q.current.getBoundingClientRect(),G=e7[s];L(G(ne,nt,h))},[s,h,p,R.x,R.y]);b.useEffect(()=>{if(!K||!q.current)return;const ne=requestAnimationFrame(()=>{var nt;J(),(nt=q.current)==null||nt.classList.add(mr.show)});return()=>{cancelAnimationFrame(ne)}},[K,J]),b.useEffect(()=>{if(!K)return;const ne=()=>{requestAnimationFrame(J)};return window.addEventListener("resize",ne),()=>{window.removeEventListener("resize",ne)}},[K,J]);const I=()=>{f||(clearTimeout(U.current),O.current=setTimeout(()=>{S(!0),d==null||d()},c))},B=()=>{f||(clearTimeout(O.current),U.current=setTimeout(()=>{S(!1),m==null||m()},u))},V=b.useCallback(ne=>{p&&(F({x:ne.clientX,y:ne.clientY}),requestAnimationFrame(J))},[p,J]);b.useEffect(()=>{if(p)return document.addEventListener("mousemove",V),()=>document.removeEventListener("mousemove",V)},[p,V]);const se=ne=>{f||((ne.key==="Enter"||ne.key===" ")&&(ne.preventDefault(),S(!0),d==null||d()),ne.key==="Escape"&&K&&(S(!1),m==null||m()))};return k.jsxs(k.Fragment,{children:[k.jsx("div",{ref:Y,className:`${mr.tooltipTrigger} ${x}`,onMouseEnter:I,onMouseLeave:B,onKeyDown:se,tabIndex:0,role:"button","aria-label":v,"aria-describedby":K?"tooltip":void 0,children:t}),K&&Ba.createPortal(k.jsxs("div",{ref:q,id:"tooltip",role:"tooltip","aria-label":v,className:` + `;return k.jsxs("div",{className:`${Xt.checkboxWrapper} ${y?Xt.error:""}`,children:[k.jsxs("label",{className:S,children:[k.jsx("input",{ref:v,type:"checkbox",className:Xt.input,checked:e,defaultChecked:t,disabled:n,name:s,onChange:w,required:j}),k.jsx("span",{className:Xt.checkmark,style:g,children:x&&e&&!i&&x}),c&&k.jsx("span",{className:Xt.label,children:c})]}),_&&k.jsxs("div",{className:Xt.helperTextWrapper,children:[y&&k.jsx("span",{className:Xt.errorIcon,children:C}),k.jsx("span",{className:`${Xt.helperText} ${y?Xt.errorText:""}`,children:_})]})]})});R0.displayName="Checkbox";const Ae=xe.memo(R0),E9="_commonRippleEffect_1d9q1_57",z9="_tooltip_1d9q1_57",L9="_rippleRect_1d9q1_1",I9="_commonErrorAnimation_1d9q1_83",R9="_shake_1d9q1_1",A9="_commonClickedAnimation_1d9q1_87",P9="_clickedAnimation_1d9q1_1",M9="_commonStarAnimation_1d9q1_91",T9="_starAnimation_1d9q1_1",F9="_tooltipTrigger_1d9q1_95",B9="_show_1d9q1_117",O9="_dark_1d9q1_130",D9="_light_1d9q1_134",U9="_info_1d9q1_139",H9="_success_1d9q1_143",W9="_warning_1d9q1_147",q9="_error_1d9q1_151",V9="_rounded_1d9q1_158",K9="_thought_1d9q1_162",G9="_square_1d9q1_185",Q9="_followCursor_1d9q1_188",Y9="_arrow_1d9q1_191",J9="_tooltipArrow_1d9q1_194",X9="_slideDown_1d9q1_1",Z9="_fadeIn_1d9q1_1",mr={commonRippleEffect:E9,tooltip:z9,rippleRect:L9,commonErrorAnimation:I9,shake:R9,commonClickedAnimation:A9,clickedAnimation:P9,commonStarAnimation:M9,starAnimation:T9,tooltipTrigger:F9,show:B9,"animation-fade":"_animation-fade_1d9q1_120","animation-scale":"_animation-scale_1d9q1_123",dark:O9,light:D9,info:U9,success:H9,warning:W9,error:q9,default:"_default_1d9q1_155",rounded:V9,thought:K9,square:G9,followCursor:Q9,arrow:Y9,tooltipArrow:J9,slideDown:X9,fadeIn:Z9},e7={top:(e,t,n)=>({top:e.top-t.height-n[1],left:e.left+(e.width-t.width)/2}),"top-start":(e,t,n)=>({top:e.top-t.height-n[1],left:e.left}),"top-end":(e,t,n)=>({top:e.top-t.height-n[1],left:e.right-t.width}),bottom:(e,t,n)=>({top:e.bottom+n[1],left:e.left+(e.width-t.width)/2}),"bottom-start":(e,t,n)=>({top:e.bottom+n[1],left:e.left}),"bottom-end":(e,t,n)=>({top:e.bottom+n[1],left:e.right-t.width}),left:(e,t,n)=>({top:e.top+(e.height-t.height)/2,left:e.left-t.width-n[0]}),"left-start":(e,t,n)=>({top:e.top,left:e.left-t.width-n[0]}),"left-end":(e,t,n)=>({top:e.bottom-t.height,left:e.left-t.width-n[0]}),right:(e,t,n)=>({top:e.top+(e.height-t.height)/2,left:e.right+n[0]}),"right-start":(e,t,n)=>({top:e.top,left:e.right+n[0]}),"right-end":(e,t,n)=>({top:e.bottom-t.height,left:e.right+n[0]})},A0=b.forwardRef(({content:e,children:t,open:n,defaultOpen:i=!1,placement:s="top",variant:a="dark",shape:o="default",animation:l="fade",enterDelay:c=200,leaveDelay:u=0,offset:h=[0,8],disabled:f=!1,followCursor:p=!1,className:x="",zIndex:j=1500,bgColor:y,textColor:C,arrow:_=!1,onOpen:d,onClose:m,ariaLabel:v},w)=>{const[g,S]=b.useState(i),[E,L]=b.useState({top:0,left:0}),[R,F]=b.useState({x:0,y:0}),Y=b.useRef(null),q=b.useRef(null),O=b.useRef(),U=b.useRef(),K=n??g;b.useImperativeHandle(w,()=>({open:()=>S(!0),close:()=>S(!1),toggle:()=>S(ne=>!ne)}));const J=b.useCallback(()=>{if(!Y.current||!q.current)return;if(p){L({top:R.y-q.current.offsetHeight-h[1],left:R.x-q.current.offsetWidth/2});return}const ne=Y.current.getBoundingClientRect(),nt=q.current.getBoundingClientRect(),G=e7[s];L(G(ne,nt,h))},[s,h,p,R.x,R.y]);b.useEffect(()=>{if(!K||!q.current)return;const ne=requestAnimationFrame(()=>{var nt;J(),(nt=q.current)==null||nt.classList.add(mr.show)});return()=>{cancelAnimationFrame(ne)}},[K,J]),b.useEffect(()=>{if(!K)return;const ne=()=>{requestAnimationFrame(J)};return window.addEventListener("resize",ne),()=>{window.removeEventListener("resize",ne)}},[K,J]);const I=()=>{f||(clearTimeout(U.current),O.current=setTimeout(()=>{S(!0),d==null||d()},c))},B=()=>{f||(clearTimeout(O.current),U.current=setTimeout(()=>{S(!1),m==null||m()},u))},V=b.useCallback(ne=>{p&&(F({x:ne.clientX,y:ne.clientY}),requestAnimationFrame(J))},[p,J]);b.useEffect(()=>{if(p)return document.addEventListener("mousemove",V),()=>document.removeEventListener("mousemove",V)},[p,V]);const se=ne=>{f||((ne.key==="Enter"||ne.key===" ")&&(ne.preventDefault(),S(!0),d==null||d()),ne.key==="Escape"&&K&&(S(!1),m==null||m()))};return k.jsxs(k.Fragment,{children:[k.jsx("div",{ref:Y,className:`${mr.tooltipTrigger} ${x}`,onMouseEnter:I,onMouseLeave:B,onKeyDown:se,tabIndex:0,role:"button","aria-label":v,"aria-describedby":K?"tooltip":void 0,children:t}),K&&Ba.createPortal(k.jsxs("div",{ref:q,id:"tooltip",role:"tooltip","aria-label":v,className:` ${mr.tooltip} ${mr[a]} ${mr[o]} ${mr[`animation-${l}`]} ${p?mr.followCursor:""} - ${j?mr.arrow:""} - `,style:{...E,...y!=null&&y.includes("gradient")?{background:y}:{backgroundColor:y},color:C,zIndex:_},children:[e,j&&k.jsx("div",{className:mr.tooltipArrow,style:{...y!=null&&y.includes("gradient")?{background:y}:{backgroundColor:y}}})]}),document.body)]})});A0.displayName="Tooltip";const ge=xe.memo(A0),t7="_commonRippleEffect_458vq_57",n7="_iconButton_458vq_57",r7="_rippleRect_458vq_1",i7="_commonErrorAnimation_458vq_83",s7="_shake_458vq_1",a7="_commonClickedAnimation_458vq_87",o7="_clickedAnimation_458vq_1",l7="_commonStarAnimation_458vq_91",c7="_starAnimation_458vq_1",d7="_small_458vq_107",u7="_medium_458vq_112",h7="_large_458vq_117",p7="_circle_458vq_122",f7="_square_458vq_125",m7="_disabled_458vq_131",g7="_loading_458vq_131",x7="_active_458vq_134",v7="_primary_458vq_138",_7="_secondary_458vq_148",j7="_success_458vq_158",y7="_error_458vq_168",b7="_warning_458vq_178",w7="_ripple_458vq_200",C7="_slideDown_458vq_1",k7="_fadeIn_458vq_1",ci={commonRippleEffect:t7,iconButton:n7,rippleRect:r7,commonErrorAnimation:i7,shake:s7,commonClickedAnimation:a7,clickedAnimation:o7,commonStarAnimation:l7,starAnimation:c7,small:d7,medium:u7,large:h7,circle:p7,square:f7,default:"_default_458vq_128",disabled:m7,loading:g7,active:x7,primary:v7,secondary:_7,success:j7,error:y7,warning:b7,ripple:w7,slideDown:C7,fadeIn:k7},S7=({icon:e,variant:t="default",size:n="medium",shape:i="circle",disabled:s=!1,loading:a=!1,active:o=!1,className:l="",tooltip:c,showTooltip:u=!1,color:h,activeColor:f,bgColor:p,hoverColor:x,fillColor:_,onClick:y,tabIndex:C=0,ariaLabel:j,...d})=>{const m=b.useRef(null),v=b.useMemo(()=>({color:h,backgroundColor:p,"--active-color":f,"--hover-color":x,"--fill-color":_}),[h,p,f,x,_]),w=b.useMemo(()=>`${ci.iconButton} ${ci[t]} ${ci[n]} ${ci[i]} ${s?ci.disabled:""} ${a?ci.loading:""} ${o?ci.active:""} ${l}`,[t,n,i,s,a,o,l]),g=k.jsx("button",{ref:m,className:w,disabled:s||a,onClick:y,tabIndex:s?-1:C,"aria-label":j||"icon button","aria-disabled":s||a,role:"button",style:v,...d,children:a?k.jsx(Nn,{size:n,type:"spinner",ariaLabel:"Loading"}):e});if(!u||!c)return g;const S=b.useMemo(()=>({...c,disabled:s||a}),[c,s,a]);return k.jsx(ge,{...S,children:g})},Ue=xe.memo(S7),N7={favorite:{isActive:!1,activeColor:"#e91e63",inactiveColor:"#666666",activeBgColor:"#fce4ec",inactiveBgColor:"transparent",activeHoverColor:"#fce4ec",inactiveHoverColor:"rgba(233, 30, 99, 0.12)",activeFillColor:"#e91e63",inactiveFillColor:"transparent",activeTooltip:"Remove from favorites",inactiveTooltip:"Add to favorites"},bookmark:{isActive:!1,activeColor:"#ffc107",inactiveColor:"#666666",activeBgColor:"#fff8e1",inactiveBgColor:"transparent",activeHoverColor:"#fff8e1",inactiveHoverColor:"rgba(255, 193, 7, 0.12)",activeFillColor:"#ffc107",inactiveFillColor:"transparent",activeTooltip:"Remove bookmark",inactiveTooltip:"Add bookmark"},star:{isActive:!1,activeColor:"#ff9800",inactiveColor:"#666666",activeBgColor:"#fff3e0",inactiveBgColor:"transparent",activeHoverColor:"#fff3e0",inactiveHoverColor:"rgba(255, 152, 0, 0.12)",activeFillColor:"#ff9800",inactiveFillColor:"transparent",activeTooltip:"Remove star",inactiveTooltip:"Add star"},like:{isActive:!1,activeColor:"#e91e63",inactiveColor:"#666666",activeBgColor:"#fce4ec",inactiveBgColor:"transparent",activeHoverColor:"#fce4ec",inactiveHoverColor:"rgba(233, 30, 99, 0.12)",activeFillColor:"#e91e63",inactiveFillColor:"transparent",activeTooltip:"Unlike",inactiveTooltip:"Like"},follow:{isActive:!1,activeColor:"#2196f3",inactiveColor:"#666666",activeBgColor:"#e3f2fd",inactiveBgColor:"transparent",activeHoverColor:"#e3f2fd",inactiveHoverColor:"rgba(33, 150, 243, 0.12)",activeFillColor:"#2196f3",inactiveFillColor:"transparent",activeTooltip:"Unfollow",inactiveTooltip:"Follow"},share:{isActive:!1,activeColor:"#4caf50",inactiveColor:"#666666",activeBgColor:"#e8f5e9",inactiveBgColor:"transparent",activeHoverColor:"#e8f5e9",inactiveHoverColor:"rgba(76, 175, 80, 0.12)",activeFillColor:"#4caf50",inactiveFillColor:"transparent",activeTooltip:"Shared",inactiveTooltip:"Share"},notification:{isActive:!1,activeColor:"#9c27b0",inactiveColor:"#666666",activeBgColor:"#f3e5f5",inactiveBgColor:"transparent",activeHoverColor:"#f3e5f5",inactiveHoverColor:"rgba(156, 39, 176, 0.12)",activeFillColor:"#9c27b0",inactiveFillColor:"transparent",activeTooltip:"Notifications on",inactiveTooltip:"Turn on notifications"},pin:{isActive:!1,activeColor:"#f44336",inactiveColor:"#666666",activeBgColor:"#ffebee",inactiveBgColor:"transparent",activeHoverColor:"#ffebee",inactiveHoverColor:"rgba(244, 67, 54, 0.12)",activeFillColor:"#f44336",inactiveFillColor:"transparent",activeTooltip:"Unpin",inactiveTooltip:"Pin"},archive:{isActive:!1,activeColor:"#795548",inactiveColor:"#666666",activeBgColor:"#efebe9",inactiveBgColor:"transparent",activeHoverColor:"#efebe9",inactiveHoverColor:"rgba(121, 85, 72, 0.12)",activeFillColor:"#795548",inactiveFillColor:"transparent",activeTooltip:"Unarchive",inactiveTooltip:"Archive"},lock:{isActive:!1,activeColor:"#607d8b",inactiveColor:"#666666",activeBgColor:"#eceff1",inactiveBgColor:"transparent",activeHoverColor:"#eceff1",inactiveHoverColor:"rgba(96, 125, 139, 0.12)",activeFillColor:"#607d8b",inactiveFillColor:"transparent",activeTooltip:"Unlock",inactiveTooltip:"Lock"},download:{isActive:!1,activeColor:"#009688",inactiveColor:"#666666",activeBgColor:"#e0f2f1",inactiveBgColor:"transparent",activeHoverColor:"#e0f2f1",inactiveHoverColor:"rgba(0, 150, 136, 0.12)",activeFillColor:"#009688",inactiveFillColor:"transparent",activeTooltip:"Downloaded",inactiveTooltip:"Download"},visibility:{isActive:!1,activeColor:"#3f51b5",inactiveColor:"#666666",activeBgColor:"#e8eaf6",inactiveBgColor:"transparent",activeHoverColor:"#e8eaf6",inactiveHoverColor:"rgba(63, 81, 181, 0.12)",activeFillColor:"#3f51b5",inactiveFillColor:"transparent",activeTooltip:"Hide",inactiveTooltip:"Show"},clock:{isActive:!1,activeColor:"#673ab7",inactiveColor:"#666666",activeBgColor:"#ede7f6",inactiveBgColor:"transparent",activeHoverColor:"#ede7f6",inactiveHoverColor:"rgba(103, 58, 183, 0.12)",activeFillColor:"#673ab7",inactiveFillColor:"transparent",activeTooltip:"Remove from history",inactiveTooltip:"Add to history"},rate:{isActive:!1,activeColor:"#ffd700",inactiveColor:"#666666",activeBgColor:"#fff8e1",inactiveBgColor:"transparent",activeHoverColor:"#fff8e1",inactiveHoverColor:"rgba(255, 215, 0, 0.12)",activeFillColor:"#ffd700",inactiveFillColor:"transparent",activeTooltip:"Rated",inactiveTooltip:"Rate"},thumbDown:{isActive:!1,activeColor:"#f44336",inactiveColor:"#666666",activeBgColor:"#ffebee",inactiveBgColor:"transparent",activeHoverColor:"#ffebee",inactiveHoverColor:"rgba(244, 67, 54, 0.12)",activeFillColor:"#f44336",inactiveFillColor:"transparent",activeTooltip:"Remove dislike",inactiveTooltip:"Dislike"},flag:{isActive:!1,activeColor:"#ff5722",inactiveColor:"#666666",activeBgColor:"#fbe9e7",inactiveBgColor:"transparent",activeHoverColor:"#fbe9e7",inactiveHoverColor:"rgba(255, 87, 34, 0.12)",activeFillColor:"#ff5722",inactiveFillColor:"transparent",activeTooltip:"Remove flag",inactiveTooltip:"Flag"},close:{isActive:!1,activeColor:"#757575",inactiveColor:"#666666",activeBgColor:"#eeeeee",inactiveBgColor:"transparent",activeHoverColor:"#eeeeee",inactiveHoverColor:"rgba(117, 117, 117, 0.12)",activeFillColor:"#757575",inactiveFillColor:"transparent",activeTooltip:"Closed",inactiveTooltip:"Close"}},$7={favorite:O_,star:i1,bookmark:R_,like:K_,follow:Y_,share:W_,notification:I_,pin:G_,archive:L_,lock:U_,download:M_,visibility:z0,clock:Fd,rate:i1,thumbDown:V_,flag:B_,close:Vu},E7=({type:e,onChange:t,initialState:n=!1,className:i,size:s="medium",shape:a="circle",disabled:o=!1})=>{const[l,c]=b.useState(n),u=N7[e],h=$7[e],f=b.useCallback(()=>{c(x=>{const _=!x;return t==null||t(_),_})},[t]),p=b.useMemo(()=>({color:l?u.activeColor:u.inactiveColor,activeColor:u.activeColor,bgColor:l?u.activeBgColor:u.inactiveBgColor,hoverColor:l?u.activeHoverColor:u.inactiveHoverColor,fillColor:l?u.activeFillColor:u.inactiveFillColor,tooltip:{content:l?u.activeTooltip:u.inactiveTooltip}}),[l,u]);return k.jsx(Ue,{icon:k.jsx(h,{}),active:l,onClick:f,showTooltip:!0,className:i,size:s,shape:a,disabled:o,...p})},Ft=xe.memo(E7),s1={auto:{width:"auto",height:"auto"},small:{width:200,height:120},medium:{width:300,height:200},large:{width:400,height:300}},z7="_commonRippleEffect_1hsiu_57",L7="_rippleRect_1hsiu_1",I7="_commonErrorAnimation_1hsiu_83",R7="_shake_1hsiu_1",A7="_commonClickedAnimation_1hsiu_87",P7="_clickedAnimation_1hsiu_1",M7="_commonStarAnimation_1hsiu_91",T7="_starAnimation_1hsiu_1",F7="_popper_1hsiu_95",B7="_visible_1hsiu_110",O7="_tooltip_1hsiu_113",D7="_menuItem_1hsiu_121",U7="_selectItem_1hsiu_122",H7="_active_1hsiu_125",W7="_multiline_1hsiu_142",q7="_tooltipItem_1hsiu_145",V7="_menu_1hsiu_121",K7="_select_1hsiu_122",G7="_fadeIn_1hsiu_1",Q7="_disabled_1hsiu_199",Y7="_popperArrow_1hsiu_206",J7="_popperArrowInner_1hsiu_214",X7="_primary_1hsiu_260",Z7="_secondary_1hsiu_264",eb="_success_1hsiu_268",tb="_warning_1hsiu_272",nb="_error_1hsiu_276",rb="_small_1hsiu_342",ib="_medium_1hsiu_346",sb="_large_1hsiu_350",ab="_popperContent_1hsiu_354",ob="_singleline_1hsiu_360",lb="_scrollable_1hsiu_393",cb="_auto_1hsiu_415",db="_scrollbar_1hsiu_433",ub="_menuContent_1hsiu_484",hb="_selectContent_1hsiu_485",pb="_slideDown_1hsiu_1",gr={commonRippleEffect:z7,rippleRect:L7,commonErrorAnimation:I7,shake:R7,commonClickedAnimation:A7,clickedAnimation:P7,commonStarAnimation:M7,starAnimation:T7,popper:F7,visible:B7,default:"_default_1hsiu_113",tooltip:O7,menuItem:D7,selectItem:U7,active:H7,multiline:W7,tooltipItem:q7,menu:V7,select:K7,fadeIn:G7,disabled:Q7,popperArrow:Y7,popperArrowInner:J7,primary:X7,secondary:Z7,success:eb,warning:tb,error:nb,"animation-fade":"_animation-fade_1hsiu_284","animation-scale":"_animation-scale_1hsiu_287",small:rb,medium:ib,large:sb,popperContent:ab,singleline:ob,scrollable:lb,auto:cb,scrollbar:db,menuContent:ub,selectContent:hb,slideDown:pb},fb={top:(e,t,n)=>({top:e.top-t.height-n.y-8,left:e.left+(e.width-t.width)/2}),topStart:(e,t,n)=>({top:e.top-t.height-n.y,left:e.left}),topEnd:(e,t,n)=>({top:e.top-t.height-n.y,left:e.right-t.width}),bottom:(e,t,n)=>({top:e.bottom+n.y+8,left:e.left+(e.width-t.width)/2}),bottomStart:(e,t,n)=>({top:e.bottom+n.y,left:e.left}),bottomEnd:(e,t,n)=>({top:e.bottom+n.y,left:e.right-t.width}),left:(e,t,n)=>({top:e.top+(e.height-t.height)/2,left:e.left-t.width-n.x-8}),leftStart:(e,t,n)=>({top:e.top,left:e.left-t.width-n.x}),leftEnd:(e,t,n)=>({top:e.bottom-t.height,left:e.left-t.width-n.x}),right:(e,t,n)=>({top:e.top+(e.height-t.height)/2,left:e.right+n.x+8}),rightStart:(e,t,n)=>({top:e.top,left:e.right+n.x}),rightEnd:(e,t,n)=>({top:e.bottom-t.height,left:e.right+n.x})},mb=({placement:e,style:t})=>null,gb=({anchorEl:e,visible:t,children:n,placement:i="bottom",variant:s="default",type:a="default",size:o="auto",offset:l={x:0,y:8},animation:c={duration:200,easing:"ease"},arrow:u=!1,zIndex:h=1e3,onClickAway:f,className:p="",popperStyle:x={},tabIndex:_=0,ariaLabel:y,multiline:C=!1,trigger:j="click",onVisibleChange:d,scrollable:m=!0,width:v,height:w})=>{const g=b.useRef(null),[S,E]=b.useState({top:0,left:0}),L=b.useMemo(()=>fb[i],[i]);b.useEffect(()=>{if(!t||!f)return;const q=O=>{g.current&&!g.current.contains(O.target)&&e&&!e.contains(O.target)&&f(O)};return document.addEventListener("mousedown",q),()=>document.removeEventListener("mousedown",q)},[t,e,f]);const R=b.useCallback(()=>{!e||!g.current||requestAnimationFrame(()=>{const q=e.getBoundingClientRect(),O=g.current;if(!O)return;const U=O.getBoundingClientRect(),{top:K,left:J}=L(q,U,l),I=document.documentElement.clientWidth,B=document.documentElement.clientHeight;let V=J,se=K;V+U.width>I&&(V=I-U.width),V<0&&(V=0),se<0&&(se=0),se+U.height>B&&(se=B-U.height),E({top:se+window.scrollY,left:V+window.scrollX})})},[e,L,l]);b.useEffect(()=>{if(!t||!e)return;R();const q=()=>{document.contains(e)&&R()};return window.addEventListener("resize",R),window.addEventListener("scroll",q,!0),()=>{window.removeEventListener("resize",R),window.removeEventListener("scroll",q,!0)}},[t,e,R]),b.useEffect(()=>{if(!t||m===!1)return;const q=U=>{const K=g.current;if(!K)return;const{scrollTop:J,scrollHeight:I,clientHeight:B}=K,V=J===0,se=J+B>=I;(V&&U.deltaY<0||se&&U.deltaY>0)&&U.preventDefault()},O=g.current;return O&&O.addEventListener("wheel",q,{passive:!1}),()=>{O&&O.removeEventListener("wheel",q)}},[t,m]);const F=b.useMemo(()=>({position:"absolute",top:S.top,left:S.left,zIndex:h,transition:` + ${_?mr.arrow:""} + `,style:{...E,...y!=null&&y.includes("gradient")?{background:y}:{backgroundColor:y},color:C,zIndex:j},children:[e,_&&k.jsx("div",{className:mr.tooltipArrow,style:{...y!=null&&y.includes("gradient")?{background:y}:{backgroundColor:y}}})]}),document.body)]})});A0.displayName="Tooltip";const ge=xe.memo(A0),t7="_commonRippleEffect_458vq_57",n7="_iconButton_458vq_57",r7="_rippleRect_458vq_1",i7="_commonErrorAnimation_458vq_83",s7="_shake_458vq_1",a7="_commonClickedAnimation_458vq_87",o7="_clickedAnimation_458vq_1",l7="_commonStarAnimation_458vq_91",c7="_starAnimation_458vq_1",d7="_small_458vq_107",u7="_medium_458vq_112",h7="_large_458vq_117",p7="_circle_458vq_122",f7="_square_458vq_125",m7="_disabled_458vq_131",g7="_loading_458vq_131",x7="_active_458vq_134",v7="_primary_458vq_138",_7="_secondary_458vq_148",j7="_success_458vq_158",y7="_error_458vq_168",b7="_warning_458vq_178",w7="_ripple_458vq_200",C7="_slideDown_458vq_1",k7="_fadeIn_458vq_1",ci={commonRippleEffect:t7,iconButton:n7,rippleRect:r7,commonErrorAnimation:i7,shake:s7,commonClickedAnimation:a7,clickedAnimation:o7,commonStarAnimation:l7,starAnimation:c7,small:d7,medium:u7,large:h7,circle:p7,square:f7,default:"_default_458vq_128",disabled:m7,loading:g7,active:x7,primary:v7,secondary:_7,success:j7,error:y7,warning:b7,ripple:w7,slideDown:C7,fadeIn:k7},S7=({icon:e,variant:t="default",size:n="medium",shape:i="circle",disabled:s=!1,loading:a=!1,active:o=!1,className:l="",tooltip:c,showTooltip:u=!1,color:h,activeColor:f,bgColor:p,hoverColor:x,fillColor:j,onClick:y,tabIndex:C=0,ariaLabel:_,...d})=>{const m=b.useRef(null),v=b.useMemo(()=>({color:h,backgroundColor:p,"--active-color":f,"--hover-color":x,"--fill-color":j}),[h,p,f,x,j]),w=b.useMemo(()=>`${ci.iconButton} ${ci[t]} ${ci[n]} ${ci[i]} ${s?ci.disabled:""} ${a?ci.loading:""} ${o?ci.active:""} ${l}`,[t,n,i,s,a,o,l]),g=k.jsx("button",{ref:m,className:w,disabled:s||a,onClick:y,tabIndex:s?-1:C,"aria-label":_||"icon button","aria-disabled":s||a,role:"button",style:v,...d,children:a?k.jsx(Nn,{size:n,type:"spinner",ariaLabel:"Loading"}):e});if(!u||!c)return g;const S=b.useMemo(()=>({...c,disabled:s||a}),[c,s,a]);return k.jsx(ge,{...S,children:g})},Ue=xe.memo(S7),N7={favorite:{isActive:!1,activeColor:"#e91e63",inactiveColor:"#666666",activeBgColor:"#fce4ec",inactiveBgColor:"transparent",activeHoverColor:"#fce4ec",inactiveHoverColor:"rgba(233, 30, 99, 0.12)",activeFillColor:"#e91e63",inactiveFillColor:"transparent",activeTooltip:"Remove from favorites",inactiveTooltip:"Add to favorites"},bookmark:{isActive:!1,activeColor:"#ffc107",inactiveColor:"#666666",activeBgColor:"#fff8e1",inactiveBgColor:"transparent",activeHoverColor:"#fff8e1",inactiveHoverColor:"rgba(255, 193, 7, 0.12)",activeFillColor:"#ffc107",inactiveFillColor:"transparent",activeTooltip:"Remove bookmark",inactiveTooltip:"Add bookmark"},star:{isActive:!1,activeColor:"#ff9800",inactiveColor:"#666666",activeBgColor:"#fff3e0",inactiveBgColor:"transparent",activeHoverColor:"#fff3e0",inactiveHoverColor:"rgba(255, 152, 0, 0.12)",activeFillColor:"#ff9800",inactiveFillColor:"transparent",activeTooltip:"Remove star",inactiveTooltip:"Add star"},like:{isActive:!1,activeColor:"#e91e63",inactiveColor:"#666666",activeBgColor:"#fce4ec",inactiveBgColor:"transparent",activeHoverColor:"#fce4ec",inactiveHoverColor:"rgba(233, 30, 99, 0.12)",activeFillColor:"#e91e63",inactiveFillColor:"transparent",activeTooltip:"Unlike",inactiveTooltip:"Like"},follow:{isActive:!1,activeColor:"#2196f3",inactiveColor:"#666666",activeBgColor:"#e3f2fd",inactiveBgColor:"transparent",activeHoverColor:"#e3f2fd",inactiveHoverColor:"rgba(33, 150, 243, 0.12)",activeFillColor:"#2196f3",inactiveFillColor:"transparent",activeTooltip:"Unfollow",inactiveTooltip:"Follow"},share:{isActive:!1,activeColor:"#4caf50",inactiveColor:"#666666",activeBgColor:"#e8f5e9",inactiveBgColor:"transparent",activeHoverColor:"#e8f5e9",inactiveHoverColor:"rgba(76, 175, 80, 0.12)",activeFillColor:"#4caf50",inactiveFillColor:"transparent",activeTooltip:"Shared",inactiveTooltip:"Share"},notification:{isActive:!1,activeColor:"#9c27b0",inactiveColor:"#666666",activeBgColor:"#f3e5f5",inactiveBgColor:"transparent",activeHoverColor:"#f3e5f5",inactiveHoverColor:"rgba(156, 39, 176, 0.12)",activeFillColor:"#9c27b0",inactiveFillColor:"transparent",activeTooltip:"Notifications on",inactiveTooltip:"Turn on notifications"},pin:{isActive:!1,activeColor:"#f44336",inactiveColor:"#666666",activeBgColor:"#ffebee",inactiveBgColor:"transparent",activeHoverColor:"#ffebee",inactiveHoverColor:"rgba(244, 67, 54, 0.12)",activeFillColor:"#f44336",inactiveFillColor:"transparent",activeTooltip:"Unpin",inactiveTooltip:"Pin"},archive:{isActive:!1,activeColor:"#795548",inactiveColor:"#666666",activeBgColor:"#efebe9",inactiveBgColor:"transparent",activeHoverColor:"#efebe9",inactiveHoverColor:"rgba(121, 85, 72, 0.12)",activeFillColor:"#795548",inactiveFillColor:"transparent",activeTooltip:"Unarchive",inactiveTooltip:"Archive"},lock:{isActive:!1,activeColor:"#607d8b",inactiveColor:"#666666",activeBgColor:"#eceff1",inactiveBgColor:"transparent",activeHoverColor:"#eceff1",inactiveHoverColor:"rgba(96, 125, 139, 0.12)",activeFillColor:"#607d8b",inactiveFillColor:"transparent",activeTooltip:"Unlock",inactiveTooltip:"Lock"},download:{isActive:!1,activeColor:"#009688",inactiveColor:"#666666",activeBgColor:"#e0f2f1",inactiveBgColor:"transparent",activeHoverColor:"#e0f2f1",inactiveHoverColor:"rgba(0, 150, 136, 0.12)",activeFillColor:"#009688",inactiveFillColor:"transparent",activeTooltip:"Downloaded",inactiveTooltip:"Download"},visibility:{isActive:!1,activeColor:"#3f51b5",inactiveColor:"#666666",activeBgColor:"#e8eaf6",inactiveBgColor:"transparent",activeHoverColor:"#e8eaf6",inactiveHoverColor:"rgba(63, 81, 181, 0.12)",activeFillColor:"#3f51b5",inactiveFillColor:"transparent",activeTooltip:"Hide",inactiveTooltip:"Show"},clock:{isActive:!1,activeColor:"#673ab7",inactiveColor:"#666666",activeBgColor:"#ede7f6",inactiveBgColor:"transparent",activeHoverColor:"#ede7f6",inactiveHoverColor:"rgba(103, 58, 183, 0.12)",activeFillColor:"#673ab7",inactiveFillColor:"transparent",activeTooltip:"Remove from history",inactiveTooltip:"Add to history"},rate:{isActive:!1,activeColor:"#ffd700",inactiveColor:"#666666",activeBgColor:"#fff8e1",inactiveBgColor:"transparent",activeHoverColor:"#fff8e1",inactiveHoverColor:"rgba(255, 215, 0, 0.12)",activeFillColor:"#ffd700",inactiveFillColor:"transparent",activeTooltip:"Rated",inactiveTooltip:"Rate"},thumbDown:{isActive:!1,activeColor:"#f44336",inactiveColor:"#666666",activeBgColor:"#ffebee",inactiveBgColor:"transparent",activeHoverColor:"#ffebee",inactiveHoverColor:"rgba(244, 67, 54, 0.12)",activeFillColor:"#f44336",inactiveFillColor:"transparent",activeTooltip:"Remove dislike",inactiveTooltip:"Dislike"},flag:{isActive:!1,activeColor:"#ff5722",inactiveColor:"#666666",activeBgColor:"#fbe9e7",inactiveBgColor:"transparent",activeHoverColor:"#fbe9e7",inactiveHoverColor:"rgba(255, 87, 34, 0.12)",activeFillColor:"#ff5722",inactiveFillColor:"transparent",activeTooltip:"Remove flag",inactiveTooltip:"Flag"},close:{isActive:!1,activeColor:"#757575",inactiveColor:"#666666",activeBgColor:"#eeeeee",inactiveBgColor:"transparent",activeHoverColor:"#eeeeee",inactiveHoverColor:"rgba(117, 117, 117, 0.12)",activeFillColor:"#757575",inactiveFillColor:"transparent",activeTooltip:"Closed",inactiveTooltip:"Close"}},$7={favorite:O_,star:i1,bookmark:R_,like:K_,follow:Y_,share:W_,notification:I_,pin:G_,archive:L_,lock:U_,download:M_,visibility:z0,clock:Fd,rate:i1,thumbDown:V_,flag:B_,close:Vu},E7=({type:e,onChange:t,initialState:n=!1,className:i,size:s="medium",shape:a="circle",disabled:o=!1})=>{const[l,c]=b.useState(n),u=N7[e],h=$7[e],f=b.useCallback(()=>{c(x=>{const j=!x;return t==null||t(j),j})},[t]),p=b.useMemo(()=>({color:l?u.activeColor:u.inactiveColor,activeColor:u.activeColor,bgColor:l?u.activeBgColor:u.inactiveBgColor,hoverColor:l?u.activeHoverColor:u.inactiveHoverColor,fillColor:l?u.activeFillColor:u.inactiveFillColor,tooltip:{content:l?u.activeTooltip:u.inactiveTooltip}}),[l,u]);return k.jsx(Ue,{icon:k.jsx(h,{}),active:l,onClick:f,showTooltip:!0,className:i,size:s,shape:a,disabled:o,...p})},Ft=xe.memo(E7),s1={auto:{width:"auto",height:"auto"},small:{width:200,height:120},medium:{width:300,height:200},large:{width:400,height:300}},z7="_commonRippleEffect_1hsiu_57",L7="_rippleRect_1hsiu_1",I7="_commonErrorAnimation_1hsiu_83",R7="_shake_1hsiu_1",A7="_commonClickedAnimation_1hsiu_87",P7="_clickedAnimation_1hsiu_1",M7="_commonStarAnimation_1hsiu_91",T7="_starAnimation_1hsiu_1",F7="_popper_1hsiu_95",B7="_visible_1hsiu_110",O7="_tooltip_1hsiu_113",D7="_menuItem_1hsiu_121",U7="_selectItem_1hsiu_122",H7="_active_1hsiu_125",W7="_multiline_1hsiu_142",q7="_tooltipItem_1hsiu_145",V7="_menu_1hsiu_121",K7="_select_1hsiu_122",G7="_fadeIn_1hsiu_1",Q7="_disabled_1hsiu_199",Y7="_popperArrow_1hsiu_206",J7="_popperArrowInner_1hsiu_214",X7="_primary_1hsiu_260",Z7="_secondary_1hsiu_264",eb="_success_1hsiu_268",tb="_warning_1hsiu_272",nb="_error_1hsiu_276",rb="_small_1hsiu_342",ib="_medium_1hsiu_346",sb="_large_1hsiu_350",ab="_popperContent_1hsiu_354",ob="_singleline_1hsiu_360",lb="_scrollable_1hsiu_393",cb="_auto_1hsiu_415",db="_scrollbar_1hsiu_433",ub="_menuContent_1hsiu_484",hb="_selectContent_1hsiu_485",pb="_slideDown_1hsiu_1",gr={commonRippleEffect:z7,rippleRect:L7,commonErrorAnimation:I7,shake:R7,commonClickedAnimation:A7,clickedAnimation:P7,commonStarAnimation:M7,starAnimation:T7,popper:F7,visible:B7,default:"_default_1hsiu_113",tooltip:O7,menuItem:D7,selectItem:U7,active:H7,multiline:W7,tooltipItem:q7,menu:V7,select:K7,fadeIn:G7,disabled:Q7,popperArrow:Y7,popperArrowInner:J7,primary:X7,secondary:Z7,success:eb,warning:tb,error:nb,"animation-fade":"_animation-fade_1hsiu_284","animation-scale":"_animation-scale_1hsiu_287",small:rb,medium:ib,large:sb,popperContent:ab,singleline:ob,scrollable:lb,auto:cb,scrollbar:db,menuContent:ub,selectContent:hb,slideDown:pb},fb={top:(e,t,n)=>({top:e.top-t.height-n.y-8,left:e.left+(e.width-t.width)/2}),topStart:(e,t,n)=>({top:e.top-t.height-n.y,left:e.left}),topEnd:(e,t,n)=>({top:e.top-t.height-n.y,left:e.right-t.width}),bottom:(e,t,n)=>({top:e.bottom+n.y+8,left:e.left+(e.width-t.width)/2}),bottomStart:(e,t,n)=>({top:e.bottom+n.y,left:e.left}),bottomEnd:(e,t,n)=>({top:e.bottom+n.y,left:e.right-t.width}),left:(e,t,n)=>({top:e.top+(e.height-t.height)/2,left:e.left-t.width-n.x-8}),leftStart:(e,t,n)=>({top:e.top,left:e.left-t.width-n.x}),leftEnd:(e,t,n)=>({top:e.bottom-t.height,left:e.left-t.width-n.x}),right:(e,t,n)=>({top:e.top+(e.height-t.height)/2,left:e.right+n.x+8}),rightStart:(e,t,n)=>({top:e.top,left:e.right+n.x}),rightEnd:(e,t,n)=>({top:e.bottom-t.height,left:e.right+n.x})},mb=({placement:e,style:t})=>null,gb=({anchorEl:e,visible:t,children:n,placement:i="bottom",variant:s="default",type:a="default",size:o="auto",offset:l={x:0,y:8},animation:c={duration:200,easing:"ease"},arrow:u=!1,zIndex:h=1e3,onClickAway:f,className:p="",popperStyle:x={},tabIndex:j=0,ariaLabel:y,multiline:C=!1,trigger:_="click",onVisibleChange:d,scrollable:m=!0,width:v,height:w})=>{const g=b.useRef(null),[S,E]=b.useState({top:0,left:0}),L=b.useMemo(()=>fb[i],[i]);b.useEffect(()=>{if(!t||!f)return;const q=O=>{g.current&&!g.current.contains(O.target)&&e&&!e.contains(O.target)&&f(O)};return document.addEventListener("mousedown",q),()=>document.removeEventListener("mousedown",q)},[t,e,f]);const R=b.useCallback(()=>{!e||!g.current||requestAnimationFrame(()=>{const q=e.getBoundingClientRect(),O=g.current;if(!O)return;const U=O.getBoundingClientRect(),{top:K,left:J}=L(q,U,l),I=document.documentElement.clientWidth,B=document.documentElement.clientHeight;let V=J,se=K;V+U.width>I&&(V=I-U.width),V<0&&(V=0),se<0&&(se=0),se+U.height>B&&(se=B-U.height),E({top:se+window.scrollY,left:V+window.scrollX})})},[e,L,l]);b.useEffect(()=>{if(!t||!e)return;R();const q=()=>{document.contains(e)&&R()};return window.addEventListener("resize",R),window.addEventListener("scroll",q,!0),()=>{window.removeEventListener("resize",R),window.removeEventListener("scroll",q,!0)}},[t,e,R]),b.useEffect(()=>{if(!t||m===!1)return;const q=U=>{const K=g.current;if(!K)return;const{scrollTop:J,scrollHeight:I,clientHeight:B}=K,V=J===0,se=J+B>=I;(V&&U.deltaY<0||se&&U.deltaY>0)&&U.preventDefault()},O=g.current;return O&&O.addEventListener("wheel",q,{passive:!1}),()=>{O&&O.removeEventListener("wheel",q)}},[t,m]);const F=b.useMemo(()=>({position:"absolute",top:S.top,left:S.left,zIndex:h,transition:` opacity ${c.duration}ms ${c.easing}, visibility ${c.duration}ms ${c.easing}, transform ${c.duration}ms ${c.easing} - `,...C?{overflowY:m?"auto":"visible",overflowX:"hidden"}:{overflowY:"hidden",overflowX:m?"auto":"hidden"},...o==="auto"?{width:v||"auto",height:w||"auto",overflowX:m?"auto":"hidden",overflowY:m?"auto":"visible"}:{width:v||s1[o].width,height:w||s1[o].height},...x}),[S.top,S.left,h,c.duration,c.easing,x,v,w,o,m,C]),Y=b.useMemo(()=>({backgroundColor:(x==null?void 0:x.backgroundColor)||"",borderColor:(x==null?void 0:x.borderColor)||""}),[x.backgroundColor,x.borderColor]);return b.useEffect(()=>{if(!e)return;const q=()=>{j!=="manual"&&(d==null||d(!t))},O=()=>{j==="hover"&&(d==null||d(!0))},U=()=>{j==="hover"&&(d==null||d(!1))},K=()=>{j==="focus"&&(d==null||d(!0))},J=()=>{j==="focus"&&(d==null||d(!1))},I=B=>{j==="contextMenu"&&(B.preventDefault(),d==null||d(!0))};return j==="click"?e.addEventListener("click",q):j==="hover"?(e.addEventListener("mouseenter",O),e.addEventListener("mouseleave",U)):j==="focus"?(e.addEventListener("focus",K),e.addEventListener("blur",J)):j==="contextMenu"&&e.addEventListener("contextmenu",I),()=>{e.removeEventListener("click",q),e.removeEventListener("mouseenter",O),e.removeEventListener("mouseleave",U),e.removeEventListener("focus",K),e.removeEventListener("blur",J),e.removeEventListener("contextmenu",I)}},[e,j,t,d]),t?Ba.createPortal(k.jsxs("div",{ref:g,className:` + `,...C?{overflowY:m?"auto":"visible",overflowX:"hidden"}:{overflowY:"hidden",overflowX:m?"auto":"hidden"},...o==="auto"?{width:v||"auto",height:w||"auto",overflowX:m?"auto":"hidden",overflowY:m?"auto":"visible"}:{width:v||s1[o].width,height:w||s1[o].height},...x}),[S.top,S.left,h,c.duration,c.easing,x,v,w,o,m,C]),Y=b.useMemo(()=>({backgroundColor:(x==null?void 0:x.backgroundColor)||"",borderColor:(x==null?void 0:x.borderColor)||""}),[x.backgroundColor,x.borderColor]);return b.useEffect(()=>{if(!e)return;const q=()=>{_!=="manual"&&(d==null||d(!t))},O=()=>{_==="hover"&&(d==null||d(!0))},U=()=>{_==="hover"&&(d==null||d(!1))},K=()=>{_==="focus"&&(d==null||d(!0))},J=()=>{_==="focus"&&(d==null||d(!1))},I=B=>{_==="contextMenu"&&(B.preventDefault(),d==null||d(!0))};return _==="click"?e.addEventListener("click",q):_==="hover"?(e.addEventListener("mouseenter",O),e.addEventListener("mouseleave",U)):_==="focus"?(e.addEventListener("focus",K),e.addEventListener("blur",J)):_==="contextMenu"&&e.addEventListener("contextmenu",I),()=>{e.removeEventListener("click",q),e.removeEventListener("mouseenter",O),e.removeEventListener("mouseleave",U),e.removeEventListener("focus",K),e.removeEventListener("blur",J),e.removeEventListener("contextmenu",I)}},[e,_,t,d]),t?Ba.createPortal(k.jsxs("div",{ref:g,className:` ${gr.popper} ${gr[s]} ${gr[a]} @@ -247,25 +247,25 @@ function App() { ${t?gr.visible:""} ${m?gr.scrollable:""} ${p} - `,style:F,role:a==="menu"?"menu":"dialog",tabIndex:_,"aria-hidden":!t,"aria-label":y,children:[k.jsx("div",{className:gr.popperContent,children:n}),u&&k.jsx(mb,{placement:i,style:Y})]}),document.body):null},it=xe.memo(gb),xb="_commonRippleEffect_16lmm_57",vb="_rippleRect_16lmm_1",_b="_commonErrorAnimation_16lmm_83",jb="_shake_16lmm_1",yb="_commonClickedAnimation_16lmm_87",bb="_clickedAnimation_16lmm_1",wb="_commonStarAnimation_16lmm_91",Cb="_starAnimation_16lmm_1",kb="_timePickerPanel_16lmm_95",Sb="_timeColumns_16lmm_102",Nb="_timeColumn_16lmm_102",$b="_timeUnit_16lmm_122",Eb="_disabled_16lmm_131",zb="_selected_16lmm_134",Lb="_slideDown_16lmm_1",Ib="_fadeIn_16lmm_1",kt={commonRippleEffect:xb,rippleRect:vb,commonErrorAnimation:_b,shake:jb,commonClickedAnimation:yb,clickedAnimation:bb,commonStarAnimation:wb,starAnimation:Cb,timePickerPanel:kb,timeColumns:Sb,timeColumn:Nb,timeUnit:$b,disabled:Eb,selected:zb,slideDown:Lb,fadeIn:Ib},Rb=({value:e=new Date,format:t,use12Hours:n,showSecond:i,hourStep:s=1,minuteStep:a=1,secondStep:o=1,minTime:l,maxTime:c,onTimeChange:u,visible:h})=>{const f=b.useMemo(()=>{const _=[],y=n?1:0,C=n?12:23;for(let j=y;j<=C;j+=s){const d=l&&e.getHours()c.getHours();_.push({value:j,disabled:d,label:j.toString().padStart(2,"0")})}return _},[n,s,l,c,e]),p=b.useMemo(()=>{const _=[];for(let y=0;y<60;y+=a){const C=l&&e.getMinutes()c.getMinutes();_.push({value:y,disabled:C,label:y.toString().padStart(2,"0")})}return _},[a,l,c,e]),x=b.useMemo(()=>{const _=[];for(let y=0;y<60;y+=o){const C=l&&e.getSeconds()c.getSeconds();_.push({value:y,disabled:C,label:y.toString().padStart(2,"0")})}return _},[o,l,c,e]);return k.jsx("div",{className:kt.timePickerPanel,children:k.jsxs("div",{className:kt.timeColumns,children:[k.jsx("div",{className:kt.timeColumn,children:f.map(_=>k.jsx("div",{className:` + `,style:F,role:a==="menu"?"menu":"dialog",tabIndex:j,"aria-hidden":!t,"aria-label":y,children:[k.jsx("div",{className:gr.popperContent,children:n}),u&&k.jsx(mb,{placement:i,style:Y})]}),document.body):null},it=xe.memo(gb),xb="_commonRippleEffect_16lmm_57",vb="_rippleRect_16lmm_1",_b="_commonErrorAnimation_16lmm_83",jb="_shake_16lmm_1",yb="_commonClickedAnimation_16lmm_87",bb="_clickedAnimation_16lmm_1",wb="_commonStarAnimation_16lmm_91",Cb="_starAnimation_16lmm_1",kb="_timePickerPanel_16lmm_95",Sb="_timeColumns_16lmm_102",Nb="_timeColumn_16lmm_102",$b="_timeUnit_16lmm_122",Eb="_disabled_16lmm_131",zb="_selected_16lmm_134",Lb="_slideDown_16lmm_1",Ib="_fadeIn_16lmm_1",kt={commonRippleEffect:xb,rippleRect:vb,commonErrorAnimation:_b,shake:jb,commonClickedAnimation:yb,clickedAnimation:bb,commonStarAnimation:wb,starAnimation:Cb,timePickerPanel:kb,timeColumns:Sb,timeColumn:Nb,timeUnit:$b,disabled:Eb,selected:zb,slideDown:Lb,fadeIn:Ib},Rb=({value:e=new Date,format:t,use12Hours:n,showSecond:i,hourStep:s=1,minuteStep:a=1,secondStep:o=1,minTime:l,maxTime:c,onTimeChange:u,visible:h})=>{const f=b.useMemo(()=>{const j=[],y=n?1:0,C=n?12:23;for(let _=y;_<=C;_+=s){const d=l&&e.getHours()c.getHours();j.push({value:_,disabled:d,label:_.toString().padStart(2,"0")})}return j},[n,s,l,c,e]),p=b.useMemo(()=>{const j=[];for(let y=0;y<60;y+=a){const C=l&&e.getMinutes()c.getMinutes();j.push({value:y,disabled:C,label:y.toString().padStart(2,"0")})}return j},[a,l,c,e]),x=b.useMemo(()=>{const j=[];for(let y=0;y<60;y+=o){const C=l&&e.getSeconds()c.getSeconds();j.push({value:y,disabled:C,label:y.toString().padStart(2,"0")})}return j},[o,l,c,e]);return k.jsx("div",{className:kt.timePickerPanel,children:k.jsxs("div",{className:kt.timeColumns,children:[k.jsx("div",{className:kt.timeColumn,children:f.map(j=>k.jsx("div",{className:` ${kt.timeUnit} - ${_.value===e.getHours()?kt.selected:""} - ${_.disabled?kt.disabled:""} - `,onClick:()=>!_.disabled&&u("hour",_.value),children:_.label},_.value))}),k.jsx("div",{className:kt.timeColumn,children:p.map(_=>k.jsx("div",{className:` + ${j.value===e.getHours()?kt.selected:""} + ${j.disabled?kt.disabled:""} + `,onClick:()=>!j.disabled&&u("hour",j.value),children:j.label},j.value))}),k.jsx("div",{className:kt.timeColumn,children:p.map(j=>k.jsx("div",{className:` ${kt.timeUnit} - ${_.value===e.getMinutes()?kt.selected:""} - ${_.disabled?kt.disabled:""} - `,onClick:()=>!_.disabled&&u("minute",_.value),children:_.label},_.value))}),i&&k.jsx("div",{className:kt.timeColumn,children:x.map(_=>k.jsx("div",{className:` + ${j.value===e.getMinutes()?kt.selected:""} + ${j.disabled?kt.disabled:""} + `,onClick:()=>!j.disabled&&u("minute",j.value),children:j.label},j.value))}),i&&k.jsx("div",{className:kt.timeColumn,children:x.map(j=>k.jsx("div",{className:` ${kt.timeUnit} - ${_.value===e.getSeconds()?kt.selected:""} - ${_.disabled?kt.disabled:""} - `,onClick:()=>!_.disabled&&u("second",_.value),children:_.label},_.value))}),n&&k.jsxs("div",{className:kt.timeColumn,children:[k.jsx("div",{className:` + ${j.value===e.getSeconds()?kt.selected:""} + ${j.disabled?kt.disabled:""} + `,onClick:()=>!j.disabled&&u("second",j.value),children:j.label},j.value))}),n&&k.jsxs("div",{className:kt.timeColumn,children:[k.jsx("div",{className:` ${kt.timeUnit} ${e.getHours()<12?kt.selected:""} `,onClick:()=>u("ampm",0),children:"AM"}),k.jsx("div",{className:` ${kt.timeUnit} ${e.getHours()>=12?kt.selected:""} - `,onClick:()=>u("ampm",1),children:"PM"})]})]})})},Ab=xe.memo(Rb),Lo=(e,t)=>{const n=e.getHours(),i=n%12||12,s=e.getMinutes(),a=e.getSeconds(),o=n>=12?"PM":"AM";return t.replace("HH",n.toString().padStart(2,"0")).replace("H",n.toString()).replace("hh",i.toString().padStart(2,"0")).replace("h",i.toString()).replace("mm",s.toString().padStart(2,"0")).replace("m",s.toString()).replace("ss",a.toString().padStart(2,"0")).replace("s",a.toString()).replace("a",o)},Pb=(e,t)=>{const n=new Date;let i=0,s=0,a=0,o="";const l=t.match(/(HH|H|hh|h|mm|m|ss|s|a)/g)||[],c=e.match(/(\d+|\s*[AaPp][Mm])/g)||[];return l.forEach((u,h)=>{const f=c[h];switch(u){case"HH":case"H":i=parseInt(f);break;case"hh":case"h":i=parseInt(f);break;case"mm":case"m":s=parseInt(f);break;case"ss":case"s":a=parseInt(f);break;case"a":o=f.toUpperCase();break}}),o==="PM"&&i<12?i+=12:o==="AM"&&i===12&&(i=0),n.setHours(i),n.setMinutes(s),n.setSeconds(a),n},Mb=(e,t)=>{var n;const i={"HH:mm:ss":/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/,"HH:mm":/^([01]\d|2[0-3]):([0-5]\d)$/,"hh:mm:ss a":/^(0\d|1[0-2]):([0-5]\d):([0-5]\d)\s*(AM|PM)$/i,"hh:mm a":/^(0\d|1[0-2]):([0-5]\d)\s*(AM|PM)$/i},s=Lo(e,t);return((n=i[t])==null?void 0:n.test(s))??!1},Tb="_commonRippleEffect_1fjt0_57",Fb="_rippleRect_1fjt0_1",Bb="_commonErrorAnimation_1fjt0_83",Ob="_shake_1fjt0_1",Db="_commonClickedAnimation_1fjt0_87",Ub="_clickedAnimation_1fjt0_1",Hb="_commonStarAnimation_1fjt0_91",Wb="_starAnimation_1fjt0_1",qb="_timePicker_1fjt0_95",Vb="_clearButton_1fjt0_100",Kb="_clockIcon_1fjt0_112",Gb="_slideDown_1fjt0_1",Qb="_fadeIn_1fjt0_1",Rc={commonRippleEffect:Tb,rippleRect:Fb,commonErrorAnimation:Bb,shake:Ob,commonClickedAnimation:Db,clickedAnimation:Ub,commonStarAnimation:Hb,starAnimation:Wb,timePicker:qb,clearButton:Vb,clockIcon:Kb,slideDown:Gb,fadeIn:Qb},Yb=({value:e,defaultValue:t,onChange:n,format:i="HH:mm:ss",use12Hours:s=!1,placeholder:a="Select time",disabled:o=!1,clearable:l=!0,size:c="medium",className:u="",minTime:h,maxTime:f,showSecond:p=!0,hourStep:x=1,minuteStep:_=1,secondStep:y=1})=>{const[C,j]=b.useState(e||t),[d,m]=b.useState(C?Lo(C,i):""),[v,w]=b.useState(!1),g=b.useRef(null),S=b.useCallback(q=>{o||w(q)},[o]),E={hour:q=>{const O=new Date(C||new Date);return O.setHours(q),O},minute:q=>{const O=new Date(C||new Date);return O.setMinutes(q),O},second:q=>{const O=new Date(C||new Date);return O.setSeconds(q),O},ampm:q=>{const O=new Date(C||new Date),U=O.getHours(),K=q===1;return O.setHours(K?U%12+12:U%12),O}},L=b.useCallback((q,O)=>{const U=E[q](O);j(U),m(Lo(U,i)),n==null||n(U)},[C,n,i]),R=b.useCallback(q=>{m(q);const O=Pb(q,i);Mb(O,i)&&(j(O),n==null||n(O))},[i,n]),F=b.useCallback(()=>{m(C?Lo(C,i):"")},[C,i]),Y=b.useCallback(q=>{q.stopPropagation(),j(void 0),m(""),n==null||n(void 0)},[n]);return k.jsxs("div",{className:`${Rc.timePicker} ${u}`,children:[k.jsx(it,{visible:v,onVisibleChange:S,trigger:"click",placement:"bottomStart",type:"select",size:c,anchorEl:g.current,children:k.jsx(Ab,{value:C,format:i,use12Hours:s,showSecond:p,hourStep:x,minuteStep:_,secondStep:y,minTime:h,maxTime:f,onTimeChange:L,visible:v})}),k.jsx(Re,{ref:g,value:d,placeholder:a,label:"",onChange:R,onBlur:F,name:"time-picker",disabled:o,size:c,suffix:l&&C&&!o?k.jsx(Ue,{icon:k.jsx(Fd,{}),size:"small",onClick:Y,className:Rc.clearButton}):k.jsx(Ue,{icon:k.jsx(Fd,{}),size:"small",className:Rc.clockIcon})})]})},Zn=xe.memo(Yb),Jb="_commonRippleEffect_1of8j_57",Xb="_chip_1of8j_57",Zb="_clickable_1of8j_57",ew="_rippleRect_1of8j_1",tw="_commonErrorAnimation_1of8j_83",nw="_shake_1of8j_1",rw="_commonClickedAnimation_1of8j_87",iw="_clickedAnimation_1of8j_1",sw="_commonStarAnimation_1of8j_91",aw="_starAnimation_1of8j_1",ow="_small_1of8j_111",lw="_avatar_1of8j_116",cw="_icon_1of8j_122",dw="_deleteIcon_1of8j_127",uw="_medium_1of8j_132",hw="_large_1of8j_153",pw="_filled_1of8j_174",fw="_primary_1of8j_181",mw="_secondary_1of8j_188",gw="_success_1of8j_195",xw="_error_1of8j_202",vw="_warning_1of8j_209",_w="_info_1of8j_216",jw="_outlined_1of8j_223",yw="_soft_1of8j_273",bw="_disabled_1of8j_322",ww="_selected_1of8j_326",Cw="_loading_1of8j_329",kw="_loadingWrapper_1of8j_356",Sw="_slideDown_1of8j_1",Nw="_fadeIn_1of8j_1",fn={commonRippleEffect:Jb,chip:Xb,clickable:Zb,rippleRect:ew,commonErrorAnimation:tw,shake:nw,commonClickedAnimation:rw,clickedAnimation:iw,commonStarAnimation:sw,starAnimation:aw,small:ow,avatar:lw,icon:cw,deleteIcon:dw,medium:uw,large:hw,filled:pw,primary:fw,secondary:mw,success:gw,error:xw,warning:vw,info:_w,outlined:jw,soft:yw,disabled:bw,selected:ww,loading:Cw,loadingWrapper:kw,slideDown:Sw,fadeIn:Nw},P0=b.forwardRef(({label:e,variant:t="filled",color:n="default",size:i="medium",icon:s,avatar:a,onDelete:o,onClick:l,disabled:c=!1,className:u="",deleteIcon:h,clickable:f=!1,loading:p=!1,selected:x=!1},_)=>{const y=j=>{j.stopPropagation(),o==null||o(j)},C=j=>{!c&&f&&(l==null||l(j))};return k.jsxs("div",{ref:_,className:` + `,onClick:()=>u("ampm",1),children:"PM"})]})]})})},Ab=xe.memo(Rb),Lo=(e,t)=>{const n=e.getHours(),i=n%12||12,s=e.getMinutes(),a=e.getSeconds(),o=n>=12?"PM":"AM";return t.replace("HH",n.toString().padStart(2,"0")).replace("H",n.toString()).replace("hh",i.toString().padStart(2,"0")).replace("h",i.toString()).replace("mm",s.toString().padStart(2,"0")).replace("m",s.toString()).replace("ss",a.toString().padStart(2,"0")).replace("s",a.toString()).replace("a",o)},Pb=(e,t)=>{const n=new Date;let i=0,s=0,a=0,o="";const l=t.match(/(HH|H|hh|h|mm|m|ss|s|a)/g)||[],c=e.match(/(\d+|\s*[AaPp][Mm])/g)||[];return l.forEach((u,h)=>{const f=c[h];switch(u){case"HH":case"H":i=parseInt(f);break;case"hh":case"h":i=parseInt(f);break;case"mm":case"m":s=parseInt(f);break;case"ss":case"s":a=parseInt(f);break;case"a":o=f.toUpperCase();break}}),o==="PM"&&i<12?i+=12:o==="AM"&&i===12&&(i=0),n.setHours(i),n.setMinutes(s),n.setSeconds(a),n},Mb=(e,t)=>{var n;const i={"HH:mm:ss":/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/,"HH:mm":/^([01]\d|2[0-3]):([0-5]\d)$/,"hh:mm:ss a":/^(0\d|1[0-2]):([0-5]\d):([0-5]\d)\s*(AM|PM)$/i,"hh:mm a":/^(0\d|1[0-2]):([0-5]\d)\s*(AM|PM)$/i},s=Lo(e,t);return((n=i[t])==null?void 0:n.test(s))??!1},Tb="_commonRippleEffect_1fjt0_57",Fb="_rippleRect_1fjt0_1",Bb="_commonErrorAnimation_1fjt0_83",Ob="_shake_1fjt0_1",Db="_commonClickedAnimation_1fjt0_87",Ub="_clickedAnimation_1fjt0_1",Hb="_commonStarAnimation_1fjt0_91",Wb="_starAnimation_1fjt0_1",qb="_timePicker_1fjt0_95",Vb="_clearButton_1fjt0_100",Kb="_clockIcon_1fjt0_112",Gb="_slideDown_1fjt0_1",Qb="_fadeIn_1fjt0_1",Rc={commonRippleEffect:Tb,rippleRect:Fb,commonErrorAnimation:Bb,shake:Ob,commonClickedAnimation:Db,clickedAnimation:Ub,commonStarAnimation:Hb,starAnimation:Wb,timePicker:qb,clearButton:Vb,clockIcon:Kb,slideDown:Gb,fadeIn:Qb},Yb=({value:e,defaultValue:t,onChange:n,format:i="HH:mm:ss",use12Hours:s=!1,placeholder:a="Select time",disabled:o=!1,clearable:l=!0,size:c="medium",className:u="",minTime:h,maxTime:f,showSecond:p=!0,hourStep:x=1,minuteStep:j=1,secondStep:y=1})=>{const[C,_]=b.useState(e||t),[d,m]=b.useState(C?Lo(C,i):""),[v,w]=b.useState(!1),g=b.useRef(null),S=b.useCallback(q=>{o||w(q)},[o]),E={hour:q=>{const O=new Date(C||new Date);return O.setHours(q),O},minute:q=>{const O=new Date(C||new Date);return O.setMinutes(q),O},second:q=>{const O=new Date(C||new Date);return O.setSeconds(q),O},ampm:q=>{const O=new Date(C||new Date),U=O.getHours(),K=q===1;return O.setHours(K?U%12+12:U%12),O}},L=b.useCallback((q,O)=>{const U=E[q](O);_(U),m(Lo(U,i)),n==null||n(U)},[C,n,i]),R=b.useCallback(q=>{m(q);const O=Pb(q,i);Mb(O,i)&&(_(O),n==null||n(O))},[i,n]),F=b.useCallback(()=>{m(C?Lo(C,i):"")},[C,i]),Y=b.useCallback(q=>{q.stopPropagation(),_(void 0),m(""),n==null||n(void 0)},[n]);return k.jsxs("div",{className:`${Rc.timePicker} ${u}`,children:[k.jsx(it,{visible:v,onVisibleChange:S,trigger:"click",placement:"bottomStart",type:"select",size:c,anchorEl:g.current,children:k.jsx(Ab,{value:C,format:i,use12Hours:s,showSecond:p,hourStep:x,minuteStep:j,secondStep:y,minTime:h,maxTime:f,onTimeChange:L,visible:v})}),k.jsx(Re,{ref:g,value:d,placeholder:a,label:"",onChange:R,onBlur:F,name:"time-picker",disabled:o,size:c,suffix:l&&C&&!o?k.jsx(Ue,{icon:k.jsx(Fd,{}),size:"small",onClick:Y,className:Rc.clearButton}):k.jsx(Ue,{icon:k.jsx(Fd,{}),size:"small",className:Rc.clockIcon})})]})},Zn=xe.memo(Yb),Jb="_commonRippleEffect_1of8j_57",Xb="_chip_1of8j_57",Zb="_clickable_1of8j_57",ew="_rippleRect_1of8j_1",tw="_commonErrorAnimation_1of8j_83",nw="_shake_1of8j_1",rw="_commonClickedAnimation_1of8j_87",iw="_clickedAnimation_1of8j_1",sw="_commonStarAnimation_1of8j_91",aw="_starAnimation_1of8j_1",ow="_small_1of8j_111",lw="_avatar_1of8j_116",cw="_icon_1of8j_122",dw="_deleteIcon_1of8j_127",uw="_medium_1of8j_132",hw="_large_1of8j_153",pw="_filled_1of8j_174",fw="_primary_1of8j_181",mw="_secondary_1of8j_188",gw="_success_1of8j_195",xw="_error_1of8j_202",vw="_warning_1of8j_209",_w="_info_1of8j_216",jw="_outlined_1of8j_223",yw="_soft_1of8j_273",bw="_disabled_1of8j_322",ww="_selected_1of8j_326",Cw="_loading_1of8j_329",kw="_loadingWrapper_1of8j_356",Sw="_slideDown_1of8j_1",Nw="_fadeIn_1of8j_1",fn={commonRippleEffect:Jb,chip:Xb,clickable:Zb,rippleRect:ew,commonErrorAnimation:tw,shake:nw,commonClickedAnimation:rw,clickedAnimation:iw,commonStarAnimation:sw,starAnimation:aw,small:ow,avatar:lw,icon:cw,deleteIcon:dw,medium:uw,large:hw,filled:pw,primary:fw,secondary:mw,success:gw,error:xw,warning:vw,info:_w,outlined:jw,soft:yw,disabled:bw,selected:ww,loading:Cw,loadingWrapper:kw,slideDown:Sw,fadeIn:Nw},P0=b.forwardRef(({label:e,variant:t="filled",color:n="default",size:i="medium",icon:s,avatar:a,onDelete:o,onClick:l,disabled:c=!1,className:u="",deleteIcon:h,clickable:f=!1,loading:p=!1,selected:x=!1},j)=>{const y=_=>{_.stopPropagation(),o==null||o(_)},C=_=>{!c&&f&&(l==null||l(_))};return k.jsxs("div",{ref:j,className:` ${fn.chip} ${fn[t]} ${fn[n]} @@ -275,27 +275,27 @@ function App() { ${x?fn.selected:""} ${p?fn.loading:""} ${u} - `,onClick:C,role:f?"button":void 0,tabIndex:f&&!c?0:void 0,children:[p?k.jsxs("div",{className:fn.loadingWrapper,children:[k.jsx(Nn,{width:"auto",type:"spinner",size:"small"}),k.jsx("span",{children:e})]}):k.jsxs(k.Fragment,{children:[s&&k.jsx("span",{className:fn.icon,children:s}),a&&k.jsx("span",{className:fn.avatar,children:a}),k.jsx("span",{className:fn.label,children:e})]}),o&&!c&&!p&&k.jsx("span",{className:fn.deleteIcon,onClick:y,children:h||k.jsx(Vu,{size:16})})]})});P0.displayName="Chip";const Te=xe.memo(P0),$w="_commonRippleEffect_19fqc_57",Ew="_rippleRect_19fqc_1",zw="_commonErrorAnimation_19fqc_83",Lw="_shake_19fqc_1",Iw="_commonClickedAnimation_19fqc_87",Rw="_clickedAnimation_19fqc_1",Aw="_commonStarAnimation_19fqc_91",Pw="_starAnimation_19fqc_1",Mw="_radioWrapper_19fqc_95",Tw="_error_19fqc_101",Fw="_radio_19fqc_95",Bw="_input_19fqc_113",Ow="_radioMark_19fqc_122",Dw="_disabled_19fqc_155",Uw="_labelStart_19fqc_163",Hw="_labelTop_19fqc_166",Ww="_labelBottom_19fqc_170",qw="_primary_19fqc_174",Vw="_success_19fqc_177",Kw="_warning_19fqc_180",Gw="_circle_19fqc_186",Qw="_square_19fqc_192",Yw="_rounded_19fqc_198",Jw="_small_19fqc_204",Xw="_label_19fqc_163",Zw="_medium_19fqc_215",eC="_large_19fqc_226",tC="_radioGroup_19fqc_323",nC="_vertical_19fqc_330",rC="_horizontal_19fqc_333",iC="_helperTextWrapper_19fqc_339",sC="_helperText_19fqc_339",aC="_errorText_19fqc_352",oC="_errorIcon_19fqc_356",lC="_radioGroupWrapper_19fqc_401",cC="_slideDown_19fqc_1",dC="_fadeIn_19fqc_1",Nt={commonRippleEffect:$w,rippleRect:Ew,commonErrorAnimation:zw,shake:Lw,commonClickedAnimation:Iw,clickedAnimation:Rw,commonStarAnimation:Aw,starAnimation:Pw,radioWrapper:Mw,error:Tw,radio:Fw,input:Bw,radioMark:Ow,disabled:Dw,labelStart:Uw,labelTop:Hw,labelBottom:Ww,primary:qw,success:Vw,warning:Kw,circle:Gw,square:Qw,rounded:Yw,small:Jw,label:Xw,medium:Zw,large:eC,radioGroup:tC,vertical:nC,horizontal:rC,helperTextWrapper:iC,helperText:sC,errorText:aC,errorIcon:oC,radioGroupWrapper:lC,slideDown:cC,fadeIn:dC},M0=b.createContext(null),T0=b.forwardRef(({value:e,defaultValue:t,name:n,onChange:i,disabled:s=!1,children:a,className:o="",direction:l="vertical",size:c="medium",error:u=!1,helperText:h,required:f=!1,color:p="#1976d2"},x)=>{const[_,y]=b.useState(t),C=(j,d)=>{s||(i?i(j,d):y(j))};return k.jsxs("div",{ref:x,className:` + `,onClick:C,role:f?"button":void 0,tabIndex:f&&!c?0:void 0,children:[p?k.jsxs("div",{className:fn.loadingWrapper,children:[k.jsx(Nn,{width:"auto",type:"spinner",size:"small"}),k.jsx("span",{children:e})]}):k.jsxs(k.Fragment,{children:[s&&k.jsx("span",{className:fn.icon,children:s}),a&&k.jsx("span",{className:fn.avatar,children:a}),k.jsx("span",{className:fn.label,children:e})]}),o&&!c&&!p&&k.jsx("span",{className:fn.deleteIcon,onClick:y,children:h||k.jsx(Vu,{size:16})})]})});P0.displayName="Chip";const Te=xe.memo(P0),$w="_commonRippleEffect_19fqc_57",Ew="_rippleRect_19fqc_1",zw="_commonErrorAnimation_19fqc_83",Lw="_shake_19fqc_1",Iw="_commonClickedAnimation_19fqc_87",Rw="_clickedAnimation_19fqc_1",Aw="_commonStarAnimation_19fqc_91",Pw="_starAnimation_19fqc_1",Mw="_radioWrapper_19fqc_95",Tw="_error_19fqc_101",Fw="_radio_19fqc_95",Bw="_input_19fqc_113",Ow="_radioMark_19fqc_122",Dw="_disabled_19fqc_155",Uw="_labelStart_19fqc_163",Hw="_labelTop_19fqc_166",Ww="_labelBottom_19fqc_170",qw="_primary_19fqc_174",Vw="_success_19fqc_177",Kw="_warning_19fqc_180",Gw="_circle_19fqc_186",Qw="_square_19fqc_192",Yw="_rounded_19fqc_198",Jw="_small_19fqc_204",Xw="_label_19fqc_163",Zw="_medium_19fqc_215",eC="_large_19fqc_226",tC="_radioGroup_19fqc_323",nC="_vertical_19fqc_330",rC="_horizontal_19fqc_333",iC="_helperTextWrapper_19fqc_339",sC="_helperText_19fqc_339",aC="_errorText_19fqc_352",oC="_errorIcon_19fqc_356",lC="_radioGroupWrapper_19fqc_401",cC="_slideDown_19fqc_1",dC="_fadeIn_19fqc_1",Nt={commonRippleEffect:$w,rippleRect:Ew,commonErrorAnimation:zw,shake:Lw,commonClickedAnimation:Iw,clickedAnimation:Rw,commonStarAnimation:Aw,starAnimation:Pw,radioWrapper:Mw,error:Tw,radio:Fw,input:Bw,radioMark:Ow,disabled:Dw,labelStart:Uw,labelTop:Hw,labelBottom:Ww,primary:qw,success:Vw,warning:Kw,circle:Gw,square:Qw,rounded:Yw,small:Jw,label:Xw,medium:Zw,large:eC,radioGroup:tC,vertical:nC,horizontal:rC,helperTextWrapper:iC,helperText:sC,errorText:aC,errorIcon:oC,radioGroupWrapper:lC,slideDown:cC,fadeIn:dC},M0=b.createContext(null),T0=b.forwardRef(({value:e,defaultValue:t,name:n,onChange:i,disabled:s=!1,children:a,className:o="",direction:l="vertical",size:c="medium",error:u=!1,helperText:h,required:f=!1,color:p="#1976d2"},x)=>{const[j,y]=b.useState(t),C=(_,d)=>{s||(i?i(_,d):y(_))};return k.jsxs("div",{ref:x,className:` ${Nt.radioGroupWrapper} ${u?Nt.error:""} ${o} - `,children:[k.jsx(M0.Provider,{value:{value:e??_,onChange:C,disabled:s,name:n,size:c,color:p},children:k.jsx("div",{className:`${Nt.radioGroup} ${Nt[l]}`,role:"radiogroup","aria-required":f,"aria-invalid":u,children:a})}),h&&k.jsx("div",{className:`${Nt.helperText} ${u?Nt.errorText:""}`,children:h})]})});T0.displayName="RadioGroup";const Us=xe.memo(T0),F0=b.forwardRef(({checked:e,defaultChecked:t,disabled:n=!1,name:i,value:s,onChange:a,size:o="medium",type:l="default",label:c,className:u="",color:h,bgColor:f,required:p=!1,error:x=!1,errorIcon:_=k.jsx(L0,{}),errorMessage:y,helperText:C},j)=>{const d=b.useContext(M0),m=L=>{var R;n||(d?(R=d.onChange)==null||R.call(d,s,L):a==null||a(L.target.checked,L))},v=d?d.value===s:e??t,w=d&&d.disabled||n,g=d?d.name:i,S=d&&d.size||o,E=d&&d.color||h;return k.jsxs("div",{className:` + `,children:[k.jsx(M0.Provider,{value:{value:e??j,onChange:C,disabled:s,name:n,size:c,color:p},children:k.jsx("div",{className:`${Nt.radioGroup} ${Nt[l]}`,role:"radiogroup","aria-required":f,"aria-invalid":u,children:a})}),h&&k.jsx("div",{className:`${Nt.helperText} ${u?Nt.errorText:""}`,children:h})]})});T0.displayName="RadioGroup";const Us=xe.memo(T0),F0=b.forwardRef(({checked:e,defaultChecked:t,disabled:n=!1,name:i,value:s,onChange:a,size:o="medium",type:l="default",label:c,className:u="",color:h,bgColor:f,required:p=!1,error:x=!1,errorIcon:j=k.jsx(L0,{}),errorMessage:y,helperText:C},_)=>{const d=b.useContext(M0),m=L=>{var R;n||(d?(R=d.onChange)==null||R.call(d,s,L):a==null||a(L.target.checked,L))},v=d?d.value===s:e??t,w=d&&d.disabled||n,g=d?d.name:i,S=d&&d.size||o,E=d&&d.color||h;return k.jsxs("div",{className:` ${Nt.radioWrapper} ${Nt[S]} ${Nt[l]} ${x?Nt.error:""} ${u} - `,children:[k.jsxs("label",{className:`${Nt.radio} ${w?Nt.disabled:""}`,children:[k.jsx("input",{type:"radio",ref:j,name:g,value:s,checked:v,disabled:w,onChange:m,required:p,className:Nt.input}),k.jsx("span",{className:Nt.radioMark,style:{backgroundColor:f,color:E}}),c&&k.jsx("span",{className:Nt.label,children:c})]}),(y||C)&&k.jsxs("div",{className:Nt.helperTextWrapper,children:[x&&y&&k.jsx("span",{className:Nt.errorIcon,children:_}),k.jsx("span",{className:`${Nt.helperText} ${x?Nt.errorText:""}`,children:x?y:C})]})]})});F0.displayName="Radio";const pt=xe.memo(F0),uC="_virtualList_1yzgi_1",hC="_virtualListContent_1yzgi_13",pC="_virtualListItem_1yzgi_16",fC="_loadingWrapper_1yzgi_23",Hs={virtualList:uC,virtualListContent:hC,virtualListItem:pC,loadingWrapper:fC},mC=({items:e,itemHeight:t,maxHeight:n,overscan:i=5,renderItem:s,className:a="",style:o,onLoadMore:l,loadMoreThreshold:c=100,highPerformance:u=!1,loading:h=!1,itemPadding:f=8})=>{const p=b.useRef(null),[x,_]=b.useState(0),[y,C]=b.useState(0),j=b.useRef(0),d=b.useRef(!1),m=b.useRef(),v=b.useRef(),w=b.useRef(),[g,S]=b.useState(0),E=b.useRef(null),L=b.useRef(!1);b.useEffect(()=>{if(t||L.current)return;const U=()=>{if(E.current){const J=E.current.offsetHeight;J>0&&(S(J+f*2),L.current=!0)}};U();const K=new ResizeObserver(()=>{L.current||U()});return E.current&&K.observe(E.current),()=>{K.disconnect()}},[t]);const R=t||g,F=b.useMemo(()=>{if(!R)return{start:0,end:1,visibleCount:1};const U=Math.max(0,Math.floor(x/R)-i),K=Math.ceil(y/R)+2*i,J=Math.min(e.length,U+K);return{start:U,end:J,visibleCount:K}},[x,y,R,i,e.length]),Y=b.useCallback(U=>{u?(v.current&&cancelAnimationFrame(v.current),v.current=requestAnimationFrame(()=>{"requestIdleCallback"in window?w.current=requestIdleCallback(()=>{U()},{timeout:100}):U()})):U()},[u]),q=b.useMemo(()=>{const U=[];for(let K=F.start;K{if(!p.current)return;const{scrollTop:U,scrollHeight:K,clientHeight:J}=p.current,I=U>j.current;j.current=U,Y(()=>{_(U),I&&l&&!d.current&&!h&&K-U-JJ&&(d.current=!0,l().finally(()=>{d.current=!1}))})},[l,h,c,Y]);return b.useEffect(()=>{const U=p.current;if(!U)return;const K=new ResizeObserver(J=>{for(const I of J)C(I.contentRect.height)});return K.observe(U),C(U.clientHeight),()=>{K.disconnect()}},[]),b.useEffect(()=>()=>{m.current&&clearTimeout(m.current),v.current&&cancelAnimationFrame(v.current),w.current&&"cancelIdleCallback"in window&&cancelIdleCallback(w.current)},[]),k.jsxs("div",{ref:p,className:`${Hs.virtualList} ${a}`,style:{...o,maxHeight:n,overflow:"auto",position:"relative"},onScroll:O,children:[!t&&!L.current&&e.length>0&&k.jsx("div",{ref:E,className:Hs.measureItem,"aria-hidden":"true",children:s(e[0],0)}),k.jsx("div",{style:{height:R?e.length*R:"auto",position:"relative",willChange:"transform"},className:Hs.virtualListContent,children:R>0&&q.map(U=>k.jsx("div",{style:{position:"absolute",top:0,transform:`translateY(${U.start}px)`,width:"100%",height:R,willChange:"transform",padding:f,cursor:"pointer"},className:Hs.virtualListItem,children:s(e[U.index],U.index)},e[U.index].id))}),h&&k.jsx("div",{className:Hs.loadingWrapper,children:k.jsx(Nn,{type:"wave",size:"small"})})]})},Zs=xe.memo(mC);function gC(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm108.25 138.29-134.4 160a16 16 0 0 1-12 5.71h-.27a16 16 0 0 1-11.89-5.3l-57.6-64a16 16 0 1 1 23.78-21.4l45.29 50.32 122.59-145.91a16 16 0 0 1 24.5 20.58z"},child:[]}]})(e)}function B0(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 184 144 144 144-144"},child:[]}]})(e)}function xC(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m184 112 144 144-144 144"},child:[]}]})(e)}function vC(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 328 144-144 144 144"},child:[]}]})(e)}function _C(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 1 1-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 0 1-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0 1 22.62-22.62L256 233.37l52.69-52.68a16 16 0 0 1 22.62 22.62L278.63 256z"},child:[]}]})(e)}function Da(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"},child:[]}]})(e)}function jC(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 56C145.72 56 56 145.72 56 256s89.72 200 200 200 200-89.72 200-200S366.28 56 256 56zm0 82a26 26 0 1 1-26 26 26 26 0 0 1 26-26zm48 226h-88a16 16 0 0 1 0-32h28v-88h-16a16 16 0 0 1 0-32h32a16 16 0 0 1 16 16v104h28a16 16 0 0 1 0 32z"},child:[]}]})(e)}function yC(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M449.07 399.08 278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0 0 80 446.25h340.89a32 32 0 0 0 28.18-47.17zm-198.6-1.83a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm21.72-201.15-5.74 122a16 16 0 0 1-32 0l-5.74-121.95a21.73 21.73 0 0 1 21.5-22.69h.21a21.74 21.74 0 0 1 21.73 22.7z"},child:[]}]})(e)}function bC(e){return Ie({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM7.41604 14H4V19H20V14H16.584C15.8124 15.7659 14.0503 17 12 17C9.94968 17 8.1876 15.7659 7.41604 14ZM20 5H4V12H9C9 13.6569 10.3431 15 12 15C13.6569 15 15 13.6569 15 12H20V5Z"},child:[]}]})(e)}const wC="_commonRippleEffect_4x36w_57",CC="_empty_4x36w_57",kC="_rippleRect_4x36w_1",SC="_commonErrorAnimation_4x36w_83",NC="_shake_4x36w_1",$C="_commonClickedAnimation_4x36w_87",EC="_clickedAnimation_4x36w_1",zC="_commonStarAnimation_4x36w_91",LC="_starAnimation_4x36w_1",IC="_showShadow_4x36w_95",RC="_iconWrapper_4x36w_113",AC="_description_4x36w_122",PC="_footer_4x36w_129",MC="_defaultIcon_4x36w_133",TC="_svgFill_4x36w_140",FC="_svgStroke_4x36w_144",BC="_svgPath_4x36w_152",OC="_slideDown_4x36w_1",DC="_fadeIn_4x36w_1",di={commonRippleEffect:wC,empty:CC,rippleRect:kC,commonErrorAnimation:SC,shake:NC,commonClickedAnimation:$C,clickedAnimation:EC,commonStarAnimation:zC,starAnimation:LC,showShadow:IC,iconWrapper:RC,description:AC,footer:PC,defaultIcon:MC,svgFill:TC,svgStroke:FC,svgPath:BC,slideDown:OC,fadeIn:DC},UC=({icon:e,description:t="No Data",className:n,style:i,children:s,useSvg:a=!1,width:o,height:l,backgroundColor:c,showShadow:u,color:h})=>{const f=()=>k.jsx(bC,{size:40,className:di.defaultIcon}),p=()=>k.jsx("svg",{className:di.defaultIcon,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg",children:k.jsxs("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd",children:[k.jsx("ellipse",{fill:"#f5f5f5",cx:"32",cy:"33",rx:"32",ry:"7"}),k.jsxs("g",{fillRule:"nonzero",stroke:"#d9d9d9",children:[k.jsx("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),k.jsx("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:"#fafafa"})]})]})});return k.jsxs("div",{className:`${di.empty} ${u?di.showShadow:""} ${n||""}`,style:{width:o,height:l,backgroundColor:c,color:h,...i},role:"status","aria-label":t==null?void 0:t.toString(),children:[k.jsx("div",{className:di.iconWrapper,children:e||(a?k.jsx(p,{}):k.jsx(f,{}))}),t&&k.jsx("div",{className:di.description,children:t}),s&&k.jsx("div",{className:di.footer,children:s})]})},xt=xe.memo(UC),HC="_commonRippleEffect_k9jwi_57",WC="_rippleRect_k9jwi_1",qC="_commonErrorAnimation_k9jwi_83",VC="_shake_k9jwi_1",KC="_commonClickedAnimation_k9jwi_87",GC="_clickedAnimation_k9jwi_1",QC="_commonStarAnimation_k9jwi_91",YC="_starAnimation_k9jwi_1",JC="_autoComplete_k9jwi_95",XC="_dropdown_k9jwi_99",ZC="_optionList_k9jwi_117",ek="_optionItem_k9jwi_122",tk="_disabled_k9jwi_130",nk="_highlight_k9jwi_134",rk="_basicOption_k9jwi_137",ik="_icon_k9jwi_142",sk="_content_k9jwi_147",ak="_label_k9jwi_150",ok="_description_k9jwi_154",lk="_groupLabel_k9jwi_159",ck="_tags_k9jwi_165",dk="_tag_k9jwi_165",uk="_tagClose_k9jwi_179",hk="_more_k9jwi_188",pk="_loading_k9jwi_192",fk="_empty_k9jwi_193",mk="_slideDown_k9jwi_1",gk="_fadeIn_k9jwi_1",xk="_slideIn_k9jwi_1",ft={commonRippleEffect:HC,rippleRect:WC,commonErrorAnimation:qC,shake:VC,commonClickedAnimation:KC,clickedAnimation:GC,commonStarAnimation:QC,starAnimation:YC,autoComplete:JC,dropdown:XC,optionList:ZC,optionItem:ek,disabled:tk,highlight:nk,basicOption:rk,icon:ik,content:sk,label:ak,description:ok,groupLabel:lk,tags:ck,tag:dk,tagClose:uk,more:hk,loading:pk,empty:fk,slideDown:mk,fadeIn:gk,slideIn:xk},Hi=({name:e,label:t,mode:n="basic",value:i,onChange:s,options:a=[],defaultValue:o="",onSelect:l,filterOption:c,groupBy:u,multiple:h=!1,maxTagCount:f,renderOption:p,renderEmpty:x,loading:_=!1,textFieldProps:y,emptyProps:C,placement:j="bottom",offset:d={x:0,y:4},dropdownBgColor:m,highlightBgColor:v,hoverBgColor:w,animation:g=!0,sortOption:S,onOptionClick:E,onDropdownVisibleChange:L,popperProps:R})=>{const[F,Y]=b.useState(!1),[q,O]=b.useState(o),[U,K]=b.useState([]),[J,I]=b.useState(-1),[B,V]=b.useState(-1),se=b.useRef(null),ne=b.useRef(null),nt=b.useMemo(()=>{const Z=i!==void 0?i:q;return a.filter(_e=>c?c(Z,_e):_e.label.toLowerCase().includes(Z.toLowerCase()))},[a,i,q,c]),G=b.useMemo(()=>{let Z=nt;return S&&(Z=[...Z].sort(S)),Z},[nt,S]),le=Z=>k.jsxs("div",{className:ft.basicOption,children:[Z.icon&&k.jsx("span",{className:ft.icon,children:Z.icon}),k.jsxs("div",{className:ft.content,children:[k.jsx("div",{className:ft.label,children:Z.label}),Z.description&&k.jsx("div",{className:ft.description,children:Z.description})]})]}),ke={ArrowDown:Z=>{Z.preventDefault(),I(_e=>_e{Z.preventDefault(),I(_e=>_e>0?_e-1:G.length-1)},Enter:()=>{J>=0&&yt(G[J])},Escape:()=>Y(!1)},qe=Z=>{const _e=ke[Z.key];_e==null||_e(Z)},At=Z=>{O(Z),s==null||s(Z),open||Y(!0)},yt=Z=>{if(!Z.disabled){if(h){const _e=U.some(Je=>Je.value===Z.value)?U.filter(Je=>Je.value!==Z.value):[...U,Z];K(_e),O(""),s==null||s("")}else O(Z.label),s==null||s(Z.label),Y(!1);l==null||l(Z)}},Pt=()=>{if(!h||U.length===0)return null;const Z=f&&U.length>f?U.slice(0,f):U;return k.jsxs("div",{className:ft.tags,children:[Z.map(_e=>k.jsxs("span",{className:ft.tag,children:[_e.label,k.jsx("button",{type:"button",className:ft.tagClose,onClick:Je=>{Je.stopPropagation(),yt(_e)},children:k.jsx(Da,{})})]},_e.value)),f&&U.length>f&&k.jsxs("span",{className:ft.more,children:["+",U.length-f]})]})},zt=Z=>{Z.disabled||(yt(Z),E==null||E(Z))},Oe=Z=>{V(Z)};return b.useEffect(()=>{L==null||L(F)},[F]),k.jsxs("div",{ref:ne,className:ft.autoComplete,children:[Pt(),k.jsx(Re,{...y,label:t,name:e,ref:se,value:i!==void 0?i:q,onChange:At,onFocus:()=>Y(!0),onBlur:()=>setTimeout(()=>Y(!1),200),onKeyDown:qe}),F&&k.jsx(it,{anchorEl:ne.current,visible:F,placement:j,offset:d,...R,children:k.jsx("div",{className:ft.dropdown,style:{backgroundColor:m,animation:g?"slideIn 0.2s ease-out":"none","--hover-bg-color":w,"--highlight-bg-color":v},children:_?k.jsx("div",{className:ft.loading,children:k.jsx(Nn,{})}):G.length>0?k.jsx("div",{className:ft.optionList,children:u?Object.entries(G.reduce((Z,_e)=>{const Je=u(_e);return Z[Je]||(Z[Je]=[]),Z[Je].push(_e),Z},{})).map(([Z,_e])=>k.jsxs("div",{className:ft.optionGroup,children:[k.jsx("div",{className:ft.groupLabel,children:Z}),_e.map(Je=>k.jsx("div",{className:`${ft.optionItem} ${Je.disabled?ft.disabled:""} ${Je.highlight?ft.highlight:""}`,style:{backgroundColor:B===Je.value?w||"#f5f5f5":Je.highlight?v||"#e3f2fd":"transparent"},onClick:()=>zt(Je),onMouseEnter:()=>Oe(Number(Je.value)),onMouseLeave:()=>Oe(-1),children:n==="basic"?le(Je):p?p(Je):le(Je)},Je.value))]},Z)):G.map((Z,_e)=>k.jsx("div",{className:`${ft.optionItem} ${Z.disabled?ft.disabled:""} ${Z.highlight?ft.highlight:""}`,style:{backgroundColor:B===_e?w||"#f5f5f5":Z.highlight?v||"#e3f2fd":"transparent"},onClick:()=>zt(Z),onMouseEnter:()=>Oe(_e),onMouseLeave:()=>Oe(-1),children:n==="basic"?le(Z):p?p(Z):le(Z)},Z.value))}):k.jsx("div",{className:ft.empty,children:(x==null?void 0:x())||k.jsx(xt,{...C})})})})]})},vk="_commonRippleEffect_r1h8y_57",_k="_rippleRect_r1h8y_1",jk="_commonErrorAnimation_r1h8y_83",yk="_shake_r1h8y_1",bk="_commonClickedAnimation_r1h8y_87",wk="_clickedAnimation_r1h8y_1",Ck="_commonStarAnimation_r1h8y_91",kk="_starAnimation_r1h8y_1",Sk="_cascader_r1h8y_95",Nk="_selector_r1h8y_100",$k="_focused_r1h8y_114",Ek="_disabled_r1h8y_118",zk="_input_r1h8y_123",Lk="_clearIcon_r1h8y_144",Ik="_icon_r1h8y_160",Rk="_arrow_r1h8y_164",Ak="_open_r1h8y_174",Pk="_dropdown_r1h8y_178",Mk="_panel_r1h8y_189",Tk="_column_r1h8y_197",Fk="_option_r1h8y_221",Bk="_active_r1h8y_237",Ok="_label_r1h8y_247",Dk="_expandIcon_r1h8y_254",Uk="_loading_r1h8y_259",Hk="_rotating_r1h8y_1",Wk="_searchResults_r1h8y_263",qk="_searchOption_r1h8y_269",Vk="_empty_r1h8y_281",Kk="_slideDown_r1h8y_1",Gk="_fadeIn_r1h8y_1",st={commonRippleEffect:vk,rippleRect:_k,commonErrorAnimation:jk,shake:yk,commonClickedAnimation:bk,clickedAnimation:wk,commonStarAnimation:Ck,starAnimation:kk,cascader:Sk,selector:Nk,focused:$k,disabled:Ek,input:zk,clearIcon:Lk,icon:Ik,arrow:Rk,open:Ak,dropdown:Pk,panel:Mk,column:Tk,option:Fk,active:Bk,label:Ok,expandIcon:Dk,loading:Uk,rotating:Hk,searchResults:Wk,searchOption:qk,empty:Vk,slideDown:Kk,fadeIn:Gk},Qk=({options:e=[],activePath:t=[],expandTrigger:n="click",maxLevel:i=6,onLevelSelect:s,optionRender:a,optionStyle:o})=>{const[l,c]=b.useState(()=>{var x;const _=[e];for(let y=0;yd.value===C.value);(x=j==null?void 0:j.children)!=null&&x.length&&_.push(j.children)}return _});b.useEffect(()=>{var x;const _=[e];for(let y=0;yd.value===C.value);(x=j==null?void 0:j.children)!=null&&x.length&&_.push(j.children)}c(_)},[t,e,i]);const[u,h]=b.useState(null),f=(x,_)=>{var y;x.disabled||(s==null||s(x,_),(y=x.children)!=null&&y.length&&_{const j=[...C.slice(0,_+1)];return j.push(x.children),j}))},p=(x,_)=>{var y;if(!x.disabled&&(h({option:x,level:_}),n==="hover"&&(y=x.children)!=null&&y.length&&_k.jsx("ul",{className:st.column,children:x.map(y=>{var C;const j=((C=t[_])==null?void 0:C.value)===y.value,d=(u==null?void 0:u.option.value)===y.value&&u.level===_,m=y.children&&y.children.length>0;return k.jsx("li",{className:` + `,children:[k.jsxs("label",{className:`${Nt.radio} ${w?Nt.disabled:""}`,children:[k.jsx("input",{type:"radio",ref:_,name:g,value:s,checked:v,disabled:w,onChange:m,required:p,className:Nt.input}),k.jsx("span",{className:Nt.radioMark,style:{backgroundColor:f,color:E}}),c&&k.jsx("span",{className:Nt.label,children:c})]}),(y||C)&&k.jsxs("div",{className:Nt.helperTextWrapper,children:[x&&y&&k.jsx("span",{className:Nt.errorIcon,children:j}),k.jsx("span",{className:`${Nt.helperText} ${x?Nt.errorText:""}`,children:x?y:C})]})]})});F0.displayName="Radio";const pt=xe.memo(F0),uC="_virtualList_1yzgi_1",hC="_virtualListContent_1yzgi_13",pC="_virtualListItem_1yzgi_16",fC="_loadingWrapper_1yzgi_23",Hs={virtualList:uC,virtualListContent:hC,virtualListItem:pC,loadingWrapper:fC},mC=({items:e,itemHeight:t,maxHeight:n,overscan:i=5,renderItem:s,className:a="",style:o,onLoadMore:l,loadMoreThreshold:c=100,highPerformance:u=!1,loading:h=!1,itemPadding:f=8})=>{const p=b.useRef(null),[x,j]=b.useState(0),[y,C]=b.useState(0),_=b.useRef(0),d=b.useRef(!1),m=b.useRef(),v=b.useRef(),w=b.useRef(),[g,S]=b.useState(0),E=b.useRef(null),L=b.useRef(!1);b.useEffect(()=>{if(t||L.current)return;const U=()=>{if(E.current){const J=E.current.offsetHeight;J>0&&(S(J+f*2),L.current=!0)}};U();const K=new ResizeObserver(()=>{L.current||U()});return E.current&&K.observe(E.current),()=>{K.disconnect()}},[t]);const R=t||g,F=b.useMemo(()=>{if(!R)return{start:0,end:1,visibleCount:1};const U=Math.max(0,Math.floor(x/R)-i),K=Math.ceil(y/R)+2*i,J=Math.min(e.length,U+K);return{start:U,end:J,visibleCount:K}},[x,y,R,i,e.length]),Y=b.useCallback(U=>{u?(v.current&&cancelAnimationFrame(v.current),v.current=requestAnimationFrame(()=>{"requestIdleCallback"in window?w.current=requestIdleCallback(()=>{U()},{timeout:100}):U()})):U()},[u]),q=b.useMemo(()=>{const U=[];for(let K=F.start;K{if(!p.current)return;const{scrollTop:U,scrollHeight:K,clientHeight:J}=p.current,I=U>_.current;_.current=U,Y(()=>{j(U),I&&l&&!d.current&&!h&&K-U-JJ&&(d.current=!0,l().finally(()=>{d.current=!1}))})},[l,h,c,Y]);return b.useEffect(()=>{const U=p.current;if(!U)return;const K=new ResizeObserver(J=>{for(const I of J)C(I.contentRect.height)});return K.observe(U),C(U.clientHeight),()=>{K.disconnect()}},[]),b.useEffect(()=>()=>{m.current&&clearTimeout(m.current),v.current&&cancelAnimationFrame(v.current),w.current&&"cancelIdleCallback"in window&&cancelIdleCallback(w.current)},[]),k.jsxs("div",{ref:p,className:`${Hs.virtualList} ${a}`,style:{...o,maxHeight:n,overflow:"auto",position:"relative"},onScroll:O,children:[!t&&!L.current&&e.length>0&&k.jsx("div",{ref:E,className:Hs.measureItem,"aria-hidden":"true",children:s(e[0],0)}),k.jsx("div",{style:{height:R?e.length*R:"auto",position:"relative",willChange:"transform"},className:Hs.virtualListContent,children:R>0&&q.map(U=>k.jsx("div",{style:{position:"absolute",top:0,transform:`translateY(${U.start}px)`,width:"100%",height:R,willChange:"transform",padding:f,cursor:"pointer"},className:Hs.virtualListItem,children:s(e[U.index],U.index)},e[U.index].id))}),h&&k.jsx("div",{className:Hs.loadingWrapper,children:k.jsx(Nn,{type:"wave",size:"small"})})]})},Zs=xe.memo(mC);function gC(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm108.25 138.29-134.4 160a16 16 0 0 1-12 5.71h-.27a16 16 0 0 1-11.89-5.3l-57.6-64a16 16 0 1 1 23.78-21.4l45.29 50.32 122.59-145.91a16 16 0 0 1 24.5 20.58z"},child:[]}]})(e)}function B0(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 184 144 144 144-144"},child:[]}]})(e)}function xC(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m184 112 144 144-144 144"},child:[]}]})(e)}function vC(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m112 328 144-144 144 144"},child:[]}]})(e)}function _C(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 1 1-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 0 1-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0 1 22.62-22.62L256 233.37l52.69-52.68a16 16 0 0 1 22.62 22.62L278.63 256z"},child:[]}]})(e)}function Da(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"},child:[]}]})(e)}function jC(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 56C145.72 56 56 145.72 56 256s89.72 200 200 200 200-89.72 200-200S366.28 56 256 56zm0 82a26 26 0 1 1-26 26 26 26 0 0 1 26-26zm48 226h-88a16 16 0 0 1 0-32h28v-88h-16a16 16 0 0 1 0-32h32a16 16 0 0 1 16 16v104h28a16 16 0 0 1 0 32z"},child:[]}]})(e)}function yC(e){return Ie({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M449.07 399.08 278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0 0 80 446.25h340.89a32 32 0 0 0 28.18-47.17zm-198.6-1.83a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm21.72-201.15-5.74 122a16 16 0 0 1-32 0l-5.74-121.95a21.73 21.73 0 0 1 21.5-22.69h.21a21.74 21.74 0 0 1 21.73 22.7z"},child:[]}]})(e)}function bC(e){return Ie({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM7.41604 14H4V19H20V14H16.584C15.8124 15.7659 14.0503 17 12 17C9.94968 17 8.1876 15.7659 7.41604 14ZM20 5H4V12H9C9 13.6569 10.3431 15 12 15C13.6569 15 15 13.6569 15 12H20V5Z"},child:[]}]})(e)}const wC="_commonRippleEffect_4x36w_57",CC="_empty_4x36w_57",kC="_rippleRect_4x36w_1",SC="_commonErrorAnimation_4x36w_83",NC="_shake_4x36w_1",$C="_commonClickedAnimation_4x36w_87",EC="_clickedAnimation_4x36w_1",zC="_commonStarAnimation_4x36w_91",LC="_starAnimation_4x36w_1",IC="_showShadow_4x36w_95",RC="_iconWrapper_4x36w_113",AC="_description_4x36w_122",PC="_footer_4x36w_129",MC="_defaultIcon_4x36w_133",TC="_svgFill_4x36w_140",FC="_svgStroke_4x36w_144",BC="_svgPath_4x36w_152",OC="_slideDown_4x36w_1",DC="_fadeIn_4x36w_1",di={commonRippleEffect:wC,empty:CC,rippleRect:kC,commonErrorAnimation:SC,shake:NC,commonClickedAnimation:$C,clickedAnimation:EC,commonStarAnimation:zC,starAnimation:LC,showShadow:IC,iconWrapper:RC,description:AC,footer:PC,defaultIcon:MC,svgFill:TC,svgStroke:FC,svgPath:BC,slideDown:OC,fadeIn:DC},UC=({icon:e,description:t="No Data",className:n,style:i,children:s,useSvg:a=!1,width:o,height:l,backgroundColor:c,showShadow:u,color:h})=>{const f=()=>k.jsx(bC,{size:40,className:di.defaultIcon}),p=()=>k.jsx("svg",{className:di.defaultIcon,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg",children:k.jsxs("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd",children:[k.jsx("ellipse",{fill:"#f5f5f5",cx:"32",cy:"33",rx:"32",ry:"7"}),k.jsxs("g",{fillRule:"nonzero",stroke:"#d9d9d9",children:[k.jsx("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),k.jsx("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:"#fafafa"})]})]})});return k.jsxs("div",{className:`${di.empty} ${u?di.showShadow:""} ${n||""}`,style:{width:o,height:l,backgroundColor:c,color:h,...i},role:"status","aria-label":t==null?void 0:t.toString(),children:[k.jsx("div",{className:di.iconWrapper,children:e||(a?k.jsx(p,{}):k.jsx(f,{}))}),t&&k.jsx("div",{className:di.description,children:t}),s&&k.jsx("div",{className:di.footer,children:s})]})},xt=xe.memo(UC),HC="_commonRippleEffect_k9jwi_57",WC="_rippleRect_k9jwi_1",qC="_commonErrorAnimation_k9jwi_83",VC="_shake_k9jwi_1",KC="_commonClickedAnimation_k9jwi_87",GC="_clickedAnimation_k9jwi_1",QC="_commonStarAnimation_k9jwi_91",YC="_starAnimation_k9jwi_1",JC="_autoComplete_k9jwi_95",XC="_dropdown_k9jwi_99",ZC="_optionList_k9jwi_117",ek="_optionItem_k9jwi_122",tk="_disabled_k9jwi_130",nk="_highlight_k9jwi_134",rk="_basicOption_k9jwi_137",ik="_icon_k9jwi_142",sk="_content_k9jwi_147",ak="_label_k9jwi_150",ok="_description_k9jwi_154",lk="_groupLabel_k9jwi_159",ck="_tags_k9jwi_165",dk="_tag_k9jwi_165",uk="_tagClose_k9jwi_179",hk="_more_k9jwi_188",pk="_loading_k9jwi_192",fk="_empty_k9jwi_193",mk="_slideDown_k9jwi_1",gk="_fadeIn_k9jwi_1",xk="_slideIn_k9jwi_1",ft={commonRippleEffect:HC,rippleRect:WC,commonErrorAnimation:qC,shake:VC,commonClickedAnimation:KC,clickedAnimation:GC,commonStarAnimation:QC,starAnimation:YC,autoComplete:JC,dropdown:XC,optionList:ZC,optionItem:ek,disabled:tk,highlight:nk,basicOption:rk,icon:ik,content:sk,label:ak,description:ok,groupLabel:lk,tags:ck,tag:dk,tagClose:uk,more:hk,loading:pk,empty:fk,slideDown:mk,fadeIn:gk,slideIn:xk},Hi=({name:e,label:t,mode:n="basic",value:i,onChange:s,options:a=[],defaultValue:o="",onSelect:l,filterOption:c,groupBy:u,multiple:h=!1,maxTagCount:f,renderOption:p,renderEmpty:x,loading:j=!1,textFieldProps:y,emptyProps:C,placement:_="bottom",offset:d={x:0,y:4},dropdownBgColor:m,highlightBgColor:v,hoverBgColor:w,animation:g=!0,sortOption:S,onOptionClick:E,onDropdownVisibleChange:L,popperProps:R})=>{const[F,Y]=b.useState(!1),[q,O]=b.useState(o),[U,K]=b.useState([]),[J,I]=b.useState(-1),[B,V]=b.useState(-1),se=b.useRef(null),ne=b.useRef(null),nt=b.useMemo(()=>{const Z=i!==void 0?i:q;return a.filter(_e=>c?c(Z,_e):_e.label.toLowerCase().includes(Z.toLowerCase()))},[a,i,q,c]),G=b.useMemo(()=>{let Z=nt;return S&&(Z=[...Z].sort(S)),Z},[nt,S]),le=Z=>k.jsxs("div",{className:ft.basicOption,children:[Z.icon&&k.jsx("span",{className:ft.icon,children:Z.icon}),k.jsxs("div",{className:ft.content,children:[k.jsx("div",{className:ft.label,children:Z.label}),Z.description&&k.jsx("div",{className:ft.description,children:Z.description})]})]}),ke={ArrowDown:Z=>{Z.preventDefault(),I(_e=>_e{Z.preventDefault(),I(_e=>_e>0?_e-1:G.length-1)},Enter:()=>{J>=0&&yt(G[J])},Escape:()=>Y(!1)},qe=Z=>{const _e=ke[Z.key];_e==null||_e(Z)},At=Z=>{O(Z),s==null||s(Z),open||Y(!0)},yt=Z=>{if(!Z.disabled){if(h){const _e=U.some(Je=>Je.value===Z.value)?U.filter(Je=>Je.value!==Z.value):[...U,Z];K(_e),O(""),s==null||s("")}else O(Z.label),s==null||s(Z.label),Y(!1);l==null||l(Z)}},Pt=()=>{if(!h||U.length===0)return null;const Z=f&&U.length>f?U.slice(0,f):U;return k.jsxs("div",{className:ft.tags,children:[Z.map(_e=>k.jsxs("span",{className:ft.tag,children:[_e.label,k.jsx("button",{type:"button",className:ft.tagClose,onClick:Je=>{Je.stopPropagation(),yt(_e)},children:k.jsx(Da,{})})]},_e.value)),f&&U.length>f&&k.jsxs("span",{className:ft.more,children:["+",U.length-f]})]})},zt=Z=>{Z.disabled||(yt(Z),E==null||E(Z))},Oe=Z=>{V(Z)};return b.useEffect(()=>{L==null||L(F)},[F]),k.jsxs("div",{ref:ne,className:ft.autoComplete,children:[Pt(),k.jsx(Re,{...y,label:t,name:e,ref:se,value:i!==void 0?i:q,onChange:At,onFocus:()=>Y(!0),onBlur:()=>setTimeout(()=>Y(!1),200),onKeyDown:qe}),F&&k.jsx(it,{anchorEl:ne.current,visible:F,placement:_,offset:d,...R,children:k.jsx("div",{className:ft.dropdown,style:{backgroundColor:m,animation:g?"slideIn 0.2s ease-out":"none","--hover-bg-color":w,"--highlight-bg-color":v},children:j?k.jsx("div",{className:ft.loading,children:k.jsx(Nn,{})}):G.length>0?k.jsx("div",{className:ft.optionList,children:u?Object.entries(G.reduce((Z,_e)=>{const Je=u(_e);return Z[Je]||(Z[Je]=[]),Z[Je].push(_e),Z},{})).map(([Z,_e])=>k.jsxs("div",{className:ft.optionGroup,children:[k.jsx("div",{className:ft.groupLabel,children:Z}),_e.map(Je=>k.jsx("div",{className:`${ft.optionItem} ${Je.disabled?ft.disabled:""} ${Je.highlight?ft.highlight:""}`,style:{backgroundColor:B===Je.value?w||"#f5f5f5":Je.highlight?v||"#e3f2fd":"transparent"},onClick:()=>zt(Je),onMouseEnter:()=>Oe(Number(Je.value)),onMouseLeave:()=>Oe(-1),children:n==="basic"?le(Je):p?p(Je):le(Je)},Je.value))]},Z)):G.map((Z,_e)=>k.jsx("div",{className:`${ft.optionItem} ${Z.disabled?ft.disabled:""} ${Z.highlight?ft.highlight:""}`,style:{backgroundColor:B===_e?w||"#f5f5f5":Z.highlight?v||"#e3f2fd":"transparent"},onClick:()=>zt(Z),onMouseEnter:()=>Oe(_e),onMouseLeave:()=>Oe(-1),children:n==="basic"?le(Z):p?p(Z):le(Z)},Z.value))}):k.jsx("div",{className:ft.empty,children:(x==null?void 0:x())||k.jsx(xt,{...C})})})})]})},vk="_commonRippleEffect_r1h8y_57",_k="_rippleRect_r1h8y_1",jk="_commonErrorAnimation_r1h8y_83",yk="_shake_r1h8y_1",bk="_commonClickedAnimation_r1h8y_87",wk="_clickedAnimation_r1h8y_1",Ck="_commonStarAnimation_r1h8y_91",kk="_starAnimation_r1h8y_1",Sk="_cascader_r1h8y_95",Nk="_selector_r1h8y_100",$k="_focused_r1h8y_114",Ek="_disabled_r1h8y_118",zk="_input_r1h8y_123",Lk="_clearIcon_r1h8y_144",Ik="_icon_r1h8y_160",Rk="_arrow_r1h8y_164",Ak="_open_r1h8y_174",Pk="_dropdown_r1h8y_178",Mk="_panel_r1h8y_189",Tk="_column_r1h8y_197",Fk="_option_r1h8y_221",Bk="_active_r1h8y_237",Ok="_label_r1h8y_247",Dk="_expandIcon_r1h8y_254",Uk="_loading_r1h8y_259",Hk="_rotating_r1h8y_1",Wk="_searchResults_r1h8y_263",qk="_searchOption_r1h8y_269",Vk="_empty_r1h8y_281",Kk="_slideDown_r1h8y_1",Gk="_fadeIn_r1h8y_1",st={commonRippleEffect:vk,rippleRect:_k,commonErrorAnimation:jk,shake:yk,commonClickedAnimation:bk,clickedAnimation:wk,commonStarAnimation:Ck,starAnimation:kk,cascader:Sk,selector:Nk,focused:$k,disabled:Ek,input:zk,clearIcon:Lk,icon:Ik,arrow:Rk,open:Ak,dropdown:Pk,panel:Mk,column:Tk,option:Fk,active:Bk,label:Ok,expandIcon:Dk,loading:Uk,rotating:Hk,searchResults:Wk,searchOption:qk,empty:Vk,slideDown:Kk,fadeIn:Gk},Qk=({options:e=[],activePath:t=[],expandTrigger:n="click",maxLevel:i=6,onLevelSelect:s,optionRender:a,optionStyle:o})=>{const[l,c]=b.useState(()=>{var x;const j=[e];for(let y=0;yd.value===C.value);(x=_==null?void 0:_.children)!=null&&x.length&&j.push(_.children)}return j});b.useEffect(()=>{var x;const j=[e];for(let y=0;yd.value===C.value);(x=_==null?void 0:_.children)!=null&&x.length&&j.push(_.children)}c(j)},[t,e,i]);const[u,h]=b.useState(null),f=(x,j)=>{var y;x.disabled||(s==null||s(x,j),(y=x.children)!=null&&y.length&&j{const _=[...C.slice(0,j+1)];return _.push(x.children),_}))},p=(x,j)=>{var y;if(!x.disabled&&(h({option:x,level:j}),n==="hover"&&(y=x.children)!=null&&y.length&&jk.jsx("ul",{className:st.column,children:x.map(y=>{var C;const _=((C=t[j])==null?void 0:C.value)===y.value,d=(u==null?void 0:u.option.value)===y.value&&u.level===j,m=y.children&&y.children.length>0;return k.jsx("li",{className:` ${st.option} - ${j?st.active:""} + ${_?st.active:""} ${d?st.hover:""} ${y.disabled?st.disabled:""} ${y.loading?st.loading:""} - `,style:o,onClick:()=>f(y,_),onMouseEnter:()=>p(y,_),onMouseLeave:()=>h(null),children:a?a(y,_):k.jsxs(k.Fragment,{children:[k.jsx("span",{className:st.label,children:y.label}),m&&_{const[w,g]=b.useState(!1),[S,E]=b.useState(i||s||[]),[L,R]=b.useState([]),F=b.useRef(null),[Y,q]=b.useState(""),[O,U]=b.useState([]),K=b.useRef(null),J=b.useCallback(G=>{G.preventDefault(),G.stopPropagation(),l||g(le=>!le)},[l]);b.useEffect(()=>{if(!w)return;const G=le=>{const ke=le.target;F.current&&!F.current.contains(ke)&&K.current&&!K.current.contains(ke)&&(g(!1),q(""))};return document.addEventListener("mousedown",G),()=>{document.removeEventListener("mousedown",G)}},[w]);const I=b.useCallback((G,le)=>{E(G),R(le),q(""),U([]),a==null||a(G,le),g(!1)},[a]),B=b.useCallback(G=>{G.stopPropagation(),E([]),R([]),a==null||a([],[])},[a]),V=b.useCallback(G=>{if(q(G),!G){U([]);return}const le=(qe,At=[])=>qe.reduce((yt,Pt)=>{const zt=[...At,Pt],Oe={...Pt,path:zt};return Pt.disabled||(yt.push(Oe),Pt.children&&yt.push(...le(Pt.children,zt))),yt},[]),ke=le(n).filter(qe=>x?x(G,qe.path):qe.path.some(At=>{var yt;return(yt=At.label)==null?void 0:yt.toString().toLowerCase().includes(G.toLowerCase())}));U(ke)},[n,x]),se=()=>{if(Y&&p)return Y;if(o){const G=o(L.map(le=>String(le.label)),L);return typeof G=="string"?G:""}return L.map(G=>String(G.label)).join(" / ")||""},ne=b.useCallback(()=>{if(!K.current||!F.current)return;const G=F.current.getBoundingClientRect(),le=K.current,ke=window.innerHeight,{bottom:qe,left:At,height:yt}=G,Pt=le.offsetHeight||300,zt=ke-qe,Oe=qe-yt,Z=zt>=Pt||zt>=Oe;le.style.position="fixed",le.style.left=`${At}px`,le.style.width=`${G.width}px`,le.style.zIndex="1000",Z?(le.style.top=`${qe}px`,le.style.bottom="auto",le.style.maxHeight=`${zt-8}px`):(le.style.bottom=`${ke-(qe-yt)}px`,le.style.top="auto",le.style.maxHeight=`${Oe-8}px`)},[]),nt=()=>w?Bu.createPortal(k.jsx("div",{ref:K,className:`${st.dropdown} ${y||""}`,style:{position:"fixed",visibility:"hidden",...m},onClick:G=>{G.preventDefault(),G.stopPropagation()},children:Y&&p?k.jsx("div",{className:st.searchResults,children:O.length>0?O.map(G=>k.jsx("div",{className:st.searchOption,onClick:()=>{const le=G.path.map(ke=>ke.value);I(le,G.path)},children:G.path.map(le=>le.label).join(" / ")},`${G.value}-${G.path.length}`)):k.jsx("div",{className:st.empty,children:"No results found"})}):k.jsx(Qk,{label:e,name:t,options:n,activePath:L,expandTrigger:h,maxLevel:d,optionStyle:v,onLevelSelect:(G,le)=>{const ke=L.slice(0,le).concat(G);(!G.children||G.isLeaf)&&I(ke.map(qe=>qe.value),ke),_&&!G.children&&!G.isLeaf&&_(ke)},optionRender:C})}),document.body):null;return b.useEffect(()=>{if(!w||!K.current)return;const G=requestAnimationFrame(()=>{K.current&&(K.current.style.visibility="visible",ne())});return()=>cancelAnimationFrame(G)},[w,ne]),k.jsxs("div",{className:`${st.cascader} ${f||""}`,ref:F,style:{width:j},children:[k.jsxs("div",{className:`${st.selector} ${l?st.disabled:""} ${w?st.focused:""}`,onClick:J,children:[k.jsx(Re,{label:e,name:t,value:se(),readOnly:!p,disabled:l,placeholder:c,className:st.input,onChange:G=>p&&V(G),onFocus:()=>!l&&g(!0)}),u&&S.length>0&&!l&&k.jsx("span",{className:st.clearIcon,onClick:G=>{G.stopPropagation(),B(G),q(""),U([])},children:k.jsx(Da,{className:st.icon})}),k.jsx("span",{className:`${st.arrow} ${w?st.open:""}`,children:k.jsx(B0,{className:st.icon})})]}),nt()]})};var O0={exports:{}};/*! + `,style:o,onClick:()=>f(y,j),onMouseEnter:()=>p(y,j),onMouseLeave:()=>h(null),children:a?a(y,j):k.jsxs(k.Fragment,{children:[k.jsx("span",{className:st.label,children:y.label}),m&&j{const[w,g]=b.useState(!1),[S,E]=b.useState(i||s||[]),[L,R]=b.useState([]),F=b.useRef(null),[Y,q]=b.useState(""),[O,U]=b.useState([]),K=b.useRef(null),J=b.useCallback(G=>{G.preventDefault(),G.stopPropagation(),l||g(le=>!le)},[l]);b.useEffect(()=>{if(!w)return;const G=le=>{const ke=le.target;F.current&&!F.current.contains(ke)&&K.current&&!K.current.contains(ke)&&(g(!1),q(""))};return document.addEventListener("mousedown",G),()=>{document.removeEventListener("mousedown",G)}},[w]);const I=b.useCallback((G,le)=>{E(G),R(le),q(""),U([]),a==null||a(G,le),g(!1)},[a]),B=b.useCallback(G=>{G.stopPropagation(),E([]),R([]),a==null||a([],[])},[a]),V=b.useCallback(G=>{if(q(G),!G){U([]);return}const le=(qe,At=[])=>qe.reduce((yt,Pt)=>{const zt=[...At,Pt],Oe={...Pt,path:zt};return Pt.disabled||(yt.push(Oe),Pt.children&&yt.push(...le(Pt.children,zt))),yt},[]),ke=le(n).filter(qe=>x?x(G,qe.path):qe.path.some(At=>{var yt;return(yt=At.label)==null?void 0:yt.toString().toLowerCase().includes(G.toLowerCase())}));U(ke)},[n,x]),se=()=>{if(Y&&p)return Y;if(o){const G=o(L.map(le=>String(le.label)),L);return typeof G=="string"?G:""}return L.map(G=>String(G.label)).join(" / ")||""},ne=b.useCallback(()=>{if(!K.current||!F.current)return;const G=F.current.getBoundingClientRect(),le=K.current,ke=window.innerHeight,{bottom:qe,left:At,height:yt}=G,Pt=le.offsetHeight||300,zt=ke-qe,Oe=qe-yt,Z=zt>=Pt||zt>=Oe;le.style.position="fixed",le.style.left=`${At}px`,le.style.width=`${G.width}px`,le.style.zIndex="1000",Z?(le.style.top=`${qe}px`,le.style.bottom="auto",le.style.maxHeight=`${zt-8}px`):(le.style.bottom=`${ke-(qe-yt)}px`,le.style.top="auto",le.style.maxHeight=`${Oe-8}px`)},[]),nt=()=>w?Bu.createPortal(k.jsx("div",{ref:K,className:`${st.dropdown} ${y||""}`,style:{position:"fixed",visibility:"hidden",...m},onClick:G=>{G.preventDefault(),G.stopPropagation()},children:Y&&p?k.jsx("div",{className:st.searchResults,children:O.length>0?O.map(G=>k.jsx("div",{className:st.searchOption,onClick:()=>{const le=G.path.map(ke=>ke.value);I(le,G.path)},children:G.path.map(le=>le.label).join(" / ")},`${G.value}-${G.path.length}`)):k.jsx("div",{className:st.empty,children:"No results found"})}):k.jsx(Qk,{label:e,name:t,options:n,activePath:L,expandTrigger:h,maxLevel:d,optionStyle:v,onLevelSelect:(G,le)=>{const ke=L.slice(0,le).concat(G);(!G.children||G.isLeaf)&&I(ke.map(qe=>qe.value),ke),j&&!G.children&&!G.isLeaf&&j(ke)},optionRender:C})}),document.body):null;return b.useEffect(()=>{if(!w||!K.current)return;const G=requestAnimationFrame(()=>{K.current&&(K.current.style.visibility="visible",ne())});return()=>cancelAnimationFrame(G)},[w,ne]),k.jsxs("div",{className:`${st.cascader} ${f||""}`,ref:F,style:{width:_},children:[k.jsxs("div",{className:`${st.selector} ${l?st.disabled:""} ${w?st.focused:""}`,onClick:J,children:[k.jsx(Re,{label:e,name:t,value:se(),readOnly:!p,disabled:l,placeholder:c,className:st.input,onChange:G=>p&&V(G),onFocus:()=>!l&&g(!0)}),u&&S.length>0&&!l&&k.jsx("span",{className:st.clearIcon,onClick:G=>{G.stopPropagation(),B(G),q(""),U([])},children:k.jsx(Da,{className:st.icon})}),k.jsx("span",{className:`${st.arrow} ${w?st.open:""}`,children:k.jsx(B0,{className:st.icon})})]}),nt()]})};var O0={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{if(!o)return k.jsx(k.Fragment,{children:a});const C=()=>_||y?null:Array(u).fill(null).map((w,g)=>k.jsx("div",{className:Un(St.skeleton,St[e],St[`animation-${t}`]),style:{width:typeof n=="number"?`${n}px`:n,height:typeof i=="number"?`${i}px`:i,borderRadius:l,...c}},g)),j=()=>h?k.jsx("div",{className:Un(St.skeleton,St.avatar,St[`animation-${t}`],St[`avatar-${p}`]),style:{width:typeof f=="number"?`${f}px`:f,height:typeof f=="number"?`${f}px`:f}}):null,d=()=>{if(!_)return null;const w=[{width:"100%",height:"16px"},{width:"100%",height:"16px"},{width:"92%",height:"16px"},{width:"60%",height:"16px"}];return k.jsx("div",{className:St.paragraph,children:w.map((g,S)=>k.jsx("div",{className:Un(St.skeleton,St[`animation-${t}`]),style:{width:g.width,height:g.height}},`p-${S}`))})},m=()=>y?k.jsx("div",{className:Un(St.skeleton,St.title,St[`animation-${t}`])}):null,v=()=>e==="card"?k.jsxs("div",{className:Un(St.card,{[St.active]:x}),children:[j(),k.jsxs("div",{className:St.cardContent,children:[m(),d()]})]}):k.jsxs(k.Fragment,{children:[j(),k.jsxs("div",{className:St.content,children:[m(),C(),d()]})]});return k.jsx("div",{className:Un(St.skeletonRoot,{[St.withAvatar]:h},s),children:v()})},CS="_commonRippleEffect_14peo_57",kS="_alert_14peo_57",SS="_closeButton_14peo_57",NS="_collapsible_14peo_57",$S="_expandButton_14peo_57",ES="_rippleRect_14peo_1",zS="_commonErrorAnimation_14peo_83",LS="_shake_14peo_1",IS="_commonClickedAnimation_14peo_87",RS="_clickedAnimation_14peo_1",AS="_commonStarAnimation_14peo_91",PS="_starAnimation_14peo_1",MS="_withElevation_14peo_104",TS="_rounded_14peo_107",FS="_title_14peo_110",BS="_small_14peo_130",OS="_icon_14peo_134",DS="_medium_14peo_137",US="_large_14peo_144",HS="_info_14peo_151",WS="_filled_14peo_155",qS="_outlined_14peo_159",VS="_success_14peo_163",KS="_warning_14peo_175",GS="_error_14peo_187",QS="_banner_14peo_199",YS="_content_14peo_208",JS="_message_14peo_215",XS="_action_14peo_218",ZS="_withAnimation_14peo_236",eN="_alertSlideIn_14peo_1",tN="_alertFadeIn_14peo_1",nN="_alertBounce_14peo_1",rN="_alertZoom_14peo_1",iN="_expanded_14peo_248",sN="_expandContent_14peo_1",aN="_slideDown_14peo_1",oN="_fadeIn_14peo_1",mt={commonRippleEffect:CS,alert:kS,closeButton:SS,collapsible:NS,expandButton:$S,rippleRect:ES,commonErrorAnimation:zS,shake:LS,commonClickedAnimation:IS,clickedAnimation:RS,commonStarAnimation:AS,starAnimation:PS,withElevation:MS,rounded:TS,title:FS,small:BS,icon:OS,medium:DS,large:US,info:HS,filled:WS,outlined:qS,success:VS,warning:KS,error:GS,banner:QS,content:YS,message:JS,action:XS,withAnimation:ZS,"animation-slideIn":"_animation-slideIn_14peo_236",alertSlideIn:eN,"animation-fadeIn":"_animation-fadeIn_14peo_239",alertFadeIn:tN,"animation-bounce":"_animation-bounce_14peo_242",alertBounce:nN,"animation-zoom":"_animation-zoom_14peo_245",alertZoom:rN,expanded:iN,expandContent:sN,slideDown:aN,fadeIn:oN},lN={info:k.jsx(jC,{}),success:k.jsx(gC,{}),warning:k.jsx(yC,{}),error:k.jsx(_C,{})},cN=["slideIn","fadeIn","bounce","zoom"],Ne=({title:e,children:t,variant:n="info",size:i="medium",type:s="default",showIcon:a=!0,icon:o,closable:l=!1,closeIcon:c,onClose:u,animation:h=!0,animationName:f="slideIn",className:p,style:x,action:_,outlined:y=!1,filled:C=!1,banner:j=!1,elevation:d=!1,rounded:m=!0,borderRadius:v,collapsible:w=!1,defaultExpanded:g=!0,onExpand:S})=>{const[E,L]=b.useState(!0),[R,F]=b.useState(g),Y=b.useCallback(K=>{L(!1),u==null||u(K)},[u]),q=b.useCallback(()=>{F(K=>(S==null||S(!K),!K))},[S]);if(!E)return null;const O=Un(mt.alert,mt[n],mt[i],mt[s],{[mt.withIcon]:a,[mt.withTitle]:e,[mt.outlined]:y,[mt.filled]:C,[mt.banner]:j,[mt.withAnimation]:h,[mt[`animation-${f}`]]:h&&cN.includes(f),[mt.withElevation]:d,[mt.rounded]:m,[mt.expanded]:R,[mt.collapsible]:w},p),U={...x,...v&&{borderRadius:v}};return k.jsxs("div",{className:O,style:U,role:"alert","data-variant":n,"data-size":i,"data-type":s,children:[a&&k.jsx("span",{className:mt.icon,role:"img","aria-label":`${n} icon`,children:o||lN[n]}),k.jsxs("div",{className:mt.content,children:[e&&k.jsxs("div",{className:mt.title,children:[e,w&&k.jsx("button",{className:mt.expandButton,onClick:q,"aria-label":R?"收起":"展开","aria-expanded":R,children:R?k.jsx(vC,{}):k.jsx(B0,{})})]}),(!w||R)&&k.jsx("div",{className:mt.message,children:t})]}),_&&k.jsx("div",{className:mt.action,children:_}),l&&k.jsx("button",{className:mt.closeButton,onClick:Y,"aria-label":"Close",type:"button",children:c||k.jsx(Da,{})})]})},dN="_commonRippleEffect_18hxg_57",uN="_rippleRect_18hxg_1",hN="_commonErrorAnimation_18hxg_83",pN="_shake_18hxg_1",fN="_commonClickedAnimation_18hxg_87",mN="_clickedAnimation_18hxg_1",gN="_commonStarAnimation_18hxg_91",xN="_starAnimation_18hxg_1",vN="_space_18hxg_95",_N="_block_18hxg_99",jN="_horizontal_18hxg_103",yN="_vertical_18hxg_106",bN="_wrap_18hxg_109",wN="_compact_18hxg_112",CN="_item_18hxg_112",kN="_split_18hxg_152",SN="_responsive_18hxg_159",NN="_slideDown_18hxg_1",$N="_fadeIn_18hxg_1",er={commonRippleEffect:dN,rippleRect:uN,commonErrorAnimation:hN,shake:pN,commonClickedAnimation:fN,clickedAnimation:mN,commonStarAnimation:gN,starAnimation:xN,space:vN,block:_N,horizontal:jN,vertical:yN,wrap:bN,compact:wN,item:CN,"align-start":"_align-start_18hxg_115","align-end":"_align-end_18hxg_118","align-center":"_align-center_18hxg_121","align-baseline":"_align-baseline_18hxg_124","align-stretch":"_align-stretch_18hxg_127","justify-start":"_justify-start_18hxg_130","justify-end":"_justify-end_18hxg_133","justify-center":"_justify-center_18hxg_136","justify-space-around":"_justify-space-around_18hxg_139","justify-space-between":"_justify-space-between_18hxg_142","justify-space-evenly":"_justify-space-evenly_18hxg_145",split:kN,responsive:SN,slideDown:NN,fadeIn:$N},W=({align:e,justify:t,direction:n="horizontal",size:i="medium",wrap:s=!1,split:a,compact:o=!1,block:l=!1,className:c,style:u,children:h})=>{const f=xe.Children.toArray(h).filter(y=>y!=null),p=()=>{if(typeof i=="number")return i;const y={small:8,medium:16,large:24};return o?y[i]/2:y[i]},x=Un(er.space,{[er.vertical]:n==="vertical",[er.horizontal]:n==="horizontal",[er.wrap]:s,[er.block]:l,[er[`align-${e}`]]:e,[er[`justify-${t}`]]:t,[er.compact]:o},c),_={marginRight:n==="horizontal"?p():0,marginBottom:n==="vertical"||s?p():0};return k.jsx("div",{className:x,style:u,role:"group","aria-orientation":n,children:f.map((y,C)=>k.jsxs(xe.Fragment,{children:[k.jsx("div",{className:er.item,style:_,children:y}),a&&C{const f={...h,...n&&{borderColor:n},...i&&{borderWidth:i},...t==="vertical"&&s&&{height:s},...t==="horizontal"&&s&&{width:s},...a&&{marginTop:t==="horizontal"?a:0,marginBottom:t==="horizontal"?a:0,marginLeft:t==="vertical"?a:0,marginRight:t==="vertical"?a:0}},p=Un(ui.divider,ui[e],ui[t],o&&ui.withText,o&&ui[`text${l.charAt(0).toUpperCase()+l.slice(1)}`],c&&ui.elevation,u);return k.jsx("div",{className:p,style:f,children:o&&k.jsx("span",{className:ui.text,children:o})})},gt=xe.memo(JN),XN="_commonRippleEffect_1rurt_57",ZN="_rippleRect_1rurt_1",e$="_commonErrorAnimation_1rurt_83",t$="_shake_1rurt_1",n$="_commonClickedAnimation_1rurt_87",r$="_clickedAnimation_1rurt_1",i$="_commonStarAnimation_1rurt_91",s$="_starAnimation_1rurt_1",a$="_tag_1rurt_95",o$="_small_1rurt_104",l$="_medium_1rurt_109",c$="_large_1rurt_114",d$="_square_1rurt_119",u$="_rounded_1rurt_122",h$="_circle_1rurt_125",p$="_primary_1rurt_132",f$="_success_1rurt_136",m$="_warning_1rurt_140",g$="_error_1rurt_144",x$="_info_1rurt_148",v$="_clickable_1rurt_152",_$="_disabled_1rurt_152",j$="_bordered_1rurt_161",y$="_elevation_1rurt_165",b$="_icon_1rurt_173",w$="_content_1rurt_178",C$="_closeIcon_1rurt_181",k$="_ripple_1rurt_192",S$="_rippleAnimation_1rurt_1",N$="_slideDown_1rurt_1",$$="_fadeIn_1rurt_1",Cn={commonRippleEffect:XN,rippleRect:ZN,commonErrorAnimation:e$,shake:t$,commonClickedAnimation:n$,clickedAnimation:r$,commonStarAnimation:i$,starAnimation:s$,tag:a$,small:o$,medium:l$,large:c$,square:d$,rounded:u$,circle:h$,default:"_default_1rurt_128",primary:p$,success:f$,warning:m$,error:g$,info:x$,clickable:v$,disabled:_$,bordered:j$,elevation:y$,icon:b$,content:w$,closeIcon:C$,ripple:k$,rippleAnimation:S$,slideDown:N$,fadeIn:$$},ve=({children:e,variant:t="default",size:n="medium",shape:i="rounded",closable:s=!1,onClose:a,clickable:o=!1,onClick:l,icon:c,bordered:u=!1,elevation:h=!1,bgColor:f,textColor:p,borderColor:x,className:_,style:y,disabled:C=!1,closeIcon:j,ripple:d=!0})=>{const m=b.useCallback(S=>{S.stopPropagation(),!C&&a&&a(S)},[C,a]),v=b.useCallback(S=>{!C&&o&&l&&l(S)},[C,o,l]),w=b.useCallback(S=>{if(!d||C)return;const E=S.currentTarget,L=E.getBoundingClientRect(),R=document.createElement("span"),F=Math.max(L.width,L.height),Y=F/2;R.style.width=R.style.height=`${F}px`,R.style.left=`${S.clientX-L.left-Y}px`,R.style.top=`${S.clientY-L.top-Y}px`,R.className=Cn.ripple,E.appendChild(R),setTimeout(()=>{E.removeChild(R)},600)},[d,C]),g={...y,backgroundColor:f,color:p,borderColor:x};return k.jsxs("div",{className:Un(Cn.tag,Cn[t],Cn[n],Cn[i],{[Cn.clickable]:o&&!C,[Cn.bordered]:u,[Cn.elevation]:h,[Cn.disabled]:C},_),style:g,onClick:S=>{v(S),w(S)},children:[c&&k.jsx("span",{className:Cn.icon,children:c}),k.jsx("span",{className:Cn.content,children:e}),s&&k.jsx("span",{className:Cn.closeIcon,onClick:m,children:j||k.jsx(Da,{})})]})},E$="_commonRippleEffect_63kgx_57",z$="_rippleRect_63kgx_1",L$="_commonErrorAnimation_63kgx_83",I$="_shake_63kgx_1",R$="_commonClickedAnimation_63kgx_87",A$="_clickedAnimation_63kgx_1",P$="_commonStarAnimation_63kgx_91",M$="_starAnimation_63kgx_1",T$="_disabled_63kgx_105",F$="_label_63kgx_109",B$="_switchBase_63kgx_135",O$="_track_63kgx_154",D$="_checked_63kgx_161",U$="_thumb_63kgx_165",H$="_checkedLarge_63kgx_184",W$="_square_63kgx_194",q$="_loading_63kgx_197",V$="_switchLoading_63kgx_1",K$="_rippleEffect_63kgx_208",G$="_ripple_63kgx_208",Q$="_small_63kgx_225",Y$="_large_63kgx_243",J$="_primary_63kgx_259",X$="_secondary_63kgx_267",Z$="_success_63kgx_274",eE="_warning_63kgx_281",tE="_error_63kgx_288",nE="_icon_63kgx_295",rE="_loadingIcon_63kgx_314",iE="_slideDown_63kgx_1",sE="_fadeIn_63kgx_1",Bt={commonRippleEffect:E$,rippleRect:z$,commonErrorAnimation:L$,shake:I$,commonClickedAnimation:R$,clickedAnimation:A$,commonStarAnimation:P$,starAnimation:M$,switch:"_switch_63kgx_95",disabled:T$,"label-start":"_label-start_63kgx_109",label:F$,"label-end":"_label-end_63kgx_115","label-top":"_label-top_63kgx_118","label-bottom":"_label-bottom_63kgx_124",switchBase:B$,track:O$,checked:D$,thumb:U$,checkedLarge:H$,square:W$,loading:q$,switchLoading:V$,rippleEffect:K$,ripple:G$,small:Q$,large:Y$,primary:J$,secondary:X$,success:Z$,warning:eE,error:tE,icon:nE,loadingIcon:rE,slideDown:iE,fadeIn:sE},D=({checked:e,defaultChecked:t=!1,disabled:n=!1,size:i="medium",color:s="primary",shape:a="round",label:o,labelPlacement:l="end",loading:c=!1,ripple:u=!0,className:h,labelStyle:f,trackStyle:p,thumbStyle:x,onChange:_,onFocus:y,onBlur:C,icon:j,iconPlacement:d="start"})=>{const[m,v]=b.useState(e??t),[w,g]=b.useState(!1),S=b.useRef(null);b.useEffect(()=>{e!==void 0&&v(e)},[e]);const E=O=>{n||c||(e===void 0&&v(O.target.checked),_==null||_(O.target.checked,O))},L=()=>{!u||n||c||(g(!0),setTimeout(()=>g(!1),400))},R=Un(Bt.switch,Bt[i],{[Bt.checked]:m,[Bt.checkedLarge]:m&&i==="large",[Bt.disabled]:n,[Bt.loading]:c,[Bt.square]:a==="square",[Bt.ripple]:u&&w,[Bt[s]]:Object.prototype.hasOwnProperty.call(Bt,s)},h),F={...m&&!n&&!Object.prototype.hasOwnProperty.call(Bt,s)?{backgroundColor:s,color:s}:{},...x},Y=()=>o?k.jsx("span",{className:Bt.label,children:o}):null,q=()=>j?k.jsx("span",{className:Bt.icon,children:j}):null;return k.jsxs("label",{className:R,style:f,ref:S,onClick:L,children:[l==="start"&&Y(),k.jsxs("div",{className:Bt.switchBase,children:[k.jsx("input",{type:"checkbox",checked:m,disabled:n||c,onChange:E,onFocus:y,onBlur:C}),k.jsx("div",{className:Bt.track,style:p}),k.jsx("div",{className:Bt.thumb,style:F,children:d==="start"&&q()}),u&&k.jsx("div",{className:Bt.rippleEffect})]}),d==="end"&&q(),l==="end"&&Y()]})};var D0,a1=Bu;D0=a1.createRoot,a1.hydrateRoot;const aE="_commonRippleEffect_lmaea_57",oE="_rippleRect_lmaea_1",lE="_commonErrorAnimation_lmaea_83",cE="_shake_lmaea_1",dE="_commonClickedAnimation_lmaea_87",uE="_clickedAnimation_lmaea_1",hE="_commonStarAnimation_lmaea_91",pE="_starAnimation_lmaea_1",fE="_messageContainer_lmaea_95",mE="_top_lmaea_106",gE="_message_lmaea_95",xE="_messageSlideInTop_lmaea_1",vE="_topLeft_lmaea_114",_E="_messageSlideInLeft_lmaea_1",jE="_topRight_lmaea_121",yE="_messageSlideInRight_lmaea_1",bE="_bottom_lmaea_128",wE="_messageSlideInBottom_lmaea_1",CE="_bottomLeft_lmaea_137",kE="_messageSlideInBottomLeft_lmaea_1",SE="_bottomRight_lmaea_145",NE="_messageSlideInBottomRight_lmaea_1",$E="_messageSlideIn_lmaea_1",EE="_content_lmaea_169",zE="_icon_lmaea_177",LE="_closeButton_lmaea_181",IE="_progressBar_lmaea_200",RE="_progressSlide_lmaea_1",AE="_paused_lmaea_224",PE="_success_lmaea_227",ME="_error_lmaea_240",TE="_warning_lmaea_253",FE="_info_lmaea_266",BE="_loading_lmaea_279",OE="_loadingIcon_lmaea_285",DE="_loadingSpin_lmaea_1",UE="_slideDown_lmaea_1",HE="_fadeIn_lmaea_1",WE="_spin_lmaea_1",ir={commonRippleEffect:aE,rippleRect:oE,commonErrorAnimation:lE,shake:cE,commonClickedAnimation:dE,clickedAnimation:uE,commonStarAnimation:hE,starAnimation:pE,messageContainer:fE,top:mE,message:gE,messageSlideInTop:xE,topLeft:vE,messageSlideInLeft:_E,topRight:jE,messageSlideInRight:yE,bottom:bE,messageSlideInBottom:wE,bottomLeft:CE,messageSlideInBottomLeft:kE,bottomRight:SE,messageSlideInBottomRight:NE,messageSlideIn:$E,content:EE,icon:zE,closeButton:LE,progressBar:IE,progressSlide:RE,paused:AE,success:PE,error:ME,warning:TE,info:FE,loading:BE,loadingIcon:OE,loadingSpin:DE,slideDown:UE,fadeIn:HE,spin:WE},U0=({id:e,type:t="info",content:n,duration:i=3e3,showClose:s=!1,icon:a,className:o="",style:l,onClose:c,showProgress:u=!0,pauseOnHover:h=!0,placement:f="topRight",onClick:p,description:x,closeAriaLabel:_="Close"})=>{const[y,C]=b.useState(100),[j,d]=b.useState(!1);b.useEffect(()=>{if(i>0){const v=Date.now(),w=setInterval(()=>{if(!j){const g=Date.now()-v,S=Math.max(0,100-g/i*100);C(S),S===0&&(clearInterval(w),c==null||c(e))}},10);return()=>clearInterval(w)}},[i,j,e,c]);const m=()=>{c==null||c(e)};return k.jsxs("div",{className:`${ir.message} ${ir[t]} ${o}`,style:{...l,position:"fixed",...qE(f)},onClick:p,onMouseEnter:()=>h&&d(!0),onMouseLeave:()=>h&&d(!1),role:"alert",children:[k.jsxs("div",{className:ir.content,children:[a&&k.jsx("span",{className:ir.icon,children:a}),k.jsx("span",{children:n})]}),s&&k.jsx("button",{className:ir.closeButton,onClick:m,"aria-label":_,children:k.jsx(Da,{})}),u&&i>0&&k.jsx("div",{className:`${ir.progressBar} ${j?ir.paused:""}`,style:{width:`${y}%`}})]})},qE=e=>{switch(e){case"top":return{top:"20px",left:"50%",transform:"translateX(-50%)"};case"topLeft":return{top:"20px",left:"20px"};case"topRight":return{top:"20px",right:"20px"};case"bottom":return{bottom:"20px",left:"50%",transform:"translateX(-50%)"};case"bottomLeft":return{bottom:"20px",left:"20px"};case"bottomRight":return{bottom:"20px",right:"20px"};default:return{top:"20px",right:"20px"}}},xi={top:[],topLeft:[],topRight:[],bottom:[],bottomLeft:[],bottomRight:[]};let VE=0;const KE=e=>{const t=`message-container-${e}`;let n=document.getElementById(t);return n||(n=document.createElement("div"),n.id=t,n.className=`${ir.messageContainer} ${ir[e]}`,e.includes("top")?n.style.top="20px":n.style.bottom="20px",e.includes("Left")?n.style.left="24px":e.includes("Right")?n.style.right="24px":(n.style.left="50%",n.style.transform="translateX(-50%)",n.style.width="384px"),document.body.appendChild(n)),n},Bd=(e,t)=>{const n=xi[t],i=n.findIndex(s=>s.id===e);if(i>-1&&(n[i].root.unmount(),n.splice(i,1),n.length===0)){const s=document.getElementById(`message-container-${t}`);s&&document.body.removeChild(s)}},GE=e=>{const t=e.id||`message-${VE++}`,n=e.placement||"topRight",i=KE(n),s=document.createElement("div");s.className=ir.messageWrapper,i.appendChild(s);const a=D0(s),o={...e,id:t,placement:n,duration:e.duration??3e3,onClose:l=>{var c;(c=e.onClose)==null||c.call(e,l),Bd(l,n)}};return xi[n].push({id:t,props:o,root:a}),a.render(k.jsx(U0,{...o})),t},Ws=e=>t=>{const n=typeof t=="object"&&!xe.isValidElement(t)?{...t,type:e}:{content:t,type:e};return GE(n)},je={success:Ws("success"),error:Ws("error"),info:Ws("info"),warning:Ws("warning"),loading:Ws("loading"),destroy:e=>{e?Object.entries(xi).forEach(([t,n])=>{n.find(i=>i.id===e)&&Bd(e,t)}):(Object.entries(xi).forEach(([t,n])=>{n.forEach(s=>{s.root.unmount()});const i=document.getElementById(`message-container-${t}`);i&&document.body.removeChild(i)}),Object.keys(xi).forEach(t=>{xi[t]=[]}))},update:(e,t)=>{Object.entries(xi).forEach(([n,i])=>{const s=i.find(a=>a.id===e);if(s){const a={...s.props,...t,onClose:o=>{var l;(l=t.onClose)==null||l.call(t,o),Bd(o,n)}};s.props=a,s.root.render(k.jsx(U0,{...a}))}})}},QE=()=>{const e=b.useCallback((t,n)=>{const i=typeof n=="string"?{content:n,id:Date.now().toString()}:n,s=je[t](i),a=i.duration??3e3,o=()=>{let l=Promise.resolve();return{then:c=>(a>0&&(l=l.then(()=>new Promise(u=>setTimeout(()=>{Promise.resolve(c()).then(u)},a)))),o()),catch:c=>(l=l.catch(c),o()),messageId:s}};return o()},[]);return{info:t=>e("info",t),success:t=>e("success",t),warning:t=>e("warning",t),error:t=>e("error",t),loading:t=>e("loading",t),destroy:je.destroy,update:je.update}},YE={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class ml{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||YE,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),i=0;i{this.observers[i]||(this.observers[i]=new Map);const s=this.observers[i].get(n)||0;this.observers[i].set(n,s+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s{let[o,l]=a;for(let c=0;c{let[o,l]=a;for(let c=0;c{e=i,t=s});return n.resolve=e,n.reject=t,n}function o1(e){return e==null?"":""+e}function JE(e,t,n){e.forEach(i=>{t[i]&&(n[i]=t[i])})}const XE=/###/g;function da(e,t,n){function i(l){return l&&l.indexOf("###")>-1?l.replace(XE,"."):l}function s(){return!e||typeof e=="string"}const a=typeof t!="string"?t:t.split(".");let o=0;for(;o":">",'"':""","'":"'","/":"/"};function nz(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>tz[t]):e}class rz{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const i=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,i),this.regExpQueue.push(t),i}}const iz=[" ",",","?","!",";"],sz=new rz(20);function az(e,t,n){t=t||"",n=n||"";const i=iz.filter(o=>t.indexOf(o)<0&&n.indexOf(o)<0);if(i.length===0)return!0;const s=sz.getRegExp(`(${i.map(o=>o==="?"?"\\?":o).join("|")})`);let a=!s.test(e);if(!a){const o=e.indexOf(n);o>0&&!s.test(e.substring(0,o))&&(a=!0)}return a}function Od(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const i=t.split(n);let s=e;for(let a=0;a-1&&c0?e.replace("_","-"):e}class c1 extends Ul{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,o=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,n],i&&(Array.isArray(i)?l.push(...i):typeof i=="string"&&a?l.push(...i.split(a)):l.push(i)));const c=gl(this.data,l);return!c&&!n&&!i&&t.indexOf(".")>-1&&(t=l[0],n=l[1],i=l.slice(2).join(".")),c||!o||typeof i!="string"?c:Od(this.data&&this.data[t]&&this.data[t][n],i,a)}addResource(t,n,i,s){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let l=[t,n];i&&(l=l.concat(o?i.split(o):i)),t.indexOf(".")>-1&&(l=t.split("."),s=n,n=l[1]),this.addNamespaces(n),l1(this.data,l,s),a.silent||this.emit("added",t,n,i,s)}addResources(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const a in i)(typeof i[a]=="string"||Array.isArray(i[a]))&&this.addResource(t,n,a,i[a],{silent:!0});s.silent||this.emit("added",t,n,i)}addResourceBundle(t,n,i,s,a){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[t,n];t.indexOf(".")>-1&&(l=t.split("."),s=i,i=n,n=l[1]),this.addNamespaces(n);let c=gl(this.data,l)||{};o.skipCopy||(i=JSON.parse(JSON.stringify(i))),s?H0(c,i,a):c={...c,...i},l1(this.data,l,c),o.silent||this.emit("added",t,n,i)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(i=>n[i]&&Object.keys(n[i]).length>0)}toJSON(){return this.data}}var W0={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,i,s){return e.forEach(a=>{this.processors[a]&&(t=this.processors[a].process(t,n,i,s))}),t}};const d1={};class vl extends Ul{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),JE(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=or.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const i=this.resolve(t,n);return i&&i.res!==void 0}extractFromKey(t,n){let i=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let a=n.ns||this.options.defaultNS||[];const o=i&&t.indexOf(i)>-1,l=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!az(t,i,s);if(o&&!l){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:a};const u=t.split(i);(i!==s||i===s&&this.options.ns.indexOf(u[0])>-1)&&(a=u.shift()),t=u.join(s)}return typeof a=="string"&&(a=[a]),{key:t,namespaces:a}}translate(t,n,i){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const s=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(t[t.length-1],n),c=l[l.length-1],u=n.lng||this.language,h=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(h){const m=n.nsSeparator||this.options.nsSeparator;return s?{res:`${c}${m}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:`${c}${m}${o}`}return s?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:o}const f=this.resolve(t,n);let p=f&&f.res;const x=f&&f.usedKey||o,_=f&&f.exactUsedKey||o,y=Object.prototype.toString.apply(p),C=["[object Number]","[object Function]","[object RegExp]"],j=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,d=!this.i18nFormat||this.i18nFormat.handleAsObject;if(d&&p&&typeof p!="string"&&typeof p!="boolean"&&typeof p!="number"&&C.indexOf(y)<0&&!(typeof j=="string"&&Array.isArray(p))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const m=this.options.returnedObjectHandler?this.options.returnedObjectHandler(x,p,{...n,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return s?(f.res=m,f.usedParams=this.getUsedParamsDetails(n),f):m}if(a){const m=Array.isArray(p),v=m?[]:{},w=m?_:x;for(const g in p)if(Object.prototype.hasOwnProperty.call(p,g)){const S=`${w}${a}${g}`;v[g]=this.translate(S,{...n,joinArrays:!1,ns:l}),v[g]===S&&(v[g]=p[g])}p=v}}else if(d&&typeof j=="string"&&Array.isArray(p))p=p.join(j),p&&(p=this.extendTranslation(p,t,n,i));else{let m=!1,v=!1;const w=n.count!==void 0&&typeof n.count!="string",g=vl.hasDefaultValue(n),S=w?this.pluralResolver.getSuffix(u,n.count,n):"",E=n.ordinal&&w?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",L=w&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),R=L&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${S}`]||n[`defaultValue${E}`]||n.defaultValue;!this.isValidLookup(p)&&g&&(m=!0,p=R),this.isValidLookup(p)||(v=!0,p=o);const F=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&v?void 0:p,Y=g&&R!==p&&this.options.updateMissing;if(v||m||Y){if(this.logger.log(Y?"updateKey":"missingKey",u,c,o,Y?R:p),a){const K=this.resolve(o,{...n,keySeparator:!1});K&&K.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let q=[];const O=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&O&&O[0])for(let K=0;K{const B=g&&I!==p?I:F;this.options.missingKeyHandler?this.options.missingKeyHandler(K,c,J,B,Y,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(K,c,J,B,Y,n),this.emit("missingKey",K,c,J,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&w?q.forEach(K=>{const J=this.pluralResolver.getSuffixes(K,n);L&&n[`defaultValue${this.options.pluralSeparator}zero`]&&J.indexOf(`${this.options.pluralSeparator}zero`)<0&&J.push(`${this.options.pluralSeparator}zero`),J.forEach(I=>{U([K],o+I,n[`defaultValue${I}`]||R)})}):U(q,o,R))}p=this.extendTranslation(p,t,n,f,i),v&&p===o&&this.options.appendNamespaceToMissingKey&&(p=`${c}:${o}`),(v||m)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?p=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${o}`:o,m?p:void 0):p=this.options.parseMissingKeyHandler(p))}return s?(f.res=p,f.usedParams=this.getUsedParamsDetails(n),f):p}extendTranslation(t,n,i,s,a){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});const u=typeof t=="string"&&(i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let h;if(u){const p=t.match(this.interpolator.nestingRegexp);h=p&&p.length}let f=i.replace&&typeof i.replace!="string"?i.replace:i;if(this.options.interpolation.defaultVariables&&(f={...this.options.interpolation.defaultVariables,...f}),t=this.interpolator.interpolate(t,f,i.lng||this.language||s.usedLng,i),u){const p=t.match(this.interpolator.nestingRegexp),x=p&&p.length;h1&&arguments[1]!==void 0?arguments[1]:{},i,s,a,o,l;return typeof t=="string"&&(t=[t]),t.forEach(c=>{if(this.isValidLookup(i))return;const u=this.extractFromKey(c,n),h=u.key;s=h;let f=u.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const p=n.count!==void 0&&typeof n.count!="string",x=p&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),_=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",y=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);f.forEach(C=>{this.isValidLookup(i)||(l=C,!d1[`${y[0]}-${C}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(l)&&(d1[`${y[0]}-${C}`]=!0,this.logger.warn(`key "${s}" for languages "${y.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),y.forEach(j=>{if(this.isValidLookup(i))return;o=j;const d=[h];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(d,h,j,C,n);else{let v;p&&(v=this.pluralResolver.getSuffix(j,n.count,n));const w=`${this.options.pluralSeparator}zero`,g=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(p&&(d.push(h+v),n.ordinal&&v.indexOf(g)===0&&d.push(h+v.replace(g,this.options.pluralSeparator)),x&&d.push(h+w)),_){const S=`${h}${this.options.contextSeparator}${n.context}`;d.push(S),p&&(d.push(S+v),n.ordinal&&v.indexOf(g)===0&&d.push(S+v.replace(g,this.options.pluralSeparator)),x&&d.push(S+w))}}let m;for(;m=d.pop();)this.isValidLookup(i)||(a=m,i=this.getResource(j,C,m,n))}))})}),{res:i,usedKey:s,exactUsedKey:a,usedLng:o,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,i,s):this.resourceStore.getResource(t,n,i,s)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=t.replace&&typeof t.replace!="string";let s=i?t.replace:t;if(i&&typeof t.count<"u"&&(s.count=t.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!i){s={...s};for(const a of n)delete s[a]}return s}static hasDefaultValue(t){const n="defaultValue";for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&n===i.substring(0,n.length)&&t[i]!==void 0)return!0;return!1}}function Ac(e){return e.charAt(0).toUpperCase()+e.slice(1)}class u1{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=or.create("languageUtils")}getScriptPartFromCode(t){if(t=xl(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=xl(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let i=t.split("-");return this.options.lowerCaseLng?i=i.map(s=>s.toLowerCase()):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),n.indexOf(i[1].toLowerCase())>-1&&(i[1]=Ac(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),n.indexOf(i[1].toLowerCase())>-1&&(i[1]=Ac(i[1].toLowerCase())),n.indexOf(i[2].toLowerCase())>-1&&(i[2]=Ac(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(i=>{if(n)return;const s=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(s))&&(n=s)}),!n&&this.options.supportedLngs&&t.forEach(i=>{if(n)return;const s=this.getLanguagePartFromCode(i);if(this.isSupportedCode(s))return n=s;n=this.options.supportedLngs.find(a=>{if(a===s||!(a.indexOf("-")<0&&s.indexOf("-")<0)&&(a.indexOf("-")>0&&s.indexOf("-")<0&&a.substring(0,a.indexOf("-"))===s||a.indexOf(s)===0&&s.length>1))return a})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let i=t[n];return i||(i=t[this.getScriptPartFromCode(n)]),i||(i=t[this.formatLanguageCode(n)]),i||(i=t[this.getLanguagePartFromCode(n)]),i||(i=t.default),i||[]}toResolveHierarchy(t,n){const i=this.getFallbackCodes(n||this.options.fallbackLng||[],t),s=[],a=o=>{o&&(this.isSupportedCode(o)?s.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(t))):typeof t=="string"&&a(this.formatLanguageCode(t)),i.forEach(o=>{s.indexOf(o)<0&&a(this.formatLanguageCode(o))}),s}}let oz=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],lz={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const cz=["v1","v2","v3"],dz=["v4"],h1={zero:0,one:1,two:2,few:3,many:4,other:5};function uz(){const e={};return oz.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:lz[t.fc]}})}),e}class hz{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=or.create("pluralResolver"),(!this.options.compatibilityJSON||dz.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=uz()}addRule(t,n){this.rules[t]=n}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(xl(t==="dev"?"en":t),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,n);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}getPluralFormsOfKey(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,i).map(s=>`${n}${s}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,n);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort((s,a)=>h1[s]-h1[a]).map(s=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${s}`):i.numbers.map(s=>this.getSuffix(t,s,n)):[]}getSuffix(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s=this.getRule(t,i);return s?this.shouldUseIntlApi()?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${s.select(n)}`:this.getSuffixRetroCompatible(s,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const i=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let s=t.numbers[i];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(s===2?s="plural":s===1&&(s=""));const a=()=>this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString();return this.options.compatibilityJSON==="v1"?s===1?"":typeof s=="number"?`_plural_${s.toString()}`:a():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?a():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}shouldUseIntlApi(){return!cz.includes(this.options.compatibilityJSON)}}function p1(e,t,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=ez(e,t,n);return!a&&s&&typeof n=="string"&&(a=Od(e,n,i),a===void 0&&(a=Od(t,n,i))),a}class pz{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=or.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:i,useRawValueToEscape:s,prefix:a,prefixEscaped:o,suffix:l,suffixEscaped:c,formatSeparator:u,unescapeSuffix:h,unescapePrefix:f,nestingPrefix:p,nestingPrefixEscaped:x,nestingSuffix:_,nestingSuffixEscaped:y,nestingOptionsSeparator:C,maxReplaces:j,alwaysFormat:d}=t.interpolation;this.escape=n!==void 0?n:nz,this.escapeValue=i!==void 0?i:!0,this.useRawValueToEscape=s!==void 0?s:!1,this.prefix=a?Wi(a):o||"{{",this.suffix=l?Wi(l):c||"}}",this.formatSeparator=u||",",this.unescapePrefix=h?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=p?Wi(p):x||Wi("$t("),this.nestingSuffix=_?Wi(_):y||Wi(")"),this.nestingOptionsSeparator=C||",",this.maxReplaces=j||1e3,this.alwaysFormat=d!==void 0?d:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,i)=>n&&n.source===i?(n.lastIndex=0,n):new RegExp(i,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,i,s){let a,o,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(x){return x.replace(/\$/g,"$$$$")}const h=x=>{if(x.indexOf(this.formatSeparator)<0){const j=p1(n,c,x,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(j,void 0,i,{...s,...n,interpolationkey:x}):j}const _=x.split(this.formatSeparator),y=_.shift().trim(),C=_.join(this.formatSeparator).trim();return this.format(p1(n,c,y,this.options.keySeparator,this.options.ignoreJSONStructure),C,i,{...s,...n,interpolationkey:y})};this.resetRegExp();const f=s&&s.missingInterpolationHandler||this.options.missingInterpolationHandler,p=s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:x=>u(x)},{regex:this.regexp,safeValue:x=>this.escapeValue?u(this.escape(x)):u(x)}].forEach(x=>{for(l=0;a=x.regex.exec(t);){const _=a[1].trim();if(o=h(_),o===void 0)if(typeof f=="function"){const C=f(t,a,s);o=typeof C=="string"?C:""}else if(s&&Object.prototype.hasOwnProperty.call(s,_))o="";else if(p){o=a[0];continue}else this.logger.warn(`missed to pass in variable ${_} for interpolating ${t}`),o="";else typeof o!="string"&&!this.useRawValueToEscape&&(o=o1(o));const y=x.safeValue(o);if(t=t.replace(a[0],y),p?(x.regex.lastIndex+=o.length,x.regex.lastIndex-=a[0].length):x.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,a,o;function l(c,u){const h=this.nestingOptionsSeparator;if(c.indexOf(h)<0)return c;const f=c.split(new RegExp(`${h}[ ]*{`));let p=`{${f[1]}`;c=f[0],p=this.interpolate(p,o);const x=p.match(/'/g),_=p.match(/"/g);(x&&x.length%2===0&&!_||_.length%2!==0)&&(p=p.replace(/'/g,'"'));try{o=JSON.parse(p),u&&(o={...u,...o})}catch(y){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,y),`${c}${h}${p}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,c}for(;s=this.nestingRegexp.exec(t);){let c=[];o={...i},o=o.replace&&typeof o.replace!="string"?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(s[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(s[1])){const h=s[1].split(this.formatSeparator).map(f=>f.trim());s[1]=h.shift(),c=h,u=!0}if(a=n(l.call(this,s[1].trim(),o),o),a&&s[0]===t&&typeof a!="string")return a;typeof a!="string"&&(a=o1(a)),a||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${t}`),a=""),u&&(a=c.reduce((h,f)=>this.format(h,f,i.lng,{...i,interpolationkey:s[1].trim()}),a.trim())),t=t.replace(s[0],a),this.regexp.lastIndex=0}return t}}function fz(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const i=e.split("(");t=i[0].toLowerCase().trim();const s=i[1].substring(0,i[1].length-1);t==="currency"&&s.indexOf(":")<0?n.currency||(n.currency=s.trim()):t==="relativetime"&&s.indexOf(":")<0?n.range||(n.range=s.trim()):s.split(";").forEach(a=>{if(a){const[o,...l]=a.split(":"),c=l.join(":").trim().replace(/^'+|'+$/g,""),u=o.trim();n[u]||(n[u]=c),c==="false"&&(n[u]=!1),c==="true"&&(n[u]=!0),isNaN(c)||(n[u]=parseInt(c,10))}})}return{formatName:t,formatOptions:n}}function qi(e){const t={};return function(n,i,s){const a=i+JSON.stringify(s);let o=t[a];return o||(o=e(xl(i),s),t[a]=o),o(n)}}class mz{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=or.create("formatter"),this.options=t,this.formats={number:qi((n,i)=>{const s=new Intl.NumberFormat(n,{...i});return a=>s.format(a)}),currency:qi((n,i)=>{const s=new Intl.NumberFormat(n,{...i,style:"currency"});return a=>s.format(a)}),datetime:qi((n,i)=>{const s=new Intl.DateTimeFormat(n,{...i});return a=>s.format(a)}),relativetime:qi((n,i)=>{const s=new Intl.RelativeTimeFormat(n,{...i});return a=>s.format(a,i.range||"day")}),list:qi((n,i)=>{const s=new Intl.ListFormat(n,{...i});return a=>s.format(a)})},this.init(t)}init(t){const n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=qi(n)}format(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((a,o)=>{const{formatName:l,formatOptions:c}=fz(o);if(this.formats[l]){let u=a;try{const h=s&&s.formatParams&&s.formatParams[s.interpolationkey]||{},f=h.locale||h.lng||s.locale||s.lng||i;u=this.formats[l](a,f,{...c,...s,...h})}catch(h){this.logger.warn(h)}return u}else this.logger.warn(`there was no format function for ${l}`);return a},t)}}function gz(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class xz extends Ul{constructor(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=i,this.languageUtils=i.languageUtils,this.options=s,this.logger=or.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=s.maxParallelReads||10,this.readingCalls=0,this.maxRetries=s.maxRetries>=0?s.maxRetries:5,this.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(i,s.backend,s)}queueLoad(t,n,i,s){const a={},o={},l={},c={};return t.forEach(u=>{let h=!0;n.forEach(f=>{const p=`${u}|${f}`;!i.reload&&this.store.hasResourceBundle(u,f)?this.state[p]=2:this.state[p]<0||(this.state[p]===1?o[p]===void 0&&(o[p]=!0):(this.state[p]=1,h=!1,o[p]===void 0&&(o[p]=!0),a[p]===void 0&&(a[p]=!0),c[f]===void 0&&(c[f]=!0)))}),h||(l[u]=!0)}),(Object.keys(a).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(t,n,i){const s=t.split("|"),a=s[0],o=s[1];n&&this.emit("failedLoading",a,o,n),i&&this.store.addResourceBundle(a,o,i,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2;const l={};this.queue.forEach(c=>{ZE(c.loaded,[a],o),gz(c,t),n&&c.errors.push(n),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(u=>{l[u]||(l[u]={});const h=c.loaded[u];h.length&&h.forEach(f=>{l[u][f]===void 0&&(l[u][f]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:i,tried:s,wait:a,callback:o});return}this.readingCalls++;const l=(u,h)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(u&&h&&s{this.read.call(this,t,n,i,s+1,a*2,o)},a);return}o(u,h)},c=this.backend[i].bind(this.backend);if(c.length===2){try{const u=c(t,n);u&&typeof u.then=="function"?u.then(h=>l(null,h)).catch(l):l(null,u)}catch(u){l(u)}return}return c(t,n,l)}prepareLoading(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const a=this.queueLoad(t,n,i,s);if(!a.toLoad.length)return a.pending.length||s(),null;a.toLoad.forEach(o=>{this.loadOne(o)})}load(t,n,i){this.prepareLoading(t,n,{},i)}reload(t,n,i){this.prepareLoading(t,n,{reload:!0},i)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const i=t.split("|"),s=i[0],a=i[1];this.read(s,a,"read",void 0,void 0,(o,l)=>{o&&this.logger.warn(`${n}loading namespace ${a} for language ${s} failed`,o),!o&&l&&this.logger.log(`${n}loaded namespace ${a} for language ${s}`,l),this.loaded(t,o,l)})}saveMissing(t,n,i,s,a){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${i}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(i==null||i==="")){if(this.backend&&this.backend.create){const c={...o,isUpdate:a},u=this.backend.create.bind(this.backend);if(u.length<6)try{let h;u.length===5?h=u(t,n,i,s,c):h=u(t,n,i,s),h&&typeof h.then=="function"?h.then(f=>l(null,f)).catch(l):l(null,h)}catch(h){l(h)}else u(t,n,i,s,l,c)}!t||!t[0]||this.store.addResource(t[0],n,i,s)}}}function f1(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if(typeof e[1]=="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(i=>{t[i]=n[i]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function m1(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function fo(){}function vz(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]=="function"&&(e[t]=e[t].bind(e))})}class La extends Ul{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=m1(t),this.services={},this.logger=or,this.modules={external:[]},vz(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(i=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const s=f1();this.options={...s,...this.options,...m1(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...s.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);function a(c){return c?typeof c=="function"?new c:c:null}if(!this.options.isClone){this.modules.logger?or.init(a(this.modules.logger),this.options):or.init(null,this.options);let c;this.modules.formatter?c=this.modules.formatter:typeof Intl<"u"&&(c=mz);const u=new u1(this.options);this.store=new c1(this.options.resources,this.options);const h=this.services;h.logger=or,h.resourceStore=this.store,h.languageUtils=u,h.pluralResolver=new hz(u,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),c&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(h.formatter=a(c),h.formatter.init(h,this.options),this.options.interpolation.format=h.formatter.format.bind(h.formatter)),h.interpolator=new pz(this.options),h.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},h.backendConnector=new xz(a(this.modules.backend),h.resourceStore,h,this.options),h.backendConnector.on("*",function(f){for(var p=arguments.length,x=new Array(p>1?p-1:0),_=1;_1?p-1:0),_=1;_{f.init&&f.init(this)})}if(this.format=this.options.interpolation.format,i||(i=fo),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.length>0&&c[0]!=="dev"&&(this.options.lng=c[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(c=>{this[c]=function(){return t.store[c](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(c=>{this[c]=function(){return t.store[c](...arguments),t}});const o=qs(),l=()=>{const c=(u,h)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(h),i(u,h)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return c(null,this.t.bind(this));this.changeLanguage(this.options.lng,c)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),o}loadResources(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fo;const i=typeof t=="string"?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const s=[],a=o=>{!o||o==="cimode"||this.services.languageUtils.toResolveHierarchy(o).forEach(l=>{l!=="cimode"&&s.indexOf(l)<0&&s.push(l)})};i?a(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(o=>a(o)),this.options.preload&&this.options.preload.forEach(o=>a(o)),this.services.backendConnector.load(s,this.options.ns,o=>{!o&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(o)})}else n(null)}reloadResources(t,n,i){const s=qs();return t||(t=this.languages),n||(n=this.options.ns),i||(i=fo),this.services.backendConnector.reload(t,n,a=>{s.resolve(),i(a)}),s}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&W0.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;break}}}changeLanguage(t,n){var i=this;this.isLanguageChangingTo=t;const s=qs();this.emit("languageChanging",t);const a=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},o=(c,u)=>{u?(a(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,s.resolve(function(){return i.t(...arguments)}),n&&n(c,function(){return i.t(...arguments)})},l=c=>{!t&&!c&&this.services.languageDetector&&(c=[]);const u=typeof c=="string"?c:this.services.languageUtils.getBestMatchFromCodes(c);u&&(this.language||a(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,h=>{o(h,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),s}getFixedT(t,n,i){var s=this;const a=function(o,l){let c;if(typeof l!="object"){for(var u=arguments.length,h=new Array(u>2?u-2:0),f=2;f`${c.keyPrefix}${p}${_}`):x=c.keyPrefix?`${c.keyPrefix}${p}${o}`:o,s.t(x,c)};return typeof t=="string"?a.lng=t:a.lngs=t,a.ns=n,a.keyPrefix=i,a}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=n.lng||this.resolvedLanguage||this.languages[0],s=this.options?this.options.fallbackLng:!1,a=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;const o=(l,c)=>{const u=this.services.backendConnector.state[`${l}|${c}`];return u===-1||u===2};if(n.precheck){const l=n.precheck(this,o);if(l!==void 0)return l}return!!(this.hasResourceBundle(i,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(i,t)&&(!s||o(a,t)))}loadNamespaces(t,n){const i=qs();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(s=>{this.options.ns.indexOf(s)<0&&this.options.ns.push(s)}),this.loadResources(s=>{i.resolve(),n&&n(s)}),i):(n&&n(),Promise.resolve())}loadLanguages(t,n){const i=qs();typeof t=="string"&&(t=[t]);const s=this.options.preload||[],a=t.filter(o=>s.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return a.length?(this.options.preload=s.concat(a),this.loadResources(o=>{i.resolve(),n&&n(o)}),i):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],i=this.services&&this.services.languageUtils||new u1(f1());return n.indexOf(i.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new La(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fo;const i=t.forkResourceStore;i&&delete t.forkResourceStore;const s={...this.options,...t,isClone:!0},a=new La(s);return(t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),["store","services","language"].forEach(o=>{a[o]=this[o]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},i&&(a.store=new c1(this.store.data,s),a.services.resourceStore=a.store),a.translator=new vl(a.services,s),a.translator.on("*",function(o){for(var l=arguments.length,c=new Array(l>1?l-1:0),u=1;u",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},yz=e=>jz[e],bz=e=>e.replace(_z,yz);let g1={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:bz};const wz=(e={})=>{g1={...g1,...e}},Cz={type:"3rdParty",init(e){wz(e.options.react)}};b.createContext();const kz={"avatar:default":"avatar"},Sz={index:kz},Nz={"avatar:default":"avatar"},$z={index:Nz},Ez={en:Sz,fr:$z};Jt.use(Cz).init({resources:Ez,lng:"en",ns:["index"],defaultNS:"index",interpolation:{escapeValue:!1}});b.createContext(void 0);const zz="_page_1v5u5_42",Lz="_header_1v5u5_50",Iz="_section_1v5u5_69",Rz="_codeWrapper_1v5u5_92",Az="_demoWrapper_1v5u5_101",Pz="_examples_1v5u5_132",Mz="_example_1v5u5_132",Tz="_description_1v5u5_187",Fz="_demo_1v5u5_101",$e={page:zz,header:Lz,section:Iz,codeWrapper:Rz,demoWrapper:Az,examples:Pz,example:Mz,description:Tz,demo:Fz,"accordion-down":"_accordion-down_1v5u5_1","accordion-up":"_accordion-up_1v5u5_1"},Bz=()=>{const{t:e}=Le();return r.jsxs("div",{className:$e.examples,children:[r.jsxs("div",{className:$e.example,children:[r.jsx("h3",{children:e("components.button.examples.basic.title")}),r.jsx("p",{className:$e.description,children:e("components.button.examples.basic.description")}),r.jsx("div",{className:$e.demo,children:r.jsx(N,{variant:"primary",children:"Click me"})}),r.jsx("div",{className:$e.codeWrapper,children:r.jsx(me,{code:` +*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",o=0;o{if(!o)return k.jsx(k.Fragment,{children:a});const C=()=>j||y?null:Array(u).fill(null).map((w,g)=>k.jsx("div",{className:Un(St.skeleton,St[e],St[`animation-${t}`]),style:{width:typeof n=="number"?`${n}px`:n,height:typeof i=="number"?`${i}px`:i,borderRadius:l,...c}},g)),_=()=>h?k.jsx("div",{className:Un(St.skeleton,St.avatar,St[`animation-${t}`],St[`avatar-${p}`]),style:{width:typeof f=="number"?`${f}px`:f,height:typeof f=="number"?`${f}px`:f}}):null,d=()=>{if(!j)return null;const w=[{width:"100%",height:"16px"},{width:"100%",height:"16px"},{width:"92%",height:"16px"},{width:"60%",height:"16px"}];return k.jsx("div",{className:St.paragraph,children:w.map((g,S)=>k.jsx("div",{className:Un(St.skeleton,St[`animation-${t}`]),style:{width:g.width,height:g.height}},`p-${S}`))})},m=()=>y?k.jsx("div",{className:Un(St.skeleton,St.title,St[`animation-${t}`])}):null,v=()=>e==="card"?k.jsxs("div",{className:Un(St.card,{[St.active]:x}),children:[_(),k.jsxs("div",{className:St.cardContent,children:[m(),d()]})]}):k.jsxs(k.Fragment,{children:[_(),k.jsxs("div",{className:St.content,children:[m(),C(),d()]})]});return k.jsx("div",{className:Un(St.skeletonRoot,{[St.withAvatar]:h},s),children:v()})},CS="_commonRippleEffect_14peo_57",kS="_alert_14peo_57",SS="_closeButton_14peo_57",NS="_collapsible_14peo_57",$S="_expandButton_14peo_57",ES="_rippleRect_14peo_1",zS="_commonErrorAnimation_14peo_83",LS="_shake_14peo_1",IS="_commonClickedAnimation_14peo_87",RS="_clickedAnimation_14peo_1",AS="_commonStarAnimation_14peo_91",PS="_starAnimation_14peo_1",MS="_withElevation_14peo_104",TS="_rounded_14peo_107",FS="_title_14peo_110",BS="_small_14peo_130",OS="_icon_14peo_134",DS="_medium_14peo_137",US="_large_14peo_144",HS="_info_14peo_151",WS="_filled_14peo_155",qS="_outlined_14peo_159",VS="_success_14peo_163",KS="_warning_14peo_175",GS="_error_14peo_187",QS="_banner_14peo_199",YS="_content_14peo_208",JS="_message_14peo_215",XS="_action_14peo_218",ZS="_withAnimation_14peo_236",eN="_alertSlideIn_14peo_1",tN="_alertFadeIn_14peo_1",nN="_alertBounce_14peo_1",rN="_alertZoom_14peo_1",iN="_expanded_14peo_248",sN="_expandContent_14peo_1",aN="_slideDown_14peo_1",oN="_fadeIn_14peo_1",mt={commonRippleEffect:CS,alert:kS,closeButton:SS,collapsible:NS,expandButton:$S,rippleRect:ES,commonErrorAnimation:zS,shake:LS,commonClickedAnimation:IS,clickedAnimation:RS,commonStarAnimation:AS,starAnimation:PS,withElevation:MS,rounded:TS,title:FS,small:BS,icon:OS,medium:DS,large:US,info:HS,filled:WS,outlined:qS,success:VS,warning:KS,error:GS,banner:QS,content:YS,message:JS,action:XS,withAnimation:ZS,"animation-slideIn":"_animation-slideIn_14peo_236",alertSlideIn:eN,"animation-fadeIn":"_animation-fadeIn_14peo_239",alertFadeIn:tN,"animation-bounce":"_animation-bounce_14peo_242",alertBounce:nN,"animation-zoom":"_animation-zoom_14peo_245",alertZoom:rN,expanded:iN,expandContent:sN,slideDown:aN,fadeIn:oN},lN={info:k.jsx(jC,{}),success:k.jsx(gC,{}),warning:k.jsx(yC,{}),error:k.jsx(_C,{})},cN=["slideIn","fadeIn","bounce","zoom"],Ne=({title:e,children:t,variant:n="info",size:i="medium",type:s="default",showIcon:a=!0,icon:o,closable:l=!1,closeIcon:c,onClose:u,animation:h=!0,animationName:f="slideIn",className:p,style:x,action:j,outlined:y=!1,filled:C=!1,banner:_=!1,elevation:d=!1,rounded:m=!0,borderRadius:v,collapsible:w=!1,defaultExpanded:g=!0,onExpand:S})=>{const[E,L]=b.useState(!0),[R,F]=b.useState(g),Y=b.useCallback(K=>{L(!1),u==null||u(K)},[u]),q=b.useCallback(()=>{F(K=>(S==null||S(!K),!K))},[S]);if(!E)return null;const O=Un(mt.alert,mt[n],mt[i],mt[s],{[mt.withIcon]:a,[mt.withTitle]:e,[mt.outlined]:y,[mt.filled]:C,[mt.banner]:_,[mt.withAnimation]:h,[mt[`animation-${f}`]]:h&&cN.includes(f),[mt.withElevation]:d,[mt.rounded]:m,[mt.expanded]:R,[mt.collapsible]:w},p),U={...x,...v&&{borderRadius:v}};return k.jsxs("div",{className:O,style:U,role:"alert","data-variant":n,"data-size":i,"data-type":s,children:[a&&k.jsx("span",{className:mt.icon,role:"img","aria-label":`${n} icon`,children:o||lN[n]}),k.jsxs("div",{className:mt.content,children:[e&&k.jsxs("div",{className:mt.title,children:[e,w&&k.jsx("button",{className:mt.expandButton,onClick:q,"aria-label":R?"收起":"展开","aria-expanded":R,children:R?k.jsx(vC,{}):k.jsx(B0,{})})]}),(!w||R)&&k.jsx("div",{className:mt.message,children:t})]}),j&&k.jsx("div",{className:mt.action,children:j}),l&&k.jsx("button",{className:mt.closeButton,onClick:Y,"aria-label":"Close",type:"button",children:c||k.jsx(Da,{})})]})},dN="_commonRippleEffect_18hxg_57",uN="_rippleRect_18hxg_1",hN="_commonErrorAnimation_18hxg_83",pN="_shake_18hxg_1",fN="_commonClickedAnimation_18hxg_87",mN="_clickedAnimation_18hxg_1",gN="_commonStarAnimation_18hxg_91",xN="_starAnimation_18hxg_1",vN="_space_18hxg_95",_N="_block_18hxg_99",jN="_horizontal_18hxg_103",yN="_vertical_18hxg_106",bN="_wrap_18hxg_109",wN="_compact_18hxg_112",CN="_item_18hxg_112",kN="_split_18hxg_152",SN="_responsive_18hxg_159",NN="_slideDown_18hxg_1",$N="_fadeIn_18hxg_1",er={commonRippleEffect:dN,rippleRect:uN,commonErrorAnimation:hN,shake:pN,commonClickedAnimation:fN,clickedAnimation:mN,commonStarAnimation:gN,starAnimation:xN,space:vN,block:_N,horizontal:jN,vertical:yN,wrap:bN,compact:wN,item:CN,"align-start":"_align-start_18hxg_115","align-end":"_align-end_18hxg_118","align-center":"_align-center_18hxg_121","align-baseline":"_align-baseline_18hxg_124","align-stretch":"_align-stretch_18hxg_127","justify-start":"_justify-start_18hxg_130","justify-end":"_justify-end_18hxg_133","justify-center":"_justify-center_18hxg_136","justify-space-around":"_justify-space-around_18hxg_139","justify-space-between":"_justify-space-between_18hxg_142","justify-space-evenly":"_justify-space-evenly_18hxg_145",split:kN,responsive:SN,slideDown:NN,fadeIn:$N},W=({align:e,justify:t,direction:n="horizontal",size:i="medium",wrap:s=!1,split:a,compact:o=!1,block:l=!1,className:c,style:u,children:h})=>{const f=xe.Children.toArray(h).filter(y=>y!=null),p=()=>{if(typeof i=="number")return i;const y={small:8,medium:16,large:24};return o?y[i]/2:y[i]},x=Un(er.space,{[er.vertical]:n==="vertical",[er.horizontal]:n==="horizontal",[er.wrap]:s,[er.block]:l,[er[`align-${e}`]]:e,[er[`justify-${t}`]]:t,[er.compact]:o},c),j={marginRight:n==="horizontal"?p():0,marginBottom:n==="vertical"||s?p():0};return k.jsx("div",{className:x,style:u,role:"group","aria-orientation":n,children:f.map((y,C)=>k.jsxs(xe.Fragment,{children:[k.jsx("div",{className:er.item,style:j,children:y}),a&&C{const f={...h,...n&&{borderColor:n},...i&&{borderWidth:i},...t==="vertical"&&s&&{height:s},...t==="horizontal"&&s&&{width:s},...a&&{marginTop:t==="horizontal"?a:0,marginBottom:t==="horizontal"?a:0,marginLeft:t==="vertical"?a:0,marginRight:t==="vertical"?a:0}},p=Un(ui.divider,ui[e],ui[t],o&&ui.withText,o&&ui[`text${l.charAt(0).toUpperCase()+l.slice(1)}`],c&&ui.elevation,u);return k.jsx("div",{className:p,style:f,children:o&&k.jsx("span",{className:ui.text,children:o})})},gt=xe.memo(JN),XN="_commonRippleEffect_1rurt_57",ZN="_rippleRect_1rurt_1",e$="_commonErrorAnimation_1rurt_83",t$="_shake_1rurt_1",n$="_commonClickedAnimation_1rurt_87",r$="_clickedAnimation_1rurt_1",i$="_commonStarAnimation_1rurt_91",s$="_starAnimation_1rurt_1",a$="_tag_1rurt_95",o$="_small_1rurt_104",l$="_medium_1rurt_109",c$="_large_1rurt_114",d$="_square_1rurt_119",u$="_rounded_1rurt_122",h$="_circle_1rurt_125",p$="_primary_1rurt_132",f$="_success_1rurt_136",m$="_warning_1rurt_140",g$="_error_1rurt_144",x$="_info_1rurt_148",v$="_clickable_1rurt_152",_$="_disabled_1rurt_152",j$="_bordered_1rurt_161",y$="_elevation_1rurt_165",b$="_icon_1rurt_173",w$="_content_1rurt_178",C$="_closeIcon_1rurt_181",k$="_ripple_1rurt_192",S$="_rippleAnimation_1rurt_1",N$="_slideDown_1rurt_1",$$="_fadeIn_1rurt_1",Cn={commonRippleEffect:XN,rippleRect:ZN,commonErrorAnimation:e$,shake:t$,commonClickedAnimation:n$,clickedAnimation:r$,commonStarAnimation:i$,starAnimation:s$,tag:a$,small:o$,medium:l$,large:c$,square:d$,rounded:u$,circle:h$,default:"_default_1rurt_128",primary:p$,success:f$,warning:m$,error:g$,info:x$,clickable:v$,disabled:_$,bordered:j$,elevation:y$,icon:b$,content:w$,closeIcon:C$,ripple:k$,rippleAnimation:S$,slideDown:N$,fadeIn:$$},ve=({children:e,variant:t="default",size:n="medium",shape:i="rounded",closable:s=!1,onClose:a,clickable:o=!1,onClick:l,icon:c,bordered:u=!1,elevation:h=!1,bgColor:f,textColor:p,borderColor:x,className:j,style:y,disabled:C=!1,closeIcon:_,ripple:d=!0})=>{const m=b.useCallback(S=>{S.stopPropagation(),!C&&a&&a(S)},[C,a]),v=b.useCallback(S=>{!C&&o&&l&&l(S)},[C,o,l]),w=b.useCallback(S=>{if(!d||C)return;const E=S.currentTarget,L=E.getBoundingClientRect(),R=document.createElement("span"),F=Math.max(L.width,L.height),Y=F/2;R.style.width=R.style.height=`${F}px`,R.style.left=`${S.clientX-L.left-Y}px`,R.style.top=`${S.clientY-L.top-Y}px`,R.className=Cn.ripple,E.appendChild(R),setTimeout(()=>{E.removeChild(R)},600)},[d,C]),g={...y,backgroundColor:f,color:p,borderColor:x};return k.jsxs("div",{className:Un(Cn.tag,Cn[t],Cn[n],Cn[i],{[Cn.clickable]:o&&!C,[Cn.bordered]:u,[Cn.elevation]:h,[Cn.disabled]:C},j),style:g,onClick:S=>{v(S),w(S)},children:[c&&k.jsx("span",{className:Cn.icon,children:c}),k.jsx("span",{className:Cn.content,children:e}),s&&k.jsx("span",{className:Cn.closeIcon,onClick:m,children:_||k.jsx(Da,{})})]})},E$="_commonRippleEffect_63kgx_57",z$="_rippleRect_63kgx_1",L$="_commonErrorAnimation_63kgx_83",I$="_shake_63kgx_1",R$="_commonClickedAnimation_63kgx_87",A$="_clickedAnimation_63kgx_1",P$="_commonStarAnimation_63kgx_91",M$="_starAnimation_63kgx_1",T$="_disabled_63kgx_105",F$="_label_63kgx_109",B$="_switchBase_63kgx_135",O$="_track_63kgx_154",D$="_checked_63kgx_161",U$="_thumb_63kgx_165",H$="_checkedLarge_63kgx_184",W$="_square_63kgx_194",q$="_loading_63kgx_197",V$="_switchLoading_63kgx_1",K$="_rippleEffect_63kgx_208",G$="_ripple_63kgx_208",Q$="_small_63kgx_225",Y$="_large_63kgx_243",J$="_primary_63kgx_259",X$="_secondary_63kgx_267",Z$="_success_63kgx_274",eE="_warning_63kgx_281",tE="_error_63kgx_288",nE="_icon_63kgx_295",rE="_loadingIcon_63kgx_314",iE="_slideDown_63kgx_1",sE="_fadeIn_63kgx_1",Bt={commonRippleEffect:E$,rippleRect:z$,commonErrorAnimation:L$,shake:I$,commonClickedAnimation:R$,clickedAnimation:A$,commonStarAnimation:P$,starAnimation:M$,switch:"_switch_63kgx_95",disabled:T$,"label-start":"_label-start_63kgx_109",label:F$,"label-end":"_label-end_63kgx_115","label-top":"_label-top_63kgx_118","label-bottom":"_label-bottom_63kgx_124",switchBase:B$,track:O$,checked:D$,thumb:U$,checkedLarge:H$,square:W$,loading:q$,switchLoading:V$,rippleEffect:K$,ripple:G$,small:Q$,large:Y$,primary:J$,secondary:X$,success:Z$,warning:eE,error:tE,icon:nE,loadingIcon:rE,slideDown:iE,fadeIn:sE},D=({checked:e,defaultChecked:t=!1,disabled:n=!1,size:i="medium",color:s="primary",shape:a="round",label:o,labelPlacement:l="end",loading:c=!1,ripple:u=!0,className:h,labelStyle:f,trackStyle:p,thumbStyle:x,onChange:j,onFocus:y,onBlur:C,icon:_,iconPlacement:d="start"})=>{const[m,v]=b.useState(e??t),[w,g]=b.useState(!1),S=b.useRef(null);b.useEffect(()=>{e!==void 0&&v(e)},[e]);const E=O=>{n||c||(e===void 0&&v(O.target.checked),j==null||j(O.target.checked,O))},L=()=>{!u||n||c||(g(!0),setTimeout(()=>g(!1),400))},R=Un(Bt.switch,Bt[i],{[Bt.checked]:m,[Bt.checkedLarge]:m&&i==="large",[Bt.disabled]:n,[Bt.loading]:c,[Bt.square]:a==="square",[Bt.ripple]:u&&w,[Bt[s]]:Object.prototype.hasOwnProperty.call(Bt,s)},h),F={...m&&!n&&!Object.prototype.hasOwnProperty.call(Bt,s)?{backgroundColor:s,color:s}:{},...x},Y=()=>o?k.jsx("span",{className:Bt.label,children:o}):null,q=()=>_?k.jsx("span",{className:Bt.icon,children:_}):null;return k.jsxs("label",{className:R,style:f,ref:S,onClick:L,children:[l==="start"&&Y(),k.jsxs("div",{className:Bt.switchBase,children:[k.jsx("input",{type:"checkbox",checked:m,disabled:n||c,onChange:E,onFocus:y,onBlur:C}),k.jsx("div",{className:Bt.track,style:p}),k.jsx("div",{className:Bt.thumb,style:F,children:d==="start"&&q()}),u&&k.jsx("div",{className:Bt.rippleEffect})]}),d==="end"&&q(),l==="end"&&Y()]})};var D0,a1=Bu;D0=a1.createRoot,a1.hydrateRoot;const aE="_commonRippleEffect_lmaea_57",oE="_rippleRect_lmaea_1",lE="_commonErrorAnimation_lmaea_83",cE="_shake_lmaea_1",dE="_commonClickedAnimation_lmaea_87",uE="_clickedAnimation_lmaea_1",hE="_commonStarAnimation_lmaea_91",pE="_starAnimation_lmaea_1",fE="_messageContainer_lmaea_95",mE="_top_lmaea_106",gE="_message_lmaea_95",xE="_messageSlideInTop_lmaea_1",vE="_topLeft_lmaea_114",_E="_messageSlideInLeft_lmaea_1",jE="_topRight_lmaea_121",yE="_messageSlideInRight_lmaea_1",bE="_bottom_lmaea_128",wE="_messageSlideInBottom_lmaea_1",CE="_bottomLeft_lmaea_137",kE="_messageSlideInBottomLeft_lmaea_1",SE="_bottomRight_lmaea_145",NE="_messageSlideInBottomRight_lmaea_1",$E="_messageSlideIn_lmaea_1",EE="_content_lmaea_169",zE="_icon_lmaea_177",LE="_closeButton_lmaea_181",IE="_progressBar_lmaea_200",RE="_progressSlide_lmaea_1",AE="_paused_lmaea_224",PE="_success_lmaea_227",ME="_error_lmaea_240",TE="_warning_lmaea_253",FE="_info_lmaea_266",BE="_loading_lmaea_279",OE="_loadingIcon_lmaea_285",DE="_loadingSpin_lmaea_1",UE="_slideDown_lmaea_1",HE="_fadeIn_lmaea_1",WE="_spin_lmaea_1",ir={commonRippleEffect:aE,rippleRect:oE,commonErrorAnimation:lE,shake:cE,commonClickedAnimation:dE,clickedAnimation:uE,commonStarAnimation:hE,starAnimation:pE,messageContainer:fE,top:mE,message:gE,messageSlideInTop:xE,topLeft:vE,messageSlideInLeft:_E,topRight:jE,messageSlideInRight:yE,bottom:bE,messageSlideInBottom:wE,bottomLeft:CE,messageSlideInBottomLeft:kE,bottomRight:SE,messageSlideInBottomRight:NE,messageSlideIn:$E,content:EE,icon:zE,closeButton:LE,progressBar:IE,progressSlide:RE,paused:AE,success:PE,error:ME,warning:TE,info:FE,loading:BE,loadingIcon:OE,loadingSpin:DE,slideDown:UE,fadeIn:HE,spin:WE},U0=({id:e,type:t="info",content:n,duration:i=3e3,showClose:s=!1,icon:a,className:o="",style:l,onClose:c,showProgress:u=!0,pauseOnHover:h=!0,placement:f="topRight",onClick:p,description:x,closeAriaLabel:j="Close"})=>{const[y,C]=b.useState(100),[_,d]=b.useState(!1);b.useEffect(()=>{if(i>0){const v=Date.now(),w=setInterval(()=>{if(!_){const g=Date.now()-v,S=Math.max(0,100-g/i*100);C(S),S===0&&(clearInterval(w),c==null||c(e))}},10);return()=>clearInterval(w)}},[i,_,e,c]);const m=()=>{c==null||c(e)};return k.jsxs("div",{className:`${ir.message} ${ir[t]} ${o}`,style:{...l,position:"fixed",...qE(f)},onClick:p,onMouseEnter:()=>h&&d(!0),onMouseLeave:()=>h&&d(!1),role:"alert",children:[k.jsxs("div",{className:ir.content,children:[a&&k.jsx("span",{className:ir.icon,children:a}),k.jsx("span",{children:n})]}),s&&k.jsx("button",{className:ir.closeButton,onClick:m,"aria-label":j,children:k.jsx(Da,{})}),u&&i>0&&k.jsx("div",{className:`${ir.progressBar} ${_?ir.paused:""}`,style:{width:`${y}%`}})]})},qE=e=>{switch(e){case"top":return{top:"20px",left:"50%",transform:"translateX(-50%)"};case"topLeft":return{top:"20px",left:"20px"};case"topRight":return{top:"20px",right:"20px"};case"bottom":return{bottom:"20px",left:"50%",transform:"translateX(-50%)"};case"bottomLeft":return{bottom:"20px",left:"20px"};case"bottomRight":return{bottom:"20px",right:"20px"};default:return{top:"20px",right:"20px"}}},xi={top:[],topLeft:[],topRight:[],bottom:[],bottomLeft:[],bottomRight:[]};let VE=0;const KE=e=>{const t=`message-container-${e}`;let n=document.getElementById(t);return n||(n=document.createElement("div"),n.id=t,n.className=`${ir.messageContainer} ${ir[e]}`,e.includes("top")?n.style.top="20px":n.style.bottom="20px",e.includes("Left")?n.style.left="24px":e.includes("Right")?n.style.right="24px":(n.style.left="50%",n.style.transform="translateX(-50%)",n.style.width="384px"),document.body.appendChild(n)),n},Bd=(e,t)=>{const n=xi[t],i=n.findIndex(s=>s.id===e);if(i>-1&&(n[i].root.unmount(),n.splice(i,1),n.length===0)){const s=document.getElementById(`message-container-${t}`);s&&document.body.removeChild(s)}},GE=e=>{const t=e.id||`message-${VE++}`,n=e.placement||"topRight",i=KE(n),s=document.createElement("div");s.className=ir.messageWrapper,i.appendChild(s);const a=D0(s),o={...e,id:t,placement:n,duration:e.duration??3e3,onClose:l=>{var c;(c=e.onClose)==null||c.call(e,l),Bd(l,n)}};return xi[n].push({id:t,props:o,root:a}),a.render(k.jsx(U0,{...o})),t},Ws=e=>t=>{const n=typeof t=="object"&&!xe.isValidElement(t)?{...t,type:e}:{content:t,type:e};return GE(n)},je={success:Ws("success"),error:Ws("error"),info:Ws("info"),warning:Ws("warning"),loading:Ws("loading"),destroy:e=>{e?Object.entries(xi).forEach(([t,n])=>{n.find(i=>i.id===e)&&Bd(e,t)}):(Object.entries(xi).forEach(([t,n])=>{n.forEach(s=>{s.root.unmount()});const i=document.getElementById(`message-container-${t}`);i&&document.body.removeChild(i)}),Object.keys(xi).forEach(t=>{xi[t]=[]}))},update:(e,t)=>{Object.entries(xi).forEach(([n,i])=>{const s=i.find(a=>a.id===e);if(s){const a={...s.props,...t,onClose:o=>{var l;(l=t.onClose)==null||l.call(t,o),Bd(o,n)}};s.props=a,s.root.render(k.jsx(U0,{...a}))}})}},QE=()=>{const e=b.useCallback((t,n)=>{const i=typeof n=="string"?{content:n,id:Date.now().toString()}:n,s=je[t](i),a=i.duration??3e3,o=()=>{let l=Promise.resolve();return{then:c=>(a>0&&(l=l.then(()=>new Promise(u=>setTimeout(()=>{Promise.resolve(c()).then(u)},a)))),o()),catch:c=>(l=l.catch(c),o()),messageId:s}};return o()},[]);return{info:t=>e("info",t),success:t=>e("success",t),warning:t=>e("warning",t),error:t=>e("error",t),loading:t=>e("loading",t),destroy:je.destroy,update:je.update}},YE={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class ml{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||YE,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),i=0;i{this.observers[i]||(this.observers[i]=new Map);const s=this.observers[i].get(n)||0;this.observers[i].set(n,s+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s{let[o,l]=a;for(let c=0;c{let[o,l]=a;for(let c=0;c{e=i,t=s});return n.resolve=e,n.reject=t,n}function o1(e){return e==null?"":""+e}function JE(e,t,n){e.forEach(i=>{t[i]&&(n[i]=t[i])})}const XE=/###/g;function da(e,t,n){function i(l){return l&&l.indexOf("###")>-1?l.replace(XE,"."):l}function s(){return!e||typeof e=="string"}const a=typeof t!="string"?t:t.split(".");let o=0;for(;o":">",'"':""","'":"'","/":"/"};function nz(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>tz[t]):e}class rz{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const i=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,i),this.regExpQueue.push(t),i}}const iz=[" ",",","?","!",";"],sz=new rz(20);function az(e,t,n){t=t||"",n=n||"";const i=iz.filter(o=>t.indexOf(o)<0&&n.indexOf(o)<0);if(i.length===0)return!0;const s=sz.getRegExp(`(${i.map(o=>o==="?"?"\\?":o).join("|")})`);let a=!s.test(e);if(!a){const o=e.indexOf(n);o>0&&!s.test(e.substring(0,o))&&(a=!0)}return a}function Od(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const i=t.split(n);let s=e;for(let a=0;a-1&&c0?e.replace("_","-"):e}class c1 extends Ul{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,o=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,n],i&&(Array.isArray(i)?l.push(...i):typeof i=="string"&&a?l.push(...i.split(a)):l.push(i)));const c=gl(this.data,l);return!c&&!n&&!i&&t.indexOf(".")>-1&&(t=l[0],n=l[1],i=l.slice(2).join(".")),c||!o||typeof i!="string"?c:Od(this.data&&this.data[t]&&this.data[t][n],i,a)}addResource(t,n,i,s){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let l=[t,n];i&&(l=l.concat(o?i.split(o):i)),t.indexOf(".")>-1&&(l=t.split("."),s=n,n=l[1]),this.addNamespaces(n),l1(this.data,l,s),a.silent||this.emit("added",t,n,i,s)}addResources(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const a in i)(typeof i[a]=="string"||Array.isArray(i[a]))&&this.addResource(t,n,a,i[a],{silent:!0});s.silent||this.emit("added",t,n,i)}addResourceBundle(t,n,i,s,a){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[t,n];t.indexOf(".")>-1&&(l=t.split("."),s=i,i=n,n=l[1]),this.addNamespaces(n);let c=gl(this.data,l)||{};o.skipCopy||(i=JSON.parse(JSON.stringify(i))),s?H0(c,i,a):c={...c,...i},l1(this.data,l,c),o.silent||this.emit("added",t,n,i)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(i=>n[i]&&Object.keys(n[i]).length>0)}toJSON(){return this.data}}var W0={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,i,s){return e.forEach(a=>{this.processors[a]&&(t=this.processors[a].process(t,n,i,s))}),t}};const d1={};class vl extends Ul{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),JE(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=or.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const i=this.resolve(t,n);return i&&i.res!==void 0}extractFromKey(t,n){let i=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let a=n.ns||this.options.defaultNS||[];const o=i&&t.indexOf(i)>-1,l=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!az(t,i,s);if(o&&!l){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:a};const u=t.split(i);(i!==s||i===s&&this.options.ns.indexOf(u[0])>-1)&&(a=u.shift()),t=u.join(s)}return typeof a=="string"&&(a=[a]),{key:t,namespaces:a}}translate(t,n,i){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const s=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(t[t.length-1],n),c=l[l.length-1],u=n.lng||this.language,h=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(h){const m=n.nsSeparator||this.options.nsSeparator;return s?{res:`${c}${m}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:`${c}${m}${o}`}return s?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:o}const f=this.resolve(t,n);let p=f&&f.res;const x=f&&f.usedKey||o,j=f&&f.exactUsedKey||o,y=Object.prototype.toString.apply(p),C=["[object Number]","[object Function]","[object RegExp]"],_=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,d=!this.i18nFormat||this.i18nFormat.handleAsObject;if(d&&p&&typeof p!="string"&&typeof p!="boolean"&&typeof p!="number"&&C.indexOf(y)<0&&!(typeof _=="string"&&Array.isArray(p))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const m=this.options.returnedObjectHandler?this.options.returnedObjectHandler(x,p,{...n,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return s?(f.res=m,f.usedParams=this.getUsedParamsDetails(n),f):m}if(a){const m=Array.isArray(p),v=m?[]:{},w=m?j:x;for(const g in p)if(Object.prototype.hasOwnProperty.call(p,g)){const S=`${w}${a}${g}`;v[g]=this.translate(S,{...n,joinArrays:!1,ns:l}),v[g]===S&&(v[g]=p[g])}p=v}}else if(d&&typeof _=="string"&&Array.isArray(p))p=p.join(_),p&&(p=this.extendTranslation(p,t,n,i));else{let m=!1,v=!1;const w=n.count!==void 0&&typeof n.count!="string",g=vl.hasDefaultValue(n),S=w?this.pluralResolver.getSuffix(u,n.count,n):"",E=n.ordinal&&w?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",L=w&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),R=L&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${S}`]||n[`defaultValue${E}`]||n.defaultValue;!this.isValidLookup(p)&&g&&(m=!0,p=R),this.isValidLookup(p)||(v=!0,p=o);const F=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&v?void 0:p,Y=g&&R!==p&&this.options.updateMissing;if(v||m||Y){if(this.logger.log(Y?"updateKey":"missingKey",u,c,o,Y?R:p),a){const K=this.resolve(o,{...n,keySeparator:!1});K&&K.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let q=[];const O=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&O&&O[0])for(let K=0;K{const B=g&&I!==p?I:F;this.options.missingKeyHandler?this.options.missingKeyHandler(K,c,J,B,Y,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(K,c,J,B,Y,n),this.emit("missingKey",K,c,J,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&w?q.forEach(K=>{const J=this.pluralResolver.getSuffixes(K,n);L&&n[`defaultValue${this.options.pluralSeparator}zero`]&&J.indexOf(`${this.options.pluralSeparator}zero`)<0&&J.push(`${this.options.pluralSeparator}zero`),J.forEach(I=>{U([K],o+I,n[`defaultValue${I}`]||R)})}):U(q,o,R))}p=this.extendTranslation(p,t,n,f,i),v&&p===o&&this.options.appendNamespaceToMissingKey&&(p=`${c}:${o}`),(v||m)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?p=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${o}`:o,m?p:void 0):p=this.options.parseMissingKeyHandler(p))}return s?(f.res=p,f.usedParams=this.getUsedParamsDetails(n),f):p}extendTranslation(t,n,i,s,a){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});const u=typeof t=="string"&&(i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let h;if(u){const p=t.match(this.interpolator.nestingRegexp);h=p&&p.length}let f=i.replace&&typeof i.replace!="string"?i.replace:i;if(this.options.interpolation.defaultVariables&&(f={...this.options.interpolation.defaultVariables,...f}),t=this.interpolator.interpolate(t,f,i.lng||this.language||s.usedLng,i),u){const p=t.match(this.interpolator.nestingRegexp),x=p&&p.length;h1&&arguments[1]!==void 0?arguments[1]:{},i,s,a,o,l;return typeof t=="string"&&(t=[t]),t.forEach(c=>{if(this.isValidLookup(i))return;const u=this.extractFromKey(c,n),h=u.key;s=h;let f=u.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const p=n.count!==void 0&&typeof n.count!="string",x=p&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),j=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",y=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);f.forEach(C=>{this.isValidLookup(i)||(l=C,!d1[`${y[0]}-${C}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(l)&&(d1[`${y[0]}-${C}`]=!0,this.logger.warn(`key "${s}" for languages "${y.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),y.forEach(_=>{if(this.isValidLookup(i))return;o=_;const d=[h];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(d,h,_,C,n);else{let v;p&&(v=this.pluralResolver.getSuffix(_,n.count,n));const w=`${this.options.pluralSeparator}zero`,g=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(p&&(d.push(h+v),n.ordinal&&v.indexOf(g)===0&&d.push(h+v.replace(g,this.options.pluralSeparator)),x&&d.push(h+w)),j){const S=`${h}${this.options.contextSeparator}${n.context}`;d.push(S),p&&(d.push(S+v),n.ordinal&&v.indexOf(g)===0&&d.push(S+v.replace(g,this.options.pluralSeparator)),x&&d.push(S+w))}}let m;for(;m=d.pop();)this.isValidLookup(i)||(a=m,i=this.getResource(_,C,m,n))}))})}),{res:i,usedKey:s,exactUsedKey:a,usedLng:o,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,i,s):this.resourceStore.getResource(t,n,i,s)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=t.replace&&typeof t.replace!="string";let s=i?t.replace:t;if(i&&typeof t.count<"u"&&(s.count=t.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!i){s={...s};for(const a of n)delete s[a]}return s}static hasDefaultValue(t){const n="defaultValue";for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&n===i.substring(0,n.length)&&t[i]!==void 0)return!0;return!1}}function Ac(e){return e.charAt(0).toUpperCase()+e.slice(1)}class u1{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=or.create("languageUtils")}getScriptPartFromCode(t){if(t=xl(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=xl(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let i=t.split("-");return this.options.lowerCaseLng?i=i.map(s=>s.toLowerCase()):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),n.indexOf(i[1].toLowerCase())>-1&&(i[1]=Ac(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),n.indexOf(i[1].toLowerCase())>-1&&(i[1]=Ac(i[1].toLowerCase())),n.indexOf(i[2].toLowerCase())>-1&&(i[2]=Ac(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(i=>{if(n)return;const s=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(s))&&(n=s)}),!n&&this.options.supportedLngs&&t.forEach(i=>{if(n)return;const s=this.getLanguagePartFromCode(i);if(this.isSupportedCode(s))return n=s;n=this.options.supportedLngs.find(a=>{if(a===s||!(a.indexOf("-")<0&&s.indexOf("-")<0)&&(a.indexOf("-")>0&&s.indexOf("-")<0&&a.substring(0,a.indexOf("-"))===s||a.indexOf(s)===0&&s.length>1))return a})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let i=t[n];return i||(i=t[this.getScriptPartFromCode(n)]),i||(i=t[this.formatLanguageCode(n)]),i||(i=t[this.getLanguagePartFromCode(n)]),i||(i=t.default),i||[]}toResolveHierarchy(t,n){const i=this.getFallbackCodes(n||this.options.fallbackLng||[],t),s=[],a=o=>{o&&(this.isSupportedCode(o)?s.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(t))):typeof t=="string"&&a(this.formatLanguageCode(t)),i.forEach(o=>{s.indexOf(o)<0&&a(this.formatLanguageCode(o))}),s}}let oz=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],lz={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const cz=["v1","v2","v3"],dz=["v4"],h1={zero:0,one:1,two:2,few:3,many:4,other:5};function uz(){const e={};return oz.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:lz[t.fc]}})}),e}class hz{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=or.create("pluralResolver"),(!this.options.compatibilityJSON||dz.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=uz()}addRule(t,n){this.rules[t]=n}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(xl(t==="dev"?"en":t),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,n);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}getPluralFormsOfKey(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,i).map(s=>`${n}${s}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=this.getRule(t,n);return i?this.shouldUseIntlApi()?i.resolvedOptions().pluralCategories.sort((s,a)=>h1[s]-h1[a]).map(s=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${s}`):i.numbers.map(s=>this.getSuffix(t,s,n)):[]}getSuffix(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s=this.getRule(t,i);return s?this.shouldUseIntlApi()?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${s.select(n)}`:this.getSuffixRetroCompatible(s,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const i=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let s=t.numbers[i];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(s===2?s="plural":s===1&&(s=""));const a=()=>this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString();return this.options.compatibilityJSON==="v1"?s===1?"":typeof s=="number"?`_plural_${s.toString()}`:a():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?a():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}shouldUseIntlApi(){return!cz.includes(this.options.compatibilityJSON)}}function p1(e,t,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=ez(e,t,n);return!a&&s&&typeof n=="string"&&(a=Od(e,n,i),a===void 0&&(a=Od(t,n,i))),a}class pz{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=or.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:i,useRawValueToEscape:s,prefix:a,prefixEscaped:o,suffix:l,suffixEscaped:c,formatSeparator:u,unescapeSuffix:h,unescapePrefix:f,nestingPrefix:p,nestingPrefixEscaped:x,nestingSuffix:j,nestingSuffixEscaped:y,nestingOptionsSeparator:C,maxReplaces:_,alwaysFormat:d}=t.interpolation;this.escape=n!==void 0?n:nz,this.escapeValue=i!==void 0?i:!0,this.useRawValueToEscape=s!==void 0?s:!1,this.prefix=a?Wi(a):o||"{{",this.suffix=l?Wi(l):c||"}}",this.formatSeparator=u||",",this.unescapePrefix=h?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=p?Wi(p):x||Wi("$t("),this.nestingSuffix=j?Wi(j):y||Wi(")"),this.nestingOptionsSeparator=C||",",this.maxReplaces=_||1e3,this.alwaysFormat=d!==void 0?d:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,i)=>n&&n.source===i?(n.lastIndex=0,n):new RegExp(i,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,i,s){let a,o,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(x){return x.replace(/\$/g,"$$$$")}const h=x=>{if(x.indexOf(this.formatSeparator)<0){const _=p1(n,c,x,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(_,void 0,i,{...s,...n,interpolationkey:x}):_}const j=x.split(this.formatSeparator),y=j.shift().trim(),C=j.join(this.formatSeparator).trim();return this.format(p1(n,c,y,this.options.keySeparator,this.options.ignoreJSONStructure),C,i,{...s,...n,interpolationkey:y})};this.resetRegExp();const f=s&&s.missingInterpolationHandler||this.options.missingInterpolationHandler,p=s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:x=>u(x)},{regex:this.regexp,safeValue:x=>this.escapeValue?u(this.escape(x)):u(x)}].forEach(x=>{for(l=0;a=x.regex.exec(t);){const j=a[1].trim();if(o=h(j),o===void 0)if(typeof f=="function"){const C=f(t,a,s);o=typeof C=="string"?C:""}else if(s&&Object.prototype.hasOwnProperty.call(s,j))o="";else if(p){o=a[0];continue}else this.logger.warn(`missed to pass in variable ${j} for interpolating ${t}`),o="";else typeof o!="string"&&!this.useRawValueToEscape&&(o=o1(o));const y=x.safeValue(o);if(t=t.replace(a[0],y),p?(x.regex.lastIndex+=o.length,x.regex.lastIndex-=a[0].length):x.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,a,o;function l(c,u){const h=this.nestingOptionsSeparator;if(c.indexOf(h)<0)return c;const f=c.split(new RegExp(`${h}[ ]*{`));let p=`{${f[1]}`;c=f[0],p=this.interpolate(p,o);const x=p.match(/'/g),j=p.match(/"/g);(x&&x.length%2===0&&!j||j.length%2!==0)&&(p=p.replace(/'/g,'"'));try{o=JSON.parse(p),u&&(o={...u,...o})}catch(y){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,y),`${c}${h}${p}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,c}for(;s=this.nestingRegexp.exec(t);){let c=[];o={...i},o=o.replace&&typeof o.replace!="string"?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(s[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(s[1])){const h=s[1].split(this.formatSeparator).map(f=>f.trim());s[1]=h.shift(),c=h,u=!0}if(a=n(l.call(this,s[1].trim(),o),o),a&&s[0]===t&&typeof a!="string")return a;typeof a!="string"&&(a=o1(a)),a||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${t}`),a=""),u&&(a=c.reduce((h,f)=>this.format(h,f,i.lng,{...i,interpolationkey:s[1].trim()}),a.trim())),t=t.replace(s[0],a),this.regexp.lastIndex=0}return t}}function fz(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const i=e.split("(");t=i[0].toLowerCase().trim();const s=i[1].substring(0,i[1].length-1);t==="currency"&&s.indexOf(":")<0?n.currency||(n.currency=s.trim()):t==="relativetime"&&s.indexOf(":")<0?n.range||(n.range=s.trim()):s.split(";").forEach(a=>{if(a){const[o,...l]=a.split(":"),c=l.join(":").trim().replace(/^'+|'+$/g,""),u=o.trim();n[u]||(n[u]=c),c==="false"&&(n[u]=!1),c==="true"&&(n[u]=!0),isNaN(c)||(n[u]=parseInt(c,10))}})}return{formatName:t,formatOptions:n}}function qi(e){const t={};return function(n,i,s){const a=i+JSON.stringify(s);let o=t[a];return o||(o=e(xl(i),s),t[a]=o),o(n)}}class mz{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=or.create("formatter"),this.options=t,this.formats={number:qi((n,i)=>{const s=new Intl.NumberFormat(n,{...i});return a=>s.format(a)}),currency:qi((n,i)=>{const s=new Intl.NumberFormat(n,{...i,style:"currency"});return a=>s.format(a)}),datetime:qi((n,i)=>{const s=new Intl.DateTimeFormat(n,{...i});return a=>s.format(a)}),relativetime:qi((n,i)=>{const s=new Intl.RelativeTimeFormat(n,{...i});return a=>s.format(a,i.range||"day")}),list:qi((n,i)=>{const s=new Intl.ListFormat(n,{...i});return a=>s.format(a)})},this.init(t)}init(t){const n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=qi(n)}format(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((a,o)=>{const{formatName:l,formatOptions:c}=fz(o);if(this.formats[l]){let u=a;try{const h=s&&s.formatParams&&s.formatParams[s.interpolationkey]||{},f=h.locale||h.lng||s.locale||s.lng||i;u=this.formats[l](a,f,{...c,...s,...h})}catch(h){this.logger.warn(h)}return u}else this.logger.warn(`there was no format function for ${l}`);return a},t)}}function gz(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class xz extends Ul{constructor(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=i,this.languageUtils=i.languageUtils,this.options=s,this.logger=or.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=s.maxParallelReads||10,this.readingCalls=0,this.maxRetries=s.maxRetries>=0?s.maxRetries:5,this.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(i,s.backend,s)}queueLoad(t,n,i,s){const a={},o={},l={},c={};return t.forEach(u=>{let h=!0;n.forEach(f=>{const p=`${u}|${f}`;!i.reload&&this.store.hasResourceBundle(u,f)?this.state[p]=2:this.state[p]<0||(this.state[p]===1?o[p]===void 0&&(o[p]=!0):(this.state[p]=1,h=!1,o[p]===void 0&&(o[p]=!0),a[p]===void 0&&(a[p]=!0),c[f]===void 0&&(c[f]=!0)))}),h||(l[u]=!0)}),(Object.keys(a).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(t,n,i){const s=t.split("|"),a=s[0],o=s[1];n&&this.emit("failedLoading",a,o,n),i&&this.store.addResourceBundle(a,o,i,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2;const l={};this.queue.forEach(c=>{ZE(c.loaded,[a],o),gz(c,t),n&&c.errors.push(n),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(u=>{l[u]||(l[u]={});const h=c.loaded[u];h.length&&h.forEach(f=>{l[u][f]===void 0&&(l[u][f]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(t,n,i){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:i,tried:s,wait:a,callback:o});return}this.readingCalls++;const l=(u,h)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(u&&h&&s{this.read.call(this,t,n,i,s+1,a*2,o)},a);return}o(u,h)},c=this.backend[i].bind(this.backend);if(c.length===2){try{const u=c(t,n);u&&typeof u.then=="function"?u.then(h=>l(null,h)).catch(l):l(null,u)}catch(u){l(u)}return}return c(t,n,l)}prepareLoading(t,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const a=this.queueLoad(t,n,i,s);if(!a.toLoad.length)return a.pending.length||s(),null;a.toLoad.forEach(o=>{this.loadOne(o)})}load(t,n,i){this.prepareLoading(t,n,{},i)}reload(t,n,i){this.prepareLoading(t,n,{reload:!0},i)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const i=t.split("|"),s=i[0],a=i[1];this.read(s,a,"read",void 0,void 0,(o,l)=>{o&&this.logger.warn(`${n}loading namespace ${a} for language ${s} failed`,o),!o&&l&&this.logger.log(`${n}loaded namespace ${a} for language ${s}`,l),this.loaded(t,o,l)})}saveMissing(t,n,i,s,a){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${i}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(i==null||i==="")){if(this.backend&&this.backend.create){const c={...o,isUpdate:a},u=this.backend.create.bind(this.backend);if(u.length<6)try{let h;u.length===5?h=u(t,n,i,s,c):h=u(t,n,i,s),h&&typeof h.then=="function"?h.then(f=>l(null,f)).catch(l):l(null,h)}catch(h){l(h)}else u(t,n,i,s,l,c)}!t||!t[0]||this.store.addResource(t[0],n,i,s)}}}function f1(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if(typeof e[1]=="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(i=>{t[i]=n[i]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function m1(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function fo(){}function vz(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]=="function"&&(e[t]=e[t].bind(e))})}class La extends Ul{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=m1(t),this.services={},this.logger=or,this.modules={external:[]},vz(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(i=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const s=f1();this.options={...s,...this.options,...m1(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...s.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);function a(c){return c?typeof c=="function"?new c:c:null}if(!this.options.isClone){this.modules.logger?or.init(a(this.modules.logger),this.options):or.init(null,this.options);let c;this.modules.formatter?c=this.modules.formatter:typeof Intl<"u"&&(c=mz);const u=new u1(this.options);this.store=new c1(this.options.resources,this.options);const h=this.services;h.logger=or,h.resourceStore=this.store,h.languageUtils=u,h.pluralResolver=new hz(u,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),c&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(h.formatter=a(c),h.formatter.init(h,this.options),this.options.interpolation.format=h.formatter.format.bind(h.formatter)),h.interpolator=new pz(this.options),h.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},h.backendConnector=new xz(a(this.modules.backend),h.resourceStore,h,this.options),h.backendConnector.on("*",function(f){for(var p=arguments.length,x=new Array(p>1?p-1:0),j=1;j1?p-1:0),j=1;j{f.init&&f.init(this)})}if(this.format=this.options.interpolation.format,i||(i=fo),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.length>0&&c[0]!=="dev"&&(this.options.lng=c[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(c=>{this[c]=function(){return t.store[c](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(c=>{this[c]=function(){return t.store[c](...arguments),t}});const o=qs(),l=()=>{const c=(u,h)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(h),i(u,h)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return c(null,this.t.bind(this));this.changeLanguage(this.options.lng,c)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),o}loadResources(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fo;const i=typeof t=="string"?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const s=[],a=o=>{!o||o==="cimode"||this.services.languageUtils.toResolveHierarchy(o).forEach(l=>{l!=="cimode"&&s.indexOf(l)<0&&s.push(l)})};i?a(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(o=>a(o)),this.options.preload&&this.options.preload.forEach(o=>a(o)),this.services.backendConnector.load(s,this.options.ns,o=>{!o&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(o)})}else n(null)}reloadResources(t,n,i){const s=qs();return t||(t=this.languages),n||(n=this.options.ns),i||(i=fo),this.services.backendConnector.reload(t,n,a=>{s.resolve(),i(a)}),s}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&W0.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;break}}}changeLanguage(t,n){var i=this;this.isLanguageChangingTo=t;const s=qs();this.emit("languageChanging",t);const a=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},o=(c,u)=>{u?(a(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,s.resolve(function(){return i.t(...arguments)}),n&&n(c,function(){return i.t(...arguments)})},l=c=>{!t&&!c&&this.services.languageDetector&&(c=[]);const u=typeof c=="string"?c:this.services.languageUtils.getBestMatchFromCodes(c);u&&(this.language||a(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,h=>{o(h,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),s}getFixedT(t,n,i){var s=this;const a=function(o,l){let c;if(typeof l!="object"){for(var u=arguments.length,h=new Array(u>2?u-2:0),f=2;f`${c.keyPrefix}${p}${j}`):x=c.keyPrefix?`${c.keyPrefix}${p}${o}`:o,s.t(x,c)};return typeof t=="string"?a.lng=t:a.lngs=t,a.ns=n,a.keyPrefix=i,a}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const i=n.lng||this.resolvedLanguage||this.languages[0],s=this.options?this.options.fallbackLng:!1,a=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;const o=(l,c)=>{const u=this.services.backendConnector.state[`${l}|${c}`];return u===-1||u===2};if(n.precheck){const l=n.precheck(this,o);if(l!==void 0)return l}return!!(this.hasResourceBundle(i,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(i,t)&&(!s||o(a,t)))}loadNamespaces(t,n){const i=qs();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(s=>{this.options.ns.indexOf(s)<0&&this.options.ns.push(s)}),this.loadResources(s=>{i.resolve(),n&&n(s)}),i):(n&&n(),Promise.resolve())}loadLanguages(t,n){const i=qs();typeof t=="string"&&(t=[t]);const s=this.options.preload||[],a=t.filter(o=>s.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return a.length?(this.options.preload=s.concat(a),this.loadResources(o=>{i.resolve(),n&&n(o)}),i):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],i=this.services&&this.services.languageUtils||new u1(f1());return n.indexOf(i.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new La(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fo;const i=t.forkResourceStore;i&&delete t.forkResourceStore;const s={...this.options,...t,isClone:!0},a=new La(s);return(t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),["store","services","language"].forEach(o=>{a[o]=this[o]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},i&&(a.store=new c1(this.store.data,s),a.services.resourceStore=a.store),a.translator=new vl(a.services,s),a.translator.on("*",function(o){for(var l=arguments.length,c=new Array(l>1?l-1:0),u=1;u",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},yz=e=>jz[e],bz=e=>e.replace(_z,yz);let g1={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:bz};const wz=(e={})=>{g1={...g1,...e}},Cz={type:"3rdParty",init(e){wz(e.options.react)}};b.createContext();const kz={"avatar:default":"avatar"},Sz={index:kz},Nz={"avatar:default":"avatar"},$z={index:Nz},Ez={en:Sz,fr:$z};Jt.use(Cz).init({resources:Ez,lng:"en",ns:["index"],defaultNS:"index",interpolation:{escapeValue:!1}});b.createContext(void 0);const zz="_page_1v5u5_42",Lz="_header_1v5u5_50",Iz="_section_1v5u5_69",Rz="_codeWrapper_1v5u5_92",Az="_demoWrapper_1v5u5_101",Pz="_examples_1v5u5_132",Mz="_example_1v5u5_132",Tz="_description_1v5u5_187",Fz="_demo_1v5u5_101",$e={page:zz,header:Lz,section:Iz,codeWrapper:Rz,demoWrapper:Az,examples:Pz,example:Mz,description:Tz,demo:Fz,"accordion-down":"_accordion-down_1v5u5_1","accordion-up":"_accordion-up_1v5u5_1"},Bz=()=>{const{t:e}=Le();return r.jsxs("div",{className:$e.examples,children:[r.jsxs("div",{className:$e.example,children:[r.jsx("h3",{children:e("components.button.examples.basic.title")}),r.jsx("p",{className:$e.description,children:e("components.button.examples.basic.description")}),r.jsx("div",{className:$e.demo,children:r.jsx(N,{variant:"primary",children:"Click me"})}),r.jsx("div",{className:$e.codeWrapper,children:r.jsx(me,{code:` import { Button } from '@minerva/lib-core'; function App() { @@ -402,7 +402,7 @@ function App() { Option 3 ); -}`,language:"typescript"})})]}),r.jsxs("section",{className:P.section,children:[r.jsx("h2",{children:e("components.radio.examples")}),r.jsx("div",{className:P.examples,children:r.jsx(TL,{})})]})]})},BL="_section_1th5c_42",OL="_group_1th5c_54",DL="_settingCard_1th5c_63",UL="_interactiveDemo_1th5c_75",HL="_description_1th5c_84",WL="_animationDemo_1th5c_90",qL="_pulseDemo_1th5c_96",VL="_thumb_1th5c_96",KL="_pulse_1th5c_96",GL="_bounceDemo_1th5c_99",QL="_fadeDemo_1th5c_102",YL="_track_1th5c_102",JL="_settingsPanel_1th5c_117",XL="_settingsGroup_1th5c_122",ZL="_quickPanel_1th5c_136",eI="_controlPanel_1th5c_148",tI="_controlGroup_1th5c_154",nI="_homePanel_1th5c_167",ie={section:BL,group:OL,settingCard:DL,interactiveDemo:UL,description:HL,animationDemo:WL,pulseDemo:qL,thumb:VL,pulse:KL,bounceDemo:GL,fadeDemo:QL,track:YL,settingsPanel:JL,settingsGroup:XL,quickPanel:ZL,controlPanel:eI,controlGroup:tI,homePanel:nI,"accordion-down":"_accordion-down_1th5c_1","accordion-up":"_accordion-up_1th5c_1"},rI=()=>{const[e,t]=b.useState(!1),[n,i]=b.useState(!0),[s,a]=b.useState(!0),[o,l]=b.useState(!1),[c,u]=b.useState(!1),[h,f]=b.useState({fingerprint:!0,faceId:!1,location:!0,analytics:!1}),[p,x]=b.useState({autoSave:!0,notifications:!0,darkMode:!1,sound:!0}),[_,y]=b.useState({camera:!1,flash:!0,waterproof:!0,temperature:!1,battery:!0,performance:!1}),[C,j]=b.useState({lights:!0,alarm:!1,gaming:!1,music:!0,radio:!1}),d=()=>{l(!0),setTimeout(()=>l(!1),2e3)},m=()=>{u(!0),setTimeout(()=>u(!1),2e3)};return r.jsxs("div",{className:ie.section,children:[r.jsxs("div",{className:ie.header,children:[r.jsx("h2",{children:"Switch 开关"}),r.jsx("p",{children:"开关选择器,用于在两个互斥状态间切换。"})]}),r.jsxs(W,{direction:"vertical",size:"large",block:!0,children:[r.jsxs("div",{children:[r.jsx("h3",{children:"基础用法"}),r.jsx("p",{className:ie.description,children:"最基本的开关用法。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{size:"large",children:[r.jsx(D,{}),r.jsx(D,{defaultChecked:!0}),r.jsx(D,{disabled:!0}),r.jsx(D,{disabled:!0,defaultChecked:!0})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"尺寸大小"}),r.jsx("p",{className:ie.description,children:"提供三种尺寸的开关。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{size:"large",align:"center",children:[r.jsx(D,{size:"small",label:"Small"}),r.jsx(D,{size:"medium",label:"Medium"}),r.jsx(D,{size:"large",label:"Large"})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"颜色主题"}),r.jsx("p",{className:ie.description,children:"不同状态下的开关颜色。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"medium",children:[r.jsxs(W,{size:"large",children:[r.jsx(D,{color:"primary",label:"Primary",defaultChecked:!0}),r.jsx(D,{color:"secondary",label:"Secondary",defaultChecked:!0}),r.jsx(D,{color:"success",label:"Success",defaultChecked:!0})]}),r.jsxs(W,{size:"large",children:[r.jsx(D,{color:"warning",label:"Warning",defaultChecked:!0}),r.jsx(D,{color:"error",label:"Error",defaultChecked:!0}),r.jsx(D,{color:"#8B5CF6",label:"Custom",defaultChecked:!0})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"标签位置"}),r.jsx("p",{className:ie.description,children:"可以配置标签在开关的不同位置。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"medium",children:[r.jsxs(W,{size:"large",children:[r.jsx(D,{label:"Start",labelPlacement:"start"}),r.jsx(D,{label:"End",labelPlacement:"end"})]}),r.jsxs(W,{size:"large",children:[r.jsx(D,{label:"Top",labelPlacement:"top"}),r.jsx(D,{label:"Bottom",labelPlacement:"bottom"})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"加载状态"}),r.jsx("p",{className:ie.description,children:"切换时可以显示加载状态。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{size:"large",children:[r.jsx(D,{loading:!0,label:"Loading"}),r.jsx(D,{loading:!0,defaultChecked:!0,label:"Loading Checked"}),r.jsx(D,{loading:!0,disabled:!0,label:"Loading Disabled"})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"实际应用场景"}),r.jsx("p",{className:ie.description,children:"在实际应用中的一些常见场景。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsx(D,{checked:e,onChange:v=>t(v),label:e?"Dark Mode":"Light Mode",icon:e?r.jsx(Yp,{}):r.jsx(Xp,{})}),r.jsx(D,{checked:n,onChange:v=>i(v),label:"通知提醒",icon:r.jsx(zc,{}),color:"success"}),r.jsx(D,{checked:s,onChange:v=>a(v),label:s?"声音开启":"静音模式",icon:r.jsx($6,{}),color:"warning"})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"自定义样式"}),r.jsx("p",{className:ie.description,children:"展示不同的自定义样式效果。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{size:"large",children:[r.jsx(D,{trackStyle:{backgroundColor:"rgba(139, 92, 246, 0.5)"},thumbStyle:{backgroundColor:"#8B5CF6"},labelStyle:{color:"#8B5CF6",fontWeight:500},defaultChecked:!0,label:"紫色主题"}),r.jsx(D,{trackStyle:{backgroundColor:"rgba(16, 185, 129, 0.5)"},thumbStyle:{backgroundColor:"#10B981"},labelStyle:{color:"#10B981",fontWeight:500},defaultChecked:!0,label:"绿色主题"})]}),r.jsxs(W,{size:"large",children:[r.jsx(D,{trackStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)"},thumbStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)",boxShadow:"0 3px 12px rgba(255, 107, 107, 0.4)"},labelStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",fontWeight:600},defaultChecked:!0,label:"渐变主题"}),r.jsx(D,{trackStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)"},thumbStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)",boxShadow:"0 3px 12px rgba(124, 58, 237, 0.4)"},labelStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",fontWeight:600},defaultChecked:!0,label:"紫罗兰"})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"标签样式"}),r.jsx("p",{className:ie.description,children:"展示不同的标签样式效果。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{size:"large",children:[r.jsx(D,{label:"重要选项",labelStyle:{color:"#EF4444",fontWeight:600,fontSize:"16px"},color:"error"}),r.jsx(D,{label:"可选设置",labelStyle:{color:"#6B7280",fontStyle:"italic"},color:"secondary"})]}),r.jsxs(W,{size:"large",children:[r.jsx(D,{label:r.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[r.jsx("span",{style:{fontWeight:500},children:"高级设置"}),r.jsx("span",{style:{fontSize:"12px",color:"#6B7280"},children:"启用后可使用更多功能"})]}),labelStyle:{display:"flex",flexDirection:"column",gap:"4px"},color:"primary"}),r.jsx(D,{label:"实验性功能",labelStyle:{backgroundColor:"#FEF3C7",color:"#D97706",padding:"4px 8px",borderRadius:"4px",fontSize:"12px",fontWeight:500},color:"warning"})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"渐变效果"}),r.jsx("p",{className:ie.description,children:"展示带有渐变效果的开关。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{size:"large",children:[r.jsx(D,{trackStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)"},thumbStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)",color:"#fff"},defaultChecked:!0,label:"日落渐变"}),r.jsx(D,{trackStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)"},thumbStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)",color:"#fff"},defaultChecked:!0,label:"紫罗兰"}),r.jsx(D,{trackStyle:{background:"linear-gradient(45deg, #059669 30%, #10B981 90%)"},thumbStyle:{background:"linear-gradient(45deg, #059669 30%, #10B981 90%)",color:"#fff"},defaultChecked:!0,label:"翡翠绿"})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"加载状态与动画"}),r.jsx("p",{className:ie.description,children:"展示不同状态下的加载动画。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{size:"large",children:[r.jsx(D,{loading:!0}),r.jsx(D,{loading:!0,defaultChecked:!0}),r.jsx(D,{loading:!0,disabled:!0})]}),r.jsxs(W,{size:"large",children:[r.jsx(D,{loading:!0,size:"small",label:"Small Loading"}),r.jsx(D,{loading:!0,size:"medium",label:"Medium Loading"}),r.jsx(D,{loading:!0,size:"large",label:"Large Loading"})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"自定义颜色"}),r.jsx("p",{className:ie.description,children:"展示不同颜色搭配的效果。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{size:"large",children:[r.jsx(D,{color:"#8B5CF6",label:"紫色",defaultChecked:!0}),r.jsx(D,{color:"#10B981",label:"绿色",defaultChecked:!0}),r.jsx(D,{color:"#F59E0B",label:"橙色",defaultChecked:!0})]}),r.jsxs(W,{size:"large",children:[r.jsx(D,{color:"#EC4899",label:"粉色",defaultChecked:!0}),r.jsx(D,{color:"#3B82F6",label:"蓝色",defaultChecked:!0}),r.jsx(D,{color:"#6366F1",label:"靛蓝",defaultChecked:!0})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"组合场景"}),r.jsx("p",{className:ie.description,children:"在实际应用中的组合使用场景。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsx("div",{className:ie.settingItem,children:r.jsxs(W,{size:"large",children:[r.jsx(D,{checked:e,onChange:t,color:"#6366F1",size:"large",label:e?"深色模式已开启":"深色模式已关闭"}),r.jsx(D,{checked:n,onChange:i,color:"#10B981",label:"系统通知",loading:!1})]})}),r.jsx("div",{className:ie.settingItem,children:r.jsxs(W,{size:"large",children:[r.jsx(D,{color:"#F59E0B",label:"自动更新",defaultChecked:!0}),r.jsx(D,{color:"#EC4899",label:"位置服务"})]})})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"特殊状态"}),r.jsx("p",{className:ie.description,children:"展示各种特殊状态下的效果。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{size:"large",children:[r.jsx(D,{disabled:!0,label:"禁用状态"}),r.jsx(D,{disabled:!0,checked:!0,label:"禁用选中"}),r.jsx(D,{loading:!0,label:"加载中"})]}),r.jsxs(W,{size:"large",children:[r.jsx(D,{shape:"square",label:"方形开关"}),r.jsx(D,{ripple:!1,label:"无涟漪效果"}),r.jsx(D,{size:"small",shape:"square",label:"小方形"})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"交互反馈"}),r.jsx("p",{className:ie.description,children:"展示不同的交互状态和动画效果。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{size:"large",children:[r.jsx(D,{label:"提交更改",loading:o,icon:r.jsx(Gp,{}),onClick:d}),r.jsx(D,{label:"同步数据",loading:c,icon:r.jsx(hl,{}),onClick:m})]}),r.jsxs("div",{className:ie.settingCard,children:[r.jsx("h4",{children:"快速设置"}),r.jsxs(W,{direction:"vertical",size:"medium",children:[r.jsx(D,{icon:r.jsx(Lc,{}),label:"无线网络",defaultChecked:!0}),r.jsx(D,{icon:r.jsx(kc,{}),label:"蓝牙"}),r.jsx(D,{icon:r.jsx(L3,{}),label:"飞行模式"}),r.jsx(D,{icon:r.jsx($c,{}),label:"定位服务",defaultChecked:!0})]})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"动态效果"}),r.jsx("p",{className:ie.description,children:"展示开关的动态交互效果。"}),r.jsx("div",{className:ie.group,children:r.jsx(W,{direction:"vertical",size:"large",children:r.jsxs("div",{className:ie.interactiveDemo,children:[r.jsx(D,{size:"large",color:"primary",label:"带有涟漪效果",ripple:!0}),r.jsx(D,{size:"large",color:"secondary",label:"悬停效果",className:ie.hoverDemo}),r.jsx(D,{size:"large",color:"success",label:"点击效果",className:ie.activeDemo})]})})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"图标与动效"}),r.jsx("p",{className:ie.description,children:"展示带有图标和动画效果的开关。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{size:"large",children:[r.jsx(D,{icon:r.jsx(Lc,{}),label:"WiFi",defaultChecked:!0,color:"primary"}),r.jsx(D,{icon:r.jsx(kc,{}),label:"蓝牙",color:"secondary"}),r.jsx(D,{icon:r.jsx($c,{}),label:"定位",color:"success"})]}),r.jsxs(W,{size:"large",children:[r.jsx(D,{icon:r.jsx(zc,{}),label:"通知",loading:!0,defaultChecked:!0}),r.jsx(D,{icon:r.jsx(hl,{}),label:"同步中",loading:!0})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"高级动效"}),r.jsx("p",{className:ie.description,children:"展示更丰富的动画效果。"}),r.jsx("div",{className:ie.group,children:r.jsx(W,{direction:"vertical",size:"large",children:r.jsxs("div",{className:ie.animationDemo,children:[r.jsx(D,{size:"large",color:"primary",label:"脉冲效果",className:ie.pulseDemo,defaultChecked:!0}),r.jsx(D,{size:"large",color:"success",label:"弹性效果",className:ie.bounceDemo}),r.jsx(D,{size:"large",color:"warning",label:"渐变效果",className:ie.fadeDemo})]})})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"系统设置面板"}),r.jsx("p",{className:ie.description,children:"模拟系统设置面板的开关组合。"}),r.jsx("div",{className:ie.group,children:r.jsxs("div",{className:ie.settingsPanel,children:[r.jsxs("div",{className:ie.settingsGroup,children:[r.jsx("h4",{children:"隐私设置"}),r.jsxs(W,{direction:"vertical",size:"medium",children:[r.jsx(D,{checked:h.fingerprint,onChange:v=>f(w=>({...w,fingerprint:v})),icon:r.jsx(K3,{}),label:"指纹解锁",color:"primary"}),r.jsx(D,{checked:h.location,onChange:v=>f(w=>({...w,location:v})),icon:r.jsx($c,{}),label:"位置服务",color:"warning"}),r.jsx(D,{checked:h.analytics,onChange:v=>f(w=>({...w,analytics:v})),icon:r.jsx(_6,{}),label:"数据分析",color:"error"})]})]}),r.jsxs("div",{className:ie.settingsGroup,children:[r.jsx("h4",{children:"个性化"}),r.jsxs(W,{direction:"vertical",size:"medium",children:[r.jsx(D,{checked:p.autoSave,onChange:v=>x(w=>({...w,autoSave:v})),icon:r.jsx(Gp,{}),label:"自动保存",color:"success"}),r.jsx(D,{checked:p.notifications,onChange:v=>x(w=>({...w,notifications:v})),icon:p.notifications?r.jsx(zc,{}):r.jsx(p6,{}),label:p.notifications?"通知已开启":"通知已关闭",color:"primary"}),r.jsx(D,{checked:p.darkMode,onChange:v=>x(w=>({...w,darkMode:v})),icon:p.darkMode?r.jsx(Yp,{}):r.jsx(Xp,{}),label:p.darkMode?"深色模式":"浅色模式",color:"secondary"})]})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"动态状态切换"}),r.jsx("p",{className:ie.description,children:"展示开关状态切换时的动态效果。"}),r.jsx("div",{className:ie.group,children:r.jsx(W,{direction:"vertical",size:"large",children:r.jsxs(W,{size:"large",children:[r.jsx(D,{icon:p.sound?r.jsx(Ol,{}):r.jsx(Z3,{}),label:p.sound?"已收藏":"未收藏",checked:p.sound,onChange:v=>x(w=>({...w,sound:v})),color:"#EC4899"}),r.jsx(D,{icon:h.faceId?r.jsx(V3,{}):r.jsx(q3,{}),label:h.faceId?"显示密码":"隐藏密码",checked:h.faceId,onChange:v=>f(w=>({...w,faceId:v})),color:"#6366F1"}),r.jsx(D,{icon:e?r.jsx(a6,{}):r.jsx(o6,{}),label:e?"已锁定":"未锁定",checked:e,onChange:v=>t(v),color:"#10B981"})]})})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"快捷操作面板"}),r.jsx("p",{className:ie.description,children:"常用的快捷操作组合。"}),r.jsx("div",{className:ie.group,children:r.jsx("div",{className:ie.quickPanel,children:r.jsxs(W,{wrap:!0,size:[24,16],children:[r.jsx(D,{size:"large",icon:r.jsx(Lc,{}),label:"WiFi",defaultChecked:!0,color:"primary"}),r.jsx(D,{size:"large",icon:r.jsx(kc,{}),label:"蓝牙",color:"secondary"}),r.jsx(D,{size:"large",icon:r.jsx(X3,{}),label:"漫游",color:"warning"}),r.jsx(D,{size:"large",icon:r.jsx(i6,{}),label:"翻译",color:"success"})]})})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"设备控制面板"}),r.jsx("p",{className:ie.description,children:"模拟设备控制面板的开关组合。"}),r.jsx("div",{className:ie.group,children:r.jsxs("div",{className:ie.controlPanel,children:[r.jsxs("div",{className:ie.controlGroup,children:[r.jsx("h4",{children:"相机设置"}),r.jsxs(W,{direction:"vertical",size:"medium",children:[r.jsx(D,{checked:_.camera,onChange:v=>y(w=>({...w,camera:v})),icon:r.jsx(F3,{}),label:"相机开关",color:"#3B82F6",size:"large"}),r.jsx(D,{checked:_.flash,onChange:v=>y(w=>({...w,flash:v})),icon:r.jsx(G3,{}),label:"闪光灯",color:"#F59E0B"})]})]}),r.jsxs("div",{className:ie.controlGroup,children:[r.jsx("h4",{children:"设备状态"}),r.jsxs(W,{direction:"vertical",size:"medium",children:[r.jsx(D,{checked:_.waterproof,onChange:v=>y(w=>({...w,waterproof:v})),icon:r.jsx(z6,{}),label:"防水模式",color:"#0EA5E9"}),r.jsx(D,{checked:_.temperature,onChange:v=>y(w=>({...w,temperature:v})),icon:r.jsx(C6,{}),label:"温度监控",color:"#DC2626"})]})]}),r.jsxs("div",{className:ie.controlGroup,children:[r.jsx("h4",{children:"性能设置"}),r.jsxs(W,{direction:"vertical",size:"medium",children:[r.jsx(D,{checked:_.battery,onChange:v=>y(w=>({...w,battery:v})),icon:r.jsx(P3,{}),label:"省电模式",color:"#059669"}),r.jsx(D,{checked:_.performance,onChange:v=>y(w=>({...w,performance:v})),icon:r.jsx(b6,{}),label:"高性能模式",color:"#7C3AED"})]})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"智能家居控制"}),r.jsx("p",{className:ie.description,children:"智能家居设备的控制面板。"}),r.jsx("div",{className:ie.group,children:r.jsx("div",{className:ie.homePanel,children:r.jsxs(W,{wrap:!0,size:[32,24],children:[r.jsx(D,{size:"large",checked:C.lights,onChange:v=>j(w=>({...w,lights:v})),icon:r.jsx(e6,{}),label:"智能灯光",color:"#EC4899"}),r.jsx(D,{size:"large",checked:C.alarm,onChange:v=>j(w=>({...w,alarm:v})),icon:r.jsx(I3,{}),label:"安防系统",color:"#EF4444"}),r.jsx(D,{size:"large",checked:C.gaming,onChange:v=>j(w=>({...w,gaming:v})),icon:r.jsx(Q3,{}),label:"游戏模式",color:"#8B5CF6"}),r.jsx(D,{size:"large",checked:C.music,onChange:v=>j(w=>({...w,music:v})),icon:r.jsx(h6,{}),label:"音乐系统",color:"#10B981"}),r.jsx(D,{size:"large",checked:C.radio,onChange:v=>j(w=>({...w,radio:v})),icon:r.jsx(f6,{}),label:"智能广播",color:"#F97316"})]})})})]})]})]})},iI=()=>{const{t:e}=Le();return r.jsxs("div",{className:P.componentPage,children:[r.jsx("header",{className:P.header,children:r.jsxs("div",{className:P.titleWrapper,children:[r.jsx(k0,{className:P.icon}),r.jsxs("div",{children:[r.jsx("h1",{children:e("components.switch.title")}),r.jsx("p",{children:e("components.switch.description")})]})]})}),r.jsxs("section",{className:P.section,children:[r.jsx("h2",{children:e("components.switch.installation")}),r.jsx("div",{className:P.codeWrapper,children:r.jsx(me,{code:"import { Switch } from '@minerva/lib-core';",language:"typescript"})})]}),r.jsxs("section",{className:P.section,children:[r.jsx("h2",{children:e("components.switch.basic_usage")}),r.jsx("div",{className:P.codeWrapper,children:r.jsx(me,{code:`import { Switch } from '@minerva/lib-core'; +}`,language:"typescript"})})]}),r.jsxs("section",{className:P.section,children:[r.jsx("h2",{children:e("components.radio.examples")}),r.jsx("div",{className:P.examples,children:r.jsx(TL,{})})]})]})},BL="_section_1th5c_42",OL="_group_1th5c_54",DL="_settingCard_1th5c_63",UL="_interactiveDemo_1th5c_75",HL="_description_1th5c_84",WL="_animationDemo_1th5c_90",qL="_pulseDemo_1th5c_96",VL="_thumb_1th5c_96",KL="_pulse_1th5c_96",GL="_bounceDemo_1th5c_99",QL="_fadeDemo_1th5c_102",YL="_track_1th5c_102",JL="_settingsPanel_1th5c_117",XL="_settingsGroup_1th5c_122",ZL="_quickPanel_1th5c_136",eI="_controlPanel_1th5c_148",tI="_controlGroup_1th5c_154",nI="_homePanel_1th5c_167",ie={section:BL,group:OL,settingCard:DL,interactiveDemo:UL,description:HL,animationDemo:WL,pulseDemo:qL,thumb:VL,pulse:KL,bounceDemo:GL,fadeDemo:QL,track:YL,settingsPanel:JL,settingsGroup:XL,quickPanel:ZL,controlPanel:eI,controlGroup:tI,homePanel:nI,"accordion-down":"_accordion-down_1th5c_1","accordion-up":"_accordion-up_1th5c_1"},rI=()=>{const[e,t]=b.useState(!1),[n,i]=b.useState(!0),[s,a]=b.useState(!0),[o,l]=b.useState(!1),[c,u]=b.useState(!1),[h,f]=b.useState({fingerprint:!0,faceId:!1,location:!0,analytics:!1}),[p,x]=b.useState({autoSave:!0,notifications:!0,darkMode:!1,sound:!0}),[j,y]=b.useState({camera:!1,flash:!0,waterproof:!0,temperature:!1,battery:!0,performance:!1}),[C,_]=b.useState({lights:!0,alarm:!1,gaming:!1,music:!0,radio:!1}),d=()=>{l(!0),setTimeout(()=>l(!1),2e3)},m=()=>{u(!0),setTimeout(()=>u(!1),2e3)};return r.jsxs("div",{className:ie.section,children:[r.jsxs("div",{className:ie.header,children:[r.jsx("h2",{children:"Switch 开关"}),r.jsx("p",{children:"开关选择器,用于在两个互斥状态间切换。"})]}),r.jsxs(W,{direction:"vertical",size:"large",block:!0,children:[r.jsxs("div",{children:[r.jsx("h3",{children:"基础用法"}),r.jsx("p",{className:ie.description,children:"最基本的开关用法。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{size:"large",children:[r.jsx(D,{}),r.jsx(D,{defaultChecked:!0}),r.jsx(D,{disabled:!0}),r.jsx(D,{disabled:!0,defaultChecked:!0})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"尺寸大小"}),r.jsx("p",{className:ie.description,children:"提供三种尺寸的开关。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{size:"large",align:"center",children:[r.jsx(D,{size:"small",label:"Small"}),r.jsx(D,{size:"medium",label:"Medium"}),r.jsx(D,{size:"large",label:"Large"})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"颜色主题"}),r.jsx("p",{className:ie.description,children:"不同状态下的开关颜色。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"medium",children:[r.jsxs(W,{size:"large",children:[r.jsx(D,{color:"primary",label:"Primary",defaultChecked:!0}),r.jsx(D,{color:"secondary",label:"Secondary",defaultChecked:!0}),r.jsx(D,{color:"success",label:"Success",defaultChecked:!0})]}),r.jsxs(W,{size:"large",children:[r.jsx(D,{color:"warning",label:"Warning",defaultChecked:!0}),r.jsx(D,{color:"error",label:"Error",defaultChecked:!0}),r.jsx(D,{color:"#8B5CF6",label:"Custom",defaultChecked:!0})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"标签位置"}),r.jsx("p",{className:ie.description,children:"可以配置标签在开关的不同位置。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"medium",children:[r.jsxs(W,{size:"large",children:[r.jsx(D,{label:"Start",labelPlacement:"start"}),r.jsx(D,{label:"End",labelPlacement:"end"})]}),r.jsxs(W,{size:"large",children:[r.jsx(D,{label:"Top",labelPlacement:"top"}),r.jsx(D,{label:"Bottom",labelPlacement:"bottom"})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"加载状态"}),r.jsx("p",{className:ie.description,children:"切换时可以显示加载状态。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{size:"large",children:[r.jsx(D,{loading:!0,label:"Loading"}),r.jsx(D,{loading:!0,defaultChecked:!0,label:"Loading Checked"}),r.jsx(D,{loading:!0,disabled:!0,label:"Loading Disabled"})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"实际应用场景"}),r.jsx("p",{className:ie.description,children:"在实际应用中的一些常见场景。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsx(D,{checked:e,onChange:v=>t(v),label:e?"Dark Mode":"Light Mode",icon:e?r.jsx(Yp,{}):r.jsx(Xp,{})}),r.jsx(D,{checked:n,onChange:v=>i(v),label:"通知提醒",icon:r.jsx(zc,{}),color:"success"}),r.jsx(D,{checked:s,onChange:v=>a(v),label:s?"声音开启":"静音模式",icon:r.jsx($6,{}),color:"warning"})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"自定义样式"}),r.jsx("p",{className:ie.description,children:"展示不同的自定义样式效果。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{size:"large",children:[r.jsx(D,{trackStyle:{backgroundColor:"rgba(139, 92, 246, 0.5)"},thumbStyle:{backgroundColor:"#8B5CF6"},labelStyle:{color:"#8B5CF6",fontWeight:500},defaultChecked:!0,label:"紫色主题"}),r.jsx(D,{trackStyle:{backgroundColor:"rgba(16, 185, 129, 0.5)"},thumbStyle:{backgroundColor:"#10B981"},labelStyle:{color:"#10B981",fontWeight:500},defaultChecked:!0,label:"绿色主题"})]}),r.jsxs(W,{size:"large",children:[r.jsx(D,{trackStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)"},thumbStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)",boxShadow:"0 3px 12px rgba(255, 107, 107, 0.4)"},labelStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",fontWeight:600},defaultChecked:!0,label:"渐变主题"}),r.jsx(D,{trackStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)"},thumbStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)",boxShadow:"0 3px 12px rgba(124, 58, 237, 0.4)"},labelStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",fontWeight:600},defaultChecked:!0,label:"紫罗兰"})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"标签样式"}),r.jsx("p",{className:ie.description,children:"展示不同的标签样式效果。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{size:"large",children:[r.jsx(D,{label:"重要选项",labelStyle:{color:"#EF4444",fontWeight:600,fontSize:"16px"},color:"error"}),r.jsx(D,{label:"可选设置",labelStyle:{color:"#6B7280",fontStyle:"italic"},color:"secondary"})]}),r.jsxs(W,{size:"large",children:[r.jsx(D,{label:r.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[r.jsx("span",{style:{fontWeight:500},children:"高级设置"}),r.jsx("span",{style:{fontSize:"12px",color:"#6B7280"},children:"启用后可使用更多功能"})]}),labelStyle:{display:"flex",flexDirection:"column",gap:"4px"},color:"primary"}),r.jsx(D,{label:"实验性功能",labelStyle:{backgroundColor:"#FEF3C7",color:"#D97706",padding:"4px 8px",borderRadius:"4px",fontSize:"12px",fontWeight:500},color:"warning"})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"渐变效果"}),r.jsx("p",{className:ie.description,children:"展示带有渐变效果的开关。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{size:"large",children:[r.jsx(D,{trackStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)"},thumbStyle:{background:"linear-gradient(45deg, #FF6B6B 30%, #FFD93D 90%)",color:"#fff"},defaultChecked:!0,label:"日落渐变"}),r.jsx(D,{trackStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)"},thumbStyle:{background:"linear-gradient(45deg, #4F46E5 30%, #7C3AED 90%)",color:"#fff"},defaultChecked:!0,label:"紫罗兰"}),r.jsx(D,{trackStyle:{background:"linear-gradient(45deg, #059669 30%, #10B981 90%)"},thumbStyle:{background:"linear-gradient(45deg, #059669 30%, #10B981 90%)",color:"#fff"},defaultChecked:!0,label:"翡翠绿"})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"加载状态与动画"}),r.jsx("p",{className:ie.description,children:"展示不同状态下的加载动画。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{size:"large",children:[r.jsx(D,{loading:!0}),r.jsx(D,{loading:!0,defaultChecked:!0}),r.jsx(D,{loading:!0,disabled:!0})]}),r.jsxs(W,{size:"large",children:[r.jsx(D,{loading:!0,size:"small",label:"Small Loading"}),r.jsx(D,{loading:!0,size:"medium",label:"Medium Loading"}),r.jsx(D,{loading:!0,size:"large",label:"Large Loading"})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"自定义颜色"}),r.jsx("p",{className:ie.description,children:"展示不同颜色搭配的效果。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{size:"large",children:[r.jsx(D,{color:"#8B5CF6",label:"紫色",defaultChecked:!0}),r.jsx(D,{color:"#10B981",label:"绿色",defaultChecked:!0}),r.jsx(D,{color:"#F59E0B",label:"橙色",defaultChecked:!0})]}),r.jsxs(W,{size:"large",children:[r.jsx(D,{color:"#EC4899",label:"粉色",defaultChecked:!0}),r.jsx(D,{color:"#3B82F6",label:"蓝色",defaultChecked:!0}),r.jsx(D,{color:"#6366F1",label:"靛蓝",defaultChecked:!0})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"组合场景"}),r.jsx("p",{className:ie.description,children:"在实际应用中的组合使用场景。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsx("div",{className:ie.settingItem,children:r.jsxs(W,{size:"large",children:[r.jsx(D,{checked:e,onChange:t,color:"#6366F1",size:"large",label:e?"深色模式已开启":"深色模式已关闭"}),r.jsx(D,{checked:n,onChange:i,color:"#10B981",label:"系统通知",loading:!1})]})}),r.jsx("div",{className:ie.settingItem,children:r.jsxs(W,{size:"large",children:[r.jsx(D,{color:"#F59E0B",label:"自动更新",defaultChecked:!0}),r.jsx(D,{color:"#EC4899",label:"位置服务"})]})})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"特殊状态"}),r.jsx("p",{className:ie.description,children:"展示各种特殊状态下的效果。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{size:"large",children:[r.jsx(D,{disabled:!0,label:"禁用状态"}),r.jsx(D,{disabled:!0,checked:!0,label:"禁用选中"}),r.jsx(D,{loading:!0,label:"加载中"})]}),r.jsxs(W,{size:"large",children:[r.jsx(D,{shape:"square",label:"方形开关"}),r.jsx(D,{ripple:!1,label:"无涟漪效果"}),r.jsx(D,{size:"small",shape:"square",label:"小方形"})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"交互反馈"}),r.jsx("p",{className:ie.description,children:"展示不同的交互状态和动画效果。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{size:"large",children:[r.jsx(D,{label:"提交更改",loading:o,icon:r.jsx(Gp,{}),onClick:d}),r.jsx(D,{label:"同步数据",loading:c,icon:r.jsx(hl,{}),onClick:m})]}),r.jsxs("div",{className:ie.settingCard,children:[r.jsx("h4",{children:"快速设置"}),r.jsxs(W,{direction:"vertical",size:"medium",children:[r.jsx(D,{icon:r.jsx(Lc,{}),label:"无线网络",defaultChecked:!0}),r.jsx(D,{icon:r.jsx(kc,{}),label:"蓝牙"}),r.jsx(D,{icon:r.jsx(L3,{}),label:"飞行模式"}),r.jsx(D,{icon:r.jsx($c,{}),label:"定位服务",defaultChecked:!0})]})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"动态效果"}),r.jsx("p",{className:ie.description,children:"展示开关的动态交互效果。"}),r.jsx("div",{className:ie.group,children:r.jsx(W,{direction:"vertical",size:"large",children:r.jsxs("div",{className:ie.interactiveDemo,children:[r.jsx(D,{size:"large",color:"primary",label:"带有涟漪效果",ripple:!0}),r.jsx(D,{size:"large",color:"secondary",label:"悬停效果",className:ie.hoverDemo}),r.jsx(D,{size:"large",color:"success",label:"点击效果",className:ie.activeDemo})]})})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"图标与动效"}),r.jsx("p",{className:ie.description,children:"展示带有图标和动画效果的开关。"}),r.jsx("div",{className:ie.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{size:"large",children:[r.jsx(D,{icon:r.jsx(Lc,{}),label:"WiFi",defaultChecked:!0,color:"primary"}),r.jsx(D,{icon:r.jsx(kc,{}),label:"蓝牙",color:"secondary"}),r.jsx(D,{icon:r.jsx($c,{}),label:"定位",color:"success"})]}),r.jsxs(W,{size:"large",children:[r.jsx(D,{icon:r.jsx(zc,{}),label:"通知",loading:!0,defaultChecked:!0}),r.jsx(D,{icon:r.jsx(hl,{}),label:"同步中",loading:!0})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"高级动效"}),r.jsx("p",{className:ie.description,children:"展示更丰富的动画效果。"}),r.jsx("div",{className:ie.group,children:r.jsx(W,{direction:"vertical",size:"large",children:r.jsxs("div",{className:ie.animationDemo,children:[r.jsx(D,{size:"large",color:"primary",label:"脉冲效果",className:ie.pulseDemo,defaultChecked:!0}),r.jsx(D,{size:"large",color:"success",label:"弹性效果",className:ie.bounceDemo}),r.jsx(D,{size:"large",color:"warning",label:"渐变效果",className:ie.fadeDemo})]})})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"系统设置面板"}),r.jsx("p",{className:ie.description,children:"模拟系统设置面板的开关组合。"}),r.jsx("div",{className:ie.group,children:r.jsxs("div",{className:ie.settingsPanel,children:[r.jsxs("div",{className:ie.settingsGroup,children:[r.jsx("h4",{children:"隐私设置"}),r.jsxs(W,{direction:"vertical",size:"medium",children:[r.jsx(D,{checked:h.fingerprint,onChange:v=>f(w=>({...w,fingerprint:v})),icon:r.jsx(K3,{}),label:"指纹解锁",color:"primary"}),r.jsx(D,{checked:h.location,onChange:v=>f(w=>({...w,location:v})),icon:r.jsx($c,{}),label:"位置服务",color:"warning"}),r.jsx(D,{checked:h.analytics,onChange:v=>f(w=>({...w,analytics:v})),icon:r.jsx(_6,{}),label:"数据分析",color:"error"})]})]}),r.jsxs("div",{className:ie.settingsGroup,children:[r.jsx("h4",{children:"个性化"}),r.jsxs(W,{direction:"vertical",size:"medium",children:[r.jsx(D,{checked:p.autoSave,onChange:v=>x(w=>({...w,autoSave:v})),icon:r.jsx(Gp,{}),label:"自动保存",color:"success"}),r.jsx(D,{checked:p.notifications,onChange:v=>x(w=>({...w,notifications:v})),icon:p.notifications?r.jsx(zc,{}):r.jsx(p6,{}),label:p.notifications?"通知已开启":"通知已关闭",color:"primary"}),r.jsx(D,{checked:p.darkMode,onChange:v=>x(w=>({...w,darkMode:v})),icon:p.darkMode?r.jsx(Yp,{}):r.jsx(Xp,{}),label:p.darkMode?"深色模式":"浅色模式",color:"secondary"})]})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"动态状态切换"}),r.jsx("p",{className:ie.description,children:"展示开关状态切换时的动态效果。"}),r.jsx("div",{className:ie.group,children:r.jsx(W,{direction:"vertical",size:"large",children:r.jsxs(W,{size:"large",children:[r.jsx(D,{icon:p.sound?r.jsx(Ol,{}):r.jsx(Z3,{}),label:p.sound?"已收藏":"未收藏",checked:p.sound,onChange:v=>x(w=>({...w,sound:v})),color:"#EC4899"}),r.jsx(D,{icon:h.faceId?r.jsx(V3,{}):r.jsx(q3,{}),label:h.faceId?"显示密码":"隐藏密码",checked:h.faceId,onChange:v=>f(w=>({...w,faceId:v})),color:"#6366F1"}),r.jsx(D,{icon:e?r.jsx(a6,{}):r.jsx(o6,{}),label:e?"已锁定":"未锁定",checked:e,onChange:v=>t(v),color:"#10B981"})]})})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"快捷操作面板"}),r.jsx("p",{className:ie.description,children:"常用的快捷操作组合。"}),r.jsx("div",{className:ie.group,children:r.jsx("div",{className:ie.quickPanel,children:r.jsxs(W,{wrap:!0,size:[24,16],children:[r.jsx(D,{size:"large",icon:r.jsx(Lc,{}),label:"WiFi",defaultChecked:!0,color:"primary"}),r.jsx(D,{size:"large",icon:r.jsx(kc,{}),label:"蓝牙",color:"secondary"}),r.jsx(D,{size:"large",icon:r.jsx(X3,{}),label:"漫游",color:"warning"}),r.jsx(D,{size:"large",icon:r.jsx(i6,{}),label:"翻译",color:"success"})]})})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"设备控制面板"}),r.jsx("p",{className:ie.description,children:"模拟设备控制面板的开关组合。"}),r.jsx("div",{className:ie.group,children:r.jsxs("div",{className:ie.controlPanel,children:[r.jsxs("div",{className:ie.controlGroup,children:[r.jsx("h4",{children:"相机设置"}),r.jsxs(W,{direction:"vertical",size:"medium",children:[r.jsx(D,{checked:j.camera,onChange:v=>y(w=>({...w,camera:v})),icon:r.jsx(F3,{}),label:"相机开关",color:"#3B82F6",size:"large"}),r.jsx(D,{checked:j.flash,onChange:v=>y(w=>({...w,flash:v})),icon:r.jsx(G3,{}),label:"闪光灯",color:"#F59E0B"})]})]}),r.jsxs("div",{className:ie.controlGroup,children:[r.jsx("h4",{children:"设备状态"}),r.jsxs(W,{direction:"vertical",size:"medium",children:[r.jsx(D,{checked:j.waterproof,onChange:v=>y(w=>({...w,waterproof:v})),icon:r.jsx(z6,{}),label:"防水模式",color:"#0EA5E9"}),r.jsx(D,{checked:j.temperature,onChange:v=>y(w=>({...w,temperature:v})),icon:r.jsx(C6,{}),label:"温度监控",color:"#DC2626"})]})]}),r.jsxs("div",{className:ie.controlGroup,children:[r.jsx("h4",{children:"性能设置"}),r.jsxs(W,{direction:"vertical",size:"medium",children:[r.jsx(D,{checked:j.battery,onChange:v=>y(w=>({...w,battery:v})),icon:r.jsx(P3,{}),label:"省电模式",color:"#059669"}),r.jsx(D,{checked:j.performance,onChange:v=>y(w=>({...w,performance:v})),icon:r.jsx(b6,{}),label:"高性能模式",color:"#7C3AED"})]})]})]})})]}),r.jsxs("div",{children:[r.jsx("h3",{children:"智能家居控制"}),r.jsx("p",{className:ie.description,children:"智能家居设备的控制面板。"}),r.jsx("div",{className:ie.group,children:r.jsx("div",{className:ie.homePanel,children:r.jsxs(W,{wrap:!0,size:[32,24],children:[r.jsx(D,{size:"large",checked:C.lights,onChange:v=>_(w=>({...w,lights:v})),icon:r.jsx(e6,{}),label:"智能灯光",color:"#EC4899"}),r.jsx(D,{size:"large",checked:C.alarm,onChange:v=>_(w=>({...w,alarm:v})),icon:r.jsx(I3,{}),label:"安防系统",color:"#EF4444"}),r.jsx(D,{size:"large",checked:C.gaming,onChange:v=>_(w=>({...w,gaming:v})),icon:r.jsx(Q3,{}),label:"游戏模式",color:"#8B5CF6"}),r.jsx(D,{size:"large",checked:C.music,onChange:v=>_(w=>({...w,music:v})),icon:r.jsx(h6,{}),label:"音乐系统",color:"#10B981"}),r.jsx(D,{size:"large",checked:C.radio,onChange:v=>_(w=>({...w,radio:v})),icon:r.jsx(f6,{}),label:"智能广播",color:"#F97316"})]})})})]})]})]})},iI=()=>{const{t:e}=Le();return r.jsxs("div",{className:P.componentPage,children:[r.jsx("header",{className:P.header,children:r.jsxs("div",{className:P.titleWrapper,children:[r.jsx(k0,{className:P.icon}),r.jsxs("div",{children:[r.jsx("h1",{children:e("components.switch.title")}),r.jsx("p",{children:e("components.switch.description")})]})]})}),r.jsxs("section",{className:P.section,children:[r.jsx("h2",{children:e("components.switch.installation")}),r.jsx("div",{className:P.codeWrapper,children:r.jsx(me,{code:"import { Switch } from '@minerva/lib-core';",language:"typescript"})})]}),r.jsxs("section",{className:P.section,children:[r.jsx("h2",{children:e("components.switch.basic_usage")}),r.jsx("div",{className:P.codeWrapper,children:r.jsx(me,{code:`import { Switch } from '@minerva/lib-core'; function App() { return ( @@ -474,11 +474,11 @@ function App() { description="This is an informational alert." /> ); -}`,language:"typescript"})})]}),r.jsxs("section",{className:P.section,children:[r.jsx("h2",{children:"Examples"}),r.jsx("div",{className:P.examples,children:r.jsx(FI,{})})]})]})},OI="_section_o6on8_42",DI="_demo_o6on8_51",UI="_complexContent_o6on8_69",HI="_interactive_o6on8_79",WI="_buttonIcon_o6on8_83",qI="_customMessage_o6on8_88",VI="_slideRight_o6on8_1",KI="_bounceMessage_o6on8_91",GI="_bounce_o6on8_91",QI="_positionDemo_o6on8_121",YI="_positionGrid_o6on8_131",JI="_customStyledMessage_o6on8_139",XI="_icon_o6on8_144",ZI="_imageMessage_o6on8_148",eR="_messageImage_o6on8_153",tR="_animatedMessage_o6on8_160",nR="_slideAndBounce_o6on8_1",rR="_sparkleIcon_o6on8_163",iR="_sparkle_o6on8_163",sR="_badgeMessage_o6on8_167",aR="_badge_o6on8_167",oR="_complexProgress_o6on8_180",lR="_progressHeader_o6on8_183",cR="_progressBar_o6on8_188",dR="_progressFill_o6on8_196",uR="_fileInfo_o6on8_201",hR="_ratingMessage_o6on8_206",pR="_stars_o6on8_206",fR="_star_o6on8_206",mR="_pulsingIcon_o6on8_221",gR="_pulse_o6on8_1",ue={section:OI,demo:DI,complexContent:UI,interactive:HI,buttonIcon:WI,customMessage:qI,slideRight:VI,bounceMessage:KI,bounce:GI,positionDemo:QI,positionGrid:YI,customStyledMessage:JI,icon:XI,imageMessage:ZI,messageImage:eR,animatedMessage:tR,slideAndBounce:nR,sparkleIcon:rR,sparkle:iR,badgeMessage:sR,badge:aR,complexProgress:oR,progressHeader:lR,progressBar:cR,progressFill:dR,fileInfo:uR,ratingMessage:hR,stars:pR,star:fR,pulsingIcon:mR,pulse:gR,"accordion-down":"_accordion-down_o6on8_1","accordion-up":"_accordion-up_o6on8_1"},xR=()=>{const e=QE(),t=()=>{je.info({content:"This is a basic message",icon:r.jsx(Nc,{})})},n=()=>{je.success({content:"Operation completed successfully",icon:r.jsx(Sc,{}),showClose:!0})},i=()=>{je.error({content:"An error occurred",icon:r.jsx(f0,{}),duration:4e3})},s=()=>{je.warning({content:"Warning: Please check your input",icon:r.jsx(E6,{}),showClose:!0})},a=()=>{je.loading({content:"Processing your request...",duration:2e3})},o=()=>{je.info({content:"Message at top",placement:"top",icon:r.jsx(Cc,{})})},l=()=>{je.info({content:"Message at top-left",placement:"topLeft",icon:r.jsx(Cc,{})})},c=()=>{je.info({content:"Message at top-right",placement:"topRight",icon:r.jsx(Cc,{})})},u=()=>{je.info({content:"Message at bottom",placement:"bottom",icon:r.jsx(wc,{})})},h=()=>{je.info({content:"Message at bottom-left",placement:"bottomLeft",icon:r.jsx(wc,{})})},f=()=>{je.info({content:"Message at bottom-right",placement:"bottomRight",icon:r.jsx(wc,{})})},p=()=>{e.info({content:"Message from useMessage hook",icon:r.jsx(Nc,{}),showClose:!0})},x=()=>{e.loading({content:"Processing...",duration:1500}).then(()=>e.success({content:"Operation completed!",icon:r.jsx(Sc,{}),duration:2e3}))},_=()=>{const I=e.info({content:"Initial message...",duration:0,icon:r.jsx(hl,{})});setTimeout(()=>{e.update(I,{content:"Updated message content!",type:"success",icon:r.jsx(Sc,{}),duration:2e3})},1500)},y=()=>{je.info({content:"This message will stay for 10 seconds",duration:1e4,showClose:!0})},C=()=>{je.success({content:"Custom icon message",icon:r.jsx(Y3,{className:ue.customIcon})})},j=()=>{je.info({content:"Message without icon",icon:null})},d=()=>{["info","success","warning","error"].forEach((I,B)=>{setTimeout(()=>{je[I]({content:`This is message ${B+1}`,duration:3e3})},B*300)})},m=()=>{je.info({content:r.jsxs("div",{className:ue.complexContent,children:[r.jsx("h4",{children:"Complex Message Title"}),r.jsx("p",{children:"This is a message with complex content."}),r.jsx(N,{size:"small",type:"primary",children:"Take Action"})]}),duration:0,showClose:!0})},v=()=>{let I=0;const B=je.loading({content:`Processing: ${I}%`,duration:0}),V=setInterval(()=>{I+=10,I<=100?je.update(B,{content:`Processing: ${I}%`,type:I===100?"success":"loading",duration:I===100?1e3:0}):clearInterval(V)},1e3)},w=()=>{const I=je.info({content:r.jsxs("div",{className:ue.interactive,children:[r.jsx("p",{children:"Do you want to proceed?"}),r.jsxs(W,{children:[r.jsx(N,{size:"small",type:"primary",onClick:()=>{je.success({content:"Action confirmed!",duration:2e3}),je.destroy(I)},children:"Yes"}),r.jsx(N,{size:"small",onClick:()=>je.destroy(I),children:"No"})]})]}),duration:0})},g=()=>{e.loading({content:"Step 1: Initializing...",duration:1500}).then(()=>e.loading({content:"Step 2: Processing...",duration:1500})).then(()=>e.loading({content:"Step 3: Finalizing...",duration:1500})).then(()=>e.success({content:"All steps completed!"}))},S=()=>{je.info({content:"Custom styled message",className:ue.customStyledMessage,style:{background:"linear-gradient(45deg, #ff6b6b, #ff8e8e)",color:"#fff",border:"none"},icon:r.jsx(Qp,{})})},E=()=>{je.info({content:r.jsxs("div",{className:ue.imageMessage,children:[r.jsx("img",{src:"https://place-hold.it/40x40",alt:"Preview",className:ue.messageImage}),r.jsx("span",{children:"Image uploaded successfully!"})]}),icon:r.jsx(t6,{})})},L=()=>{je.success({content:"Animated message",className:ue.animatedMessage,icon:r.jsx(j6,{className:ue.sparkleIcon})})},R=()=>{je.info({content:r.jsxs("div",{className:ue.badgeMessage,children:[r.jsx("span",{className:ue.badge,children:"New"}),r.jsx("span",{children:"Feature released!"})]}),icon:r.jsx(g6,{})})},F=()=>{let I=0;const B=je.info({content:r.jsxs("div",{className:ue.complexProgress,children:[r.jsxs("div",{className:ue.progressHeader,children:[r.jsx("span",{children:"Uploading files..."}),r.jsxs("span",{children:[I,"%"]})]}),r.jsx("div",{className:ue.progressBar,children:r.jsx("div",{className:ue.progressFill,style:{width:`${I}%`}})}),r.jsx("div",{className:ue.fileInfo,children:"document.pdf (2.5MB)"})]}),duration:0}),V=setInterval(()=>{I+=20,I<=100?je.update(B,{content:r.jsxs("div",{className:ue.complexProgress,children:[r.jsxs("div",{className:ue.progressHeader,children:[r.jsx("span",{children:I===100?"Upload complete!":"Uploading files..."}),r.jsxs("span",{children:[I,"%"]})]}),r.jsx("div",{className:ue.progressBar,children:r.jsx("div",{className:ue.progressFill,style:{width:`${I}%`}})}),r.jsx("div",{className:ue.fileInfo,children:"document.pdf (2.5MB)"})]}),type:I===100?"success":"info",duration:I===100?2e3:0}):clearInterval(V)},1e3)},Y=()=>{je.success({content:r.jsxs("div",{className:ue.ratingMessage,children:[r.jsx("span",{children:"Rate your experience"}),r.jsx("div",{className:ue.stars,children:[1,2,3,4,5].map(I=>r.jsx(w0,{className:ue.star,onClick:()=>{je.success({content:`Thank you for rating ${I} stars!`,icon:r.jsx(k6,{})})}},I))})]}),duration:0,showClose:!0})},q=()=>{je.success({content:"Awesome job!",icon:r.jsx(Ol,{className:ue.pulsingIcon}),className:ue.iconAnimatedMessage})},O=()=>{je.info({content:"Colorful message with gradient",className:ue.gradientMessage,style:{background:"linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%)",border:"none",color:"#1a365d"},icon:r.jsx(Qp,{})})},U=()=>{je.info({content:r.jsxs("div",{className:ue.notificationStyle,children:[r.jsx("h4",{children:"New Message"}),r.jsx("p",{children:"John Doe sent you a message"}),r.jsx("div",{className:ue.time,children:"Just now"})]}),icon:r.jsx(d6,{className:ue.mailIcon}),duration:0,showClose:!0})},K=()=>{let I=5;const B=je.info({content:r.jsxs("div",{className:ue.countdown,children:[r.jsxs("span",{children:["This message will close in ",I,"s"]}),r.jsx("div",{className:ue.countdownRing,children:r.jsx("svg",{viewBox:"0 0 36 36",children:r.jsx("path",{d:`M18 2.0845 +}`,language:"typescript"})})]}),r.jsxs("section",{className:P.section,children:[r.jsx("h2",{children:"Examples"}),r.jsx("div",{className:P.examples,children:r.jsx(FI,{})})]})]})},OI="_section_o6on8_42",DI="_demo_o6on8_51",UI="_complexContent_o6on8_69",HI="_interactive_o6on8_79",WI="_buttonIcon_o6on8_83",qI="_customMessage_o6on8_88",VI="_slideRight_o6on8_1",KI="_bounceMessage_o6on8_91",GI="_bounce_o6on8_91",QI="_positionDemo_o6on8_121",YI="_positionGrid_o6on8_131",JI="_customStyledMessage_o6on8_139",XI="_icon_o6on8_144",ZI="_imageMessage_o6on8_148",eR="_messageImage_o6on8_153",tR="_animatedMessage_o6on8_160",nR="_slideAndBounce_o6on8_1",rR="_sparkleIcon_o6on8_163",iR="_sparkle_o6on8_163",sR="_badgeMessage_o6on8_167",aR="_badge_o6on8_167",oR="_complexProgress_o6on8_180",lR="_progressHeader_o6on8_183",cR="_progressBar_o6on8_188",dR="_progressFill_o6on8_196",uR="_fileInfo_o6on8_201",hR="_ratingMessage_o6on8_206",pR="_stars_o6on8_206",fR="_star_o6on8_206",mR="_pulsingIcon_o6on8_221",gR="_pulse_o6on8_1",ue={section:OI,demo:DI,complexContent:UI,interactive:HI,buttonIcon:WI,customMessage:qI,slideRight:VI,bounceMessage:KI,bounce:GI,positionDemo:QI,positionGrid:YI,customStyledMessage:JI,icon:XI,imageMessage:ZI,messageImage:eR,animatedMessage:tR,slideAndBounce:nR,sparkleIcon:rR,sparkle:iR,badgeMessage:sR,badge:aR,complexProgress:oR,progressHeader:lR,progressBar:cR,progressFill:dR,fileInfo:uR,ratingMessage:hR,stars:pR,star:fR,pulsingIcon:mR,pulse:gR,"accordion-down":"_accordion-down_o6on8_1","accordion-up":"_accordion-up_o6on8_1"},xR=()=>{const e=QE(),t=()=>{je.info({content:"This is a basic message",icon:r.jsx(Nc,{})})},n=()=>{je.success({content:"Operation completed successfully",icon:r.jsx(Sc,{}),showClose:!0})},i=()=>{je.error({content:"An error occurred",icon:r.jsx(f0,{}),duration:4e3})},s=()=>{je.warning({content:"Warning: Please check your input",icon:r.jsx(E6,{}),showClose:!0})},a=()=>{je.loading({content:"Processing your request...",duration:2e3})},o=()=>{je.info({content:"Message at top",placement:"top",icon:r.jsx(Cc,{})})},l=()=>{je.info({content:"Message at top-left",placement:"topLeft",icon:r.jsx(Cc,{})})},c=()=>{je.info({content:"Message at top-right",placement:"topRight",icon:r.jsx(Cc,{})})},u=()=>{je.info({content:"Message at bottom",placement:"bottom",icon:r.jsx(wc,{})})},h=()=>{je.info({content:"Message at bottom-left",placement:"bottomLeft",icon:r.jsx(wc,{})})},f=()=>{je.info({content:"Message at bottom-right",placement:"bottomRight",icon:r.jsx(wc,{})})},p=()=>{e.info({content:"Message from useMessage hook",icon:r.jsx(Nc,{}),showClose:!0})},x=()=>{e.loading({content:"Processing...",duration:1500}).then(()=>e.success({content:"Operation completed!",icon:r.jsx(Sc,{}),duration:2e3}))},j=()=>{const I=e.info({content:"Initial message...",duration:0,icon:r.jsx(hl,{})});setTimeout(()=>{e.update(I,{content:"Updated message content!",type:"success",icon:r.jsx(Sc,{}),duration:2e3})},1500)},y=()=>{je.info({content:"This message will stay for 10 seconds",duration:1e4,showClose:!0})},C=()=>{je.success({content:"Custom icon message",icon:r.jsx(Y3,{className:ue.customIcon})})},_=()=>{je.info({content:"Message without icon",icon:null})},d=()=>{["info","success","warning","error"].forEach((I,B)=>{setTimeout(()=>{je[I]({content:`This is message ${B+1}`,duration:3e3})},B*300)})},m=()=>{je.info({content:r.jsxs("div",{className:ue.complexContent,children:[r.jsx("h4",{children:"Complex Message Title"}),r.jsx("p",{children:"This is a message with complex content."}),r.jsx(N,{size:"small",type:"primary",children:"Take Action"})]}),duration:0,showClose:!0})},v=()=>{let I=0;const B=je.loading({content:`Processing: ${I}%`,duration:0}),V=setInterval(()=>{I+=10,I<=100?je.update(B,{content:`Processing: ${I}%`,type:I===100?"success":"loading",duration:I===100?1e3:0}):clearInterval(V)},1e3)},w=()=>{const I=je.info({content:r.jsxs("div",{className:ue.interactive,children:[r.jsx("p",{children:"Do you want to proceed?"}),r.jsxs(W,{children:[r.jsx(N,{size:"small",type:"primary",onClick:()=>{je.success({content:"Action confirmed!",duration:2e3}),je.destroy(I)},children:"Yes"}),r.jsx(N,{size:"small",onClick:()=>je.destroy(I),children:"No"})]})]}),duration:0})},g=()=>{e.loading({content:"Step 1: Initializing...",duration:1500}).then(()=>e.loading({content:"Step 2: Processing...",duration:1500})).then(()=>e.loading({content:"Step 3: Finalizing...",duration:1500})).then(()=>e.success({content:"All steps completed!"}))},S=()=>{je.info({content:"Custom styled message",className:ue.customStyledMessage,style:{background:"linear-gradient(45deg, #ff6b6b, #ff8e8e)",color:"#fff",border:"none"},icon:r.jsx(Qp,{})})},E=()=>{je.info({content:r.jsxs("div",{className:ue.imageMessage,children:[r.jsx("img",{src:"https://place-hold.it/40x40",alt:"Preview",className:ue.messageImage}),r.jsx("span",{children:"Image uploaded successfully!"})]}),icon:r.jsx(t6,{})})},L=()=>{je.success({content:"Animated message",className:ue.animatedMessage,icon:r.jsx(j6,{className:ue.sparkleIcon})})},R=()=>{je.info({content:r.jsxs("div",{className:ue.badgeMessage,children:[r.jsx("span",{className:ue.badge,children:"New"}),r.jsx("span",{children:"Feature released!"})]}),icon:r.jsx(g6,{})})},F=()=>{let I=0;const B=je.info({content:r.jsxs("div",{className:ue.complexProgress,children:[r.jsxs("div",{className:ue.progressHeader,children:[r.jsx("span",{children:"Uploading files..."}),r.jsxs("span",{children:[I,"%"]})]}),r.jsx("div",{className:ue.progressBar,children:r.jsx("div",{className:ue.progressFill,style:{width:`${I}%`}})}),r.jsx("div",{className:ue.fileInfo,children:"document.pdf (2.5MB)"})]}),duration:0}),V=setInterval(()=>{I+=20,I<=100?je.update(B,{content:r.jsxs("div",{className:ue.complexProgress,children:[r.jsxs("div",{className:ue.progressHeader,children:[r.jsx("span",{children:I===100?"Upload complete!":"Uploading files..."}),r.jsxs("span",{children:[I,"%"]})]}),r.jsx("div",{className:ue.progressBar,children:r.jsx("div",{className:ue.progressFill,style:{width:`${I}%`}})}),r.jsx("div",{className:ue.fileInfo,children:"document.pdf (2.5MB)"})]}),type:I===100?"success":"info",duration:I===100?2e3:0}):clearInterval(V)},1e3)},Y=()=>{je.success({content:r.jsxs("div",{className:ue.ratingMessage,children:[r.jsx("span",{children:"Rate your experience"}),r.jsx("div",{className:ue.stars,children:[1,2,3,4,5].map(I=>r.jsx(w0,{className:ue.star,onClick:()=>{je.success({content:`Thank you for rating ${I} stars!`,icon:r.jsx(k6,{})})}},I))})]}),duration:0,showClose:!0})},q=()=>{je.success({content:"Awesome job!",icon:r.jsx(Ol,{className:ue.pulsingIcon}),className:ue.iconAnimatedMessage})},O=()=>{je.info({content:"Colorful message with gradient",className:ue.gradientMessage,style:{background:"linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%)",border:"none",color:"#1a365d"},icon:r.jsx(Qp,{})})},U=()=>{je.info({content:r.jsxs("div",{className:ue.notificationStyle,children:[r.jsx("h4",{children:"New Message"}),r.jsx("p",{children:"John Doe sent you a message"}),r.jsx("div",{className:ue.time,children:"Just now"})]}),icon:r.jsx(d6,{className:ue.mailIcon}),duration:0,showClose:!0})},K=()=>{let I=5;const B=je.info({content:r.jsxs("div",{className:ue.countdown,children:[r.jsxs("span",{children:["This message will close in ",I,"s"]}),r.jsx("div",{className:ue.countdownRing,children:r.jsx("svg",{viewBox:"0 0 36 36",children:r.jsx("path",{d:`M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 a 15.9155 15.9155 0 0 1 0 -31.831`,fill:"none",stroke:"currentColor",strokeWidth:"3",strokeDasharray:`${I*20}, 100`})})})]}),duration:0}),V=setInterval(()=>{I--,I>=0?je.update(B,{content:r.jsxs("div",{className:ue.countdown,children:[r.jsxs("span",{children:["This message will close in ",I,"s"]}),r.jsx("div",{className:ue.countdownRing,children:r.jsx("svg",{viewBox:"0 0 36 36",children:r.jsx("path",{d:`M18 2.0845 a 15.9155 15.9155 0 0 1 0 31.831 - a 15.9155 15.9155 0 0 1 0 -31.831`,fill:"none",stroke:"currentColor",strokeWidth:"3",strokeDasharray:`${I*20}, 100`})})})]})}):(clearInterval(V),je.destroy(B))},1e3)},J=()=>{const I=[{text:"Connecting to server...",duration:1500},{text:"Fetching data...",duration:2e3},{text:"Processing response...",duration:1500},{text:"Finalizing...",duration:1e3}],B=(V=0)=>{if(V>=I.length){je.success({content:"Operation completed successfully!",duration:2e3});return}const se=I[V],ne=je.loading({content:r.jsxs("div",{className:ue.loadingStep,children:[r.jsxs("div",{className:ue.stepInfo,children:[r.jsx("span",{children:se.text}),r.jsxs("span",{className:ue.stepProgress,children:[Math.round((V+1)/I.length*100),"%"]})]}),r.jsx("div",{className:ue.stepProgressBar,children:r.jsx("div",{className:ue.stepProgressFill,style:{width:`${(V+1)/I.length*100}%`}})})]}),duration:se.duration});setTimeout(()=>{je.destroy(ne),B(V+1)},se.duration)};B()};return r.jsxs("div",{className:ue.section,children:[r.jsx("h2",{children:"Message Component"}),r.jsxs("div",{className:ue.demo,children:[r.jsx("h3",{children:"Message Types"}),r.jsx("p",{children:"Different types of messages for various scenarios"}),r.jsxs(W,{wrap:!0,children:[r.jsx(N,{onClick:t,children:"Basic Info"}),r.jsx(N,{onClick:n,type:"primary",children:"Success"}),r.jsx(N,{onClick:i,danger:!0,children:"Error"}),r.jsx(N,{onClick:s,children:"Warning"}),r.jsx(N,{onClick:a,children:"Loading"})]})]}),r.jsxs("div",{className:ue.demo,children:[r.jsx("h3",{children:"Message Positions"}),r.jsx("p",{children:"Control where messages appear on the screen"}),r.jsxs("div",{className:ue.positionGrid,children:[r.jsxs(W,{direction:"vertical",children:[r.jsx("h4",{children:"Top Positions"}),r.jsxs(W,{children:[r.jsx(N,{onClick:l,children:"Top Left"}),r.jsx(N,{onClick:o,children:"Top Center"}),r.jsx(N,{onClick:c,children:"Top Right"})]})]}),r.jsxs(W,{direction:"vertical",children:[r.jsx("h4",{children:"Bottom Positions"}),r.jsxs(W,{children:[r.jsx(N,{onClick:h,children:"Bottom Left"}),r.jsx(N,{onClick:u,children:"Bottom Center"}),r.jsx(N,{onClick:f,children:"Bottom Right"})]})]})]})]}),r.jsxs("div",{className:ue.demo,children:[r.jsx("h3",{children:"Hook Usage"}),r.jsx("p",{children:"Advanced usage with useMessage hook"}),r.jsxs(W,{children:[r.jsxs(N,{onClick:p,children:[r.jsx(Nc,{className:ue.buttonIcon}),"Basic Hook"]}),r.jsxs(N,{onClick:x,children:[r.jsx(R3,{className:ue.buttonIcon}),"Chain Calls"]}),r.jsxs(N,{onClick:_,children:[r.jsx(hl,{className:ue.buttonIcon}),"Update Message"]})]})]}),r.jsxs("div",{className:ue.demo,children:[r.jsx("h3",{children:"Advanced Features"}),r.jsx("p",{children:"Explore more complex message scenarios"}),r.jsxs(W,{wrap:!0,children:[r.jsx(N,{onClick:y,children:"Custom Duration"}),r.jsx(N,{onClick:C,children:"Custom Icon"}),r.jsx(N,{onClick:j,children:"No Icon"}),r.jsx(N,{onClick:d,children:"Multiple Messages"})]})]}),r.jsxs("div",{className:ue.demo,children:[r.jsx("h3",{children:"Interactive Messages"}),r.jsx("p",{children:"Messages with rich content and interactions"}),r.jsxs(W,{wrap:!0,children:[r.jsx(N,{onClick:m,children:"Complex Content"}),r.jsx(N,{onClick:v,children:"Progress Indicator"}),r.jsx(N,{onClick:w,children:"Interactive Message"}),r.jsx(N,{onClick:g,children:"Sequential Messages"})]})]}),r.jsxs("div",{className:ue.demo,children:[r.jsx("h3",{children:"Styled Messages"}),r.jsx("p",{children:"Messages with custom styles and animations"}),r.jsxs(W,{wrap:!0,children:[r.jsx(N,{onClick:S,children:"Custom Style"}),r.jsx(N,{onClick:E,children:"With Image"}),r.jsx(N,{onClick:L,children:"Animated"}),r.jsx(N,{onClick:R,children:"With Badge"}),r.jsx(N,{onClick:q,children:"Animated Icon"})]})]}),r.jsxs("div",{className:ue.demo,children:[r.jsx("h3",{children:"Complex Messages"}),r.jsx("p",{children:"Messages with rich content and interactions"}),r.jsxs(W,{wrap:!0,children:[r.jsx(N,{onClick:F,children:"File Upload"}),r.jsx(N,{onClick:Y,children:"Rating Message"})]})]}),r.jsxs("div",{className:ue.demo,children:[r.jsx("h3",{children:"Enhanced Messages"}),r.jsx("p",{children:"Advanced message variations with special effects"}),r.jsxs(W,{wrap:!0,children:[r.jsx(N,{onClick:O,children:"Gradient Style"}),r.jsx(N,{onClick:U,children:"Notification Style"}),r.jsx(N,{onClick:K,children:"Countdown"}),r.jsx(N,{onClick:J,children:"Chained Loading"})]})]})]})},vR=()=>{const{t:e}=Le();return r.jsxs("div",{className:P.componentPage,children:[r.jsx("header",{className:P.header,children:r.jsxs("div",{className:P.titleWrapper,children:[r.jsx(h0,{className:P.icon}),r.jsxs("div",{children:[r.jsx("h1",{children:e("components.message.title")}),r.jsx("p",{children:e("components.message.description")})]})]})}),r.jsxs("section",{className:P.section,children:[r.jsx("h2",{children:"Installation"}),r.jsx("div",{className:P.codeWrapper,children:r.jsx(me,{code:"import { Message } from '@minerva/lib-core';",language:"typescript"})})]}),r.jsxs("section",{className:P.section,children:[r.jsx("h2",{children:"Basic Usage"}),r.jsx("div",{className:P.codeWrapper,children:r.jsx(me,{code:`import { Message } from '@minerva/lib-core'; + a 15.9155 15.9155 0 0 1 0 -31.831`,fill:"none",stroke:"currentColor",strokeWidth:"3",strokeDasharray:`${I*20}, 100`})})})]})}):(clearInterval(V),je.destroy(B))},1e3)},J=()=>{const I=[{text:"Connecting to server...",duration:1500},{text:"Fetching data...",duration:2e3},{text:"Processing response...",duration:1500},{text:"Finalizing...",duration:1e3}],B=(V=0)=>{if(V>=I.length){je.success({content:"Operation completed successfully!",duration:2e3});return}const se=I[V],ne=je.loading({content:r.jsxs("div",{className:ue.loadingStep,children:[r.jsxs("div",{className:ue.stepInfo,children:[r.jsx("span",{children:se.text}),r.jsxs("span",{className:ue.stepProgress,children:[Math.round((V+1)/I.length*100),"%"]})]}),r.jsx("div",{className:ue.stepProgressBar,children:r.jsx("div",{className:ue.stepProgressFill,style:{width:`${(V+1)/I.length*100}%`}})})]}),duration:se.duration});setTimeout(()=>{je.destroy(ne),B(V+1)},se.duration)};B()};return r.jsxs("div",{className:ue.section,children:[r.jsx("h2",{children:"Message Component"}),r.jsxs("div",{className:ue.demo,children:[r.jsx("h3",{children:"Message Types"}),r.jsx("p",{children:"Different types of messages for various scenarios"}),r.jsxs(W,{wrap:!0,children:[r.jsx(N,{onClick:t,children:"Basic Info"}),r.jsx(N,{onClick:n,type:"primary",children:"Success"}),r.jsx(N,{onClick:i,danger:!0,children:"Error"}),r.jsx(N,{onClick:s,children:"Warning"}),r.jsx(N,{onClick:a,children:"Loading"})]})]}),r.jsxs("div",{className:ue.demo,children:[r.jsx("h3",{children:"Message Positions"}),r.jsx("p",{children:"Control where messages appear on the screen"}),r.jsxs("div",{className:ue.positionGrid,children:[r.jsxs(W,{direction:"vertical",children:[r.jsx("h4",{children:"Top Positions"}),r.jsxs(W,{children:[r.jsx(N,{onClick:l,children:"Top Left"}),r.jsx(N,{onClick:o,children:"Top Center"}),r.jsx(N,{onClick:c,children:"Top Right"})]})]}),r.jsxs(W,{direction:"vertical",children:[r.jsx("h4",{children:"Bottom Positions"}),r.jsxs(W,{children:[r.jsx(N,{onClick:h,children:"Bottom Left"}),r.jsx(N,{onClick:u,children:"Bottom Center"}),r.jsx(N,{onClick:f,children:"Bottom Right"})]})]})]})]}),r.jsxs("div",{className:ue.demo,children:[r.jsx("h3",{children:"Hook Usage"}),r.jsx("p",{children:"Advanced usage with useMessage hook"}),r.jsxs(W,{children:[r.jsxs(N,{onClick:p,children:[r.jsx(Nc,{className:ue.buttonIcon}),"Basic Hook"]}),r.jsxs(N,{onClick:x,children:[r.jsx(R3,{className:ue.buttonIcon}),"Chain Calls"]}),r.jsxs(N,{onClick:j,children:[r.jsx(hl,{className:ue.buttonIcon}),"Update Message"]})]})]}),r.jsxs("div",{className:ue.demo,children:[r.jsx("h3",{children:"Advanced Features"}),r.jsx("p",{children:"Explore more complex message scenarios"}),r.jsxs(W,{wrap:!0,children:[r.jsx(N,{onClick:y,children:"Custom Duration"}),r.jsx(N,{onClick:C,children:"Custom Icon"}),r.jsx(N,{onClick:_,children:"No Icon"}),r.jsx(N,{onClick:d,children:"Multiple Messages"})]})]}),r.jsxs("div",{className:ue.demo,children:[r.jsx("h3",{children:"Interactive Messages"}),r.jsx("p",{children:"Messages with rich content and interactions"}),r.jsxs(W,{wrap:!0,children:[r.jsx(N,{onClick:m,children:"Complex Content"}),r.jsx(N,{onClick:v,children:"Progress Indicator"}),r.jsx(N,{onClick:w,children:"Interactive Message"}),r.jsx(N,{onClick:g,children:"Sequential Messages"})]})]}),r.jsxs("div",{className:ue.demo,children:[r.jsx("h3",{children:"Styled Messages"}),r.jsx("p",{children:"Messages with custom styles and animations"}),r.jsxs(W,{wrap:!0,children:[r.jsx(N,{onClick:S,children:"Custom Style"}),r.jsx(N,{onClick:E,children:"With Image"}),r.jsx(N,{onClick:L,children:"Animated"}),r.jsx(N,{onClick:R,children:"With Badge"}),r.jsx(N,{onClick:q,children:"Animated Icon"})]})]}),r.jsxs("div",{className:ue.demo,children:[r.jsx("h3",{children:"Complex Messages"}),r.jsx("p",{children:"Messages with rich content and interactions"}),r.jsxs(W,{wrap:!0,children:[r.jsx(N,{onClick:F,children:"File Upload"}),r.jsx(N,{onClick:Y,children:"Rating Message"})]})]}),r.jsxs("div",{className:ue.demo,children:[r.jsx("h3",{children:"Enhanced Messages"}),r.jsx("p",{children:"Advanced message variations with special effects"}),r.jsxs(W,{wrap:!0,children:[r.jsx(N,{onClick:O,children:"Gradient Style"}),r.jsx(N,{onClick:U,children:"Notification Style"}),r.jsx(N,{onClick:K,children:"Countdown"}),r.jsx(N,{onClick:J,children:"Chained Loading"})]})]})]})},vR=()=>{const{t:e}=Le();return r.jsxs("div",{className:P.componentPage,children:[r.jsx("header",{className:P.header,children:r.jsxs("div",{className:P.titleWrapper,children:[r.jsx(h0,{className:P.icon}),r.jsxs("div",{children:[r.jsx("h1",{children:e("components.message.title")}),r.jsx("p",{children:e("components.message.description")})]})]})}),r.jsxs("section",{className:P.section,children:[r.jsx("h2",{children:"Installation"}),r.jsx("div",{className:P.codeWrapper,children:r.jsx(me,{code:"import { Message } from '@minerva/lib-core';",language:"typescript"})})]}),r.jsxs("section",{className:P.section,children:[r.jsx("h2",{children:"Basic Usage"}),r.jsx("div",{className:P.codeWrapper,children:r.jsx(me,{code:`import { Message } from '@minerva/lib-core'; function App() { return ( @@ -532,4 +532,4 @@ function App() { Accept terms and conditions ); -}`})})]}),r.jsxs("section",{className:P.section,children:[r.jsx("h2",{children:e("components.checkbox.examples")}),r.jsx("div",{className:P.examples,children:r.jsx(nA,{})})]})]})},iA="_section_15ptb_42",sA="_group_15ptb_54",Tn={section:iA,group:sA,"accordion-down":"_accordion-down_15ptb_1","accordion-up":"_accordion-up_15ptb_1"},aA=()=>{const[e,t]=b.useState(!1),[n,i]=b.useState(!1),s=b.useCallback(()=>{t(g=>!g)},[]),a=b.useCallback(()=>{i(g=>!g)},[]),o=b.useCallback(g=>{console.log("Favorite state:",g)},[]),l=b.useCallback(g=>{console.log("Bookmark state:",g)},[]),c=b.useCallback(g=>{console.log("Star state:",g)},[]),u=b.useCallback(g=>{console.log("Like state:",g)},[]),h=b.useCallback(g=>{console.log("Follow state:",g)},[]),f=b.useCallback(g=>{console.log("Share state:",g)},[]),p=b.useCallback(g=>{console.log("Notification state:",g)},[]),x=b.useCallback(g=>{console.log("Pin state:",g)},[]),_=b.useCallback(g=>{console.log("Archive state:",g)},[]),y=b.useCallback(g=>{console.log("Lock state:",g)},[]),C=b.useCallback(g=>{console.log("Download state:",g)},[]),j=b.useCallback(g=>{console.log("Visibility state:",g)},[]),d=b.useCallback(g=>{console.log("Clock state:",g)},[]),m=b.useCallback(g=>{console.log("Rate state:",g)},[]),v=b.useCallback(g=>{console.log("Thumb down state:",g)},[]),w=b.useCallback(g=>{console.log("Flag state:",g)},[]);return r.jsxs("div",{className:Tn.section,children:[r.jsx("h3",{children:"Variants"}),r.jsxs("div",{className:Tn.group,children:[r.jsx(Ue,{icon:r.jsx(Sn,{}),variant:"primary",showTooltip:!0,tooltip:{content:"Dark variant",variant:"dark"}}),r.jsx(Ue,{icon:r.jsx(Ra,{}),variant:"secondary",showTooltip:!0,tooltip:{content:"Info variant",variant:"info"}}),r.jsx(Ue,{icon:r.jsx(Ia,{}),variant:"success",showTooltip:!0,tooltip:{content:"Success variant",variant:"success"}}),r.jsx(Ue,{icon:r.jsx(Lt,{}),variant:"warning",showTooltip:!0,tooltip:{content:"Warning variant",variant:"warning"}}),r.jsx(Ue,{icon:r.jsx(K0,{}),variant:"error",showTooltip:!0,tooltip:{content:"Error variant",variant:"error"}})]}),r.jsx("h3",{children:"Sizes"}),r.jsxs("div",{className:Tn.group,children:[r.jsx(Ue,{icon:r.jsx(Pc,{}),size:"small",showTooltip:!0,tooltip:{content:"Small size (36px)",arrow:!0}}),r.jsx(Ue,{icon:r.jsx(Pc,{}),size:"medium",showTooltip:!0,tooltip:{content:"Medium size (44px)",arrow:!0}}),r.jsx(Ue,{icon:r.jsx(Pc,{}),size:"large",showTooltip:!0,tooltip:{content:"Large size (52px)",arrow:!0}})]}),r.jsx("h3",{children:"Shapes"}),r.jsxs("div",{className:Tn.group,children:[r.jsx(Ue,{icon:r.jsx(j1,{}),shape:"circle",showTooltip:!0,tooltip:{content:"Circle shape",shape:"rounded"}}),r.jsx(Ue,{icon:r.jsx(j1,{}),shape:"square",showTooltip:!0,tooltip:{content:"Square shape",shape:"square"}})]}),r.jsx("h3",{children:"States"}),r.jsxs("div",{className:Tn.group,children:[r.jsx(Ue,{icon:r.jsx(Mc,{}),active:e,onClick:s,showTooltip:!0,tooltip:{content:e?"Active state":"Click to activate"}}),r.jsx(Ue,{icon:r.jsx(Mc,{}),disabled:!0,showTooltip:!0,tooltip:{content:"Disabled state"}}),r.jsx(Ue,{icon:r.jsx(Mc,{}),loading:n,onClick:a,showTooltip:!0,tooltip:{content:n?"Loading...":"Click to load"}})]}),r.jsx("h3",{children:"Custom Colors"}),r.jsx("div",{className:Tn.group,children:r.jsx(Ue,{icon:r.jsx(Sn,{}),color:"#e91e63",activeColor:"#c2185b",bgColor:"#fce4ec",hoverColor:"#f8bbd0",fillColor:"#e91e63",showTooltip:!0,tooltip:{content:"Custom colors"}})}),r.jsx("h3",{children:"Accessibility"}),r.jsxs("div",{className:Tn.group,children:[r.jsx(Ue,{icon:r.jsx(Hd,{}),ariaLabel:"Search button",tabIndex:0,showTooltip:!0,tooltip:{content:"With aria-label and tabIndex"}}),r.jsx(Ue,{icon:r.jsx(aL,{}),ariaLabel:"Download file",tabIndex:1,showTooltip:!0,tooltip:{content:"Press Enter to download"}})]}),r.jsx("h3",{children:"Common Use Cases"}),r.jsxs("div",{className:Tn.group,children:[r.jsx(Ue,{icon:r.jsx(V0,{}),variant:"primary",showTooltip:!0,tooltip:{content:"Add new item",arrow:!0,shape:"thought"}}),r.jsx(Ue,{icon:r.jsx(fL,{}),variant:"error",showTooltip:!0,tooltip:{content:"Delete item",arrow:!0,shape:"rounded"}}),r.jsx(Ue,{icon:r.jsx(oL,{}),showTooltip:!0,tooltip:{content:"More actions",arrow:!0,shape:"thought"}})]}),r.jsx("h3",{children:"Interactive Icons"}),r.jsxs("div",{className:Tn.group,children:[r.jsx(Ft,{type:"favorite",onChange:o}),r.jsx(Ft,{type:"bookmark",onChange:l}),r.jsx(Ft,{type:"star",onChange:c}),r.jsx(Ft,{type:"like",onChange:u}),r.jsx(Ft,{type:"follow",onChange:h}),r.jsx(Ft,{type:"share",onChange:f}),r.jsx(Ft,{type:"notification",onChange:p}),r.jsx(Ft,{type:"pin",onChange:x}),r.jsx(Ft,{type:"archive",onChange:_}),r.jsx(Ft,{type:"lock",onChange:y}),r.jsx(Ft,{type:"download",onChange:C}),r.jsx(Ft,{type:"visibility",onChange:j}),r.jsx(Ft,{type:"clock",onChange:d}),r.jsx(Ft,{type:"close",onChange:d}),r.jsx(Ft,{type:"rate",onChange:m}),r.jsx(Ft,{type:"thumbDown",onChange:v}),r.jsx(Ft,{type:"flag",onChange:w})]}),r.jsx("h3",{children:"Fill Color Variations"}),r.jsxs("div",{className:Tn.group,children:[r.jsx(Ue,{icon:r.jsx(Sn,{}),variant:"primary",fillColor:"#1976d2",showTooltip:!0,tooltip:{content:"Primary fill"}}),r.jsx(Ue,{icon:r.jsx(Sn,{}),variant:"success",fillColor:"#4caf50",showTooltip:!0,tooltip:{content:"Success fill"}}),r.jsx(Ue,{icon:r.jsx(Sn,{}),variant:"error",fillColor:"#d32f2f",showTooltip:!0,tooltip:{content:"Error fill"}}),r.jsx(Ue,{icon:r.jsx(Sn,{}),variant:"warning",fillColor:"#ff9800",showTooltip:!0,tooltip:{content:"Warning fill"}})]}),r.jsx("h3",{children:"Custom Active States"}),r.jsxs("div",{className:Tn.group,children:[r.jsx(Ue,{icon:r.jsx(Sn,{}),color:"#e91e63",activeColor:"#c2185b",bgColor:"#fce4ec",hoverColor:"#f8bbd0",fillColor:"#e91e63",active:!0,showTooltip:!0,tooltip:{content:"Custom active state"}}),r.jsx(Ue,{icon:r.jsx(Sn,{}),color:"#2196f3",activeColor:"#1565c0",bgColor:"#e3f2fd",hoverColor:"#bbdefb",fillColor:"#2196f3",active:!0,showTooltip:!0,tooltip:{content:"Custom active state"}}),r.jsx(Ue,{icon:r.jsx(Sn,{}),color:"#4caf50",activeColor:"#2e7d32",bgColor:"#e8f5e9",hoverColor:"#c8e6c9",fillColor:"#4caf50",active:!0,showTooltip:!0,tooltip:{content:"Custom active state"}})]})]})},oA="_header_1062d_42",lA="_titleWrapper_1062d_45",b1={header:oA,titleWrapper:lA,"accordion-down":"_accordion-down_1062d_1","accordion-up":"_accordion-up_1062d_1"},Pn=({title:e,description:t})=>r.jsx("div",{className:b1.header,children:r.jsxs("div",{className:b1.titleWrapper,children:[r.jsx("h1",{children:e}),r.jsx("p",{children:t})]})}),cA=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.iconButton.title"),description:e("components.iconButton.description")}),r.jsx(aA,{})]})},dA="_section_wqknk_42",uA="_group_wqknk_54",hA="_feature_wqknk_62",ae={section:dA,group:uA,feature:hA,"accordion-down":"_accordion-down_wqknk_1","accordion-up":"_accordion-up_wqknk_1"},pA=()=>{const e=b.useRef(null),t=b.useRef(null),n=b.useRef(null),[i,s]=b.useState(!1),a=b.useCallback(()=>{s(!0)},[]),o=b.useCallback(()=>{s(!1)},[]),l=b.useCallback(()=>{s(h=>!h)},[]),c=b.useCallback(()=>{console.log("Tooltip opened")},[]),u=b.useCallback(()=>{console.log("Tooltip closed")},[]);return r.jsxs("div",{className:ae.section,children:[r.jsx("h3",{children:"基础功能"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"基础提示"}),r.jsx(ge,{content:"基础提示",arrow:!0,children:r.jsx(N,{children:"基础提示"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"不带箭头"}),r.jsx(ge,{content:"不带箭头的提示",children:r.jsx(N,{children:"无箭头"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"禁用状态"}),r.jsx(ge,{content:"此 Tooltip 已禁用",disabled:!0,arrow:!0,children:r.jsx(N,{children:"已禁用"})})]})]}),r.jsx("h3",{children:"箭头位置"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"顶部箭头"}),r.jsx(ge,{content:"顶部箭头",placement:"top",arrow:!0,children:r.jsx(N,{children:"Top"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"底部箭头"}),r.jsx(ge,{content:"底部箭头",placement:"bottom",arrow:!0,children:r.jsx(N,{children:"Bottom"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"左侧箭头"}),r.jsx(ge,{content:"左侧箭头",placement:"left",arrow:!0,children:r.jsx(N,{children:"Left"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"右侧箭头"}),r.jsx(ge,{content:"右侧箭头",placement:"right",arrow:!0,children:r.jsx(N,{children:"Right"})})]})]}),r.jsx("h3",{children:"Tooltip 形状"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"默认形状"}),r.jsx(ge,{content:"默认形状",shape:"default",arrow:!0,children:r.jsx(N,{children:"Default"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"圆角形状"}),r.jsx(ge,{content:"圆角形状",shape:"rounded",arrow:!0,children:r.jsx(N,{children:"Rounded"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"思考泡泡"}),r.jsx(ge,{content:"思考泡泡形状",shape:"thought",children:r.jsx(N,{children:"Thought"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"方形"}),r.jsx(ge,{content:"方形",shape:"square",arrow:!0,children:r.jsx(N,{children:"Square"})})]})]}),r.jsx("h3",{children:"动画效果"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"淡入淡出"}),r.jsx(ge,{content:"淡入淡出效果",animation:"fade",children:r.jsx(N,{children:"Fade"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"缩放"}),r.jsx(ge,{content:"缩放效果",animation:"scale",children:r.jsx(N,{children:"Scale"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"远离"}),r.jsx(ge,{content:"远离效果",animation:"shift-away",children:r.jsx(N,{children:"Shift Away"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"靠近"}),r.jsx(ge,{content:"靠近效果",animation:"shift-toward",children:r.jsx(N,{children:"Shift Toward"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"透视"}),r.jsx(ge,{content:"透视效果",animation:"perspective",children:r.jsx(N,{children:"Perspective"})})]})]}),r.jsx("h3",{children:"交互控制"}),r.jsx("div",{className:ae.group,children:r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"受控显示"}),r.jsx(ge,{content:"完全受控的 Tooltip",open:i,onOpen:a,onClose:o,children:r.jsx(N,{onClick:l,children:i?"点击关闭":"点击打开"})})]})}),r.jsx("h3",{children:"特殊交互"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"跟随光标"}),r.jsx(ge,{content:"跟随光标移动",followCursor:!0,children:r.jsx(N,{children:"移动光标"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"显示延迟"}),r.jsx(ge,{content:"延迟 500ms 显示",enterDelay:500,children:r.jsx(N,{children:"延迟显示"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"消失延迟"}),r.jsx(ge,{content:"延迟 500ms 消失",leaveDelay:500,children:r.jsx(N,{children:"延迟消失"})})]})]}),r.jsx("h3",{children:"自定义样式"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"自定义颜色"}),r.jsx(ge,{content:"自定义背景和文字颜色",bgColor:"#6200ee",textColor:"#ffffff",arrow:!0,children:r.jsx(N,{children:"自定义颜色"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"自定义偏移"}),r.jsx(ge,{content:"自定义偏移距离",offset:[0,16],arrow:!0,children:r.jsx(N,{children:"自定义偏移"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"自定义层级"}),r.jsx(ge,{content:"自定义 z-index",zIndex:2e3,arrow:!0,children:r.jsx(N,{children:"自定义层级"})})]})]}),r.jsx("h3",{children:"回调函数"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"显示回调"}),r.jsx(ge,{content:"触发 onOpen",onOpen:c,children:r.jsx(N,{children:"打开回调"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"关闭回调"}),r.jsx(ge,{content:"触发 onClose",onClose:u,children:r.jsx(N,{children:"关闭回调"})})]})]}),r.jsx("h3",{children:"Tooltip 变体(Variants)"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"亮色主题"}),r.jsx(ge,{content:"亮色主题",variant:"light",arrow:!0,children:r.jsx(N,{children:"Light"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"暗色主题"}),r.jsx(ge,{content:"暗色主题",variant:"dark",arrow:!0,children:r.jsx(N,{children:"Dark"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"信息提示"}),r.jsx(ge,{content:"信息提示样式",variant:"info",arrow:!0,children:r.jsx(N,{children:"Info"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"成功提示"}),r.jsx(ge,{content:"成功提示样式",variant:"success",arrow:!0,children:r.jsx(N,{children:"Success"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"警告提示"}),r.jsx(ge,{content:"警告提示样式",variant:"warning",arrow:!0,children:r.jsx(N,{children:"Warning"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"错误提示"}),r.jsx(ge,{content:"错误提示样式",variant:"error",arrow:!0,children:r.jsx(N,{children:"Error"})})]})]}),r.jsx("h3",{children:"详细位置(Placements)"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"顶部起始"}),r.jsx(ge,{content:"顶部起始位置",placement:"top-start",arrow:!0,children:r.jsx(N,{children:"Top Start"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"顶部结束"}),r.jsx(ge,{content:"顶部结束位置",placement:"top-end",arrow:!0,children:r.jsx(N,{children:"Top End"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"底部起始"}),r.jsx(ge,{content:"底部起始位置",placement:"bottom-start",arrow:!0,children:r.jsx(N,{children:"Bottom Start"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"底部结束"}),r.jsx(ge,{content:"底部结束位置",placement:"bottom-end",arrow:!0,children:r.jsx(N,{children:"Bottom End"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"左侧起始"}),r.jsx(ge,{content:"左侧起始位置",placement:"left-start",arrow:!0,children:r.jsx(N,{children:"Left Start"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"左侧结束"}),r.jsx(ge,{content:"左侧结束位置",placement:"left-end",arrow:!0,children:r.jsx(N,{children:"Left End"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"右侧起始"}),r.jsx(ge,{content:"右侧起始位置",placement:"right-start",arrow:!0,children:r.jsx(N,{children:"Right Start"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"右侧结束"}),r.jsx(ge,{content:"右侧结束位置",placement:"right-end",arrow:!0,children:r.jsx(N,{children:"Right End"})})]})]}),r.jsx("h3",{children:"自定义颜色示例"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"品牌色"}),r.jsx(ge,{content:"使用品牌色",bgColor:"#6200ee",textColor:"#ffffff",arrow:!0,children:r.jsx(N,{children:"品牌色"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"柔和色"}),r.jsx(ge,{content:"使用柔和色",bgColor:"#f0f7ff",textColor:"#0066cc",arrow:!0,children:r.jsx(N,{children:"柔和色"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"渐变背景"}),r.jsx(ge,{content:"渐变背景效果",bgColor:"linear-gradient(45deg, #ff6b6b, #feca57)",textColor:"#ffffff",arrow:!0,children:r.jsx(N,{children:"渐变色"})})]})]}),r.jsx("h3",{children:"Ref 方法控制"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"打开方法"}),r.jsx(ge,{content:"使用 ref.open() 打开",ref:e,onOpen:c,children:r.jsx(N,{onClick:()=>{var h;return(h=e.current)==null?void 0:h.open()},children:"打开"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"关闭方法"}),r.jsx(ge,{content:"使用 ref.close() 关闭",ref:t,onClose:u,children:r.jsx(N,{onClick:()=>{var h;return(h=t.current)==null?void 0:h.close()},children:"关闭"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"切换方法"}),r.jsx(ge,{content:"使用 ref.toggle() 切换",ref:n,onOpen:c,onClose:u,children:r.jsx(N,{onClick:()=>{var h;return(h=n.current)==null?void 0:h.toggle()},children:"切换显示"})})]})]})]})},fA=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.tooltip.title"),description:e("components.tooltip.description")}),r.jsx(pA,{})]})},mA="_section_vu6u0_43",gA="_group_vu6u0_61",xA="_demo_vu6u0_71",vA="_menuContent_vu6u0_77",_A="_selectContent_vu6u0_80",jA="_datepickerContent_vu6u0_84",yA="_colorpickerContent_vu6u0_88",bA="_cascaderContent_vu6u0_92",wA="_autocompleteContent_vu6u0_97",CA="_edgeCases_vu6u0_101",kA="_overflowContainer_vu6u0_101",SA="_scrollContainer_vu6u0_110",NA="_scrollContent_vu6u0_118",$A="_typeContent_vu6u0_124",EA="_menuItems_vu6u0_127",zA="_menuItem_vu6u0_127",LA="_selectItem_vu6u0_128",IA="_selectItems_vu6u0_129",RA="_placementGrid_vu6u0_139",AA="_animationDemo_vu6u0_153",PA="_fast_vu6u0_153",MA="_slow_vu6u0_156",TA="_focusDemo_vu6u0_159",FA="_demoContainer_vu6u0_163",BA="_popperContent_vu6u0_171",OA="_disabled_vu6u0_204",DA="_menuIcon_vu6u0_213",UA="_menuItemContent_vu6u0_218",HA="_menuItemLabel_vu6u0_222",WA="_menuItemDescription_vu6u0_227",qA="_selectItemContent_vu6u0_243",VA="_selectItemName_vu6u0_248",KA="_selectItemEmail_vu6u0_253",GA="_selectItemStatus_vu6u0_258",QA="_virtualListItem_vu6u0_272",YA="_virtualListItemContent_vu6u0_282",JA="_virtualListItemHeader_vu6u0_287",XA="_virtualListItemName_vu6u0_294",ZA="_virtualListItemActivity_vu6u0_298",eP="_virtualListItemEmail_vu6u0_303",X={section:mA,group:gA,demo:xA,menuContent:vA,selectContent:_A,datepickerContent:jA,colorpickerContent:yA,cascaderContent:bA,autocompleteContent:wA,edgeCases:CA,overflowContainer:kA,scrollContainer:SA,scrollContent:NA,typeContent:$A,menuItems:EA,menuItem:zA,selectItem:LA,selectItems:IA,placementGrid:RA,animationDemo:AA,fast:PA,slow:MA,focusDemo:TA,demoContainer:FA,popperContent:BA,disabled:OA,menuIcon:DA,menuItemContent:UA,menuItemLabel:HA,menuItemDescription:WA,selectItemContent:qA,selectItemName:VA,selectItemEmail:KA,selectItemStatus:GA,在线:"_在线_vu6u0_263",离线:"_离线_vu6u0_267",virtualListItem:QA,virtualListItemContent:YA,virtualListItemHeader:JA,virtualListItemName:XA,virtualListItemActivity:ZA,virtualListItemEmail:eP,"accordion-down":"_accordion-down_vu6u0_1","accordion-up":"_accordion-up_vu6u0_1"},tP=()=>{const[e,t]=b.useState(null),n=b.useRef({}),i=d=>{t(m=>m===d?null:d)},s=["top","topStart","topEnd","bottom","bottomStart","bottomEnd","left","leftStart","leftEnd","right","rightStart","rightEnd"],a=["default","primary","secondary","success","warning","error"],o=["default","menu","select","tooltip"],l=["auto","small","medium","large"],c=[{id:"width-height",title:"自定义尺寸",style:{width:300,height:300,padding:"16px"}},{id:"max-size",title:"max-size 设置尺寸",style:{width:300,maxHeight:400,overflow:"auto"}},{id:"min-size",title:"最小尺寸",style:{minWidth:150,minHeight:80}}],u=[{id:"default-arrow",title:"默认箭头",props:{arrow:!0}},{id:"colored-arrow",title:"彩色箭头",props:{arrow:!0,popperStyle:{backgroundColor:"#1890ff",color:"#fff"}}}],h=[{id:"quick-fade",title:"快速淡入",animation:{duration:100,easing:"ease-out"}},{id:"slow-bounce",title:"缓慢弹出",animation:{duration:800,easing:"cubic-bezier(0.68, -0.55, 0.265, 1.55)"}}],f=[{id:"offset-up",title:"向上偏移",offset:{x:0,y:-20}},{id:"offset-right",title:"向右偏移",offset:{x:20,y:0}}],p="这是一段很长的文本内容,用来测试不同尺寸下的文本展示效果。当文本内容超出容器宽度时,可以选择单行滚动或者多行折行显示。",x=[{icon:"🏠",label:"首页",description:"返回首页"},{icon:"📝",label:"编辑",description:"编辑当前内容"},{icon:"💾",label:"保存",description:"保存更改"},{icon:"🗑️",label:"删除",description:"删除当前项"},{icon:"⚙️",label:"设置",description:"系统设置"}].concat(Array(10).fill(null).map((d,m)=>({icon:"📄",label:`更多选项 ${m+1}`,description:`额外选项描述 ${m+1}`}))),_=Array(20).fill(null).map((d,m)=>({id:m,avatar:`https://i.pravatar.cc/40?img=${m}`,name:`用户 ${m+1}`,email:`user${m+1}@example.com`,status:m%3===0?"在线":"离线"})),y=Array(1e3).fill(null).map((d,m)=>({id:m,metadata:{avatar:`https://i.pravatar.cc/40?img=${m%70}`,name:`用户 ${m+1}`,email:`user${m+1}@example.com`,activity:`最近活动 ${Math.floor(Math.random()*24)} 小时前`}})),C=[{id:"size-auto",title:"Auto Size",size:"auto",content:"这是自动尺寸的 Popper,宽高会根据内容自动调整"},{id:"size-small",title:"Small Size",size:"small",content:"这是一个小尺寸的 Popper,默认宽度 200px,高度 120px"},{id:"size-medium",title:"Medium Size",size:"medium",content:"这是一个中等尺寸的 Popper,默认宽度 300px,高度 200px"},{id:"size-large",title:"Large Size",size:"large",content:"这是一个大尺寸的 Popper,默认宽度 400px,高度 300px"}],j=[{id:"auto-single",title:"Auto 单行",size:"auto",multiline:!1,content:"这是一段单行文本,超出部分会水平滚动而不是换行。".repeat(3),width:300,height:""},{id:"auto-multi",title:"Auto 多行",size:"auto",multiline:!0,content:"这是一段多行文本,会自动换行显示。".repeat(5),width:300,height:200}];return r.jsxs("div",{className:X.section,children:[r.jsx("h3",{children:"基础用法"}),r.jsx("div",{className:X.group,children:r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:d=>n.current.basic=d,onClick:()=>i("basic"),children:"基础 Popper"}),r.jsx(it,{visible:e==="basic",anchorEl:n.current.basic,onClickAway:()=>t(null),children:r.jsx("div",{className:X.popperContent,children:"这是一个基础的 Popper 示例"})})]})}),r.jsx("h3",{children:"位置展示"}),r.jsx("div",{className:X.placementGrid,children:s.map(d=>r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:m=>n.current[`placement-${d}`]=m,onClick:()=>i(`placement-${d}`),children:d}),r.jsx(it,{visible:e===`placement-${d}`,anchorEl:n.current[`placement-${d}`],placement:d,arrow:!0,onClickAway:()=>t(null),children:r.jsxs("div",{className:X.popperContent,children:[d," 位置"]})})]},d))}),r.jsx("h3",{children:"类型展示"}),r.jsx("div",{className:X.group,children:o.map(d=>r.jsxs("div",{className:X.demoContainer,children:[r.jsxs(N,{ref:m=>n.current[`type-${d}`]=m,onClick:()=>i(`type-${d}`),children:[d," 类型"]}),r.jsxs(it,{visible:e===`type-${d}`,anchorEl:n.current[`type-${d}`],type:d,height:["menu","select"].includes(d)?400:"auto",arrow:!0,onClickAway:()=>t(null),children:[d==="menu"&&r.jsx("div",{className:X.menuContent,children:x.map((m,v)=>r.jsxs("div",{className:`${X.menuItem} ${v===3?X.disabled:""}`,children:[r.jsx("span",{className:X.menuIcon,children:m.icon}),r.jsxs("div",{className:X.menuItemContent,children:[r.jsx("div",{className:X.menuItemLabel,children:m.label}),r.jsx("div",{className:X.menuItemDescription,children:m.description})]})]},v))}),d==="select"&&r.jsx("div",{className:X.selectContent,children:_.map(m=>r.jsxs("div",{className:X.selectItem,children:[r.jsx(et,{src:m.avatar,size:"small"}),r.jsxs("div",{className:X.selectItemContent,children:[r.jsx("div",{className:X.selectItemName,children:m.name}),r.jsx("div",{className:X.selectItemEmail,children:m.email})]}),r.jsx("span",{className:`${X.selectItemStatus} ${X[m.status]}`,children:m.status})]},m.id))}),d==="tooltip"&&r.jsx("div",{className:X.tooltipContent,children:"这是一个提示信息"}),d==="default"&&r.jsx("div",{className:X.defaultContent,children:"默认内容"})]})]},d))}),r.jsx("h3",{children:"尺寸展示"}),r.jsx("h4",{children:"单行模式(横向滚动)"}),r.jsx("div",{className:X.group,children:l.map(d=>r.jsxs("div",{className:X.demoContainer,children:[r.jsxs(N,{ref:m=>n.current[`size-single-${d}`]=m,onClick:()=>i(`size-single-${d}`),children:[d," 尺寸(单行)"]}),r.jsx(it,{visible:e===`size-single-${d}`,anchorEl:n.current[`size-single-${d}`],size:d,width:d==="auto"?200:"",height:d==="auto"?"auto":"",arrow:!0,multiline:!1,onClickAway:()=>t(null),children:r.jsx("div",{className:X.popperContent,children:p})})]},`single-${d}`))}),r.jsx("h4",{children:"多行模式(自动折行)"}),r.jsx("div",{className:X.group,children:l.map(d=>r.jsxs("div",{className:X.demoContainer,children:[r.jsxs(N,{ref:m=>n.current[`size-multi-${d}`]=m,onClick:()=>i(`size-multi-${d}`),children:[d," 尺寸(多行)"]}),r.jsx(it,{visible:e===`size-multi-${d}`,anchorEl:n.current[`size-multi-${d}`],size:d,width:d==="auto"?300:"",height:d==="auto"?200:"",arrow:!0,multiline:!0,onClickAway:()=>t(null),children:r.jsx("div",{className:X.popperContent,children:p.repeat(20)})})]},`multi-${d}`))}),r.jsx("h3",{children:"样式变体"}),r.jsx("div",{className:X.group,children:a.map(d=>r.jsxs("div",{className:X.demoContainer,children:[r.jsxs(N,{ref:m=>n.current[`variant-${d}`]=m,onClick:()=>i(`variant-${d}`),variant:d==="default"?"retry":d,children:[d," 样式"]}),r.jsx(it,{visible:e===`variant-${d}`,anchorEl:n.current[`variant-${d}`],variant:d,arrow:!0,onClickAway:()=>t(null),children:r.jsxs("div",{className:X.popperContent,children:[d," 样式的 Popper"]})})]},d))}),r.jsx("h3",{children:"动画效果"}),r.jsxs("div",{className:X.group,children:[r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:d=>n.current["animation-fast"]=d,onClick:()=>i("animation-fast"),children:"快速动画"}),r.jsx(it,{visible:e==="animation-fast",anchorEl:n.current["animation-fast"],animation:{duration:5e3,easing:"ease-out"},arrow:!0,onClickAway:()=>t(null),children:r.jsx("div",{children:"快速动画效果"})})]}),r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:d=>n.current["animation-slow"]=d,onClick:()=>i("animation-slow"),children:"慢速动画"}),r.jsx(it,{visible:e==="animation-slow",anchorEl:n.current["animation-slow"],animation:{duration:5e3,easing:"ease-in-out"},arrow:!0,onClickAway:()=>t(null),children:r.jsx("div",{children:"慢速动画效果"})})]})]}),r.jsx("h3",{children:"边界情况"}),r.jsxs("div",{className:X.edgeCases,children:[r.jsx("h4",{children:"溢出容器"}),r.jsx("div",{className:X.overflowContainer,children:r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:d=>n.current.overflow=d,onClick:()=>i("overflow"),children:"溢出测试"}),r.jsx(it,{visible:e==="overflow",anchorEl:n.current.overflow,arrow:!0,onClickAway:()=>t(null),children:r.jsx("div",{children:"测试溢出行为"})})]})}),r.jsx("h4",{children:"滚动容器"}),r.jsx("div",{className:X.scrollContainer,children:r.jsx("div",{className:X.scrollContent,children:r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:d=>n.current.scroll=d,onClick:()=>i("scroll"),children:"滚动测试"}),r.jsx(it,{visible:e==="scroll",anchorEl:n.current.scroll,arrow:!0,onClickAway:()=>t(null),children:r.jsx("div",{children:"测试滚动行为"})})]})})}),r.jsx("h4",{children:"嵌套 Popper"}),r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:d=>n.current["nested-1"]=d,onClick:()=>i("nested-1"),children:"嵌套 Popper"}),r.jsx(it,{visible:e==="nested-1",anchorEl:n.current["nested-1"],arrow:!0,onClickAway:()=>t(null),children:r.jsxs("div",{style:{padding:"8px"},children:[r.jsx("div",{children:"这是第一层 Popper"}),r.jsx(N,{ref:d=>n.current["nested-2"]=d,onClick:()=>i("nested-2"),style:{marginTop:8},children:"打开嵌套层"}),r.jsx(it,{visible:e==="nested-2",anchorEl:n.current["nested-2"],arrow:!0,onClickAway:()=>t(null),children:r.jsx("div",{children:"嵌套的 Popper 内容"})})]})})]})]}),r.jsx("h3",{children:"自定义样式"}),r.jsx("div",{className:X.group,children:c.map(({id:d,title:m,style:v})=>r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:w=>n.current[d]=w,onClick:()=>i(d),children:m}),r.jsx(it,{visible:e===d,anchorEl:n.current[d],popperStyle:v,onClickAway:()=>t(null),children:r.jsxs("div",{children:[r.jsx("h4",{children:m}),r.jsx("p",{children:"自定义样式示例内容"}),v.overflow==="auto"&&r.jsx("div",{children:Array(10).fill(null).map((w,g)=>r.jsxs("p",{children:["滚动内容 ",g+1]},g))})]})})]},d))}),r.jsx("h3",{children:"箭头样式"}),r.jsx("div",{className:X.group,children:u.map(({id:d,title:m,props:v})=>r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:w=>n.current[d]=w,onClick:()=>i(d),children:m}),r.jsx(it,{visible:e===d,anchorEl:n.current[d],...v,onClickAway:()=>t(null),children:r.jsx("div",{children:m})})]},d))}),r.jsx("h3",{children:"动画效果"}),r.jsx("div",{className:X.group,children:h.map(({id:d,title:m,animation:v})=>r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:w=>n.current[d]=w,onClick:()=>i(d),children:m}),r.jsx(it,{visible:e===d,anchorEl:n.current[d],animation:v,arrow:!0,onClickAway:()=>t(null),children:r.jsx("div",{children:m})})]},d))}),r.jsx("h3",{children:"位置偏移"}),r.jsx("div",{className:X.group,children:f.map(({id:d,title:m,offset:v})=>r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:w=>n.current[d]=w,onClick:()=>i(d),children:m}),r.jsx(it,{visible:e===d,anchorEl:n.current[d],offset:v,arrow:!0,onClickAway:()=>t(null),children:r.jsx("div",{children:m})})]},d))}),r.jsx("h3",{children:"开关动画"}),r.jsx("div",{className:X.group,children:r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:d=>n.current.toggle=d,onClick:()=>i("toggle"),children:"切换显示"}),r.jsx(it,{visible:e==="toggle",anchorEl:n.current.toggle,arrow:!0,animation:{duration:300,easing:"ease-in-out"},onClickAway:()=>t(null),children:r.jsx("div",{children:"点击按钮或外部区域关闭"})})]})}),r.jsx("h3",{children:"触发方式"}),r.jsx("div",{className:X.group,children:["hover","click","contextMenu","focus","manual"].map(d=>r.jsxs("div",{className:X.demoContainer,children:[r.jsxs(N,{ref:m=>n.current[`trigger-${d}`]=m,onMouseEnter:()=>d==="hover"&&i(`trigger-${d}`),onMouseLeave:()=>d==="hover"&&t(null),onClick:()=>d==="click"&&i(`trigger-${d}`),onContextMenu:m=>{d==="contextMenu"&&(m.preventDefault(),i(`trigger-${d}`))},onFocus:()=>d==="focus"&&i(`trigger-${d}`),onBlur:()=>d==="focus"&&t(null),children:[d," 触发"]}),r.jsx(it,{visible:e===`trigger-${d}`,anchorEl:n.current[`trigger-${d}`],trigger:d,onVisibleChange:m=>{console.log(`${d} visibility changed:`,m),t(m?`trigger-${d}`:null)},onClickAway:()=>t(null),children:r.jsxs("div",{children:["通过 ",d," 触发的内容"]})})]},d))}),r.jsx("h3",{children:"虚拟滚动列表"}),r.jsx("div",{className:X.group,children:r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:d=>n.current["virtual-list"]=d,onClick:()=>i("virtual-list"),children:"显示虚拟列表"}),r.jsx(it,{visible:e==="virtual-list",anchorEl:n.current["virtual-list"],scrollable:!1,popperStyle:{padding:0},width:300,height:400,onClickAway:()=>t(null),children:r.jsx(Zs,{items:y,maxHeight:400,itemHeight:72,renderItem:d=>{var m,v,w,g;return r.jsxs("div",{className:X.virtualListItem,children:[r.jsx(et,{src:(m=d.metadata)==null?void 0:m.avatar,size:"medium"}),r.jsxs("div",{className:X.virtualListItemContent,children:[r.jsxs("div",{className:X.virtualListItemHeader,children:[r.jsx("span",{className:X.virtualListItemName,children:(v=d.metadata)==null?void 0:v.name}),r.jsx("span",{className:X.virtualListItemActivity,children:(w=d.metadata)==null?void 0:w.activity})]}),r.jsx("div",{className:X.virtualListItemEmail,children:(g=d.metadata)==null?void 0:g.email})]})]})}})})]})}),r.jsx("h3",{children:"点击外部处理"}),r.jsx("div",{className:X.group,children:r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:d=>n.current.clickaway=d,onClick:()=>i("clickaway"),children:"打开菜单"}),r.jsx(it,{visible:e==="clickaway",anchorEl:n.current.clickaway,onClickAway:d=>{d.target.closest(".safe-zone")||t(null)},children:r.jsxs("div",{className:"safe-zone",children:[r.jsx("div",{children:"这是安全区域,点击不会关闭"}),r.jsx(N,{onClick:()=>t(null),children:"手动关闭"})]})})]})}),r.jsx("h3",{children:"Size 预设尺寸"}),r.jsx("div",{className:X.group,children:C.map(({id:d,title:m,size:v,content:w})=>r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:g=>n.current[d]=g,onClick:()=>i(d),children:m}),r.jsx(it,{visible:e===d,anchorEl:n.current[d],size:v,arrow:!0,onClickAway:()=>t(null),children:r.jsxs("div",{className:X.popperContent,children:[r.jsx("h4",{children:m}),r.jsx("p",{children:w})]})})]},d))}),r.jsx("h3",{children:"Auto 尺寸内容展示"}),r.jsx("div",{className:X.group,children:j.map(({id:d,title:m,size:v,multiline:w,content:g,width:S,height:E})=>r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:L=>n.current[d]=L,onClick:()=>i(d),children:m}),r.jsx(it,{visible:e===d,anchorEl:n.current[d],size:v,width:S,height:E,multiline:w,arrow:!0,onClickAway:()=>t(null),children:r.jsxs("div",{className:X.popperContent,children:[r.jsx("h4",{children:m}),r.jsx("p",{children:g})]})})]},d))})]})},nP=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.popper.title"),description:e("components.popper.description")}),r.jsx(tP,{})]})},rP="_section_15ptb_42",iP="_group_15ptb_54",Vt={section:rP,group:iP,"accordion-down":"_accordion-down_15ptb_1","accordion-up":"_accordion-up_15ptb_1"},sP=()=>{const e=()=>{console.log("Search button clicked")};return r.jsxs("div",{className:Vt.section,children:[r.jsx("h3",{children:"SearchButton"}),r.jsx("p",{children:"A button component with a search icon, used for search functionality."}),r.jsx("h3",{children:"Search Button Sizes"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{size:"small"}),r.jsx(te,{size:"medium"}),r.jsx(te,{size:"large"})]}),r.jsx("h3",{children:"Search Button States"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{disabled:!0}),r.jsx(te,{loading:!0}),r.jsx(te,{active:!0})]}),r.jsx("h3",{children:"Search Button Shapes"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{shape:"square"}),r.jsx(te,{shape:"rounded"}),r.jsx(te,{shape:"circle"})]}),r.jsx("h3",{children:"Custom Styles"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{bgColor:"#6200ee",textColor:"#ffffff",hoverBgColor:"#3700b3"}),r.jsx(te,{borderRadius:"20px",borderColor:"#2196f3",borderWidth:"2px"})]}),r.jsx("h3",{children:"Search Text"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e,children:"Search"}),r.jsx(te,{onClick:e,variant:"error",children:"Search"}),r.jsx(te,{onClick:e,variant:"warning",children:"Search"}),r.jsx(te,{onClick:e,variant:"success",children:"Search"}),r.jsx(te,{onClick:e,variant:"info",children:"Search"}),r.jsx(te,{onClick:e,shape:"square",children:"Search"}),r.jsx(te,{onClick:e,shape:"rounded",children:"Search"}),r.jsx(te,{onClick:e,animation:"expand",children:"Search"}),r.jsx(te,{onClick:e,animation:"shrink",children:"Search"}),r.jsx(te,{onClick:e,disabled:!0,children:"Search"})]}),r.jsx("h3",{children:"Search Text Size"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e,size:"small",children:"Search"}),r.jsx(te,{onClick:e,size:"medium",children:"Search"}),r.jsx(te,{onClick:e,size:"large",children:"Search"}),r.jsx(te,{onClick:e,size:"xlarge",children:"Search"}),r.jsx(te,{onClick:e,children:"Search"})]}),r.jsx("h3",{children:"Search Text Color"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e,color:"#fff",children:"Text"}),r.jsx(te,{onClick:e,color:"#000",children:"Test case"})]}),r.jsx("h3",{children:"Search variant"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e}),r.jsx(te,{onClick:e,variant:"error"}),r.jsx(te,{onClick:e,variant:"warning"}),r.jsx(te,{onClick:e,variant:"success"}),r.jsx(te,{onClick:e,variant:"info"}),r.jsx(te,{onClick:e,disabled:!0,iconColor:"#fff"})]}),r.jsx("h3",{children:"Search Shape"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e,shape:"square"}),r.jsx(te,{onClick:e,shape:"rounded"}),r.jsx(te,{onClick:e,shape:"circle"})]}),r.jsx("h3",{children:"Search Animation"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e}),r.jsx(te,{onClick:e,animation:"none"}),r.jsx(te,{onClick:e,animation:"expand"}),r.jsx(te,{onClick:e,animation:"shrink"}),r.jsx(te,{onClick:e,animation:"shake"})]}),r.jsx("h3",{children:"Search Size"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e,size:"small"}),r.jsx(te,{onClick:e,size:"medium"}),r.jsx(te,{onClick:e,size:"large"}),r.jsx(te,{onClick:e,size:"xlarge"}),r.jsx(te,{onClick:e})]}),r.jsx("h3",{children:"Search Icon Color"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e,iconColor:"#000000"}),r.jsx(te,{onClick:e,iconColor:"#ff0000"}),r.jsx(te,{onClick:e,iconColor:"#00ff00"}),r.jsx(te,{onClick:e,iconColor:"#0000ff"})]}),r.jsx("h3",{children:"Search Background Color"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e,bgColor:"#000000"}),r.jsx(te,{onClick:e,bgColor:"#ff0000"}),r.jsx(te,{onClick:e,bgColor:"#00ff00"}),r.jsx(te,{onClick:e,bgColor:"#0000ff"})]}),r.jsx("h3",{children:"Search Loading"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e,loading:!0}),r.jsx(te,{onClick:e,loading:!0,variant:"error"}),r.jsx(te,{onClick:e,loading:!0,variant:"warning"}),r.jsx(te,{onClick:e,loading:!0,variant:"success"}),r.jsx(te,{onClick:e,loading:!0,variant:"info"}),r.jsx(te,{onClick:e,loading:!0,disabled:!0,iconColor:"#000"})]}),r.jsx("h3",{children:"Search Button Variants"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e}),r.jsx(te,{variant:"primary"}),r.jsx(te,{variant:"secondary"}),r.jsx(te,{variant:"success",onClick:e}),r.jsx(te,{variant:"warning",onClick:e}),r.jsx(te,{variant:"error",onClick:e})]})]})},aP=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.searchButton.title"),description:e("components.searchButton.description")}),r.jsx(sP,{})]})},oP="_section_15ptb_42",lP="_group_15ptb_54",pi={section:oP,group:lP,"accordion-down":"_accordion-down_15ptb_1","accordion-up":"_accordion-up_15ptb_1"},cP=()=>r.jsxs("div",{className:pi.section,children:[r.jsx("h3",{children:"Status Types"}),r.jsxs("div",{className:pi.group,children:[r.jsx(ze,{type:"online",showLabel:!0}),r.jsx(ze,{type:"offline",showLabel:!0}),r.jsx(ze,{type:"away",showLabel:!0}),r.jsx(ze,{type:"busy",showLabel:!0})]}),r.jsx("h3",{children:"Status Sizes"}),r.jsxs("div",{className:pi.group,children:[r.jsx(ze,{type:"online",size:"small"}),r.jsx(ze,{type:"online",size:"medium"}),r.jsx(ze,{type:"online",size:"large"})]}),r.jsx("h3",{children:"Status Shapes"}),r.jsxs("div",{className:pi.group,children:[r.jsx(ze,{type:"online",showLabel:!0}),r.jsx(ze,{type:"offline",showLabel:!0}),r.jsx(ze,{type:"away",showLabel:!0}),r.jsx(ze,{type:"busy",showLabel:!0}),r.jsx(ze,{status:"success",shape:"circle"}),r.jsx(ze,{status:"success",shape:"square"}),r.jsx(ze,{status:"success",shape:"rounded"})]}),r.jsx("h3",{children:"Custom Colors"}),r.jsxs("div",{className:pi.group,children:[r.jsx(ze,{type:"custom",color:"#9c27b0"}),r.jsx(ze,{type:"custom",color:"#ff9800"}),r.jsx(ze,{type:"custom",color:"#2196f3"})]}),r.jsx("h3",{children:"Disabled Status"}),r.jsxs("div",{className:pi.group,children:[r.jsx(ze,{type:"online",animated:!0}),r.jsx(ze,{type:"offline",animated:!0}),r.jsx(ze,{type:"away",animated:!0}),r.jsx(ze,{type:"busy",animated:!0})]}),r.jsx("h3",{children:"Status Button"}),r.jsxs("div",{className:pi.group,children:[r.jsx(ze,{status:"success"}),r.jsx(ze,{status:"error"}),r.jsx(ze,{status:"warning"}),r.jsx(ze,{status:"info"}),r.jsx(ze,{status:"success",shape:"square"}),r.jsx(ze,{status:"error",shape:"square"}),r.jsx(ze,{status:"warning",shape:"square"}),r.jsx(ze,{status:"info",shape:"square"}),r.jsx(ze,{status:"success",shape:"rounded"}),r.jsx(ze,{status:"error",shape:"rounded"}),r.jsx(ze,{status:"warning",shape:"rounded"}),r.jsx(ze,{status:"info",shape:"rounded"}),r.jsx(ze,{type:"online",disabled:!0}),r.jsx(ze,{status:"success",disabled:!0}),r.jsx(ze,{type:"custom",color:"#9c27b0",disabled:!0})]})]}),dP=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.statusIndicator.title"),description:e("components.statusIndicator.description")}),r.jsx(cP,{})]})},uP="_section_16f4s_42",hP="_group_16f4s_54",Vi={section:uP,group:hP,"accordion-down":"_accordion-down_16f4s_1","accordion-up":"_accordion-up_16f4s_1"},pP=()=>{const[e,t]=b.useState();return r.jsxs("div",{className:Vi.section,children:[r.jsx("h3",{children:"Basic TimePicker"}),r.jsx("div",{className:Vi.group,children:r.jsx(Zn,{value:e,onChange:t,placeholder:"Select time"})}),r.jsx("h3",{children:"Time Format"}),r.jsxs("div",{className:Vi.group,children:[r.jsx(Zn,{format:"HH:mm:ss",placeholder:"24-hour format"}),r.jsx(Zn,{format:"hh:mm:ss a",use12Hours:!0,placeholder:"12-hour format"}),r.jsx(Zn,{format:"HH:mm",showSecond:!1,placeholder:"Without seconds"})]}),r.jsx("h3",{children:"Size Variants"}),r.jsxs("div",{className:Vi.group,children:[r.jsx(Zn,{size:"small",placeholder:"Small"}),r.jsx(Zn,{size:"medium",placeholder:"Medium"}),r.jsx(Zn,{size:"large",placeholder:"Large"})]}),r.jsx("h3",{children:"States"}),r.jsxs("div",{className:Vi.group,children:[r.jsx(Zn,{disabled:!0,placeholder:"Disabled"}),r.jsx(Zn,{minTime:new Date(2024,0,1,9,0,0),maxTime:new Date(2024,0,1,18,0,0),placeholder:"9:00 - 18:00"})]}),r.jsx("h3",{children:"Step Options"}),r.jsx("div",{className:Vi.group,children:r.jsx(Zn,{hourStep:2,minuteStep:15,secondStep:15})})]})},fP=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.timePicker.title"),description:e("components.timePicker.description")}),r.jsx(pP,{})]})},mP="_section_15rlq_42",gP="_group_15rlq_54",xP="_description_15rlq_63",vP="_listItem_15rlq_69",_P="_itemHeader_15rlq_78",jP="_itemContent_15rlq_84",yP="_itemTitle_15rlq_87",bP="_itemMeta_15rlq_93",wP="_metadata_15rlq_110",CP="_status_15rlq_122",kP="_active_15rlq_127",SP="_inactive_15rlq_131",NP="_pending_15rlq_135",$P="_priority_15rlq_139",EP="_high_15rlq_139",zP="_medium_15rlq_142",LP="_low_15rlq_145",IP="_controls_15rlq_149",RP="_info_15rlq_155",Be={section:mP,group:gP,description:xP,listItem:vP,itemHeader:_P,itemContent:jP,itemTitle:yP,itemMeta:bP,metadata:wP,status:CP,active:kP,inactive:SP,pending:NP,priority:$P,high:EP,medium:zP,low:LP,controls:IP,info:RP,"accordion-down":"_accordion-down_15rlq_1","accordion-up":"_accordion-up_15rlq_1"},Ks=(e,t)=>Array.from({length:t},(n,i)=>({id:e+i,metadata:{title:`Item ${e+i}`,description:`This is the description for item ${e+i}`,timestamp:Date.now()-Math.floor(Math.random()*1e7),status:i%3===0?"active":i%3===1?"inactive":"pending",author:`User ${i%5}`,category:`Category ${i%3}`,priority:i%4===0?"high":i%4===1?"medium":"low",avatar:`https://i.pravatar.cc/150?u=${i}`}})),AP=()=>{const[e]=b.useState(()=>Ks(0,100)),[t,n]=b.useState(()=>Ks(0,50)),[i,s]=b.useState(!1),[a,o]=b.useState(()=>Ks(0,1e3)),[l,c]=b.useState(!1),u=b.useCallback(async()=>{s(!0);try{await new Promise(x=>setTimeout(x,1e3)),n(x=>[...x,...Ks(x.length,20)])}finally{s(!1)}},[]),h=b.useCallback(async x=>{c(!0);try{await new Promise(_=>setTimeout(_,1e3)),o(Ks(0,x))}finally{c(!1)}},[]),f=b.useCallback(x=>{var _,y,C;return r.jsxs("div",{className:Be.listItem,children:[r.jsxs("div",{className:Be.itemHeader,children:[r.jsx(et,{size:"small",src:(_=x.metadata)==null?void 0:_.avatar}),r.jsx("div",{className:Be.itemTitle,children:(y=x==null?void 0:x.metadata)==null?void 0:y.title})]}),r.jsx("div",{className:Be.description,children:(C=x==null?void 0:x.metadata)==null?void 0:C.description})]})},[]),p=b.useCallback(x=>{var _,y,C,j,d,m,v,w,g,S,E;return r.jsxs("div",{className:Be.listItem,children:[r.jsxs("div",{className:Be.itemHeader,children:[r.jsx(et,{size:"medium",src:(_=x.metadata)==null?void 0:_.avatar}),r.jsxs("div",{className:Be.itemContent,children:[r.jsx("div",{className:Be.itemTitle,children:(y=x==null?void 0:x.metadata)==null?void 0:y.title}),r.jsxs("div",{className:Be.itemMeta,children:[r.jsxs("span",{className:Be.author,children:[r.jsx(Kr,{size:12}),(C=x.metadata)==null?void 0:C.author]}),r.jsxs("span",{className:Be.timestamp,children:[r.jsx(Dd,{size:12}),new Date((j=x==null?void 0:x.metadata)==null?void 0:j.timestamp).toLocaleString()]})]})]}),((d=x==null?void 0:x.metadata)==null?void 0:d.status)&&r.jsx("div",{className:`${Be.status} ${Be[(m=x==null?void 0:x.metadata)==null?void 0:m.status]}`,children:(v=x==null?void 0:x.metadata)==null?void 0:v.status})]}),r.jsx("div",{className:Be.description,children:(w=x==null?void 0:x.metadata)==null?void 0:w.description}),r.jsxs("div",{className:Be.metadata,children:[r.jsxs("span",{className:Be.category,children:[r.jsx(hL,{size:12}),(g=x==null?void 0:x.metadata)==null?void 0:g.category]}),r.jsxs("span",{className:`${Be.priority} ${Be[((S=x==null?void 0:x.metadata)==null?void 0:S.priority)||""]}`,children:["Priority: ",(E=x==null?void 0:x.metadata)==null?void 0:E.priority]})]})]})},[]);return r.jsxs("div",{className:Be.section,children:[r.jsx("h3",{children:"Basic Virtual List"}),r.jsx("p",{className:Be.description,children:"简单列表项展示"}),r.jsx("div",{className:Be.group,children:r.jsx("div",{style:{width:"100%",maxWidth:400},children:r.jsx(Zs,{items:e,maxHeight:320,renderItem:f})})}),r.jsx("h3",{children:"Detailed Virtual List"}),r.jsx("p",{className:Be.description,children:"展示更多元数据和复杂布局"}),r.jsx("div",{className:Be.group,children:r.jsx("div",{style:{width:"100%",maxWidth:500},children:r.jsx(Zs,{style:{background:"#d3d3d3"},items:t,maxHeight:360,renderItem:p})})}),r.jsx("h3",{children:"Infinite Scroll with Rich Content"}),r.jsx("p",{className:Be.description,children:"无限滚动加载更多数据,展示丰富的内容"}),r.jsxs("div",{className:Be.group,children:[r.jsx("div",{style:{width:"100%",maxWidth:500},children:r.jsx(Zs,{items:t,maxHeight:360,onLoadMore:u,loading:i,loadMoreThreshold:150,renderItem:p})}),r.jsxs("div",{className:Be.info,children:["已加载: ",t.length," 条数据"]})]}),r.jsx("h3",{children:"High Performance Mode"}),r.jsx("p",{className:Be.description,children:"大数据集的高性能渲染模式,支持不同布局切换"}),r.jsxs("div",{className:Be.group,children:[r.jsx("div",{style:{width:"100%",maxWidth:500},children:r.jsx(Zs,{items:a,maxHeight:400,highPerformance:!0,renderItem:p})}),r.jsxs("div",{className:Be.controls,children:[r.jsx(N,{onClick:()=>h(2e4),variant:"primary",loading:l,children:"加载 20,000 条数据"}),r.jsx(N,{onClick:()=>h(5e4),variant:"warning",loading:l,children:"加载 50,000 条数据"}),r.jsxs("div",{className:Be.count,children:["当前数据量: ",a.length.toLocaleString()," 条"]})]})]})]})},PP=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.virtualList.title"),description:e("components.virtualList.description")}),r.jsx(AP,{})]})},MP="_section_nsnyg_42",TP="_group_nsnyg_54",FP="_description_nsnyg_63",mn={section:MP,group:TP,description:FP,"accordion-down":"_accordion-down_nsnyg_1","accordion-up":"_accordion-up_nsnyg_1"},BP=()=>{const[e,t]=b.useState(""),[n,i]=b.useState(!1),[s,a]=b.useState([]),o=[{label:"JavaScript",value:"js",icon:r.jsx(Ec,{}),description:"Popular programming language",group:"Frontend",highlight:!0},{label:"TypeScript",value:"ts",icon:r.jsx(Ec,{}),description:"Typed superset of JavaScript",group:"Frontend"},{label:"Python",value:"py",icon:r.jsx(c6,{}),description:"General-purpose programming language",group:"Backend"},{label:"Node.js",value:"node",icon:r.jsx(l6,{}),description:"JavaScript runtime",group:"Backend",disabled:!0,style:{color:"#43853d"}}];return r.jsxs("div",{className:mn.section,children:[r.jsx("h3",{children:"Basic Mode"}),r.jsxs("p",{className:mn.description,children:["基础模式下的自动完成组件。当前选择: ",e||"未选择"]}),r.jsx("div",{className:mn.group,children:r.jsx("div",{style:{width:300},children:r.jsx(Hi,{name:"basic",label:"Programming Language",mode:"basic",value:e,onChange:t,options:o,textFieldProps:{placeholder:"Type to search...",helperText:"Basic mode with default rendering",size:"medium",clearable:!0}})})}),r.jsx("h3",{children:"Custom Mode"}),r.jsx("p",{className:mn.description,children:"自定义模式允许完全控制选项的渲染方式。"}),r.jsx("div",{className:mn.group,children:r.jsx("div",{style:{width:300},children:r.jsx(Hi,{name:"custom",label:"Custom Rendering",mode:"custom",options:o,textFieldProps:{placeholder:"Custom mode...",helperText:"Custom rendering with icons",size:"medium"},renderOption:l=>r.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",padding:"8px",...l.style},children:[l.icon,r.jsxs("div",{children:[r.jsx("div",{style:{fontWeight:500},children:l.label}),r.jsx("small",{style:{color:"#666"},children:l.description})]})]})})})}),r.jsx("h3",{children:"Multiple Selection"}),r.jsxs("p",{className:mn.description,children:["多选模式下的标签展示。已选择: ",s.length]}),r.jsx("div",{className:mn.group,children:r.jsx("div",{style:{width:300},children:r.jsx(Hi,{name:"multiple",label:"Multiple Selection",options:o,multiple:!0,maxTagCount:2,value:s.map(l=>l.label).join(", "),textFieldProps:{placeholder:"Select multiple...",helperText:"Select multiple options",size:"medium"},onSelect:l=>{a(c=>c.some(h=>h.value===l.value)?c.filter(h=>h.value!==l.value):[...c,l])}})})}),r.jsx("h3",{children:"Empty and Loading States"}),r.jsx("p",{className:mn.description,children:"展示空状态和加载状态。"}),r.jsx("div",{className:mn.group,children:r.jsx("div",{style:{width:300},children:r.jsx(Hi,{name:"empty-loading",label:"States Demo",options:[],loading:n,emptyProps:{description:"No results found",icon:r.jsx(Ec,{}),style:{padding:"20px"}},textFieldProps:{placeholder:"Type to search...",helperText:n?"Loading...":"Try searching",disabled:n},popperProps:{width:400,height:400},onChange:()=>{i(!0),setTimeout(()=>i(!1),1e3)}})})}),r.jsx("h3",{children:"Popper Configuration"}),r.jsx("p",{className:mn.description,children:"自定义下拉框的位置和样式。"}),r.jsx("div",{className:mn.group,children:r.jsx("div",{style:{width:300},children:r.jsx(Hi,{name:"popper",label:"Popper Settings",options:o,placement:"bottom",offset:{x:0,y:8},dropdownBgColor:"#f8f9fa",highlightBgColor:"#e9ecef",hoverBgColor:"#dee2e6",animation:!0,textFieldProps:{placeholder:"With popper config...",size:"medium"}})})}),r.jsx("h3",{children:"Event Handling"}),r.jsxs("p",{className:mn.description,children:["展示值变化和选择事件的处理。当前值: ",e]}),r.jsx("div",{className:mn.group,children:r.jsx("div",{style:{width:300},children:r.jsx(Hi,{name:"events",label:"Event Handlers",options:o,value:e,onChange:l=>{t(l),console.log("Value changed:",l)},onSelect:l=>{t(l.label),console.log("Selected:",l)},onOptionClick:l=>console.log("Clicked:",l),onDropdownVisibleChange:l=>console.log("Dropdown:",l),textFieldProps:{placeholder:"Interact to see events...",helperText:"Watch console for events",size:"medium"}})})})]})},OP=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.autoComplete.title"),description:e("components.autoComplete.description")}),r.jsx(BP,{})]})},DP="_section_nsnyg_42",UP="_group_nsnyg_54",HP="_description_nsnyg_63",Ge={section:DP,group:UP,description:HP,"accordion-down":"_accordion-down_nsnyg_1","accordion-up":"_accordion-up_nsnyg_1"},WP=()=>r.jsxs("div",{className:Ge.section,children:[r.jsx("h3",{children:"Basic Empty State"}),r.jsx("p",{className:Ge.description,children:"基础的空状态展示"}),r.jsxs("div",{className:Ge.group,children:[r.jsx(xt,{description:"No Data"}),r.jsx(xt,{description:"使用 SVG 图标",useSvg:!0})]}),r.jsx("h3",{children:"Icon Variants"}),r.jsx("p",{className:Ge.description,children:"不同图标类型的展示"}),r.jsxs("div",{className:Ge.group,children:[r.jsx(xt,{description:"默认图标"}),r.jsx(xt,{description:"SVG 图标",useSvg:!0}),r.jsx(xt,{icon:r.jsx(_1,{size:40}),description:"自定义图标"})]}),r.jsx("h3",{children:"Custom Icons"}),r.jsx("p",{className:Ge.description,children:"自定义图标的空状态"}),r.jsxs("div",{className:Ge.group,children:[r.jsx(xt,{icon:r.jsx(_1,{size:40}),description:"收件箱为空"}),r.jsx(xt,{icon:r.jsx(Hd,{size:40}),description:"未找到搜索结果"}),r.jsx(xt,{icon:r.jsx(v1,{size:40}),description:"暂无文档"}),r.jsx(xt,{icon:r.jsx(dL,{size:40}),description:"暂无图片"})]}),r.jsx("h3",{children:"With Actions"}),r.jsx("p",{className:Ge.description,children:"带操作按钮的空状态"}),r.jsxs("div",{className:Ge.group,children:[r.jsx(xt,{description:"购物车为空",useSvg:!0,children:r.jsx(N,{variant:"primary",children:"去购物"})}),r.jsx(xt,{description:"暂无文件",icon:r.jsx(v1,{size:40}),children:r.jsx(N,{variant:"primary",children:"上传文件"})}),r.jsx(xt,{description:"数据为空",icon:r.jsx(sL,{size:40}),children:r.jsxs("div",{className:Ge.actions,children:[r.jsx(N,{variant:"primary",children:"导入数据"}),r.jsx(N,{children:"刷新"})]})})]}),r.jsx("h3",{children:"Custom Styles"}),r.jsx("p",{className:Ge.description,children:"自定义样式的空状态"}),r.jsxs("div",{className:Ge.group,children:[r.jsx(xt,{icon:r.jsx(lL,{size:40,color:"#faad14"}),description:"出错了",className:Ge.warningEmpty,children:r.jsx(N,{variant:"warning",children:"重试"})}),r.jsx(xt,{useSvg:!0,description:r.jsxs("div",{className:Ge.customDescription,children:[r.jsx("h4",{children:"暂无数据"}),r.jsx("p",{children:"请稍后再试"})]}),className:Ge.infoEmpty})]}),r.jsx("h3",{children:"With, height, shadow, backgroundColor, color"}),r.jsxs("div",{className:Ge.group,children:[r.jsx(xt,{width:"200px",height:"200px",showShadow:!0,backgroundColor:"#fff",color:"#000"}),r.jsx(xt,{width:300,height:300,showShadow:!0,backgroundColor:"#fff",color:"#000",children:r.jsx(N,{variant:"primary",children:"重新加载"})}),r.jsx(xt,{width:300,height:500,showShadow:!0,backgroundColor:"#fff",color:"#000",children:r.jsx(N,{variant:"primary",children:"重新加载"})})]}),r.jsx("h3",{children:"Complex Empty States"}),r.jsx("p",{className:Ge.description,children:"复杂的空状态展示"}),r.jsxs("div",{className:Ge.group,children:[r.jsx(xt,{icon:r.jsx(Hd,{size:40}),description:r.jsxs("div",{className:Ge.complexDescription,children:[r.jsx("h4",{children:"未找到匹配结果"}),r.jsx("p",{children:"试试其他搜索条件"}),r.jsxs("ul",{children:[r.jsx("li",{children:"检查输入是否正确"}),r.jsx("li",{children:"使用更少的筛选条件"}),r.jsx("li",{children:"使用更通用的关键词"})]})]}),className:Ge.searchEmpty,children:r.jsxs("div",{className:Ge.actions,children:[r.jsx(N,{variant:"primary",children:"清除筛选"}),r.jsx(N,{children:"返回"})]})}),r.jsx(xt,{useSvg:!0,description:r.jsxs("div",{className:Ge.complexDescription,children:[r.jsx("h4",{children:"数据加载失败"}),r.jsx("p",{children:"可能的原因:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"网络连接不稳定"}),r.jsx("li",{children:"服务器暂时不可用"}),r.jsx("li",{children:"数据权限不足"})]})]}),className:Ge.errorEmpty,children:r.jsx(N,{variant:"primary",children:"重新加载"})}),r.jsx(xt,{useSvg:!0,showShadow:!0,description:r.jsxs("div",{className:Ge.complexDescription,children:[r.jsx("h4",{children:"数据加载失败"}),r.jsx("p",{children:"可能的原因:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"网络连接不稳定"}),r.jsx("li",{children:"服务器暂时不可用"}),r.jsx("li",{children:"数据权限不足"})]})]}),className:Ge.errorEmpty,children:r.jsx(N,{variant:"primary",children:"重新加载"})}),r.jsx(xt,{useSvg:!0,showShadow:!0,backgroundColor:"#ff9800",color:"#fff",description:r.jsxs("div",{className:Ge.complexDescription,children:[r.jsx("h4",{children:"数据加载失败"}),r.jsx("p",{children:"可能的原因:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"网络连接不稳定"}),r.jsx("li",{children:"服务器暂时不可用"}),r.jsx("li",{children:"数据权限不足"})]})]}),className:Ge.errorEmpty,children:r.jsx(N,{variant:"primary",children:"重新加载"})})]})]}),qP=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.empty.title"),description:e("components.empty.description")}),r.jsx(WP,{})]})},VP="_section_erl0y_42",KP="_group_erl0y_54",GP="_description_erl0y_66",Xe={section:VP,group:KP,description:GP,"accordion-down":"_accordion-down_erl0y_1","accordion-up":"_accordion-up_erl0y_1"},QP=()=>{const e=[{value:"zhejiang",label:"浙江",children:[{value:"hangzhou",label:"杭州",children:[{value:"xihu",label:"西湖"}]}]},{value:"jiangsu",label:"江苏",children:[{value:"nanjing",label:"南京",children:[{value:"zhonghuamen",label:"中华门"}]}]}],t=[{value:"level1",label:"Level 1",children:[{value:"level2",label:"Level 2",children:[{value:"level3",label:"Level 3",children:[{value:"level4",label:"Level 4",children:[{value:"level5",label:"Level 5",children:[{value:"level6",label:"Level 6"}]}]}]}]}]}],[n,i]=b.useState([]);return r.jsxs("div",{className:Xe.section,children:[r.jsx("h3",{children:"Basic Usage"}),r.jsx("p",{className:Xe.description,children:"基础级联选择器,支持多级选择"}),r.jsx("div",{className:Xe.group,children:r.jsx("div",{style:{width:"100%",maxWidth:320},children:r.jsx(an,{label:"Basic",name:"basic",options:e,placeholder:"请选择"})})}),r.jsx("h3",{children:"Different Sizes"}),r.jsx("p",{className:Xe.description,children:"不同尺寸的级联选择器"}),r.jsxs("div",{className:Xe.group,children:[r.jsx("div",{style:{width:200},children:r.jsx(an,{label:"Small",name:"small",options:e,placeholder:"Small size"})}),r.jsx("div",{style:{width:280},children:r.jsx(an,{label:"Medium",name:"medium",options:e,placeholder:"Medium size"})}),r.jsx("div",{style:{width:360},children:r.jsx(an,{label:"Large",name:"large",options:e,placeholder:"Large size"})})]}),r.jsx("h3",{children:"Default Value"}),r.jsx("p",{className:Xe.description,children:"设置默认值的级联选择器"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Default Value",name:"defaultValue",options:e,defaultValue:["zhejiang","hangzhou","xihu"]})}),r.jsx("h3",{children:"Controlled Mode"}),r.jsx("p",{className:Xe.description,children:"受控模式的级联选择器"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Controlled",name:"controlled",options:e,value:n,onChange:s=>i(s)})}),r.jsx("h3",{children:"Custom Display"}),r.jsx("p",{className:Xe.description,children:"自定义显示格式"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Custom Display",name:"customDisplay",options:e,displayRender:s=>s.join(" > ")})}),r.jsx("h3",{children:"Disabled State"}),r.jsx("p",{className:Xe.description,children:"禁用状态的级联选择器"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Disabled",name:"disabled",options:e,disabled:!0,defaultValue:["zhejiang","hangzhou"]})}),r.jsx("h3",{children:"Search Mode"}),r.jsx("p",{className:Xe.description,children:"可搜索的级联选择器"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Searchable",name:"searchable",options:e,width:280,showSearch:!0,filter:(s,a)=>a.some(o=>o.label.toString().toLowerCase().includes(s.toLowerCase()))})}),r.jsx("h3",{children:"Dynamic Loading"}),r.jsx("p",{className:Xe.description,children:"动态加载数据的级联选择器"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Dynamic Loading",name:"dynamicLoading",options:[{value:"parent",label:"Parent Node",isLeaf:!1}],loadData:s=>{const a=s[s.length-1];a.loading=!0,setTimeout(()=>{a.loading=!1,a.children=[{label:`${a.label} Child`,value:`${a.value}-child`}]},1e3)}})}),r.jsx("h3",{children:"Custom Option Render"}),r.jsx("p",{className:Xe.description,children:"自定义选项渲染"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Custom Render",name:"customRender",options:e,optionRender:(s,a)=>r.jsxs("div",{style:{padding:"4px 8px"},children:[r.jsx("span",{children:s.label}),a<2&&r.jsx("span",{style:{float:"right"},children:"→"})]})})}),r.jsx("h3",{children:"Deep Nesting"}),r.jsx("p",{className:Xe.description,children:"支持最多6层级联"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Deep Nesting",name:"deepNesting",options:t,width:280})}),r.jsx("h3",{children:"Custom Styles"}),r.jsx("p",{className:Xe.description,children:"自定义样式的级联选择器"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Custom Style",name:"customStyle",options:e,width:280,dropdownStyle:{background:"#f6f7f9",borderRadius:"8px"},optionStyle:{borderRadius:"4px",margin:"2px 4px"},style:{"--cascader-option-hover-bg":"#e6f4ff","--cascader-option-active-bg":"#1890ff","--cascader-option-active-color":"#ffffff"}})}),r.jsx("h3",{children:"Max Level Control"}),r.jsx("p",{className:Xe.description,children:"控制最大层级数"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Max Level 3",name:"maxLevel",options:t,maxLevel:3,width:280})})]})},YP=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.cascader.title"),description:e("components.cascader.description")}),r.jsx(QP,{})]})},JP="_section_qa4oz_42",XP="_group_qa4oz_54",ZP="_divider_qa4oz_61",Kt={section:JP,group:XP,divider:ZP,"accordion-down":"_accordion-down_qa4oz_1","accordion-up":"_accordion-up_qa4oz_1"},eM=()=>{const[e,t]=b.useState("horizontal"),[n,i]=b.useState("medium"),[s,a]=b.useState(!0);return r.jsxs("div",{className:Kt.section,children:[r.jsxs("div",{className:Kt.header,children:[r.jsx("h2",{children:"Space 间距"}),r.jsx("p",{children:"设置组件之间的间距"})]}),r.jsx("h3",{children:"基础用法"}),r.jsx("p",{className:Kt.description,children:"最基础的用法,通过 size 设置间距大小"}),r.jsx("div",{className:Kt.group,children:r.jsxs(W,{size:"small",children:[r.jsx(N,{children:"按钮 1"}),r.jsx(N,{children:"按钮 2"}),r.jsx(N,{children:"按钮 3"})]})}),r.jsx("h3",{children:"垂直间距"}),r.jsx("p",{className:Kt.description,children:"可以设置垂直方向的间距"}),r.jsx("div",{className:Kt.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsx(N,{children:"按钮 1"}),r.jsx(N,{children:"按钮 2"}),r.jsx(N,{children:"按钮 3"})]})}),r.jsx("h3",{children:"间距大小"}),r.jsx("p",{className:Kt.description,children:"内置三种间距尺寸"}),r.jsx("div",{className:Kt.group,children:r.jsxs(W,{direction:"vertical",size:"large",block:!0,children:[r.jsxs(W,{size:"small",children:[r.jsx(N,{children:"Small"}),r.jsx(N,{children:"间距"}),r.jsx(N,{children:"示例"})]}),r.jsxs(W,{size:"medium",children:[r.jsx(N,{children:"Medium"}),r.jsx(N,{children:"间距"}),r.jsx(N,{children:"示例"})]}),r.jsxs(W,{size:"large",children:[r.jsx(N,{children:"Large"}),r.jsx(N,{children:"间距"}),r.jsx(N,{children:"示例"})]})]})}),r.jsx("h3",{children:"自动换行"}),r.jsx("p",{className:Kt.description,children:"当空间不足时自动换行"}),r.jsx("div",{className:Kt.group,children:r.jsx(W,{wrap:!0,children:Array.from({length:10},(o,l)=>r.jsxs(N,{children:["按钮 ",l+1]},l))})}),r.jsx("h3",{children:"对齐方式"}),r.jsx("p",{className:Kt.description,children:"设置对齐方式"}),r.jsx("div",{className:Kt.group,children:r.jsxs(W,{direction:"vertical",size:"large",block:!0,children:[r.jsxs(W,{justify:"start",block:!0,children:[r.jsx(N,{children:"左对齐"}),r.jsx(N,{children:"示例"})]}),r.jsxs(W,{justify:"center",block:!0,children:[r.jsx(N,{children:"居中对齐"}),r.jsx(N,{children:"示例"})]}),r.jsxs(W,{justify:"end",block:!0,children:[r.jsx(N,{children:"右对齐"}),r.jsx(N,{children:"示例"})]}),r.jsxs(W,{justify:"space-between",block:!0,children:[r.jsx(N,{children:"两端对齐"}),r.jsx(N,{children:"示例"})]}),r.jsxs(W,{justify:"space-around",block:!0,children:[r.jsx(N,{children:"环绕对齐"}),r.jsx(N,{children:"示例"})]})]})}),r.jsx("h3",{children:"卡片间距"}),r.jsx("p",{className:Kt.description,children:"在卡片组件中使用间距"}),r.jsx("div",{className:Kt.group,children:r.jsx(W,{direction:"vertical",size:"large",children:r.jsxs(W,{size:"large",children:[r.jsx(Gt,{children:"Card 1"}),r.jsx(Gt,{children:"Card 2"}),r.jsx(Gt,{children:"Card 3"})]})})}),r.jsx("h3",{children:"动态配置"}),r.jsx("p",{className:Kt.description,children:"动态控制 Space 的属性"}),r.jsx("div",{className:Kt.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{children:[r.jsx(N,{onClick:()=>t(o=>o==="horizontal"?"vertical":"horizontal"),children:"切换方向"}),r.jsx(N,{onClick:()=>i(o=>o==="small"?"medium":o==="medium"?"large":"small"),children:"切换大小"}),r.jsx(N,{onClick:()=>a(o=>!o),children:"切换换行"})]}),r.jsxs(W,{direction:e,size:n,wrap:s,children:[r.jsx(N,{children:"按钮 1"}),r.jsx(N,{children:"按钮 2"}),r.jsx(N,{children:"按钮 3"})]})]})})]})},tM=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.space.title"),description:e("components.space.description")}),r.jsx(eM,{})]})},nM="_section_1gztw_42",rM="_group_1gztw_54",iM="_description_1gztw_63",_t={section:nM,group:rM,description:iM,"accordion-down":"_accordion-down_1gztw_1","accordion-up":"_accordion-up_1gztw_1"},sM=()=>{const[e,t]=b.useState(["Tag 1","Tag 2","Tag 3","Tag 4"]),[n,i]=b.useState([]),s=o=>{t(e.filter(l=>l!==o))},a=o=>{i(l=>l.includes(o)?l.filter(c=>c!==o):[...l,o])};return r.jsxs("div",{className:_t.section,children:[r.jsxs("div",{className:_t.header,children:[r.jsx("h2",{children:"Tag 标签"}),r.jsx("p",{className:_t.description,children:"进行标记和分类的小标签"})]}),r.jsx("h3",{children:"基础用法"}),r.jsx("p",{className:_t.description,children:"基础的标签用法,可以通过设置 variant 来展示不同的状态。"}),r.jsxs("div",{className:_t.group,children:[r.jsx(ve,{children:"Default"}),r.jsx(ve,{variant:"primary",children:"Primary"}),r.jsx(ve,{variant:"success",children:"Success"}),r.jsx(ve,{variant:"warning",children:"Warning"}),r.jsx(ve,{variant:"error",children:"Error"}),r.jsx(ve,{variant:"info",children:"Info"})]}),r.jsx("h3",{children:"组合展示"}),r.jsx("p",{className:_t.description,children:"不同属性的组合展示效果。"}),r.jsx("div",{className:_t.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{wrap:!0,children:[r.jsx(ve,{bordered:!0,variant:"primary",children:"边框标签"}),r.jsx(ve,{elevation:!0,variant:"success",children:"阴影标签"}),r.jsx(ve,{icon:r.jsx(q0,{}),variant:"warning",children:"图标标签"}),r.jsx(ve,{closable:!0,variant:"error",children:"可关闭"})]}),r.jsxs(W,{wrap:!0,children:[r.jsx(ve,{bordered:!0,elevation:!0,children:"边框+阴影"}),r.jsx(ve,{icon:r.jsx(cL,{}),closable:!0,children:"图标+关闭"}),r.jsx(ve,{bordered:!0,icon:r.jsx(Dd,{}),children:"边框+图标"}),r.jsx(ve,{elevation:!0,closable:!0,variant:"primary",children:"阴影+关闭"})]})]})}),r.jsx("h3",{children:"状态标签"}),r.jsx("p",{className:_t.description,children:"用于表示状态的标签组合。"}),r.jsx("div",{className:_t.group,children:r.jsxs(W,{wrap:!0,children:[r.jsx(ve,{icon:r.jsx(Ia,{}),variant:"success",children:"已完成"}),r.jsx(ve,{icon:r.jsx(Dd,{}),variant:"warning",children:"进行中"}),r.jsx(ve,{icon:r.jsx(Io,{}),variant:"error",children:"已锁定"}),r.jsx(ve,{icon:r.jsx(rL,{}),variant:"error",children:"Bug"}),r.jsx(ve,{icon:r.jsx(iL,{}),variant:"info",children:"开发中"}),r.jsx(ve,{icon:r.jsx(Kr,{}),variant:"primary",children:"已分配"})]})}),r.jsx("h3",{children:"可选择标签"}),r.jsx("p",{className:_t.description,children:"点击可选择,再次点击取消选择。"}),r.jsx("div",{className:_t.group,children:r.jsx(W,{wrap:!0,children:["设计","前端","后端","测试","运维"].map(o=>r.jsx(ve,{clickable:!0,variant:n.includes(o)?"primary":"default",bordered:n.includes(o),onClick:()=>a(o),children:o},o))})}),r.jsx("h3",{children:"动态编辑标签"}),r.jsx("p",{className:_t.description,children:"动态添加和删除标签。"}),r.jsx("div",{className:_t.group,children:r.jsx(W,{direction:"vertical",size:"large",children:r.jsxs(W,{wrap:!0,children:[e.map(o=>r.jsx(ve,{closable:!0,onClose:()=>s(o),variant:"primary",children:o},o)),r.jsx(ve,{clickable:!0,icon:r.jsx(V0,{}),onClick:()=>{const o=`Tag ${e.length+1}`;t([...e,o])},children:"新建标签"})]})})}),r.jsx("h3",{children:"社交标签"}),r.jsx("p",{className:_t.description,children:"用于社交媒体的标签样式。"}),r.jsx("div",{className:_t.group,children:r.jsxs(W,{wrap:!0,children:[r.jsx(ve,{icon:r.jsx(nL,{}),bgColor:"#24292e",textColor:"#ffffff",children:"GitHub"}),r.jsx(ve,{icon:r.jsx(Sn,{}),bgColor:"#ff4081",textColor:"#ffffff",children:"喜欢"}),r.jsx(ve,{icon:r.jsx(Ra,{}),bgColor:"#ffd700",textColor:"#000000",children:"收藏"})]})}),r.jsx("h3",{children:"渐变效果标签"}),r.jsx("p",{className:_t.description,children:"使用渐变背景的标签。"}),r.jsx("div",{className:_t.group,children:r.jsxs(W,{wrap:!0,children:[r.jsx(ve,{style:{background:"linear-gradient(45deg, #ff6b6b, #feca57)",color:"#ffffff"},children:"渐变标签"}),r.jsx(ve,{style:{background:"linear-gradient(45deg, #4834d4, #686de0)",color:"#ffffff"},children:"渐变标签"}),r.jsx(ve,{style:{background:"linear-gradient(45deg, #6ab04c, #badc58)",color:"#ffffff"},children:"渐变标签"})]})}),r.jsx("h3",{children:"尺寸与形状组合"}),r.jsx("p",{className:_t.description,children:"不同尺寸和形状的组合展示。"}),r.jsx("div",{className:_t.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{wrap:!0,align:"center",children:[r.jsx(ve,{size:"small",shape:"square",children:"小方形"}),r.jsx(ve,{size:"medium",shape:"square",children:"中方形"}),r.jsx(ve,{size:"large",shape:"square",children:"大方形"})]}),r.jsxs(W,{wrap:!0,align:"center",children:[r.jsx(ve,{size:"small",shape:"rounded",children:"小圆角"}),r.jsx(ve,{size:"medium",shape:"rounded",children:"中圆角"}),r.jsx(ve,{size:"large",shape:"rounded",children:"大圆角"})]}),r.jsxs(W,{wrap:!0,align:"center",children:[r.jsx(ve,{size:"small",shape:"circle",children:"小圆形"}),r.jsx(ve,{size:"medium",shape:"circle",children:"中圆形"}),r.jsx(ve,{size:"large",shape:"circle",children:"大圆形"})]})]})}),r.jsx("h3",{children:"带计数器的标签"}),r.jsx("p",{className:_t.description,children:"显示数量的标签组合。"}),r.jsx("div",{className:_t.group,children:r.jsxs(W,{wrap:!0,children:[r.jsxs(ve,{variant:"primary",children:["未读消息"," ",r.jsx(ve,{size:"small",shape:"circle",children:"99+"})]}),r.jsxs(ve,{variant:"success",children:["完成任务"," ",r.jsx(ve,{size:"small",shape:"circle",children:"23"})]}),r.jsxs(ve,{variant:"warning",children:["待处理"," ",r.jsx(ve,{size:"small",shape:"circle",children:"5"})]})]})})]})},aM=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.tag.title"),description:e("components.tag.description")}),r.jsx(sM,{})]})},oM=[{path:"overview",element:r.jsx(c5,{})},{path:"installation",element:r.jsx(d5,{})},{path:"introduction",element:r.jsx(u5,{})},{path:"theming",element:r.jsx(h5,{})},{path:"button",element:r.jsx(tL,{})},{path:"textfield",element:r.jsx(AL,{})},{path:"checkbox",element:r.jsx(rA,{})},{path:"radio",element:r.jsx(FL,{})},{path:"switch",element:r.jsx(iI,{})},{path:"avatar",element:r.jsx(cI,{})},{path:"badge",element:r.jsx(pI,{})},{path:"card",element:r.jsx(yI,{})},{path:"chip",element:r.jsx(kI,{})},{path:"divider",element:r.jsx(zI,{})},{path:"alert",element:r.jsx(BI,{})},{path:"message",element:r.jsx(vR,{})},{path:"progress",element:r.jsx(bR,{})},{path:"skeleton",element:r.jsx(QR,{})},{path:"dropdown",element:r.jsx(ZR,{})},{path:"icon-button",element:r.jsx(cA,{})},{path:"tooltip",element:r.jsx(fA,{})},{path:"popper",element:r.jsx(nP,{})},{path:"search-button",element:r.jsx(aP,{})},{path:"status-indicator",element:r.jsx(dP,{})},{path:"time-picker",element:r.jsx(fP,{})},{path:"virtual-list",element:r.jsx(PP,{})},{path:"auto-complete",element:r.jsx(OP,{})},{path:"empty",element:r.jsx(qP,{})},{path:"cascader",element:r.jsx(YP,{})},{path:"space",element:r.jsx(tM,{})},{path:"tag",element:r.jsx(aM,{})}],lM=oM.map(e=>({path:e.path,element:e.element})),cM={gettingStarted:[{path:"overview",icon:r.jsx(Dl,{}),translationKey:"components.overview.title"},{path:"installation",icon:r.jsx(zo,{}),translationKey:"components.installation.title"},{path:"introduction",icon:r.jsx(M3,{}),translationKey:"components.introduction.title"},{path:"theming",icon:r.jsx(D3,{}),translationKey:"components.theming.title"}],inputs:[{path:"button",icon:r.jsx(zo,{}),translationKey:"components.button.title"},{path:"textfield",icon:r.jsx(C0,{}),translationKey:"components.textfield.title"},{path:"checkbox",icon:r.jsx(p0,{}),translationKey:"components.checkbox.title"},{path:"radio",icon:r.jsx(_0,{}),translationKey:"components.radio.title"}],dataDisplay:[{path:"avatar",icon:r.jsx(v0,{}),translationKey:"components.avatar.title"},{path:"badge",icon:r.jsx(b0,{}),translationKey:"components.badge.title"},{path:"card",icon:r.jsx(u0,{}),translationKey:"components.card.title"},{path:"chip",icon:r.jsx(Td,{}),translationKey:"components.chip.title"},{path:"divider",icon:r.jsx(j0,{}),translationKey:"components.divider.title"},{path:"status-indicator",icon:r.jsx(W3,{}),translationKey:"components.statusIndicator.title"},{path:"virtual-list",icon:r.jsx(s6,{}),translationKey:"components.virtualList.title"},{path:"empty",icon:r.jsx(n6,{}),translationKey:"components.empty.title"},{path:"space",icon:r.jsx(Td,{}),translationKey:"components.space.title"},{path:"tag",icon:r.jsx(T3,{}),translationKey:"components.tag.title"},{path:"switch",icon:r.jsx(k0,{}),translationKey:"components.switch.title"}],feedback:[{path:"alert",icon:r.jsx(d0,{}),translationKey:"components.alert.title"},{path:"message",icon:r.jsx(h0,{}),translationKey:"components.message.title"},{path:"progress",icon:r.jsx(S6,{}),translationKey:"components.progress.title"},{path:"skeleton",icon:r.jsx(y0,{}),translationKey:"components.skeleton.title"},{path:"tooltip",icon:r.jsx(m0,{}),translationKey:"components.tooltip.title"},{path:"popper",icon:r.jsx(A3,{}),translationKey:"components.popper.title"},{path:"icon-button",icon:r.jsx(zo,{}),translationKey:"components.iconButton.title"},{path:"search-button",icon:r.jsx(Jp,{}),translationKey:"components.searchButton.title"}],navigation:[{path:"dropdown",icon:r.jsx(x0,{}),translationKey:"components.dropdown.title"},{path:"cascader",icon:r.jsx(J3,{}),translationKey:"components.cascader.title"},{path:"auto-complete",icon:r.jsx(Jp,{}),translationKey:"components.autoComplete.title"}]},dM=({isOpen:e,onClose:t})=>{const{t:n}=Le(),i=(s,a)=>r.jsxs("div",{className:pn.section,children:[r.jsx("div",{className:pn.title,children:n(a)}),r.jsx("div",{className:pn.list,children:cM[s].map(o=>r.jsxs(fv,{to:o.path,className:({isActive:l})=>`${pn.item} ${l?pn.active:""}`,onClick:t,children:[r.jsx("span",{className:pn.itemIcon,children:o.icon}),r.jsx("span",{className:pn.text,children:n(o.translationKey)})]},o.path))})]});return r.jsxs("aside",{className:`${pn.sidebar} ${e?pn.open:""}`,children:[r.jsx("div",{className:pn.header,children:r.jsxs("div",{className:pn.logo,children:[r.jsx(g0,{className:pn.icon}),r.jsx("span",{children:"Minerva UI"})]})}),r.jsxs("nav",{className:pn.nav,children:[i("gettingStarted","components.menu.getting_started"),i("inputs","components.menu.inputs"),i("dataDisplay","components.menu.data_display"),i("feedback","components.menu.feedback"),i("navigation","components.menu.navigation")]})]})},uM="_languageSwitcher_17180_42",hM="_icon_17180_55",pM="_select_17180_59",Tc={languageSwitcher:uM,icon:hM,select:pM,"accordion-down":"_accordion-down_17180_1","accordion-up":"_accordion-up_17180_1"},fM=()=>{const{i18n:e}=Le(),t=[{code:"en",name:"English"},{code:"zh",name:"中文"},{code:"ja",name:"日本語"},{code:"fr",name:"Français"}],n=i=>{e.changeLanguage(i)};return r.jsxs("div",{className:Tc.languageSwitcher,children:[r.jsx(r6,{className:Tc.icon}),r.jsx("select",{value:e.language,onChange:i=>n(i.target.value),className:Tc.select,children:t.map(i=>r.jsx("option",{value:i.code,children:i.name},i.code))})]})},mM="_themeSwitcher_h224d_42",gM="_icon_h224d_62",Fc={themeSwitcher:mM,icon:gM,"accordion-down":"_accordion-down_h224d_1","accordion-up":"_accordion-up_h224d_1"},xM=()=>{const[e,t]=b.useState("dark");b.useEffect(()=>{const i=new Date().getHours(),s=i>=18||i<6?"dark":"light";t(s),document.documentElement.setAttribute("data-theme",s)},[]);const n=()=>{const i=e==="light"?"dark":"light";t(i),document.documentElement.setAttribute("data-theme",i)};return r.jsx("button",{className:Fc.themeSwitcher,onClick:n,children:e==="light"?r.jsx(u6,{className:Fc.icon}):r.jsx(w6,{className:Fc.icon})})},vM="_layout_10zl2_42",_M="_menuButton_10zl2_51",jM="_main_10zl2_78",yM="_header_10zl2_88",bM="_headerControls_10zl2_106",wM="_content_10zl2_111",CM="_fadeIn_10zl2_1",kM="_sidebar_10zl2_127",SM="_open_10zl2_188",Ki={layout:vM,menuButton:_M,main:jM,header:yM,headerControls:bM,content:wM,fadeIn:CM,sidebar:kM,open:SM,"accordion-down":"_accordion-down_10zl2_1","accordion-up":"_accordion-up_10zl2_1"},NM=()=>{const[e,t]=b.useState(!1);return r.jsxs("div",{className:Ki.layout,children:[r.jsx("button",{className:Ki.menuButton,onClick:()=>t(!e),"aria-label":"Toggle menu",children:r.jsx(x0,{})}),r.jsx(dM,{isOpen:e,onClose:()=>t(!1)}),r.jsxs("main",{className:Ki.main,children:[r.jsx("div",{className:Ki.header,children:r.jsxs("div",{className:Ki.headerControls,children:[r.jsx(xM,{}),r.jsx(fM,{})]})}),r.jsx("div",{className:Ki.content,children:r.jsx(Kx,{})})]})]})},$M="_errorPage_82vfj_42",EM="_content_82vfj_51",zM="_errorMessage_82vfj_74",LM="_actions_82vfj_84",IM="_homeLink_82vfj_89",RM="_refreshButton_82vfj_90",AM="_icon_82vfj_100",$n={errorPage:$M,content:EM,errorMessage:zM,actions:LM,homeLink:IM,refreshButton:RM,icon:AM,"accordion-down":"_accordion-down_82vfj_1","accordion-up":"_accordion-up_82vfj_1"},PM=()=>{const e=Zm(),{t}=Le();return r.jsx("div",{className:$n.errorPage,children:r.jsxs("div",{className:$n.content,children:[r.jsx("h1",{children:t("error.title")}),r.jsx("p",{children:t("error.description")}),r.jsx("p",{className:$n.errorMessage,children:e.message}),r.jsxs("div",{className:$n.actions,children:[r.jsxs(qu,{to:"overview",className:$n.homeLink,children:[r.jsx(Dl,{className:$n.icon}),t("error.back_home")]}),r.jsxs("button",{onClick:()=>window.location.reload(),className:$n.refreshButton,children:[r.jsx(m6,{className:$n.icon}),t("error.refresh")]})]})]})})},MM=()=>{const{t:e}=Le();return r.jsx("div",{className:$n.errorPage,children:r.jsxs("div",{className:$n.content,children:[r.jsx("h1",{children:e("notFound.title")}),r.jsx("p",{children:e("notFound.description")}),r.jsxs(qu,{to:"overview",className:$n.homeLink,children:[r.jsx(Dl,{className:$n.icon}),e("notFound.back_home")]})]})})},TM=tv([{path:"/",element:r.jsx(NM,{}),errorElement:r.jsx(PM,{}),children:[{index:!0,element:r.jsx(Vx,{to:"overview",replace:!0})},...lM,{path:"*",element:r.jsx(MM,{})}]}]),FM=()=>r.jsx(Rv,{i18n:Ht,children:r.jsx(cv,{router:TM})}),BM=document.getElementById("root"),OM=Tm(BM);OM.render(r.jsx(xe.StrictMode,{children:r.jsx(FM,{})})); +}`})})]}),r.jsxs("section",{className:P.section,children:[r.jsx("h2",{children:e("components.checkbox.examples")}),r.jsx("div",{className:P.examples,children:r.jsx(nA,{})})]})]})},iA="_section_15ptb_42",sA="_group_15ptb_54",Tn={section:iA,group:sA,"accordion-down":"_accordion-down_15ptb_1","accordion-up":"_accordion-up_15ptb_1"},aA=()=>{const[e,t]=b.useState(!1),[n,i]=b.useState(!1),s=b.useCallback(()=>{t(g=>!g)},[]),a=b.useCallback(()=>{i(g=>!g)},[]),o=b.useCallback(g=>{console.log("Favorite state:",g)},[]),l=b.useCallback(g=>{console.log("Bookmark state:",g)},[]),c=b.useCallback(g=>{console.log("Star state:",g)},[]),u=b.useCallback(g=>{console.log("Like state:",g)},[]),h=b.useCallback(g=>{console.log("Follow state:",g)},[]),f=b.useCallback(g=>{console.log("Share state:",g)},[]),p=b.useCallback(g=>{console.log("Notification state:",g)},[]),x=b.useCallback(g=>{console.log("Pin state:",g)},[]),j=b.useCallback(g=>{console.log("Archive state:",g)},[]),y=b.useCallback(g=>{console.log("Lock state:",g)},[]),C=b.useCallback(g=>{console.log("Download state:",g)},[]),_=b.useCallback(g=>{console.log("Visibility state:",g)},[]),d=b.useCallback(g=>{console.log("Clock state:",g)},[]),m=b.useCallback(g=>{console.log("Rate state:",g)},[]),v=b.useCallback(g=>{console.log("Thumb down state:",g)},[]),w=b.useCallback(g=>{console.log("Flag state:",g)},[]);return r.jsxs("div",{className:Tn.section,children:[r.jsx("h3",{children:"Variants"}),r.jsxs("div",{className:Tn.group,children:[r.jsx(Ue,{icon:r.jsx(Sn,{}),variant:"primary",showTooltip:!0,tooltip:{content:"Dark variant",variant:"dark"}}),r.jsx(Ue,{icon:r.jsx(Ra,{}),variant:"secondary",showTooltip:!0,tooltip:{content:"Info variant",variant:"info"}}),r.jsx(Ue,{icon:r.jsx(Ia,{}),variant:"success",showTooltip:!0,tooltip:{content:"Success variant",variant:"success"}}),r.jsx(Ue,{icon:r.jsx(Lt,{}),variant:"warning",showTooltip:!0,tooltip:{content:"Warning variant",variant:"warning"}}),r.jsx(Ue,{icon:r.jsx(K0,{}),variant:"error",showTooltip:!0,tooltip:{content:"Error variant",variant:"error"}})]}),r.jsx("h3",{children:"Sizes"}),r.jsxs("div",{className:Tn.group,children:[r.jsx(Ue,{icon:r.jsx(Pc,{}),size:"small",showTooltip:!0,tooltip:{content:"Small size (36px)",arrow:!0}}),r.jsx(Ue,{icon:r.jsx(Pc,{}),size:"medium",showTooltip:!0,tooltip:{content:"Medium size (44px)",arrow:!0}}),r.jsx(Ue,{icon:r.jsx(Pc,{}),size:"large",showTooltip:!0,tooltip:{content:"Large size (52px)",arrow:!0}})]}),r.jsx("h3",{children:"Shapes"}),r.jsxs("div",{className:Tn.group,children:[r.jsx(Ue,{icon:r.jsx(j1,{}),shape:"circle",showTooltip:!0,tooltip:{content:"Circle shape",shape:"rounded"}}),r.jsx(Ue,{icon:r.jsx(j1,{}),shape:"square",showTooltip:!0,tooltip:{content:"Square shape",shape:"square"}})]}),r.jsx("h3",{children:"States"}),r.jsxs("div",{className:Tn.group,children:[r.jsx(Ue,{icon:r.jsx(Mc,{}),active:e,onClick:s,showTooltip:!0,tooltip:{content:e?"Active state":"Click to activate"}}),r.jsx(Ue,{icon:r.jsx(Mc,{}),disabled:!0,showTooltip:!0,tooltip:{content:"Disabled state"}}),r.jsx(Ue,{icon:r.jsx(Mc,{}),loading:n,onClick:a,showTooltip:!0,tooltip:{content:n?"Loading...":"Click to load"}})]}),r.jsx("h3",{children:"Custom Colors"}),r.jsx("div",{className:Tn.group,children:r.jsx(Ue,{icon:r.jsx(Sn,{}),color:"#e91e63",activeColor:"#c2185b",bgColor:"#fce4ec",hoverColor:"#f8bbd0",fillColor:"#e91e63",showTooltip:!0,tooltip:{content:"Custom colors"}})}),r.jsx("h3",{children:"Accessibility"}),r.jsxs("div",{className:Tn.group,children:[r.jsx(Ue,{icon:r.jsx(Hd,{}),ariaLabel:"Search button",tabIndex:0,showTooltip:!0,tooltip:{content:"With aria-label and tabIndex"}}),r.jsx(Ue,{icon:r.jsx(aL,{}),ariaLabel:"Download file",tabIndex:1,showTooltip:!0,tooltip:{content:"Press Enter to download"}})]}),r.jsx("h3",{children:"Common Use Cases"}),r.jsxs("div",{className:Tn.group,children:[r.jsx(Ue,{icon:r.jsx(V0,{}),variant:"primary",showTooltip:!0,tooltip:{content:"Add new item",arrow:!0,shape:"thought"}}),r.jsx(Ue,{icon:r.jsx(fL,{}),variant:"error",showTooltip:!0,tooltip:{content:"Delete item",arrow:!0,shape:"rounded"}}),r.jsx(Ue,{icon:r.jsx(oL,{}),showTooltip:!0,tooltip:{content:"More actions",arrow:!0,shape:"thought"}})]}),r.jsx("h3",{children:"Interactive Icons"}),r.jsxs("div",{className:Tn.group,children:[r.jsx(Ft,{type:"favorite",onChange:o}),r.jsx(Ft,{type:"bookmark",onChange:l}),r.jsx(Ft,{type:"star",onChange:c}),r.jsx(Ft,{type:"like",onChange:u}),r.jsx(Ft,{type:"follow",onChange:h}),r.jsx(Ft,{type:"share",onChange:f}),r.jsx(Ft,{type:"notification",onChange:p}),r.jsx(Ft,{type:"pin",onChange:x}),r.jsx(Ft,{type:"archive",onChange:j}),r.jsx(Ft,{type:"lock",onChange:y}),r.jsx(Ft,{type:"download",onChange:C}),r.jsx(Ft,{type:"visibility",onChange:_}),r.jsx(Ft,{type:"clock",onChange:d}),r.jsx(Ft,{type:"close",onChange:d}),r.jsx(Ft,{type:"rate",onChange:m}),r.jsx(Ft,{type:"thumbDown",onChange:v}),r.jsx(Ft,{type:"flag",onChange:w})]}),r.jsx("h3",{children:"Fill Color Variations"}),r.jsxs("div",{className:Tn.group,children:[r.jsx(Ue,{icon:r.jsx(Sn,{}),variant:"primary",fillColor:"#1976d2",showTooltip:!0,tooltip:{content:"Primary fill"}}),r.jsx(Ue,{icon:r.jsx(Sn,{}),variant:"success",fillColor:"#4caf50",showTooltip:!0,tooltip:{content:"Success fill"}}),r.jsx(Ue,{icon:r.jsx(Sn,{}),variant:"error",fillColor:"#d32f2f",showTooltip:!0,tooltip:{content:"Error fill"}}),r.jsx(Ue,{icon:r.jsx(Sn,{}),variant:"warning",fillColor:"#ff9800",showTooltip:!0,tooltip:{content:"Warning fill"}})]}),r.jsx("h3",{children:"Custom Active States"}),r.jsxs("div",{className:Tn.group,children:[r.jsx(Ue,{icon:r.jsx(Sn,{}),color:"#e91e63",activeColor:"#c2185b",bgColor:"#fce4ec",hoverColor:"#f8bbd0",fillColor:"#e91e63",active:!0,showTooltip:!0,tooltip:{content:"Custom active state"}}),r.jsx(Ue,{icon:r.jsx(Sn,{}),color:"#2196f3",activeColor:"#1565c0",bgColor:"#e3f2fd",hoverColor:"#bbdefb",fillColor:"#2196f3",active:!0,showTooltip:!0,tooltip:{content:"Custom active state"}}),r.jsx(Ue,{icon:r.jsx(Sn,{}),color:"#4caf50",activeColor:"#2e7d32",bgColor:"#e8f5e9",hoverColor:"#c8e6c9",fillColor:"#4caf50",active:!0,showTooltip:!0,tooltip:{content:"Custom active state"}})]})]})},oA="_header_1062d_42",lA="_titleWrapper_1062d_45",b1={header:oA,titleWrapper:lA,"accordion-down":"_accordion-down_1062d_1","accordion-up":"_accordion-up_1062d_1"},Pn=({title:e,description:t})=>r.jsx("div",{className:b1.header,children:r.jsxs("div",{className:b1.titleWrapper,children:[r.jsx("h1",{children:e}),r.jsx("p",{children:t})]})}),cA=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.iconButton.title"),description:e("components.iconButton.description")}),r.jsx(aA,{})]})},dA="_section_wqknk_42",uA="_group_wqknk_54",hA="_feature_wqknk_62",ae={section:dA,group:uA,feature:hA,"accordion-down":"_accordion-down_wqknk_1","accordion-up":"_accordion-up_wqknk_1"},pA=()=>{const e=b.useRef(null),t=b.useRef(null),n=b.useRef(null),[i,s]=b.useState(!1),a=b.useCallback(()=>{s(!0)},[]),o=b.useCallback(()=>{s(!1)},[]),l=b.useCallback(()=>{s(h=>!h)},[]),c=b.useCallback(()=>{console.log("Tooltip opened")},[]),u=b.useCallback(()=>{console.log("Tooltip closed")},[]);return r.jsxs("div",{className:ae.section,children:[r.jsx("h3",{children:"基础功能"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"基础提示"}),r.jsx(ge,{content:"基础提示",arrow:!0,children:r.jsx(N,{children:"基础提示"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"不带箭头"}),r.jsx(ge,{content:"不带箭头的提示",children:r.jsx(N,{children:"无箭头"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"禁用状态"}),r.jsx(ge,{content:"此 Tooltip 已禁用",disabled:!0,arrow:!0,children:r.jsx(N,{children:"已禁用"})})]})]}),r.jsx("h3",{children:"箭头位置"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"顶部箭头"}),r.jsx(ge,{content:"顶部箭头",placement:"top",arrow:!0,children:r.jsx(N,{children:"Top"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"底部箭头"}),r.jsx(ge,{content:"底部箭头",placement:"bottom",arrow:!0,children:r.jsx(N,{children:"Bottom"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"左侧箭头"}),r.jsx(ge,{content:"左侧箭头",placement:"left",arrow:!0,children:r.jsx(N,{children:"Left"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"右侧箭头"}),r.jsx(ge,{content:"右侧箭头",placement:"right",arrow:!0,children:r.jsx(N,{children:"Right"})})]})]}),r.jsx("h3",{children:"Tooltip 形状"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"默认形状"}),r.jsx(ge,{content:"默认形状",shape:"default",arrow:!0,children:r.jsx(N,{children:"Default"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"圆角形状"}),r.jsx(ge,{content:"圆角形状",shape:"rounded",arrow:!0,children:r.jsx(N,{children:"Rounded"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"思考泡泡"}),r.jsx(ge,{content:"思考泡泡形状",shape:"thought",children:r.jsx(N,{children:"Thought"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"方形"}),r.jsx(ge,{content:"方形",shape:"square",arrow:!0,children:r.jsx(N,{children:"Square"})})]})]}),r.jsx("h3",{children:"动画效果"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"淡入淡出"}),r.jsx(ge,{content:"淡入淡出效果",animation:"fade",children:r.jsx(N,{children:"Fade"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"缩放"}),r.jsx(ge,{content:"缩放效果",animation:"scale",children:r.jsx(N,{children:"Scale"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"远离"}),r.jsx(ge,{content:"远离效果",animation:"shift-away",children:r.jsx(N,{children:"Shift Away"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"靠近"}),r.jsx(ge,{content:"靠近效果",animation:"shift-toward",children:r.jsx(N,{children:"Shift Toward"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"透视"}),r.jsx(ge,{content:"透视效果",animation:"perspective",children:r.jsx(N,{children:"Perspective"})})]})]}),r.jsx("h3",{children:"交互控制"}),r.jsx("div",{className:ae.group,children:r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"受控显示"}),r.jsx(ge,{content:"完全受控的 Tooltip",open:i,onOpen:a,onClose:o,children:r.jsx(N,{onClick:l,children:i?"点击关闭":"点击打开"})})]})}),r.jsx("h3",{children:"特殊交互"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"跟随光标"}),r.jsx(ge,{content:"跟随光标移动",followCursor:!0,children:r.jsx(N,{children:"移动光标"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"显示延迟"}),r.jsx(ge,{content:"延迟 500ms 显示",enterDelay:500,children:r.jsx(N,{children:"延迟显示"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"消失延迟"}),r.jsx(ge,{content:"延迟 500ms 消失",leaveDelay:500,children:r.jsx(N,{children:"延迟消失"})})]})]}),r.jsx("h3",{children:"自定义样式"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"自定义颜色"}),r.jsx(ge,{content:"自定义背景和文字颜色",bgColor:"#6200ee",textColor:"#ffffff",arrow:!0,children:r.jsx(N,{children:"自定义颜色"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"自定义偏移"}),r.jsx(ge,{content:"自定义偏移距离",offset:[0,16],arrow:!0,children:r.jsx(N,{children:"自定义偏移"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"自定义层级"}),r.jsx(ge,{content:"自定义 z-index",zIndex:2e3,arrow:!0,children:r.jsx(N,{children:"自定义层级"})})]})]}),r.jsx("h3",{children:"回调函数"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"显示回调"}),r.jsx(ge,{content:"触发 onOpen",onOpen:c,children:r.jsx(N,{children:"打开回调"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"关闭回调"}),r.jsx(ge,{content:"触发 onClose",onClose:u,children:r.jsx(N,{children:"关闭回调"})})]})]}),r.jsx("h3",{children:"Tooltip 变体(Variants)"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"亮色主题"}),r.jsx(ge,{content:"亮色主题",variant:"light",arrow:!0,children:r.jsx(N,{children:"Light"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"暗色主题"}),r.jsx(ge,{content:"暗色主题",variant:"dark",arrow:!0,children:r.jsx(N,{children:"Dark"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"信息提示"}),r.jsx(ge,{content:"信息提示样式",variant:"info",arrow:!0,children:r.jsx(N,{children:"Info"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"成功提示"}),r.jsx(ge,{content:"成功提示样式",variant:"success",arrow:!0,children:r.jsx(N,{children:"Success"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"警告提示"}),r.jsx(ge,{content:"警告提示样式",variant:"warning",arrow:!0,children:r.jsx(N,{children:"Warning"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"错误提示"}),r.jsx(ge,{content:"错误提示样式",variant:"error",arrow:!0,children:r.jsx(N,{children:"Error"})})]})]}),r.jsx("h3",{children:"详细位置(Placements)"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"顶部起始"}),r.jsx(ge,{content:"顶部起始位置",placement:"top-start",arrow:!0,children:r.jsx(N,{children:"Top Start"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"顶部结束"}),r.jsx(ge,{content:"顶部结束位置",placement:"top-end",arrow:!0,children:r.jsx(N,{children:"Top End"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"底部起始"}),r.jsx(ge,{content:"底部起始位置",placement:"bottom-start",arrow:!0,children:r.jsx(N,{children:"Bottom Start"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"底部结束"}),r.jsx(ge,{content:"底部结束位置",placement:"bottom-end",arrow:!0,children:r.jsx(N,{children:"Bottom End"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"左侧起始"}),r.jsx(ge,{content:"左侧起始位置",placement:"left-start",arrow:!0,children:r.jsx(N,{children:"Left Start"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"左侧结束"}),r.jsx(ge,{content:"左侧结束位置",placement:"left-end",arrow:!0,children:r.jsx(N,{children:"Left End"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"右侧起始"}),r.jsx(ge,{content:"右侧起始位置",placement:"right-start",arrow:!0,children:r.jsx(N,{children:"Right Start"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"右侧结束"}),r.jsx(ge,{content:"右侧结束位置",placement:"right-end",arrow:!0,children:r.jsx(N,{children:"Right End"})})]})]}),r.jsx("h3",{children:"自定义颜色示例"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"品牌色"}),r.jsx(ge,{content:"使用品牌色",bgColor:"#6200ee",textColor:"#ffffff",arrow:!0,children:r.jsx(N,{children:"品牌色"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"柔和色"}),r.jsx(ge,{content:"使用柔和色",bgColor:"#f0f7ff",textColor:"#0066cc",arrow:!0,children:r.jsx(N,{children:"柔和色"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"渐变背景"}),r.jsx(ge,{content:"渐变背景效果",bgColor:"linear-gradient(45deg, #ff6b6b, #feca57)",textColor:"#ffffff",arrow:!0,children:r.jsx(N,{children:"渐变色"})})]})]}),r.jsx("h3",{children:"Ref 方法控制"}),r.jsxs("div",{className:ae.group,children:[r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"打开方法"}),r.jsx(ge,{content:"使用 ref.open() 打开",ref:e,onOpen:c,children:r.jsx(N,{onClick:()=>{var h;return(h=e.current)==null?void 0:h.open()},children:"打开"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"关闭方法"}),r.jsx(ge,{content:"使用 ref.close() 关闭",ref:t,onClose:u,children:r.jsx(N,{onClick:()=>{var h;return(h=t.current)==null?void 0:h.close()},children:"关闭"})})]}),r.jsxs("div",{className:ae.feature,children:[r.jsx("h4",{children:"切换方法"}),r.jsx(ge,{content:"使用 ref.toggle() 切换",ref:n,onOpen:c,onClose:u,children:r.jsx(N,{onClick:()=>{var h;return(h=n.current)==null?void 0:h.toggle()},children:"切换显示"})})]})]})]})},fA=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.tooltip.title"),description:e("components.tooltip.description")}),r.jsx(pA,{})]})},mA="_section_vu6u0_43",gA="_group_vu6u0_61",xA="_demo_vu6u0_71",vA="_menuContent_vu6u0_77",_A="_selectContent_vu6u0_80",jA="_datepickerContent_vu6u0_84",yA="_colorpickerContent_vu6u0_88",bA="_cascaderContent_vu6u0_92",wA="_autocompleteContent_vu6u0_97",CA="_edgeCases_vu6u0_101",kA="_overflowContainer_vu6u0_101",SA="_scrollContainer_vu6u0_110",NA="_scrollContent_vu6u0_118",$A="_typeContent_vu6u0_124",EA="_menuItems_vu6u0_127",zA="_menuItem_vu6u0_127",LA="_selectItem_vu6u0_128",IA="_selectItems_vu6u0_129",RA="_placementGrid_vu6u0_139",AA="_animationDemo_vu6u0_153",PA="_fast_vu6u0_153",MA="_slow_vu6u0_156",TA="_focusDemo_vu6u0_159",FA="_demoContainer_vu6u0_163",BA="_popperContent_vu6u0_171",OA="_disabled_vu6u0_204",DA="_menuIcon_vu6u0_213",UA="_menuItemContent_vu6u0_218",HA="_menuItemLabel_vu6u0_222",WA="_menuItemDescription_vu6u0_227",qA="_selectItemContent_vu6u0_243",VA="_selectItemName_vu6u0_248",KA="_selectItemEmail_vu6u0_253",GA="_selectItemStatus_vu6u0_258",QA="_virtualListItem_vu6u0_272",YA="_virtualListItemContent_vu6u0_282",JA="_virtualListItemHeader_vu6u0_287",XA="_virtualListItemName_vu6u0_294",ZA="_virtualListItemActivity_vu6u0_298",eP="_virtualListItemEmail_vu6u0_303",X={section:mA,group:gA,demo:xA,menuContent:vA,selectContent:_A,datepickerContent:jA,colorpickerContent:yA,cascaderContent:bA,autocompleteContent:wA,edgeCases:CA,overflowContainer:kA,scrollContainer:SA,scrollContent:NA,typeContent:$A,menuItems:EA,menuItem:zA,selectItem:LA,selectItems:IA,placementGrid:RA,animationDemo:AA,fast:PA,slow:MA,focusDemo:TA,demoContainer:FA,popperContent:BA,disabled:OA,menuIcon:DA,menuItemContent:UA,menuItemLabel:HA,menuItemDescription:WA,selectItemContent:qA,selectItemName:VA,selectItemEmail:KA,selectItemStatus:GA,在线:"_在线_vu6u0_263",离线:"_离线_vu6u0_267",virtualListItem:QA,virtualListItemContent:YA,virtualListItemHeader:JA,virtualListItemName:XA,virtualListItemActivity:ZA,virtualListItemEmail:eP,"accordion-down":"_accordion-down_vu6u0_1","accordion-up":"_accordion-up_vu6u0_1"},tP=()=>{const[e,t]=b.useState(null),n=b.useRef({}),i=d=>{t(m=>m===d?null:d)},s=["top","topStart","topEnd","bottom","bottomStart","bottomEnd","left","leftStart","leftEnd","right","rightStart","rightEnd"],a=["default","primary","secondary","success","warning","error"],o=["default","menu","select","tooltip"],l=["auto","small","medium","large"],c=[{id:"width-height",title:"自定义尺寸",style:{width:300,height:300,padding:"16px"}},{id:"max-size",title:"max-size 设置尺寸",style:{width:300,maxHeight:400,overflow:"auto"}},{id:"min-size",title:"最小尺寸",style:{minWidth:150,minHeight:80}}],u=[{id:"default-arrow",title:"默认箭头",props:{arrow:!0}},{id:"colored-arrow",title:"彩色箭头",props:{arrow:!0,popperStyle:{backgroundColor:"#1890ff",color:"#fff"}}}],h=[{id:"quick-fade",title:"快速淡入",animation:{duration:100,easing:"ease-out"}},{id:"slow-bounce",title:"缓慢弹出",animation:{duration:800,easing:"cubic-bezier(0.68, -0.55, 0.265, 1.55)"}}],f=[{id:"offset-up",title:"向上偏移",offset:{x:0,y:-20}},{id:"offset-right",title:"向右偏移",offset:{x:20,y:0}}],p="这是一段很长的文本内容,用来测试不同尺寸下的文本展示效果。当文本内容超出容器宽度时,可以选择单行滚动或者多行折行显示。",x=[{icon:"🏠",label:"首页",description:"返回首页"},{icon:"📝",label:"编辑",description:"编辑当前内容"},{icon:"💾",label:"保存",description:"保存更改"},{icon:"🗑️",label:"删除",description:"删除当前项"},{icon:"⚙️",label:"设置",description:"系统设置"}].concat(Array(10).fill(null).map((d,m)=>({icon:"📄",label:`更多选项 ${m+1}`,description:`额外选项描述 ${m+1}`}))),j=Array(20).fill(null).map((d,m)=>({id:m,avatar:`https://i.pravatar.cc/40?img=${m}`,name:`用户 ${m+1}`,email:`user${m+1}@example.com`,status:m%3===0?"在线":"离线"})),y=Array(1e3).fill(null).map((d,m)=>({id:m,metadata:{avatar:`https://i.pravatar.cc/40?img=${m%70}`,name:`用户 ${m+1}`,email:`user${m+1}@example.com`,activity:`最近活动 ${Math.floor(Math.random()*24)} 小时前`}})),C=[{id:"size-auto",title:"Auto Size",size:"auto",content:"这是自动尺寸的 Popper,宽高会根据内容自动调整"},{id:"size-small",title:"Small Size",size:"small",content:"这是一个小尺寸的 Popper,默认宽度 200px,高度 120px"},{id:"size-medium",title:"Medium Size",size:"medium",content:"这是一个中等尺寸的 Popper,默认宽度 300px,高度 200px"},{id:"size-large",title:"Large Size",size:"large",content:"这是一个大尺寸的 Popper,默认宽度 400px,高度 300px"}],_=[{id:"auto-single",title:"Auto 单行",size:"auto",multiline:!1,content:"这是一段单行文本,超出部分会水平滚动而不是换行。".repeat(3),width:300,height:""},{id:"auto-multi",title:"Auto 多行",size:"auto",multiline:!0,content:"这是一段多行文本,会自动换行显示。".repeat(5),width:300,height:200}];return r.jsxs("div",{className:X.section,children:[r.jsx("h3",{children:"基础用法"}),r.jsx("div",{className:X.group,children:r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:d=>n.current.basic=d,onClick:()=>i("basic"),children:"基础 Popper"}),r.jsx(it,{visible:e==="basic",anchorEl:n.current.basic,onClickAway:()=>t(null),children:r.jsx("div",{className:X.popperContent,children:"这是一个基础的 Popper 示例"})})]})}),r.jsx("h3",{children:"位置展示"}),r.jsx("div",{className:X.placementGrid,children:s.map(d=>r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:m=>n.current[`placement-${d}`]=m,onClick:()=>i(`placement-${d}`),children:d}),r.jsx(it,{visible:e===`placement-${d}`,anchorEl:n.current[`placement-${d}`],placement:d,arrow:!0,onClickAway:()=>t(null),children:r.jsxs("div",{className:X.popperContent,children:[d," 位置"]})})]},d))}),r.jsx("h3",{children:"类型展示"}),r.jsx("div",{className:X.group,children:o.map(d=>r.jsxs("div",{className:X.demoContainer,children:[r.jsxs(N,{ref:m=>n.current[`type-${d}`]=m,onClick:()=>i(`type-${d}`),children:[d," 类型"]}),r.jsxs(it,{visible:e===`type-${d}`,anchorEl:n.current[`type-${d}`],type:d,height:["menu","select"].includes(d)?400:"auto",arrow:!0,onClickAway:()=>t(null),children:[d==="menu"&&r.jsx("div",{className:X.menuContent,children:x.map((m,v)=>r.jsxs("div",{className:`${X.menuItem} ${v===3?X.disabled:""}`,children:[r.jsx("span",{className:X.menuIcon,children:m.icon}),r.jsxs("div",{className:X.menuItemContent,children:[r.jsx("div",{className:X.menuItemLabel,children:m.label}),r.jsx("div",{className:X.menuItemDescription,children:m.description})]})]},v))}),d==="select"&&r.jsx("div",{className:X.selectContent,children:j.map(m=>r.jsxs("div",{className:X.selectItem,children:[r.jsx(et,{src:m.avatar,size:"small"}),r.jsxs("div",{className:X.selectItemContent,children:[r.jsx("div",{className:X.selectItemName,children:m.name}),r.jsx("div",{className:X.selectItemEmail,children:m.email})]}),r.jsx("span",{className:`${X.selectItemStatus} ${X[m.status]}`,children:m.status})]},m.id))}),d==="tooltip"&&r.jsx("div",{className:X.tooltipContent,children:"这是一个提示信息"}),d==="default"&&r.jsx("div",{className:X.defaultContent,children:"默认内容"})]})]},d))}),r.jsx("h3",{children:"尺寸展示"}),r.jsx("h4",{children:"单行模式(横向滚动)"}),r.jsx("div",{className:X.group,children:l.map(d=>r.jsxs("div",{className:X.demoContainer,children:[r.jsxs(N,{ref:m=>n.current[`size-single-${d}`]=m,onClick:()=>i(`size-single-${d}`),children:[d," 尺寸(单行)"]}),r.jsx(it,{visible:e===`size-single-${d}`,anchorEl:n.current[`size-single-${d}`],size:d,width:d==="auto"?200:"",height:d==="auto"?"auto":"",arrow:!0,multiline:!1,onClickAway:()=>t(null),children:r.jsx("div",{className:X.popperContent,children:p})})]},`single-${d}`))}),r.jsx("h4",{children:"多行模式(自动折行)"}),r.jsx("div",{className:X.group,children:l.map(d=>r.jsxs("div",{className:X.demoContainer,children:[r.jsxs(N,{ref:m=>n.current[`size-multi-${d}`]=m,onClick:()=>i(`size-multi-${d}`),children:[d," 尺寸(多行)"]}),r.jsx(it,{visible:e===`size-multi-${d}`,anchorEl:n.current[`size-multi-${d}`],size:d,width:d==="auto"?300:"",height:d==="auto"?200:"",arrow:!0,multiline:!0,onClickAway:()=>t(null),children:r.jsx("div",{className:X.popperContent,children:p.repeat(20)})})]},`multi-${d}`))}),r.jsx("h3",{children:"样式变体"}),r.jsx("div",{className:X.group,children:a.map(d=>r.jsxs("div",{className:X.demoContainer,children:[r.jsxs(N,{ref:m=>n.current[`variant-${d}`]=m,onClick:()=>i(`variant-${d}`),variant:d==="default"?"retry":d,children:[d," 样式"]}),r.jsx(it,{visible:e===`variant-${d}`,anchorEl:n.current[`variant-${d}`],variant:d,arrow:!0,onClickAway:()=>t(null),children:r.jsxs("div",{className:X.popperContent,children:[d," 样式的 Popper"]})})]},d))}),r.jsx("h3",{children:"动画效果"}),r.jsxs("div",{className:X.group,children:[r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:d=>n.current["animation-fast"]=d,onClick:()=>i("animation-fast"),children:"快速动画"}),r.jsx(it,{visible:e==="animation-fast",anchorEl:n.current["animation-fast"],animation:{duration:5e3,easing:"ease-out"},arrow:!0,onClickAway:()=>t(null),children:r.jsx("div",{children:"快速动画效果"})})]}),r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:d=>n.current["animation-slow"]=d,onClick:()=>i("animation-slow"),children:"慢速动画"}),r.jsx(it,{visible:e==="animation-slow",anchorEl:n.current["animation-slow"],animation:{duration:5e3,easing:"ease-in-out"},arrow:!0,onClickAway:()=>t(null),children:r.jsx("div",{children:"慢速动画效果"})})]})]}),r.jsx("h3",{children:"边界情况"}),r.jsxs("div",{className:X.edgeCases,children:[r.jsx("h4",{children:"溢出容器"}),r.jsx("div",{className:X.overflowContainer,children:r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:d=>n.current.overflow=d,onClick:()=>i("overflow"),children:"溢出测试"}),r.jsx(it,{visible:e==="overflow",anchorEl:n.current.overflow,arrow:!0,onClickAway:()=>t(null),children:r.jsx("div",{children:"测试溢出行为"})})]})}),r.jsx("h4",{children:"滚动容器"}),r.jsx("div",{className:X.scrollContainer,children:r.jsx("div",{className:X.scrollContent,children:r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:d=>n.current.scroll=d,onClick:()=>i("scroll"),children:"滚动测试"}),r.jsx(it,{visible:e==="scroll",anchorEl:n.current.scroll,arrow:!0,onClickAway:()=>t(null),children:r.jsx("div",{children:"测试滚动行为"})})]})})}),r.jsx("h4",{children:"嵌套 Popper"}),r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:d=>n.current["nested-1"]=d,onClick:()=>i("nested-1"),children:"嵌套 Popper"}),r.jsx(it,{visible:e==="nested-1",anchorEl:n.current["nested-1"],arrow:!0,onClickAway:()=>t(null),children:r.jsxs("div",{style:{padding:"8px"},children:[r.jsx("div",{children:"这是第一层 Popper"}),r.jsx(N,{ref:d=>n.current["nested-2"]=d,onClick:()=>i("nested-2"),style:{marginTop:8},children:"打开嵌套层"}),r.jsx(it,{visible:e==="nested-2",anchorEl:n.current["nested-2"],arrow:!0,onClickAway:()=>t(null),children:r.jsx("div",{children:"嵌套的 Popper 内容"})})]})})]})]}),r.jsx("h3",{children:"自定义样式"}),r.jsx("div",{className:X.group,children:c.map(({id:d,title:m,style:v})=>r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:w=>n.current[d]=w,onClick:()=>i(d),children:m}),r.jsx(it,{visible:e===d,anchorEl:n.current[d],popperStyle:v,onClickAway:()=>t(null),children:r.jsxs("div",{children:[r.jsx("h4",{children:m}),r.jsx("p",{children:"自定义样式示例内容"}),v.overflow==="auto"&&r.jsx("div",{children:Array(10).fill(null).map((w,g)=>r.jsxs("p",{children:["滚动内容 ",g+1]},g))})]})})]},d))}),r.jsx("h3",{children:"箭头样式"}),r.jsx("div",{className:X.group,children:u.map(({id:d,title:m,props:v})=>r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:w=>n.current[d]=w,onClick:()=>i(d),children:m}),r.jsx(it,{visible:e===d,anchorEl:n.current[d],...v,onClickAway:()=>t(null),children:r.jsx("div",{children:m})})]},d))}),r.jsx("h3",{children:"动画效果"}),r.jsx("div",{className:X.group,children:h.map(({id:d,title:m,animation:v})=>r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:w=>n.current[d]=w,onClick:()=>i(d),children:m}),r.jsx(it,{visible:e===d,anchorEl:n.current[d],animation:v,arrow:!0,onClickAway:()=>t(null),children:r.jsx("div",{children:m})})]},d))}),r.jsx("h3",{children:"位置偏移"}),r.jsx("div",{className:X.group,children:f.map(({id:d,title:m,offset:v})=>r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:w=>n.current[d]=w,onClick:()=>i(d),children:m}),r.jsx(it,{visible:e===d,anchorEl:n.current[d],offset:v,arrow:!0,onClickAway:()=>t(null),children:r.jsx("div",{children:m})})]},d))}),r.jsx("h3",{children:"开关动画"}),r.jsx("div",{className:X.group,children:r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:d=>n.current.toggle=d,onClick:()=>i("toggle"),children:"切换显示"}),r.jsx(it,{visible:e==="toggle",anchorEl:n.current.toggle,arrow:!0,animation:{duration:300,easing:"ease-in-out"},onClickAway:()=>t(null),children:r.jsx("div",{children:"点击按钮或外部区域关闭"})})]})}),r.jsx("h3",{children:"触发方式"}),r.jsx("div",{className:X.group,children:["hover","click","contextMenu","focus","manual"].map(d=>r.jsxs("div",{className:X.demoContainer,children:[r.jsxs(N,{ref:m=>n.current[`trigger-${d}`]=m,onMouseEnter:()=>d==="hover"&&i(`trigger-${d}`),onMouseLeave:()=>d==="hover"&&t(null),onClick:()=>d==="click"&&i(`trigger-${d}`),onContextMenu:m=>{d==="contextMenu"&&(m.preventDefault(),i(`trigger-${d}`))},onFocus:()=>d==="focus"&&i(`trigger-${d}`),onBlur:()=>d==="focus"&&t(null),children:[d," 触发"]}),r.jsx(it,{visible:e===`trigger-${d}`,anchorEl:n.current[`trigger-${d}`],trigger:d,onVisibleChange:m=>{console.log(`${d} visibility changed:`,m),t(m?`trigger-${d}`:null)},onClickAway:()=>t(null),children:r.jsxs("div",{children:["通过 ",d," 触发的内容"]})})]},d))}),r.jsx("h3",{children:"虚拟滚动列表"}),r.jsx("div",{className:X.group,children:r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:d=>n.current["virtual-list"]=d,onClick:()=>i("virtual-list"),children:"显示虚拟列表"}),r.jsx(it,{visible:e==="virtual-list",anchorEl:n.current["virtual-list"],scrollable:!1,popperStyle:{padding:0},width:300,height:400,onClickAway:()=>t(null),children:r.jsx(Zs,{items:y,maxHeight:400,itemHeight:72,renderItem:d=>{var m,v,w,g;return r.jsxs("div",{className:X.virtualListItem,children:[r.jsx(et,{src:(m=d.metadata)==null?void 0:m.avatar,size:"medium"}),r.jsxs("div",{className:X.virtualListItemContent,children:[r.jsxs("div",{className:X.virtualListItemHeader,children:[r.jsx("span",{className:X.virtualListItemName,children:(v=d.metadata)==null?void 0:v.name}),r.jsx("span",{className:X.virtualListItemActivity,children:(w=d.metadata)==null?void 0:w.activity})]}),r.jsx("div",{className:X.virtualListItemEmail,children:(g=d.metadata)==null?void 0:g.email})]})]})}})})]})}),r.jsx("h3",{children:"点击外部处理"}),r.jsx("div",{className:X.group,children:r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:d=>n.current.clickaway=d,onClick:()=>i("clickaway"),children:"打开菜单"}),r.jsx(it,{visible:e==="clickaway",anchorEl:n.current.clickaway,onClickAway:d=>{d.target.closest(".safe-zone")||t(null)},children:r.jsxs("div",{className:"safe-zone",children:[r.jsx("div",{children:"这是安全区域,点击不会关闭"}),r.jsx(N,{onClick:()=>t(null),children:"手动关闭"})]})})]})}),r.jsx("h3",{children:"Size 预设尺寸"}),r.jsx("div",{className:X.group,children:C.map(({id:d,title:m,size:v,content:w})=>r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:g=>n.current[d]=g,onClick:()=>i(d),children:m}),r.jsx(it,{visible:e===d,anchorEl:n.current[d],size:v,arrow:!0,onClickAway:()=>t(null),children:r.jsxs("div",{className:X.popperContent,children:[r.jsx("h4",{children:m}),r.jsx("p",{children:w})]})})]},d))}),r.jsx("h3",{children:"Auto 尺寸内容展示"}),r.jsx("div",{className:X.group,children:_.map(({id:d,title:m,size:v,multiline:w,content:g,width:S,height:E})=>r.jsxs("div",{className:X.demoContainer,children:[r.jsx(N,{ref:L=>n.current[d]=L,onClick:()=>i(d),children:m}),r.jsx(it,{visible:e===d,anchorEl:n.current[d],size:v,width:S,height:E,multiline:w,arrow:!0,onClickAway:()=>t(null),children:r.jsxs("div",{className:X.popperContent,children:[r.jsx("h4",{children:m}),r.jsx("p",{children:g})]})})]},d))})]})},nP=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.popper.title"),description:e("components.popper.description")}),r.jsx(tP,{})]})},rP="_section_15ptb_42",iP="_group_15ptb_54",Vt={section:rP,group:iP,"accordion-down":"_accordion-down_15ptb_1","accordion-up":"_accordion-up_15ptb_1"},sP=()=>{const e=()=>{console.log("Search button clicked")};return r.jsxs("div",{className:Vt.section,children:[r.jsx("h3",{children:"SearchButton"}),r.jsx("p",{children:"A button component with a search icon, used for search functionality."}),r.jsx("h3",{children:"Search Button Sizes"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{size:"small"}),r.jsx(te,{size:"medium"}),r.jsx(te,{size:"large"})]}),r.jsx("h3",{children:"Search Button States"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{disabled:!0}),r.jsx(te,{loading:!0}),r.jsx(te,{active:!0})]}),r.jsx("h3",{children:"Search Button Shapes"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{shape:"square"}),r.jsx(te,{shape:"rounded"}),r.jsx(te,{shape:"circle"})]}),r.jsx("h3",{children:"Custom Styles"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{bgColor:"#6200ee",textColor:"#ffffff",hoverBgColor:"#3700b3"}),r.jsx(te,{borderRadius:"20px",borderColor:"#2196f3",borderWidth:"2px"})]}),r.jsx("h3",{children:"Search Text"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e,children:"Search"}),r.jsx(te,{onClick:e,variant:"error",children:"Search"}),r.jsx(te,{onClick:e,variant:"warning",children:"Search"}),r.jsx(te,{onClick:e,variant:"success",children:"Search"}),r.jsx(te,{onClick:e,variant:"info",children:"Search"}),r.jsx(te,{onClick:e,shape:"square",children:"Search"}),r.jsx(te,{onClick:e,shape:"rounded",children:"Search"}),r.jsx(te,{onClick:e,animation:"expand",children:"Search"}),r.jsx(te,{onClick:e,animation:"shrink",children:"Search"}),r.jsx(te,{onClick:e,disabled:!0,children:"Search"})]}),r.jsx("h3",{children:"Search Text Size"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e,size:"small",children:"Search"}),r.jsx(te,{onClick:e,size:"medium",children:"Search"}),r.jsx(te,{onClick:e,size:"large",children:"Search"}),r.jsx(te,{onClick:e,size:"xlarge",children:"Search"}),r.jsx(te,{onClick:e,children:"Search"})]}),r.jsx("h3",{children:"Search Text Color"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e,color:"#fff",children:"Text"}),r.jsx(te,{onClick:e,color:"#000",children:"Test case"})]}),r.jsx("h3",{children:"Search variant"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e}),r.jsx(te,{onClick:e,variant:"error"}),r.jsx(te,{onClick:e,variant:"warning"}),r.jsx(te,{onClick:e,variant:"success"}),r.jsx(te,{onClick:e,variant:"info"}),r.jsx(te,{onClick:e,disabled:!0,iconColor:"#fff"})]}),r.jsx("h3",{children:"Search Shape"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e,shape:"square"}),r.jsx(te,{onClick:e,shape:"rounded"}),r.jsx(te,{onClick:e,shape:"circle"})]}),r.jsx("h3",{children:"Search Animation"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e}),r.jsx(te,{onClick:e,animation:"none"}),r.jsx(te,{onClick:e,animation:"expand"}),r.jsx(te,{onClick:e,animation:"shrink"}),r.jsx(te,{onClick:e,animation:"shake"})]}),r.jsx("h3",{children:"Search Size"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e,size:"small"}),r.jsx(te,{onClick:e,size:"medium"}),r.jsx(te,{onClick:e,size:"large"}),r.jsx(te,{onClick:e,size:"xlarge"}),r.jsx(te,{onClick:e})]}),r.jsx("h3",{children:"Search Icon Color"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e,iconColor:"#000000"}),r.jsx(te,{onClick:e,iconColor:"#ff0000"}),r.jsx(te,{onClick:e,iconColor:"#00ff00"}),r.jsx(te,{onClick:e,iconColor:"#0000ff"})]}),r.jsx("h3",{children:"Search Background Color"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e,bgColor:"#000000"}),r.jsx(te,{onClick:e,bgColor:"#ff0000"}),r.jsx(te,{onClick:e,bgColor:"#00ff00"}),r.jsx(te,{onClick:e,bgColor:"#0000ff"})]}),r.jsx("h3",{children:"Search Loading"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e,loading:!0}),r.jsx(te,{onClick:e,loading:!0,variant:"error"}),r.jsx(te,{onClick:e,loading:!0,variant:"warning"}),r.jsx(te,{onClick:e,loading:!0,variant:"success"}),r.jsx(te,{onClick:e,loading:!0,variant:"info"}),r.jsx(te,{onClick:e,loading:!0,disabled:!0,iconColor:"#000"})]}),r.jsx("h3",{children:"Search Button Variants"}),r.jsxs("div",{className:Vt.group,children:[r.jsx(te,{onClick:e}),r.jsx(te,{variant:"primary"}),r.jsx(te,{variant:"secondary"}),r.jsx(te,{variant:"success",onClick:e}),r.jsx(te,{variant:"warning",onClick:e}),r.jsx(te,{variant:"error",onClick:e})]})]})},aP=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.searchButton.title"),description:e("components.searchButton.description")}),r.jsx(sP,{})]})},oP="_section_15ptb_42",lP="_group_15ptb_54",pi={section:oP,group:lP,"accordion-down":"_accordion-down_15ptb_1","accordion-up":"_accordion-up_15ptb_1"},cP=()=>r.jsxs("div",{className:pi.section,children:[r.jsx("h3",{children:"Status Types"}),r.jsxs("div",{className:pi.group,children:[r.jsx(ze,{type:"online",showLabel:!0}),r.jsx(ze,{type:"offline",showLabel:!0}),r.jsx(ze,{type:"away",showLabel:!0}),r.jsx(ze,{type:"busy",showLabel:!0})]}),r.jsx("h3",{children:"Status Sizes"}),r.jsxs("div",{className:pi.group,children:[r.jsx(ze,{type:"online",size:"small"}),r.jsx(ze,{type:"online",size:"medium"}),r.jsx(ze,{type:"online",size:"large"})]}),r.jsx("h3",{children:"Status Shapes"}),r.jsxs("div",{className:pi.group,children:[r.jsx(ze,{type:"online",showLabel:!0}),r.jsx(ze,{type:"offline",showLabel:!0}),r.jsx(ze,{type:"away",showLabel:!0}),r.jsx(ze,{type:"busy",showLabel:!0}),r.jsx(ze,{status:"success",shape:"circle"}),r.jsx(ze,{status:"success",shape:"square"}),r.jsx(ze,{status:"success",shape:"rounded"})]}),r.jsx("h3",{children:"Custom Colors"}),r.jsxs("div",{className:pi.group,children:[r.jsx(ze,{type:"custom",color:"#9c27b0"}),r.jsx(ze,{type:"custom",color:"#ff9800"}),r.jsx(ze,{type:"custom",color:"#2196f3"})]}),r.jsx("h3",{children:"Disabled Status"}),r.jsxs("div",{className:pi.group,children:[r.jsx(ze,{type:"online",animated:!0}),r.jsx(ze,{type:"offline",animated:!0}),r.jsx(ze,{type:"away",animated:!0}),r.jsx(ze,{type:"busy",animated:!0})]}),r.jsx("h3",{children:"Status Button"}),r.jsxs("div",{className:pi.group,children:[r.jsx(ze,{status:"success"}),r.jsx(ze,{status:"error"}),r.jsx(ze,{status:"warning"}),r.jsx(ze,{status:"info"}),r.jsx(ze,{status:"success",shape:"square"}),r.jsx(ze,{status:"error",shape:"square"}),r.jsx(ze,{status:"warning",shape:"square"}),r.jsx(ze,{status:"info",shape:"square"}),r.jsx(ze,{status:"success",shape:"rounded"}),r.jsx(ze,{status:"error",shape:"rounded"}),r.jsx(ze,{status:"warning",shape:"rounded"}),r.jsx(ze,{status:"info",shape:"rounded"}),r.jsx(ze,{type:"online",disabled:!0}),r.jsx(ze,{status:"success",disabled:!0}),r.jsx(ze,{type:"custom",color:"#9c27b0",disabled:!0})]})]}),dP=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.statusIndicator.title"),description:e("components.statusIndicator.description")}),r.jsx(cP,{})]})},uP="_section_16f4s_42",hP="_group_16f4s_54",Vi={section:uP,group:hP,"accordion-down":"_accordion-down_16f4s_1","accordion-up":"_accordion-up_16f4s_1"},pP=()=>{const[e,t]=b.useState();return r.jsxs("div",{className:Vi.section,children:[r.jsx("h3",{children:"Basic TimePicker"}),r.jsx("div",{className:Vi.group,children:r.jsx(Zn,{value:e,onChange:t,placeholder:"Select time"})}),r.jsx("h3",{children:"Time Format"}),r.jsxs("div",{className:Vi.group,children:[r.jsx(Zn,{format:"HH:mm:ss",placeholder:"24-hour format"}),r.jsx(Zn,{format:"hh:mm:ss a",use12Hours:!0,placeholder:"12-hour format"}),r.jsx(Zn,{format:"HH:mm",showSecond:!1,placeholder:"Without seconds"})]}),r.jsx("h3",{children:"Size Variants"}),r.jsxs("div",{className:Vi.group,children:[r.jsx(Zn,{size:"small",placeholder:"Small"}),r.jsx(Zn,{size:"medium",placeholder:"Medium"}),r.jsx(Zn,{size:"large",placeholder:"Large"})]}),r.jsx("h3",{children:"States"}),r.jsxs("div",{className:Vi.group,children:[r.jsx(Zn,{disabled:!0,placeholder:"Disabled"}),r.jsx(Zn,{minTime:new Date(2024,0,1,9,0,0),maxTime:new Date(2024,0,1,18,0,0),placeholder:"9:00 - 18:00"})]}),r.jsx("h3",{children:"Step Options"}),r.jsx("div",{className:Vi.group,children:r.jsx(Zn,{hourStep:2,minuteStep:15,secondStep:15})})]})},fP=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.timePicker.title"),description:e("components.timePicker.description")}),r.jsx(pP,{})]})},mP="_section_15rlq_42",gP="_group_15rlq_54",xP="_description_15rlq_63",vP="_listItem_15rlq_69",_P="_itemHeader_15rlq_78",jP="_itemContent_15rlq_84",yP="_itemTitle_15rlq_87",bP="_itemMeta_15rlq_93",wP="_metadata_15rlq_110",CP="_status_15rlq_122",kP="_active_15rlq_127",SP="_inactive_15rlq_131",NP="_pending_15rlq_135",$P="_priority_15rlq_139",EP="_high_15rlq_139",zP="_medium_15rlq_142",LP="_low_15rlq_145",IP="_controls_15rlq_149",RP="_info_15rlq_155",Be={section:mP,group:gP,description:xP,listItem:vP,itemHeader:_P,itemContent:jP,itemTitle:yP,itemMeta:bP,metadata:wP,status:CP,active:kP,inactive:SP,pending:NP,priority:$P,high:EP,medium:zP,low:LP,controls:IP,info:RP,"accordion-down":"_accordion-down_15rlq_1","accordion-up":"_accordion-up_15rlq_1"},Ks=(e,t)=>Array.from({length:t},(n,i)=>({id:e+i,metadata:{title:`Item ${e+i}`,description:`This is the description for item ${e+i}`,timestamp:Date.now()-Math.floor(Math.random()*1e7),status:i%3===0?"active":i%3===1?"inactive":"pending",author:`User ${i%5}`,category:`Category ${i%3}`,priority:i%4===0?"high":i%4===1?"medium":"low",avatar:`https://i.pravatar.cc/150?u=${i}`}})),AP=()=>{const[e]=b.useState(()=>Ks(0,100)),[t,n]=b.useState(()=>Ks(0,50)),[i,s]=b.useState(!1),[a,o]=b.useState(()=>Ks(0,1e3)),[l,c]=b.useState(!1),u=b.useCallback(async()=>{s(!0);try{await new Promise(x=>setTimeout(x,1e3)),n(x=>[...x,...Ks(x.length,20)])}finally{s(!1)}},[]),h=b.useCallback(async x=>{c(!0);try{await new Promise(j=>setTimeout(j,1e3)),o(Ks(0,x))}finally{c(!1)}},[]),f=b.useCallback(x=>{var j,y,C;return r.jsxs("div",{className:Be.listItem,children:[r.jsxs("div",{className:Be.itemHeader,children:[r.jsx(et,{size:"small",src:(j=x.metadata)==null?void 0:j.avatar}),r.jsx("div",{className:Be.itemTitle,children:(y=x==null?void 0:x.metadata)==null?void 0:y.title})]}),r.jsx("div",{className:Be.description,children:(C=x==null?void 0:x.metadata)==null?void 0:C.description})]})},[]),p=b.useCallback(x=>{var j,y,C,_,d,m,v,w,g,S,E;return r.jsxs("div",{className:Be.listItem,children:[r.jsxs("div",{className:Be.itemHeader,children:[r.jsx(et,{size:"medium",src:(j=x.metadata)==null?void 0:j.avatar}),r.jsxs("div",{className:Be.itemContent,children:[r.jsx("div",{className:Be.itemTitle,children:(y=x==null?void 0:x.metadata)==null?void 0:y.title}),r.jsxs("div",{className:Be.itemMeta,children:[r.jsxs("span",{className:Be.author,children:[r.jsx(Kr,{size:12}),(C=x.metadata)==null?void 0:C.author]}),r.jsxs("span",{className:Be.timestamp,children:[r.jsx(Dd,{size:12}),new Date((_=x==null?void 0:x.metadata)==null?void 0:_.timestamp).toLocaleString()]})]})]}),((d=x==null?void 0:x.metadata)==null?void 0:d.status)&&r.jsx("div",{className:`${Be.status} ${Be[(m=x==null?void 0:x.metadata)==null?void 0:m.status]}`,children:(v=x==null?void 0:x.metadata)==null?void 0:v.status})]}),r.jsx("div",{className:Be.description,children:(w=x==null?void 0:x.metadata)==null?void 0:w.description}),r.jsxs("div",{className:Be.metadata,children:[r.jsxs("span",{className:Be.category,children:[r.jsx(hL,{size:12}),(g=x==null?void 0:x.metadata)==null?void 0:g.category]}),r.jsxs("span",{className:`${Be.priority} ${Be[((S=x==null?void 0:x.metadata)==null?void 0:S.priority)||""]}`,children:["Priority: ",(E=x==null?void 0:x.metadata)==null?void 0:E.priority]})]})]})},[]);return r.jsxs("div",{className:Be.section,children:[r.jsx("h3",{children:"Basic Virtual List"}),r.jsx("p",{className:Be.description,children:"简单列表项展示"}),r.jsx("div",{className:Be.group,children:r.jsx("div",{style:{width:"100%",maxWidth:400},children:r.jsx(Zs,{items:e,maxHeight:320,renderItem:f})})}),r.jsx("h3",{children:"Detailed Virtual List"}),r.jsx("p",{className:Be.description,children:"展示更多元数据和复杂布局"}),r.jsx("div",{className:Be.group,children:r.jsx("div",{style:{width:"100%",maxWidth:500},children:r.jsx(Zs,{style:{background:"#d3d3d3"},items:t,maxHeight:360,renderItem:p})})}),r.jsx("h3",{children:"Infinite Scroll with Rich Content"}),r.jsx("p",{className:Be.description,children:"无限滚动加载更多数据,展示丰富的内容"}),r.jsxs("div",{className:Be.group,children:[r.jsx("div",{style:{width:"100%",maxWidth:500},children:r.jsx(Zs,{items:t,maxHeight:360,onLoadMore:u,loading:i,loadMoreThreshold:150,renderItem:p})}),r.jsxs("div",{className:Be.info,children:["已加载: ",t.length," 条数据"]})]}),r.jsx("h3",{children:"High Performance Mode"}),r.jsx("p",{className:Be.description,children:"大数据集的高性能渲染模式,支持不同布局切换"}),r.jsxs("div",{className:Be.group,children:[r.jsx("div",{style:{width:"100%",maxWidth:500},children:r.jsx(Zs,{items:a,maxHeight:400,highPerformance:!0,renderItem:p})}),r.jsxs("div",{className:Be.controls,children:[r.jsx(N,{onClick:()=>h(2e4),variant:"primary",loading:l,children:"加载 20,000 条数据"}),r.jsx(N,{onClick:()=>h(5e4),variant:"warning",loading:l,children:"加载 50,000 条数据"}),r.jsxs("div",{className:Be.count,children:["当前数据量: ",a.length.toLocaleString()," 条"]})]})]})]})},PP=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.virtualList.title"),description:e("components.virtualList.description")}),r.jsx(AP,{})]})},MP="_section_nsnyg_42",TP="_group_nsnyg_54",FP="_description_nsnyg_63",mn={section:MP,group:TP,description:FP,"accordion-down":"_accordion-down_nsnyg_1","accordion-up":"_accordion-up_nsnyg_1"},BP=()=>{const[e,t]=b.useState(""),[n,i]=b.useState(!1),[s,a]=b.useState([]),o=[{label:"JavaScript",value:"js",icon:r.jsx(Ec,{}),description:"Popular programming language",group:"Frontend",highlight:!0},{label:"TypeScript",value:"ts",icon:r.jsx(Ec,{}),description:"Typed superset of JavaScript",group:"Frontend"},{label:"Python",value:"py",icon:r.jsx(c6,{}),description:"General-purpose programming language",group:"Backend"},{label:"Node.js",value:"node",icon:r.jsx(l6,{}),description:"JavaScript runtime",group:"Backend",disabled:!0,style:{color:"#43853d"}}];return r.jsxs("div",{className:mn.section,children:[r.jsx("h3",{children:"Basic Mode"}),r.jsxs("p",{className:mn.description,children:["基础模式下的自动完成组件。当前选择: ",e||"未选择"]}),r.jsx("div",{className:mn.group,children:r.jsx("div",{style:{width:300},children:r.jsx(Hi,{name:"basic",label:"Programming Language",mode:"basic",value:e,onChange:t,options:o,textFieldProps:{placeholder:"Type to search...",helperText:"Basic mode with default rendering",size:"medium",clearable:!0}})})}),r.jsx("h3",{children:"Custom Mode"}),r.jsx("p",{className:mn.description,children:"自定义模式允许完全控制选项的渲染方式。"}),r.jsx("div",{className:mn.group,children:r.jsx("div",{style:{width:300},children:r.jsx(Hi,{name:"custom",label:"Custom Rendering",mode:"custom",options:o,textFieldProps:{placeholder:"Custom mode...",helperText:"Custom rendering with icons",size:"medium"},renderOption:l=>r.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",padding:"8px",...l.style},children:[l.icon,r.jsxs("div",{children:[r.jsx("div",{style:{fontWeight:500},children:l.label}),r.jsx("small",{style:{color:"#666"},children:l.description})]})]})})})}),r.jsx("h3",{children:"Multiple Selection"}),r.jsxs("p",{className:mn.description,children:["多选模式下的标签展示。已选择: ",s.length]}),r.jsx("div",{className:mn.group,children:r.jsx("div",{style:{width:300},children:r.jsx(Hi,{name:"multiple",label:"Multiple Selection",options:o,multiple:!0,maxTagCount:2,value:s.map(l=>l.label).join(", "),textFieldProps:{placeholder:"Select multiple...",helperText:"Select multiple options",size:"medium"},onSelect:l=>{a(c=>c.some(h=>h.value===l.value)?c.filter(h=>h.value!==l.value):[...c,l])}})})}),r.jsx("h3",{children:"Empty and Loading States"}),r.jsx("p",{className:mn.description,children:"展示空状态和加载状态。"}),r.jsx("div",{className:mn.group,children:r.jsx("div",{style:{width:300},children:r.jsx(Hi,{name:"empty-loading",label:"States Demo",options:[],loading:n,emptyProps:{description:"No results found",icon:r.jsx(Ec,{}),style:{padding:"20px"}},textFieldProps:{placeholder:"Type to search...",helperText:n?"Loading...":"Try searching",disabled:n},popperProps:{width:400,height:400},onChange:()=>{i(!0),setTimeout(()=>i(!1),1e3)}})})}),r.jsx("h3",{children:"Popper Configuration"}),r.jsx("p",{className:mn.description,children:"自定义下拉框的位置和样式。"}),r.jsx("div",{className:mn.group,children:r.jsx("div",{style:{width:300},children:r.jsx(Hi,{name:"popper",label:"Popper Settings",options:o,placement:"bottom",offset:{x:0,y:8},dropdownBgColor:"#f8f9fa",highlightBgColor:"#e9ecef",hoverBgColor:"#dee2e6",animation:!0,textFieldProps:{placeholder:"With popper config...",size:"medium"}})})}),r.jsx("h3",{children:"Event Handling"}),r.jsxs("p",{className:mn.description,children:["展示值变化和选择事件的处理。当前值: ",e]}),r.jsx("div",{className:mn.group,children:r.jsx("div",{style:{width:300},children:r.jsx(Hi,{name:"events",label:"Event Handlers",options:o,value:e,onChange:l=>{t(l),console.log("Value changed:",l)},onSelect:l=>{t(l.label),console.log("Selected:",l)},onOptionClick:l=>console.log("Clicked:",l),onDropdownVisibleChange:l=>console.log("Dropdown:",l),textFieldProps:{placeholder:"Interact to see events...",helperText:"Watch console for events",size:"medium"}})})})]})},OP=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.autoComplete.title"),description:e("components.autoComplete.description")}),r.jsx(BP,{})]})},DP="_section_nsnyg_42",UP="_group_nsnyg_54",HP="_description_nsnyg_63",Ge={section:DP,group:UP,description:HP,"accordion-down":"_accordion-down_nsnyg_1","accordion-up":"_accordion-up_nsnyg_1"},WP=()=>r.jsxs("div",{className:Ge.section,children:[r.jsx("h3",{children:"Basic Empty State"}),r.jsx("p",{className:Ge.description,children:"基础的空状态展示"}),r.jsxs("div",{className:Ge.group,children:[r.jsx(xt,{description:"No Data"}),r.jsx(xt,{description:"使用 SVG 图标",useSvg:!0})]}),r.jsx("h3",{children:"Icon Variants"}),r.jsx("p",{className:Ge.description,children:"不同图标类型的展示"}),r.jsxs("div",{className:Ge.group,children:[r.jsx(xt,{description:"默认图标"}),r.jsx(xt,{description:"SVG 图标",useSvg:!0}),r.jsx(xt,{icon:r.jsx(_1,{size:40}),description:"自定义图标"})]}),r.jsx("h3",{children:"Custom Icons"}),r.jsx("p",{className:Ge.description,children:"自定义图标的空状态"}),r.jsxs("div",{className:Ge.group,children:[r.jsx(xt,{icon:r.jsx(_1,{size:40}),description:"收件箱为空"}),r.jsx(xt,{icon:r.jsx(Hd,{size:40}),description:"未找到搜索结果"}),r.jsx(xt,{icon:r.jsx(v1,{size:40}),description:"暂无文档"}),r.jsx(xt,{icon:r.jsx(dL,{size:40}),description:"暂无图片"})]}),r.jsx("h3",{children:"With Actions"}),r.jsx("p",{className:Ge.description,children:"带操作按钮的空状态"}),r.jsxs("div",{className:Ge.group,children:[r.jsx(xt,{description:"购物车为空",useSvg:!0,children:r.jsx(N,{variant:"primary",children:"去购物"})}),r.jsx(xt,{description:"暂无文件",icon:r.jsx(v1,{size:40}),children:r.jsx(N,{variant:"primary",children:"上传文件"})}),r.jsx(xt,{description:"数据为空",icon:r.jsx(sL,{size:40}),children:r.jsxs("div",{className:Ge.actions,children:[r.jsx(N,{variant:"primary",children:"导入数据"}),r.jsx(N,{children:"刷新"})]})})]}),r.jsx("h3",{children:"Custom Styles"}),r.jsx("p",{className:Ge.description,children:"自定义样式的空状态"}),r.jsxs("div",{className:Ge.group,children:[r.jsx(xt,{icon:r.jsx(lL,{size:40,color:"#faad14"}),description:"出错了",className:Ge.warningEmpty,children:r.jsx(N,{variant:"warning",children:"重试"})}),r.jsx(xt,{useSvg:!0,description:r.jsxs("div",{className:Ge.customDescription,children:[r.jsx("h4",{children:"暂无数据"}),r.jsx("p",{children:"请稍后再试"})]}),className:Ge.infoEmpty})]}),r.jsx("h3",{children:"With, height, shadow, backgroundColor, color"}),r.jsxs("div",{className:Ge.group,children:[r.jsx(xt,{width:"200px",height:"200px",showShadow:!0,backgroundColor:"#fff",color:"#000"}),r.jsx(xt,{width:300,height:300,showShadow:!0,backgroundColor:"#fff",color:"#000",children:r.jsx(N,{variant:"primary",children:"重新加载"})}),r.jsx(xt,{width:300,height:500,showShadow:!0,backgroundColor:"#fff",color:"#000",children:r.jsx(N,{variant:"primary",children:"重新加载"})})]}),r.jsx("h3",{children:"Complex Empty States"}),r.jsx("p",{className:Ge.description,children:"复杂的空状态展示"}),r.jsxs("div",{className:Ge.group,children:[r.jsx(xt,{icon:r.jsx(Hd,{size:40}),description:r.jsxs("div",{className:Ge.complexDescription,children:[r.jsx("h4",{children:"未找到匹配结果"}),r.jsx("p",{children:"试试其他搜索条件"}),r.jsxs("ul",{children:[r.jsx("li",{children:"检查输入是否正确"}),r.jsx("li",{children:"使用更少的筛选条件"}),r.jsx("li",{children:"使用更通用的关键词"})]})]}),className:Ge.searchEmpty,children:r.jsxs("div",{className:Ge.actions,children:[r.jsx(N,{variant:"primary",children:"清除筛选"}),r.jsx(N,{children:"返回"})]})}),r.jsx(xt,{useSvg:!0,description:r.jsxs("div",{className:Ge.complexDescription,children:[r.jsx("h4",{children:"数据加载失败"}),r.jsx("p",{children:"可能的原因:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"网络连接不稳定"}),r.jsx("li",{children:"服务器暂时不可用"}),r.jsx("li",{children:"数据权限不足"})]})]}),className:Ge.errorEmpty,children:r.jsx(N,{variant:"primary",children:"重新加载"})}),r.jsx(xt,{useSvg:!0,showShadow:!0,description:r.jsxs("div",{className:Ge.complexDescription,children:[r.jsx("h4",{children:"数据加载失败"}),r.jsx("p",{children:"可能的原因:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"网络连接不稳定"}),r.jsx("li",{children:"服务器暂时不可用"}),r.jsx("li",{children:"数据权限不足"})]})]}),className:Ge.errorEmpty,children:r.jsx(N,{variant:"primary",children:"重新加载"})}),r.jsx(xt,{useSvg:!0,showShadow:!0,backgroundColor:"#ff9800",color:"#fff",description:r.jsxs("div",{className:Ge.complexDescription,children:[r.jsx("h4",{children:"数据加载失败"}),r.jsx("p",{children:"可能的原因:"}),r.jsxs("ul",{children:[r.jsx("li",{children:"网络连接不稳定"}),r.jsx("li",{children:"服务器暂时不可用"}),r.jsx("li",{children:"数据权限不足"})]})]}),className:Ge.errorEmpty,children:r.jsx(N,{variant:"primary",children:"重新加载"})})]})]}),qP=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.empty.title"),description:e("components.empty.description")}),r.jsx(WP,{})]})},VP="_section_erl0y_42",KP="_group_erl0y_54",GP="_description_erl0y_66",Xe={section:VP,group:KP,description:GP,"accordion-down":"_accordion-down_erl0y_1","accordion-up":"_accordion-up_erl0y_1"},QP=()=>{const e=[{value:"zhejiang",label:"浙江",children:[{value:"hangzhou",label:"杭州",children:[{value:"xihu",label:"西湖"}]}]},{value:"jiangsu",label:"江苏",children:[{value:"nanjing",label:"南京",children:[{value:"zhonghuamen",label:"中华门"}]}]}],t=[{value:"level1",label:"Level 1",children:[{value:"level2",label:"Level 2",children:[{value:"level3",label:"Level 3",children:[{value:"level4",label:"Level 4",children:[{value:"level5",label:"Level 5",children:[{value:"level6",label:"Level 6"}]}]}]}]}]}],[n,i]=b.useState([]);return r.jsxs("div",{className:Xe.section,children:[r.jsx("h3",{children:"Basic Usage"}),r.jsx("p",{className:Xe.description,children:"基础级联选择器,支持多级选择"}),r.jsx("div",{className:Xe.group,children:r.jsx("div",{style:{width:"100%",maxWidth:320},children:r.jsx(an,{label:"Basic",name:"basic",options:e,placeholder:"请选择"})})}),r.jsx("h3",{children:"Different Sizes"}),r.jsx("p",{className:Xe.description,children:"不同尺寸的级联选择器"}),r.jsxs("div",{className:Xe.group,children:[r.jsx("div",{style:{width:200},children:r.jsx(an,{label:"Small",name:"small",options:e,placeholder:"Small size"})}),r.jsx("div",{style:{width:280},children:r.jsx(an,{label:"Medium",name:"medium",options:e,placeholder:"Medium size"})}),r.jsx("div",{style:{width:360},children:r.jsx(an,{label:"Large",name:"large",options:e,placeholder:"Large size"})})]}),r.jsx("h3",{children:"Default Value"}),r.jsx("p",{className:Xe.description,children:"设置默认值的级联选择器"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Default Value",name:"defaultValue",options:e,defaultValue:["zhejiang","hangzhou","xihu"]})}),r.jsx("h3",{children:"Controlled Mode"}),r.jsx("p",{className:Xe.description,children:"受控模式的级联选择器"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Controlled",name:"controlled",options:e,value:n,onChange:s=>i(s)})}),r.jsx("h3",{children:"Custom Display"}),r.jsx("p",{className:Xe.description,children:"自定义显示格式"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Custom Display",name:"customDisplay",options:e,displayRender:s=>s.join(" > ")})}),r.jsx("h3",{children:"Disabled State"}),r.jsx("p",{className:Xe.description,children:"禁用状态的级联选择器"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Disabled",name:"disabled",options:e,disabled:!0,defaultValue:["zhejiang","hangzhou"]})}),r.jsx("h3",{children:"Search Mode"}),r.jsx("p",{className:Xe.description,children:"可搜索的级联选择器"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Searchable",name:"searchable",options:e,width:280,showSearch:!0,filter:(s,a)=>a.some(o=>o.label.toString().toLowerCase().includes(s.toLowerCase()))})}),r.jsx("h3",{children:"Dynamic Loading"}),r.jsx("p",{className:Xe.description,children:"动态加载数据的级联选择器"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Dynamic Loading",name:"dynamicLoading",options:[{value:"parent",label:"Parent Node",isLeaf:!1}],loadData:s=>{const a=s[s.length-1];a.loading=!0,setTimeout(()=>{a.loading=!1,a.children=[{label:`${a.label} Child`,value:`${a.value}-child`}]},1e3)}})}),r.jsx("h3",{children:"Custom Option Render"}),r.jsx("p",{className:Xe.description,children:"自定义选项渲染"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Custom Render",name:"customRender",options:e,optionRender:(s,a)=>r.jsxs("div",{style:{padding:"4px 8px"},children:[r.jsx("span",{children:s.label}),a<2&&r.jsx("span",{style:{float:"right"},children:"→"})]})})}),r.jsx("h3",{children:"Deep Nesting"}),r.jsx("p",{className:Xe.description,children:"支持最多6层级联"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Deep Nesting",name:"deepNesting",options:t,width:280})}),r.jsx("h3",{children:"Custom Styles"}),r.jsx("p",{className:Xe.description,children:"自定义样式的级联选择器"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Custom Style",name:"customStyle",options:e,width:280,dropdownStyle:{background:"#f6f7f9",borderRadius:"8px"},optionStyle:{borderRadius:"4px",margin:"2px 4px"},style:{"--cascader-option-hover-bg":"#e6f4ff","--cascader-option-active-bg":"#1890ff","--cascader-option-active-color":"#ffffff"}})}),r.jsx("h3",{children:"Max Level Control"}),r.jsx("p",{className:Xe.description,children:"控制最大层级数"}),r.jsx("div",{className:Xe.group,children:r.jsx(an,{label:"Max Level 3",name:"maxLevel",options:t,maxLevel:3,width:280})})]})},YP=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.cascader.title"),description:e("components.cascader.description")}),r.jsx(QP,{})]})},JP="_section_qa4oz_42",XP="_group_qa4oz_54",ZP="_divider_qa4oz_61",Kt={section:JP,group:XP,divider:ZP,"accordion-down":"_accordion-down_qa4oz_1","accordion-up":"_accordion-up_qa4oz_1"},eM=()=>{const[e,t]=b.useState("horizontal"),[n,i]=b.useState("medium"),[s,a]=b.useState(!0);return r.jsxs("div",{className:Kt.section,children:[r.jsxs("div",{className:Kt.header,children:[r.jsx("h2",{children:"Space 间距"}),r.jsx("p",{children:"设置组件之间的间距"})]}),r.jsx("h3",{children:"基础用法"}),r.jsx("p",{className:Kt.description,children:"最基础的用法,通过 size 设置间距大小"}),r.jsx("div",{className:Kt.group,children:r.jsxs(W,{size:"small",children:[r.jsx(N,{children:"按钮 1"}),r.jsx(N,{children:"按钮 2"}),r.jsx(N,{children:"按钮 3"})]})}),r.jsx("h3",{children:"垂直间距"}),r.jsx("p",{className:Kt.description,children:"可以设置垂直方向的间距"}),r.jsx("div",{className:Kt.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsx(N,{children:"按钮 1"}),r.jsx(N,{children:"按钮 2"}),r.jsx(N,{children:"按钮 3"})]})}),r.jsx("h3",{children:"间距大小"}),r.jsx("p",{className:Kt.description,children:"内置三种间距尺寸"}),r.jsx("div",{className:Kt.group,children:r.jsxs(W,{direction:"vertical",size:"large",block:!0,children:[r.jsxs(W,{size:"small",children:[r.jsx(N,{children:"Small"}),r.jsx(N,{children:"间距"}),r.jsx(N,{children:"示例"})]}),r.jsxs(W,{size:"medium",children:[r.jsx(N,{children:"Medium"}),r.jsx(N,{children:"间距"}),r.jsx(N,{children:"示例"})]}),r.jsxs(W,{size:"large",children:[r.jsx(N,{children:"Large"}),r.jsx(N,{children:"间距"}),r.jsx(N,{children:"示例"})]})]})}),r.jsx("h3",{children:"自动换行"}),r.jsx("p",{className:Kt.description,children:"当空间不足时自动换行"}),r.jsx("div",{className:Kt.group,children:r.jsx(W,{wrap:!0,children:Array.from({length:10},(o,l)=>r.jsxs(N,{children:["按钮 ",l+1]},l))})}),r.jsx("h3",{children:"对齐方式"}),r.jsx("p",{className:Kt.description,children:"设置对齐方式"}),r.jsx("div",{className:Kt.group,children:r.jsxs(W,{direction:"vertical",size:"large",block:!0,children:[r.jsxs(W,{justify:"start",block:!0,children:[r.jsx(N,{children:"左对齐"}),r.jsx(N,{children:"示例"})]}),r.jsxs(W,{justify:"center",block:!0,children:[r.jsx(N,{children:"居中对齐"}),r.jsx(N,{children:"示例"})]}),r.jsxs(W,{justify:"end",block:!0,children:[r.jsx(N,{children:"右对齐"}),r.jsx(N,{children:"示例"})]}),r.jsxs(W,{justify:"space-between",block:!0,children:[r.jsx(N,{children:"两端对齐"}),r.jsx(N,{children:"示例"})]}),r.jsxs(W,{justify:"space-around",block:!0,children:[r.jsx(N,{children:"环绕对齐"}),r.jsx(N,{children:"示例"})]})]})}),r.jsx("h3",{children:"卡片间距"}),r.jsx("p",{className:Kt.description,children:"在卡片组件中使用间距"}),r.jsx("div",{className:Kt.group,children:r.jsx(W,{direction:"vertical",size:"large",children:r.jsxs(W,{size:"large",children:[r.jsx(Gt,{children:"Card 1"}),r.jsx(Gt,{children:"Card 2"}),r.jsx(Gt,{children:"Card 3"})]})})}),r.jsx("h3",{children:"动态配置"}),r.jsx("p",{className:Kt.description,children:"动态控制 Space 的属性"}),r.jsx("div",{className:Kt.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{children:[r.jsx(N,{onClick:()=>t(o=>o==="horizontal"?"vertical":"horizontal"),children:"切换方向"}),r.jsx(N,{onClick:()=>i(o=>o==="small"?"medium":o==="medium"?"large":"small"),children:"切换大小"}),r.jsx(N,{onClick:()=>a(o=>!o),children:"切换换行"})]}),r.jsxs(W,{direction:e,size:n,wrap:s,children:[r.jsx(N,{children:"按钮 1"}),r.jsx(N,{children:"按钮 2"}),r.jsx(N,{children:"按钮 3"})]})]})})]})},tM=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.space.title"),description:e("components.space.description")}),r.jsx(eM,{})]})},nM="_section_1gztw_42",rM="_group_1gztw_54",iM="_description_1gztw_63",_t={section:nM,group:rM,description:iM,"accordion-down":"_accordion-down_1gztw_1","accordion-up":"_accordion-up_1gztw_1"},sM=()=>{const[e,t]=b.useState(["Tag 1","Tag 2","Tag 3","Tag 4"]),[n,i]=b.useState([]),s=o=>{t(e.filter(l=>l!==o))},a=o=>{i(l=>l.includes(o)?l.filter(c=>c!==o):[...l,o])};return r.jsxs("div",{className:_t.section,children:[r.jsxs("div",{className:_t.header,children:[r.jsx("h2",{children:"Tag 标签"}),r.jsx("p",{className:_t.description,children:"进行标记和分类的小标签"})]}),r.jsx("h3",{children:"基础用法"}),r.jsx("p",{className:_t.description,children:"基础的标签用法,可以通过设置 variant 来展示不同的状态。"}),r.jsxs("div",{className:_t.group,children:[r.jsx(ve,{children:"Default"}),r.jsx(ve,{variant:"primary",children:"Primary"}),r.jsx(ve,{variant:"success",children:"Success"}),r.jsx(ve,{variant:"warning",children:"Warning"}),r.jsx(ve,{variant:"error",children:"Error"}),r.jsx(ve,{variant:"info",children:"Info"})]}),r.jsx("h3",{children:"组合展示"}),r.jsx("p",{className:_t.description,children:"不同属性的组合展示效果。"}),r.jsx("div",{className:_t.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{wrap:!0,children:[r.jsx(ve,{bordered:!0,variant:"primary",children:"边框标签"}),r.jsx(ve,{elevation:!0,variant:"success",children:"阴影标签"}),r.jsx(ve,{icon:r.jsx(q0,{}),variant:"warning",children:"图标标签"}),r.jsx(ve,{closable:!0,variant:"error",children:"可关闭"})]}),r.jsxs(W,{wrap:!0,children:[r.jsx(ve,{bordered:!0,elevation:!0,children:"边框+阴影"}),r.jsx(ve,{icon:r.jsx(cL,{}),closable:!0,children:"图标+关闭"}),r.jsx(ve,{bordered:!0,icon:r.jsx(Dd,{}),children:"边框+图标"}),r.jsx(ve,{elevation:!0,closable:!0,variant:"primary",children:"阴影+关闭"})]})]})}),r.jsx("h3",{children:"状态标签"}),r.jsx("p",{className:_t.description,children:"用于表示状态的标签组合。"}),r.jsx("div",{className:_t.group,children:r.jsxs(W,{wrap:!0,children:[r.jsx(ve,{icon:r.jsx(Ia,{}),variant:"success",children:"已完成"}),r.jsx(ve,{icon:r.jsx(Dd,{}),variant:"warning",children:"进行中"}),r.jsx(ve,{icon:r.jsx(Io,{}),variant:"error",children:"已锁定"}),r.jsx(ve,{icon:r.jsx(rL,{}),variant:"error",children:"Bug"}),r.jsx(ve,{icon:r.jsx(iL,{}),variant:"info",children:"开发中"}),r.jsx(ve,{icon:r.jsx(Kr,{}),variant:"primary",children:"已分配"})]})}),r.jsx("h3",{children:"可选择标签"}),r.jsx("p",{className:_t.description,children:"点击可选择,再次点击取消选择。"}),r.jsx("div",{className:_t.group,children:r.jsx(W,{wrap:!0,children:["设计","前端","后端","测试","运维"].map(o=>r.jsx(ve,{clickable:!0,variant:n.includes(o)?"primary":"default",bordered:n.includes(o),onClick:()=>a(o),children:o},o))})}),r.jsx("h3",{children:"动态编辑标签"}),r.jsx("p",{className:_t.description,children:"动态添加和删除标签。"}),r.jsx("div",{className:_t.group,children:r.jsx(W,{direction:"vertical",size:"large",children:r.jsxs(W,{wrap:!0,children:[e.map(o=>r.jsx(ve,{closable:!0,onClose:()=>s(o),variant:"primary",children:o},o)),r.jsx(ve,{clickable:!0,icon:r.jsx(V0,{}),onClick:()=>{const o=`Tag ${e.length+1}`;t([...e,o])},children:"新建标签"})]})})}),r.jsx("h3",{children:"社交标签"}),r.jsx("p",{className:_t.description,children:"用于社交媒体的标签样式。"}),r.jsx("div",{className:_t.group,children:r.jsxs(W,{wrap:!0,children:[r.jsx(ve,{icon:r.jsx(nL,{}),bgColor:"#24292e",textColor:"#ffffff",children:"GitHub"}),r.jsx(ve,{icon:r.jsx(Sn,{}),bgColor:"#ff4081",textColor:"#ffffff",children:"喜欢"}),r.jsx(ve,{icon:r.jsx(Ra,{}),bgColor:"#ffd700",textColor:"#000000",children:"收藏"})]})}),r.jsx("h3",{children:"渐变效果标签"}),r.jsx("p",{className:_t.description,children:"使用渐变背景的标签。"}),r.jsx("div",{className:_t.group,children:r.jsxs(W,{wrap:!0,children:[r.jsx(ve,{style:{background:"linear-gradient(45deg, #ff6b6b, #feca57)",color:"#ffffff"},children:"渐变标签"}),r.jsx(ve,{style:{background:"linear-gradient(45deg, #4834d4, #686de0)",color:"#ffffff"},children:"渐变标签"}),r.jsx(ve,{style:{background:"linear-gradient(45deg, #6ab04c, #badc58)",color:"#ffffff"},children:"渐变标签"})]})}),r.jsx("h3",{children:"尺寸与形状组合"}),r.jsx("p",{className:_t.description,children:"不同尺寸和形状的组合展示。"}),r.jsx("div",{className:_t.group,children:r.jsxs(W,{direction:"vertical",size:"large",children:[r.jsxs(W,{wrap:!0,align:"center",children:[r.jsx(ve,{size:"small",shape:"square",children:"小方形"}),r.jsx(ve,{size:"medium",shape:"square",children:"中方形"}),r.jsx(ve,{size:"large",shape:"square",children:"大方形"})]}),r.jsxs(W,{wrap:!0,align:"center",children:[r.jsx(ve,{size:"small",shape:"rounded",children:"小圆角"}),r.jsx(ve,{size:"medium",shape:"rounded",children:"中圆角"}),r.jsx(ve,{size:"large",shape:"rounded",children:"大圆角"})]}),r.jsxs(W,{wrap:!0,align:"center",children:[r.jsx(ve,{size:"small",shape:"circle",children:"小圆形"}),r.jsx(ve,{size:"medium",shape:"circle",children:"中圆形"}),r.jsx(ve,{size:"large",shape:"circle",children:"大圆形"})]})]})}),r.jsx("h3",{children:"带计数器的标签"}),r.jsx("p",{className:_t.description,children:"显示数量的标签组合。"}),r.jsx("div",{className:_t.group,children:r.jsxs(W,{wrap:!0,children:[r.jsxs(ve,{variant:"primary",children:["未读消息"," ",r.jsx(ve,{size:"small",shape:"circle",children:"99+"})]}),r.jsxs(ve,{variant:"success",children:["完成任务"," ",r.jsx(ve,{size:"small",shape:"circle",children:"23"})]}),r.jsxs(ve,{variant:"warning",children:["待处理"," ",r.jsx(ve,{size:"small",shape:"circle",children:"5"})]})]})})]})},aM=()=>{const{t:e}=Le();return r.jsxs("div",{children:[r.jsx(Pn,{title:e("components.tag.title"),description:e("components.tag.description")}),r.jsx(sM,{})]})},oM=[{path:"overview",element:r.jsx(c5,{})},{path:"installation",element:r.jsx(d5,{})},{path:"introduction",element:r.jsx(u5,{})},{path:"theming",element:r.jsx(h5,{})},{path:"button",element:r.jsx(tL,{})},{path:"textfield",element:r.jsx(AL,{})},{path:"checkbox",element:r.jsx(rA,{})},{path:"radio",element:r.jsx(FL,{})},{path:"switch",element:r.jsx(iI,{})},{path:"avatar",element:r.jsx(cI,{})},{path:"badge",element:r.jsx(pI,{})},{path:"card",element:r.jsx(yI,{})},{path:"chip",element:r.jsx(kI,{})},{path:"divider",element:r.jsx(zI,{})},{path:"alert",element:r.jsx(BI,{})},{path:"message",element:r.jsx(vR,{})},{path:"progress",element:r.jsx(bR,{})},{path:"skeleton",element:r.jsx(QR,{})},{path:"dropdown",element:r.jsx(ZR,{})},{path:"icon-button",element:r.jsx(cA,{})},{path:"tooltip",element:r.jsx(fA,{})},{path:"popper",element:r.jsx(nP,{})},{path:"search-button",element:r.jsx(aP,{})},{path:"status-indicator",element:r.jsx(dP,{})},{path:"time-picker",element:r.jsx(fP,{})},{path:"virtual-list",element:r.jsx(PP,{})},{path:"auto-complete",element:r.jsx(OP,{})},{path:"empty",element:r.jsx(qP,{})},{path:"cascader",element:r.jsx(YP,{})},{path:"space",element:r.jsx(tM,{})},{path:"tag",element:r.jsx(aM,{})}],lM=oM.map(e=>({path:e.path,element:e.element})),cM={gettingStarted:[{path:"overview",icon:r.jsx(Dl,{}),translationKey:"components.overview.title"},{path:"installation",icon:r.jsx(zo,{}),translationKey:"components.installation.title"},{path:"introduction",icon:r.jsx(M3,{}),translationKey:"components.introduction.title"},{path:"theming",icon:r.jsx(D3,{}),translationKey:"components.theming.title"}],inputs:[{path:"button",icon:r.jsx(zo,{}),translationKey:"components.button.title"},{path:"textfield",icon:r.jsx(C0,{}),translationKey:"components.textfield.title"},{path:"checkbox",icon:r.jsx(p0,{}),translationKey:"components.checkbox.title"},{path:"radio",icon:r.jsx(_0,{}),translationKey:"components.radio.title"}],dataDisplay:[{path:"avatar",icon:r.jsx(v0,{}),translationKey:"components.avatar.title"},{path:"badge",icon:r.jsx(b0,{}),translationKey:"components.badge.title"},{path:"card",icon:r.jsx(u0,{}),translationKey:"components.card.title"},{path:"chip",icon:r.jsx(Td,{}),translationKey:"components.chip.title"},{path:"divider",icon:r.jsx(j0,{}),translationKey:"components.divider.title"},{path:"status-indicator",icon:r.jsx(W3,{}),translationKey:"components.statusIndicator.title"},{path:"virtual-list",icon:r.jsx(s6,{}),translationKey:"components.virtualList.title"},{path:"empty",icon:r.jsx(n6,{}),translationKey:"components.empty.title"},{path:"space",icon:r.jsx(Td,{}),translationKey:"components.space.title"},{path:"tag",icon:r.jsx(T3,{}),translationKey:"components.tag.title"},{path:"switch",icon:r.jsx(k0,{}),translationKey:"components.switch.title"}],feedback:[{path:"alert",icon:r.jsx(d0,{}),translationKey:"components.alert.title"},{path:"message",icon:r.jsx(h0,{}),translationKey:"components.message.title"},{path:"progress",icon:r.jsx(S6,{}),translationKey:"components.progress.title"},{path:"skeleton",icon:r.jsx(y0,{}),translationKey:"components.skeleton.title"},{path:"tooltip",icon:r.jsx(m0,{}),translationKey:"components.tooltip.title"},{path:"popper",icon:r.jsx(A3,{}),translationKey:"components.popper.title"},{path:"icon-button",icon:r.jsx(zo,{}),translationKey:"components.iconButton.title"},{path:"search-button",icon:r.jsx(Jp,{}),translationKey:"components.searchButton.title"}],navigation:[{path:"dropdown",icon:r.jsx(x0,{}),translationKey:"components.dropdown.title"},{path:"cascader",icon:r.jsx(J3,{}),translationKey:"components.cascader.title"},{path:"auto-complete",icon:r.jsx(Jp,{}),translationKey:"components.autoComplete.title"}]},dM=({isOpen:e,onClose:t})=>{const{t:n}=Le(),i=(s,a)=>r.jsxs("div",{className:pn.section,children:[r.jsx("div",{className:pn.title,children:n(a)}),r.jsx("div",{className:pn.list,children:cM[s].map(o=>r.jsxs(fv,{to:o.path,className:({isActive:l})=>`${pn.item} ${l?pn.active:""}`,onClick:t,children:[r.jsx("span",{className:pn.itemIcon,children:o.icon}),r.jsx("span",{className:pn.text,children:n(o.translationKey)})]},o.path))})]});return r.jsxs("aside",{className:`${pn.sidebar} ${e?pn.open:""}`,children:[r.jsx("div",{className:pn.header,children:r.jsxs("div",{className:pn.logo,children:[r.jsx(g0,{className:pn.icon}),r.jsx("span",{children:"Minerva UI"})]})}),r.jsxs("nav",{className:pn.nav,children:[i("gettingStarted","components.menu.getting_started"),i("inputs","components.menu.inputs"),i("dataDisplay","components.menu.data_display"),i("feedback","components.menu.feedback"),i("navigation","components.menu.navigation")]})]})},uM="_languageSwitcher_17180_42",hM="_icon_17180_55",pM="_select_17180_59",Tc={languageSwitcher:uM,icon:hM,select:pM,"accordion-down":"_accordion-down_17180_1","accordion-up":"_accordion-up_17180_1"},fM=()=>{const{i18n:e}=Le(),t=[{code:"en",name:"English"},{code:"zh",name:"中文"},{code:"ja",name:"日本語"},{code:"fr",name:"Français"}],n=i=>{e.changeLanguage(i)};return r.jsxs("div",{className:Tc.languageSwitcher,children:[r.jsx(r6,{className:Tc.icon}),r.jsx("select",{value:e.language,onChange:i=>n(i.target.value),className:Tc.select,children:t.map(i=>r.jsx("option",{value:i.code,children:i.name},i.code))})]})},mM="_themeSwitcher_h224d_42",gM="_icon_h224d_62",Fc={themeSwitcher:mM,icon:gM,"accordion-down":"_accordion-down_h224d_1","accordion-up":"_accordion-up_h224d_1"},xM=()=>{const[e,t]=b.useState("dark");b.useEffect(()=>{const i=new Date().getHours(),s=i>=18||i<6?"dark":"light";t(s),document.documentElement.setAttribute("data-theme",s)},[]);const n=()=>{const i=e==="light"?"dark":"light";t(i),document.documentElement.setAttribute("data-theme",i)};return r.jsx("button",{className:Fc.themeSwitcher,onClick:n,children:e==="light"?r.jsx(u6,{className:Fc.icon}):r.jsx(w6,{className:Fc.icon})})},vM="_layout_10zl2_42",_M="_menuButton_10zl2_51",jM="_main_10zl2_78",yM="_header_10zl2_88",bM="_headerControls_10zl2_106",wM="_content_10zl2_111",CM="_fadeIn_10zl2_1",kM="_sidebar_10zl2_127",SM="_open_10zl2_188",Ki={layout:vM,menuButton:_M,main:jM,header:yM,headerControls:bM,content:wM,fadeIn:CM,sidebar:kM,open:SM,"accordion-down":"_accordion-down_10zl2_1","accordion-up":"_accordion-up_10zl2_1"},NM=()=>{const[e,t]=b.useState(!1);return r.jsxs("div",{className:Ki.layout,children:[r.jsx("button",{className:Ki.menuButton,onClick:()=>t(!e),"aria-label":"Toggle menu",children:r.jsx(x0,{})}),r.jsx(dM,{isOpen:e,onClose:()=>t(!1)}),r.jsxs("main",{className:Ki.main,children:[r.jsx("div",{className:Ki.header,children:r.jsxs("div",{className:Ki.headerControls,children:[r.jsx(xM,{}),r.jsx(fM,{})]})}),r.jsx("div",{className:Ki.content,children:r.jsx(Kx,{})})]})]})},$M="_errorPage_82vfj_42",EM="_content_82vfj_51",zM="_errorMessage_82vfj_74",LM="_actions_82vfj_84",IM="_homeLink_82vfj_89",RM="_refreshButton_82vfj_90",AM="_icon_82vfj_100",$n={errorPage:$M,content:EM,errorMessage:zM,actions:LM,homeLink:IM,refreshButton:RM,icon:AM,"accordion-down":"_accordion-down_82vfj_1","accordion-up":"_accordion-up_82vfj_1"},PM=()=>{const e=Zm(),{t}=Le();return r.jsx("div",{className:$n.errorPage,children:r.jsxs("div",{className:$n.content,children:[r.jsx("h1",{children:t("error.title")}),r.jsx("p",{children:t("error.description")}),r.jsx("p",{className:$n.errorMessage,children:e.message}),r.jsxs("div",{className:$n.actions,children:[r.jsxs(qu,{to:"overview",className:$n.homeLink,children:[r.jsx(Dl,{className:$n.icon}),t("error.back_home")]}),r.jsxs("button",{onClick:()=>window.location.reload(),className:$n.refreshButton,children:[r.jsx(m6,{className:$n.icon}),t("error.refresh")]})]})]})})},MM=()=>{const{t:e}=Le();return r.jsx("div",{className:$n.errorPage,children:r.jsxs("div",{className:$n.content,children:[r.jsx("h1",{children:e("notFound.title")}),r.jsx("p",{children:e("notFound.description")}),r.jsxs(qu,{to:"overview",className:$n.homeLink,children:[r.jsx(Dl,{className:$n.icon}),e("notFound.back_home")]})]})})},TM=tv([{path:"/",element:r.jsx(NM,{}),errorElement:r.jsx(PM,{}),children:[{index:!0,element:r.jsx(Vx,{to:"overview",replace:!0})},...lM,{path:"*",element:r.jsx(MM,{})}]}]),FM=()=>r.jsx(Rv,{i18n:Ht,children:r.jsx(cv,{router:TM})}),BM=document.getElementById("root"),OM=Tm(BM);OM.render(r.jsx(xe.StrictMode,{children:r.jsx(FM,{})}));