@dubusoft/toodo-linux-arm64 1.11.1-dev.193 → 1.11.1-dev.195
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/bin/toodo +0 -0
- package/bin/toodo-server +0 -0
- package/package.json +1 -1
- package/web/assets/Item-lIxHjWj_.js +2 -0
- package/web/assets/{LayoutChangeSnapshot-Bqg4192Z.js → LayoutChangeSnapshot-D3xatAtC.js} +1 -1
- package/web/assets/{MenuBottomSheet-BJroUUHj.js → MenuBottomSheet-c34lL1NX.js} +1 -1
- package/web/assets/{MenuBottomSheetActionList-CBSD5g2j.js → MenuBottomSheetActionList-vpV_l1kc.js} +1 -1
- package/web/assets/{Selector-DLgfOtoe.js → Selector-C5qvx4hg.js} +2 -2
- package/web/assets/{SwipeActionsLayer-Ckqx5mxc.js → SwipeActionsLayer-DoZybr_Y.js} +1 -1
- package/web/assets/{button-HISRpujD.js → button-BGH43TyY.js} +1 -1
- package/web/assets/{details-sheet-xeOYGWN1.js → details-sheet-CocFq_H_.js} +1 -1
- package/web/assets/focusOutline.stylex-tP8rBkq-.js +1 -0
- package/web/assets/{focusReturn-DgQoALUE.js → focusReturn-CZYsdEBO.js} +1 -1
- package/web/assets/index-Cbw2q6IR.js +69 -0
- package/web/assets/{index-CP08_gh8.css → index-DCOB-S8R.css} +1 -1
- package/web/assets/{inputHold-CZa_Ny55.js → inputHold-Vm2aa67t.js} +1 -1
- package/web/assets/{markdown-CF5mtzHh.js → markdown-Bm09hfWj.js} +1 -1
- package/web/assets/{offline-screen-BFZbD4uz.js → offline-screen-hN5S_H90.js} +1 -1
- package/web/assets/{padding.stylex-DG4aFJ6m.js → padding.stylex-B1SBwjoO.js} +1 -1
- package/web/assets/{primaryClick-88oQu3_u.js → primaryClick-BsGCoCcT.js} +1 -1
- package/web/assets/{queries-BIWwhSPP.js → queries-D7Y7ESQJ.js} +1 -1
- package/web/assets/{reducedMotion-DCkUC6gt.js → reducedMotion-DHbcKoD2.js} +1 -1
- package/web/assets/{resolveSnapPoint-CBS37OcT.js → resolveSnapPoint-Bn5gTeO7.js} +1 -1
- package/web/assets/review-Bjc8qkoS.js +1 -0
- package/web/assets/{server-access-BHLPABjm.js → server-access-iPbJHIgj.js} +1 -1
- package/web/assets/{task-details-BOmp_J1t.js → task-details-BK0aw1hF.js} +2 -2
- package/web/assets/{task-graph-DmsWWo8o.js → task-graph-CXE_z0tI.js} +3 -3
- package/web/assets/{useLayerDismissal-D77qBJbE.js → useLayerDismissal-BVKANkUt.js} +1 -1
- package/web/assets/{useLinkComponent-DLC334Kf.js → useLinkComponent-BjJ-sXiE.js} +3 -3
- package/web/assets/useTooltip-wT5GvIfc.js +1 -0
- package/web/index.html +17 -17
- package/web/sw.js +2 -2
- package/web/version.json +1 -1
- package/web/assets/Item-BoYwvmT7.js +0 -2
- package/web/assets/Tooltip-D2N09Hzl.js +0 -1
- package/web/assets/focusOutline.stylex-ZXdUNMFw.js +0 -1
- package/web/assets/index-Dyu1QOHD.js +0 -69
- package/web/assets/review-CvfkC7xA.js +0 -1
- package/web/assets/useTooltip-Dd70k22y.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,t}from"./rolldown-runtime-XKyaHtl9.js";import{n,t as r}from"./jsx-runtime-C3cWAN_r.js";import{At as i,Ft as a,J as o,N as s,P as c,Pt as l,Vt as u,X as d,Y as f,Z as p,ct as m,et as h,gt as g,jt as ee,lt as _,mt as te}from"./focusOutline.stylex-ZXdUNMFw.js";var v=e(n(),1);function ne(e,t){let n=0,r=null,i=!1;for(let a=0;a<e.length;a++){let o=e[a];if(r!==null)i?i=!1:o===`\\`?i=!0:o===r&&(r=null);else if(o===`"`||o===`'`)r=o;else if(o===`(`)n++;else if(o===`)`)n=Math.max(0,n-1);else if(n===0&&t(a))return}}function re(e){let t=null;return ne(e,n=>e[n]===`,`&&(t=[e.slice(0,n).trim(),e.slice(n+1).trim()],!0)),t}function ie(e){let t=[],n=0;return ne(e,r=>(/\s/.test(e[r])&&(r>n&&t.push(e.slice(n,r)),n=r+1),!1)),e.length>n&&t.push(e.slice(n)),t}function ae(e,t){let n=0;for(let r=t;r<e.length;r++){let t=e[r];if(t===`(`)n++;else if(t===`)`&&(n--,n===0))return r}return-1}function oe(e,t=e=>e){let n={},r=(t,n)=>{let a=t.indexOf(`var(`);if(a===-1)return t;let o=a+3,s=ae(t,o);if(s===-1)return t;let c=t.slice(o+1,s),l=re(c),u=(l?l[0]:c).trim(),d=l?l[1]:null,f;n.has(u)?f=t.slice(a,s+1):u in e?(n.add(u),f=i(u,n),n.delete(u)):f=d===null?t.slice(a,s+1):r(d.trim(),n);let p=r(t.slice(s+1),n);return t.slice(0,a)+f+p},i=(i,a)=>{if(i in n)return n[i];let o=e[i];if(o===void 0)return``;let s=t(o.includes(`var(`)?r(o,a):o);return n[i]=s,s};for(let t of Object.keys(e))i(t,new Set);return n}var y=null,b=new Map;function se(){return typeof ResizeObserver>`u`?null:(y||=new ResizeObserver(e=>{for(let t of e){let e=b.get(t.target);if(e)for(let n of[...e.keys()])n(t)}}),y)}function ce(e){return b.has(e)}function le(e,t){let n=b.get(e);n?n.set(t,(n.get(t)??0)+1):b.set(e,new Map([[t,1]])),se()?.observe(e),t({target:e});let r=!0;return()=>{r&&(r=!1,de(e,t))}}function ue(e,t){if(typeof ResizeObserver>`u`)return null;let n=ce(e),r=!1,i=!0,a=le(e,e=>{r&&t(e)});return r=!0,n&&queueMicrotask(()=>{i&&t(null)}),()=>{i=!1,a()}}function de(e,t){let n=b.get(e);if(t!=null){let e=n?.get(t);if(n==null||e==null)return;if(e>1){n.set(t,e-1);return}if(n.delete(t),n.size>0)return}b.delete(e),y&&(y.unobserve(e),b.size===0&&(y.disconnect(),y=null))}function x(e,t,n){let r=i(ee(`context/${e}`,t),()=>new WeakMap,e=>e instanceof WeakMap),a=r.get(v.createContext);if(a!=null)return a;let o=(0,v.createContext)(n);return o.displayName=e,r.set(v.createContext,o),o}var fe=t((e=>{var t=n();function r(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function i(){}var a={d:{f:i,r:function(){throw Error(r(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},o=Symbol.for(`react.portal`),s=Symbol.for(`react.recoverable`),c=Symbol.for(`react.optimistic_key`);function l(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:r==null?null:r===c?c:``+r,children:e,containerInfo:t,implementation:n}}var u=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,e.browser=function(e){return{$$typeof:s,_reason:e}},e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(r(299));return l(e,t,null,n)},e.flushSync=function(e){var t=u.T,n=a.p;try{if(u.T=null,a.p=2,e)return e()}finally{u.T=t,a.p=n,a.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,a.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&a.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=d(n,t.crossOrigin),i=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?a.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:o}):n===`script`&&a.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`){if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=d(t.as,t.crossOrigin);a.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}}else t??a.d.M(e)}},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=d(n,t.crossOrigin);a.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`){if(t){var n=d(t.as,t.crossOrigin);a.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}else a.d.m(e)}},e.requestFormReset=function(e){a.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return u.H.useFormState(e,t,n)},e.useFormStatus=function(){return u.H.useHostTransitionStatus()},e.version=`19.3.1`})),pe=t(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=fe()})),me=r();function he(...e){return t=>{let n=[];for(let r of e)if(typeof r==`function`){let e=r(t);n.push(typeof e==`function`?e:()=>r(null))}else if(r!=null){let e=r;e.current=t,n.push(()=>{e.current=null})}if(t!=null&&n.length>0)return()=>{for(let e of n)e()}}}var ge=i(ee(`layer-scoped-context-resets`,2),()=>new WeakMap,e=>e instanceof WeakMap),S=ge.get(v.createContext);S??(S=new Map,ge.set(v.createContext,S));var C=S;function _e(e,t,n){let r=x(e,t,n);return C.has(r)||C.set(r,e=>(0,me.jsx)(r,{value:n,children:e})),r}function ve({children:e}){let[t]=(0,v.useState)(()=>[...C.values()]);return t.reduceRight((e,t)=>t(e),e)}function ye(e,t,n,r,i,a){return(0,v.useMemo)(()=>he(e,t,n,r,i,a),[e,t,n,r,i,a])}var be=[`onClick`,`onAuxClick`,`onDoubleClick`,`onContextMenu`,`onMouseDown`,`onMouseUp`,`onMouseMove`,`onMouseOver`,`onMouseOut`,`onPointerDown`,`onPointerUp`,`onPointerMove`,`onPointerOver`,`onPointerOut`,`onPointerCancel`,`onGotPointerCapture`,`onLostPointerCapture`,`onTouchStart`,`onTouchMove`,`onTouchEnd`,`onTouchCancel`],xe=()=>!0;function w(e){e.isPropagationStopped=xe}function Se(e={}){let t={};for(let n of be){let r=e[n];t[n]=typeof r==`function`?e=>{r(e),w(e)}:w}return{...t,...te}}function T(e){let t=e.visualViewport,n=t?.width??0;if(t==null||!(n>0))return e.innerHeight-Ce(e);let r=t.scale;return(Math.abs(e.innerWidth-n)<Math.abs(e.innerWidth-n*r)?e.innerHeight*r:e.innerHeight)-Ce(e)}function Ce(e){let t=e.document.documentElement,n=e.innerHeight-t.clientHeight;return!(n>0)||t.scrollWidth<=t.clientWidth?0:Math.min(n,Te(e.document))}var we=new WeakMap;function Te(e){let t=e.defaultView?.devicePixelRatio??1,n=we.get(e);if(n!=null&&n.devicePixelRatio===t)return n.thickness;let r=Ee(e);return we.set(e,{devicePixelRatio:t,thickness:r}),r}function Ee(e){let t=e.createElement(`div`);t.style.position=`absolute`,t.style.top=`-200px`,t.style.width=`100px`,t.style.height=`100px`,t.style.overflow=`scroll`,t.style.visibility=`hidden`,(e.body??e.documentElement).append(t);let n=t.offsetHeight-t.clientHeight;return t.remove(),n}var De=Number.parseFloat(oe(u)[`--duration-exit`]),E={originX:0,originY:0,phase:`idle`};function Oe(e,t,n){return Math.hypot(t-e.originX,n-e.originY)>10}function D(e,t,n,r){return{gesture:{...e,phase:t},paint:n,timer:r}}function ke(e,t){if(t.kind===`down`)return t.delayed===!1?{gesture:{originX:t.x,originY:t.y,phase:`pressed`},paint:`on`,timer:null}:{gesture:{originX:t.x,originY:t.y,phase:`armed`},paint:`none`,timer:`onset`};if(t.kind===`buttonDown`)return{gesture:{originX:0,originY:0,phase:`buttonHeld`},paint:`on`,timer:null};switch(e.phase){case`armed`:return t.kind===`move`?Oe(e,t.x,t.y)?D(e,`dead`,`none`,null):{gesture:e,paint:`none`,timer:null}:t.kind===`cancel`?D(e,`dead`,`none`,null):t.kind===`onset`?D(e,`pressed`,`on`,null):t.kind===`up`?D(e,`flash`,`on`,`flash`):{gesture:e,paint:`none`,timer:null};case`pressed`:return t.kind===`move`&&!Oe(e,t.x,t.y)?{gesture:e,paint:`on`,timer:null}:t.kind===`move`||t.kind===`cancel`?D(e,`dead`,`none`,null):t.kind===`up`?D(e,`fading`,`fading`,`fade`):{gesture:e,paint:`on`,timer:null};case`buttonHeld`:return t.kind===`up`?D(e,`fading`,`fading`,`fade`):t.kind===`cancel`?D(e,`dead`,`none`,null):{gesture:e,paint:`on`,timer:null};case`flash`:return t.kind===`flashEnd`?D(e,`fading`,`fading`,`fade`):{gesture:e,paint:`on`,timer:null};case`fading`:return t.kind===`fadeEnd`?{gesture:E,paint:`none`,timer:null}:{gesture:e,paint:`fading`,timer:null};case`dead`:return t.kind===`up`?{gesture:E,paint:`none`,timer:null}:{gesture:e,paint:`none`,timer:null};case`idle`:return{gesture:E,paint:`none`,timer:null}}}function Ae(){return E}var je=`(prefers-reduced-motion: reduce)`,Me=300,Ne=1e3,O=new Set([`button`,`checkbox`,`color`,`file`,`hidden`,`image`,`radio`,`range`,`reset`,`submit`]);function Pe(e){return e.visualViewport!=null&&e.self===e.top}function k(e){let t=e.visualViewport;if(t==null||!Pe(e))return 0;let n=T(e)-t.height*(t.scale??1);return n>1?Math.round(n*100)/100:0}var A=a(`keyboard/keyboard-height/stores`,2);function Fe(e){let t=A.get(e);return t??(t={height:0,startsAtHide:null,listeners:new Set,focusListeners:new Set,detach:null,detachFocus:null},A.set(e,t)),t}function Ie(e){return`virtualKeyboard`in e.navigator}function Le(e,t,n){return n>1&&n<t-1&&Ie(e)&&g(e,je)}function Re(e,t){let n=e.visualViewport;t.height=k(e);let r=null,i=0,a=0,o=(n,r)=>{n<=1&&t.height>1&&(t.startsAtHide=m(e).starts),t.height=n;let i={type:`viewport`,height:n,timeStamp:r};for(let e of[...t.listeners])e(i)},s=n=>{let s=k(e);if(Le(e,t.height,s)){if(r!=null&&Math.abs(s-i)<1)return;let t=e.performance.now();r==null?a=t+Ne:clearTimeout(r),i=s,r=setTimeout(()=>{r=null,o(k(e),e.performance.now())},Math.min(Me,a-t))}else r!=null&&(clearTimeout(r),r=null),o(s,n.timeStamp)};n?.addEventListener(`resize`,s),n?.addEventListener(`scroll`,s);let c=_(e,`resize`,e=>{p(e.target)||s(e)});return()=>{r!=null&&(clearTimeout(r),r=null),n?.removeEventListener(`resize`,s),n?.removeEventListener(`scroll`,s),c()}}function ze(e,t){let n=e=>{let n={type:e.type===`focusin`?`focusin`:`focusout`,height:t.height,timeStamp:e.timeStamp,target:e.target,relatedTarget:e.relatedTarget};for(let e of[...t.focusListeners])e(n)},r=_(e,`focusin`,n),i=_(e,`focusout`,n);return()=>{r(),i()}}function Be(e,t,{focus:n=!1}={}){let r=Fe(e);return r.listeners.add(t),r.detach??=Re(e,r),n&&(r.focusListeners.add(t),r.detachFocus??=ze(e,r)),()=>{r.listeners.delete(t),n&&(r.focusListeners.delete(t),r.focusListeners.size===0&&r.detachFocus!=null&&(r.detachFocus(),r.detachFocus=null)),r.listeners.size===0&&r.detach!=null&&(r.detach(),r.detach=null)}}function Ve(e){let t=A.get(e)?.startsAtHide,n=m(e);return n.fingers>0&&(t==null||n.starts!==t)}function j(e){let t=A.get(e);return t?.detach==null?k(e):t.height}function M(e){if(!f(e)||e.getAttribute(`inputmode`)===`none`)return!1;if(e.localName===`textarea`){let t=e;return!t.disabled&&!t.readOnly}if(e.localName===`input`){let t=e;return!t.disabled&&!t.readOnly&&!O.has((t.getAttribute(`type`)??`text`).toLowerCase())}return e.matches(`[contenteditable]:not([contenteditable="false"])`)}function He(e,t){if(!o(e))return null;let n=e.closest(`input, textarea, [contenteditable]:not([contenteditable="false"])`);if(t.contains(n)&&M(n))return n;let r=e.closest(`label`),i=f(r)?r.control:null;return t.contains(i)&&M(i)?i:null}var N=a(`keyboard/keyboard-height/focus-takeovers`,1);function Ue(e,{isActive:t,claim:n,park:r}){let i=i=>{if(t!=null&&!t())return;let a=n(i.relatedTarget);a==null?i.relatedTarget??r?.(i.target):a!==e.activeElement&&a.focus({preventScroll:!0})},a=N.get(e);if(a==null){let t=e.defaultView;if(t==null)return()=>{};let n=new Set,r=e=>{for(let t of[...n])n.has(t)&&t(e)};a={stop:_(t,`blur`,e=>{p(e.target)&&r(e)}),callers:n},N.set(e,a)}return a.callers.add(i),()=>{let t=N.get(e);t!=null&&t.callers.delete(i)&&t.callers.size===0&&(t.stop(),N.delete(e))}}var P=a(`keyboard/keyboard-height/touch-start-watches`,1);function We(e,t){let n=P.get(e);if(n==null){let t=e.defaultView;if(t==null)return()=>{};let r=new Set,i=_(t,`touchstart`,()=>{for(let e of[...r])e()}),a=_(t,`touchend`,()=>{}),o=_(t,`touchcancel`,()=>{});n={stop:()=>{i(),a(),o()},watches:r},P.set(e,n)}return n.watches.add(t),()=>{let n=P.get(e);n!=null&&n.watches.delete(t)&&n.watches.size===0&&(n.stop(),P.delete(e))}}function Ge(e,{owns:t,onTouch:n,documentScrollIsReveal:r=!1}){let i=e.document,a=null,o=!1,s=null;return{report:()=>{let t=e.visualViewport;a=t==null?null:{x:e.scrollX,y:e.scrollY,top:t.offsetTop,scale:t.scale},o=Ve(e),s=null},isRevealPan:n=>{let c=e.visualViewport,l=i.activeElement;return c!=null&&a!=null&&!o&&n>0&&c.offsetTop>a.top&&c.scale===a.scale&&l instanceof HTMLElement&&M(l)&&t(l)&&(e.scrollX===a.x&&e.scrollY===a.y||r&&(s??=qe(e,c,l,a)))},putBack:t=>{s=null,r&&a!=null&&(e.scrollX!==a.x||e.scrollY!==a.y)&&e.scrollTo({left:a.x,top:a.y,behavior:`instant`}),t==null?Je(e,a?.top??0):t.scrollIntoView({block:`start`,inline:`nearest`,behavior:`instant`})},stop:We(i,()=>{o=!0,n?.()})}}var Ke=2;function qe(e,t,n,r){let i=n.getBoundingClientRect(),a=(i.top+i.bottom)/2-t.height/2,o=e.document.scrollingElement??e.document.documentElement,s=o.scrollHeight-o.clientHeight,c=T(e)-t.height,l=Math.min(s,Math.max(0,r.y+a)),u=Math.min(c,Math.max(0,a));return e.scrollX===r.x&&Math.abs(e.scrollY-l)<=Ke&&Math.abs(t.offsetTop-u)<=Ke}function Je(e,t){let n=e.document,r=n.createElement(`div`);r.style.position=`fixed`,r.style.left=`0`,r.style.top=`${t}px`,r.style.width=`1px`,r.style.height=`1px`,r.style.visibility=`hidden`,r.style.pointerEvents=`none`,(n.body??n.documentElement).append(r),r.scrollIntoView({block:`start`,inline:`nearest`,behavior:`instant`}),r.remove()}function Ye(e,{claim:t,deliver:n}){let r=null,i=()=>{r=null,e.removeEventListener(`touchmove`,a),e.removeEventListener(`touchend`,o),e.removeEventListener(`touchcancel`,i)};function a(e){let t=e.touches[0];(r==null||e.touches.length!==1||t==null||Math.hypot(t.clientX-r.x,t.clientY-r.y)>10)&&i()}function o(a){let o=a.changedTouches[0],s=r;i(),s!=null&&o!=null&&a.cancelable&&t(s.control)===s.control&&(a.preventDefault(),n(s.control,o.clientX,o.clientY,o),h(e.ownerDocument,{takesLateMouse:!0}))}let s=n=>{if(r!=null){i();return}let s=n.touches[0],c=n.touches.length===1&&s!=null?t(n.target):null;c!=null&&s!=null&&(r={x:s.clientX,y:s.clientY,control:c},e.addEventListener(`touchmove`,a,{passive:!0}),e.addEventListener(`touchend`,o),e.addEventListener(`touchcancel`,i))};return e.addEventListener(`touchstart`,s,{passive:!0}),()=>{i(),e.removeEventListener(`touchstart`,s)}}function Xe(e){return e instanceof HTMLTextAreaElement||e instanceof HTMLInputElement}function Ze(e,t,n){if(e.selectionStart==null)return;let r=c(e.ownerDocument,t,n,[]),i=r!=null&&r.node===e?r.offset:e.value.length;e.setSelectionRange(i,i)}function Qe(e,t,n){if(e.focus({preventScroll:!0}),Xe(e)){Ze(e,t,n);return}let r=e.ownerDocument,i=c(r,t,n,[]);if(i!=null&&e.isContentEditable&&e.contains(i.node)){let e=r.createRange();e.setStart(i.node,i.offset),e.collapse(!0);let t=r.getSelection();t?.removeAllRanges(),t?.addRange(e)}}var $e=Symbol.for(`@astryxdesign/core/interaction-modality/v1`);function F(e){let t=e,n=t[$e];if(n!=null)return n;let r={modality:`keyboard`,isTextEntrySincePointer:!1,isListening:!1,onPointerDown:()=>{r.modality=`pointer`,r.isTextEntrySincePointer=!0},onKeyDown:e=>{e.metaKey||e.altKey||e.ctrlKey||(r.modality=`keyboard`,tt(e)||(r.isTextEntrySincePointer=!1))}};return Object.defineProperty(t,$e,{value:r}),r}var et=new Set([`Backspace`,`CapsLock`,`Dead`,`Delete`,`Enter`,`Process`,`Shift`,`Unidentified`]);function tt(e){let t=typeof e.composedPath==`function`?e.composedPath()[0]:e.target;if(!M(t instanceof Element?t:null))return!1;let n=typeof e.key==`string`?e.key:``;return e.isComposing===!0||[...n].length===1||et.has(n)}function I(e,t,n){t.isListening!==n&&(t.isListening=n,n?(e.addEventListener(`pointerdown`,t.onPointerDown,{capture:!0,passive:!0}),e.addEventListener(`keydown`,t.onKeyDown,{capture:!0,passive:!0})):(e.removeEventListener(`pointerdown`,t.onPointerDown,{capture:!0}),e.removeEventListener(`keydown`,t.onKeyDown,{capture:!0})))}function L(){return typeof document>`u`||I(document,F(document),!0),()=>{}}function nt(e){if(typeof document<`u`&&e===document)return L();let t=F(e);t.consumers=(t.consumers??0)+1,I(e,t,!0);let n=!1;return()=>{n||(n=!0,t.consumers=(t.consumers??1)-1,t.consumers===0&&I(e,t,!1))}}function rt(e,t){t.release?.(),t.release=null;let n=e?.ownerDocument;if(n==null||typeof document<`u`&&n===document)return;let r=nt(n);return t.release=r,()=>{r(),t.release===r&&(t.release=null)}}function it(){(0,v.useEffect)(()=>L(),[]);let e=(0,v.useRef)(null),t=(0,v.useRef)({release:null});return{ref:(0,v.useCallback)(n=>{e.current=n;let r=rt(n,t.current);return()=>{r?.(),e.current===n&&(e.current=null)}},[]),readModality:(0,v.useCallback)(()=>R(e.current),[])}}function at(e,t=!0){return(0,v.useEffect)(()=>t?L():void 0,[t]),(0,v.useEffect)(()=>{let n=e.current?.ownerDocument;if(!(!t||n==null||typeof document<`u`&&n===document))return nt(n)}),(0,v.useCallback)(()=>R(e.current),[e])}function R(e){let t=e==null?null:e.nodeType===9?e:e.ownerDocument;return t==null?typeof document>`u`?`keyboard`:F(document).modality:F(t).modality}function ot(e){let t=e==null?typeof document>`u`?null:document:e.nodeType===9?e:e.ownerDocument;if(t==null)return!1;let n=F(t);return n.isTextEntrySincePointer??n.modality===`pointer`}var st={reset:{kMv6JI:`x9ynric`,kGuDYH:`xjm74w1`,k63SB2:`xxovm9e`,kLWn49:`xw6l6zx`,kKX8nH:`x1j61x8r`,k9WMMc:`x1yc453h`,kJI5tL:`x7ssn7h`,kTHuQy:`xzugeeo`,kP9fke:`x6mezaz`,kb6lSQ:`x1i21sxh`,k4JVr9:`xp3md9m`,kKMj4B:`x19pm5ym`,khDVqt:`xeaf4i8`,kTgw9:`x1lldw8n`,kHjlTd:`x1h4wwuj`,kE4Cay:`xxydokm`,$$css:!0}},ct={reset:{"--step-connector-gap":`x1qkaldv`,"--_astryx-text-overflow-wrap":`x1c9qq8g`,$$css:!0}},z={showMs:267,showCurve:[.1,0,0,1],showReportLagMs:25,hideMs:167,hideCurve:[.3,.1,.2,.9],hideAfterBlurMs:16,hideReportLagMs:33},B=.5;function lt(e=0){let t={kind:`change`,from:e,to:e,start:-1/0,velocity:0,animated:!1,predicted:!1,curve:null},n=null,r=(e,t,n)=>{let r=n.durationMs/1e3,i=s(n.points),a=n=>e+(t-e)*i(Math.min(1,Math.max(0,n/r)));return{value:a,velocity:e=>{if(e>=r)return 0;let t=Math.max(0,e-.001),n=Math.min(r,e+.001);return(a(n)-a(t))/(n-t)}}},i={durationMs:z.showMs,points:z.showCurve},a={durationMs:z.hideMs,points:z.hideCurve},o=()=>t.curve==null?0:t.curve.durationMs,c=e,l=e=>e<t.start?t.from:n==null||e>=t.start+o()?t.to:n.value((e-t.start)/1e3),u=e=>e<=t.start?t.velocity:n==null||e>=t.start+o()?0:n.velocity((e-t.start)/1e3),d=(e,o,s,{animated:d=!0,predicted:f=!1}={})=>{let p=Math.max(s,t.start),m=l(p),h=d?u(p):0,g=d?o>m?i:a:null;return t={kind:e,from:m,to:o,start:p,velocity:h,animated:d,predicted:f,curve:g},n=g!=null&&Math.abs(o-m)+Math.abs(h)>0?r(m,o,g):null,o>B&&(c=o),t},f=()=>(t.predicted&&(t={...t,predicted:!1}),null);return{get inset(){return t.to},get transition(){return t},presentation:l,velocity:u,report(e,n){if(e==null)return null;let r=t.to;if(Math.abs(e-r)<B)return f();if(e<=B)return d(`hide`,0,n-z.hideReportLagMs);if(r<=B){let t=c>e+B;return d(`show`,t?c:e,n-z.showReportLagMs,{predicted:t})}return d(`change`,e,n,{animated:!1})},blurred(e){return t.to<=B?null:d(`hide`,0,e+z.hideAfterBlurMs,{predicted:!0})},focused(e){return t.kind!==`hide`||!t.predicted?null:d(`show`,c,Math.max(e,t.start),{predicted:!0})},verify(e,n){return!t.predicted||e==null||n<t.start+o()?null:Math.abs(e-t.to)<B?f():d(e>t.to?`show`:`hide`,e,n)}}}function V(e){return Ie(e)?`chromium`:null}var ut=150,dt=150,ft=new Set([`date`,`datetime-local`,`month`,`time`,`week`]);function pt(e){let t=e instanceof Element?e:null;return M(t)||t instanceof HTMLSelectElement&&!t.disabled}function mt(e){let t=e;return t==null||t.nodeType!==1?!1:t.tagName===`SELECT`||t.tagName===`INPUT`&&ft.has(t.type)}function ht(e){return e.tagName===`IFRAME`||e.tagName===`FRAME`||e.tagName===`OBJECT`||e.tagName===`EMBED`||e.shadowRoot!=null||e.tagName.includes(`-`)}var gt=a(`keyboard/keyboard-layout-guide/guides`,1);function _t(e){let t=gt.get(e);return t??(t=vt(e),gt.set(e,t)),t}function vt(e){let t=new Set,n=V(e),r=lt(j(e)),i=null,a=null,o=e=>pt(e)&&!(n===`chromium`&&mt(e)),s=()=>{let t=e.document.activeElement;return r.transition.kind===`hide`&&r.transition.predicted&&!o(t)&&!(t!=null&&ht(t))},c=e=>{if(e!=null){e.predicted&&l(e);for(let n of[...t])n(e)}},l=t=>{i!=null&&clearTimeout(i);let n=t.start+(t.curve?.durationMs??0)+ut;i=setTimeout(()=>{i=null;let t=j(e);t!=null&&t>.5&&s()||c(r.verify(t,e.performance.now()))},Math.max(0,n-e.performance.now()))},u=()=>{n=V(e),r=lt(j(e));let t=-1/0,a=null,l=(i,l)=>{a!=null&&(clearTimeout(a),a=null);let u=t+dt;return n===`chromium`&&i<.5&&r.inset>=.5&&l<u&&o(e.document.activeElement)?(a=setTimeout(()=>{a=null,c(r.report(j(e),u))},u-l),null):i>.5&&s()?null:r.report(i,l)},u=Be(e,e=>{e.type===`viewport`?c(l(e.height,e.timeStamp)):e.type===`focusin`?o(e.target)&&(t=e.timeStamp,c(r.focused(e.timeStamp))):o(e.target)&&!o(e.relatedTarget)&&c(r.blurred(e.timeStamp))},{focus:!0});return()=>{u(),a!=null&&(clearTimeout(a),a=null),i!=null&&(clearTimeout(i),i=null)}};return{get profile(){return n},get inset(){return r.inset},get transition(){return r.transition},presentation(t=e.performance.now()){return r.presentation(t)},subscribe(e){return t.add(e),a??=u(),()=>{t.delete(e),t.size===0&&a!=null&&(a(),a=null)}}}}var yt={reset:{"--container-padding-inline-start":`xrhngw9`,"--container-padding-inline-end":`xjsfl84`,"--container-padding-block-start":`x1047aw6`,"--container-padding-block-end":`xax9j7h`,"--container-corner-start-start":`xcfde6v`,"--container-corner-start-end":`x1os27km`,"--container-corner-end-start":`x102ry9`,"--container-corner-end-end":`x1q2p8vm`,"--_container-bleed-block-start":`x19rxvyz`,"--_container-bleed-block-end":`x1t5kaiv`,"--layout-padding-outer-x":`xdt8ak2`,"--layout-padding-outer-y":`x1rs4lu4`,"--layout-padding-own-outer-x":`x1vii845`,"--layout-padding-own-outer-y":`xojybgt`,"--layout-padding-inner-x":`x1qfll2g`,"--layout-padding-inner-y":`xyvxpqs`,"--_section-padding-propagated":`x1f17rg1`,$$css:!0}};function bt(e){return()=>{let t=e.withdraw;e.withdraw=null,t?.()}}function xt(e,t){for(let{text:n,receipts:r}of e)for(let e of r)e.withdraw=t(n)}var St=`data-astryx-live-region`,Ct=`position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;inset-block-start:0;inset-inline-start:0;pointer-events:none;user-select:none;`,wt=2e3,H=l(`hooks/use-announce/channel`,1,()=>({clearTimers:{polite:null,assertive:null},pendingFrames:{polite:null,assertive:null},pendingMessages:{polite:[],assertive:[]},lastJoined:null,regions:null,modalRoute:null}));function Tt(e){let t=H.clearTimers[e];t!=null&&(clearTimeout(t),H.clearTimers[e]=null)}function Et(e){let t=H.pendingFrames[e];t!=null&&(cancelAnimationFrame(t),H.pendingFrames[e]=null),H.pendingMessages[e]=[]}function Dt(e,t){Tt(e),H.clearTimers[e]=setTimeout(()=>{H.clearTimers[e]=null,t.textContent=``},wt)}function Ot(e){let t=document.createElement(`div`);return t.setAttribute(St,e),t.setAttribute(`aria-live`,e),t.setAttribute(`aria-atomic`,`true`),t.setAttribute(`role`,e===`assertive`?`alert`:`status`),t.style.cssText=Ct,document.body.appendChild(t),t}function kt(){return typeof document>`u`?null:H.regions?(H.regions.polite.isConnected||document.body.appendChild(H.regions.polite),H.regions.assertive.isConnected||document.body.appendChild(H.regions.assertive),H.regions):(H.regions={polite:Ot(`polite`),assertive:Ot(`assertive`)},H.regions)}function U(e,t){let n=kt();if(!n)return null;let r=t===`assertive`?n.assertive:n.polite,i=H.pendingMessages[t].find(t=>t.text===e);if(i!=null)return i.holders+=1,H.lastJoined=i,()=>Y(i,t);let a={text:e,holders:1};return H.pendingMessages[t].push(a),H.lastJoined=a,H.pendingFrames[t]??(r.textContent=``,H.pendingFrames[t]=requestAnimationFrame(()=>{H.pendingFrames[t]=null,r.textContent=H.pendingMessages[t].map(e=>e.text).join(` `),H.pendingMessages[t]=[]})),Dt(t,r),()=>Y(a,t)}function At(e){if(Et(e),Tt(e),!H.regions)return;let t=e===`assertive`?H.regions.assertive:H.regions.polite;t.textContent=``}function jt({hasReplace:e=!1}={}){let t=(0,v.use)(W),n=(0,v.useRef)(null);return(0,v.useCallback)((r,i=`polite`)=>{if(e){let e=n.current;n.current=null,e?.()}let a;t!=null&&H.modalRoute!=null?a=H.modalRoute.announce(t,r,i):r?a=U(r,i):(At(i),a=null),e&&(n.current=a)},[e,t])}var Mt=`data-astryx-modal-live-region`,W=x(`ModalAnnounceContext`,1,null);W.displayName=`ModalAnnounceContext`;function Nt(e){H.modalRoute=e}function G(e){return e!=null&&e.open&&d(e)}function Pt(e){let t=e?.closest(`dialog`)??null;for(;t!=null;){if(G(t))return t;t=t.parentElement?.closest(`dialog`)??null}return null}function Ft(e,t,n=`polite`){return H.modalRoute==null?G(e)?Bt(e,t,n):U(t,n):H.modalRoute.announceInModal(e,t,n)}var K=a(`hooks/use-announce/pending-by-region`,1);function q(e){e.frame!=null&&cancelAnimationFrame(e.frame),e.settleFrame!=null&&cancelAnimationFrame(e.settleFrame),e.timer!=null&&clearTimeout(e.timer)}function It(e){return Rt(e).map(e=>e.text)}function Lt(e){return e.messages.map(t=>({text:t,receipts:e.receipts.get(t)??[]}))}function Rt(e){let t=K.get(e);return t==null?[]:t.frame!=null||t.settleFrame!=null?Lt(t):[]}function J(e,t){return e.querySelector(`:scope > [${Mt}="${t}"]`)}function zt(e,t){let n=J(e,t);return n??(n=document.createElement(`div`),n.setAttribute(Mt,t),n.setAttribute(`role`,t===`assertive`?`alert`:`status`),n.setAttribute(`aria-live`,t),n.setAttribute(`aria-atomic`,`true`),n.style.cssText=Ct,e.appendChild(n)),n}function Bt(e,t,n,r){let i=zt(e,n),a=It(i),o=a.includes(t)?a:[...a,t],s=K.get(i),c=a.length>0&&s!=null?s.receipts:new Map,l={withdraw:null};c.set(t,[...c.get(t)??[],l]),s!=null&&q(s),i.textContent=``;let u={messages:o,receipts:c,frame:null,settleFrame:null,timer:null};return u.frame=requestAnimationFrame(()=>{u.frame=null,r!=null&&!r.isExposed()?(K.delete(i),r.redirect(Lt(u))):(i.textContent=u.messages.join(` `),u.settleFrame=requestAnimationFrame(()=>{u.settleFrame=null}),u.timer=setTimeout(()=>{i.textContent=``,K.delete(i)},wt))}),K.set(i,u),l.withdraw=()=>Vt(i,t,l),bt(l)}function Vt(e,t,n){let r=K.get(e);if(r==null||r.frame==null&&r.settleFrame==null)return;let i=r.receipts.get(t),a=i?.indexOf(n)??-1;i==null||a<0||(i.splice(a,1),i.length>0||(r.receipts.delete(t),r.messages=r.messages.filter(e=>e!==t),r.messages.length===0?(q(r),K.delete(e),e.textContent=``):r.frame??(e.textContent=r.messages.join(` `))))}function Ht(e,t){let n=J(e,t);if(n==null)return;let r=K.get(n);r!=null&&(q(r),K.delete(n)),n.textContent=``}function Ut(){let e=H.lastJoined;return H.lastJoined=null,e}function Y(e,t){let n=H.pendingMessages[t],r=n.indexOf(e);r<0||(--n[r].holders,n[r].holders<=0&&n.splice(r,1))}var Wt=()=>()=>{},Gt=()=>!1,Kt=()=>!0;function qt(){return(0,v.useSyncExternalStore)(Wt,Gt,Kt)}var X=x(`LayerDepthContext`,1,0);X.displayName=`LayerDepthContext`;function Jt(){return(0,v.use)(X)}function Yt({children:e}){let t=(0,v.use)(X);return(0,me.jsx)(X,{value:t+1,children:e})}Yt.displayName=`LayerDepthProvider`;var Xt=229;function Zt(e){return e.isComposing===!0||e.keyCode===Xt}var Z=l(`layer/layer-stack/state`,1,()=>({entries:[],seqByToken:new WeakMap,nextSeq:0,layerCountByDocument:new Map,composingDocuments:new Set,stopListeningByDocument:new Map}));function Qt(e){let t=Z.seqByToken.get(e);if(t!==void 0)return t;let n=Z.nextSeq++;return Z.seqByToken.set(e,n),n}function $t(e,t){if(e.depth!==t.depth)return e.depth-t.depth;let n=e.getContainer?.()??null,r=t.getContainer?.()??null;if(n!=null&&r!=null&&n!==r){if(r.contains(n))return 1;if(n.contains(r))return-1}return e.seq-t.seq}function en(e){return e.isPresent?.()??!0}function tn(){return Z.composingDocuments.size>0}function nn(e){Z.composingDocuments.add(e.currentTarget)}function Q(e){Z.composingDocuments.delete(e.currentTarget)}function $(e){let t=null;for(let n of Z.entries)n.ownerDocument===e&&en(n)&&(t==null||$t(n,t)>0)&&(t=n);return t}function rn(e){let t=Z.entries.find(t=>t.token===e);return t!=null&&$(t.ownerDocument)===t}function an(){return typeof document>`u`?null:document}function on(e){let t=e.target;return t==null?null:t.nodeType===9?t:t.ownerDocument}function sn(e){let t=$(e);return t!=null&&(t.behavior===`block`||t.dismiss(),!0)}function cn(e){if(e.key!==`Escape`)return;let t=on(e)??an();Zt(e)?$(t)!=null&&e.preventDefault():e.defaultPrevented||sn(t)&&e.preventDefault()}function ln(e){e.addEventListener(`keydown`,cn),e.addEventListener(`compositionstart`,nn,!0),e.addEventListener(`compositionend`,Q,!0),e.addEventListener(`blur`,Q,!0),Z.stopListeningByDocument.set(e,()=>{e.removeEventListener(`keydown`,cn),e.removeEventListener(`compositionstart`,nn,!0),e.removeEventListener(`compositionend`,Q,!0),e.removeEventListener(`blur`,Q,!0)})}function un(e){Z.stopListeningByDocument.get(e)?.(),Z.stopListeningByDocument.delete(e),Z.composingDocuments.delete(e)}function dn(e){let t=e.getContainer?.()?.ownerDocument??an(),n={...e,seq:Qt(e.token),ownerDocument:t};if(Z.entries.push(n),t!=null){let e=Z.layerCountByDocument.get(t)??0;Z.layerCountByDocument.set(t,e+1),e===0&&ln(t)}return()=>{let e=Z.entries.indexOf(n);if(e===-1||(Z.entries.splice(e,1),t==null))return;let r=Z.layerCountByDocument.get(t)??1;r>1?Z.layerCountByDocument.set(t,r-1):(Z.layerCountByDocument.delete(t),un(t))}}function fn(e){return pn(e,null)}function pn(e,t){let{isActive:n,onDismiss:r,escapeBehavior:i=`close`,getContainer:a,isPresent:o,isEnabled:s=!0}=e,c=Jt(),l=(0,v.useRef)({}),u=(0,v.useRef)(!1),d=(0,v.useRef)(r),f=(0,v.useRef)(a),p=(0,v.useRef)(o);(0,v.useEffect)(()=>{d.current=r,f.current=a,p.current=o});let m=n&&s;return(0,v.useEffect)(()=>{if(!m)u.current=!1;else return u.current||=(l.current={},!0),dn({token:l.current,depth:c,behavior:i,getContainer:()=>f.current?.()??null,isPresent:()=>p.current?.()??!0,dismiss:()=>d.current()})},[m,c,i,t]),{shouldDismissOnCloseRequest:(0,v.useCallback)(()=>m&&!tn()&&rn(l.current),[m])}}export{_e as $,ot as A,M as B,pt as C,ct as D,V as E,He as F,De as G,Ue as H,Qe as I,T as J,Ae as K,j as L,at as M,O as N,st as O,Ye as P,ve as Q,Ve as R,yt as S,ht as T,Be as U,Je as V,Ge as W,w as X,Se as Y,ye as Z,Ut as _,qt as a,ae as at,Y as b,U as c,ie as ct,Pt as d,he as et,xt as f,J as g,G as h,Yt as i,ue as it,it as j,R as k,Ht as l,Nt as m,fn as n,x as nt,W as o,oe as ot,bt as p,ke as q,Zt as r,le as rt,Ft as s,re as st,pn as t,pe as tt,At as u,Rt as v,_t as w,Bt as x,jt as y,Pe as z};
|
|
1
|
+
import{r as e,t}from"./rolldown-runtime-XKyaHtl9.js";import{n,t as r}from"./jsx-runtime-C3cWAN_r.js";import{At as i,Ft as a,J as o,N as s,P as c,Pt as l,Vt as u,X as d,Y as f,Z as p,ct as m,et as h,gt as g,jt as ee,lt as _,mt as te}from"./focusOutline.stylex-tP8rBkq-.js";var v=e(n(),1);function ne(e,t){let n=0,r=null,i=!1;for(let a=0;a<e.length;a++){let o=e[a];if(r!==null)i?i=!1:o===`\\`?i=!0:o===r&&(r=null);else if(o===`"`||o===`'`)r=o;else if(o===`(`)n++;else if(o===`)`)n=Math.max(0,n-1);else if(n===0&&t(a))return}}function re(e){let t=null;return ne(e,n=>e[n]===`,`&&(t=[e.slice(0,n).trim(),e.slice(n+1).trim()],!0)),t}function ie(e){let t=[],n=0;return ne(e,r=>(/\s/.test(e[r])&&(r>n&&t.push(e.slice(n,r)),n=r+1),!1)),e.length>n&&t.push(e.slice(n)),t}function ae(e,t){let n=0;for(let r=t;r<e.length;r++){let t=e[r];if(t===`(`)n++;else if(t===`)`&&(n--,n===0))return r}return-1}function oe(e,t=e=>e){let n={},r=(t,n)=>{let a=t.indexOf(`var(`);if(a===-1)return t;let o=a+3,s=ae(t,o);if(s===-1)return t;let c=t.slice(o+1,s),l=re(c),u=(l?l[0]:c).trim(),d=l?l[1]:null,f;n.has(u)?f=t.slice(a,s+1):u in e?(n.add(u),f=i(u,n),n.delete(u)):f=d===null?t.slice(a,s+1):r(d.trim(),n);let p=r(t.slice(s+1),n);return t.slice(0,a)+f+p},i=(i,a)=>{if(i in n)return n[i];let o=e[i];if(o===void 0)return``;let s=t(o.includes(`var(`)?r(o,a):o);return n[i]=s,s};for(let t of Object.keys(e))i(t,new Set);return n}var y=null,b=new Map;function se(){return typeof ResizeObserver>`u`?null:(y||=new ResizeObserver(e=>{for(let t of e){let e=b.get(t.target);if(e)for(let n of[...e.keys()])n(t)}}),y)}function ce(e){return b.has(e)}function le(e,t){let n=b.get(e);n?n.set(t,(n.get(t)??0)+1):b.set(e,new Map([[t,1]])),se()?.observe(e),t({target:e});let r=!0;return()=>{r&&(r=!1,de(e,t))}}function ue(e,t){if(typeof ResizeObserver>`u`)return null;let n=ce(e),r=!1,i=!0,a=le(e,e=>{r&&t(e)});return r=!0,n&&queueMicrotask(()=>{i&&t(null)}),()=>{i=!1,a()}}function de(e,t){let n=b.get(e);if(t!=null){let e=n?.get(t);if(n==null||e==null)return;if(e>1){n.set(t,e-1);return}if(n.delete(t),n.size>0)return}b.delete(e),y&&(y.unobserve(e),b.size===0&&(y.disconnect(),y=null))}function x(e,t,n){let r=i(ee(`context/${e}`,t),()=>new WeakMap,e=>e instanceof WeakMap),a=r.get(v.createContext);if(a!=null)return a;let o=(0,v.createContext)(n);return o.displayName=e,r.set(v.createContext,o),o}var fe=t((e=>{var t=n();function r(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function i(){}var a={d:{f:i,r:function(){throw Error(r(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},o=Symbol.for(`react.portal`),s=Symbol.for(`react.recoverable`),c=Symbol.for(`react.optimistic_key`);function l(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:r==null?null:r===c?c:``+r,children:e,containerInfo:t,implementation:n}}var u=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,e.browser=function(e){return{$$typeof:s,_reason:e}},e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(r(299));return l(e,t,null,n)},e.flushSync=function(e){var t=u.T,n=a.p;try{if(u.T=null,a.p=2,e)return e()}finally{u.T=t,a.p=n,a.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,a.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&a.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=d(n,t.crossOrigin),i=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?a.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:o}):n===`script`&&a.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`){if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=d(t.as,t.crossOrigin);a.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}}else t??a.d.M(e)}},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=d(n,t.crossOrigin);a.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`){if(t){var n=d(t.as,t.crossOrigin);a.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0})}else a.d.m(e)}},e.requestFormReset=function(e){a.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return u.H.useFormState(e,t,n)},e.useFormStatus=function(){return u.H.useHostTransitionStatus()},e.version=`19.3.1`})),pe=t(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=fe()})),me=r();function he(...e){return t=>{let n=[];for(let r of e)if(typeof r==`function`){let e=r(t);n.push(typeof e==`function`?e:()=>r(null))}else if(r!=null){let e=r;e.current=t,n.push(()=>{e.current=null})}if(t!=null&&n.length>0)return()=>{for(let e of n)e()}}}var ge=i(ee(`layer-scoped-context-resets`,2),()=>new WeakMap,e=>e instanceof WeakMap),S=ge.get(v.createContext);S??(S=new Map,ge.set(v.createContext,S));var C=S;function _e(e,t,n){let r=x(e,t,n);return C.has(r)||C.set(r,e=>(0,me.jsx)(r,{value:n,children:e})),r}function ve({children:e}){let[t]=(0,v.useState)(()=>[...C.values()]);return t.reduceRight((e,t)=>t(e),e)}function ye(e,t,n,r,i,a){return(0,v.useMemo)(()=>he(e,t,n,r,i,a),[e,t,n,r,i,a])}var be=[`onClick`,`onAuxClick`,`onDoubleClick`,`onContextMenu`,`onMouseDown`,`onMouseUp`,`onMouseMove`,`onMouseOver`,`onMouseOut`,`onPointerDown`,`onPointerUp`,`onPointerMove`,`onPointerOver`,`onPointerOut`,`onPointerCancel`,`onGotPointerCapture`,`onLostPointerCapture`,`onTouchStart`,`onTouchMove`,`onTouchEnd`,`onTouchCancel`],xe=()=>!0;function w(e){e.isPropagationStopped=xe}function Se(e={}){let t={};for(let n of be){let r=e[n];t[n]=typeof r==`function`?e=>{r(e),w(e)}:w}return{...t,...te}}function T(e){let t=e.visualViewport,n=t?.width??0;if(t==null||!(n>0))return e.innerHeight-Ce(e);let r=t.scale;return(Math.abs(e.innerWidth-n)<Math.abs(e.innerWidth-n*r)?e.innerHeight*r:e.innerHeight)-Ce(e)}function Ce(e){let t=e.document.documentElement,n=e.innerHeight-t.clientHeight;return!(n>0)||t.scrollWidth<=t.clientWidth?0:Math.min(n,Te(e.document))}var we=new WeakMap;function Te(e){let t=e.defaultView?.devicePixelRatio??1,n=we.get(e);if(n!=null&&n.devicePixelRatio===t)return n.thickness;let r=Ee(e);return we.set(e,{devicePixelRatio:t,thickness:r}),r}function Ee(e){let t=e.createElement(`div`);t.style.position=`absolute`,t.style.top=`-200px`,t.style.width=`100px`,t.style.height=`100px`,t.style.overflow=`scroll`,t.style.visibility=`hidden`,(e.body??e.documentElement).append(t);let n=t.offsetHeight-t.clientHeight;return t.remove(),n}var De=Number.parseFloat(oe(u)[`--duration-exit`]),E={originX:0,originY:0,phase:`idle`};function Oe(e,t,n){return Math.hypot(t-e.originX,n-e.originY)>10}function D(e,t,n,r){return{gesture:{...e,phase:t},paint:n,timer:r}}function ke(e,t){if(t.kind===`down`)return t.delayed===!1?{gesture:{originX:t.x,originY:t.y,phase:`pressed`},paint:`on`,timer:null}:{gesture:{originX:t.x,originY:t.y,phase:`armed`},paint:`none`,timer:`onset`};if(t.kind===`buttonDown`)return{gesture:{originX:0,originY:0,phase:`buttonHeld`},paint:`on`,timer:null};switch(e.phase){case`armed`:return t.kind===`move`?Oe(e,t.x,t.y)?D(e,`dead`,`none`,null):{gesture:e,paint:`none`,timer:null}:t.kind===`cancel`?D(e,`dead`,`none`,null):t.kind===`onset`?D(e,`pressed`,`on`,null):t.kind===`up`?D(e,`flash`,`on`,`flash`):{gesture:e,paint:`none`,timer:null};case`pressed`:return t.kind===`move`&&!Oe(e,t.x,t.y)?{gesture:e,paint:`on`,timer:null}:t.kind===`move`||t.kind===`cancel`?D(e,`dead`,`none`,null):t.kind===`up`?D(e,`fading`,`fading`,`fade`):{gesture:e,paint:`on`,timer:null};case`buttonHeld`:return t.kind===`up`?D(e,`fading`,`fading`,`fade`):t.kind===`cancel`?D(e,`dead`,`none`,null):{gesture:e,paint:`on`,timer:null};case`flash`:return t.kind===`flashEnd`?D(e,`fading`,`fading`,`fade`):{gesture:e,paint:`on`,timer:null};case`fading`:return t.kind===`fadeEnd`?{gesture:E,paint:`none`,timer:null}:{gesture:e,paint:`fading`,timer:null};case`dead`:return t.kind===`up`?{gesture:E,paint:`none`,timer:null}:{gesture:e,paint:`none`,timer:null};case`idle`:return{gesture:E,paint:`none`,timer:null}}}function Ae(){return E}var je=`(prefers-reduced-motion: reduce)`,Me=300,Ne=1e3,O=new Set([`button`,`checkbox`,`color`,`file`,`hidden`,`image`,`radio`,`range`,`reset`,`submit`]);function Pe(e){return e.visualViewport!=null&&e.self===e.top}function k(e){let t=e.visualViewport;if(t==null||!Pe(e))return 0;let n=T(e)-t.height*(t.scale??1);return n>1?Math.round(n*100)/100:0}var A=a(`keyboard/keyboard-height/stores`,2);function Fe(e){let t=A.get(e);return t??(t={height:0,startsAtHide:null,listeners:new Set,focusListeners:new Set,detach:null,detachFocus:null},A.set(e,t)),t}function Ie(e){return`virtualKeyboard`in e.navigator}function Le(e,t,n){return n>1&&n<t-1&&Ie(e)&&g(e,je)}function Re(e,t){let n=e.visualViewport;t.height=k(e);let r=null,i=0,a=0,o=(n,r)=>{n<=1&&t.height>1&&(t.startsAtHide=m(e).starts),t.height=n;let i={type:`viewport`,height:n,timeStamp:r};for(let e of[...t.listeners])e(i)},s=n=>{let s=k(e);if(Le(e,t.height,s)){if(r!=null&&Math.abs(s-i)<1)return;let t=e.performance.now();r==null?a=t+Ne:clearTimeout(r),i=s,r=setTimeout(()=>{r=null,o(k(e),e.performance.now())},Math.min(Me,a-t))}else r!=null&&(clearTimeout(r),r=null),o(s,n.timeStamp)};n?.addEventListener(`resize`,s),n?.addEventListener(`scroll`,s);let c=_(e,`resize`,e=>{p(e.target)||s(e)});return()=>{r!=null&&(clearTimeout(r),r=null),n?.removeEventListener(`resize`,s),n?.removeEventListener(`scroll`,s),c()}}function ze(e,t){let n=e=>{let n={type:e.type===`focusin`?`focusin`:`focusout`,height:t.height,timeStamp:e.timeStamp,target:e.target,relatedTarget:e.relatedTarget};for(let e of[...t.focusListeners])e(n)},r=_(e,`focusin`,n),i=_(e,`focusout`,n);return()=>{r(),i()}}function Be(e,t,{focus:n=!1}={}){let r=Fe(e);return r.listeners.add(t),r.detach??=Re(e,r),n&&(r.focusListeners.add(t),r.detachFocus??=ze(e,r)),()=>{r.listeners.delete(t),n&&(r.focusListeners.delete(t),r.focusListeners.size===0&&r.detachFocus!=null&&(r.detachFocus(),r.detachFocus=null)),r.listeners.size===0&&r.detach!=null&&(r.detach(),r.detach=null)}}function Ve(e){let t=A.get(e)?.startsAtHide,n=m(e);return n.fingers>0&&(t==null||n.starts!==t)}function j(e){let t=A.get(e);return t?.detach==null?k(e):t.height}function M(e){if(!f(e)||e.getAttribute(`inputmode`)===`none`)return!1;if(e.localName===`textarea`){let t=e;return!t.disabled&&!t.readOnly}if(e.localName===`input`){let t=e;return!t.disabled&&!t.readOnly&&!O.has((t.getAttribute(`type`)??`text`).toLowerCase())}return e.matches(`[contenteditable]:not([contenteditable="false"])`)}function He(e,t){if(!o(e))return null;let n=e.closest(`input, textarea, [contenteditable]:not([contenteditable="false"])`);if(t.contains(n)&&M(n))return n;let r=e.closest(`label`),i=f(r)?r.control:null;return t.contains(i)&&M(i)?i:null}var N=a(`keyboard/keyboard-height/focus-takeovers`,1);function Ue(e,{isActive:t,claim:n,park:r}){let i=i=>{if(t!=null&&!t())return;let a=n(i.relatedTarget);a==null?i.relatedTarget??r?.(i.target):a!==e.activeElement&&a.focus({preventScroll:!0})},a=N.get(e);if(a==null){let t=e.defaultView;if(t==null)return()=>{};let n=new Set,r=e=>{for(let t of[...n])n.has(t)&&t(e)};a={stop:_(t,`blur`,e=>{p(e.target)&&r(e)}),callers:n},N.set(e,a)}return a.callers.add(i),()=>{let t=N.get(e);t!=null&&t.callers.delete(i)&&t.callers.size===0&&(t.stop(),N.delete(e))}}var P=a(`keyboard/keyboard-height/touch-start-watches`,1);function We(e,t){let n=P.get(e);if(n==null){let t=e.defaultView;if(t==null)return()=>{};let r=new Set,i=_(t,`touchstart`,()=>{for(let e of[...r])e()}),a=_(t,`touchend`,()=>{}),o=_(t,`touchcancel`,()=>{});n={stop:()=>{i(),a(),o()},watches:r},P.set(e,n)}return n.watches.add(t),()=>{let n=P.get(e);n!=null&&n.watches.delete(t)&&n.watches.size===0&&(n.stop(),P.delete(e))}}function Ge(e,{owns:t,onTouch:n,documentScrollIsReveal:r=!1}){let i=e.document,a=null,o=!1,s=null;return{report:()=>{let t=e.visualViewport;a=t==null?null:{x:e.scrollX,y:e.scrollY,top:t.offsetTop,scale:t.scale},o=Ve(e),s=null},isRevealPan:n=>{let c=e.visualViewport,l=i.activeElement;return c!=null&&a!=null&&!o&&n>0&&c.offsetTop>a.top&&c.scale===a.scale&&l instanceof HTMLElement&&M(l)&&t(l)&&(e.scrollX===a.x&&e.scrollY===a.y||r&&(s??=qe(e,c,l,a)))},putBack:t=>{s=null,r&&a!=null&&(e.scrollX!==a.x||e.scrollY!==a.y)&&e.scrollTo({left:a.x,top:a.y,behavior:`instant`}),t==null?Je(e,a?.top??0):t.scrollIntoView({block:`start`,inline:`nearest`,behavior:`instant`})},stop:We(i,()=>{o=!0,n?.()})}}var Ke=2;function qe(e,t,n,r){let i=n.getBoundingClientRect(),a=(i.top+i.bottom)/2-t.height/2,o=e.document.scrollingElement??e.document.documentElement,s=o.scrollHeight-o.clientHeight,c=T(e)-t.height,l=Math.min(s,Math.max(0,r.y+a)),u=Math.min(c,Math.max(0,a));return e.scrollX===r.x&&Math.abs(e.scrollY-l)<=Ke&&Math.abs(t.offsetTop-u)<=Ke}function Je(e,t){let n=e.document,r=n.createElement(`div`);r.style.position=`fixed`,r.style.left=`0`,r.style.top=`${t}px`,r.style.width=`1px`,r.style.height=`1px`,r.style.visibility=`hidden`,r.style.pointerEvents=`none`,(n.body??n.documentElement).append(r),r.scrollIntoView({block:`start`,inline:`nearest`,behavior:`instant`}),r.remove()}function Ye(e,{claim:t,deliver:n}){let r=null,i=()=>{r=null,e.removeEventListener(`touchmove`,a),e.removeEventListener(`touchend`,o),e.removeEventListener(`touchcancel`,i)};function a(e){let t=e.touches[0];(r==null||e.touches.length!==1||t==null||Math.hypot(t.clientX-r.x,t.clientY-r.y)>10)&&i()}function o(a){let o=a.changedTouches[0],s=r;i(),s!=null&&o!=null&&a.cancelable&&t(s.control)===s.control&&(a.preventDefault(),n(s.control,o.clientX,o.clientY,o),h(e.ownerDocument,{takesLateMouse:!0}))}let s=n=>{if(r!=null){i();return}let s=n.touches[0],c=n.touches.length===1&&s!=null?t(n.target):null;c!=null&&s!=null&&(r={x:s.clientX,y:s.clientY,control:c},e.addEventListener(`touchmove`,a,{passive:!0}),e.addEventListener(`touchend`,o),e.addEventListener(`touchcancel`,i))};return e.addEventListener(`touchstart`,s,{passive:!0}),()=>{i(),e.removeEventListener(`touchstart`,s)}}function Xe(e){return e instanceof HTMLTextAreaElement||e instanceof HTMLInputElement}function Ze(e,t,n){if(e.selectionStart==null)return;let r=c(e.ownerDocument,t,n,[]),i=r!=null&&r.node===e?r.offset:e.value.length;e.setSelectionRange(i,i)}function Qe(e,t,n){if(e.focus({preventScroll:!0}),Xe(e)){Ze(e,t,n);return}let r=e.ownerDocument,i=c(r,t,n,[]);if(i!=null&&e.isContentEditable&&e.contains(i.node)){let e=r.createRange();e.setStart(i.node,i.offset),e.collapse(!0);let t=r.getSelection();t?.removeAllRanges(),t?.addRange(e)}}var $e=Symbol.for(`@astryxdesign/core/interaction-modality/v1`);function F(e){let t=e,n=t[$e];if(n!=null)return n;let r={modality:`keyboard`,isTextEntrySincePointer:!1,isListening:!1,onPointerDown:()=>{r.modality=`pointer`,r.isTextEntrySincePointer=!0},onKeyDown:e=>{e.metaKey||e.altKey||e.ctrlKey||(r.modality=`keyboard`,tt(e)||(r.isTextEntrySincePointer=!1))}};return Object.defineProperty(t,$e,{value:r}),r}var et=new Set([`Backspace`,`CapsLock`,`Dead`,`Delete`,`Enter`,`Process`,`Shift`,`Unidentified`]);function tt(e){let t=typeof e.composedPath==`function`?e.composedPath()[0]:e.target;if(!M(t instanceof Element?t:null))return!1;let n=typeof e.key==`string`?e.key:``;return e.isComposing===!0||[...n].length===1||et.has(n)}function I(e,t,n){t.isListening!==n&&(t.isListening=n,n?(e.addEventListener(`pointerdown`,t.onPointerDown,{capture:!0,passive:!0}),e.addEventListener(`keydown`,t.onKeyDown,{capture:!0,passive:!0})):(e.removeEventListener(`pointerdown`,t.onPointerDown,{capture:!0}),e.removeEventListener(`keydown`,t.onKeyDown,{capture:!0})))}function L(){return typeof document>`u`||I(document,F(document),!0),()=>{}}function nt(e){if(typeof document<`u`&&e===document)return L();let t=F(e);t.consumers=(t.consumers??0)+1,I(e,t,!0);let n=!1;return()=>{n||(n=!0,t.consumers=(t.consumers??1)-1,t.consumers===0&&I(e,t,!1))}}function rt(e,t){t.release?.(),t.release=null;let n=e?.ownerDocument;if(n==null||typeof document<`u`&&n===document)return;let r=nt(n);return t.release=r,()=>{r(),t.release===r&&(t.release=null)}}function it(){(0,v.useEffect)(()=>L(),[]);let e=(0,v.useRef)(null),t=(0,v.useRef)({release:null});return{ref:(0,v.useCallback)(n=>{e.current=n;let r=rt(n,t.current);return()=>{r?.(),e.current===n&&(e.current=null)}},[]),readModality:(0,v.useCallback)(()=>R(e.current),[])}}function at(e,t=!0){return(0,v.useEffect)(()=>t?L():void 0,[t]),(0,v.useEffect)(()=>{let n=e.current?.ownerDocument;if(!(!t||n==null||typeof document<`u`&&n===document))return nt(n)}),(0,v.useCallback)(()=>R(e.current),[e])}function R(e){let t=e==null?null:e.nodeType===9?e:e.ownerDocument;return t==null?typeof document>`u`?`keyboard`:F(document).modality:F(t).modality}function ot(e){let t=e==null?typeof document>`u`?null:document:e.nodeType===9?e:e.ownerDocument;if(t==null)return!1;let n=F(t);return n.isTextEntrySincePointer??n.modality===`pointer`}var st={reset:{kMv6JI:`x9ynric`,kGuDYH:`xjm74w1`,k63SB2:`xxovm9e`,kLWn49:`xw6l6zx`,kKX8nH:`x1j61x8r`,k9WMMc:`x1yc453h`,kJI5tL:`x7ssn7h`,kTHuQy:`xzugeeo`,kP9fke:`x6mezaz`,kb6lSQ:`x1i21sxh`,k4JVr9:`xp3md9m`,kKMj4B:`x19pm5ym`,khDVqt:`xeaf4i8`,kTgw9:`x1lldw8n`,kHjlTd:`x1h4wwuj`,kE4Cay:`xxydokm`,$$css:!0}},ct={reset:{"--step-connector-gap":`x1qkaldv`,"--_astryx-text-overflow-wrap":`x1c9qq8g`,$$css:!0}},z={showMs:267,showCurve:[.1,0,0,1],showReportLagMs:25,hideMs:167,hideCurve:[.3,.1,.2,.9],hideAfterBlurMs:16,hideReportLagMs:33},B=.5;function lt(e=0){let t={kind:`change`,from:e,to:e,start:-1/0,velocity:0,animated:!1,predicted:!1,curve:null},n=null,r=(e,t,n)=>{let r=n.durationMs/1e3,i=s(n.points),a=n=>e+(t-e)*i(Math.min(1,Math.max(0,n/r)));return{value:a,velocity:e=>{if(e>=r)return 0;let t=Math.max(0,e-.001),n=Math.min(r,e+.001);return(a(n)-a(t))/(n-t)}}},i={durationMs:z.showMs,points:z.showCurve},a={durationMs:z.hideMs,points:z.hideCurve},o=()=>t.curve==null?0:t.curve.durationMs,c=e,l=e=>e<t.start?t.from:n==null||e>=t.start+o()?t.to:n.value((e-t.start)/1e3),u=e=>e<=t.start?t.velocity:n==null||e>=t.start+o()?0:n.velocity((e-t.start)/1e3),d=(e,o,s,{animated:d=!0,predicted:f=!1}={})=>{let p=Math.max(s,t.start),m=l(p),h=d?u(p):0,g=d?o>m?i:a:null;return t={kind:e,from:m,to:o,start:p,velocity:h,animated:d,predicted:f,curve:g},n=g!=null&&Math.abs(o-m)+Math.abs(h)>0?r(m,o,g):null,o>B&&(c=o),t},f=()=>(t.predicted&&(t={...t,predicted:!1}),null);return{get inset(){return t.to},get transition(){return t},presentation:l,velocity:u,report(e,n){if(e==null)return null;let r=t.to;if(Math.abs(e-r)<B)return f();if(e<=B)return d(`hide`,0,n-z.hideReportLagMs);if(r<=B){let t=c>e+B;return d(`show`,t?c:e,n-z.showReportLagMs,{predicted:t})}return d(`change`,e,n,{animated:!1})},blurred(e){return t.to<=B?null:d(`hide`,0,e+z.hideAfterBlurMs,{predicted:!0})},focused(e){return t.kind!==`hide`||!t.predicted?null:d(`show`,c,Math.max(e,t.start),{predicted:!0})},verify(e,n){return!t.predicted||e==null||n<t.start+o()?null:Math.abs(e-t.to)<B?f():d(e>t.to?`show`:`hide`,e,n)}}}function V(e){return Ie(e)?`chromium`:null}var ut=150,dt=150,ft=new Set([`date`,`datetime-local`,`month`,`time`,`week`]);function pt(e){let t=e instanceof Element?e:null;return M(t)||t instanceof HTMLSelectElement&&!t.disabled}function mt(e){let t=e;return t==null||t.nodeType!==1?!1:t.tagName===`SELECT`||t.tagName===`INPUT`&&ft.has(t.type)}function ht(e){return e.tagName===`IFRAME`||e.tagName===`FRAME`||e.tagName===`OBJECT`||e.tagName===`EMBED`||e.shadowRoot!=null||e.tagName.includes(`-`)}var gt=a(`keyboard/keyboard-layout-guide/guides`,1);function _t(e){let t=gt.get(e);return t??(t=vt(e),gt.set(e,t)),t}function vt(e){let t=new Set,n=V(e),r=lt(j(e)),i=null,a=null,o=e=>pt(e)&&!(n===`chromium`&&mt(e)),s=()=>{let t=e.document.activeElement;return r.transition.kind===`hide`&&r.transition.predicted&&!o(t)&&!(t!=null&&ht(t))},c=e=>{if(e!=null){e.predicted&&l(e);for(let n of[...t])n(e)}},l=t=>{i!=null&&clearTimeout(i);let n=t.start+(t.curve?.durationMs??0)+ut;i=setTimeout(()=>{i=null;let t=j(e);t!=null&&t>.5&&s()||c(r.verify(t,e.performance.now()))},Math.max(0,n-e.performance.now()))},u=()=>{n=V(e),r=lt(j(e));let t=-1/0,a=null,l=(i,l)=>{a!=null&&(clearTimeout(a),a=null);let u=t+dt;return n===`chromium`&&i<.5&&r.inset>=.5&&l<u&&o(e.document.activeElement)?(a=setTimeout(()=>{a=null,c(r.report(j(e),u))},u-l),null):i>.5&&s()?null:r.report(i,l)},u=Be(e,e=>{e.type===`viewport`?c(l(e.height,e.timeStamp)):e.type===`focusin`?o(e.target)&&(t=e.timeStamp,c(r.focused(e.timeStamp))):o(e.target)&&!o(e.relatedTarget)&&c(r.blurred(e.timeStamp))},{focus:!0});return()=>{u(),a!=null&&(clearTimeout(a),a=null),i!=null&&(clearTimeout(i),i=null)}};return{get profile(){return n},get inset(){return r.inset},get transition(){return r.transition},presentation(t=e.performance.now()){return r.presentation(t)},subscribe(e){return t.add(e),a??=u(),()=>{t.delete(e),t.size===0&&a!=null&&(a(),a=null)}}}}var yt={reset:{"--container-padding-inline-start":`xrhngw9`,"--container-padding-inline-end":`xjsfl84`,"--container-padding-block-start":`x1047aw6`,"--container-padding-block-end":`xax9j7h`,"--container-corner-start-start":`xcfde6v`,"--container-corner-start-end":`x1os27km`,"--container-corner-end-start":`x102ry9`,"--container-corner-end-end":`x1q2p8vm`,"--_container-bleed-block-start":`x19rxvyz`,"--_container-bleed-block-end":`x1t5kaiv`,"--layout-padding-outer-x":`xdt8ak2`,"--layout-padding-outer-y":`x1rs4lu4`,"--layout-padding-own-outer-x":`x1vii845`,"--layout-padding-own-outer-y":`xojybgt`,"--layout-padding-inner-x":`x1qfll2g`,"--layout-padding-inner-y":`xyvxpqs`,"--_section-padding-propagated":`x1f17rg1`,$$css:!0}};function bt(e){return()=>{let t=e.withdraw;e.withdraw=null,t?.()}}function xt(e,t){for(let{text:n,receipts:r}of e)for(let e of r)e.withdraw=t(n)}var St=`data-astryx-live-region`,Ct=`position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;inset-block-start:0;inset-inline-start:0;pointer-events:none;user-select:none;`,wt=2e3,H=l(`hooks/use-announce/channel`,1,()=>({clearTimers:{polite:null,assertive:null},pendingFrames:{polite:null,assertive:null},pendingMessages:{polite:[],assertive:[]},lastJoined:null,regions:null,modalRoute:null}));function Tt(e){let t=H.clearTimers[e];t!=null&&(clearTimeout(t),H.clearTimers[e]=null)}function Et(e){let t=H.pendingFrames[e];t!=null&&(cancelAnimationFrame(t),H.pendingFrames[e]=null),H.pendingMessages[e]=[]}function Dt(e,t){Tt(e),H.clearTimers[e]=setTimeout(()=>{H.clearTimers[e]=null,t.textContent=``},wt)}function Ot(e){let t=document.createElement(`div`);return t.setAttribute(St,e),t.setAttribute(`aria-live`,e),t.setAttribute(`aria-atomic`,`true`),t.setAttribute(`role`,e===`assertive`?`alert`:`status`),t.style.cssText=Ct,document.body.appendChild(t),t}function kt(){return typeof document>`u`?null:H.regions?(H.regions.polite.isConnected||document.body.appendChild(H.regions.polite),H.regions.assertive.isConnected||document.body.appendChild(H.regions.assertive),H.regions):(H.regions={polite:Ot(`polite`),assertive:Ot(`assertive`)},H.regions)}function U(e,t){let n=kt();if(!n)return null;let r=t===`assertive`?n.assertive:n.polite,i=H.pendingMessages[t].find(t=>t.text===e);if(i!=null)return i.holders+=1,H.lastJoined=i,()=>Y(i,t);let a={text:e,holders:1};return H.pendingMessages[t].push(a),H.lastJoined=a,H.pendingFrames[t]??(r.textContent=``,H.pendingFrames[t]=requestAnimationFrame(()=>{H.pendingFrames[t]=null,r.textContent=H.pendingMessages[t].map(e=>e.text).join(` `),H.pendingMessages[t]=[]})),Dt(t,r),()=>Y(a,t)}function At(e){if(Et(e),Tt(e),!H.regions)return;let t=e===`assertive`?H.regions.assertive:H.regions.polite;t.textContent=``}function jt({hasReplace:e=!1}={}){let t=(0,v.use)(W),n=(0,v.useRef)(null);return(0,v.useCallback)((r,i=`polite`)=>{if(e){let e=n.current;n.current=null,e?.()}let a;t!=null&&H.modalRoute!=null?a=H.modalRoute.announce(t,r,i):r?a=U(r,i):(At(i),a=null),e&&(n.current=a)},[e,t])}var Mt=`data-astryx-modal-live-region`,W=x(`ModalAnnounceContext`,1,null);W.displayName=`ModalAnnounceContext`;function Nt(e){H.modalRoute=e}function G(e){return e!=null&&e.open&&d(e)}function Pt(e){let t=e?.closest(`dialog`)??null;for(;t!=null;){if(G(t))return t;t=t.parentElement?.closest(`dialog`)??null}return null}function Ft(e,t,n=`polite`){return H.modalRoute==null?G(e)?Bt(e,t,n):U(t,n):H.modalRoute.announceInModal(e,t,n)}var K=a(`hooks/use-announce/pending-by-region`,1);function q(e){e.frame!=null&&cancelAnimationFrame(e.frame),e.settleFrame!=null&&cancelAnimationFrame(e.settleFrame),e.timer!=null&&clearTimeout(e.timer)}function It(e){return Rt(e).map(e=>e.text)}function Lt(e){return e.messages.map(t=>({text:t,receipts:e.receipts.get(t)??[]}))}function Rt(e){let t=K.get(e);return t==null?[]:t.frame!=null||t.settleFrame!=null?Lt(t):[]}function J(e,t){return e.querySelector(`:scope > [${Mt}="${t}"]`)}function zt(e,t){let n=J(e,t);return n??(n=document.createElement(`div`),n.setAttribute(Mt,t),n.setAttribute(`role`,t===`assertive`?`alert`:`status`),n.setAttribute(`aria-live`,t),n.setAttribute(`aria-atomic`,`true`),n.style.cssText=Ct,e.appendChild(n)),n}function Bt(e,t,n,r){let i=zt(e,n),a=It(i),o=a.includes(t)?a:[...a,t],s=K.get(i),c=a.length>0&&s!=null?s.receipts:new Map,l={withdraw:null};c.set(t,[...c.get(t)??[],l]),s!=null&&q(s),i.textContent=``;let u={messages:o,receipts:c,frame:null,settleFrame:null,timer:null};return u.frame=requestAnimationFrame(()=>{u.frame=null,r!=null&&!r.isExposed()?(K.delete(i),r.redirect(Lt(u))):(i.textContent=u.messages.join(` `),u.settleFrame=requestAnimationFrame(()=>{u.settleFrame=null}),u.timer=setTimeout(()=>{i.textContent=``,K.delete(i)},wt))}),K.set(i,u),l.withdraw=()=>Vt(i,t,l),bt(l)}function Vt(e,t,n){let r=K.get(e);if(r==null||r.frame==null&&r.settleFrame==null)return;let i=r.receipts.get(t),a=i?.indexOf(n)??-1;i==null||a<0||(i.splice(a,1),i.length>0||(r.receipts.delete(t),r.messages=r.messages.filter(e=>e!==t),r.messages.length===0?(q(r),K.delete(e),e.textContent=``):r.frame??(e.textContent=r.messages.join(` `))))}function Ht(e,t){let n=J(e,t);if(n==null)return;let r=K.get(n);r!=null&&(q(r),K.delete(n)),n.textContent=``}function Ut(){let e=H.lastJoined;return H.lastJoined=null,e}function Y(e,t){let n=H.pendingMessages[t],r=n.indexOf(e);r<0||(--n[r].holders,n[r].holders<=0&&n.splice(r,1))}var Wt=()=>()=>{},Gt=()=>!1,Kt=()=>!0;function qt(){return(0,v.useSyncExternalStore)(Wt,Gt,Kt)}var X=x(`LayerDepthContext`,1,0);X.displayName=`LayerDepthContext`;function Jt(){return(0,v.use)(X)}function Yt({children:e}){let t=(0,v.use)(X);return(0,me.jsx)(X,{value:t+1,children:e})}Yt.displayName=`LayerDepthProvider`;var Xt=229;function Zt(e){return e.isComposing===!0||e.keyCode===Xt}var Z=l(`layer/layer-stack/state`,1,()=>({entries:[],seqByToken:new WeakMap,nextSeq:0,layerCountByDocument:new Map,composingDocuments:new Set,stopListeningByDocument:new Map}));function Qt(e){let t=Z.seqByToken.get(e);if(t!==void 0)return t;let n=Z.nextSeq++;return Z.seqByToken.set(e,n),n}function $t(e,t){if(e.depth!==t.depth)return e.depth-t.depth;let n=e.getContainer?.()??null,r=t.getContainer?.()??null;if(n!=null&&r!=null&&n!==r){if(r.contains(n))return 1;if(n.contains(r))return-1}return e.seq-t.seq}function en(e){return e.isPresent?.()??!0}function tn(){return Z.composingDocuments.size>0}function nn(e){Z.composingDocuments.add(e.currentTarget)}function Q(e){Z.composingDocuments.delete(e.currentTarget)}function $(e){let t=null;for(let n of Z.entries)n.ownerDocument===e&&en(n)&&(t==null||$t(n,t)>0)&&(t=n);return t}function rn(e){let t=Z.entries.find(t=>t.token===e);return t!=null&&$(t.ownerDocument)===t}function an(){return typeof document>`u`?null:document}function on(e){let t=e.target;return t==null?null:t.nodeType===9?t:t.ownerDocument}function sn(e){let t=$(e);return t!=null&&(t.behavior===`block`||t.dismiss(),!0)}function cn(e){if(e.key!==`Escape`)return;let t=on(e)??an();Zt(e)?$(t)!=null&&e.preventDefault():e.defaultPrevented||sn(t)&&e.preventDefault()}function ln(e){e.addEventListener(`keydown`,cn),e.addEventListener(`compositionstart`,nn,!0),e.addEventListener(`compositionend`,Q,!0),e.addEventListener(`blur`,Q,!0),Z.stopListeningByDocument.set(e,()=>{e.removeEventListener(`keydown`,cn),e.removeEventListener(`compositionstart`,nn,!0),e.removeEventListener(`compositionend`,Q,!0),e.removeEventListener(`blur`,Q,!0)})}function un(e){Z.stopListeningByDocument.get(e)?.(),Z.stopListeningByDocument.delete(e),Z.composingDocuments.delete(e)}function dn(e){let t=e.getContainer?.()?.ownerDocument??an(),n={...e,seq:Qt(e.token),ownerDocument:t};if(Z.entries.push(n),t!=null){let e=Z.layerCountByDocument.get(t)??0;Z.layerCountByDocument.set(t,e+1),e===0&&ln(t)}return()=>{let e=Z.entries.indexOf(n);if(e===-1||(Z.entries.splice(e,1),t==null))return;let r=Z.layerCountByDocument.get(t)??1;r>1?Z.layerCountByDocument.set(t,r-1):(Z.layerCountByDocument.delete(t),un(t))}}function fn(e){return pn(e,null)}function pn(e,t){let{isActive:n,onDismiss:r,escapeBehavior:i=`close`,getContainer:a,isPresent:o,isEnabled:s=!0}=e,c=Jt(),l=(0,v.useRef)({}),u=(0,v.useRef)(!1),d=(0,v.useRef)(r),f=(0,v.useRef)(a),p=(0,v.useRef)(o);(0,v.useEffect)(()=>{d.current=r,f.current=a,p.current=o});let m=n&&s;return(0,v.useEffect)(()=>{if(!m)u.current=!1;else return u.current||=(l.current={},!0),dn({token:l.current,depth:c,behavior:i,getContainer:()=>f.current?.()??null,isPresent:()=>p.current?.()??!0,dismiss:()=>d.current()})},[m,c,i,t]),{shouldDismissOnCloseRequest:(0,v.useCallback)(()=>m&&!tn()&&rn(l.current),[m])}}export{_e as $,ot as A,M as B,pt as C,ct as D,V as E,He as F,De as G,Ue as H,Qe as I,T as J,Ae as K,j as L,at as M,O as N,st as O,Ye as P,ve as Q,Ve as R,yt as S,ht as T,Be as U,Je as V,Ge as W,w as X,Se as Y,ye as Z,Ut as _,qt as a,ae as at,Y as b,U as c,ie as ct,Pt as d,he as et,xt as f,J as g,G as h,Yt as i,ue as it,it as j,R as k,Ht as l,Nt as m,fn as n,x as nt,W as o,oe as ot,bt as p,ke as q,Zt as r,le as rt,Ft as s,re as st,pn as t,pe as tt,At as u,Rt as v,_t as w,Bt as x,jt as y,Pe as z};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/
|
|
2
|
-
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{n as t,t as n}from"./jsx-runtime-C3cWAN_r.js";import{At as r,Bt as i,Dt as a,Ht as o,J as s,Pt as c,Rt as l,Wt as u,b as d,jt as f,lt as p,rn as m,vt as h,wt as g,x as _,y as v}from"./focusOutline.stylex-ZXdUNMFw.js";import{$ as ee,M as te,Z as ne,et as y,it as b,nt as x}from"./useLayerDismissal-D77qBJbE.js";import{t as S}from"./mergeProps-Poh9JbFs.js";import{t as re}from"./useDevWarning-DtAYt56R.js";import{C as ie,J as ae,K as C,T as w,h as oe,p as T,r as se}from"./useTooltip-Dd70k22y.js";var E=e(t(),1);function ce(e,t,n){let i=r(f(`react/${e}`,t),()=>new WeakMap,e=>e instanceof WeakMap);if(i.has(E.createElement))return i.get(E.createElement);let a=n();return i.set(E.createElement,a),a}var le=ce(`theme/theme-registry/themes`,1,()=>new Map);function ue(e){le.set(e.name,e)}function de(e){return e==null||e===``?null:le.get(e)??null}var fe=x(`ThemeContext`,1,null);fe.displayName=`ThemeContext`;var pe=x(`ThemeSourceContext`,1,null);pe.displayName=`ThemeSourceContext`;function me(e){let t=e,n=new Set;return{get:()=>t,subscribe:e=>(n.add(e),()=>n.delete(e)),set:e=>{if(e!==t){t=e;for(let e of n)e()}}}}var he=x(`ThemeModeContext`,1,null);he.displayName=`ThemeModeContext`;var ge=x(`SystemSchemeContext`,1,`root`);ge.displayName=`SystemSchemeContext`;function _e(){return typeof document>`u`?null:document.documentElement.getAttribute(a(`theme`))}function ve(){return null}function ye(){return null}var D=new Set,O=null;function be(){for(let e of D)e()}function xe(e){return D.add(e),D.size===1&&typeof MutationObserver<`u`&&(O=new MutationObserver(be),O.observe(document.documentElement,{attributes:!0,attributeFilter:[a(`theme`)]})),()=>{D.delete(e),D.size===0&&O&&(O.disconnect(),O=null)}}function Se(){return()=>{}}var k=c(`theme/use-theme/root-scheme`,1,()=>({listeners:new Set,stop:null})),Ce=`style, link[rel~="stylesheet"]`,we=`meta[name="color-scheme" i]`;function Te(e){let t=e.toLowerCase().split(/\s+/),n=t.includes(`light`),r=t.includes(`dark`);if(n&&r)return null;if(n||r)return r?`dark`:`light`}function Ee(){let e=window.getComputedStyle(document.documentElement).colorScheme;if(e==null||e===``)return null;if(e!==`normal`)return Te(e)??null;for(let e of document.querySelectorAll(we)){let t=e.getAttribute(`content`)??``,n=Te(t);if(n!==void 0)return n;if(/(^|\s)normal(\s|$)/i.test(t))return`light`}return`light`}function De(e){return e.some(e=>{let t=e.target;if(t===document.documentElement)return!0;let n=t instanceof Element?t:t.parentElement;if(n?.closest(`style`)!=null)return!0;if(e.type===`attributes`)return n?.matches(`link, style, meta`)===!0;let r=`${Ce}, ${we}`;return[...e.addedNodes,...e.removedNodes].some(e=>e instanceof Element&&(e.matches(r)||e.querySelector(r)!=null))})}function Oe(){for(let e of k.listeners)e()}function ke(e){De(e)&&Oe()}function Ae(e){e.target instanceof HTMLLinkElement&&Oe()}function je(e){if(k.listeners.add(e),k.listeners.size===1&&typeof MutationObserver<`u`){let e=new MutationObserver(ke);e.observe(document.documentElement,{attributes:!0}),e.observe(document.head,{childList:!0,subtree:!0,characterData:!0,attributes:!0,attributeFilter:[`href`,`media`,`disabled`,`rel`,`name`,`content`]}),document.addEventListener(`load`,Ae,!0);let t=h(window,`(prefers-color-scheme: dark)`,Oe);k.stop=()=>{e.disconnect(),document.removeEventListener(`load`,Ae,!0),t()}}return()=>{k.listeners.delete(e),k.listeners.size===0&&k.stop!=null&&(k.stop(),k.stop=null)}}function Me(e){return(0,E.useSyncExternalStore)(e?je:Se,e?Ee:ye,ye)}function Ne(e){return(0,E.useSyncExternalStore)(e?Se:xe,e?ye:_e,ve)}function Pe(){let e=(0,E.use)(fe),t=(0,E.use)(he)?.themeless===!0,n=Ne(e!=null||t);return e?.theme.name??n}function Fe(e=!0){let t=e?(0,E.use)(fe):null,n=e&&(0,E.use)(he)?.themeless===!0,r=Ne(t!=null||n||!e);if(e)return t?.theme??de(r)??void 0}var A=n(),j={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:1.5,strokeLinecap:`round`,strokeLinejoin:`round`,width:`1em`,height:`1em`,"aria-hidden":!0},M={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,width:`1em`,height:`1em`,"aria-hidden":!0},Ie={close:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M6 6l12 12M6 18L18 6`})}),chevronDown:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M6 9l6 6 6-6`})}),"numberInput:stepperDown":(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M7.5 9.75l4.5 4.5 4.5-4.5`})}),chevronLeft:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M15 6l-6 6 6 6`})}),chevronRight:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M9 6l6 6-6 6`})}),chevronsLeft:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M18 6l-6 6 6 6M11 6l-6 6 6 6`})}),chevronsRight:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M6 6l6 6-6 6M13 6l6 6-6 6`})}),check:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M5 13l4 4L19 7`})}),success:(0,A.jsx)(`svg`,{...M,children:(0,A.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M12 3a9 9 0 100 18 9 9 0 000-18zm4.06 6.56a.75.75 0 00-1.12-1l-3.94 4.4-1.94-1.94a.75.75 0 00-1.06 1.06l2.5 2.5a.75.75 0 001.09-.03l4.47-5z`})}),error:(0,A.jsx)(`svg`,{...M,children:(0,A.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M12 3a9 9 0 100 18 9 9 0 000-18zm-2.47 5.47a.75.75 0 00-1.06 1.06L10.94 12l-2.47 2.47a.75.75 0 101.06 1.06L12 13.06l2.47 2.47a.75.75 0 101.06-1.06L13.06 12l2.47-2.47a.75.75 0 00-1.06-1.06L12 10.94l-2.47-2.47z`})}),warning:(0,A.jsx)(`svg`,{...M,children:(0,A.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M10.29 3.86L2.07 19.05A2 2 0 003.78 22h16.44a2 2 0 001.71-2.95L13.71 3.86a2 2 0 00-3.42 0zM12 9a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0112 9zm0 9a1 1 0 100-2 1 1 0 000 2z`})}),info:(0,A.jsx)(`svg`,{...M,children:(0,A.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M12 3a9 9 0 100 18 9 9 0 000-18zm0 4a1 1 0 100 2 1 1 0 000-2zm-.75 3.75a.75.75 0 011.5 0v5.5a.75.75 0 01-1.5 0v-5.5z`})}),calendar:(0,A.jsxs)(`svg`,{...j,children:[(0,A.jsx)(`rect`,{x:`3`,y:`4`,width:`18`,height:`18`,rx:`2`}),(0,A.jsx)(`path`,{d:`M16 2v4M8 2v4M3 10h18`})]}),clock:(0,A.jsxs)(`svg`,{...j,children:[(0,A.jsx)(`circle`,{cx:`12`,cy:`12`,r:`9`}),(0,A.jsx)(`path`,{d:`M12 7v5l3 3`})]}),externalLink:(0,A.jsxs)(`svg`,{...j,children:[(0,A.jsx)(`path`,{d:`M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6`}),(0,A.jsx)(`path`,{d:`M15 3h6v6`}),(0,A.jsx)(`path`,{d:`M10 14L21 3`})]}),menu:(0,A.jsx)(`svg`,{...j,strokeWidth:2,children:(0,A.jsx)(`path`,{d:`M4 6h16M4 12h16M4 18h16`})}),moreHorizontal:(0,A.jsxs)(`svg`,{...M,children:[(0,A.jsx)(`circle`,{cx:`5`,cy:`12`,r:`1.5`}),(0,A.jsx)(`circle`,{cx:`12`,cy:`12`,r:`1.5`}),(0,A.jsx)(`circle`,{cx:`19`,cy:`12`,r:`1.5`})]}),search:(0,A.jsxs)(`svg`,{...j,children:[(0,A.jsx)(`circle`,{cx:`11`,cy:`11`,r:`8`}),(0,A.jsx)(`path`,{d:`M21 21l-4.35-4.35`})]}),upload:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M12 16V4m0 0L7 9m5-5l5 5M4 15v4a2 2 0 002 2h12a2 2 0 002-2v-4`})}),arrowUp:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M12 19V5m0 0l-7 7m7-7l7 7`})}),arrowDown:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M12 5v14m0 0l7-7m-7 7l-7-7`})}),arrowsUpDown:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M3 7.5L7.5 3m0 0L12 7.5M7.5 3v13.5m13.5 0L16.5 21m0 0L12 16.5m4.5 4.5V7.5`})}),funnel:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 01-.659 1.591l-5.432 5.432a2.25 2.25 0 00-.659 1.591v2.927a2.25 2.25 0 01-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 00-.659-1.591L3.659 7.409A2.25 2.25 0 013 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0112 3z`})}),eyeSlash:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M3.98 8.223A10.477 10.477 0 001.934 12c1.292 4.338 5.31 7.5 10.066 7.5.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 10-4.243-4.243m4.242 4.242L9.88 9.88`})}),viewColumns:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M9 4.5v15m6-15v15m-10.875 0h15.75c.621 0 1.125-.504 1.125-1.125V5.625c0-.621-.504-1.125-1.125-1.125H4.125C3.504 4.5 3 5.004 3 5.625v12.75c0 .621.504 1.125 1.125 1.125z`})}),copy:(0,A.jsxs)(`svg`,{...j,children:[(0,A.jsx)(`path`,{d:`M8 4v12a2 2 0 002 2h8a2 2 0 002-2V7.242a2 2 0 00-.602-1.43L16.083 2.57A2 2 0 0014.685 2H10a2 2 0 00-2 2z`}),(0,A.jsx)(`path`,{d:`M16 18v2a2 2 0 01-2 2H6a2 2 0 01-2-2V9a2 2 0 012-2h2`})]}),checkDouble:(0,A.jsxs)(`svg`,{...j,children:[(0,A.jsx)(`path`,{d:`M2 13l4 4L14 7`}),(0,A.jsx)(`path`,{d:`M9 13l4 4L21 7`})]}),wrench:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z`})}),stop:(0,A.jsx)(`svg`,{...M,children:(0,A.jsx)(`rect`,{x:`6`,y:`6`,width:`12`,height:`12`,rx:`2`})}),microphone:(0,A.jsxs)(`svg`,{...j,children:[(0,A.jsx)(`path`,{d:`M12 2a3 3 0 00-3 3v6a3 3 0 006 0V5a3 3 0 00-3-3z`}),(0,A.jsx)(`path`,{d:`M19 10v1a7 7 0 01-14 0v-1`}),(0,A.jsx)(`path`,{d:`M12 18v4m-4 0h8`})]})},Le={size:`md`},Re=ce(`icon/global-icon-registry/state`,1,()=>({entries:{}}));function ze(e){return typeof e==`string`?de(e):e??null}function Be(e){return e==null?null:e.__icons??e.icons??null}function Ve(e,t,n){let r=ze(t),i=r?.iconVariants,a=Be(r)?.[e];if(r!=null&&a!=null)return{entry:a,variantLists:[i,r.__iconEntryVariants!=null&&Object.hasOwn(r.__iconEntryVariants,e)?r.__iconEntryVariants[e]:i]};let o=Re.entries[e];return o==null?{entry:Ie[e]??n,variantLists:[]}:{entry:o,variantLists:[i]}}function He({entry:e,variantLists:t},{size:n,variant:r}){return typeof e==`function`?e(r!==void 0&&t.length>0&&t.every(e=>e?.includes(r)===!0)?{size:n,variant:r}:{size:n}):e}function Ue(e,t,n){return He(Ve(e,t),n)}function We(e,t){return He(Ve(e,t),Le)}var Ge=ee(`IconDefaultSizeContext`,1,null);Ge.displayName=`IconDefaultSizeContext`;var Ke=Ge.Provider;function qe(e){let t=(0,E.use)(Ge);return e??t??`md`}var Je={xsm:{kzqmXN:`x13u0t82`,kZKoxP:`x89eeu2`,$$css:!0},sm:{kzqmXN:`xomy6nw`,kZKoxP:`x14eyxzr`,$$css:!0},md:{kzqmXN:`x1vvatio`,kZKoxP:`x1jxzzob`,$$css:!0},lg:{kzqmXN:`x1gbskz6`,kZKoxP:`xol4r8t`,$$css:!0}},Ye={xsm:{kzqmXN:`x1jw3ynk`,kZKoxP:`xvle69y`,kGuDYH:`xboafo0`,$$css:!0},sm:{kzqmXN:`xcdlrvm`,kZKoxP:`x1l36t39`,kGuDYH:`x1jchvi3`,$$css:!0},md:{kzqmXN:`xwqq7k2`,kZKoxP:`xmll18r`,kGuDYH:`x1603h9y`,$$css:!0},lg:{kzqmXN:`xp8d6y2`,kZKoxP:`xam5rvr`,kGuDYH:`xngnso2`,$$css:!0}},Xe={root:{kmuXW:`x2lah0s`,$$css:!0},span:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,$$css:!0}},Ze={xsm:{kzqmXN:`x13u0t82`,kZKoxP:`x89eeu2`,kGuDYH:`x1uq1jy3`,$$css:!0},sm:{kzqmXN:`xomy6nw`,kZKoxP:`x14eyxzr`,kGuDYH:`x1qzu985`,$$css:!0},md:{kzqmXN:`x1vvatio`,kZKoxP:`x1jxzzob`,kGuDYH:`xhhwgqx`,$$css:!0},lg:{kzqmXN:`x1gbskz6`,kZKoxP:`xol4r8t`,kGuDYH:`x14nqahd`,$$css:!0}},Qe={primary:{kMwMTN:`xtbr613`,$$css:!0},secondary:{kMwMTN:`xv9yike`,$$css:!0},tertiary:{kMwMTN:`xv9yike`,$$css:!0},disabled:{kMwMTN:`xqa6c3m`,$$css:!0},accent:{kMwMTN:`xqwr325`,$$css:!0},info:{kMwMTN:`x1gc9m53`,$$css:!0},success:{kMwMTN:`x1vau044`,$$css:!0},error:{kMwMTN:`xskb5cx`,$$css:!0},warning:{kMwMTN:`x4z9hng`,$$css:!0},inherit:{kMwMTN:`x1heor9g`,$$css:!0},blue:{kMwMTN:`x1fns2mt`,$$css:!0},red:{kMwMTN:`xeffzf7`,$$css:!0},green:{kMwMTN:`xmxeech`,$$css:!0},gray:{kMwMTN:`x1eyinzz`,$$css:!0},cyan:{kMwMTN:`x157w0xa`,$$css:!0},teal:{kMwMTN:`x1f3zxcb`,$$css:!0},yellow:{kMwMTN:`x1g6zdft`,$$css:!0},orange:{kMwMTN:`xxu74a4`,$$css:!0},pink:{kMwMTN:`x1kxxfg5`,$$css:!0},purple:{kMwMTN:`xzdw94u`,$$css:!0}};function $e(e){return e!=null&&e!==``?{role:`img`,"aria-label":e,"aria-hidden":void 0}:{"aria-hidden":`true`}}function et({icon:e,color:t=`inherit`,size:n,variant:r,label:i,ref:a,className:o,style:s,xstyle:c,...l}){let{icon:u,props:d}=tt(e,l);re(`Icon`,'takes its glyph in `icon`, not `name`. Pass it as icon, for example <Icon icon="close" />.',u!==e);let f=qe(n),p=$e(i);return typeof u==`string`?(0,A.jsx)(it,{name:u,color:t,size:f,variant:r,a11yProps:p,className:o,style:s,xstyle:c,svgRef:a,spanProps:d}):(0,A.jsx)(u,{ref:a,...p,...S(g(`icon`,{size:f,color:t}),m(Xe.root,Qe[t],Je[f],c),o??void 0,s),...d})}et.displayName=`Icon`;function tt(e,t){if(e!=null||!(`name`in t)||!rt(t.name))return{icon:e,props:t};let{name:n,...r}=t;return{icon:n,props:r}}var nt=new Set([Symbol.for(`react.forward_ref`),Symbol.for(`react.memo`),Symbol.for(`react.lazy`)]);function rt(e){return typeof e==`string`&&e!==``||typeof e==`function`||typeof e==`object`&&!!e&&nt.has(e.$$typeof)}function it({name:e,color:t,size:n,variant:r,a11yProps:i,className:a,style:o,xstyle:s,svgRef:c,spanProps:l}){let u=Fe(),d=Ue(e,u,{size:n,variant:r}),f=(0,E.useCallback)(e=>c==null?void 0:y(c)(e?.querySelector(`svg`)??null),[c,e,u,n,r]);if(d==null)return null;let p=l??{};return(0,A.jsx)(`span`,{ref:c==null?void 0:f,...i,...p,...S(g(`icon`,{size:n,color:t}),m(Xe.span,Qe[t],Ze[n],s),a??void 0,o),children:d})}function at(e,t){return typeof e==`string`||typeof e==`function`||typeof e==`object`&&e&&`render`in e?(0,A.jsx)(et,{icon:e,...t}):e}var ot=c(`i18n/default-translator/default-translator`,1,()=>({})),st=x(`InternationalizationContext`,1,{locale:`en`,direction:`ltr`,messages:{},translate:(e,t)=>ot.translate?.(e,t)??e});st.displayName=`InternationalizationContext`;function ct(e,t){let n=t&&t.cache?t.cache:vt,r=t&&t.serializer?t.serializer:gt;return(t&&t.strategy?t.strategy:pt)(e,{cache:n,serializer:r})}function lt(e){return e==null||typeof e==`number`||typeof e==`boolean`}function ut(e,t,n,r){let i=lt(r)?r:n(r),a=t.get(i);return a===void 0&&(a=e.call(this,r),t.set(i,a)),a}function dt(e,t,n){let r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return a===void 0&&(a=e.apply(this,r),t.set(i,a)),a}function ft(e,t,n,r,i){return n.bind(t,e,r,i)}function pt(e,t){let n=e.length===1?ut:dt;return ft(e,this,n,t.cache.create(),t.serializer)}function mt(e,t){return ft(e,this,dt,t.cache.create(),t.serializer)}function ht(e,t){return ft(e,this,ut,t.cache.create(),t.serializer)}var gt=function(){return JSON.stringify(arguments)},_t=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}},vt={create:function(){return new _t}},yt={variadic:mt,monadic:ht},bt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function xt(e){let t={};return e.replace(bt,e=>{let n=e.length;switch(e[0]){case`G`:t.era=n===4?`long`:n===5?`narrow`:`short`;break;case`y`:t.year=n===2?`2-digit`:`numeric`;break;case`Y`:case`u`:case`U`:case`r`:throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case`q`:case`Q`:throw RangeError("`q/Q` (quarter) patterns are not supported");case`M`:case`L`:t.month=[`numeric`,`2-digit`,`short`,`long`,`narrow`][n-1];break;case`w`:case`W`:throw RangeError("`w/W` (week) patterns are not supported");case`d`:t.day=[`numeric`,`2-digit`][n-1];break;case`D`:case`F`:case`g`:throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case`E`:t.weekday=n===4?`long`:n===5?`narrow`:`short`;break;case`e`:if(n<4)throw RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=[`short`,`long`,`narrow`,`short`][n-3];break;case`c`:if(n<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=[`short`,`long`,`narrow`,`short`][n-3];break;case`a`:t.hour12=!0;break;case`b`:case`B`:throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case`h`:t.hourCycle=`h12`,t.hour=[`numeric`,`2-digit`][n-1];break;case`H`:t.hourCycle=`h23`,t.hour=[`numeric`,`2-digit`][n-1];break;case`K`:t.hourCycle=`h11`,t.hour=[`numeric`,`2-digit`][n-1];break;case`k`:t.hourCycle=`h24`,t.hour=[`numeric`,`2-digit`][n-1];break;case`j`:case`J`:case`C`:throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case`m`:t.minute=[`numeric`,`2-digit`][n-1];break;case`s`:t.second=[`numeric`,`2-digit`][n-1];break;case`S`:case`A`:throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case`z`:t.timeZoneName=n<4?`short`:`long`;break;case`Z`:case`O`:case`v`:case`V`:case`X`:case`x`:throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return``}),t}var St=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Ct(e){if(e.length===0)throw Error(`Number skeleton cannot be empty`);let t=e.split(St).filter(e=>e.length>0),n=[];for(let e of t){let t=e.split(`/`);if(t.length===0)throw Error(`Invalid number skeleton`);let[r,...i]=t;for(let e of i)if(e.length===0)throw Error(`Invalid number skeleton`);n.push({stem:r,options:i})}return n}function wt(e){return e.replace(/^(.*?)-/,``)}var Tt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Et=/^(@+)?(\+|#+)?[rs]?$/g,Dt=/(\*)(0+)|(#+)(0+)|(0+)/g,Ot=/^(0+)$/;function kt(e){let t={};return e[e.length-1]===`r`?t.roundingPriority=`morePrecision`:e[e.length-1]===`s`&&(t.roundingPriority=`lessPrecision`),e.replace(Et,function(e,n,r){return typeof r==`string`?r===`+`?t.minimumSignificantDigits=n.length:n[0]===`#`?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof r==`string`?r.length:0)):(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length),``}),t}function At(e){switch(e){case`sign-auto`:return{signDisplay:`auto`};case`sign-accounting`:case`()`:return{currencySign:`accounting`};case`sign-always`:case`+!`:return{signDisplay:`always`};case`sign-accounting-always`:case`()!`:return{signDisplay:`always`,currencySign:`accounting`};case`sign-except-zero`:case`+?`:return{signDisplay:`exceptZero`};case`sign-accounting-except-zero`:case`()?`:return{signDisplay:`exceptZero`,currencySign:`accounting`};case`sign-never`:case`+_`:return{signDisplay:`never`}}}function jt(e){let t;if(e[0]===`E`&&e[1]===`E`?(t={notation:`engineering`},e=e.slice(2)):e[0]===`E`&&(t={notation:`scientific`},e=e.slice(1)),t){let n=e.slice(0,2);if(n===`+!`?(t.signDisplay=`always`,e=e.slice(2)):n===`+?`&&(t.signDisplay=`exceptZero`,e=e.slice(2)),!Ot.test(e))throw Error(`Malformed concise eng/scientific notation`);t.minimumIntegerDigits=e.length}return t}function Mt(e){return At(e)||{}}function Nt(e){let t={};for(let n of e){switch(n.stem){case`percent`:case`%`:t.style=`percent`;continue;case`%x100`:t.style=`percent`,t.scale=100;continue;case`currency`:t.style=`currency`,t.currency=n.options[0];continue;case`group-off`:case`,_`:t.useGrouping=!1;continue;case`precision-integer`:case`.`:t.maximumFractionDigits=0;continue;case`measure-unit`:case`unit`:t.style=`unit`,t.unit=wt(n.options[0]);continue;case`compact-short`:case`K`:t.notation=`compact`,t.compactDisplay=`short`;continue;case`compact-long`:case`KK`:t.notation=`compact`,t.compactDisplay=`long`;continue;case`scientific`:t={...t,notation:`scientific`,...n.options.reduce((e,t)=>({...e,...Mt(t)}),{})};continue;case`engineering`:t={...t,notation:`engineering`,...n.options.reduce((e,t)=>({...e,...Mt(t)}),{})};continue;case`notation-simple`:t.notation=`standard`;continue;case`unit-width-narrow`:t.currencyDisplay=`narrowSymbol`,t.unitDisplay=`narrow`;continue;case`unit-width-short`:t.currencyDisplay=`code`,t.unitDisplay=`short`;continue;case`unit-width-full-name`:t.currencyDisplay=`name`,t.unitDisplay=`long`;continue;case`unit-width-iso-code`:t.currencyDisplay=`symbol`;continue;case`scale`:t.scale=parseFloat(n.options[0]);continue;case`rounding-mode-floor`:t.roundingMode=`floor`;continue;case`rounding-mode-ceiling`:t.roundingMode=`ceil`;continue;case`rounding-mode-down`:t.roundingMode=`trunc`;continue;case`rounding-mode-up`:t.roundingMode=`expand`;continue;case`rounding-mode-half-even`:t.roundingMode=`halfEven`;continue;case`rounding-mode-half-down`:t.roundingMode=`halfTrunc`;continue;case`rounding-mode-half-up`:t.roundingMode=`halfExpand`;continue;case`integer-width`:if(n.options.length>1)throw RangeError(`integer-width stems only accept a single optional option`);n.options[0].replace(Dt,function(e,n,r,i,a,o){if(n)t.minimumIntegerDigits=r.length;else if(i&&a)throw Error(`We currently do not support maximum integer digits`);else if(o)throw Error(`We currently do not support exact integer digits`);return``});continue}if(Ot.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Tt.test(n.stem)){if(n.options.length>1)throw RangeError(`Fraction-precision stems only accept a single optional option`);n.stem.replace(Tt,function(e,n,r,i,a,o){return r===`*`?t.minimumFractionDigits=n.length:i&&i[0]===`#`?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),``});let e=n.options[0];e===`w`?t={...t,trailingZeroDisplay:`stripIfInteger`}:e&&(t={...t,...kt(e)});continue}if(Et.test(n.stem)){t={...t,...kt(n.stem)};continue}let e=At(n.stem);e&&(t={...t,...e});let r=jt(n.stem);r&&(t={...t,...r})}return t}var Pt=function(e){return e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]=`EXPECT_ARGUMENT_CLOSING_BRACE`,e[e.EMPTY_ARGUMENT=2]=`EMPTY_ARGUMENT`,e[e.MALFORMED_ARGUMENT=3]=`MALFORMED_ARGUMENT`,e[e.EXPECT_ARGUMENT_TYPE=4]=`EXPECT_ARGUMENT_TYPE`,e[e.INVALID_ARGUMENT_TYPE=5]=`INVALID_ARGUMENT_TYPE`,e[e.EXPECT_ARGUMENT_STYLE=6]=`EXPECT_ARGUMENT_STYLE`,e[e.INVALID_NUMBER_SKELETON=7]=`INVALID_NUMBER_SKELETON`,e[e.INVALID_DATE_TIME_SKELETON=8]=`INVALID_DATE_TIME_SKELETON`,e[e.EXPECT_NUMBER_SKELETON=9]=`EXPECT_NUMBER_SKELETON`,e[e.EXPECT_DATE_TIME_SKELETON=10]=`EXPECT_DATE_TIME_SKELETON`,e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]=`UNCLOSED_QUOTE_IN_ARGUMENT_STYLE`,e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]=`EXPECT_SELECT_ARGUMENT_OPTIONS`,e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]=`EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]=`INVALID_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]=`EXPECT_SELECT_ARGUMENT_SELECTOR`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]=`EXPECT_PLURAL_ARGUMENT_SELECTOR`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]=`EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]=`EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT`,e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]=`INVALID_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]=`DUPLICATE_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]=`DUPLICATE_SELECT_ARGUMENT_SELECTOR`,e[e.MISSING_OTHER_CLAUSE=22]=`MISSING_OTHER_CLAUSE`,e[e.INVALID_TAG=23]=`INVALID_TAG`,e[e.INVALID_TAG_NAME=25]=`INVALID_TAG_NAME`,e[e.UNMATCHED_CLOSING_TAG=26]=`UNMATCHED_CLOSING_TAG`,e[e.UNCLOSED_TAG=27]=`UNCLOSED_TAG`,e}({});function Ft(e){return e.type===0}function It(e){return e.type===1}function Lt(e){return e.type===2}function Rt(e){return e.type===3}function zt(e){return e.type===4}function Bt(e){return e.type===5}function Vt(e){return e.type===6}function Ht(e){return e.type===7}function Ut(e){return e.type===8}function Wt(e){return!!(e&&typeof e==`object`&&e.type===0)}function Gt(e){return!!(e&&typeof e==`object`&&e.type===1)}var Kt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,N={"001":[`H`,`h`],419:[`h`,`H`,`hB`,`hb`],AC:[`H`,`h`,`hb`,`hB`],AD:[`H`,`hB`],AE:[`h`,`hB`,`hb`,`H`],AF:[`H`,`hb`,`hB`,`h`],AG:[`h`,`hb`,`H`,`hB`],AI:[`H`,`h`,`hb`,`hB`],AL:[`h`,`H`,`hB`],AM:[`H`,`hB`],AO:[`H`,`hB`],AR:[`h`,`H`,`hB`,`hb`],AS:[`h`,`H`],AT:[`H`,`hB`],AU:[`h`,`hb`,`H`,`hB`],AW:[`H`,`hB`],AX:[`H`],AZ:[`H`,`hB`,`h`],BA:[`H`,`hB`,`h`],BB:[`h`,`hb`,`H`,`hB`],BD:[`h`,`hB`,`H`],BE:[`H`,`hB`],BF:[`H`,`hB`],BG:[`H`,`hB`,`h`],BH:[`h`,`hB`,`hb`,`H`],BI:[`H`,`h`],BJ:[`H`,`hB`],BL:[`H`,`hB`],BM:[`h`,`hb`,`H`,`hB`],BN:[`hb`,`hB`,`h`,`H`],BO:[`h`,`H`,`hB`,`hb`],BQ:[`H`],BR:[`H`,`hB`],BS:[`h`,`hb`,`H`,`hB`],BT:[`h`,`H`],BW:[`H`,`h`,`hb`,`hB`],BY:[`H`,`h`],BZ:[`H`,`h`,`hb`,`hB`],CA:[`h`,`hb`,`H`,`hB`],CC:[`H`,`h`,`hb`,`hB`],CD:[`hB`,`H`],CF:[`H`,`h`,`hB`],CG:[`H`,`hB`],CH:[`H`,`hB`,`h`],CI:[`H`,`hB`],CK:[`H`,`h`,`hb`,`hB`],CL:[`h`,`H`,`hB`,`hb`],CM:[`H`,`h`,`hB`],CN:[`H`,`hB`,`hb`,`h`],CO:[`h`,`H`,`hB`,`hb`],CP:[`H`],CR:[`h`,`H`,`hB`,`hb`],CU:[`h`,`H`,`hB`,`hb`],CV:[`H`,`hB`],CW:[`H`,`hB`],CX:[`H`,`h`,`hb`,`hB`],CY:[`h`,`H`,`hb`,`hB`],CZ:[`H`],DE:[`H`,`hB`],DG:[`H`,`h`,`hb`,`hB`],DJ:[`h`,`H`],DK:[`H`],DM:[`h`,`hb`,`H`,`hB`],DO:[`h`,`H`,`hB`,`hb`],DZ:[`h`,`hB`,`hb`,`H`],EA:[`H`,`h`,`hB`,`hb`],EC:[`h`,`H`,`hB`,`hb`],EE:[`H`,`hB`],EG:[`h`,`hB`,`hb`,`H`],EH:[`h`,`hB`,`hb`,`H`],ER:[`h`,`H`],ES:[`H`,`hB`,`h`,`hb`],ET:[`hB`,`hb`,`h`,`H`],FI:[`H`],FJ:[`h`,`hb`,`H`,`hB`],FK:[`H`,`h`,`hb`,`hB`],FM:[`h`,`hb`,`H`,`hB`],FO:[`H`,`h`],FR:[`H`,`hB`],GA:[`H`,`hB`],GB:[`H`,`h`,`hb`,`hB`],GD:[`h`,`hb`,`H`,`hB`],GE:[`H`,`hB`,`h`],GF:[`H`,`hB`],GG:[`H`,`h`,`hb`,`hB`],GH:[`h`,`H`],GI:[`H`,`h`,`hb`,`hB`],GL:[`H`,`h`],GM:[`h`,`hb`,`H`,`hB`],GN:[`H`,`hB`],GP:[`H`,`hB`],GQ:[`H`,`hB`,`h`,`hb`],GR:[`h`,`H`,`hb`,`hB`],GS:[`H`,`h`,`hb`,`hB`],GT:[`h`,`H`,`hB`,`hb`],GU:[`h`,`hb`,`H`,`hB`],GW:[`H`,`hB`],GY:[`h`,`hb`,`H`,`hB`],HK:[`h`,`hB`,`hb`,`H`],HN:[`h`,`H`,`hB`,`hb`],HR:[`H`,`hB`],HU:[`H`,`h`],IC:[`H`,`h`,`hB`,`hb`],ID:[`H`],IE:[`H`,`h`,`hb`,`hB`],IL:[`H`,`hB`],IM:[`H`,`h`,`hb`,`hB`],IN:[`h`,`H`],IO:[`H`,`h`,`hb`,`hB`],IQ:[`h`,`hB`,`hb`,`H`],IR:[`hB`,`H`],IS:[`H`],IT:[`H`,`hB`],JE:[`H`,`h`,`hb`,`hB`],JM:[`h`,`hb`,`H`,`hB`],JO:[`h`,`hB`,`hb`,`H`],JP:[`H`,`K`,`h`],KE:[`hB`,`hb`,`H`,`h`],KG:[`H`,`h`,`hB`,`hb`],KH:[`hB`,`h`,`H`,`hb`],KI:[`h`,`hb`,`H`,`hB`],KM:[`H`,`h`,`hB`,`hb`],KN:[`h`,`hb`,`H`,`hB`],KP:[`h`,`H`,`hB`,`hb`],KR:[`h`,`H`,`hB`,`hb`],KW:[`h`,`hB`,`hb`,`H`],KY:[`h`,`hb`,`H`,`hB`],KZ:[`H`,`hB`],LA:[`H`,`hb`,`hB`,`h`],LB:[`h`,`hB`,`hb`,`H`],LC:[`h`,`hb`,`H`,`hB`],LI:[`H`,`hB`,`h`],LK:[`H`,`h`,`hB`,`hb`],LR:[`h`,`hb`,`H`,`hB`],LS:[`h`,`H`],LT:[`H`,`h`,`hb`,`hB`],LU:[`H`,`h`,`hB`],LV:[`H`,`hB`,`hb`,`h`],LY:[`h`,`hB`,`hb`,`H`],MA:[`H`,`h`,`hB`,`hb`],MC:[`H`,`hB`],MD:[`H`,`hB`],ME:[`H`,`hB`,`h`],MF:[`H`,`hB`],MG:[`H`,`h`],MH:[`h`,`hb`,`H`,`hB`],MK:[`H`,`h`,`hb`,`hB`],ML:[`H`],MM:[`hB`,`hb`,`H`,`h`],MN:[`H`,`h`,`hb`,`hB`],MO:[`h`,`hB`,`hb`,`H`],MP:[`h`,`hb`,`H`,`hB`],MQ:[`H`,`hB`],MR:[`h`,`hB`,`hb`,`H`],MS:[`H`,`h`,`hb`,`hB`],MT:[`H`,`h`],MU:[`H`,`h`],MV:[`H`,`h`],MW:[`h`,`hb`,`H`,`hB`],MX:[`h`,`H`,`hB`,`hb`],MY:[`hb`,`hB`,`h`,`H`],MZ:[`H`,`hB`],NA:[`h`,`H`,`hB`,`hb`],NC:[`H`,`hB`],NE:[`H`],NF:[`H`,`h`,`hb`,`hB`],NG:[`H`,`h`,`hb`,`hB`],NI:[`h`,`H`,`hB`,`hb`],NL:[`H`,`hB`],NO:[`H`,`h`],NP:[`H`,`h`,`hB`],NR:[`H`,`h`,`hb`,`hB`],NU:[`H`,`h`,`hb`,`hB`],NZ:[`h`,`hb`,`H`,`hB`],OM:[`h`,`hB`,`hb`,`H`],PA:[`h`,`H`,`hB`,`hb`],PE:[`h`,`H`,`hB`,`hb`],PF:[`H`,`h`,`hB`],PG:[`h`,`H`],PH:[`h`,`hB`,`hb`,`H`],PK:[`h`,`hB`,`H`],PL:[`H`,`h`],PM:[`H`,`hB`],PN:[`H`,`h`,`hb`,`hB`],PR:[`h`,`H`,`hB`,`hb`],PS:[`h`,`hB`,`hb`,`H`],PT:[`H`,`hB`],PW:[`h`,`H`],PY:[`h`,`H`,`hB`,`hb`],QA:[`h`,`hB`,`hb`,`H`],RE:[`H`,`hB`],RO:[`H`,`hB`],RS:[`H`,`hB`,`h`],RU:[`H`],RW:[`H`,`h`],SA:[`h`,`hB`,`hb`,`H`],SB:[`h`,`hb`,`H`,`hB`],SC:[`H`,`h`,`hB`],SD:[`h`,`hB`,`hb`,`H`],SE:[`H`],SG:[`h`,`hb`,`H`,`hB`],SH:[`H`,`h`,`hb`,`hB`],SI:[`H`,`hB`],SJ:[`H`],SK:[`H`],SL:[`h`,`hb`,`H`,`hB`],SM:[`H`,`h`,`hB`],SN:[`H`,`h`,`hB`],SO:[`h`,`H`],SR:[`H`,`hB`],SS:[`h`,`hb`,`H`,`hB`],ST:[`H`,`hB`],SV:[`h`,`H`,`hB`,`hb`],SX:[`H`,`h`,`hb`,`hB`],SY:[`h`,`hB`,`hb`,`H`],SZ:[`h`,`hb`,`H`,`hB`],TA:[`H`,`h`,`hb`,`hB`],TC:[`h`,`hb`,`H`,`hB`],TD:[`h`,`H`,`hB`],TF:[`H`,`h`,`hB`],TG:[`H`,`hB`],TH:[`H`,`h`],TJ:[`H`,`h`],TL:[`H`,`hB`,`hb`,`h`],TM:[`H`,`h`],TN:[`h`,`hB`,`hb`,`H`],TO:[`h`,`H`],TR:[`H`,`hB`],TT:[`h`,`hb`,`H`,`hB`],TW:[`hB`,`hb`,`h`,`H`],TZ:[`hB`,`hb`,`H`,`h`],UA:[`H`,`hB`,`h`],UG:[`hB`,`hb`,`H`,`h`],UM:[`h`,`hb`,`H`,`hB`],US:[`h`,`hb`,`H`,`hB`],UY:[`h`,`H`,`hB`,`hb`],UZ:[`H`,`hB`,`h`],VA:[`H`,`h`,`hB`],VC:[`h`,`hb`,`H`,`hB`],VE:[`h`,`H`,`hB`,`hb`],VG:[`h`,`hb`,`H`,`hB`],VI:[`h`,`hb`,`H`,`hB`],VN:[`H`,`h`],VU:[`h`,`H`],WF:[`H`,`hB`],WS:[`h`,`H`],XK:[`H`,`hB`,`h`],YE:[`h`,`hB`,`hb`,`H`],YT:[`H`,`hB`],ZA:[`H`,`h`,`hb`,`hB`],ZM:[`h`,`hb`,`H`,`hB`],ZW:[`H`,`h`],"af-ZA":[`H`,`h`,`hB`,`hb`],"ar-001":[`h`,`hB`,`hb`,`H`],"ca-ES":[`H`,`h`,`hB`],"en-001":[`h`,`hb`,`H`,`hB`],"en-HK":[`h`,`hb`,`H`,`hB`],"en-IL":[`H`,`h`,`hb`,`hB`],"en-MY":[`h`,`hb`,`H`,`hB`],"es-BR":[`H`,`h`,`hB`,`hb`],"es-ES":[`H`,`h`,`hB`,`hb`],"es-GQ":[`H`,`h`,`hB`,`hb`],"fr-CA":[`H`,`h`,`hB`],"gl-ES":[`H`,`h`,`hB`],"gu-IN":[`hB`,`hb`,`h`,`H`],"hi-IN":[`hB`,`h`,`H`],"it-CH":[`H`,`h`,`hB`],"it-IT":[`H`,`h`,`hB`],"kn-IN":[`hB`,`h`,`H`],"ku-SY":[`H`,`hB`],"ml-IN":[`hB`,`h`,`H`],"mr-IN":[`hB`,`hb`,`h`,`H`],"pa-IN":[`hB`,`hb`,`h`,`H`],"ta-IN":[`hB`,`h`,`hb`,`H`],"te-IN":[`hB`,`h`,`H`],"zu-ZA":[`H`,`hB`,`hb`,`h`]};function qt(e,t){let n=``;for(let r=0;r<e.length;r++){let i=e.charAt(r);if(i===`j`){let a=0;for(;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;let o=1+(a&1),s=a<2?1:3+(a>>1),c=Jt(t);for((c==`H`||c==`k`)&&(s=0);s-->0;)n+=`a`;for(;o-->0;)n=c+n}else n+=i===`J`?`H`:i}return n}function Jt(e){let t=e.hourCycle;if(t===void 0){let n=e;t=n.getHourCycles?.()[0]??n.hourCycles?.[0]}if(t)switch(t){case`h24`:return`k`;case`h23`:return`H`;case`h12`:return`h`;case`h11`:return`K`;default:throw Error(`Invalid hourCycle`)}let n=e.language,r;return n!==`root`&&(r=e.maximize().region),(N[`${n}-${r}`]||N[r||``]||N[n||``]||N[`${n}-001`]||N[`001`])[0].charAt(0)}var Yt=RegExp(`^${Kt.source}*`),Xt=RegExp(`${Kt.source}*$`);function P(e,t){return{start:e,end:t}}var Zt=!!Object.fromEntries,Qt=!!String.prototype.trimStart,$t=!!String.prototype.trimEnd,en=Zt?Object.fromEntries:function(e){let t={};for(let[n,r]of e)t[n]=r;return t},tn=Qt?function(e){return e.trimStart()}:function(e){return e.replace(Yt,``)},nn=$t?function(e){return e.trimEnd()}:function(e){return e.replace(Xt,``)},rn=RegExp(`([^\\p{White_Space}\\p{Pattern_Syntax}]*)`,`yu`);function an(e,t){return rn.lastIndex=t,rn.exec(e)[1]??``}function on(e){if(e.length===0)return null;let t=1,n=1;for(let r=0;r<e.length;){let i=e.charCodeAt(r);switch(i){case 35:case 39:case 60:case 123:case 125:return null}if(i===10)t++,n=1,r++;else if(n++,i>=55296&&i<=56319&&r+1<e.length){let t=e.charCodeAt(r+1);r+=t>=56320&&t<=57343?2:1}else r++}return{offset:e.length,line:t,column:n}}var sn=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}parse(){if(this.offset()!==0)throw Error(`parser can only be used once`);if(this.message.length>0){let e=this.message.charCodeAt(0);if(e!==35&&e!==39&&e!==60&&e!==123&&e!==125){let e=on(this.message);if(e){let t=this.clonePosition();return this.position=e,{val:[{type:0,value:this.message,location:P(t,this.clonePosition())}],err:null}}}}return this.parseMessage(0,``,!1)}parseMessage(e,t,n){let r=[];for(;!this.isEOF();){let i=this.char();if(i===123){let t=this.parseArgument(e,n);if(t.err)return t;r.push(t.val)}else if(i===125&&e>0)break;else if(i===35&&(t===`plural`||t===`selectordinal`)){let e=this.clonePosition();this.bump(),r.push({type:7,location:P(e,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(26,P(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&cn(this.peek()||0)){let n=this.parseTag(e,t);if(n.err)return n;r.push(n.val)}else{let n=this.parseLiteral(e,t);if(n.err)return n;r.push(n.val)}}return{val:r,err:null}}parseTag(e,t){let n=this.clonePosition();this.bump();let r=this.parseTagName();if(this.bumpSpace(),this.bumpIf(`/>`))return{val:{type:0,value:`<${r}/>`,location:P(n,this.clonePosition())},err:null};if(this.bumpIf(`>`)){let i=this.parseMessage(e+1,t,!0);if(i.err)return i;let a=i.val,o=this.clonePosition();if(this.bumpIf(`</`)){if(this.isEOF()||!cn(this.char()))return this.error(23,P(o,this.clonePosition()));let e=this.clonePosition();return r===this.parseTagName()?(this.bumpSpace(),this.bumpIf(`>`)?{val:{type:8,value:r,children:a,location:P(n,this.clonePosition())},err:null}:this.error(23,P(o,this.clonePosition()))):this.error(26,P(e,this.clonePosition()))}return this.error(27,P(n,this.clonePosition()))}return this.error(23,P(n,this.clonePosition()))}parseTagName(){let e=this.offset();for(this.bump();!this.isEOF()&&un(this.char());)this.bump();return this.message.slice(e,this.offset())}parseLiteral(e,t){let n=this.clonePosition(),r=``;for(;;){let n=this.tryParseQuote(t);if(n){r+=n;continue}let i=this.tryParseUnquoted(e,t);if(i){r+=i;continue}let a=this.tryParseLeftAngleBracket();if(a)r+=a;else break}let i=P(n,this.clonePosition());return{val:{type:0,value:r,location:i},err:null}}tryParseLeftAngleBracket(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!ln(this.peek()||0))?(this.bump(),`<`):null}tryParseQuote(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),`'`;case 123:case 60:case 62:case 125:break;case 35:if(e===`plural`||e===`selectordinal`)break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let e=this.char();if(e===39){if(this.peek()===39)t.push(39),this.bump();else{this.bump();break}}else t.push(e);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let n=this.char();return n===60||n===123||n===35&&(t===`plural`||t===`selectordinal`)||n===125&&e>0?null:(this.bump(),String.fromCodePoint(n))}parseArgument(e,t){let n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,P(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(2,P(n,this.clonePosition()));let r=this.parseIdentifierIfPossible().value;if(!r)return this.error(3,P(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,P(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:r,location:P(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(1,P(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(3,P(n,this.clonePosition()))}}parseIdentifierIfPossible(){let e=this.clonePosition(),t=this.offset(),n=an(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:P(e,this.clonePosition())}}parseArgumentOptions(e,t,n,r){let i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(a){case``:return this.error(4,P(i,o));case`number`:case`date`:case`time`:{this.bumpSpace();let e=null;if(this.bumpIf(`,`)){this.bumpSpace();let t=this.clonePosition(),n=this.parseSimpleArgStyleIfPossible();if(n.err)return n;let r=nn(n.val);if(r.length===0)return this.error(6,P(this.clonePosition(),this.clonePosition()));e={style:r,styleLocation:P(t,this.clonePosition())}}let t=this.tryParseArgumentClose(r);if(t.err)return t;let i=P(r,this.clonePosition());if(e&&e.style.startsWith(`::`)){let t=tn(e.style.slice(2));if(a===`number`){let r=this.parseNumberSkeletonFromString(t,e.styleLocation);return r.err?r:{val:{type:2,value:n,location:i,style:r.val},err:null}}{if(t.length===0)return this.error(10,i);let r=t;this.locale&&(r=qt(t,this.locale));let o={type:1,pattern:r,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?xt(r):{}};return{val:{type:a===`date`?3:4,value:n,location:i,style:o},err:null}}}return{val:{type:a===`number`?2:a===`date`?3:4,value:n,location:i,style:e?.style??null},err:null}}case`plural`:case`selectordinal`:case`select`:{let i=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(`,`))return this.error(12,P(i,{...i}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),s=0;if(a!==`select`&&o.value===`offset`){if(!this.bumpIf(`:`))return this.error(13,P(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(13,14);if(e.err)return e;this.bumpSpace(),o=this.parseIdentifierIfPossible(),s=e.val}let c=this.tryParsePluralOrSelectOptions(e,a,t,o);if(c.err)return c;let l=this.tryParseArgumentClose(r);if(l.err)return l;let u=P(r,this.clonePosition());return a===`select`?{val:{type:5,value:n,options:en(c.val),location:u},err:null}:{val:{type:6,value:n,options:en(c.val),offset:s,pluralType:a===`plural`?`cardinal`:`ordinal`,location:u},err:null}}default:return this.error(5,P(i,o))}}tryParseArgumentClose(e){return this.isEOF()||this.char()!==125?this.error(1,P(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil(`'`))return this.error(11,P(e,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(e>0)--e;else return{val:this.message.slice(t.offset,this.offset()),err:null};break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let n=[];try{n=Ct(e)}catch{return this.error(7,t)}return{val:{type:0,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Nt(n):{}},err:null}}tryParsePluralOrSelectOptions(e,t,n,r){let i=!1,a=[],o=new Set,{value:s,location:c}=r;for(;;){if(s.length===0){let e=this.clonePosition();if(t!==`select`&&this.bumpIf(`=`)){let t=this.tryParseDecimalInteger(16,19);if(t.err)return t;c=P(e,this.clonePosition()),s=this.message.slice(e.offset,this.offset())}else break}if(o.has(s))return this.error(t===`select`?21:20,c);s===`other`&&(i=!0),this.bumpSpace();let r=this.clonePosition();if(!this.bumpIf(`{`))return this.error(t===`select`?17:18,P(this.clonePosition(),this.clonePosition()));let l=this.parseMessage(e+1,t,n);if(l.err)return l;let u=this.tryParseArgumentClose(r);if(u.err)return u;a.push([s,{value:l.val,location:P(r,this.clonePosition())}]),o.add(s),this.bumpSpace(),{value:s,location:c}=this.parseIdentifierIfPossible()}return a.length===0?this.error(t===`select`?15:16,P(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(22,P(this.clonePosition(),this.clonePosition())):{val:a,err:null}}tryParseDecimalInteger(e,t){let n=1,r=this.clonePosition();this.bumpIf(`+`)||this.bumpIf(`-`)&&(n=-1);let i=!1,a=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)i=!0,a=a*10+(e-48),this.bump();else break}let o=P(r,this.clonePosition());return i?(a*=n,Number.isSafeInteger(a)?{val:a,err:null}:this.error(t,o)):this.error(e,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error(`out of bound`);let t=this.message.codePointAt(e);if(t===void 0)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){if(this.message.startsWith(e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(;!this.isEOF()&&dn(this.char());)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function cn(e){return e>=97&&e<=122||e>=65&&e<=90}function ln(e){return cn(e)||e===47}function un(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function dn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function fn(e){e.forEach(e=>{if(delete e.location,Bt(e)||Vt(e))for(let t in e.options)delete e.options[t].location,fn(e.options[t].value);else Lt(e)&&Wt(e.style)||(Rt(e)||zt(e))&&Gt(e.style)?delete e.style.location:Ut(e)&&fn(e.children)})}function pn(e,t={}){t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t};let n=new sn(e,t).parse();if(n.err){let e=SyntaxError(Pt[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return t?.captureLocation||fn(n.val),n.val}var mn=class extends Error{constructor(e,t,n){super(e),this.code=t,this.originalMessage=n}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},hn=class extends mn{constructor(e,t,n,r){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(n).join(`", "`)}"`,`INVALID_VALUE`,r)}},gn=class extends mn{constructor(e,t,n){super(`Value for "${e}" must be of type ${t}`,`INVALID_VALUE`,n)}},_n=class extends mn{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,`MISSING_VALUE`,t)}};function vn(e){return e.length<2?e:e.reduce((e,t)=>{let n=e[e.length-1];return!n||n.type!==0||t.type!==0?e.push(t):n.value+=t.value,e},[])}function yn(e){return typeof e==`function`}function bn(e,t,n,r,i,a,o){if(e.length===1&&Ft(e[0]))return[{type:0,value:e[0].value}];let s=[];for(let c of e){if(Ft(c)){s.push({type:0,value:c.value});continue}if(Ht(c)){typeof a==`number`&&s.push({type:0,value:n.getNumberFormat(t).format(a)});continue}let{value:e}=c;if(!(i&&e in i))throw new _n(e,o);let l=i[e];if(It(c))l&&typeof l!=`string`&&typeof l!=`number`&&typeof l!=`bigint`||(l=typeof l==`string`||typeof l==`number`||typeof l==`bigint`?String(l):``),s.push({type:typeof l==`string`?0:1,value:l});else if(Rt(c)){let e=typeof c.style==`string`?r.date[c.style]:Gt(c.style)?c.style.parsedOptions:void 0;s.push({type:0,value:n.getDateTimeFormat(t,e).format(l)})}else if(zt(c)){let e=typeof c.style==`string`?r.time[c.style]:Gt(c.style)?c.style.parsedOptions:r.time.medium;s.push({type:0,value:n.getDateTimeFormat(t,e).format(l)})}else if(Lt(c)){let e=typeof c.style==`string`?r.number[c.style]:Wt(c.style)?c.style.parsedOptions:void 0;if(e&&e.scale){let t=e.scale||1;if(typeof l==`bigint`){if(!Number.isInteger(t))throw TypeError(`Cannot apply fractional scale ${t} to bigint value. Scale must be an integer when formatting bigint.`);l*=BigInt(t)}else l*=t}s.push({type:0,value:n.getNumberFormat(t,e).format(l)})}else{if(Ut(c)){let{children:e,value:l}=c,u=i[l];if(!yn(u))throw new gn(l,`function`,o);let d=u(bn(e,t,n,r,i,a).map(e=>e.value));Array.isArray(d)||(d=[d]),s.push(...d.map(e=>({type:typeof e==`string`?0:1,value:e})))}if(Bt(c)){let e=l,a=(Object.prototype.hasOwnProperty.call(c.options,e)?c.options[e]:void 0)||c.options.other;if(!a)throw new hn(c.value,l,Object.keys(c.options),o);s.push(...bn(a.value,t,n,r,i))}else if(Vt(c)){let e=`=${l}`,a=Object.prototype.hasOwnProperty.call(c.options,e)?c.options[e]:void 0;if(!a){if(!Intl.PluralRules)throw new mn(`Intl.PluralRules is not available in this environment.
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-Cbw2q6IR.js","assets/rolldown-runtime-XKyaHtl9.js","assets/jsx-runtime-C3cWAN_r.js","assets/focusOutline.stylex-tP8rBkq-.js","assets/Selector-C5qvx4hg.js","assets/useLayerDismissal-BVKANkUt.js","assets/padding.stylex-B1SBwjoO.js","assets/inputHold-Vm2aa67t.js","assets/reducedMotion-DHbcKoD2.js","assets/focusReturn-CZYsdEBO.js","assets/mergeProps-Poh9JbFs.js","assets/useDevWarning-DtAYt56R.js","assets/useTooltip-wT5GvIfc.js","assets/primaryClick-BsGCoCcT.js","assets/Item-lIxHjWj_.js","assets/disabledInteraction-u9yjM5Jo.js","assets/button-BGH43TyY.js","assets/session-sBDFnC3r.js","assets/queries-D7Y7ESQJ.js","assets/event-CSYkpd32.js","assets/createLucideIcon-DtNDbJdC.js","assets/resolveSnapPoint-Bn5gTeO7.js","assets/index-DCOB-S8R.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{n as t,t as n}from"./jsx-runtime-C3cWAN_r.js";import{At as r,Bt as i,Dt as a,Ht as o,J as s,Pt as c,Rt as l,Wt as u,b as d,in as f,jt as p,lt as m,vt as h,wt as g,x as _,y as v}from"./focusOutline.stylex-tP8rBkq-.js";import{$ as ee,M as te,Z as ne,et as y,it as b,nt as x}from"./useLayerDismissal-BVKANkUt.js";import{t as S}from"./mergeProps-Poh9JbFs.js";import{t as re}from"./useDevWarning-DtAYt56R.js";import{C as ie,J as ae,K as C,T as w,h as oe,p as T,r as se}from"./useTooltip-wT5GvIfc.js";var E=e(t(),1);function ce(e,t,n){let i=r(p(`react/${e}`,t),()=>new WeakMap,e=>e instanceof WeakMap);if(i.has(E.createElement))return i.get(E.createElement);let a=n();return i.set(E.createElement,a),a}var le=ce(`theme/theme-registry/themes`,1,()=>new Map);function ue(e){le.set(e.name,e)}function de(e){return e==null||e===``?null:le.get(e)??null}var fe=x(`ThemeContext`,1,null);fe.displayName=`ThemeContext`;var pe=x(`ThemeSourceContext`,1,null);pe.displayName=`ThemeSourceContext`;function me(e){let t=e,n=new Set;return{get:()=>t,subscribe:e=>(n.add(e),()=>n.delete(e)),set:e=>{if(e!==t){t=e;for(let e of n)e()}}}}var he=x(`ThemeModeContext`,1,null);he.displayName=`ThemeModeContext`;var ge=x(`SystemSchemeContext`,1,`root`);ge.displayName=`SystemSchemeContext`;function _e(){return typeof document>`u`?null:document.documentElement.getAttribute(a(`theme`))}function ve(){return null}function ye(){return null}var D=new Set,O=null;function be(){for(let e of D)e()}function xe(e){return D.add(e),D.size===1&&typeof MutationObserver<`u`&&(O=new MutationObserver(be),O.observe(document.documentElement,{attributes:!0,attributeFilter:[a(`theme`)]})),()=>{D.delete(e),D.size===0&&O&&(O.disconnect(),O=null)}}function Se(){return()=>{}}var k=c(`theme/use-theme/root-scheme`,1,()=>({listeners:new Set,stop:null})),Ce=`style, link[rel~="stylesheet"]`,we=`meta[name="color-scheme" i]`;function Te(e){let t=e.toLowerCase().split(/\s+/),n=t.includes(`light`),r=t.includes(`dark`);if(n&&r)return null;if(n||r)return r?`dark`:`light`}function Ee(){let e=window.getComputedStyle(document.documentElement).colorScheme;if(e==null||e===``)return null;if(e!==`normal`)return Te(e)??null;for(let e of document.querySelectorAll(we)){let t=e.getAttribute(`content`)??``,n=Te(t);if(n!==void 0)return n;if(/(^|\s)normal(\s|$)/i.test(t))return`light`}return`light`}function De(e){return e.some(e=>{let t=e.target;if(t===document.documentElement)return!0;let n=t instanceof Element?t:t.parentElement;if(n?.closest(`style`)!=null)return!0;if(e.type===`attributes`)return n?.matches(`link, style, meta`)===!0;let r=`${Ce}, ${we}`;return[...e.addedNodes,...e.removedNodes].some(e=>e instanceof Element&&(e.matches(r)||e.querySelector(r)!=null))})}function Oe(){for(let e of k.listeners)e()}function ke(e){De(e)&&Oe()}function Ae(e){e.target instanceof HTMLLinkElement&&Oe()}function je(e){if(k.listeners.add(e),k.listeners.size===1&&typeof MutationObserver<`u`){let e=new MutationObserver(ke);e.observe(document.documentElement,{attributes:!0}),e.observe(document.head,{childList:!0,subtree:!0,characterData:!0,attributes:!0,attributeFilter:[`href`,`media`,`disabled`,`rel`,`name`,`content`]}),document.addEventListener(`load`,Ae,!0);let t=h(window,`(prefers-color-scheme: dark)`,Oe);k.stop=()=>{e.disconnect(),document.removeEventListener(`load`,Ae,!0),t()}}return()=>{k.listeners.delete(e),k.listeners.size===0&&k.stop!=null&&(k.stop(),k.stop=null)}}function Me(e){return(0,E.useSyncExternalStore)(e?je:Se,e?Ee:ye,ye)}function Ne(e){return(0,E.useSyncExternalStore)(e?Se:xe,e?ye:_e,ve)}function Pe(){let e=(0,E.use)(fe),t=(0,E.use)(he)?.themeless===!0,n=Ne(e!=null||t);return e?.theme.name??n}function Fe(e=!0){let t=e?(0,E.use)(fe):null,n=e&&(0,E.use)(he)?.themeless===!0,r=Ne(t!=null||n||!e);if(e)return t?.theme??de(r)??void 0}var A=n(),j={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:1.5,strokeLinecap:`round`,strokeLinejoin:`round`,width:`1em`,height:`1em`,"aria-hidden":!0},M={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,width:`1em`,height:`1em`,"aria-hidden":!0},Ie={close:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M6 6l12 12M6 18L18 6`})}),chevronDown:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M6 9l6 6 6-6`})}),"numberInput:stepperDown":(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M7.5 9.75l4.5 4.5 4.5-4.5`})}),chevronLeft:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M15 6l-6 6 6 6`})}),chevronRight:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M9 6l6 6-6 6`})}),chevronsLeft:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M18 6l-6 6 6 6M11 6l-6 6 6 6`})}),chevronsRight:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M6 6l6 6-6 6M13 6l6 6-6 6`})}),check:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M5 13l4 4L19 7`})}),success:(0,A.jsx)(`svg`,{...M,children:(0,A.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M12 3a9 9 0 100 18 9 9 0 000-18zm4.06 6.56a.75.75 0 00-1.12-1l-3.94 4.4-1.94-1.94a.75.75 0 00-1.06 1.06l2.5 2.5a.75.75 0 001.09-.03l4.47-5z`})}),error:(0,A.jsx)(`svg`,{...M,children:(0,A.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M12 3a9 9 0 100 18 9 9 0 000-18zm-2.47 5.47a.75.75 0 00-1.06 1.06L10.94 12l-2.47 2.47a.75.75 0 101.06 1.06L12 13.06l2.47 2.47a.75.75 0 101.06-1.06L13.06 12l2.47-2.47a.75.75 0 00-1.06-1.06L12 10.94l-2.47-2.47z`})}),warning:(0,A.jsx)(`svg`,{...M,children:(0,A.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M10.29 3.86L2.07 19.05A2 2 0 003.78 22h16.44a2 2 0 001.71-2.95L13.71 3.86a2 2 0 00-3.42 0zM12 9a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0112 9zm0 9a1 1 0 100-2 1 1 0 000 2z`})}),info:(0,A.jsx)(`svg`,{...M,children:(0,A.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M12 3a9 9 0 100 18 9 9 0 000-18zm0 4a1 1 0 100 2 1 1 0 000-2zm-.75 3.75a.75.75 0 011.5 0v5.5a.75.75 0 01-1.5 0v-5.5z`})}),calendar:(0,A.jsxs)(`svg`,{...j,children:[(0,A.jsx)(`rect`,{x:`3`,y:`4`,width:`18`,height:`18`,rx:`2`}),(0,A.jsx)(`path`,{d:`M16 2v4M8 2v4M3 10h18`})]}),clock:(0,A.jsxs)(`svg`,{...j,children:[(0,A.jsx)(`circle`,{cx:`12`,cy:`12`,r:`9`}),(0,A.jsx)(`path`,{d:`M12 7v5l3 3`})]}),externalLink:(0,A.jsxs)(`svg`,{...j,children:[(0,A.jsx)(`path`,{d:`M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6`}),(0,A.jsx)(`path`,{d:`M15 3h6v6`}),(0,A.jsx)(`path`,{d:`M10 14L21 3`})]}),menu:(0,A.jsx)(`svg`,{...j,strokeWidth:2,children:(0,A.jsx)(`path`,{d:`M4 6h16M4 12h16M4 18h16`})}),moreHorizontal:(0,A.jsxs)(`svg`,{...M,children:[(0,A.jsx)(`circle`,{cx:`5`,cy:`12`,r:`1.5`}),(0,A.jsx)(`circle`,{cx:`12`,cy:`12`,r:`1.5`}),(0,A.jsx)(`circle`,{cx:`19`,cy:`12`,r:`1.5`})]}),search:(0,A.jsxs)(`svg`,{...j,children:[(0,A.jsx)(`circle`,{cx:`11`,cy:`11`,r:`8`}),(0,A.jsx)(`path`,{d:`M21 21l-4.35-4.35`})]}),upload:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M12 16V4m0 0L7 9m5-5l5 5M4 15v4a2 2 0 002 2h12a2 2 0 002-2v-4`})}),arrowUp:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M12 19V5m0 0l-7 7m7-7l7 7`})}),arrowDown:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M12 5v14m0 0l7-7m-7 7l-7-7`})}),arrowsUpDown:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M3 7.5L7.5 3m0 0L12 7.5M7.5 3v13.5m13.5 0L16.5 21m0 0L12 16.5m4.5 4.5V7.5`})}),funnel:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 01-.659 1.591l-5.432 5.432a2.25 2.25 0 00-.659 1.591v2.927a2.25 2.25 0 01-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 00-.659-1.591L3.659 7.409A2.25 2.25 0 013 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0112 3z`})}),eyeSlash:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M3.98 8.223A10.477 10.477 0 001.934 12c1.292 4.338 5.31 7.5 10.066 7.5.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 10-4.243-4.243m4.242 4.242L9.88 9.88`})}),viewColumns:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M9 4.5v15m6-15v15m-10.875 0h15.75c.621 0 1.125-.504 1.125-1.125V5.625c0-.621-.504-1.125-1.125-1.125H4.125C3.504 4.5 3 5.004 3 5.625v12.75c0 .621.504 1.125 1.125 1.125z`})}),copy:(0,A.jsxs)(`svg`,{...j,children:[(0,A.jsx)(`path`,{d:`M8 4v12a2 2 0 002 2h8a2 2 0 002-2V7.242a2 2 0 00-.602-1.43L16.083 2.57A2 2 0 0014.685 2H10a2 2 0 00-2 2z`}),(0,A.jsx)(`path`,{d:`M16 18v2a2 2 0 01-2 2H6a2 2 0 01-2-2V9a2 2 0 012-2h2`})]}),checkDouble:(0,A.jsxs)(`svg`,{...j,children:[(0,A.jsx)(`path`,{d:`M2 13l4 4L14 7`}),(0,A.jsx)(`path`,{d:`M9 13l4 4L21 7`})]}),wrench:(0,A.jsx)(`svg`,{...j,children:(0,A.jsx)(`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z`})}),stop:(0,A.jsx)(`svg`,{...M,children:(0,A.jsx)(`rect`,{x:`6`,y:`6`,width:`12`,height:`12`,rx:`2`})}),microphone:(0,A.jsxs)(`svg`,{...j,children:[(0,A.jsx)(`path`,{d:`M12 2a3 3 0 00-3 3v6a3 3 0 006 0V5a3 3 0 00-3-3z`}),(0,A.jsx)(`path`,{d:`M19 10v1a7 7 0 01-14 0v-1`}),(0,A.jsx)(`path`,{d:`M12 18v4m-4 0h8`})]})},Le={size:`md`},Re=ce(`icon/global-icon-registry/state`,1,()=>({entries:{}}));function ze(e){return typeof e==`string`?de(e):e??null}function Be(e){return e==null?null:e.__icons??e.icons??null}function Ve(e,t,n){let r=ze(t),i=r?.iconVariants,a=Be(r)?.[e];if(r!=null&&a!=null)return{entry:a,variantLists:[i,r.__iconEntryVariants!=null&&Object.hasOwn(r.__iconEntryVariants,e)?r.__iconEntryVariants[e]:i]};let o=Re.entries[e];return o==null?{entry:Ie[e]??n,variantLists:[]}:{entry:o,variantLists:[i]}}function He({entry:e,variantLists:t},{size:n,variant:r}){return typeof e==`function`?e(r!==void 0&&t.length>0&&t.every(e=>e?.includes(r)===!0)?{size:n,variant:r}:{size:n}):e}function Ue(e,t,n){return He(Ve(e,t),n)}function We(e,t){return He(Ve(e,t),Le)}var Ge=ee(`IconDefaultSizeContext`,1,null);Ge.displayName=`IconDefaultSizeContext`;var Ke=Ge.Provider;function qe(e){let t=(0,E.use)(Ge);return e??t??`md`}var Je={xsm:{kzqmXN:`x13u0t82`,kZKoxP:`x89eeu2`,$$css:!0},sm:{kzqmXN:`xomy6nw`,kZKoxP:`x14eyxzr`,$$css:!0},md:{kzqmXN:`x1vvatio`,kZKoxP:`x1jxzzob`,$$css:!0},lg:{kzqmXN:`x1gbskz6`,kZKoxP:`xol4r8t`,$$css:!0}},Ye={xsm:{kzqmXN:`x1jw3ynk`,kZKoxP:`xvle69y`,kGuDYH:`xboafo0`,$$css:!0},sm:{kzqmXN:`xcdlrvm`,kZKoxP:`x1l36t39`,kGuDYH:`x1jchvi3`,$$css:!0},md:{kzqmXN:`xwqq7k2`,kZKoxP:`xmll18r`,kGuDYH:`x1603h9y`,$$css:!0},lg:{kzqmXN:`xp8d6y2`,kZKoxP:`xam5rvr`,kGuDYH:`xngnso2`,$$css:!0}},Xe={root:{kmuXW:`x2lah0s`,$$css:!0},span:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,$$css:!0}},Ze={xsm:{kzqmXN:`x13u0t82`,kZKoxP:`x89eeu2`,kGuDYH:`x1uq1jy3`,$$css:!0},sm:{kzqmXN:`xomy6nw`,kZKoxP:`x14eyxzr`,kGuDYH:`x1qzu985`,$$css:!0},md:{kzqmXN:`x1vvatio`,kZKoxP:`x1jxzzob`,kGuDYH:`xhhwgqx`,$$css:!0},lg:{kzqmXN:`x1gbskz6`,kZKoxP:`xol4r8t`,kGuDYH:`x14nqahd`,$$css:!0}},Qe={primary:{kMwMTN:`xtbr613`,$$css:!0},secondary:{kMwMTN:`xv9yike`,$$css:!0},tertiary:{kMwMTN:`xv9yike`,$$css:!0},disabled:{kMwMTN:`xqa6c3m`,$$css:!0},accent:{kMwMTN:`xqwr325`,$$css:!0},info:{kMwMTN:`x1gc9m53`,$$css:!0},success:{kMwMTN:`x1vau044`,$$css:!0},error:{kMwMTN:`xskb5cx`,$$css:!0},warning:{kMwMTN:`x4z9hng`,$$css:!0},inherit:{kMwMTN:`x1heor9g`,$$css:!0},blue:{kMwMTN:`x1fns2mt`,$$css:!0},red:{kMwMTN:`xeffzf7`,$$css:!0},green:{kMwMTN:`xmxeech`,$$css:!0},gray:{kMwMTN:`x1eyinzz`,$$css:!0},cyan:{kMwMTN:`x157w0xa`,$$css:!0},teal:{kMwMTN:`x1f3zxcb`,$$css:!0},yellow:{kMwMTN:`x1g6zdft`,$$css:!0},orange:{kMwMTN:`xxu74a4`,$$css:!0},pink:{kMwMTN:`x1kxxfg5`,$$css:!0},purple:{kMwMTN:`xzdw94u`,$$css:!0}};function $e(e){return e!=null&&e!==``?{role:`img`,"aria-label":e,"aria-hidden":void 0}:{"aria-hidden":`true`}}function et({icon:e,color:t=`inherit`,size:n,variant:r,label:i,ref:a,className:o,style:s,xstyle:c,...l}){let{icon:u,props:d}=tt(e,l);re(`Icon`,'takes its glyph in `icon`, not `name`. Pass it as icon, for example <Icon icon="close" />.',u!==e);let p=qe(n),m=$e(i);return typeof u==`string`?(0,A.jsx)(it,{name:u,color:t,size:p,variant:r,a11yProps:m,className:o,style:s,xstyle:c,svgRef:a,spanProps:d}):(0,A.jsx)(u,{ref:a,...m,...S(g(`icon`,{size:p,color:t}),f(Xe.root,Qe[t],Je[p],c),o??void 0,s),...d})}et.displayName=`Icon`;function tt(e,t){if(e!=null||!(`name`in t)||!rt(t.name))return{icon:e,props:t};let{name:n,...r}=t;return{icon:n,props:r}}var nt=new Set([Symbol.for(`react.forward_ref`),Symbol.for(`react.memo`),Symbol.for(`react.lazy`)]);function rt(e){return typeof e==`string`&&e!==``||typeof e==`function`||typeof e==`object`&&!!e&&nt.has(e.$$typeof)}function it({name:e,color:t,size:n,variant:r,a11yProps:i,className:a,style:o,xstyle:s,svgRef:c,spanProps:l}){let u=Fe(),d=Ue(e,u,{size:n,variant:r}),p=(0,E.useCallback)(e=>c==null?void 0:y(c)(e?.querySelector(`svg`)??null),[c,e,u,n,r]);if(d==null)return null;let m=l??{};return(0,A.jsx)(`span`,{ref:c==null?void 0:p,...i,...m,...S(g(`icon`,{size:n,color:t}),f(Xe.span,Qe[t],Ze[n],s),a??void 0,o),children:d})}function at(e,t){return typeof e==`string`||typeof e==`function`||typeof e==`object`&&e&&`render`in e?(0,A.jsx)(et,{icon:e,...t}):e}var ot=c(`i18n/default-translator/default-translator`,1,()=>({})),st=x(`InternationalizationContext`,1,{locale:`en`,direction:`ltr`,messages:{},translate:(e,t)=>ot.translate?.(e,t)??e});st.displayName=`InternationalizationContext`;function ct(e,t){let n=t&&t.cache?t.cache:vt,r=t&&t.serializer?t.serializer:gt;return(t&&t.strategy?t.strategy:pt)(e,{cache:n,serializer:r})}function lt(e){return e==null||typeof e==`number`||typeof e==`boolean`}function ut(e,t,n,r){let i=lt(r)?r:n(r),a=t.get(i);return a===void 0&&(a=e.call(this,r),t.set(i,a)),a}function dt(e,t,n){let r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return a===void 0&&(a=e.apply(this,r),t.set(i,a)),a}function ft(e,t,n,r,i){return n.bind(t,e,r,i)}function pt(e,t){let n=e.length===1?ut:dt;return ft(e,this,n,t.cache.create(),t.serializer)}function mt(e,t){return ft(e,this,dt,t.cache.create(),t.serializer)}function ht(e,t){return ft(e,this,ut,t.cache.create(),t.serializer)}var gt=function(){return JSON.stringify(arguments)},_t=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}},vt={create:function(){return new _t}},yt={variadic:mt,monadic:ht},bt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function xt(e){let t={};return e.replace(bt,e=>{let n=e.length;switch(e[0]){case`G`:t.era=n===4?`long`:n===5?`narrow`:`short`;break;case`y`:t.year=n===2?`2-digit`:`numeric`;break;case`Y`:case`u`:case`U`:case`r`:throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case`q`:case`Q`:throw RangeError("`q/Q` (quarter) patterns are not supported");case`M`:case`L`:t.month=[`numeric`,`2-digit`,`short`,`long`,`narrow`][n-1];break;case`w`:case`W`:throw RangeError("`w/W` (week) patterns are not supported");case`d`:t.day=[`numeric`,`2-digit`][n-1];break;case`D`:case`F`:case`g`:throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case`E`:t.weekday=n===4?`long`:n===5?`narrow`:`short`;break;case`e`:if(n<4)throw RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=[`short`,`long`,`narrow`,`short`][n-3];break;case`c`:if(n<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=[`short`,`long`,`narrow`,`short`][n-3];break;case`a`:t.hour12=!0;break;case`b`:case`B`:throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case`h`:t.hourCycle=`h12`,t.hour=[`numeric`,`2-digit`][n-1];break;case`H`:t.hourCycle=`h23`,t.hour=[`numeric`,`2-digit`][n-1];break;case`K`:t.hourCycle=`h11`,t.hour=[`numeric`,`2-digit`][n-1];break;case`k`:t.hourCycle=`h24`,t.hour=[`numeric`,`2-digit`][n-1];break;case`j`:case`J`:case`C`:throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case`m`:t.minute=[`numeric`,`2-digit`][n-1];break;case`s`:t.second=[`numeric`,`2-digit`][n-1];break;case`S`:case`A`:throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case`z`:t.timeZoneName=n<4?`short`:`long`;break;case`Z`:case`O`:case`v`:case`V`:case`X`:case`x`:throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return``}),t}var St=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Ct(e){if(e.length===0)throw Error(`Number skeleton cannot be empty`);let t=e.split(St).filter(e=>e.length>0),n=[];for(let e of t){let t=e.split(`/`);if(t.length===0)throw Error(`Invalid number skeleton`);let[r,...i]=t;for(let e of i)if(e.length===0)throw Error(`Invalid number skeleton`);n.push({stem:r,options:i})}return n}function wt(e){return e.replace(/^(.*?)-/,``)}var Tt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Et=/^(@+)?(\+|#+)?[rs]?$/g,Dt=/(\*)(0+)|(#+)(0+)|(0+)/g,Ot=/^(0+)$/;function kt(e){let t={};return e[e.length-1]===`r`?t.roundingPriority=`morePrecision`:e[e.length-1]===`s`&&(t.roundingPriority=`lessPrecision`),e.replace(Et,function(e,n,r){return typeof r==`string`?r===`+`?t.minimumSignificantDigits=n.length:n[0]===`#`?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof r==`string`?r.length:0)):(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length),``}),t}function At(e){switch(e){case`sign-auto`:return{signDisplay:`auto`};case`sign-accounting`:case`()`:return{currencySign:`accounting`};case`sign-always`:case`+!`:return{signDisplay:`always`};case`sign-accounting-always`:case`()!`:return{signDisplay:`always`,currencySign:`accounting`};case`sign-except-zero`:case`+?`:return{signDisplay:`exceptZero`};case`sign-accounting-except-zero`:case`()?`:return{signDisplay:`exceptZero`,currencySign:`accounting`};case`sign-never`:case`+_`:return{signDisplay:`never`}}}function jt(e){let t;if(e[0]===`E`&&e[1]===`E`?(t={notation:`engineering`},e=e.slice(2)):e[0]===`E`&&(t={notation:`scientific`},e=e.slice(1)),t){let n=e.slice(0,2);if(n===`+!`?(t.signDisplay=`always`,e=e.slice(2)):n===`+?`&&(t.signDisplay=`exceptZero`,e=e.slice(2)),!Ot.test(e))throw Error(`Malformed concise eng/scientific notation`);t.minimumIntegerDigits=e.length}return t}function Mt(e){return At(e)||{}}function Nt(e){let t={};for(let n of e){switch(n.stem){case`percent`:case`%`:t.style=`percent`;continue;case`%x100`:t.style=`percent`,t.scale=100;continue;case`currency`:t.style=`currency`,t.currency=n.options[0];continue;case`group-off`:case`,_`:t.useGrouping=!1;continue;case`precision-integer`:case`.`:t.maximumFractionDigits=0;continue;case`measure-unit`:case`unit`:t.style=`unit`,t.unit=wt(n.options[0]);continue;case`compact-short`:case`K`:t.notation=`compact`,t.compactDisplay=`short`;continue;case`compact-long`:case`KK`:t.notation=`compact`,t.compactDisplay=`long`;continue;case`scientific`:t={...t,notation:`scientific`,...n.options.reduce((e,t)=>({...e,...Mt(t)}),{})};continue;case`engineering`:t={...t,notation:`engineering`,...n.options.reduce((e,t)=>({...e,...Mt(t)}),{})};continue;case`notation-simple`:t.notation=`standard`;continue;case`unit-width-narrow`:t.currencyDisplay=`narrowSymbol`,t.unitDisplay=`narrow`;continue;case`unit-width-short`:t.currencyDisplay=`code`,t.unitDisplay=`short`;continue;case`unit-width-full-name`:t.currencyDisplay=`name`,t.unitDisplay=`long`;continue;case`unit-width-iso-code`:t.currencyDisplay=`symbol`;continue;case`scale`:t.scale=parseFloat(n.options[0]);continue;case`rounding-mode-floor`:t.roundingMode=`floor`;continue;case`rounding-mode-ceiling`:t.roundingMode=`ceil`;continue;case`rounding-mode-down`:t.roundingMode=`trunc`;continue;case`rounding-mode-up`:t.roundingMode=`expand`;continue;case`rounding-mode-half-even`:t.roundingMode=`halfEven`;continue;case`rounding-mode-half-down`:t.roundingMode=`halfTrunc`;continue;case`rounding-mode-half-up`:t.roundingMode=`halfExpand`;continue;case`integer-width`:if(n.options.length>1)throw RangeError(`integer-width stems only accept a single optional option`);n.options[0].replace(Dt,function(e,n,r,i,a,o){if(n)t.minimumIntegerDigits=r.length;else if(i&&a)throw Error(`We currently do not support maximum integer digits`);else if(o)throw Error(`We currently do not support exact integer digits`);return``});continue}if(Ot.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Tt.test(n.stem)){if(n.options.length>1)throw RangeError(`Fraction-precision stems only accept a single optional option`);n.stem.replace(Tt,function(e,n,r,i,a,o){return r===`*`?t.minimumFractionDigits=n.length:i&&i[0]===`#`?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),``});let e=n.options[0];e===`w`?t={...t,trailingZeroDisplay:`stripIfInteger`}:e&&(t={...t,...kt(e)});continue}if(Et.test(n.stem)){t={...t,...kt(n.stem)};continue}let e=At(n.stem);e&&(t={...t,...e});let r=jt(n.stem);r&&(t={...t,...r})}return t}var Pt=function(e){return e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]=`EXPECT_ARGUMENT_CLOSING_BRACE`,e[e.EMPTY_ARGUMENT=2]=`EMPTY_ARGUMENT`,e[e.MALFORMED_ARGUMENT=3]=`MALFORMED_ARGUMENT`,e[e.EXPECT_ARGUMENT_TYPE=4]=`EXPECT_ARGUMENT_TYPE`,e[e.INVALID_ARGUMENT_TYPE=5]=`INVALID_ARGUMENT_TYPE`,e[e.EXPECT_ARGUMENT_STYLE=6]=`EXPECT_ARGUMENT_STYLE`,e[e.INVALID_NUMBER_SKELETON=7]=`INVALID_NUMBER_SKELETON`,e[e.INVALID_DATE_TIME_SKELETON=8]=`INVALID_DATE_TIME_SKELETON`,e[e.EXPECT_NUMBER_SKELETON=9]=`EXPECT_NUMBER_SKELETON`,e[e.EXPECT_DATE_TIME_SKELETON=10]=`EXPECT_DATE_TIME_SKELETON`,e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]=`UNCLOSED_QUOTE_IN_ARGUMENT_STYLE`,e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]=`EXPECT_SELECT_ARGUMENT_OPTIONS`,e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]=`EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]=`INVALID_PLURAL_ARGUMENT_OFFSET_VALUE`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]=`EXPECT_SELECT_ARGUMENT_SELECTOR`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]=`EXPECT_PLURAL_ARGUMENT_SELECTOR`,e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]=`EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT`,e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]=`EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT`,e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]=`INVALID_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]=`DUPLICATE_PLURAL_ARGUMENT_SELECTOR`,e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]=`DUPLICATE_SELECT_ARGUMENT_SELECTOR`,e[e.MISSING_OTHER_CLAUSE=22]=`MISSING_OTHER_CLAUSE`,e[e.INVALID_TAG=23]=`INVALID_TAG`,e[e.INVALID_TAG_NAME=25]=`INVALID_TAG_NAME`,e[e.UNMATCHED_CLOSING_TAG=26]=`UNMATCHED_CLOSING_TAG`,e[e.UNCLOSED_TAG=27]=`UNCLOSED_TAG`,e}({});function Ft(e){return e.type===0}function It(e){return e.type===1}function Lt(e){return e.type===2}function Rt(e){return e.type===3}function zt(e){return e.type===4}function Bt(e){return e.type===5}function Vt(e){return e.type===6}function Ht(e){return e.type===7}function Ut(e){return e.type===8}function Wt(e){return!!(e&&typeof e==`object`&&e.type===0)}function Gt(e){return!!(e&&typeof e==`object`&&e.type===1)}var Kt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,N={"001":[`H`,`h`],419:[`h`,`H`,`hB`,`hb`],AC:[`H`,`h`,`hb`,`hB`],AD:[`H`,`hB`],AE:[`h`,`hB`,`hb`,`H`],AF:[`H`,`hb`,`hB`,`h`],AG:[`h`,`hb`,`H`,`hB`],AI:[`H`,`h`,`hb`,`hB`],AL:[`h`,`H`,`hB`],AM:[`H`,`hB`],AO:[`H`,`hB`],AR:[`h`,`H`,`hB`,`hb`],AS:[`h`,`H`],AT:[`H`,`hB`],AU:[`h`,`hb`,`H`,`hB`],AW:[`H`,`hB`],AX:[`H`],AZ:[`H`,`hB`,`h`],BA:[`H`,`hB`,`h`],BB:[`h`,`hb`,`H`,`hB`],BD:[`h`,`hB`,`H`],BE:[`H`,`hB`],BF:[`H`,`hB`],BG:[`H`,`hB`,`h`],BH:[`h`,`hB`,`hb`,`H`],BI:[`H`,`h`],BJ:[`H`,`hB`],BL:[`H`,`hB`],BM:[`h`,`hb`,`H`,`hB`],BN:[`hb`,`hB`,`h`,`H`],BO:[`h`,`H`,`hB`,`hb`],BQ:[`H`],BR:[`H`,`hB`],BS:[`h`,`hb`,`H`,`hB`],BT:[`h`,`H`],BW:[`H`,`h`,`hb`,`hB`],BY:[`H`,`h`],BZ:[`H`,`h`,`hb`,`hB`],CA:[`h`,`hb`,`H`,`hB`],CC:[`H`,`h`,`hb`,`hB`],CD:[`hB`,`H`],CF:[`H`,`h`,`hB`],CG:[`H`,`hB`],CH:[`H`,`hB`,`h`],CI:[`H`,`hB`],CK:[`H`,`h`,`hb`,`hB`],CL:[`h`,`H`,`hB`,`hb`],CM:[`H`,`h`,`hB`],CN:[`H`,`hB`,`hb`,`h`],CO:[`h`,`H`,`hB`,`hb`],CP:[`H`],CR:[`h`,`H`,`hB`,`hb`],CU:[`h`,`H`,`hB`,`hb`],CV:[`H`,`hB`],CW:[`H`,`hB`],CX:[`H`,`h`,`hb`,`hB`],CY:[`h`,`H`,`hb`,`hB`],CZ:[`H`],DE:[`H`,`hB`],DG:[`H`,`h`,`hb`,`hB`],DJ:[`h`,`H`],DK:[`H`],DM:[`h`,`hb`,`H`,`hB`],DO:[`h`,`H`,`hB`,`hb`],DZ:[`h`,`hB`,`hb`,`H`],EA:[`H`,`h`,`hB`,`hb`],EC:[`h`,`H`,`hB`,`hb`],EE:[`H`,`hB`],EG:[`h`,`hB`,`hb`,`H`],EH:[`h`,`hB`,`hb`,`H`],ER:[`h`,`H`],ES:[`H`,`hB`,`h`,`hb`],ET:[`hB`,`hb`,`h`,`H`],FI:[`H`],FJ:[`h`,`hb`,`H`,`hB`],FK:[`H`,`h`,`hb`,`hB`],FM:[`h`,`hb`,`H`,`hB`],FO:[`H`,`h`],FR:[`H`,`hB`],GA:[`H`,`hB`],GB:[`H`,`h`,`hb`,`hB`],GD:[`h`,`hb`,`H`,`hB`],GE:[`H`,`hB`,`h`],GF:[`H`,`hB`],GG:[`H`,`h`,`hb`,`hB`],GH:[`h`,`H`],GI:[`H`,`h`,`hb`,`hB`],GL:[`H`,`h`],GM:[`h`,`hb`,`H`,`hB`],GN:[`H`,`hB`],GP:[`H`,`hB`],GQ:[`H`,`hB`,`h`,`hb`],GR:[`h`,`H`,`hb`,`hB`],GS:[`H`,`h`,`hb`,`hB`],GT:[`h`,`H`,`hB`,`hb`],GU:[`h`,`hb`,`H`,`hB`],GW:[`H`,`hB`],GY:[`h`,`hb`,`H`,`hB`],HK:[`h`,`hB`,`hb`,`H`],HN:[`h`,`H`,`hB`,`hb`],HR:[`H`,`hB`],HU:[`H`,`h`],IC:[`H`,`h`,`hB`,`hb`],ID:[`H`],IE:[`H`,`h`,`hb`,`hB`],IL:[`H`,`hB`],IM:[`H`,`h`,`hb`,`hB`],IN:[`h`,`H`],IO:[`H`,`h`,`hb`,`hB`],IQ:[`h`,`hB`,`hb`,`H`],IR:[`hB`,`H`],IS:[`H`],IT:[`H`,`hB`],JE:[`H`,`h`,`hb`,`hB`],JM:[`h`,`hb`,`H`,`hB`],JO:[`h`,`hB`,`hb`,`H`],JP:[`H`,`K`,`h`],KE:[`hB`,`hb`,`H`,`h`],KG:[`H`,`h`,`hB`,`hb`],KH:[`hB`,`h`,`H`,`hb`],KI:[`h`,`hb`,`H`,`hB`],KM:[`H`,`h`,`hB`,`hb`],KN:[`h`,`hb`,`H`,`hB`],KP:[`h`,`H`,`hB`,`hb`],KR:[`h`,`H`,`hB`,`hb`],KW:[`h`,`hB`,`hb`,`H`],KY:[`h`,`hb`,`H`,`hB`],KZ:[`H`,`hB`],LA:[`H`,`hb`,`hB`,`h`],LB:[`h`,`hB`,`hb`,`H`],LC:[`h`,`hb`,`H`,`hB`],LI:[`H`,`hB`,`h`],LK:[`H`,`h`,`hB`,`hb`],LR:[`h`,`hb`,`H`,`hB`],LS:[`h`,`H`],LT:[`H`,`h`,`hb`,`hB`],LU:[`H`,`h`,`hB`],LV:[`H`,`hB`,`hb`,`h`],LY:[`h`,`hB`,`hb`,`H`],MA:[`H`,`h`,`hB`,`hb`],MC:[`H`,`hB`],MD:[`H`,`hB`],ME:[`H`,`hB`,`h`],MF:[`H`,`hB`],MG:[`H`,`h`],MH:[`h`,`hb`,`H`,`hB`],MK:[`H`,`h`,`hb`,`hB`],ML:[`H`],MM:[`hB`,`hb`,`H`,`h`],MN:[`H`,`h`,`hb`,`hB`],MO:[`h`,`hB`,`hb`,`H`],MP:[`h`,`hb`,`H`,`hB`],MQ:[`H`,`hB`],MR:[`h`,`hB`,`hb`,`H`],MS:[`H`,`h`,`hb`,`hB`],MT:[`H`,`h`],MU:[`H`,`h`],MV:[`H`,`h`],MW:[`h`,`hb`,`H`,`hB`],MX:[`h`,`H`,`hB`,`hb`],MY:[`hb`,`hB`,`h`,`H`],MZ:[`H`,`hB`],NA:[`h`,`H`,`hB`,`hb`],NC:[`H`,`hB`],NE:[`H`],NF:[`H`,`h`,`hb`,`hB`],NG:[`H`,`h`,`hb`,`hB`],NI:[`h`,`H`,`hB`,`hb`],NL:[`H`,`hB`],NO:[`H`,`h`],NP:[`H`,`h`,`hB`],NR:[`H`,`h`,`hb`,`hB`],NU:[`H`,`h`,`hb`,`hB`],NZ:[`h`,`hb`,`H`,`hB`],OM:[`h`,`hB`,`hb`,`H`],PA:[`h`,`H`,`hB`,`hb`],PE:[`h`,`H`,`hB`,`hb`],PF:[`H`,`h`,`hB`],PG:[`h`,`H`],PH:[`h`,`hB`,`hb`,`H`],PK:[`h`,`hB`,`H`],PL:[`H`,`h`],PM:[`H`,`hB`],PN:[`H`,`h`,`hb`,`hB`],PR:[`h`,`H`,`hB`,`hb`],PS:[`h`,`hB`,`hb`,`H`],PT:[`H`,`hB`],PW:[`h`,`H`],PY:[`h`,`H`,`hB`,`hb`],QA:[`h`,`hB`,`hb`,`H`],RE:[`H`,`hB`],RO:[`H`,`hB`],RS:[`H`,`hB`,`h`],RU:[`H`],RW:[`H`,`h`],SA:[`h`,`hB`,`hb`,`H`],SB:[`h`,`hb`,`H`,`hB`],SC:[`H`,`h`,`hB`],SD:[`h`,`hB`,`hb`,`H`],SE:[`H`],SG:[`h`,`hb`,`H`,`hB`],SH:[`H`,`h`,`hb`,`hB`],SI:[`H`,`hB`],SJ:[`H`],SK:[`H`],SL:[`h`,`hb`,`H`,`hB`],SM:[`H`,`h`,`hB`],SN:[`H`,`h`,`hB`],SO:[`h`,`H`],SR:[`H`,`hB`],SS:[`h`,`hb`,`H`,`hB`],ST:[`H`,`hB`],SV:[`h`,`H`,`hB`,`hb`],SX:[`H`,`h`,`hb`,`hB`],SY:[`h`,`hB`,`hb`,`H`],SZ:[`h`,`hb`,`H`,`hB`],TA:[`H`,`h`,`hb`,`hB`],TC:[`h`,`hb`,`H`,`hB`],TD:[`h`,`H`,`hB`],TF:[`H`,`h`,`hB`],TG:[`H`,`hB`],TH:[`H`,`h`],TJ:[`H`,`h`],TL:[`H`,`hB`,`hb`,`h`],TM:[`H`,`h`],TN:[`h`,`hB`,`hb`,`H`],TO:[`h`,`H`],TR:[`H`,`hB`],TT:[`h`,`hb`,`H`,`hB`],TW:[`hB`,`hb`,`h`,`H`],TZ:[`hB`,`hb`,`H`,`h`],UA:[`H`,`hB`,`h`],UG:[`hB`,`hb`,`H`,`h`],UM:[`h`,`hb`,`H`,`hB`],US:[`h`,`hb`,`H`,`hB`],UY:[`h`,`H`,`hB`,`hb`],UZ:[`H`,`hB`,`h`],VA:[`H`,`h`,`hB`],VC:[`h`,`hb`,`H`,`hB`],VE:[`h`,`H`,`hB`,`hb`],VG:[`h`,`hb`,`H`,`hB`],VI:[`h`,`hb`,`H`,`hB`],VN:[`H`,`h`],VU:[`h`,`H`],WF:[`H`,`hB`],WS:[`h`,`H`],XK:[`H`,`hB`,`h`],YE:[`h`,`hB`,`hb`,`H`],YT:[`H`,`hB`],ZA:[`H`,`h`,`hb`,`hB`],ZM:[`h`,`hb`,`H`,`hB`],ZW:[`H`,`h`],"af-ZA":[`H`,`h`,`hB`,`hb`],"ar-001":[`h`,`hB`,`hb`,`H`],"ca-ES":[`H`,`h`,`hB`],"en-001":[`h`,`hb`,`H`,`hB`],"en-HK":[`h`,`hb`,`H`,`hB`],"en-IL":[`H`,`h`,`hb`,`hB`],"en-MY":[`h`,`hb`,`H`,`hB`],"es-BR":[`H`,`h`,`hB`,`hb`],"es-ES":[`H`,`h`,`hB`,`hb`],"es-GQ":[`H`,`h`,`hB`,`hb`],"fr-CA":[`H`,`h`,`hB`],"gl-ES":[`H`,`h`,`hB`],"gu-IN":[`hB`,`hb`,`h`,`H`],"hi-IN":[`hB`,`h`,`H`],"it-CH":[`H`,`h`,`hB`],"it-IT":[`H`,`h`,`hB`],"kn-IN":[`hB`,`h`,`H`],"ku-SY":[`H`,`hB`],"ml-IN":[`hB`,`h`,`H`],"mr-IN":[`hB`,`hb`,`h`,`H`],"pa-IN":[`hB`,`hb`,`h`,`H`],"ta-IN":[`hB`,`h`,`hb`,`H`],"te-IN":[`hB`,`h`,`H`],"zu-ZA":[`H`,`hB`,`hb`,`h`]};function qt(e,t){let n=``;for(let r=0;r<e.length;r++){let i=e.charAt(r);if(i===`j`){let a=0;for(;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;let o=1+(a&1),s=a<2?1:3+(a>>1),c=Jt(t);for((c==`H`||c==`k`)&&(s=0);s-->0;)n+=`a`;for(;o-->0;)n=c+n}else n+=i===`J`?`H`:i}return n}function Jt(e){let t=e.hourCycle;if(t===void 0){let n=e;t=n.getHourCycles?.()[0]??n.hourCycles?.[0]}if(t)switch(t){case`h24`:return`k`;case`h23`:return`H`;case`h12`:return`h`;case`h11`:return`K`;default:throw Error(`Invalid hourCycle`)}let n=e.language,r;return n!==`root`&&(r=e.maximize().region),(N[`${n}-${r}`]||N[r||``]||N[n||``]||N[`${n}-001`]||N[`001`])[0].charAt(0)}var Yt=RegExp(`^${Kt.source}*`),Xt=RegExp(`${Kt.source}*$`);function P(e,t){return{start:e,end:t}}var Zt=!!Object.fromEntries,Qt=!!String.prototype.trimStart,$t=!!String.prototype.trimEnd,en=Zt?Object.fromEntries:function(e){let t={};for(let[n,r]of e)t[n]=r;return t},tn=Qt?function(e){return e.trimStart()}:function(e){return e.replace(Yt,``)},nn=$t?function(e){return e.trimEnd()}:function(e){return e.replace(Xt,``)},rn=RegExp(`([^\\p{White_Space}\\p{Pattern_Syntax}]*)`,`yu`);function an(e,t){return rn.lastIndex=t,rn.exec(e)[1]??``}function on(e){if(e.length===0)return null;let t=1,n=1;for(let r=0;r<e.length;){let i=e.charCodeAt(r);switch(i){case 35:case 39:case 60:case 123:case 125:return null}if(i===10)t++,n=1,r++;else if(n++,i>=55296&&i<=56319&&r+1<e.length){let t=e.charCodeAt(r+1);r+=t>=56320&&t<=57343?2:1}else r++}return{offset:e.length,line:t,column:n}}var sn=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}parse(){if(this.offset()!==0)throw Error(`parser can only be used once`);if(this.message.length>0){let e=this.message.charCodeAt(0);if(e!==35&&e!==39&&e!==60&&e!==123&&e!==125){let e=on(this.message);if(e){let t=this.clonePosition();return this.position=e,{val:[{type:0,value:this.message,location:P(t,this.clonePosition())}],err:null}}}}return this.parseMessage(0,``,!1)}parseMessage(e,t,n){let r=[];for(;!this.isEOF();){let i=this.char();if(i===123){let t=this.parseArgument(e,n);if(t.err)return t;r.push(t.val)}else if(i===125&&e>0)break;else if(i===35&&(t===`plural`||t===`selectordinal`)){let e=this.clonePosition();this.bump(),r.push({type:7,location:P(e,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(26,P(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&cn(this.peek()||0)){let n=this.parseTag(e,t);if(n.err)return n;r.push(n.val)}else{let n=this.parseLiteral(e,t);if(n.err)return n;r.push(n.val)}}return{val:r,err:null}}parseTag(e,t){let n=this.clonePosition();this.bump();let r=this.parseTagName();if(this.bumpSpace(),this.bumpIf(`/>`))return{val:{type:0,value:`<${r}/>`,location:P(n,this.clonePosition())},err:null};if(this.bumpIf(`>`)){let i=this.parseMessage(e+1,t,!0);if(i.err)return i;let a=i.val,o=this.clonePosition();if(this.bumpIf(`</`)){if(this.isEOF()||!cn(this.char()))return this.error(23,P(o,this.clonePosition()));let e=this.clonePosition();return r===this.parseTagName()?(this.bumpSpace(),this.bumpIf(`>`)?{val:{type:8,value:r,children:a,location:P(n,this.clonePosition())},err:null}:this.error(23,P(o,this.clonePosition()))):this.error(26,P(e,this.clonePosition()))}return this.error(27,P(n,this.clonePosition()))}return this.error(23,P(n,this.clonePosition()))}parseTagName(){let e=this.offset();for(this.bump();!this.isEOF()&&un(this.char());)this.bump();return this.message.slice(e,this.offset())}parseLiteral(e,t){let n=this.clonePosition(),r=``;for(;;){let n=this.tryParseQuote(t);if(n){r+=n;continue}let i=this.tryParseUnquoted(e,t);if(i){r+=i;continue}let a=this.tryParseLeftAngleBracket();if(a)r+=a;else break}let i=P(n,this.clonePosition());return{val:{type:0,value:r,location:i},err:null}}tryParseLeftAngleBracket(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!ln(this.peek()||0))?(this.bump(),`<`):null}tryParseQuote(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),`'`;case 123:case 60:case 62:case 125:break;case 35:if(e===`plural`||e===`selectordinal`)break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let e=this.char();if(e===39){if(this.peek()===39)t.push(39),this.bump();else{this.bump();break}}else t.push(e);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let n=this.char();return n===60||n===123||n===35&&(t===`plural`||t===`selectordinal`)||n===125&&e>0?null:(this.bump(),String.fromCodePoint(n))}parseArgument(e,t){let n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,P(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(2,P(n,this.clonePosition()));let r=this.parseIdentifierIfPossible().value;if(!r)return this.error(3,P(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,P(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:r,location:P(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(1,P(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(3,P(n,this.clonePosition()))}}parseIdentifierIfPossible(){let e=this.clonePosition(),t=this.offset(),n=an(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:P(e,this.clonePosition())}}parseArgumentOptions(e,t,n,r){let i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(a){case``:return this.error(4,P(i,o));case`number`:case`date`:case`time`:{this.bumpSpace();let e=null;if(this.bumpIf(`,`)){this.bumpSpace();let t=this.clonePosition(),n=this.parseSimpleArgStyleIfPossible();if(n.err)return n;let r=nn(n.val);if(r.length===0)return this.error(6,P(this.clonePosition(),this.clonePosition()));e={style:r,styleLocation:P(t,this.clonePosition())}}let t=this.tryParseArgumentClose(r);if(t.err)return t;let i=P(r,this.clonePosition());if(e&&e.style.startsWith(`::`)){let t=tn(e.style.slice(2));if(a===`number`){let r=this.parseNumberSkeletonFromString(t,e.styleLocation);return r.err?r:{val:{type:2,value:n,location:i,style:r.val},err:null}}{if(t.length===0)return this.error(10,i);let r=t;this.locale&&(r=qt(t,this.locale));let o={type:1,pattern:r,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?xt(r):{}};return{val:{type:a===`date`?3:4,value:n,location:i,style:o},err:null}}}return{val:{type:a===`number`?2:a===`date`?3:4,value:n,location:i,style:e?.style??null},err:null}}case`plural`:case`selectordinal`:case`select`:{let i=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(`,`))return this.error(12,P(i,{...i}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),s=0;if(a!==`select`&&o.value===`offset`){if(!this.bumpIf(`:`))return this.error(13,P(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(13,14);if(e.err)return e;this.bumpSpace(),o=this.parseIdentifierIfPossible(),s=e.val}let c=this.tryParsePluralOrSelectOptions(e,a,t,o);if(c.err)return c;let l=this.tryParseArgumentClose(r);if(l.err)return l;let u=P(r,this.clonePosition());return a===`select`?{val:{type:5,value:n,options:en(c.val),location:u},err:null}:{val:{type:6,value:n,options:en(c.val),offset:s,pluralType:a===`plural`?`cardinal`:`ordinal`,location:u},err:null}}default:return this.error(5,P(i,o))}}tryParseArgumentClose(e){return this.isEOF()||this.char()!==125?this.error(1,P(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil(`'`))return this.error(11,P(e,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(e>0)--e;else return{val:this.message.slice(t.offset,this.offset()),err:null};break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let n=[];try{n=Ct(e)}catch{return this.error(7,t)}return{val:{type:0,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Nt(n):{}},err:null}}tryParsePluralOrSelectOptions(e,t,n,r){let i=!1,a=[],o=new Set,{value:s,location:c}=r;for(;;){if(s.length===0){let e=this.clonePosition();if(t!==`select`&&this.bumpIf(`=`)){let t=this.tryParseDecimalInteger(16,19);if(t.err)return t;c=P(e,this.clonePosition()),s=this.message.slice(e.offset,this.offset())}else break}if(o.has(s))return this.error(t===`select`?21:20,c);s===`other`&&(i=!0),this.bumpSpace();let r=this.clonePosition();if(!this.bumpIf(`{`))return this.error(t===`select`?17:18,P(this.clonePosition(),this.clonePosition()));let l=this.parseMessage(e+1,t,n);if(l.err)return l;let u=this.tryParseArgumentClose(r);if(u.err)return u;a.push([s,{value:l.val,location:P(r,this.clonePosition())}]),o.add(s),this.bumpSpace(),{value:s,location:c}=this.parseIdentifierIfPossible()}return a.length===0?this.error(t===`select`?15:16,P(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(22,P(this.clonePosition(),this.clonePosition())):{val:a,err:null}}tryParseDecimalInteger(e,t){let n=1,r=this.clonePosition();this.bumpIf(`+`)||this.bumpIf(`-`)&&(n=-1);let i=!1,a=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)i=!0,a=a*10+(e-48),this.bump();else break}let o=P(r,this.clonePosition());return i?(a*=n,Number.isSafeInteger(a)?{val:a,err:null}:this.error(t,o)):this.error(e,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error(`out of bound`);let t=this.message.codePointAt(e);if(t===void 0)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){if(this.message.startsWith(e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(;!this.isEOF()&&dn(this.char());)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function cn(e){return e>=97&&e<=122||e>=65&&e<=90}function ln(e){return cn(e)||e===47}function un(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function dn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function fn(e){e.forEach(e=>{if(delete e.location,Bt(e)||Vt(e))for(let t in e.options)delete e.options[t].location,fn(e.options[t].value);else Lt(e)&&Wt(e.style)||(Rt(e)||zt(e))&&Gt(e.style)?delete e.style.location:Ut(e)&&fn(e.children)})}function pn(e,t={}){t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t};let n=new sn(e,t).parse();if(n.err){let e=SyntaxError(Pt[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return t?.captureLocation||fn(n.val),n.val}var mn=class extends Error{constructor(e,t,n){super(e),this.code=t,this.originalMessage=n}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},hn=class extends mn{constructor(e,t,n,r){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(n).join(`", "`)}"`,`INVALID_VALUE`,r)}},gn=class extends mn{constructor(e,t,n){super(`Value for "${e}" must be of type ${t}`,`INVALID_VALUE`,n)}},_n=class extends mn{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,`MISSING_VALUE`,t)}};function vn(e){return e.length<2?e:e.reduce((e,t)=>{let n=e[e.length-1];return!n||n.type!==0||t.type!==0?e.push(t):n.value+=t.value,e},[])}function yn(e){return typeof e==`function`}function bn(e,t,n,r,i,a,o){if(e.length===1&&Ft(e[0]))return[{type:0,value:e[0].value}];let s=[];for(let c of e){if(Ft(c)){s.push({type:0,value:c.value});continue}if(Ht(c)){typeof a==`number`&&s.push({type:0,value:n.getNumberFormat(t).format(a)});continue}let{value:e}=c;if(!(i&&e in i))throw new _n(e,o);let l=i[e];if(It(c))l&&typeof l!=`string`&&typeof l!=`number`&&typeof l!=`bigint`||(l=typeof l==`string`||typeof l==`number`||typeof l==`bigint`?String(l):``),s.push({type:typeof l==`string`?0:1,value:l});else if(Rt(c)){let e=typeof c.style==`string`?r.date[c.style]:Gt(c.style)?c.style.parsedOptions:void 0;s.push({type:0,value:n.getDateTimeFormat(t,e).format(l)})}else if(zt(c)){let e=typeof c.style==`string`?r.time[c.style]:Gt(c.style)?c.style.parsedOptions:r.time.medium;s.push({type:0,value:n.getDateTimeFormat(t,e).format(l)})}else if(Lt(c)){let e=typeof c.style==`string`?r.number[c.style]:Wt(c.style)?c.style.parsedOptions:void 0;if(e&&e.scale){let t=e.scale||1;if(typeof l==`bigint`){if(!Number.isInteger(t))throw TypeError(`Cannot apply fractional scale ${t} to bigint value. Scale must be an integer when formatting bigint.`);l*=BigInt(t)}else l*=t}s.push({type:0,value:n.getNumberFormat(t,e).format(l)})}else{if(Ut(c)){let{children:e,value:l}=c,u=i[l];if(!yn(u))throw new gn(l,`function`,o);let d=u(bn(e,t,n,r,i,a).map(e=>e.value));Array.isArray(d)||(d=[d]),s.push(...d.map(e=>({type:typeof e==`string`?0:1,value:e})))}if(Bt(c)){let e=l,a=(Object.prototype.hasOwnProperty.call(c.options,e)?c.options[e]:void 0)||c.options.other;if(!a)throw new hn(c.value,l,Object.keys(c.options),o);s.push(...bn(a.value,t,n,r,i))}else if(Vt(c)){let e=`=${l}`,a=Object.prototype.hasOwnProperty.call(c.options,e)?c.options[e]:void 0;if(!a){if(!Intl.PluralRules)throw new mn(`Intl.PluralRules is not available in this environment.
|
|
3
3
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4
|
-
`,`MISSING_INTL_API`,o);let e=typeof l==`bigint`?Number(l):l,r=n.getPluralRules(t,{type:c.pluralType}).select(e-(c.offset||0));a=(Object.prototype.hasOwnProperty.call(c.options,r)?c.options[r]:void 0)||c.options.other}if(!a)throw new hn(c.value,l,Object.keys(c.options),o);let u=typeof l==`bigint`?Number(l):l;s.push(...bn(a.value,t,n,r,i,u-(c.offset||0)))}}}return vn(s)}function xn(e,t){return t?{...e,...t,...Object.keys(e).reduce((n,r)=>(n[r]={...e[r],...t[r]},n),{})}:e}function Sn(e,t){return t?Object.keys(e).reduce((n,r)=>(n[r]=xn(e[r],t[r]),n),{...e}):e}function Cn(e){return{create(){return{get(t){return e[t]},set(t,n){e[t]=n}}}}}function wn(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:ct((...e)=>new Intl.NumberFormat(...e),{cache:Cn(e.number),strategy:yt.variadic}),getDateTimeFormat:ct((...e)=>new Intl.DateTimeFormat(...e),{cache:Cn(e.dateTime),strategy:yt.variadic}),getPluralRules:ct((...e)=>new Intl.PluralRules(...e),{cache:Cn(e.pluralRules),strategy:yt.variadic})}}var Tn=class e{constructor(t,n=e.defaultLocale,r,i){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=e=>{let t=this.formatToParts(e);if(t.length===1)return t[0].value;let n=t.reduce((e,t)=>(!e.length||t.type!==0||typeof e[e.length-1]!=`string`?e.push(t.value):e[e.length-1]+=t.value,e),[]);return n.length<=1?n[0]||``:n},this.formatToParts=e=>bn(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t==`string`){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");let{...n}=i||{};this.ast=e.__parse(t,{...n,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError(`A message must be provided as a String or AST.`);this.formats=Sn(e.formats,r),this.formatters=i&&i.formatters||wn(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return e.memoizedDefaultLocale||=new Intl.NumberFormat().resolvedOptions().locale,e.memoizedDefaultLocale}static{this.resolveLocale=e=>{if(Intl.Locale===void 0)return;let t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale(typeof e==`string`?e:e[0])}}static{this.__parse=pn}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:`currency`},percent:{style:`percent`}},date:{short:{month:`numeric`,day:`numeric`,year:`2-digit`},medium:{month:`short`,day:`numeric`,year:`numeric`},long:{month:`long`,day:`numeric`,year:`numeric`},full:{weekday:`long`,month:`long`,day:`numeric`,year:`numeric`}},time:{short:{hour:`numeric`,minute:`numeric`},medium:{hour:`numeric`,minute:`numeric`,second:`numeric`},long:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`},full:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`}}}}},En=r(f(`i18n/english-fallback`,1),()=>({})),Dn=En;function On(e){Object.assign(En,e)}var kn=new Map;function An(e,t){let n=`${t}::${e}`,r=kn.get(n);return r===void 0&&(r=new Tn(e,t),kn.set(n,r)),r}function jn(e){let t;try{t=new Intl.Locale(e).baseName}catch{t=e}let n=t.split(`-`),r=[];for(let e=n.length;e>0;e--)r.push(n.slice(0,e).join(`-`));return r}function Mn(e,t,n){let r={},i=jn(e);if(n!==void 0){for(let e of i)if(n[e])for(let[t,i]of Object.entries(n[e]))r[t]===void 0&&i!==null&&(r[t]=i)}for(let e of i)if(t[e])for(let[n,i]of Object.entries(t[e])){let e=typeof i==`string`?i:i?.defaultMessage;r[n]===void 0&&e!=null&&(r[n]=e)}return r}function Nn(e,t,n,r=Dn){let i=Mn(e,t,n);return(t,n)=>{let a=i[t]??r[t];return a===void 0?(`${e}${t}`,`${t}${e}`,t):n===void 0?a:An(a,e).format(n)}}ot.translate??=Nn(`en`,{});var Pn=st;function Fn(){return(0,E.use)(Pn).translate}var F={top:0,right:0,bottom:0,left:0},In={top:`--astryx-hit-inset-top`,right:`--astryx-hit-inset-right`,bottom:`--astryx-hit-inset-bottom`,left:`--astryx-hit-inset-left`};function Ln(e,t){return{x:Math.max(t.left-e.right,e.left-t.right),y:Math.max(t.top-e.bottom,e.top-t.bottom)}}function I(e,t){return{left:e.left-t.left,top:e.top-t.top,right:e.right+t.right,bottom:e.bottom+t.bottom}}function Rn(e,t){return e.left<t.right&&t.left<e.right&&e.top<t.bottom&&t.top<e.bottom}function zn(e,t){let n=Math.max(0,(t-(e.right-e.left))/2),r=Math.max(0,(t-(e.bottom-e.top))/2);return{top:r,right:n,bottom:r,left:n}}function Bn(e,t,n=44){if(t.length===0)return F;let r={top:-1/0,right:-1/0,bottom:-1/0,left:-1/0};for(let i of t){let t=zn(i,n);r.top=Math.max(r.top,t.top-(i.top-e.top)),r.right=Math.max(r.right,t.right-(e.right-i.right)),r.bottom=Math.max(r.bottom,t.bottom-(e.bottom-i.bottom)),r.left=Math.max(r.left,t.left-(i.left-e.left))}return r}function Vn(e,t,n=44,r=zn(e,n)){if(r.top===0&&r.right===0&&r.bottom===0&&r.left===0)return F;let i={...r};for(let a of t){let t=Ln(e,a);if(t.x<0&&t.y<0)continue;let o={top:Math.max(0,t.y)/2,right:Math.max(0,t.x)/2,bottom:Math.max(0,t.y)/2,left:Math.max(0,t.x)/2},s=I(e,r),c=I(a,zn(a,n));(Rn(s,I(a,o))||Rn(c,I(e,o))||Rn(s,c))&&(t.x>=t.y?a.left>=e.right?i.right=Math.min(i.right,o.right):i.left=Math.min(i.left,o.left):a.top>=e.bottom?i.bottom=Math.min(i.bottom,o.bottom):i.top=Math.min(i.top,o.top))}return i}function Hn(e,t,n){return t>=e.left&&t<=e.right&&n>=e.top&&n<=e.bottom}function Un(e,t,n){let r=Math.max(e.left-t,0,t-e.right),i=Math.max(e.top-n,0,n-e.bottom);return Math.hypot(r,i)}function Wn(e,t,n,r=44){let i=-1,a=1/0;if(n.forEach((n,r)=>{let o=Un(n,e,t)*1e6+Math.hypot(e-(n.left+n.right)/2,t-(n.top+n.bottom)/2);o<a&&(i=r,a=o)}),i===-1)return-1;let o=n[i];return Hn(I(o,zn(o,r)),e,t)?i:-1}function Gn(e,t){for(let n of[`top`,`right`,`bottom`,`left`])e.style.setProperty(In[n],`${t[n]}px`)}var L=`a[href].area[href].button.input:not([type="hidden"]).select.textarea.summary.label[for].[contenteditable=""].[contenteditable="true"].[role="button"].[role="link"].[role="checkbox"].[role="radio"].[role="switch"].[role="tab"].[role="menuitem"].[role="menuitemcheckbox"].[role="menuitemradio"].[role="treeitem"].[role="combobox"].[role="textbox"].[role="searchbox"].[role="spinbutton"].[role="option"].[role="slider"].[tabindex]:not([tabindex="-1"])`.split(`.`).join(`,`),Kn=`(pointer: coarse)`,qn=4,Jn=100,Yn=150,Xn={capture:!0,passive:!0},Zn={childList:!0,subtree:!0,attributes:!0,attributeFilter:[`href`,`type`,`for`,`contenteditable`,`role`,`tabindex`]};function Qn(){return typeof performance>`u`?Date.now():performance.now()}var R=new Map,z=new Set,$n=new WeakMap,B=new Map,V=null,H=null,er=null,U=null,W=null,G=null,K=!1,q=null,tr=null,nr=null,J=c(`utils/hit-area/scroll-gate`,1,()=>({isScrolling:!1,timer:void 0,stop:null,onEnd:new Set}));function rr(){nr?.(),nr=null,tr=null,q=null}function ir(e,t){return e.top===t.top&&e.right===t.right&&e.bottom===t.bottom&&e.left===t.left}function ar(e,t){ir(e.last,t)||(e.last=t,e.onInsets(t))}function or(e,t){let{element:n}=e;if(t===n||t.contains(n)||n.contains(t))return!0;let r=t.control;return r!=null&&n.contains(r)}function sr(e){let{left:t,top:n,right:r,bottom:i}=e.getBoundingClientRect();return{left:t,top:n,right:r,bottom:i}}var cr={x:1,y:1};function lr(e,t,n){if(!(t>0)||!(e>0))return 1;let r=e/t;return Math.abs(r-1)<n?1:r}var ur={pixels:1,ratio:.001};function dr(e){let t=e.ownerDocument.defaultView?.getComputedStyle(e);if(t==null||!t.width.endsWith(`px`))return null;let n=e=>Number.parseFloat(e)||0,r=t.boxSizing!==`border-box`;return{width:n(t.width)+(r?n(t.paddingLeft)+n(t.paddingRight)+n(t.borderLeftWidth)+n(t.borderRightWidth):0),height:n(t.height)+(r?n(t.paddingTop)+n(t.paddingBottom)+n(t.borderTopWidth)+n(t.borderBottomWidth):0)}}function fr(e,t,n){let r=e,i=r.offsetWidth??0,a=r.offsetHeight??0;if(i===0||a===0||n.pixels>0&&Math.abs(t.right-t.left-i)<=n.pixels&&Math.abs(t.bottom-t.top-a)<=n.pixels)return cr;let o=dr(e);if(o==null)return cr;let{width:s,height:c}=o;return{x:lr(t.right-t.left,s,n.ratio),y:lr(t.bottom-t.top,c,n.ratio)}}function pr(e,t,n){return n.x===1&&n.y===1?e:{left:t.left+(e.left-t.left)/n.x,top:t.top+(e.top-t.top)/n.y,right:t.left+(e.right-t.left)/n.x,bottom:t.top+(e.bottom-t.top)/n.y}}function Y(e){for(let t=e;t!=null;t=t.parentElement)if(R.has(t))return t;return null}function mr(e){if(typeof MutationObserver>`u`?q=null:tr===e?v(Zn):(rr(),tr=e,nr=_(e,Zn,gr)),q!=null){for(let e of q)e.isConnected||q.delete(e);return[...q]}let t=new Set;return hr(t,e),q=t,[...t]}function hr(e,t){s(t)&&t.matches(L)&&e.add(Y(t)??t);for(let n of t.querySelectorAll(L))e.add(Y(n)??n)}function gr(e){let t=q;if(t!=null)for(let n of e){if(n.type!==`attributes`){n.addedNodes.forEach(e=>{s(e)&&hr(t,e)});continue}let{target:e}=n;s(e)&&(e.matches(L)?t.add(Y(e)??e):R.has(e)||t.delete(e))}}function _r(e){if(e.matches(L))return!0;for(let t of e.querySelectorAll(L))if(Y(t)===e)return!0;return!1}function vr(e){let t=q;if(t==null)return;for(let n of e.querySelectorAll(L))t.delete(n);hr(t,e);let n=e.parentElement==null?null:Y(e.parentElement);n!=null&&t.has(n)&&!_r(n)&&t.delete(n)}function yr(e){let t=q;t!=null&&(t.delete(e),hr(t,e))}function br(e){return mr(e).map(e=>({element:e,rect:sr(e)}))}function xr(e,t){let n=sr(e.element),r=fr(e.element,n,ur),i=Math.max(0,e.minSize),a=I(n,{top:i*r.y,right:i*r.x,bottom:i*r.y,left:i*r.x}),o=t.filter(({element:t,rect:n})=>n.right>n.left&&n.bottom>n.top&&Rn(a,n)&&!or(e,t)).map(({rect:e})=>e);return{target:n,insets:Vn(pr(n,n,r),o.map(e=>pr(e,n,r)),e.minSize,e.growth?.(pr(n,n,r),e=>pr(e,n,r))),neighbours:o}}function Sr(e){return typeof e.getAnimations==`function`?(s(e)?e.getAnimations({subtree:!0}):e.getAnimations()).filter(e=>{if(e.playState!==`running`&&e.playState!==`paused`)return!1;let t=e.effect?.getComputedTiming().endTime;return typeof t==`number`&&Number.isFinite(t)}):[]}var Cr=/^(transform|translate|scale|rotate|offset[A-Z]\w*|inset\w*|top|right|bottom|left|(min|max)?(Width|Height|width|height|BlockSize|InlineSize)|blockSize|inlineSize|margin\w*|padding\w*)$/;function wr(e){let t=e.effect;return typeof t?.getKeyframes!=`function`||t.getKeyframes().some(e=>Object.keys(e).some(e=>Cr.test(e)))}function Tr(e){return Sr(e).filter(e=>e.playState===`running`&&wr(e))}function Er(e,t){Promise.allSettled(e.map(async e=>e.finished)).then(t)}function Dr(e,t){let n=!1;for(let r of t){let t=r.effect?.target;t!=null&&t!==e.element&&t.contains(e.element)&&(n=!0,e.heldBy.has(r)||(e.heldBy.add(r),Er([r],()=>{e.heldBy.delete(r),e.isVisible&&R.get(e.element)?.watches.has(e)&&X(e)})))}return n}function Or(){if(V=null,J.isScrolling)return;let e=[...z].filter(e=>e.isVisible);if(z.clear(),!K||e.length===0)return;let t=e[0].element.ownerDocument,n=Tr(t),r=e.filter(e=>!Dr(e,n));if(r.length===0)return;let i=br(t),a=Qn(),o=[];for(let e of r)o.length>0&&Qn()-a>qn?z.add(e):o.push({watch:e,insets:xr(e,i).insets});for(let{watch:e,insets:t}of o)ar(e,t);z.size>0&&kr()}function kr(){V==null&&!J.isScrolling&&typeof requestAnimationFrame==`function`&&(V=requestAnimationFrame(Or))}function Ar(){J.isScrolling=!0,J.timer!==void 0&&clearTimeout(J.timer),J.timer=setTimeout(jr,Yn)}function jr(){if(J.timer!==void 0&&(clearTimeout(J.timer),J.timer=void 0),J.isScrolling){J.isScrolling=!1;for(let e of[...J.onEnd])e()}}function Mr(){z.size>0&&kr()}function X(e){K&&(z.add(e),kr())}function Nr(){for(let e of R.values())e.watches.forEach(X)}function Pr(e){for(let t=e.target instanceof Element?e.target:null;t!=null;t=t.parentElement)if(R.has(t)){Fr(t,e);return}}function Fr(e,t){let n=R.get(e);if(n==null||(n.disarm?.(),!K||t.pointerType!==`touch`))return;let r=[...n.watches].filter(e=>e.checkAtPress);if(r.length===0)return;let i={x:t.clientX,y:t.clientY,target:t.target},a=r.some(e=>e.heldBy.size>0),o=a&&Rr(e,n,r,i,br(e.ownerDocument));if(a&&!o)return;let s=t=>{u(),t.detail!==0&&(o||zr(e,n,r,i))&&(t.preventDefault(),t.stopPropagation())},c=e.ownerDocument,l=null,u=()=>{e.removeEventListener(`click`,s,!0),e.removeEventListener(`pointercancel`,u,!0),l?.(),l=null,n.disarm===u&&(n.disarm=null)};e.addEventListener(`click`,s,!0),e.addEventListener(`pointercancel`,u,!0);let d=c.defaultView;d!=null&&(l=p(d,`pointerdown`,u)),n.disarm=u}function Ir(e,t){let n=e.ownerDocument.defaultView?.getComputedStyle(e).transform,r=/^matrix\(([^,]+),[^,]+,[^,]+,([^,]+),/.exec(n??``);if(r==null)return t;let i=Number.parseFloat(r[1]),a=Number.parseFloat(r[2]);if(!(i>0)||!(a>0))return t;let o=(t.left+t.right)/2,s=(t.top+t.bottom)/2,c=(t.right-t.left)/i/2,l=(t.bottom-t.top)/a/2;return{left:o-c,top:s-l,right:o+c,bottom:s+l}}function Lr(e){let{element:t}=e,n=Sr(t);n.length===0?X(e):Er(n,()=>{R.get(t)?.watches.has(e)&&X(e)})}function Rr(e,t,n,r,i){let a=!1;for(let e of n){let{target:t,insets:n,neighbours:o}=xr(e,i),s=Un(Ir(e.element,t),r.x,r.y);a||=o.some(e=>Un(e,r.x,r.y)<s),ir(e.last,n)||Lr(e)}let o=[...t.watches].some(e=>e.ownsDescendantTouches)&&r.target instanceof Node&&r.target!==e&&e.contains(r.target);return a&&!o}function zr(e,t,n,r){let i=e.ownerDocument,a=Tr(i),o=(e,t)=>a.some(n=>{let r=n.effect?.target;return r!=null&&r.contains(e)&&(t||r!==e)});return!o(e,!1)&&Rr(e,t,n,r,br(i).filter(e=>!o(e.element,!0)))}function Br(e){let t=B.get(e);t!=null&&clearTimeout(t),B.set(e,setTimeout(()=>{B.delete(e);for(let[t,n]of R)t.parentElement===e&&n.watches.forEach(X)},Jn))}function Vr(e,t){let n=e.parentElement;W?.observe(e),G?.observe(e),n!=null&&G?.observe(n);let r=n==null?null:d(n,()=>Br(n));t.release=()=>{W?.unobserve(e),G?.unobserve(e);let i=[...R.keys()].some(t=>t!==e&&t.parentElement===n);if(n!=null&&!i){G?.unobserve(n);let e=B.get(n);e!=null&&(clearTimeout(e),B.delete(n))}r?.(),t.disarm?.()}}function Hr(){if(H!=null){if(H.addEventListener(`resize`,Nr),J.stop==null){let e=p(H,`scroll`,Ar),t=p(H,`scrollend`,jr);J.stop=()=>{e(),t()}}J.onEnd.add(Mr),er=H.document,er.addEventListener(`pointerdown`,Pr,Xn),typeof IntersectionObserver==`function`&&(W=new IntersectionObserver(e=>{for(let t of e)R.get(t.target)?.watches.forEach(e=>{e.isVisible=t.isIntersecting,e.isVisible?X(e):z.delete(e)})})),typeof ResizeObserver==`function`&&(G=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect,r=`${e}x${n}`,i=$n.get(t.target);if($n.set(t.target,r),i!==void 0&&i!==r)for(let[e,n]of R)(e===t.target||e.parentElement===t.target)&&n.watches.forEach(X)}}));for(let[e,t]of R)t.watches.forEach(e=>{e.isVisible=W==null}),Vr(e,t),W??t.watches.forEach(X)}}function Ur(){for(let e of R.values())e.release?.(),e.release=null;H?.removeEventListener(`resize`,Nr),J.onEnd.delete(Mr),J.onEnd.size===0&&(J.stop?.(),J.stop=null,J.timer!==void 0&&(clearTimeout(J.timer),J.timer=void 0),J.isScrolling=!1),er?.removeEventListener(`pointerdown`,Pr,Xn),er=null,W?.disconnect(),G?.disconnect(),W=null,G=null,B.forEach(e=>clearTimeout(e)),B.clear(),rr(),V!=null&&typeof cancelAnimationFrame==`function`&&cancelAnimationFrame(V),V=null,z.clear()}function Wr(){let e=U?.matches??!1;if(e!==K){if(K=e,K)Hr();else{Ur();for(let e of R.values())e.watches.forEach(e=>ar(e,F))}}}function Gr(e,t,{minSize:n=44,ownsDescendantTouches:r=!1,growth:i,checkAtPress:a=!0}={}){let o=e.ownerDocument.defaultView;if(o==null)return()=>{};H=o;let s=o.matchMedia?.(Kn)??null;s!==U&&(U?.removeEventListener(`change`,Wr),U=s,U?.addEventListener(`change`,Wr)),Wr();let c={element:e,minSize:n,ownsDescendantTouches:r,growth:i,checkAtPress:a,onInsets:t,isVisible:K&&W==null,last:F,heldBy:new Set},l=R.get(e);return l==null?(l={watches:new Set,release:null,disarm:null},R.set(e,l),vr(e),l.watches.add(c),K&&Vr(e,l)):(c.isVisible=[...l.watches][0]?.isVisible??c.isVisible,l.watches.add(c)),c.isVisible&&X(c),()=>{let t=R.get(e);t!=null&&t.watches.delete(c)&&(z.delete(c),t.watches.size===0&&(t.release?.(),R.delete(e),yr(e)),R.size===0&&(Ur(),U?.removeEventListener(`change`,Wr),U=null,H=null,K=!1))}}var Kr={};function qr(e,t,{growth:n,checkAtPress:r,ownsDescendantTouches:i=!0}){let a=()=>{},o=!1,s=!1,c=!1,l=()=>{a(),c&&(c=!1,Gn(e,F))},u=()=>{a=Gr(e,t=>{let n=Sr(e.parentElement??e);n.length===0?(c=!0,Gn(e,t)):s||(s=!0,Er(n,()=>{s=!1,o||(l(),u())}))},{minSize:t,ownsDescendantTouches:i,growth:n==null?void 0:(t,r)=>n(t,r,e),checkAtPress:r})};return u(),()=>{o=!0,l()}}var Jr=new WeakMap;function Yr(e,t){let n=Jr.get(e);n??(n={stop:qr(e,44,t),holders:0},Jr.set(e,n)),n.holders+=1;let r=n,i=!1;return()=>{i||(i=!0,--r.holders,queueMicrotask(()=>{r.holders===0&&Jr.get(e)===r&&(Jr.delete(e),r.stop())}))}}function Xr(e,t=Kr){return(0,E.useCallback)(n=>{if(e&&n!=null)return Yr(n,t)},[e,t])}var Zr={layer:{k5JduY:`x1fjtqre`,kwXMNM:`x7b72wb`,kv0HGH:`x1ukc1h5`,kJYu5r:`x1c440c0`,$$css:!0},layerBelowChildren:{kgeoSG:`xrfab51`,kEoFBp:`xjupvsi`,kFcpXp:`xg52tuh`,ksxFz7:`x1la2cvp`,$$css:!0}},Qr=x(`SpinnerOwnerContext`,1,!1);Qr.displayName=`SpinnerOwnerContext`;var $r={primary:{kMwMTN:`x1tgivj0`,$$css:!0},secondary:{kMwMTN:`xv1l7n4`,$$css:!0},disabled:{kMwMTN:`xnbbluu`,$$css:!0},placeholder:{kMwMTN:`xv1l7n4`,$$css:!0},accent:{kMwMTN:`xjse4m1`,$$css:!0},inherit:{kMwMTN:`x1heor9g`,$$css:!0}},ei={normal:{k63SB2:`x1sodnla`,$$css:!0},medium:{k63SB2:`x1e4wzip`,$$css:!0},semibold:{k63SB2:`x2mo6ok`,$$css:!0},bold:{k63SB2:`x1lvx875`,$$css:!0}},ti={body:{k63SB2:`xxovm9e`,$$css:!0},large:{k63SB2:`x149oux8`,$$css:!0},label:{k63SB2:`xmhvcl5`,$$css:!0},code:{k63SB2:`xx3eeay`,$$css:!0},supporting:{k63SB2:`xv8on6e`,$$css:!0},"display-1":{k63SB2:`x1txul5o`,$$css:!0},"display-2":{k63SB2:`x1y36c3f`,$$css:!0},"display-3":{k63SB2:`x1on40hk`,$$css:!0},inherit:{k63SB2:`x1pd3egz`,$$css:!0}},ni={body:{kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,$$css:!0},large:{kGuDYH:`x18juvz8`,kLWn49:`xf74fhv`,$$css:!0},label:{kGuDYH:`xcr08ib`,kLWn49:`x1kq96og`,$$css:!0},code:{kGuDYH:`xp03k98`,kLWn49:`x17iicif`,kMv6JI:`x9m5x89`,$$css:!0},supporting:{kGuDYH:`x141an7d`,kLWn49:`x1ltkj2j`,$$css:!0},"display-1":{kGuDYH:`xsub3ws`,kLWn49:`x112ttwr`,$$css:!0},"display-2":{kGuDYH:`x1yego12`,kLWn49:`xh0iwvy`,$$css:!0},"display-3":{kGuDYH:`xlgnzhf`,kLWn49:`x1ujwuaq`,$$css:!0},inherit:{kGuDYH:`x1qlqyl8`,kLWn49:`x15bjb6t`,$$css:!0}},ri={"4xs":{kGuDYH:`xxc45ev`,$$css:!0},"3xs":{kGuDYH:`x10p7juq`,$$css:!0},"2xs":{kGuDYH:`x16a80zy`,$$css:!0},xsm:{kGuDYH:`x51wmvv`,$$css:!0},sm:{kGuDYH:`x1eqnyfr`,$$css:!0},base:{kGuDYH:`x1j29vfg`,$$css:!0},lg:{kGuDYH:`xc7cgfe`,$$css:!0},xl:{kGuDYH:`x1wqms48`,$$css:!0},"2xl":{kGuDYH:`xhs0kqb`,$$css:!0},"3xl":{kGuDYH:`x10srzze`,$$css:!0},"4xl":{kGuDYH:`xqcvi3d`,$$css:!0}},ii={1:{kGuDYH:`xcg7oai`,kLWn49:`xfmsba7`,k63SB2:`x1v68xuy`,$$css:!0},2:{kGuDYH:`x1xvnhcw`,kLWn49:`x1cpk1wn`,k63SB2:`x12yy4cs`,$$css:!0},3:{kGuDYH:`xii13ha`,kLWn49:`xwjzt0u`,k63SB2:`x1jcxfy8`,$$css:!0},4:{kGuDYH:`x8tkxat`,kLWn49:`xqerer`,k63SB2:`x2hcmsi`,$$css:!0},5:{kGuDYH:`xsgqta0`,kLWn49:`xo3gurs`,k63SB2:`xno150v`,$$css:!0},6:{kGuDYH:`xw5ohdf`,kLWn49:`xeixjfn`,k63SB2:`x1pw4frv`,$$css:!0}},ai={inline:{k1xSpc:`xt0psk2`,kHjlTd:`xh015us`,$$css:!0},block:{k1xSpc:`x1lliihq`,kHjlTd:`xh015us`,$$css:!0}},oi={singleLine:{kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,k1xSpc:`x1lliihq`,$$css:!0},multiLine:{kVQacm:`xb3r6kr`,k1xSpc:`x104kibb`,kgKLqz:`x1ua5tub`,$$css:!0}},si={"break-word":{kTgw9:`x1lldw8n`,kHjlTd:`x1mzt3pk`,$$css:!0},"break-all":{kTgw9:`x1yn0g08`,$$css:!0}},ci={wrap:{kN2L0X:`xk4td0m`,$$css:!0},nowrap:{kN2L0X:`xebhuq6`,$$css:!0},balance:{kN2L0X:`x1w2vvpw`,$$css:!0},pretty:{kN2L0X:`x1fzhlzt`,$$css:!0}},li={enabled:{kxwWH2:`x1b2iylo`,kzeHkT:`xwgcxoh`,k1xSpc:`x1lliihq`,$$css:!0}},ui={strikethrough:{kybGjl:`xmqliwb`,$$css:!0}},di={enabled:{kcqcaj:`xss6m8b`,$$css:!0}},fi={start:{k9WMMc:`x1yc453h`,$$css:!0},center:{k9WMMc:`x2b8uid`,$$css:!0},end:{k9WMMc:`xp4054r`,$$css:!0}},pi={content:{ks0D6T:`xw5ewwj`,kTgw9:`x13faqbe`,$$css:!0}};function mi(e){let{maxLines:t,isExpanded:n=!1}=e,[r,i]=(0,E.useState)(!1),[a,o]=(0,E.useState)(``),s=(0,E.useRef)({isTruncated:!1,fullText:``}),c=(0,E.useCallback)(e=>{s.current.isTruncated!==e&&(s.current.isTruncated=e,i(e))},[]),l=(0,E.useCallback)(e=>{s.current.fullText!==e&&(s.current.fullText=e,o(e))},[]),u=(0,E.useRef)(null),f=(0,E.useRef)(null),p=(0,E.useRef)(null),m=(0,E.useRef)({isTruncated:!1,fullText:``}),h=(0,E.useRef)(null),g=(0,E.useCallback)(e=>{if(t===0)c(!1);else if(m.current.fullText=e.textContent??``,l(m.current.fullText),t===1)m.current.isTruncated=e.scrollWidth>e.offsetWidth,c(m.current.isTruncated);else{let t=e.scrollHeight;try{let n=document.createRange();n.selectNodeContents(e),t=n.getBoundingClientRect().height,n.detach()}catch{}m.current.isTruncated=t>e.offsetHeight,c(m.current.isTruncated)}},[t,c,l]);return{ref:(0,E.useCallback)(e=>{f.current?.(),f.current=null,p.current?.(),p.current=null;let r=u.current;if(u.current=e,n){e==null?h.current=r:(c(m.current.isTruncated),l(m.current.fullText));return}let i=h.current;if(h.current=null,i!=null&&e!==i&&(m.current={isTruncated:!1,fullText:``},c(!1),l(``)),e&&t>0){let t=b(e,()=>{g(e)});t??g(e),f.current=t,p.current=d(e,()=>{g(e)})}else c(!1),l(``)},[t,n,g,c,l]),isTruncated:r,fullText:a}}function hi(e){let t=null,n=null;return{async load(){return n??=e().then(e=>(t=e,e),e=>{throw n=null,e}),n},loaded:()=>t}}var gi=`modulepreload`,_i=function(e){return`/`+e},vi={},yi=function(e){return e.pathname.endsWith(`.css`)},bi=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},xi=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=_i(t,n);let r=s(t),i=yi(r);return bi(vi,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:gi,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{let i=a=>{t.removeEventListener(`load`,i),t.removeEventListener(`error`,i),a.type===`error`?n(Error(`Unable to preload CSS for ${r}`)):e(a)};t.addEventListener(`load`,i),t.addEventListener(`error`,i)})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},Si=hi(async()=>xi(()=>import(`./Tooltip-D2N09Hzl.js`),__vite__mapDeps([0,1,2,3,4,5,6])));function Ci(e){let[t,n]=(0,E.useState)(!1),[r,i]=(0,E.useState)(()=>Si.loaded()?.Tooltip??null);(0,E.useEffect)(()=>{if(!e||r!=null)return;let t=!0;return Si.load().then(e=>{t&&i(()=>e.Tooltip)},()=>{}),()=>{t=!1}},[e,r]);let a=(0,E.useRef)({interest:null,tapEvent:null,isRead:!1}),o=C(),c=(0,E.useCallback)((t,r=null)=>{let i=a.current;e&&!i.isRead&&(i.interest=t,i.tapEvent=r,n(!0))},[e]),l=(0,E.useCallback)(e=>{let t=a.current;!t.isRead&&t.interest===e&&(t.interest=null)},[]);return{isWanted:t,tooltip:r,interestRef:a,onPointerEnter:(0,E.useCallback)(e=>{e.pointerType!==`touch`&&c(`hover`)},[c]),onPointerLeave:(0,E.useCallback)(()=>l(`hover`),[l]),onPointerDown:(0,E.useCallback)(t=>{!e||a.current.isRead?o.forget():o.press(t.nativeEvent,t.currentTarget,e=>c(`tap`,e))||l(`hover`)},[e,o,c,l]),onFocus:(0,E.useCallback)(e=>{let t=e.target;s(t)&&t.matches(`:focus-visible`)&&!o.isTouchPressCurrent()&&c(`focus`)},[c,o]),onBlur:(0,E.useCallback)(()=>l(`focus`),[l])}}function wi({anchorRef:e,content:t,placement:n,interest:r}){let i=r.tooltip;return i==null?null:(0,A.jsx)(ae,{value:r.interestRef,children:(0,A.jsx)(i,{anchorRef:e,content:t,placement:n})})}function Ti(e){let t=e.clientWidth||(e instanceof HTMLElement?e.offsetWidth:0);return t>0&&e.scrollWidth>t}function Ei(e){let t=e.ownerDocument.defaultView?.getComputedStyle(e);return t!=null&&t.position===`absolute`&&(t.clip!==``&&t.clip!==`auto`||t.clipPath!==``&&t.clipPath!==`none`)}var Di=`input, textarea, select, [contenteditable]:not([contenteditable="false"]), [role="combobox"], [role="listbox"], [role="searchbox"], [role="spinbutton"], [role="slider"], [role="textbox"]`;function Oi(e){return e.closest(`[hidden], [aria-hidden="true"], ${Di}`)!=null||Ei(e)}function ki(e){return Ti(e)||[...e.querySelectorAll(`*`)].some(e=>!Oi(e)&&Ti(e))}function Ai(e){let t=``,n=e=>{e.nodeType===Node.TEXT_NODE?t+=e.textContent??``:e instanceof Element&&!Oi(e)&&e.childNodes.forEach(n)};return n(e),t.replace(/\s+/g,` `).trim()}function ji({anchorRef:e,measureRef:t,isEnabled:n,isSuppressed:r}){let[i,a]=(0,E.useState)(null),[o,c]=(0,E.useState)(()=>Si.loaded()?.UndescribedTooltip??null),l=te(e,n);(0,E.useEffect)(()=>{if(!n||o!=null)return;let e=!0;return Si.load().then(t=>{e&&c(()=>t.UndescribedTooltip)},()=>{}),()=>{e=!1}},[n,o]);let u=(0,E.useCallback)(()=>a(null),[]);return{cutText:i,Tooltip:o,hide:u,onFocus:i=>{let o=e.current,c=t?.current??o,u=i.target;if(!n||o==null||c==null||!s(u)||!o.contains(u)||!u.matches(`:focus-visible`)||l()!==`keyboard`)return;let d=Ai(c),f=d!==``&&!(r?.(o)??!1)&&ki(c);a(f?d:null)},onBlur:t=>{let n=t.relatedTarget;s(n)&&e.current?.contains(n)||a(null)},onPointerDown:u}}function Z(...e){return t=>{for(let n of e)if(n?.(t),t.defaultPrevented)return}}var Mi=ee(`TextClampContext`,1,!1),Ni={body:`primary`,large:`primary`,label:`primary`,supporting:`secondary`,code:`primary`,"display-1":`primary`,"display-2":`primary`,"display-3":`primary`,inherit:`inherit`};function Pi(e){return e in ni?e:`body`}function Fi(e){return e in $r?e:`primary`}function Ii({type:e=`body`,size:t,color:n,weight:r,display:i=`inline`,maxLines:a=0,hasTruncateTooltip:o=!0,wordBreak:s,textWrap:c,justify:l=`start`,hasCapsize:u=!1,hasStrikethrough:d=!1,hasTabularNumbers:f=!1,xstyle:p,className:h,style:_,as:v=`span`,children:ee,ref:te,...y}){let b=n??Ni[e]??`primary`,x=Pi(e),re=Fi(b),ie=s??(a===1?`break-all`:`break-word`),ae=a>0||u?`block`:i,C=mi({maxLines:o===!1?0:a}),w=typeof o==`string`?o:`above`,oe=a>0&&o!==!1&&C.isTruncated,T=Ci(oe),se=(0,E.useRef)(null),ce=ne(te,C.ref,se),le=(0,E.use)(Mi),ue=a===1||a>1&&!u,de=a>1?{WebkitLineClamp:a}:void 0;return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(v,{ref:ce,...S(g(`text`,{type:e,size:t,color:b}),m($r[re],ni[x],t&&ri[t],ti[x],r&&ei[r],a===1?oi.singleLine:a>1?oi.multiLine:ai[ae],a>0&&si[ie],c&&ci[c],l!==`start`&&fi[l],u&&li.enabled,d&&ui.strikethrough,f&&di.enabled,p),h,{..._,...de}),...y,onPointerEnter:Z(T.onPointerEnter,y.onPointerEnter),onPointerLeave:Z(T.onPointerLeave,y.onPointerLeave),onPointerDown:Z(T.onPointerDown,y.onPointerDown),onFocus:Z(T.onFocus,y.onFocus),onBlur:Z(T.onBlur,y.onBlur),children:(0,A.jsx)(Mi,{value:ue||le,children:ee})}),oe&&T.isWanted&&(0,A.jsx)(wi,{anchorRef:se,content:(0,A.jsx)(`span`,{...m(pi.content),children:C.fullText}),placement:w,interest:T})]})}Ii.displayName=`Text`;var Li={"@astryx.spinner.loading":`Loading`},Ri={turn:{k6sLGO:`x1so62im`,k44tkh:`xidn0ey x14hxw50`,ko0y90:`xa4qsjk`,kKVMdj:`x129v4ae`,kyAemX:`x1esw782`,$$css:!0}},Q=c(`spinner/spinner-rotor/state`,1,()=>({pendingRotors:new Set,flushScheduled:!1}));function zi(){Q.flushScheduled=!1;let e=[];for(let t of Q.pendingRotors)e.push(...t.getAnimations());Q.pendingRotors.clear();for(let t of e)t.startTime=0}function Bi(e){if(e!=null&&typeof e.getAnimations==`function`)return Q.pendingRotors.add(e),Q.flushScheduled||(Q.flushScheduled=!0,requestAnimationFrame(zi)),()=>{Q.pendingRotors.delete(e)}}function Vi(e){return e==null?null:(typeof e==`string`?de(e):e)?.indicators??null}function Hi(e){return Vi(Pe())?.[e]}On(Li);var Ui=.375,Wi={sm:{diameter:10,border:2},md:{diameter:14,border:3},lg:{diameter:18,border:3},xl:{diameter:28,border:4}},Gi=[`--_spinner-ring-diameter`,`--_spinner-ring-stroke`],Ki=`--_spinner-box-size`;function qi(){if(typeof CSS<`u`&&typeof CSS.registerProperty==`function`)for(let e of Gi)try{CSS.registerProperty({name:e,syntax:`<length>`,inherits:!0,initialValue:`0px`})}catch{}}qi();var $={themeSpinner:{k1xSpc:`x1lliihq`,kJuA4N:`x15r89dc`,kzqmXN:`xh8yej3`,kZKoxP:`x5yr21d`,$$css:!0},wrapper:{k1xSpc:`x3nfvp2`,kXwgrk:`xdt5ytf`,kGNEyG:`x6s0dn4`,kOIVth:`x1txdalj`,$$css:!0},spinner:{k1xSpc:`xwz0xwf`,kgQiWS:`x1ku5rj1`,kXLuUW:`xxymvpz`,"--_spinner-ring-diameter":`x2lq4xu`,"--_spinner-ring-stroke":`x10qssua`,"--_spinner-box-size":`x69vvuq`,kmuXW:`x2lah0s`,$$css:!0},rotor:{k1xSpc:`x1lliihq`,kJuA4N:`x15r89dc`,kzqmXN:`x6v0vjy`,kZKoxP:`x7yyq19`,$$css:!0},circle:{kDwRjp:`xbh8q5q`,kR8GR0:`x1764fhq`,k3nNDw:`x1g0ag68`,kU5bRw:`x1owpc8m`,kPFa82:`xio8zfp`,kfJifR:`xgw3ha0`,$$css:!0},track:{kjVXCG:`xalkhop`,$$css:!0}},Ji={sm:{"--spinner-diameter":`x11wm0hx`,"--spinner-stroke-width":`xls98ul`,"--spinner-arc-fraction":`x7o5821`,$$css:!0},md:{"--spinner-diameter":`x15pu9g6`,"--spinner-stroke-width":`xr0wkrm`,"--spinner-arc-fraction":`x7o5821`,$$css:!0},lg:{"--spinner-diameter":`x1w424tr`,"--spinner-stroke-width":`xr0wkrm`,"--spinner-arc-fraction":`x7o5821`,$$css:!0},xl:{"--spinner-diameter":`x1orj1z9`,"--spinner-stroke-width":`x7y2bof`,"--spinner-arc-fraction":`x7o5821`,$$css:!0}},Yi={default:{"--spinner-color":`xt1b8mc`,"--spinner-track-color":`xspt9s2`,$$css:!0},subtle:{"--spinner-color":`x1jevo6s`,"--spinner-track-color":`xspt9s2`,$$css:!0},onMedia:{"--spinner-color":`x13u6jys`,"--spinner-track-color":`x1ufpcf6`,$$css:!0},inherit:{"--spinner-color":`x1uzk0gl`,"--spinner-track-color":`xbfzqbu`,$$css:!0}},Xi={default:{kDd8S0:`x1g350g8`,$$css:!0},subtle:{kDd8S0:`x1g350g8`,$$css:!0},onMedia:{kDd8S0:`x1smxkh6`,$$css:!0},inherit:{kDd8S0:`x7bo2k`,$$css:!0}};function Zi({size:e=`md`,shade:t=`default`,label:n,xstyle:r,className:i,style:a,"aria-label":o,"data-testid":s,ref:c,...l}){let{border:u,diameter:d}=Wi[e],f=d+u*2,p=Math.PI*d,h=p*Ui,_=n!=null,v=(0,E.useId)(),ee=Fn(),te=(0,E.useRef)(null),ne=(0,E.useMemo)(()=>y(te,c),[c]),b=_&&typeof n==`string`&&o==null,x=o??(typeof n==`string`?n:void 0)??ee(`@astryx.spinner.loading`),re=(0,E.use)(Qr),ie=l[`aria-hidden`]===!0||l[`aria-hidden`]===`true`,ae=l.role;se(te,!re&&!ie&&(ae==null||ae===`progressbar`),``,{skipFirstRender:!0,fallbackText:x});let C=Hi(`spinner`),w=(0,A.jsx)(`span`,{ref:_?void 0:ne,role:`progressbar`,"aria-label":b?void 0:x,"aria-labelledby":b?v:void 0,"data-testid":_?void 0:s,..._?{}:l,...S(_?``:g(`spinner`,{size:e,shade:t}),m($.spinner,!_&&Ji[e],!_&&Yi[t],!_&&r),_?void 0:i,{..._?{}:a,width:`var(${Ki}, ${f}px)`,height:`var(${Ki}, ${f}px)`}),children:C?(0,A.jsx)(C,{state:`busy`,xstyle:$.themeSpinner}):(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(`svg`,{width:0,height:0,"aria-hidden":`true`,className:`xlp1x4z x1lliihq x15r89dc x6v0vjy x7yyq19 x1rea2x4`,children:(0,A.jsx)(`circle`,{cx:`50%`,cy:`50%`,r:d/2,strokeWidth:u,...m($.circle,$.track,Xi[t])})}),(0,A.jsx)(`span`,{ref:Bi,"aria-hidden":`true`,...m($.rotor,Ri.turn),children:(0,A.jsx)(`svg`,{width:f,height:f,className:`xlp1x4z x1lliihq x15r89dc x6v0vjy x7yyq19 x1rea2x4`,children:(0,A.jsx)(`circle`,{cx:`50%`,cy:`50%`,r:d/2,strokeWidth:u,strokeDasharray:`${h} ${p-h}`,className:`xbh8q5q x1764fhq x1g0ag68 x1owpc8m xio8zfp xgw3ha0 xtve3lm x9tu13d xdv9ggb`})})})]})});return _?(0,A.jsxs)(`div`,{ref:ne,"data-testid":s,...l,...S(g(`spinner`,{size:e,shade:t}),m($.wrapper,Ji[e],Yi[t],r),i,a),children:[w,typeof n==`string`?(0,A.jsx)(Ii,{id:v,type:`body`,weight:`bold`,children:n}):n]}):w}Zi.displayName=`Spinner`;function Qi({children:e,as:t=`span`,ref:n,...r}){let{xstyle:i,className:a,style:o,...s}=r;return(0,E.createElement)(t,{ref:n,...s,className:`x10l6tqk x1i1rx1s xjm9jq1 xkdpibf x1717udv xb3r6kr xzpqnlu xuxw1ft xng3xce x13vifvy x1o0tod x47corl x87ps6o`},e)}Qi.displayName=`VisuallyHidden`;var $i={"--astryx-press-alpha":`var(--astryx-press-alpha)`,__varGroupHash__:`x1qqxm5o`};o[`--duration-exit`],`${o[`--duration-exit`]}${ie.duration}`;var ea=$i[`--astryx-press-alpha`];`${i[`--color-overlay-hover`]}${i[`--color-overlay-hover`]}`,`${i[`--color-overlay-pressed`]}${i[`--color-overlay-pressed`]}`,`${i[`--color-neutral`]}${i[`--color-neutral`]}`,`${i[`--color-overlay-pressed`]}${ea}`,u[`--ease-exit`];var ta={backgroundColor:{"--astryx-press-alpha":`x11z29ks xli5ek3`,kKVMdj:`x14e4jsf`,k44tkh:`xem8lmn xogcwkh`,kyAemX:`x1t1ddl7`,kWV6AL:`xziyay6`,"--_press-paint":`xz2mauf`,"--_press-paint-image":`x1l7afqf`,kWkggS:`xjbqb8w x1anq1lc x1s5nr2v x13ugjdw xl8sb5e xoevpu5 xprvw0a`,kKwaWg:`x7ngsy6 xubczrd`,$$css:!0},backgroundImage:{"--astryx-press-alpha":`x11z29ks xli5ek3`,kKVMdj:`x14e4jsf`,k44tkh:`xem8lmn xogcwkh`,kyAemX:`x1t1ddl7`,kWV6AL:`xziyay6`,"--_press-paint":`xz2mauf`,"--_press-paint-image":`x1l7afqf`,kKwaWg:`x7uyq82 x3f84ok x7ngsy6 xubczrd xmvprkv xetgvay`,$$css:!0},backgroundImageOnNeutral:{"--astryx-press-alpha":`x11z29ks xli5ek3`,kKVMdj:`x14e4jsf`,k44tkh:`xem8lmn xogcwkh`,kyAemX:`x1t1ddl7`,kWV6AL:`xziyay6`,"--_press-paint":`xz2mauf`,"--_press-paint-image":`x1l7afqf`,kKwaWg:`x14bno8m xzmimnh xvbnuu x5rw36h x1qxwyo6 x1otsd3y xo3fi6e`,$$css:!0},pressedBackgroundColor:{"--astryx-press-alpha":`x11z29ks xli5ek3`,kKVMdj:`x14e4jsf`,k44tkh:`xem8lmn xogcwkh`,kyAemX:`x1t1ddl7`,kWV6AL:`xziyay6`,"--_press-paint":`xz2mauf`,"--_press-paint-image":`x1l7afqf`,kWkggS:`x1anq1lc x1s5nr2v x13ugjdw xl8sb5e`,kKwaWg:`x7ngsy6 xubczrd`,$$css:!0},pressedAlpha:{"--astryx-press-alpha":`x11z29ks xli5ek3`,kKVMdj:`x14e4jsf`,k44tkh:`xem8lmn xogcwkh`,kyAemX:`x1t1ddl7`,kWV6AL:`xziyay6`,"--_press-paint":`xz2mauf`,"--_press-paint-image":`x1l7afqf`,$$css:!0}};function na(){return(0,E.useEffect)(()=>T(),[]),oe}function ra(e){return e!=null&&typeof e!=`boolean`&&e!==``}$i[`--astryx-press-alpha`],`${i[`--color-overlay-hover`]}${i[`--color-overlay-hover`]}`,`${i[`--color-overlay-pressed`]}${i[`--color-overlay-pressed`]}`,o[`--duration-exit`],`${o[`--duration-exit`]}${ie.duration}`,u[`--ease-exit`],`${l[`--border-width`]}`;var ia={cell:{kKwaWg:`x7ngsy6 x10ogxw0 xubczrd x18xnkjv`,kKVMdj:`x14e4jsf x6su2wr`,kHBbk8:`xif6eam`,kgeoSG:`x1ocadqd`,kEoFBp:`x1ukh9kf`,kFcpXp:`xrkptjy`,kxmVGU:`xjscm90`,kPB484:`x1kec4ew`,km8f2m:`x13r5q6d`,kLkRvE:`x1dn949c`,k5QlbN:`xw7rim2 xr9xsjc`,k7EzDT:`x1bxn267`,kQZAMR:`x1osot8d xbkwwzw`,kZiNAr:`x10t12yn`,k8Tatv:`x1dn5vsf`,$$css:!0},overDividers:{kGVxlE:`x1a8j72w x1gmmbal xnwmnb6 x1smloqv xmo6azi x1spxf8v xvofup6 xv3779j xrpmvov`,k96MEf:`x1v1ro1q`,k5Ofw7:`x1rj2gwv`,$$css:!0},cellWithoutLayer:{kKwaWg:`x18o3ruo`,kKVMdj:`x14e4jsf`,kHBbk8:`xrqzsdu`,kgeoSG:`x1995whq`,$$css:!0},cellOnImage:{kKwaWg:`x7uyq82 x3f84ok x7ngsy6 x10ogxw0 xubczrd x18xnkjv xmvprkv xetgvay`,$$css:!0},cellOnImagePressOnly:{kKwaWg:`x7uyq82 x3f84ok x7ngsy6 x10ogxw0 xubczrd x18xnkjv`,$$css:!0}},aa={control:{k6sLGO:`x1mrddfy`,$$css:!0}},oa={handDown:{"--_indicator-press-image":`x1dueop1 x189o2zt`,"--_indicator-active-press":`x1qwhovg x858ff1`,$$css:!0},activeFill:{ks3ayO:`xyhc2n1 xur6jaf xtawv5c`,$$css:!0},image:{kNctxI:`x178sc5r x1d4iov5`,$$css:!0}},sa=x(`LinkContext`,1,null);sa.displayName=`LinkContext`;function ca(e){function t({href:t,to:n,ref:r,...i}){return!w(t)||!w(n)?(0,E.createElement)(`a`,{ref:r,...i}):e===`a`?(0,E.createElement)(`a`,{ref:r,...i,href:t}):(0,E.createElement)(e,{ref:r,...i,href:t,to:n??t})}return t.displayName=`SafeLink(${typeof e==`string`?e:e.displayName||e.name||`Component`})`,t}function la(e){let t=(0,E.use)(sa),n=e??t?.component??`a`;return(0,E.useMemo)(()=>ca(n),[n])}export{Me as $,pi as A,Fn as B,ti as C,ni as D,ii as E,In as F,Ye as G,st as H,L as I,ge as J,Ke as K,Vn as L,si as M,Zr as N,ci as O,Xr as P,me as Q,Bn as R,ui as S,fi as T,et as U,On as V,at as W,he as X,fe as Y,pe as Z,xi as _,ra as a,li as b,Qi as c,Ii as d,Fe as et,Fi as f,Ci as g,ji as h,ia as i,ei as j,oi as k,Zi as l,wi as m,aa as n,ue as nt,na as o,Z as p,We as q,oa as r,ta as s,la as t,Pe as tt,Vi as u,hi as v,ai as w,$r as x,mi as y,Wn as z};
|
|
4
|
+
`,`MISSING_INTL_API`,o);let e=typeof l==`bigint`?Number(l):l,r=n.getPluralRules(t,{type:c.pluralType}).select(e-(c.offset||0));a=(Object.prototype.hasOwnProperty.call(c.options,r)?c.options[r]:void 0)||c.options.other}if(!a)throw new hn(c.value,l,Object.keys(c.options),o);let u=typeof l==`bigint`?Number(l):l;s.push(...bn(a.value,t,n,r,i,u-(c.offset||0)))}}}return vn(s)}function xn(e,t){return t?{...e,...t,...Object.keys(e).reduce((n,r)=>(n[r]={...e[r],...t[r]},n),{})}:e}function Sn(e,t){return t?Object.keys(e).reduce((n,r)=>(n[r]=xn(e[r],t[r]),n),{...e}):e}function Cn(e){return{create(){return{get(t){return e[t]},set(t,n){e[t]=n}}}}}function wn(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:ct((...e)=>new Intl.NumberFormat(...e),{cache:Cn(e.number),strategy:yt.variadic}),getDateTimeFormat:ct((...e)=>new Intl.DateTimeFormat(...e),{cache:Cn(e.dateTime),strategy:yt.variadic}),getPluralRules:ct((...e)=>new Intl.PluralRules(...e),{cache:Cn(e.pluralRules),strategy:yt.variadic})}}var Tn=class e{constructor(t,n=e.defaultLocale,r,i){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=e=>{let t=this.formatToParts(e);if(t.length===1)return t[0].value;let n=t.reduce((e,t)=>(!e.length||t.type!==0||typeof e[e.length-1]!=`string`?e.push(t.value):e[e.length-1]+=t.value,e),[]);return n.length<=1?n[0]||``:n},this.formatToParts=e=>bn(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t==`string`){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");let{...n}=i||{};this.ast=e.__parse(t,{...n,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError(`A message must be provided as a String or AST.`);this.formats=Sn(e.formats,r),this.formatters=i&&i.formatters||wn(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return e.memoizedDefaultLocale||=new Intl.NumberFormat().resolvedOptions().locale,e.memoizedDefaultLocale}static{this.resolveLocale=e=>{if(Intl.Locale===void 0)return;let t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale(typeof e==`string`?e:e[0])}}static{this.__parse=pn}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:`currency`},percent:{style:`percent`}},date:{short:{month:`numeric`,day:`numeric`,year:`2-digit`},medium:{month:`short`,day:`numeric`,year:`numeric`},long:{month:`long`,day:`numeric`,year:`numeric`},full:{weekday:`long`,month:`long`,day:`numeric`,year:`numeric`}},time:{short:{hour:`numeric`,minute:`numeric`},medium:{hour:`numeric`,minute:`numeric`,second:`numeric`},long:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`},full:{hour:`numeric`,minute:`numeric`,second:`numeric`,timeZoneName:`short`}}}}},En=r(p(`i18n/english-fallback`,1),()=>({})),Dn=En;function On(e){Object.assign(En,e)}var kn=new Map;function An(e,t){let n=`${t}::${e}`,r=kn.get(n);return r===void 0&&(r=new Tn(e,t),kn.set(n,r)),r}function jn(e){let t;try{t=new Intl.Locale(e).baseName}catch{t=e}let n=t.split(`-`),r=[];for(let e=n.length;e>0;e--)r.push(n.slice(0,e).join(`-`));return r}function Mn(e,t,n){let r={},i=jn(e);if(n!==void 0){for(let e of i)if(n[e])for(let[t,i]of Object.entries(n[e]))r[t]===void 0&&i!==null&&(r[t]=i)}for(let e of i)if(t[e])for(let[n,i]of Object.entries(t[e])){let e=typeof i==`string`?i:i?.defaultMessage;r[n]===void 0&&e!=null&&(r[n]=e)}return r}function Nn(e,t,n,r=Dn){let i=Mn(e,t,n);return(t,n)=>{let a=i[t]??r[t];return a===void 0?(`${e}${t}`,`${t}${e}`,t):n===void 0?a:An(a,e).format(n)}}ot.translate??=Nn(`en`,{});var Pn=st;function Fn(){return(0,E.use)(Pn).translate}var F={top:0,right:0,bottom:0,left:0},In={top:`--astryx-hit-inset-top`,right:`--astryx-hit-inset-right`,bottom:`--astryx-hit-inset-bottom`,left:`--astryx-hit-inset-left`};function Ln(e,t){return{x:Math.max(t.left-e.right,e.left-t.right),y:Math.max(t.top-e.bottom,e.top-t.bottom)}}function I(e,t){return{left:e.left-t.left,top:e.top-t.top,right:e.right+t.right,bottom:e.bottom+t.bottom}}function Rn(e,t){return e.left<t.right&&t.left<e.right&&e.top<t.bottom&&t.top<e.bottom}function zn(e,t){let n=Math.max(0,(t-(e.right-e.left))/2),r=Math.max(0,(t-(e.bottom-e.top))/2);return{top:r,right:n,bottom:r,left:n}}function Bn(e,t,n=44){if(t.length===0)return F;let r={top:-1/0,right:-1/0,bottom:-1/0,left:-1/0};for(let i of t){let t=zn(i,n);r.top=Math.max(r.top,t.top-(i.top-e.top)),r.right=Math.max(r.right,t.right-(e.right-i.right)),r.bottom=Math.max(r.bottom,t.bottom-(e.bottom-i.bottom)),r.left=Math.max(r.left,t.left-(i.left-e.left))}return r}function Vn(e,t,n=44,r=zn(e,n)){if(r.top===0&&r.right===0&&r.bottom===0&&r.left===0)return F;let i={...r};for(let a of t){let t=Ln(e,a);if(t.x<0&&t.y<0)continue;let o={top:Math.max(0,t.y)/2,right:Math.max(0,t.x)/2,bottom:Math.max(0,t.y)/2,left:Math.max(0,t.x)/2},s=I(e,r),c=I(a,zn(a,n));(Rn(s,I(a,o))||Rn(c,I(e,o))||Rn(s,c))&&(t.x>=t.y?a.left>=e.right?i.right=Math.min(i.right,o.right):i.left=Math.min(i.left,o.left):a.top>=e.bottom?i.bottom=Math.min(i.bottom,o.bottom):i.top=Math.min(i.top,o.top))}return i}function Hn(e,t,n){return t>=e.left&&t<=e.right&&n>=e.top&&n<=e.bottom}function Un(e,t,n){let r=Math.max(e.left-t,0,t-e.right),i=Math.max(e.top-n,0,n-e.bottom);return Math.hypot(r,i)}function Wn(e,t,n,r=44){let i=-1,a=1/0;if(n.forEach((n,r)=>{let o=Un(n,e,t)*1e6+Math.hypot(e-(n.left+n.right)/2,t-(n.top+n.bottom)/2);o<a&&(i=r,a=o)}),i===-1)return-1;let o=n[i];return Hn(I(o,zn(o,r)),e,t)?i:-1}function Gn(e,t){for(let n of[`top`,`right`,`bottom`,`left`])e.style.setProperty(In[n],`${t[n]}px`)}var L=`a[href].area[href].button.input:not([type="hidden"]).select.textarea.summary.label[for].[contenteditable=""].[contenteditable="true"].[role="button"].[role="link"].[role="checkbox"].[role="radio"].[role="switch"].[role="tab"].[role="menuitem"].[role="menuitemcheckbox"].[role="menuitemradio"].[role="treeitem"].[role="combobox"].[role="textbox"].[role="searchbox"].[role="spinbutton"].[role="option"].[role="slider"].[tabindex]:not([tabindex="-1"])`.split(`.`).join(`,`),Kn=`(pointer: coarse)`,qn=4,Jn=100,Yn=150,Xn={capture:!0,passive:!0},Zn={childList:!0,subtree:!0,attributes:!0,attributeFilter:[`href`,`type`,`for`,`contenteditable`,`role`,`tabindex`]};function Qn(){return typeof performance>`u`?Date.now():performance.now()}var R=new Map,z=new Set,$n=new WeakMap,B=new Map,V=null,H=null,er=null,U=null,W=null,G=null,K=!1,q=null,tr=null,nr=null,J=c(`utils/hit-area/scroll-gate`,1,()=>({isScrolling:!1,timer:void 0,stop:null,onEnd:new Set}));function rr(){nr?.(),nr=null,tr=null,q=null}function ir(e,t){return e.top===t.top&&e.right===t.right&&e.bottom===t.bottom&&e.left===t.left}function ar(e,t){ir(e.last,t)||(e.last=t,e.onInsets(t))}function or(e,t){let{element:n}=e;if(t===n||t.contains(n)||n.contains(t))return!0;let r=t.control;return r!=null&&n.contains(r)}function sr(e){let{left:t,top:n,right:r,bottom:i}=e.getBoundingClientRect();return{left:t,top:n,right:r,bottom:i}}var cr={x:1,y:1};function lr(e,t,n){if(!(t>0)||!(e>0))return 1;let r=e/t;return Math.abs(r-1)<n?1:r}var ur={pixels:1,ratio:.001};function dr(e){let t=e.ownerDocument.defaultView?.getComputedStyle(e);if(t==null||!t.width.endsWith(`px`))return null;let n=e=>Number.parseFloat(e)||0,r=t.boxSizing!==`border-box`;return{width:n(t.width)+(r?n(t.paddingLeft)+n(t.paddingRight)+n(t.borderLeftWidth)+n(t.borderRightWidth):0),height:n(t.height)+(r?n(t.paddingTop)+n(t.paddingBottom)+n(t.borderTopWidth)+n(t.borderBottomWidth):0)}}function fr(e,t,n){let r=e,i=r.offsetWidth??0,a=r.offsetHeight??0;if(i===0||a===0||n.pixels>0&&Math.abs(t.right-t.left-i)<=n.pixels&&Math.abs(t.bottom-t.top-a)<=n.pixels)return cr;let o=dr(e);if(o==null)return cr;let{width:s,height:c}=o;return{x:lr(t.right-t.left,s,n.ratio),y:lr(t.bottom-t.top,c,n.ratio)}}function pr(e,t,n){return n.x===1&&n.y===1?e:{left:t.left+(e.left-t.left)/n.x,top:t.top+(e.top-t.top)/n.y,right:t.left+(e.right-t.left)/n.x,bottom:t.top+(e.bottom-t.top)/n.y}}function Y(e){for(let t=e;t!=null;t=t.parentElement)if(R.has(t))return t;return null}function mr(e){if(typeof MutationObserver>`u`?q=null:tr===e?v(Zn):(rr(),tr=e,nr=_(e,Zn,gr)),q!=null){for(let e of q)e.isConnected||q.delete(e);return[...q]}let t=new Set;return hr(t,e),q=t,[...t]}function hr(e,t){s(t)&&t.matches(L)&&e.add(Y(t)??t);for(let n of t.querySelectorAll(L))e.add(Y(n)??n)}function gr(e){let t=q;if(t!=null)for(let n of e){if(n.type!==`attributes`){n.addedNodes.forEach(e=>{s(e)&&hr(t,e)});continue}let{target:e}=n;s(e)&&(e.matches(L)?t.add(Y(e)??e):R.has(e)||t.delete(e))}}function _r(e){if(e.matches(L))return!0;for(let t of e.querySelectorAll(L))if(Y(t)===e)return!0;return!1}function vr(e){let t=q;if(t==null)return;for(let n of e.querySelectorAll(L))t.delete(n);hr(t,e);let n=e.parentElement==null?null:Y(e.parentElement);n!=null&&t.has(n)&&!_r(n)&&t.delete(n)}function yr(e){let t=q;t!=null&&(t.delete(e),hr(t,e))}function br(e){return mr(e).map(e=>({element:e,rect:sr(e)}))}function xr(e,t){let n=sr(e.element),r=fr(e.element,n,ur),i=Math.max(0,e.minSize),a=I(n,{top:i*r.y,right:i*r.x,bottom:i*r.y,left:i*r.x}),o=t.filter(({element:t,rect:n})=>n.right>n.left&&n.bottom>n.top&&Rn(a,n)&&!or(e,t)).map(({rect:e})=>e);return{target:n,insets:Vn(pr(n,n,r),o.map(e=>pr(e,n,r)),e.minSize,e.growth?.(pr(n,n,r),e=>pr(e,n,r))),neighbours:o}}function Sr(e){return typeof e.getAnimations==`function`?(s(e)?e.getAnimations({subtree:!0}):e.getAnimations()).filter(e=>{if(e.playState!==`running`&&e.playState!==`paused`)return!1;let t=e.effect?.getComputedTiming().endTime;return typeof t==`number`&&Number.isFinite(t)}):[]}var Cr=/^(transform|translate|scale|rotate|offset[A-Z]\w*|inset\w*|top|right|bottom|left|(min|max)?(Width|Height|width|height|BlockSize|InlineSize)|blockSize|inlineSize|margin\w*|padding\w*)$/;function wr(e){let t=e.effect;return typeof t?.getKeyframes!=`function`||t.getKeyframes().some(e=>Object.keys(e).some(e=>Cr.test(e)))}function Tr(e){return Sr(e).filter(e=>e.playState===`running`&&wr(e))}function Er(e,t){Promise.allSettled(e.map(async e=>e.finished)).then(t)}function Dr(e,t){let n=!1;for(let r of t){let t=r.effect?.target;t!=null&&t!==e.element&&t.contains(e.element)&&(n=!0,e.heldBy.has(r)||(e.heldBy.add(r),Er([r],()=>{e.heldBy.delete(r),e.isVisible&&R.get(e.element)?.watches.has(e)&&X(e)})))}return n}function Or(){if(V=null,J.isScrolling)return;let e=[...z].filter(e=>e.isVisible);if(z.clear(),!K||e.length===0)return;let t=e[0].element.ownerDocument,n=Tr(t),r=e.filter(e=>!Dr(e,n));if(r.length===0)return;let i=br(t),a=Qn(),o=[];for(let e of r)o.length>0&&Qn()-a>qn?z.add(e):o.push({watch:e,insets:xr(e,i).insets});for(let{watch:e,insets:t}of o)ar(e,t);z.size>0&&kr()}function kr(){V==null&&!J.isScrolling&&typeof requestAnimationFrame==`function`&&(V=requestAnimationFrame(Or))}function Ar(){J.isScrolling=!0,J.timer!==void 0&&clearTimeout(J.timer),J.timer=setTimeout(jr,Yn)}function jr(){if(J.timer!==void 0&&(clearTimeout(J.timer),J.timer=void 0),J.isScrolling){J.isScrolling=!1;for(let e of[...J.onEnd])e()}}function Mr(){z.size>0&&kr()}function X(e){K&&(z.add(e),kr())}function Nr(){for(let e of R.values())e.watches.forEach(X)}function Pr(e){for(let t=e.target instanceof Element?e.target:null;t!=null;t=t.parentElement)if(R.has(t)){Fr(t,e);return}}function Fr(e,t){let n=R.get(e);if(n==null||(n.disarm?.(),!K||t.pointerType!==`touch`))return;let r=[...n.watches].filter(e=>e.checkAtPress);if(r.length===0)return;let i={x:t.clientX,y:t.clientY,target:t.target},a=r.some(e=>e.heldBy.size>0),o=a&&Rr(e,n,r,i,br(e.ownerDocument));if(a&&!o)return;let s=t=>{u(),t.detail!==0&&(o||zr(e,n,r,i))&&(t.preventDefault(),t.stopPropagation())},c=e.ownerDocument,l=null,u=()=>{e.removeEventListener(`click`,s,!0),e.removeEventListener(`pointercancel`,u,!0),l?.(),l=null,n.disarm===u&&(n.disarm=null)};e.addEventListener(`click`,s,!0),e.addEventListener(`pointercancel`,u,!0);let d=c.defaultView;d!=null&&(l=m(d,`pointerdown`,u)),n.disarm=u}function Ir(e,t){let n=e.ownerDocument.defaultView?.getComputedStyle(e).transform,r=/^matrix\(([^,]+),[^,]+,[^,]+,([^,]+),/.exec(n??``);if(r==null)return t;let i=Number.parseFloat(r[1]),a=Number.parseFloat(r[2]);if(!(i>0)||!(a>0))return t;let o=(t.left+t.right)/2,s=(t.top+t.bottom)/2,c=(t.right-t.left)/i/2,l=(t.bottom-t.top)/a/2;return{left:o-c,top:s-l,right:o+c,bottom:s+l}}function Lr(e){let{element:t}=e,n=Sr(t);n.length===0?X(e):Er(n,()=>{R.get(t)?.watches.has(e)&&X(e)})}function Rr(e,t,n,r,i){let a=!1;for(let e of n){let{target:t,insets:n,neighbours:o}=xr(e,i),s=Un(Ir(e.element,t),r.x,r.y);a||=o.some(e=>Un(e,r.x,r.y)<s),ir(e.last,n)||Lr(e)}let o=[...t.watches].some(e=>e.ownsDescendantTouches)&&r.target instanceof Node&&r.target!==e&&e.contains(r.target);return a&&!o}function zr(e,t,n,r){let i=e.ownerDocument,a=Tr(i),o=(e,t)=>a.some(n=>{let r=n.effect?.target;return r!=null&&r.contains(e)&&(t||r!==e)});return!o(e,!1)&&Rr(e,t,n,r,br(i).filter(e=>!o(e.element,!0)))}function Br(e){let t=B.get(e);t!=null&&clearTimeout(t),B.set(e,setTimeout(()=>{B.delete(e);for(let[t,n]of R)t.parentElement===e&&n.watches.forEach(X)},Jn))}function Vr(e,t){let n=e.parentElement;W?.observe(e),G?.observe(e),n!=null&&G?.observe(n);let r=n==null?null:d(n,()=>Br(n));t.release=()=>{W?.unobserve(e),G?.unobserve(e);let i=[...R.keys()].some(t=>t!==e&&t.parentElement===n);if(n!=null&&!i){G?.unobserve(n);let e=B.get(n);e!=null&&(clearTimeout(e),B.delete(n))}r?.(),t.disarm?.()}}function Hr(){if(H!=null){if(H.addEventListener(`resize`,Nr),J.stop==null){let e=m(H,`scroll`,Ar),t=m(H,`scrollend`,jr);J.stop=()=>{e(),t()}}J.onEnd.add(Mr),er=H.document,er.addEventListener(`pointerdown`,Pr,Xn),typeof IntersectionObserver==`function`&&(W=new IntersectionObserver(e=>{for(let t of e)R.get(t.target)?.watches.forEach(e=>{e.isVisible=t.isIntersecting,e.isVisible?X(e):z.delete(e)})})),typeof ResizeObserver==`function`&&(G=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect,r=`${e}x${n}`,i=$n.get(t.target);if($n.set(t.target,r),i!==void 0&&i!==r)for(let[e,n]of R)(e===t.target||e.parentElement===t.target)&&n.watches.forEach(X)}}));for(let[e,t]of R)t.watches.forEach(e=>{e.isVisible=W==null}),Vr(e,t),W??t.watches.forEach(X)}}function Ur(){for(let e of R.values())e.release?.(),e.release=null;H?.removeEventListener(`resize`,Nr),J.onEnd.delete(Mr),J.onEnd.size===0&&(J.stop?.(),J.stop=null,J.timer!==void 0&&(clearTimeout(J.timer),J.timer=void 0),J.isScrolling=!1),er?.removeEventListener(`pointerdown`,Pr,Xn),er=null,W?.disconnect(),G?.disconnect(),W=null,G=null,B.forEach(e=>clearTimeout(e)),B.clear(),rr(),V!=null&&typeof cancelAnimationFrame==`function`&&cancelAnimationFrame(V),V=null,z.clear()}function Wr(){let e=U?.matches??!1;if(e!==K){if(K=e,K)Hr();else{Ur();for(let e of R.values())e.watches.forEach(e=>ar(e,F))}}}function Gr(e,t,{minSize:n=44,ownsDescendantTouches:r=!1,growth:i,checkAtPress:a=!0}={}){let o=e.ownerDocument.defaultView;if(o==null)return()=>{};H=o;let s=o.matchMedia?.(Kn)??null;s!==U&&(U?.removeEventListener(`change`,Wr),U=s,U?.addEventListener(`change`,Wr)),Wr();let c={element:e,minSize:n,ownsDescendantTouches:r,growth:i,checkAtPress:a,onInsets:t,isVisible:K&&W==null,last:F,heldBy:new Set},l=R.get(e);return l==null?(l={watches:new Set,release:null,disarm:null},R.set(e,l),vr(e),l.watches.add(c),K&&Vr(e,l)):(c.isVisible=[...l.watches][0]?.isVisible??c.isVisible,l.watches.add(c)),c.isVisible&&X(c),()=>{let t=R.get(e);t!=null&&t.watches.delete(c)&&(z.delete(c),t.watches.size===0&&(t.release?.(),R.delete(e),yr(e)),R.size===0&&(Ur(),U?.removeEventListener(`change`,Wr),U=null,H=null,K=!1))}}var Kr={};function qr(e,t,{growth:n,checkAtPress:r,ownsDescendantTouches:i=!0}){let a=()=>{},o=!1,s=!1,c=!1,l=()=>{a(),c&&(c=!1,Gn(e,F))},u=()=>{a=Gr(e,t=>{let n=Sr(e.parentElement??e);n.length===0?(c=!0,Gn(e,t)):s||(s=!0,Er(n,()=>{s=!1,o||(l(),u())}))},{minSize:t,ownsDescendantTouches:i,growth:n==null?void 0:(t,r)=>n(t,r,e),checkAtPress:r})};return u(),()=>{o=!0,l()}}var Jr=new WeakMap;function Yr(e,t){let n=Jr.get(e);n??(n={stop:qr(e,44,t),holders:0},Jr.set(e,n)),n.holders+=1;let r=n,i=!1;return()=>{i||(i=!0,--r.holders,queueMicrotask(()=>{r.holders===0&&Jr.get(e)===r&&(Jr.delete(e),r.stop())}))}}function Xr(e,t=Kr){return(0,E.useCallback)(n=>{if(e&&n!=null)return Yr(n,t)},[e,t])}var Zr={layer:{k5JduY:`x1fjtqre`,kwXMNM:`x7b72wb`,kv0HGH:`x1ukc1h5`,kJYu5r:`x1c440c0`,$$css:!0},layerBelowChildren:{kgeoSG:`xrfab51`,kEoFBp:`xjupvsi`,kFcpXp:`xg52tuh`,ksxFz7:`x1la2cvp`,$$css:!0}},Qr=x(`SpinnerOwnerContext`,1,!1);Qr.displayName=`SpinnerOwnerContext`;var $r={primary:{kMwMTN:`x1tgivj0`,$$css:!0},secondary:{kMwMTN:`xv1l7n4`,$$css:!0},disabled:{kMwMTN:`xnbbluu`,$$css:!0},placeholder:{kMwMTN:`xv1l7n4`,$$css:!0},accent:{kMwMTN:`xjse4m1`,$$css:!0},inherit:{kMwMTN:`x1heor9g`,$$css:!0}},ei={normal:{k63SB2:`x1sodnla`,$$css:!0},medium:{k63SB2:`x1e4wzip`,$$css:!0},semibold:{k63SB2:`x2mo6ok`,$$css:!0},bold:{k63SB2:`x1lvx875`,$$css:!0}},ti={body:{k63SB2:`xxovm9e`,$$css:!0},large:{k63SB2:`x149oux8`,$$css:!0},label:{k63SB2:`xmhvcl5`,$$css:!0},code:{k63SB2:`xx3eeay`,$$css:!0},supporting:{k63SB2:`xv8on6e`,$$css:!0},"display-1":{k63SB2:`x1txul5o`,$$css:!0},"display-2":{k63SB2:`x1y36c3f`,$$css:!0},"display-3":{k63SB2:`x1on40hk`,$$css:!0},inherit:{k63SB2:`x1pd3egz`,$$css:!0}},ni={body:{kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,$$css:!0},large:{kGuDYH:`x18juvz8`,kLWn49:`xf74fhv`,$$css:!0},label:{kGuDYH:`xcr08ib`,kLWn49:`x1kq96og`,$$css:!0},code:{kGuDYH:`xp03k98`,kLWn49:`x17iicif`,kMv6JI:`x9m5x89`,$$css:!0},supporting:{kGuDYH:`x141an7d`,kLWn49:`x1ltkj2j`,$$css:!0},"display-1":{kGuDYH:`xsub3ws`,kLWn49:`x112ttwr`,$$css:!0},"display-2":{kGuDYH:`x1yego12`,kLWn49:`xh0iwvy`,$$css:!0},"display-3":{kGuDYH:`xlgnzhf`,kLWn49:`x1ujwuaq`,$$css:!0},inherit:{kGuDYH:`x1qlqyl8`,kLWn49:`x15bjb6t`,$$css:!0}},ri={"4xs":{kGuDYH:`xxc45ev`,$$css:!0},"3xs":{kGuDYH:`x10p7juq`,$$css:!0},"2xs":{kGuDYH:`x16a80zy`,$$css:!0},xsm:{kGuDYH:`x51wmvv`,$$css:!0},sm:{kGuDYH:`x1eqnyfr`,$$css:!0},base:{kGuDYH:`x1j29vfg`,$$css:!0},lg:{kGuDYH:`xc7cgfe`,$$css:!0},xl:{kGuDYH:`x1wqms48`,$$css:!0},"2xl":{kGuDYH:`xhs0kqb`,$$css:!0},"3xl":{kGuDYH:`x10srzze`,$$css:!0},"4xl":{kGuDYH:`xqcvi3d`,$$css:!0}},ii={1:{kGuDYH:`xcg7oai`,kLWn49:`xfmsba7`,k63SB2:`x1v68xuy`,$$css:!0},2:{kGuDYH:`x1xvnhcw`,kLWn49:`x1cpk1wn`,k63SB2:`x12yy4cs`,$$css:!0},3:{kGuDYH:`xii13ha`,kLWn49:`xwjzt0u`,k63SB2:`x1jcxfy8`,$$css:!0},4:{kGuDYH:`x8tkxat`,kLWn49:`xqerer`,k63SB2:`x2hcmsi`,$$css:!0},5:{kGuDYH:`xsgqta0`,kLWn49:`xo3gurs`,k63SB2:`xno150v`,$$css:!0},6:{kGuDYH:`xw5ohdf`,kLWn49:`xeixjfn`,k63SB2:`x1pw4frv`,$$css:!0}},ai={inline:{k1xSpc:`xt0psk2`,kHjlTd:`xh015us`,$$css:!0},block:{k1xSpc:`x1lliihq`,kHjlTd:`xh015us`,$$css:!0}},oi={singleLine:{kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,k1xSpc:`x1lliihq`,$$css:!0},multiLine:{kVQacm:`xb3r6kr`,k1xSpc:`x104kibb`,kgKLqz:`x1ua5tub`,$$css:!0}},si={"break-word":{kTgw9:`x1lldw8n`,kHjlTd:`x1mzt3pk`,$$css:!0},"break-all":{kTgw9:`x1yn0g08`,$$css:!0}},ci={wrap:{kN2L0X:`xk4td0m`,$$css:!0},nowrap:{kN2L0X:`xebhuq6`,$$css:!0},balance:{kN2L0X:`x1w2vvpw`,$$css:!0},pretty:{kN2L0X:`x1fzhlzt`,$$css:!0}},li={enabled:{kxwWH2:`x1b2iylo`,kzeHkT:`xwgcxoh`,k1xSpc:`x1lliihq`,$$css:!0}},ui={strikethrough:{kybGjl:`xmqliwb`,$$css:!0}},di={enabled:{kcqcaj:`xss6m8b`,$$css:!0}},fi={start:{k9WMMc:`x1yc453h`,$$css:!0},center:{k9WMMc:`x2b8uid`,$$css:!0},end:{k9WMMc:`xp4054r`,$$css:!0}},pi={content:{ks0D6T:`xw5ewwj`,kTgw9:`x13faqbe`,$$css:!0}};function mi(e){let{maxLines:t,isExpanded:n=!1}=e,[r,i]=(0,E.useState)(!1),[a,o]=(0,E.useState)(``),s=(0,E.useRef)({isTruncated:!1,fullText:``}),c=(0,E.useCallback)(e=>{s.current.isTruncated!==e&&(s.current.isTruncated=e,i(e))},[]),l=(0,E.useCallback)(e=>{s.current.fullText!==e&&(s.current.fullText=e,o(e))},[]),u=(0,E.useRef)(null),f=(0,E.useRef)(null),p=(0,E.useRef)(null),m=(0,E.useRef)({isTruncated:!1,fullText:``}),h=(0,E.useRef)(null),g=(0,E.useCallback)(e=>{if(t===0)c(!1);else if(m.current.fullText=e.textContent??``,l(m.current.fullText),t===1)m.current.isTruncated=e.scrollWidth>e.offsetWidth,c(m.current.isTruncated);else{let t=e.scrollHeight;try{let n=document.createRange();n.selectNodeContents(e),t=n.getBoundingClientRect().height,n.detach()}catch{}m.current.isTruncated=t>e.offsetHeight,c(m.current.isTruncated)}},[t,c,l]);return{ref:(0,E.useCallback)(e=>{f.current?.(),f.current=null,p.current?.(),p.current=null;let r=u.current;if(u.current=e,n){e==null?h.current=r:(c(m.current.isTruncated),l(m.current.fullText));return}let i=h.current;if(h.current=null,i!=null&&e!==i&&(m.current={isTruncated:!1,fullText:``},c(!1),l(``)),e&&t>0){let t=b(e,()=>{g(e)});t??g(e),f.current=t,p.current=d(e,()=>{g(e)})}else c(!1),l(``)},[t,n,g,c,l]),isTruncated:r,fullText:a}}function hi(e){let t=null,n=null;return{async load(){return n??=e().then(e=>(t=e,e),e=>{throw n=null,e}),n},loaded:()=>t}}var gi=`modulepreload`,_i=function(e){return`/`+e},vi={},yi=function(e){return e.pathname.endsWith(`.css`)},bi=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},xi=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=_i(t,n);let r=s(t),i=yi(r);return bi(vi,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:gi,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{let i=a=>{t.removeEventListener(`load`,i),t.removeEventListener(`error`,i),a.type===`error`?n(Error(`Unable to preload CSS for ${r}`)):e(a)};t.addEventListener(`load`,i),t.addEventListener(`error`,i)})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},Si=hi(async()=>xi(()=>import(`./index-Cbw2q6IR.js`).then(e=>e.Rt),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22])));function Ci(e){let[t,n]=(0,E.useState)(!1),[r,i]=(0,E.useState)(()=>Si.loaded()?.Tooltip??null);(0,E.useEffect)(()=>{if(!e||r!=null)return;let t=!0;return Si.load().then(e=>{t&&i(()=>e.Tooltip)},()=>{}),()=>{t=!1}},[e,r]);let a=(0,E.useRef)({interest:null,tapEvent:null,isRead:!1}),o=C(),c=(0,E.useCallback)((t,r=null)=>{let i=a.current;e&&!i.isRead&&(i.interest=t,i.tapEvent=r,n(!0))},[e]),l=(0,E.useCallback)(e=>{let t=a.current;!t.isRead&&t.interest===e&&(t.interest=null)},[]);return{isWanted:t,tooltip:r,interestRef:a,onPointerEnter:(0,E.useCallback)(e=>{e.pointerType!==`touch`&&c(`hover`)},[c]),onPointerLeave:(0,E.useCallback)(()=>l(`hover`),[l]),onPointerDown:(0,E.useCallback)(t=>{!e||a.current.isRead?o.forget():o.press(t.nativeEvent,t.currentTarget,e=>c(`tap`,e))||l(`hover`)},[e,o,c,l]),onFocus:(0,E.useCallback)(e=>{let t=e.target;s(t)&&t.matches(`:focus-visible`)&&!o.isTouchPressCurrent()&&c(`focus`)},[c,o]),onBlur:(0,E.useCallback)(()=>l(`focus`),[l])}}function wi({anchorRef:e,content:t,placement:n,interest:r}){let i=r.tooltip;return i==null?null:(0,A.jsx)(ae,{value:r.interestRef,children:(0,A.jsx)(i,{anchorRef:e,content:t,placement:n})})}function Ti(e){let t=e.clientWidth||(e instanceof HTMLElement?e.offsetWidth:0);return t>0&&e.scrollWidth>t}function Ei(e){let t=e.ownerDocument.defaultView?.getComputedStyle(e);return t!=null&&t.position===`absolute`&&(t.clip!==``&&t.clip!==`auto`||t.clipPath!==``&&t.clipPath!==`none`)}var Di=`input, textarea, select, [contenteditable]:not([contenteditable="false"]), [role="combobox"], [role="listbox"], [role="searchbox"], [role="spinbutton"], [role="slider"], [role="textbox"]`;function Oi(e){return e.closest(`[hidden], [aria-hidden="true"], ${Di}`)!=null||Ei(e)}function ki(e){return Ti(e)||[...e.querySelectorAll(`*`)].some(e=>!Oi(e)&&Ti(e))}function Ai(e){let t=``,n=e=>{e.nodeType===Node.TEXT_NODE?t+=e.textContent??``:e instanceof Element&&!Oi(e)&&e.childNodes.forEach(n)};return n(e),t.replace(/\s+/g,` `).trim()}function ji({anchorRef:e,measureRef:t,isEnabled:n,isSuppressed:r}){let[i,a]=(0,E.useState)(null),[o,c]=(0,E.useState)(()=>Si.loaded()?.UndescribedTooltip??null),l=te(e,n);(0,E.useEffect)(()=>{if(!n||o!=null)return;let e=!0;return Si.load().then(t=>{e&&c(()=>t.UndescribedTooltip)},()=>{}),()=>{e=!1}},[n,o]);let u=(0,E.useCallback)(()=>a(null),[]);return{cutText:i,Tooltip:o,hide:u,onFocus:i=>{let o=e.current,c=t?.current??o,u=i.target;if(!n||o==null||c==null||!s(u)||!o.contains(u)||!u.matches(`:focus-visible`)||l()!==`keyboard`)return;let d=Ai(c),f=d!==``&&!(r?.(o)??!1)&&ki(c);a(f?d:null)},onBlur:t=>{let n=t.relatedTarget;s(n)&&e.current?.contains(n)||a(null)},onPointerDown:u}}function Z(...e){return t=>{for(let n of e)if(n?.(t),t.defaultPrevented)return}}var Mi=ee(`TextClampContext`,1,!1),Ni={body:`primary`,large:`primary`,label:`primary`,supporting:`secondary`,code:`primary`,"display-1":`primary`,"display-2":`primary`,"display-3":`primary`,inherit:`inherit`};function Pi(e){return e in ni?e:`body`}function Fi(e){return e in $r?e:`primary`}function Ii({type:e=`body`,size:t,color:n,weight:r,display:i=`inline`,maxLines:a=0,hasTruncateTooltip:o=!0,wordBreak:s,textWrap:c,justify:l=`start`,hasCapsize:u=!1,hasStrikethrough:d=!1,hasTabularNumbers:p=!1,xstyle:m,className:h,style:_,as:v=`span`,children:ee,ref:te,...y}){let b=n??Ni[e]??`primary`,x=Pi(e),re=Fi(b),ie=s??(a===1?`break-all`:`break-word`),ae=a>0||u?`block`:i,C=mi({maxLines:o===!1?0:a}),w=typeof o==`string`?o:`above`,oe=a>0&&o!==!1&&C.isTruncated,T=Ci(oe),se=(0,E.useRef)(null),ce=ne(te,C.ref,se),le=(0,E.use)(Mi),ue=a===1||a>1&&!u,de=a>1?{WebkitLineClamp:a}:void 0;return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(v,{ref:ce,...S(g(`text`,{type:e,size:t,color:b}),f($r[re],ni[x],t&&ri[t],ti[x],r&&ei[r],a===1?oi.singleLine:a>1?oi.multiLine:ai[ae],a>0&&si[ie],c&&ci[c],l!==`start`&&fi[l],u&&li.enabled,d&&ui.strikethrough,p&&di.enabled,m),h,{..._,...de}),...y,onPointerEnter:Z(T.onPointerEnter,y.onPointerEnter),onPointerLeave:Z(T.onPointerLeave,y.onPointerLeave),onPointerDown:Z(T.onPointerDown,y.onPointerDown),onFocus:Z(T.onFocus,y.onFocus),onBlur:Z(T.onBlur,y.onBlur),children:(0,A.jsx)(Mi,{value:ue||le,children:ee})}),oe&&T.isWanted&&(0,A.jsx)(wi,{anchorRef:se,content:(0,A.jsx)(`span`,{...f(pi.content),children:C.fullText}),placement:w,interest:T})]})}Ii.displayName=`Text`;var Li={"@astryx.spinner.loading":`Loading`},Ri={turn:{k6sLGO:`x1so62im`,k44tkh:`xidn0ey x14hxw50`,ko0y90:`xa4qsjk`,kKVMdj:`x129v4ae`,kyAemX:`x1esw782`,$$css:!0}},Q=c(`spinner/spinner-rotor/state`,1,()=>({pendingRotors:new Set,flushScheduled:!1}));function zi(){Q.flushScheduled=!1;let e=[];for(let t of Q.pendingRotors)e.push(...t.getAnimations());Q.pendingRotors.clear();for(let t of e)t.startTime=0}function Bi(e){if(e!=null&&typeof e.getAnimations==`function`)return Q.pendingRotors.add(e),Q.flushScheduled||(Q.flushScheduled=!0,requestAnimationFrame(zi)),()=>{Q.pendingRotors.delete(e)}}function Vi(e){return e==null?null:(typeof e==`string`?de(e):e)?.indicators??null}function Hi(e){return Vi(Pe())?.[e]}On(Li);var Ui=.375,Wi={sm:{diameter:10,border:2},md:{diameter:14,border:3},lg:{diameter:18,border:3},xl:{diameter:28,border:4}},Gi=[`--_spinner-ring-diameter`,`--_spinner-ring-stroke`],Ki=`--_spinner-box-size`;function qi(){if(typeof CSS<`u`&&typeof CSS.registerProperty==`function`)for(let e of Gi)try{CSS.registerProperty({name:e,syntax:`<length>`,inherits:!0,initialValue:`0px`})}catch{}}qi();var $={themeSpinner:{k1xSpc:`x1lliihq`,kJuA4N:`x15r89dc`,kzqmXN:`xh8yej3`,kZKoxP:`x5yr21d`,$$css:!0},wrapper:{k1xSpc:`x3nfvp2`,kXwgrk:`xdt5ytf`,kGNEyG:`x6s0dn4`,kOIVth:`x1txdalj`,$$css:!0},spinner:{k1xSpc:`xwz0xwf`,kgQiWS:`x1ku5rj1`,kXLuUW:`xxymvpz`,"--_spinner-ring-diameter":`x2lq4xu`,"--_spinner-ring-stroke":`x10qssua`,"--_spinner-box-size":`x69vvuq`,kmuXW:`x2lah0s`,$$css:!0},rotor:{k1xSpc:`x1lliihq`,kJuA4N:`x15r89dc`,kzqmXN:`x6v0vjy`,kZKoxP:`x7yyq19`,$$css:!0},circle:{kDwRjp:`xbh8q5q`,kR8GR0:`x1764fhq`,k3nNDw:`x1g0ag68`,kU5bRw:`x1owpc8m`,kPFa82:`xio8zfp`,kfJifR:`xgw3ha0`,$$css:!0},track:{kjVXCG:`xalkhop`,$$css:!0}},Ji={sm:{"--spinner-diameter":`x11wm0hx`,"--spinner-stroke-width":`xls98ul`,"--spinner-arc-fraction":`x7o5821`,$$css:!0},md:{"--spinner-diameter":`x15pu9g6`,"--spinner-stroke-width":`xr0wkrm`,"--spinner-arc-fraction":`x7o5821`,$$css:!0},lg:{"--spinner-diameter":`x1w424tr`,"--spinner-stroke-width":`xr0wkrm`,"--spinner-arc-fraction":`x7o5821`,$$css:!0},xl:{"--spinner-diameter":`x1orj1z9`,"--spinner-stroke-width":`x7y2bof`,"--spinner-arc-fraction":`x7o5821`,$$css:!0}},Yi={default:{"--spinner-color":`xt1b8mc`,"--spinner-track-color":`xspt9s2`,$$css:!0},subtle:{"--spinner-color":`x1jevo6s`,"--spinner-track-color":`xspt9s2`,$$css:!0},onMedia:{"--spinner-color":`x13u6jys`,"--spinner-track-color":`x1ufpcf6`,$$css:!0},inherit:{"--spinner-color":`x1uzk0gl`,"--spinner-track-color":`xbfzqbu`,$$css:!0}},Xi={default:{kDd8S0:`x1g350g8`,$$css:!0},subtle:{kDd8S0:`x1g350g8`,$$css:!0},onMedia:{kDd8S0:`x1smxkh6`,$$css:!0},inherit:{kDd8S0:`x7bo2k`,$$css:!0}};function Zi({size:e=`md`,shade:t=`default`,label:n,xstyle:r,className:i,style:a,"aria-label":o,"data-testid":s,ref:c,...l}){let{border:u,diameter:d}=Wi[e],p=d+u*2,m=Math.PI*d,h=m*Ui,_=n!=null,v=(0,E.useId)(),ee=Fn(),te=(0,E.useRef)(null),ne=(0,E.useMemo)(()=>y(te,c),[c]),b=_&&typeof n==`string`&&o==null,x=o??(typeof n==`string`?n:void 0)??ee(`@astryx.spinner.loading`),re=(0,E.use)(Qr),ie=l[`aria-hidden`]===!0||l[`aria-hidden`]===`true`,ae=l.role;se(te,!re&&!ie&&(ae==null||ae===`progressbar`),``,{skipFirstRender:!0,fallbackText:x});let C=Hi(`spinner`),w=(0,A.jsx)(`span`,{ref:_?void 0:ne,role:`progressbar`,"aria-label":b?void 0:x,"aria-labelledby":b?v:void 0,"data-testid":_?void 0:s,..._?{}:l,...S(_?``:g(`spinner`,{size:e,shade:t}),f($.spinner,!_&&Ji[e],!_&&Yi[t],!_&&r),_?void 0:i,{..._?{}:a,width:`var(${Ki}, ${p}px)`,height:`var(${Ki}, ${p}px)`}),children:C?(0,A.jsx)(C,{state:`busy`,xstyle:$.themeSpinner}):(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(`svg`,{width:0,height:0,"aria-hidden":`true`,className:`xlp1x4z x1lliihq x15r89dc x6v0vjy x7yyq19 x1rea2x4`,children:(0,A.jsx)(`circle`,{cx:`50%`,cy:`50%`,r:d/2,strokeWidth:u,...f($.circle,$.track,Xi[t])})}),(0,A.jsx)(`span`,{ref:Bi,"aria-hidden":`true`,...f($.rotor,Ri.turn),children:(0,A.jsx)(`svg`,{width:p,height:p,className:`xlp1x4z x1lliihq x15r89dc x6v0vjy x7yyq19 x1rea2x4`,children:(0,A.jsx)(`circle`,{cx:`50%`,cy:`50%`,r:d/2,strokeWidth:u,strokeDasharray:`${h} ${m-h}`,className:`xbh8q5q x1764fhq x1g0ag68 x1owpc8m xio8zfp xgw3ha0 xtve3lm x9tu13d xdv9ggb`})})})]})});return _?(0,A.jsxs)(`div`,{ref:ne,"data-testid":s,...l,...S(g(`spinner`,{size:e,shade:t}),f($.wrapper,Ji[e],Yi[t],r),i,a),children:[w,typeof n==`string`?(0,A.jsx)(Ii,{id:v,type:`body`,weight:`bold`,children:n}):n]}):w}Zi.displayName=`Spinner`;function Qi({children:e,as:t=`span`,ref:n,...r}){let{xstyle:i,className:a,style:o,...s}=r;return(0,E.createElement)(t,{ref:n,...s,className:`x10l6tqk x1i1rx1s xjm9jq1 xkdpibf x1717udv xb3r6kr xzpqnlu xuxw1ft xng3xce x13vifvy x1o0tod x47corl x87ps6o`},e)}Qi.displayName=`VisuallyHidden`;var $i={"--astryx-press-alpha":`var(--astryx-press-alpha)`,__varGroupHash__:`x1qqxm5o`};o[`--duration-exit`],`${o[`--duration-exit`]}${ie.duration}`;var ea=$i[`--astryx-press-alpha`];`${i[`--color-overlay-hover`]}${i[`--color-overlay-hover`]}`,`${i[`--color-overlay-pressed`]}${i[`--color-overlay-pressed`]}`,`${i[`--color-neutral`]}${i[`--color-neutral`]}`,`${i[`--color-overlay-pressed`]}${ea}`,u[`--ease-exit`];var ta={backgroundColor:{"--astryx-press-alpha":`x11z29ks xli5ek3`,kKVMdj:`x14e4jsf`,k44tkh:`xem8lmn xogcwkh`,kyAemX:`x1t1ddl7`,kWV6AL:`xziyay6`,"--_press-paint":`xz2mauf`,"--_press-paint-image":`x1l7afqf`,kWkggS:`xjbqb8w x1anq1lc x1s5nr2v x13ugjdw xl8sb5e xoevpu5 xprvw0a`,kKwaWg:`x7ngsy6 xubczrd`,$$css:!0},backgroundImage:{"--astryx-press-alpha":`x11z29ks xli5ek3`,kKVMdj:`x14e4jsf`,k44tkh:`xem8lmn xogcwkh`,kyAemX:`x1t1ddl7`,kWV6AL:`xziyay6`,"--_press-paint":`xz2mauf`,"--_press-paint-image":`x1l7afqf`,kKwaWg:`x7uyq82 x3f84ok x7ngsy6 xubczrd xmvprkv xetgvay`,$$css:!0},backgroundImageOnNeutral:{"--astryx-press-alpha":`x11z29ks xli5ek3`,kKVMdj:`x14e4jsf`,k44tkh:`xem8lmn xogcwkh`,kyAemX:`x1t1ddl7`,kWV6AL:`xziyay6`,"--_press-paint":`xz2mauf`,"--_press-paint-image":`x1l7afqf`,kKwaWg:`x14bno8m xzmimnh xvbnuu x5rw36h x1qxwyo6 x1otsd3y xo3fi6e`,$$css:!0},pressedBackgroundColor:{"--astryx-press-alpha":`x11z29ks xli5ek3`,kKVMdj:`x14e4jsf`,k44tkh:`xem8lmn xogcwkh`,kyAemX:`x1t1ddl7`,kWV6AL:`xziyay6`,"--_press-paint":`xz2mauf`,"--_press-paint-image":`x1l7afqf`,kWkggS:`x1anq1lc x1s5nr2v x13ugjdw xl8sb5e`,kKwaWg:`x7ngsy6 xubczrd`,$$css:!0},pressedAlpha:{"--astryx-press-alpha":`x11z29ks xli5ek3`,kKVMdj:`x14e4jsf`,k44tkh:`xem8lmn xogcwkh`,kyAemX:`x1t1ddl7`,kWV6AL:`xziyay6`,"--_press-paint":`xz2mauf`,"--_press-paint-image":`x1l7afqf`,$$css:!0}};function na(){return(0,E.useEffect)(()=>T(),[]),oe}function ra(e){return e!=null&&typeof e!=`boolean`&&e!==``}$i[`--astryx-press-alpha`],`${i[`--color-overlay-hover`]}${i[`--color-overlay-hover`]}`,`${i[`--color-overlay-pressed`]}${i[`--color-overlay-pressed`]}`,o[`--duration-exit`],`${o[`--duration-exit`]}${ie.duration}`,u[`--ease-exit`],`${l[`--border-width`]}`;var ia={cell:{kKwaWg:`x7ngsy6 x10ogxw0 xubczrd x18xnkjv`,kKVMdj:`x14e4jsf x6su2wr`,kHBbk8:`xif6eam`,kgeoSG:`x1ocadqd`,kEoFBp:`x1ukh9kf`,kFcpXp:`xrkptjy`,kxmVGU:`xjscm90`,kPB484:`x1kec4ew`,km8f2m:`x13r5q6d`,kLkRvE:`x1dn949c`,k5QlbN:`xw7rim2 xr9xsjc`,k7EzDT:`x1bxn267`,kQZAMR:`x1osot8d xbkwwzw`,kZiNAr:`x10t12yn`,k8Tatv:`x1dn5vsf`,$$css:!0},overDividers:{kGVxlE:`x1a8j72w x1gmmbal xnwmnb6 x1smloqv xmo6azi x1spxf8v xvofup6 xv3779j xrpmvov`,k96MEf:`x1v1ro1q`,k5Ofw7:`x1rj2gwv`,$$css:!0},cellWithoutLayer:{kKwaWg:`x18o3ruo`,kKVMdj:`x14e4jsf`,kHBbk8:`xrqzsdu`,kgeoSG:`x1995whq`,$$css:!0},cellOnImage:{kKwaWg:`x7uyq82 x3f84ok x7ngsy6 x10ogxw0 xubczrd x18xnkjv xmvprkv xetgvay`,$$css:!0},cellOnImagePressOnly:{kKwaWg:`x7uyq82 x3f84ok x7ngsy6 x10ogxw0 xubczrd x18xnkjv`,$$css:!0}},aa={control:{k6sLGO:`x1mrddfy`,$$css:!0}},oa={handDown:{"--_indicator-press-image":`x1dueop1 x189o2zt`,"--_indicator-active-press":`x1qwhovg x858ff1`,$$css:!0},activeFill:{ks3ayO:`xyhc2n1 xur6jaf xtawv5c`,$$css:!0},image:{kNctxI:`x178sc5r x1d4iov5`,$$css:!0}},sa=x(`LinkContext`,1,null);sa.displayName=`LinkContext`;function ca(e){function t({href:t,to:n,ref:r,...i}){return!w(t)||!w(n)?(0,E.createElement)(`a`,{ref:r,...i}):e===`a`?(0,E.createElement)(`a`,{ref:r,...i,href:t}):(0,E.createElement)(e,{ref:r,...i,href:t,to:n??t})}return t.displayName=`SafeLink(${typeof e==`string`?e:e.displayName||e.name||`Component`})`,t}function la(e){let t=(0,E.use)(sa),n=e??t?.component??`a`;return(0,E.useMemo)(()=>ca(n),[n])}export{Me as $,pi as A,Fn as B,ti as C,ni as D,ii as E,In as F,Ye as G,st as H,L as I,ge as J,Ke as K,Vn as L,si as M,Zr as N,ci as O,Xr as P,me as Q,Bn as R,ui as S,fi as T,et as U,On as V,at as W,he as X,fe as Y,pe as Z,xi as _,ra as a,li as b,Qi as c,Ii as d,Fe as et,Fi as f,Ci as g,ji as h,ia as i,ei as j,oi as k,Zi as l,wi as m,aa as n,ue as nt,na as o,Z as p,We as q,oa as r,ta as s,la as t,Pe as tt,Vi as u,hi as v,ai as w,$r as x,mi as y,Wn as z};
|