@moontra/moonui 2.3.6 → 2.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/ui/badge.tsx +14 -2
- package/src/components/ui/pro-component-wrapper.tsx +0 -261
package/dist/index.global.js
CHANGED
|
@@ -6,7 +6,7 @@ var rU=Object.create;var pL=Object.defineProperty;var oU=Object.getOwnPropertyDe
|
|
|
6
6
|
`+n[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=s);break}}}finally{jy=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Hc(e):""}function qU(e){switch(e.tag){case 5:return Hc(e.type);case 16:return Hc("Lazy");case 13:return Hc("Suspense");case 19:return Hc("SuspenseList");case 0:case 2:case 15:return e=qy(e.type,!1),e;case 11:return e=qy(e.type.render,!1),e;case 1:return e=qy(e.type,!0),e;default:return""}}function hx(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 Rl:return"Fragment";case bl:return"Portal";case px:return"Profiler";case s0:return"StrictMode";case mx:return"Suspense";case gx:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case rP:return(e.displayName||"Context")+".Consumer";case tP:return(e._context.displayName||"Context")+".Provider";case l0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case u0:return t=e.displayName||null,t!==null?t:hx(e.type)||"Memo";case $a:t=e._payload,e=e._init;try{return hx(e(t))}catch{}}return null}function $U(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 hx(t);case 8:return t===s0?"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 si(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function nP(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function KU(e){var t=nP(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var n=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(i){o=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return o},setValue:function(i){o=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Gp(e){e._valueTracker||(e._valueTracker=KU(e))}function aP(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),o="";return e&&(o=nP(e)?e.checked?"true":"false":e.value),e=o,e!==r?(t.setValue(e),!0):!1}function ym(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 vx(e,t){var r=t.checked;return pt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function QL(e,t){var r=t.defaultValue==null?"":t.defaultValue,o=t.checked!=null?t.checked:t.defaultChecked;r=si(t.value!=null?t.value:r),e._wrapperState={initialChecked:o,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function iP(e,t){t=t.checked,t!=null&&i0(e,"checked",t,!1)}function yx(e,t){iP(e,t);var r=si(t.value),o=t.type;if(r!=null)o==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(o==="submit"||o==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?xx(e,t.type,r):t.hasOwnProperty("defaultValue")&&xx(e,t.type,si(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ZL(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!(o!=="submit"&&o!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function xx(e,t,r){(t!=="number"||ym(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Uc=Array.isArray;function _l(e,t,r,o){if(e=e.options,t){t={};for(var n=0;n<r.length;n++)t["$"+r[n]]=!0;for(r=0;r<e.length;r++)n=t.hasOwnProperty("$"+e[r].value),e[r].selected!==n&&(e[r].selected=n),n&&o&&(e[r].defaultSelected=!0)}else{for(r=""+si(r),t=null,n=0;n<e.length;n++){if(e[n].value===r){e[n].selected=!0,o&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function wx(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(W(91));return pt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function JL(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(W(92));if(Uc(r)){if(1<r.length)throw Error(W(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:si(r)}}function sP(e,t){var r=si(t.value),o=si(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),o!=null&&(e.defaultValue=""+o)}function eI(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function lP(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Cx(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?lP(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var jp,uP=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,o,n){MSApp.execUnsafeLocalFunction(function(){return e(t,r,o,n)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(jp=jp||document.createElement("div"),jp.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=jp.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ed(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Gc={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},XU=["Webkit","ms","Moz","O"];Object.keys(Gc).forEach(function(e){XU.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Gc[t]=Gc[e]})});function cP(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Gc.hasOwnProperty(e)&&Gc[e]?(""+t).trim():t+"px"}function dP(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var o=r.indexOf("--")===0,n=cP(r,t[r],o);r==="float"&&(r="cssFloat"),o?e.setProperty(r,n):e[r]=n}}var YU=pt({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 Sx(e,t){if(t){if(YU[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(W(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(W(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(W(61))}if(t.style!=null&&typeof t.style!="object")throw Error(W(62))}}function bx(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 Rx=null;function c0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Lx=null,Ol=null,Fl=null;function tI(e){if(e=yd(e)){if(typeof Lx!="function")throw Error(W(280));var t=e.stateNode;t&&(t=qm(t),Lx(e.stateNode,e.type,t))}}function fP(e){Ol?Fl?Fl.push(e):Fl=[e]:Ol=e}function pP(){if(Ol){var e=Ol,t=Fl;if(Fl=Ol=null,tI(e),t)for(e=0;e<t.length;e++)tI(t[e])}}function mP(e,t){return e(t)}function gP(){}var $y=!1;function hP(e,t,r){if($y)return e(t,r);$y=!0;try{return mP(e,t,r)}finally{$y=!1,(Ol!==null||Fl!==null)&&(gP(),pP())}}function td(e,t){var r=e.stateNode;if(r===null)return null;var o=qm(r);if(o===null)return null;r=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(W(231,t,typeof r));return r}var Ix=!1;if(ia)try{Cl={},Object.defineProperty(Cl,"passive",{get:function(){Ix=!0}}),window.addEventListener("test",Cl,Cl),window.removeEventListener("test",Cl,Cl)}catch{Ix=!1}var Cl;function QU(e,t,r,o,n,a,i,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(c){this.onError(c)}}var jc=!1,xm=null,wm=!1,Px=null,ZU={onError:function(e){jc=!0,xm=e}};function JU(e,t,r,o,n,a,i,s,l){jc=!1,xm=null,QU.apply(ZU,arguments)}function e4(e,t,r,o,n,a,i,s,l){if(JU.apply(this,arguments),jc){if(jc){var u=xm;jc=!1,xm=null}else throw Error(W(198));wm||(wm=!0,Px=u)}}function xs(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function vP(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function rI(e){if(xs(e)!==e)throw Error(W(188))}function t4(e){var t=e.alternate;if(!t){if(t=xs(e),t===null)throw Error(W(188));return t!==e?null:e}for(var r=e,o=t;;){var n=r.return;if(n===null)break;var a=n.alternate;if(a===null){if(o=n.return,o!==null){r=o;continue}break}if(n.child===a.child){for(a=n.child;a;){if(a===r)return rI(n),e;if(a===o)return rI(n),t;a=a.sibling}throw Error(W(188))}if(r.return!==o.return)r=n,o=a;else{for(var i=!1,s=n.child;s;){if(s===r){i=!0,r=n,o=a;break}if(s===o){i=!0,o=n,r=a;break}s=s.sibling}if(!i){for(s=a.child;s;){if(s===r){i=!0,r=a,o=n;break}if(s===o){i=!0,o=a,r=n;break}s=s.sibling}if(!i)throw Error(W(189))}}if(r.alternate!==o)throw Error(W(190))}if(r.tag!==3)throw Error(W(188));return r.stateNode.current===r?e:t}function yP(e){return e=t4(e),e!==null?xP(e):null}function xP(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=xP(e);if(t!==null)return t;e=e.sibling}return null}var wP=io.unstable_scheduleCallback,oI=io.unstable_cancelCallback,r4=io.unstable_shouldYield,o4=io.unstable_requestPaint,Ct=io.unstable_now,n4=io.unstable_getCurrentPriorityLevel,d0=io.unstable_ImmediatePriority,CP=io.unstable_UserBlockingPriority,Cm=io.unstable_NormalPriority,a4=io.unstable_LowPriority,SP=io.unstable_IdlePriority,zm=null,Dn=null;function i4(e){if(Dn&&typeof Dn.onCommitFiberRoot=="function")try{Dn.onCommitFiberRoot(zm,e,void 0,(e.current.flags&128)===128)}catch{}}var Zo=Math.clz32?Math.clz32:u4,s4=Math.log,l4=Math.LN2;function u4(e){return e>>>=0,e===0?32:31-(s4(e)/l4|0)|0}var qp=64,$p=4194304;function zc(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 Sm(e,t){var r=e.pendingLanes;if(r===0)return 0;var o=0,n=e.suspendedLanes,a=e.pingedLanes,i=r&268435455;if(i!==0){var s=i&~n;s!==0?o=zc(s):(a&=i,a!==0&&(o=zc(a)))}else i=r&~n,i!==0?o=zc(i):a!==0&&(o=zc(a));if(o===0)return 0;if(t!==0&&t!==o&&!(t&n)&&(n=o&-o,a=t&-t,n>=a||n===16&&(a&4194240)!==0))return t;if(o&4&&(o|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=o;0<t;)r=31-Zo(t),n=1<<r,o|=e[r],t&=~n;return o}function c4(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function d4(e,t){for(var r=e.suspendedLanes,o=e.pingedLanes,n=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-Zo(a),s=1<<i,l=n[i];l===-1?(!(s&r)||s&o)&&(n[i]=c4(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}function Tx(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function bP(){var e=qp;return qp<<=1,!(qp&4194240)&&(qp=64),e}function Ky(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function hd(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Zo(t),e[t]=r}function f4(e,t){var r=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 o=e.eventTimes;for(e=e.expirationTimes;0<r;){var n=31-Zo(r),a=1<<n;t[n]=0,o[n]=-1,e[n]=-1,r&=~a}}function f0(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var o=31-Zo(r),n=1<<o;n&t|e[o]&t&&(e[o]|=t),r&=~n}}var Oe=0;function RP(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var LP,p0,IP,PP,TP,kx=!1,Kp=[],Ja=null,ei=null,ti=null,rd=new Map,od=new Map,Xa=[],p4="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function nI(e,t){switch(e){case"focusin":case"focusout":Ja=null;break;case"dragenter":case"dragleave":ei=null;break;case"mouseover":case"mouseout":ti=null;break;case"pointerover":case"pointerout":rd.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":od.delete(t.pointerId)}}function Dc(e,t,r,o,n,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:r,eventSystemFlags:o,nativeEvent:a,targetContainers:[n]},t!==null&&(t=yd(t),t!==null&&p0(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function m4(e,t,r,o,n){switch(t){case"focusin":return Ja=Dc(Ja,e,t,r,o,n),!0;case"dragenter":return ei=Dc(ei,e,t,r,o,n),!0;case"mouseover":return ti=Dc(ti,e,t,r,o,n),!0;case"pointerover":var a=n.pointerId;return rd.set(a,Dc(rd.get(a)||null,e,t,r,o,n)),!0;case"gotpointercapture":return a=n.pointerId,od.set(a,Dc(od.get(a)||null,e,t,r,o,n)),!0}return!1}function kP(e){var t=ls(e.target);if(t!==null){var r=xs(t);if(r!==null){if(t=r.tag,t===13){if(t=vP(r),t!==null){e.blockedOn=t,TP(e.priority,function(){IP(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function lm(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=Mx(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var o=new r.constructor(r.type,r);Rx=o,r.target.dispatchEvent(o),Rx=null}else return t=yd(r),t!==null&&p0(t),e.blockedOn=r,!1;t.shift()}return!0}function aI(e,t,r){lm(e)&&r.delete(t)}function g4(){kx=!1,Ja!==null&&lm(Ja)&&(Ja=null),ei!==null&&lm(ei)&&(ei=null),ti!==null&&lm(ti)&&(ti=null),rd.forEach(aI),od.forEach(aI)}function Nc(e,t){e.blockedOn===t&&(e.blockedOn=null,kx||(kx=!0,io.unstable_scheduleCallback(io.unstable_NormalPriority,g4)))}function nd(e){function t(n){return Nc(n,e)}if(0<Kp.length){Nc(Kp[0],e);for(var r=1;r<Kp.length;r++){var o=Kp[r];o.blockedOn===e&&(o.blockedOn=null)}}for(Ja!==null&&Nc(Ja,e),ei!==null&&Nc(ei,e),ti!==null&&Nc(ti,e),rd.forEach(t),od.forEach(t),r=0;r<Xa.length;r++)o=Xa[r],o.blockedOn===e&&(o.blockedOn=null);for(;0<Xa.length&&(r=Xa[0],r.blockedOn===null);)kP(r),r.blockedOn===null&&Xa.shift()}var Vl=ca.ReactCurrentBatchConfig,bm=!0;function h4(e,t,r,o){var n=Oe,a=Vl.transition;Vl.transition=null;try{Oe=1,m0(e,t,r,o)}finally{Oe=n,Vl.transition=a}}function v4(e,t,r,o){var n=Oe,a=Vl.transition;Vl.transition=null;try{Oe=4,m0(e,t,r,o)}finally{Oe=n,Vl.transition=a}}function m0(e,t,r,o){if(bm){var n=Mx(e,t,r,o);if(n===null)tx(e,t,o,Rm,r),nI(e,o);else if(m4(n,e,t,r,o))o.stopPropagation();else if(nI(e,o),t&4&&-1<p4.indexOf(e)){for(;n!==null;){var a=yd(n);if(a!==null&&LP(a),a=Mx(e,t,r,o),a===null&&tx(e,t,o,Rm,r),a===n)break;n=a}n!==null&&o.stopPropagation()}else tx(e,t,o,null,r)}}var Rm=null;function Mx(e,t,r,o){if(Rm=null,e=c0(o),e=ls(e),e!==null)if(t=xs(e),t===null)e=null;else if(r=t.tag,r===13){if(e=vP(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Rm=e,null}function MP(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(n4()){case d0:return 1;case CP:return 4;case Cm:case a4:return 16;case SP:return 536870912;default:return 16}default:return 16}}var Qa=null,g0=null,um=null;function EP(){if(um)return um;var e,t=g0,r=t.length,o,n="value"in Qa?Qa.value:Qa.textContent,a=n.length;for(e=0;e<r&&t[e]===n[e];e++);var i=r-e;for(o=1;o<=i&&t[r-o]===n[a-o];o++);return um=n.slice(e,1<o?1-o:void 0)}function cm(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Xp(){return!0}function iI(){return!1}function so(e){function t(r,o,n,a,i){this._reactName=r,this._targetInst=n,this.type=o,this.nativeEvent=a,this.target=i,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(r=e[s],this[s]=r?r(a):a[s]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?Xp:iI,this.isPropagationStopped=iI,this}return pt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Xp)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Xp)},persist:function(){},isPersistent:Xp}),t}var Kl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},h0=so(Kl),vd=pt({},Kl,{view:0,detail:0}),y4=so(vd),Xy,Yy,_c,Wm=pt({},vd,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:v0,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==_c&&(_c&&e.type==="mousemove"?(Xy=e.screenX-_c.screenX,Yy=e.screenY-_c.screenY):Yy=Xy=0,_c=e),Xy)},movementY:function(e){return"movementY"in e?e.movementY:Yy}}),sI=so(Wm),x4=pt({},Wm,{dataTransfer:0}),w4=so(x4),C4=pt({},vd,{relatedTarget:0}),Qy=so(C4),S4=pt({},Kl,{animationName:0,elapsedTime:0,pseudoElement:0}),b4=so(S4),R4=pt({},Kl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),L4=so(R4),I4=pt({},Kl,{data:0}),lI=so(I4),P4={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},T4={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},k4={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function M4(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=k4[e])?!!t[e]:!1}function v0(){return M4}var E4=pt({},vd,{key:function(e){if(e.key){var t=P4[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=cm(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?T4[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:v0,charCode:function(e){return e.type==="keypress"?cm(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?cm(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),A4=so(E4),D4=pt({},Wm,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),uI=so(D4),N4=pt({},vd,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:v0}),_4=so(N4),O4=pt({},Kl,{propertyName:0,elapsedTime:0,pseudoElement:0}),F4=so(O4),V4=pt({},Wm,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),B4=so(V4),H4=[9,13,27,32],y0=ia&&"CompositionEvent"in window,qc=null;ia&&"documentMode"in document&&(qc=document.documentMode);var U4=ia&&"TextEvent"in window&&!qc,AP=ia&&(!y0||qc&&8<qc&&11>=qc),cI=String.fromCharCode(32),dI=!1;function DP(e,t){switch(e){case"keyup":return H4.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function NP(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ll=!1;function z4(e,t){switch(e){case"compositionend":return NP(t);case"keypress":return t.which!==32?null:(dI=!0,cI);case"textInput":return e=t.data,e===cI&&dI?null:e;default:return null}}function W4(e,t){if(Ll)return e==="compositionend"||!y0&&DP(e,t)?(e=EP(),um=g0=Qa=null,Ll=!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.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return AP&&t.locale!=="ko"?null:t.data;default:return null}}var G4={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function fI(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!G4[e.type]:t==="textarea"}function _P(e,t,r,o){fP(o),t=Lm(t,"onChange"),0<t.length&&(r=new h0("onChange","change",null,r,o),e.push({event:r,listeners:t}))}var $c=null,ad=null;function j4(e){qP(e,0)}function Gm(e){var t=Tl(e);if(aP(t))return e}function q4(e,t){if(e==="change")return t}var OP=!1;ia&&(ia?(Qp="oninput"in document,Qp||(Zy=document.createElement("div"),Zy.setAttribute("oninput","return;"),Qp=typeof Zy.oninput=="function"),Yp=Qp):Yp=!1,OP=Yp&&(!document.documentMode||9<document.documentMode));var Yp,Qp,Zy;function pI(){$c&&($c.detachEvent("onpropertychange",FP),ad=$c=null)}function FP(e){if(e.propertyName==="value"&&Gm(ad)){var t=[];_P(t,ad,e,c0(e)),hP(j4,t)}}function $4(e,t,r){e==="focusin"?(pI(),$c=t,ad=r,$c.attachEvent("onpropertychange",FP)):e==="focusout"&&pI()}function K4(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Gm(ad)}function X4(e,t){if(e==="click")return Gm(t)}function Y4(e,t){if(e==="input"||e==="change")return Gm(t)}function Q4(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var en=typeof Object.is=="function"?Object.is:Q4;function id(e,t){if(en(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(o=0;o<r.length;o++){var n=r[o];if(!fx.call(t,n)||!en(e[n],t[n]))return!1}return!0}function mI(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function gI(e,t){var r=mI(e);e=0;for(var o;r;){if(r.nodeType===3){if(o=e+r.textContent.length,e<=t&&o>=t)return{node:r,offset:t-e};e=o}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=mI(r)}}function VP(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?VP(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function BP(){for(var e=window,t=ym();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=ym(e.document)}return t}function x0(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 Z4(e){var t=BP(),r=e.focusedElem,o=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&VP(r.ownerDocument.documentElement,r)){if(o!==null&&x0(r)){if(t=o.start,e=o.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var n=r.textContent.length,a=Math.min(o.start,n);o=o.end===void 0?a:Math.min(o.end,n),!e.extend&&a>o&&(n=o,o=a,a=n),n=gI(r,a);var i=gI(r,o);n&&i&&(e.rangeCount!==1||e.anchorNode!==n.node||e.anchorOffset!==n.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(n.node,n.offset),e.removeAllRanges(),a>o?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var J4=ia&&"documentMode"in document&&11>=document.documentMode,Il=null,Ex=null,Kc=null,Ax=!1;function hI(e,t,r){var o=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Ax||Il==null||Il!==ym(o)||(o=Il,"selectionStart"in o&&x0(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Kc&&id(Kc,o)||(Kc=o,o=Lm(Ex,"onSelect"),0<o.length&&(t=new h0("onSelect","select",null,t,r),e.push({event:t,listeners:o}),t.target=Il)))}function Zp(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Pl={animationend:Zp("Animation","AnimationEnd"),animationiteration:Zp("Animation","AnimationIteration"),animationstart:Zp("Animation","AnimationStart"),transitionend:Zp("Transition","TransitionEnd")},Jy={},HP={};ia&&(HP=document.createElement("div").style,"AnimationEvent"in window||(delete Pl.animationend.animation,delete Pl.animationiteration.animation,delete Pl.animationstart.animation),"TransitionEvent"in window||delete Pl.transitionend.transition);function jm(e){if(Jy[e])return Jy[e];if(!Pl[e])return e;var t=Pl[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in HP)return Jy[e]=t[r];return e}var UP=jm("animationend"),zP=jm("animationiteration"),WP=jm("animationstart"),GP=jm("transitionend"),jP=new Map,vI="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ui(e,t){jP.set(e,t),ys(t,[e])}for(Jp=0;Jp<vI.length;Jp++)em=vI[Jp],yI=em.toLowerCase(),xI=em[0].toUpperCase()+em.slice(1),ui(yI,"on"+xI);var em,yI,xI,Jp;ui(UP,"onAnimationEnd");ui(zP,"onAnimationIteration");ui(WP,"onAnimationStart");ui("dblclick","onDoubleClick");ui("focusin","onFocus");ui("focusout","onBlur");ui(GP,"onTransitionEnd");Ul("onMouseEnter",["mouseout","mouseover"]);Ul("onMouseLeave",["mouseout","mouseover"]);Ul("onPointerEnter",["pointerout","pointerover"]);Ul("onPointerLeave",["pointerout","pointerover"]);ys("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ys("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ys("onBeforeInput",["compositionend","keypress","textInput","paste"]);ys("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ys("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ys("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ez=new Set("cancel close invalid load scroll toggle".split(" ").concat(Wc));function wI(e,t,r){var o=e.type||"unknown-event";e.currentTarget=r,e4(o,t,void 0,e),e.currentTarget=null}function qP(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var o=e[r],n=o.event;o=o.listeners;e:{var a=void 0;if(t)for(var i=o.length-1;0<=i;i--){var s=o[i],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==a&&n.isPropagationStopped())break e;wI(n,s,u),a=l}else for(i=0;i<o.length;i++){if(s=o[i],l=s.instance,u=s.currentTarget,s=s.listener,l!==a&&n.isPropagationStopped())break e;wI(n,s,u),a=l}}}if(wm)throw e=Px,wm=!1,Px=null,e}function Qe(e,t){var r=t[Fx];r===void 0&&(r=t[Fx]=new Set);var o=e+"__bubble";r.has(o)||($P(t,e,2,!1),r.add(o))}function ex(e,t,r){var o=0;t&&(o|=4),$P(r,e,o,t)}var tm="_reactListening"+Math.random().toString(36).slice(2);function sd(e){if(!e[tm]){e[tm]=!0,eP.forEach(function(r){r!=="selectionchange"&&(ez.has(r)||ex(r,!1,e),ex(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[tm]||(t[tm]=!0,ex("selectionchange",!1,t))}}function $P(e,t,r,o){switch(MP(t)){case 1:var n=h4;break;case 4:n=v4;break;default:n=m0}r=n.bind(null,t,r,e),n=void 0,!Ix||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),o?n!==void 0?e.addEventListener(t,r,{capture:!0,passive:n}):e.addEventListener(t,r,!0):n!==void 0?e.addEventListener(t,r,{passive:n}):e.addEventListener(t,r,!1)}function tx(e,t,r,o,n){var a=o;if(!(t&1)&&!(t&2)&&o!==null)e:for(;;){if(o===null)return;var i=o.tag;if(i===3||i===4){var s=o.stateNode.containerInfo;if(s===n||s.nodeType===8&&s.parentNode===n)break;if(i===4)for(i=o.return;i!==null;){var l=i.tag;if((l===3||l===4)&&(l=i.stateNode.containerInfo,l===n||l.nodeType===8&&l.parentNode===n))return;i=i.return}for(;s!==null;){if(i=ls(s),i===null)return;if(l=i.tag,l===5||l===6){o=a=i;continue e}s=s.parentNode}}o=o.return}hP(function(){var u=a,c=c0(r),d=[];e:{var f=jP.get(e);if(f!==void 0){var p=h0,h=e;switch(e){case"keypress":if(cm(r)===0)break e;case"keydown":case"keyup":p=A4;break;case"focusin":h="focus",p=Qy;break;case"focusout":h="blur",p=Qy;break;case"beforeblur":case"afterblur":p=Qy;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=sI;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=w4;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=_4;break;case UP:case zP:case WP:p=b4;break;case GP:p=F4;break;case"scroll":p=y4;break;case"wheel":p=B4;break;case"copy":case"cut":case"paste":p=L4;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=uI}var m=(t&4)!==0,x=!m&&e==="scroll",v=m?f!==null?f+"Capture":null:f;m=[];for(var g=u,y;g!==null;){y=g;var w=y.stateNode;if(y.tag===5&&w!==null&&(y=w,v!==null&&(w=td(g,v),w!=null&&m.push(ld(g,w,y)))),x)break;g=g.return}0<m.length&&(f=new p(f,h,null,r,c),d.push({event:f,listeners:m}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",f&&r!==Rx&&(h=r.relatedTarget||r.fromElement)&&(ls(h)||h[sa]))break e;if((p||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,p?(h=r.relatedTarget||r.toElement,p=u,h=h?ls(h):null,h!==null&&(x=xs(h),h!==x||h.tag!==5&&h.tag!==6)&&(h=null)):(p=null,h=u),p!==h)){if(m=sI,w="onMouseLeave",v="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(m=uI,w="onPointerLeave",v="onPointerEnter",g="pointer"),x=p==null?f:Tl(p),y=h==null?f:Tl(h),f=new m(w,g+"leave",p,r,c),f.target=x,f.relatedTarget=y,w=null,ls(c)===u&&(m=new m(v,g+"enter",h,r,c),m.target=y,m.relatedTarget=x,w=m),x=w,p&&h)t:{for(m=p,v=h,g=0,y=m;y;y=Sl(y))g++;for(y=0,w=v;w;w=Sl(w))y++;for(;0<g-y;)m=Sl(m),g--;for(;0<y-g;)v=Sl(v),y--;for(;g--;){if(m===v||v!==null&&m===v.alternate)break t;m=Sl(m),v=Sl(v)}m=null}else m=null;p!==null&&CI(d,f,p,m,!1),h!==null&&x!==null&&CI(d,x,h,m,!0)}}e:{if(f=u?Tl(u):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var C=q4;else if(fI(f))if(OP)C=Y4;else{C=K4;var R=$4}else(p=f.nodeName)&&p.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(C=X4);if(C&&(C=C(e,u))){_P(d,C,r,c);break e}R&&R(e,f,u),e==="focusout"&&(R=f._wrapperState)&&R.controlled&&f.type==="number"&&xx(f,"number",f.value)}switch(R=u?Tl(u):window,e){case"focusin":(fI(R)||R.contentEditable==="true")&&(Il=R,Ex=u,Kc=null);break;case"focusout":Kc=Ex=Il=null;break;case"mousedown":Ax=!0;break;case"contextmenu":case"mouseup":case"dragend":Ax=!1,hI(d,r,c);break;case"selectionchange":if(J4)break;case"keydown":case"keyup":hI(d,r,c)}var S;if(y0)e:{switch(e){case"compositionstart":var L="onCompositionStart";break e;case"compositionend":L="onCompositionEnd";break e;case"compositionupdate":L="onCompositionUpdate";break e}L=void 0}else Ll?DP(e,r)&&(L="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(L="onCompositionStart");L&&(AP&&r.locale!=="ko"&&(Ll||L!=="onCompositionStart"?L==="onCompositionEnd"&&Ll&&(S=EP()):(Qa=c,g0="value"in Qa?Qa.value:Qa.textContent,Ll=!0)),R=Lm(u,L),0<R.length&&(L=new lI(L,e,null,r,c),d.push({event:L,listeners:R}),S?L.data=S:(S=NP(r),S!==null&&(L.data=S)))),(S=U4?z4(e,r):W4(e,r))&&(u=Lm(u,"onBeforeInput"),0<u.length&&(c=new lI("onBeforeInput","beforeinput",null,r,c),d.push({event:c,listeners:u}),c.data=S))}qP(d,t)})}function ld(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Lm(e,t){for(var r=t+"Capture",o=[];e!==null;){var n=e,a=n.stateNode;n.tag===5&&a!==null&&(n=a,a=td(e,r),a!=null&&o.unshift(ld(e,a,n)),a=td(e,t),a!=null&&o.push(ld(e,a,n))),e=e.return}return o}function Sl(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function CI(e,t,r,o,n){for(var a=t._reactName,i=[];r!==null&&r!==o;){var s=r,l=s.alternate,u=s.stateNode;if(l!==null&&l===o)break;s.tag===5&&u!==null&&(s=u,n?(l=td(r,a),l!=null&&i.unshift(ld(r,l,s))):n||(l=td(r,a),l!=null&&i.push(ld(r,l,s)))),r=r.return}i.length!==0&&e.push({event:t,listeners:i})}var tz=/\r\n?/g,rz=/\u0000|\uFFFD/g;function SI(e){return(typeof e=="string"?e:""+e).replace(tz,`
|
|
7
7
|
`).replace(rz,"")}function rm(e,t,r){if(t=SI(t),SI(e)!==t&&r)throw Error(W(425))}function Im(){}var Dx=null,Nx=null;function _x(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ox=typeof setTimeout=="function"?setTimeout:void 0,oz=typeof clearTimeout=="function"?clearTimeout:void 0,bI=typeof Promise=="function"?Promise:void 0,nz=typeof queueMicrotask=="function"?queueMicrotask:typeof bI<"u"?function(e){return bI.resolve(null).then(e).catch(az)}:Ox;function az(e){setTimeout(function(){throw e})}function rx(e,t){var r=t,o=0;do{var n=r.nextSibling;if(e.removeChild(r),n&&n.nodeType===8)if(r=n.data,r==="/$"){if(o===0){e.removeChild(n),nd(t);return}o--}else r!=="$"&&r!=="$?"&&r!=="$!"||o++;r=n}while(r);nd(t)}function ri(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function RI(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var Xl=Math.random().toString(36).slice(2),An="__reactFiber$"+Xl,ud="__reactProps$"+Xl,sa="__reactContainer$"+Xl,Fx="__reactEvents$"+Xl,iz="__reactListeners$"+Xl,sz="__reactHandles$"+Xl;function ls(e){var t=e[An];if(t)return t;for(var r=e.parentNode;r;){if(t=r[sa]||r[An]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=RI(e);e!==null;){if(r=e[An])return r;e=RI(e)}return t}e=r,r=e.parentNode}return null}function yd(e){return e=e[An]||e[sa],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Tl(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(W(33))}function qm(e){return e[ud]||null}var Vx=[],kl=-1;function ci(e){return{current:e}}function Ze(e){0>kl||(e.current=Vx[kl],Vx[kl]=null,kl--)}function je(e,t){kl++,Vx[kl]=e.current,e.current=t}var li={},ir=ci(li),Hr=ci(!1),ps=li;function zl(e,t){var r=e.type.contextTypes;if(!r)return li;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var n={},a;for(a in r)n[a]=t[a];return o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=n),n}function Ur(e){return e=e.childContextTypes,e!=null}function Pm(){Ze(Hr),Ze(ir)}function LI(e,t,r){if(ir.current!==li)throw Error(W(168));je(ir,t),je(Hr,r)}function KP(e,t,r){var o=e.stateNode;if(t=t.childContextTypes,typeof o.getChildContext!="function")return r;o=o.getChildContext();for(var n in o)if(!(n in t))throw Error(W(108,$U(e)||"Unknown",n));return pt({},r,o)}function Tm(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||li,ps=ir.current,je(ir,e),je(Hr,Hr.current),!0}function II(e,t,r){var o=e.stateNode;if(!o)throw Error(W(169));r?(e=KP(e,t,ps),o.__reactInternalMemoizedMergedChildContext=e,Ze(Hr),Ze(ir),je(ir,e)):Ze(Hr),je(Hr,r)}var ra=null,$m=!1,ox=!1;function XP(e){ra===null?ra=[e]:ra.push(e)}function lz(e){$m=!0,XP(e)}function di(){if(!ox&&ra!==null){ox=!0;var e=0,t=Oe;try{var r=ra;for(Oe=1;e<r.length;e++){var o=r[e];do o=o(!0);while(o!==null)}ra=null,$m=!1}catch(n){throw ra!==null&&(ra=ra.slice(e+1)),wP(d0,di),n}finally{Oe=t,ox=!1}}return null}var Ml=[],El=0,km=null,Mm=0,bo=[],Ro=0,ms=null,oa=1,na="";function is(e,t){Ml[El++]=Mm,Ml[El++]=km,km=e,Mm=t}function YP(e,t,r){bo[Ro++]=oa,bo[Ro++]=na,bo[Ro++]=ms,ms=e;var o=oa;e=na;var n=32-Zo(o)-1;o&=~(1<<n),r+=1;var a=32-Zo(t)+n;if(30<a){var i=n-n%5;a=(o&(1<<i)-1).toString(32),o>>=i,n-=i,oa=1<<32-Zo(t)+n|r<<n|o,na=a+e}else oa=1<<a|r<<n|o,na=e}function w0(e){e.return!==null&&(is(e,1),YP(e,1,0))}function C0(e){for(;e===km;)km=Ml[--El],Ml[El]=null,Mm=Ml[--El],Ml[El]=null;for(;e===ms;)ms=bo[--Ro],bo[Ro]=null,na=bo[--Ro],bo[Ro]=null,oa=bo[--Ro],bo[Ro]=null}var ao=null,no=null,at=!1,Qo=null;function QP(e,t){var r=Lo(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function PI(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ao=e,no=ri(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ao=e,no=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=ms!==null?{id:oa,overflow:na}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=Lo(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,ao=e,no=null,!0):!1;default:return!1}}function Bx(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Hx(e){if(at){var t=no;if(t){var r=t;if(!PI(e,t)){if(Bx(e))throw Error(W(418));t=ri(r.nextSibling);var o=ao;t&&PI(e,t)?QP(o,r):(e.flags=e.flags&-4097|2,at=!1,ao=e)}}else{if(Bx(e))throw Error(W(418));e.flags=e.flags&-4097|2,at=!1,ao=e}}}function TI(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ao=e}function om(e){if(e!==ao)return!1;if(!at)return TI(e),at=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!_x(e.type,e.memoizedProps)),t&&(t=no)){if(Bx(e))throw ZP(),Error(W(418));for(;t;)QP(e,t),t=ri(t.nextSibling)}if(TI(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(W(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){no=ri(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}no=null}}else no=ao?ri(e.stateNode.nextSibling):null;return!0}function ZP(){for(var e=no;e;)e=ri(e.nextSibling)}function Wl(){no=ao=null,at=!1}function S0(e){Qo===null?Qo=[e]:Qo.push(e)}var uz=ca.ReactCurrentBatchConfig;function Oc(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(W(309));var o=r.stateNode}if(!o)throw Error(W(147,e));var n=o,a=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a?t.ref:(t=function(i){var s=n.refs;i===null?delete s[a]:s[a]=i},t._stringRef=a,t)}if(typeof e!="string")throw Error(W(284));if(!r._owner)throw Error(W(290,e))}return e}function nm(e,t){throw e=Object.prototype.toString.call(t),Error(W(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function kI(e){var t=e._init;return t(e._payload)}function JP(e){function t(v,g){if(e){var y=v.deletions;y===null?(v.deletions=[g],v.flags|=16):y.push(g)}}function r(v,g){if(!e)return null;for(;g!==null;)t(v,g),g=g.sibling;return null}function o(v,g){for(v=new Map;g!==null;)g.key!==null?v.set(g.key,g):v.set(g.index,g),g=g.sibling;return v}function n(v,g){return v=ii(v,g),v.index=0,v.sibling=null,v}function a(v,g,y){return v.index=y,e?(y=v.alternate,y!==null?(y=y.index,y<g?(v.flags|=2,g):y):(v.flags|=2,g)):(v.flags|=1048576,g)}function i(v){return e&&v.alternate===null&&(v.flags|=2),v}function s(v,g,y,w){return g===null||g.tag!==6?(g=cx(y,v.mode,w),g.return=v,g):(g=n(g,y),g.return=v,g)}function l(v,g,y,w){var C=y.type;return C===Rl?c(v,g,y.props.children,w,y.key):g!==null&&(g.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===$a&&kI(C)===g.type)?(w=n(g,y.props),w.ref=Oc(v,g,y),w.return=v,w):(w=vm(y.type,y.key,y.props,null,v.mode,w),w.ref=Oc(v,g,y),w.return=v,w)}function u(v,g,y,w){return g===null||g.tag!==4||g.stateNode.containerInfo!==y.containerInfo||g.stateNode.implementation!==y.implementation?(g=dx(y,v.mode,w),g.return=v,g):(g=n(g,y.children||[]),g.return=v,g)}function c(v,g,y,w,C){return g===null||g.tag!==7?(g=fs(y,v.mode,w,C),g.return=v,g):(g=n(g,y),g.return=v,g)}function d(v,g,y){if(typeof g=="string"&&g!==""||typeof g=="number")return g=cx(""+g,v.mode,y),g.return=v,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Wp:return y=vm(g.type,g.key,g.props,null,v.mode,y),y.ref=Oc(v,null,g),y.return=v,y;case bl:return g=dx(g,v.mode,y),g.return=v,g;case $a:var w=g._init;return d(v,w(g._payload),y)}if(Uc(g)||Ac(g))return g=fs(g,v.mode,y,null),g.return=v,g;nm(v,g)}return null}function f(v,g,y,w){var C=g!==null?g.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return C!==null?null:s(v,g,""+y,w);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Wp:return y.key===C?l(v,g,y,w):null;case bl:return y.key===C?u(v,g,y,w):null;case $a:return C=y._init,f(v,g,C(y._payload),w)}if(Uc(y)||Ac(y))return C!==null?null:c(v,g,y,w,null);nm(v,y)}return null}function p(v,g,y,w,C){if(typeof w=="string"&&w!==""||typeof w=="number")return v=v.get(y)||null,s(g,v,""+w,C);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Wp:return v=v.get(w.key===null?y:w.key)||null,l(g,v,w,C);case bl:return v=v.get(w.key===null?y:w.key)||null,u(g,v,w,C);case $a:var R=w._init;return p(v,g,y,R(w._payload),C)}if(Uc(w)||Ac(w))return v=v.get(y)||null,c(g,v,w,C,null);nm(g,w)}return null}function h(v,g,y,w){for(var C=null,R=null,S=g,L=g=0,T=null;S!==null&&L<y.length;L++){S.index>L?(T=S,S=null):T=S.sibling;var P=f(v,S,y[L],w);if(P===null){S===null&&(S=T);break}e&&S&&P.alternate===null&&t(v,S),g=a(P,g,L),R===null?C=P:R.sibling=P,R=P,S=T}if(L===y.length)return r(v,S),at&&is(v,L),C;if(S===null){for(;L<y.length;L++)S=d(v,y[L],w),S!==null&&(g=a(S,g,L),R===null?C=S:R.sibling=S,R=S);return at&&is(v,L),C}for(S=o(v,S);L<y.length;L++)T=p(S,v,L,y[L],w),T!==null&&(e&&T.alternate!==null&&S.delete(T.key===null?L:T.key),g=a(T,g,L),R===null?C=T:R.sibling=T,R=T);return e&&S.forEach(function(N){return t(v,N)}),at&&is(v,L),C}function m(v,g,y,w){var C=Ac(y);if(typeof C!="function")throw Error(W(150));if(y=C.call(y),y==null)throw Error(W(151));for(var R=C=null,S=g,L=g=0,T=null,P=y.next();S!==null&&!P.done;L++,P=y.next()){S.index>L?(T=S,S=null):T=S.sibling;var N=f(v,S,P.value,w);if(N===null){S===null&&(S=T);break}e&&S&&N.alternate===null&&t(v,S),g=a(N,g,L),R===null?C=N:R.sibling=N,R=N,S=T}if(P.done)return r(v,S),at&&is(v,L),C;if(S===null){for(;!P.done;L++,P=y.next())P=d(v,P.value,w),P!==null&&(g=a(P,g,L),R===null?C=P:R.sibling=P,R=P);return at&&is(v,L),C}for(S=o(v,S);!P.done;L++,P=y.next())P=p(S,v,L,P.value,w),P!==null&&(e&&P.alternate!==null&&S.delete(P.key===null?L:P.key),g=a(P,g,L),R===null?C=P:R.sibling=P,R=P);return e&&S.forEach(function(F){return t(v,F)}),at&&is(v,L),C}function x(v,g,y,w){if(typeof y=="object"&&y!==null&&y.type===Rl&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Wp:e:{for(var C=y.key,R=g;R!==null;){if(R.key===C){if(C=y.type,C===Rl){if(R.tag===7){r(v,R.sibling),g=n(R,y.props.children),g.return=v,v=g;break e}}else if(R.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===$a&&kI(C)===R.type){r(v,R.sibling),g=n(R,y.props),g.ref=Oc(v,R,y),g.return=v,v=g;break e}r(v,R);break}else t(v,R);R=R.sibling}y.type===Rl?(g=fs(y.props.children,v.mode,w,y.key),g.return=v,v=g):(w=vm(y.type,y.key,y.props,null,v.mode,w),w.ref=Oc(v,g,y),w.return=v,v=w)}return i(v);case bl:e:{for(R=y.key;g!==null;){if(g.key===R)if(g.tag===4&&g.stateNode.containerInfo===y.containerInfo&&g.stateNode.implementation===y.implementation){r(v,g.sibling),g=n(g,y.children||[]),g.return=v,v=g;break e}else{r(v,g);break}else t(v,g);g=g.sibling}g=dx(y,v.mode,w),g.return=v,v=g}return i(v);case $a:return R=y._init,x(v,g,R(y._payload),w)}if(Uc(y))return h(v,g,y,w);if(Ac(y))return m(v,g,y,w);nm(v,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,g!==null&&g.tag===6?(r(v,g.sibling),g=n(g,y),g.return=v,v=g):(r(v,g),g=cx(y,v.mode,w),g.return=v,v=g),i(v)):r(v,g)}return x}var Gl=JP(!0),e1=JP(!1),Em=ci(null),Am=null,Al=null,b0=null;function R0(){b0=Al=Am=null}function L0(e){var t=Em.current;Ze(Em),e._currentValue=t}function Ux(e,t,r){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===r)break;e=e.return}}function Bl(e,t){Am=e,b0=Al=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Br=!0),e.firstContext=null)}function Po(e){var t=e._currentValue;if(b0!==e)if(e={context:e,memoizedValue:t,next:null},Al===null){if(Am===null)throw Error(W(308));Al=e,Am.dependencies={lanes:0,firstContext:e}}else Al=Al.next=e;return t}var us=null;function I0(e){us===null?us=[e]:us.push(e)}function t1(e,t,r,o){var n=t.interleaved;return n===null?(r.next=r,I0(t)):(r.next=n.next,n.next=r),t.interleaved=r,la(e,o)}function la(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var Ka=!1;function P0(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function r1(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 aa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function oi(e,t,r){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,Ie&2){var n=o.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),o.pending=t,la(e,r)}return n=o.interleaved,n===null?(t.next=t,I0(o)):(t.next=n.next,n.next=t),o.interleaved=t,la(e,r)}function dm(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var o=t.lanes;o&=e.pendingLanes,r|=o,t.lanes=r,f0(e,r)}}function MI(e,t){var r=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,r===o)){var n=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?n=a=i:a=a.next=i,r=r.next}while(r!==null);a===null?n=a=t:a=a.next=t}else n=a=t;r={baseState:o.baseState,firstBaseUpdate:n,lastBaseUpdate:a,shared:o.shared,effects:o.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Dm(e,t,r,o){var n=e.updateQueue;Ka=!1;var a=n.firstBaseUpdate,i=n.lastBaseUpdate,s=n.shared.pending;if(s!==null){n.shared.pending=null;var l=s,u=l.next;l.next=null,i===null?a=u:i.next=u,i=l;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==i&&(s===null?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(a!==null){var d=n.baseState;i=0,c=u=l=null,s=a;do{var f=s.lane,p=s.eventTime;if((o&f)===f){c!==null&&(c=c.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,m=s;switch(f=t,p=r,m.tag){case 1:if(h=m.payload,typeof h=="function"){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=h.flags&-65537|128;case 0:if(h=m.payload,f=typeof h=="function"?h.call(p,d,f):h,f==null)break e;d=pt({},d,f);break e;case 2:Ka=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=n.effects,f===null?n.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(u=c=p,l=d):c=c.next=p,i|=f;if(s=s.next,s===null){if(s=n.shared.pending,s===null)break;f=s,s=f.next,f.next=null,n.lastBaseUpdate=f,n.shared.pending=null}}while(1);if(c===null&&(l=d),n.baseState=l,n.firstBaseUpdate=u,n.lastBaseUpdate=c,t=n.shared.interleaved,t!==null){n=t;do i|=n.lane,n=n.next;while(n!==t)}else a===null&&(n.shared.lanes=0);hs|=i,e.lanes=i,e.memoizedState=d}}function EI(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var o=e[t],n=o.callback;if(n!==null){if(o.callback=null,o=r,typeof n!="function")throw Error(W(191,n));n.call(o)}}}var xd={},Nn=ci(xd),cd=ci(xd),dd=ci(xd);function cs(e){if(e===xd)throw Error(W(174));return e}function T0(e,t){switch(je(dd,t),je(cd,e),je(Nn,xd),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Cx(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Cx(t,e)}Ze(Nn),je(Nn,t)}function jl(){Ze(Nn),Ze(cd),Ze(dd)}function o1(e){cs(dd.current);var t=cs(Nn.current),r=Cx(t,e.type);t!==r&&(je(cd,e),je(Nn,r))}function k0(e){cd.current===e&&(Ze(Nn),Ze(cd))}var dt=ci(0);function Nm(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var nx=[];function M0(){for(var e=0;e<nx.length;e++)nx[e]._workInProgressVersionPrimary=null;nx.length=0}var fm=ca.ReactCurrentDispatcher,ax=ca.ReactCurrentBatchConfig,gs=0,ft=null,Mt=null,Bt=null,_m=!1,Xc=!1,fd=0,cz=0;function or(){throw Error(W(321))}function E0(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!en(e[r],t[r]))return!1;return!0}function A0(e,t,r,o,n,a){if(gs=a,ft=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fm.current=e===null||e.memoizedState===null?mz:gz,e=r(o,n),Xc){a=0;do{if(Xc=!1,fd=0,25<=a)throw Error(W(301));a+=1,Bt=Mt=null,t.updateQueue=null,fm.current=hz,e=r(o,n)}while(Xc)}if(fm.current=Om,t=Mt!==null&&Mt.next!==null,gs=0,Bt=Mt=ft=null,_m=!1,t)throw Error(W(300));return e}function D0(){var e=fd!==0;return fd=0,e}function En(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Bt===null?ft.memoizedState=Bt=e:Bt=Bt.next=e,Bt}function To(){if(Mt===null){var e=ft.alternate;e=e!==null?e.memoizedState:null}else e=Mt.next;var t=Bt===null?ft.memoizedState:Bt.next;if(t!==null)Bt=t,Mt=e;else{if(e===null)throw Error(W(310));Mt=e,e={memoizedState:Mt.memoizedState,baseState:Mt.baseState,baseQueue:Mt.baseQueue,queue:Mt.queue,next:null},Bt===null?ft.memoizedState=Bt=e:Bt=Bt.next=e}return Bt}function pd(e,t){return typeof t=="function"?t(e):t}function ix(e){var t=To(),r=t.queue;if(r===null)throw Error(W(311));r.lastRenderedReducer=e;var o=Mt,n=o.baseQueue,a=r.pending;if(a!==null){if(n!==null){var i=n.next;n.next=a.next,a.next=i}o.baseQueue=n=a,r.pending=null}if(n!==null){a=n.next,o=o.baseState;var s=i=null,l=null,u=a;do{var c=u.lane;if((gs&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),o=u.hasEagerState?u.eagerState:e(o,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(s=l=d,i=o):l=l.next=d,ft.lanes|=c,hs|=c}u=u.next}while(u!==null&&u!==a);l===null?i=o:l.next=s,en(o,t.memoizedState)||(Br=!0),t.memoizedState=o,t.baseState=i,t.baseQueue=l,r.lastRenderedState=o}if(e=r.interleaved,e!==null){n=e;do a=n.lane,ft.lanes|=a,hs|=a,n=n.next;while(n!==e)}else n===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function sx(e){var t=To(),r=t.queue;if(r===null)throw Error(W(311));r.lastRenderedReducer=e;var o=r.dispatch,n=r.pending,a=t.memoizedState;if(n!==null){r.pending=null;var i=n=n.next;do a=e(a,i.action),i=i.next;while(i!==n);en(a,t.memoizedState)||(Br=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),r.lastRenderedState=a}return[a,o]}function n1(){}function a1(e,t){var r=ft,o=To(),n=t(),a=!en(o.memoizedState,n);if(a&&(o.memoizedState=n,Br=!0),o=o.queue,N0(l1.bind(null,r,o,e),[e]),o.getSnapshot!==t||a||Bt!==null&&Bt.memoizedState.tag&1){if(r.flags|=2048,md(9,s1.bind(null,r,o,n,t),void 0,null),Ht===null)throw Error(W(349));gs&30||i1(r,t,n)}return n}function i1(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=ft.updateQueue,t===null?(t={lastEffect:null,stores:null},ft.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function s1(e,t,r,o){t.value=r,t.getSnapshot=o,u1(t)&&c1(e)}function l1(e,t,r){return r(function(){u1(t)&&c1(e)})}function u1(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!en(e,r)}catch{return!0}}function c1(e){var t=la(e,1);t!==null&&Jo(t,e,1,-1)}function AI(e){var t=En();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:pd,lastRenderedState:e},t.queue=e,e=e.dispatch=pz.bind(null,ft,e),[t.memoizedState,e]}function md(e,t,r,o){return e={tag:e,create:t,destroy:r,deps:o,next:null},t=ft.updateQueue,t===null?(t={lastEffect:null,stores:null},ft.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(o=r.next,r.next=e,e.next=o,t.lastEffect=e)),e}function d1(){return To().memoizedState}function pm(e,t,r,o){var n=En();ft.flags|=e,n.memoizedState=md(1|t,r,void 0,o===void 0?null:o)}function Km(e,t,r,o){var n=To();o=o===void 0?null:o;var a=void 0;if(Mt!==null){var i=Mt.memoizedState;if(a=i.destroy,o!==null&&E0(o,i.deps)){n.memoizedState=md(t,r,a,o);return}}ft.flags|=e,n.memoizedState=md(1|t,r,a,o)}function DI(e,t){return pm(8390656,8,e,t)}function N0(e,t){return Km(2048,8,e,t)}function f1(e,t){return Km(4,2,e,t)}function p1(e,t){return Km(4,4,e,t)}function m1(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function g1(e,t,r){return r=r!=null?r.concat([e]):null,Km(4,4,m1.bind(null,t,e),r)}function _0(){}function h1(e,t){var r=To();t=t===void 0?null:t;var o=r.memoizedState;return o!==null&&t!==null&&E0(t,o[1])?o[0]:(r.memoizedState=[e,t],e)}function v1(e,t){var r=To();t=t===void 0?null:t;var o=r.memoizedState;return o!==null&&t!==null&&E0(t,o[1])?o[0]:(e=e(),r.memoizedState=[e,t],e)}function y1(e,t,r){return gs&21?(en(r,t)||(r=bP(),ft.lanes|=r,hs|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Br=!0),e.memoizedState=r)}function dz(e,t){var r=Oe;Oe=r!==0&&4>r?r:4,e(!0);var o=ax.transition;ax.transition={};try{e(!1),t()}finally{Oe=r,ax.transition=o}}function x1(){return To().memoizedState}function fz(e,t,r){var o=ai(e);if(r={lane:o,action:r,hasEagerState:!1,eagerState:null,next:null},w1(e))C1(t,r);else if(r=t1(e,t,r,o),r!==null){var n=Lr();Jo(r,e,o,n),S1(r,t,o)}}function pz(e,t,r){var o=ai(e),n={lane:o,action:r,hasEagerState:!1,eagerState:null,next:null};if(w1(e))C1(t,n);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var i=t.lastRenderedState,s=a(i,r);if(n.hasEagerState=!0,n.eagerState=s,en(s,i)){var l=t.interleaved;l===null?(n.next=n,I0(t)):(n.next=l.next,l.next=n),t.interleaved=n;return}}catch{}finally{}r=t1(e,t,n,o),r!==null&&(n=Lr(),Jo(r,e,o,n),S1(r,t,o))}}function w1(e){var t=e.alternate;return e===ft||t!==null&&t===ft}function C1(e,t){Xc=_m=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function S1(e,t,r){if(r&4194240){var o=t.lanes;o&=e.pendingLanes,r|=o,t.lanes=r,f0(e,r)}}var Om={readContext:Po,useCallback:or,useContext:or,useEffect:or,useImperativeHandle:or,useInsertionEffect:or,useLayoutEffect:or,useMemo:or,useReducer:or,useRef:or,useState:or,useDebugValue:or,useDeferredValue:or,useTransition:or,useMutableSource:or,useSyncExternalStore:or,useId:or,unstable_isNewReconciler:!1},mz={readContext:Po,useCallback:function(e,t){return En().memoizedState=[e,t===void 0?null:t],e},useContext:Po,useEffect:DI,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,pm(4194308,4,m1.bind(null,t,e),r)},useLayoutEffect:function(e,t){return pm(4194308,4,e,t)},useInsertionEffect:function(e,t){return pm(4,2,e,t)},useMemo:function(e,t){var r=En();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var o=En();return t=r!==void 0?r(t):t,o.memoizedState=o.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},o.queue=e,e=e.dispatch=fz.bind(null,ft,e),[o.memoizedState,e]},useRef:function(e){var t=En();return e={current:e},t.memoizedState=e},useState:AI,useDebugValue:_0,useDeferredValue:function(e){return En().memoizedState=e},useTransition:function(){var e=AI(!1),t=e[0];return e=dz.bind(null,e[1]),En().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var o=ft,n=En();if(at){if(r===void 0)throw Error(W(407));r=r()}else{if(r=t(),Ht===null)throw Error(W(349));gs&30||i1(o,t,r)}n.memoizedState=r;var a={value:r,getSnapshot:t};return n.queue=a,DI(l1.bind(null,o,a,e),[e]),o.flags|=2048,md(9,s1.bind(null,o,a,r,t),void 0,null),r},useId:function(){var e=En(),t=Ht.identifierPrefix;if(at){var r=na,o=oa;r=(o&~(1<<32-Zo(o)-1)).toString(32)+r,t=":"+t+"R"+r,r=fd++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=cz++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},gz={readContext:Po,useCallback:h1,useContext:Po,useEffect:N0,useImperativeHandle:g1,useInsertionEffect:f1,useLayoutEffect:p1,useMemo:v1,useReducer:ix,useRef:d1,useState:function(){return ix(pd)},useDebugValue:_0,useDeferredValue:function(e){var t=To();return y1(t,Mt.memoizedState,e)},useTransition:function(){var e=ix(pd)[0],t=To().memoizedState;return[e,t]},useMutableSource:n1,useSyncExternalStore:a1,useId:x1,unstable_isNewReconciler:!1},hz={readContext:Po,useCallback:h1,useContext:Po,useEffect:N0,useImperativeHandle:g1,useInsertionEffect:f1,useLayoutEffect:p1,useMemo:v1,useReducer:sx,useRef:d1,useState:function(){return sx(pd)},useDebugValue:_0,useDeferredValue:function(e){var t=To();return Mt===null?t.memoizedState=e:y1(t,Mt.memoizedState,e)},useTransition:function(){var e=sx(pd)[0],t=To().memoizedState;return[e,t]},useMutableSource:n1,useSyncExternalStore:a1,useId:x1,unstable_isNewReconciler:!1};function Xo(e,t){if(e&&e.defaultProps){t=pt({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function zx(e,t,r,o){t=e.memoizedState,r=r(o,t),r=r==null?t:pt({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Xm={isMounted:function(e){return(e=e._reactInternals)?xs(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var o=Lr(),n=ai(e),a=aa(o,n);a.payload=t,r!=null&&(a.callback=r),t=oi(e,a,n),t!==null&&(Jo(t,e,n,o),dm(t,e,n))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var o=Lr(),n=ai(e),a=aa(o,n);a.tag=1,a.payload=t,r!=null&&(a.callback=r),t=oi(e,a,n),t!==null&&(Jo(t,e,n,o),dm(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Lr(),o=ai(e),n=aa(r,o);n.tag=2,t!=null&&(n.callback=t),t=oi(e,n,o),t!==null&&(Jo(t,e,o,r),dm(t,e,o))}};function NI(e,t,r,o,n,a,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,a,i):t.prototype&&t.prototype.isPureReactComponent?!id(r,o)||!id(n,a):!0}function b1(e,t,r){var o=!1,n=li,a=t.contextType;return typeof a=="object"&&a!==null?a=Po(a):(n=Ur(t)?ps:ir.current,o=t.contextTypes,a=(o=o!=null)?zl(e,n):li),t=new t(r,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Xm,e.stateNode=t,t._reactInternals=e,o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=a),t}function _I(e,t,r,o){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,o),t.state!==e&&Xm.enqueueReplaceState(t,t.state,null)}function Wx(e,t,r,o){var n=e.stateNode;n.props=r,n.state=e.memoizedState,n.refs={},P0(e);var a=t.contextType;typeof a=="object"&&a!==null?n.context=Po(a):(a=Ur(t)?ps:ir.current,n.context=zl(e,a)),n.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(zx(e,t,a,r),n.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(t=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),t!==n.state&&Xm.enqueueReplaceState(n,n.state,null),Dm(e,r,n,o),n.state=e.memoizedState),typeof n.componentDidMount=="function"&&(e.flags|=4194308)}function ql(e,t){try{var r="",o=t;do r+=qU(o),o=o.return;while(o);var n=r}catch(a){n=`
|
|
8
8
|
Error generating stack: `+a.message+`
|
|
9
|
-
`+a.stack}return{value:e,source:t,stack:n,digest:null}}function lx(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function Gx(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var vz=typeof WeakMap=="function"?WeakMap:Map;function R1(e,t,r){r=aa(-1,r),r.tag=3,r.payload={element:null};var o=t.value;return r.callback=function(){Vm||(Vm=!0,e0=o),Gx(e,t)},r}function L1(e,t,r){r=aa(-1,r),r.tag=3;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var n=t.value;r.payload=function(){return o(n)},r.callback=function(){Gx(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){Gx(e,t),typeof o!="function"&&(ni===null?ni=new Set([this]):ni.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}function OI(e,t,r){var o=e.pingCache;if(o===null){o=e.pingCache=new vz;var n=new Set;o.set(t,n)}else n=o.get(t),n===void 0&&(n=new Set,o.set(t,n));n.has(r)||(n.add(r),e=Ez.bind(null,e,t,r),t.then(e,e))}function FI(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 VI(e,t,r,o,n){return e.mode&1?(e.flags|=65536,e.lanes=n,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=aa(-1,1),t.tag=2,oi(r,t,1))),r.lanes|=1),e)}var yz=ca.ReactCurrentOwner,Br=!1;function Rr(e,t,r,o){t.child=e===null?e1(t,null,r,o):Gl(t,e.child,r,o)}function BI(e,t,r,o,n){r=r.render;var a=t.ref;return Bl(t,n),o=A0(e,t,r,o,a,n),r=D0(),e!==null&&!Br?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,ua(e,t,n)):(at&&r&&w0(t),t.flags|=1,Rr(e,t,o,n),t.child)}function HI(e,t,r,o,n){if(e===null){var a=r.type;return typeof a=="function"&&!W0(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,I1(e,t,a,o,n)):(e=vm(r.type,null,o,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&n)){var i=a.memoizedProps;if(r=r.compare,r=r!==null?r:id,r(i,o)&&e.ref===t.ref)return ua(e,t,n)}return t.flags|=1,e=ii(a,o),e.ref=t.ref,e.return=t,t.child=e}function I1(e,t,r,o,n){if(e!==null){var a=e.memoizedProps;if(id(a,o)&&e.ref===t.ref)if(Br=!1,t.pendingProps=o=a,(e.lanes&n)!==0)e.flags&131072&&(Br=!0);else return t.lanes=e.lanes,ua(e,t,n)}return jx(e,t,r,o,n)}function P1(e,t,r){var o=t.pendingProps,n=o.children,a=e!==null?e.memoizedState:null;if(o.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},je(Nl,oo),oo|=r;else{if(!(r&1073741824))return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,je(Nl,oo),oo|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=a!==null?a.baseLanes:r,je(Nl,oo),oo|=o}else a!==null?(o=a.baseLanes|r,t.memoizedState=null):o=r,je(Nl,oo),oo|=o;return Rr(e,t,n,r),t.child}function T1(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function jx(e,t,r,o,n){var a=Ur(r)?ps:ir.current;return a=zl(t,a),Bl(t,n),r=A0(e,t,r,o,a,n),o=D0(),e!==null&&!Br?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,ua(e,t,n)):(at&&o&&w0(t),t.flags|=1,Rr(e,t,r,n),t.child)}function UI(e,t,r,o,n){if(Ur(r)){var a=!0;Tm(t)}else a=!1;if(Bl(t,n),t.stateNode===null)mm(e,t),b1(t,r,o),Wx(t,r,o,n),o=!0;else if(e===null){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,u=r.contextType;typeof u=="object"&&u!==null?u=Po(u):(u=Ur(r)?ps:ir.current,u=zl(t,u));var c=r.getDerivedStateFromProps,d=typeof c=="function"||typeof i.getSnapshotBeforeUpdate=="function";d||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==o||l!==u)&&_I(t,i,o,u),Ka=!1;var f=t.memoizedState;i.state=f,Dm(t,o,i,n),l=t.memoizedState,s!==o||f!==l||Hr.current||Ka?(typeof c=="function"&&(zx(t,r,c,o),l=t.memoizedState),(s=Ka||NI(t,r,s,o,f,l,u))?(d||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=l),i.props=o,i.state=l,i.context=u,o=s):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),o=!1)}else{i=t.stateNode,r1(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:Xo(t.type,s),i.props=u,d=t.pendingProps,f=i.context,l=r.contextType,typeof l=="object"&&l!==null?l=Po(l):(l=Ur(r)?ps:ir.current,l=zl(t,l));var p=r.getDerivedStateFromProps;(c=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==d||f!==l)&&_I(t,i,o,l),Ka=!1,f=t.memoizedState,i.state=f,Dm(t,o,i,n);var h=t.memoizedState;s!==d||f!==h||Hr.current||Ka?(typeof p=="function"&&(zx(t,r,p,o),h=t.memoizedState),(u=Ka||NI(t,r,u,o,f,h,l)||!1)?(c||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(o,h,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(o,h,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=h),i.props=o,i.state=h,i.context=l,o=u):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),o=!1)}return qx(e,t,r,o,a,n)}function qx(e,t,r,o,n,a){T1(e,t);var i=(t.flags&128)!==0;if(!o&&!i)return n&&II(t,r,!1),ua(e,t,a);o=t.stateNode,yz.current=t;var s=i&&typeof r.getDerivedStateFromError!="function"?null:o.render();return t.flags|=1,e!==null&&i?(t.child=Gl(t,e.child,null,a),t.child=Gl(t,null,s,a)):Rr(e,t,s,a),t.memoizedState=o.state,n&&II(t,r,!0),t.child}function k1(e){var t=e.stateNode;t.pendingContext?LI(e,t.pendingContext,t.pendingContext!==t.context):t.context&&LI(e,t.context,!1),T0(e,t.containerInfo)}function zI(e,t,r,o,n){return Wl(),S0(n),t.flags|=256,Rr(e,t,r,o),t.child}var $x={dehydrated:null,treeContext:null,retryLane:0};function Kx(e){return{baseLanes:e,cachePool:null,transitions:null}}function M1(e,t,r){var o=t.pendingProps,n=dt.current,a=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(n&2)!==0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(n|=1),je(dt,n&1),e===null)return Hx(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):(i=o.children,e=o.fallback,a?(o=t.mode,a=t.child,i={mode:"hidden",children:i},!(o&1)&&a!==null?(a.childLanes=0,a.pendingProps=i):a=Zm(i,o,0,null),e=fs(e,o,r,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Kx(r),t.memoizedState=$x,e):O0(t,i));if(n=e.memoizedState,n!==null&&(s=n.dehydrated,s!==null))return xz(e,t,i,o,s,n,r);if(a){a=o.fallback,i=t.mode,n=e.child,s=n.sibling;var l={mode:"hidden",children:o.children};return!(i&1)&&t.child!==n?(o=t.child,o.childLanes=0,o.pendingProps=l,t.deletions=null):(o=ii(n,l),o.subtreeFlags=n.subtreeFlags&14680064),s!==null?a=ii(s,a):(a=fs(a,i,r,null),a.flags|=2),a.return=t,o.return=t,o.sibling=a,t.child=o,o=a,a=t.child,i=e.child.memoizedState,i=i===null?Kx(r):{baseLanes:i.baseLanes|r,cachePool:null,transitions:i.transitions},a.memoizedState=i,a.childLanes=e.childLanes&~r,t.memoizedState=$x,o}return a=e.child,e=a.sibling,o=ii(a,{mode:"visible",children:o.children}),!(t.mode&1)&&(o.lanes=r),o.return=t,o.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=o,t.memoizedState=null,o}function O0(e,t){return t=Zm({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function am(e,t,r,o){return o!==null&&S0(o),Gl(t,e.child,null,r),e=O0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function xz(e,t,r,o,n,a,i){if(r)return t.flags&256?(t.flags&=-257,o=lx(Error(W(422))),am(e,t,i,o)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=o.fallback,n=t.mode,o=Zm({mode:"visible",children:o.children},n,0,null),a=fs(a,n,i,null),a.flags|=2,o.return=t,a.return=t,o.sibling=a,t.child=o,t.mode&1&&Gl(t,e.child,null,i),t.child.memoizedState=Kx(i),t.memoizedState=$x,a);if(!(t.mode&1))return am(e,t,i,null);if(n.data==="$!"){if(o=n.nextSibling&&n.nextSibling.dataset,o)var s=o.dgst;return o=s,a=Error(W(419)),o=lx(a,o,void 0),am(e,t,i,o)}if(s=(i&e.childLanes)!==0,Br||s){if(o=Ht,o!==null){switch(i&-i){case 4:n=2;break;case 16:n=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:n=32;break;case 536870912:n=268435456;break;default:n=0}n=n&(o.suspendedLanes|i)?0:n,n!==0&&n!==a.retryLane&&(a.retryLane=n,la(e,n),Jo(o,e,n,-1))}return z0(),o=lx(Error(W(421))),am(e,t,i,o)}return n.data==="$?"?(t.flags|=128,t.child=e.child,t=Az.bind(null,e),n._reactRetry=t,null):(e=a.treeContext,no=ri(n.nextSibling),ao=t,at=!0,Qo=null,e!==null&&(bo[Ro++]=oa,bo[Ro++]=na,bo[Ro++]=ms,oa=e.id,na=e.overflow,ms=t),t=O0(t,o.children),t.flags|=4096,t)}function WI(e,t,r){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),Ux(e.return,t,r)}function ux(e,t,r,o,n){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:r,tailMode:n}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=o,a.tail=r,a.tailMode=n)}function E1(e,t,r){var o=t.pendingProps,n=o.revealOrder,a=o.tail;if(Rr(e,t,o.children,r),o=dt.current,o&2)o=o&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&&WI(e,r,t);else if(e.tag===19)WI(e,r,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}o&=1}if(je(dt,o),!(t.mode&1))t.memoizedState=null;else switch(n){case"forwards":for(r=t.child,n=null;r!==null;)e=r.alternate,e!==null&&Nm(e)===null&&(n=r),r=r.sibling;r=n,r===null?(n=t.child,t.child=null):(n=r.sibling,r.sibling=null),ux(t,!1,n,r,a);break;case"backwards":for(r=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&Nm(e)===null){t.child=n;break}e=n.sibling,n.sibling=r,r=n,n=e}ux(t,!0,r,null,a);break;case"together":ux(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function mm(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ua(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),hs|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(W(153));if(t.child!==null){for(e=t.child,r=ii(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=ii(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function wz(e,t,r){switch(t.tag){case 3:k1(t),Wl();break;case 5:o1(t);break;case 1:Ur(t.type)&&Tm(t);break;case 4:T0(t,t.stateNode.containerInfo);break;case 10:var o=t.type._context,n=t.memoizedProps.value;je(Em,o._currentValue),o._currentValue=n;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(je(dt,dt.current&1),t.flags|=128,null):r&t.child.childLanes?M1(e,t,r):(je(dt,dt.current&1),e=ua(e,t,r),e!==null?e.sibling:null);je(dt,dt.current&1);break;case 19:if(o=(r&t.childLanes)!==0,e.flags&128){if(o)return E1(e,t,r);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),je(dt,dt.current),o)break;return null;case 22:case 23:return t.lanes=0,P1(e,t,r)}return ua(e,t,r)}var A1,Xx,D1,N1;A1=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};Xx=function(){};D1=function(e,t,r,o){var n=e.memoizedProps;if(n!==o){e=t.stateNode,cs(Nn.current);var a=null;switch(r){case"input":n=vx(e,n),o=vx(e,o),a=[];break;case"select":n=pt({},n,{value:void 0}),o=pt({},o,{value:void 0}),a=[];break;case"textarea":n=wx(e,n),o=wx(e,o),a=[];break;default:typeof n.onClick!="function"&&typeof o.onClick=="function"&&(e.onclick=Im)}Sx(r,o);var i;r=null;for(u in n)if(!o.hasOwnProperty(u)&&n.hasOwnProperty(u)&&n[u]!=null)if(u==="style"){var s=n[u];for(i in s)s.hasOwnProperty(i)&&(r||(r={}),r[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Jc.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in o){var l=o[u];if(s=n?.[u],o.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(i in s)!s.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(r||(r={}),r[i]="");for(i in l)l.hasOwnProperty(i)&&s[i]!==l[i]&&(r||(r={}),r[i]=l[i])}else r||(a||(a=[]),a.push(u,r)),r=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(a=a||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(a=a||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Jc.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Qe("scroll",e),a||s===l||(a=[])):(a=a||[]).push(u,l))}r&&(a=a||[]).push("style",r);var u=a;(t.updateQueue=u)&&(t.flags|=4)}};N1=function(e,t,r,o){r!==o&&(t.flags|=4)};function Fc(e,t){if(!at)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function nr(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,o=0;if(t)for(var n=e.child;n!==null;)r|=n.lanes|n.childLanes,o|=n.subtreeFlags&14680064,o|=n.flags&14680064,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)r|=n.lanes|n.childLanes,o|=n.subtreeFlags,o|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=o,e.childLanes=r,t}function Cz(e,t,r){var o=t.pendingProps;switch(C0(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return nr(t),null;case 1:return Ur(t.type)&&Pm(),nr(t),null;case 3:return o=t.stateNode,jl(),Ze(Hr),Ze(ir),M0(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(om(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Qo!==null&&(o0(Qo),Qo=null))),Xx(e,t),nr(t),null;case 5:k0(t);var n=cs(dd.current);if(r=t.type,e!==null&&t.stateNode!=null)D1(e,t,r,o,n),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!o){if(t.stateNode===null)throw Error(W(166));return nr(t),null}if(e=cs(Nn.current),om(t)){o=t.stateNode,r=t.type;var a=t.memoizedProps;switch(o[An]=t,o[ud]=a,e=(t.mode&1)!==0,r){case"dialog":Qe("cancel",o),Qe("close",o);break;case"iframe":case"object":case"embed":Qe("load",o);break;case"video":case"audio":for(n=0;n<Wc.length;n++)Qe(Wc[n],o);break;case"source":Qe("error",o);break;case"img":case"image":case"link":Qe("error",o),Qe("load",o);break;case"details":Qe("toggle",o);break;case"input":QL(o,a),Qe("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!a.multiple},Qe("invalid",o);break;case"textarea":JL(o,a),Qe("invalid",o)}Sx(r,a),n=null;for(var i in a)if(a.hasOwnProperty(i)){var s=a[i];i==="children"?typeof s=="string"?o.textContent!==s&&(a.suppressHydrationWarning!==!0&&rm(o.textContent,s,e),n=["children",s]):typeof s=="number"&&o.textContent!==""+s&&(a.suppressHydrationWarning!==!0&&rm(o.textContent,s,e),n=["children",""+s]):Jc.hasOwnProperty(i)&&s!=null&&i==="onScroll"&&Qe("scroll",o)}switch(r){case"input":Gp(o),ZL(o,a,!0);break;case"textarea":Gp(o),eI(o);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(o.onclick=Im)}o=n,t.updateQueue=o,o!==null&&(t.flags|=4)}else{i=n.nodeType===9?n:n.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=lP(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof o.is=="string"?e=i.createElement(r,{is:o.is}):(e=i.createElement(r),r==="select"&&(i=e,o.multiple?i.multiple=!0:o.size&&(i.size=o.size))):e=i.createElementNS(e,r),e[An]=t,e[ud]=o,A1(e,t,!1,!1),t.stateNode=e;e:{switch(i=bx(r,o),r){case"dialog":Qe("cancel",e),Qe("close",e),n=o;break;case"iframe":case"object":case"embed":Qe("load",e),n=o;break;case"video":case"audio":for(n=0;n<Wc.length;n++)Qe(Wc[n],e);n=o;break;case"source":Qe("error",e),n=o;break;case"img":case"image":case"link":Qe("error",e),Qe("load",e),n=o;break;case"details":Qe("toggle",e),n=o;break;case"input":QL(e,o),n=vx(e,o),Qe("invalid",e);break;case"option":n=o;break;case"select":e._wrapperState={wasMultiple:!!o.multiple},n=pt({},o,{value:void 0}),Qe("invalid",e);break;case"textarea":JL(e,o),n=wx(e,o),Qe("invalid",e);break;default:n=o}Sx(r,n),s=n;for(a in s)if(s.hasOwnProperty(a)){var l=s[a];a==="style"?dP(e,l):a==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&uP(e,l)):a==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&ed(e,l):typeof l=="number"&&ed(e,""+l):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Jc.hasOwnProperty(a)?l!=null&&a==="onScroll"&&Qe("scroll",e):l!=null&&i0(e,a,l,i))}switch(r){case"input":Gp(e),ZL(e,o,!1);break;case"textarea":Gp(e),eI(e);break;case"option":o.value!=null&&e.setAttribute("value",""+si(o.value));break;case"select":e.multiple=!!o.multiple,a=o.value,a!=null?_l(e,!!o.multiple,a,!1):o.defaultValue!=null&&_l(e,!!o.multiple,o.defaultValue,!0);break;default:typeof n.onClick=="function"&&(e.onclick=Im)}switch(r){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return nr(t),null;case 6:if(e&&t.stateNode!=null)N1(e,t,e.memoizedProps,o);else{if(typeof o!="string"&&t.stateNode===null)throw Error(W(166));if(r=cs(dd.current),cs(Nn.current),om(t)){if(o=t.stateNode,r=t.memoizedProps,o[An]=t,(a=o.nodeValue!==r)&&(e=ao,e!==null))switch(e.tag){case 3:rm(o.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&rm(o.nodeValue,r,(e.mode&1)!==0)}a&&(t.flags|=4)}else o=(r.nodeType===9?r:r.ownerDocument).createTextNode(o),o[An]=t,t.stateNode=o}return nr(t),null;case 13:if(Ze(dt),o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(at&&no!==null&&t.mode&1&&!(t.flags&128))ZP(),Wl(),t.flags|=98560,a=!1;else if(a=om(t),o!==null&&o.dehydrated!==null){if(e===null){if(!a)throw Error(W(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(W(317));a[An]=t}else Wl(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;nr(t),a=!1}else Qo!==null&&(o0(Qo),Qo=null),a=!0;if(!a)return t.flags&65536?t:null}return t.flags&128?(t.lanes=r,t):(o=o!==null,o!==(e!==null&&e.memoizedState!==null)&&o&&(t.child.flags|=8192,t.mode&1&&(e===null||dt.current&1?Et===0&&(Et=3):z0())),t.updateQueue!==null&&(t.flags|=4),nr(t),null);case 4:return jl(),Xx(e,t),e===null&&sd(t.stateNode.containerInfo),nr(t),null;case 10:return L0(t.type._context),nr(t),null;case 17:return Ur(t.type)&&Pm(),nr(t),null;case 19:if(Ze(dt),a=t.memoizedState,a===null)return nr(t),null;if(o=(t.flags&128)!==0,i=a.rendering,i===null)if(o)Fc(a,!1);else{if(Et!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Nm(e),i!==null){for(t.flags|=128,Fc(a,!1),o=i.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),t.subtreeFlags=0,o=r,r=t.child;r!==null;)a=r,e=o,a.flags&=14680066,i=a.alternate,i===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,e=i.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return je(dt,dt.current&1|2),t.child}e=e.sibling}a.tail!==null&&Ct()>$l&&(t.flags|=128,o=!0,Fc(a,!1),t.lanes=4194304)}else{if(!o)if(e=Nm(i),e!==null){if(t.flags|=128,o=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Fc(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!at)return nr(t),null}else 2*Ct()-a.renderingStartTime>$l&&r!==1073741824&&(t.flags|=128,o=!0,Fc(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(r=a.last,r!==null?r.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ct(),t.sibling=null,r=dt.current,je(dt,o?r&1|2:r&1),t):(nr(t),null);case 22:case 23:return U0(),o=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==o&&(t.flags|=8192),o&&t.mode&1?oo&1073741824&&(nr(t),t.subtreeFlags&6&&(t.flags|=8192)):nr(t),null;case 24:return null;case 25:return null}throw Error(W(156,t.tag))}function Sz(e,t){switch(C0(t),t.tag){case 1:return Ur(t.type)&&Pm(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return jl(),Ze(Hr),Ze(ir),M0(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return k0(t),null;case 13:if(Ze(dt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(W(340));Wl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ze(dt),null;case 4:return jl(),null;case 10:return L0(t.type._context),null;case 22:case 23:return U0(),null;case 24:return null;default:return null}}var im=!1,ar=!1,bz=typeof WeakSet=="function"?WeakSet:Set,Q=null;function Dl(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(o){vt(e,t,o)}else r.current=null}function Yx(e,t,r){try{r()}catch(o){vt(e,t,o)}}var GI=!1;function Rz(e,t){if(Dx=bm,e=BP(),x0(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var o=r.getSelection&&r.getSelection();if(o&&o.rangeCount!==0){r=o.anchorNode;var n=o.anchorOffset,a=o.focusNode;o=o.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var i=0,s=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var p;d!==r||n!==0&&d.nodeType!==3||(s=i+n),d!==a||o!==0&&d.nodeType!==3||(l=i+o),d.nodeType===3&&(i+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===r&&++u===n&&(s=i),f===a&&++c===o&&(l=i),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(Nx={focusedElem:e,selectionRange:r},bm=!1,Q=t;Q!==null;)if(t=Q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Q=e;else for(;Q!==null;){t=Q;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var m=h.memoizedProps,x=h.memoizedState,v=t.stateNode,g=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:Xo(t.type,m),x);v.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(W(163))}}catch(w){vt(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,Q=e;break}Q=t.return}return h=GI,GI=!1,h}function Yc(e,t,r){var o=t.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var n=o=o.next;do{if((n.tag&e)===e){var a=n.destroy;n.destroy=void 0,a!==void 0&&Yx(t,r,a)}n=n.next}while(n!==o)}}function Ym(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var o=r.create;r.destroy=o()}r=r.next}while(r!==t)}}function Qx(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function _1(e){var t=e.alternate;t!==null&&(e.alternate=null,_1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[An],delete t[ud],delete t[Fx],delete t[iz],delete t[sz])),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 O1(e){return e.tag===5||e.tag===3||e.tag===4}function jI(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||O1(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 Zx(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Im));else if(o!==4&&(e=e.child,e!==null))for(Zx(e,t,r),e=e.sibling;e!==null;)Zx(e,t,r),e=e.sibling}function Jx(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(o!==4&&(e=e.child,e!==null))for(Jx(e,t,r),e=e.sibling;e!==null;)Jx(e,t,r),e=e.sibling}var $t=null,Yo=!1;function qa(e,t,r){for(r=r.child;r!==null;)F1(e,t,r),r=r.sibling}function F1(e,t,r){if(Dn&&typeof Dn.onCommitFiberUnmount=="function")try{Dn.onCommitFiberUnmount(zm,r)}catch{}switch(r.tag){case 5:ar||Dl(r,t);case 6:var o=$t,n=Yo;$t=null,qa(e,t,r),$t=o,Yo=n,$t!==null&&(Yo?(e=$t,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):$t.removeChild(r.stateNode));break;case 18:$t!==null&&(Yo?(e=$t,r=r.stateNode,e.nodeType===8?rx(e.parentNode,r):e.nodeType===1&&rx(e,r),nd(e)):rx($t,r.stateNode));break;case 4:o=$t,n=Yo,$t=r.stateNode.containerInfo,Yo=!0,qa(e,t,r),$t=o,Yo=n;break;case 0:case 11:case 14:case 15:if(!ar&&(o=r.updateQueue,o!==null&&(o=o.lastEffect,o!==null))){n=o=o.next;do{var a=n,i=a.destroy;a=a.tag,i!==void 0&&(a&2||a&4)&&Yx(r,t,i),n=n.next}while(n!==o)}qa(e,t,r);break;case 1:if(!ar&&(Dl(r,t),o=r.stateNode,typeof o.componentWillUnmount=="function"))try{o.props=r.memoizedProps,o.state=r.memoizedState,o.componentWillUnmount()}catch(s){vt(r,t,s)}qa(e,t,r);break;case 21:qa(e,t,r);break;case 22:r.mode&1?(ar=(o=ar)||r.memoizedState!==null,qa(e,t,r),ar=o):qa(e,t,r);break;default:qa(e,t,r)}}function qI(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new bz),t.forEach(function(o){var n=Dz.bind(null,e,o);r.has(o)||(r.add(o),o.then(n,n))})}}function Ko(e,t){var r=t.deletions;if(r!==null)for(var o=0;o<r.length;o++){var n=r[o];try{var a=e,i=t,s=i;e:for(;s!==null;){switch(s.tag){case 5:$t=s.stateNode,Yo=!1;break e;case 3:$t=s.stateNode.containerInfo,Yo=!0;break e;case 4:$t=s.stateNode.containerInfo,Yo=!0;break e}s=s.return}if($t===null)throw Error(W(160));F1(a,i,n),$t=null,Yo=!1;var l=n.alternate;l!==null&&(l.return=null),n.return=null}catch(u){vt(n,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)V1(t,e),t=t.sibling}function V1(e,t){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ko(t,e),Mn(e),o&4){try{Yc(3,e,e.return),Ym(3,e)}catch(m){vt(e,e.return,m)}try{Yc(5,e,e.return)}catch(m){vt(e,e.return,m)}}break;case 1:Ko(t,e),Mn(e),o&512&&r!==null&&Dl(r,r.return);break;case 5:if(Ko(t,e),Mn(e),o&512&&r!==null&&Dl(r,r.return),e.flags&32){var n=e.stateNode;try{ed(n,"")}catch(m){vt(e,e.return,m)}}if(o&4&&(n=e.stateNode,n!=null)){var a=e.memoizedProps,i=r!==null?r.memoizedProps:a,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&a.type==="radio"&&a.name!=null&&iP(n,a),bx(s,i);var u=bx(s,a);for(i=0;i<l.length;i+=2){var c=l[i],d=l[i+1];c==="style"?dP(n,d):c==="dangerouslySetInnerHTML"?uP(n,d):c==="children"?ed(n,d):i0(n,c,d,u)}switch(s){case"input":yx(n,a);break;case"textarea":sP(n,a);break;case"select":var f=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!a.multiple;var p=a.value;p!=null?_l(n,!!a.multiple,p,!1):f!==!!a.multiple&&(a.defaultValue!=null?_l(n,!!a.multiple,a.defaultValue,!0):_l(n,!!a.multiple,a.multiple?[]:"",!1))}n[ud]=a}catch(m){vt(e,e.return,m)}}break;case 6:if(Ko(t,e),Mn(e),o&4){if(e.stateNode===null)throw Error(W(162));n=e.stateNode,a=e.memoizedProps;try{n.nodeValue=a}catch(m){vt(e,e.return,m)}}break;case 3:if(Ko(t,e),Mn(e),o&4&&r!==null&&r.memoizedState.isDehydrated)try{nd(t.containerInfo)}catch(m){vt(e,e.return,m)}break;case 4:Ko(t,e),Mn(e);break;case 13:Ko(t,e),Mn(e),n=e.child,n.flags&8192&&(a=n.memoizedState!==null,n.stateNode.isHidden=a,!a||n.alternate!==null&&n.alternate.memoizedState!==null||(B0=Ct())),o&4&&qI(e);break;case 22:if(c=r!==null&&r.memoizedState!==null,e.mode&1?(ar=(u=ar)||c,Ko(t,e),ar=u):Ko(t,e),Mn(e),o&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(Q=e,c=e.child;c!==null;){for(d=Q=c;Q!==null;){switch(f=Q,p=f.child,f.tag){case 0:case 11:case 14:case 15:Yc(4,f,f.return);break;case 1:Dl(f,f.return);var h=f.stateNode;if(typeof h.componentWillUnmount=="function"){o=f,r=f.return;try{t=o,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(m){vt(o,r,m)}}break;case 5:Dl(f,f.return);break;case 22:if(f.memoizedState!==null){KI(d);continue}}p!==null?(p.return=f,Q=p):KI(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{n=d.stateNode,u?(a=n.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(s=d.stateNode,l=d.memoizedProps.style,i=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=cP("display",i))}catch(m){vt(e,e.return,m)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(m){vt(e,e.return,m)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Ko(t,e),Mn(e),o&4&&qI(e);break;case 21:break;default:Ko(t,e),Mn(e)}}function Mn(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(O1(r)){var o=r;break e}r=r.return}throw Error(W(160))}switch(o.tag){case 5:var n=o.stateNode;o.flags&32&&(ed(n,""),o.flags&=-33);var a=jI(e);Jx(e,a,n);break;case 3:case 4:var i=o.stateNode.containerInfo,s=jI(e);Zx(e,s,i);break;default:throw Error(W(161))}}catch(l){vt(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Lz(e,t,r){Q=e,B1(e,t,r)}function B1(e,t,r){for(var o=(e.mode&1)!==0;Q!==null;){var n=Q,a=n.child;if(n.tag===22&&o){var i=n.memoizedState!==null||im;if(!i){var s=n.alternate,l=s!==null&&s.memoizedState!==null||ar;s=im;var u=ar;if(im=i,(ar=l)&&!u)for(Q=n;Q!==null;)i=Q,l=i.child,i.tag===22&&i.memoizedState!==null?XI(n):l!==null?(l.return=i,Q=l):XI(n);for(;a!==null;)Q=a,B1(a,t,r),a=a.sibling;Q=n,im=s,ar=u}$I(e,t,r)}else n.subtreeFlags&8772&&a!==null?(a.return=n,Q=a):$I(e,t,r)}}function $I(e){for(;Q!==null;){var t=Q;if(t.flags&8772){var r=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ar||Ym(5,t);break;case 1:var o=t.stateNode;if(t.flags&4&&!ar)if(r===null)o.componentDidMount();else{var n=t.elementType===t.type?r.memoizedProps:Xo(t.type,r.memoizedProps);o.componentDidUpdate(n,r.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&EI(t,a,o);break;case 3:var i=t.updateQueue;if(i!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}EI(t,i,r)}break;case 5:var s=t.stateNode;if(r===null&&t.flags&4){r=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&nd(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(W(163))}ar||t.flags&512&&Qx(t)}catch(f){vt(t,t.return,f)}}if(t===e){Q=null;break}if(r=t.sibling,r!==null){r.return=t.return,Q=r;break}Q=t.return}}function KI(e){for(;Q!==null;){var t=Q;if(t===e){Q=null;break}var r=t.sibling;if(r!==null){r.return=t.return,Q=r;break}Q=t.return}}function XI(e){for(;Q!==null;){var t=Q;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{Ym(4,t)}catch(l){vt(t,r,l)}break;case 1:var o=t.stateNode;if(typeof o.componentDidMount=="function"){var n=t.return;try{o.componentDidMount()}catch(l){vt(t,n,l)}}var a=t.return;try{Qx(t)}catch(l){vt(t,a,l)}break;case 5:var i=t.return;try{Qx(t)}catch(l){vt(t,i,l)}}}catch(l){vt(t,t.return,l)}if(t===e){Q=null;break}var s=t.sibling;if(s!==null){s.return=t.return,Q=s;break}Q=t.return}}var Iz=Math.ceil,Fm=ca.ReactCurrentDispatcher,F0=ca.ReactCurrentOwner,Io=ca.ReactCurrentBatchConfig,Ie=0,Ht=null,Rt=null,Kt=0,oo=0,Nl=ci(0),Et=0,gd=null,hs=0,Qm=0,V0=0,Qc=null,Vr=null,B0=0,$l=1/0,ta=null,Vm=!1,e0=null,ni=null,sm=!1,Za=null,Bm=0,Zc=0,t0=null,gm=-1,hm=0;function Lr(){return Ie&6?Ct():gm!==-1?gm:gm=Ct()}function ai(e){return e.mode&1?Ie&2&&Kt!==0?Kt&-Kt:uz.transition!==null?(hm===0&&(hm=bP()),hm):(e=Oe,e!==0||(e=window.event,e=e===void 0?16:MP(e.type)),e):1}function Jo(e,t,r,o){if(50<Zc)throw Zc=0,t0=null,Error(W(185));hd(e,r,o),(!(Ie&2)||e!==Ht)&&(e===Ht&&(!(Ie&2)&&(Qm|=r),Et===4&&Ya(e,Kt)),zr(e,o),r===1&&Ie===0&&!(t.mode&1)&&($l=Ct()+500,$m&&di()))}function zr(e,t){var r=e.callbackNode;d4(e,t);var o=Sm(e,e===Ht?Kt:0);if(o===0)r!==null&&oI(r),e.callbackNode=null,e.callbackPriority=0;else if(t=o&-o,e.callbackPriority!==t){if(r!=null&&oI(r),t===1)e.tag===0?lz(YI.bind(null,e)):XP(YI.bind(null,e)),nz(function(){!(Ie&6)&&di()}),r=null;else{switch(RP(o)){case 1:r=d0;break;case 4:r=CP;break;case 16:r=Cm;break;case 536870912:r=SP;break;default:r=Cm}r=$1(r,H1.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function H1(e,t){if(gm=-1,hm=0,Ie&6)throw Error(W(327));var r=e.callbackNode;if(Hl()&&e.callbackNode!==r)return null;var o=Sm(e,e===Ht?Kt:0);if(o===0)return null;if(o&30||o&e.expiredLanes||t)t=Hm(e,o);else{t=o;var n=Ie;Ie|=2;var a=z1();(Ht!==e||Kt!==t)&&(ta=null,$l=Ct()+500,ds(e,t));do try{kz();break}catch(s){U1(e,s)}while(1);R0(),Fm.current=a,Ie=n,Rt!==null?t=0:(Ht=null,Kt=0,t=Et)}if(t!==0){if(t===2&&(n=Tx(e),n!==0&&(o=n,t=r0(e,n))),t===1)throw r=gd,ds(e,0),Ya(e,o),zr(e,Ct()),r;if(t===6)Ya(e,o);else{if(n=e.current.alternate,!(o&30)&&!Pz(n)&&(t=Hm(e,o),t===2&&(a=Tx(e),a!==0&&(o=a,t=r0(e,a))),t===1))throw r=gd,ds(e,0),Ya(e,o),zr(e,Ct()),r;switch(e.finishedWork=n,e.finishedLanes=o,t){case 0:case 1:throw Error(W(345));case 2:ss(e,Vr,ta);break;case 3:if(Ya(e,o),(o&130023424)===o&&(t=B0+500-Ct(),10<t)){if(Sm(e,0)!==0)break;if(n=e.suspendedLanes,(n&o)!==o){Lr(),e.pingedLanes|=e.suspendedLanes&n;break}e.timeoutHandle=Ox(ss.bind(null,e,Vr,ta),t);break}ss(e,Vr,ta);break;case 4:if(Ya(e,o),(o&4194240)===o)break;for(t=e.eventTimes,n=-1;0<o;){var i=31-Zo(o);a=1<<i,i=t[i],i>n&&(n=i),o&=~a}if(o=n,o=Ct()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*Iz(o/1960))-o,10<o){e.timeoutHandle=Ox(ss.bind(null,e,Vr,ta),o);break}ss(e,Vr,ta);break;case 5:ss(e,Vr,ta);break;default:throw Error(W(329))}}}return zr(e,Ct()),e.callbackNode===r?H1.bind(null,e):null}function r0(e,t){var r=Qc;return e.current.memoizedState.isDehydrated&&(ds(e,t).flags|=256),e=Hm(e,t),e!==2&&(t=Vr,Vr=r,t!==null&&o0(t)),e}function o0(e){Vr===null?Vr=e:Vr.push.apply(Vr,e)}function Pz(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var o=0;o<r.length;o++){var n=r[o],a=n.getSnapshot;n=n.value;try{if(!en(a(),n))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ya(e,t){for(t&=~V0,t&=~Qm,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Zo(t),o=1<<r;e[r]=-1,t&=~o}}function YI(e){if(Ie&6)throw Error(W(327));Hl();var t=Sm(e,0);if(!(t&1))return zr(e,Ct()),null;var r=Hm(e,t);if(e.tag!==0&&r===2){var o=Tx(e);o!==0&&(t=o,r=r0(e,o))}if(r===1)throw r=gd,ds(e,0),Ya(e,t),zr(e,Ct()),r;if(r===6)throw Error(W(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ss(e,Vr,ta),zr(e,Ct()),null}function H0(e,t){var r=Ie;Ie|=1;try{return e(t)}finally{Ie=r,Ie===0&&($l=Ct()+500,$m&&di())}}function vs(e){Za!==null&&Za.tag===0&&!(Ie&6)&&Hl();var t=Ie;Ie|=1;var r=Io.transition,o=Oe;try{if(Io.transition=null,Oe=1,e)return e()}finally{Oe=o,Io.transition=r,Ie=t,!(Ie&6)&&di()}}function U0(){oo=Nl.current,Ze(Nl)}function ds(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,oz(r)),Rt!==null)for(r=Rt.return;r!==null;){var o=r;switch(C0(o),o.tag){case 1:o=o.type.childContextTypes,o!=null&&Pm();break;case 3:jl(),Ze(Hr),Ze(ir),M0();break;case 5:k0(o);break;case 4:jl();break;case 13:Ze(dt);break;case 19:Ze(dt);break;case 10:L0(o.type._context);break;case 22:case 23:U0()}r=r.return}if(Ht=e,Rt=e=ii(e.current,null),Kt=oo=t,Et=0,gd=null,V0=Qm=hs=0,Vr=Qc=null,us!==null){for(t=0;t<us.length;t++)if(r=us[t],o=r.interleaved,o!==null){r.interleaved=null;var n=o.next,a=r.pending;if(a!==null){var i=a.next;a.next=n,o.next=i}r.pending=o}us=null}return e}function U1(e,t){do{var r=Rt;try{if(R0(),fm.current=Om,_m){for(var o=ft.memoizedState;o!==null;){var n=o.queue;n!==null&&(n.pending=null),o=o.next}_m=!1}if(gs=0,Bt=Mt=ft=null,Xc=!1,fd=0,F0.current=null,r===null||r.return===null){Et=1,gd=t,Rt=null;break}e:{var a=e,i=r.return,s=r,l=t;if(t=Kt,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=s,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=FI(i);if(p!==null){p.flags&=-257,VI(p,i,s,a,t),p.mode&1&&OI(a,u,t),t=p,l=u;var h=t.updateQueue;if(h===null){var m=new Set;m.add(l),t.updateQueue=m}else h.add(l);break e}else{if(!(t&1)){OI(a,u,t),z0();break e}l=Error(W(426))}}else if(at&&s.mode&1){var x=FI(i);if(x!==null){!(x.flags&65536)&&(x.flags|=256),VI(x,i,s,a,t),S0(ql(l,s));break e}}a=l=ql(l,s),Et!==4&&(Et=2),Qc===null?Qc=[a]:Qc.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var v=R1(a,l,t);MI(a,v);break e;case 1:s=l;var g=a.type,y=a.stateNode;if(!(a.flags&128)&&(typeof g.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(ni===null||!ni.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t;var w=L1(a,s,t);MI(a,w);break e}}a=a.return}while(a!==null)}G1(r)}catch(C){t=C,Rt===r&&r!==null&&(Rt=r=r.return);continue}break}while(1)}function z1(){var e=Fm.current;return Fm.current=Om,e===null?Om:e}function z0(){(Et===0||Et===3||Et===2)&&(Et=4),Ht===null||!(hs&268435455)&&!(Qm&268435455)||Ya(Ht,Kt)}function Hm(e,t){var r=Ie;Ie|=2;var o=z1();(Ht!==e||Kt!==t)&&(ta=null,ds(e,t));do try{Tz();break}catch(n){U1(e,n)}while(1);if(R0(),Ie=r,Fm.current=o,Rt!==null)throw Error(W(261));return Ht=null,Kt=0,Et}function Tz(){for(;Rt!==null;)W1(Rt)}function kz(){for(;Rt!==null&&!r4();)W1(Rt)}function W1(e){var t=q1(e.alternate,e,oo);e.memoizedProps=e.pendingProps,t===null?G1(e):Rt=t,F0.current=null}function G1(e){var t=e;do{var r=t.alternate;if(e=t.return,t.flags&32768){if(r=Sz(r,t),r!==null){r.flags&=32767,Rt=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Et=6,Rt=null;return}}else if(r=Cz(r,t,oo),r!==null){Rt=r;return}if(t=t.sibling,t!==null){Rt=t;return}Rt=t=e}while(t!==null);Et===0&&(Et=5)}function ss(e,t,r){var o=Oe,n=Io.transition;try{Io.transition=null,Oe=1,Mz(e,t,r,o)}finally{Io.transition=n,Oe=o}return null}function Mz(e,t,r,o){do Hl();while(Za!==null);if(Ie&6)throw Error(W(327));r=e.finishedWork;var n=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(W(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(f4(e,a),e===Ht&&(Rt=Ht=null,Kt=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||sm||(sm=!0,$1(Cm,function(){return Hl(),null})),a=(r.flags&15990)!==0,r.subtreeFlags&15990||a){a=Io.transition,Io.transition=null;var i=Oe;Oe=1;var s=Ie;Ie|=4,F0.current=null,Rz(e,r),V1(r,e),Z4(Nx),bm=!!Dx,Nx=Dx=null,e.current=r,Lz(r,e,n),o4(),Ie=s,Oe=i,Io.transition=a}else e.current=r;if(sm&&(sm=!1,Za=e,Bm=n),a=e.pendingLanes,a===0&&(ni=null),i4(r.stateNode,o),zr(e,Ct()),t!==null)for(o=e.onRecoverableError,r=0;r<t.length;r++)n=t[r],o(n.value,{componentStack:n.stack,digest:n.digest});if(Vm)throw Vm=!1,e=e0,e0=null,e;return Bm&1&&e.tag!==0&&Hl(),a=e.pendingLanes,a&1?e===t0?Zc++:(Zc=0,t0=e):Zc=0,di(),null}function Hl(){if(Za!==null){var e=RP(Bm),t=Io.transition,r=Oe;try{if(Io.transition=null,Oe=16>e?16:e,Za===null)var o=!1;else{if(e=Za,Za=null,Bm=0,Ie&6)throw Error(W(331));var n=Ie;for(Ie|=4,Q=e.current;Q!==null;){var a=Q,i=a.child;if(Q.flags&16){var s=a.deletions;if(s!==null){for(var l=0;l<s.length;l++){var u=s[l];for(Q=u;Q!==null;){var c=Q;switch(c.tag){case 0:case 11:case 15:Yc(8,c,a)}var d=c.child;if(d!==null)d.return=c,Q=d;else for(;Q!==null;){c=Q;var f=c.sibling,p=c.return;if(_1(c),c===u){Q=null;break}if(f!==null){f.return=p,Q=f;break}Q=p}}}var h=a.alternate;if(h!==null){var m=h.child;if(m!==null){h.child=null;do{var x=m.sibling;m.sibling=null,m=x}while(m!==null)}}Q=a}}if(a.subtreeFlags&2064&&i!==null)i.return=a,Q=i;else e:for(;Q!==null;){if(a=Q,a.flags&2048)switch(a.tag){case 0:case 11:case 15:Yc(9,a,a.return)}var v=a.sibling;if(v!==null){v.return=a.return,Q=v;break e}Q=a.return}}var g=e.current;for(Q=g;Q!==null;){i=Q;var y=i.child;if(i.subtreeFlags&2064&&y!==null)y.return=i,Q=y;else e:for(i=g;Q!==null;){if(s=Q,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:Ym(9,s)}}catch(C){vt(s,s.return,C)}if(s===i){Q=null;break e}var w=s.sibling;if(w!==null){w.return=s.return,Q=w;break e}Q=s.return}}if(Ie=n,di(),Dn&&typeof Dn.onPostCommitFiberRoot=="function")try{Dn.onPostCommitFiberRoot(zm,e)}catch{}o=!0}return o}finally{Oe=r,Io.transition=t}}return!1}function QI(e,t,r){t=ql(r,t),t=R1(e,t,1),e=oi(e,t,1),t=Lr(),e!==null&&(hd(e,1,t),zr(e,t))}function vt(e,t,r){if(e.tag===3)QI(e,e,r);else for(;t!==null;){if(t.tag===3){QI(t,e,r);break}else if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(ni===null||!ni.has(o))){e=ql(r,e),e=L1(t,e,1),t=oi(t,e,1),e=Lr(),t!==null&&(hd(t,1,e),zr(t,e));break}}t=t.return}}function Ez(e,t,r){var o=e.pingCache;o!==null&&o.delete(t),t=Lr(),e.pingedLanes|=e.suspendedLanes&r,Ht===e&&(Kt&r)===r&&(Et===4||Et===3&&(Kt&130023424)===Kt&&500>Ct()-B0?ds(e,0):V0|=r),zr(e,t)}function j1(e,t){t===0&&(e.mode&1?(t=$p,$p<<=1,!($p&130023424)&&($p=4194304)):t=1);var r=Lr();e=la(e,t),e!==null&&(hd(e,t,r),zr(e,r))}function Az(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),j1(e,r)}function Dz(e,t){var r=0;switch(e.tag){case 13:var o=e.stateNode,n=e.memoizedState;n!==null&&(r=n.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(W(314))}o!==null&&o.delete(t),j1(e,r)}var q1;q1=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Hr.current)Br=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return Br=!1,wz(e,t,r);Br=!!(e.flags&131072)}else Br=!1,at&&t.flags&1048576&&YP(t,Mm,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;mm(e,t),e=t.pendingProps;var n=zl(t,ir.current);Bl(t,r),n=A0(null,t,o,e,n,r);var a=D0();return t.flags|=1,typeof n=="object"&&n!==null&&typeof n.render=="function"&&n.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ur(o)?(a=!0,Tm(t)):a=!1,t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,P0(t),n.updater=Xm,t.stateNode=n,n._reactInternals=t,Wx(t,o,e,r),t=qx(null,t,o,!0,a,r)):(t.tag=0,at&&a&&w0(t),Rr(null,t,n,r),t=t.child),t;case 16:o=t.elementType;e:{switch(mm(e,t),e=t.pendingProps,n=o._init,o=n(o._payload),t.type=o,n=t.tag=_z(o),e=Xo(o,e),n){case 0:t=jx(null,t,o,e,r);break e;case 1:t=UI(null,t,o,e,r);break e;case 11:t=BI(null,t,o,e,r);break e;case 14:t=HI(null,t,o,Xo(o.type,e),r);break e}throw Error(W(306,o,""))}return t;case 0:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:Xo(o,n),jx(e,t,o,n,r);case 1:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:Xo(o,n),UI(e,t,o,n,r);case 3:e:{if(k1(t),e===null)throw Error(W(387));o=t.pendingProps,a=t.memoizedState,n=a.element,r1(e,t),Dm(t,o,null,r);var i=t.memoizedState;if(o=i.element,a.isDehydrated)if(a={element:o,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){n=ql(Error(W(423)),t),t=zI(e,t,o,r,n);break e}else if(o!==n){n=ql(Error(W(424)),t),t=zI(e,t,o,r,n);break e}else for(no=ri(t.stateNode.containerInfo.firstChild),ao=t,at=!0,Qo=null,r=e1(t,null,o,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Wl(),o===n){t=ua(e,t,r);break e}Rr(e,t,o,r)}t=t.child}return t;case 5:return o1(t),e===null&&Hx(t),o=t.type,n=t.pendingProps,a=e!==null?e.memoizedProps:null,i=n.children,_x(o,n)?i=null:a!==null&&_x(o,a)&&(t.flags|=32),T1(e,t),Rr(e,t,i,r),t.child;case 6:return e===null&&Hx(t),null;case 13:return M1(e,t,r);case 4:return T0(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=Gl(t,null,o,r):Rr(e,t,o,r),t.child;case 11:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:Xo(o,n),BI(e,t,o,n,r);case 7:return Rr(e,t,t.pendingProps,r),t.child;case 8:return Rr(e,t,t.pendingProps.children,r),t.child;case 12:return Rr(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(o=t.type._context,n=t.pendingProps,a=t.memoizedProps,i=n.value,je(Em,o._currentValue),o._currentValue=i,a!==null)if(en(a.value,i)){if(a.children===n.children&&!Hr.current){t=ua(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){i=a.child;for(var l=s.firstContext;l!==null;){if(l.context===o){if(a.tag===1){l=aa(-1,r&-r),l.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}a.lanes|=r,l=a.alternate,l!==null&&(l.lanes|=r),Ux(a.return,r,t),s.lanes|=r;break}l=l.next}}else if(a.tag===10)i=a.type===t.type?null:a.child;else if(a.tag===18){if(i=a.return,i===null)throw Error(W(341));i.lanes|=r,s=i.alternate,s!==null&&(s.lanes|=r),Ux(i,r,t),i=a.sibling}else i=a.child;if(i!==null)i.return=a;else for(i=a;i!==null;){if(i===t){i=null;break}if(a=i.sibling,a!==null){a.return=i.return,i=a;break}i=i.return}a=i}Rr(e,t,n.children,r),t=t.child}return t;case 9:return n=t.type,o=t.pendingProps.children,Bl(t,r),n=Po(n),o=o(n),t.flags|=1,Rr(e,t,o,r),t.child;case 14:return o=t.type,n=Xo(o,t.pendingProps),n=Xo(o.type,n),HI(e,t,o,n,r);case 15:return I1(e,t,t.type,t.pendingProps,r);case 17:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:Xo(o,n),mm(e,t),t.tag=1,Ur(o)?(e=!0,Tm(t)):e=!1,Bl(t,r),b1(t,o,n),Wx(t,o,n,r),qx(null,t,o,!0,e,r);case 19:return E1(e,t,r);case 22:return P1(e,t,r)}throw Error(W(156,t.tag))};function $1(e,t){return wP(e,t)}function Nz(e,t,r,o){this.tag=e,this.key=r,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=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lo(e,t,r,o){return new Nz(e,t,r,o)}function W0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _z(e){if(typeof e=="function")return W0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===l0)return 11;if(e===u0)return 14}return 2}function ii(e,t){var r=e.alternate;return r===null?(r=Lo(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function vm(e,t,r,o,n,a){var i=2;if(o=e,typeof e=="function")W0(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Rl:return fs(r.children,n,a,t);case s0:i=8,n|=8;break;case px:return e=Lo(12,r,t,n|2),e.elementType=px,e.lanes=a,e;case mx:return e=Lo(13,r,t,n),e.elementType=mx,e.lanes=a,e;case gx:return e=Lo(19,r,t,n),e.elementType=gx,e.lanes=a,e;case oP:return Zm(r,n,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case tP:i=10;break e;case rP:i=9;break e;case l0:i=11;break e;case u0:i=14;break e;case $a:i=16,o=null;break e}throw Error(W(130,e==null?e:typeof e,""))}return t=Lo(i,r,t,n),t.elementType=e,t.type=o,t.lanes=a,t}function fs(e,t,r,o){return e=Lo(7,e,o,t),e.lanes=r,e}function Zm(e,t,r,o){return e=Lo(22,e,o,t),e.elementType=oP,e.lanes=r,e.stateNode={isHidden:!1},e}function cx(e,t,r){return e=Lo(6,e,null,t),e.lanes=r,e}function dx(e,t,r){return t=Lo(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Oz(e,t,r,o,n){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=Ky(0),this.expirationTimes=Ky(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ky(0),this.identifierPrefix=o,this.onRecoverableError=n,this.mutableSourceEagerHydrationData=null}function G0(e,t,r,o,n,a,i,s,l){return e=new Oz(e,t,r,s,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Lo(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:o,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},P0(a),e}function Fz(e,t,r){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:bl,key:o==null?null:""+o,children:e,containerInfo:t,implementation:r}}function K1(e){if(!e)return li;e=e._reactInternals;e:{if(xs(e)!==e||e.tag!==1)throw Error(W(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ur(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(W(171))}if(e.tag===1){var r=e.type;if(Ur(r))return KP(e,r,t)}return t}function X1(e,t,r,o,n,a,i,s,l){return e=G0(r,o,!0,e,n,a,i,s,l),e.context=K1(null),r=e.current,o=Lr(),n=ai(r),a=aa(o,n),a.callback=t??null,oi(r,a,n),e.current.lanes=n,hd(e,n,o),zr(e,o),e}function Jm(e,t,r,o){var n=t.current,a=Lr(),i=ai(n);return r=K1(r),t.context===null?t.context=r:t.pendingContext=r,t=aa(a,i),t.payload={element:e},o=o===void 0?null:o,o!==null&&(t.callback=o),e=oi(n,t,i),e!==null&&(Jo(e,n,i,a),dm(e,n,i)),i}function Um(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function ZI(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function j0(e,t){ZI(e,t),(e=e.alternate)&&ZI(e,t)}function Vz(){return null}var Y1=typeof reportError=="function"?reportError:function(e){console.error(e)};function q0(e){this._internalRoot=e}eg.prototype.render=q0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(W(409));Jm(e,t,null,null)};eg.prototype.unmount=q0.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;vs(function(){Jm(null,e,null,null)}),t[sa]=null}};function eg(e){this._internalRoot=e}eg.prototype.unstable_scheduleHydration=function(e){if(e){var t=PP();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Xa.length&&t!==0&&t<Xa[r].priority;r++);Xa.splice(r,0,e),r===0&&kP(e)}};function $0(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function tg(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function JI(){}function Bz(e,t,r,o,n){if(n){if(typeof o=="function"){var a=o;o=function(){var u=Um(i);a.call(u)}}var i=X1(t,o,e,0,null,!1,!1,"",JI);return e._reactRootContainer=i,e[sa]=i.current,sd(e.nodeType===8?e.parentNode:e),vs(),i}for(;n=e.lastChild;)e.removeChild(n);if(typeof o=="function"){var s=o;o=function(){var u=Um(l);s.call(u)}}var l=G0(e,0,!1,null,null,!1,!1,"",JI);return e._reactRootContainer=l,e[sa]=l.current,sd(e.nodeType===8?e.parentNode:e),vs(function(){Jm(t,l,r,o)}),l}function rg(e,t,r,o,n){var a=r._reactRootContainer;if(a){var i=a;if(typeof n=="function"){var s=n;n=function(){var l=Um(i);s.call(l)}}Jm(t,i,e,n)}else i=Bz(r,t,e,n,o);return Um(i)}LP=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=zc(t.pendingLanes);r!==0&&(f0(t,r|1),zr(t,Ct()),!(Ie&6)&&($l=Ct()+500,di()))}break;case 13:vs(function(){var o=la(e,1);if(o!==null){var n=Lr();Jo(o,e,1,n)}}),j0(e,1)}};p0=function(e){if(e.tag===13){var t=la(e,134217728);if(t!==null){var r=Lr();Jo(t,e,134217728,r)}j0(e,134217728)}};IP=function(e){if(e.tag===13){var t=ai(e),r=la(e,t);if(r!==null){var o=Lr();Jo(r,e,t,o)}j0(e,t)}};PP=function(){return Oe};TP=function(e,t){var r=Oe;try{return Oe=e,t()}finally{Oe=r}};Lx=function(e,t,r){switch(t){case"input":if(yx(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var n=qm(o);if(!n)throw Error(W(90));aP(o),yx(o,n)}}}break;case"textarea":sP(e,r);break;case"select":t=r.value,t!=null&&_l(e,!!r.multiple,t,!1)}};mP=H0;gP=vs;var Hz={usingClientEntryPoint:!1,Events:[yd,Tl,qm,fP,pP,H0]},Vc={findFiberByHostInstance:ls,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Uz={bundleType:Vc.bundleType,version:Vc.version,rendererPackageName:Vc.rendererPackageName,rendererConfig:Vc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ca.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=yP(e),e===null?null:e.stateNode},findFiberByHostInstance:Vc.findFiberByHostInstance||Vz,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Bc=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Bc.isDisabled&&Bc.supportsFiber))try{zm=Bc.inject(Uz),Dn=Bc}catch{}var Bc;lo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Hz;lo.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!$0(t))throw Error(W(200));return Fz(e,t,null,r)};lo.createRoot=function(e,t){if(!$0(e))throw Error(W(299));var r=!1,o="",n=Y1;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(n=t.onRecoverableError)),t=G0(e,1,!1,null,null,r,!1,o,n),e[sa]=t.current,sd(e.nodeType===8?e.parentNode:e),new q0(t)};lo.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(W(188)):(e=Object.keys(e).join(","),Error(W(268,e)));return e=yP(t),e=e===null?null:e.stateNode,e};lo.flushSync=function(e){return vs(e)};lo.hydrate=function(e,t,r){if(!tg(t))throw Error(W(200));return rg(null,e,t,!0,r)};lo.hydrateRoot=function(e,t,r){if(!$0(e))throw Error(W(405));var o=r!=null&&r.hydratedSources||null,n=!1,a="",i=Y1;if(r!=null&&(r.unstable_strictMode===!0&&(n=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onRecoverableError!==void 0&&(i=r.onRecoverableError)),t=X1(t,null,e,1,r??null,n,!1,a,i),e[sa]=t.current,sd(e),o)for(e=0;e<o.length;e++)r=o[e],n=r._getVersion,n=n(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,n]:t.mutableSourceEagerHydrationData.push(r,n);return new eg(t)};lo.render=function(e,t,r){if(!tg(t))throw Error(W(200));return rg(null,e,t,!1,r)};lo.unmountComponentAtNode=function(e){if(!tg(e))throw Error(W(40));return e._reactRootContainer?(vs(function(){rg(null,null,e,!1,function(){e._reactRootContainer=null,e[sa]=null})}),!0):!1};lo.unstable_batchedUpdates=H0;lo.unstable_renderSubtreeIntoContainer=function(e,t,r,o){if(!tg(r))throw Error(W(200));if(e==null||e._reactInternals===void 0)throw Error(W(38));return rg(e,t,r,!1,o)};lo.version="18.3.1-next-f1338f8080-20240426"});var Yl=tr((MZ,J1)=>{"use strict";function Z1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Z1)}catch(e){console.error(e)}}Z1(),J1.exports=Q1()});var $T=tr(qT=>{"use strict";var fu=E();function GW(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jW=typeof Object.is=="function"?Object.is:GW,qW=fu.useState,$W=fu.useEffect,KW=fu.useLayoutEffect,XW=fu.useDebugValue;function YW(e,t){var r=t(),o=qW({inst:{value:r,getSnapshot:t}}),n=o[0].inst,a=o[1];return KW(function(){n.value=r,n.getSnapshot=t,cw(n)&&a({inst:n})},[e,r,t]),$W(function(){return cw(n)&&a({inst:n}),e(function(){cw(n)&&a({inst:n})})},[e]),XW(r),r}function cw(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!jW(e,r)}catch{return!0}}function QW(e,t){return t()}var ZW=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?QW:YW;qT.useSyncExternalStore=fu.useSyncExternalStore!==void 0?fu.useSyncExternalStore:ZW});var XT=tr((Ere,KT)=>{"use strict";KT.exports=$T()});var s_=tr(we=>{"use strict";var CS=Symbol.for("react.transitional.element"),u8=Symbol.for("react.portal"),c8=Symbol.for("react.fragment"),d8=Symbol.for("react.strict_mode"),f8=Symbol.for("react.profiler"),p8=Symbol.for("react.consumer"),m8=Symbol.for("react.context"),g8=Symbol.for("react.forward_ref"),h8=Symbol.for("react.suspense"),v8=Symbol.for("react.memo"),t_=Symbol.for("react.lazy"),Y2=Symbol.iterator;function y8(e){return e===null||typeof e!="object"?null:(e=Y2&&e[Y2]||e["@@iterator"],typeof e=="function"?e:null)}var r_={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},o_=Object.assign,n_={};function ic(e,t,r){this.props=e,this.context=t,this.refs=n_,this.updater=r||r_}ic.prototype.isReactComponent={};ic.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ic.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function a_(){}a_.prototype=ic.prototype;function SS(e,t,r){this.props=e,this.context=t,this.refs=n_,this.updater=r||r_}var bS=SS.prototype=new a_;bS.constructor=SS;o_(bS,ic.prototype);bS.isPureReactComponent=!0;var Q2=Array.isArray,ut={H:null,A:null,T:null,S:null,V:null},i_=Object.prototype.hasOwnProperty;function RS(e,t,r,o,n,a){return r=a.ref,{$$typeof:CS,type:e,key:t,ref:r!==void 0?r:null,props:a}}function x8(e,t){return RS(e.type,t,void 0,void 0,void 0,e.props)}function LS(e){return typeof e=="object"&&e!==null&&e.$$typeof===CS}function w8(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var Z2=/\/+/g;function wS(e,t){return typeof e=="object"&&e!==null&&e.key!=null?w8(""+e.key):t.toString(36)}function J2(){}function C8(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(J2,J2):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function ac(e,t,r,o,n){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"bigint":case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case CS:case u8:i=!0;break;case t_:return i=e._init,ac(i(e._payload),t,r,o,n)}}if(i)return n=n(e),i=o===""?"."+wS(e,0):o,Q2(n)?(r="",i!=null&&(r=i.replace(Z2,"$&/")+"/"),ac(n,t,r,"",function(u){return u})):n!=null&&(LS(n)&&(n=x8(n,r+(n.key==null||e&&e.key===n.key?"":(""+n.key).replace(Z2,"$&/")+"/")+i)),t.push(n)),1;i=0;var s=o===""?".":o+":";if(Q2(e))for(var l=0;l<e.length;l++)o=e[l],a=s+wS(o,l),i+=ac(o,t,r,a,n);else if(l=y8(e),typeof l=="function")for(e=l.call(e),l=0;!(o=e.next()).done;)o=o.value,a=s+wS(o,l++),i+=ac(o,t,r,a,n);else if(a==="object"){if(typeof e.then=="function")return ac(C8(e),t,r,o,n);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return i}function pv(e,t,r){if(e==null)return e;var o=[],n=0;return ac(e,o,"","",function(a){return t.call(r,a,n++)}),o}function S8(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var e_=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function b8(){}we.Children={map:pv,forEach:function(e,t,r){pv(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return pv(e,function(){t++}),t},toArray:function(e){return pv(e,function(t){return t})||[]},only:function(e){if(!LS(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};we.Component=ic;we.Fragment=c8;we.Profiler=f8;we.PureComponent=SS;we.StrictMode=d8;we.Suspense=h8;we.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ut;we.__COMPILER_RUNTIME={__proto__:null,c:function(e){return ut.H.useMemoCache(e)}};we.cache=function(e){return function(){return e.apply(null,arguments)}};we.cloneElement=function(e,t,r){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var o=o_({},e.props),n=e.key,a=void 0;if(t!=null)for(i in t.ref!==void 0&&(a=void 0),t.key!==void 0&&(n=""+t.key),t)!i_.call(t,i)||i==="key"||i==="__self"||i==="__source"||i==="ref"&&t.ref===void 0||(o[i]=t[i]);var i=arguments.length-2;if(i===1)o.children=r;else if(1<i){for(var s=Array(i),l=0;l<i;l++)s[l]=arguments[l+2];o.children=s}return RS(e.type,n,void 0,void 0,a,o)};we.createContext=function(e){return e={$$typeof:m8,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:p8,_context:e},e};we.createElement=function(e,t,r){var o,n={},a=null;if(t!=null)for(o in t.key!==void 0&&(a=""+t.key),t)i_.call(t,o)&&o!=="key"&&o!=="__self"&&o!=="__source"&&(n[o]=t[o]);var i=arguments.length-2;if(i===1)n.children=r;else if(1<i){for(var s=Array(i),l=0;l<i;l++)s[l]=arguments[l+2];n.children=s}if(e&&e.defaultProps)for(o in i=e.defaultProps,i)n[o]===void 0&&(n[o]=i[o]);return RS(e,a,void 0,void 0,null,n)};we.createRef=function(){return{current:null}};we.forwardRef=function(e){return{$$typeof:g8,render:e}};we.isValidElement=LS;we.lazy=function(e){return{$$typeof:t_,_payload:{_status:-1,_result:e},_init:S8}};we.memo=function(e,t){return{$$typeof:v8,type:e,compare:t===void 0?null:t}};we.startTransition=function(e){var t=ut.T,r={};ut.T=r;try{var o=e(),n=ut.S;n!==null&&n(r,o),typeof o=="object"&&o!==null&&typeof o.then=="function"&&o.then(b8,e_)}catch(a){e_(a)}finally{ut.T=t}};we.unstable_useCacheRefresh=function(){return ut.H.useCacheRefresh()};we.use=function(e){return ut.H.use(e)};we.useActionState=function(e,t,r){return ut.H.useActionState(e,t,r)};we.useCallback=function(e,t){return ut.H.useCallback(e,t)};we.useContext=function(e){return ut.H.useContext(e)};we.useDebugValue=function(){};we.useDeferredValue=function(e,t){return ut.H.useDeferredValue(e,t)};we.useEffect=function(e,t,r){var o=ut.H;if(typeof r=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return o.useEffect(e,t)};we.useId=function(){return ut.H.useId()};we.useImperativeHandle=function(e,t,r){return ut.H.useImperativeHandle(e,t,r)};we.useInsertionEffect=function(e,t){return ut.H.useInsertionEffect(e,t)};we.useLayoutEffect=function(e,t){return ut.H.useLayoutEffect(e,t)};we.useMemo=function(e,t){return ut.H.useMemo(e,t)};we.useOptimistic=function(e,t){return ut.H.useOptimistic(e,t)};we.useReducer=function(e,t,r){return ut.H.useReducer(e,t,r)};we.useRef=function(e){return ut.H.useRef(e)};we.useState=function(e){return ut.H.useState(e)};we.useSyncExternalStore=function(e,t,r){return ut.H.useSyncExternalStore(e,t,r)};we.useTransition=function(){return ut.H.useTransition()};we.version="19.1.1"});var Pe=tr((MSe,l_)=>{"use strict";l_.exports=s_()});var f_=tr(mv=>{"use strict";var R8=Symbol.for("react.transitional.element"),L8=Symbol.for("react.fragment");function d_(e,t,r){var o=null;if(r!==void 0&&(o=""+r),t.key!==void 0&&(o=""+t.key),"key"in t){r={};for(var n in t)n!=="key"&&(r[n]=t[n])}else r=t;return t=r.ref,{$$typeof:R8,type:e,key:o,ref:t!==void 0?t:null,props:r}}mv.Fragment=L8;mv.jsx=d_;mv.jsxs=d_});var vn=tr((_Se,p_)=>{"use strict";p_.exports=f_()});var v_=tr(Ar=>{"use strict";var A8=Pe();function h_(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Wi(){}var Er={d:{f:Wi,r:function(){throw Error(h_(522))},D:Wi,C:Wi,L:Wi,m:Wi,X:Wi,S:Wi,M:Wi},p:0,findDOMNode:null},D8=Symbol.for("react.portal");function N8(e,t,r){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:D8,key:o==null?null:""+o,children:e,containerInfo:t,implementation:r}}var np=A8.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function yv(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}Ar.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Er;Ar.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(h_(299));return N8(e,t,null,r)};Ar.flushSync=function(e){var t=np.T,r=Er.p;try{if(np.T=null,Er.p=2,e)return e()}finally{np.T=t,Er.p=r,Er.d.f()}};Ar.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Er.d.C(e,t))};Ar.prefetchDNS=function(e){typeof e=="string"&&Er.d.D(e)};Ar.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var r=t.as,o=yv(r,t.crossOrigin),n=typeof t.integrity=="string"?t.integrity:void 0,a=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;r==="style"?Er.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:o,integrity:n,fetchPriority:a}):r==="script"&&Er.d.X(e,{crossOrigin:o,integrity:n,fetchPriority:a,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};Ar.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var r=yv(t.as,t.crossOrigin);Er.d.M(e,{crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&Er.d.M(e)};Ar.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var r=t.as,o=yv(r,t.crossOrigin);Er.d.L(e,r,{crossOrigin:o,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};Ar.preloadModule=function(e,t){if(typeof e=="string")if(t){var r=yv(t.as,t.crossOrigin);Er.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else Er.d.m(e)};Ar.requestFormReset=function(e){Er.d.r(e)};Ar.unstable_batchedUpdates=function(e,t){return e(t)};Ar.useFormState=function(e,t,r){return np.H.useFormState(e,t,r)};Ar.useFormStatus=function(){return np.H.useHostTransitionStatus()};Ar.version="19.1.1"});var TS=tr((GSe,x_)=>{"use strict";function y_(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(y_)}catch(e){console.error(e)}}y_(),x_.exports=v_()});var mg=b(E());var Gr=b(E(),1);var wo=b(E(),1),Ny=b(M(),1);function ML(e,t){let r=wo.createContext(t),o=a=>{let{children:i,...s}=a,l=wo.useMemo(()=>s,Object.values(s));return(0,Ny.jsx)(r.Provider,{value:l,children:i})};o.displayName=e+"Provider";function n(a){let i=wo.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return[o,n]}function Te(e,t=[]){let r=[];function o(a,i){let s=wo.createContext(i),l=r.length;r=[...r,i];let u=d=>{let{scope:f,children:p,...h}=d,m=f?.[e]?.[l]||s,x=wo.useMemo(()=>h,Object.values(h));return(0,Ny.jsx)(m.Provider,{value:x,children:p})};u.displayName=a+"Provider";function c(d,f){let p=f?.[e]?.[l]||s,h=wo.useContext(p);if(h)return h;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${a}\``)}return[u,c]}let n=()=>{let a=r.map(i=>wo.createContext(i));return function(s){let l=s?.[e]||a;return wo.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return n.scopeName=e,[o,MU(n,...t)]}function MU(...e){let t=e[0];if(e.length===1)return t;let r=()=>{let o=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(a){let i=o.reduce((s,{useScope:l,scopeName:u})=>{let d=l(a)[`__scope${u}`];return{...s,...d}},{});return wo.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}var Ga=b(E(),1);var AL=b(E(),1);function EL(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function ns(...e){return t=>{let r=!1,o=e.map(n=>{let a=EL(n,t);return!r&&typeof a=="function"&&(r=!0),a});if(r)return()=>{for(let n=0;n<o.length;n++){let a=o[n];typeof a=="function"?a():EL(e[n],null)}}}}function ne(...e){return AL.useCallback(ns(...e),e)}var kt=b(E(),1);var wl=b(M(),1);function ro(e){let t=EU(e),r=kt.forwardRef((o,n)=>{let{children:a,...i}=o,s=kt.Children.toArray(a),l=s.find(AU);if(l){let u=l.props.children,c=s.map(d=>d===l?kt.Children.count(u)>1?kt.Children.only(null):kt.isValidElement(u)?u.props.children:null:d);return(0,wl.jsx)(t,{...i,ref:n,children:kt.isValidElement(u)?kt.cloneElement(u,void 0,c):null})}return(0,wl.jsx)(t,{...i,ref:n,children:a})});return r.displayName=`${e}.Slot`,r}function EU(e){let t=kt.forwardRef((r,o)=>{let{children:n,...a}=r;if(kt.isValidElement(n)){let i=NU(n),s=DU(a,n.props);return n.type!==kt.Fragment&&(s.ref=o?ns(o,i):i),kt.cloneElement(n,s)}return kt.Children.count(n)>1?kt.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var DL=Symbol("radix.slottable");function NL(e){let t=({children:r})=>(0,wl.jsx)(wl.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=DL,t}function AU(e){return kt.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===DL}function DU(e,t){let r={...t};for(let o in t){let n=e[o],a=t[o];/^on[A-Z]/.test(o)?n&&a?r[o]=(...s)=>{let l=a(...s);return n(...s),l}:n&&(r[o]=n):o==="style"?r[o]={...n,...a}:o==="className"&&(r[o]=[n,a].filter(Boolean).join(" "))}return{...e,...r}}function NU(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Op=b(M(),1),_U=b(E(),1);var OU=b(M(),1);function Tn(e){let t=e+"CollectionProvider",[r,o]=Te(t),[n,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{let{scope:x,children:v}=m,g=Ga.default.useRef(null),y=Ga.default.useRef(new Map).current;return(0,Op.jsx)(n,{scope:x,itemMap:y,collectionRef:g,children:v})};i.displayName=t;let s=e+"CollectionSlot",l=ro(s),u=Ga.default.forwardRef((m,x)=>{let{scope:v,children:g}=m,y=a(s,v),w=ne(x,y.collectionRef);return(0,Op.jsx)(l,{ref:w,children:g})});u.displayName=s;let c=e+"CollectionItemSlot",d="data-radix-collection-item",f=ro(c),p=Ga.default.forwardRef((m,x)=>{let{scope:v,children:g,...y}=m,w=Ga.default.useRef(null),C=ne(x,w),R=a(c,v);return Ga.default.useEffect(()=>(R.itemMap.set(w,{ref:w,...y}),()=>void R.itemMap.delete(w))),(0,Op.jsx)(f,{[d]:"",ref:C,children:g})});p.displayName=c;function h(m){let x=a(e+"CollectionConsumer",m);return Ga.default.useCallback(()=>{let g=x.collectionRef.current;if(!g)return[];let y=Array.from(g.querySelectorAll(`[${d}]`));return Array.from(x.itemMap.values()).sort((R,S)=>y.indexOf(R.ref.current)-y.indexOf(S.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:i,Slot:u,ItemSlot:p},h,o]}var CZ=!!(typeof window<"u"&&window.document&&window.document.createElement);function H(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),r===!1||!n.defaultPrevented)return t?.(n)}}var Co=b(E(),1);var _L=b(E(),1),ke=globalThis?.document?_L.useLayoutEffect:()=>{};var Fp=b(E(),1);var FU=Co[" useInsertionEffect ".trim().toString()]||ke;function Ue({prop:e,defaultProp:t,onChange:r=()=>{},caller:o}){let[n,a,i]=VU({defaultProp:t,onChange:r}),s=e!==void 0,l=s?e:n;{let c=Co.useRef(e!==void 0);Co.useEffect(()=>{let d=c.current;d!==s&&console.warn(`${o} is changing from ${d?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=s},[s,o])}let u=Co.useCallback(c=>{if(s){let d=BU(c)?c(e):c;d!==e&&i.current?.(d)}else a(c)},[s,e,a,i]);return[l,u]}function VU({defaultProp:e,onChange:t}){let[r,o]=Co.useState(e),n=Co.useRef(r),a=Co.useRef(t);return FU(()=>{a.current=t},[t]),Co.useEffect(()=>{n.current!==r&&(a.current?.(r),n.current=r)},[r,n]),[r,o,a]}function BU(e){return typeof e=="function"}var LZ=Symbol("RADIX:SYNC_STATE");var eT=b(E(),1),tT=b(Yl(),1);var rT=b(M(),1),zz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],$=zz.reduce((e,t)=>{let r=ro(`Primitive.${t}`),o=eT.forwardRef((n,a)=>{let{asChild:i,...s}=n,l=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),(0,rT.jsx)(l,{...s,ref:a})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function Ql(e,t){e&&tT.flushSync(()=>e.dispatchEvent(t))}var Yt=b(E(),1);var Wr=b(E(),1);var oT=b(E(),1);function Wz(e,t){return oT.useReducer((r,o)=>t[r][o]??r,e)}var it=e=>{let{present:t,children:r}=e,o=Gz(t),n=typeof r=="function"?r({present:o.isPresent}):Wr.Children.only(r),a=ne(o.ref,jz(n));return typeof r=="function"||o.isPresent?Wr.cloneElement(n,{ref:a}):null};it.displayName="Presence";function Gz(e){let[t,r]=Wr.useState(),o=Wr.useRef(null),n=Wr.useRef(e),a=Wr.useRef("none"),i=e?"mounted":"unmounted",[s,l]=Wz(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return Wr.useEffect(()=>{let u=og(o.current);a.current=s==="mounted"?u:"none"},[s]),ke(()=>{let u=o.current,c=n.current;if(c!==e){let f=a.current,p=og(u);e?l("MOUNT"):p==="none"||u?.display==="none"?l("UNMOUNT"):l(c&&f!==p?"ANIMATION_OUT":"UNMOUNT"),n.current=e}},[e,l]),ke(()=>{if(t){let u,c=t.ownerDocument.defaultView??window,d=p=>{let m=og(o.current).includes(CSS.escape(p.animationName));if(p.target===t&&m&&(l("ANIMATION_END"),!n.current)){let x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},f=p=>{p.target===t&&(a.current=og(o.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:Wr.useCallback(u=>{o.current=u?getComputedStyle(u):null,r(u)},[])}}function og(e){return e?.animationName||"none"}function jz(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var K0=b(E(),1);var qz=K0[" useId ".trim().toString()]||(()=>{}),$z=0;function qe(e){let[t,r]=K0.useState(qz());return ke(()=>{e||r(o=>o??String($z++))},[e]),e||(t?`radix-${t}`:"")}var ws=b(M(),1),ng="Collapsible",[Kz,X0]=Te(ng),[Xz,Y0]=Kz(ng),nT=Yt.forwardRef((e,t)=>{let{__scopeCollapsible:r,open:o,defaultOpen:n,disabled:a,onOpenChange:i,...s}=e,[l,u]=Ue({prop:o,defaultProp:n??!1,onChange:i,caller:ng});return(0,ws.jsx)(Xz,{scope:r,disabled:a,contentId:qe(),open:l,onOpenToggle:Yt.useCallback(()=>u(c=>!c),[u]),children:(0,ws.jsx)($.div,{"data-state":Z0(l),"data-disabled":a?"":void 0,...s,ref:t})})});nT.displayName=ng;var aT="CollapsibleTrigger",iT=Yt.forwardRef((e,t)=>{let{__scopeCollapsible:r,...o}=e,n=Y0(aT,r);return(0,ws.jsx)($.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":Z0(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...o,ref:t,onClick:H(e.onClick,n.onOpenToggle)})});iT.displayName=aT;var Q0="CollapsibleContent",sT=Yt.forwardRef((e,t)=>{let{forceMount:r,...o}=e,n=Y0(Q0,e.__scopeCollapsible);return(0,ws.jsx)(it,{present:r||n.open,children:({present:a})=>(0,ws.jsx)(Yz,{...o,ref:t,present:a})})});sT.displayName=Q0;var Yz=Yt.forwardRef((e,t)=>{let{__scopeCollapsible:r,present:o,children:n,...a}=e,i=Y0(Q0,r),[s,l]=Yt.useState(o),u=Yt.useRef(null),c=ne(t,u),d=Yt.useRef(0),f=d.current,p=Yt.useRef(0),h=p.current,m=i.open||s,x=Yt.useRef(m),v=Yt.useRef(void 0);return Yt.useEffect(()=>{let g=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(g)},[]),ke(()=>{let g=u.current;if(g){v.current=v.current||{transitionDuration:g.style.transitionDuration,animationName:g.style.animationName},g.style.transitionDuration="0s",g.style.animationName="none";let y=g.getBoundingClientRect();d.current=y.height,p.current=y.width,x.current||(g.style.transitionDuration=v.current.transitionDuration,g.style.animationName=v.current.animationName),l(o)}},[i.open,o]),(0,ws.jsx)($.div,{"data-state":Z0(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!m,...a,ref:c,style:{"--radix-collapsible-content-height":f?`${f}px`:void 0,"--radix-collapsible-content-width":h?`${h}px`:void 0,...e.style},children:m&&n})});function Z0(e){return e?"open":"closed"}var ag=nT,Zl=iT,wd=sT;var ig=b(E(),1),Qz=b(M(),1),Zz=ig.createContext(void 0);function _n(e){let t=ig.useContext(Zz);return e||t||"ltr"}var At=b(M(),1),tn="Accordion",Jz=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[ew,e5,t5]=Tn(tn),[lg,rJ]=Te(tn,[t5,X0]),tw=X0(),uT=Gr.default.forwardRef((e,t)=>{let{type:r,...o}=e,n=o,a=o;return(0,At.jsx)(ew.Provider,{scope:e.__scopeAccordion,children:r==="multiple"?(0,At.jsx)(a5,{...a,ref:t}):(0,At.jsx)(n5,{...n,ref:t})})});uT.displayName=tn;var[cT,r5]=lg(tn),[dT,o5]=lg(tn,{collapsible:!1}),n5=Gr.default.forwardRef((e,t)=>{let{value:r,defaultValue:o,onValueChange:n=()=>{},collapsible:a=!1,...i}=e,[s,l]=Ue({prop:r,defaultProp:o??"",onChange:n,caller:tn});return(0,At.jsx)(cT,{scope:e.__scopeAccordion,value:Gr.default.useMemo(()=>s?[s]:[],[s]),onItemOpen:l,onItemClose:Gr.default.useCallback(()=>a&&l(""),[a,l]),children:(0,At.jsx)(dT,{scope:e.__scopeAccordion,collapsible:a,children:(0,At.jsx)(fT,{...i,ref:t})})})}),a5=Gr.default.forwardRef((e,t)=>{let{value:r,defaultValue:o,onValueChange:n=()=>{},...a}=e,[i,s]=Ue({prop:r,defaultProp:o??[],onChange:n,caller:tn}),l=Gr.default.useCallback(c=>s((d=[])=>[...d,c]),[s]),u=Gr.default.useCallback(c=>s((d=[])=>d.filter(f=>f!==c)),[s]);return(0,At.jsx)(cT,{scope:e.__scopeAccordion,value:i,onItemOpen:l,onItemClose:u,children:(0,At.jsx)(dT,{scope:e.__scopeAccordion,collapsible:!0,children:(0,At.jsx)(fT,{...a,ref:t})})})}),[i5,ug]=lg(tn),fT=Gr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,disabled:o,dir:n,orientation:a="vertical",...i}=e,s=Gr.default.useRef(null),l=ne(s,t),u=e5(r),d=_n(n)==="ltr",f=H(e.onKeyDown,p=>{if(!Jz.includes(p.key))return;let h=p.target,m=u().filter(L=>!L.ref.current?.disabled),x=m.findIndex(L=>L.ref.current===h),v=m.length;if(x===-1)return;p.preventDefault();let g=x,y=0,w=v-1,C=()=>{g=x+1,g>w&&(g=y)},R=()=>{g=x-1,g<y&&(g=w)};switch(p.key){case"Home":g=y;break;case"End":g=w;break;case"ArrowRight":a==="horizontal"&&(d?C():R());break;case"ArrowDown":a==="vertical"&&C();break;case"ArrowLeft":a==="horizontal"&&(d?R():C());break;case"ArrowUp":a==="vertical"&&R();break}let S=g%v;m[S].ref.current?.focus()});return(0,At.jsx)(i5,{scope:r,disabled:o,direction:n,orientation:a,children:(0,At.jsx)(ew.Slot,{scope:r,children:(0,At.jsx)($.div,{...i,"data-orientation":a,ref:l,onKeyDown:o?void 0:f})})})}),sg="AccordionItem",[s5,rw]=lg(sg),pT=Gr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,value:o,...n}=e,a=ug(sg,r),i=r5(sg,r),s=tw(r),l=qe(),u=o&&i.value.includes(o)||!1,c=a.disabled||e.disabled;return(0,At.jsx)(s5,{scope:r,open:u,disabled:c,triggerId:l,children:(0,At.jsx)(ag,{"data-orientation":a.orientation,"data-state":xT(u),...s,...n,ref:t,disabled:c,open:u,onOpenChange:d=>{d?i.onItemOpen(o):i.onItemClose(o)}})})});pT.displayName=sg;var mT="AccordionHeader",gT=Gr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,n=ug(tn,r),a=rw(mT,r);return(0,At.jsx)($.h3,{"data-orientation":n.orientation,"data-state":xT(a.open),"data-disabled":a.disabled?"":void 0,...o,ref:t})});gT.displayName=mT;var J0="AccordionTrigger",hT=Gr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,n=ug(tn,r),a=rw(J0,r),i=o5(J0,r),s=tw(r);return(0,At.jsx)(ew.ItemSlot,{scope:r,children:(0,At.jsx)(Zl,{"aria-disabled":a.open&&!i.collapsible||void 0,"data-orientation":n.orientation,id:a.triggerId,...s,...o,ref:t})})});hT.displayName=J0;var vT="AccordionContent",yT=Gr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,n=ug(tn,r),a=rw(vT,r),i=tw(r);return(0,At.jsx)(wd,{role:"region","aria-labelledby":a.triggerId,"data-orientation":n.orientation,...i,...o,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});yT.displayName=vT;function xT(e){return e?"open":"closed"}var wT=uT,CT=pT,ST=gT,ow=hT,nw=yT;var dg=b(E());var bT=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),u5=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,o)=>o?o.toUpperCase():r.toLowerCase()),aw=e=>{let t=u5(e);return t.charAt(0).toUpperCase()+t.slice(1)},cg=(...e)=>e.filter((t,r,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===r).join(" ").trim(),RT=e=>{for(let t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var Cd=b(E());var LT={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var IT=(0,Cd.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:n="",children:a,iconNode:i,...s},l)=>(0,Cd.createElement)("svg",{ref:l,...LT,width:t,height:t,stroke:e,strokeWidth:o?Number(r)*24/Number(t):r,className:cg("lucide",n),...!a&&!RT(s)&&{"aria-hidden":"true"},...s},[...i.map(([u,c])=>(0,Cd.createElement)(u,c)),...Array.isArray(a)?a:[a]]));var O=(e,t)=>{let r=(0,dg.forwardRef)(({className:o,...n},a)=>(0,dg.createElement)(IT,{ref:a,iconNode:t,className:cg(`lucide-${bT(aw(e))}`,`lucide-${e}`,o),...n}));return r.displayName=aw(e),r};var c5=[["path",{d:"M17 12H7",key:"16if0g"}],["path",{d:"M19 18H5",key:"18s9l3"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],Sd=O("align-center",c5);var d5=[["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 18h18",key:"1h113x"}],["path",{d:"M3 6h18",key:"d0wm0j"}]],bd=O("align-justify",d5);var f5=[["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 18H3",key:"1amg6g"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],Rd=O("align-left",f5);var p5=[["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M21 18H7",key:"1ygte8"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],Ld=O("align-right",p5);var m5=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],Jl=O("arrow-down",m5);var g5=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],eu=O("arrow-up-down",g5);var h5=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],tu=O("arrow-up",h5);var v5=[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]],Id=O("bold",v5);var y5=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],Cs=O("calendar",y5);var x5=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],sr=O("check",x5);var w5=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],On=O("chevron-down",w5);var C5=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],rn=O("chevron-left",C5);var S5=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Pr=O("chevron-right",S5);var b5=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Pd=O("chevron-up",b5);var R5=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],on=O("circle-alert",R5);var L5=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],fi=O("circle-check-big",L5);var I5=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Ss=O("circle",I5);var P5=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Td=O("clock",P5);var T5=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],kd=O("code",T5);var k5=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Md=O("copy",k5);var M5=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],Ed=O("credit-card",M5);var E5=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],ru=O("crown",E5);var A5=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],Fn=O("ellipsis",A5);var D5=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Ad=O("external-link",D5);var N5=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],bs=O("eye",N5);var _5=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Dd=O("file-text",_5);var O5=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]],Nd=O("file",O5);var F5=[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]],_d=O("git-fork",F5);var V5=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],Rs=O("image",V5);var B5=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],ou=O("info",B5);var H5=[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]],Od=O("italic",H5);var U5=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],Fd=O("link",U5);var z5=[["path",{d:"M10 12h11",key:"6m4ad9"}],["path",{d:"M10 18h11",key:"11hvi2"}],["path",{d:"M10 6h11",key:"c7qv1k"}],["path",{d:"M4 10h2",key:"16xx2s"}],["path",{d:"M4 6h1v4",key:"cnovpq"}],["path",{d:"M6 18H4c0-1 2-2 2-3s-1-1.5-2-1",key:"m9a95d"}]],Vd=O("list-ordered",z5);var W5=[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]],Bd=O("list",W5);var G5=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Qt=O("loader-circle",G5);var j5=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],nu=O("lock",j5);var q5=[["path",{d:"M5 12h14",key:"1ays0h"}]],Hd=O("minus",q5);var $5=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],Ud=O("music",$5);var K5=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],au=O("palette",K5);var X5=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],zd=O("phone",X5);var Y5=[["path",{d:"m12 9-8.414 8.414A2 2 0 0 0 3 18.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 3.828 21h1.344a2 2 0 0 0 1.414-.586L15 12",key:"1y3wsu"}],["path",{d:"m18 9 .4.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l.4.4 3.4-3.4a1 1 0 1 1 3 3z",key:"110lr1"}],["path",{d:"m2 22 .414-.414",key:"jhxm08"}]],fg=O("pipette",Y5);var Q5=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]],Wd=O("quote",Q5);var Z5=[["path",{d:"M21 7v6h-6",key:"3ptur4"}],["path",{d:"M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7",key:"1kgawr"}]],Gd=O("redo",Z5);var J5=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Ls=O("search",J5);var eW=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],jr=O("square-pen",eW);var tW=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],iu=O("star",tW);var rW=[["path",{d:"M16 4H9a3 3 0 0 0-2.83 4",key:"43sutm"}],["path",{d:"M14 12a4 4 0 0 1 0 8H6",key:"nlfj13"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}]],jd=O("strikethrough",rW);var oW=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],pi=O("triangle-alert",oW);var nW=[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]],qd=O("underline",nW);var aW=[["path",{d:"M3 7v6h6",key:"1v2h90"}],["path",{d:"M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13",key:"1r6uu6"}]],$d=O("undo",aW);var iW=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],Kd=O("upload",iW);var sW=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],Xd=O("video",sW);var lW=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],uo=O("x",lW);var uW=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],su=O("zap",uW);function PT(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=PT(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function pg(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=PT(e))&&(o&&(o+=" "),o+=t);return o}var lw="-",cW=e=>{let t=fW(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let s=i.split(lw);return s[0]===""&&s.length!==1&&s.shift(),MT(s,t)||dW(i)},getConflictingClassGroupIds:(i,s)=>{let l=r[i]||[];return s&&o[i]?[...l,...o[i]]:l}}},MT=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),n=o?MT(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;let a=e.join(lw);return t.validators.find(({validator:i})=>i(a))?.classGroupId},TT=/^\[(.+)\]$/,dW=e=>{if(TT.test(e)){let t=TT.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},fW=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return mW(Object.entries(e.classGroups),r).forEach(([a,i])=>{sw(i,o,a,t)}),o},sw=(e,t,r,o)=>{e.forEach(n=>{if(typeof n=="string"){let a=n===""?t:kT(t,n);a.classGroupId=r;return}if(typeof n=="function"){if(pW(n)){sw(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([a,i])=>{sw(i,kT(t,a),r,o)})})},kT=(e,t)=>{let r=e;return t.split(lw).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},pW=e=>e.isThemeGetter,mW=(e,t)=>t?e.map(([r,o])=>{let n=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,s])=>[t+i,s])):a);return[r,n]}):e,gW=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,n=(a,i)=>{r.set(a,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(a){let i=r.get(a);if(i!==void 0)return i;if((i=o.get(a))!==void 0)return n(a,i),i},set(a,i){r.has(a)?r.set(a,i):n(a,i)}}},ET="!",hW=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,n=t[0],a=t.length,i=s=>{let l=[],u=0,c=0,d;for(let x=0;x<s.length;x++){let v=s[x];if(u===0){if(v===n&&(o||s.slice(x,x+a)===t)){l.push(s.slice(c,x)),c=x+a;continue}if(v==="/"){d=x;continue}}v==="["?u++:v==="]"&&u--}let f=l.length===0?s:s.substring(c),p=f.startsWith(ET),h=p?f.substring(1):f,m=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:m}};return r?s=>r({className:s,parseClassName:i}):i},vW=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},yW=e=>({cache:gW(e.cacheSize),parseClassName:hW(e),...cW(e)}),xW=/\s+/,wW=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,a=[],i=e.trim().split(xW),s="";for(let l=i.length-1;l>=0;l-=1){let u=i[l],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=r(u),h=!!p,m=o(h?f.substring(0,p):f);if(!m){if(!h){s=u+(s.length>0?" "+s:s);continue}if(m=o(f),!m){s=u+(s.length>0?" "+s:s);continue}h=!1}let x=vW(c).join(":"),v=d?x+ET:x,g=v+m;if(a.includes(g))continue;a.push(g);let y=n(m,h);for(let w=0;w<y.length;++w){let C=y[w];a.push(v+C)}s=u+(s.length>0?" "+s:s)}return s};function CW(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=AT(t))&&(o&&(o+=" "),o+=r);return o}var AT=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=AT(e[o]))&&(r&&(r+=" "),r+=t);return r};function SW(e,...t){let r,o,n,a=i;function i(l){let u=t.reduce((c,d)=>d(c),e());return r=yW(u),o=r.cache.get,n=r.cache.set,a=s,s(l)}function s(l){let u=o(l);if(u)return u;let c=wW(l,r);return n(l,c),c}return function(){return a(CW.apply(null,arguments))}}var Je=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},DT=/^\[(?:([a-z-]+):)?(.+)\]$/i,bW=/^\d+\/\d+$/,RW=new Set(["px","full","screen"]),LW=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,IW=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,PW=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,TW=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,kW=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,da=e=>lu(e)||RW.has(e)||bW.test(e),mi=e=>uu(e,"length",FW),lu=e=>!!e&&!Number.isNaN(Number(e)),iw=e=>uu(e,"number",lu),Yd=e=>!!e&&Number.isInteger(Number(e)),MW=e=>e.endsWith("%")&&lu(e.slice(0,-1)),ye=e=>DT.test(e),gi=e=>LW.test(e),EW=new Set(["length","size","percentage"]),AW=e=>uu(e,EW,NT),DW=e=>uu(e,"position",NT),NW=new Set(["image","url"]),_W=e=>uu(e,NW,BW),OW=e=>uu(e,"",VW),Qd=()=>!0,uu=(e,t,r)=>{let o=DT.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},FW=e=>IW.test(e)&&!PW.test(e),NT=()=>!1,VW=e=>TW.test(e),BW=e=>kW.test(e);var HW=()=>{let e=Je("colors"),t=Je("spacing"),r=Je("blur"),o=Je("brightness"),n=Je("borderColor"),a=Je("borderRadius"),i=Je("borderSpacing"),s=Je("borderWidth"),l=Je("contrast"),u=Je("grayscale"),c=Je("hueRotate"),d=Je("invert"),f=Je("gap"),p=Je("gradientColorStops"),h=Je("gradientColorStopPositions"),m=Je("inset"),x=Je("margin"),v=Je("opacity"),g=Je("padding"),y=Je("saturate"),w=Je("scale"),C=Je("sepia"),R=Je("skew"),S=Je("space"),L=Je("translate"),T=()=>["auto","contain","none"],P=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto",ye,t],F=()=>[ye,t],q=()=>["",da,mi],A=()=>["auto",lu,ye],G=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],D=()=>["solid","dashed","dotted","double","none"],z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],B=()=>["start","end","center","between","around","evenly","stretch"],k=()=>["","0",ye],te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ve=()=>[lu,ye];return{cacheSize:500,separator:":",theme:{colors:[Qd],spacing:[da,mi],blur:["none","",gi,ye],brightness:ve(),borderColor:[e],borderRadius:["none","","full",gi,ye],borderSpacing:F(),borderWidth:q(),contrast:ve(),grayscale:k(),hueRotate:ve(),invert:k(),gap:F(),gradientColorStops:[e],gradientColorStopPositions:[MW,mi],inset:N(),margin:N(),opacity:ve(),padding:F(),saturate:ve(),scale:ve(),sepia:k(),skew:ve(),space:F(),translate:F()},classGroups:{aspect:[{aspect:["auto","square","video",ye]}],container:["container"],columns:[{columns:[gi]}],"break-after":[{"break-after":te()}],"break-before":[{"break-before":te()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...G(),ye]}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Yd,ye]}],basis:[{basis:N()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ye]}],grow:[{grow:k()}],shrink:[{shrink:k()}],order:[{order:["first","last","none",Yd,ye]}],"grid-cols":[{"grid-cols":[Qd]}],"col-start-end":[{col:["auto",{span:["full",Yd,ye]},ye]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[Qd]}],"row-start-end":[{row:["auto",{span:[Yd,ye]},ye]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ye]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ye]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...B()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...B(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...B(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ye,t]}],"min-w":[{"min-w":[ye,t,"min","max","fit"]}],"max-w":[{"max-w":[ye,t,"none","full","min","max","fit","prose",{screen:[gi]},gi]}],h:[{h:[ye,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ye,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ye,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ye,t,"auto","min","max","fit"]}],"font-size":[{text:["base",gi,mi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",iw]}],"font-family":[{font:[Qd]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ye]}],"line-clamp":[{"line-clamp":["none",lu,iw]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",da,ye]}],"list-image":[{"list-image":["none",ye]}],"list-style-type":[{list:["none","disc","decimal",ye]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...D(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",da,mi]}],"underline-offset":[{"underline-offset":["auto",da,ye]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:F()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ye]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ye]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...G(),DW]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",AW]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},_W]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...D(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:D()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...D()]}],"outline-offset":[{"outline-offset":[da,ye]}],"outline-w":[{outline:[da,mi]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[da,mi]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",gi,OW]}],"shadow-color":[{shadow:[Qd]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":z()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",gi,ye]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ye]}],duration:[{duration:ve()}],ease:[{ease:["linear","in","out","in-out",ye]}],delay:[{delay:ve()}],animate:[{animate:["none","spin","ping","pulse","bounce",ye]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Yd,ye]}],"translate-x":[{"translate-x":[L]}],"translate-y":[{"translate-y":[L]}],"skew-x":[{"skew-x":[R]}],"skew-y":[{"skew-y":[R]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ye]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ye]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":F()}],"scroll-mx":[{"scroll-mx":F()}],"scroll-my":[{"scroll-my":F()}],"scroll-ms":[{"scroll-ms":F()}],"scroll-me":[{"scroll-me":F()}],"scroll-mt":[{"scroll-mt":F()}],"scroll-mr":[{"scroll-mr":F()}],"scroll-mb":[{"scroll-mb":F()}],"scroll-ml":[{"scroll-ml":F()}],"scroll-p":[{"scroll-p":F()}],"scroll-px":[{"scroll-px":F()}],"scroll-py":[{"scroll-py":F()}],"scroll-ps":[{"scroll-ps":F()}],"scroll-pe":[{"scroll-pe":F()}],"scroll-pt":[{"scroll-pt":F()}],"scroll-pr":[{"scroll-pr":F()}],"scroll-pb":[{"scroll-pb":F()}],"scroll-pl":[{"scroll-pl":F()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ye]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[da,mi,iw]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var _T=SW(HW);function I(...e){return _T(pg(e))}var hi=b(M()),UW=wT,OT=mg.forwardRef(({className:e,...t},r)=>(0,hi.jsx)(CT,{ref:r,className:I("moonui-theme","border-b border-gray-200 dark:border-gray-800",e),...t}));OT.displayName="AccordionItem";var FT=mg.forwardRef(({className:e,children:t,...r},o)=>(0,hi.jsx)(ST,{className:"flex",children:(0,hi.jsxs)(ow,{ref:o,className:I("flex flex-1 items-center justify-between py-4 font-medium transition-all dark:text-gray-100","hover:underline hover:text-primary dark:hover:text-primary-400","[&[data-state=open]>svg]:rotate-180",e),...r,children:[t,(0,hi.jsx)(On,{className:"h-4 w-4 shrink-0 transition-transform duration-200 opacity-70 group-hover:opacity-100"})]})}));FT.displayName=ow.displayName;var VT=mg.forwardRef(({className:e,children:t,...r},o)=>(0,hi.jsx)(nw,{ref:o,className:I("overflow-hidden text-sm text-gray-700 dark:text-gray-300 transition-all","data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",e),...r,children:(0,hi.jsx)("div",{className:"pb-4 pt-0",children:t})}));VT.displayName=nw.displayName;var cu=b(E());var BT=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,HT=pg,J=(e,t)=>r=>{var o;if(t?.variants==null)return HT(e,r?.class,r?.className);let{variants:n,defaultVariants:a}=t,i=Object.keys(n).map(u=>{let c=r?.[u],d=a?.[u];if(c===null)return null;let f=BT(c)||BT(d);return n[u][f]}),s=r&&Object.entries(r).reduce((u,c)=>{let[d,f]=c;return f===void 0||(u[d]=f),u},{}),l=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((u,c)=>{let{class:d,className:f,...p}=c;return Object.entries(p).every(h=>{let[m,x]=h;return Array.isArray(x)?x.includes({...a,...s}[m]):{...a,...s}[m]===x})?[...u,d,f]:u},[]);return HT(e,i,l,r?.class,r?.className)};var fa=b(M()),zW=J("relative w-full flex items-center gap-3 p-4 border text-foreground [&>svg]:shrink-0",{variants:{variant:{default:"bg-background text-foreground border-border",primary:"bg-primary/10 text-primary border-primary/30",success:"bg-success/10 text-success border-success/30",warning:"bg-warning/10 text-warning border-warning/30",error:"bg-destructive/10 text-destructive border-destructive/30",info:"bg-blue-500/10 text-blue-500 border-blue-500/30"},size:{sm:"py-2 text-xs",default:"py-3 text-sm",lg:"py-4 text-base"},radius:{none:"rounded-none",sm:"rounded-sm",default:"rounded-md",lg:"rounded-lg",full:"rounded-full"},withClose:{true:"pr-10"}},defaultVariants:{variant:"default",size:"default",radius:"default",withClose:!1}}),UT=cu.forwardRef(({className:e,variant:t="default",size:r,radius:o,hideIcon:n=!1,closable:a=!1,onClose:i,children:s,...l},u)=>{let c=cu.useMemo(()=>{switch(t){case"success":return sr;case"warning":return pi;case"error":return on;case"info":return ou;default:return ou}},[t]);return(0,fa.jsxs)("div",{ref:u,role:"alert",className:I("moonui-theme",zW({variant:t,size:r,radius:o,withClose:a}),e),...l,children:[!n&&(0,fa.jsx)(c,{className:"h-5 w-5"}),(0,fa.jsx)("div",{className:"flex-1",children:s}),a&&i&&(0,fa.jsx)("button",{onClick:i,className:"absolute right-3 top-3 inline-flex h-6 w-6 items-center justify-center rounded-full opacity-70 transition-opacity hover:opacity-100","aria-label":"Kapat",children:(0,fa.jsx)(uo,{className:"h-4 w-4"})})]})});UT.displayName="Alert";var zT=cu.forwardRef(({className:e,...t},r)=>(0,fa.jsx)("h5",{ref:r,className:I("moonui-theme","font-semibold leading-tight tracking-tight mb-1",e),...t}));zT.displayName="AlertTitle";var WT=cu.forwardRef(({className:e,...t},r)=>(0,fa.jsx)("div",{ref:r,className:I("moonui-theme","text-sm leading-5 text-muted-foreground",e),...t}));WT.displayName="AlertDescription";var GT=b(E());var uw=b(M()),WW=J("relative overflow-hidden",{variants:{variant:{default:"rounded-md bg-muted/10",ghost:"bg-transparent",outline:"rounded-md border border-border",card:"rounded-md bg-card shadow-sm"},radius:{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}},defaultVariants:{variant:"default"}}),jT=GT.forwardRef(({className:e,variant:t,radius:r,ratio:o=16/9,style:n,children:a,...i},s)=>(0,uw.jsx)("div",{ref:s,className:I("moonui-theme",WW({variant:t,radius:r}),e),style:{position:"relative",paddingBottom:`${1/o*100}%`,...n},...i,children:(0,uw.jsx)("div",{className:"absolute inset-0",children:a})}));jT.displayName="AspectRatio";var Jd=b(E());var ko=b(E(),1);var du=b(E(),1);function et(e){let t=du.useRef(e);return du.useEffect(()=>{t.current=e}),du.useMemo(()=>(...r)=>t.current?.(...r),[])}var YT=b(XT(),1);function QT(){return(0,YT.useSyncExternalStore)(JW,()=>!0,()=>!1)}function JW(){return()=>{}}var Zd=b(M(),1),dw="Avatar",[eG,Vre]=Te(dw),[tG,JT]=eG(dw),ek=ko.forwardRef((e,t)=>{let{__scopeAvatar:r,...o}=e,[n,a]=ko.useState("idle");return(0,Zd.jsx)(tG,{scope:r,imageLoadingStatus:n,onImageLoadingStatusChange:a,children:(0,Zd.jsx)($.span,{...o,ref:t})})});ek.displayName=dw;var tk="AvatarImage",rk=ko.forwardRef((e,t)=>{let{__scopeAvatar:r,src:o,onLoadingStatusChange:n=()=>{},...a}=e,i=JT(tk,r),s=rG(o,a),l=et(u=>{n(u),i.onImageLoadingStatusChange(u)});return ke(()=>{s!=="idle"&&l(s)},[s,l]),s==="loaded"?(0,Zd.jsx)($.img,{...a,ref:t,src:o}):null});rk.displayName=tk;var ok="AvatarFallback",nk=ko.forwardRef((e,t)=>{let{__scopeAvatar:r,delayMs:o,...n}=e,a=JT(ok,r),[i,s]=ko.useState(o===void 0);return ko.useEffect(()=>{if(o!==void 0){let l=window.setTimeout(()=>s(!0),o);return()=>window.clearTimeout(l)}},[o]),i&&a.imageLoadingStatus!=="loaded"?(0,Zd.jsx)($.span,{...n,ref:t}):null});nk.displayName=ok;function ZT(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function rG(e,{referrerPolicy:t,crossOrigin:r}){let o=QT(),n=ko.useRef(null),a=(()=>o?(n.current||(n.current=new window.Image),n.current):null)(),[i,s]=ko.useState(()=>ZT(a,e));return ke(()=>{s(ZT(a,e))},[a,e]),ke(()=>{let l=d=>()=>{s(d)};if(!a)return;let u=l("loaded"),c=l("error");return a.addEventListener("load",u),a.addEventListener("error",c),t&&(a.referrerPolicy=t),typeof r=="string"&&(a.crossOrigin=r),()=>{a.removeEventListener("load",u),a.removeEventListener("error",c)}},[a,r,t]),i}var fw=ek,pw=rk,mw=nk;var nn=b(M()),nG=J("relative flex shrink-0 overflow-hidden",{variants:{size:{default:"h-10 w-10",xs:"h-6 w-6",sm:"h-8 w-8",md:"h-10 w-10",lg:"h-12 w-12",xl:"h-16 w-16","2xl":"h-20 w-20"},radius:{default:"rounded-full",sm:"rounded-md",lg:"rounded-xl",full:"rounded-full",none:"rounded-none"},variant:{default:"",ring:"ring-2 ring-border",ringOffset:"ring-2 ring-border ring-offset-2 ring-offset-background",border:"border-2 border-border"}},defaultVariants:{size:"default",radius:"default",variant:"default"}}),gw=Jd.forwardRef(({className:e,size:t,radius:r,variant:o,...n},a)=>(0,nn.jsx)(fw,{ref:a,className:I("moonui-theme",nG({size:t,radius:r,variant:o}),e),...n}));gw.displayName=fw.displayName;var ak=Jd.forwardRef(({className:e,...t},r)=>(0,nn.jsx)(pw,{ref:r,className:I("moonui-theme","aspect-square h-full w-full",e),...t}));ak.displayName=pw.displayName;var hw=Jd.forwardRef(({className:e,...t},r)=>(0,nn.jsx)(mw,{ref:r,className:I("flex h-full w-full items-center justify-center bg-muted",e),...t}));hw.displayName=mw.displayName;var ik=Jd.forwardRef(({className:e,limit:t,avatars:r,overlapOffset:o=-8,...n},a)=>{let i=t?r.slice(0,t):r,s=t?Math.max(0,r.length-t):0;return(0,nn.jsx)("div",{ref:a,className:I("moonui-theme","flex items-center",e),...n,children:(0,nn.jsxs)("div",{className:"flex",children:[i.map((l,u)=>(0,nn.jsx)("div",{className:"relative",style:{marginLeft:u===0?0:`${o}px`,zIndex:i.length-u},children:l},u)),s>0&&(0,nn.jsx)("div",{className:"relative z-0",style:{marginLeft:`${o}px`},children:(0,nn.jsx)(gw,{variant:"border",children:(0,nn.jsxs)(hw,{children:["+",s]})})})]})})});ik.displayName="AvatarGroup";var lr=b(M()),sk=J(["inline-flex items-center justify-center gap-1.5","font-medium transition-colors duration-200","border focus:outline-none","focus-visible:ring-2 focus-visible:ring-offset-1"],{variants:{variant:{primary:["border-transparent bg-gray-900 text-white","hover:bg-gray-800 dark:hover:bg-gray-700","focus-visible:ring-gray-500/30 dark:focus-visible:ring-gray-400/40","dark:bg-gray-700 dark:text-gray-50 dark:shadow-inner dark:shadow-gray-950/10"],secondary:["border-transparent bg-secondary text-secondary-foreground","hover:bg-gray-200 dark:hover:bg-gray-600","focus-visible:ring-gray-400/30 dark:focus-visible:ring-gray-500/40","dark:bg-gray-700/50 dark:text-gray-50 dark:shadow-inner dark:shadow-gray-950/10"],outline:["border-gray-200 dark:border-gray-600","bg-transparent text-foreground","hover:border-gray-300 dark:hover:border-gray-500","focus-visible:ring-gray-400/30 dark:focus-visible:ring-gray-500/40","dark:text-gray-100 dark:bg-transparent dark:backdrop-blur-sm"],destructive:["border-transparent bg-error text-white","hover:bg-error/90 dark:hover:bg-error/80","focus-visible:ring-error/30 dark:focus-visible:ring-error/25","dark:bg-error/90 dark:text-white dark:shadow-inner dark:shadow-error/10"],success:["border-transparent bg-success text-white","hover:bg-success/90 dark:hover:bg-success/80","focus-visible:ring-success/30 dark:focus-visible:ring-success/25","dark:bg-success/90 dark:text-white dark:shadow-inner dark:shadow-success/10"],warning:["border-transparent bg-warning text-white","hover:bg-warning/90 dark:hover:bg-warning/80","focus-visible:ring-warning/30 dark:focus-visible:ring-warning/25","dark:bg-warning/90 dark:text-gray-900 dark:shadow-inner dark:shadow-warning/10"],ghost:["border border-gray-200 bg-gray-50/50 text-gray-700","hover:bg-gray-100 dark:hover:bg-gray-800/60","focus-visible:ring-gray-400/30 dark:focus-visible:ring-gray-500/40","dark:border-gray-700 dark:bg-gray-800/30 dark:text-gray-300","transition-all duration-200"],pro:["border-transparent bg-gradient-to-r from-purple-600 to-pink-600 text-white","hover:from-purple-700 hover:to-pink-700","focus-visible:ring-purple-400/30 dark:focus-visible:ring-purple-500/40","shadow-md dark:shadow-lg dark:shadow-purple-500/10"],admin:["border-transparent bg-gradient-to-r from-purple-600 to-pink-600 text-white","hover:from-purple-700 hover:to-pink-700","focus-visible:ring-purple-400/30 dark:focus-visible:ring-purple-500/40","shadow-md dark:shadow-lg dark:shadow-purple-500/10"]},size:{sm:"h-5 px-2 text-xs",md:"h-6 px-3 text-sm",lg:"h-8 px-4 text-base"},radius:{default:"rounded-full",sm:"rounded-md",lg:"rounded-xl",none:"rounded-none"}},defaultVariants:{variant:"primary",size:"md",radius:"default"}});function co({className:e,variant:t,size:r,radius:o,withDot:n,dotColor:a,removable:i,onRemove:s,leftIcon:l,rightIcon:u,children:c,...d}){let f=l,p=c;return t==="pro"&&(f=l||(0,lr.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-3 h-3",children:[(0,lr.jsx)("path",{d:"M12 0L13.09 8.26L22 9L13.09 9.74L12 18L10.91 9.74L2 9L10.91 8.26L12 0Z",fill:"currentColor"}),(0,lr.jsx)("path",{d:"M19 5L19.5 7L21 7.5L19.5 8L19 10L18.5 8L17 7.5L18.5 7L19 5Z",fill:"currentColor"}),(0,lr.jsx)("path",{d:"M19 15L19.5 17L21 17.5L19.5 18L19 20L18.5 18L17 17.5L18.5 17L19 15Z",fill:"currentColor"})]}),p=c||"Pro"),t==="admin"&&(f=l||(0,lr.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-3 h-3",children:(0,lr.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z",fill:"currentColor"})}),p=c||"Admin Pro"),(0,lr.jsxs)("div",{className:I("moonui-theme",sk({variant:t,size:r,radius:o}),e),"data-removable":i?"":void 0,...d,children:[n&&(0,lr.jsx)("span",{className:I("h-2 w-2 rounded-full",a||(t==="destructive"||t==="success"||t==="warning"?"bg-white":t==="secondary"?"bg-secondary-foreground":t==="outline"||t==="ghost"?"bg-foreground":t==="pro"||t==="admin"?"bg-white":"bg-primary-foreground")),"aria-hidden":"true"}),f&&(0,lr.jsx)("span",{className:"inline-flex shrink-0 items-center",children:f}),(0,lr.jsx)("span",{className:"inline-flex items-center",children:p}),u&&(0,lr.jsx)("span",{className:"inline-flex shrink-0 items-center",children:u}),i&&s&&(0,lr.jsx)("button",{type:"button",className:"ml-1 -mr-1 h-3.5 w-3.5 rounded-full inline-flex items-center justify-center hover:bg-black/10 dark:hover:bg-white/10",onClick:h=>{h.stopPropagation(),s()},"aria-label":"Remove badge",children:(0,lr.jsx)("svg",{width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"opacity-70","aria-hidden":"true",children:(0,lr.jsx)("path",{d:"M0.799988 7.19999L7.19999 0.799988M0.799988 0.799988L7.19999 7.19999",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})}var Vn=b(E());var Tr=b(M()),aG=J("flex items-center gap-1.5 text-sm",{variants:{variant:{default:"text-foreground transition-colors",muted:"text-muted-foreground transition-colors",ghost:"text-foreground/60 transition-colors"},size:{default:"text-sm",sm:"text-xs",lg:"text-base"}},defaultVariants:{variant:"default",size:"default"}}),lk=Vn.forwardRef(({className:e,variant:t,size:r,...o},n)=>(0,Tr.jsx)("nav",{ref:n,className:I("moonui-theme",aG({variant:t,size:r}),e),"aria-label":"breadcrumb",...o}));lk.displayName="Breadcrumb";var uk=Vn.forwardRef(({className:e,collapsed:t,collapsedWidth:r=3,...o},n)=>{let a=Vn.Children.toArray(o.children).filter(Boolean),i=a.length;if(t&&i>r){let s=a[0],l=a.slice(-2);return(0,Tr.jsxs)("ol",{ref:n,className:I("flex flex-wrap items-center gap-1.5 sm:gap-2.5",e),...o,children:[s,(0,Tr.jsx)(vw,{}),l]})}return(0,Tr.jsx)("ol",{ref:n,className:I("flex flex-wrap items-center gap-1.5 sm:gap-2.5",e),...o})});uk.displayName="BreadcrumbList";var ck=Vn.forwardRef(({className:e,isCurrent:t,href:r,asChild:o=!1,...n},a)=>{let i=o?Vn.Fragment:r?"a":"span",s=o?{}:r?{href:r}:{};return(0,Tr.jsx)("li",{ref:a,className:I("moonui-theme","inline-flex items-center gap-1.5",e),"aria-current":t?"page":void 0,...n,children:(0,Tr.jsx)(i,{className:I("transition-colors duration-200 hover:text-foreground",t?"font-medium text-foreground":"text-muted-foreground hover:text-foreground hover:underline hover:underline-offset-4 hover:decoration-muted-foreground/30"),...s,children:n.children})})});ck.displayName="BreadcrumbItem";var dk=({children:e,className:t,...r})=>(0,Tr.jsx)("span",{role:"presentation","aria-hidden":"true",className:I("moonui-theme","text-muted-foreground opacity-70",t),...r,children:e||(0,Tr.jsx)(Pr,{className:"h-3.5 w-3.5"})});dk.displayName="BreadcrumbSeparator";var vw=({className:e,...t})=>(0,Tr.jsxs)("span",{role:"presentation","aria-hidden":"true",className:I("moonui-theme","flex items-center text-muted-foreground hover:text-foreground/80 transition-colors duration-200",e),...t,children:[(0,Tr.jsx)(Fn,{className:"h-4 w-4"}),(0,Tr.jsx)("span",{className:"sr-only",children:"More pages"})]});vw.displayName="BreadcrumbEllipsis";var fk=Vn.forwardRef(({className:e,href:t,...r},o)=>(0,Tr.jsx)("a",{ref:o,href:t,className:I("transition-colors duration-200 hover:text-foreground text-muted-foreground hover:underline hover:underline-offset-4 hover:decoration-muted-foreground/30",e),...r}));fk.displayName="BreadcrumbLink";var pk=Vn.forwardRef(({className:e,...t},r)=>(0,Tr.jsx)("span",{ref:r,className:I("font-medium text-foreground dark:text-white dark:text-opacity-95",e),...t}));pk.displayName="BreadcrumbPage";var mk=b(E());var hg=b(M()),gg=J(["inline-flex items-center justify-center gap-2 whitespace-nowrap","font-medium relative","transition-all duration-200 ease-out","transform active:scale-[0.98]","focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none disabled:transform-none"],{variants:{variant:{primary:["bg-primary text-primary-foreground","dark:bg-primary dark:text-primary-foreground","hover:bg-primary/90 dark:hover:bg-primary/90","active:bg-primary/80 dark:active:bg-primary/80","shadow-sm hover:shadow-md","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],secondary:["bg-gray-100 text-gray-900","dark:bg-gray-800 dark:text-gray-100","hover:bg-gray-200 dark:hover:bg-gray-700","active:bg-gray-300 dark:active:bg-gray-600","border border-gray-200 dark:border-gray-700","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","shadow-sm hover:shadow-md"],outline:["bg-background text-foreground","dark:bg-background dark:text-foreground","border border-input dark:border-input","hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent dark:hover:text-accent-foreground","active:bg-accent/80 dark:active:bg-accent/80","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],ghost:["text-gray-700","dark:text-gray-300","hover:bg-gray-100 hover:text-gray-900 dark:hover:bg-gray-800 dark:hover:text-gray-100","active:bg-gray-200 dark:active:bg-gray-700","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],destructive:["bg-destructive text-destructive-foreground","dark:bg-destructive dark:text-destructive-foreground","hover:bg-destructive/90 dark:hover:bg-destructive/90","active:bg-destructive/80 dark:active:bg-destructive/80","shadow-sm hover:shadow-md","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],success:["bg-success text-success-foreground","dark:bg-success dark:text-success-foreground","hover:bg-success/90 dark:hover:bg-success/90","active:bg-success/80 dark:active:bg-success/80","shadow-sm hover:shadow-md","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],link:["text-primary bg-transparent","underline-offset-4 hover:underline","hover:text-primary/80 active:text-primary/70","p-0 h-auto","transition-colors duration-200"],gradient:["bg-gradient-to-r from-purple-500 to-pink-500 text-white","hover:from-purple-600 hover:to-pink-600","active:from-purple-700 active:to-pink-700","shadow-xl shadow-purple-500/40","hover:shadow-2xl hover:shadow-purple-500/50","focus-visible:ring-purple-500/50","transition-all duration-300"],glow:["bg-blue-500 text-white","shadow-[0_0_30px_rgba(59,130,246,0.5)]","hover:shadow-[0_0_40px_rgba(59,130,246,0.7)]","active:shadow-[0_0_20px_rgba(59,130,246,0.4)]","hover:bg-blue-600","focus-visible:ring-blue-500/50","transition-all duration-300"],soft:["bg-primary/10 text-primary","hover:bg-primary/20","active:bg-primary/30","focus-visible:ring-primary/50","dark:bg-primary/20 dark:text-primary-foreground","dark:hover:bg-primary/30 dark:active:bg-primary/40","transition-colors duration-200"],glass:["bg-white/10 backdrop-blur-md text-foreground","border border-white/20","hover:bg-white/20 hover:border-white/30","active:bg-white/30","shadow-lg","focus-visible:ring-white/50","dark:bg-gray-800/10 dark:border-gray-700/20","dark:hover:bg-gray-800/20 dark:hover:border-gray-700/30","transition-all duration-200"],neon:["bg-transparent text-green-400","border-2 border-green-400","hover:bg-green-400 hover:text-gray-900","hover:shadow-[0_0_30px_rgba(74,222,128,0.6)]","active:shadow-[0_0_15px_rgba(74,222,128,0.4)]","focus-visible:ring-green-400/50","transition-all duration-300"]},size:{xs:"h-7 px-2.5 text-xs",sm:"h-8 px-3 text-sm",md:"h-10 px-4 text-base",lg:"h-12 px-6 text-lg",xl:"h-14 px-8 text-xl",icon:"h-10 w-10 p-2","icon-sm":"h-8 w-8 p-1.5","icon-lg":"h-12 w-12 p-3"},rounded:{default:"rounded-xl",full:"rounded-full",none:"rounded-none",sm:"rounded-lg",lg:"rounded-2xl"},fullWidth:{true:"w-full"}},defaultVariants:{variant:"primary",size:"md",rounded:"default",fullWidth:!1}}),Fe=mk.forwardRef(({className:e,variant:t,size:r,rounded:o,fullWidth:n,asChild:a=!1,loading:i=!1,leftIcon:s,rightIcon:l,children:u,disabled:c,...d},f)=>(0,hg.jsxs)("button",{className:I("moonui-theme",gg({variant:t,size:r,rounded:o,fullWidth:n,className:e})),ref:f,disabled:c||i,"data-loading":i?"":void 0,...d,children:[i&&(0,hg.jsx)(Qt,{className:"w-4 h-4 animate-spin","aria-hidden":"true"}),!i&&s,u,!i&&l]}));Fe.displayName="Button";var $s=b(E());var Vf=b(M(),1),zn=b(E(),1);var gk=b(E(),1),pu=(0,gk.createContext)({});var hk=b(E(),1);function Bn(e){let t=(0,hk.useRef)(null);return t.current===null&&(t.current=e()),t.current}var vg=b(E(),1);var mu=typeof window<"u";var gu=mu?vg.useLayoutEffect:vg.useEffect;var Qw=b(M(),1),yM=b(E(),1),Of=b(E(),1);var vk=b(E(),1),vi=(0,vk.createContext)(null);var hM=b(M(),1);function Is(e,t){e.indexOf(t)===-1&&e.push(t)}function an(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var Ut=(e,t,r)=>r>t?t:r<e?e:r;var pa=()=>{},Zt=()=>{};var ur={};var ef=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function tf(e){return typeof e=="object"&&e!==null}var rf=e=>/^0[^.\s]+$/u.test(e);function Ps(e){let t;return()=>(t===void 0&&(t=e()),t)}var mt=e=>e;var iG=(e,t)=>r=>t(e(r)),sn=(...e)=>e.reduce(iG);var Mo=(e,t,r)=>{let o=t-e;return o===0?1:(r-e)/o};var ma=class{constructor(){this.subscriptions=[]}add(t){return Is(this.subscriptions,t),()=>an(this.subscriptions,t)}notify(t,r,o){let n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](t,r,o);else for(let a=0;a<n;a++){let i=this.subscriptions[a];i&&i(t,r,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var St=e=>e*1e3,Jt=e=>e/1e3;function of(e,t){return t?e*(1e3/t):0}var yk=(e,t,r)=>{let o=t-e;return((r-e)%o+o)%o+e};var xk=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,sG=1e-7,lG=12;function uG(e,t,r,o,n){let a,i,s=0;do i=t+(r-t)/2,a=xk(i,o,n)-e,a>0?r=i:t=i;while(Math.abs(a)>sG&&++s<lG);return i}function yi(e,t,r,o){if(e===t&&r===o)return mt;let n=a=>uG(a,0,1,e,r);return a=>a===0||a===1?a:xk(n(a),t,o)}var yg=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var xg=e=>t=>1-e(1-t);var wg=yi(.33,1.53,.69,.99),hu=xg(wg),nf=yg(hu);var af=e=>(e*=2)<1?.5*hu(e):.5*(2-Math.pow(2,-10*(e-1)));var sf=e=>1-Math.sin(Math.acos(e)),lf=xg(sf),uf=yg(sf);var yw=yi(.42,0,1,1),xw=yi(0,0,.58,1),cf=yi(.42,0,.58,1);var df=e=>Array.isArray(e)&&typeof e[0]!="number";function ff(e,t){return df(e)?e[yk(0,e.length,t)]:e}var pf=e=>Array.isArray(e)&&typeof e[0]=="number";var wk={linear:mt,easeIn:yw,easeInOut:cf,easeOut:xw,circIn:sf,circInOut:uf,circOut:lf,backIn:hu,backInOut:nf,backOut:wg,anticipate:af},cG=e=>typeof e=="string",Cg=e=>{if(pf(e)){Zt(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,o,n]=e;return yi(t,r,o,n)}else if(cG(e))return Zt(wk[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),wk[e];return e};var mf=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var qr={value:null,addProjectionMetrics:null};function Ck(e,t){let r=new Set,o=new Set,n=!1,a=!1,i=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},l=0;function u(d){i.has(d)&&(c.schedule(d),e()),l++,d(s)}let c={schedule:(d,f=!1,p=!1)=>{let m=p&&n?r:o;return f&&i.add(d),m.has(d)||m.add(d),d},cancel:d=>{o.delete(d),i.delete(d)},process:d=>{if(s=d,n){a=!0;return}n=!0,[r,o]=[o,r],r.forEach(u),t&&qr.value&&qr.value.frameloop[t].push(l),l=0,r.clear(),n=!1,a&&(a=!1,c.process(d))}};return c}var dG=40;function Sg(e,t){let r=!1,o=!0,n={delta:0,timestamp:0,isProcessing:!1},a=()=>r=!0,i=mf.reduce((y,w)=>(y[w]=Ck(a,t?w:void 0),y),{}),{setup:s,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:p,postRender:h}=i,m=()=>{let y=ur.useManualTiming?n.timestamp:performance.now();r=!1,ur.useManualTiming||(n.delta=o?1e3/60:Math.max(Math.min(y-n.timestamp,dG),1)),n.timestamp=y,n.isProcessing=!0,s.process(n),l.process(n),u.process(n),c.process(n),d.process(n),f.process(n),p.process(n),h.process(n),n.isProcessing=!1,r&&t&&(o=!1,e(m))},x=()=>{r=!0,o=!0,n.isProcessing||e(m)};return{schedule:mf.reduce((y,w)=>{let C=i[w];return y[w]=(R,S=!1,L=!1)=>(r||x(),C.schedule(R,S,L)),y},{}),cancel:y=>{for(let w=0;w<mf.length;w++)i[mf[w]].cancel(y)},state:n,steps:i}}var{schedule:xe,cancel:cr,state:yt,steps:gf}=Sg(typeof requestAnimationFrame<"u"?requestAnimationFrame:mt,!0);var bg;function fG(){bg=void 0}var xt={now:()=>(bg===void 0&&xt.set(yt.isProcessing||ur.useManualTiming?yt.timestamp:performance.now()),bg),set:e=>{bg=e,queueMicrotask(fG)}};var ln={layout:0,mainThread:0,waapi:0};var Sk=e=>t=>typeof t=="string"&&t.startsWith(e),Ts=Sk("--"),pG=Sk("var(--"),ks=e=>pG(e)?mG.test(e.split("/*")[0].trim()):!1,mG=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var Hn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ga={...Hn,transform:e=>Ut(0,1,e)},hf={...Hn,default:1};var xi=e=>Math.round(e*1e5)/1e5;var vu=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function bk(e){return e==null}var Rk=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var yu=(e,t)=>r=>!!(typeof r=="string"&&Rk.test(r)&&r.startsWith(e)||t&&!bk(r)&&Object.prototype.hasOwnProperty.call(r,t)),Rg=(e,t,r)=>o=>{if(typeof o!="string")return o;let[n,a,i,s]=o.match(vu);return{[e]:parseFloat(n),[t]:parseFloat(a),[r]:parseFloat(i),alpha:s!==void 0?parseFloat(s):1}};var gG=e=>Ut(0,255,e),ww={...Hn,transform:e=>Math.round(gG(e))},Un={test:yu("rgb","red"),parse:Rg("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:o=1})=>"rgba("+ww.transform(e)+", "+ww.transform(t)+", "+ww.transform(r)+", "+xi(ga.transform(o))+")"};function hG(e){let t="",r="",o="",n="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),o=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),o=e.substring(3,4),n=e.substring(4,5),t+=t,r+=r,o+=o,n+=n),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(o,16),alpha:n?parseInt(n,16)/255:1}}var vf={test:yu("#"),parse:hG,transform:Un.transform};var yf=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),un=yf("deg"),dr=yf("%"),re=yf("px"),Cw=yf("vh"),Sw=yf("vw"),Lg=(()=>({...dr,parse:e=>dr.parse(e)/100,transform:e=>dr.transform(e*100)}))();var wi={test:yu("hsl","hue"),parse:Rg("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:o=1})=>"hsla("+Math.round(e)+", "+dr.transform(xi(t))+", "+dr.transform(xi(r))+", "+xi(ga.transform(o))+")"};var st={test:e=>Un.test(e)||vf.test(e)||wi.test(e),parse:e=>Un.test(e)?Un.parse(e):wi.test(e)?wi.parse(e):vf.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Un.transform(e):wi.transform(e),getAnimatableNone:e=>{let t=st.parse(e);return t.alpha=0,st.transform(t)}};var Lk=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function vG(e){return isNaN(e)&&typeof e=="string"&&(e.match(vu)?.length||0)+(e.match(Lk)?.length||0)>0}var Pk="number",Tk="color",yG="var",xG="var(",Ik="${}",wG=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ci(e){let t=e.toString(),r=[],o={color:[],number:[],var:[]},n=[],a=0,s=t.replace(wG,l=>(st.test(l)?(o.color.push(a),n.push(Tk),r.push(st.parse(l))):l.startsWith(xG)?(o.var.push(a),n.push(yG),r.push(l)):(o.number.push(a),n.push(Pk),r.push(parseFloat(l))),++a,Ik)).split(Ik);return{values:r,split:s,indexes:o,types:n}}function kk(e){return Ci(e).values}function Mk(e){let{split:t,types:r}=Ci(e),o=t.length;return n=>{let a="";for(let i=0;i<o;i++)if(a+=t[i],n[i]!==void 0){let s=r[i];s===Pk?a+=xi(n[i]):s===Tk?a+=st.transform(n[i]):a+=n[i]}return a}}var CG=e=>typeof e=="number"?0:st.test(e)?st.getAnimatableNone(e):e;function SG(e){let t=kk(e);return Mk(e)(t.map(CG))}var fr={test:vG,parse:kk,createTransformer:Mk,getAnimatableNone:SG};function bw(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Ek({hue:e,saturation:t,lightness:r,alpha:o}){e/=360,t/=100,r/=100;let n=0,a=0,i=0;if(!t)n=a=i=r;else{let s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=bw(l,s,e+1/3),a=bw(l,s,e),i=bw(l,s,e-1/3)}return{red:Math.round(n*255),green:Math.round(a*255),blue:Math.round(i*255),alpha:o}}function xu(e,t){return r=>r>0?t:e}var Se=(e,t,r)=>e+(t-e)*r;var Rw=(e,t,r)=>{let o=e*e,n=r*(t*t-o)+o;return n<0?0:Math.sqrt(n)},bG=[vf,Un,wi],RG=e=>bG.find(t=>t.test(e));function Ak(e){let t=RG(e);if(pa(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===wi&&(r=Ek(r)),r}var Lw=(e,t)=>{let r=Ak(e),o=Ak(t);if(!r||!o)return xu(e,t);let n={...r};return a=>(n.red=Rw(r.red,o.red,a),n.green=Rw(r.green,o.green,a),n.blue=Rw(r.blue,o.blue,a),n.alpha=Se(r.alpha,o.alpha,a),Un.transform(n))};var Ig=new Set(["none","hidden"]);function Dk(e,t){return Ig.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function LG(e,t){return r=>Se(e,t,r)}function Pg(e){return typeof e=="number"?LG:typeof e=="string"?ks(e)?xu:st.test(e)?Lw:TG:Array.isArray(e)?Nk:typeof e=="object"?st.test(e)?Lw:IG:xu}function Nk(e,t){let r=[...e],o=r.length,n=e.map((a,i)=>Pg(a)(a,t[i]));return a=>{for(let i=0;i<o;i++)r[i]=n[i](a);return r}}function IG(e,t){let r={...e,...t},o={};for(let n in r)e[n]!==void 0&&t[n]!==void 0&&(o[n]=Pg(e[n])(e[n],t[n]));return n=>{for(let a in o)r[a]=o[a](n);return r}}function PG(e,t){let r=[],o={color:0,var:0,number:0};for(let n=0;n<t.values.length;n++){let a=t.types[n],i=e.indexes[a][o[a]],s=e.values[i]??0;r[n]=s,o[a]++}return r}var TG=(e,t)=>{let r=fr.createTransformer(t),o=Ci(e),n=Ci(t);return o.indexes.var.length===n.indexes.var.length&&o.indexes.color.length===n.indexes.color.length&&o.indexes.number.length>=n.indexes.number.length?Ig.has(e)&&!n.values.length||Ig.has(t)&&!o.values.length?Dk(e,t):sn(Nk(PG(o,n),n.values),r):(pa(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),xu(e,t))};function Tg(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?Se(e,t,r):Pg(e)(e,t)}var _k=e=>{let t=({timestamp:r})=>e(r);return{start:(r=!0)=>xe.update(t,r),stop:()=>cr(t),now:()=>yt.isProcessing?yt.timestamp:xt.now()}};var kg=(e,t,r=10)=>{let o="",n=Math.max(Math.round(t/r),2);for(let a=0;a<n;a++)o+=Math.round(e(a/(n-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`};function wu(e){let t=0,r=50,o=e.next(t);for(;!o.done&&t<2e4;)t+=r,o=e.next(t);return t>=2e4?1/0:t}function xf(e,t=100,r){let o=r({...e,keyframes:[0,t]}),n=Math.min(wu(o),2e4);return{type:"keyframes",ease:a=>o.next(n*a).value/t,duration:Jt(n)}}var kG=5;function Mg(e,t,r){let o=Math.max(t-kG,0);return of(r-e(o),t-o)}var tt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var Pw=.001;function Ok({duration:e=tt.duration,bounce:t=tt.bounce,velocity:r=tt.velocity,mass:o=tt.mass}){let n,a;pa(e<=St(tt.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let i=1-t;i=Ut(tt.minDamping,tt.maxDamping,i),e=Ut(tt.minDuration,tt.maxDuration,Jt(e)),i<1?(n=u=>{let c=u*i,d=c*e,f=c-r,p=Eg(u,i),h=Math.exp(-d);return Pw-f/p*h},a=u=>{let d=u*i*e,f=d*r+r,p=Math.pow(i,2)*Math.pow(u,2)*e,h=Math.exp(-d),m=Eg(Math.pow(u,2),i);return(-n(u)+Pw>0?-1:1)*((f-p)*h)/m}):(n=u=>{let c=Math.exp(-u*e),d=(u-r)*e+1;return-Pw+c*d},a=u=>{let c=Math.exp(-u*e),d=(r-u)*(e*e);return c*d});let s=5/e,l=EG(n,a,s);if(e=St(e),isNaN(l))return{stiffness:tt.stiffness,damping:tt.damping,duration:e};{let u=Math.pow(l,2)*o;return{stiffness:u,damping:i*2*Math.sqrt(o*u),duration:e}}}var MG=12;function EG(e,t,r){let o=r;for(let n=1;n<MG;n++)o=o-e(o)/t(o);return o}function Eg(e,t){return e*Math.sqrt(1-t*t)}var AG=["duration","bounce"],DG=["stiffness","damping","mass"];function Fk(e,t){return t.some(r=>e[r]!==void 0)}function NG(e){let t={velocity:tt.velocity,stiffness:tt.stiffness,damping:tt.damping,mass:tt.mass,isResolvedFromDuration:!1,...e};if(!Fk(e,DG)&&Fk(e,AG))if(e.visualDuration){let r=e.visualDuration,o=2*Math.PI/(r*1.2),n=o*o,a=2*Ut(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:tt.mass,stiffness:n,damping:a}}else{let r=Ok(e);t={...t,...r,mass:tt.mass},t.isResolvedFromDuration=!0}return t}function ha(e=tt.visualDuration,t=tt.bounce){let r=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:o,restDelta:n}=r,a=r.keyframes[0],i=r.keyframes[r.keyframes.length-1],s={done:!1,value:a},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:p}=NG({...r,velocity:-Jt(r.velocity||0)}),h=f||0,m=u/(2*Math.sqrt(l*c)),x=i-a,v=Jt(Math.sqrt(l/c)),g=Math.abs(x)<5;o||(o=g?tt.restSpeed.granular:tt.restSpeed.default),n||(n=g?tt.restDelta.granular:tt.restDelta.default);let y;if(m<1){let C=Eg(v,m);y=R=>{let S=Math.exp(-m*v*R);return i-S*((h+m*v*x)/C*Math.sin(C*R)+x*Math.cos(C*R))}}else if(m===1)y=C=>i-Math.exp(-v*C)*(x+(h+v*x)*C);else{let C=v*Math.sqrt(m*m-1);y=R=>{let S=Math.exp(-m*v*R),L=Math.min(C*R,300);return i-S*((h+m*v*x)*Math.sinh(L)+C*x*Math.cosh(L))/C}}let w={calculatedDuration:p&&d||null,next:C=>{let R=y(C);if(p)s.done=C>=d;else{let S=C===0?h:0;m<1&&(S=C===0?St(h):Mg(y,C,R));let L=Math.abs(S)<=o,T=Math.abs(i-R)<=n;s.done=L&&T}return s.value=s.done?i:R,s},toString:()=>{let C=Math.min(wu(w),2e4),R=kg(S=>w.next(C*S).value,C,30);return C+"ms "+R},toTransition:()=>{}};return w}ha.applyToOptions=e=>{let t=xf(e,100,ha);return e.ease=t.ease,e.duration=St(t.duration),e.type="keyframes",e};function wf({keyframes:e,velocity:t=0,power:r=.8,timeConstant:o=325,bounceDamping:n=10,bounceStiffness:a=500,modifyTarget:i,min:s,max:l,restDelta:u=.5,restSpeed:c}){let d=e[0],f={done:!1,value:d},p=L=>s!==void 0&&L<s||l!==void 0&&L>l,h=L=>s===void 0?l:l===void 0||Math.abs(s-L)<Math.abs(l-L)?s:l,m=r*t,x=d+m,v=i===void 0?x:i(x);v!==x&&(m=v-d);let g=L=>-m*Math.exp(-L/o),y=L=>v+g(L),w=L=>{let T=g(L),P=y(L);f.done=Math.abs(T)<=u,f.value=f.done?v:P},C,R,S=L=>{p(f.value)&&(C=L,R=ha({keyframes:[f.value,h(f.value)],velocity:Mg(y,L,f.value),damping:n,stiffness:a,restDelta:u,restSpeed:c}))};return S(0),{calculatedDuration:null,next:L=>{let T=!1;return!R&&C===void 0&&(T=!0,w(L),S(L)),C!==void 0&&L>=C?R.next(L-C):(!T&&w(L),f)}}}function _G(e,t,r){let o=[],n=r||ur.mix||Tg,a=e.length-1;for(let i=0;i<a;i++){let s=n(e[i],e[i+1]);if(t){let l=Array.isArray(t)?t[i]||mt:t;s=sn(l,s)}o.push(s)}return o}function Ag(e,t,{clamp:r=!0,ease:o,mixer:n}={}){let a=e.length;if(Zt(a===t.length,"Both input and output ranges must be the same length","range-length"),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let i=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=_G(t,o,n),l=s.length,u=c=>{if(i&&c<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(c<e[d+1]);d++);let f=Mo(e[d],e[d+1],c);return s[d](f)};return r?c=>u(Ut(e[0],e[a-1],c)):u}function Cf(e,t){let r=e[e.length-1];for(let o=1;o<=t;o++){let n=Mo(0,t,o);e.push(Se(r,1,n))}}function Sf(e){let t=[0];return Cf(t,e.length-1),t}function Vk(e,t){return e.map(r=>r*t)}function OG(e,t){return e.map(()=>t||cf).splice(0,e.length-1)}function Ms({duration:e=300,keyframes:t,times:r,ease:o="easeInOut"}){let n=df(o)?o.map(Cg):Cg(o),a={done:!1,value:t[0]},i=Vk(r&&r.length===t.length?r:Sf(t),e),s=Ag(i,t,{ease:Array.isArray(n)?n:OG(t,n)});return{calculatedDuration:e,next:l=>(a.value=s(l),a.done=l>=e,a)}}var FG=e=>e!==null;function Cu(e,{repeat:t,repeatType:r="loop"},o,n=1){let a=e.filter(FG),s=n<0||t&&r!=="loop"&&t%2===1?0:a.length-1;return!s||o===void 0?a[s]:o}var VG={decay:wf,inertia:wf,tween:Ms,keyframes:Ms,spring:ha};function Dg(e){typeof e.type=="string"&&(e.type=VG[e.type])}var Si=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,r){return this.finished.then(t,r)}};var BG=e=>e/100,va=class extends Si{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:r}=this.options;r&&r.updatedAt!==xt.now()&&this.tick(xt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},ln.mainThread++,this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){let{options:t}=this;Dg(t);let{type:r=Ms,repeat:o=0,repeatDelay:n=0,repeatType:a,velocity:i=0}=t,{keyframes:s}=t,l=r||Ms;l!==Ms&&typeof s[0]!="number"&&(this.mixKeyframes=sn(BG,Tg(s[0],s[1])),s=[0,100]);let u=l({...t,keyframes:s});a==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...s].reverse(),velocity:-i})),u.calculatedDuration===null&&(u.calculatedDuration=wu(u));let{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+n,this.totalDuration=this.resolvedDuration*(o+1)-n,this.generator=u}updateTime(t){let r=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=r}tick(t,r=!1){let{generator:o,totalDuration:n,mixKeyframes:a,mirroredGenerator:i,resolvedDuration:s,calculatedDuration:l}=this;if(this.startTime===null)return o.next(0);let{delay:u=0,keyframes:c,repeat:d,repeatType:f,repeatDelay:p,type:h,onUpdate:m,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),r?this.currentTime=t:this.updateTime(t);let v=this.currentTime-u*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?v<0:v>n;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=n);let y=this.currentTime,w=o;if(d){let L=Math.min(this.currentTime,n)/s,T=Math.floor(L),P=L%1;!P&&L>=1&&(P=1),P===1&&T--,T=Math.min(T,d+1),!!(T%2)&&(f==="reverse"?(P=1-P,p&&(P-=p/s)):f==="mirror"&&(w=i)),y=Ut(0,1,P)*s}let C=g?{done:!1,value:c[0]}:w.next(y);a&&(C.value=a(C.value));let{done:R}=C;!g&&l!==null&&(R=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let S=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&R);return S&&h!==wf&&(C.value=Cu(c,this.options,x,this.speed)),m&&m(C.value),S&&this.finish(),C}then(t,r){return this.finished.then(t,r)}get duration(){return Jt(this.calculatedDuration)}get time(){return Jt(this.currentTime)}set time(t){t=St(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(xt.now());let r=this.playbackSpeed!==t;this.playbackSpeed=t,r&&(this.time=Jt(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=_k,startTime:r}=this.options;this.driver||(this.driver=t(n=>this.tick(n))),this.options.onPlay?.();let o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=r??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(xt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,ln.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}};function Bk(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var Es=e=>e*180/Math.PI,Tw=e=>{let t=Es(Math.atan2(e[1],e[0]));return kw(t)},HG={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Tw,rotateZ:Tw,skewX:e=>Es(Math.atan(e[1])),skewY:e=>Es(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},kw=e=>(e=e%360,e<0&&(e+=360),e),Hk=Tw,Uk=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),zk=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),UG={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Uk,scaleY:zk,scale:e=>(Uk(e)+zk(e))/2,rotateX:e=>kw(Es(Math.atan2(e[6],e[5]))),rotateY:e=>kw(Es(Math.atan2(-e[2],e[0]))),rotateZ:Hk,rotate:Hk,skewX:e=>Es(Math.atan(e[4])),skewY:e=>Es(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function bf(e){return e.includes("scale")?1:0}function Rf(e,t){if(!e||e==="none")return bf(t);let r=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),o,n;if(r)o=UG,n=r;else{let s=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=HG,n=s}if(!n)return bf(t);let a=o[t],i=n[1].split(",").map(zG);return typeof a=="function"?a(i):i[a]}var Mw=(e,t)=>{let{transform:r="none"}=getComputedStyle(e);return Rf(r,t)};function zG(e){return parseFloat(e.trim())}var cn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],fo=(()=>new Set(cn))();var Ew=e=>e===Hn||e===re,WG=new Set(["x","y","z"]),GG=cn.filter(e=>!WG.has(e));function Wk(e){let t=[];return GG.forEach(r=>{let o=e.getValue(r);o!==void 0&&(t.push([r,o.get()]),o.set(r.startsWith("scale")?1:0))}),t}var bi={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Rf(t,"x"),y:(e,{transform:t})=>Rf(t,"y")};bi.translateX=bi.x;bi.translateY=bi.y;var As=new Set,Aw=!1,Dw=!1,Nw=!1;function Gk(){if(Dw){let e=Array.from(As).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),r=new Map;t.forEach(o=>{let n=Wk(o);n.length&&(r.set(o,n),o.render())}),e.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();let n=r.get(o);n&&n.forEach(([a,i])=>{o.getValue(a)?.set(i)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}Dw=!1,Aw=!1,As.forEach(e=>e.complete(Nw)),As.clear()}function jk(){As.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Dw=!0)})}function _w(){Nw=!0,jk(),Gk(),Nw=!1}var ya=class{constructor(t,r,o,n,a,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=o,this.motionValue=n,this.element=a,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(As.add(this),Aw||(Aw=!0,xe.read(jk),xe.resolveKeyframes(Gk))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:r,element:o,motionValue:n}=this;if(t[0]===null){let a=n?.get(),i=t[t.length-1];if(a!==void 0)t[0]=a;else if(o&&r){let s=o.readValue(r,i);s!=null&&(t[0]=s)}t[0]===void 0&&(t[0]=i),n&&a===void 0&&n.set(t[0])}Bk(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),As.delete(this)}cancel(){this.state==="scheduled"&&(As.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}};var qk=e=>e.startsWith("--");function $k(e,t,r){qk(t)?e.style.setProperty(t,r):e.style[t]=r}var Kk=Ps(()=>window.ScrollTimeline!==void 0);var Xk={};function Yk(e,t){let r=Ps(e);return()=>Xk[t]??r()}var Ng=Yk(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var Ds=([e,t,r,o])=>`cubic-bezier(${e}, ${t}, ${r}, ${o})`;var Ow={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ds([0,.65,.55,1]),circOut:Ds([.55,0,1,.45]),backIn:Ds([.31,.01,.66,-.59]),backOut:Ds([.33,1.53,.69,.99])};function Fw(e,t){if(e)return typeof e=="function"?Ng()?kg(e,t):"ease-out":pf(e)?Ds(e):Array.isArray(e)?e.map(r=>Fw(r,t)||Ow.easeOut):Ow[e]}function Qk(e,t,r,{delay:o=0,duration:n=300,repeat:a=0,repeatType:i="loop",ease:s="easeOut",times:l}={},u=void 0){let c={[t]:r};l&&(c.offset=l);let d=Fw(s,n);Array.isArray(d)&&(c.easing=d),qr.value&&ln.waapi++;let f={delay:o,duration:n,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:a+1,direction:i==="reverse"?"alternate":"normal"};u&&(f.pseudoElement=u);let p=e.animate(c,f);return qr.value&&p.finished.finally(()=>{ln.waapi--}),p}function Ns(e){return typeof e=="function"&&"applyToOptions"in e}function Zk({type:e,...t}){return Ns(e)&&Ng()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}var _g=class extends Si{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:r,name:o,keyframes:n,pseudoElement:a,allowFlatten:i=!1,finalKeyframe:s,onComplete:l}=t;this.isPseudoElement=!!a,this.allowFlatten=i,this.options=t,Zt(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let u=Zk(t);this.animation=Qk(r,o,n,u,a),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){let c=Cu(n,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(c):$k(r,o,c),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return Jt(Number(t))}get time(){return Jt(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=St(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&Kk()?(this.animation.timeline=t,mt):r(this)}};var Jk={anticipate:af,backInOut:nf,circInOut:uf};function jG(e){return e in Jk}function eM(e){typeof e.ease=="string"&&jG(e.ease)&&(e.ease=Jk[e.ease])}var tM=10,Og=class extends _g{constructor(t){eM(t),Dg(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:r,onUpdate:o,onComplete:n,element:a,...i}=this.options;if(!r)return;if(t!==void 0){r.set(t);return}let s=new va({...i,autoplay:!1}),l=St(this.finishedTime??this.time);r.setWithVelocity(s.sample(l-tM).value,s.sample(l).value,tM),s.stop()}};var Vw=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(fr.test(e)||e==="0")&&!e.startsWith("url("));function qG(e){let t=e[0];if(e.length===1)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}function rM(e,t,r,o){let n=e[0];if(n===null)return!1;if(t==="display"||t==="visibility")return!0;let a=e[e.length-1],i=Vw(n,t),s=Vw(a,t);return pa(i===s,`You are trying to animate ${t} from "${n}" to "${a}". "${i?a:n}" is not an animatable value.`,"value-not-animatable"),!i||!s?!1:qG(e)||(r==="spring"||Ns(r))&&o}function Su(e){e.duration=0,e.type}var $G=new Set(["opacity","clipPath","filter","transform"]),KG=Ps(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function oM(e){let{motionValue:t,name:r,repeatDelay:o,repeatType:n,damping:a,type:i}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return KG()&&r&&$G.has(r)&&(r!=="transform"||!u)&&!l&&!o&&n!=="mirror"&&a!==0&&i!=="inertia"}var XG=40,Lf=class extends Si{constructor({autoplay:t=!0,delay:r=0,type:o="keyframes",repeat:n=0,repeatDelay:a=0,repeatType:i="loop",keyframes:s,name:l,motionValue:u,element:c,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=xt.now();let f={autoplay:t,delay:r,type:o,repeat:n,repeatDelay:a,repeatType:i,name:l,motionValue:u,element:c,...d},p=c?.KeyframeResolver||ya;this.keyframeResolver=new p(s,(h,m,x)=>this.onKeyframesResolved(h,m,f,!x),l,u,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,r,o,n){this.keyframeResolver=void 0;let{name:a,type:i,velocity:s,delay:l,isHandoff:u,onUpdate:c}=o;this.resolvedAt=xt.now(),rM(t,a,i,s)||((ur.instantAnimations||!l)&&c?.(Cu(t,o,r)),t[0]=t[t.length-1],Su(o),o.repeat=0);let f={startTime:n?this.resolvedAt?this.resolvedAt-this.createdAt>XG?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:r,...o,keyframes:t},p=!u&&oM(f)?new Og({...f,element:f.motionValue.owner.current}):new va(f);p.finished.then(()=>this.notifyFinished()).catch(mt),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(t,r){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),_w()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};var Fg=class{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,r){for(let o=0;o<this.animations.length;o++)this.animations[o][t]=r}attachTimeline(t){let r=this.animations.map(o=>o.attachTimeline(t));return()=>{r.forEach((o,n)=>{o&&o(),this.animations[n].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let r=0;r<this.animations.length;r++)t=Math.max(t,this.animations[r].duration);return t}runAll(t){this.animations.forEach(r=>r[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};var If=class extends Fg{then(t,r){return this.finished.finally(t).then(()=>{})}};var YG=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function QG(e){let t=YG.exec(e);if(!t)return[,];let[,r,o,n]=t;return[`--${r??o}`,n]}var ZG=4;function Bw(e,t,r=1){Zt(r<=ZG,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[o,n]=QG(e);if(!o)return;let a=window.getComputedStyle(t).getPropertyValue(o);if(a){let i=a.trim();return ef(i)?parseFloat(i):i}return ks(n)?Bw(n,t,r+1):n}function _s(e,t){return e?.[t]??e?.default??e}var Pf=new Set(["width","height","top","left","right","bottom",...cn]);var nM={test:e=>e==="auto",parse:e=>e};var Vg=e=>t=>t.test(e);var Hw=[Hn,re,dr,un,Sw,Cw,nM],Uw=e=>Hw.find(Vg(e));function aM(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||rf(e):!0}var JG=new Set(["brightness","contrast","saturate","opacity"]);function ej(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[o]=r.match(vu)||[];if(!o)return e;let n=r.replace(o,""),a=JG.has(t)?1:0;return o!==r&&(a*=100),t+"("+a+n+")"}var tj=/\b([a-z-]*)\(.*?\)/gu,Tf={...fr,getAnimatableNone:e=>{let t=e.match(tj);return t?t.map(ej).join(" "):e}};var zw={...Hn,transform:Math.round};var iM={rotate:un,rotateX:un,rotateY:un,rotateZ:un,scale:hf,scaleX:hf,scaleY:hf,scaleZ:hf,skew:un,skewX:un,skewY:un,distance:re,translateX:re,translateY:re,translateZ:re,x:re,y:re,z:re,perspective:re,transformPerspective:re,opacity:ga,originX:Lg,originY:Lg,originZ:re};var Os={borderWidth:re,borderTopWidth:re,borderRightWidth:re,borderBottomWidth:re,borderLeftWidth:re,borderRadius:re,radius:re,borderTopLeftRadius:re,borderTopRightRadius:re,borderBottomRightRadius:re,borderBottomLeftRadius:re,width:re,maxWidth:re,height:re,maxHeight:re,top:re,right:re,bottom:re,left:re,padding:re,paddingTop:re,paddingRight:re,paddingBottom:re,paddingLeft:re,margin:re,marginTop:re,marginRight:re,marginBottom:re,marginLeft:re,backgroundPositionX:re,backgroundPositionY:re,...iM,zIndex:zw,fillOpacity:ga,strokeOpacity:ga,numOctaves:zw};var sM={...Os,color:st,backgroundColor:st,outlineColor:st,fill:st,stroke:st,borderColor:st,borderTopColor:st,borderRightColor:st,borderBottomColor:st,borderLeftColor:st,filter:Tf,WebkitFilter:Tf},kf=e=>sM[e];function Mf(e,t){let r=kf(e);return r!==Tf&&(r=fr),r.getAnimatableNone?r.getAnimatableNone(t):void 0}var rj=new Set(["auto","none","0"]);function lM(e,t,r){let o=0,n;for(;o<e.length&&!n;){let a=e[o];typeof a=="string"&&!rj.has(a)&&Ci(a).values.length&&(n=e[o]),o++}if(n&&r)for(let a of t)e[a]=Mf(r,n)}var Ef=class extends ya{constructor(t,r,o,n,a){super(t,r,o,n,a,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:r,name:o}=this;if(!r||!r.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="string"&&(u=u.trim(),ks(u))){let c=Bw(u,r.current);c!==void 0&&(t[l]=c),l===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!Pf.has(o)||t.length!==2)return;let[n,a]=t,i=Uw(n),s=Uw(a);if(i!==s)if(Ew(i)&&Ew(s))for(let l=0;l<t.length;l++){let u=t[l];typeof u=="string"&&(t[l]=parseFloat(u))}else bi[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:r}=this,o=[];for(let n=0;n<t.length;n++)(t[n]===null||aM(t[n]))&&o.push(n);o.length&&lM(t,o,r)}measureInitialState(){let{element:t,unresolvedKeyframes:r,name:o}=this;if(!t||!t.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=bi[o](t.measureViewportBox(),window.getComputedStyle(t.current)),r[0]=this.measuredOrigin;let n=r[r.length-1];n!==void 0&&t.getValue(o,n).jump(n,!1)}measureEndState(){let{element:t,name:r,unresolvedKeyframes:o}=this;if(!t||!t.current)return;let n=t.getValue(r);n&&n.jump(this.measuredOrigin,!1);let a=o.length-1,i=o[a];o[a]=bi[r](t.measureViewportBox(),window.getComputedStyle(t.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEach(([s,l])=>{t.getValue(s).set(l)}),this.resolveNoneKeyframes()}};function Af(e,t,r){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;t&&(o=t.current);let n=r?.[e]??o.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e)}var Df=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Nf(e){return tf(e)&&"offsetHeight"in e}var uM=30,oj=e=>!isNaN(parseFloat(e)),Fs={current:void 0},Bg=class{constructor(t,r={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{let n=xt.now();if(this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=r.owner}setCurrent(t){this.current=t,this.updatedAt=xt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=oj(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new ma);let o=this.events[t].add(r);return t==="change"?()=>{o(),xe.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,r,o){this.set(r),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-o}jump(t,r=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return Fs.current&&Fs.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=xt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>uM)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,uM);return of(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function $r(e,t){return new Bg(e,t)}var{schedule:Vs,cancel:nj}=Sg(queueMicrotask,!1);var Eo={x:!1,y:!1};function Hg(){return Eo.x||Eo.y}function Ww(e){return e==="x"||e==="y"?Eo[e]?null:(Eo[e]=!0,()=>{Eo[e]=!1}):Eo.x||Eo.y?null:(Eo.x=Eo.y=!0,()=>{Eo.x=Eo.y=!1})}function Ug(e,t){let r=Af(e),o=new AbortController,n={passive:!0,...t,signal:o.signal};return[r,n,()=>o.abort()]}function cM(e){return!(e.pointerType==="touch"||Hg())}function Gw(e,t,r={}){let[o,n,a]=Ug(e,r),i=s=>{if(!cM(s))return;let{target:l}=s,u=t(l,s);if(typeof u!="function"||!l)return;let c=d=>{cM(d)&&(u(d),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,n)};return o.forEach(s=>{s.addEventListener("pointerenter",i,n)}),a}var jw=(e,t)=>t?e===t?!0:jw(e,t.parentElement):!1;var Bs=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;var aj=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function dM(e){return aj.has(e.tagName)||e.tabIndex!==-1}var bu=new WeakSet;function fM(e){return t=>{t.key==="Enter"&&e(t)}}function qw(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var pM=(e,t)=>{let r=e.currentTarget;if(!r)return;let o=fM(()=>{if(bu.has(r))return;qw(r,"down");let n=fM(()=>{qw(r,"up")}),a=()=>qw(r,"cancel");r.addEventListener("keyup",n,t),r.addEventListener("blur",a,t)});r.addEventListener("keydown",o,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",o),t)};function mM(e){return Bs(e)&&!Hg()}function $w(e,t,r={}){let[o,n,a]=Ug(e,r),i=s=>{let l=s.currentTarget;if(!mM(s))return;bu.add(l);let u=t(l,s),c=(p,h)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),bu.has(l)&&bu.delete(l),mM(p)&&typeof u=="function"&&u(p,{success:h})},d=p=>{c(p,l===window||l===document||r.useGlobalTarget||jw(l,p.target))},f=p=>{c(p,!1)};window.addEventListener("pointerup",d,n),window.addEventListener("pointercancel",f,n)};return o.forEach(s=>{(r.useGlobalTarget?window:s).addEventListener("pointerdown",i,n),Nf(s)&&(s.addEventListener("focus",u=>pM(u,n)),!dM(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),a}function Hs(e){return tf(e)&&"ownerSVGElement"in e}function _f(e){return Hs(e)&&e.tagName==="svg"}function Kw(...e){let t=!Array.isArray(e[0]),r=t?0:-1,o=e[0+r],n=e[1+r],a=e[2+r],i=e[3+r],s=Ag(n,a,i);return t?s(o):s}var Me=e=>!!(e&&e.getVelocity);var ij=[...Hw,st,fr],Xw=e=>ij.find(Vg(e));var zg=b(E(),1),xa=b(E(),1);var gM=b(E(),1),Ri=(0,gM.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var Yw=class extends zg.Component{getSnapshotBeforeUpdate(t){let r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){let o=r.offsetParent,n=Nf(o)&&o.offsetWidth||0,a=this.props.sizeRef.current;a.height=r.offsetHeight||0,a.width=r.offsetWidth||0,a.top=r.offsetTop,a.left=r.offsetLeft,a.right=n-a.width-a.left}return null}componentDidUpdate(){}render(){return this.props.children}};function vM({children:e,isPresent:t,anchorX:r,root:o}){let n=(0,xa.useId)(),a=(0,xa.useRef)(null),i=(0,xa.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:s}=(0,xa.useContext)(Ri);return(0,xa.useInsertionEffect)(()=>{let{width:l,height:u,top:c,left:d,right:f}=i.current;if(t||!a.current||!l||!u)return;let p=r==="left"?`left: ${d}`:`right: ${f}`;a.current.dataset.motionPopId=n;let h=document.createElement("style");s&&(h.nonce=s);let m=o??document.head;return m.appendChild(h),h.sheet&&h.sheet.insertRule(`
|
|
9
|
+
`+a.stack}return{value:e,source:t,stack:n,digest:null}}function lx(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function Gx(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var vz=typeof WeakMap=="function"?WeakMap:Map;function R1(e,t,r){r=aa(-1,r),r.tag=3,r.payload={element:null};var o=t.value;return r.callback=function(){Vm||(Vm=!0,e0=o),Gx(e,t)},r}function L1(e,t,r){r=aa(-1,r),r.tag=3;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var n=t.value;r.payload=function(){return o(n)},r.callback=function(){Gx(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){Gx(e,t),typeof o!="function"&&(ni===null?ni=new Set([this]):ni.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}function OI(e,t,r){var o=e.pingCache;if(o===null){o=e.pingCache=new vz;var n=new Set;o.set(t,n)}else n=o.get(t),n===void 0&&(n=new Set,o.set(t,n));n.has(r)||(n.add(r),e=Ez.bind(null,e,t,r),t.then(e,e))}function FI(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 VI(e,t,r,o,n){return e.mode&1?(e.flags|=65536,e.lanes=n,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=aa(-1,1),t.tag=2,oi(r,t,1))),r.lanes|=1),e)}var yz=ca.ReactCurrentOwner,Br=!1;function Rr(e,t,r,o){t.child=e===null?e1(t,null,r,o):Gl(t,e.child,r,o)}function BI(e,t,r,o,n){r=r.render;var a=t.ref;return Bl(t,n),o=A0(e,t,r,o,a,n),r=D0(),e!==null&&!Br?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,ua(e,t,n)):(at&&r&&w0(t),t.flags|=1,Rr(e,t,o,n),t.child)}function HI(e,t,r,o,n){if(e===null){var a=r.type;return typeof a=="function"&&!W0(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,I1(e,t,a,o,n)):(e=vm(r.type,null,o,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&n)){var i=a.memoizedProps;if(r=r.compare,r=r!==null?r:id,r(i,o)&&e.ref===t.ref)return ua(e,t,n)}return t.flags|=1,e=ii(a,o),e.ref=t.ref,e.return=t,t.child=e}function I1(e,t,r,o,n){if(e!==null){var a=e.memoizedProps;if(id(a,o)&&e.ref===t.ref)if(Br=!1,t.pendingProps=o=a,(e.lanes&n)!==0)e.flags&131072&&(Br=!0);else return t.lanes=e.lanes,ua(e,t,n)}return jx(e,t,r,o,n)}function P1(e,t,r){var o=t.pendingProps,n=o.children,a=e!==null?e.memoizedState:null;if(o.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},je(Nl,oo),oo|=r;else{if(!(r&1073741824))return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,je(Nl,oo),oo|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=a!==null?a.baseLanes:r,je(Nl,oo),oo|=o}else a!==null?(o=a.baseLanes|r,t.memoizedState=null):o=r,je(Nl,oo),oo|=o;return Rr(e,t,n,r),t.child}function T1(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function jx(e,t,r,o,n){var a=Ur(r)?ps:ir.current;return a=zl(t,a),Bl(t,n),r=A0(e,t,r,o,a,n),o=D0(),e!==null&&!Br?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,ua(e,t,n)):(at&&o&&w0(t),t.flags|=1,Rr(e,t,r,n),t.child)}function UI(e,t,r,o,n){if(Ur(r)){var a=!0;Tm(t)}else a=!1;if(Bl(t,n),t.stateNode===null)mm(e,t),b1(t,r,o),Wx(t,r,o,n),o=!0;else if(e===null){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,u=r.contextType;typeof u=="object"&&u!==null?u=Po(u):(u=Ur(r)?ps:ir.current,u=zl(t,u));var c=r.getDerivedStateFromProps,d=typeof c=="function"||typeof i.getSnapshotBeforeUpdate=="function";d||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==o||l!==u)&&_I(t,i,o,u),Ka=!1;var f=t.memoizedState;i.state=f,Dm(t,o,i,n),l=t.memoizedState,s!==o||f!==l||Hr.current||Ka?(typeof c=="function"&&(zx(t,r,c,o),l=t.memoizedState),(s=Ka||NI(t,r,s,o,f,l,u))?(d||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=l),i.props=o,i.state=l,i.context=u,o=s):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),o=!1)}else{i=t.stateNode,r1(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:Xo(t.type,s),i.props=u,d=t.pendingProps,f=i.context,l=r.contextType,typeof l=="object"&&l!==null?l=Po(l):(l=Ur(r)?ps:ir.current,l=zl(t,l));var p=r.getDerivedStateFromProps;(c=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==d||f!==l)&&_I(t,i,o,l),Ka=!1,f=t.memoizedState,i.state=f,Dm(t,o,i,n);var h=t.memoizedState;s!==d||f!==h||Hr.current||Ka?(typeof p=="function"&&(zx(t,r,p,o),h=t.memoizedState),(u=Ka||NI(t,r,u,o,f,h,l)||!1)?(c||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(o,h,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(o,h,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=h),i.props=o,i.state=h,i.context=l,o=u):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),o=!1)}return qx(e,t,r,o,a,n)}function qx(e,t,r,o,n,a){T1(e,t);var i=(t.flags&128)!==0;if(!o&&!i)return n&&II(t,r,!1),ua(e,t,a);o=t.stateNode,yz.current=t;var s=i&&typeof r.getDerivedStateFromError!="function"?null:o.render();return t.flags|=1,e!==null&&i?(t.child=Gl(t,e.child,null,a),t.child=Gl(t,null,s,a)):Rr(e,t,s,a),t.memoizedState=o.state,n&&II(t,r,!0),t.child}function k1(e){var t=e.stateNode;t.pendingContext?LI(e,t.pendingContext,t.pendingContext!==t.context):t.context&&LI(e,t.context,!1),T0(e,t.containerInfo)}function zI(e,t,r,o,n){return Wl(),S0(n),t.flags|=256,Rr(e,t,r,o),t.child}var $x={dehydrated:null,treeContext:null,retryLane:0};function Kx(e){return{baseLanes:e,cachePool:null,transitions:null}}function M1(e,t,r){var o=t.pendingProps,n=dt.current,a=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(n&2)!==0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(n|=1),je(dt,n&1),e===null)return Hx(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):(i=o.children,e=o.fallback,a?(o=t.mode,a=t.child,i={mode:"hidden",children:i},!(o&1)&&a!==null?(a.childLanes=0,a.pendingProps=i):a=Zm(i,o,0,null),e=fs(e,o,r,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Kx(r),t.memoizedState=$x,e):O0(t,i));if(n=e.memoizedState,n!==null&&(s=n.dehydrated,s!==null))return xz(e,t,i,o,s,n,r);if(a){a=o.fallback,i=t.mode,n=e.child,s=n.sibling;var l={mode:"hidden",children:o.children};return!(i&1)&&t.child!==n?(o=t.child,o.childLanes=0,o.pendingProps=l,t.deletions=null):(o=ii(n,l),o.subtreeFlags=n.subtreeFlags&14680064),s!==null?a=ii(s,a):(a=fs(a,i,r,null),a.flags|=2),a.return=t,o.return=t,o.sibling=a,t.child=o,o=a,a=t.child,i=e.child.memoizedState,i=i===null?Kx(r):{baseLanes:i.baseLanes|r,cachePool:null,transitions:i.transitions},a.memoizedState=i,a.childLanes=e.childLanes&~r,t.memoizedState=$x,o}return a=e.child,e=a.sibling,o=ii(a,{mode:"visible",children:o.children}),!(t.mode&1)&&(o.lanes=r),o.return=t,o.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=o,t.memoizedState=null,o}function O0(e,t){return t=Zm({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function am(e,t,r,o){return o!==null&&S0(o),Gl(t,e.child,null,r),e=O0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function xz(e,t,r,o,n,a,i){if(r)return t.flags&256?(t.flags&=-257,o=lx(Error(W(422))),am(e,t,i,o)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=o.fallback,n=t.mode,o=Zm({mode:"visible",children:o.children},n,0,null),a=fs(a,n,i,null),a.flags|=2,o.return=t,a.return=t,o.sibling=a,t.child=o,t.mode&1&&Gl(t,e.child,null,i),t.child.memoizedState=Kx(i),t.memoizedState=$x,a);if(!(t.mode&1))return am(e,t,i,null);if(n.data==="$!"){if(o=n.nextSibling&&n.nextSibling.dataset,o)var s=o.dgst;return o=s,a=Error(W(419)),o=lx(a,o,void 0),am(e,t,i,o)}if(s=(i&e.childLanes)!==0,Br||s){if(o=Ht,o!==null){switch(i&-i){case 4:n=2;break;case 16:n=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:n=32;break;case 536870912:n=268435456;break;default:n=0}n=n&(o.suspendedLanes|i)?0:n,n!==0&&n!==a.retryLane&&(a.retryLane=n,la(e,n),Jo(o,e,n,-1))}return z0(),o=lx(Error(W(421))),am(e,t,i,o)}return n.data==="$?"?(t.flags|=128,t.child=e.child,t=Az.bind(null,e),n._reactRetry=t,null):(e=a.treeContext,no=ri(n.nextSibling),ao=t,at=!0,Qo=null,e!==null&&(bo[Ro++]=oa,bo[Ro++]=na,bo[Ro++]=ms,oa=e.id,na=e.overflow,ms=t),t=O0(t,o.children),t.flags|=4096,t)}function WI(e,t,r){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),Ux(e.return,t,r)}function ux(e,t,r,o,n){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:r,tailMode:n}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=o,a.tail=r,a.tailMode=n)}function E1(e,t,r){var o=t.pendingProps,n=o.revealOrder,a=o.tail;if(Rr(e,t,o.children,r),o=dt.current,o&2)o=o&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&&WI(e,r,t);else if(e.tag===19)WI(e,r,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}o&=1}if(je(dt,o),!(t.mode&1))t.memoizedState=null;else switch(n){case"forwards":for(r=t.child,n=null;r!==null;)e=r.alternate,e!==null&&Nm(e)===null&&(n=r),r=r.sibling;r=n,r===null?(n=t.child,t.child=null):(n=r.sibling,r.sibling=null),ux(t,!1,n,r,a);break;case"backwards":for(r=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&Nm(e)===null){t.child=n;break}e=n.sibling,n.sibling=r,r=n,n=e}ux(t,!0,r,null,a);break;case"together":ux(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function mm(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ua(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),hs|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(W(153));if(t.child!==null){for(e=t.child,r=ii(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=ii(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function wz(e,t,r){switch(t.tag){case 3:k1(t),Wl();break;case 5:o1(t);break;case 1:Ur(t.type)&&Tm(t);break;case 4:T0(t,t.stateNode.containerInfo);break;case 10:var o=t.type._context,n=t.memoizedProps.value;je(Em,o._currentValue),o._currentValue=n;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(je(dt,dt.current&1),t.flags|=128,null):r&t.child.childLanes?M1(e,t,r):(je(dt,dt.current&1),e=ua(e,t,r),e!==null?e.sibling:null);je(dt,dt.current&1);break;case 19:if(o=(r&t.childLanes)!==0,e.flags&128){if(o)return E1(e,t,r);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),je(dt,dt.current),o)break;return null;case 22:case 23:return t.lanes=0,P1(e,t,r)}return ua(e,t,r)}var A1,Xx,D1,N1;A1=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};Xx=function(){};D1=function(e,t,r,o){var n=e.memoizedProps;if(n!==o){e=t.stateNode,cs(Nn.current);var a=null;switch(r){case"input":n=vx(e,n),o=vx(e,o),a=[];break;case"select":n=pt({},n,{value:void 0}),o=pt({},o,{value:void 0}),a=[];break;case"textarea":n=wx(e,n),o=wx(e,o),a=[];break;default:typeof n.onClick!="function"&&typeof o.onClick=="function"&&(e.onclick=Im)}Sx(r,o);var i;r=null;for(u in n)if(!o.hasOwnProperty(u)&&n.hasOwnProperty(u)&&n[u]!=null)if(u==="style"){var s=n[u];for(i in s)s.hasOwnProperty(i)&&(r||(r={}),r[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Jc.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in o){var l=o[u];if(s=n?.[u],o.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(i in s)!s.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(r||(r={}),r[i]="");for(i in l)l.hasOwnProperty(i)&&s[i]!==l[i]&&(r||(r={}),r[i]=l[i])}else r||(a||(a=[]),a.push(u,r)),r=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(a=a||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(a=a||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Jc.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Qe("scroll",e),a||s===l||(a=[])):(a=a||[]).push(u,l))}r&&(a=a||[]).push("style",r);var u=a;(t.updateQueue=u)&&(t.flags|=4)}};N1=function(e,t,r,o){r!==o&&(t.flags|=4)};function Fc(e,t){if(!at)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function nr(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,o=0;if(t)for(var n=e.child;n!==null;)r|=n.lanes|n.childLanes,o|=n.subtreeFlags&14680064,o|=n.flags&14680064,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)r|=n.lanes|n.childLanes,o|=n.subtreeFlags,o|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=o,e.childLanes=r,t}function Cz(e,t,r){var o=t.pendingProps;switch(C0(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return nr(t),null;case 1:return Ur(t.type)&&Pm(),nr(t),null;case 3:return o=t.stateNode,jl(),Ze(Hr),Ze(ir),M0(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(om(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Qo!==null&&(o0(Qo),Qo=null))),Xx(e,t),nr(t),null;case 5:k0(t);var n=cs(dd.current);if(r=t.type,e!==null&&t.stateNode!=null)D1(e,t,r,o,n),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!o){if(t.stateNode===null)throw Error(W(166));return nr(t),null}if(e=cs(Nn.current),om(t)){o=t.stateNode,r=t.type;var a=t.memoizedProps;switch(o[An]=t,o[ud]=a,e=(t.mode&1)!==0,r){case"dialog":Qe("cancel",o),Qe("close",o);break;case"iframe":case"object":case"embed":Qe("load",o);break;case"video":case"audio":for(n=0;n<Wc.length;n++)Qe(Wc[n],o);break;case"source":Qe("error",o);break;case"img":case"image":case"link":Qe("error",o),Qe("load",o);break;case"details":Qe("toggle",o);break;case"input":QL(o,a),Qe("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!a.multiple},Qe("invalid",o);break;case"textarea":JL(o,a),Qe("invalid",o)}Sx(r,a),n=null;for(var i in a)if(a.hasOwnProperty(i)){var s=a[i];i==="children"?typeof s=="string"?o.textContent!==s&&(a.suppressHydrationWarning!==!0&&rm(o.textContent,s,e),n=["children",s]):typeof s=="number"&&o.textContent!==""+s&&(a.suppressHydrationWarning!==!0&&rm(o.textContent,s,e),n=["children",""+s]):Jc.hasOwnProperty(i)&&s!=null&&i==="onScroll"&&Qe("scroll",o)}switch(r){case"input":Gp(o),ZL(o,a,!0);break;case"textarea":Gp(o),eI(o);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(o.onclick=Im)}o=n,t.updateQueue=o,o!==null&&(t.flags|=4)}else{i=n.nodeType===9?n:n.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=lP(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof o.is=="string"?e=i.createElement(r,{is:o.is}):(e=i.createElement(r),r==="select"&&(i=e,o.multiple?i.multiple=!0:o.size&&(i.size=o.size))):e=i.createElementNS(e,r),e[An]=t,e[ud]=o,A1(e,t,!1,!1),t.stateNode=e;e:{switch(i=bx(r,o),r){case"dialog":Qe("cancel",e),Qe("close",e),n=o;break;case"iframe":case"object":case"embed":Qe("load",e),n=o;break;case"video":case"audio":for(n=0;n<Wc.length;n++)Qe(Wc[n],e);n=o;break;case"source":Qe("error",e),n=o;break;case"img":case"image":case"link":Qe("error",e),Qe("load",e),n=o;break;case"details":Qe("toggle",e),n=o;break;case"input":QL(e,o),n=vx(e,o),Qe("invalid",e);break;case"option":n=o;break;case"select":e._wrapperState={wasMultiple:!!o.multiple},n=pt({},o,{value:void 0}),Qe("invalid",e);break;case"textarea":JL(e,o),n=wx(e,o),Qe("invalid",e);break;default:n=o}Sx(r,n),s=n;for(a in s)if(s.hasOwnProperty(a)){var l=s[a];a==="style"?dP(e,l):a==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&uP(e,l)):a==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&ed(e,l):typeof l=="number"&&ed(e,""+l):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Jc.hasOwnProperty(a)?l!=null&&a==="onScroll"&&Qe("scroll",e):l!=null&&i0(e,a,l,i))}switch(r){case"input":Gp(e),ZL(e,o,!1);break;case"textarea":Gp(e),eI(e);break;case"option":o.value!=null&&e.setAttribute("value",""+si(o.value));break;case"select":e.multiple=!!o.multiple,a=o.value,a!=null?_l(e,!!o.multiple,a,!1):o.defaultValue!=null&&_l(e,!!o.multiple,o.defaultValue,!0);break;default:typeof n.onClick=="function"&&(e.onclick=Im)}switch(r){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return nr(t),null;case 6:if(e&&t.stateNode!=null)N1(e,t,e.memoizedProps,o);else{if(typeof o!="string"&&t.stateNode===null)throw Error(W(166));if(r=cs(dd.current),cs(Nn.current),om(t)){if(o=t.stateNode,r=t.memoizedProps,o[An]=t,(a=o.nodeValue!==r)&&(e=ao,e!==null))switch(e.tag){case 3:rm(o.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&rm(o.nodeValue,r,(e.mode&1)!==0)}a&&(t.flags|=4)}else o=(r.nodeType===9?r:r.ownerDocument).createTextNode(o),o[An]=t,t.stateNode=o}return nr(t),null;case 13:if(Ze(dt),o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(at&&no!==null&&t.mode&1&&!(t.flags&128))ZP(),Wl(),t.flags|=98560,a=!1;else if(a=om(t),o!==null&&o.dehydrated!==null){if(e===null){if(!a)throw Error(W(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(W(317));a[An]=t}else Wl(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;nr(t),a=!1}else Qo!==null&&(o0(Qo),Qo=null),a=!0;if(!a)return t.flags&65536?t:null}return t.flags&128?(t.lanes=r,t):(o=o!==null,o!==(e!==null&&e.memoizedState!==null)&&o&&(t.child.flags|=8192,t.mode&1&&(e===null||dt.current&1?Et===0&&(Et=3):z0())),t.updateQueue!==null&&(t.flags|=4),nr(t),null);case 4:return jl(),Xx(e,t),e===null&&sd(t.stateNode.containerInfo),nr(t),null;case 10:return L0(t.type._context),nr(t),null;case 17:return Ur(t.type)&&Pm(),nr(t),null;case 19:if(Ze(dt),a=t.memoizedState,a===null)return nr(t),null;if(o=(t.flags&128)!==0,i=a.rendering,i===null)if(o)Fc(a,!1);else{if(Et!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Nm(e),i!==null){for(t.flags|=128,Fc(a,!1),o=i.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),t.subtreeFlags=0,o=r,r=t.child;r!==null;)a=r,e=o,a.flags&=14680066,i=a.alternate,i===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,e=i.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return je(dt,dt.current&1|2),t.child}e=e.sibling}a.tail!==null&&Ct()>$l&&(t.flags|=128,o=!0,Fc(a,!1),t.lanes=4194304)}else{if(!o)if(e=Nm(i),e!==null){if(t.flags|=128,o=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Fc(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!at)return nr(t),null}else 2*Ct()-a.renderingStartTime>$l&&r!==1073741824&&(t.flags|=128,o=!0,Fc(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(r=a.last,r!==null?r.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ct(),t.sibling=null,r=dt.current,je(dt,o?r&1|2:r&1),t):(nr(t),null);case 22:case 23:return U0(),o=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==o&&(t.flags|=8192),o&&t.mode&1?oo&1073741824&&(nr(t),t.subtreeFlags&6&&(t.flags|=8192)):nr(t),null;case 24:return null;case 25:return null}throw Error(W(156,t.tag))}function Sz(e,t){switch(C0(t),t.tag){case 1:return Ur(t.type)&&Pm(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return jl(),Ze(Hr),Ze(ir),M0(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return k0(t),null;case 13:if(Ze(dt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(W(340));Wl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ze(dt),null;case 4:return jl(),null;case 10:return L0(t.type._context),null;case 22:case 23:return U0(),null;case 24:return null;default:return null}}var im=!1,ar=!1,bz=typeof WeakSet=="function"?WeakSet:Set,Q=null;function Dl(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(o){vt(e,t,o)}else r.current=null}function Yx(e,t,r){try{r()}catch(o){vt(e,t,o)}}var GI=!1;function Rz(e,t){if(Dx=bm,e=BP(),x0(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var o=r.getSelection&&r.getSelection();if(o&&o.rangeCount!==0){r=o.anchorNode;var n=o.anchorOffset,a=o.focusNode;o=o.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var i=0,s=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var p;d!==r||n!==0&&d.nodeType!==3||(s=i+n),d!==a||o!==0&&d.nodeType!==3||(l=i+o),d.nodeType===3&&(i+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===r&&++u===n&&(s=i),f===a&&++c===o&&(l=i),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(Nx={focusedElem:e,selectionRange:r},bm=!1,Q=t;Q!==null;)if(t=Q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Q=e;else for(;Q!==null;){t=Q;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var m=h.memoizedProps,x=h.memoizedState,v=t.stateNode,g=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:Xo(t.type,m),x);v.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(W(163))}}catch(w){vt(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,Q=e;break}Q=t.return}return h=GI,GI=!1,h}function Yc(e,t,r){var o=t.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var n=o=o.next;do{if((n.tag&e)===e){var a=n.destroy;n.destroy=void 0,a!==void 0&&Yx(t,r,a)}n=n.next}while(n!==o)}}function Ym(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var o=r.create;r.destroy=o()}r=r.next}while(r!==t)}}function Qx(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function _1(e){var t=e.alternate;t!==null&&(e.alternate=null,_1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[An],delete t[ud],delete t[Fx],delete t[iz],delete t[sz])),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 O1(e){return e.tag===5||e.tag===3||e.tag===4}function jI(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||O1(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 Zx(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Im));else if(o!==4&&(e=e.child,e!==null))for(Zx(e,t,r),e=e.sibling;e!==null;)Zx(e,t,r),e=e.sibling}function Jx(e,t,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(o!==4&&(e=e.child,e!==null))for(Jx(e,t,r),e=e.sibling;e!==null;)Jx(e,t,r),e=e.sibling}var $t=null,Yo=!1;function qa(e,t,r){for(r=r.child;r!==null;)F1(e,t,r),r=r.sibling}function F1(e,t,r){if(Dn&&typeof Dn.onCommitFiberUnmount=="function")try{Dn.onCommitFiberUnmount(zm,r)}catch{}switch(r.tag){case 5:ar||Dl(r,t);case 6:var o=$t,n=Yo;$t=null,qa(e,t,r),$t=o,Yo=n,$t!==null&&(Yo?(e=$t,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):$t.removeChild(r.stateNode));break;case 18:$t!==null&&(Yo?(e=$t,r=r.stateNode,e.nodeType===8?rx(e.parentNode,r):e.nodeType===1&&rx(e,r),nd(e)):rx($t,r.stateNode));break;case 4:o=$t,n=Yo,$t=r.stateNode.containerInfo,Yo=!0,qa(e,t,r),$t=o,Yo=n;break;case 0:case 11:case 14:case 15:if(!ar&&(o=r.updateQueue,o!==null&&(o=o.lastEffect,o!==null))){n=o=o.next;do{var a=n,i=a.destroy;a=a.tag,i!==void 0&&(a&2||a&4)&&Yx(r,t,i),n=n.next}while(n!==o)}qa(e,t,r);break;case 1:if(!ar&&(Dl(r,t),o=r.stateNode,typeof o.componentWillUnmount=="function"))try{o.props=r.memoizedProps,o.state=r.memoizedState,o.componentWillUnmount()}catch(s){vt(r,t,s)}qa(e,t,r);break;case 21:qa(e,t,r);break;case 22:r.mode&1?(ar=(o=ar)||r.memoizedState!==null,qa(e,t,r),ar=o):qa(e,t,r);break;default:qa(e,t,r)}}function qI(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new bz),t.forEach(function(o){var n=Dz.bind(null,e,o);r.has(o)||(r.add(o),o.then(n,n))})}}function Ko(e,t){var r=t.deletions;if(r!==null)for(var o=0;o<r.length;o++){var n=r[o];try{var a=e,i=t,s=i;e:for(;s!==null;){switch(s.tag){case 5:$t=s.stateNode,Yo=!1;break e;case 3:$t=s.stateNode.containerInfo,Yo=!0;break e;case 4:$t=s.stateNode.containerInfo,Yo=!0;break e}s=s.return}if($t===null)throw Error(W(160));F1(a,i,n),$t=null,Yo=!1;var l=n.alternate;l!==null&&(l.return=null),n.return=null}catch(u){vt(n,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)V1(t,e),t=t.sibling}function V1(e,t){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ko(t,e),Mn(e),o&4){try{Yc(3,e,e.return),Ym(3,e)}catch(m){vt(e,e.return,m)}try{Yc(5,e,e.return)}catch(m){vt(e,e.return,m)}}break;case 1:Ko(t,e),Mn(e),o&512&&r!==null&&Dl(r,r.return);break;case 5:if(Ko(t,e),Mn(e),o&512&&r!==null&&Dl(r,r.return),e.flags&32){var n=e.stateNode;try{ed(n,"")}catch(m){vt(e,e.return,m)}}if(o&4&&(n=e.stateNode,n!=null)){var a=e.memoizedProps,i=r!==null?r.memoizedProps:a,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&a.type==="radio"&&a.name!=null&&iP(n,a),bx(s,i);var u=bx(s,a);for(i=0;i<l.length;i+=2){var c=l[i],d=l[i+1];c==="style"?dP(n,d):c==="dangerouslySetInnerHTML"?uP(n,d):c==="children"?ed(n,d):i0(n,c,d,u)}switch(s){case"input":yx(n,a);break;case"textarea":sP(n,a);break;case"select":var f=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!a.multiple;var p=a.value;p!=null?_l(n,!!a.multiple,p,!1):f!==!!a.multiple&&(a.defaultValue!=null?_l(n,!!a.multiple,a.defaultValue,!0):_l(n,!!a.multiple,a.multiple?[]:"",!1))}n[ud]=a}catch(m){vt(e,e.return,m)}}break;case 6:if(Ko(t,e),Mn(e),o&4){if(e.stateNode===null)throw Error(W(162));n=e.stateNode,a=e.memoizedProps;try{n.nodeValue=a}catch(m){vt(e,e.return,m)}}break;case 3:if(Ko(t,e),Mn(e),o&4&&r!==null&&r.memoizedState.isDehydrated)try{nd(t.containerInfo)}catch(m){vt(e,e.return,m)}break;case 4:Ko(t,e),Mn(e);break;case 13:Ko(t,e),Mn(e),n=e.child,n.flags&8192&&(a=n.memoizedState!==null,n.stateNode.isHidden=a,!a||n.alternate!==null&&n.alternate.memoizedState!==null||(B0=Ct())),o&4&&qI(e);break;case 22:if(c=r!==null&&r.memoizedState!==null,e.mode&1?(ar=(u=ar)||c,Ko(t,e),ar=u):Ko(t,e),Mn(e),o&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(Q=e,c=e.child;c!==null;){for(d=Q=c;Q!==null;){switch(f=Q,p=f.child,f.tag){case 0:case 11:case 14:case 15:Yc(4,f,f.return);break;case 1:Dl(f,f.return);var h=f.stateNode;if(typeof h.componentWillUnmount=="function"){o=f,r=f.return;try{t=o,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(m){vt(o,r,m)}}break;case 5:Dl(f,f.return);break;case 22:if(f.memoizedState!==null){KI(d);continue}}p!==null?(p.return=f,Q=p):KI(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{n=d.stateNode,u?(a=n.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(s=d.stateNode,l=d.memoizedProps.style,i=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=cP("display",i))}catch(m){vt(e,e.return,m)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(m){vt(e,e.return,m)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Ko(t,e),Mn(e),o&4&&qI(e);break;case 21:break;default:Ko(t,e),Mn(e)}}function Mn(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(O1(r)){var o=r;break e}r=r.return}throw Error(W(160))}switch(o.tag){case 5:var n=o.stateNode;o.flags&32&&(ed(n,""),o.flags&=-33);var a=jI(e);Jx(e,a,n);break;case 3:case 4:var i=o.stateNode.containerInfo,s=jI(e);Zx(e,s,i);break;default:throw Error(W(161))}}catch(l){vt(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Lz(e,t,r){Q=e,B1(e,t,r)}function B1(e,t,r){for(var o=(e.mode&1)!==0;Q!==null;){var n=Q,a=n.child;if(n.tag===22&&o){var i=n.memoizedState!==null||im;if(!i){var s=n.alternate,l=s!==null&&s.memoizedState!==null||ar;s=im;var u=ar;if(im=i,(ar=l)&&!u)for(Q=n;Q!==null;)i=Q,l=i.child,i.tag===22&&i.memoizedState!==null?XI(n):l!==null?(l.return=i,Q=l):XI(n);for(;a!==null;)Q=a,B1(a,t,r),a=a.sibling;Q=n,im=s,ar=u}$I(e,t,r)}else n.subtreeFlags&8772&&a!==null?(a.return=n,Q=a):$I(e,t,r)}}function $I(e){for(;Q!==null;){var t=Q;if(t.flags&8772){var r=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ar||Ym(5,t);break;case 1:var o=t.stateNode;if(t.flags&4&&!ar)if(r===null)o.componentDidMount();else{var n=t.elementType===t.type?r.memoizedProps:Xo(t.type,r.memoizedProps);o.componentDidUpdate(n,r.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&EI(t,a,o);break;case 3:var i=t.updateQueue;if(i!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}EI(t,i,r)}break;case 5:var s=t.stateNode;if(r===null&&t.flags&4){r=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&nd(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(W(163))}ar||t.flags&512&&Qx(t)}catch(f){vt(t,t.return,f)}}if(t===e){Q=null;break}if(r=t.sibling,r!==null){r.return=t.return,Q=r;break}Q=t.return}}function KI(e){for(;Q!==null;){var t=Q;if(t===e){Q=null;break}var r=t.sibling;if(r!==null){r.return=t.return,Q=r;break}Q=t.return}}function XI(e){for(;Q!==null;){var t=Q;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{Ym(4,t)}catch(l){vt(t,r,l)}break;case 1:var o=t.stateNode;if(typeof o.componentDidMount=="function"){var n=t.return;try{o.componentDidMount()}catch(l){vt(t,n,l)}}var a=t.return;try{Qx(t)}catch(l){vt(t,a,l)}break;case 5:var i=t.return;try{Qx(t)}catch(l){vt(t,i,l)}}}catch(l){vt(t,t.return,l)}if(t===e){Q=null;break}var s=t.sibling;if(s!==null){s.return=t.return,Q=s;break}Q=t.return}}var Iz=Math.ceil,Fm=ca.ReactCurrentDispatcher,F0=ca.ReactCurrentOwner,Io=ca.ReactCurrentBatchConfig,Ie=0,Ht=null,Rt=null,Kt=0,oo=0,Nl=ci(0),Et=0,gd=null,hs=0,Qm=0,V0=0,Qc=null,Vr=null,B0=0,$l=1/0,ta=null,Vm=!1,e0=null,ni=null,sm=!1,Za=null,Bm=0,Zc=0,t0=null,gm=-1,hm=0;function Lr(){return Ie&6?Ct():gm!==-1?gm:gm=Ct()}function ai(e){return e.mode&1?Ie&2&&Kt!==0?Kt&-Kt:uz.transition!==null?(hm===0&&(hm=bP()),hm):(e=Oe,e!==0||(e=window.event,e=e===void 0?16:MP(e.type)),e):1}function Jo(e,t,r,o){if(50<Zc)throw Zc=0,t0=null,Error(W(185));hd(e,r,o),(!(Ie&2)||e!==Ht)&&(e===Ht&&(!(Ie&2)&&(Qm|=r),Et===4&&Ya(e,Kt)),zr(e,o),r===1&&Ie===0&&!(t.mode&1)&&($l=Ct()+500,$m&&di()))}function zr(e,t){var r=e.callbackNode;d4(e,t);var o=Sm(e,e===Ht?Kt:0);if(o===0)r!==null&&oI(r),e.callbackNode=null,e.callbackPriority=0;else if(t=o&-o,e.callbackPriority!==t){if(r!=null&&oI(r),t===1)e.tag===0?lz(YI.bind(null,e)):XP(YI.bind(null,e)),nz(function(){!(Ie&6)&&di()}),r=null;else{switch(RP(o)){case 1:r=d0;break;case 4:r=CP;break;case 16:r=Cm;break;case 536870912:r=SP;break;default:r=Cm}r=$1(r,H1.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function H1(e,t){if(gm=-1,hm=0,Ie&6)throw Error(W(327));var r=e.callbackNode;if(Hl()&&e.callbackNode!==r)return null;var o=Sm(e,e===Ht?Kt:0);if(o===0)return null;if(o&30||o&e.expiredLanes||t)t=Hm(e,o);else{t=o;var n=Ie;Ie|=2;var a=z1();(Ht!==e||Kt!==t)&&(ta=null,$l=Ct()+500,ds(e,t));do try{kz();break}catch(s){U1(e,s)}while(1);R0(),Fm.current=a,Ie=n,Rt!==null?t=0:(Ht=null,Kt=0,t=Et)}if(t!==0){if(t===2&&(n=Tx(e),n!==0&&(o=n,t=r0(e,n))),t===1)throw r=gd,ds(e,0),Ya(e,o),zr(e,Ct()),r;if(t===6)Ya(e,o);else{if(n=e.current.alternate,!(o&30)&&!Pz(n)&&(t=Hm(e,o),t===2&&(a=Tx(e),a!==0&&(o=a,t=r0(e,a))),t===1))throw r=gd,ds(e,0),Ya(e,o),zr(e,Ct()),r;switch(e.finishedWork=n,e.finishedLanes=o,t){case 0:case 1:throw Error(W(345));case 2:ss(e,Vr,ta);break;case 3:if(Ya(e,o),(o&130023424)===o&&(t=B0+500-Ct(),10<t)){if(Sm(e,0)!==0)break;if(n=e.suspendedLanes,(n&o)!==o){Lr(),e.pingedLanes|=e.suspendedLanes&n;break}e.timeoutHandle=Ox(ss.bind(null,e,Vr,ta),t);break}ss(e,Vr,ta);break;case 4:if(Ya(e,o),(o&4194240)===o)break;for(t=e.eventTimes,n=-1;0<o;){var i=31-Zo(o);a=1<<i,i=t[i],i>n&&(n=i),o&=~a}if(o=n,o=Ct()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*Iz(o/1960))-o,10<o){e.timeoutHandle=Ox(ss.bind(null,e,Vr,ta),o);break}ss(e,Vr,ta);break;case 5:ss(e,Vr,ta);break;default:throw Error(W(329))}}}return zr(e,Ct()),e.callbackNode===r?H1.bind(null,e):null}function r0(e,t){var r=Qc;return e.current.memoizedState.isDehydrated&&(ds(e,t).flags|=256),e=Hm(e,t),e!==2&&(t=Vr,Vr=r,t!==null&&o0(t)),e}function o0(e){Vr===null?Vr=e:Vr.push.apply(Vr,e)}function Pz(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var o=0;o<r.length;o++){var n=r[o],a=n.getSnapshot;n=n.value;try{if(!en(a(),n))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ya(e,t){for(t&=~V0,t&=~Qm,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Zo(t),o=1<<r;e[r]=-1,t&=~o}}function YI(e){if(Ie&6)throw Error(W(327));Hl();var t=Sm(e,0);if(!(t&1))return zr(e,Ct()),null;var r=Hm(e,t);if(e.tag!==0&&r===2){var o=Tx(e);o!==0&&(t=o,r=r0(e,o))}if(r===1)throw r=gd,ds(e,0),Ya(e,t),zr(e,Ct()),r;if(r===6)throw Error(W(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ss(e,Vr,ta),zr(e,Ct()),null}function H0(e,t){var r=Ie;Ie|=1;try{return e(t)}finally{Ie=r,Ie===0&&($l=Ct()+500,$m&&di())}}function vs(e){Za!==null&&Za.tag===0&&!(Ie&6)&&Hl();var t=Ie;Ie|=1;var r=Io.transition,o=Oe;try{if(Io.transition=null,Oe=1,e)return e()}finally{Oe=o,Io.transition=r,Ie=t,!(Ie&6)&&di()}}function U0(){oo=Nl.current,Ze(Nl)}function ds(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,oz(r)),Rt!==null)for(r=Rt.return;r!==null;){var o=r;switch(C0(o),o.tag){case 1:o=o.type.childContextTypes,o!=null&&Pm();break;case 3:jl(),Ze(Hr),Ze(ir),M0();break;case 5:k0(o);break;case 4:jl();break;case 13:Ze(dt);break;case 19:Ze(dt);break;case 10:L0(o.type._context);break;case 22:case 23:U0()}r=r.return}if(Ht=e,Rt=e=ii(e.current,null),Kt=oo=t,Et=0,gd=null,V0=Qm=hs=0,Vr=Qc=null,us!==null){for(t=0;t<us.length;t++)if(r=us[t],o=r.interleaved,o!==null){r.interleaved=null;var n=o.next,a=r.pending;if(a!==null){var i=a.next;a.next=n,o.next=i}r.pending=o}us=null}return e}function U1(e,t){do{var r=Rt;try{if(R0(),fm.current=Om,_m){for(var o=ft.memoizedState;o!==null;){var n=o.queue;n!==null&&(n.pending=null),o=o.next}_m=!1}if(gs=0,Bt=Mt=ft=null,Xc=!1,fd=0,F0.current=null,r===null||r.return===null){Et=1,gd=t,Rt=null;break}e:{var a=e,i=r.return,s=r,l=t;if(t=Kt,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=s,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=FI(i);if(p!==null){p.flags&=-257,VI(p,i,s,a,t),p.mode&1&&OI(a,u,t),t=p,l=u;var h=t.updateQueue;if(h===null){var m=new Set;m.add(l),t.updateQueue=m}else h.add(l);break e}else{if(!(t&1)){OI(a,u,t),z0();break e}l=Error(W(426))}}else if(at&&s.mode&1){var x=FI(i);if(x!==null){!(x.flags&65536)&&(x.flags|=256),VI(x,i,s,a,t),S0(ql(l,s));break e}}a=l=ql(l,s),Et!==4&&(Et=2),Qc===null?Qc=[a]:Qc.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var v=R1(a,l,t);MI(a,v);break e;case 1:s=l;var g=a.type,y=a.stateNode;if(!(a.flags&128)&&(typeof g.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(ni===null||!ni.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t;var w=L1(a,s,t);MI(a,w);break e}}a=a.return}while(a!==null)}G1(r)}catch(C){t=C,Rt===r&&r!==null&&(Rt=r=r.return);continue}break}while(1)}function z1(){var e=Fm.current;return Fm.current=Om,e===null?Om:e}function z0(){(Et===0||Et===3||Et===2)&&(Et=4),Ht===null||!(hs&268435455)&&!(Qm&268435455)||Ya(Ht,Kt)}function Hm(e,t){var r=Ie;Ie|=2;var o=z1();(Ht!==e||Kt!==t)&&(ta=null,ds(e,t));do try{Tz();break}catch(n){U1(e,n)}while(1);if(R0(),Ie=r,Fm.current=o,Rt!==null)throw Error(W(261));return Ht=null,Kt=0,Et}function Tz(){for(;Rt!==null;)W1(Rt)}function kz(){for(;Rt!==null&&!r4();)W1(Rt)}function W1(e){var t=q1(e.alternate,e,oo);e.memoizedProps=e.pendingProps,t===null?G1(e):Rt=t,F0.current=null}function G1(e){var t=e;do{var r=t.alternate;if(e=t.return,t.flags&32768){if(r=Sz(r,t),r!==null){r.flags&=32767,Rt=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Et=6,Rt=null;return}}else if(r=Cz(r,t,oo),r!==null){Rt=r;return}if(t=t.sibling,t!==null){Rt=t;return}Rt=t=e}while(t!==null);Et===0&&(Et=5)}function ss(e,t,r){var o=Oe,n=Io.transition;try{Io.transition=null,Oe=1,Mz(e,t,r,o)}finally{Io.transition=n,Oe=o}return null}function Mz(e,t,r,o){do Hl();while(Za!==null);if(Ie&6)throw Error(W(327));r=e.finishedWork;var n=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(W(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(f4(e,a),e===Ht&&(Rt=Ht=null,Kt=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||sm||(sm=!0,$1(Cm,function(){return Hl(),null})),a=(r.flags&15990)!==0,r.subtreeFlags&15990||a){a=Io.transition,Io.transition=null;var i=Oe;Oe=1;var s=Ie;Ie|=4,F0.current=null,Rz(e,r),V1(r,e),Z4(Nx),bm=!!Dx,Nx=Dx=null,e.current=r,Lz(r,e,n),o4(),Ie=s,Oe=i,Io.transition=a}else e.current=r;if(sm&&(sm=!1,Za=e,Bm=n),a=e.pendingLanes,a===0&&(ni=null),i4(r.stateNode,o),zr(e,Ct()),t!==null)for(o=e.onRecoverableError,r=0;r<t.length;r++)n=t[r],o(n.value,{componentStack:n.stack,digest:n.digest});if(Vm)throw Vm=!1,e=e0,e0=null,e;return Bm&1&&e.tag!==0&&Hl(),a=e.pendingLanes,a&1?e===t0?Zc++:(Zc=0,t0=e):Zc=0,di(),null}function Hl(){if(Za!==null){var e=RP(Bm),t=Io.transition,r=Oe;try{if(Io.transition=null,Oe=16>e?16:e,Za===null)var o=!1;else{if(e=Za,Za=null,Bm=0,Ie&6)throw Error(W(331));var n=Ie;for(Ie|=4,Q=e.current;Q!==null;){var a=Q,i=a.child;if(Q.flags&16){var s=a.deletions;if(s!==null){for(var l=0;l<s.length;l++){var u=s[l];for(Q=u;Q!==null;){var c=Q;switch(c.tag){case 0:case 11:case 15:Yc(8,c,a)}var d=c.child;if(d!==null)d.return=c,Q=d;else for(;Q!==null;){c=Q;var f=c.sibling,p=c.return;if(_1(c),c===u){Q=null;break}if(f!==null){f.return=p,Q=f;break}Q=p}}}var h=a.alternate;if(h!==null){var m=h.child;if(m!==null){h.child=null;do{var x=m.sibling;m.sibling=null,m=x}while(m!==null)}}Q=a}}if(a.subtreeFlags&2064&&i!==null)i.return=a,Q=i;else e:for(;Q!==null;){if(a=Q,a.flags&2048)switch(a.tag){case 0:case 11:case 15:Yc(9,a,a.return)}var v=a.sibling;if(v!==null){v.return=a.return,Q=v;break e}Q=a.return}}var g=e.current;for(Q=g;Q!==null;){i=Q;var y=i.child;if(i.subtreeFlags&2064&&y!==null)y.return=i,Q=y;else e:for(i=g;Q!==null;){if(s=Q,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:Ym(9,s)}}catch(C){vt(s,s.return,C)}if(s===i){Q=null;break e}var w=s.sibling;if(w!==null){w.return=s.return,Q=w;break e}Q=s.return}}if(Ie=n,di(),Dn&&typeof Dn.onPostCommitFiberRoot=="function")try{Dn.onPostCommitFiberRoot(zm,e)}catch{}o=!0}return o}finally{Oe=r,Io.transition=t}}return!1}function QI(e,t,r){t=ql(r,t),t=R1(e,t,1),e=oi(e,t,1),t=Lr(),e!==null&&(hd(e,1,t),zr(e,t))}function vt(e,t,r){if(e.tag===3)QI(e,e,r);else for(;t!==null;){if(t.tag===3){QI(t,e,r);break}else if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(ni===null||!ni.has(o))){e=ql(r,e),e=L1(t,e,1),t=oi(t,e,1),e=Lr(),t!==null&&(hd(t,1,e),zr(t,e));break}}t=t.return}}function Ez(e,t,r){var o=e.pingCache;o!==null&&o.delete(t),t=Lr(),e.pingedLanes|=e.suspendedLanes&r,Ht===e&&(Kt&r)===r&&(Et===4||Et===3&&(Kt&130023424)===Kt&&500>Ct()-B0?ds(e,0):V0|=r),zr(e,t)}function j1(e,t){t===0&&(e.mode&1?(t=$p,$p<<=1,!($p&130023424)&&($p=4194304)):t=1);var r=Lr();e=la(e,t),e!==null&&(hd(e,t,r),zr(e,r))}function Az(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),j1(e,r)}function Dz(e,t){var r=0;switch(e.tag){case 13:var o=e.stateNode,n=e.memoizedState;n!==null&&(r=n.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(W(314))}o!==null&&o.delete(t),j1(e,r)}var q1;q1=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Hr.current)Br=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return Br=!1,wz(e,t,r);Br=!!(e.flags&131072)}else Br=!1,at&&t.flags&1048576&&YP(t,Mm,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;mm(e,t),e=t.pendingProps;var n=zl(t,ir.current);Bl(t,r),n=A0(null,t,o,e,n,r);var a=D0();return t.flags|=1,typeof n=="object"&&n!==null&&typeof n.render=="function"&&n.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ur(o)?(a=!0,Tm(t)):a=!1,t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,P0(t),n.updater=Xm,t.stateNode=n,n._reactInternals=t,Wx(t,o,e,r),t=qx(null,t,o,!0,a,r)):(t.tag=0,at&&a&&w0(t),Rr(null,t,n,r),t=t.child),t;case 16:o=t.elementType;e:{switch(mm(e,t),e=t.pendingProps,n=o._init,o=n(o._payload),t.type=o,n=t.tag=_z(o),e=Xo(o,e),n){case 0:t=jx(null,t,o,e,r);break e;case 1:t=UI(null,t,o,e,r);break e;case 11:t=BI(null,t,o,e,r);break e;case 14:t=HI(null,t,o,Xo(o.type,e),r);break e}throw Error(W(306,o,""))}return t;case 0:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:Xo(o,n),jx(e,t,o,n,r);case 1:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:Xo(o,n),UI(e,t,o,n,r);case 3:e:{if(k1(t),e===null)throw Error(W(387));o=t.pendingProps,a=t.memoizedState,n=a.element,r1(e,t),Dm(t,o,null,r);var i=t.memoizedState;if(o=i.element,a.isDehydrated)if(a={element:o,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){n=ql(Error(W(423)),t),t=zI(e,t,o,r,n);break e}else if(o!==n){n=ql(Error(W(424)),t),t=zI(e,t,o,r,n);break e}else for(no=ri(t.stateNode.containerInfo.firstChild),ao=t,at=!0,Qo=null,r=e1(t,null,o,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Wl(),o===n){t=ua(e,t,r);break e}Rr(e,t,o,r)}t=t.child}return t;case 5:return o1(t),e===null&&Hx(t),o=t.type,n=t.pendingProps,a=e!==null?e.memoizedProps:null,i=n.children,_x(o,n)?i=null:a!==null&&_x(o,a)&&(t.flags|=32),T1(e,t),Rr(e,t,i,r),t.child;case 6:return e===null&&Hx(t),null;case 13:return M1(e,t,r);case 4:return T0(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=Gl(t,null,o,r):Rr(e,t,o,r),t.child;case 11:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:Xo(o,n),BI(e,t,o,n,r);case 7:return Rr(e,t,t.pendingProps,r),t.child;case 8:return Rr(e,t,t.pendingProps.children,r),t.child;case 12:return Rr(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(o=t.type._context,n=t.pendingProps,a=t.memoizedProps,i=n.value,je(Em,o._currentValue),o._currentValue=i,a!==null)if(en(a.value,i)){if(a.children===n.children&&!Hr.current){t=ua(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){i=a.child;for(var l=s.firstContext;l!==null;){if(l.context===o){if(a.tag===1){l=aa(-1,r&-r),l.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}a.lanes|=r,l=a.alternate,l!==null&&(l.lanes|=r),Ux(a.return,r,t),s.lanes|=r;break}l=l.next}}else if(a.tag===10)i=a.type===t.type?null:a.child;else if(a.tag===18){if(i=a.return,i===null)throw Error(W(341));i.lanes|=r,s=i.alternate,s!==null&&(s.lanes|=r),Ux(i,r,t),i=a.sibling}else i=a.child;if(i!==null)i.return=a;else for(i=a;i!==null;){if(i===t){i=null;break}if(a=i.sibling,a!==null){a.return=i.return,i=a;break}i=i.return}a=i}Rr(e,t,n.children,r),t=t.child}return t;case 9:return n=t.type,o=t.pendingProps.children,Bl(t,r),n=Po(n),o=o(n),t.flags|=1,Rr(e,t,o,r),t.child;case 14:return o=t.type,n=Xo(o,t.pendingProps),n=Xo(o.type,n),HI(e,t,o,n,r);case 15:return I1(e,t,t.type,t.pendingProps,r);case 17:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:Xo(o,n),mm(e,t),t.tag=1,Ur(o)?(e=!0,Tm(t)):e=!1,Bl(t,r),b1(t,o,n),Wx(t,o,n,r),qx(null,t,o,!0,e,r);case 19:return E1(e,t,r);case 22:return P1(e,t,r)}throw Error(W(156,t.tag))};function $1(e,t){return wP(e,t)}function Nz(e,t,r,o){this.tag=e,this.key=r,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=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Lo(e,t,r,o){return new Nz(e,t,r,o)}function W0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _z(e){if(typeof e=="function")return W0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===l0)return 11;if(e===u0)return 14}return 2}function ii(e,t){var r=e.alternate;return r===null?(r=Lo(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function vm(e,t,r,o,n,a){var i=2;if(o=e,typeof e=="function")W0(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Rl:return fs(r.children,n,a,t);case s0:i=8,n|=8;break;case px:return e=Lo(12,r,t,n|2),e.elementType=px,e.lanes=a,e;case mx:return e=Lo(13,r,t,n),e.elementType=mx,e.lanes=a,e;case gx:return e=Lo(19,r,t,n),e.elementType=gx,e.lanes=a,e;case oP:return Zm(r,n,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case tP:i=10;break e;case rP:i=9;break e;case l0:i=11;break e;case u0:i=14;break e;case $a:i=16,o=null;break e}throw Error(W(130,e==null?e:typeof e,""))}return t=Lo(i,r,t,n),t.elementType=e,t.type=o,t.lanes=a,t}function fs(e,t,r,o){return e=Lo(7,e,o,t),e.lanes=r,e}function Zm(e,t,r,o){return e=Lo(22,e,o,t),e.elementType=oP,e.lanes=r,e.stateNode={isHidden:!1},e}function cx(e,t,r){return e=Lo(6,e,null,t),e.lanes=r,e}function dx(e,t,r){return t=Lo(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Oz(e,t,r,o,n){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=Ky(0),this.expirationTimes=Ky(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ky(0),this.identifierPrefix=o,this.onRecoverableError=n,this.mutableSourceEagerHydrationData=null}function G0(e,t,r,o,n,a,i,s,l){return e=new Oz(e,t,r,s,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Lo(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:o,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},P0(a),e}function Fz(e,t,r){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:bl,key:o==null?null:""+o,children:e,containerInfo:t,implementation:r}}function K1(e){if(!e)return li;e=e._reactInternals;e:{if(xs(e)!==e||e.tag!==1)throw Error(W(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ur(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(W(171))}if(e.tag===1){var r=e.type;if(Ur(r))return KP(e,r,t)}return t}function X1(e,t,r,o,n,a,i,s,l){return e=G0(r,o,!0,e,n,a,i,s,l),e.context=K1(null),r=e.current,o=Lr(),n=ai(r),a=aa(o,n),a.callback=t??null,oi(r,a,n),e.current.lanes=n,hd(e,n,o),zr(e,o),e}function Jm(e,t,r,o){var n=t.current,a=Lr(),i=ai(n);return r=K1(r),t.context===null?t.context=r:t.pendingContext=r,t=aa(a,i),t.payload={element:e},o=o===void 0?null:o,o!==null&&(t.callback=o),e=oi(n,t,i),e!==null&&(Jo(e,n,i,a),dm(e,n,i)),i}function Um(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function ZI(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function j0(e,t){ZI(e,t),(e=e.alternate)&&ZI(e,t)}function Vz(){return null}var Y1=typeof reportError=="function"?reportError:function(e){console.error(e)};function q0(e){this._internalRoot=e}eg.prototype.render=q0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(W(409));Jm(e,t,null,null)};eg.prototype.unmount=q0.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;vs(function(){Jm(null,e,null,null)}),t[sa]=null}};function eg(e){this._internalRoot=e}eg.prototype.unstable_scheduleHydration=function(e){if(e){var t=PP();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Xa.length&&t!==0&&t<Xa[r].priority;r++);Xa.splice(r,0,e),r===0&&kP(e)}};function $0(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function tg(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function JI(){}function Bz(e,t,r,o,n){if(n){if(typeof o=="function"){var a=o;o=function(){var u=Um(i);a.call(u)}}var i=X1(t,o,e,0,null,!1,!1,"",JI);return e._reactRootContainer=i,e[sa]=i.current,sd(e.nodeType===8?e.parentNode:e),vs(),i}for(;n=e.lastChild;)e.removeChild(n);if(typeof o=="function"){var s=o;o=function(){var u=Um(l);s.call(u)}}var l=G0(e,0,!1,null,null,!1,!1,"",JI);return e._reactRootContainer=l,e[sa]=l.current,sd(e.nodeType===8?e.parentNode:e),vs(function(){Jm(t,l,r,o)}),l}function rg(e,t,r,o,n){var a=r._reactRootContainer;if(a){var i=a;if(typeof n=="function"){var s=n;n=function(){var l=Um(i);s.call(l)}}Jm(t,i,e,n)}else i=Bz(r,t,e,n,o);return Um(i)}LP=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=zc(t.pendingLanes);r!==0&&(f0(t,r|1),zr(t,Ct()),!(Ie&6)&&($l=Ct()+500,di()))}break;case 13:vs(function(){var o=la(e,1);if(o!==null){var n=Lr();Jo(o,e,1,n)}}),j0(e,1)}};p0=function(e){if(e.tag===13){var t=la(e,134217728);if(t!==null){var r=Lr();Jo(t,e,134217728,r)}j0(e,134217728)}};IP=function(e){if(e.tag===13){var t=ai(e),r=la(e,t);if(r!==null){var o=Lr();Jo(r,e,t,o)}j0(e,t)}};PP=function(){return Oe};TP=function(e,t){var r=Oe;try{return Oe=e,t()}finally{Oe=r}};Lx=function(e,t,r){switch(t){case"input":if(yx(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var n=qm(o);if(!n)throw Error(W(90));aP(o),yx(o,n)}}}break;case"textarea":sP(e,r);break;case"select":t=r.value,t!=null&&_l(e,!!r.multiple,t,!1)}};mP=H0;gP=vs;var Hz={usingClientEntryPoint:!1,Events:[yd,Tl,qm,fP,pP,H0]},Vc={findFiberByHostInstance:ls,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Uz={bundleType:Vc.bundleType,version:Vc.version,rendererPackageName:Vc.rendererPackageName,rendererConfig:Vc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ca.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=yP(e),e===null?null:e.stateNode},findFiberByHostInstance:Vc.findFiberByHostInstance||Vz,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Bc=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Bc.isDisabled&&Bc.supportsFiber))try{zm=Bc.inject(Uz),Dn=Bc}catch{}var Bc;lo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Hz;lo.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!$0(t))throw Error(W(200));return Fz(e,t,null,r)};lo.createRoot=function(e,t){if(!$0(e))throw Error(W(299));var r=!1,o="",n=Y1;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(n=t.onRecoverableError)),t=G0(e,1,!1,null,null,r,!1,o,n),e[sa]=t.current,sd(e.nodeType===8?e.parentNode:e),new q0(t)};lo.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(W(188)):(e=Object.keys(e).join(","),Error(W(268,e)));return e=yP(t),e=e===null?null:e.stateNode,e};lo.flushSync=function(e){return vs(e)};lo.hydrate=function(e,t,r){if(!tg(t))throw Error(W(200));return rg(null,e,t,!0,r)};lo.hydrateRoot=function(e,t,r){if(!$0(e))throw Error(W(405));var o=r!=null&&r.hydratedSources||null,n=!1,a="",i=Y1;if(r!=null&&(r.unstable_strictMode===!0&&(n=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onRecoverableError!==void 0&&(i=r.onRecoverableError)),t=X1(t,null,e,1,r??null,n,!1,a,i),e[sa]=t.current,sd(e),o)for(e=0;e<o.length;e++)r=o[e],n=r._getVersion,n=n(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,n]:t.mutableSourceEagerHydrationData.push(r,n);return new eg(t)};lo.render=function(e,t,r){if(!tg(t))throw Error(W(200));return rg(null,e,t,!1,r)};lo.unmountComponentAtNode=function(e){if(!tg(e))throw Error(W(40));return e._reactRootContainer?(vs(function(){rg(null,null,e,!1,function(){e._reactRootContainer=null,e[sa]=null})}),!0):!1};lo.unstable_batchedUpdates=H0;lo.unstable_renderSubtreeIntoContainer=function(e,t,r,o){if(!tg(r))throw Error(W(200));if(e==null||e._reactInternals===void 0)throw Error(W(38));return rg(e,t,r,!1,o)};lo.version="18.3.1-next-f1338f8080-20240426"});var Yl=tr((MZ,J1)=>{"use strict";function Z1(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Z1)}catch(e){console.error(e)}}Z1(),J1.exports=Q1()});var $T=tr(qT=>{"use strict";var fu=E();function GW(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jW=typeof Object.is=="function"?Object.is:GW,qW=fu.useState,$W=fu.useEffect,KW=fu.useLayoutEffect,XW=fu.useDebugValue;function YW(e,t){var r=t(),o=qW({inst:{value:r,getSnapshot:t}}),n=o[0].inst,a=o[1];return KW(function(){n.value=r,n.getSnapshot=t,cw(n)&&a({inst:n})},[e,r,t]),$W(function(){return cw(n)&&a({inst:n}),e(function(){cw(n)&&a({inst:n})})},[e]),XW(r),r}function cw(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!jW(e,r)}catch{return!0}}function QW(e,t){return t()}var ZW=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?QW:YW;qT.useSyncExternalStore=fu.useSyncExternalStore!==void 0?fu.useSyncExternalStore:ZW});var XT=tr((Ere,KT)=>{"use strict";KT.exports=$T()});var s_=tr(we=>{"use strict";var CS=Symbol.for("react.transitional.element"),u8=Symbol.for("react.portal"),c8=Symbol.for("react.fragment"),d8=Symbol.for("react.strict_mode"),f8=Symbol.for("react.profiler"),p8=Symbol.for("react.consumer"),m8=Symbol.for("react.context"),g8=Symbol.for("react.forward_ref"),h8=Symbol.for("react.suspense"),v8=Symbol.for("react.memo"),t_=Symbol.for("react.lazy"),Y2=Symbol.iterator;function y8(e){return e===null||typeof e!="object"?null:(e=Y2&&e[Y2]||e["@@iterator"],typeof e=="function"?e:null)}var r_={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},o_=Object.assign,n_={};function ic(e,t,r){this.props=e,this.context=t,this.refs=n_,this.updater=r||r_}ic.prototype.isReactComponent={};ic.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ic.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function a_(){}a_.prototype=ic.prototype;function SS(e,t,r){this.props=e,this.context=t,this.refs=n_,this.updater=r||r_}var bS=SS.prototype=new a_;bS.constructor=SS;o_(bS,ic.prototype);bS.isPureReactComponent=!0;var Q2=Array.isArray,ut={H:null,A:null,T:null,S:null,V:null},i_=Object.prototype.hasOwnProperty;function RS(e,t,r,o,n,a){return r=a.ref,{$$typeof:CS,type:e,key:t,ref:r!==void 0?r:null,props:a}}function x8(e,t){return RS(e.type,t,void 0,void 0,void 0,e.props)}function LS(e){return typeof e=="object"&&e!==null&&e.$$typeof===CS}function w8(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var Z2=/\/+/g;function wS(e,t){return typeof e=="object"&&e!==null&&e.key!=null?w8(""+e.key):t.toString(36)}function J2(){}function C8(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(J2,J2):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function ac(e,t,r,o,n){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"bigint":case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case CS:case u8:i=!0;break;case t_:return i=e._init,ac(i(e._payload),t,r,o,n)}}if(i)return n=n(e),i=o===""?"."+wS(e,0):o,Q2(n)?(r="",i!=null&&(r=i.replace(Z2,"$&/")+"/"),ac(n,t,r,"",function(u){return u})):n!=null&&(LS(n)&&(n=x8(n,r+(n.key==null||e&&e.key===n.key?"":(""+n.key).replace(Z2,"$&/")+"/")+i)),t.push(n)),1;i=0;var s=o===""?".":o+":";if(Q2(e))for(var l=0;l<e.length;l++)o=e[l],a=s+wS(o,l),i+=ac(o,t,r,a,n);else if(l=y8(e),typeof l=="function")for(e=l.call(e),l=0;!(o=e.next()).done;)o=o.value,a=s+wS(o,l++),i+=ac(o,t,r,a,n);else if(a==="object"){if(typeof e.then=="function")return ac(C8(e),t,r,o,n);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return i}function pv(e,t,r){if(e==null)return e;var o=[],n=0;return ac(e,o,"","",function(a){return t.call(r,a,n++)}),o}function S8(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var e_=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function b8(){}we.Children={map:pv,forEach:function(e,t,r){pv(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return pv(e,function(){t++}),t},toArray:function(e){return pv(e,function(t){return t})||[]},only:function(e){if(!LS(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};we.Component=ic;we.Fragment=c8;we.Profiler=f8;we.PureComponent=SS;we.StrictMode=d8;we.Suspense=h8;we.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ut;we.__COMPILER_RUNTIME={__proto__:null,c:function(e){return ut.H.useMemoCache(e)}};we.cache=function(e){return function(){return e.apply(null,arguments)}};we.cloneElement=function(e,t,r){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var o=o_({},e.props),n=e.key,a=void 0;if(t!=null)for(i in t.ref!==void 0&&(a=void 0),t.key!==void 0&&(n=""+t.key),t)!i_.call(t,i)||i==="key"||i==="__self"||i==="__source"||i==="ref"&&t.ref===void 0||(o[i]=t[i]);var i=arguments.length-2;if(i===1)o.children=r;else if(1<i){for(var s=Array(i),l=0;l<i;l++)s[l]=arguments[l+2];o.children=s}return RS(e.type,n,void 0,void 0,a,o)};we.createContext=function(e){return e={$$typeof:m8,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:p8,_context:e},e};we.createElement=function(e,t,r){var o,n={},a=null;if(t!=null)for(o in t.key!==void 0&&(a=""+t.key),t)i_.call(t,o)&&o!=="key"&&o!=="__self"&&o!=="__source"&&(n[o]=t[o]);var i=arguments.length-2;if(i===1)n.children=r;else if(1<i){for(var s=Array(i),l=0;l<i;l++)s[l]=arguments[l+2];n.children=s}if(e&&e.defaultProps)for(o in i=e.defaultProps,i)n[o]===void 0&&(n[o]=i[o]);return RS(e,a,void 0,void 0,null,n)};we.createRef=function(){return{current:null}};we.forwardRef=function(e){return{$$typeof:g8,render:e}};we.isValidElement=LS;we.lazy=function(e){return{$$typeof:t_,_payload:{_status:-1,_result:e},_init:S8}};we.memo=function(e,t){return{$$typeof:v8,type:e,compare:t===void 0?null:t}};we.startTransition=function(e){var t=ut.T,r={};ut.T=r;try{var o=e(),n=ut.S;n!==null&&n(r,o),typeof o=="object"&&o!==null&&typeof o.then=="function"&&o.then(b8,e_)}catch(a){e_(a)}finally{ut.T=t}};we.unstable_useCacheRefresh=function(){return ut.H.useCacheRefresh()};we.use=function(e){return ut.H.use(e)};we.useActionState=function(e,t,r){return ut.H.useActionState(e,t,r)};we.useCallback=function(e,t){return ut.H.useCallback(e,t)};we.useContext=function(e){return ut.H.useContext(e)};we.useDebugValue=function(){};we.useDeferredValue=function(e,t){return ut.H.useDeferredValue(e,t)};we.useEffect=function(e,t,r){var o=ut.H;if(typeof r=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return o.useEffect(e,t)};we.useId=function(){return ut.H.useId()};we.useImperativeHandle=function(e,t,r){return ut.H.useImperativeHandle(e,t,r)};we.useInsertionEffect=function(e,t){return ut.H.useInsertionEffect(e,t)};we.useLayoutEffect=function(e,t){return ut.H.useLayoutEffect(e,t)};we.useMemo=function(e,t){return ut.H.useMemo(e,t)};we.useOptimistic=function(e,t){return ut.H.useOptimistic(e,t)};we.useReducer=function(e,t,r){return ut.H.useReducer(e,t,r)};we.useRef=function(e){return ut.H.useRef(e)};we.useState=function(e){return ut.H.useState(e)};we.useSyncExternalStore=function(e,t,r){return ut.H.useSyncExternalStore(e,t,r)};we.useTransition=function(){return ut.H.useTransition()};we.version="19.1.1"});var Pe=tr((MSe,l_)=>{"use strict";l_.exports=s_()});var f_=tr(mv=>{"use strict";var R8=Symbol.for("react.transitional.element"),L8=Symbol.for("react.fragment");function d_(e,t,r){var o=null;if(r!==void 0&&(o=""+r),t.key!==void 0&&(o=""+t.key),"key"in t){r={};for(var n in t)n!=="key"&&(r[n]=t[n])}else r=t;return t=r.ref,{$$typeof:R8,type:e,key:o,ref:t!==void 0?t:null,props:r}}mv.Fragment=L8;mv.jsx=d_;mv.jsxs=d_});var vn=tr((_Se,p_)=>{"use strict";p_.exports=f_()});var v_=tr(Ar=>{"use strict";var A8=Pe();function h_(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Wi(){}var Er={d:{f:Wi,r:function(){throw Error(h_(522))},D:Wi,C:Wi,L:Wi,m:Wi,X:Wi,S:Wi,M:Wi},p:0,findDOMNode:null},D8=Symbol.for("react.portal");function N8(e,t,r){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:D8,key:o==null?null:""+o,children:e,containerInfo:t,implementation:r}}var np=A8.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function yv(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}Ar.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Er;Ar.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(h_(299));return N8(e,t,null,r)};Ar.flushSync=function(e){var t=np.T,r=Er.p;try{if(np.T=null,Er.p=2,e)return e()}finally{np.T=t,Er.p=r,Er.d.f()}};Ar.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Er.d.C(e,t))};Ar.prefetchDNS=function(e){typeof e=="string"&&Er.d.D(e)};Ar.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var r=t.as,o=yv(r,t.crossOrigin),n=typeof t.integrity=="string"?t.integrity:void 0,a=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;r==="style"?Er.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:o,integrity:n,fetchPriority:a}):r==="script"&&Er.d.X(e,{crossOrigin:o,integrity:n,fetchPriority:a,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};Ar.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var r=yv(t.as,t.crossOrigin);Er.d.M(e,{crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&Er.d.M(e)};Ar.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var r=t.as,o=yv(r,t.crossOrigin);Er.d.L(e,r,{crossOrigin:o,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};Ar.preloadModule=function(e,t){if(typeof e=="string")if(t){var r=yv(t.as,t.crossOrigin);Er.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:r,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else Er.d.m(e)};Ar.requestFormReset=function(e){Er.d.r(e)};Ar.unstable_batchedUpdates=function(e,t){return e(t)};Ar.useFormState=function(e,t,r){return np.H.useFormState(e,t,r)};Ar.useFormStatus=function(){return np.H.useHostTransitionStatus()};Ar.version="19.1.1"});var TS=tr((GSe,x_)=>{"use strict";function y_(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(y_)}catch(e){console.error(e)}}y_(),x_.exports=v_()});var mg=b(E());var Gr=b(E(),1);var wo=b(E(),1),Ny=b(M(),1);function ML(e,t){let r=wo.createContext(t),o=a=>{let{children:i,...s}=a,l=wo.useMemo(()=>s,Object.values(s));return(0,Ny.jsx)(r.Provider,{value:l,children:i})};o.displayName=e+"Provider";function n(a){let i=wo.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return[o,n]}function Te(e,t=[]){let r=[];function o(a,i){let s=wo.createContext(i),l=r.length;r=[...r,i];let u=d=>{let{scope:f,children:p,...h}=d,m=f?.[e]?.[l]||s,x=wo.useMemo(()=>h,Object.values(h));return(0,Ny.jsx)(m.Provider,{value:x,children:p})};u.displayName=a+"Provider";function c(d,f){let p=f?.[e]?.[l]||s,h=wo.useContext(p);if(h)return h;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${a}\``)}return[u,c]}let n=()=>{let a=r.map(i=>wo.createContext(i));return function(s){let l=s?.[e]||a;return wo.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return n.scopeName=e,[o,MU(n,...t)]}function MU(...e){let t=e[0];if(e.length===1)return t;let r=()=>{let o=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(a){let i=o.reduce((s,{useScope:l,scopeName:u})=>{let d=l(a)[`__scope${u}`];return{...s,...d}},{});return wo.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}var Ga=b(E(),1);var AL=b(E(),1);function EL(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function ns(...e){return t=>{let r=!1,o=e.map(n=>{let a=EL(n,t);return!r&&typeof a=="function"&&(r=!0),a});if(r)return()=>{for(let n=0;n<o.length;n++){let a=o[n];typeof a=="function"?a():EL(e[n],null)}}}}function ne(...e){return AL.useCallback(ns(...e),e)}var kt=b(E(),1);var wl=b(M(),1);function ro(e){let t=EU(e),r=kt.forwardRef((o,n)=>{let{children:a,...i}=o,s=kt.Children.toArray(a),l=s.find(AU);if(l){let u=l.props.children,c=s.map(d=>d===l?kt.Children.count(u)>1?kt.Children.only(null):kt.isValidElement(u)?u.props.children:null:d);return(0,wl.jsx)(t,{...i,ref:n,children:kt.isValidElement(u)?kt.cloneElement(u,void 0,c):null})}return(0,wl.jsx)(t,{...i,ref:n,children:a})});return r.displayName=`${e}.Slot`,r}function EU(e){let t=kt.forwardRef((r,o)=>{let{children:n,...a}=r;if(kt.isValidElement(n)){let i=NU(n),s=DU(a,n.props);return n.type!==kt.Fragment&&(s.ref=o?ns(o,i):i),kt.cloneElement(n,s)}return kt.Children.count(n)>1?kt.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var DL=Symbol("radix.slottable");function NL(e){let t=({children:r})=>(0,wl.jsx)(wl.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=DL,t}function AU(e){return kt.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===DL}function DU(e,t){let r={...t};for(let o in t){let n=e[o],a=t[o];/^on[A-Z]/.test(o)?n&&a?r[o]=(...s)=>{let l=a(...s);return n(...s),l}:n&&(r[o]=n):o==="style"?r[o]={...n,...a}:o==="className"&&(r[o]=[n,a].filter(Boolean).join(" "))}return{...e,...r}}function NU(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Op=b(M(),1),_U=b(E(),1);var OU=b(M(),1);function Tn(e){let t=e+"CollectionProvider",[r,o]=Te(t),[n,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=m=>{let{scope:x,children:v}=m,g=Ga.default.useRef(null),y=Ga.default.useRef(new Map).current;return(0,Op.jsx)(n,{scope:x,itemMap:y,collectionRef:g,children:v})};i.displayName=t;let s=e+"CollectionSlot",l=ro(s),u=Ga.default.forwardRef((m,x)=>{let{scope:v,children:g}=m,y=a(s,v),w=ne(x,y.collectionRef);return(0,Op.jsx)(l,{ref:w,children:g})});u.displayName=s;let c=e+"CollectionItemSlot",d="data-radix-collection-item",f=ro(c),p=Ga.default.forwardRef((m,x)=>{let{scope:v,children:g,...y}=m,w=Ga.default.useRef(null),C=ne(x,w),R=a(c,v);return Ga.default.useEffect(()=>(R.itemMap.set(w,{ref:w,...y}),()=>void R.itemMap.delete(w))),(0,Op.jsx)(f,{[d]:"",ref:C,children:g})});p.displayName=c;function h(m){let x=a(e+"CollectionConsumer",m);return Ga.default.useCallback(()=>{let g=x.collectionRef.current;if(!g)return[];let y=Array.from(g.querySelectorAll(`[${d}]`));return Array.from(x.itemMap.values()).sort((R,S)=>y.indexOf(R.ref.current)-y.indexOf(S.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:i,Slot:u,ItemSlot:p},h,o]}var CZ=!!(typeof window<"u"&&window.document&&window.document.createElement);function H(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),r===!1||!n.defaultPrevented)return t?.(n)}}var Co=b(E(),1);var _L=b(E(),1),ke=globalThis?.document?_L.useLayoutEffect:()=>{};var Fp=b(E(),1);var FU=Co[" useInsertionEffect ".trim().toString()]||ke;function Ue({prop:e,defaultProp:t,onChange:r=()=>{},caller:o}){let[n,a,i]=VU({defaultProp:t,onChange:r}),s=e!==void 0,l=s?e:n;{let c=Co.useRef(e!==void 0);Co.useEffect(()=>{let d=c.current;d!==s&&console.warn(`${o} is changing from ${d?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=s},[s,o])}let u=Co.useCallback(c=>{if(s){let d=BU(c)?c(e):c;d!==e&&i.current?.(d)}else a(c)},[s,e,a,i]);return[l,u]}function VU({defaultProp:e,onChange:t}){let[r,o]=Co.useState(e),n=Co.useRef(r),a=Co.useRef(t);return FU(()=>{a.current=t},[t]),Co.useEffect(()=>{n.current!==r&&(a.current?.(r),n.current=r)},[r,n]),[r,o,a]}function BU(e){return typeof e=="function"}var LZ=Symbol("RADIX:SYNC_STATE");var eT=b(E(),1),tT=b(Yl(),1);var rT=b(M(),1),zz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],$=zz.reduce((e,t)=>{let r=ro(`Primitive.${t}`),o=eT.forwardRef((n,a)=>{let{asChild:i,...s}=n,l=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),(0,rT.jsx)(l,{...s,ref:a})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function Ql(e,t){e&&tT.flushSync(()=>e.dispatchEvent(t))}var Yt=b(E(),1);var Wr=b(E(),1);var oT=b(E(),1);function Wz(e,t){return oT.useReducer((r,o)=>t[r][o]??r,e)}var it=e=>{let{present:t,children:r}=e,o=Gz(t),n=typeof r=="function"?r({present:o.isPresent}):Wr.Children.only(r),a=ne(o.ref,jz(n));return typeof r=="function"||o.isPresent?Wr.cloneElement(n,{ref:a}):null};it.displayName="Presence";function Gz(e){let[t,r]=Wr.useState(),o=Wr.useRef(null),n=Wr.useRef(e),a=Wr.useRef("none"),i=e?"mounted":"unmounted",[s,l]=Wz(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return Wr.useEffect(()=>{let u=og(o.current);a.current=s==="mounted"?u:"none"},[s]),ke(()=>{let u=o.current,c=n.current;if(c!==e){let f=a.current,p=og(u);e?l("MOUNT"):p==="none"||u?.display==="none"?l("UNMOUNT"):l(c&&f!==p?"ANIMATION_OUT":"UNMOUNT"),n.current=e}},[e,l]),ke(()=>{if(t){let u,c=t.ownerDocument.defaultView??window,d=p=>{let m=og(o.current).includes(CSS.escape(p.animationName));if(p.target===t&&m&&(l("ANIMATION_END"),!n.current)){let x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},f=p=>{p.target===t&&(a.current=og(o.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:Wr.useCallback(u=>{o.current=u?getComputedStyle(u):null,r(u)},[])}}function og(e){return e?.animationName||"none"}function jz(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var K0=b(E(),1);var qz=K0[" useId ".trim().toString()]||(()=>{}),$z=0;function qe(e){let[t,r]=K0.useState(qz());return ke(()=>{e||r(o=>o??String($z++))},[e]),e||(t?`radix-${t}`:"")}var ws=b(M(),1),ng="Collapsible",[Kz,X0]=Te(ng),[Xz,Y0]=Kz(ng),nT=Yt.forwardRef((e,t)=>{let{__scopeCollapsible:r,open:o,defaultOpen:n,disabled:a,onOpenChange:i,...s}=e,[l,u]=Ue({prop:o,defaultProp:n??!1,onChange:i,caller:ng});return(0,ws.jsx)(Xz,{scope:r,disabled:a,contentId:qe(),open:l,onOpenToggle:Yt.useCallback(()=>u(c=>!c),[u]),children:(0,ws.jsx)($.div,{"data-state":Z0(l),"data-disabled":a?"":void 0,...s,ref:t})})});nT.displayName=ng;var aT="CollapsibleTrigger",iT=Yt.forwardRef((e,t)=>{let{__scopeCollapsible:r,...o}=e,n=Y0(aT,r);return(0,ws.jsx)($.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":Z0(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...o,ref:t,onClick:H(e.onClick,n.onOpenToggle)})});iT.displayName=aT;var Q0="CollapsibleContent",sT=Yt.forwardRef((e,t)=>{let{forceMount:r,...o}=e,n=Y0(Q0,e.__scopeCollapsible);return(0,ws.jsx)(it,{present:r||n.open,children:({present:a})=>(0,ws.jsx)(Yz,{...o,ref:t,present:a})})});sT.displayName=Q0;var Yz=Yt.forwardRef((e,t)=>{let{__scopeCollapsible:r,present:o,children:n,...a}=e,i=Y0(Q0,r),[s,l]=Yt.useState(o),u=Yt.useRef(null),c=ne(t,u),d=Yt.useRef(0),f=d.current,p=Yt.useRef(0),h=p.current,m=i.open||s,x=Yt.useRef(m),v=Yt.useRef(void 0);return Yt.useEffect(()=>{let g=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(g)},[]),ke(()=>{let g=u.current;if(g){v.current=v.current||{transitionDuration:g.style.transitionDuration,animationName:g.style.animationName},g.style.transitionDuration="0s",g.style.animationName="none";let y=g.getBoundingClientRect();d.current=y.height,p.current=y.width,x.current||(g.style.transitionDuration=v.current.transitionDuration,g.style.animationName=v.current.animationName),l(o)}},[i.open,o]),(0,ws.jsx)($.div,{"data-state":Z0(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!m,...a,ref:c,style:{"--radix-collapsible-content-height":f?`${f}px`:void 0,"--radix-collapsible-content-width":h?`${h}px`:void 0,...e.style},children:m&&n})});function Z0(e){return e?"open":"closed"}var ag=nT,Zl=iT,wd=sT;var ig=b(E(),1),Qz=b(M(),1),Zz=ig.createContext(void 0);function _n(e){let t=ig.useContext(Zz);return e||t||"ltr"}var At=b(M(),1),tn="Accordion",Jz=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[ew,e5,t5]=Tn(tn),[lg,rJ]=Te(tn,[t5,X0]),tw=X0(),uT=Gr.default.forwardRef((e,t)=>{let{type:r,...o}=e,n=o,a=o;return(0,At.jsx)(ew.Provider,{scope:e.__scopeAccordion,children:r==="multiple"?(0,At.jsx)(a5,{...a,ref:t}):(0,At.jsx)(n5,{...n,ref:t})})});uT.displayName=tn;var[cT,r5]=lg(tn),[dT,o5]=lg(tn,{collapsible:!1}),n5=Gr.default.forwardRef((e,t)=>{let{value:r,defaultValue:o,onValueChange:n=()=>{},collapsible:a=!1,...i}=e,[s,l]=Ue({prop:r,defaultProp:o??"",onChange:n,caller:tn});return(0,At.jsx)(cT,{scope:e.__scopeAccordion,value:Gr.default.useMemo(()=>s?[s]:[],[s]),onItemOpen:l,onItemClose:Gr.default.useCallback(()=>a&&l(""),[a,l]),children:(0,At.jsx)(dT,{scope:e.__scopeAccordion,collapsible:a,children:(0,At.jsx)(fT,{...i,ref:t})})})}),a5=Gr.default.forwardRef((e,t)=>{let{value:r,defaultValue:o,onValueChange:n=()=>{},...a}=e,[i,s]=Ue({prop:r,defaultProp:o??[],onChange:n,caller:tn}),l=Gr.default.useCallback(c=>s((d=[])=>[...d,c]),[s]),u=Gr.default.useCallback(c=>s((d=[])=>d.filter(f=>f!==c)),[s]);return(0,At.jsx)(cT,{scope:e.__scopeAccordion,value:i,onItemOpen:l,onItemClose:u,children:(0,At.jsx)(dT,{scope:e.__scopeAccordion,collapsible:!0,children:(0,At.jsx)(fT,{...a,ref:t})})})}),[i5,ug]=lg(tn),fT=Gr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,disabled:o,dir:n,orientation:a="vertical",...i}=e,s=Gr.default.useRef(null),l=ne(s,t),u=e5(r),d=_n(n)==="ltr",f=H(e.onKeyDown,p=>{if(!Jz.includes(p.key))return;let h=p.target,m=u().filter(L=>!L.ref.current?.disabled),x=m.findIndex(L=>L.ref.current===h),v=m.length;if(x===-1)return;p.preventDefault();let g=x,y=0,w=v-1,C=()=>{g=x+1,g>w&&(g=y)},R=()=>{g=x-1,g<y&&(g=w)};switch(p.key){case"Home":g=y;break;case"End":g=w;break;case"ArrowRight":a==="horizontal"&&(d?C():R());break;case"ArrowDown":a==="vertical"&&C();break;case"ArrowLeft":a==="horizontal"&&(d?R():C());break;case"ArrowUp":a==="vertical"&&R();break}let S=g%v;m[S].ref.current?.focus()});return(0,At.jsx)(i5,{scope:r,disabled:o,direction:n,orientation:a,children:(0,At.jsx)(ew.Slot,{scope:r,children:(0,At.jsx)($.div,{...i,"data-orientation":a,ref:l,onKeyDown:o?void 0:f})})})}),sg="AccordionItem",[s5,rw]=lg(sg),pT=Gr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,value:o,...n}=e,a=ug(sg,r),i=r5(sg,r),s=tw(r),l=qe(),u=o&&i.value.includes(o)||!1,c=a.disabled||e.disabled;return(0,At.jsx)(s5,{scope:r,open:u,disabled:c,triggerId:l,children:(0,At.jsx)(ag,{"data-orientation":a.orientation,"data-state":xT(u),...s,...n,ref:t,disabled:c,open:u,onOpenChange:d=>{d?i.onItemOpen(o):i.onItemClose(o)}})})});pT.displayName=sg;var mT="AccordionHeader",gT=Gr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,n=ug(tn,r),a=rw(mT,r);return(0,At.jsx)($.h3,{"data-orientation":n.orientation,"data-state":xT(a.open),"data-disabled":a.disabled?"":void 0,...o,ref:t})});gT.displayName=mT;var J0="AccordionTrigger",hT=Gr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,n=ug(tn,r),a=rw(J0,r),i=o5(J0,r),s=tw(r);return(0,At.jsx)(ew.ItemSlot,{scope:r,children:(0,At.jsx)(Zl,{"aria-disabled":a.open&&!i.collapsible||void 0,"data-orientation":n.orientation,id:a.triggerId,...s,...o,ref:t})})});hT.displayName=J0;var vT="AccordionContent",yT=Gr.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,n=ug(tn,r),a=rw(vT,r),i=tw(r);return(0,At.jsx)(wd,{role:"region","aria-labelledby":a.triggerId,"data-orientation":n.orientation,...i,...o,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});yT.displayName=vT;function xT(e){return e?"open":"closed"}var wT=uT,CT=pT,ST=gT,ow=hT,nw=yT;var dg=b(E());var bT=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),u5=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,o)=>o?o.toUpperCase():r.toLowerCase()),aw=e=>{let t=u5(e);return t.charAt(0).toUpperCase()+t.slice(1)},cg=(...e)=>e.filter((t,r,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===r).join(" ").trim(),RT=e=>{for(let t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var Cd=b(E());var LT={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var IT=(0,Cd.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:n="",children:a,iconNode:i,...s},l)=>(0,Cd.createElement)("svg",{ref:l,...LT,width:t,height:t,stroke:e,strokeWidth:o?Number(r)*24/Number(t):r,className:cg("lucide",n),...!a&&!RT(s)&&{"aria-hidden":"true"},...s},[...i.map(([u,c])=>(0,Cd.createElement)(u,c)),...Array.isArray(a)?a:[a]]));var O=(e,t)=>{let r=(0,dg.forwardRef)(({className:o,...n},a)=>(0,dg.createElement)(IT,{ref:a,iconNode:t,className:cg(`lucide-${bT(aw(e))}`,`lucide-${e}`,o),...n}));return r.displayName=aw(e),r};var c5=[["path",{d:"M17 12H7",key:"16if0g"}],["path",{d:"M19 18H5",key:"18s9l3"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],Sd=O("align-center",c5);var d5=[["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 18h18",key:"1h113x"}],["path",{d:"M3 6h18",key:"d0wm0j"}]],bd=O("align-justify",d5);var f5=[["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 18H3",key:"1amg6g"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],Rd=O("align-left",f5);var p5=[["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M21 18H7",key:"1ygte8"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],Ld=O("align-right",p5);var m5=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],Jl=O("arrow-down",m5);var g5=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],eu=O("arrow-up-down",g5);var h5=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],tu=O("arrow-up",h5);var v5=[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]],Id=O("bold",v5);var y5=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],Cs=O("calendar",y5);var x5=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],sr=O("check",x5);var w5=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],On=O("chevron-down",w5);var C5=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],rn=O("chevron-left",C5);var S5=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Pr=O("chevron-right",S5);var b5=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Pd=O("chevron-up",b5);var R5=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],on=O("circle-alert",R5);var L5=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],fi=O("circle-check-big",L5);var I5=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Ss=O("circle",I5);var P5=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Td=O("clock",P5);var T5=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],kd=O("code",T5);var k5=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Md=O("copy",k5);var M5=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],Ed=O("credit-card",M5);var E5=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],ru=O("crown",E5);var A5=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],Fn=O("ellipsis",A5);var D5=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Ad=O("external-link",D5);var N5=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],bs=O("eye",N5);var _5=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Dd=O("file-text",_5);var O5=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]],Nd=O("file",O5);var F5=[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]],_d=O("git-fork",F5);var V5=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],Rs=O("image",V5);var B5=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],ou=O("info",B5);var H5=[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]],Od=O("italic",H5);var U5=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],Fd=O("link",U5);var z5=[["path",{d:"M10 12h11",key:"6m4ad9"}],["path",{d:"M10 18h11",key:"11hvi2"}],["path",{d:"M10 6h11",key:"c7qv1k"}],["path",{d:"M4 10h2",key:"16xx2s"}],["path",{d:"M4 6h1v4",key:"cnovpq"}],["path",{d:"M6 18H4c0-1 2-2 2-3s-1-1.5-2-1",key:"m9a95d"}]],Vd=O("list-ordered",z5);var W5=[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]],Bd=O("list",W5);var G5=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Qt=O("loader-circle",G5);var j5=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],nu=O("lock",j5);var q5=[["path",{d:"M5 12h14",key:"1ays0h"}]],Hd=O("minus",q5);var $5=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],Ud=O("music",$5);var K5=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],au=O("palette",K5);var X5=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],zd=O("phone",X5);var Y5=[["path",{d:"m12 9-8.414 8.414A2 2 0 0 0 3 18.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 3.828 21h1.344a2 2 0 0 0 1.414-.586L15 12",key:"1y3wsu"}],["path",{d:"m18 9 .4.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l.4.4 3.4-3.4a1 1 0 1 1 3 3z",key:"110lr1"}],["path",{d:"m2 22 .414-.414",key:"jhxm08"}]],fg=O("pipette",Y5);var Q5=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]],Wd=O("quote",Q5);var Z5=[["path",{d:"M21 7v6h-6",key:"3ptur4"}],["path",{d:"M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7",key:"1kgawr"}]],Gd=O("redo",Z5);var J5=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Ls=O("search",J5);var eW=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],jr=O("square-pen",eW);var tW=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],iu=O("star",tW);var rW=[["path",{d:"M16 4H9a3 3 0 0 0-2.83 4",key:"43sutm"}],["path",{d:"M14 12a4 4 0 0 1 0 8H6",key:"nlfj13"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}]],jd=O("strikethrough",rW);var oW=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],pi=O("triangle-alert",oW);var nW=[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]],qd=O("underline",nW);var aW=[["path",{d:"M3 7v6h6",key:"1v2h90"}],["path",{d:"M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13",key:"1r6uu6"}]],$d=O("undo",aW);var iW=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],Kd=O("upload",iW);var sW=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],Xd=O("video",sW);var lW=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],uo=O("x",lW);var uW=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],su=O("zap",uW);function PT(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=PT(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function pg(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=PT(e))&&(o&&(o+=" "),o+=t);return o}var lw="-",cW=e=>{let t=fW(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{let s=i.split(lw);return s[0]===""&&s.length!==1&&s.shift(),MT(s,t)||dW(i)},getConflictingClassGroupIds:(i,s)=>{let l=r[i]||[];return s&&o[i]?[...l,...o[i]]:l}}},MT=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),n=o?MT(e.slice(1),o):void 0;if(n)return n;if(t.validators.length===0)return;let a=e.join(lw);return t.validators.find(({validator:i})=>i(a))?.classGroupId},TT=/^\[(.+)\]$/,dW=e=>{if(TT.test(e)){let t=TT.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},fW=e=>{let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return mW(Object.entries(e.classGroups),r).forEach(([a,i])=>{sw(i,o,a,t)}),o},sw=(e,t,r,o)=>{e.forEach(n=>{if(typeof n=="string"){let a=n===""?t:kT(t,n);a.classGroupId=r;return}if(typeof n=="function"){if(pW(n)){sw(n(o),t,r,o);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([a,i])=>{sw(i,kT(t,a),r,o)})})},kT=(e,t)=>{let r=e;return t.split(lw).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},pW=e=>e.isThemeGetter,mW=(e,t)=>t?e.map(([r,o])=>{let n=o.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([i,s])=>[t+i,s])):a);return[r,n]}):e,gW=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map,n=(a,i)=>{r.set(a,i),t++,t>e&&(t=0,o=r,r=new Map)};return{get(a){let i=r.get(a);if(i!==void 0)return i;if((i=o.get(a))!==void 0)return n(a,i),i},set(a,i){r.has(a)?r.set(a,i):n(a,i)}}},ET="!",hW=e=>{let{separator:t,experimentalParseClassName:r}=e,o=t.length===1,n=t[0],a=t.length,i=s=>{let l=[],u=0,c=0,d;for(let x=0;x<s.length;x++){let v=s[x];if(u===0){if(v===n&&(o||s.slice(x,x+a)===t)){l.push(s.slice(c,x)),c=x+a;continue}if(v==="/"){d=x;continue}}v==="["?u++:v==="]"&&u--}let f=l.length===0?s:s.substring(c),p=f.startsWith(ET),h=p?f.substring(1):f,m=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:m}};return r?s=>r({className:s,parseClassName:i}):i},vW=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t},yW=e=>({cache:gW(e.cacheSize),parseClassName:hW(e),...cW(e)}),xW=/\s+/,wW=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,a=[],i=e.trim().split(xW),s="";for(let l=i.length-1;l>=0;l-=1){let u=i[l],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=r(u),h=!!p,m=o(h?f.substring(0,p):f);if(!m){if(!h){s=u+(s.length>0?" "+s:s);continue}if(m=o(f),!m){s=u+(s.length>0?" "+s:s);continue}h=!1}let x=vW(c).join(":"),v=d?x+ET:x,g=v+m;if(a.includes(g))continue;a.push(g);let y=n(m,h);for(let w=0;w<y.length;++w){let C=y[w];a.push(v+C)}s=u+(s.length>0?" "+s:s)}return s};function CW(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=AT(t))&&(o&&(o+=" "),o+=r);return o}var AT=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=AT(e[o]))&&(r&&(r+=" "),r+=t);return r};function SW(e,...t){let r,o,n,a=i;function i(l){let u=t.reduce((c,d)=>d(c),e());return r=yW(u),o=r.cache.get,n=r.cache.set,a=s,s(l)}function s(l){let u=o(l);if(u)return u;let c=wW(l,r);return n(l,c),c}return function(){return a(CW.apply(null,arguments))}}var Je=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},DT=/^\[(?:([a-z-]+):)?(.+)\]$/i,bW=/^\d+\/\d+$/,RW=new Set(["px","full","screen"]),LW=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,IW=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,PW=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,TW=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,kW=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,da=e=>lu(e)||RW.has(e)||bW.test(e),mi=e=>uu(e,"length",FW),lu=e=>!!e&&!Number.isNaN(Number(e)),iw=e=>uu(e,"number",lu),Yd=e=>!!e&&Number.isInteger(Number(e)),MW=e=>e.endsWith("%")&&lu(e.slice(0,-1)),ye=e=>DT.test(e),gi=e=>LW.test(e),EW=new Set(["length","size","percentage"]),AW=e=>uu(e,EW,NT),DW=e=>uu(e,"position",NT),NW=new Set(["image","url"]),_W=e=>uu(e,NW,BW),OW=e=>uu(e,"",VW),Qd=()=>!0,uu=(e,t,r)=>{let o=DT.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1},FW=e=>IW.test(e)&&!PW.test(e),NT=()=>!1,VW=e=>TW.test(e),BW=e=>kW.test(e);var HW=()=>{let e=Je("colors"),t=Je("spacing"),r=Je("blur"),o=Je("brightness"),n=Je("borderColor"),a=Je("borderRadius"),i=Je("borderSpacing"),s=Je("borderWidth"),l=Je("contrast"),u=Je("grayscale"),c=Je("hueRotate"),d=Je("invert"),f=Je("gap"),p=Je("gradientColorStops"),h=Je("gradientColorStopPositions"),m=Je("inset"),x=Je("margin"),v=Je("opacity"),g=Je("padding"),y=Je("saturate"),w=Je("scale"),C=Je("sepia"),R=Je("skew"),S=Je("space"),L=Je("translate"),T=()=>["auto","contain","none"],P=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto",ye,t],F=()=>[ye,t],q=()=>["",da,mi],A=()=>["auto",lu,ye],G=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],D=()=>["solid","dashed","dotted","double","none"],z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],B=()=>["start","end","center","between","around","evenly","stretch"],k=()=>["","0",ye],te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ve=()=>[lu,ye];return{cacheSize:500,separator:":",theme:{colors:[Qd],spacing:[da,mi],blur:["none","",gi,ye],brightness:ve(),borderColor:[e],borderRadius:["none","","full",gi,ye],borderSpacing:F(),borderWidth:q(),contrast:ve(),grayscale:k(),hueRotate:ve(),invert:k(),gap:F(),gradientColorStops:[e],gradientColorStopPositions:[MW,mi],inset:N(),margin:N(),opacity:ve(),padding:F(),saturate:ve(),scale:ve(),sepia:k(),skew:ve(),space:F(),translate:F()},classGroups:{aspect:[{aspect:["auto","square","video",ye]}],container:["container"],columns:[{columns:[gi]}],"break-after":[{"break-after":te()}],"break-before":[{"break-before":te()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...G(),ye]}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Yd,ye]}],basis:[{basis:N()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ye]}],grow:[{grow:k()}],shrink:[{shrink:k()}],order:[{order:["first","last","none",Yd,ye]}],"grid-cols":[{"grid-cols":[Qd]}],"col-start-end":[{col:["auto",{span:["full",Yd,ye]},ye]}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":[Qd]}],"row-start-end":[{row:["auto",{span:[Yd,ye]},ye]}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ye]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ye]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...B()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...B(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...B(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ye,t]}],"min-w":[{"min-w":[ye,t,"min","max","fit"]}],"max-w":[{"max-w":[ye,t,"none","full","min","max","fit","prose",{screen:[gi]},gi]}],h:[{h:[ye,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ye,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ye,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ye,t,"auto","min","max","fit"]}],"font-size":[{text:["base",gi,mi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",iw]}],"font-family":[{font:[Qd]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ye]}],"line-clamp":[{"line-clamp":["none",lu,iw]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",da,ye]}],"list-image":[{"list-image":["none",ye]}],"list-style-type":[{list:["none","disc","decimal",ye]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...D(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",da,mi]}],"underline-offset":[{"underline-offset":["auto",da,ye]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:F()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ye]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ye]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...G(),DW]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",AW]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},_W]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...D(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:D()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...D()]}],"outline-offset":[{"outline-offset":[da,ye]}],"outline-w":[{outline:[da,mi]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[da,mi]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",gi,OW]}],"shadow-color":[{shadow:[Qd]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":z()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",gi,ye]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ye]}],duration:[{duration:ve()}],ease:[{ease:["linear","in","out","in-out",ye]}],delay:[{delay:ve()}],animate:[{animate:["none","spin","ping","pulse","bounce",ye]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Yd,ye]}],"translate-x":[{"translate-x":[L]}],"translate-y":[{"translate-y":[L]}],"skew-x":[{"skew-x":[R]}],"skew-y":[{"skew-y":[R]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ye]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ye]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":F()}],"scroll-mx":[{"scroll-mx":F()}],"scroll-my":[{"scroll-my":F()}],"scroll-ms":[{"scroll-ms":F()}],"scroll-me":[{"scroll-me":F()}],"scroll-mt":[{"scroll-mt":F()}],"scroll-mr":[{"scroll-mr":F()}],"scroll-mb":[{"scroll-mb":F()}],"scroll-ml":[{"scroll-ml":F()}],"scroll-p":[{"scroll-p":F()}],"scroll-px":[{"scroll-px":F()}],"scroll-py":[{"scroll-py":F()}],"scroll-ps":[{"scroll-ps":F()}],"scroll-pe":[{"scroll-pe":F()}],"scroll-pt":[{"scroll-pt":F()}],"scroll-pr":[{"scroll-pr":F()}],"scroll-pb":[{"scroll-pb":F()}],"scroll-pl":[{"scroll-pl":F()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ye]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[da,mi,iw]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var _T=SW(HW);function I(...e){return _T(pg(e))}var hi=b(M()),UW=wT,OT=mg.forwardRef(({className:e,...t},r)=>(0,hi.jsx)(CT,{ref:r,className:I("moonui-theme","border-b border-gray-200 dark:border-gray-800",e),...t}));OT.displayName="AccordionItem";var FT=mg.forwardRef(({className:e,children:t,...r},o)=>(0,hi.jsx)(ST,{className:"flex",children:(0,hi.jsxs)(ow,{ref:o,className:I("flex flex-1 items-center justify-between py-4 font-medium transition-all dark:text-gray-100","hover:underline hover:text-primary dark:hover:text-primary-400","[&[data-state=open]>svg]:rotate-180",e),...r,children:[t,(0,hi.jsx)(On,{className:"h-4 w-4 shrink-0 transition-transform duration-200 opacity-70 group-hover:opacity-100"})]})}));FT.displayName=ow.displayName;var VT=mg.forwardRef(({className:e,children:t,...r},o)=>(0,hi.jsx)(nw,{ref:o,className:I("overflow-hidden text-sm text-gray-700 dark:text-gray-300 transition-all","data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",e),...r,children:(0,hi.jsx)("div",{className:"pb-4 pt-0",children:t})}));VT.displayName=nw.displayName;var cu=b(E());var BT=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,HT=pg,J=(e,t)=>r=>{var o;if(t?.variants==null)return HT(e,r?.class,r?.className);let{variants:n,defaultVariants:a}=t,i=Object.keys(n).map(u=>{let c=r?.[u],d=a?.[u];if(c===null)return null;let f=BT(c)||BT(d);return n[u][f]}),s=r&&Object.entries(r).reduce((u,c)=>{let[d,f]=c;return f===void 0||(u[d]=f),u},{}),l=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((u,c)=>{let{class:d,className:f,...p}=c;return Object.entries(p).every(h=>{let[m,x]=h;return Array.isArray(x)?x.includes({...a,...s}[m]):{...a,...s}[m]===x})?[...u,d,f]:u},[]);return HT(e,i,l,r?.class,r?.className)};var fa=b(M()),zW=J("relative w-full flex items-center gap-3 p-4 border text-foreground [&>svg]:shrink-0",{variants:{variant:{default:"bg-background text-foreground border-border",primary:"bg-primary/10 text-primary border-primary/30",success:"bg-success/10 text-success border-success/30",warning:"bg-warning/10 text-warning border-warning/30",error:"bg-destructive/10 text-destructive border-destructive/30",info:"bg-blue-500/10 text-blue-500 border-blue-500/30"},size:{sm:"py-2 text-xs",default:"py-3 text-sm",lg:"py-4 text-base"},radius:{none:"rounded-none",sm:"rounded-sm",default:"rounded-md",lg:"rounded-lg",full:"rounded-full"},withClose:{true:"pr-10"}},defaultVariants:{variant:"default",size:"default",radius:"default",withClose:!1}}),UT=cu.forwardRef(({className:e,variant:t="default",size:r,radius:o,hideIcon:n=!1,closable:a=!1,onClose:i,children:s,...l},u)=>{let c=cu.useMemo(()=>{switch(t){case"success":return sr;case"warning":return pi;case"error":return on;case"info":return ou;default:return ou}},[t]);return(0,fa.jsxs)("div",{ref:u,role:"alert",className:I("moonui-theme",zW({variant:t,size:r,radius:o,withClose:a}),e),...l,children:[!n&&(0,fa.jsx)(c,{className:"h-5 w-5"}),(0,fa.jsx)("div",{className:"flex-1",children:s}),a&&i&&(0,fa.jsx)("button",{onClick:i,className:"absolute right-3 top-3 inline-flex h-6 w-6 items-center justify-center rounded-full opacity-70 transition-opacity hover:opacity-100","aria-label":"Kapat",children:(0,fa.jsx)(uo,{className:"h-4 w-4"})})]})});UT.displayName="Alert";var zT=cu.forwardRef(({className:e,...t},r)=>(0,fa.jsx)("h5",{ref:r,className:I("moonui-theme","font-semibold leading-tight tracking-tight mb-1",e),...t}));zT.displayName="AlertTitle";var WT=cu.forwardRef(({className:e,...t},r)=>(0,fa.jsx)("div",{ref:r,className:I("moonui-theme","text-sm leading-5 text-muted-foreground",e),...t}));WT.displayName="AlertDescription";var GT=b(E());var uw=b(M()),WW=J("relative overflow-hidden",{variants:{variant:{default:"rounded-md bg-muted/10",ghost:"bg-transparent",outline:"rounded-md border border-border",card:"rounded-md bg-card shadow-sm"},radius:{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}},defaultVariants:{variant:"default"}}),jT=GT.forwardRef(({className:e,variant:t,radius:r,ratio:o=16/9,style:n,children:a,...i},s)=>(0,uw.jsx)("div",{ref:s,className:I("moonui-theme",WW({variant:t,radius:r}),e),style:{position:"relative",paddingBottom:`${1/o*100}%`,...n},...i,children:(0,uw.jsx)("div",{className:"absolute inset-0",children:a})}));jT.displayName="AspectRatio";var Jd=b(E());var ko=b(E(),1);var du=b(E(),1);function et(e){let t=du.useRef(e);return du.useEffect(()=>{t.current=e}),du.useMemo(()=>(...r)=>t.current?.(...r),[])}var YT=b(XT(),1);function QT(){return(0,YT.useSyncExternalStore)(JW,()=>!0,()=>!1)}function JW(){return()=>{}}var Zd=b(M(),1),dw="Avatar",[eG,Vre]=Te(dw),[tG,JT]=eG(dw),ek=ko.forwardRef((e,t)=>{let{__scopeAvatar:r,...o}=e,[n,a]=ko.useState("idle");return(0,Zd.jsx)(tG,{scope:r,imageLoadingStatus:n,onImageLoadingStatusChange:a,children:(0,Zd.jsx)($.span,{...o,ref:t})})});ek.displayName=dw;var tk="AvatarImage",rk=ko.forwardRef((e,t)=>{let{__scopeAvatar:r,src:o,onLoadingStatusChange:n=()=>{},...a}=e,i=JT(tk,r),s=rG(o,a),l=et(u=>{n(u),i.onImageLoadingStatusChange(u)});return ke(()=>{s!=="idle"&&l(s)},[s,l]),s==="loaded"?(0,Zd.jsx)($.img,{...a,ref:t,src:o}):null});rk.displayName=tk;var ok="AvatarFallback",nk=ko.forwardRef((e,t)=>{let{__scopeAvatar:r,delayMs:o,...n}=e,a=JT(ok,r),[i,s]=ko.useState(o===void 0);return ko.useEffect(()=>{if(o!==void 0){let l=window.setTimeout(()=>s(!0),o);return()=>window.clearTimeout(l)}},[o]),i&&a.imageLoadingStatus!=="loaded"?(0,Zd.jsx)($.span,{...n,ref:t}):null});nk.displayName=ok;function ZT(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function rG(e,{referrerPolicy:t,crossOrigin:r}){let o=QT(),n=ko.useRef(null),a=(()=>o?(n.current||(n.current=new window.Image),n.current):null)(),[i,s]=ko.useState(()=>ZT(a,e));return ke(()=>{s(ZT(a,e))},[a,e]),ke(()=>{let l=d=>()=>{s(d)};if(!a)return;let u=l("loaded"),c=l("error");return a.addEventListener("load",u),a.addEventListener("error",c),t&&(a.referrerPolicy=t),typeof r=="string"&&(a.crossOrigin=r),()=>{a.removeEventListener("load",u),a.removeEventListener("error",c)}},[a,r,t]),i}var fw=ek,pw=rk,mw=nk;var nn=b(M()),nG=J("relative flex shrink-0 overflow-hidden",{variants:{size:{default:"h-10 w-10",xs:"h-6 w-6",sm:"h-8 w-8",md:"h-10 w-10",lg:"h-12 w-12",xl:"h-16 w-16","2xl":"h-20 w-20"},radius:{default:"rounded-full",sm:"rounded-md",lg:"rounded-xl",full:"rounded-full",none:"rounded-none"},variant:{default:"",ring:"ring-2 ring-border",ringOffset:"ring-2 ring-border ring-offset-2 ring-offset-background",border:"border-2 border-border"}},defaultVariants:{size:"default",radius:"default",variant:"default"}}),gw=Jd.forwardRef(({className:e,size:t,radius:r,variant:o,...n},a)=>(0,nn.jsx)(fw,{ref:a,className:I("moonui-theme",nG({size:t,radius:r,variant:o}),e),...n}));gw.displayName=fw.displayName;var ak=Jd.forwardRef(({className:e,...t},r)=>(0,nn.jsx)(pw,{ref:r,className:I("moonui-theme","aspect-square h-full w-full",e),...t}));ak.displayName=pw.displayName;var hw=Jd.forwardRef(({className:e,...t},r)=>(0,nn.jsx)(mw,{ref:r,className:I("flex h-full w-full items-center justify-center bg-muted",e),...t}));hw.displayName=mw.displayName;var ik=Jd.forwardRef(({className:e,limit:t,avatars:r,overlapOffset:o=-8,...n},a)=>{let i=t?r.slice(0,t):r,s=t?Math.max(0,r.length-t):0;return(0,nn.jsx)("div",{ref:a,className:I("moonui-theme","flex items-center",e),...n,children:(0,nn.jsxs)("div",{className:"flex",children:[i.map((l,u)=>(0,nn.jsx)("div",{className:"relative",style:{marginLeft:u===0?0:`${o}px`,zIndex:i.length-u},children:l},u)),s>0&&(0,nn.jsx)("div",{className:"relative z-0",style:{marginLeft:`${o}px`},children:(0,nn.jsx)(gw,{variant:"border",children:(0,nn.jsxs)(hw,{children:["+",s]})})})]})})});ik.displayName="AvatarGroup";var lr=b(M()),sk=J(["inline-flex items-center justify-center gap-1.5","font-medium transition-colors duration-200","border focus:outline-none","focus-visible:ring-2 focus-visible:ring-offset-1","mr-2 mb-2 last:mr-0"],{variants:{variant:{primary:["border-transparent bg-gray-900 text-white","hover:bg-gray-800 dark:hover:bg-gray-700","focus-visible:ring-gray-500/30 dark:focus-visible:ring-gray-400/40","dark:bg-gray-700 dark:text-gray-50 dark:shadow-inner dark:shadow-gray-950/10"],secondary:["border-transparent bg-secondary text-secondary-foreground","hover:bg-gray-200 dark:hover:bg-gray-600","focus-visible:ring-gray-400/30 dark:focus-visible:ring-gray-500/40","dark:bg-gray-700/50 dark:text-gray-50 dark:shadow-inner dark:shadow-gray-950/10"],outline:["border-gray-200 dark:border-gray-600","bg-transparent text-foreground","hover:border-gray-300 dark:hover:border-gray-500","focus-visible:ring-gray-400/30 dark:focus-visible:ring-gray-500/40","dark:text-gray-100 dark:bg-transparent dark:backdrop-blur-sm"],destructive:["border-transparent bg-error text-white","hover:bg-error/90 dark:hover:bg-error/80","focus-visible:ring-error/30 dark:focus-visible:ring-error/25","dark:bg-error/90 dark:text-white dark:shadow-inner dark:shadow-error/10"],success:["border-transparent bg-success text-white","hover:bg-success/90 dark:hover:bg-success/80","focus-visible:ring-success/30 dark:focus-visible:ring-success/25","dark:bg-success/90 dark:text-white dark:shadow-inner dark:shadow-success/10"],warning:["border-transparent bg-warning text-white","hover:bg-warning/90 dark:hover:bg-warning/80","focus-visible:ring-warning/30 dark:focus-visible:ring-warning/25","dark:bg-warning/90 dark:text-gray-900 dark:shadow-inner dark:shadow-warning/10"],ghost:["border border-gray-200 bg-gray-50/50 text-gray-700","hover:bg-gray-100 dark:hover:bg-gray-800/60","focus-visible:ring-gray-400/30 dark:focus-visible:ring-gray-500/40","dark:border-gray-700 dark:bg-gray-800/30 dark:text-gray-300","transition-all duration-200"],pro:["border-transparent bg-gradient-to-r from-purple-600 to-pink-600 text-white","hover:from-purple-700 hover:to-pink-700","focus-visible:ring-purple-400/30 dark:focus-visible:ring-purple-500/40","shadow-md dark:shadow-lg dark:shadow-purple-500/10"],admin:["border-transparent bg-gradient-to-r from-purple-600 to-pink-600 text-white","hover:from-purple-700 hover:to-pink-700","focus-visible:ring-purple-400/30 dark:focus-visible:ring-purple-500/40","shadow-md dark:shadow-lg dark:shadow-purple-500/10"]},size:{sm:"h-5 px-2 text-xs",md:"h-6 px-3 text-sm",lg:"h-8 px-4 text-base"},radius:{default:"rounded-full",sm:"rounded-md",lg:"rounded-xl",none:"rounded-none"}},defaultVariants:{variant:"primary",size:"md",radius:"default"}});function co({className:e,variant:t,size:r,radius:o,withDot:n,dotColor:a,removable:i,onRemove:s,leftIcon:l,rightIcon:u,noAutoSpacing:c,children:d,...f}){let p=l,h=d;return t==="pro"&&(p=l||(0,lr.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-3 h-3",children:[(0,lr.jsx)("path",{d:"M12 0L13.09 8.26L22 9L13.09 9.74L12 18L10.91 9.74L2 9L10.91 8.26L12 0Z",fill:"currentColor"}),(0,lr.jsx)("path",{d:"M19 5L19.5 7L21 7.5L19.5 8L19 10L18.5 8L17 7.5L18.5 7L19 5Z",fill:"currentColor"}),(0,lr.jsx)("path",{d:"M19 15L19.5 17L21 17.5L19.5 18L19 20L18.5 18L17 17.5L18.5 17L19 15Z",fill:"currentColor"})]}),h=d||"Pro"),t==="admin"&&(p=l||(0,lr.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-3 h-3",children:(0,lr.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z",fill:"currentColor"})}),h=d||"Admin Pro"),(0,lr.jsxs)("div",{className:I("moonui-theme",sk({variant:t,size:r,radius:o}),c&&"mr-0 mb-0",e),"data-removable":i?"":void 0,...f,children:[n&&(0,lr.jsx)("span",{className:I("h-2 w-2 rounded-full",a||(t==="destructive"||t==="success"||t==="warning"?"bg-white":t==="secondary"?"bg-secondary-foreground":t==="outline"||t==="ghost"?"bg-foreground":t==="pro"||t==="admin"?"bg-white":"bg-primary-foreground")),"aria-hidden":"true"}),p&&(0,lr.jsx)("span",{className:"inline-flex shrink-0 items-center",children:p}),(0,lr.jsx)("span",{className:"inline-flex items-center",children:h}),u&&(0,lr.jsx)("span",{className:"inline-flex shrink-0 items-center",children:u}),i&&s&&(0,lr.jsx)("button",{type:"button",className:"ml-1 -mr-1 h-3.5 w-3.5 rounded-full inline-flex items-center justify-center hover:bg-black/10 dark:hover:bg-white/10",onClick:m=>{m.stopPropagation(),s()},"aria-label":"Remove badge",children:(0,lr.jsx)("svg",{width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"opacity-70","aria-hidden":"true",children:(0,lr.jsx)("path",{d:"M0.799988 7.19999L7.19999 0.799988M0.799988 0.799988L7.19999 7.19999",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})}var Vn=b(E());var Tr=b(M()),aG=J("flex items-center gap-1.5 text-sm",{variants:{variant:{default:"text-foreground transition-colors",muted:"text-muted-foreground transition-colors",ghost:"text-foreground/60 transition-colors"},size:{default:"text-sm",sm:"text-xs",lg:"text-base"}},defaultVariants:{variant:"default",size:"default"}}),lk=Vn.forwardRef(({className:e,variant:t,size:r,...o},n)=>(0,Tr.jsx)("nav",{ref:n,className:I("moonui-theme",aG({variant:t,size:r}),e),"aria-label":"breadcrumb",...o}));lk.displayName="Breadcrumb";var uk=Vn.forwardRef(({className:e,collapsed:t,collapsedWidth:r=3,...o},n)=>{let a=Vn.Children.toArray(o.children).filter(Boolean),i=a.length;if(t&&i>r){let s=a[0],l=a.slice(-2);return(0,Tr.jsxs)("ol",{ref:n,className:I("flex flex-wrap items-center gap-1.5 sm:gap-2.5",e),...o,children:[s,(0,Tr.jsx)(vw,{}),l]})}return(0,Tr.jsx)("ol",{ref:n,className:I("flex flex-wrap items-center gap-1.5 sm:gap-2.5",e),...o})});uk.displayName="BreadcrumbList";var ck=Vn.forwardRef(({className:e,isCurrent:t,href:r,asChild:o=!1,...n},a)=>{let i=o?Vn.Fragment:r?"a":"span",s=o?{}:r?{href:r}:{};return(0,Tr.jsx)("li",{ref:a,className:I("moonui-theme","inline-flex items-center gap-1.5",e),"aria-current":t?"page":void 0,...n,children:(0,Tr.jsx)(i,{className:I("transition-colors duration-200 hover:text-foreground",t?"font-medium text-foreground":"text-muted-foreground hover:text-foreground hover:underline hover:underline-offset-4 hover:decoration-muted-foreground/30"),...s,children:n.children})})});ck.displayName="BreadcrumbItem";var dk=({children:e,className:t,...r})=>(0,Tr.jsx)("span",{role:"presentation","aria-hidden":"true",className:I("moonui-theme","text-muted-foreground opacity-70",t),...r,children:e||(0,Tr.jsx)(Pr,{className:"h-3.5 w-3.5"})});dk.displayName="BreadcrumbSeparator";var vw=({className:e,...t})=>(0,Tr.jsxs)("span",{role:"presentation","aria-hidden":"true",className:I("moonui-theme","flex items-center text-muted-foreground hover:text-foreground/80 transition-colors duration-200",e),...t,children:[(0,Tr.jsx)(Fn,{className:"h-4 w-4"}),(0,Tr.jsx)("span",{className:"sr-only",children:"More pages"})]});vw.displayName="BreadcrumbEllipsis";var fk=Vn.forwardRef(({className:e,href:t,...r},o)=>(0,Tr.jsx)("a",{ref:o,href:t,className:I("transition-colors duration-200 hover:text-foreground text-muted-foreground hover:underline hover:underline-offset-4 hover:decoration-muted-foreground/30",e),...r}));fk.displayName="BreadcrumbLink";var pk=Vn.forwardRef(({className:e,...t},r)=>(0,Tr.jsx)("span",{ref:r,className:I("font-medium text-foreground dark:text-white dark:text-opacity-95",e),...t}));pk.displayName="BreadcrumbPage";var mk=b(E());var hg=b(M()),gg=J(["inline-flex items-center justify-center gap-2 whitespace-nowrap","font-medium relative","transition-all duration-200 ease-out","transform active:scale-[0.98]","focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none disabled:transform-none"],{variants:{variant:{primary:["bg-primary text-primary-foreground","dark:bg-primary dark:text-primary-foreground","hover:bg-primary/90 dark:hover:bg-primary/90","active:bg-primary/80 dark:active:bg-primary/80","shadow-sm hover:shadow-md","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],secondary:["bg-gray-100 text-gray-900","dark:bg-gray-800 dark:text-gray-100","hover:bg-gray-200 dark:hover:bg-gray-700","active:bg-gray-300 dark:active:bg-gray-600","border border-gray-200 dark:border-gray-700","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","shadow-sm hover:shadow-md"],outline:["bg-background text-foreground","dark:bg-background dark:text-foreground","border border-input dark:border-input","hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent dark:hover:text-accent-foreground","active:bg-accent/80 dark:active:bg-accent/80","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],ghost:["text-gray-700","dark:text-gray-300","hover:bg-gray-100 hover:text-gray-900 dark:hover:bg-gray-800 dark:hover:text-gray-100","active:bg-gray-200 dark:active:bg-gray-700","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],destructive:["bg-destructive text-destructive-foreground","dark:bg-destructive dark:text-destructive-foreground","hover:bg-destructive/90 dark:hover:bg-destructive/90","active:bg-destructive/80 dark:active:bg-destructive/80","shadow-sm hover:shadow-md","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],success:["bg-success text-success-foreground","dark:bg-success dark:text-success-foreground","hover:bg-success/90 dark:hover:bg-success/90","active:bg-success/80 dark:active:bg-success/80","shadow-sm hover:shadow-md","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","transition-all duration-200"],link:["text-primary bg-transparent","underline-offset-4 hover:underline","hover:text-primary/80 active:text-primary/70","p-0 h-auto","transition-colors duration-200"],gradient:["bg-gradient-to-r from-purple-500 to-pink-500 text-white","hover:from-purple-600 hover:to-pink-600","active:from-purple-700 active:to-pink-700","shadow-xl shadow-purple-500/40","hover:shadow-2xl hover:shadow-purple-500/50","focus-visible:ring-purple-500/50","transition-all duration-300"],glow:["bg-blue-500 text-white","shadow-[0_0_30px_rgba(59,130,246,0.5)]","hover:shadow-[0_0_40px_rgba(59,130,246,0.7)]","active:shadow-[0_0_20px_rgba(59,130,246,0.4)]","hover:bg-blue-600","focus-visible:ring-blue-500/50","transition-all duration-300"],soft:["bg-primary/10 text-primary","hover:bg-primary/20","active:bg-primary/30","focus-visible:ring-primary/50","dark:bg-primary/20 dark:text-primary-foreground","dark:hover:bg-primary/30 dark:active:bg-primary/40","transition-colors duration-200"],glass:["bg-white/10 backdrop-blur-md text-foreground","border border-white/20","hover:bg-white/20 hover:border-white/30","active:bg-white/30","shadow-lg","focus-visible:ring-white/50","dark:bg-gray-800/10 dark:border-gray-700/20","dark:hover:bg-gray-800/20 dark:hover:border-gray-700/30","transition-all duration-200"],neon:["bg-transparent text-green-400","border-2 border-green-400","hover:bg-green-400 hover:text-gray-900","hover:shadow-[0_0_30px_rgba(74,222,128,0.6)]","active:shadow-[0_0_15px_rgba(74,222,128,0.4)]","focus-visible:ring-green-400/50","transition-all duration-300"]},size:{xs:"h-7 px-2.5 text-xs",sm:"h-8 px-3 text-sm",md:"h-10 px-4 text-base",lg:"h-12 px-6 text-lg",xl:"h-14 px-8 text-xl",icon:"h-10 w-10 p-2","icon-sm":"h-8 w-8 p-1.5","icon-lg":"h-12 w-12 p-3"},rounded:{default:"rounded-xl",full:"rounded-full",none:"rounded-none",sm:"rounded-lg",lg:"rounded-2xl"},fullWidth:{true:"w-full"}},defaultVariants:{variant:"primary",size:"md",rounded:"default",fullWidth:!1}}),Fe=mk.forwardRef(({className:e,variant:t,size:r,rounded:o,fullWidth:n,asChild:a=!1,loading:i=!1,leftIcon:s,rightIcon:l,children:u,disabled:c,...d},f)=>(0,hg.jsxs)("button",{className:I("moonui-theme",gg({variant:t,size:r,rounded:o,fullWidth:n,className:e})),ref:f,disabled:c||i,"data-loading":i?"":void 0,...d,children:[i&&(0,hg.jsx)(Qt,{className:"w-4 h-4 animate-spin","aria-hidden":"true"}),!i&&s,u,!i&&l]}));Fe.displayName="Button";var $s=b(E());var Vf=b(M(),1),zn=b(E(),1);var gk=b(E(),1),pu=(0,gk.createContext)({});var hk=b(E(),1);function Bn(e){let t=(0,hk.useRef)(null);return t.current===null&&(t.current=e()),t.current}var vg=b(E(),1);var mu=typeof window<"u";var gu=mu?vg.useLayoutEffect:vg.useEffect;var Qw=b(M(),1),yM=b(E(),1),Of=b(E(),1);var vk=b(E(),1),vi=(0,vk.createContext)(null);var hM=b(M(),1);function Is(e,t){e.indexOf(t)===-1&&e.push(t)}function an(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var Ut=(e,t,r)=>r>t?t:r<e?e:r;var pa=()=>{},Zt=()=>{};var ur={};var ef=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function tf(e){return typeof e=="object"&&e!==null}var rf=e=>/^0[^.\s]+$/u.test(e);function Ps(e){let t;return()=>(t===void 0&&(t=e()),t)}var mt=e=>e;var iG=(e,t)=>r=>t(e(r)),sn=(...e)=>e.reduce(iG);var Mo=(e,t,r)=>{let o=t-e;return o===0?1:(r-e)/o};var ma=class{constructor(){this.subscriptions=[]}add(t){return Is(this.subscriptions,t),()=>an(this.subscriptions,t)}notify(t,r,o){let n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](t,r,o);else for(let a=0;a<n;a++){let i=this.subscriptions[a];i&&i(t,r,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var St=e=>e*1e3,Jt=e=>e/1e3;function of(e,t){return t?e*(1e3/t):0}var yk=(e,t,r)=>{let o=t-e;return((r-e)%o+o)%o+e};var xk=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,sG=1e-7,lG=12;function uG(e,t,r,o,n){let a,i,s=0;do i=t+(r-t)/2,a=xk(i,o,n)-e,a>0?r=i:t=i;while(Math.abs(a)>sG&&++s<lG);return i}function yi(e,t,r,o){if(e===t&&r===o)return mt;let n=a=>uG(a,0,1,e,r);return a=>a===0||a===1?a:xk(n(a),t,o)}var yg=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var xg=e=>t=>1-e(1-t);var wg=yi(.33,1.53,.69,.99),hu=xg(wg),nf=yg(hu);var af=e=>(e*=2)<1?.5*hu(e):.5*(2-Math.pow(2,-10*(e-1)));var sf=e=>1-Math.sin(Math.acos(e)),lf=xg(sf),uf=yg(sf);var yw=yi(.42,0,1,1),xw=yi(0,0,.58,1),cf=yi(.42,0,.58,1);var df=e=>Array.isArray(e)&&typeof e[0]!="number";function ff(e,t){return df(e)?e[yk(0,e.length,t)]:e}var pf=e=>Array.isArray(e)&&typeof e[0]=="number";var wk={linear:mt,easeIn:yw,easeInOut:cf,easeOut:xw,circIn:sf,circInOut:uf,circOut:lf,backIn:hu,backInOut:nf,backOut:wg,anticipate:af},cG=e=>typeof e=="string",Cg=e=>{if(pf(e)){Zt(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,o,n]=e;return yi(t,r,o,n)}else if(cG(e))return Zt(wk[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),wk[e];return e};var mf=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var qr={value:null,addProjectionMetrics:null};function Ck(e,t){let r=new Set,o=new Set,n=!1,a=!1,i=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},l=0;function u(d){i.has(d)&&(c.schedule(d),e()),l++,d(s)}let c={schedule:(d,f=!1,p=!1)=>{let m=p&&n?r:o;return f&&i.add(d),m.has(d)||m.add(d),d},cancel:d=>{o.delete(d),i.delete(d)},process:d=>{if(s=d,n){a=!0;return}n=!0,[r,o]=[o,r],r.forEach(u),t&&qr.value&&qr.value.frameloop[t].push(l),l=0,r.clear(),n=!1,a&&(a=!1,c.process(d))}};return c}var dG=40;function Sg(e,t){let r=!1,o=!0,n={delta:0,timestamp:0,isProcessing:!1},a=()=>r=!0,i=mf.reduce((y,w)=>(y[w]=Ck(a,t?w:void 0),y),{}),{setup:s,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:p,postRender:h}=i,m=()=>{let y=ur.useManualTiming?n.timestamp:performance.now();r=!1,ur.useManualTiming||(n.delta=o?1e3/60:Math.max(Math.min(y-n.timestamp,dG),1)),n.timestamp=y,n.isProcessing=!0,s.process(n),l.process(n),u.process(n),c.process(n),d.process(n),f.process(n),p.process(n),h.process(n),n.isProcessing=!1,r&&t&&(o=!1,e(m))},x=()=>{r=!0,o=!0,n.isProcessing||e(m)};return{schedule:mf.reduce((y,w)=>{let C=i[w];return y[w]=(R,S=!1,L=!1)=>(r||x(),C.schedule(R,S,L)),y},{}),cancel:y=>{for(let w=0;w<mf.length;w++)i[mf[w]].cancel(y)},state:n,steps:i}}var{schedule:xe,cancel:cr,state:yt,steps:gf}=Sg(typeof requestAnimationFrame<"u"?requestAnimationFrame:mt,!0);var bg;function fG(){bg=void 0}var xt={now:()=>(bg===void 0&&xt.set(yt.isProcessing||ur.useManualTiming?yt.timestamp:performance.now()),bg),set:e=>{bg=e,queueMicrotask(fG)}};var ln={layout:0,mainThread:0,waapi:0};var Sk=e=>t=>typeof t=="string"&&t.startsWith(e),Ts=Sk("--"),pG=Sk("var(--"),ks=e=>pG(e)?mG.test(e.split("/*")[0].trim()):!1,mG=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var Hn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ga={...Hn,transform:e=>Ut(0,1,e)},hf={...Hn,default:1};var xi=e=>Math.round(e*1e5)/1e5;var vu=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function bk(e){return e==null}var Rk=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var yu=(e,t)=>r=>!!(typeof r=="string"&&Rk.test(r)&&r.startsWith(e)||t&&!bk(r)&&Object.prototype.hasOwnProperty.call(r,t)),Rg=(e,t,r)=>o=>{if(typeof o!="string")return o;let[n,a,i,s]=o.match(vu);return{[e]:parseFloat(n),[t]:parseFloat(a),[r]:parseFloat(i),alpha:s!==void 0?parseFloat(s):1}};var gG=e=>Ut(0,255,e),ww={...Hn,transform:e=>Math.round(gG(e))},Un={test:yu("rgb","red"),parse:Rg("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:o=1})=>"rgba("+ww.transform(e)+", "+ww.transform(t)+", "+ww.transform(r)+", "+xi(ga.transform(o))+")"};function hG(e){let t="",r="",o="",n="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),o=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),o=e.substring(3,4),n=e.substring(4,5),t+=t,r+=r,o+=o,n+=n),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(o,16),alpha:n?parseInt(n,16)/255:1}}var vf={test:yu("#"),parse:hG,transform:Un.transform};var yf=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),un=yf("deg"),dr=yf("%"),re=yf("px"),Cw=yf("vh"),Sw=yf("vw"),Lg=(()=>({...dr,parse:e=>dr.parse(e)/100,transform:e=>dr.transform(e*100)}))();var wi={test:yu("hsl","hue"),parse:Rg("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:o=1})=>"hsla("+Math.round(e)+", "+dr.transform(xi(t))+", "+dr.transform(xi(r))+", "+xi(ga.transform(o))+")"};var st={test:e=>Un.test(e)||vf.test(e)||wi.test(e),parse:e=>Un.test(e)?Un.parse(e):wi.test(e)?wi.parse(e):vf.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Un.transform(e):wi.transform(e),getAnimatableNone:e=>{let t=st.parse(e);return t.alpha=0,st.transform(t)}};var Lk=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function vG(e){return isNaN(e)&&typeof e=="string"&&(e.match(vu)?.length||0)+(e.match(Lk)?.length||0)>0}var Pk="number",Tk="color",yG="var",xG="var(",Ik="${}",wG=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ci(e){let t=e.toString(),r=[],o={color:[],number:[],var:[]},n=[],a=0,s=t.replace(wG,l=>(st.test(l)?(o.color.push(a),n.push(Tk),r.push(st.parse(l))):l.startsWith(xG)?(o.var.push(a),n.push(yG),r.push(l)):(o.number.push(a),n.push(Pk),r.push(parseFloat(l))),++a,Ik)).split(Ik);return{values:r,split:s,indexes:o,types:n}}function kk(e){return Ci(e).values}function Mk(e){let{split:t,types:r}=Ci(e),o=t.length;return n=>{let a="";for(let i=0;i<o;i++)if(a+=t[i],n[i]!==void 0){let s=r[i];s===Pk?a+=xi(n[i]):s===Tk?a+=st.transform(n[i]):a+=n[i]}return a}}var CG=e=>typeof e=="number"?0:st.test(e)?st.getAnimatableNone(e):e;function SG(e){let t=kk(e);return Mk(e)(t.map(CG))}var fr={test:vG,parse:kk,createTransformer:Mk,getAnimatableNone:SG};function bw(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Ek({hue:e,saturation:t,lightness:r,alpha:o}){e/=360,t/=100,r/=100;let n=0,a=0,i=0;if(!t)n=a=i=r;else{let s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=bw(l,s,e+1/3),a=bw(l,s,e),i=bw(l,s,e-1/3)}return{red:Math.round(n*255),green:Math.round(a*255),blue:Math.round(i*255),alpha:o}}function xu(e,t){return r=>r>0?t:e}var Se=(e,t,r)=>e+(t-e)*r;var Rw=(e,t,r)=>{let o=e*e,n=r*(t*t-o)+o;return n<0?0:Math.sqrt(n)},bG=[vf,Un,wi],RG=e=>bG.find(t=>t.test(e));function Ak(e){let t=RG(e);if(pa(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===wi&&(r=Ek(r)),r}var Lw=(e,t)=>{let r=Ak(e),o=Ak(t);if(!r||!o)return xu(e,t);let n={...r};return a=>(n.red=Rw(r.red,o.red,a),n.green=Rw(r.green,o.green,a),n.blue=Rw(r.blue,o.blue,a),n.alpha=Se(r.alpha,o.alpha,a),Un.transform(n))};var Ig=new Set(["none","hidden"]);function Dk(e,t){return Ig.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function LG(e,t){return r=>Se(e,t,r)}function Pg(e){return typeof e=="number"?LG:typeof e=="string"?ks(e)?xu:st.test(e)?Lw:TG:Array.isArray(e)?Nk:typeof e=="object"?st.test(e)?Lw:IG:xu}function Nk(e,t){let r=[...e],o=r.length,n=e.map((a,i)=>Pg(a)(a,t[i]));return a=>{for(let i=0;i<o;i++)r[i]=n[i](a);return r}}function IG(e,t){let r={...e,...t},o={};for(let n in r)e[n]!==void 0&&t[n]!==void 0&&(o[n]=Pg(e[n])(e[n],t[n]));return n=>{for(let a in o)r[a]=o[a](n);return r}}function PG(e,t){let r=[],o={color:0,var:0,number:0};for(let n=0;n<t.values.length;n++){let a=t.types[n],i=e.indexes[a][o[a]],s=e.values[i]??0;r[n]=s,o[a]++}return r}var TG=(e,t)=>{let r=fr.createTransformer(t),o=Ci(e),n=Ci(t);return o.indexes.var.length===n.indexes.var.length&&o.indexes.color.length===n.indexes.color.length&&o.indexes.number.length>=n.indexes.number.length?Ig.has(e)&&!n.values.length||Ig.has(t)&&!o.values.length?Dk(e,t):sn(Nk(PG(o,n),n.values),r):(pa(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),xu(e,t))};function Tg(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?Se(e,t,r):Pg(e)(e,t)}var _k=e=>{let t=({timestamp:r})=>e(r);return{start:(r=!0)=>xe.update(t,r),stop:()=>cr(t),now:()=>yt.isProcessing?yt.timestamp:xt.now()}};var kg=(e,t,r=10)=>{let o="",n=Math.max(Math.round(t/r),2);for(let a=0;a<n;a++)o+=Math.round(e(a/(n-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`};function wu(e){let t=0,r=50,o=e.next(t);for(;!o.done&&t<2e4;)t+=r,o=e.next(t);return t>=2e4?1/0:t}function xf(e,t=100,r){let o=r({...e,keyframes:[0,t]}),n=Math.min(wu(o),2e4);return{type:"keyframes",ease:a=>o.next(n*a).value/t,duration:Jt(n)}}var kG=5;function Mg(e,t,r){let o=Math.max(t-kG,0);return of(r-e(o),t-o)}var tt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var Pw=.001;function Ok({duration:e=tt.duration,bounce:t=tt.bounce,velocity:r=tt.velocity,mass:o=tt.mass}){let n,a;pa(e<=St(tt.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let i=1-t;i=Ut(tt.minDamping,tt.maxDamping,i),e=Ut(tt.minDuration,tt.maxDuration,Jt(e)),i<1?(n=u=>{let c=u*i,d=c*e,f=c-r,p=Eg(u,i),h=Math.exp(-d);return Pw-f/p*h},a=u=>{let d=u*i*e,f=d*r+r,p=Math.pow(i,2)*Math.pow(u,2)*e,h=Math.exp(-d),m=Eg(Math.pow(u,2),i);return(-n(u)+Pw>0?-1:1)*((f-p)*h)/m}):(n=u=>{let c=Math.exp(-u*e),d=(u-r)*e+1;return-Pw+c*d},a=u=>{let c=Math.exp(-u*e),d=(r-u)*(e*e);return c*d});let s=5/e,l=EG(n,a,s);if(e=St(e),isNaN(l))return{stiffness:tt.stiffness,damping:tt.damping,duration:e};{let u=Math.pow(l,2)*o;return{stiffness:u,damping:i*2*Math.sqrt(o*u),duration:e}}}var MG=12;function EG(e,t,r){let o=r;for(let n=1;n<MG;n++)o=o-e(o)/t(o);return o}function Eg(e,t){return e*Math.sqrt(1-t*t)}var AG=["duration","bounce"],DG=["stiffness","damping","mass"];function Fk(e,t){return t.some(r=>e[r]!==void 0)}function NG(e){let t={velocity:tt.velocity,stiffness:tt.stiffness,damping:tt.damping,mass:tt.mass,isResolvedFromDuration:!1,...e};if(!Fk(e,DG)&&Fk(e,AG))if(e.visualDuration){let r=e.visualDuration,o=2*Math.PI/(r*1.2),n=o*o,a=2*Ut(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:tt.mass,stiffness:n,damping:a}}else{let r=Ok(e);t={...t,...r,mass:tt.mass},t.isResolvedFromDuration=!0}return t}function ha(e=tt.visualDuration,t=tt.bounce){let r=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:o,restDelta:n}=r,a=r.keyframes[0],i=r.keyframes[r.keyframes.length-1],s={done:!1,value:a},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:p}=NG({...r,velocity:-Jt(r.velocity||0)}),h=f||0,m=u/(2*Math.sqrt(l*c)),x=i-a,v=Jt(Math.sqrt(l/c)),g=Math.abs(x)<5;o||(o=g?tt.restSpeed.granular:tt.restSpeed.default),n||(n=g?tt.restDelta.granular:tt.restDelta.default);let y;if(m<1){let C=Eg(v,m);y=R=>{let S=Math.exp(-m*v*R);return i-S*((h+m*v*x)/C*Math.sin(C*R)+x*Math.cos(C*R))}}else if(m===1)y=C=>i-Math.exp(-v*C)*(x+(h+v*x)*C);else{let C=v*Math.sqrt(m*m-1);y=R=>{let S=Math.exp(-m*v*R),L=Math.min(C*R,300);return i-S*((h+m*v*x)*Math.sinh(L)+C*x*Math.cosh(L))/C}}let w={calculatedDuration:p&&d||null,next:C=>{let R=y(C);if(p)s.done=C>=d;else{let S=C===0?h:0;m<1&&(S=C===0?St(h):Mg(y,C,R));let L=Math.abs(S)<=o,T=Math.abs(i-R)<=n;s.done=L&&T}return s.value=s.done?i:R,s},toString:()=>{let C=Math.min(wu(w),2e4),R=kg(S=>w.next(C*S).value,C,30);return C+"ms "+R},toTransition:()=>{}};return w}ha.applyToOptions=e=>{let t=xf(e,100,ha);return e.ease=t.ease,e.duration=St(t.duration),e.type="keyframes",e};function wf({keyframes:e,velocity:t=0,power:r=.8,timeConstant:o=325,bounceDamping:n=10,bounceStiffness:a=500,modifyTarget:i,min:s,max:l,restDelta:u=.5,restSpeed:c}){let d=e[0],f={done:!1,value:d},p=L=>s!==void 0&&L<s||l!==void 0&&L>l,h=L=>s===void 0?l:l===void 0||Math.abs(s-L)<Math.abs(l-L)?s:l,m=r*t,x=d+m,v=i===void 0?x:i(x);v!==x&&(m=v-d);let g=L=>-m*Math.exp(-L/o),y=L=>v+g(L),w=L=>{let T=g(L),P=y(L);f.done=Math.abs(T)<=u,f.value=f.done?v:P},C,R,S=L=>{p(f.value)&&(C=L,R=ha({keyframes:[f.value,h(f.value)],velocity:Mg(y,L,f.value),damping:n,stiffness:a,restDelta:u,restSpeed:c}))};return S(0),{calculatedDuration:null,next:L=>{let T=!1;return!R&&C===void 0&&(T=!0,w(L),S(L)),C!==void 0&&L>=C?R.next(L-C):(!T&&w(L),f)}}}function _G(e,t,r){let o=[],n=r||ur.mix||Tg,a=e.length-1;for(let i=0;i<a;i++){let s=n(e[i],e[i+1]);if(t){let l=Array.isArray(t)?t[i]||mt:t;s=sn(l,s)}o.push(s)}return o}function Ag(e,t,{clamp:r=!0,ease:o,mixer:n}={}){let a=e.length;if(Zt(a===t.length,"Both input and output ranges must be the same length","range-length"),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let i=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=_G(t,o,n),l=s.length,u=c=>{if(i&&c<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(c<e[d+1]);d++);let f=Mo(e[d],e[d+1],c);return s[d](f)};return r?c=>u(Ut(e[0],e[a-1],c)):u}function Cf(e,t){let r=e[e.length-1];for(let o=1;o<=t;o++){let n=Mo(0,t,o);e.push(Se(r,1,n))}}function Sf(e){let t=[0];return Cf(t,e.length-1),t}function Vk(e,t){return e.map(r=>r*t)}function OG(e,t){return e.map(()=>t||cf).splice(0,e.length-1)}function Ms({duration:e=300,keyframes:t,times:r,ease:o="easeInOut"}){let n=df(o)?o.map(Cg):Cg(o),a={done:!1,value:t[0]},i=Vk(r&&r.length===t.length?r:Sf(t),e),s=Ag(i,t,{ease:Array.isArray(n)?n:OG(t,n)});return{calculatedDuration:e,next:l=>(a.value=s(l),a.done=l>=e,a)}}var FG=e=>e!==null;function Cu(e,{repeat:t,repeatType:r="loop"},o,n=1){let a=e.filter(FG),s=n<0||t&&r!=="loop"&&t%2===1?0:a.length-1;return!s||o===void 0?a[s]:o}var VG={decay:wf,inertia:wf,tween:Ms,keyframes:Ms,spring:ha};function Dg(e){typeof e.type=="string"&&(e.type=VG[e.type])}var Si=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,r){return this.finished.then(t,r)}};var BG=e=>e/100,va=class extends Si{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:r}=this.options;r&&r.updatedAt!==xt.now()&&this.tick(xt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},ln.mainThread++,this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){let{options:t}=this;Dg(t);let{type:r=Ms,repeat:o=0,repeatDelay:n=0,repeatType:a,velocity:i=0}=t,{keyframes:s}=t,l=r||Ms;l!==Ms&&typeof s[0]!="number"&&(this.mixKeyframes=sn(BG,Tg(s[0],s[1])),s=[0,100]);let u=l({...t,keyframes:s});a==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...s].reverse(),velocity:-i})),u.calculatedDuration===null&&(u.calculatedDuration=wu(u));let{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+n,this.totalDuration=this.resolvedDuration*(o+1)-n,this.generator=u}updateTime(t){let r=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=r}tick(t,r=!1){let{generator:o,totalDuration:n,mixKeyframes:a,mirroredGenerator:i,resolvedDuration:s,calculatedDuration:l}=this;if(this.startTime===null)return o.next(0);let{delay:u=0,keyframes:c,repeat:d,repeatType:f,repeatDelay:p,type:h,onUpdate:m,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),r?this.currentTime=t:this.updateTime(t);let v=this.currentTime-u*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?v<0:v>n;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=n);let y=this.currentTime,w=o;if(d){let L=Math.min(this.currentTime,n)/s,T=Math.floor(L),P=L%1;!P&&L>=1&&(P=1),P===1&&T--,T=Math.min(T,d+1),!!(T%2)&&(f==="reverse"?(P=1-P,p&&(P-=p/s)):f==="mirror"&&(w=i)),y=Ut(0,1,P)*s}let C=g?{done:!1,value:c[0]}:w.next(y);a&&(C.value=a(C.value));let{done:R}=C;!g&&l!==null&&(R=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let S=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&R);return S&&h!==wf&&(C.value=Cu(c,this.options,x,this.speed)),m&&m(C.value),S&&this.finish(),C}then(t,r){return this.finished.then(t,r)}get duration(){return Jt(this.calculatedDuration)}get time(){return Jt(this.currentTime)}set time(t){t=St(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(xt.now());let r=this.playbackSpeed!==t;this.playbackSpeed=t,r&&(this.time=Jt(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=_k,startTime:r}=this.options;this.driver||(this.driver=t(n=>this.tick(n))),this.options.onPlay?.();let o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=r??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(xt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,ln.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}};function Bk(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var Es=e=>e*180/Math.PI,Tw=e=>{let t=Es(Math.atan2(e[1],e[0]));return kw(t)},HG={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Tw,rotateZ:Tw,skewX:e=>Es(Math.atan(e[1])),skewY:e=>Es(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},kw=e=>(e=e%360,e<0&&(e+=360),e),Hk=Tw,Uk=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),zk=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),UG={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Uk,scaleY:zk,scale:e=>(Uk(e)+zk(e))/2,rotateX:e=>kw(Es(Math.atan2(e[6],e[5]))),rotateY:e=>kw(Es(Math.atan2(-e[2],e[0]))),rotateZ:Hk,rotate:Hk,skewX:e=>Es(Math.atan(e[4])),skewY:e=>Es(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function bf(e){return e.includes("scale")?1:0}function Rf(e,t){if(!e||e==="none")return bf(t);let r=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),o,n;if(r)o=UG,n=r;else{let s=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=HG,n=s}if(!n)return bf(t);let a=o[t],i=n[1].split(",").map(zG);return typeof a=="function"?a(i):i[a]}var Mw=(e,t)=>{let{transform:r="none"}=getComputedStyle(e);return Rf(r,t)};function zG(e){return parseFloat(e.trim())}var cn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],fo=(()=>new Set(cn))();var Ew=e=>e===Hn||e===re,WG=new Set(["x","y","z"]),GG=cn.filter(e=>!WG.has(e));function Wk(e){let t=[];return GG.forEach(r=>{let o=e.getValue(r);o!==void 0&&(t.push([r,o.get()]),o.set(r.startsWith("scale")?1:0))}),t}var bi={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Rf(t,"x"),y:(e,{transform:t})=>Rf(t,"y")};bi.translateX=bi.x;bi.translateY=bi.y;var As=new Set,Aw=!1,Dw=!1,Nw=!1;function Gk(){if(Dw){let e=Array.from(As).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),r=new Map;t.forEach(o=>{let n=Wk(o);n.length&&(r.set(o,n),o.render())}),e.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();let n=r.get(o);n&&n.forEach(([a,i])=>{o.getValue(a)?.set(i)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}Dw=!1,Aw=!1,As.forEach(e=>e.complete(Nw)),As.clear()}function jk(){As.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Dw=!0)})}function _w(){Nw=!0,jk(),Gk(),Nw=!1}var ya=class{constructor(t,r,o,n,a,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=o,this.motionValue=n,this.element=a,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(As.add(this),Aw||(Aw=!0,xe.read(jk),xe.resolveKeyframes(Gk))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:r,element:o,motionValue:n}=this;if(t[0]===null){let a=n?.get(),i=t[t.length-1];if(a!==void 0)t[0]=a;else if(o&&r){let s=o.readValue(r,i);s!=null&&(t[0]=s)}t[0]===void 0&&(t[0]=i),n&&a===void 0&&n.set(t[0])}Bk(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),As.delete(this)}cancel(){this.state==="scheduled"&&(As.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}};var qk=e=>e.startsWith("--");function $k(e,t,r){qk(t)?e.style.setProperty(t,r):e.style[t]=r}var Kk=Ps(()=>window.ScrollTimeline!==void 0);var Xk={};function Yk(e,t){let r=Ps(e);return()=>Xk[t]??r()}var Ng=Yk(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var Ds=([e,t,r,o])=>`cubic-bezier(${e}, ${t}, ${r}, ${o})`;var Ow={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ds([0,.65,.55,1]),circOut:Ds([.55,0,1,.45]),backIn:Ds([.31,.01,.66,-.59]),backOut:Ds([.33,1.53,.69,.99])};function Fw(e,t){if(e)return typeof e=="function"?Ng()?kg(e,t):"ease-out":pf(e)?Ds(e):Array.isArray(e)?e.map(r=>Fw(r,t)||Ow.easeOut):Ow[e]}function Qk(e,t,r,{delay:o=0,duration:n=300,repeat:a=0,repeatType:i="loop",ease:s="easeOut",times:l}={},u=void 0){let c={[t]:r};l&&(c.offset=l);let d=Fw(s,n);Array.isArray(d)&&(c.easing=d),qr.value&&ln.waapi++;let f={delay:o,duration:n,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:a+1,direction:i==="reverse"?"alternate":"normal"};u&&(f.pseudoElement=u);let p=e.animate(c,f);return qr.value&&p.finished.finally(()=>{ln.waapi--}),p}function Ns(e){return typeof e=="function"&&"applyToOptions"in e}function Zk({type:e,...t}){return Ns(e)&&Ng()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}var _g=class extends Si{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:r,name:o,keyframes:n,pseudoElement:a,allowFlatten:i=!1,finalKeyframe:s,onComplete:l}=t;this.isPseudoElement=!!a,this.allowFlatten=i,this.options=t,Zt(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let u=Zk(t);this.animation=Qk(r,o,n,u,a),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){let c=Cu(n,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(c):$k(r,o,c),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return Jt(Number(t))}get time(){return Jt(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=St(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&Kk()?(this.animation.timeline=t,mt):r(this)}};var Jk={anticipate:af,backInOut:nf,circInOut:uf};function jG(e){return e in Jk}function eM(e){typeof e.ease=="string"&&jG(e.ease)&&(e.ease=Jk[e.ease])}var tM=10,Og=class extends _g{constructor(t){eM(t),Dg(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:r,onUpdate:o,onComplete:n,element:a,...i}=this.options;if(!r)return;if(t!==void 0){r.set(t);return}let s=new va({...i,autoplay:!1}),l=St(this.finishedTime??this.time);r.setWithVelocity(s.sample(l-tM).value,s.sample(l).value,tM),s.stop()}};var Vw=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(fr.test(e)||e==="0")&&!e.startsWith("url("));function qG(e){let t=e[0];if(e.length===1)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}function rM(e,t,r,o){let n=e[0];if(n===null)return!1;if(t==="display"||t==="visibility")return!0;let a=e[e.length-1],i=Vw(n,t),s=Vw(a,t);return pa(i===s,`You are trying to animate ${t} from "${n}" to "${a}". "${i?a:n}" is not an animatable value.`,"value-not-animatable"),!i||!s?!1:qG(e)||(r==="spring"||Ns(r))&&o}function Su(e){e.duration=0,e.type}var $G=new Set(["opacity","clipPath","filter","transform"]),KG=Ps(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function oM(e){let{motionValue:t,name:r,repeatDelay:o,repeatType:n,damping:a,type:i}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return KG()&&r&&$G.has(r)&&(r!=="transform"||!u)&&!l&&!o&&n!=="mirror"&&a!==0&&i!=="inertia"}var XG=40,Lf=class extends Si{constructor({autoplay:t=!0,delay:r=0,type:o="keyframes",repeat:n=0,repeatDelay:a=0,repeatType:i="loop",keyframes:s,name:l,motionValue:u,element:c,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=xt.now();let f={autoplay:t,delay:r,type:o,repeat:n,repeatDelay:a,repeatType:i,name:l,motionValue:u,element:c,...d},p=c?.KeyframeResolver||ya;this.keyframeResolver=new p(s,(h,m,x)=>this.onKeyframesResolved(h,m,f,!x),l,u,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,r,o,n){this.keyframeResolver=void 0;let{name:a,type:i,velocity:s,delay:l,isHandoff:u,onUpdate:c}=o;this.resolvedAt=xt.now(),rM(t,a,i,s)||((ur.instantAnimations||!l)&&c?.(Cu(t,o,r)),t[0]=t[t.length-1],Su(o),o.repeat=0);let f={startTime:n?this.resolvedAt?this.resolvedAt-this.createdAt>XG?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:r,...o,keyframes:t},p=!u&&oM(f)?new Og({...f,element:f.motionValue.owner.current}):new va(f);p.finished.then(()=>this.notifyFinished()).catch(mt),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(t,r){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),_w()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};var Fg=class{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,r){for(let o=0;o<this.animations.length;o++)this.animations[o][t]=r}attachTimeline(t){let r=this.animations.map(o=>o.attachTimeline(t));return()=>{r.forEach((o,n)=>{o&&o(),this.animations[n].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let r=0;r<this.animations.length;r++)t=Math.max(t,this.animations[r].duration);return t}runAll(t){this.animations.forEach(r=>r[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}};var If=class extends Fg{then(t,r){return this.finished.finally(t).then(()=>{})}};var YG=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function QG(e){let t=YG.exec(e);if(!t)return[,];let[,r,o,n]=t;return[`--${r??o}`,n]}var ZG=4;function Bw(e,t,r=1){Zt(r<=ZG,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[o,n]=QG(e);if(!o)return;let a=window.getComputedStyle(t).getPropertyValue(o);if(a){let i=a.trim();return ef(i)?parseFloat(i):i}return ks(n)?Bw(n,t,r+1):n}function _s(e,t){return e?.[t]??e?.default??e}var Pf=new Set(["width","height","top","left","right","bottom",...cn]);var nM={test:e=>e==="auto",parse:e=>e};var Vg=e=>t=>t.test(e);var Hw=[Hn,re,dr,un,Sw,Cw,nM],Uw=e=>Hw.find(Vg(e));function aM(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||rf(e):!0}var JG=new Set(["brightness","contrast","saturate","opacity"]);function ej(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[o]=r.match(vu)||[];if(!o)return e;let n=r.replace(o,""),a=JG.has(t)?1:0;return o!==r&&(a*=100),t+"("+a+n+")"}var tj=/\b([a-z-]*)\(.*?\)/gu,Tf={...fr,getAnimatableNone:e=>{let t=e.match(tj);return t?t.map(ej).join(" "):e}};var zw={...Hn,transform:Math.round};var iM={rotate:un,rotateX:un,rotateY:un,rotateZ:un,scale:hf,scaleX:hf,scaleY:hf,scaleZ:hf,skew:un,skewX:un,skewY:un,distance:re,translateX:re,translateY:re,translateZ:re,x:re,y:re,z:re,perspective:re,transformPerspective:re,opacity:ga,originX:Lg,originY:Lg,originZ:re};var Os={borderWidth:re,borderTopWidth:re,borderRightWidth:re,borderBottomWidth:re,borderLeftWidth:re,borderRadius:re,radius:re,borderTopLeftRadius:re,borderTopRightRadius:re,borderBottomRightRadius:re,borderBottomLeftRadius:re,width:re,maxWidth:re,height:re,maxHeight:re,top:re,right:re,bottom:re,left:re,padding:re,paddingTop:re,paddingRight:re,paddingBottom:re,paddingLeft:re,margin:re,marginTop:re,marginRight:re,marginBottom:re,marginLeft:re,backgroundPositionX:re,backgroundPositionY:re,...iM,zIndex:zw,fillOpacity:ga,strokeOpacity:ga,numOctaves:zw};var sM={...Os,color:st,backgroundColor:st,outlineColor:st,fill:st,stroke:st,borderColor:st,borderTopColor:st,borderRightColor:st,borderBottomColor:st,borderLeftColor:st,filter:Tf,WebkitFilter:Tf},kf=e=>sM[e];function Mf(e,t){let r=kf(e);return r!==Tf&&(r=fr),r.getAnimatableNone?r.getAnimatableNone(t):void 0}var rj=new Set(["auto","none","0"]);function lM(e,t,r){let o=0,n;for(;o<e.length&&!n;){let a=e[o];typeof a=="string"&&!rj.has(a)&&Ci(a).values.length&&(n=e[o]),o++}if(n&&r)for(let a of t)e[a]=Mf(r,n)}var Ef=class extends ya{constructor(t,r,o,n,a){super(t,r,o,n,a,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:r,name:o}=this;if(!r||!r.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="string"&&(u=u.trim(),ks(u))){let c=Bw(u,r.current);c!==void 0&&(t[l]=c),l===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!Pf.has(o)||t.length!==2)return;let[n,a]=t,i=Uw(n),s=Uw(a);if(i!==s)if(Ew(i)&&Ew(s))for(let l=0;l<t.length;l++){let u=t[l];typeof u=="string"&&(t[l]=parseFloat(u))}else bi[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:r}=this,o=[];for(let n=0;n<t.length;n++)(t[n]===null||aM(t[n]))&&o.push(n);o.length&&lM(t,o,r)}measureInitialState(){let{element:t,unresolvedKeyframes:r,name:o}=this;if(!t||!t.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=bi[o](t.measureViewportBox(),window.getComputedStyle(t.current)),r[0]=this.measuredOrigin;let n=r[r.length-1];n!==void 0&&t.getValue(o,n).jump(n,!1)}measureEndState(){let{element:t,name:r,unresolvedKeyframes:o}=this;if(!t||!t.current)return;let n=t.getValue(r);n&&n.jump(this.measuredOrigin,!1);let a=o.length-1,i=o[a];o[a]=bi[r](t.measureViewportBox(),window.getComputedStyle(t.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEach(([s,l])=>{t.getValue(s).set(l)}),this.resolveNoneKeyframes()}};function Af(e,t,r){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;t&&(o=t.current);let n=r?.[e]??o.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e)}var Df=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Nf(e){return tf(e)&&"offsetHeight"in e}var uM=30,oj=e=>!isNaN(parseFloat(e)),Fs={current:void 0},Bg=class{constructor(t,r={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{let n=xt.now();if(this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=r.owner}setCurrent(t){this.current=t,this.updatedAt=xt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=oj(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new ma);let o=this.events[t].add(r);return t==="change"?()=>{o(),xe.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,r,o){this.set(r),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-o}jump(t,r=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return Fs.current&&Fs.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=xt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>uM)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,uM);return of(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function $r(e,t){return new Bg(e,t)}var{schedule:Vs,cancel:nj}=Sg(queueMicrotask,!1);var Eo={x:!1,y:!1};function Hg(){return Eo.x||Eo.y}function Ww(e){return e==="x"||e==="y"?Eo[e]?null:(Eo[e]=!0,()=>{Eo[e]=!1}):Eo.x||Eo.y?null:(Eo.x=Eo.y=!0,()=>{Eo.x=Eo.y=!1})}function Ug(e,t){let r=Af(e),o=new AbortController,n={passive:!0,...t,signal:o.signal};return[r,n,()=>o.abort()]}function cM(e){return!(e.pointerType==="touch"||Hg())}function Gw(e,t,r={}){let[o,n,a]=Ug(e,r),i=s=>{if(!cM(s))return;let{target:l}=s,u=t(l,s);if(typeof u!="function"||!l)return;let c=d=>{cM(d)&&(u(d),l.removeEventListener("pointerleave",c))};l.addEventListener("pointerleave",c,n)};return o.forEach(s=>{s.addEventListener("pointerenter",i,n)}),a}var jw=(e,t)=>t?e===t?!0:jw(e,t.parentElement):!1;var Bs=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;var aj=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function dM(e){return aj.has(e.tagName)||e.tabIndex!==-1}var bu=new WeakSet;function fM(e){return t=>{t.key==="Enter"&&e(t)}}function qw(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var pM=(e,t)=>{let r=e.currentTarget;if(!r)return;let o=fM(()=>{if(bu.has(r))return;qw(r,"down");let n=fM(()=>{qw(r,"up")}),a=()=>qw(r,"cancel");r.addEventListener("keyup",n,t),r.addEventListener("blur",a,t)});r.addEventListener("keydown",o,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",o),t)};function mM(e){return Bs(e)&&!Hg()}function $w(e,t,r={}){let[o,n,a]=Ug(e,r),i=s=>{let l=s.currentTarget;if(!mM(s))return;bu.add(l);let u=t(l,s),c=(p,h)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),bu.has(l)&&bu.delete(l),mM(p)&&typeof u=="function"&&u(p,{success:h})},d=p=>{c(p,l===window||l===document||r.useGlobalTarget||jw(l,p.target))},f=p=>{c(p,!1)};window.addEventListener("pointerup",d,n),window.addEventListener("pointercancel",f,n)};return o.forEach(s=>{(r.useGlobalTarget?window:s).addEventListener("pointerdown",i,n),Nf(s)&&(s.addEventListener("focus",u=>pM(u,n)),!dM(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),a}function Hs(e){return tf(e)&&"ownerSVGElement"in e}function _f(e){return Hs(e)&&e.tagName==="svg"}function Kw(...e){let t=!Array.isArray(e[0]),r=t?0:-1,o=e[0+r],n=e[1+r],a=e[2+r],i=e[3+r],s=Ag(n,a,i);return t?s(o):s}var Me=e=>!!(e&&e.getVelocity);var ij=[...Hw,st,fr],Xw=e=>ij.find(Vg(e));var zg=b(E(),1),xa=b(E(),1);var gM=b(E(),1),Ri=(0,gM.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var Yw=class extends zg.Component{getSnapshotBeforeUpdate(t){let r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){let o=r.offsetParent,n=Nf(o)&&o.offsetWidth||0,a=this.props.sizeRef.current;a.height=r.offsetHeight||0,a.width=r.offsetWidth||0,a.top=r.offsetTop,a.left=r.offsetLeft,a.right=n-a.width-a.left}return null}componentDidUpdate(){}render(){return this.props.children}};function vM({children:e,isPresent:t,anchorX:r,root:o}){let n=(0,xa.useId)(),a=(0,xa.useRef)(null),i=(0,xa.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:s}=(0,xa.useContext)(Ri);return(0,xa.useInsertionEffect)(()=>{let{width:l,height:u,top:c,left:d,right:f}=i.current;if(t||!a.current||!l||!u)return;let p=r==="left"?`left: ${d}`:`right: ${f}`;a.current.dataset.motionPopId=n;let h=document.createElement("style");s&&(h.nonce=s);let m=o??document.head;return m.appendChild(h),h.sheet&&h.sheet.insertRule(`
|
|
10
10
|
[data-motion-pop-id="${n}"] {
|
|
11
11
|
position: absolute !important;
|
|
12
12
|
width: ${l}px !important;
|