@deslop/deploy 0.1.1335 → 0.1.1342
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/client/assets/{(home)-BDvqkF2z.js → (home)-CZRd3iM_.js} +17 -17
- package/dist/client/assets/{dist-BlsWFKii.js → dist-BdaiJgHG.js} +1 -1
- package/dist/client/assets/dropdown-menu-Bidg_ly-.js +1 -0
- package/dist/client/assets/effect-DkzSA5-A.js +17 -0
- package/dist/client/assets/fleet-CZbYVlm8.js +2 -0
- package/dist/client/assets/index-q430L-8Q.js +2 -0
- package/dist/client/assets/{react-BPjvcVqE.js → react-DLGSahv8.js} +3 -3
- package/dist/client/assets/result-error-Ddsi7au1.js +1 -0
- package/dist/client/assets/route-H03JopqM.js +1 -0
- package/dist/client/index.html +8 -5
- package/dist/server.js +45 -31
- package/package.json +2 -2
- package/dist/client/assets/dropdown-menu-CYOanbDJ.js +0 -1
- package/dist/client/assets/effect-DgUBIlsv.js +0 -17
- package/dist/client/assets/index-CTldnN8v.js +0 -2
- package/dist/client/assets/result-error-d7x0fvzb.js +0 -1
- package/dist/client/assets/route-BIbCPeuW.js +0 -1
- package/dist/client/assets/schema-D8D8ZFxG.js +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,t}from"./rolldown-runtime-XKyaHtl9.js";import{o as n}from"./react-BPjvcVqE.js";var r=t((e=>{var t=n();function r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var i=typeof Object.is==`function`?Object.is:r,a=t.useState,o=t.useEffect,s=t.useLayoutEffect,c=t.useDebugValue;function l(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),i=r[0].inst,l=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&l({inst:i})},[e,n,t]),o(function(){return u(i)&&l({inst:i}),e(function(){u(i)&&l({inst:i})})},[e]),c(n),n}function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch{return!0}}function d(e,t){return t()}var f=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?d:l;e.useSyncExternalStore=t.useSyncExternalStore===void 0?f:t.useSyncExternalStore})),i=t(((e,t)=>{t.exports=r()})),a=t((e=>{var t=n(),r=i();function a(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var o=typeof Object.is==`function`?Object.is:a,s=r.useSyncExternalStore,c=t.useRef,l=t.useEffect,u=t.useMemo,d=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var a=c(null);if(a.current===null){var f={hasValue:!1,value:null};a.current=f}else f=a.current;a=u(function(){function e(e){if(!a){if(a=!0,s=e,e=r(e),i!==void 0&&f.hasValue){var t=f.value;if(i(t,e))return c=t}return c=e}if(t=c,o(s,e))return t;var n=r(e);return i!==void 0&&i(t,n)?(s=e,t):(s=e,c=n)}var a=!1,s,c,l=n===void 0?null:n;return[function(){return e(t())},l===null?void 0:function(){return e(l())}]},[t,n,r,i]);var p=s(e,a[0],a[1]);return l(function(){f.hasValue=!0,f.value=p},[p]),d(p),p}})),o=t(((e,t)=>{t.exports=a()})),s=e(n(),1),c=(0,s.createContext)({color:`currentColor`,size:`1em`,weight:`regular`,mirrored:!1}),l=s.forwardRef((e,t)=>{let{alt:n,color:r,size:i,weight:a,mirrored:o,children:l,weights:u,...d}=e,{color:f=`currentColor`,size:p,weight:m=`regular`,mirrored:h=!1,...g}=s.useContext(c);return s.createElement(`svg`,{ref:t,xmlns:`http://www.w3.org/2000/svg`,width:i??p,height:i??p,fill:r??f,viewBox:`0 0 256 256`,transform:o||h?`scale(-1, 1)`:void 0,...g,...d},!!n&&s.createElement(`title`,null,n),l,u.get(a??m))});l.displayName=`IconBase`;function u(){return typeof window<`u`}function d(e){return m(e)?(e.nodeName||``).toLowerCase():`#document`}function f(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function p(e){return((m(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function m(e){return u()?e instanceof Node||e instanceof f(e).Node:!1}function h(e){return u()?e instanceof Element||e instanceof f(e).Element:!1}function g(e){return u()?e instanceof HTMLElement||e instanceof f(e).HTMLElement:!1}function _(e){return!u()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof f(e).ShadowRoot}function v(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=T(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function y(e){return/^(table|td|th)$/.test(d(e))}function b(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var ee=/transform|translate|scale|rotate|perspective|filter/,te=/paint|layout|strict|content/,x=e=>!!e&&e!==`none`,ne;function re(e){let t=h(e)?T(e):e;return x(t.transform)||x(t.translate)||x(t.scale)||x(t.rotate)||x(t.perspective)||!C()&&(x(t.backdropFilter)||x(t.filter))||ee.test(t.willChange||``)||te.test(t.contain||``)}function S(e){let t=ie(e);for(;g(t)&&!w(t);){if(re(t))return t;if(b(t))return null;t=ie(t)}return null}function C(){return ne??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),ne}function w(e){return/^(html|body|#document)$/.test(d(e))}function T(e){return f(e).getComputedStyle(e)}function E(e){return h(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ie(e){if(d(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||_(e)&&e.host||p(e);return _(t)?t.host:t}function ae(e){let t=ie(e);return w(t)?(e.ownerDocument||e).body:g(t)&&v(t)?t:ae(t)}function oe(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=ae(e),i=r===e.ownerDocument?.body,a=f(r);if(i){let e=D(a);return t.concat(a,a.visualViewport||[],v(r)?r:[],e&&n?oe(e):[])}return t.concat(r,oe(r,[],n))}function D(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var O={...s},k={};function A(e,t){let n=s.useRef(k);return n.current===k&&(n.current=e(t)),n}var j=O.useInsertionEffect,M=j&&j!==O.useLayoutEffect?j:e=>e();function N(e){let t=A(se).current;return t.next=e,M(t.effect),t.trampoline}function se(){let e={next:void 0,callback:ce,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function ce(){}var le=typeof document<`u`?s.useLayoutEffect:()=>{};function P(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}var ue={};function F(e,t,n,r,i){if(!n&&!r&&!i&&!e)return I(t);let a=I(e);return t&&(a=L(a,t)),n&&(a=L(a,n)),r&&(a=L(a,r)),i&&(a=L(a,i)),a}function de(e){if(e.length===0)return ue;if(e.length===1)return I(e[0]);let t=I(e[0]);for(let n=1;n<e.length;n+=1)t=L(t,e[n]);return t}function I(e){return he(e)?{...e(ue)}:fe(e)}function L(e,t){return he(t)?t(e):pe(e,t)}function fe(e){let t={...e};for(let e in t){let n=t[e];me(e,n)&&(t[e]=_e(n))}return t}function pe(e,t){if(!t)return e;for(let n in t){let r=t[n];switch(n){case`style`:e[n]=P(e.style,r);break;case`className`:e[n]=ve(e.className,r);break;default:e[n]=me(n,r)?ge(e[n],r):r}}return e}function me(e,t){let n=e.charCodeAt(0),r=e.charCodeAt(1),i=e.charCodeAt(2);return n===111&&r===110&&i>=65&&i<=90&&(typeof t==`function`||t===void 0)}function he(e){return typeof e==`function`}function ge(e,t){return t?e?(...n)=>{let r=n[0];if(ye(r)){let i=r;R(i);let a=t(...n);return i.baseUIHandlerPrevented||e?.(...n),a}let i=t(...n);return e?.(...n),i}:_e(t):e}function _e(e){return e&&((...t)=>{let n=t[0];return ye(n)&&R(n),e(...t)})}function R(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function ve(e,t){return t?e?t+` `+e:t:e}function ye(e){return typeof e==`object`&&!!e&&`nativeEvent`in e}function be(e,t){return function(n,...r){let i=new URL(e);return i.searchParams.set(`code`,n.toString()),r.forEach(e=>i.searchParams.append(`args[]`,e)),`${t} error #${n}; visit ${i} for the full message.`}}var xe=be(`https://base-ui.com/production-error`,`Base UI`),Se=s.createContext(void 0);function Ce(e=!1){let t=s.useContext(Se);if(t===void 0&&!e)throw Error(xe(16));return t}function we(e){let{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:i=0,isNativeButton:a}=e,o=r&&t!==!1,c=r&&t===!1;return{props:s.useMemo(()=>{let e={onKeyDown(e){n&&t&&e.key!==`Tab`&&e.preventDefault()}};return r||(e.tabIndex=i,!a&&n&&(e.tabIndex=t?i:-1)),(a&&(t||o)||!a&&n)&&(e[`aria-disabled`]=n),a&&(!t||c)&&(e.disabled=n),e},[r,n,t,o,c,a,i])}}function Te(e,t,{detail:n=0,pointerType:r=``}={}){e.dispatchEvent(new(f(e)).PointerEvent(`click`,{bubbles:!0,cancelable:!0,composed:!0,detail:n,pointerType:r,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,altKey:t.altKey,metaKey:t.metaKey}))}function Ee(e={}){let{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:i=!0,composite:a}=e,o=s.useRef(null),c=Ce(!0),l=a??c!==void 0,{props:u}=we({focusableWhenDisabled:n,disabled:t,composite:l,tabIndex:r,isNativeButton:i}),d=s.useCallback(()=>{let e=o.current;De(e)&&l&&t&&u.disabled===void 0&&e.disabled&&(e.disabled=!1)},[t,u.disabled,l]);return le(d,[d]),{getButtonProps:s.useCallback((e={})=>{let{onClick:n,onMouseDown:r,onKeyUp:a,onKeyDown:o,onPointerDown:s,...c}=e;return F({onClick(e){t?e.preventDefault():n?.(e)},onMouseDown(e){t||r?.(e)},onKeyDown(e){if(t||(R(e),o?.(e),e.baseUIHandlerPrevented))return;let n=e.target===e.currentTarget,r=e.currentTarget,a=De(r),s=!i&&Oe(r),c=n&&(i?a:!s),u=e.key===`Enter`,d=e.key===` `,f=r.getAttribute(`role`),p=f?.startsWith(`menuitem`)||f===`option`||f===`gridcell`;if(n&&l&&d){if(e.defaultPrevented&&p)return;e.preventDefault(),(!i||a)&&(e.preventBaseUIHandler(),Te(r,e))}else!c||i||!d&&!u?n&&s&&d&&e.preventDefault():e.defaultPrevented||(e.preventDefault(),u&&(e.preventBaseUIHandler(),Te(r,e)))},onKeyUp(e){t||(R(e),a?.(e),e.target===e.currentTarget&&i&&l&&De(e.currentTarget)&&e.key===` `?e.preventDefault():e.baseUIHandlerPrevented||e.target!==e.currentTarget||i||l||e.defaultPrevented||e.key!==` `||(e.preventBaseUIHandler(),Te(e.currentTarget,e)))},onPointerDown(e){t?e.preventDefault():s?.(e)}},i?{type:`button`}:{role:`button`},u,c)},[t,u,l,i]),buttonRef:N(e=>{o.current=e,d()})}}function De(e){return g(e)&&e.tagName===`BUTTON`}function Oe(e){return g(e)&&e.tagName===`A`&&!!e.href}function ke(e,t,n,r){let i=A(je).current;return Me(i,e,t,n,r)&&Pe(i,[e,t,n,r]),i.callback}function Ae(e){let t=A(je).current;return Ne(t,e)&&Pe(t,e),t.callback}function je(){return{callback:null,cleanup:null,refs:[]}}function Me(e,t,n,r,i){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==i}function Ne(e,t){return e.refs.length!==t.length||e.refs.some((e,n)=>e!==t[n])}function Pe(e,t){e.refs=t,e.callback=t.every(e=>e==null)?null:n=>{if(e.cleanup&&=(e.cleanup(),null),n!=null){let r=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){let i=t[e];if(i!=null)switch(typeof i){case`function`:{let t=i(n);typeof t==`function`&&(r[e]=t);break}case`object`:i.current=n}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){let n=t[e];if(n!=null)switch(typeof n){case`function`:{let t=r[e];typeof t==`function`?t():n(null);break}case`object`:n.current=null}}}}}}var Fe=19;function Ie(e){return Fe>=e}function Le(e){if(!s.isValidElement(e))return null;let t=e,n=t.props;return(Ie(19)?n?.ref:t.ref)??null}function Re(){}var ze=Object.freeze([]),z=Object.freeze({});function Be(e,t){let n={};for(let r in e){let i=e[r];if(t?.hasOwnProperty(r)){let e=t[r](i);e!=null&&Object.assign(n,e)}else i===!0?n[`data-${r.toLowerCase()}`]=``:i&&(n[`data-${r.toLowerCase()}`]=i.toString())}return n}function Ve(e,t){return typeof e==`function`?e(t):e}function He(e,t){return typeof e==`function`?e(t):e}function Ue(e,t,n={}){let r=t.render;n.enabled!==!1&&(r=Ke(r));let i=We(t,n,r);if(n.enabled===!1)return null;let a=n.state??z;return qe(e,r,i,a)}function We(e,t,n){let{className:r,style:i}=e,{state:a=z,ref:o,props:s,stateAttributesMapping:c,enabled:l=!0}=t,u=l?Ve(r,a):void 0,d=l?He(i,a):void 0,f=l?Be(a,c):z,p=l&&s?Ge(s):void 0,m=l?P(f,p)??{}:z;return typeof document<`u`&&(l?m.ref=Array.isArray(o)?Ae([m.ref,Le(n),...o]):ke(m.ref,Le(n),o):ke(null,null)),l?(u!==void 0&&(m.className=ve(m.className,u)),d!==void 0&&(m.style=P(m.style,d)),m):z}function Ge(e){return Array.isArray(e)?de(e):F(void 0,e)}var B=Symbol.for(`react.lazy`);function Ke(e){if(e?.$$typeof!==B)return e;let t=s.Children.toArray(e)[0];return s.isValidElement(t)?t:e}function qe(e,t,n,r){if(t){if(typeof t==`function`)return t(n,r);let e=F(n,t.props);return e.ref=n.ref,s.cloneElement(t,e)}return Je(e,n)}function Je(e,t){return e===`button`?(0,s.createElement)(`button`,{type:`button`,...t,key:t.key}):e===`img`?(0,s.createElement)(`img`,{alt:``,...t,key:t.key}):s.createElement(e,t)}var V=48,H=(e,t=0)=>{let n=new Int32Array(e.length);for(let r=0;r<e.length;r++)n[r]=e.charCodeAt(r)-V-t;return n},U=e=>{let t=new Int32Array(e.length+1);for(let n=0;n<e.length;n++)t[n+1]=t[n]+e[n];return t},W=e=>{let t=new Int32Array(e.length),n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r)-V;n+=i>>>1^-(i&1),t[r]=n}return t},Ye=384,Xe=[],G=U(H(`E0500002005282000000002000150000020021820000011200000003022202000300004200120000200420001200021200301200010400162000010000220021010:2192001200220012000220012000200200200400010200040000000000400200108200110100000022010313000162002000020020012020080213000228200000000082000000000120002000120020020040101020300130001001010`)),Ze=U(H(`:11111111211111119311546544411119731869:671397415686432441111111111161114151214313433415:78311132233313187211117221449443411141111151152226611131111112212518142224214215421421542142424242516171151615616347111111111197911327451111111111111111111113134714133513411111311111111111111111111112444411111342312715245411117:3`)),Qe=`@containerabcdefghinlmoprstunderlineviawzccentlignnimatespectuto-colsrowsaglorightnessckdrop-sisbcontrastfiltergrayscalehue-rotateinvertopacityslurrightnessaturateepia-coniclinearpositionradialsizeockurrderttom-belrstxyespacing-xyaretoursorlnt-umnsendspantartainentrasteividerop-shadowurationcorationlay-xyasendillexontromlter-featuresstretchapr-xyayscaleidow-colsrowsue-rotatedentlinesetvert-beringsxyeshadoweiadingftnest-clamp-imageabein-lrstxyskx--b-coniclpositionrsizet-x-y-fromto-fromto-inearfromto-fromto-adialfromto-fromtofromtofromtofromtoblockhinlinew-screenesblockhinlinewbjectpacityrutlinederigin-offsetbelrstxyesrspective-originaceholderioghtng-offsettateundedw-xyz-belrstlreseslr-endspantartaturatecepiahizekewpace-taleroll-xyz-barmpbelrstxyesbelrstxyes-thumbrackadowrink-xyxyartrokeabextora-shadowpckingnsformitionlate-xyz-offsetill-changeoom`,K=(()=>{let e=G.length-1,t=new Int32Array(e);for(let n=e-1;n>=0;n--){let e=1,r=n+1;for(let i=G[n];i<G[n+1];i++)e+=t[r],r+=t[r];t[n]=e}let n=new Int32Array(G[e]),r=0;for(let i=0;i<e;i++){let e=i+1;for(let a=G[i];a<G[i+1];a++)n[r++]=e,e+=t[e]}return n})(),$e=H(`02000000000000900<=0?000B000F00F00ŏI0J0LNPRTVX0000]_a00000000000000000000000rst0000000zŏ00000000000
ŏ0000000ŏ00000000000000000000000000000000000000000000000000000000000000Ë000000000000000000000Þ000000000000000000ð0000000ø0ùúûüýþÿĀāĂ㥹Ć000000000000000000000000000000000000000000ħ0ĨĪ00000000000000000000ļĽ00000Ŭ000000`,1),et=U(H(`123333359346463635126536711576`)),tt=H(`93203242332583253248325D>E?F@03263243255B:032523853:0325B:8GA032542H<C=12727B:0328432553;D>E?3257D>032585:0325B:;0328B:032`),q=H(`012113445661666666789111:5;;;;;;;;444;;;:62999<1161=62>>?61:21@ABCD4446996:64E:::;:?::64:F114GHHIHHHHIHH1HH1HH1HHHHHH::EEJ4444::EE4444441691;644444114244444:;K6666555555555555555999666664444444444444444444444226?6:66644L9M?D:111::::6DE199`),nt=W(`020200202020020020020020020020200200200200200200200002020202001003040106000200200200200200200200200200200200200200200200200200200200200200200200200200200200020020020020020020002020200202002002002002002002002002002020002002020020200220200200200200200200200200200200020020020000200020002000200200200020020020002000200200200020020202002020202000200200020022000200200020020002002000200220002002000200W0Z00020020002002020002002000200g0j0002002000200200020020002002000200200020020002000200002000002002002002002000200020000200002002002002002002002020020020200200200200200200200200202020020020020020020020020002002002020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020002002002002002002000200200200200200200200200200020202020002000200020002002002002000020200200`),rt=(()=>{let e=new Int32Array(319).fill(-1),t=W(`02422242:222222242224222242442222222422222244442242226224222426222422442462222422622222222626222462242622422622422424242422222222422222222242422222222222222222622442224222222222222224424442262222222222222222222226224222424242422224422422422222`),n=W(`02222222222222222222202222222222222222222222221422222222222222222222222222222222222Y\\222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222221422222222222222222222222222222222222222Ŀł222222222222222222`);for(let r=0;r<t.length;r++)e[t[r]]=n[r];return e})(),it=`container |break-after- all auto avoid avoid-page column left page right|break-before- all auto avoid avoid-page column left page right|break-inside-a uto void void-column void-page|box-decoration- clone slice|box- border content| contents flow-root hidden table table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group| not-sr-only sr-only|float- end left none right start|clear- both end left none right start|isolat e ion-auto|overflow- auto clip hidden scroll visible|overflow-x- auto clip hidden scroll visible|overflow-y- auto clip hidden scroll visible|overscroll- auto contain none|overscroll-x- auto contain none|overscroll-y- auto contain none| absolute fixed relative static sticky| collapse invisible visible|justify- around baseline between center center-safe end end-safe evenly normal start stretch|justify-items- center center-safe end end-safe normal start stretch|justify-self- auto center center-safe end end-safe start stretch|items- baseline baseline-last center center-safe end end-safe start stretch|self- auto baseline baseline-last center center-safe end end-safe start stretch|place-content- around baseline between center center-safe end end-safe evenly start stretch|place-items- baseline center center-safe end end-safe start stretch|place-self- auto center center-safe end end-safe start stretch| antialiased subpixel-antialiased| italic not-italic|normal-nums |ordinal |slashed-zero | lining-nums oldstyle-nums| proportional-nums tabular-nums| diagonal-fractions stacked-fractions| no-underline overline| capitalize lowercase normal-case uppercase|truncate |whitespace- break-spaces normal nowrap pre pre-line pre-wrap|break- all keep normal words|wrap- anywhere break-word normal|hyphens- auto manual none|mix-blend- color color-burn color-dodge darken difference exclusion hard-light hue lighten luminosity multiply normal overlay plus-darker plus-lighter saturation screen soft-light|table- auto fixed|caption- bottom top|backface- hidden visible|appearance- auto none|scheme- dark light light-dark normal only-dark only-light|field-sizing- content fixed|pointer-events- auto none|resize -none -x -y|snap- align-none center end start|snap- always normal|snap- both none x y|snap- mandatory proximity|touch- auto manipulation none|touch-pan- left right x|touch-pan- down up y|touch-pinch-zoom |select- all auto none text|forced-color-adjust- auto none| normal size| baseline bottom middle sub super text-bottom text-top top| bounce none ping pulse spin| auto square video| auto fr max min px|none | auto full px| fixed local scroll|clip- border content padding text|origin- border content padding| bottom bottom-left bottom-right center left left-bottom left-top right right-bottom right-top top top-left top-right| no-repeat repeat repeat-round repeat-space repeat-x repeat-y| auto contain cover|blend- color color-burn color-dodge darken difference exclusion hard-light hue lighten luminosity multiply normal overlay saturation screen soft-light|to- b bl br l r t tl tr| auto dvh fit full lh lvh max min px screen svh| dashed dotted double hidden none solid| collapse separate|px |auto |full | content none strict| inline-size size|layout |paint |style | around baseline between center center-safe end end-safe evenly normal start stretch| alias all-scroll auto cell col-resize context-menu copy crosshair default e-resize ew-resize grab grabbing help move n-resize ne-resize nesw-resize no-drop none not-allowed ns-resize nw-resize nwse-resize pointer progress row-resize s-resize se-resize sw-resize text vertical-text w-resize wait zoom-in zoom-out| dashed dotted double solid wavy| auto from-font|reverse |initial | in in-out initial linear out| col col-reverse row row-reverse| nowrap wrap wrap-reverse| auto initial none| black bold extrabold extralight light medium normal semibold thin| condensed expanded extra-condensed extra-expanded normal semi-condensed semi-expanded ultra-condensed ultra-expanded|flow- col col-dense dense row row-dense| none subgrid| auto dvh dvw fit full lh lvh lvw max min px screen svh svw| block flex grid table| auto dvw fit full lvw max min px screen svw| loose none normal px relaxed snug tight|through |item | inside outside| decimal disc none| auto px| clip-border clip-content clip-fill clip-padding clip-stroke clip-view no-clip| add exclude intersect subtract| alpha luminance match|origin- border content fill padding stroke view|type- alpha luminance| circle ellipse| closest-corner closest-side farthest-corner farthest-side|at- bottom bottom-left bottom-right center left left-bottom left-top right right-bottom right-top top top-left top-right| dvh fit full lh lvh max min none px screen svh| auto dvh dvw fit full lh lvh lvw max min none px screen svh svw| dvw fit full lvw max min none px screen svw| auto dvh dvw fit full lvh lvw max min none prose px svh svw| auto dvh dvw fit full lvh lvw max min none px screen svh svw| contain cover fill none scale-down| first last none| distant dramatic midrange near none normal|inset | full none|3d | auto smooth|gutter- auto both stable| auto none thin| inner none| auto dvh dvw fit full lvh lvw max min px svh svw|base | center end justify left right start| clip ellipsis| balance nowrap pretty wrap| normal tight tighter wide wider widest| cpu gpu none| 3d flat| all colors none opacity shadow transform| discrete normal| full px| auto dvh dvw fit full lvh lvw max min px screen svh svw| auto contents scroll transform`.split(`|`).map(e=>{let t=e.split(` `),n=t.shift();for(let e=0;e<t.length;e++)t[e]=n+t[e];return t}),J=W(`0000000000000000000000000000000000000000000000000000000000000262242:6@200000006:240B428:4422400002046044222426220026642642462026224222824220022400000000\\00N222422242222222224062242222222422226264222422222222222222442804222422222222222222222222220<4<0204260002444020204224422`),Y=W(`ɠ222222222222222222222222222222222222222222222222222222222222˕4222226>6ʰ22ʷʺʷʺʷ42ʴ2ʓ22>621422ɶ222ɹɼɷɺɷɺ22ɱ42222ɨ2ɧ26622ɘɓ244ƸƵ222]d24242ǖǓƚÄȫ2263ȨȥȨ2222222ǣ222222222222222222ǂƽ2ƾƵ2222222422222ƜƑ22222222222222222222144Ŧţ22Ţş222222222222222222222ĸ2ı68ĦģĦɡŰ4Ġ«®ĝ822ĔđĔ2ē2222622`),at=W(`02222222222222222222222222222222222222222222222222222222222222222202021422222222CF2200GJ021042222WZ222IL0ad2c10h2222U00X202[^2w0000120zy|}22
:22z22222222222G000qOVI00000{2<40000@00000G¦§000ª00000000000000021K¬«00®000000000000000000000222HGH_1¸222½2¾2222ÇÊ000°2±`),X=new Int32Array(987),ot=new Int32Array(987),st=new Int32Array(987),Z=``,ct=new Int32Array(1022);{let e=new Map,t=0,n=0;for(let r=0;r<J.length;r++)for(let i of it[at[r]]){let a=e.get(i);a===void 0&&(a=t++,e.set(i,a),ct[a*2]=Z.length,ct[a*2+1]=i.length,Z+=i),X[n]=J[r],ot[n]=Y[r],st[n]=a,n++}}var lt=W(`0b2N:222@R>F@286¦2@H2D266226FB22B2>BD\\6N22222Z222D222p`),ut=U(H(`1::24444432:442:44:44>222222:44:4421322511111311111114`)),dt=W(`24A;33N=C@H4A;33N=C@<27;83:;8393NQ:3NQʰ222ˉºŴŽ2R2=18cƴÅŇ=cĞÛC1ƈǝȈ:ħ25=11D3A@4=<1;1DEr25;11B3?<6;:371BCn9@7=<8192>2E121@9@EHE@9>2T25511<398454131<=V25511<398454131<=ƧNž2Đå242L222290000f22500ɛ000ǘ222`),ft=H(`ij`),pt=H(``),mt=H(`1`),ht={GROUP_COUNT:Ye,customValidatorNames:Xe,edgeStart:G,labelStart:Ze,labelText:Qe,edgeTarget:K,nodeGroup:$e,nodeVlist:rt,vlistPat:et,vlistOps:tt,vlistRef:q,vlistGroup:nt,litAnchor:X,litGroup:ot,litPool:st,poolOffsets:ct,poolText:Z,adjGid:lt,adjStart:ut,adjTgt:dt,patGid:ft,patTgt:pt,postfixLookupGroups:mt,orderSensitiveModifiers:`* ** after backdrop before details-content file first-letter first-line marker placeholder selection`},gt=`line`in Error(),Q=-1,$=-1,_t=(e,t,n)=>{let r=2166136261;for(let i=t;i<n;i++)r=Math.imul(r^e.charCodeAt(i),16777619);return r},vt=(e,t,n)=>{let r=n-t,i=Math.imul(r,2654435761)^e.charCodeAt(t);if(r>3){let a=r>>2,o=r>>1;i=Math.imul(i^e.charCodeAt(t+1)<<8^e.charCodeAt(t+2)<<16^e.charCodeAt(t+a),2246822507),i=Math.imul(i^e.charCodeAt(t+o)<<8^e.charCodeAt(t+o+a)<<16^e.charCodeAt(n-3),3266489909),i^=e.charCodeAt(n-2)<<8^e.charCodeAt(n-1)<<16;for(let r=t+3,a=n-4;r<t+8&&r<a;r++,a--)i=Math.imul(i^e.charCodeAt(r)^e.charCodeAt(a)<<8,16777619)}return i^i>>>15},yt=(e,t,n={})=>{let{GROUP_COUNT:r,edgeStart:i,labelStart:a,labelText:o,edgeTarget:s,nodeGroup:c,nodeVlist:l,vlistPat:u,vlistOps:d,vlistRef:f,vlistGroup:p,litAnchor:m,litGroup:h,litPool:g,poolOffsets:_,poolText:v,adjGid:y,adjStart:b,adjTgt:ee,patGid:te,patTgt:x,postfixLookupGroups:ne,customValidatorNames:re,orderSensitiveModifiers:S}=e,C=new Int32Array(r).fill(-1);for(let e=0;e<y.length;e++)C[y[e]]=e;let w=0;for(let e=0;e+1<b.length;e++){let t=b[e+1]-b[e];t>w&&(w=t)}let T=32;for(;T<2*(1+w+te.length);)T<<=1;let E=new Int32Array(f.length+1);for(let e=0;e<f.length;e++)E[e+1]=E[e]+u[f[e]+1]-u[f[e]];let ie=new Uint8Array(r);for(let e=0;e<ne.length;e++)ie[ne[e]]=1;let ae=i.length-1,oe=new Uint8Array(ae),D=0,O=!0;for(let e=0;e<m.length;e++){oe[m[e]]=1;let t=_[g[e]*2+1];t>D&&(D=t);let n=v.charCodeAt(_[g[e]*2]);(n===91||n===40)&&(O=!1)}let k=1;for(;k<m.length*2;)k<<=1;let A=new Int32Array(k).fill(-1);for(let e=0;e<m.length;e++){let t=_[g[e]*2],n=(_t(v,t,t+_[g[e]*2+1])^Math.imul(m[e],2654435761)|0)&k-1;for(;A[n]!==-1;)n=n+1&k-1;A[n]=e}let j=(e,t,n,r)=>{let i=(_t(t,n,r)^Math.imul(e,2654435761)|0)&k-1,a=r-n;for(;;){let r=A[i];if(r===-1)return-1;if(m[r]===e&&_[g[r]*2+1]===a){let e=_[g[r]*2],i=!0;for(let r=0;r<a;r++)if(v.charCodeAt(e+r)!==t.charCodeAt(n+r)){i=!1;break}if(i)return h[r]}i=i+1&k-1}},M=n.cacheSize??8192,N=n.prefix??e.prefix??``,se=N===``?``:N+`:`,ce=se.length,le=(re??[]).map(e=>{let n=t&&t[e];if(!n)throw Error(`cn: missing validator `+e);return n}),P=/\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$/,ue=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,F=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,de=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,I=0,L=-1,fe=-1,pe=-1,me=-1,he=e=>e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||e===95,ge=e=>/\s/.test(String.fromCharCode(e)),_e=(e,t,n)=>{if(I=0,L=-1,n-t<3)return;let r=e.charCodeAt(t),i=e.charCodeAt(n-1);if(r===91&&i===93)I=1;else if(r===40&&i===41)I=2;else return;pe=t+1,me=n-1;let a=t+1;if(he(e.charCodeAt(a))){for(a++;a<n-1;){let t=e.charCodeAt(a);if(!he(t)&&t!==45)break;a++}a<n-2&&e.charCodeAt(a)===58&&(L=t+1,fe=a,pe=a+1)}},R=(e,t,n,r)=>{if(n-t!==r.length)return!1;for(let n=0;n<r.length;n++)if(e.charCodeAt(t+n)!==r.charCodeAt(n))return!1;return!0},ve=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ye=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,be=e=>!!e&&!Number.isNaN(Number(e)),xe=(e,t,n)=>{if(n-t<11||!R(e,t,t+10,`@container`))return!1;if(e.charCodeAt(t+10)===47)return n-t>=12;let r=e.charCodeAt(t+11);return r===115&&n-t>=17&&R(e,t+10,t+16,`-size/`)||r===110&&n-t>=19&&R(e,t+10,t+18,`-normal/`)},Se=[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2],Ce=`length|number|number weight|family-name|position percentage|length size bg-size|image url|shadow|length|family-name|position percentage|length size bg-size|image url|shadow|number weight`.split(`|`).map(e=>e.split(` `)),we=[2,3,1,0,0,0,4,5,0,0,0,0,0,1,1],Te=(e,t,n,r)=>{if(e>=10){if(e>=25)return le[e-25](t.slice(n,r));let i=e-10;if(I!==Se[i])return!1;if(L>=0){for(let e of Ce[i])if(R(t,L,fe,e))return!0;return!1}switch(we[i]){case 0:return!1;case 1:return!0;case 2:{let e=t.slice(pe,me);return P.test(e)&&!ue.test(e)}case 3:return be(t.slice(pe,me));case 4:return de.test(t.slice(pe,me));default:return F.test(t.slice(pe,me))}}switch(e){case 0:return!0;case 1:return I===0;case 2:return I===1;case 3:return I===2;case 4:return ve.test(t.slice(n,r));case 5:return be(t.slice(n,r));case 6:{let e=t.slice(n,r);return!!e&&Number.isInteger(Number(e))}case 7:return r>n&&t.charCodeAt(r-1)===37&&be(t.slice(n,r-1));case 8:return ye.test(t.slice(n,r));default:return xe(t,n,r)}},Ee=new Set(typeof S==`string`?S.split(` `):S),De=(e,t,n,r,i,a)=>{let o=_t(t,n,r)^(i?2654435769:0),s=e.get(o);if(s!==void 0)outer:for(let e=0;e<s.length;e++){let a=s[e];if(a.imp===i&&a.k.length===r-n){for(let e=0;e<a.k.length;e++)if(a.k.charCodeAt(e)!==t.charCodeAt(n+e))continue outer;return a.id}}else e.set(o,s=[]);let c=t.slice(n,r),l=a(c);return s.push({k:c,imp:i,id:l}),l},Oe=new Map,ke=new Map,Ae=2,je=4096,Me=(e,t)=>{let n=[],r=0,i=0,a=0;for(let t=0;t<e.length;t++){let o=e.charCodeAt(t);r===0&&i===0&&o===58?(n.push(e.slice(a,t)),a=t+1):o===91?r++:o===93?r--:o===40?i++:o===41&&i--}n.push(e.slice(a));let o=n[0];if(n.length>1){let e=[],t=[];for(let r of n)r.charCodeAt(0)===91||Ee.has(r)?(t.length&&(e.push(...t.sort()),t=[]),e.push(r)):t.push(r);t.length&&e.push(...t.sort()),o=e.join(`:`)}let s=t?o+` !`:o,c=ke.get(s);return c===void 0&&ke.set(s,c=Ae++),c},Ne=new Map,Pe=r,Fe=r+4096,Ie=()=>Pe++,Le=2097152,Re=8192,ze=new Int32Array(Re),z=Array(Re).fill(null),Be=new Int32Array(Re),Ve=new Int32Array(Re),He=new Uint8Array(Re),Ue=0,We=(e,t,n,r,i,a,o,s)=>{let c=e;if(z[e]!==null){if(z[e|1]===null)c=e|1;else if(!(Ue++&3))c=e|Ue>>2&1;else return}z[c]=t.slice(n,r),ze[c]=i,Be[c]=a,Ve[c]=o,He[c]=s},Ge=()=>z.fill(null),B=256,Ke=[new Int32Array(B),new Int32Array(B),new Int32Array(B),new Int32Array(B)],[qe,Je,V,H]=Ke,U=new Uint8Array(B),W=new Uint8Array(B),Ye=()=>{B*=2,Ke=Ke.map(e=>{let t=new Int32Array(B);return t.set(e),t}),[qe,Je,V,H]=Ke;let e=new Uint8Array(B);e.set(U),U=e,W=new Uint8Array(B)},Xe=64,G=new Int32Array(Xe),Ze=new Int32Array(Xe),Qe=new Int32Array(r),K=2048,$e=21,et=new Float64Array(K),tt=new Int32Array(K),q=0,nt=(e,t)=>{if(e===0&&t<r)return Qe[t]===q?1:(Qe[t]=q,0);let n=e*2097152+t+1,i=Math.imul(n,2654435761)>>>$e;for(;tt[i]===q;){if(et[i]===n)return 1;i=i+1&K-1}return et[i]=n,tt[i]=q,0},rt=(e,t,n,r,i)=>{if(n-t>=2&&e.charCodeAt(t)===91&&e.charCodeAt(n-1)===93){let r=-1;for(let i=t+1;i<n-1;i++)if(e.charCodeAt(i)===58){r=i;break}return r===-1||r===t+1?Q:De(Ne,e,t+1,r,0,Ie)}if(r>=0&&c[r]>=0)return c[r];for(let t=i-1;t>=0;t--){let r=Ze[t];if(r>n)continue;let i=G[t],a=n-r;if(oe[i]===1&&a>0&&a<=D){let t=e.charCodeAt(r);if(O===!1||t!==91&&t!==40){let t=j(i,e,r,n);if(t>=0)return t}}let o=l[i];if(o<0)continue;let s=f[o],c=u[s],m=u[s+1];if(c===m)continue;_e(e,r,n);let h=E[o]-c;for(let t=c;t<m;t++)if(Te(d[t],e,r,n))return p[h+t]}return Q},it=e=>{let t=e.length,n=0,c=0,u=!1;(Ae>je||Oe.size>je)&&(Oe=new Map,ke=new Map,Ae=2,Ge()),Pe>Fe&&(Ne=new Map,Pe=r,Ge());let d=0;for(;d<t;){let f=e.charCodeAt(d);if(f===32||f>=9&&f<=13||f>=160&&ge(f)){f!==32&&(u=!0),d++;continue}let p=d,m=0;for(;d<t;){if(f=e.charCodeAt(d),f<=32){if(f===32)break;if(f>=9&&f<=13){u=!0;break}}else if(f>=160&&ge(f)){u=!0;break}m=Math.imul(m^f,16777619),d++}let h=d,g=h-p;n===B&&Ye();let _=n++;qe[_]=p,Je[_]=h,c+=g,m^=Math.imul(g,2654435761);let v=m^m>>>15,y=v&8190;{let t=-1;if(ze[y]===v&&z[y]!==null&&z[y].length===g?t=y:ze[y|1]===v&&z[y|1]!==null&&z[y|1].length===g&&(t=y|1),t>=0){let n=z[t],r=!0;for(let t=0;t<g;t++)if(n.charCodeAt(t)!==e.charCodeAt(p+t)){r=!1;break}if(r){V[_]=Be[t],H[_]=Ve[t],U[_]=He[t];continue}}}let b=p;if(ce!==0){if(h-p<=ce||!e.startsWith(se,p)){V[_]=Q,We(y,e,p,h,v,Q,0,0);continue}b=p+ce}let ee=0,te=0,x=-1,ne=-1;for(let t=b;t<h;t++){let n=e.charCodeAt(t);if(ee===0&&te===0){if(n===58){x=t;continue}if(n===47){ne=t;continue}}n===91?ee++:n===93?ee--:n===40?te++:n===41&&te--}let re=x>=b?x+1:b,S=re,C=h,w=!1,T=0;C>S&&e.charCodeAt(C-1)===33?(w=!0,C--):C>S&&e.charCodeAt(S)===33&&(w=!0,S++,T=1);let E=-1;ne>re&&(E=ne+T,E>=C&&(E=-1));let ae=S;C-S>1&&e.charCodeAt(S)===45&&(ae=S+1);let D=0,O=0,k=0,A=-1,j=0;(l[0]>=0||oe[0]===1)&&(G[0]=0,Ze[0]=ae,j=1);let M=$,N=0;for(let t=ae;t<C;t++)if(t===E&&(M=O<k?$:D,N=j),D!==$){let n=e.charCodeAt(t),r=-1;if(O<k)o.charCodeAt(O)===n?(O++,O===k&&(r=D=A)):D=$;else{let e=i[D],t=i[D+1],c=$;for(let i=e;i<t;i++){let e=a[i];if(o.charCodeAt(e)===n){a[i+1]-e===1?r=c=s[i]:(O=e+1,k=a[i+1],A=s[i],c=D);break}}D=c}if(r>=0&&(l[r]>=0||oe[r]===1)&&t+1<C&&e.charCodeAt(t+1)===45){if(j===Xe){Xe*=2;let e=new Int32Array(Xe);e.set(G),G=e;let t=new Int32Array(Xe);t.set(Ze),Ze=t}G[j]=r,Ze[j]=t+2,j++}}E===C&&(M=O<k?$:D,N=j);let le=O<k?$:D,P,ue=!1;if(E>=0){if(ue=!0,P=rt(e,S,E,M,N),P!==Q&&P<r&&ie[P]){let t=rt(e,S,C,le,j);t!==Q&&t!==P&&(P=t,ue=!1)}else P===Q&&(P=rt(e,S,C,le,j),ue=!1)}else P=rt(e,S,C,le,j);let F=0,de=0;P===Q?V[_]=Q:(de=+!!ue,F=b>=x?+!!w:De(Oe,e,b,x,+!!w,e=>Me(e,w)),V[_]=P,U[_]=de,H[_]=F),We(y,e,p,h,v,P,F,de)}if(n===0)return``;if(n===1)return qe[0]===0&&Je[0]===t?e:e.slice(qe[0],Je[0]);if(n*T>K){for(;n*T>K;)K<<=1,$e--;et=new Float64Array(K),tt=new Int32Array(K)}if(Ae>=Le||Pe>=Le)throw Error(`cn: too many distinct classes in one merge`);q=q+1|0,q===0&&(Qe.fill(0),tt.fill(0),q=1);let f=!1;for(let e=n-1;e>=0;e--){let t=V[e];if(t===Q){W[e]=1;continue}let n=H[e];if(nt(n,t)===1)W[e]=0,f=!0;else if(W[e]=1,t<r){let r=C[t];if(r>=0)for(let e=b[r];e<b[r+1];e++)nt(n,ee[e]);if(U[e]&1)for(let e=0;e<te.length;e++)te[e]===t&&nt(n,x[e])}}if(!f&&!u&&t===c+n-1)return e;let p=``,m=0;for(;m<n;){if(!W[m]){m++;continue}let t=qe[m],r=Je[m],i=m+1;for(;i<n&&W[i]&&qe[i]===r+1&&e.charCodeAt(r)===32;)r=Je[i],i++;p.length>0&&(p+=` `),p+=e.slice(t,r),m=i}return p},J=16384,Y=new Int32Array(J*2),at=0,X=1,ot=Object.create(null),st=Object.create(null),Z=new Map,ct=new Map,lt=0,ut=0,dt=()=>{at^=J,X=X+1|0,ut=0},ft=e=>{let t=ot[e];if(t!==void 0)return t;let n=vt(e,0,e.length),r=(n&16383)+at,i=Y[r]===(n^X)||Y[r^J]===(n^X-1);return i&&(t=st[e],t!==void 0)?(ot[e]=t,t):(t=it(e),i?(ot[e]=t,++lt>M&&(lt=0,st=ot,ot=Object.create(null),dt())):(Y[r]=n^X,++ut>J&&dt()),t)},pt=e=>{let t=Z.get(e);if(t!==void 0)return t;let n=vt(e,0,e.length),r=(n&16383)+at,i=Y[r]===(n^X)||Y[r^J]===(n^X-1);return i&&(t=ct.get(e),t!==void 0)?(Z.set(e,t),t):(t=it(e),i?(Z.set(e,t),++lt>M&&(lt=0,ct=Z,Z=new Map,dt())):(Y[r]=n^X,++ut>J&&dt()),t)},mt=e=>{let t=vt(e,0,e.length),n=(t&16383)+at;return Y[n]===(t^X)||Y[n^J]===(t^X-1)||(Y[n]=t^X,++ut>J&&dt(),!1)},ht=M===0?it:gt?e=>{let t=Z.get(e);return t===void 0?pt(e):t}:ft;return{merge:function(){return arguments.length===1&&typeof arguments[0]==`string`?ht(arguments[0]):ht(St.apply(null,arguments))},mergeString:ht,seenBefore:M===0?()=>!1:mt,mergeUncached:it}},bt=(e,t)=>{if(!e)return``;if(typeof e==`string`)return e;let n=``;if(typeof e.length==`number`&&(!t||Array.isArray(e))){let r=e;for(let e=0;e<r.length;e++){let i=r[e];if(!i)continue;let a=typeof i==`string`?i:bt(i,t);a&&(n&&(n+=` `),n+=a)}return n}if(t){if(typeof e==`number`)return``+e;if(typeof e==`object`)for(let t in e)e[t]&&(n&&(n+=` `),n+=t)}return n},xt=(e,t)=>{let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(!i)continue;let a=typeof i==`string`?i:bt(i,t);a&&(n&&(n+=` `),n+=a)}return n},St=function(){return xt(arguments,!1)},Ct=256,wt=16,Tt=1024,Et=4096,Dt=(e,t)=>{let n=t===void 0?()=>!0:t.seenBefore,r=t===void 0?e:t.mergeUncached,i=new Map,a=new Map,o=0,s=null,c=null,l=[],u=[],d=0,f=(t,n,r)=>{c===null&&(c=Array(Et).fill(``),l=Array(Et).fill(``),u=Array(Et).fill(``));let i=vt(t,0,t.length)&4094;if(c[i]===t&&l[i]===n)return u[i];if(c[i|1]===t&&l[i|1]===n)return u[i|1];let a=e(r?n+` `+t:t),o=c[i]===``?i:i|(c[i|1]===``?1:d++&1);return c[o]=t,l[o]=n,u[o]=a,a},p=(e,t,n,r)=>{let i=0;if(t){if(t!==e.a0)return!1;i=1}if(n){if(n!==(i===0?e.a0:e.a1))return!1;i++}if(r){if(r!==(i===0?e.a0:i===1?e.a1:e.a2))return!1;i++}return i===e.t},m=(e,t)=>{let n=e.a,r=0;for(let e=0;e<t.length;e++){let i=t[e];if(i){if(i!==n[r])return!1;r++}}return r===e.t},h=(t,c)=>{let l=t.length,u=s===null?null:s.n;if(!c){if(u!==null&&m(u,t))return s=u,u.r;if(s!==null&&s!==u&&m(s,t))return s.r}let d=``,p=-1,h=0,g=!1;for(let e=0;e<l;e++){let n=t[e];if(n){if(typeof n!=`string`){if(n=t[e]=bt(n,!0),!n)continue;g=!0}p<0&&(d=n,p=e),h++}}if(h===0)return``;if(h===1)return e(d);if(g){if(u!==null&&m(u,t))return s=u,u.r;if(s!==null&&s!==u&&m(s,t))return s.r}let _=i.get(d);_===void 0&&(_=a.get(d),_!==void 0&&i.set(d,_));let v=null;if(_!==void 0){if(_.skip>0){_.skip--,s=null;let e=d;for(let n=p+1;n<l;n++){let r=t[n];r&&(e+=` `+r)}return f(e,``,!1)}let e=_.e;outer:for(let n=0;n<e.length;n++){let r=e[n];if(r.t!==h)continue;let i=r.a,a=1;for(let e=p+1;e<l;e++){let n=t[e];if(n&&n!==i[a++])continue outer}v=r;break}v!==null&&(_.miss=0)}if(v===null){let s=d,c=[d];for(let e=p+1;e<l;e++){let n=t[e];n&&(s+=` `+n,c.push(n))}if(!n(s))return r(s);v={r:e(s),t:c.length,a0:c[0],a1:c[1],a2:c[2]??``,a:c,n:null},_===void 0?i.set(d,_={e:[],miss:0,skip:0,at:0}):++_.miss>wt&&(_.miss=wt,_.skip=Tt,_.e.length=0,_.at=0);let u=_.e;u.length<Ct?u.push(v):(u[_.at]=v,_.at=_.at+1&255),++o>1e3&&(o=0,a=i,i=new Map)}return s!==null&&s!==v&&(s.n=v),s=v,v.r},g=t=>Array.isArray(t)?h(t.slice(),!1):e(bt(t,!0));return function(t,n,r){let a=arguments.length;if((a|1)==3){let e=s;if(e!==null){let i=e.n;if(i!==null&&p(i,t,n,r))return s=i,i.r;if(e!==i&&p(e,t,n,r))return e.r}if(a===2&&typeof n==`string`&&n!==``){let e=i.get(t);if(e!==void 0&&e.skip>0)return e.skip--,s=null,f(n,t,!0)}return h([t,n,r],!0)}if(a===1)return typeof t==`string`?e(t):g(t);let o=s;if(o!==null){let e=o.n;if(e!==null){let t=e.a,n=0,r=!0;for(let e=0;e<a;e++){let i=arguments[e];if(i){if(i!==t[n]){r=!1;break}n++}}if(r&&n===e.t)return s=e,e.r}if(o!==e){let e=o.a,t=0,n=!0;for(let r=0;r<a;r++){let i=arguments[r];if(i){if(i!==e[t]){n=!1;break}t++}}if(n&&t===o.t)return o.r}}let c=[];for(let e=0;e<a;e++)c.push(arguments[e]);return h(c,!0)}},Ot=yt(ht),kt=Dt(Ot.mergeString,Ot);Ot.merge;export{g as A,i as B,d as C,f as D,ie as E,y as F,b as I,C as L,m as M,v as N,re as O,_ as P,l as R,D as S,oe as T,A as _,z as a,S as b,ke as c,Se as d,Ce as f,N as g,le as h,ze as i,w as j,h as k,Ee as l,F as m,Ke as n,Re as o,xe as p,Ue as r,Ie as s,kt as t,Te as u,O as v,E as w,p as x,T as y,o as z};
|
|
1
|
+
import{r as e,t}from"./rolldown-runtime-XKyaHtl9.js";import{o as n}from"./react-DLGSahv8.js";var r=t((e=>{var t=n();function r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var i=typeof Object.is==`function`?Object.is:r,a=t.useState,o=t.useEffect,s=t.useLayoutEffect,c=t.useDebugValue;function l(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),i=r[0].inst,l=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&l({inst:i})},[e,n,t]),o(function(){return u(i)&&l({inst:i}),e(function(){u(i)&&l({inst:i})})},[e]),c(n),n}function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch{return!0}}function d(e,t){return t()}var f=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?d:l;e.useSyncExternalStore=t.useSyncExternalStore===void 0?f:t.useSyncExternalStore})),i=t(((e,t)=>{t.exports=r()})),a=t((e=>{var t=n(),r=i();function a(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var o=typeof Object.is==`function`?Object.is:a,s=r.useSyncExternalStore,c=t.useRef,l=t.useEffect,u=t.useMemo,d=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var a=c(null);if(a.current===null){var f={hasValue:!1,value:null};a.current=f}else f=a.current;a=u(function(){function e(e){if(!a){if(a=!0,s=e,e=r(e),i!==void 0&&f.hasValue){var t=f.value;if(i(t,e))return c=t}return c=e}if(t=c,o(s,e))return t;var n=r(e);return i!==void 0&&i(t,n)?(s=e,t):(s=e,c=n)}var a=!1,s,c,l=n===void 0?null:n;return[function(){return e(t())},l===null?void 0:function(){return e(l())}]},[t,n,r,i]);var p=s(e,a[0],a[1]);return l(function(){f.hasValue=!0,f.value=p},[p]),d(p),p}})),o=t(((e,t)=>{t.exports=a()})),s=e(n(),1),c=(0,s.createContext)({color:`currentColor`,size:`1em`,weight:`regular`,mirrored:!1}),l=s.forwardRef((e,t)=>{let{alt:n,color:r,size:i,weight:a,mirrored:o,children:l,weights:u,...d}=e,{color:f=`currentColor`,size:p,weight:m=`regular`,mirrored:h=!1,...g}=s.useContext(c);return s.createElement(`svg`,{ref:t,xmlns:`http://www.w3.org/2000/svg`,width:i??p,height:i??p,fill:r??f,viewBox:`0 0 256 256`,transform:o||h?`scale(-1, 1)`:void 0,...g,...d},!!n&&s.createElement(`title`,null,n),l,u.get(a??m))});l.displayName=`IconBase`;function u(){return typeof window<`u`}function d(e){return m(e)?(e.nodeName||``).toLowerCase():`#document`}function f(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function p(e){return((m(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function m(e){return u()?e instanceof Node||e instanceof f(e).Node:!1}function h(e){return u()?e instanceof Element||e instanceof f(e).Element:!1}function g(e){return u()?e instanceof HTMLElement||e instanceof f(e).HTMLElement:!1}function _(e){return!u()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof f(e).ShadowRoot}function v(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=T(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function y(e){return/^(table|td|th)$/.test(d(e))}function b(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var ee=/transform|translate|scale|rotate|perspective|filter/,te=/paint|layout|strict|content/,x=e=>!!e&&e!==`none`,ne;function re(e){let t=h(e)?T(e):e;return x(t.transform)||x(t.translate)||x(t.scale)||x(t.rotate)||x(t.perspective)||!C()&&(x(t.backdropFilter)||x(t.filter))||ee.test(t.willChange||``)||te.test(t.contain||``)}function S(e){let t=ie(e);for(;g(t)&&!w(t);){if(re(t))return t;if(b(t))return null;t=ie(t)}return null}function C(){return ne??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),ne}function w(e){return/^(html|body|#document)$/.test(d(e))}function T(e){return f(e).getComputedStyle(e)}function E(e){return h(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ie(e){if(d(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||_(e)&&e.host||p(e);return _(t)?t.host:t}function ae(e){let t=ie(e);return w(t)?(e.ownerDocument||e).body:g(t)&&v(t)?t:ae(t)}function oe(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=ae(e),i=r===e.ownerDocument?.body,a=f(r);if(i){let e=D(a);return t.concat(a,a.visualViewport||[],v(r)?r:[],e&&n?oe(e):[])}return t.concat(r,oe(r,[],n))}function D(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var O={...s},k={};function A(e,t){let n=s.useRef(k);return n.current===k&&(n.current=e(t)),n}var j=O.useInsertionEffect,M=j&&j!==O.useLayoutEffect?j:e=>e();function N(e){let t=A(se).current;return t.next=e,M(t.effect),t.trampoline}function se(){let e={next:void 0,callback:ce,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function ce(){}var le=typeof document<`u`?s.useLayoutEffect:()=>{};function P(e,t){if(e&&!t)return e;if(!e&&t)return t;if(e||t)return{...e,...t}}var ue={};function F(e,t,n,r,i){if(!n&&!r&&!i&&!e)return I(t);let a=I(e);return t&&(a=L(a,t)),n&&(a=L(a,n)),r&&(a=L(a,r)),i&&(a=L(a,i)),a}function de(e){if(e.length===0)return ue;if(e.length===1)return I(e[0]);let t=I(e[0]);for(let n=1;n<e.length;n+=1)t=L(t,e[n]);return t}function I(e){return he(e)?{...e(ue)}:fe(e)}function L(e,t){return he(t)?t(e):pe(e,t)}function fe(e){let t={...e};for(let e in t){let n=t[e];me(e,n)&&(t[e]=_e(n))}return t}function pe(e,t){if(!t)return e;for(let n in t){let r=t[n];switch(n){case`style`:e[n]=P(e.style,r);break;case`className`:e[n]=ve(e.className,r);break;default:e[n]=me(n,r)?ge(e[n],r):r}}return e}function me(e,t){let n=e.charCodeAt(0),r=e.charCodeAt(1),i=e.charCodeAt(2);return n===111&&r===110&&i>=65&&i<=90&&(typeof t==`function`||t===void 0)}function he(e){return typeof e==`function`}function ge(e,t){return t?e?(...n)=>{let r=n[0];if(ye(r)){let i=r;R(i);let a=t(...n);return i.baseUIHandlerPrevented||e?.(...n),a}let i=t(...n);return e?.(...n),i}:_e(t):e}function _e(e){return e&&((...t)=>{let n=t[0];return ye(n)&&R(n),e(...t)})}function R(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function ve(e,t){return t?e?t+` `+e:t:e}function ye(e){return typeof e==`object`&&!!e&&`nativeEvent`in e}function be(e,t){return function(n,...r){let i=new URL(e);return i.searchParams.set(`code`,n.toString()),r.forEach(e=>i.searchParams.append(`args[]`,e)),`${t} error #${n}; visit ${i} for the full message.`}}var xe=be(`https://base-ui.com/production-error`,`Base UI`),Se=s.createContext(void 0);function Ce(e=!1){let t=s.useContext(Se);if(t===void 0&&!e)throw Error(xe(16));return t}function we(e){let{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:i=0,isNativeButton:a}=e,o=r&&t!==!1,c=r&&t===!1;return{props:s.useMemo(()=>{let e={onKeyDown(e){n&&t&&e.key!==`Tab`&&e.preventDefault()}};return r||(e.tabIndex=i,!a&&n&&(e.tabIndex=t?i:-1)),(a&&(t||o)||!a&&n)&&(e[`aria-disabled`]=n),a&&(!t||c)&&(e.disabled=n),e},[r,n,t,o,c,a,i])}}function Te(e,t,{detail:n=0,pointerType:r=``}={}){e.dispatchEvent(new(f(e)).PointerEvent(`click`,{bubbles:!0,cancelable:!0,composed:!0,detail:n,pointerType:r,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,altKey:t.altKey,metaKey:t.metaKey}))}function Ee(e={}){let{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:i=!0,composite:a}=e,o=s.useRef(null),c=Ce(!0),l=a??c!==void 0,{props:u}=we({focusableWhenDisabled:n,disabled:t,composite:l,tabIndex:r,isNativeButton:i}),d=s.useCallback(()=>{let e=o.current;De(e)&&l&&t&&u.disabled===void 0&&e.disabled&&(e.disabled=!1)},[t,u.disabled,l]);return le(d,[d]),{getButtonProps:s.useCallback((e={})=>{let{onClick:n,onMouseDown:r,onKeyUp:a,onKeyDown:o,onPointerDown:s,...c}=e;return F({onClick(e){t?e.preventDefault():n?.(e)},onMouseDown(e){t||r?.(e)},onKeyDown(e){if(t||(R(e),o?.(e),e.baseUIHandlerPrevented))return;let n=e.target===e.currentTarget,r=e.currentTarget,a=De(r),s=!i&&Oe(r),c=n&&(i?a:!s),u=e.key===`Enter`,d=e.key===` `,f=r.getAttribute(`role`),p=f?.startsWith(`menuitem`)||f===`option`||f===`gridcell`;if(n&&l&&d){if(e.defaultPrevented&&p)return;e.preventDefault(),(!i||a)&&(e.preventBaseUIHandler(),Te(r,e))}else!c||i||!d&&!u?n&&s&&d&&e.preventDefault():e.defaultPrevented||(e.preventDefault(),u&&(e.preventBaseUIHandler(),Te(r,e)))},onKeyUp(e){t||(R(e),a?.(e),e.target===e.currentTarget&&i&&l&&De(e.currentTarget)&&e.key===` `?e.preventDefault():e.baseUIHandlerPrevented||e.target!==e.currentTarget||i||l||e.defaultPrevented||e.key!==` `||(e.preventBaseUIHandler(),Te(e.currentTarget,e)))},onPointerDown(e){t?e.preventDefault():s?.(e)}},i?{type:`button`}:{role:`button`},u,c)},[t,u,l,i]),buttonRef:N(e=>{o.current=e,d()})}}function De(e){return g(e)&&e.tagName===`BUTTON`}function Oe(e){return g(e)&&e.tagName===`A`&&!!e.href}function ke(e,t,n,r){let i=A(je).current;return Me(i,e,t,n,r)&&Pe(i,[e,t,n,r]),i.callback}function Ae(e){let t=A(je).current;return Ne(t,e)&&Pe(t,e),t.callback}function je(){return{callback:null,cleanup:null,refs:[]}}function Me(e,t,n,r,i){return e.refs[0]!==t||e.refs[1]!==n||e.refs[2]!==r||e.refs[3]!==i}function Ne(e,t){return e.refs.length!==t.length||e.refs.some((e,n)=>e!==t[n])}function Pe(e,t){e.refs=t,e.callback=t.every(e=>e==null)?null:n=>{if(e.cleanup&&=(e.cleanup(),null),n!=null){let r=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){let i=t[e];if(i!=null)switch(typeof i){case`function`:{let t=i(n);typeof t==`function`&&(r[e]=t);break}case`object`:i.current=n}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){let n=t[e];if(n!=null)switch(typeof n){case`function`:{let t=r[e];typeof t==`function`?t():n(null);break}case`object`:n.current=null}}}}}}var Fe=19;function Ie(e){return Fe>=e}function Le(e){if(!s.isValidElement(e))return null;let t=e,n=t.props;return(Ie(19)?n?.ref:t.ref)??null}function Re(){}var ze=Object.freeze([]),z=Object.freeze({});function Be(e,t){let n={};for(let r in e){let i=e[r];if(t?.hasOwnProperty(r)){let e=t[r](i);e!=null&&Object.assign(n,e)}else i===!0?n[`data-${r.toLowerCase()}`]=``:i&&(n[`data-${r.toLowerCase()}`]=i.toString())}return n}function Ve(e,t){return typeof e==`function`?e(t):e}function He(e,t){return typeof e==`function`?e(t):e}function Ue(e,t,n={}){let r=t.render;n.enabled!==!1&&(r=Ke(r));let i=We(t,n,r);if(n.enabled===!1)return null;let a=n.state??z;return qe(e,r,i,a)}function We(e,t,n){let{className:r,style:i}=e,{state:a=z,ref:o,props:s,stateAttributesMapping:c,enabled:l=!0}=t,u=l?Ve(r,a):void 0,d=l?He(i,a):void 0,f=l?Be(a,c):z,p=l&&s?Ge(s):void 0,m=l?P(f,p)??{}:z;return typeof document<`u`&&(l?m.ref=Array.isArray(o)?Ae([m.ref,Le(n),...o]):ke(m.ref,Le(n),o):ke(null,null)),l?(u!==void 0&&(m.className=ve(m.className,u)),d!==void 0&&(m.style=P(m.style,d)),m):z}function Ge(e){return Array.isArray(e)?de(e):F(void 0,e)}var B=Symbol.for(`react.lazy`);function Ke(e){if(e?.$$typeof!==B)return e;let t=s.Children.toArray(e)[0];return s.isValidElement(t)?t:e}function qe(e,t,n,r){if(t){if(typeof t==`function`)return t(n,r);let e=F(n,t.props);return e.ref=n.ref,s.cloneElement(t,e)}return Je(e,n)}function Je(e,t){return e===`button`?(0,s.createElement)(`button`,{type:`button`,...t,key:t.key}):e===`img`?(0,s.createElement)(`img`,{alt:``,...t,key:t.key}):s.createElement(e,t)}var V=48,H=(e,t=0)=>{let n=new Int32Array(e.length);for(let r=0;r<e.length;r++)n[r]=e.charCodeAt(r)-V-t;return n},U=e=>{let t=new Int32Array(e.length+1);for(let n=0;n<e.length;n++)t[n+1]=t[n]+e[n];return t},W=e=>{let t=new Int32Array(e.length),n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r)-V;n+=i>>>1^-(i&1),t[r]=n}return t},Ye=384,Xe=[],G=U(H(`E0500002005282000000002000150000020021820000011200000003022202000300004200120000200420001200021200301200010400162000010000220021010:2192001200220012000220012000200200200400010200040000000000400200108200110100000022010313000162002000020020012020080213000228200000000082000000000120002000120020020040101020300130001001010`)),Ze=U(H(`:11111111211111119311546544411119731869:671397415686432441111111111161114151214313433415:78311132233313187211117221449443411141111151152226611131111112212518142224214215421421542142424242516171151615616347111111111197911327451111111111111111111113134714133513411111311111111111111111111112444411111342312715245411117:3`)),Qe=`@containerabcdefghinlmoprstunderlineviawzccentlignnimatespectuto-colsrowsaglorightnessckdrop-sisbcontrastfiltergrayscalehue-rotateinvertopacityslurrightnessaturateepia-coniclinearpositionradialsizeockurrderttom-belrstxyespacing-xyaretoursorlnt-umnsendspantartainentrasteividerop-shadowurationcorationlay-xyasendillexontromlter-featuresstretchapr-xyayscaleidow-colsrowsue-rotatedentlinesetvert-beringsxyeshadoweiadingftnest-clamp-imageabein-lrstxyskx--b-coniclpositionrsizet-x-y-fromto-fromto-inearfromto-fromto-adialfromto-fromtofromtofromtofromtoblockhinlinew-screenesblockhinlinewbjectpacityrutlinederigin-offsetbelrstxyesrspective-originaceholderioghtng-offsettateundedw-xyz-belrstlreseslr-endspantartaturatecepiahizekewpace-taleroll-xyz-barmpbelrstxyesbelrstxyes-thumbrackadowrink-xyxyartrokeabextora-shadowpckingnsformitionlate-xyz-offsetill-changeoom`,K=(()=>{let e=G.length-1,t=new Int32Array(e);for(let n=e-1;n>=0;n--){let e=1,r=n+1;for(let i=G[n];i<G[n+1];i++)e+=t[r],r+=t[r];t[n]=e}let n=new Int32Array(G[e]),r=0;for(let i=0;i<e;i++){let e=i+1;for(let a=G[i];a<G[i+1];a++)n[r++]=e,e+=t[e]}return n})(),$e=H(`02000000000000900<=0?000B000F00F00ŏI0J0LNPRTVX0000]_a00000000000000000000000rst0000000zŏ00000000000
ŏ0000000ŏ00000000000000000000000000000000000000000000000000000000000000Ë000000000000000000000Þ000000000000000000ð0000000ø0ùúûüýþÿĀāĂ㥹Ć000000000000000000000000000000000000000000ħ0ĨĪ00000000000000000000ļĽ00000Ŭ000000`,1),et=U(H(`123333359346463635126536711576`)),tt=H(`93203242332583253248325D>E?F@03263243255B:032523853:0325B:8GA032542H<C=12727B:0328432553;D>E?3257D>032585:0325B:;0328B:032`),q=H(`012113445661666666789111:5;;;;;;;;444;;;:62999<1161=62>>?61:21@ABCD4446996:64E:::;:?::64:F114GHHIHHHHIHH1HH1HH1HHHHHH::EEJ4444::EE4444441691;644444114244444:;K6666555555555555555999666664444444444444444444444226?6:66644L9M?D:111::::6DE199`),nt=W(`020200202020020020020020020020200200200200200200200002020202001003040106000200200200200200200200200200200200200200200200200200200200200200200200200200200200020020020020020020002020200202002002002002002002002002002020002002020020200220200200200200200200200200200200020020020000200020002000200200200020020020002000200200200020020202002020202000200200020022000200200020020002002000200220002002000200W0Z00020020002002020002002000200g0j0002002000200200020020002002000200200020020002000200002000002002002002002000200020000200002002002002002002002020020020200200200200200200200200202020020020020020020020020002002002020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020002002002002002002000200200200200200200200200200020202020002000200020002002002002000020200200`),rt=(()=>{let e=new Int32Array(319).fill(-1),t=W(`02422242:222222242224222242442222222422222244442242226224222426222422442462222422622222222626222462242622422622422424242422222222422222222242422222222222222222622442224222222222222224424442262222222222222222222226224222424242422224422422422222`),n=W(`02222222222222222222202222222222222222222222221422222222222222222222222222222222222Y\\222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222221422222222222222222222222222222222222222Ŀł222222222222222222`);for(let r=0;r<t.length;r++)e[t[r]]=n[r];return e})(),it=`container |break-after- all auto avoid avoid-page column left page right|break-before- all auto avoid avoid-page column left page right|break-inside-a uto void void-column void-page|box-decoration- clone slice|box- border content| contents flow-root hidden table table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group| not-sr-only sr-only|float- end left none right start|clear- both end left none right start|isolat e ion-auto|overflow- auto clip hidden scroll visible|overflow-x- auto clip hidden scroll visible|overflow-y- auto clip hidden scroll visible|overscroll- auto contain none|overscroll-x- auto contain none|overscroll-y- auto contain none| absolute fixed relative static sticky| collapse invisible visible|justify- around baseline between center center-safe end end-safe evenly normal start stretch|justify-items- center center-safe end end-safe normal start stretch|justify-self- auto center center-safe end end-safe start stretch|items- baseline baseline-last center center-safe end end-safe start stretch|self- auto baseline baseline-last center center-safe end end-safe start stretch|place-content- around baseline between center center-safe end end-safe evenly start stretch|place-items- baseline center center-safe end end-safe start stretch|place-self- auto center center-safe end end-safe start stretch| antialiased subpixel-antialiased| italic not-italic|normal-nums |ordinal |slashed-zero | lining-nums oldstyle-nums| proportional-nums tabular-nums| diagonal-fractions stacked-fractions| no-underline overline| capitalize lowercase normal-case uppercase|truncate |whitespace- break-spaces normal nowrap pre pre-line pre-wrap|break- all keep normal words|wrap- anywhere break-word normal|hyphens- auto manual none|mix-blend- color color-burn color-dodge darken difference exclusion hard-light hue lighten luminosity multiply normal overlay plus-darker plus-lighter saturation screen soft-light|table- auto fixed|caption- bottom top|backface- hidden visible|appearance- auto none|scheme- dark light light-dark normal only-dark only-light|field-sizing- content fixed|pointer-events- auto none|resize -none -x -y|snap- align-none center end start|snap- always normal|snap- both none x y|snap- mandatory proximity|touch- auto manipulation none|touch-pan- left right x|touch-pan- down up y|touch-pinch-zoom |select- all auto none text|forced-color-adjust- auto none| normal size| baseline bottom middle sub super text-bottom text-top top| bounce none ping pulse spin| auto square video| auto fr max min px|none | auto full px| fixed local scroll|clip- border content padding text|origin- border content padding| bottom bottom-left bottom-right center left left-bottom left-top right right-bottom right-top top top-left top-right| no-repeat repeat repeat-round repeat-space repeat-x repeat-y| auto contain cover|blend- color color-burn color-dodge darken difference exclusion hard-light hue lighten luminosity multiply normal overlay saturation screen soft-light|to- b bl br l r t tl tr| auto dvh fit full lh lvh max min px screen svh| dashed dotted double hidden none solid| collapse separate|px |auto |full | content none strict| inline-size size|layout |paint |style | around baseline between center center-safe end end-safe evenly normal start stretch| alias all-scroll auto cell col-resize context-menu copy crosshair default e-resize ew-resize grab grabbing help move n-resize ne-resize nesw-resize no-drop none not-allowed ns-resize nw-resize nwse-resize pointer progress row-resize s-resize se-resize sw-resize text vertical-text w-resize wait zoom-in zoom-out| dashed dotted double solid wavy| auto from-font|reverse |initial | in in-out initial linear out| col col-reverse row row-reverse| nowrap wrap wrap-reverse| auto initial none| black bold extrabold extralight light medium normal semibold thin| condensed expanded extra-condensed extra-expanded normal semi-condensed semi-expanded ultra-condensed ultra-expanded|flow- col col-dense dense row row-dense| none subgrid| auto dvh dvw fit full lh lvh lvw max min px screen svh svw| block flex grid table| auto dvw fit full lvw max min px screen svw| loose none normal px relaxed snug tight|through |item | inside outside| decimal disc none| auto px| clip-border clip-content clip-fill clip-padding clip-stroke clip-view no-clip| add exclude intersect subtract| alpha luminance match|origin- border content fill padding stroke view|type- alpha luminance| circle ellipse| closest-corner closest-side farthest-corner farthest-side|at- bottom bottom-left bottom-right center left left-bottom left-top right right-bottom right-top top top-left top-right| dvh fit full lh lvh max min none px screen svh| auto dvh dvw fit full lh lvh lvw max min none px screen svh svw| dvw fit full lvw max min none px screen svw| auto dvh dvw fit full lvh lvw max min none prose px svh svw| auto dvh dvw fit full lvh lvw max min none px screen svh svw| contain cover fill none scale-down| first last none| distant dramatic midrange near none normal|inset | full none|3d | auto smooth|gutter- auto both stable| auto none thin| inner none| auto dvh dvw fit full lvh lvw max min px svh svw|base | center end justify left right start| clip ellipsis| balance nowrap pretty wrap| normal tight tighter wide wider widest| cpu gpu none| 3d flat| all colors none opacity shadow transform| discrete normal| full px| auto dvh dvw fit full lvh lvw max min px screen svh svw| auto contents scroll transform`.split(`|`).map(e=>{let t=e.split(` `),n=t.shift();for(let e=0;e<t.length;e++)t[e]=n+t[e];return t}),J=W(`0000000000000000000000000000000000000000000000000000000000000262242:6@200000006:240B428:4422400002046044222426220026642642462026224222824220022400000000\\00N222422242222222224062242222222422226264222422222222222222442804222422222222222222222222220<4<0204260002444020204224422`),Y=W(`ɠ222222222222222222222222222222222222222222222222222222222222˕4222226>6ʰ22ʷʺʷʺʷ42ʴ2ʓ22>621422ɶ222ɹɼɷɺɷɺ22ɱ42222ɨ2ɧ26622ɘɓ244ƸƵ222]d24242ǖǓƚÄȫ2263ȨȥȨ2222222ǣ222222222222222222ǂƽ2ƾƵ2222222422222ƜƑ22222222222222222222144Ŧţ22Ţş222222222222222222222ĸ2ı68ĦģĦɡŰ4Ġ«®ĝ822ĔđĔ2ē2222622`),at=W(`02222222222222222222222222222222222222222222222222222222222222222202021422222222CF2200GJ021042222WZ222IL0ad2c10h2222U00X202[^2w0000120zy|}22
:22z22222222222G000qOVI00000{2<40000@00000G¦§000ª00000000000000021K¬«00®000000000000000000000222HGH_1¸222½2¾2222ÇÊ000°2±`),X=new Int32Array(987),ot=new Int32Array(987),st=new Int32Array(987),Z=``,ct=new Int32Array(1022);{let e=new Map,t=0,n=0;for(let r=0;r<J.length;r++)for(let i of it[at[r]]){let a=e.get(i);a===void 0&&(a=t++,e.set(i,a),ct[a*2]=Z.length,ct[a*2+1]=i.length,Z+=i),X[n]=J[r],ot[n]=Y[r],st[n]=a,n++}}var lt=W(`0b2N:222@R>F@286¦2@H2D266226FB22B2>BD\\6N22222Z222D222p`),ut=U(H(`1::24444432:442:44:44>222222:44:4421322511111311111114`)),dt=W(`24A;33N=C@H4A;33N=C@<27;83:;8393NQ:3NQʰ222ˉºŴŽ2R2=18cƴÅŇ=cĞÛC1ƈǝȈ:ħ25=11D3A@4=<1;1DEr25;11B3?<6;:371BCn9@7=<8192>2E121@9@EHE@9>2T25511<398454131<=V25511<398454131<=ƧNž2Đå242L222290000f22500ɛ000ǘ222`),ft=H(`ij`),pt=H(``),mt=H(`1`),ht={GROUP_COUNT:Ye,customValidatorNames:Xe,edgeStart:G,labelStart:Ze,labelText:Qe,edgeTarget:K,nodeGroup:$e,nodeVlist:rt,vlistPat:et,vlistOps:tt,vlistRef:q,vlistGroup:nt,litAnchor:X,litGroup:ot,litPool:st,poolOffsets:ct,poolText:Z,adjGid:lt,adjStart:ut,adjTgt:dt,patGid:ft,patTgt:pt,postfixLookupGroups:mt,orderSensitiveModifiers:`* ** after backdrop before details-content file first-letter first-line marker placeholder selection`},gt=`line`in Error(),Q=-1,$=-1,_t=(e,t,n)=>{let r=2166136261;for(let i=t;i<n;i++)r=Math.imul(r^e.charCodeAt(i),16777619);return r},vt=(e,t,n)=>{let r=n-t,i=Math.imul(r,2654435761)^e.charCodeAt(t);if(r>3){let a=r>>2,o=r>>1;i=Math.imul(i^e.charCodeAt(t+1)<<8^e.charCodeAt(t+2)<<16^e.charCodeAt(t+a),2246822507),i=Math.imul(i^e.charCodeAt(t+o)<<8^e.charCodeAt(t+o+a)<<16^e.charCodeAt(n-3),3266489909),i^=e.charCodeAt(n-2)<<8^e.charCodeAt(n-1)<<16;for(let r=t+3,a=n-4;r<t+8&&r<a;r++,a--)i=Math.imul(i^e.charCodeAt(r)^e.charCodeAt(a)<<8,16777619)}return i^i>>>15},yt=(e,t,n={})=>{let{GROUP_COUNT:r,edgeStart:i,labelStart:a,labelText:o,edgeTarget:s,nodeGroup:c,nodeVlist:l,vlistPat:u,vlistOps:d,vlistRef:f,vlistGroup:p,litAnchor:m,litGroup:h,litPool:g,poolOffsets:_,poolText:v,adjGid:y,adjStart:b,adjTgt:ee,patGid:te,patTgt:x,postfixLookupGroups:ne,customValidatorNames:re,orderSensitiveModifiers:S}=e,C=new Int32Array(r).fill(-1);for(let e=0;e<y.length;e++)C[y[e]]=e;let w=0;for(let e=0;e+1<b.length;e++){let t=b[e+1]-b[e];t>w&&(w=t)}let T=32;for(;T<2*(1+w+te.length);)T<<=1;let E=new Int32Array(f.length+1);for(let e=0;e<f.length;e++)E[e+1]=E[e]+u[f[e]+1]-u[f[e]];let ie=new Uint8Array(r);for(let e=0;e<ne.length;e++)ie[ne[e]]=1;let ae=i.length-1,oe=new Uint8Array(ae),D=0,O=!0;for(let e=0;e<m.length;e++){oe[m[e]]=1;let t=_[g[e]*2+1];t>D&&(D=t);let n=v.charCodeAt(_[g[e]*2]);(n===91||n===40)&&(O=!1)}let k=1;for(;k<m.length*2;)k<<=1;let A=new Int32Array(k).fill(-1);for(let e=0;e<m.length;e++){let t=_[g[e]*2],n=(_t(v,t,t+_[g[e]*2+1])^Math.imul(m[e],2654435761)|0)&k-1;for(;A[n]!==-1;)n=n+1&k-1;A[n]=e}let j=(e,t,n,r)=>{let i=(_t(t,n,r)^Math.imul(e,2654435761)|0)&k-1,a=r-n;for(;;){let r=A[i];if(r===-1)return-1;if(m[r]===e&&_[g[r]*2+1]===a){let e=_[g[r]*2],i=!0;for(let r=0;r<a;r++)if(v.charCodeAt(e+r)!==t.charCodeAt(n+r)){i=!1;break}if(i)return h[r]}i=i+1&k-1}},M=n.cacheSize??8192,N=n.prefix??e.prefix??``,se=N===``?``:N+`:`,ce=se.length,le=(re??[]).map(e=>{let n=t&&t[e];if(!n)throw Error(`cn: missing validator `+e);return n}),P=/\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$/,ue=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,F=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,de=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,I=0,L=-1,fe=-1,pe=-1,me=-1,he=e=>e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||e===95,ge=e=>/\s/.test(String.fromCharCode(e)),_e=(e,t,n)=>{if(I=0,L=-1,n-t<3)return;let r=e.charCodeAt(t),i=e.charCodeAt(n-1);if(r===91&&i===93)I=1;else if(r===40&&i===41)I=2;else return;pe=t+1,me=n-1;let a=t+1;if(he(e.charCodeAt(a))){for(a++;a<n-1;){let t=e.charCodeAt(a);if(!he(t)&&t!==45)break;a++}a<n-2&&e.charCodeAt(a)===58&&(L=t+1,fe=a,pe=a+1)}},R=(e,t,n,r)=>{if(n-t!==r.length)return!1;for(let n=0;n<r.length;n++)if(e.charCodeAt(t+n)!==r.charCodeAt(n))return!1;return!0},ve=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ye=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,be=e=>!!e&&!Number.isNaN(Number(e)),xe=(e,t,n)=>{if(n-t<11||!R(e,t,t+10,`@container`))return!1;if(e.charCodeAt(t+10)===47)return n-t>=12;let r=e.charCodeAt(t+11);return r===115&&n-t>=17&&R(e,t+10,t+16,`-size/`)||r===110&&n-t>=19&&R(e,t+10,t+18,`-normal/`)},Se=[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2],Ce=`length|number|number weight|family-name|position percentage|length size bg-size|image url|shadow|length|family-name|position percentage|length size bg-size|image url|shadow|number weight`.split(`|`).map(e=>e.split(` `)),we=[2,3,1,0,0,0,4,5,0,0,0,0,0,1,1],Te=(e,t,n,r)=>{if(e>=10){if(e>=25)return le[e-25](t.slice(n,r));let i=e-10;if(I!==Se[i])return!1;if(L>=0){for(let e of Ce[i])if(R(t,L,fe,e))return!0;return!1}switch(we[i]){case 0:return!1;case 1:return!0;case 2:{let e=t.slice(pe,me);return P.test(e)&&!ue.test(e)}case 3:return be(t.slice(pe,me));case 4:return de.test(t.slice(pe,me));default:return F.test(t.slice(pe,me))}}switch(e){case 0:return!0;case 1:return I===0;case 2:return I===1;case 3:return I===2;case 4:return ve.test(t.slice(n,r));case 5:return be(t.slice(n,r));case 6:{let e=t.slice(n,r);return!!e&&Number.isInteger(Number(e))}case 7:return r>n&&t.charCodeAt(r-1)===37&&be(t.slice(n,r-1));case 8:return ye.test(t.slice(n,r));default:return xe(t,n,r)}},Ee=new Set(typeof S==`string`?S.split(` `):S),De=(e,t,n,r,i,a)=>{let o=_t(t,n,r)^(i?2654435769:0),s=e.get(o);if(s!==void 0)outer:for(let e=0;e<s.length;e++){let a=s[e];if(a.imp===i&&a.k.length===r-n){for(let e=0;e<a.k.length;e++)if(a.k.charCodeAt(e)!==t.charCodeAt(n+e))continue outer;return a.id}}else e.set(o,s=[]);let c=t.slice(n,r),l=a(c);return s.push({k:c,imp:i,id:l}),l},Oe=new Map,ke=new Map,Ae=2,je=4096,Me=(e,t)=>{let n=[],r=0,i=0,a=0;for(let t=0;t<e.length;t++){let o=e.charCodeAt(t);r===0&&i===0&&o===58?(n.push(e.slice(a,t)),a=t+1):o===91?r++:o===93?r--:o===40?i++:o===41&&i--}n.push(e.slice(a));let o=n[0];if(n.length>1){let e=[],t=[];for(let r of n)r.charCodeAt(0)===91||Ee.has(r)?(t.length&&(e.push(...t.sort()),t=[]),e.push(r)):t.push(r);t.length&&e.push(...t.sort()),o=e.join(`:`)}let s=t?o+` !`:o,c=ke.get(s);return c===void 0&&ke.set(s,c=Ae++),c},Ne=new Map,Pe=r,Fe=r+4096,Ie=()=>Pe++,Le=2097152,Re=8192,ze=new Int32Array(Re),z=Array(Re).fill(null),Be=new Int32Array(Re),Ve=new Int32Array(Re),He=new Uint8Array(Re),Ue=0,We=(e,t,n,r,i,a,o,s)=>{let c=e;if(z[e]!==null){if(z[e|1]===null)c=e|1;else if(!(Ue++&3))c=e|Ue>>2&1;else return}z[c]=t.slice(n,r),ze[c]=i,Be[c]=a,Ve[c]=o,He[c]=s},Ge=()=>z.fill(null),B=256,Ke=[new Int32Array(B),new Int32Array(B),new Int32Array(B),new Int32Array(B)],[qe,Je,V,H]=Ke,U=new Uint8Array(B),W=new Uint8Array(B),Ye=()=>{B*=2,Ke=Ke.map(e=>{let t=new Int32Array(B);return t.set(e),t}),[qe,Je,V,H]=Ke;let e=new Uint8Array(B);e.set(U),U=e,W=new Uint8Array(B)},Xe=64,G=new Int32Array(Xe),Ze=new Int32Array(Xe),Qe=new Int32Array(r),K=2048,$e=21,et=new Float64Array(K),tt=new Int32Array(K),q=0,nt=(e,t)=>{if(e===0&&t<r)return Qe[t]===q?1:(Qe[t]=q,0);let n=e*2097152+t+1,i=Math.imul(n,2654435761)>>>$e;for(;tt[i]===q;){if(et[i]===n)return 1;i=i+1&K-1}return et[i]=n,tt[i]=q,0},rt=(e,t,n,r,i)=>{if(n-t>=2&&e.charCodeAt(t)===91&&e.charCodeAt(n-1)===93){let r=-1;for(let i=t+1;i<n-1;i++)if(e.charCodeAt(i)===58){r=i;break}return r===-1||r===t+1?Q:De(Ne,e,t+1,r,0,Ie)}if(r>=0&&c[r]>=0)return c[r];for(let t=i-1;t>=0;t--){let r=Ze[t];if(r>n)continue;let i=G[t],a=n-r;if(oe[i]===1&&a>0&&a<=D){let t=e.charCodeAt(r);if(O===!1||t!==91&&t!==40){let t=j(i,e,r,n);if(t>=0)return t}}let o=l[i];if(o<0)continue;let s=f[o],c=u[s],m=u[s+1];if(c===m)continue;_e(e,r,n);let h=E[o]-c;for(let t=c;t<m;t++)if(Te(d[t],e,r,n))return p[h+t]}return Q},it=e=>{let t=e.length,n=0,c=0,u=!1;(Ae>je||Oe.size>je)&&(Oe=new Map,ke=new Map,Ae=2,Ge()),Pe>Fe&&(Ne=new Map,Pe=r,Ge());let d=0;for(;d<t;){let f=e.charCodeAt(d);if(f===32||f>=9&&f<=13||f>=160&&ge(f)){f!==32&&(u=!0),d++;continue}let p=d,m=0;for(;d<t;){if(f=e.charCodeAt(d),f<=32){if(f===32)break;if(f>=9&&f<=13){u=!0;break}}else if(f>=160&&ge(f)){u=!0;break}m=Math.imul(m^f,16777619),d++}let h=d,g=h-p;n===B&&Ye();let _=n++;qe[_]=p,Je[_]=h,c+=g,m^=Math.imul(g,2654435761);let v=m^m>>>15,y=v&8190;{let t=-1;if(ze[y]===v&&z[y]!==null&&z[y].length===g?t=y:ze[y|1]===v&&z[y|1]!==null&&z[y|1].length===g&&(t=y|1),t>=0){let n=z[t],r=!0;for(let t=0;t<g;t++)if(n.charCodeAt(t)!==e.charCodeAt(p+t)){r=!1;break}if(r){V[_]=Be[t],H[_]=Ve[t],U[_]=He[t];continue}}}let b=p;if(ce!==0){if(h-p<=ce||!e.startsWith(se,p)){V[_]=Q,We(y,e,p,h,v,Q,0,0);continue}b=p+ce}let ee=0,te=0,x=-1,ne=-1;for(let t=b;t<h;t++){let n=e.charCodeAt(t);if(ee===0&&te===0){if(n===58){x=t;continue}if(n===47){ne=t;continue}}n===91?ee++:n===93?ee--:n===40?te++:n===41&&te--}let re=x>=b?x+1:b,S=re,C=h,w=!1,T=0;C>S&&e.charCodeAt(C-1)===33?(w=!0,C--):C>S&&e.charCodeAt(S)===33&&(w=!0,S++,T=1);let E=-1;ne>re&&(E=ne+T,E>=C&&(E=-1));let ae=S;C-S>1&&e.charCodeAt(S)===45&&(ae=S+1);let D=0,O=0,k=0,A=-1,j=0;(l[0]>=0||oe[0]===1)&&(G[0]=0,Ze[0]=ae,j=1);let M=$,N=0;for(let t=ae;t<C;t++)if(t===E&&(M=O<k?$:D,N=j),D!==$){let n=e.charCodeAt(t),r=-1;if(O<k)o.charCodeAt(O)===n?(O++,O===k&&(r=D=A)):D=$;else{let e=i[D],t=i[D+1],c=$;for(let i=e;i<t;i++){let e=a[i];if(o.charCodeAt(e)===n){a[i+1]-e===1?r=c=s[i]:(O=e+1,k=a[i+1],A=s[i],c=D);break}}D=c}if(r>=0&&(l[r]>=0||oe[r]===1)&&t+1<C&&e.charCodeAt(t+1)===45){if(j===Xe){Xe*=2;let e=new Int32Array(Xe);e.set(G),G=e;let t=new Int32Array(Xe);t.set(Ze),Ze=t}G[j]=r,Ze[j]=t+2,j++}}E===C&&(M=O<k?$:D,N=j);let le=O<k?$:D,P,ue=!1;if(E>=0){if(ue=!0,P=rt(e,S,E,M,N),P!==Q&&P<r&&ie[P]){let t=rt(e,S,C,le,j);t!==Q&&t!==P&&(P=t,ue=!1)}else P===Q&&(P=rt(e,S,C,le,j),ue=!1)}else P=rt(e,S,C,le,j);let F=0,de=0;P===Q?V[_]=Q:(de=+!!ue,F=b>=x?+!!w:De(Oe,e,b,x,+!!w,e=>Me(e,w)),V[_]=P,U[_]=de,H[_]=F),We(y,e,p,h,v,P,F,de)}if(n===0)return``;if(n===1)return qe[0]===0&&Je[0]===t?e:e.slice(qe[0],Je[0]);if(n*T>K){for(;n*T>K;)K<<=1,$e--;et=new Float64Array(K),tt=new Int32Array(K)}if(Ae>=Le||Pe>=Le)throw Error(`cn: too many distinct classes in one merge`);q=q+1|0,q===0&&(Qe.fill(0),tt.fill(0),q=1);let f=!1;for(let e=n-1;e>=0;e--){let t=V[e];if(t===Q){W[e]=1;continue}let n=H[e];if(nt(n,t)===1)W[e]=0,f=!0;else if(W[e]=1,t<r){let r=C[t];if(r>=0)for(let e=b[r];e<b[r+1];e++)nt(n,ee[e]);if(U[e]&1)for(let e=0;e<te.length;e++)te[e]===t&&nt(n,x[e])}}if(!f&&!u&&t===c+n-1)return e;let p=``,m=0;for(;m<n;){if(!W[m]){m++;continue}let t=qe[m],r=Je[m],i=m+1;for(;i<n&&W[i]&&qe[i]===r+1&&e.charCodeAt(r)===32;)r=Je[i],i++;p.length>0&&(p+=` `),p+=e.slice(t,r),m=i}return p},J=16384,Y=new Int32Array(J*2),at=0,X=1,ot=Object.create(null),st=Object.create(null),Z=new Map,ct=new Map,lt=0,ut=0,dt=()=>{at^=J,X=X+1|0,ut=0},ft=e=>{let t=ot[e];if(t!==void 0)return t;let n=vt(e,0,e.length),r=(n&16383)+at,i=Y[r]===(n^X)||Y[r^J]===(n^X-1);return i&&(t=st[e],t!==void 0)?(ot[e]=t,t):(t=it(e),i?(ot[e]=t,++lt>M&&(lt=0,st=ot,ot=Object.create(null),dt())):(Y[r]=n^X,++ut>J&&dt()),t)},pt=e=>{let t=Z.get(e);if(t!==void 0)return t;let n=vt(e,0,e.length),r=(n&16383)+at,i=Y[r]===(n^X)||Y[r^J]===(n^X-1);return i&&(t=ct.get(e),t!==void 0)?(Z.set(e,t),t):(t=it(e),i?(Z.set(e,t),++lt>M&&(lt=0,ct=Z,Z=new Map,dt())):(Y[r]=n^X,++ut>J&&dt()),t)},mt=e=>{let t=vt(e,0,e.length),n=(t&16383)+at;return Y[n]===(t^X)||Y[n^J]===(t^X-1)||(Y[n]=t^X,++ut>J&&dt(),!1)},ht=M===0?it:gt?e=>{let t=Z.get(e);return t===void 0?pt(e):t}:ft;return{merge:function(){return arguments.length===1&&typeof arguments[0]==`string`?ht(arguments[0]):ht(St.apply(null,arguments))},mergeString:ht,seenBefore:M===0?()=>!1:mt,mergeUncached:it}},bt=(e,t)=>{if(!e)return``;if(typeof e==`string`)return e;let n=``;if(typeof e.length==`number`&&(!t||Array.isArray(e))){let r=e;for(let e=0;e<r.length;e++){let i=r[e];if(!i)continue;let a=typeof i==`string`?i:bt(i,t);a&&(n&&(n+=` `),n+=a)}return n}if(t){if(typeof e==`number`)return``+e;if(typeof e==`object`)for(let t in e)e[t]&&(n&&(n+=` `),n+=t)}return n},xt=(e,t)=>{let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(!i)continue;let a=typeof i==`string`?i:bt(i,t);a&&(n&&(n+=` `),n+=a)}return n},St=function(){return xt(arguments,!1)},Ct=256,wt=16,Tt=1024,Et=4096,Dt=(e,t)=>{let n=t===void 0?()=>!0:t.seenBefore,r=t===void 0?e:t.mergeUncached,i=new Map,a=new Map,o=0,s=null,c=null,l=[],u=[],d=0,f=(t,n,r)=>{c===null&&(c=Array(Et).fill(``),l=Array(Et).fill(``),u=Array(Et).fill(``));let i=vt(t,0,t.length)&4094;if(c[i]===t&&l[i]===n)return u[i];if(c[i|1]===t&&l[i|1]===n)return u[i|1];let a=e(r?n+` `+t:t),o=c[i]===``?i:i|(c[i|1]===``?1:d++&1);return c[o]=t,l[o]=n,u[o]=a,a},p=(e,t,n,r)=>{let i=0;if(t){if(t!==e.a0)return!1;i=1}if(n){if(n!==(i===0?e.a0:e.a1))return!1;i++}if(r){if(r!==(i===0?e.a0:i===1?e.a1:e.a2))return!1;i++}return i===e.t},m=(e,t)=>{let n=e.a,r=0;for(let e=0;e<t.length;e++){let i=t[e];if(i){if(i!==n[r])return!1;r++}}return r===e.t},h=(t,c)=>{let l=t.length,u=s===null?null:s.n;if(!c){if(u!==null&&m(u,t))return s=u,u.r;if(s!==null&&s!==u&&m(s,t))return s.r}let d=``,p=-1,h=0,g=!1;for(let e=0;e<l;e++){let n=t[e];if(n){if(typeof n!=`string`){if(n=t[e]=bt(n,!0),!n)continue;g=!0}p<0&&(d=n,p=e),h++}}if(h===0)return``;if(h===1)return e(d);if(g){if(u!==null&&m(u,t))return s=u,u.r;if(s!==null&&s!==u&&m(s,t))return s.r}let _=i.get(d);_===void 0&&(_=a.get(d),_!==void 0&&i.set(d,_));let v=null;if(_!==void 0){if(_.skip>0){_.skip--,s=null;let e=d;for(let n=p+1;n<l;n++){let r=t[n];r&&(e+=` `+r)}return f(e,``,!1)}let e=_.e;outer:for(let n=0;n<e.length;n++){let r=e[n];if(r.t!==h)continue;let i=r.a,a=1;for(let e=p+1;e<l;e++){let n=t[e];if(n&&n!==i[a++])continue outer}v=r;break}v!==null&&(_.miss=0)}if(v===null){let s=d,c=[d];for(let e=p+1;e<l;e++){let n=t[e];n&&(s+=` `+n,c.push(n))}if(!n(s))return r(s);v={r:e(s),t:c.length,a0:c[0],a1:c[1],a2:c[2]??``,a:c,n:null},_===void 0?i.set(d,_={e:[],miss:0,skip:0,at:0}):++_.miss>wt&&(_.miss=wt,_.skip=Tt,_.e.length=0,_.at=0);let u=_.e;u.length<Ct?u.push(v):(u[_.at]=v,_.at=_.at+1&255),++o>1e3&&(o=0,a=i,i=new Map)}return s!==null&&s!==v&&(s.n=v),s=v,v.r},g=t=>Array.isArray(t)?h(t.slice(),!1):e(bt(t,!0));return function(t,n,r){let a=arguments.length;if((a|1)==3){let e=s;if(e!==null){let i=e.n;if(i!==null&&p(i,t,n,r))return s=i,i.r;if(e!==i&&p(e,t,n,r))return e.r}if(a===2&&typeof n==`string`&&n!==``){let e=i.get(t);if(e!==void 0&&e.skip>0)return e.skip--,s=null,f(n,t,!0)}return h([t,n,r],!0)}if(a===1)return typeof t==`string`?e(t):g(t);let o=s;if(o!==null){let e=o.n;if(e!==null){let t=e.a,n=0,r=!0;for(let e=0;e<a;e++){let i=arguments[e];if(i){if(i!==t[n]){r=!1;break}n++}}if(r&&n===e.t)return s=e,e.r}if(o!==e){let e=o.a,t=0,n=!0;for(let r=0;r<a;r++){let i=arguments[r];if(i){if(i!==e[t]){n=!1;break}t++}}if(n&&t===o.t)return o.r}}let c=[];for(let e=0;e<a;e++)c.push(arguments[e]);return h(c,!0)}},Ot=yt(ht),kt=Dt(Ot.mergeString,Ot);Ot.merge;export{g as A,i as B,d as C,f as D,ie as E,y as F,b as I,C as L,m as M,v as N,re as O,_ as P,l as R,D as S,oe as T,A as _,z as a,S as b,ke as c,Se as d,Ce as f,N as g,le as h,ze as i,w as j,h as k,Ee as l,F as m,Ke as n,Re as o,xe as p,Ue as r,Ie as s,kt as t,Te as u,O as v,E as w,p as x,T as y,o as z};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{a as t,o as n,r}from"./react-DLGSahv8.js";import{A as i,D as a,E as o,R as s,_ as c,a as l,c as u,f as d,g as f,h as p,i as m,j as h,k as g,l as _,m as v,n as y,o as b,p as x,r as S,t as C,u as w}from"./dist-BdaiJgHG.js";import{$ as T,$t as E,A as D,At as O,B as k,Bt as A,C as j,Ct as ee,D as M,Dt as N,Et as te,F as ne,Ft as P,G as re,H as F,I,It as ie,J as L,Jt as R,K as ae,Kt as z,Lt as B,Mt as V,N as H,O as U,P as W,Pt as G,Q as K,R as oe,S as q,St as se,T as ce,Tt as le,U as ue,V as de,Vt as fe,W as pe,Xt as me,Y as J,Yt as he,Zt as ge,_ as _e,_t as Y,an as ve,at as ye,b as be,ct as xe,d as Se,dn as Ce,en as we,et as Te,f as Ee,fn as De,ft as Oe,g as ke,gn as Ae,h as je,hn as Me,in as Ne,jt as Pe,k as Fe,kt as Ie,l as Le,ln as Re,lt as ze,mn as Be,mt as X,nn as Ve,nt as He,ot as Ue,p as We,pn as Ge,pt as Ke,q as qe,qt as Je,rn as Ye,sn as Xe,st as Ze,tn as Qe,tt as $e,u as et,ut as tt,vt as nt,w as rt,wt as it,x as at,y as ot,z as st,zt as ct}from"./result-error-Ddsi7au1.js";import{a as lt,c as ut,d as dt,f as ft,i as pt,l as mt,m as ht,n as gt,o as _t,p as vt,r as yt,s as bt,u as xt}from"./(home)-CZRd3iM_.js";var Z=e(n(),1),St=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M176,128,96,208V48Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z`}))]]),Ct=Z.forwardRef((e,t)=>Z.createElement(s,{ref:t,...e,weights:St}));Ct.displayName=`CaretRightIcon`;var wt=new Map([[`bold`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z`}))],[`duotone`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z`,opacity:`0.2`}),Z.createElement(`path`,{d:`M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z`}))],[`fill`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z`}))],[`light`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z`}))],[`regular`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z`}))],[`thin`,Z.createElement(Z.Fragment,null,Z.createElement(`path`,{d:`M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z`}))]]),Tt=Z.forwardRef((e,t)=>Z.createElement(s,{ref:t,...e,weights:wt}));Tt.displayName=`CheckIcon`;var Et=Xe&&ve;function Dt(e,t={}){let{enabled:n=!0,delay:r}=t,{events:o,dataRef:s}=e.context,c=Z.useRef(!1),l=Z.useRef(null),u=Z.useRef(!0),d=Re();Z.useEffect(()=>{let t=e.select(`domReferenceElement`);if(!n)return;let r=a(t);function o(){let t=e.select(`domReferenceElement`);!e.select(`open`)&&i(t)&&t===ge(Ae(t))&&(c.current=!0,l.current=t)}function s(){u.current=!0}function d(){u.current=!1}return De(Ge(r,`blur`,o),Et&&Ge(r,`keydown`,s,!0),Et&&Ge(r,`pointerdown`,d,!0))},[e,n]),Z.useEffect(()=>{if(!n)return;function t(t){if(t.reason===`trigger-press`||t.reason===`escape-key`){let t=e.select(`domReferenceElement`);g(t)&&(l.current=t,c.current=!0)}}return o.on(`openchange`,t),()=>{o.off(`openchange`,t)}},[o,n,e]);let f=Z.useMemo(()=>{function t(){c.current=!1,l.current=null}return{onMouseLeave(){t()},onFocus(n){let i=n.currentTarget;if(c.current){if(l.current===i)return;t()}let a=we(n.nativeEvent);if(g(a)){if(Et&&!n.relatedTarget){if(!u.current&&!ie(a))return}else if(!B(a))return}let o=G(n.relatedTarget,e.context.triggerElements),{nativeEvent:s,currentTarget:f}=n;e.select(`open`)&&o||!r?e.setOpen(!0,Y(X,s,f)):d.start(r,()=>{c.current||e.setOpen(!0,Y(X,s,f))})},onBlur(n){t();let r=n.relatedTarget,i=n.nativeEvent,a=g(r)&&r.hasAttribute($e(`focus-guard`))&&r.getAttribute(`data-type`)===`outside`;d.start(0,()=>{let t=e.select(`domReferenceElement`),n=ge(Ae(t));!r&&n===t||E(s.current.floatingContext?.refs.floating.current,n)||E(t,n)||a||G(r??n,e.context.triggerElements)||e.setOpen(!1,Y(X,i))})}}},[s,r,e,d]);return Z.useMemo(()=>n?{reference:f,trigger:f}:{},[n,f])}function Ot(e){return ve&&e.movementX===0&&e.movementY===0}function kt(e,t,n){switch(e){case`vertical`:return t;case`horizontal`:return n;default:return t||n}}function At(e,t){return kt(t,e===`ArrowUp`||e===`ArrowDown`,e===`ArrowLeft`||e===`ArrowRight`)}function jt(e,t,n){return kt(t,e===`ArrowDown`,n?e===`ArrowLeft`:e===`ArrowRight`)||e===`Enter`||e===` `||e===``}function Mt(e,t,n){return kt(t,n?e===R:e===he,e===Je)}function Nt(e,t,n,r){return t===`both`||t===`horizontal`&&r?e===`Escape`:kt(t,n?e===he:e===R,e===me)}function Pt(e,t){let{listRef:n,activeIndex:r,onNavigate:a=()=>{},enabled:o=!0,selectedIndex:s=null,allowEscape:c=!1,loopFocus:l=!1,nested:u=!1,rtl:d=!1,virtual:m=!1,focusItemOnOpen:h=`auto`,focusItemOnHover:g=!0,openOnArrowKeyDown:_=!0,disabledIndices:v=void 0,orientation:y=`vertical`,triggerOrientation:b=y,parentOrientation:x,id:S,resetOnPointerLeave:C=!0,externalTree:w,nestedReturnFocusRef:T,grid:D}=t,k=D!=null,A=e.useState(`open`),j=e.useState(`floatingElement`),M=e.useState(`domReferenceElement`),N=e.context.dataRef,ne=V(j),re=P(M),F=Ce(ne),I=ae(),L=qe(w),R=Z.useRef(h),z=Z.useRef(s??-1),B=Z.useRef(null),H=Z.useRef(!0),U=f(e=>{a(z.current===-1?null:z.current,e)}),W=Z.useRef(!!j),G=Z.useRef(A),K=Z.useRef(!1),oe=Z.useRef(!1),q=Z.useRef(null),ce=Ce(v),le=Ce(A),ue=Ce(s),de=Ce(C),fe=Ve(),pe=Ve(),me=f(()=>{fe.cancel();function e(e){m||(q.current=Te(e,{sync:K.current,preventScroll:!0}))}let t=n.current[z.current],r=oe.current;t&&e(t),(K.current?e=>e():e=>fe.request(e))(()=>{let i=n.current[z.current]||t;i&&(t||e(i),xe&&(r||!H.current)&&i.scrollIntoView?.({block:`nearest`,inline:`nearest`}))})});p(()=>{N.current.orientation=y},[N,y]),p(()=>{A||(B.current=null),A&&h===`auto`||(R.current=h)},[A,h]),p(()=>{o&&(A&&j?(z.current=s??-1,R.current&&s!=null&&(oe.current=!0,U())):W.current&&(z.current=-1,U()))},[o,A,j,s,U]),p(()=>{if(o){if(!A)K.current=!1;else if(j){if(r==null){if(K.current=!1,ue.current!=null)return;if(W.current&&(z.current=-1,me()),(!G.current||!W.current)&&R.current&&(B.current!=null||R.current===!0&&B.current==null)){let e=0,t=()=>{n.current[0]==null?(e<2&&(e?e=>pe.request(e):queueMicrotask)(t),e+=1):(z.current=B.current==null||jt(B.current,b,d)||u?ee(n):se(n),B.current=null,U())};t()}}else te(n.current,r)||(z.current=r,me(),oe.current=!1)}}},[o,A,j,r,ue,u,n,b,d,U,me,pe]),p(()=>{if(!o||j||!L||m||!W.current)return;let e=L.nodesRef.current,t=e.find(e=>e.id===I)?.context?.elements.floating,n=ge(Ae(M??t??null)),r=e.some(e=>e.context&&E(e.context.elements.floating,n));t&&!r&&H.current&&t.focus({preventScroll:!0})},[o,j,M,L,I,m]),p(()=>{G.current=A,W.current=!!j});let J=r!=null,he=f(e=>{if(!le.current)return;let t=n.current.indexOf(e.currentTarget);t!==-1&&(z.current!==t||r!==t)&&(z.current=t,U(e))}),_e=f(()=>x??L?.nodesRef.current.find(e=>e.id===I)?.context?.dataRef?.current.orientation),ve=f(()=>ee(n,ce.current)),be=f(t=>{if(H.current=!1,K.current=!0,t.which===229||!le.current&&t.currentTarget===F.current)return;if(u&&Nt(t.key,y,d,k)){At(t.key,_e())||Pe(t),e.setOpen(!1,Y(ze,t.nativeEvent));let n=T?.current??M;i(n)&&n.focus();return}r!=null&&r!==z.current&&!te(n.current,r)&&(z.current=r);let a=z.current,o=ee(n,v),s=se(n,v);if(re||(t.key===`Home`&&(Pe(t),z.current=o,U(t)),t.key===`End`&&(Pe(t),z.current=s,U(t))),D!=null){let e=D(t,z.current,n,y,l,d,v,o,s);if(e!=null&&e!==z.current&&(z.current=e,U(t)),y===`both`)return}if(At(t.key,y)){Pe(t);let e=ge(t.currentTarget.ownerDocument);if(A&&!m&&E(t.currentTarget,e)&&!n.current.some(t=>t!=null&&E(t,e))){z.current=jt(t.key,y,d)?o:s,U(t),r===z.current&&me();return}let{index:i,wrapped:u}=it(n.current,a,{decrement:!jt(t.key,y,d),loopFocus:l,allowEscape:c,disabledIndices:v,minIndex:o,maxIndex:s});u&&(K.current=!1),z.current=i,U(t)}}),xe=Z.useMemo(()=>({onFocus(e){K.current=!0,he(e)},onClick({currentTarget:e}){m||e.focus({preventScroll:!0})},onMouseMove(e){Ot(e)||(K.current=!0,oe.current=!1,g&&he(e))},onPointerLeave(e){if(!le.current||!H.current||e.pointerType===`touch`)return;K.current=!0;let t=e.relatedTarget;if(g&&!n.current.includes(t)&&de.current&&(q.current?.(),q.current=null,z.current=-1,U(e),!m)){let e=F.current,t=ge(Ae(e));e&&E(e,t)&&e.focus({preventScroll:!0})}}}),[he,le,F,g,n,U,de,m]),Se=Z.useMemo(()=>m&&A&&J&&{"aria-activedescendant":`${S}-${r}`},[m,A,J,S,r]),Ee=Z.useMemo(()=>({...re?{}:Se,onKeyDown(t){if(t.key===`Tab`&&t.shiftKey&&A&&!m){let n=we(t.nativeEvent);if(n&&!E(F.current,n))return;Pe(t);let r=Y(ye,t.nativeEvent);e.setOpen(!1,r);let a=T?.current??M;!r.isCanceled&&i(a)&&a.focus()}else be(t)},onPointerMove(e){Ot(e)||(H.current=!0)}}),[Se,be,F,re,e,A,m,M,T]),De=Z.useMemo(()=>{function t(t){e.setOpen(!0,Y(ze,t.nativeEvent,t.currentTarget))}function n(e){h===`auto`&&Ie(e.nativeEvent)&&(R.current=!m)}function r(e){R.current=h,h===`auto`&&O(e.nativeEvent)&&(R.current=!0)}return{onKeyDown(n){let r=e.select(`open`);H.current=!1;let i=n.key.startsWith(`Arrow`),a=Mt(n.key,_e(),d),o=At(n.key,r?y:b),s=(u?a:o)||n.key===`Enter`||n.key.trim()===``;if(m&&r&&(!u||ie(n.currentTarget)))return be(n);if(r||_||!i){if(s){let e=At(n.key,_e());B.current=u&&e?null:n.key}u?a&&(Pe(n),r?(z.current=ve(),U(n),m&&F.current?.focus()):t(n)):o&&(ue.current!=null&&(z.current=ue.current),Pe(n),!r&&_?t(n):be(n),r&&U(n))}},onFocus(t){t.target===t.currentTarget&&e.select(`open`)&&!m&&(z.current=-1,U(t))},onPointerDown:r,onPointerEnter:r,onMouseDown:n,onClick:n}},[be,h,ve,u,U,e,_,y,b,_e,d,ue,m,F]),Oe=Z.useMemo(()=>({...Se,...De}),[Se,De]);return Z.useMemo(()=>o?{reference:Oe,floating:Ee,item:xe,trigger:De}:{},[o,Oe,Ee,De,xe])}function Ft(e,t){let{listRef:n,elementsRef:r,activeIndex:i,onMatch:a,disabledIndices:o,onTyping:s,enabled:c=!0,resetMs:l=750,selectedIndex:u=null}=t,d=f(s),h=e.useState(`open`),g=Re(),_=Z.useRef(``),v=Z.useRef(u??i??-1),y=Z.useRef(null),b=f(e=>{function t(e){return r?.current[e]}function s(e){let n=t(e);return n&&!le(n)||n?.matches(`:disabled`)?!1:o==null||!N(m,e,o)}function c(e,t,n=0){if(e.length===0)return-1;let r=(n%e.length+e.length)%e.length,i=t.toLowerCase();for(let t=0;t<e.length;t+=1){let n=(r+t)%e.length;if(e[n]?.toLowerCase().startsWith(i)&&s(n))return n}return-1}let f=n.current;if(_.current.length>0&&e.key===` `&&(Pe(e),d?.(!0)),_.current.length>0&&_.current[0]!==` `&&c(f,_.current)===-1&&e.key!==` `&&d?.(!1),f==null||e.key.length!==1||e.ctrlKey||e.metaKey||e.altKey)return;h&&e.key!==` `&&(Pe(e),d?.(!0));let p=_.current===``;p&&(v.current=u??i??-1),f.every((e,t)=>e&&s(t)?e[0]?.toLowerCase()!==e[1]?.toLowerCase():!0)&&_.current===e.key&&(_.current=``,v.current=y.current),_.current+=e.key,g.start(l,()=>{_.current=``,v.current=y.current,d?.(!1)});let b=((p?u??i??-1:v.current)??0)+1,x=c(f,_.current,b);x===-1?e.key!==` `&&(_.current=``,d?.(!1)):(a?.(x,e),y.current=x)}),x=f(t=>{let n=t.relatedTarget,r=e.select(`domReferenceElement`),i=e.select(`floatingElement`);E(r,n)||E(i,n)||(g.clear(),_.current=``,v.current=y.current,d?.(!1))});p(()=>{(h||u===null)&&(g.clear(),y.current=null,_.current!==``&&(_.current=``,d?.(!1)))},[h,u,g,d]);let S=Z.useMemo(()=>({onKeyDown:b,onBlur:x}),[b,x]);return Z.useMemo(()=>c?{reference:S,floating:S}:{},[c,S])}var It=Z.forwardRef(function(e,t){let{className:n,render:r,orientation:i=`horizontal`,style:a,...o}=e;return S(`div`,e,{state:{orientation:i},ref:t,props:[{role:`separator`,"aria-orientation":i},o]})}),Lt=Z.createContext(void 0);function Rt(e){let t=Z.useContext(Lt);if(t===void 0&&!e)throw Error(x(33));return t}var zt=Z.createContext(void 0);function Bt(e){let t=Z.useContext(zt);if(t===void 0&&!e)throw Error(x(36));return t}var Vt=Z.createContext(void 0);function Ht(e=!0){let t=Z.useContext(Vt);if(t===void 0&&!e)throw Error(x(25));return t}var Ut=Z.createContext(null);function Wt(e=`root`){let t=Z.useContext(Ut),n=Z.useContext(zt);return t===null||n===void 0?null:(e===`submenu-trigger`?n.virtualFocus||n.parentVirtualFocus:n.virtualFocus)?t:null}var Gt={visible:!0,ref:null};function Kt(){return Gt}function qt(e,t,n=`root`){let r=Wt(n),i=((n===`submenu-trigger`?r?.useSubmenuTrigger:r?.useItem)??Kt)({label:e.label,children:e.children,render:e.render}),a=u(t,i.ref);return{visible:i.visible,ref:a,props:i.props}}var Jt=Z.createContext(void 0);function Yt(){let e=Z.useContext(Jt);if(e===void 0)throw Error(x(30));return e}function Xt(e){e.preventDefault()}function Zt(e){let{closeOnClick:t,highlighted:n,id:r,nodeId:i,store:a,typingRef:o,itemRef:s,itemMetadata:c}=e,l=Bt(),u=Ht(!0),d=c.type===`submenu-trigger`,f=d?l.parentVirtualFocus:l.virtualFocus,p=(d&&l.parent.type===`menu`?l.parent.store:l.store).useState(`webkitAriaSelected`,n),{events:m}=a.useState(`floatingTreeRoot`),h=a.useState(`open`),g=u!==void 0,_=!f&&h&&n?0:-1;return Z.useMemo(()=>({id:r,role:`menuitem`,tabIndex:_,"aria-selected":p,onMouseDown:f?Xt:void 0,onKeyDown(e){e.key===` `&&o?.current&&e.preventDefault()},onMouseMove(e){i&&m.emit(`itemhover`,{nodeId:i,target:e.currentTarget})},onClick(e){t&&m.emit(`close`,{domEvent:e.nativeEvent,reason:Ze})},onMouseUp(e){if(u){let t=u.initialCursorPointRef.current;if(u.initialCursorPointRef.current=null,g&&t&&Math.abs(e.clientX-t.x)<=1&&Math.abs(e.clientY-t.y)<=1||g&&!Xe&&e.button===2)return}s.current&&a.context.allowMouseUpTriggerRef.current&&(!g||e.button===2)&&c.type===`regular-item`&&w(s.current,e,{detail:1,pointerType:`mouse`})}}),[t,_,r,m,i,a.context.allowMouseUpTriggerRef,o,s,u,g,c.type,p,f])}var Qt={type:`regular-item`};function $t(e){let{closeOnClick:t,disabled:n,highlighted:r,id:i,store:a,typingRef:o=a.context.typingRef,nativeButton:s,itemMetadata:c,nodeId:l}=e,d=Z.useRef(null),{getButtonProps:f,buttonRef:p}=_({disabled:n,focusableWhenDisabled:!0,native:s,composite:!0}),m=Zt({closeOnClick:t,highlighted:r,id:i,nodeId:l,store:a,typingRef:o,itemRef:d,itemMetadata:c}),h=Z.useCallback(e=>v(m,{onMouseEnter(e){c.type===`submenu-trigger`&&c.setActive(e.nativeEvent)}},e,f),[m,f,c]),g=u(d,p);return Z.useMemo(()=>({getItemProps:h,itemRef:g}),[h,g])}var en=`data-checked`,tn=`data-unchecked`,nn={checked(e){return e?{[en]:``}:{[tn]:``}},...z},Q=r(),rn=Z.forwardRef(function(e,t){let{render:n,className:r,id:i,label:a,nativeButton:o=!1,disabled:s=!1,closeOnClick:c=!1,checked:l=!1,onCheckedChange:u,style:d,...f}=e,{store:p}=Bt(),m=et({guess:!0,label:a}),h=ot(i),g=p.useState(`disabled`),_=p.useState(`isActive`,m.index),v=p.useState(`floatingNodeId`),y=p.useState(`itemProps`),x=s||g,{getItemProps:C,itemRef:w}=$t({closeOnClick:c,disabled:x,highlighted:_,id:h,store:p,nativeButton:o,nodeId:v,itemMetadata:Qt}),T=Z.useMemo(()=>({disabled:x,highlighted:_,checked:l}),[x,_,l]);function E(e){let t=Y(Ze,e.nativeEvent,void 0,{preventUnmountOnClose:b});u?.(!l,t)}let D=S(`div`,e,{state:T,stateAttributesMapping:nn,props:[y,{role:`menuitemcheckbox`,"aria-checked":l,onClick:E},f,C],ref:[w,t,m.ref]});return(0,Q.jsx)(Jt.Provider,{value:T,children:D})}),an=Z.forwardRef(function(e,t){let{checked:n,defaultChecked:r,onCheckedChange:i,...a}=e,[o,s]=Ee({controlled:n,default:r??!1,name:`MenuCheckboxItem`,state:`checked`}),c=qt(e,t);function l(e,t){i?.(e,t),t.isCanceled||s(e)}return c.visible?(0,Q.jsx)(rn,{...a,checked:o,onCheckedChange:l,ref:c.ref}):null}),on=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,keepMounted:a=!1,...o}=e,s=Yt(),c=Z.useRef(null),{transitionStatus:l,mounted:u,setMounted:d}=oe(s.checked);ne({batch:!0,enabled:!s.checked,open:s.checked,ref:c,onComplete(){s.checked||d(!1)}});let f={checked:s.checked,disabled:s.disabled,highlighted:s.highlighted,transitionStatus:l};return S(`span`,e,{state:f,ref:[t,c],stateAttributesMapping:nn,props:{"aria-hidden":!0,...o},enabled:a||u})}),sn=Z.createContext(void 0);function cn(){let e=Z.useContext(sn);if(e===void 0)throw Error(x(31));return e}var ln=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,[o,s]=Z.useState(void 0),c=S(`div`,e,{ref:t,props:{role:`group`,"aria-labelledby":o,...a}});return(0,Q.jsx)(sn.Provider,{value:s,children:c})}),un=Z.forwardRef(function(e,t){let n=Wt()?.Group??ln;return(0,Q.jsx)(n,{...e,ref:t})}),dn=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,id:a,...o}=e,s=ot(a),c=cn();return p(()=>(c(s),()=>{c(e=>e===s?void 0:e)}),[c,s]),S(`div`,e,{ref:t,props:{id:s,"aria-hidden":!0,...o}})}),fn=Z.forwardRef(function(e,t){let{render:n,className:r,id:i,label:a,nativeButton:o=!1,disabled:s=!1,closeOnClick:c=!0,style:l,...u}=e,{store:d}=Bt(),f=et({guess:!0,label:a}),p=ot(i),m=d.useState(`disabled`),h=d.useState(`isActive`,f.index),g=d.useState(`floatingNodeId`),_=d.useState(`itemProps`),v=s||m,{getItemProps:y,itemRef:b}=$t({closeOnClick:c,disabled:v,highlighted:h,id:p,store:d,nativeButton:o,nodeId:g,itemMetadata:Qt});return S(`div`,e,{state:{disabled:v,highlighted:h},props:[_,u,y],ref:[b,t,f.ref]})}),pn=Z.forwardRef(function(e,t){let n=qt(e,t);return n.visible?(0,Q.jsx)(fn,{...e,ref:n.ref}):null}),mn=Z.createContext(void 0);function hn(){return Z.useContext(mn)}function gn(e,t){let n=y(e.render);if(Z.isValidElement(n)){let e=n.props;if(Object.hasOwn(e,`id`))return e.id??``}return e.id??t}function _n(e,t,n){let r=gn(e,t),i=r===t?void 0:r;return[r,Z.useCallback(e=>n?.(e?i:void 0),[i,n])]}function vn(e,t,n){let r=y(e.render),i=Z.isValidElement(r)?r.props:void 0,a=e[`aria-label`]??i?.[`aria-label`],o=e[`aria-labelledby`]??i?.[`aria-labelledby`];return o==null&&!a&&(o=t?t.id||void 0:n||void 0),o}var yn=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,finalFocus:a,id:o,initialFocus:s,...c}=e,{store:l,defaultFloatingId:u,setRenderedFloatingId:d,virtualFocus:f,orientation:p}=Bt(),m=hn(),{side:h,align:g}=Rt(),_=gt(!0)!=null,v=l.useState(`open`),y=l.useState(`transitionStatus`),b=l.useState(`popupProps`),x=l.useState(`mounted`),C=l.useState(`instantType`),w=l.useState(`activeTriggerElement`),T=l.useState(`parent`),E=l.useState(`lastOpenChangeReason`),D=l.useState(`rootId`),O=l.useState(`floatingRootContext`),k=l.useState(`floatingTreeRoot`),A=l.useState(`closeDelay`),j=l.useState(`hoverEnabled`),ee=l.useState(`disabled`),M=l.useState(`openMethod`),N=l.useState(`activeTriggerId`),te=l.useState(`listElement`),[P,re]=_n(e,u,d),I=vn(e,w,N),ie=T.type===`menu`?m:void 0,L=T.type===`context-menu`,R=s??T.type!==`menu`;s===void 0&&te&&T.type!==`menu`&&(R=()=>l.state.activeIndex===null&&te),ne({open:v,ref:l.context.popupRef,onComplete(){v&&l.context.onOpenChangeComplete?.(!0)}}),Z.useEffect(()=>{function e(e){l.setOpen(!1,Y(e.reason,e.domEvent))}return k.events.on(`close`,e),()=>{k.events.off(`close`,e)}},[k.events,l]),vt(O,{enabled:j&&!ee&&!L&&T.type!==`menubar`,closeDelay:A});let ae=l.useStateSetter(`popupElement`),{parentVirtualFocusRef:z,handleFocus:B}=(Z.useContext(Ut)?.useParentHandoff??xn)(l,T,v,f),V={transitionStatus:y,side:h,align:g,open:v,nested:T.type===`menu`,instant:C},H=S(`div`,e,{state:V,ref:[t,l.context.popupRef,ae,re],stateAttributesMapping:ct,props:[b,{id:P,...te?{role:`presentation`}:{role:`menu`,"aria-orientation":p===`horizontal`?`horizontal`:void 0,"aria-labelledby":I},onKeyDown(e){ie?.onPopupKeyDown?.(e),_&&We.has(e.key)&&e.stopPropagation()},onFocus:B},lt(y),c,{"data-rootownerid":D}]}),U=T.type===void 0||L;(w||T.type===`menubar`&&E!==`outside-press`)&&(U=!0);let W=ie?.getReturnElement??z;return(0,Q.jsx)(F,{context:O,openInteractionType:M,modal:L,disabled:!x,returnFocus:a??W??U,explicitReturnFocus:a===void 0&&W?!1:void 0,initialFocus:R,restoreFocus:!0,getInsideElements:T.type===void 0?()=>[l.context.beforeTriggerFocusGuardRef.current]:void 0,externalTree:T.type===`menubar`?void 0:k,previousFocusableElement:w,nextFocusableElement:T.type===void 0?l.context.triggerFocusTargetRef:void 0,beforeContentFocusGuardRef:l.context.beforeContentFocusGuardRef,children:H})}),bn={parentVirtualFocusRef:void 0,handleFocus:void 0};function xn(){return bn}var Sn=Z.forwardRef(function(e,t){let n=Wt()?.Popup??yn;return(0,Q.jsx)(n,{...e,ref:t})}),Cn=Z.createContext(void 0);function wn(){let e=Z.useContext(Cn);if(e===void 0)throw Error(x(32));return e}var Tn=Z.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,{store:i,parent:a}=Bt();if(!(i.useState(`mounted`)||n))return null;let o=a.type===`menu`||a.type===`menubar`?`group`:void 0;return(0,Q.jsx)(Cn.Provider,{value:n,children:(0,Q.jsx)(J,{ref:t,...r,portalOwnerRole:o})})}),En=Z.forwardRef(function(e,t){let{anchor:n,positionMethod:r=`absolute`,className:i,render:a,side:o,align:s,sideOffset:c=0,alignOffset:l=0,collisionBoundary:u=`clipping-ancestors`,collisionPadding:d=5,arrowPadding:f=5,sticky:p=!1,disableAnchorTracking:m=!1,collisionAvoidance:h=K,style:g,..._}=e,{store:v,virtualFocus:y,syncHighlightedItem:b}=Bt(),x=wn(),S=Ht(!0),C=v.useState(`parent`),w=v.useState(`floatingRootContext`),E=v.useState(`floatingTreeRoot`),D=v.useState(`mounted`),O=v.useState(`open`),k=v.useState(`modal`),A=v.useState(`openMethod`),j=v.useState(`activeTriggerElement`),ee=v.useState(`transitionStatus`),M=v.useState(`positionerElement`),N=v.useState(`instantType`),te=v.useState(`adaptiveOrigin`),ne=v.useState(`lastOpenChangeReason`),P=v.useState(`floatingNodeId`),re=v.useState(`floatingParentNodeId`),F=w.useState(`domReferenceElement`),I=n,ie=c,L=l,R=s,ae=h;C.type===`context-menu`&&(I=n??C.context?.anchor,R??=`start`,!o&&R!==`center`&&(L=e.alignOffset??2,ie=e.sideOffset??-5));let z=o,B=R;C.type===`menu`?(z??=`inline-end`,B??=`start`,ae=e.collisionAvoidance??T):C.type===`menubar`&&(z??=C.context.orientation===`vertical`?`inline-end`:`bottom`,B??=`start`);let V=C.type===`context-menu`,H=bt({anchor:I,floatingRootContext:w,positionMethod:S?`fixed`:r,mounted:D,side:z,sideOffset:ie,align:B,alignOffset:L,arrowPadding:V?0:f,collisionBoundary:u,collisionPadding:d,sticky:p,nodeId:P,keepMounted:x,disableAnchorTracking:m,collisionAvoidance:ae,shift:V?{crossAxis:!(`side`in ae&&ae.side===`flip`),rootBoundary:`layoutViewport`}:void 0,externalTree:E,adaptiveOrigin:te,lazyFlip:y?`placement`:!1});Z.useEffect(()=>{function e(e){e.open&&(e.parentNodeId===P&&v.set(`hoverEnabled`,!1),e.nodeId!==P&&e.parentNodeId===v.select(`floatingParentNodeId`)&&v.setOpen(!1,Y(Ke)))}return E.events.on(`menuopenchange`,e),()=>{E.events.off(`menuopenchange`,e)}},[v,E.events,P]),Z.useEffect(()=>{if(v.select(`floatingParentNodeId`)==null)return;function e(e){if(e.open||e.nodeId!==v.select(`floatingParentNodeId`))return;let t=e.reason??`sibling-open`;v.setOpen(!1,Y(t))}return E.events.on(`menuopenchange`,e),()=>{E.events.off(`menuopenchange`,e)}},[E.events,v]);let U=Re();Z.useEffect(()=>{O||U.clear()},[O,U]),Z.useEffect(()=>{function e(e){if(O&&e.nodeId===v.select(`floatingParentNodeId`)){if(e.target&&j&&j!==e.target){let e=v.select(`closeDelay`);e>0?U.isStarted()||U.start(e,()=>{v.setOpen(!1,Y(Ke))}):v.setOpen(!1,Y(Ke))}else U.clear()}}return E.events.on(`itemhover`,e),()=>{E.events.off(`itemhover`,e)}},[E.events,O,j,v,U]),Z.useEffect(()=>{let e={open:O,nodeId:P,parentNodeId:re,reason:v.select(`lastOpenChangeReason`)};E.events.emit(`menuopenchange`,e)},[E.events,O,v,P,re]),_t({store:v,domReference:F,positionerElement:M,open:O});let W={open:O,side:H.side,align:H.align,anchorHidden:H.anchorHidden,nested:C.type===`menu`,instant:N},G=C.type===`menubar`&&C.context.modal;yt(O&&(G||k&&ne!==`trigger-hover`),A===`touch`,M,j);let oe=pt(e,W,{styles:H.positionerStyles,transitionStatus:ee,props:_,refs:[t,v.useStateSetter(`positionerElement`)],hidden:!D,inert:!O}),q=D&&C.type!==`menu`&&(C.type!==`menubar`&&k&&ne!==`trigger-hover`||C.type===`menubar`&&C.context.modal),se=null;return C.type===`menubar`?se=C.context.contentElement:C.type===void 0&&(se=j),(0,Q.jsxs)(Lt.Provider,{value:H,children:[q&&(0,Q.jsx)(je,{ref:C.type===`context-menu`||C.type===`nested-context-menu`?C.context.internalBackdropRef:null,inert:_e(!O),cutout:se}),(0,Q.jsx)(ue,{id:P,children:(0,Q.jsx)(Se,{elementsRef:v.context.itemDomElements,labelsRef:v.context.itemLabels,onMapChange:b,children:oe})})]})}),Dn=Z.createContext(void 0);function On(){let e=Z.useContext(Dn);if(e===void 0)throw Error(x(34));return e}var kn=Z.forwardRef(function(e,t){let{render:n,className:r,value:i,defaultValue:a,onValueChange:o,disabled:s=!1,style:c,"aria-labelledby":l,...u}=e,[d,p]=Z.useState(void 0),[m,h]=Ee({controlled:i,default:a,name:`MenuRadioGroup`}),g=f((e,t)=>{o?.(e,t),t.isCanceled||h(e)}),_=S(`div`,e,{state:{disabled:s},ref:t,props:{role:`group`,"aria-labelledby":l??d,"aria-disabled":s||void 0,...u}}),v=Z.useMemo(()=>({value:m,setValue:g,disabled:s}),[m,g,s]);return(0,Q.jsx)(sn.Provider,{value:p,children:(0,Q.jsx)(Dn.Provider,{value:v,children:_})})}),An=Z.memo(Z.forwardRef(function(e,t){let n=Wt()?.RadioGroup??kn;return(0,Q.jsx)(n,{...e,ref:t})})),jn=Z.createContext(void 0);function Mn(){let e=Z.useContext(jn);if(e===void 0)throw Error(x(35));return e}var Nn=Z.forwardRef(function(e,t){let{render:n,className:r,id:i,label:a,nativeButton:o=!1,disabled:s=!1,closeOnClick:c=!1,value:l,style:u,...d}=e,{store:f}=Bt(),{value:p,setValue:m,disabled:h}=On(),g=et({guess:!0,label:a}),_=ot(i),v=f.useState(`isActive`,g.index),y=f.useState(`floatingNodeId`),x=f.useState(`itemProps`),C=f.useState(`disabled`),w=s||h||C,T=p===l,{getItemProps:E,itemRef:D}=$t({closeOnClick:c,disabled:w,highlighted:v,id:_,store:f,nativeButton:o,nodeId:y,itemMetadata:Qt}),O=Z.useMemo(()=>({disabled:w,highlighted:v,checked:T}),[w,v,T]);function k(e){let t=Y(Ze,e.nativeEvent,void 0,{preventUnmountOnClose:b});m(l,t)}let A=S(`div`,e,{state:O,stateAttributesMapping:nn,props:[x,{role:`menuitemradio`,"aria-checked":T,onClick:k},d,E],ref:[D,t,g.ref]});return(0,Q.jsx)(jn.Provider,{value:O,children:A})}),Pn=Z.forwardRef(function(e,t){let n=qt(e,t);return n.visible?(0,Q.jsx)(Nn,{...e,ref:n.ref}):null}),Fn=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,keepMounted:a=!1,...o}=e,s=Mn(),c=Z.useRef(null),{transitionStatus:l,mounted:u,setMounted:d}=oe(s.checked);ne({batch:!0,enabled:!s.checked,open:s.checked,ref:c,onComplete(){s.checked||d(!1)}});let f={checked:s.checked,disabled:s.disabled,highlighted:s.highlighted,transitionStatus:l};return S(`span`,e,{state:f,stateAttributesMapping:nn,ref:[t,c],props:{"aria-hidden":!0,...o},enabled:a||u})}),In=Z.createContext(null);function Ln(e){let t=Z.useContext(In);if(t===null&&!e)throw Error(x(5));return t}function Rn(e){return e==null?tt:e.type.startsWith(`key`)?xe:e.type.startsWith(`mouse`)||e.type.startsWith(`pointer`)?Oe:tt}var zn={...at,disabled:e=>e.parent.type===`menubar`&&e.parent.context.disabled||e.disabled,modal:e=>(e.parent.type===void 0||e.parent.type===`context-menu`)&&(e.modal??!0),openMethod:e=>e.openMethod,keyboardOpen:e=>e.keyboardOpen,allowMouseEnter:e=>e.allowMouseEnter,highlightItemOnHover:e=>e.highlightItemOnHover,parent:e=>e.parent,rootId:e=>e.parent.type===`menu`?e.parent.store.select(`rootId`):e.parent.type===void 0?e.rootId:e.parent.context.rootId,activeIndex:e=>e.activeIndex,listElement:e=>e.listElement,triggerControlsId:(e,t)=>{let n=at.triggerPopupId(e,t);return n?e.listElement?.id||n:void 0},filterTriggerProps:e=>e.filterTriggerProps,inputProps:e=>e.inputProps,webkitAriaSelected:(e,t)=>ve&&e.inputFocused&&t?!0:void 0,highlightedItemId:e=>e.highlightedItem?.id||void 0,isActive:(e,t)=>e.activeIndex===t,hoverEnabled:e=>e.hoverEnabled,instantType:e=>e.instantType===`trigger-change`&&!at.open(e)?void 0:e.instantType,lastOpenChangeReason:e=>e.openChangeReason,floatingTreeRoot:e=>e.parent.type===`menu`?e.parent.store.select(`floatingTreeRoot`):e.floatingTreeRoot,floatingNodeId:e=>e.floatingNodeId,floatingParentNodeId:e=>e.floatingParentNodeId,itemProps:e=>e.itemProps,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin,keyboardEventRelay:e=>{if(e.keyboardEventRelay)return e.keyboardEventRelay;if(e.parent.type===`menu`)return e.parent.store.select(`keyboardEventRelay`)}},Bn=class extends st{constructor(e,t,n=!1){let r=new q,i=Hn(r,t,n,e);super(i,Vn(r),zn),this.observe(`parent`,e=>{e.type===`menu`?this.context.allowMouseUpTriggerRef=e.store.context.allowMouseUpTriggerRef:e.type!==void 0&&(this.context.allowMouseUpTriggerRef=e.context.allowMouseUpTriggerRef)})}subscribeToParentMenu(){let e=this.state.parent;if(e.type!==`menu`)return;let t=e.store.select(`rootId`),n=e.store.select(`floatingTreeRoot`),r=e.store.select(`keyboardEventRelay`);return e.store.subscribe(()=>{let i=e.store.select(`rootId`),a=e.store.select(`floatingTreeRoot`),o=e.store.select(`keyboardEventRelay`);(t!==i||n!==a||r!==o)&&(t=i,n=a,r=o,this.notifyAll())})}setOpen(e,t){this.state.floatingRootContext.context.events.emit(`setOpen`,{open:e,eventDetails:t})}setActiveIndex(e,t,n){if(this.state.activeIndex!==e){let r=(e===null?void 0:this.context.itemDomElements.current[e])===this.context.reportedItem;this.context.highlightReason=r?`none`:t,this.context.highlightEvent=r?void 0:n}this.set(`activeIndex`,e)}highlightItem(e,t,n){let r=this.context.itemDomElements.current.indexOf(e);r>-1&&this.setActiveIndex(r,t,n)}};function Vn(e){return{positionerRef:Z.createRef(),popupRef:Z.createRef(),typingRef:{current:!1},itemDomElements:{current:[]},itemLabels:{current:[]},highlightReason:`none`,highlightEvent:void 0,reportedItem:void 0,allowMouseUpTriggerRef:{current:!1},virtualFocusRef:void 0,triggerFocusTargetRef:Z.createRef(),beforeTriggerFocusGuardRef:Z.createRef(),beforeContentFocusGuardRef:Z.createRef(),onOpenChangeComplete:void 0,triggerElements:e}}function Hn(e,t,n=!1,r){return{...be(e,t,n),disabled:!1,modal:!0,openMethod:null,keyboardOpen:!1,allowMouseEnter:!1,highlightItemOnHover:!0,parent:{type:void 0},rootId:void 0,activeIndex:null,listElement:null,filterTriggerProps:l,inputProps:l,inputFocused:!1,highlightedItem:void 0,hoverEnabled:!0,instantType:void 0,openChangeReason:null,floatingTreeRoot:new L,floatingNodeId:void 0,floatingParentNodeId:null,itemProps:l,keyboardEventRelay:void 0,closeDelay:0,adaptiveOrigin:void 0,...r}}var Un=Z.createContext(null);function Wn(e,t){return(e===`trigger-press`||e===`item-press`)&&t?.detail===0}function Gn(e,t){return e===`list-navigation`||Wn(e,t)}var Kn=Be(function(e){let{children:t,open:n,onOpenChange:r,onOpenChangeComplete:i,onItemHighlighted:a,defaultOpen:o=!1,disabled:s=!1,modal:u,loopFocus:d=!0,orientation:h=`vertical`,actionsRef:g,closeParentOnEsc:_=!1,handle:y,triggerId:b,defaultTriggerId:x=null,highlightItemOnHover:S=!0,isSubmenu:C=!1,virtualFocus:w=!1,virtualFocusRef:T,allowEscape:E=!0,resetOnPointerLeave:O=!0}=e,A=Ht(!0),ee=Bt(!0),N=Ln(!0),te=ee?.store,ne=ee?.virtualFocus??!1,P=Z.useMemo(()=>C&&te?{type:`menu`,store:te}:N?{type:`menubar`,context:N}:A&&!te?{type:`context-menu`,context:A}:{type:void 0},[A,te,N,C]),F=ot(),ie=ot(),[L,R]=Z.useState(void 0),z=(L??ie)||void 0,B=ae(),V=P.type===`menu`?P.store:void 0,H=(n??o)&&V?.state.transitionStatus===`starting`,W=c(()=>H?V?.state.instantType:void 0).current,G=c(()=>{let e=new Bn({open:o,openProp:n,activeTriggerId:x,triggerIdProp:b,parent:P,disabled:s,highlightItemOnHover:S,modal:P.type===void 0?u:void 0,rootId:F,instantType:W},z,B!=null);return e.context.virtualFocusRef=T,e}).current;G.useControlledProp(`openProp`,n),G.useControlledProp(`triggerIdProp`,b),G.useContextCallback(`onOpenChangeComplete`,i);let K=G.useState(`floatingTreeRoot`),oe=re(K),q=G.useState(`open`),se=G.useState(`activeTriggerElement`),le=G.useState(`positionerElement`),ue=G.useState(`hoverEnabled`),fe=G.useState(`disabled`),me=G.useState(`lastOpenChangeReason`),J=G.useState(`parent`),he=G.useState(`activeIndex`),ge=G.useState(`keyboardOpen`),_e=G.useState(`payload`),ve=G.useState(`floatingParentNodeId`),ye=Z.useRef(null),be=Z.useRef(J.type!==`context-menu`),Se=Re(),Ce=Z.useRef(!0),we=Re(),Te=ve!=null,{openMethod:Ee,triggerProps:De}=ut(q);G.useSyncedValues({disabled:s,highlightItemOnHover:S,modal:J.type===void 0?u:void 0,openMethod:Ee,rootId:F}),U(G);let{forceUnmount:Oe,transitionStatus:Ae}=Fe(q,G,()=>{G.set(`allowMouseEnter`,!1)},H),je=I(G.context.popupRef);Z.useEffect(()=>{if(W===void 0)return;let e=()=>{G.state.instantType===W&&G.set(`instantType`,void 0)};if(!q){e();return}if(Ae!==void 0)return;if(G.context.popupRef.current==null){e();return}let t=new AbortController;return je(e,t.signal),()=>{t.abort()}},[W,q,Ae,je,G]),p(()=>{A&&!ee?G.update({parent:{type:`context-menu`,context:A},floatingNodeId:oe,floatingParentNodeId:B}):(ee||!G.select(`activeTriggerElement`))&&G.update({floatingNodeId:oe,floatingParentNodeId:B})},[A,ee,oe,B,se,G]),Z.useEffect(()=>{q||(ye.current=null),J.type===`context-menu`&&(q?Se.start(500,()=>{be.current=!0}):(Se.clear(),be.current=!1))},[Se,q,J.type]),p(()=>{!q&&!ue&&G.set(`hoverEnabled`,!0)},[q,ue,G]);let Me=f((e,t)=>{let n=t.reason;if(!e&&!G.select(`open`)||q===e&&t.trigger===se&&me===n)return;let i=ce(t);if(!e&&t.trigger==null&&(t.trigger=se??void 0),r?.(e,t),t.isCanceled)return;G.state.floatingRootContext.dispatchOpenChange(e,t);let a=t.event;if(e===!1&&n!==`item-press`&&a?.type===`click`&&a.pointerType===`touch`&&!Ce.current)return;e&&n===`trigger-focus`?(Ce.current=!1,we.start(300,()=>{Ce.current=!0})):(Ce.current=!0,we.clear());let o=!e&&(n===`escape-key`||n==null);ye.current=t.event;let s=M(G.state,e,t.trigger,i());s.openChangeReason=n,s.keyboardOpen=e&&Gn(n,a),s.instantType=J.type===`menubar`&&(n===`trigger-focus`||n===`focus-out`||n===`trigger-hover`||n===`list-navigation`||n===`sibling-open`)?`group`:Wn(n,a)?`click`:o?`dismiss`:void 0,G.update(s)}),Ne=k({popupStore:G,floatingRootContext:G.state.floatingRootContext,floatingId:z,nested:B!=null,onOpenChange:Me}),Pe=Ne.context.events;p(()=>{let e=({open:e,eventDetails:t})=>Me(e,t);return Pe.on(`setOpen`,e),()=>{Pe?.off(`setOpen`,e)}},[Pe,Me]),p(()=>G.subscribeToParentMenu(),[G]);let Ie=Z.useCallback(()=>{G.setOpen(!1,Y(Ue))},[G]);Z.useImperativeHandle(g,()=>({unmount:Oe,close:Ie}),[Oe,Ie]);let Le;J.type===`context-menu`&&(Le=J.context),Z.useImperativeHandle(Le?.positionerRef,()=>le,[le]),Z.useImperativeHandle(Le?.actionsRef,()=>({setOpen:Me}),[Me]);let ze=de(Ne,{enabled:!fe,bubbles:{escapeKey:_&&J.type===`menu`},outsidePress(){return J.type!==`context-menu`||ye.current?.type===`contextmenu`||be.current},externalTree:Te?K:void 0}),Be=ke(),X=Pt(Ne,{enabled:!fe,listRef:G.context.itemDomElements,activeIndex:he,virtual:w,nested:J.type===`menubar`||!w&&J.type!==void 0,parentOrientation:J.type===`menubar`?J.context.orientation:void 0,loopFocus:d,focusItemOnOpen:w?ge:void 0,allowEscape:w&&d&&E,orientation:h,triggerOrientation:w?`vertical`:h,rtl:Be===`rtl`,disabledIndices:m,onNavigate(e,t){G.setActiveIndex(e,Rn(t),t?.nativeEvent)},openOnArrowKeyDown:J.type!==`context-menu`&&!(w&&C),externalTree:!w&&Te?K:void 0,nestedReturnFocusRef:V?.context.virtualFocusRef,focusItemOnHover:S,resetOnPointerLeave:O}),Ve=Z.useCallback(e=>{G.context.typingRef.current=e},[G]),He=Ft(Ne,{enabled:!fe&&!w,listRef:G.context.itemLabels,elementsRef:G.context.itemDomElements,activeIndex:he,resetMs:500,onMatch:(e,t)=>{q&&e!==he&&G.setActiveIndex(e,xe,t.nativeEvent)},onTyping:Ve}),We=f(a),Ge=Z.useRef(-1),Ke=f(()=>{let e=G.state.activeIndex,t=e===null?void 0:G.context.itemDomElements.current[e]??void 0;if(t?.isConnected===!1)return;let n=t===void 0?-1:e;if(Ge.current===n&&G.context.reportedItem===t)return;Ge.current=n,G.context.reportedItem=t,w&&G.set(`highlightedItem`,t);let{highlightReason:r,highlightEvent:i}=G.context;G.context.highlightReason=tt,G.context.highlightEvent=void 0,a&&We(t,nt(r,i,{label:t===void 0?void 0:G.context.itemLabels.current[n]??void 0}))});p(()=>{Ke()},[he,Ke]);let qe=Z.useMemo(()=>{if(!w)return X.reference;if(!X.trigger)return l;let{onFocus:e,...t}=X.trigger;return t},[w,X.reference,X.trigger]);G.useSyncedValue(`inputProps`,w?X.reference??l:l);let Je=Z.useMemo(()=>{let e=v(He.reference,qe,ze.reference,{onMouseMove(){G.set(`allowMouseEnter`,!0)}},De);return e[`aria-haspopup`]=`menu`,e[`aria-expanded`]=q,e},[G,He.reference,qe,ze.reference,De,q]),Ye=Z.useMemo(()=>{let e=v(X.trigger,ze.trigger,De);return e[`aria-haspopup`]=`menu`,e[`aria-expanded`]=!1,e},[X.trigger,ze.trigger,De]);c(()=>(G.update({inactiveTriggerProps:Ye}),null));let Xe=Z.useMemo(()=>v(j,{onMouseMove(){G.set(`allowMouseEnter`,!0),J.type===`menu`&&G.set(`hoverEnabled`,!1)},onClick(){G.select(`hoverEnabled`)&&G.set(`hoverEnabled`,!1)},onKeyDown(e){let t=G.select(`keyboardEventRelay`);t&&!e.isPropagationStopped()&&t(e)}},He.floating,X.floating,ze.floating),[J.type,G,He.floating,X.floating,ze.floating]),Ze=X.item??l;D(G,{floatingRootContext:Ne,activeTriggerProps:Je,inactiveTriggerProps:Ye,popupProps:Xe,itemProps:Ze});let Qe=Z.useMemo(()=>({store:G,parent:P,orientation:h,loopFocus:d,allowEscape:E,defaultFloatingId:ie,setRenderedFloatingId:R,virtualFocus:w,parentVirtualFocus:ne,syncHighlightedItem:Ke}),[G,P,h,d,E,ie,w,ne,Ke]),$e=typeof t==`function`?t({payload:_e}):t,et=(0,Q.jsxs)(zt.Provider,{value:Qe,children:[y&&(0,Q.jsx)(rt,{handle:y,store:G}),$e]});return(J.type===void 0||J.type===`context-menu`)&&(et=(0,Q.jsx)(pe,{externalTree:K,children:et})),et});function qn(e){let t=Z.useContext(Un);if(t===null)return(0,Q.jsx)(Kn,{...e});let n=t.Root;return(0,Q.jsx)(Un.Provider,{value:null,children:(0,Q.jsx)(n,{...t.options,...e})})}var Jn={};function Yn(e){Bt();let t=Z.useContext(Un);if(t!==null){let n=t.SubmenuRoot;return(0,Q.jsx)(Un.Provider,{value:null,children:(0,Q.jsx)(n,{...t.options,...e})})}return(0,Q.jsx)(mn.Provider,{value:Jn,children:(0,Q.jsx)(Kn,{...e,isSubmenu:!0})})}var Xn=5;function Zn(e,t){let n=Qn(t);return e.clientX>=n.left-Xn&&e.clientX<=n.right+Xn&&e.clientY>=n.top-Xn&&e.clientY<=n.bottom+Xn}function Qn(e){let t=e.getBoundingClientRect(),n=a(e);if(Ye)return t;let r=n.getComputedStyle(e,`::before`),i=n.getComputedStyle(e,`::after`);if(r.content===`none`&&i.content===`none`)return t;let o=parseFloat(r.width)||0,s=parseFloat(r.height)||0,c=parseFloat(i.width)||0,l=parseFloat(i.height)||0,u=Math.max(t.width,o,c),d=Math.max(t.height,s,l),f=u-t.width,p=d-t.height;return{left:t.left-f/2,right:t.right+f/2,top:t.top-p/2,bottom:t.bottom+p/2}}function $n(e){let{render:t,className:n,style:r,state:i=l,props:a=m,refs:o=m,metadata:s,stateAttributesMapping:c,tag:u=`div`,...d}=e,{compositeProps:f,compositeRef:p}=Le({metadata:s});return S(u,e,{state:i,ref:[p,...o],props:[f,...a,d],stateAttributesMapping:c})}function er(e){if(i(e)&&e.hasAttribute(`data-rootownerid`))return e.getAttribute(`data-rootownerid`);if(!h(e))return er(o(e))}function tr(e){let{enabled:t=!0,mouseDownAction:n,open:r}=e,i=Z.useRef(!1);return Z.useMemo(()=>t?{onMouseDown:e=>{(n===`open`&&!r||n===`close`&&r)&&(i.current=!0,Ae(e.currentTarget).addEventListener(`click`,()=>{i.current=!1},{once:!0}))},onClick:e=>{i.current&&(i.current=!1,e.preventBaseUIHandler())}}:l,[t,n,r])}var nr=Me(function(e,t){let{render:n,className:r,style:i,disabled:a=!1,nativeButton:o=!0,id:s,openOnHover:c,delay:u=100,closeDelay:p=0,handle:m,payload:h,...g}=e,y=Bt(!0),b=xt(m)??y?.store;if(!b)throw Error(x(85));let C=ot(s),w=b.useState(`isTriggerActive`,C),T=b.useState(`floatingRootContext`),D=b.useState(`isOpenedByTrigger`,C),O=b.useState(`triggerControlsId`,C),k=Z.useRef(null),j=ir(),ee=d(!0),M=qe(),N=Z.useMemo(()=>M??new L,[M]),te=re(N),ne=ae(),{registerTrigger:P,isMountedByThisTrigger:F}=H(C,k,b,{payload:h,closeDelay:p,parent:j,floatingTreeRoot:N,floatingNodeId:te,floatingParentNodeId:ne,keyboardEventRelay:ee?.relayKeyboardEvent}),I=j.type===`menubar`,ie=b.useState(`disabled`),R=a||ie||I&&j.context.disabled,{getButtonProps:z,buttonRef:B}=_({disabled:R,native:o});Z.useEffect(()=>{!D&&j.type===void 0&&(b.context.allowMouseUpTriggerRef.current=!1)},[b,D,j.type]);let V=Z.useRef(null),U=Re(),W=f(e=>{if(!V.current)return;U.clear(),b.context.allowMouseUpTriggerRef.current=!1;let t=e.target;E(V.current,t)||E(b.select(`positionerElement`),t)||t===V.current||t!=null&&er(t)===b.select(`rootId`)||Zn(e,V.current)||N.events.emit(`close`,{domEvent:e,reason:He})});Z.useEffect(()=>{let e=Ae(V.current);if(D&&b.select(`lastOpenChangeReason`)===`trigger-hover`)return e.addEventListener(`mouseup`,W,{once:!0}),()=>{e.removeEventListener(`mouseup`,W)}},[D,W,b]);let G=I&&j.context.hasSubmenuOpen,K=ft(T,{enabled:(c??G)&&!R&&(!I||G&&!F),handleClose:dt({blockPointerEvents:!I}),mouseOnly:!0,move:!1,restMs:j.type===void 0?u:void 0,delay:{close:p},triggerElementRef:k,externalTree:N,isActiveTrigger:w,isClosing:()=>b.select(`transitionStatus`)===`ending`}),oe=rr(D,b.select(`lastOpenChangeReason`)),q=ht(T,{enabled:!R,event:D&&I?`click`:`mousedown`,toggle:!0,ignoreMouse:!1,stickIfOpen:j.type===void 0&&oe}),se=Dt(T,{enabled:!R&&G}),ce=tr({open:D,enabled:I,mouseDownAction:`open`}),le=Z.useMemo(()=>v(se.reference,q.reference),[se.reference,q.reference]),ue=b.useState(`triggerProps`,F),de=b.useState(`filterTriggerProps`),{handlePreFocusGuardFocus:fe,handleFocusTargetFocus:pe}=mt(b,k),me={disabled:R,open:D},J=[V,t,B,P,k],he=[le,K??l,ue,{"aria-haspopup":`menu`,"aria-controls":O,id:C,onMouseDown:e=>{b.select(`open`)||(U.start(200,()=>{b.context.allowMouseUpTriggerRef.current=!0}),Ae(e.currentTarget).addEventListener(`mouseup`,W,{once:!0}))}},de,I?{role:`menuitem`}:{},ce,g,z],ge=S(`button`,e,{enabled:!I,stateAttributesMapping:A,state:me,ref:J,props:he});return I?(0,Q.jsx)($n,{tag:`button`,render:n,className:r,style:i,state:me,refs:J,props:he,stateAttributesMapping:A}):D?(0,Q.jsxs)(Z.Fragment,{children:[(0,Q.jsx)(Qe,{ref:b.context.beforeTriggerFocusGuardRef,onFocus:fe},`${C}-pre-focus-guard`),(0,Q.jsx)(Z.Fragment,{children:ge},C),(0,Q.jsx)(Qe,{ref:b.context.triggerFocusTargetRef,onFocus:pe},`${C}-post-focus-guard`)]}):(0,Q.jsx)(Z.Fragment,{children:ge},C)});function rr(e,t){let n=Re(),[r,i]=Z.useState(!1);return p(()=>{e&&t===`trigger-hover`?(i(!0),n.start(500,()=>{i(!1)})):e||(n.clear(),i(!1))},[e,t,n]),r}function ir(){let e=Ln(!0);return Z.useMemo(()=>e?{type:`menubar`,context:e}:{type:void 0},[e])}var ar={"aria-expanded":void 0},or=Z.forwardRef(function(e,t){let{render:n,className:r,style:i,label:a,id:o,nativeButton:s=!1,openOnHover:c=!0,delay:u=100,closeDelay:d=0,disabled:m=!1,...h}=e,g=Bt(!0);if(g?.parent.type!==`menu`)throw Error(x(37));let _=Rt(),v=hn(),{store:y,parentVirtualFocus:b}=g,C=g.parent.store,w=et({guess:!0,label:a}),T=ot(o),E=y.useState(`open`),D=Z.useRef(!1),O=y.useState(`positionerElement`),k=y.useState(`floatingRootContext`),A=y.useState(`floatingTreeRoot`),j=y.useState(`triggerPopupId`,T),ee=W(T,y),M=f(e=>{ee(e);let t=y.select(`activeTriggerElement`);e!==null&&y.select(`open`)&&(t===e||y.select(`activeTriggerId`)==null)&&y.update({activeTriggerId:T??null,activeTriggerElement:e,closeDelay:d})}),N=Z.useRef(null),te=Z.useCallback(e=>{N.current=e,y.set(`activeTriggerElement`,e)},[y]);p(()=>(M(N.current),()=>M(null)),[M,T,y]),p(()=>{if(!E||!O)return;function e(e){we(e)===y.context.beforeContentFocusGuardRef.current&&(D.current=e.relatedTarget===N.current)}return O.addEventListener(`focusout`,e,!0),()=>{D.current=!1,O.removeEventListener(`focusout`,e,!0)}},[E,O,y]),y.useSyncedValue(`closeDelay`,d);let ne=y.useState(`disabled`),P=C.useState(`disabled`),re=m||ne||P,F=C.useState(`itemProps`),I=C.useState(`isActive`,w.index),ie=Z.useMemo(()=>({type:`submenu-trigger`,setActive(e){C.select(`highlightItemOnHover`)&&C.setActiveIndex(w.index,Oe,e)}}),[C,w.index]),{getItemProps:L,itemRef:R}=$t({closeOnClick:!1,disabled:re,highlighted:I,id:T,store:y,typingRef:C.context.typingRef,nativeButton:s,itemMetadata:ie,nodeId:_?.context.nodeId}),ae=y.useState(`hoverEnabled`),z=ft(k,{enabled:ae&&c&&!re,handleClose:dt({blockPointerEvents:!0}),mouseOnly:!0,move:!0,restMs:u,delay:{open:u,close:d},shouldOpen:u>0?()=>C.select(`allowMouseEnter`):void 0,triggerElementRef:N,externalTree:A,isClosing:()=>y.select(`transitionStatus`)===`ending`,guardStaleOpen:!0}),B=ht(k,{enabled:!re,event:`mousedown`,toggle:!0,ignoreMouse:c,stickIfOpen:c}).reference??l,V=y.useState(`triggerProps`,!0);delete V.id;let H={disabled:re,highlighted:I,open:E},U=y.useState(`openMethod`),G=y.useState(`lastOpenChangeReason`)===`list-navigation`||U===`keyboard`,K=E&&G&&Ne,oe=v?.onTriggerKeyDown?{onKeyDown:v.onTriggerKeyDown}:void 0;return S(`div`,e,{state:H,stateAttributesMapping:fe,props:[B,z,V,oe,F,K?ar:void 0,{"aria-controls":j,tabIndex:b||!(E||I)?-1:0,onFocus(e){y.select(`open`)&&D.current&&(D.current=!1,y.setOpen(!1,Y(ye,e.nativeEvent)))},onBlur(){I&&C.setActiveIndex(null,tt)}},h,L],ref:[t,w.ref,R,M,te]})}),sr=Z.forwardRef(function(e,t){let n=qt(e,t,`submenu-trigger`);if(!n.visible)return null;let r=n.props?v(n.props,e):e;return(0,Q.jsx)(or,{...r,ref:n.ref})}),$=t();function cr(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Q.jsx)(qn,{"data-slot":`dropdown-menu`,...n}),t[2]=n,t[3]=r),r}function lr(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Q.jsx)(Tn,{"data-slot":`dropdown-menu-portal`,...n}),t[2]=n,t[3]=r),r}function ur(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Q.jsx)(nr,{"data-slot":`dropdown-menu-trigger`,...n}),t[2]=n,t[3]=r),r}function dr(e){let t=(0,$.c)(18),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({align:i,alignOffset:a,side:o,sideOffset:s,className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=i===void 0?`start`:i,l=a===void 0?0:a,u=o===void 0?`bottom`:o,d=s===void 0?4:s,f;t[7]===n?f=t[8]:(f=C(`z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-none bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95`,n),t[7]=n,t[8]=f);let p;t[9]!==r||t[10]!==f?(p=(0,Q.jsx)(Sn,{"data-slot":`dropdown-menu-content`,className:f,...r}),t[9]=r,t[10]=f,t[11]=p):p=t[11];let m;return t[12]!==c||t[13]!==l||t[14]!==u||t[15]!==d||t[16]!==p?(m=(0,Q.jsx)(Tn,{children:(0,Q.jsx)(En,{className:`isolate z-50 outline-none`,align:c,alignOffset:l,side:u,sideOffset:d,children:p})}),t[12]=c,t[13]=l,t[14]=u,t[15]=d,t[16]=p,t[17]=m):m=t[17],m}function fr(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Q.jsx)(un,{"data-slot":`dropdown-menu-group`,...n}),t[2]=n,t[3]=r),r}function pr(e){let t=(0,$.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,inset:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===n?a=t[5]:(a=C(`px-2 py-2 text-xs text-muted-foreground data-inset:pl-7`,n),t[4]=n,t[5]=a);let o;return t[6]!==r||t[7]!==i||t[8]!==a?(o=(0,Q.jsx)(dn,{"data-slot":`dropdown-menu-label`,"data-inset":r,className:a,...i}),t[6]=r,t[7]=i,t[8]=a,t[9]=o):o=t[9],o}function mr(e){let t=(0,$.c)(12),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:n,inset:r,variant:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0?`default`:a,s;t[5]===n?s=t[6]:(s=C(`group/dropdown-menu-item relative flex cursor-default items-center gap-2 rounded-none px-2 py-2 text-xs outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive`,n),t[5]=n,t[6]=s);let c;return t[7]!==r||t[8]!==i||t[9]!==s||t[10]!==o?(c=(0,Q.jsx)(pn,{"data-slot":`dropdown-menu-item`,"data-inset":r,"data-variant":o,className:s,...i}),t[7]=r,t[8]=i,t[9]=s,t[10]=o,t[11]=c):c=t[11],c}function hr(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Q.jsx)(Yn,{"data-slot":`dropdown-menu-sub`,...n}),t[2]=n,t[3]=r),r}function gr(e){let t=(0,$.c)(13),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,inset:i,children:n,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o;t[5]===r?o=t[6]:(o=C(`flex cursor-default items-center gap-2 rounded-none px-2 py-2 text-xs outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-popup-open:bg-accent data-popup-open:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,r),t[5]=r,t[6]=o);let s;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,Q.jsx)(Ct,{className:`ml-auto`}),t[7]=s):s=t[7];let c;return t[8]!==n||t[9]!==i||t[10]!==a||t[11]!==o?(c=(0,Q.jsxs)(sr,{"data-slot":`dropdown-menu-sub-trigger`,"data-inset":i,className:o,...a,children:[n,s]}),t[8]=n,t[9]=i,t[10]=a,t[11]=o,t[12]=c):c=t[12],c}function _r(e){let t=(0,$.c)(16),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({align:i,alignOffset:a,side:o,sideOffset:s,className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=i===void 0?`start`:i,l=a===void 0?-3:a,u=o===void 0?`right`:o,d=s===void 0?0:s,f;t[7]===n?f=t[8]:(f=C(`w-auto min-w-[96px] rounded-none bg-popover text-popover-foreground shadow-lg ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95`,n),t[7]=n,t[8]=f);let p;return t[9]!==c||t[10]!==l||t[11]!==r||t[12]!==u||t[13]!==d||t[14]!==f?(p=(0,Q.jsx)(dr,{"data-slot":`dropdown-menu-sub-content`,className:f,align:c,alignOffset:l,side:u,sideOffset:d,...r}),t[9]=c,t[10]=l,t[11]=r,t[12]=u,t[13]=d,t[14]=f,t[15]=p):p=t[15],p}function vr(e){let t=(0,$.c)(15),n,r,i,a,o;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5]):({className:i,children:r,checked:n,inset:a,...o}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o);let s;t[6]===i?s=t[7]:(s=C(`relative flex cursor-default items-center gap-2 rounded-none py-2 pr-8 pl-2 text-xs outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,i),t[6]=i,t[7]=s);let c;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,Q.jsx)(`span`,{className:`pointer-events-none absolute right-2 flex items-center justify-center`,"data-slot":`dropdown-menu-checkbox-item-indicator`,children:(0,Q.jsx)(on,{children:(0,Q.jsx)(Tt,{})})}),t[8]=c):c=t[8];let l;return t[9]!==n||t[10]!==r||t[11]!==a||t[12]!==o||t[13]!==s?(l=(0,Q.jsxs)(an,{"data-slot":`dropdown-menu-checkbox-item`,"data-inset":a,className:s,checked:n,...o,children:[c,r]}),t[9]=n,t[10]=r,t[11]=a,t[12]=o,t[13]=s,t[14]=l):l=t[14],l}function yr(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Q.jsx)(An,{"data-slot":`dropdown-menu-radio-group`,...n}),t[2]=n,t[3]=r),r}function br(e){let t=(0,$.c)(13),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,children:n,inset:i,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o;t[5]===r?o=t[6]:(o=C(`relative flex cursor-default items-center gap-2 rounded-none py-2 pr-8 pl-2 text-xs outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,r),t[5]=r,t[6]=o);let s;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,Q.jsx)(`span`,{className:`pointer-events-none absolute right-2 flex items-center justify-center`,"data-slot":`dropdown-menu-radio-item-indicator`,children:(0,Q.jsx)(Fn,{children:(0,Q.jsx)(Tt,{})})}),t[7]=s):s=t[7];let c;return t[8]!==n||t[9]!==i||t[10]!==a||t[11]!==o?(c=(0,Q.jsxs)(Pn,{"data-slot":`dropdown-menu-radio-item`,"data-inset":i,className:o,...a,children:[s,n]}),t[8]=n,t[9]=i,t[10]=a,t[11]=o,t[12]=c):c=t[12],c}function xr(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=C(`-mx-1 h-px bg-border`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Q.jsx)(It,{"data-slot":`dropdown-menu-separator`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Sr(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=C(`ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Q.jsx)(`span`,{"data-slot":`dropdown-menu-shortcut`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}export{cr as DropdownMenu,vr as DropdownMenuCheckboxItem,dr as DropdownMenuContent,fr as DropdownMenuGroup,mr as DropdownMenuItem,pr as DropdownMenuLabel,lr as DropdownMenuPortal,yr as DropdownMenuRadioGroup,br as DropdownMenuRadioItem,xr as DropdownMenuSeparator,Sr as DropdownMenuShortcut,hr as DropdownMenuSub,_r as DropdownMenuSubContent,gr as DropdownMenuSubTrigger,ur as DropdownMenuTrigger};
|