diff --git a/src/next-app.generated.js b/src/next-app.generated.js index a8dc824..d0098d3 100644 --- a/src/next-app.generated.js +++ b/src/next-app.generated.js @@ -1,7 +1,7 @@ // GENERATED by scripts/embed-web.mjs from web/. Do not edit by hand. -export const NEXT_JS = "var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;li[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,o)=>(o=n==null?{}:e(i(n)),l(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n));(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel=\"modulepreload\"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var d=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.for(`react.view_transition`),m=Symbol.iterator;function h(e){return typeof e!=`object`||!e?null:(e=m&&e[m]||e[`@@iterator`],typeof e==`function`?e:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function b(){}b.prototype=y.prototype;function x(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}var S=x.prototype=new b;S.constructor=x,_(S,y.prototype),S.isPureReactComponent=!0;var C=Array.isArray;function w(){}var T={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function D(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function O(e,t){return D(e.type,t,e.props)}function k(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function A(e){var t={\"=\":`=0`,\":\":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var j=/\\/+/g;function M(e,t){return typeof e==`object`&&e&&e.key!=null?A(``+e.key):t.toString(36)}function N(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(w,w):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function P(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,P(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+M(e,0):a,C(o)?(i=``,c!=null&&(i=c.replace(j,`$&/`)+`/`),P(o,r,i,``,function(e){return e})):o!=null&&(k(o)&&(o=O(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(j,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(C(e))for(var u=0;u{t.exports=d()})),p=s((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0>>1,a=e[r];if(0>>1;ri(c,n))li(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(li(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&j(x,t.startTime-e)}}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-Tt&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&j(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,A=k.port2;k.port1.onmessage=D,O=function(){A.postMessage(null)}}else O=function(){_(D,0)};function j(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,j(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),m=s(((e,t)=>{t.exports=p()})),h=s((e=>{var t=f();function n(e){var t=`https://react.dev/errors/`+e;if(1{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=h()})),_=s((e=>{var t=m(),n=f(),r=g();function i(e){var t=`https://react.dev/errors/`+e;if(1se||(e.current=oe[se],oe[se]=null,se--)}function J(e,t){se++,oe[se]=e.current,e.current=t}var ue=ce(null),de=ce(null),fe=ce(null),pe=ce(null);function me(e,t){switch(J(fe,t),J(de,e),J(ue,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?fp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=fp(t),e=pp(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}le(ue),J(ue,e)}function he(){le(ue),le(de),le(fe)}function ge(e){var t=e.memoizedState;t!==null&&(lh._currentValue=t.memoizedState,J(pe,e)),t=ue.current;var n=pp(t,e.type);t!==n&&(J(de,e),J(ue,n))}function _e(e){de.current===e&&(le(ue),le(de)),pe.current===e&&(le(pe),lh._currentValue=ae)}var ve,ye;function be(e){if(ve===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\\n( *(at )?)/);ve=t&&t[1]||``,ye=-1)`:-1i||c[r]!==l[i]){var u=`\n`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(``)&&(u=u.replace(``,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{xe=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?be(n):``}function Ce(e,t){switch(e.tag){case 26:case 27:case 5:return be(e.type);case 16:return be(`Lazy`);case 13:return e.child!==t&&t!==null?be(`Suspense Fallback`):be(`Suspense`);case 19:return be(`SuspenseList`);case 0:case 15:return Se(e.type,!1);case 11:return Se(e.type.render,!1);case 1:return Se(e.type,!0);case 31:return be(`Activity`);case 30:return be(`ViewTransition`);default:return``}}function we(e){try{var t=``,n=null;do t+=Ce(e,n),n=e,e=e.return;while(e);return t}catch(e){return`\nError generating stack: `+e.message+`\n`+e.stack}}var Te=Object.prototype.hasOwnProperty,Ee=t.unstable_scheduleCallback,De=t.unstable_cancelCallback,Oe=t.unstable_shouldYield,ke=t.unstable_requestPaint,Ae=t.unstable_now,je=t.unstable_getCurrentPriorityLevel,Me=t.unstable_ImmediatePriority,Ne=t.unstable_UserBlockingPriority,Pe=t.unstable_NormalPriority,Fe=t.unstable_LowPriority,Ie=t.unstable_IdlePriority,Le=t.log,Re=t.unstable_setDisableYieldValue,ze=null,Be=null;function Ve(e){if(typeof Le==`function`&&Re(e),Be&&typeof Be.setStrictMode==`function`)try{Be.setStrictMode(ze,e)}catch{}}var He=Math.clz32?Math.clz32:Ge,Ue=Math.log,We=Math.LN2;function Ge(e){return e>>>=0,e===0?32:31-(Ue(e)/We|0)|0}var Ke=256,qe=262144,Je=4194304;function Ye(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Xe(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Ye(n))):i=Ye(o):i=Ye(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Ye(n))):i=Ye(o)):i=Ye(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Ze(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Qe(e,t){t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0n;n++)t.push(e);return t}function nt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function rt(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0=rr),or=` `,sr=!1;function cr(e,t){switch(e){case`keyup`:return tr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function lr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var ur=!1;function dr(e,t){switch(e){case`compositionend`:return lr(t);case`keypress`:return t.which===32?(sr=!0,or):null;case`textInput`:return e=t.data,e===or&&sr?null:e;default:return null}}function fr(e,t){if(ur)return e===`compositionend`||!nr&&cr(e,t)?(e=wn(),Cn=Sn=xn=null,ur=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Pr(n)}}function Ir(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ir(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Lr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Nr(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Nr(e.document)}return t}function Rr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var zr=vn&&`documentMode`in document&&11>=document.documentMode,Br=null,Vr=null,Hr=null,Ur=!1;function Wr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ur||Br==null||Br!==Nr(r)||(r=Br,`selectionStart`in r&&Rr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Hr&&Mr(Hr,r)||(Hr=r,r=Yf(Vr,`onSelect`),0>=o,i-=o,Bi=1<<32-He(t)+i|n<h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),Yi&&Hi(i,h),l;if(d===null){for(;hg?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),Yi&&Hi(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return Yi&&Hi(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&(_=v.alternate,_!==null&&h.delete(_.key===null?g:_.key)),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),Yi&&Hi(a,g),u}function _(e,r,o,c){if(typeof o==`object`&&o&&o.type===j&&o.key===null&&o.props.ref===void 0&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case k:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===j){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),$a(c,o),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===B&&Ka(l)===r.type){n(e,r.sibling),c=a(r,o.props),$a(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===j?(c=Di(o.props.children,e.mode,c,o.key),$a(c,o),c.return=e,e=c):(c=Ei(o.type,o.key,o.props,null,e.mode,c),$a(c,o),c.return=e,e=c)}return s(e);case A:a:{for(l=o.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=Ai(o,e.mode,c),c.return=e,e=c}return s(e);case B:return o=Ka(o),_(e,r,o,c)}if(ie(o))return h(e,r,o,c);if(G(o)){if(l=G(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return _(e,r,Qa(o),c);if(o.$$typeof===F)return _(e,r,_a(e,o),c);eo(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=Oi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Za=0;var i=_(e,t,n,r);return Xa=null,i}catch(t){if(t===Ba||t===Ha)throw t;var a=Si(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var no=to(!0),ro=to(!1),io=!1;function ao(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function oo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function so(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function co(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Ju&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=yi(e),vi(e,null,n),t}return hi(e,r,t,n),yi(e)}function lo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,at(e,n)}}function uo(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n}else e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var fo=!1;function po(){if(fo){var e=ja;if(e!==null)throw e}}function mo(e,t,n,r){fo=!1;var i=e.updateQueue;io=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(Zu&f)===f:(r&f)===f){f!==0&&f===Aa&&(fo=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var m=e,h=s;f=t;var g=n;switch(h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(g,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(g,d,f):m,f==null)break a;d=D({},d,f);break a;case 2:io=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),ad|=o,e.lanes=o,e.memoizedState=d}}function ho(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function go(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;ea?a:8;var o=K.T,s={};s.types=o===null?null:o.types,K.T=s,ic(e,!1,t,n);try{var c=i(),l=K.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?rc(e,t,Pa(c,r),Ad(e)):rc(e,t,r,Ad(e))}catch(n){rc(e,t,{then:function(){},status:`rejected`,reason:n},Ad())}finally{q.p=a,o!==null&&s.types!==null&&(o.types=s.types),K.T=o}}function qs(){}function Js(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=Ys(e).queue;Ks(e,a,t,ae,n===null?qs:function(){return Xs(e),n(r)})}function Ys(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ae,baseState:ae,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:as,lastRenderedState:ae},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:as,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Xs(e){var t=Ys(e);t.next===null&&(t=e.alternate.memoizedState),rc(e,t.next.queue,{},Ad())}function Zs(){return ga(lh)}function Qs(){return es().memoizedState}function $s(){return es().memoizedState}function ec(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Ad();e=so(n);var r=co(t,e,n);r!==null&&(Nd(r,t,n),lo(r,t,n)),t={cache:Ca()},e.payload=t;return}t=t.return}}function tc(e,t,n){var r=Ad();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ac(e)?oc(t,n):(n=gi(e,t,n,r),n!==null&&(Nd(n,e,r),sc(n,t,r)))}function nc(e,t,n){rc(e,t,n,Ad())}function rc(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(ac(e))oc(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,jr(s,o))return hi(e,t,i,0),Yu===null&&mi(),!1}catch{}if(n=gi(e,t,i,r),n!==null)return Nd(n,e,r),sc(n,t,r),!0}return!1}function ic(e,t,n,r){if(r={lane:2,revertLane:Pf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},ac(e)){if(t)throw Error(i(479))}else t=gi(e,n,r,2),t!==null&&Nd(t,e,2)}function ac(e){var t=e.alternate;return e===Po||t!==null&&t===Po}function oc(e,t){Ro=Lo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function sc(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,at(e,n)}}var cc={readContext:ga,use:rs,useCallback:Wo,useContext:Wo,useEffect:Wo,useImperativeHandle:Wo,useLayoutEffect:Wo,useInsertionEffect:Wo,useMemo:Wo,useReducer:Wo,useRef:Wo,useState:Wo,useDebugValue:Wo,useDeferredValue:Wo,useTransition:Wo,useSyncExternalStore:Wo,useId:Wo,useHostTransitionStatus:Wo,useFormState:Wo,useActionState:Wo,useOptimistic:Wo,useMemoCache:Wo,useCacheRefresh:Wo,useEffectEvent:Wo},lc={readContext:ga,use:rs,useCallback:function(e,t){return $o().memoizedState=[e,t===void 0?null:t],e},useContext:ga,useEffect:Ns,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),js(4194308,4,zs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return js(4194308,4,e,t)},useInsertionEffect:function(e,t){js(4,2,e,t)},useMemo:function(e,t){var n=$o();t=t===void 0?null:t;var r=e();if(zo){Ve(!0);try{e()}finally{Ve(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=$o();if(n!==void 0){var i=n(t);if(zo){Ve(!0);try{n(t)}finally{Ve(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=tc.bind(null,Po,e),[r.memoizedState,e]},useRef:function(e){var t=$o();return e={current:e},t.memoizedState=e},useState:function(e){e=hs(e);var t=e.queue,n=nc.bind(null,Po,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Vs,useDeferredValue:function(e,t){return Ws($o(),e,t)},useTransition:function(){var e=hs(!1);return e=Ks.bind(null,Po,e.queue,!0,!1),$o().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=Po,a=$o();if(Yi){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Yu===null)throw Error(i(349));Zu&127||us(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Ns(fs.bind(null,r,o,e),[e]),r.flags|=2048,ks(9,{destroy:void 0},ds.bind(null,r,o,n,t),null),n},useId:function(){var e=$o(),t=Yu.identifierPrefix;if(Yi){var n=Vi,r=Bi;n=(r&~(1<<32-He(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Bo++,0<\\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[ft]=t,o[pt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(ip(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&al(t)}}return ul(t),t.subtreeFlags&=-33554433,ol(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&al(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=fe.current,na(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=qi,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[ft]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||tp(e.nodeValue,n)),e||$i(t,!0)}else e=dp(e).createTextNode(r),e[ft]=t,t.stateNode=e}return ul(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=na(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[ft]=t}else ra(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ul(t),e=!1}else n=ia(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Oo(t),t):(Oo(t),null);if(t.flags&128)throw Error(i(558))}return ul(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=na(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[ft]=t}else ra(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ul(t),a=!1}else a=ia(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(Oo(t),t):(Oo(t),null)}return Oo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),cl(t,t.updateQueue),ul(t),null);case 4:return he(),e===null&&Gf(t.stateNode.containerInfo),t.flags|=67108864,ul(t),null;case 10:return ua(t.type),ul(t),null;case 19:if(jo(t),r=t.memoizedState,r===null)return ul(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)ll(r,!1);else{if(id!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Mo(e),o!==null){for(t.flags|=128,ll(r,!1),e=o.updateQueue,t.updateQueue=e,cl(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Ti(n,e),n=n.sibling;return Ao(t,ko.current&1|2),Yi&&Hi(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Ae()>hd&&(t.flags|=128,a=!0,ll(r,!1),t.lanes=4194304)}}else{if(!a){if(e=Mo(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,cl(t,e),ll(r,!0),r.tail===null&&r.tailMode!==`collapsed`&&r.tailMode!==`visible`&&!o.alternate&&!Yi)return ul(t),null}else 2*Ae()-r.renderingStartTime>hd&&n!==536870912&&(t.flags|=128,a=!0,ll(r,!1),t.lanes=4194304)}r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}if(r.tail!==null){e=r.tail;a:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break a}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ae(),e.sibling=null,o=ko.current,o=a?o&1|2:o&1,r.tailMode===`visible`||r.tailMode===`collapsed`||!n||Yi?Ao(t,o):(n=o,J(So,t),J(ko,n),Co===null&&(Co=t)),Yi&&Hi(t,r.treeForkCount),e}return ul(t),null;case 22:case 23:return Oo(t),xo(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(ul(t),t.subtreeFlags&6&&(t.flags|=8192)):ul(t),n=t.updateQueue,n!==null&&cl(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&le(Ia),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ua(Sa),ul(t),null;case 25:return null;case 30:return t.flags|=33554432,ul(t),null}throw Error(i(156,t.tag))}function fl(e,t){switch(Gi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ua(Sa),he(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return _e(t),null;case 31:if(t.memoizedState!==null){if(Oo(t),t.alternate===null)throw Error(i(340));ra()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Oo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));ra()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return jo(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return he(),null;case 10:return ua(t.type),null;case 22:case 23:return Oo(t),xo(),e!==null&&le(Ia),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ua(Sa),null;case 25:return null;default:return null}}function pl(e,t){switch(Gi(t),t.tag){case 3:ua(Sa),he();break;case 26:case 27:case 5:_e(t);break;case 4:he();break;case 31:t.memoizedState!==null&&Oo(t);break;case 13:Oo(t);break;case 19:jo(t);break;case 10:ua(t.type);break;case 22:case 23:Oo(t),xo(),e!==null&&le(Ia);break;case 24:ua(Sa)}}function ml(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){pf(t,t.return,e)}}function hl(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){pf(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){pf(t,t.return,e)}}function gl(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{go(t,n)}catch(t){pf(e,e.return,t)}}}function _l(e,t,n){n.props=Z(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){pf(e,t,n)}}function vl(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var i=e.stateNode,a=si(e.memoizedProps,i);(i.ref===null||i.ref.name!==a)&&(i.ref=Ip(a)),r=i.ref;break;case 7:if(e.stateNode===null){var o=new Lp(e);p(e.child,!1,em,o,void 0,void 0),e.stateNode=o}r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){pf(e,t,n)}}function yl(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){pf(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){pf(e,t,n)}else n.current=null}}function bl(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n title`))),ip(r,t,n),r[ft]=e,Et(r),t=r;break a;case`link`:if(o=qm(`link`,`href`,a).get(t+(n.href||``))){for(s=0;sg&&(o=g,g=h,h=o);var _=Fr(s,h),v=Fr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;sn?32:n,K.T=null,n=Cd,Cd=null;var o=yd,s=xd;if(vd=0,bd=yd=null,xd=0,Ju&6)throw Error(i(331));var c=Ju;if(Ju|=4,Uu(o.current),Fu(o,o.current,s,n),Ju=c,Df(0,!1),Be&&typeof Be.onPostCommitFiberRoot==`function`)try{Be.onPostCommitFiberRoot(ze,o)}catch{}return!0}finally{q.p=a,K.T=r,lf(e,t)}}function ff(e,t,n){t=Mi(n,t),t=bc(e.stateNode,t,2),e=co(e,t,2),e!==null&&(nt(e,2),Ef(e))}function pf(e,t,n){if(e.tag===3)ff(e,e,n);else for(;t!==null;){if(t.tag===3){ff(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(_d===null||!_d.has(r))){e=Mi(n,e),n=xc(2),r=co(t,n,2),r!==null&&(Sc(n,r,t,e),nt(r,2),Ef(r));break}}t=t.return}}function mf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new qu;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(nd=!0,i.add(n),e=hf.bind(null,e,t,n),t.then(e,e))}function hf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Yu===e&&(Zu&n)===n&&(id===4||id===3&&(Zu&62914560)===Zu&&300>Ae()-pd?Ju&2?sd|=n:Bd(e,0):sd|=n,ld===Zu&&(ld=0)),Ef(e)}function gf(e,t){t===0&&(t=et()),e=_i(e,t),e!==null&&(nt(e,t),Ef(e))}function _f(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),gf(e,n)}function vf(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),gf(e,n)}function yf(e,t){return Ee(e,t)}var bf=null,xf=null,Sf=!1,Cf=!1,wf=!1,Tf=0;function Ef(e){e!==xf&&e.next===null&&(xf===null?bf=xf=e:xf=xf.next=e),Cf=!0,Sf||(Sf=!0,Nf())}function Df(e,t){if(!wf&&Cf){wf=!0;do for(var n=!1,r=bf;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-He(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,Mf(r,a))}else a=Zu,a=Xe(r,r===Yu?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Ze(r,a)||(n=!0,Mf(r,a))}r=r.next}while(n);wf=!1}}function Of(){kf()}function kf(){Cf=Sf=!1;var e=0;Tf!==0&&_p()&&(e=Tf);for(var t=Ae(),n=null,r=bf;r!==null;){var i=r.next,a=Af(r,t);a===0?(r.next=null,n===null?bf=i:n.next=i,i===null&&(xf=n)):(n=r,(e!==0||a&3)&&(Cf=!0)),r=i}vd!==0&&vd!==5||Df(e,!1),Tf!==0&&(Tf=0)}function Af(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0s)break;var u=c.transferSize,d=c.initiatorType;u&&sp(d)&&(c=c.responseEnd,o+=u*(cth){s.length=o;break}f=new Promise(Np.bind(f)),s.push(f)}}}if(0`u`?null:document;function Dm(e,t,n){var r=Em;if(r&&typeof t==`string`&&t){var i=qt(t);i=`link[rel=\"`+e+`\"][href=\"`+i+`\"]`,typeof n==`string`&&(i+=`[crossorigin=\"`+n+`\"]`),xm.has(i)||(xm.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),ip(t,`link`,e),Et(t),r.head.appendChild(t)))}}function Om(e){Cm.D(e),Dm(`dns-prefetch`,e,null)}function km(e,t){Cm.C(e,t),Dm(`preconnect`,e,t)}function Am(e,t,n){Cm.L(e,t,n);var r=Em;if(r&&e&&t){var i=`link[rel=\"preload\"][as=\"`+qt(t)+`\"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset=\"`+qt(n.imageSrcSet)+`\"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes=\"`+qt(n.imageSizes)+`\"]`)):i+=`[href=\"`+qt(e)+`\"]`;var a=i;switch(t){case`style`:a=Im(e);break;case`script`:a=Bm(e)}if(!(bm.has(a)||(e=D({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),bm.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Lm(a))||t===`script`&&r.querySelector(Vm(a))))){var o=r.createElement(`link`);ip(o,`link`,e),t===`style`&&(o[bt]=!0,o.onload=o.onerror=function(){Dt(o)}),Et(o),r.head.appendChild(o)}}}function jm(e,t){Cm.m(e,t);var n=Em;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel=\"modulepreload\"][as=\"`+qt(r)+`\"][href=\"`+qt(e)+`\"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Bm(e)}if(!bm.has(a)&&(e=D({rel:`modulepreload`,href:e},t),bm.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Vm(a)))return}r=n.createElement(`link`),ip(r,`link`,e),Et(r),n.head.appendChild(r)}}}function Mm(e,t,n){Cm.S(e,t,n);var r=Em;if(r&&e){var i=Tt(r).hoistableStyles,a=Im(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Lm(a)))s.loading=5;else{e=D({rel:`stylesheet`,href:e,\"data-precedence\":t},n),(n=bm.get(a))&&Wm(e,n);var c=o=r.createElement(`link`);Et(c),ip(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Um(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Nm(e,t){Cm.X(e,t);var n=Em;if(n&&e){var r=Tt(n).hoistableScripts,i=Bm(e),a=r.get(i);a||(a=n.querySelector(Vm(i)),a||(e=D({src:e,async:!0},t),(t=bm.get(i))&&Gm(e,t),a=n.createElement(`script`),Et(a),ip(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Pm(e,t){Cm.M(e,t);var n=Em;if(n&&e){var r=Tt(n).hoistableScripts,i=Bm(e),a=r.get(i);a||(a=n.querySelector(Vm(i)),a||(e=D({src:e,async:!0,type:`module`},t),(t=bm.get(i))&&Gm(e,t),a=n.createElement(`script`),Et(a),ip(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Fm(e,t,n,r){var a=(a=fe.current)?Sm(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=Im(n.href),t=Tt(a).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Im(n.href);var o=Tt(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Lm(e)))?o._p||(s.instance=o,s.state.loading=5):(o=bm.get(e),o||(o={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},bm.set(e,o)),zm(a,e,o,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=Bm(n),t=Tt(a).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Im(e){return`href=\"`+qt(e)+`\"`}function Lm(e){return`link[rel=\"stylesheet\"][`+e+`]`}function Rm(e){return D({},e,{\"data-precedence\":e.precedence,precedence:null})}function zm(e,t,n,r){if(t=e.querySelector(`link[rel=\"preload\"][as=\"style\"][`+t+`]`)){if(!0!==t[bt]){r.loading=1;return}}else t=e.createElement(`link`),t[bt]=!0,t.onload=t.onerror=Dt.bind(null,t),ip(t,`link`,n),Et(t),e.head.appendChild(t);r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2})}function Bm(e){return`[src=\"`+qt(e)+`\"]`}function Vm(e){return`script[async]`+e}function Hm(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~=\"`+qt(n.href)+`\"]`);if(r)return t.instance=r,Et(r),r;var a=D({},n,{\"data-href\":n.href,\"data-precedence\":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Et(r),ip(r,`style`,a),Um(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Im(n.href);var o=e.querySelector(Lm(a));if(o)return t.state.loading|=4,t.instance=o,Et(o),o;r=Rm(n),(a=bm.get(a))&&Wm(r,a),o=(e.ownerDocument||e).createElement(`link`),Et(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),ip(o,`link`,r),t.state.loading|=4,Um(o,n.precedence,e),t.instance=o;case`script`:return o=Bm(n.src),(a=e.querySelector(Vm(o)))?(t.instance=a,Et(a),a):(r=n,(a=bm.get(o))&&(r=D({},n),Gm(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),Et(a),ip(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Um(r,n.precedence,e));return t.instance}function Um(e,t,n){for(var r=n.querySelectorAll(`link[rel=\"stylesheet\"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o title`):null)}function Ym(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Xm(e,t){return e===`img`&&t.src!=null&&t.src!==``&&t.onLoad==null&&t.loading!==`lazy`}function Zm(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Qm(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==`number`?devicePixelRatio:1)*.25}function $m(e,t){typeof t.decode==`function`&&(e.imgCount++,t.complete||(e.imgBytes+=Qm(t),e.suspenseyImages.push(t)),e=ah.bind(e),t.decode().then(e,e))}function eh(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Im(r.href),a=t.querySelector(Lm(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=ih.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Et(a);return}a=t.ownerDocument||t,r=Rm(r),(i=bm.get(i))&&Wm(r,i),a=a.createElement(`link`),Et(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),ip(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=ih.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var th=0;function nh(e,t){return e.stylesheets&&e.count===0&&sh(e,e.stylesheets),0th?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function rh(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)sh(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function ih(){this.count--,rh(this)}function ah(){this.imgCount--,rh(this)}var oh=null;function sh(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,oh=new Map,t.forEach(ch,e),oh=null,ih.call(e))}function ch(e,t){if(!(t.state.loading&4)){var n=oh.get(e);if(n)var r=n.get(null);else{n=new Map,oh.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a{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=_()})),y,b,x=o((()=>{y=u(f(),1),b=typeof window<`u`?y.useLayoutEffect:y.useEffect}));function S(){if(T)return w;T=1,Object.defineProperty(w,\"__esModule\",{value:!0}),w.styleq=void 0;var e=new WeakMap,t=`$$css`;function n(n){var r,i,a;return n!=null&&(r=n.disableCache===!0,i=n.disableMix===!0,a=n.transform),function(){for(var n=[],o=``,s=null,c=``,l=r?null:e,u=Array(arguments.length),d=0;d0;){var f=u.pop();if(f!=null&&f!==!1){if(Array.isArray(f))for(var p=0;p0&&(i.style=n),r!=null&&r!==``&&(i[`data-style-src`]=r),i}var w,T,E,D=o((()=>{w={},E=S(),Object.freeze({})})),O,k,A,j,M,N,P,F,I,L,R,z,B,V,H,ee,U,te,W,G=o((()=>{O={\"--color-accent\":`light-dark(#0064E0, #0171E3)`,\"--color-accent-muted\":`light-dark(#0082FB33, #0082FB3F)`,\"--color-on-accent\":`light-dark(#FFFFFF, #FFFFFF)`,\"--color-neutral\":`light-dark(rgba(5, 54, 89, 0.1), rgba(223, 226, 229, 0.2))`,\"--color-background-surface\":`light-dark(#FFFFFF, #1F1F22)`,\"--color-background-body\":`light-dark(#F1F4F7, #111112)`,\"--color-overlay\":`light-dark(#01122866, #11111299)`,\"--color-overlay-hover\":`light-dark(#0536590C, #FFFFFF0C)`,\"--color-overlay-pressed\":`light-dark(#05365919, #FFFFFF19)`,\"--color-background-muted\":`light-dark(#0536590C, #1111127F)`,\"--color-text-primary\":`light-dark(#0A1317, #DFE2E5)`,\"--color-text-secondary\":`light-dark(#445564, #B0B5BB)`,\"--color-text-disabled\":`light-dark(#A4B0BC, #6F747C)`,\"--color-text-accent\":`light-dark(#0064E0, #3E9EFB)`,\"--color-on-dark\":`light-dark(#FFFFFF, #FFFFFF)`,\"--color-on-light\":`light-dark(#000000, #000000)`,\"--color-icon-accent\":`light-dark(#0064E0, #2694FE)`,\"--color-icon-primary\":`light-dark(#0A1317, #DFE2E5)`,\"--color-icon-secondary\":`light-dark(#4E606F, #AAAFB5)`,\"--color-icon-disabled\":`light-dark(#A4B0BC, #6F747C)`,\"--color-background-card\":`light-dark(#FFFFFF, #1F1F22)`,\"--color-background-popover\":`light-dark(#FFFFFF, #28292C)`,\"--color-background-inverted\":`light-dark(#0A1317, #FFFFFF)`,\"--color-background-error-inverted\":`light-dark(#AA071E, #E3193B)`,\"--color-info\":`light-dark(#0064E0, #0064E0)`,\"--color-info-muted\":`light-dark(#0082FB33, #0082FB3F)`,\"--color-on-info\":`light-dark(#FFFFFF, #FFFFFF)`,\"--color-success\":`light-dark(#0D8626, #0D8626)`,\"--color-success-muted\":`light-dark(#0B991F33, #0B991F3F)`,\"--color-on-success\":`light-dark(#FFFFFF, #FFFFFF)`,\"--color-error\":`light-dark(#E3193B, #F5394F)`,\"--color-error-muted\":`light-dark(#E3193B33, #F5394F3F)`,\"--color-on-error\":`light-dark(#FFFFFF, #0A1317)`,\"--color-warning\":`light-dark(#E9AF08, #F2C00B)`,\"--color-warning-muted\":`light-dark(#E2A40033, #E2A4003F)`,\"--color-on-warning\":`light-dark(#0A1317, #0A1317)`,\"--color-text-info\":`var(--color-text-blue)`,\"--color-text-success\":`var(--color-text-green)`,\"--color-text-warning\":`var(--color-text-yellow)`,\"--color-text-error\":`var(--color-text-red)`,\"--color-icon-info\":`var(--color-text-info)`,\"--color-icon-success\":`var(--color-text-success)`,\"--color-icon-warning\":`var(--color-text-warning)`,\"--color-icon-error\":`var(--color-text-error)`,\"--color-border-info\":`var(--color-text-info)`,\"--color-border-success\":`var(--color-text-success)`,\"--color-border-warning\":`var(--color-text-warning)`,\"--color-border-error\":`var(--color-text-error)`,\"--color-on-info-muted\":`var(--color-text-blue)`,\"--color-on-success-muted\":`var(--color-text-green)`,\"--color-on-warning-muted\":`var(--color-text-yellow)`,\"--color-on-error-muted\":`var(--color-text-red)`,\"--color-border\":`light-dark(#05365919, #F2F4F619)`,\"--color-border-emphasized\":`light-dark(#CCD3DB, #494D53)`,\"--color-skeleton\":`light-dark(#CCD3DB, #5A5E66)`,\"--color-track\":`light-dark(#CCD3DB, #5A5E66)`,\"--color-shadow\":`light-dark(rgba(5, 54, 89, 0.1), rgba(0, 0, 0, 0.3))`,\"--color-tint-hover\":`light-dark(black, white)`,\"--color-background-blue\":`light-dark(#0171E333, #0171E333)`,\"--color-border-blue\":`light-dark(#0064E0, #2694FE)`,\"--color-icon-blue\":`light-dark(#0064E0, #2694FE)`,\"--color-text-blue\":`light-dark(#042F97, #AFD7FF)`,\"--color-background-cyan\":`light-dark(#03A7D733, #03A7D733)`,\"--color-border-cyan\":`light-dark(#089DD0, #0171A4)`,\"--color-icon-cyan\":`light-dark(#00ACC1, #26C6DA)`,\"--color-text-cyan\":`light-dark(#014975, #A1EEF9)`,\"--color-background-gray\":`light-dark(#0A131733, #666A724C)`,\"--color-border-gray\":`light-dark(#647685, #748695)`,\"--color-icon-gray\":`light-dark(#4E606F, #AAAFB5)`,\"--color-text-gray\":`light-dark(#0A1317, #E7EAED)`,\"--color-background-green\":`light-dark(#24BB5E33, #24BB5E33)`,\"--color-border-green\":`light-dark(#0D8626, #0B991F)`,\"--color-icon-green\":`light-dark(#0D8626, #26A756)`,\"--color-text-green\":`light-dark(#09441F, #A5F690)`,\"--color-background-orange\":`light-dark(#F2790233, #F2790233)`,\"--color-border-orange\":`light-dark(#EB6E00, #B34A01)`,\"--color-icon-orange\":`light-dark(#E9690B, #FB8C00)`,\"--color-text-orange\":`light-dark(#6B2203, #FDB876)`,\"--color-background-pink\":`light-dark(#E638B333, #E638B333)`,\"--color-border-pink\":`light-dark(#F351C0, #C02294)`,\"--color-icon-pink\":`light-dark(#C2185B, #EC407A)`,\"--color-text-pink\":`light-dark(#650053, #FEADE3)`,\"--color-background-purple\":`light-dark(#7952FF33, #7952FF33)`,\"--color-border-purple\":`light-dark(#9081FF, #7340FE)`,\"--color-icon-purple\":`light-dark(#5B08D8, #7952FF)`,\"--color-text-purple\":`light-dark(#3E0697, #B3B0FE)`,\"--color-background-red\":`light-dark(#E3193B33, #E3193B33)`,\"--color-border-red\":`light-dark(#E3193B, #F5394F)`,\"--color-icon-red\":`light-dark(#D31130, #E3193B)`,\"--color-text-red\":`light-dark(#7B0210, #FFB2B8)`,\"--color-background-teal\":`light-dark(#0DB7AF33, #0DB7AF33)`,\"--color-border-teal\":`light-dark(#08A3A3, #08767D)`,\"--color-icon-teal\":`light-dark(#009688, #26A69A)`,\"--color-text-teal\":`light-dark(#083943, #40DCCD)`,\"--color-background-yellow\":`light-dark(#E2A40033, #E2A40033)`,\"--color-border-yellow\":`light-dark(#C58600, #B47700)`,\"--color-icon-yellow\":`light-dark(#FBC02D, #FFEE58)`,\"--color-text-yellow\":`light-dark(#753F07, #FBCE03)`},k={\"--color-accent\":`var(--color-accent)`,\"--color-accent-muted\":`var(--color-accent-muted)`,\"--color-on-accent\":`var(--color-on-accent)`,\"--color-neutral\":`var(--color-neutral)`,\"--color-background-surface\":`var(--color-background-surface)`,\"--color-background-body\":`var(--color-background-body)`,\"--color-overlay\":`var(--color-overlay)`,\"--color-overlay-hover\":`var(--color-overlay-hover)`,\"--color-overlay-pressed\":`var(--color-overlay-pressed)`,\"--color-background-muted\":`var(--color-background-muted)`,\"--color-text-primary\":`var(--color-text-primary)`,\"--color-text-secondary\":`var(--color-text-secondary)`,\"--color-text-disabled\":`var(--color-text-disabled)`,\"--color-text-accent\":`var(--color-text-accent)`,\"--color-on-dark\":`var(--color-on-dark)`,\"--color-on-light\":`var(--color-on-light)`,\"--color-icon-accent\":`var(--color-icon-accent)`,\"--color-icon-primary\":`var(--color-icon-primary)`,\"--color-icon-secondary\":`var(--color-icon-secondary)`,\"--color-icon-disabled\":`var(--color-icon-disabled)`,\"--color-background-card\":`var(--color-background-card)`,\"--color-background-popover\":`var(--color-background-popover)`,\"--color-background-inverted\":`var(--color-background-inverted)`,\"--color-background-error-inverted\":`var(--color-background-error-inverted)`,\"--color-info\":`var(--color-info)`,\"--color-info-muted\":`var(--color-info-muted)`,\"--color-on-info\":`var(--color-on-info)`,\"--color-success\":`var(--color-success)`,\"--color-success-muted\":`var(--color-success-muted)`,\"--color-on-success\":`var(--color-on-success)`,\"--color-error\":`var(--color-error)`,\"--color-error-muted\":`var(--color-error-muted)`,\"--color-on-error\":`var(--color-on-error)`,\"--color-warning\":`var(--color-warning)`,\"--color-warning-muted\":`var(--color-warning-muted)`,\"--color-on-warning\":`var(--color-on-warning)`,\"--color-text-info\":`var(--color-text-info)`,\"--color-text-success\":`var(--color-text-success)`,\"--color-text-warning\":`var(--color-text-warning)`,\"--color-text-error\":`var(--color-text-error)`,\"--color-icon-info\":`var(--color-icon-info)`,\"--color-icon-success\":`var(--color-icon-success)`,\"--color-icon-warning\":`var(--color-icon-warning)`,\"--color-icon-error\":`var(--color-icon-error)`,\"--color-border-info\":`var(--color-border-info)`,\"--color-border-success\":`var(--color-border-success)`,\"--color-border-warning\":`var(--color-border-warning)`,\"--color-border-error\":`var(--color-border-error)`,\"--color-on-info-muted\":`var(--color-on-info-muted)`,\"--color-on-success-muted\":`var(--color-on-success-muted)`,\"--color-on-warning-muted\":`var(--color-on-warning-muted)`,\"--color-on-error-muted\":`var(--color-on-error-muted)`,\"--color-border\":`var(--color-border)`,\"--color-border-emphasized\":`var(--color-border-emphasized)`,\"--color-skeleton\":`var(--color-skeleton)`,\"--color-track\":`var(--color-track)`,\"--color-shadow\":`var(--color-shadow)`,\"--color-tint-hover\":`var(--color-tint-hover)`,\"--color-background-blue\":`var(--color-background-blue)`,\"--color-border-blue\":`var(--color-border-blue)`,\"--color-icon-blue\":`var(--color-icon-blue)`,\"--color-text-blue\":`var(--color-text-blue)`,\"--color-background-cyan\":`var(--color-background-cyan)`,\"--color-border-cyan\":`var(--color-border-cyan)`,\"--color-icon-cyan\":`var(--color-icon-cyan)`,\"--color-text-cyan\":`var(--color-text-cyan)`,\"--color-background-gray\":`var(--color-background-gray)`,\"--color-border-gray\":`var(--color-border-gray)`,\"--color-icon-gray\":`var(--color-icon-gray)`,\"--color-text-gray\":`var(--color-text-gray)`,\"--color-background-green\":`var(--color-background-green)`,\"--color-border-green\":`var(--color-border-green)`,\"--color-icon-green\":`var(--color-icon-green)`,\"--color-text-green\":`var(--color-text-green)`,\"--color-background-orange\":`var(--color-background-orange)`,\"--color-border-orange\":`var(--color-border-orange)`,\"--color-icon-orange\":`var(--color-icon-orange)`,\"--color-text-orange\":`var(--color-text-orange)`,\"--color-background-pink\":`var(--color-background-pink)`,\"--color-border-pink\":`var(--color-border-pink)`,\"--color-icon-pink\":`var(--color-icon-pink)`,\"--color-text-pink\":`var(--color-text-pink)`,\"--color-background-purple\":`var(--color-background-purple)`,\"--color-border-purple\":`var(--color-border-purple)`,\"--color-icon-purple\":`var(--color-icon-purple)`,\"--color-text-purple\":`var(--color-text-purple)`,\"--color-background-red\":`var(--color-background-red)`,\"--color-border-red\":`var(--color-border-red)`,\"--color-icon-red\":`var(--color-icon-red)`,\"--color-text-red\":`var(--color-text-red)`,\"--color-background-teal\":`var(--color-background-teal)`,\"--color-border-teal\":`var(--color-border-teal)`,\"--color-icon-teal\":`var(--color-icon-teal)`,\"--color-text-teal\":`var(--color-text-teal)`,\"--color-background-yellow\":`var(--color-background-yellow)`,\"--color-border-yellow\":`var(--color-border-yellow)`,\"--color-icon-yellow\":`var(--color-icon-yellow)`,\"--color-text-yellow\":`var(--color-text-yellow)`,__varGroupHash__:`xj0fimd`},A={\"--spacing-0\":`0rem`,\"--spacing-0-5\":`0.125rem`,\"--spacing-1\":`0.25rem`,\"--spacing-1-5\":`0.375rem`,\"--spacing-2\":`0.5rem`,\"--spacing-3\":`0.75rem`,\"--spacing-4\":`1rem`,\"--spacing-5\":`1.25rem`,\"--spacing-6\":`1.5rem`,\"--spacing-7\":`1.75rem`,\"--spacing-8\":`2rem`,\"--spacing-9\":`2.25rem`,\"--spacing-10\":`2.5rem`,\"--spacing-11\":`2.75rem`,\"--spacing-12\":`3rem`},j={\"--spacing-0\":`var(--spacing-0)`,\"--spacing-0-5\":`var(--spacing-0-5)`,\"--spacing-1\":`var(--spacing-1)`,\"--spacing-1-5\":`var(--spacing-1-5)`,\"--spacing-2\":`var(--spacing-2)`,\"--spacing-3\":`var(--spacing-3)`,\"--spacing-4\":`var(--spacing-4)`,\"--spacing-5\":`var(--spacing-5)`,\"--spacing-6\":`var(--spacing-6)`,\"--spacing-7\":`var(--spacing-7)`,\"--spacing-8\":`var(--spacing-8)`,\"--spacing-9\":`var(--spacing-9)`,\"--spacing-10\":`var(--spacing-10)`,\"--spacing-11\":`var(--spacing-11)`,\"--spacing-12\":`var(--spacing-12)`,__varGroupHash__:`x1kvdh9l`},M={\"--size-element-sm\":`28px`,\"--size-element-md\":`32px`,\"--size-element-lg\":`36px`},N={\"--border-width\":`1px`},P={\"--border-width\":`var(--border-width)`,__varGroupHash__:`xafi2nm`},F={\"--focus-outline-width\":`2px`,\"--focus-outline-style\":`solid`,\"--focus-outline-color\":`var(--color-accent)`,\"--focus-outline-offset\":`3px`},I={\"--focus-outline-width\":`var(--focus-outline-width)`,\"--focus-outline-style\":`var(--focus-outline-style)`,\"--focus-outline-color\":`var(--focus-outline-color)`,\"--focus-outline-offset\":`var(--focus-outline-offset)`,__varGroupHash__:`xzxs3qz`},L={\"--radius-none\":`0px`,\"--radius-inner\":`4px`,\"--radius-element\":`8px`,\"--radius-container\":`12px`,\"--radius-page\":`28px`,\"--radius-chat\":`var(--radius-container)`,\"--radius-full\":`9999px`},R={\"--shadow-low\":`0px 1px 1px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), 0px 2px 8px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2))`,\"--shadow-med\":`0px 1px 2px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), 0px 2px 12px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2))`,\"--shadow-high\":`0px 2px 2px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), 0px 8px 24px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3))`,\"--shadow-inset-hover\":`inset 0px 0px 0px 2px light-dark(rgba(5, 54, 89, 0.15), rgba(223, 226, 229, 0.2))`,\"--shadow-inset-selected\":`inset 0px 0px 0px 2px rgba(1, 113, 227, 0.5)`,\"--shadow-inset-success\":`inset 0px 0px 0px 2px rgba(38, 167, 86, 0.3)`,\"--shadow-inset-warning\":`inset 0px 0px 0px 2px rgba(226, 164, 0, 0.3)`,\"--shadow-inset-error\":`inset 0px 0px 0px 2px rgba(227, 25, 59, 0.3)`},z={\"--duration-fast-min\":`130ms`,\"--duration-fast\":`175ms`,\"--duration-fast-max\":`230ms`,\"--duration-medium-min\":`310ms`,\"--duration-medium\":`410ms`,\"--duration-medium-max\":`550ms`,\"--duration-slow-min\":`730ms`,\"--duration-slow\":`975ms`,\"--duration-slow-max\":`1300ms`,\"--duration-exit\":`var(--duration-fast)`},B={\"--duration-fast-min\":`var(--duration-fast-min)`,\"--duration-fast\":`var(--duration-fast)`,\"--duration-fast-max\":`var(--duration-fast-max)`,\"--duration-medium-min\":`var(--duration-medium-min)`,\"--duration-medium\":`var(--duration-medium)`,\"--duration-medium-max\":`var(--duration-medium-max)`,\"--duration-slow-min\":`var(--duration-slow-min)`,\"--duration-slow\":`var(--duration-slow)`,\"--duration-slow-max\":`var(--duration-slow-max)`,\"--duration-exit\":`var(--duration-exit)`,__varGroupHash__:`x14lkjui`},V={\"--ease-standard\":`cubic-bezier(0.24, 1, 0.4, 1)`,\"--ease-entrance\":`cubic-bezier(0.24, 1, 0.4, 1)`,\"--ease-move\":`cubic-bezier(0.24, 1, 0.4, 1)`,\"--ease-exit\":`cubic-bezier(0.3, 0, 0.6, 0.6)`},H={\"--ease-standard\":`var(--ease-standard)`,\"--ease-entrance\":`var(--ease-entrance)`,\"--ease-move\":`var(--ease-move)`,\"--ease-exit\":`var(--ease-exit)`,__varGroupHash__:`xf09i69`},ee={\"--font-family-body\":`-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif`,\"--font-family-code\":`\"SF Mono\", Monaco, Consolas, monospace`,\"--font-family-heading\":`-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif`},U={\"--font-size-4xs\":`0.375rem`,\"--font-size-3xs\":`0.4375rem`,\"--font-size-2xs\":`0.5rem`,\"--font-size-xs\":`0.625rem`,\"--font-size-sm\":`0.75rem`,\"--font-size-base\":`0.875rem`,\"--font-size-lg\":`1.0625rem`,\"--font-size-xl\":`1.25rem`,\"--font-size-2xl\":`1.5rem`,\"--font-size-3xl\":`1.8125rem`,\"--font-size-4xl\":`2.1875rem`,\"--font-size-5xl\":`2.625rem`},te={\"--font-weight-normal\":`400`,\"--font-weight-medium\":`500`,\"--font-weight-semibold\":`600`,\"--font-weight-bold\":`700`},W={\"--text-heading-1-size\":`var(--font-size-2xl)`,\"--text-heading-1-weight\":`var(--font-weight-semibold)`,\"--text-heading-1-leading\":`1.3333`,\"--text-heading-2-size\":`var(--font-size-xl)`,\"--text-heading-2-weight\":`var(--font-weight-semibold)`,\"--text-heading-2-leading\":`1.4`,\"--text-heading-3-size\":`var(--font-size-lg)`,\"--text-heading-3-weight\":`var(--font-weight-semibold)`,\"--text-heading-3-leading\":`1.4118`,\"--text-heading-4-size\":`var(--font-size-base)`,\"--text-heading-4-weight\":`var(--font-weight-semibold)`,\"--text-heading-4-leading\":`1.4286`,\"--text-heading-5-size\":`var(--font-size-sm)`,\"--text-heading-5-weight\":`var(--font-weight-semibold)`,\"--text-heading-5-leading\":`1.6667`,\"--text-heading-6-size\":`var(--font-size-xs)`,\"--text-heading-6-weight\":`var(--font-weight-semibold)`,\"--text-heading-6-leading\":`1.6`,\"--text-body-size\":`var(--font-size-base)`,\"--text-body-weight\":`var(--font-weight-normal)`,\"--text-body-leading\":`1.4286`,\"--text-large-size\":`var(--font-size-lg)`,\"--text-large-weight\":`var(--font-weight-semibold)`,\"--text-large-leading\":`1.4118`,\"--text-label-size\":`var(--font-size-base)`,\"--text-label-weight\":`var(--font-weight-medium)`,\"--text-label-leading\":`1.4286`,\"--text-code-size\":`var(--font-size-base)`,\"--text-code-weight\":`var(--font-weight-normal)`,\"--text-code-leading\":`1.4286`,\"--text-supporting-size\":`var(--font-size-sm)`,\"--text-supporting-weight\":`var(--font-weight-normal)`,\"--text-supporting-leading\":`1.6667`,\"--text-display-1-size\":`var(--font-size-5xl)`,\"--text-display-1-weight\":`var(--font-weight-normal)`,\"--text-display-1-leading\":`1.2381`,\"--text-display-2-size\":`var(--font-size-4xl)`,\"--text-display-2-weight\":`var(--font-weight-normal)`,\"--text-display-2-leading\":`1.2571`,\"--text-display-3-size\":`var(--font-size-3xl)`,\"--text-display-3-weight\":`var(--font-weight-normal)`,\"--text-display-3-leading\":`1.2414`}}));function ne(e,t){if(typeof e!=`object`||!e||Array.isArray(e))return e;let n=Object.entries(e),r=!1,i=[];for(let[e,a]of n){let n=a===void 0?void 0:t(a,e);n===void 0?r=!0:(r||=n!==a,i.push([e,n]))}if(!(n.length>0&&i.length===0))return r?Object.fromEntries(i):e}function re(e,t){let n=ne(e,re);return n===void 0&&!q.includes(t)?{}:n}function ie(e){return ne(e,e=>ne(e,e=>ne(e,re)))}function K(e,t){let n=ie(e),r=ie(t);if(!n&&!r)return;if(!n)return r;if(!r)return n;let i={};for(let[e,t]of Object.entries(n))i[e]={...t};for(let[e,t]of Object.entries(r))if(!i[e])i[e]={...t};else for(let[n,r]of Object.entries(t)){let t={...i[e][n],...r};for(let a of q){let o=i[e][n]?.[a],s=r[a];typeof o==`object`&&typeof s==`object`&&(t[a]={...o,...s})}i[e][n]=t}return i}var q,ae=o((()=>{q=[`@light`,`@dark`]}));function oe(e,t,n){return Math.round(e*t**+n)}function se(e){return`${Math.round(e/16*1e4)/1e4}rem`}function ce(e){return e<20?1.5:e<32?1.4:1.25}function le(e){let t=e*ce(e),n=Math.max(Math.round(t/4)*4,Math.ceil((e+4)/4)*4);return Math.round(n/e*1e4)/1e4}function J(e){let{base:t,ratio:n,weights:r}=e,i={},a={...me,...r?.heading},o={...he,...r?.text};for(let e=-5;e<=6;e++){let r=oe(t,n,e);i[de[e]]=se(r)}for(let[e,r]of Object.entries(fe)){let o=Number(e),s=le(oe(t,n,r));i[`--text-heading-${o}-size`]=`var(${de[r]})`,i[`--text-heading-${o}-weight`]=a[o],i[`--text-heading-${o}-leading`]=`${s}`}for(let[e,r]of Object.entries(pe)){let a=le(oe(t,n,r));i[`--text-${e}-size`]=`var(${de[r]})`,i[`--text-${e}-weight`]=o[e],i[`--text-${e}-leading`]=`${a}`}return i}function ue(e){let t={},n={};for(let e of[1,2,3,4,5,6])n[`level:${e}`]={fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-heading-${e}-size)`,fontWeight:`var(--text-heading-${e}-weight)`,lineHeight:`var(--text-heading-${e}-leading)`};for(let e of[`display-1`,`display-2`,`display-3`])n[`type:${e}`]={fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-${e}-size)`,lineHeight:`var(--text-${e}-leading)`};t.heading=n;let r={};for(let e of[`body`,`large`,`label`,`code`,`supporting`,`display-1`,`display-2`,`display-3`])r[`type:${e}`]={fontFamily:ge[e],fontSize:`var(--text-${e}-size)`,lineHeight:`var(--text-${e}-leading)`};return t.text=r,t}var de,fe,pe,me,he,ge,_e=o((()=>{de={[-5]:`--font-size-4xs`,[-4]:`--font-size-3xs`,[-3]:`--font-size-2xs`,[-2]:`--font-size-xs`,[-1]:`--font-size-sm`,0:`--font-size-base`,1:`--font-size-lg`,2:`--font-size-xl`,3:`--font-size-2xl`,4:`--font-size-3xl`,5:`--font-size-4xl`,6:`--font-size-5xl`},fe={1:3,2:2,3:1,4:0,5:-1,6:-2},pe={body:0,large:1,label:0,code:0,supporting:-1,\"display-1\":6,\"display-2\":5,\"display-3\":4},me={1:`var(--font-weight-semibold)`,2:`var(--font-weight-semibold)`,3:`var(--font-weight-semibold)`,4:`var(--font-weight-semibold)`,5:`var(--font-weight-semibold)`,6:`var(--font-weight-semibold)`},he={body:`var(--font-weight-normal)`,large:`var(--font-weight-semibold)`,label:`var(--font-weight-medium)`,code:`var(--font-weight-normal)`,supporting:`var(--font-weight-normal)`,\"display-1\":`var(--font-weight-normal)`,\"display-2\":`var(--font-weight-normal)`,\"display-3\":`var(--font-weight-normal)`},ge={body:`var(--font-family-body)`,large:`var(--font-family-body)`,label:`var(--font-family-body)`,code:`var(--font-family-code)`,supporting:`var(--font-family-body)`,\"display-1\":`var(--font-family-heading)`,\"display-2\":`var(--font-family-heading)`,\"display-3\":`var(--font-family-heading)`}}));function ve(e){return Math.round(e/5)*5}function ye(e){let{fast:t,medium:n,slow:r,ratio:i,easing:a}=e,o={\"--duration-fast-min\":`${ve(t*i)}ms`,\"--duration-fast\":`${ve(t)}ms`,\"--duration-fast-max\":`${ve(t/i)}ms`,\"--duration-medium-min\":`${ve(n*i)}ms`,\"--duration-medium\":`${ve(n)}ms`,\"--duration-medium-max\":`${ve(n/i)}ms`};return r!=null&&(o[`--duration-slow-min`]=`${ve(r*i)}ms`,o[`--duration-slow`]=`${ve(r)}ms`,o[`--duration-slow-max`]=`${ve(r/i)}ms`),a&&(o[`--ease-standard`]=a),o}var be=o((()=>{}));function xe(e){let t=typeof e?.tempo==`number`&&Number.isFinite(e.tempo);return{tempo:t?Math.min(Se.max,Math.max(Se.min,e.tempo)):1,character:e?.character!=null&&Ce.includes(e.character)?e.character:`standard`,reducedMotion:`system`,tempoIsSet:t}}var Se,Ce,we=o((()=>{Se={min:.75,max:1.5},Ce=[`crisp`,`standard`,`expressive`]}));function Te(e,t){let n=0,r=null,i=!1;for(let a=0;ae[n]===`,`&&(t=[e.slice(0,n).trim(),e.slice(n+1).trim()],!0)),t}function De(e){let t=[],n=0;return Te(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 Oe(e,t){let n=0;for(let r=t;re){let n={},r=(t,n)=>{let a=t.indexOf(`var(`);if(a===-1)return t;let o=a+3,s=Oe(t,o);if(s===-1)return t;let c=t.slice(o+1,s),l=Ee(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 Ae=o((()=>{}));function je(e){return xe(e)}function Me(e){return`fast`in e&&`medium`in e&&`ratio`in e}function Ne(e){return Number.parseFloat(e)}function Pe(e){let t={};for(let[n,r]of Be)t[n]=`${Math.round(Ne(r)*e)}ms`;return t}function Fe(e){return e.replace(/^--duration-/,`--_astryx-pre-tempo-duration-`)}function Ie(e){let t=je(e),n={};if(t.tempoIsSet){Object.assign(n,Pe(t.tempo));for(let[e,t]of Be)n[Fe(e)]=t;n[Re]=String(t.tempo)}if(Me(e)){let r=ye(e);if(Object.assign(n,r),t.tempoIsSet)for(let[e,t]of Object.entries(r))e.startsWith(`--duration-`)&&(n[Fe(e)]=t)}let r=Me(e)&&e.easing!=null?e.easing:null,i=Le[t.character]??(e.character==null?r:r??V[`--ease-standard`]);return i!=null&&(n[`--ease-entrance`]=i,n[`--ease-move`]=i),n}var Le,Re,ze,Be,Ve=o((()=>{be(),we(),G(),Le={crisp:`cubic-bezier(0, 0, 0.2, 1)`,standard:null,expressive:`cubic-bezier(0.3, 1.2, 0.5, 1)`},Re=`--_astryx-motion-tempo`,ze=`--_astryx-reduced-motion`,Be=Object.entries(z).filter(([,e])=>!e.startsWith(`var(`))}));function He(e){let{base:t,multiplier:n}=e;return{\"--radius-none\":`0px`,\"--radius-inner\":`${Math.round(t*1*n)}px`,\"--radius-element\":`${Math.round(t*2*n)}px`,\"--radius-container\":`${Math.round(t*3*n)}px`,\"--radius-page\":`${Math.round(t*7*n)}px`,\"--radius-full\":`9999px`}}var Ue=o((()=>{}));function We(e){return e.split(``).map(e=>e+e).join(``)}function Ge(e){if(typeof e!=`string`)return null;let t=e.trim().replace(/^#/,``),n=t.length===3||t.length===4?We(t):t;return n.length!==6&&n.length!==8||!/^[0-9a-fA-F]+$/.test(n)?null:{r:parseInt(n.slice(0,2),16),g:parseInt(n.slice(2,4),16),b:parseInt(n.slice(4,6),16),a:n.length===8?parseInt(n.slice(6,8),16)/255:1}}function Ke(e){let t=e.indexOf(`(`);if(t===-1||!e.trim().endsWith(`)`))return null;let n=e.slice(t+1,e.lastIndexOf(`)`)).replace(/\\//g,` `).split(/[\\s,]+/).map(e=>e.trim()).filter(Boolean);if(n.length<3)return null;let r=e=>{let t=e.endsWith(`%`)?parseFloat(e)/100*255:parseFloat(e);return Ze(t,0,255)},i=r(n[0]),a=r(n[1]),o=r(n[2]);if([i,a,o].some(Number.isNaN))return null;let s=1;if(n.length>=4){let e=n[3];if(s=e.endsWith(`%`)?parseFloat(e)/100:parseFloat(e),Number.isNaN(s))return null;s=Ze(s,0,1)}return{r:i,g:a,b:o,a:s}}function qe(e){let t=e.trim(),n=t.toLowerCase();return Object.hasOwn(Xe,n)?{...Xe[n]}:t.startsWith(`#`)?Ge(t):/^rgba?\\(/i.test(t)?Ke(t):null}function Je(e,t,n){let r=e=>Ze(Math.round(e),0,255).toString(16).padStart(2,`0`).toUpperCase();return`#${r(e)}${r(t)}${r(n)}`}function Ye({r:e,g:t,b:n,a:r}){if(r>=1)return Je(e,t,n);let i=e=>Ze(Math.round(e),0,255);return`rgba(${i(e)}, ${i(t)}, ${i(n)}, ${parseFloat(r.toFixed(4))})`}var Xe,Ze,Qe=o((()=>{Xe={transparent:{r:0,g:0,b:0,a:0},black:{r:0,g:0,b:0,a:1},white:{r:255,g:255,b:255,a:1}},Ze=(e,t,n)=>Math.max(t,Math.min(n,e))}));function $e(e){let t=e=>{let t=e/255;return t<=.04045?t/12.92:((t+.055)/1.055)**2.4};return .2126*t(e.r)+.7152*t(e.g)+.0722*t(e.b)}function et(e,t){let n=e.a;return{r:e.r*n+t.r*(1-n),g:e.g*n+t.g*(1-n),b:e.b*n+t.b*(1-n),a:1}}function tt(e,t){if(typeof e!=`string`)return e;let n=qe(e);if(n===null)throw TypeError(`contrastRatio: could not parse ${t} \"${e}\"`);return n}function nt(e,t){let n=tt(t,`background`);if(n.a<1)throw TypeError(`contrastRatio: background must be opaque — composite it over its backdrop first`);let r=tt(e,`foreground`);r.a<1&&(r=et(r,n));let i=$e(r),a=$e(n),o=Math.max(i,a),s=Math.min(i,a);return(o+.05)/(s+.05)}var rt=o((()=>{Qe()}));function it(e){let t=e/255;return t<=.04045?t/12.92:((t+.055)/1.055)**2.4}function at(e){let t=e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055;return Math.round(Math.min(255,Math.max(0,t*255)))}function ot(e,t,n){return[.4124564*e+.3575761*t+.1804375*n,.2126729*e+.7151522*t+.072175*n,.0193339*e+.119192*t+.9503041*n]}function st(e,t,n){return[3.2404542*e-1.5371385*t-.4985314*n,-.969266*e+1.8760108*t+.041556*n,.0556434*e-.2040259*t+1.0572252*n]}function ct(e){let t=6/29;return e>t*t*t?Math.cbrt(e):e/(3*t*t)+4/29}function lt(e){let t=6/29;return e>t?e*e*e:3*t*t*(e-4/29)}function ut(e,t,n){let r=ct(e/bt[0]),i=ct(t/bt[1]),a=ct(n/bt[2]);return[116*i-16,500*(r-i),200*(i-a)]}function dt(e,t,n){let r=(e+16)/116,i=t/500+r,a=r-n/200;return[lt(i)*bt[0],lt(r)*bt[1],lt(a)*bt[2]]}function ft(e){return lt((e+16)/116)}function pt(e){let t=Ge(e);return t===null?[0,0,0]:[t.r,t.g,t.b]}function mt(e){let[t,n,r]=pt(e),[i,a,o]=ot(it(t),it(n),it(r)),[s,c,l]=ut(i,a,o),u=Math.atan2(l,c)*180/Math.PI;u<0&&(u+=360);let d=Math.sqrt(c*c+l*l);return{hue:u,chroma:d,tone:Math.max(0,Math.min(100,s))}}function ht(e){let{hue:t,chroma:n,tone:r}=e;if(r<=0)return`#000000`;if(r>=100)return`#FFFFFF`;if(n<.5){let e=gt(r);return Je(e,e,e)}let i=0,a=n,o=`#000000`;for(let e=0;e<16;e++){let e=(i+a)/2,n=_t(t,e,r);n===null?a=e:(o=n,i=e)}return o}function gt(e){return at(ft(e))}function _t(e,t,n){let r=e*Math.PI/180,[i,a,o]=dt(n,Math.cos(r)*t,Math.sin(r)*t),[s,c,l]=st(i,a,o),u=at(s),d=at(c),f=at(l),p=it(u),m=it(d),h=it(f),g=.02;return Math.abs(p-s)>g||Math.abs(m-c)>g||Math.abs(h-l)>g||u<0||u>255||d<0||d>255||f<0||f>255?null:Je(u,d,f)}function vt(e,t){let n={};for(let r of xt)n[r]=ht({hue:e,chroma:t,tone:r});return n}function yt(e,t){return e+Math.round(t*255).toString(16).padStart(2,`0`).toUpperCase()}var bt,xt,St=o((()=>{Qe(),bt=[.95047,1,1.08883],xt=[0,5,10,20,30,40,50,60,70,80,90,95,99,100]}));function Ct(e,t){return`light-dark(${e}, ${t})`}function wt(e){return`color-mix(in srgb, var(--color-accent) ${e*100}%, transparent)`}function Tt(e,t,n,r,i,a){let o=n,s=ht({hue:e,chroma:t,tone:o});for(;nt(s,i)=0&&o+r<=100;)o+=r,s=ht({hue:e,chroma:t,tone:o});return s}function Et(e){let{accent:t,neutralStyle:n=`cool`,contrast:r=`standard`}=e,[i,a]=Array.isArray(t)?t:[t,t],o=mt(i??kt),s=a===i,c=s?o:mt(a??kt),l=Dt[n]??5,u=Ot[n]??8,d=vt(o.hue,Math.max(o.chroma,48)),f=vt(o.hue,l),p=vt(o.hue,u),m=s?d:vt(c.hue,Math.max(c.chroma,48)),h=s?f:vt(c.hue,l),g=s?p:vt(c.hue,u),_=r===`high`,v=_?0:10,y=_?99:90,b=_?20:30,x=_?80:70,S=_?.2:.1,C=_?50:70,w=_?50:30,T=Ct(Tt(o.hue,u,C,-1,f[99],At),Tt(c.hue,u,w,1,h[10],At));return{...t==null?null:{\"--color-accent\":Ct(d[40],m[80]),\"--color-accent-muted\":Ct(wt(.2),wt(.25)),\"--color-on-accent\":Ct(d[100],m[20])},\"--color-neutral\":Ct(yt(f[10],.1),yt(h[90],.2)),\"--color-background-surface\":Ct(f[99],h[10]),\"--color-background-body\":Ct(f[95],h[5]),\"--color-overlay\":Ct(yt(f[10],.4),yt(h[10],.6)),\"--color-overlay-hover\":Ct(yt(f[10],.05),yt(h[100],.05)),\"--color-overlay-pressed\":Ct(yt(f[10],.1),yt(h[100],.1)),\"--color-background-muted\":Ct(yt(f[10],.05),yt(h[10],.5)),\"--color-text-primary\":Ct(f[v],h[y]),\"--color-text-secondary\":Ct(p[b],g[x]),\"--color-text-disabled\":Ct(p[60],g[40]),\"--color-text-accent\":`var(--color-accent)`,\"--color-icon-accent\":`var(--color-accent)`,\"--color-icon-primary\":Ct(f[v],h[y]),\"--color-icon-secondary\":Ct(p[b],g[x]),\"--color-icon-disabled\":Ct(p[60],g[40]),\"--color-background-card\":Ct(f[99],h[10]),\"--color-background-popover\":Ct(f[99],h[20]),\"--color-background-inverted\":Ct(f[10],h[99]),\"--color-border\":Ct(yt(f[10],S),yt(h[95],S)),\"--color-border-emphasized\":T,\"--color-skeleton\":Ct(p[70],g[30]),\"--color-track\":Ct(p[70],g[30]),\"--color-shadow\":Ct(yt(f[0],.1),yt(h[0],.3)),\"--color-tint-hover\":Ct(`black`,`white`)}}var Dt,Ot,kt,At,jt=o((()=>{rt(),St(),Dt={warm:7,cool:5,neutral:3},Ot={warm:10,cool:8,neutral:6},kt=`#0064E0`,At=3}));function Mt(e,{strict:t=!1}={}){if(typeof e==`string`)return e;if(Array.isArray(e)&&e.length===2&&typeof e[0]==`string`&&typeof e[1]==`string`)return`light-dark(${e[0]}, ${e[1]})`;if(t)throw Error(`Theme token values must be CSS strings or [light, dark] string tuples.`);return Array.isArray(e)?`light-dark(${e[0]}, ${e[1]})`:e}function Nt(e){return typeof e==`number`?String(e):{normal:`var(--font-weight-normal)`,medium:`var(--font-weight-medium)`,semibold:`var(--font-weight-semibold)`,bold:`var(--font-weight-bold)`}[e]??e}function Pt(e,t){if(!e)return;let n=e.includes(` `)?`\"${e}\"`:e;return t?`${n}, ${t}`:n}function Ft(e){if(!e.scale)return;let t={},n=e.heading;if(n?.weights)for(let[e,r]of Object.entries(n.weights))r&&(t[Number(e)]=Nt(r));let r=n?.weight?Nt(n.weight):void 0;if(r)for(let e=1;e<=6;e++)e in t||(t[e]=r);let i={};return e.body?.weight&&(i.body=Nt(e.body.weight)),e.code?.weight&&(i.code=Nt(e.code.weight)),{base:e.scale.base,ratio:e.scale.ratio,weights:{...Object.keys(t).length>0?{heading:t}:{},...Object.keys(i).length>0?{text:i}:{}}}}function It(e){let t={},n=Pt(e.body?.family,e.body?.fallbacks),r=Pt(e.heading?.family,e.heading?.fallbacks)??n,i=Pt(e.code?.family,e.code?.fallbacks);return n&&(t[`--font-family-body`]=n),r&&(t[`--font-family-heading`]=r),i&&(t[`--font-family-code`]=i),t}function Lt(e,t,{strictTokens:n=!1,inheritedCharacter:r,standardBeneath:i}={}){let a={...t?.tokens},o=e.typography,s=o?Ft(o):void 0;if(e.color&&Object.assign(a,Et(e.color)),s&&Object.assign(a,J(s)),e.radius&&Object.assign(a,He(e.radius)),e.motion){let t=Ie(e.motion);Object.assign(a,t);let n=!1;for(let[e,r]of Object.entries(t)){let i=Fe(e);i!==e&&(n=!0,i in t||(a[i]=r))}n&&!(`--_astryx-motion-tempo`in t)&&(a[Re]=`1`)}if(o&&Object.assign(a,It(o)),e.syntax)for(let[t,n]of Object.entries(e.syntax.tokens))a[`--color-syntax-`+t]=n;if(e.tokens){let t=e.tokens;for(let[r,i]of Object.entries(e.tokens))if(i!==void 0){a[r]=Mt(i,{strict:n});let e=Fe(r);e!==r&&t[e]===void 0&&(a[e]=a[r])}}let c=e.tokens??{},l=e.motion!=null&&`character`in e.motion?e.motion.character:void 0,u=l??r;if(l===`standard`||c[`--ease-standard`]!==void 0&&(u===void 0||u===`standard`)){let e=a[`--ease-standard`]??i??V[`--ease-standard`];for(let t of[`--ease-entrance`,`--ease-move`])c[t]===void 0&&(a[t]=e)}let d=ie(e.components);return s&&(d=K(ue(s),e.components)),t?.components&&(d=K(t.components,d)),{tokens:a,components:d}}var Rt=o((()=>{_e(),Ve(),Ue(),G(),jt(),ae()}));function zt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Bt(e,t){if(typeof e==`string`)return e;if(Array.isArray(e)&&e.length===2&&typeof e[0]==`string`&&typeof e[1]==`string`)return`light-dark(${e[0]}, ${e[1]})`;throw Error(`${t} must be a CSS string or a [light, dark] string tuple.`)}function Vt(e,t,n=new Set){if(typeof e==`string`){Gt.lastIndex=0;for(let n=Gt.exec(e);n;n=Gt.exec(e))t.add(n[1])}else if(e&&typeof e==`object`){if(n.has(e))throw new Kt;n.add(e);let r=Array.isArray(e)?e:Object.values(e);for(let e of r)Vt(e,t,n);n.delete(e)}}function Ht(e,t,n,r){let i=new Map;for(let[n,a]of Object.entries(e)){let o=new Set;try{Vt(a,o,new Set([e]))}catch(e){if(!(e instanceof Kt))throw e;let i=r?.(n)??t;throw Error(`${i?`${i}: `:``}tokens refers to itself: the value of ${n} holds an object it sits in, so it never ends and is no token value.`,{cause:e})}i.set(n,[...o].filter(t=>zt(e,t)))}let a=(e,t)=>{let n=[e],r=new Set(n),a=o=>{for(let s of i.get(o)??[])if(t.has(s)){if(s===e)return n.push(e),!0;if(!r.has(s)){if(n.push(s),r.add(s),a(s))return!0;r.delete(s),n.pop()}}return!1};return a(e),n},o=0,s=new Map,c=new Map,l=[],u=new Set,d=e=>{let r=o++;s.set(e,r),c.set(e,r),l.push(e),u.add(e);for(let t of i.get(e)??[])s.has(t)?u.has(t)&&c.set(e,Math.min(c.get(e)??r,s.get(t)??0)):(d(t),c.set(e,Math.min(c.get(e)??r,c.get(t)??0)));if(c.get(e)!==r)return;let f=[],p;do p=l.pop()??e,u.delete(p),f.push(p);while(p!==e);if(!(f.length>1||(i.get(f[0])??[]).includes(f[0]))||n&&!f.some(e=>n.has(e)))return;let m=f.find(e=>n?.has(e))??f[0],h=a(m,new Set(f)).join(` -> `);throw Error(`${t?`${t}: `:``}Theme token cycle detected: ${h}.`)};for(let t of Object.keys(e))s.has(t)||d(t)}function Ut(e,t,n,r){let i=`defineTheme(\"${e}\").adaptations.rules[${t}].value.localTokens`;if(n===void 0)return;if(typeof n!=`object`||!n||Array.isArray(n))throw Error(`${i} must be a token map.`);let a={};for(let[e,t]of Object.entries(n))if(t!==void 0){if(!r||!zt(r,e))throw Error(`${i}[\"${e}\"] cannot enroll a theme-local token. Declare it in the root theme or an exact enrolled base first.`);a[e]=Bt(t,`${i}[\"${e}\"]`)}return Object.keys(a).length>0?a:void 0}var Wt,Gt,Kt,qt=o((()=>{Wt=String.raw`(?:[-_a-zA-Z0-9]|\\P{ASCII}|\\\\(?:[0-9a-fA-F]{1,6}[ \\t\\r\\n\\f]?|[^\\r\\n\\f]))`,RegExp(`^--${Wt}*$`,`u`),Gt=RegExp(`var\\\\(\\\\s*(--${Wt}*)(?=\\\\s*(?:,|\\\\)))`,`giu`),Kt=class extends Error{}}));function Jt(e){return`(width < ${e}px)`}function Yt(e){return`(height < ${e}px)`}function Xt(e){return`(width >= ${e}px)`}function Zt(e=wn){let t=Jt(e.md),n=Yt(Tn);return Object.freeze({widthBelow:e.md,heightBelow:Tn,query:`${t}, ${n}`,coarsePointerQuery:`${t} and (pointer: coarse), ${n} and (pointer: coarse)`})}function Qt(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function $t(e,t){if(!Qt(e))throw Error(`${t} must be an object.`)}function en(e,t,n){for(let r of Object.keys(e))if(!t.has(r))throw Error(`${n}.${r} is not supported.`)}function tn(e,t=`value`,n=new Set){if(Array.isArray(e)||Qt(e)){if(n.has(e))throw Error(`${t} holds an object it sits in, so it never ends and is no theme value.`);n.add(e);try{if(Array.isArray(e)){let r=[];for(let[i,a]of e.entries())r.push(tn(a,`${t}[${i}]`,n));return r}return Object.fromEntries(Object.entries(e).map(([e,r])=>[e,tn(r,`${t}.${e}`,n)]))}finally{n.delete(e)}}return e}function nn(e,t){$t(e,t),en(e,Dn,t);let n={};for(let r of Cn){let i=e[r];if(i!==void 0){if(typeof i!=`number`||!Number.isFinite(i)||i<=0)throw Error(`${t}.${r} must be a finite positive number of CSS pixels.`);n[r]=i}}return n}function rn(e,t){let n=nn(e,t);for(let e of Cn)if(n[e]===void 0)throw Error(`${t}.${e} is missing from the effective breakpoint map.`);return n}function an(e,t){let n;for(let r of Cn){if(n!==void 0&&e[r]<=e[n])throw Error(`${t} must be strictly increasing: ${r} (${e[r]}) is not above ${n} (${e[n]}).`);n=r}}function on(e,t){$t(e,t),en(e,An,t);let n=Object.fromEntries(Object.entries(e).filter(([,e])=>e!==void 0));if(Object.keys(n).length===0)throw Error(`${t} must contain at least one condition.`);let r=tn(n,t);if(r.width!==void 0){if($t(r.width,`${t}.width`),en(r.width,jn,`${t}.width`),r.width.from===void 0&&r.width.below===void 0)throw Error(`${t}.width must contain \\`from\\`, \\`below\\`, or both.`);for(let e of[`from`,`below`]){let n=r.width[e];if(n!==void 0&&(typeof n!=`string`||!Dn.has(n)))throw Error(`${t}.width.${e} must be one of ${Cn.join(`, `)}.`)}}if(r.pointer!==void 0&&r.pointer!==`coarse`&&r.pointer!==`fine`)throw Error(`${t}.pointer must be 'coarse' or 'fine'.`);if(r.contrast!==void 0&&r.contrast!==`more`&&r.contrast!==`less`&&r.contrast!==`no-preference`)throw Error(`${t}.contrast must be 'more', 'less', or 'no-preference'.`);if(r.motion!==void 0&&r.motion!==`reduce`&&r.motion!==`no-preference`)throw Error(`${t}.motion must be 'reduce' or 'no-preference'.`);return r}function sn(e,t){$t(e,t),en(e,Mn,t);for(let n of Mn){let r=e[n];if(r!==void 0&&!Qt(r))throw Error(`${t}.${n} must be an object.`)}return tn(e,t)}function cn(e,t){if($t(e,t),en(e,kn,t),!Object.prototype.hasOwnProperty.call(e,`when`))throw Error(`${t}.when is required.`);if(!Object.prototype.hasOwnProperty.call(e,`value`))throw Error(`${t}.value is required.`);return{when:on(e.when,`${t}.when`),value:sn(e.value,`${t}.value`)}}function ln(e,t){if(!Array.isArray(e))throw Error(`${t} must be an array of {when, value} objects.`);for(let n=0;ncn(e,`${t}[${n}]`))}function un(e,t,n){let r=`defineTheme(\"${e}\").adaptations`,i={...wn},a=[];t!==void 0&&($t(t,`defineTheme(\"${e}\").extends.__adaptations`),en(t,new Set([`widthBreakpoints`,`rules`]),`defineTheme(\"${e}\").extends.__adaptations`),i=rn(t.widthBreakpoints,`defineTheme(\"${e}\").extends.__adaptations.widthBreakpoints`),a=ln(t.rules,`defineTheme(\"${e}\").extends.__adaptations.rules`));let o={},s=[];n!==void 0&&($t(n,r),en(n,On,r),n.widthBreakpoints!==void 0&&(o=nn(n.widthBreakpoints,`${r}.widthBreakpoints`)),n.rules!==void 0&&(s=ln(n.rules,`${r}.rules`)));let c={...i,...o};return an(c,`${r}.widthBreakpoints`),{widthBreakpoints:c,rules:[...a,...s]}}function dn(e,t){return e?t?{...e,...t,weights:e.weights||t.weights?{...e.weights,...t.weights}:void 0}:e:t}function fn(e,t){if(typeof e!=`number`||!Number.isFinite(e))throw Error(`${t} must be a finite number.`)}function pn(e,t,n){let r=t.scale!==void 0||[t.body,t.heading,t.code].some(e=>e?.weight!==void 0||e?.weights!==void 0),i=r?e?.scale:void 0;if(t.scale!==void 0){let r=t.scale.base??e?.scale?.base,a=t.scale.ratio??e?.scale?.ratio;if(r===void 0||a===void 0)throw Error(`${n}.scale must supply both \\`base\\` and \\`ratio\\` unless the missing field exists on the effective root typography axis.`);fn(r,`${n}.scale.base`),fn(a,`${n}.scale.ratio`),i={base:r,ratio:a}}else if(r&&i===void 0)throw Error(`${n} sets typography weights without an effective root scale. Supply \\`scale.base\\` and \\`scale.ratio\\` in the same rule.`);return{...i?{scale:i}:{},body:dn(e?.body,t.body),heading:dn(e?.heading,t.heading),code:dn(e?.code,t.code)}}function mn(e,t,n){let r=t.base??e?.base,i=t.multiplier??e?.multiplier;if(r===void 0||i===void 0)throw Error(`${n} must supply both \\`base\\` and \\`multiplier\\` unless the missing field exists on the effective root radius axis.`);return fn(r,`${n}.base`),fn(i,`${n}.multiplier`),{base:r,multiplier:i}}function hn(e,t,n){if(t.reducedMotion!==void 0)throw Error(`${n}.reducedMotion is a theme-wide setting: set it on the theme's own motion, not in an adaptation rule.`);let r=t.tempo??e?.tempo,i=t.character??e?.character,a={...r===void 0?{}:{tempo:r},...i===void 0?{}:{character:i}};a.tempo!==void 0&&fn(a.tempo,`${n}.tempo`);let o=e!=null&&`fast`in e?e:{};if(t.fast===void 0&&t.medium===void 0&&t.ratio===void 0&&t.slow===void 0&&t.easing===void 0&&!(`fast`in o))return a;let s=t.fast??o.fast,c=t.medium??o.medium,l=t.ratio??o.ratio;if(s===void 0||c===void 0||l===void 0)throw Error(`${n} must supply \\`fast\\`, \\`medium\\`, and \\`ratio\\` unless each missing field exists on the effective root motion axis.`);fn(s,`${n}.fast`),fn(c,`${n}.medium`),fn(l,`${n}.ratio`);let u=t.slow??o.slow;u!==void 0&&fn(u,`${n}.slow`);let d=t.easing??o.easing;return{fast:s,medium:c,ratio:l,...u===void 0?{}:{slow:u},...d===void 0?{}:{easing:d},...a}}function gn(e,t,n,r){let i=`defineTheme(\"${e}\").adaptations.rules[${t}].value`;return{typography:n.typography?pn(r.typography,n.typography,`${i}.typography`):void 0,color:n.color?{...r.color,...n.color}:void 0,radius:n.radius?mn(r.radius,n.radius,`${i}.radius`):void 0,motion:n.motion?hn(r.motion,n.motion,`${i}.motion`):void 0,tokens:n.tokens,components:n.components}}function _n(e,t){if(typeof e==`string`){if(/\\b(?:NaN|undefined)\\b/.test(e))throw Error(`${t} resolved to the invalid CSS value \"${e}\".`)}else if(Qt(e))for(let[n,r]of Object.entries(e))_n(r,`${t}.${n}`);else throw Error(`${t} must resolve to a concrete CSS string.`)}function vn(e,t,n,r){let i=`defineTheme(\"${e}\").adaptations.rules[${t}].when`,a=[];if(n.width){let e=n.width.from,t=n.width.below;if(e!==void 0&&t!==void 0&&r[e]>=r[t])throw Error(`${i}.width must resolve to \\`from < below\\`; ${e} is ${r[e]}px and ${t} is ${r[t]}px.`);e!==void 0&&a.push(Xt(r[e])),t!==void 0&&a.push(Jt(r[t]))}if(n.pointer!==void 0&&a.push(`(pointer: ${n.pointer})`),n.contrast!==void 0&&a.push(`(prefers-contrast: ${n.contrast})`),n.motion!==void 0&&a.push(`(prefers-reduced-motion: ${n.motion})`),a.length===0)throw Error(`${i} must contain at least one concrete condition.`);return a.join(` and `)}function yn(e,t,n){let r=e.width?.from;if(r!==void 0&&n.width=t[i]||e.pointer!==void 0&&e.pointer!==n.pointer||e.contrast!==void 0&&e.contrast!==n.contrast||e.motion!==void 0&&e.motion!==n.motion)}function bn(e,t,n,r,i){let a=i.flatMap((e,t)=>Object.keys(e.tokens).length>0||e.localTokens&&Object.keys(e.localTokens).length>0?[t]:[]);if(a.length===0)return;let o=[0,...Cn.map(e=>t[e])],s=new Set;for(let c of o)for(let o of Nn.pointer)for(let l of Nn.contrast)for(let u of Nn.motion){let d={width:c,pointer:o,contrast:l,motion:u},f=a.filter(e=>yn(i[e].when,t,d));if(f.length===0)continue;let p=f.join(`,`);if(s.has(p))continue;s.add(p);let m={...n,...r},h=new Set;for(let e of f){let t=i[e];Object.assign(m,t.tokens,t.localTokens);for(let e of Object.keys(t.tokens))h.add(e);for(let e of Object.keys(t.localTokens??{}))h.add(e)}let g=f.join(`, `),_=f.map(e=>i[e].query).join(`; `),v=`defineTheme(\"${e}\").adaptations ${f.length===1?`rule`:`overlapping rules`} [${g}] (${_})`;Ht(m,v,h,t=>h.has(t)?v:`defineTheme(\"${e}\").tokens`)}}function xn(e,t,n){if(!e||!t)return e;let r={};for(let[i,a]of Object.entries(e))for(let[e,o]of Object.entries(a)){let a=Object.fromEntries(Object.entries(o).filter(([r])=>t[i]?.[e]?.[r]===void 0||Object.hasOwn(n?.[i]?.[e]??{},r)));Object.keys(a).length>0&&((r[i]??={})[e]=a)}return Object.keys(r).length>0?r:void 0}function Sn(e,t,n,r,i,a){if(t.rules.length===0)return;let o=t.rules.map((o,s)=>{let c=gn(e,s,o.value,n),l=Lt(c,void 0,{strictTokens:!0,inheritedCharacter:n.motion?.character,standardBeneath:r[`--ease-standard`]});for(let[t,n]of Object.entries(l.tokens))_n(n,`defineTheme(\"${e}\").adaptations.rules[${s}].value.tokens[\"${t}\"]`);l.components&&_n(l.components,`defineTheme(\"${e}\").adaptations.rules[${s}].value.components`);for(let t of Object.keys(o.value.tokens??{}))if(i&&Object.prototype.hasOwnProperty.call(i,t))throw Error(`defineTheme(\"${e}\").adaptations.rules[${s}].value.tokens[\"${t}\"] matches an enrolled theme-local declaration; write it through value.localTokens instead.`);let u=Ut(e,s,o.value.localTokens,i);return{when:o.when,query:vn(e,s,o.when,t.widthBreakpoints),tokens:l.tokens,localTokens:u,components:c.typography?.scale?xn(l.components,a,ie(o.value.components)):l.components}});return bn(e,t.widthBreakpoints,r,i,o),o}var Cn,wn,Tn,En,Dn,On,kn,An,jn,Mn,Nn,Pn=o((()=>{Rt(),ae(),qt(),Cn=[`sm`,`md`,`lg`,`xl`,`2xl`],wn=Object.freeze({sm:640,md:768,lg:1024,xl:1280,\"2xl\":1536}),Tn=500,En=Zt(),Dn=new Set(Cn),On=new Set([`widthBreakpoints`,`rules`]),kn=new Set([`when`,`value`]),An=new Set([`width`,`pointer`,`contrast`,`motion`]),jn=new Set([`from`,`below`]),Mn=new Set([`typography`,`color`,`radius`,`motion`,`tokens`,`localTokens`,`components`]),Nn={pointer:[`coarse`,`fine`,`none`],contrast:[`more`,`less`,`no-preference`,`custom`],motion:[`reduce`,`no-preference`]}})),Fn,In,Ln=o((()=>{Fn={\"--color-syntax-keyword\":`var(--color-text-accent)`,\"--color-syntax-string\":`var(--color-text-green)`,\"--color-syntax-comment\":`var(--color-text-secondary)`,\"--color-syntax-number\":`var(--color-text-orange)`,\"--color-syntax-function\":`var(--color-text-blue)`,\"--color-syntax-type\":`var(--color-text-purple)`,\"--color-syntax-variable\":`var(--color-text-primary)`,\"--color-syntax-operator\":`var(--color-text-cyan)`,\"--color-syntax-constant\":`var(--color-text-orange)`,\"--color-syntax-tag\":`var(--color-text-red)`,\"--color-syntax-attribute\":`var(--color-text-teal)`,\"--color-syntax-property\":`var(--color-text-cyan)`,\"--color-syntax-punctuation\":`var(--color-text-secondary)`,\"--color-syntax-background\":`var(--color-background-muted)`,\"--color-syntax-added\":`color-mix(in srgb, var(--color-success-muted) 25%, transparent)`,\"--color-syntax-removed\":`color-mix(in srgb, var(--color-error-muted) 25%, transparent)`,\"--color-syntax-diff-header\":`var(--color-background-muted)`,\"--color-syntax-added-marker\":`var(--color-text-green)`,\"--color-syntax-removed-marker\":`var(--color-text-red)`},In=[`--color-syntax-added`,`--color-syntax-removed`,`--color-syntax-diff-header`,`--color-syntax-added-marker`,`--color-syntax-removed-marker`]})),Rn,zn=o((()=>{Rn={\"--color-data-categorical-blue\":`light-dark(#0171E3, #0171E3)`,\"--color-data-categorical-orange\":`light-dark(#EB6E00, #EB6E00)`,\"--color-data-categorical-purple\":`light-dark(#6B1EFD, #6B1EFD)`,\"--color-data-categorical-green\":`light-dark(#0B991F, #0B991F)`,\"--color-data-categorical-pink\":`light-dark(#F351C0, #F351C0)`,\"--color-data-categorical-cyan\":`light-dark(#0171A4, #0171A4)`,\"--color-data-categorical-red\":`light-dark(#F5394F, #F5394F)`,\"--color-data-categorical-teal\":`light-dark(#08A3A3, #08A3A3)`,\"--color-data-categorical-brown\":`light-dark(#965E03, #965E03)`,\"--color-data-categorical-indigo\":`light-dark(#6F8AFF, #6F8AFF)`,\"--color-data-neutral\":`light-dark(#8494A3, #8C939B)`,\"--color-data-blue-5\":`light-dark(#02165E, #02165E)`,\"--color-data-blue-4\":`light-dark(#004CBC, #004CBC)`,\"--color-data-blue-3\":`light-dark(#2694FE, #2694FE)`,\"--color-data-blue-2\":`light-dark(#78BEFF, #78BEFF)`,\"--color-data-blue-1\":`light-dark(#DBECFF, #DBECFF)`,\"--color-data-shamrock-5\":`light-dark(#0B603D, #0B603D)`,\"--color-data-shamrock-4\":`light-dark(#138546, #138546)`,\"--color-data-shamrock-3\":`light-dark(#24BB5E, #24BB5E)`,\"--color-data-shamrock-2\":`light-dark(#8EF7AA, #8EF7AA)`,\"--color-data-shamrock-1\":`light-dark(#D6FEE4, #D6FEE4)`,\"--color-data-orange-5\":`light-dark(#A13F04, #A13F04)`,\"--color-data-orange-4\":`light-dark(#D66100, #D66100)`,\"--color-data-orange-3\":`light-dark(#FD9537, #FD9537)`,\"--color-data-orange-2\":`light-dark(#FDB876, #FDB876)`,\"--color-data-orange-1\":`light-dark(#FFE6CF, #FFE6CF)`,\"--color-data-pink-5\":`light-dark(#8E1073, #8E1073)`,\"--color-data-pink-4\":`light-dark(#D123A1, #D123A1)`,\"--color-data-pink-3\":`light-dark(#F989D3, #F989D3)`,\"--color-data-pink-2\":`light-dark(#FEADE3, #FEADE3)`,\"--color-data-pink-1\":`light-dark(#FCE3F4, #FCE3F4)`,\"--color-data-purple-5\":`light-dark(#3E0697, #3E0697)`,\"--color-data-purple-4\":`light-dark(#6B1EFD, #6B1EFD)`,\"--color-data-purple-3\":`light-dark(#9081FF, #9081FF)`,\"--color-data-purple-2\":`light-dark(#B3B0FE, #B3B0FE)`,\"--color-data-purple-1\":`light-dark(#E8E8FB, #E8E8FB)`,\"--color-data-red-5\":`light-dark(#9D0519, #9D0519)`,\"--color-data-red-4\":`light-dark(#D31130, #D31130)`,\"--color-data-red-3\":`light-dark(#FB7D87, #FB7D87)`,\"--color-data-red-2\":`light-dark(#FFB2B8, #FFB2B8)`,\"--color-data-red-1\":`light-dark(#FEE4E6, #FEE4E6)`,\"--color-data-teal-5\":`light-dark(#08767D, #08767D)`,\"--color-data-teal-4\":`light-dark(#0C9293, #0C9293)`,\"--color-data-teal-3\":`light-dark(#0DB7AF, #0DB7AF)`,\"--color-data-teal-2\":`light-dark(#6CE6D8, #6CE6D8)`,\"--color-data-teal-1\":`light-dark(#D7FCF8, #D7FCF8)`,\"--color-data-yellow-5\":`light-dark(#8A5001, #8A5001)`,\"--color-data-yellow-4\":`light-dark(#D69804, #D69804)`,\"--color-data-yellow-3\":`light-dark(#FBCE03, #FBCE03)`,\"--color-data-yellow-2\":`light-dark(#FCEC85, #FCEC85)`,\"--color-data-yellow-1\":`light-dark(#FDF6BA, #FDF6BA)`,\"--color-data-gray-5\":`light-dark(#25363F, #333338)`,\"--color-data-gray-4\":`light-dark(#5D6C7B, #666A72)`,\"--color-data-gray-3\":`light-dark(#AFB9C4, #B2B8BE)`,\"--color-data-gray-2\":`light-dark(#CCD3DB, #D0D3D6)`,\"--color-data-gray-1\":`light-dark(#F1F4F7, #F2F4F6)`}})),Bn,Vn=o((()=>{Ln(),zn(),Bn={...Fn,...Rn}})),Hn,Un=o((()=>{Vn(),G(),Hn={...O,...A,...M,...N,...F,...L,...R,...z,...V,...ee,...U,...te,...W,...Bn}}));function Wn(e,t){return Symbol.for(`@astryxdesign/core/${e}/v${t}`)}function Gn(e,t,n=()=>!0){let r=globalThis;if(Object.hasOwn(r,e)){let i=r[e];return n(i)?i:t()}let i=t();return r[e]=i,i}function Kn(e,t,n){return Gn(Wn(e,t),n)}function qn(e,t){return Kn(e,t,()=>new Map)}function Jn(e,t){return Kn(e,t,()=>new WeakMap)}function Yn(e,t){return Kn(e,t,()=>new WeakSet)}var Xn=o((()=>{}));function Zn(e,t,n){let r=Gn(Wn(`react/${e}`,t),()=>new WeakMap,e=>e instanceof WeakMap);if(r.has(Qn.createElement))return r.get(Qn.createElement);let i=n();return r.set(Qn.createElement,i),i}var Qn,$n=o((()=>{Qn=u(f(),1),Xn()}));function er(e){nr.set(e.name,e)}function tr(e){return e==null||e===``?null:nr.get(e)??null}var nr,rr=o((()=>{$n(),nr=Zn(`theme/theme-registry/themes`,1,()=>new Map)}));function ir(e){return typeof e==`object`&&!!e&&`name`in e&&`tokens`in e&&!(`styles`in e)}var ar=o((()=>{Un()}));function or(e){return`${ur}-${e}`}function sr(e){return`data-${dr}-${e}`}function cr(e){return`--${fr}-${e}`}var lr,ur,dr,fr,pr=o((()=>{lr=`astryx`,ur=lr,dr=lr,fr=lr}));function mr(e){return`data-${e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase()}`}function hr(e){let t={};for(let[n,r]of Object.entries(e))n.startsWith(`data-`)&&(t[n]=r);return t}function gr(e){return or(e)}function _r(e){let t={};if(e)for(let[n,r]of Object.entries(e))r!=null&&(t[mr(n)]=String(r));return t}function Y(e,t){return{className:gr(e),..._r(t)}}var vr=o((()=>{pr()}));vr();function yr(e){let t=``;for(let n of e){let e=n.codePointAt(0)??0;t+=n===`\"`||n===`\\\\`||e<32||e===127?`\\\\${(e===0?65533:e).toString(16)} `:n}return t}function br(e){return e===`base`?``:e.split(`+`).map(e=>{let t=e.indexOf(`:`),n=t===-1?e:e.slice(0,t),r=t===-1?e:e.slice(t+1);return`[${mr(n)}=\"${yr(r)}\"]`}).join(``)}var xr=[`top-left`,`top-right`,`bottom-right`,`bottom-left`],Sr=[`start-start`,`start-end`,`end-start`,`end-end`],Cr={avatar:[{property:`borderRadius`,vars:[`--_avatar-radius`]}],banner:[{property:`borderRadius`,vars:[`--_banner-radius`]}],\"bottom-sheet\":[{property:`padding`,expand:`container`}],button:[{property:`borderRadius`,vars:[`--_button-radius`]}],card:[{property:`borderRadius`,vars:[`--_card-radius`],corners:!0},{property:`padding`,expand:`container`}],\"chat-composer\":[{property:`borderRadius`,vars:[`--_chat-composer-radius`]},{property:`padding`,vars:[`--_chat-composer-padding`]}],\"checkbox-input\":[{property:`gap`,vars:[`--_checkbox-input-gap`],replaces:!0}],dialog:[{property:`borderRadius`,vars:[`--_dialog-radius`],corners:!0},{property:`padding`,expand:`container`}],drawer:[{property:`padding`,expand:`container`}],\"context-menu\":[{property:`borderRadius`,vars:[`--_dropdown-menu-radius`],corners:!0},{property:`padding`,vars:[`--_dropdown-menu-padding`]}],\"dropdown-menu\":[{property:`borderRadius`,vars:[`--_dropdown-menu-radius`],corners:!0},{property:`padding`,vars:[`--_dropdown-menu-padding`]}],field:[{property:`borderRadius`,vars:[`--_field-radius`]}],\"hover-card\":[{property:`borderRadius`,vars:[`--_hovercard-radius`]}],icon:[{property:`width`,vars:[`--_icon-width`],replaces:!0},{property:`height`,vars:[`--_icon-height`],replaces:!0}],item:[{property:`paddingInline`,vars:[`--_item-inset-inline`]}],\"number-input\":[{property:`padding`,expand:`container`},{property:`borderRadius`,vars:[`--_field-radius`]}],popover:[{property:`borderRadius`,vars:[`--_popover-radius`]}],\"progress-bar-mark\":[{property:`width`,vars:[`--_progressbar-mark-width`],replaces:!0},{property:`height`,vars:[`--_progressbar-mark-height`],replaces:!0}],section:[{property:`padding`,expand:`container`}],\"segmented-control\":[{property:`borderRadius`,vars:[`--_segmented-control-radius`]},{property:`padding`,vars:[`--_segmented-control-padding`]}],\"switch-field\":[{property:`gap`,vars:[`--_switch-field-gap`],replaces:!0}],\"switch-thumb\":[{property:`width`,vars:[`--_switch-thumb-width`],replaces:!0},{property:`height`,vars:[`--_switch-thumb-height`],replaces:!0}],\"table-row\":[{property:`backgroundColor`,vars:[`--table-row-overlay`]}],\"text-area\":[{property:`paddingInline`,vars:[`--_textarea-inline-padding`],replaces:!0}]};function wr(e,t){let n=Cr[e];return n?n.filter(e=>e.property===t):[]}function Tr(e,t){let n=e.a;return{r:e.r*n+t.r*(1-n),g:e.g*n+t.g*(1-n),b:e.b*n+t.b*(1-n),a:1}}function Er({r:e,g:t,b:n}){return .2126*Fr(e)+.7152*Fr(t)+.0722*Fr(n)}function Dr(e,t){let n=t.a<1?Tr(t,{r:255,g:255,b:255,a:1}):t,r=Er(e.a<1?Tr(e,n):e),i=Er(n);return(Math.max(r,i)+.05)/(Math.min(r,i)+.05)}function Or({r:e,g:t,b:n}){let r=Fr(e),i=Fr(t),a=Fr(n),o=Math.cbrt(.4122214708*r+.5363325363*i+.0514459929*a),s=Math.cbrt(.2119034982*r+.6806995451*i+.1073969566*a),c=Math.cbrt(.0883024619*r+.2817188376*i+.6299787005*a),l=.2104542553*o+.793617785*s-.0040720468*c,u=1.9779984951*o-2.428592205*s+.4505937099*c,d=.0259040371*o+.7827717662*s-.808675766*c;return{l,c:Math.hypot(u,d),h:Math.atan2(d,u)}}function kr({l:e,c:t,h:n}){let r=t*Math.cos(n),i=t*Math.sin(n),a=(e+.3963377774*r+.2158037573*i)**3,o=(e-.1055613458*r-.0638541728*i)**3,s=(e-.0894841775*r-1.291485548*i)**3;return[4.0767416621*a-3.3077115913*o+.2309699292*s,-1.2684380046*a+2.6097574011*o-.3413193965*s,-.0041960863*a-.7034186147*o+1.707614701*s]}function Ar(e){let t=e.c;for(let n=0;n<40;n++){let n=kr({...e,c:t});if(n.every(e=>e>=-1e-4&&e<=1.0001)){let[e,t,r]=n.map(e=>Ir(Math.min(1,Math.max(0,e))));return{r:e,g:t,b:r,a:1}}t*=.9}let[n,r,i]=kr({...e,c:0}).map(e=>Ir(Math.min(1,Math.max(0,e))));return{r:n,g:r,b:i,a:1}}function jr(e){let{l:t,c:n}=Or(e);return n>=.03&&t>=Lr[0]&&t<=Lr[1]}function Mr(e,t,n){let r=e=>t.every(t=>Dr(e,t)>=n),i={...e,a:1};if(r(i))return i;let a=t.reduce((e,t)=>e+Er(t),0)/t.length,o=Or(i),s=a>.18,c=s?0:o.l,l=s?o.l:1,u=e=>Ar({...o,l:e}),d=u(+!s);if(!r(d))return null;for(let e=0;e<32;e++){let e=(c+l)/2,t=r(u(e));s?t?c=e:l=e:t?l=e:c=e}let f=u(s?c:l);return r(f)?f:d}function Nr(e){return e===void 0?null:qe(e)}function Pr(e){let t=Je(e.r,e.g,e.b);return e.a>=1?t:`${t}${Math.round(e.a*255).toString(16).padStart(2,`0`).toUpperCase()}`}var Fr,Ir,Lr,Rr=o((()=>{Qe(),Fr=e=>{let t=e/255;return t<=.04045?t/12.92:((t+.055)/1.055)**2.4},Ir=e=>(e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055)*255,Lr=[.2,.95]}));function zr(e){return`--color-${e}`}function Br(e){let t=[],n=0,r=``;for(let i of e)i===`(`&&n++,i===`)`&&n--,i===`,`&&n===0?(t.push(r.trim()),r=``):r+=i;return t.push(r.trim()),t}function Vr(e,t,n,r=new Set){if(!r.has(t))return Hr(e,e[t]??O[t],n,new Set([...r,t]))}function Hr(e,t,n,r){if(Array.isArray(t))return Hr(e,t[n===`light`?0:1],n,r);if(typeof t!=`string`)return;let i=t.trim();if(/^light-dark\\(/i.test(i)&&i.endsWith(`)`)){let[t,a]=Br(i.slice(i.indexOf(`(`)+1,-1));return Hr(e,n===`light`?t:a,n,r)}let a=/^var\\(\\s*(--[\\w-]+)\\s*(?:,(.*))?\\)$/s.exec(i);return a?Vr(e,a[1],n,r)??(a[2]?Hr(e,a[2],n,r):void 0):i}function Ur(e){let t=new Set([...Object.keys(O),...Object.keys(e)]),n=n=>{let r={};for(let i of t){let t=Vr(e,i,n);t!==void 0&&(r[i]=t)}return r};return{light:n(`light`),dark:n(`dark`)}}function Wr(){return ei??=Ur($r),ei}function Gr(e,t,n){let r=Nr(t[zr(e)]);if(r!==null&&jr(r))return{...r,a:1};let i=Nr(Wr()[n][zr(e)]);return i===null?null:{...i,a:1}}function Kr(e,t){return e.a<1?Tr(e,t):e}function qr(e,t,n){let r=Nr(t[zr(e)]),i=Gr(e,t,n),a=Nr(t[`--color-background-surface`]),o=Nr(t[`--color-background-card`]),s=Nr(t[`--color-${e}-muted`]),c=Nr(t[`--color-on-dark`]),l=Nr(t[`--color-on-light`]);if(r===null||i===null||a===null||o===null||s===null||c===null||l===null)return null;let u=Kr(a,{r:255,g:255,b:255,a:1}),d=Kr(o,u),f=Kr(r,u),p={},m=Kr(c,f),h=Kr(l,f),g=Dr(m,f)>=Dr(h,f)?m:h,_={r:255,g:255,b:255,a:1},v={r:0,g:0,b:0,a:1};p.on=Dr(g,f)>=Xr?g:Dr(_,f)>=Dr(v,f)?_:v;let y=Mr(i,[u,d],Zr);y!==null&&(p.text=y);let b=Mr(i,[Tr(s.a<1?s:{...s,a:1},u)],Zr);return b!==null&&(p.onMuted=b),p}function Jr(e,t={}){let n=new Set(Object.keys(e)),r=n.has(`--color-background-surface`)||n.has(`--color-background-card`),i=n.has(`--color-on-dark`)||n.has(`--color-on-light`),a=Ur({...t,...e}),o=[];for(let e of Yr){let t=n.has(zr(e)),s=n.has(`--color-${e}-muted`),c={on:t||i,text:t||r,onMuted:t||s||r};if(!c.on&&!c.text&&!c.onMuted)continue;let l=Qr.map(t=>qr(e,a[t],t));if(!l.some(e=>e===null))for(let t of Object.keys(ti)){let r=ti[t](e);if(!c[t]||n.has(r))continue;let[i,a]=l.map(e=>e?.[t]);i!==void 0&&a!==void 0&&o.push([r,`light-dark(${Pr(i)}, ${Pr(a)})`])}}return o}var Yr,Xr,Zr,Qr,$r,ei,ti,ni=o((()=>{G(),Rr(),Yr=[`info`,`success`,`warning`,`error`],Xr=4.5,Zr=4.58,Qr=[`light`,`dark`],$r={},ti={on:e=>`--color-on-${e}`,text:e=>`--color-text-${e}`,onMuted:e=>`--color-on-${e}-muted`}}));function ri(e){return e===`\n`||e===`\\r`||e===`\\f`}function ii(e){return e===` `||e===`\t`||ri(e)}function ai(e){return/^[0-9a-fA-F]$/.test(e)}function oi(e){return/^[A-Za-z_]$/.test(e)||e.charCodeAt(0)>=128}function si(e){return oi(e)||/^[0-9-]$/.test(e)}function ci(e){let t=e.replace(/\\r\\n?|\\f/g,`\n`).replace(/\\0/g,`�`),n=``;for(let e=0;e=55296&&r<=56319){let r=t.charCodeAt(e+1);r>=56320&&r<=57343?(n+=t[e]+t[e+1],e++):n+=`�`}else n+=r>=56320&&r<=57343?`�`:t[e]}return n}function li(e,t){return e[t]===`\\\\`&&t+165535?2:1)}function fi(e,t){let n=``,r=t;for(;r1114111||a>=55296&&a<=57343?`�`:String.fromCodePoint(a)}else n+=e.slice(r+1,t);r=t}else break}return{end:r,name:n}}function pi(e,t){let n=e[t],r=t+1;for(;r=e.length)break;r=ri(e[r+1])?r+2:di(e,r+1)}else r++}return{reason:`an unclosed ${n} string would swallow the rest of the rule`}}function mi(e,t){let n=t;for(;n=e.length)break;return e[n]===`)`?{end:n+1}:{reason:`whitespace inside an unquoted url() makes a bad url`}}if(Ci.test(t))return{reason:`a non-printable character inside url() makes a bad url`};if(t===`\"`||t===`'`||t===`(`)return{reason:`\"${t}\" inside an unquoted url() makes a bad url; quote the URL instead`};if(t===`\\\\`){if(!li(e,n))return{reason:`a stray backslash inside url() makes a bad url`};n=di(e,n+1)}else n++}return{reason:`an unclosed url( would swallow the rest of the rule`}}function hi(e){let t=ci(e),n=[],r=0;for(;r=t.length)return`a trailing backslash would escape the declaration terminator`;r=ri(t[r+1])?r+1:di(t,r+1)}else if(e===`(`||e===`[`||e===`{`){if(e===`{`&&n.length===0)return`an unquoted \"{\" would open a nested block`;n.push(wi[e]),r++}else if(e===`)`||e===`]`||e===`}`){if(n.length===0)return e===`}`?`an unquoted \"}\" would close the rule`:`an unbalanced \"${e}\" has nothing to close`;let t=n.pop();if(t!==e)return`\"${e}\" does not close the open \"${t===`)`?`(`:t===`]`?`[`:`{`}\"`;r++}else{if(e===`;`&&n.length===0)return`an unquoted \";\" would end the declaration`;r++}}if(n.length>0){let e=n[n.length-1];return`an unclosed \"${e===`)`?`(`:e===`]`?`[`:`{`}\" would swallow the rest of the rule`}return null}function gi(e,t){let n=t;for(;;){for(;n=Ei&&Ti.clear(),Ti.set(e,t),t}let r=ci(e),i=[],a=[],o=[],s=[],c=0,l=e=>{a.length===0&&(c++,s.length===0&&s.push(e),o.push(e),o.length>2&&o.shift())},u=0;for(;u=Ei&&Ti.clear(),Ti.set(e,h),h}function xi(e){let t=ci(e);if(t.length===0||!ui(t,0))return null;let n=fi(t,0);return n.end===t.length?n.name:null}function Si(e){let t=ci(e);if(t.length===0||!ui(t,0))return`a property name must be a CSS identifier`;let{end:n}=fi(t,0);return n===t.length?null:`a property name must be one CSS identifier; \"${t[n]}\" cannot appear in one`}var Ci,wi,Ti,Ei,Di=o((()=>{Ci=/[\\x01-\\x08\\x0b\\x0e-\\x1f\\x7f]/,wi={\"(\":`)`,\"[\":`]`,\"{\":`}`},Ti=new Map,Ei=4096}));function Oi(e){return typeof e==`string`?e:String(e)}function ki(e,...t){for(let n of t)for(let[t,r]of Object.entries(n??{})){if(r===void 0)continue;let n=xi(t),i=Oi(r),a=bi(i);n!==null&&a.reason===null&&(!e.important.has(n)||a.important)&&(e.values[n]=i,a.important?e.important.add(n):e.important.delete(n))}}function Ai(...e){let t={values:{},important:new Set};return ki(t,...e),t}function ji(e,t,n){let r=[...bi(n).references],i=new Set;for(;r.length>0;){let n=r.pop();if(n!==void 0){if(n===t)return!0;if(!i.has(n)&&Object.prototype.hasOwnProperty.call(e,n)){i.add(n);for(let i of bi(Oi(e[n])).references)(i===t||Object.prototype.hasOwnProperty.call(e,i))&&r.push(i)}}}return!1}function Mi(e,t,n,r,i){let a=e.width?.from;if(a!==void 0&&t=zi[o]?!1:(e.pointer===void 0||e.pointer===n)&&(e.contrast===void 0||e.contrast===r)&&(e.motion===void 0||e.motion===i)}function Ni(e){let t=Bi.get(e);if(t!==void 0)return t;let n=new Map;for(let t=0;t<=5;t++)for(let r of[`coarse`,`fine`,`none`])for(let i of[`more`,`less`,`no-preference`,`custom`])for(let a of[`reduce`,`no-preference`]){let o=e.flatMap((e,n)=>Mi(e.when,t,r,i,a)?[n]:[]);n.set(o.join(`,`),o)}let r=[...n.values()];return Bi.set(e,r),r}function Pi(e,t,n,r,i,a=[]){let o=Ai(e,Object.fromEntries(n),t);for(let e of i){let t=r[e];ki(o,t.tokens,Object.fromEntries(a[e]??[]),t.localTokens)}for(let e of i)ki(o,Object.fromEntries(Ii(r[e].tokens)));return o.values}function Fi(e,t={},n=[]){let r=Jr(e,t),i=Ai(e,Object.fromEntries(r),t).values,a=Ni(n).map(i=>({indexes:i,values:Pi(e,t,r,n,i)}));for(let[e,t]of Li){let n=`var(${t})`;if(!(i[e]!==void 0||i[t]===void 0&&!r.some(([e])=>e===t))&&a.every(({values:t})=>t[e]!==void 0||!ji(t,e,n))){r.push([e,n]);for(let{values:t}of a)t[e]===void 0&&(t[e]=n)}}return r.sort(([e],[t])=>(Ri.get(e)??0)-(Ri.get(t)??0))}function Ii(e){let t=Ai(e).values;return Li.flatMap(([e])=>{let n=t[e];return n===void 0?[]:[[e,Oi(n)]]})}var Li,Ri,zi,Bi,Vi=o((()=>{ni(),Di(),Li=[[`--color-text-info`,`--color-text-blue`],[`--color-text-success`,`--color-text-green`],[`--color-text-warning`,`--color-text-yellow`],[`--color-text-error`,`--color-text-red`],[`--color-on-info-muted`,`--color-text-blue`],[`--color-on-success-muted`,`--color-text-green`],[`--color-on-warning-muted`,`--color-text-yellow`],[`--color-on-error-muted`,`--color-text-red`],[`--color-icon-info`,`--color-text-info`],[`--color-icon-success`,`--color-text-success`],[`--color-icon-warning`,`--color-text-warning`],[`--color-icon-error`,`--color-text-error`],[`--color-border-info`,`--color-text-info`],[`--color-border-success`,`--color-text-success`],[`--color-border-warning`,`--color-text-warning`],[`--color-border-error`,`--color-text-error`],[`--duration-exit`,`--duration-fast`],[`--radius-chat`,`--radius-container`]],Ri=new Map(Li.map(([e],t)=>[e,t])),zi={sm:1,md:2,lg:3,xl:4,\"2xl\":5},Bi=new WeakMap})),Hi={largeTitle:[31,32,33,34,36,38,40,44,48,52,56,60],title1:[25,26,27,28,30,32,34,38,43,48,53,58],title2:[19,20,21,22,24,26,28,34,39,44,50,56],title3:[17,18,19,20,22,24,26,31,37,43,49,55],body:[14,15,16,17,19,21,23,28,33,40,47,53],footnote:[12,12,12,13,15,17,19,23,27,33,38,44],caption1:[11,11,11,12,14,16,18,22,26,32,37,43],caption2:[11,11,11,11,13,15,17,20,24,29,34,40]},Ui=`data-astryx-text-size-probe`;function Wi(e){e.setAttribute(Ui,``)}function Gi(){return typeof ResizeObserver>`u`?null:(Xi||=new ResizeObserver(e=>{for(let t of e){let e=Zi.get(t.target);if(e)for(let n of[...e.keys()])n(t)}}),Xi)}function Ki(e){return Zi.has(e)}function qi(e,t){let n=Zi.get(e);n?n.set(t,(n.get(t)??0)+1):Zi.set(e,new Map([[t,1]])),Gi()?.observe(e),t({target:e});let r=!0;return()=>{r&&(r=!1,Yi(e,t))}}function Ji(e,t){if(typeof ResizeObserver>`u`)return null;let n=Ki(e),r=!1,i=!0,a=qi(e,e=>{r&&t(e)});return r=!0,n&&queueMicrotask(()=>{i&&t(null)}),()=>{i=!1,a()}}function Yi(e,t){let n=Zi.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}Zi.delete(e),Xi&&(Xi.unobserve(e),Zi.size===0&&(Xi.disconnect(),Xi=null))}var Xi,Zi,Qi=o((()=>{Xi=null,Zi=new Map}));Qi(),G();var $i=3;function ea(e){return Hi.body.findIndex(t=>Math.abs(t-e)<.5)}var ta={\"--font-size-4xs\":`caption2`,\"--font-size-3xs\":`caption2`,\"--font-size-2xs\":`caption2`,\"--font-size-xs\":`caption1`,\"--font-size-sm\":`footnote`,\"--font-size-base\":`body`,\"--font-size-lg\":`title3`,\"--font-size-xl\":`title2`,\"--font-size-2xl\":`title1`,\"--font-size-3xl\":`title1`,\"--font-size-4xl\":`largeTitle`,\"--font-size-5xl\":`largeTitle`};function na(e){return`--_dynamic-type-${e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}`}var ra=Object.keys(Hi).filter(e=>Object.values(ta).includes(e));function ia(e){return String(Number(e.toFixed(4)))}function aa(e){return e<0||e===$i?``:ca(t=>ia(Hi[t][e]/Hi[t][$i]))}var oa=`env(preferred-text-scale, 1)`;function sa(){return ca(()=>oa)}function ca(e){let t=e=>e.map(([e,t])=>` ${e}: ${t};`).join(`\n`);return`@layer astryx-base {\\n:root {\\n${t(ua(U))}\\n}\\n}\\n:root {\\n${t(ra.map(t=>[na(t),e(t)]))}\\n}`}function la(e){return`--_scaled-${e.slice(2)}`}function ua(e){let t=Object.keys(ta),n=t=>{let[n,r]=ma(t&&e[t]||``);return fa(n)?{value:n,important:r}:null};return t.flatMap((r,i)=>{let a=n(r);if(a===null)return[];let{value:o,important:s}=a,c=`calc(${o} * var(${na(ta[r])}, 1))`,l=t[i+1],u=n(l),d=c;if(l!==void 0&&(e[l]===void 0||u)){let e=ha(o),t=u&&ha(u.value);d=e!==null&&t!=null&&e<=t?`min(${c}, var(${la(l)}))`:`min(${c}, max(var(${la(l)}, ${o}), ${o}))`}return[[la(r),d],[r,`var(${la(r)})${s}`]]})}var da=Object.entries(W).flatMap(([e,t])=>{let n=/^var\\((--font-size-[a-z0-9]+)\\)$/.exec(t)?.[1];return e.endsWith(`-size`)&&n!==void 0&&n in ta?[[e,n]]:[]});function fa(e){return/\\d[a-z]/i.test(e)&&!/var\\(|%|\\d(?:em|ex|ch|ic|cap|lh)\\b/i.test(e)}function pa(e){let t=new Map(ua(Object.fromEntries(e))),n=new Map(da);return e.flatMap(([e,r])=>{let i=t.get(e);if(i!==void 0){let n=la(e);return[[n,t.get(n)??``],[e,i]]}let[a,o]=ma(r),s=n.get(e);return[[e,s!==void 0&&fa(a)?`calc(${a} * var(${na(ta[s])}, 1))${o}`:r]]})}function ma(e){let t=/\\s*!\\s*important\\s*$/i.exec(e);return t?[e.slice(0,t.index),` !important`]:[e,``]}function ha(e){let t=/^(-?\\d*\\.?\\d+)(px|rem)$/.exec(e?.trim()??``);return t==null?null:Number(t[1])*(t[2]===`rem`?16:1)}function ga(e){let t=_a.get(e);if(t==null){let n=va(e);if(n==null)return;t={holders:0,stop:n},_a.set(e,t)}t.holders+=1;let n=t,r=!1;return()=>{r||(r=!0,--n.holders,n.holders===0&&(_a.delete(e),n.stop()))}}var _a=new WeakMap;function va(e){let t=e.defaultView;if(t==null||typeof t.CSSStyleSheet!=`function`||!Array.isArray(e.adoptedStyleSheets))return;if(!t.CSS?.supports?.(`font`,`-apple-system-body`))return ya(e,t);let n=e.createElement(`span`);n.setAttribute(`aria-hidden`,`true`),Wi(n),n.style.cssText=`position:fixed;inset:0 auto auto 0;inline-size:1em;block-size:1em;visibility:hidden;pointer-events:none;font:-apple-system-body`,(e.body??e.documentElement).append(n);let r=new t.CSSStyleSheet;e.adoptedStyleSheets=[...e.adoptedStyleSheets,r];let i=qi(n,()=>r.replaceSync(aa(ea(Number.parseFloat(t.getComputedStyle(n).fontSize)))));return()=>{i(),n.remove(),e.adoptedStyleSheets=e.adoptedStyleSheets.filter(e=>e!==r)}}function ya(e,t){if(e.querySelector(`meta[name=\"text-scale\"][content=\"scale\" i]`)!=null)return;let n=new t.CSSStyleSheet;return n.replaceSync(sa()),e.adoptedStyleSheets=[...e.adoptedStyleSheets,n],()=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(e=>e!==n)}}var ba=`[data-astryx-press=\"on\"]`,xa=`[data-astryx-pressable]`,Sa=`:is(${ba}, ${ba} :where(:not(${xa}, ${ba} ${xa} *)), :where(:not(${xa})):has(${ba}))`,Ca=`data-astryx-scheme`;function wa(e,t){t===null?e.removeAttribute(Ca):e.setAttribute(Ca,t)}function Ta(e){return`html[${Ca}=\"${e}\"]`}var Ea=`html:not([${Ca}])`,Da=`data-astryx-media-dark-page`;function Oa(e){return`[${Da}=\"${e}\"]`}rt();function ka(e,t,n,r){if(n===null||r===null)return null;let i=nt(n,e),a=nt(r,e);if(t!==null){let n=nt(t,e);if(n>=i&&n>=a)return`off`}return i>=a?`dark`:`light`}Qe();var Aa=[`--color-background-inverted`,`--color-background-error-inverted`];function ja(e,t){let n=qe(e[t]??``);if(n===null||n.a<1)return null;let r=ka(n,null,qe(e[`--color-on-dark`]??``),qe(e[`--color-on-light`]??``));return r===`dark`||r===`light`?r:null}function Ma(e){let t=new Set;for(let n of Aa){let r=ja(e.light,n),i=ja(e.dark,n);r!==null&&i!==null&&r!==i&&t.add(i)}return t}Pn(),ni(),pr(),Di(),Vi(),Ae(),ae();function Na(e){return`[data-${dr}-theme=\"${e}\"]`}var Pa=`[data-${dr}-theme]`;function Fa(e){let[t,n]=e.split(`@`),r=`[data-${dr}-media=\"${t}\"]`;if(n===void 0)return r;if(n.startsWith(`unflipped`)){let e=t===`dark`?`light`:`dark`;return`${r}:where(:not(${[...Ia(!1),...n===`unflipped-preference`?Ia(!0):[]].map(t=>`${t} ${Oa(e)}`).join(`, `)}))`}return Ia(n===`dark-page-preference`).map(e=>`:where(${e}) ${Oa(t)}`).join(`, `)}function Ia(e){let t=`:scope:not([${Oo}=\"light\"], [${Oo}=\"dark\"])`,n=`:is([${Oo}=\"light\"], [${Oo}=\"dark\"])`,r=`${t}:not(${n} *)`;return e?[`${r}:where(${Ea} *)`,`${n} ${t}`]:[`:scope[${Oo}=\"dark\"]`,`${r}:where(${Ta(`dark`)} *)`]}function La(e){return e.split(`@`)[0]}function Ra(e,t){return`.${ur}-${e}${t}`}function za(e,t,n){let r=Ra(e,t);return n?`:is(${Fa(n)}) :is(${r})`:r}var Ba=`:where(:not(:disabled,[aria-disabled=\"true\"]))`;function Va(e,t){let n=[],r=0,i=0;for(let t=0;t`${e}${a}`).join(`, `)}var Ha=`(pointer: coarse)`,Ua=/:active(?![-\\w])/g;function Wa(e,t,n){if(!new RegExp(Ua.source).test(t))return[` ${Va(e,t)} {\\n${n}\\n }`];let r=t.replace(Ua,Sa);return[` @media not all and ${Ha} {\\n ${Va(e,t)} {\\n${n}\\n }\\n }`,` @media ${Ha} {\\n ${Va(e,r)} {\\n${n}\\n }\\n }`]}function Ga(e){if(!/^:hover(?![-\\w])/.test(e)||e.includes(`[aria-disabled`))return e;let t=e.indexOf(`::`);return t===-1?e+Ba:e.slice(0,t)+Ba+e.slice(t)}function Ka(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}var qa=new Set([`padding`,`paddingBlock`,`paddingInline`,`paddingBlockStart`,`paddingBlockEnd`,`paddingInlineStart`,`paddingInlineEnd`]),Ja={paddingTop:`paddingBlockStart`,paddingBottom:`paddingBlockEnd`},Ya=new Set([...qa,...Object.keys(Ja)]),Xa={borderTopLeftRadius:`top-left`,borderTopRightRadius:`top-right`,borderBottomRightRadius:`bottom-right`,borderBottomLeftRadius:`bottom-left`,borderStartStartRadius:`start-start`,borderStartEndRadius:`start-end`,borderEndStartRadius:`end-start`,borderEndEndRadius:`end-end`};function Za(e){let t=0,n=-1;for(let r=0;r{let t=De(e.trim());if(t.length<1||t.length>4)return null;let[n,r=n,i=n,a=r]=t;return[n,r,i,a]});if(r.some(e=>e==null))return null;let[i,a]=r;return i.map((e,t)=>a&&a[t]!==e?`${e} ${a[t]}`:e)}function Qa(e){let t={};for(let[n,r]of e)switch(Ja[n]??n){case`padding`:{let e=De(r);if(e.length===0)break;e.length===1?(t.blockStart=e[0],t.blockEnd=e[0],t.inline=e[0]):e.length===2?(t.blockStart=e[0],t.blockEnd=e[0],t.inline=e[1]):e.length>=3&&(t.blockStart=e[0],t.inline=e[1],t.blockEnd=e[2]);break}case`paddingBlock`:{let e=De(r);if(e.length===0)break;t.blockStart=e[0],t.blockEnd=e[1]??e[0];break}case`paddingInline`:{let e=De(r);if(e.length===0)break;e.length===1?t.inline=e[0]:(t.inlineStart=e[0],t.inlineEnd=e[1]);break}case`paddingBlockStart`:t.blockStart=r;break;case`paddingBlockEnd`:t.blockEnd=r;break;case`paddingInlineStart`:t.inlineStart=r;break;case`paddingInlineEnd`:t.inlineEnd=r}return t}function $a(e,t,n=!1){let r=cr(`${e}-padding`),i=[],a=t.inlineStart??t.inline,o=t.inlineEnd??t.inline;if(a!=null&&o!=null&&a===o&&t.blockStart!=null&&t.blockEnd!=null&&a===t.blockStart&&t.blockStart===t.blockEnd?i.push([r,a??``]):(t.inlineStart!=null||t.inlineEnd!=null?(a!=null&&i.push([`${r}-inline-start`,a]),o!=null&&i.push([`${r}-inline-end`,o])):t.inline!=null&&i.push([`${r}-inline`,t.inline]),t.blockStart!=null&&i.push([`${r}-block-start`,t.blockStart]),t.blockEnd!=null&&i.push([`${r}-block-end`,t.blockEnd])),n){let e=new Set(i.map(([e])=>e)),t=e.has(r)?[`${r}-inline`,`${r}-inline-start`,`${r}-inline-end`,`${r}-block-start`,`${r}-block-end`]:e.has(`${r}-inline`)?[`${r}-inline-start`,`${r}-inline-end`]:[];for(let n of t)e.has(n)||i.push([n,`initial`])}return i}var eo=e=>{console.warn(`[astryx theme] ${e}`)};function to(e){return e?t=>e.push(t):eo}function no(e){let t=JSON.stringify(e);return t.length>80?`${t.slice(0,77)}...\"`:t}function ro(e,t,n,r,i){e(`dropped \"${t}\" in ${r}: ${i} (value: ${no(n)})`)}function io(e,t,n,r){let i=Si(e)??hi(t);return i===null||(ro(r,e,t,n,i),!1)}function ao(e,t,n,r=e=>e){let i=[];for(let[a,o]of e){if(o===void 0)continue;let e=Oi(o),s=r(a);io(s,e,t,n)&&i.push(` ${s}: ${e};`)}return i.join(`\n`)}var oo=new Map(Li),so=/^--color-(?:info|success|warning|error|on-|background-surface|background-card)/;function co(e){return!(`__adaptations`in e)&&!(`__adaptationRules`in e)?[]:Ro(e)}function lo(e,t){return bi(Oi(e)).singleVarReference===t}function uo(e,t){let n=oo.get(e);return n!==void 0&&lo(t,n)?t:`inherit`}function fo(e,t,n,r){let i=n.map(()=>[]),a=Ai(e,Object.fromEntries(r),t).values,o=Ni(n).map(a=>({indexes:a,values:Pi(e,t,r,n,a,i)}));for(let[r,s]of n.entries()){let n=Ai(s.tokens,s.localTokens).values;if(Object.keys(n).some(e=>so.test(e))){let o=new Map(Jr({...e,...s.tokens},{...t,...s.localTokens}));for(let[e,t]of o)n[e]===void 0&&a[e]!==t&&i[r].push([e,t])}let c=new Map(i[r]),l={...n,...Object.fromEntries(c)};for(let[e,t]of Li){let s=`var(${t})`,u=a[e];if(c.has(e)||n[e]!==void 0||l[t]===void 0&&!i[r].some(([e])=>e===t)||u!==void 0)continue;let d=o.filter(({indexes:e})=>e.includes(r));if(d.every(({values:t})=>t[e]!==void 0||!ji(t,e,s))){i[r].push([e,s]);for(let{values:t}of d)t[e]===void 0&&(t[e]=s)}}}return i}function po(e,t,n,r,i){let a=[],o=Ai(t,Object.fromEntries(i),n).values,s=new Set(Jr(t,n).map(([e])=>e)),c=Ai(e).values,l=r.map(e=>new Map(Ii(e.tokens))),u=Ni(r).map(e=>({indexes:e,values:{...c}})),d=(e,t,n)=>{let r=Ai({[e]:t});for(let t of n){let n=l[t].get(e);n!==void 0&&ki(r,{[e]:uo(e,n)})}return Oi(r.values[e])};for(let[e,t]of Li){let n=`var(${t})`,r=o[e];if(c[e]!==void 0||c[t]===void 0&&!a.some(([e])=>e===t)||r!==void 0&&!lo(r,t)&&!s.has(e))continue;let i=u.map(({indexes:t,values:r})=>({values:r,candidate:d(e,n,t)}));if(i.every(({values:t,candidate:n})=>t[e]===n||!ji(t,e,n))){a.push([e,n]);for(let{values:t,candidate:n}of i)t[e]=n}}let f=new Set(Yr.filter(e=>c[`--color-${e}`]!==void 0&&c[`--color-on-${e}`]===void 0).map(e=>`--color-on-${e}`));if(f.size>0)for(let[r,i]of Jr({...t,...e},n))f.has(r)&&o[r]!==i&&a.push([r,i]);return a}function mo(e,t,n,r=Object.entries(e.tokens)){let i=[ao(pa(r),`${t}tokens`,n),ao(Object.entries(e.localTokens??{}),`${t}localTokens`,n)].filter(e=>e.length>0).join(`\n`);return r.length>0||Object.keys(e.localTokens??{}).length>0?` :scope {\\n${i}\\n }`:null}function ho(e,t,n){return`${e}components.${t}[${JSON.stringify(n)}]`}var go=new WeakMap,_o;function vo(e){return Object.entries(e??{}).map(([e,t])=>[e,typeof t,Oi(t)])}function yo(e,t){return JSON.stringify([vo(e.tokens),vo(e.localTokens),t.map(e=>[e.query,e.when,vo(e.tokens),vo(e.localTokens),e.components])])}function bo(e){let t=Ro(e),n=yo(e,t),r=go.get(e);if(r?.signature===n)return r.context;let i={theme:e,rules:t,rootAliases:Fi(e.tokens,e.localTokens,t)};return go.set(e,{signature:n,context:i}),i}function xo(e){return _o?.theme===e?_o:bo(e)}function So(e){return e.adaptationAliases??=fo(e.theme.tokens,e.theme.localTokens,e.rules,e.rootAliases),e.adaptationAliases}function Co(e,t){let n=[],r=to(t),i=e=>`var(${e})`,a=_o?.theme===e?_o:void 0,o=a?.rules??co(e),s=a?.rootAliases??Fi(e.tokens,e.localTokens,o),c=mo(e,``,r,[...Object.entries(e.tokens),...s]);c!==null&&n.push(c),e.tokens[`--font-family-body`]&&n.push(` :scope {\n font-family: var(--font-family-body);\n }`);let l=ie(e.components);return l&&Do(l,n,{sink:r,darkPageSides:Ma(Ur({...e.localTokens,...e.tokens}))}),Mo(i,n),Po(l||{},n),Io(l||{},n),To(l||{},n),n}var wo={normal:`var(--font-weight-normal)`,medium:`var(--font-weight-medium)`,semibold:`var(--font-weight-semibold)`,bold:`var(--font-weight-bold)`};function To(e,t,{surface:n,inheritedComponents:r,forceAll:i=!1,authoredOnly:a=!1}={}){let o=e.heading,s=o&&typeof o==`object`&&!Array.isArray(o)?o:void 0;if(!s&&!i)return;let c=r?.heading,l=c&&typeof c==`object`?c:void 0;for(let[e,r]of Object.entries(wo)){let i=`weight:${e}`,o=s?Eo(s,i):void 0;if(a&&o===void 0)continue;let c=l?Eo(l,i):void 0,u=o??c??r,d=za(`heading`,br(i),n);t.push(` ${d} { font-weight: ${u}; }`)}}function Eo(e,t){let n=e[t];if(typeof n!=`object`||!n||Array.isArray(n))return;let r=n.fontWeight;return typeof r==`string`&&hi(r)===null?r:void 0}function Do(e,t,{resetInheritedPaddingSpecificity:n=!1,surface:r,sink:i=eo,location:a=``,darkPageSides:o=new Set}={}){for(let[s,c]of Object.entries(e))for(let[e,l]of Object.entries(c)){let c=(e,a,l,u,d)=>{let f=[],p=[];for(let[t,n]of Object.entries(e)){if(typeof n==`object`&&n&&(t.startsWith(`:`)||d&&(t===`@light`||t===`@dark`))){p.push([t,n]);continue}let e=typeof n==`object`&&n?JSON.stringify(n):`${n}`;io(Ka(t),e,l,i)&&f.push([t,e])}let m=jo(s,f,n);if(m.length>0){let e=ao(m,l,i,Ka);t.push(u(` ${a} {\\n${e}\\n }`))}for(let[e,r]of p){let o=e.startsWith(`:`)&&!e.includes(`::`)&&!/:(before|after|first-line|first-letter)(?![-\\w])/i.test(e),c=`${l}[${JSON.stringify(e)}]`,d=[];if(o)for(let[e,t]of Object.entries(r)){if(t===void 0)continue;let n=Oi(t);io(Ka(e),n,c,i)&&d.push([e,n])}let f=o?jo(s,d,n):Object.entries(r);if(e.startsWith(`:`)&&f.length>0){let n=ao(f,c,i,Ka);for(let r of Wa(a,e,n))t.push(u(r))}}if(d)for(let e of[`dark`,`light`]){let t=p.find(([t])=>t===`@${e}`)?.[1];if(!t)continue;let n=(n,r)=>c(t,n,`${l}[${JSON.stringify(`@${e}`)}]`,r,!1);if(r){La(r)===e&&n(a,u);continue}let i=e=>`:is(${a}):where(${e} *)`,s=`:where(:not(:scope [data-${dr}-media] *))`;n(`${i(`:scope[${Oo}=\"${e}\"]`)}${s}`,u);let d=`:scope:not([${Oo}=\"light\"], [${Oo}=\"dark\"])`,f=`:is([${Oo}=\"light\"], [${Oo}=\"dark\"])`,m=t=>u(` @media (prefers-color-scheme: ${e}) {\\n${t}\\n }`),h=`${i(`${d}:not(${f} *)`)}${s}`;n(`${h}:where(${Ta(e)} *)`,u),n(`${h}:where(${Ea} *)`,m),n(`${i(`${f} ${d}`)}${s}`,m);let g=`:is(${a}):where(${Ao(e).join(`, `)})`,_=(e,t)=>Ia(t).flatMap(t=>ko(`${t} ${Oa(e)}`,e)),v=e=>u(` @media (prefers-color-scheme: dark) {\\n${e}\\n }`),y=[...o].filter(t=>t!==e);if(y.length===0)n(g,u);else{let e=y.flatMap(e=>_(e,!1)),t=y.flatMap(e=>_(e,!0));n(`${g}:where(:not(${e.join(`, `)}))`,e=>u(` @media not all and (prefers-color-scheme: dark) {\\n${e}\\n }`)),n(`${g}:where(:not(${[...e,...t].join(`, `)}))`,v)}o.has(e)&&(n(`:is(${a}):where(${_(e,!1).join(`, `)})`,u),n(`:is(${a}):where(${_(e,!0).join(`, `)})`,v))}};c(l,za(s,br(e),r),ho(a,s,e),e=>e,!0)}}var Oo=`data-theme`;function ko(e,t){let n=t===`dark`?`light`:`dark`,r=`${Fa(n)} ${Fa(t)}`;return Array.from({length:2},(t,i)=>{let a=[e,...Array.from({length:i},()=>r)].join(` `);return`${a} *:not(${a} ${Fa(n)} *)`})}function Ao(e){let t=e===`dark`?`light`:`dark`,n=(n,r)=>Array.from({length:n},(i,a)=>Fa((n-1-a)%2==0?r:r===e?t:e)).join(` `);return Array.from({length:4},(r,i)=>`:scope ${n(i+1,e)} *:not(:scope ${n(i+2,t)} *)`)}function jo(e,t,n){let r=t,i=[],a=!1,o=new Set,s=new Map,c=wr(e,`borderRadius`).filter(e=>e.corners).flatMap(e=>e.vars??[]);for(let[n,r]of t){if(c.length>0){if(n===`borderRadius`){let e=Za(r);for(let t of c){for(let e of Object.values(Xa))s.delete(`${t}-${e}`);if(e){xr.forEach((n,r)=>{s.set(`${t}-${n}`,e[r])});for(let e of Sr)s.set(`${t}-${e}`,`initial`)}}}else if(n in Xa)for(let e of c){let t=`${e}-${Xa[n]}`;s.delete(t),s.set(t,r)}}let t=wr(e,n),l=qa.has(n)&&n!==`padding`?wr(e,`padding`):[];for(let e of[...t,...l])if(e.expand===`container`&&qa.has(n)&&(a=!0),e.replaces&&o.add(n),e.vars)for(let t of e.vars)i.push([t,r]);n in Ja&&wr(e,`padding`).some(e=>e.expand===`container`)&&(a=!0)}if(a){let i=t.filter(([e])=>Ya.has(e)),a=t.filter(([e])=>!Ya.has(e)),o=$a(e,Qa(i),n);r=[...a,...o]}return o.size>0&&(r=r.filter(([e])=>!o.has(e))),i.push(...s),i.length>0&&(r=[...r,...i]),r}function Mo(e,t){t.push(` :where(h1, h2, h3, h4, h5, h6) {\n font-family: var(--font-family-heading);\n color: var(--color-text-primary);\n }`);for(let n=1;n<=6;n++)t.push(` :where(h${n}) {\n font-size: ${e(`--text-heading-${n}-size`)};\n font-weight: ${e(`--text-heading-${n}-weight`)};\n line-height: ${e(`--text-heading-${n}-leading`)};\n }`);t.push(` :where(p) {\n font-family: var(--font-family-body);\n font-size: ${e(`--text-body-size`)};\n font-weight: ${e(`--text-body-weight`)};\n line-height: ${e(`--text-body-leading`)};\n color: var(--color-text-primary);\n }`),t.push(` :where(small) {\n font-size: ${e(`--text-supporting-size`)};\n font-weight: ${e(`--text-supporting-weight`)};\n line-height: ${e(`--text-supporting-leading`)};\n color: var(--color-text-secondary);\n }`),t.push(` :where(code, pre) {\n font-family: var(--font-family-code);\n font-size: ${e(`--text-code-size`)};\n line-height: ${e(`--text-code-leading`)};\n }`),t.push(` :where(hr) {\n border: none;\n border-top: 1px solid var(--color-border);\n }`)}var No=new Set([`primary`,`secondary`,`accent`]);function Po(e,t,n){let r={primary:`var(--color-text-primary)`,secondary:`var(--color-text-secondary)`,disabled:`var(--color-text-disabled)`,placeholder:`var(--color-text-secondary)`,accent:`var(--color-text-accent)`,inherit:`inherit`},i=`text`in e,a=`heading`in e,o=`link`in e;if(i||a||o){for(let[e,s]of Object.entries(r))if(i&&t.push(` ${za(`text`,br(`color:${e}`),n)} { color: ${s}; }`),a&&t.push(` ${za(`heading`,br(`color:${e}`),n)} { color: ${s}; }`),o){let r=za(`link`,br(`color:${e}`),n);t.push(` ${r} { color: ${s}; }`),No.has(e)&&t.push(` @media (hover: hover) {\\n ${r}:where(:hover)${Ba} { color: color-mix(in srgb, ${s}, var(--color-tint-hover) 15%); }\\n }`)}}}var Fo={\"4xs\":`var(--font-size-4xs)`,\"3xs\":`var(--font-size-3xs)`,\"2xs\":`var(--font-size-2xs)`,xsm:`var(--font-size-xs)`,sm:`var(--font-size-sm)`,base:`var(--font-size-base)`,lg:`var(--font-size-lg)`,xl:`var(--font-size-xl)`,\"2xl\":`var(--font-size-2xl)`,\"3xl\":`var(--font-size-3xl)`,\"4xl\":`var(--font-size-4xl)`};function Io(e,t,n){if(`text`in e)for(let[e,r]of Object.entries(Fo)){let i=br(`size:${e}`);t.push(` ${za(`text`,i,n)} { font-size: ${r}; }`)}}function Lo(e,t){let n=Co(e,t),r=[],i=[];for(let e of n)e.trimStart().startsWith(`:where(`)?r.push(e):i.push(e);return{component:i,prose:r}}function Ro(e){let t=e.__adaptations===void 0?void 0:un(e.name,e.__adaptations,void 0);return Array.isArray(e.__adaptationRules)?e.__adaptationRules:t===void 0?[]:Sn(e.name,t,e.__axes??{},e.tokens,e.localTokens,e.components)??[]}function zo(e,t){let n=[],r=Na(e.name),i=to(t),{rules:a,rootAliases:o}=xo(e),s=new Map,c=()=>{},l=(t,n)=>{let r=t.includes(`@`)&&!t.endsWith(`@unflipped`)?c:i,l=La(t),u=l===`dark`?e.__onDark:e.__onLight;if(!u)return;let d=l===`dark`?`onDark.`:`onLight.`,f=po(u.tokens,e.tokens,e.localTokens,a,o);s.set(l,f);let p=[...Object.entries(u.tokens),...f];if(p.length>0){let e=ao(pa(p),`${d}tokens`,r);n.push(` ${Fa(t)} {\\n${e}\\n }`)}u.components&&(Do(u.components,n,{resetInheritedPaddingSpecificity:!0,surface:t,sink:r,location:d}),Po(u.components,n,t),Io(u.components,n,t),To(u.components,n,{surface:t,inheritedComponents:e.components}))},u=Ma(Ur({...e.localTokens,...e.tokens})),d=(t,n)=>{let r=t===`dark`?e.__onDark:e.__onLight,i=n===`dark`?e.__onDark:e.__onLight;return r?!i||r.components?!1:Object.keys(r.tokens).every(e=>e in i.tokens):!0};for(let e of[`dark`,`light`]){let t=e===`dark`?`light`:`dark`;if(!u.has(t)||d(e,t)){l(e,n);continue}let r=[];l(`${e}@unflipped`,r),r.length>0&&n.push(` @media not all and (prefers-color-scheme: dark) {\\n${r.join(`\n\n`)}\\n }`);let i=[];l(`${e}@unflipped-preference`,i),i.length>0&&n.push(` @media (prefers-color-scheme: dark) {\\n${i.join(`\n\n`)}\\n }`)}for(let e of u){l(`${e}@dark-page`,n);let t=[];l(`${e}@dark-page-preference`,t),t.length>0&&n.push(` @media (prefers-color-scheme: dark) {\\n${t.join(`\n\n`)}\\n }`)}let f=[];for(let[t,n]of a.entries()){let a=Ii(n.tokens);if(a.length===0)continue;let o=[];for(let n of[`dark`,`light`]){if(!(n===`dark`?e.__onDark:e.__onLight))continue;let r=new Set((s.get(n)??[]).map(([e])=>e)),c=a.filter(([e])=>r.has(e)).map(([e,t])=>[e,uo(e,t)]);if(c.length===0)continue;let l=ao(c,`adaptations[${t}].on${n}.statusRoles.`,i);o.push(` ${Fa(n)} {\\n${l}\\n }`),u.has(n)&&o.push(` ${Fa(`${n}@dark-page`)} {\\n${l}\\n }`,` @media (prefers-color-scheme: dark) {\\n ${Fa(`${n}@dark-page-preference`)} {\\n${l}\\n }\\n }`)}o.length>0&&f.push(Ho(n.query,o,r))}if(n.length===0&&f.length===0)return``;let p=[];if(n.length>0){let e=n.join(`\n\n`);p.push(`@scope (${r}) to (${Pa}) {\\n${e}\\n}`)}return p.push(...f),p.join(`\n\n`)}function Bo(e,t,n,r,i){let a=[],o=mo(e,t,n,[...Object.entries(e.tokens),...r]);return o!==null&&a.push(o),e.components&&(Do(e.components,a,{resetInheritedPaddingSpecificity:!0,sink:n,location:t,darkPageSides:i}),Po(e.components,a),Io(e.components,a)),a}function Vo(e){let t=e?.heading;return typeof t==`object`&&!!t&&!Array.isArray(t)}function Ho(e,t,n){return`@media ${e} {\\n @scope (${n}) to (${Pa}) {\\n${t.map(Wo).join(`\n\n`)}\\n }\\n}`}function Uo(e,t){let n=to(t),r=xo(e),{rules:i}=r;if(i.length===0)return{prose:``,component:``};let a=Na(e.name),o=[],s=i.some(e=>Vo(e.components)),c=So(r),l=Ma(Ur({...e.localTokens,...e.tokens}));for(let[e,t]of i.entries()){let r=Bo(t,`adaptations[${e}].`,n,c[e],l);r.length!==0&&o.push(Ho(t.query,r,a))}for(let[e,t]of i.entries()){let r=Ii(t.tokens);if(r.length===0)continue;let i=mo({tokens:{}},`adaptations[${e}].statusRoles.`,n,r);i!==null&&o.push(Ho(t.query,[i],a))}if(s){let t=[];To(e.components??{},t,{forceAll:!0}),o.push(`@scope (${a}) to (${Pa}) {\\n${t.join(`\n\n`)}\\n}`);for(let e of i){let t=[];To(e.components??{},t,{authoredOnly:!0}),t.length>0&&o.push(Ho(e.query,t,a))}}return{prose:``,component:o.join(`\n\n`)}}function Wo(e){return` ${e}`}function Go(e,t){if(_o?.theme===e)return Ko(e,t);let n=_o;_o=bo(e);try{return Ko(e,t)}finally{_o=n}}function Ko(e,t){let{component:n,prose:r}=Lo(e,t),i=Na(e.name),a=Pa,o=``;r.length>0&&(o=`@scope (${i}) to (${a}) {\\n${r.join(`\n\n`)}\\n}`);let s=``;n.length>0&&(s=`@scope (${i}) to (${a}) {\\n${n.join(`\n\n`)}\\n}`);let c=Uo(e,t);c.component&&(s=s?`${s}\\n\\n${c.component}`:c.component);let l=zo(e,t);return l&&(s=s?`${s}\\n\\n${l}`:l),{prose:o,component:s}}function qo(e){let t=e.trim();return!t.startsWith(`light-dark(`)||!t.endsWith(`)`)?null:Ee(t.slice(11,-1))}function Jo(e,t){if(Array.isArray(e))return t===`dark`?e[1]:e[0];let n=qo(e);return n===null?e:t===`dark`?n[1]:n[0]}function Yo(e){let t=e.trim(),n=t.match(/\\s+([\\d.]+)%$/);return n?{color:t.slice(0,n.index).trim(),percentage:parseFloat(n[1])}:{color:t,percentage:null}}function Xo(e){let t=e.match(/^in\\s+([\\w-]+)\\s*,\\s*(.+)$/s);if(!t)return null;let[,n,r]=t;if(n.toLowerCase()!==`srgb`)return null;let i=Ee(r);if(i===null)return null;let a=Yo(i[0]),o=Yo(i[1]);if(a===null||o===null)return null;let s=qe(a.color),c=qe(o.color);if(s===null||c===null)return null;let l,u;a.percentage!==null&&o.percentage!==null?(l=a.percentage,u=o.percentage):a.percentage===null?o.percentage===null?(l=50,u=50):(u=o.percentage,l=100-u):(l=a.percentage,u=100-l);let d=l+u;if(d<=0)return null;let f=l/d,p=u/d,m=d<100?d/100:1,h=f*s.a+p*c.a,g=(e,t)=>f*e*s.a+p*t*c.a,_=g(s.r,c.r),v=g(s.g,c.g),y=g(s.b,c.b);return Ye({...h===0?{r:0,g:0,b:0}:{r:_/h,g:v/h,b:y/h},a:h*m})}function Zo(e){let t=e.indexOf(`color-mix(`);if(t===-1)return e;let n=t+9,r=Oe(e,n);if(r===-1)return e;let i=Zo(e.slice(n+1,r)),a=Xo(i)??`color-mix(${i})`;return e.slice(0,t)+a+Zo(e.slice(r+1))}function Qo(e){let t={};for(let[n,r]of Object.entries(Hn))t[n]=Jo(r,e);return ke(t,Zo)}var $o=o((()=>{Qe(),Un(),Ae()}));function es(e){return`var(${e})`}function ts(e,t){let{mode:n}=t,r={};if(e==null)return Qo(n);for(let[e,t]of Object.entries(Hn))r[e]=Jo(t,n);let i=new Set(Object.keys(e.localTokens??{}));for(let[t,i]of Object.entries(e.localTokens??{}))r[t]=Jo(i,n);for(let[t,i]of Fi(e.tokens,e.localTokens??{}))r[t]=Jo(i,n);for(let[t,i]of Object.entries(e.tokens))r[t]=Jo(i,n);if(e.__inputTokens)for(let[t,i]of Object.entries(e.__inputTokens))i!==void 0&&(r[t]=Jo(i,n));return Object.fromEntries(Object.entries(ke(r,Zo)).filter(([e])=>!i.has(e)))}var ns=o((()=>{ar(),Vi(),Ae(),$o(),Object.fromEntries(Object.keys(Hn).map(e=>[e,es(e)]))}));function rs(e=globalThis){return e?.CSS?.supports?.(as)===!0}var is,as,os=o((()=>{is=`(pointer: coarse)`,as=`(-webkit-touch-callout: none)`}));function ss(e){return cs(e,is)}function cs(e,t){return typeof e?.matchMedia==`function`&&e.matchMedia(t).matches}function ls(e,t,n){if(typeof e?.matchMedia!=`function`)return()=>{};let r=e.matchMedia(t),i=()=>n(r.matches);return typeof r.addEventListener==`function`?(r.addEventListener(`change`,i),()=>r.removeEventListener(`change`,i)):(r.addListener(i),()=>r.removeListener(i))}function us(e,t){return ls(e,is,t)}var ds=o((()=>{os()}));function fs(e,t){if(typeof window.matchMedia!=`function`)return()=>{};let n=hs.get(e);if(n==null){let t=new Set;n={readers:t,stop:ls(window,e,()=>{for(let e of Array.from(t))e()})},hs.set(e,n)}let r=n;return r.readers.add(t),()=>{r.readers.delete(t),r.readers.size===0&&hs.get(e)===r&&(r.stop(),hs.delete(e))}}function ps(e,t=!1){let n=(0,ms.useCallback)(t=>fs(e,t),[e]),r=(0,ms.useCallback)(()=>typeof window.matchMedia==`function`?window.matchMedia(e).matches:t,[e,t]),i=(0,ms.useCallback)(()=>t,[t]);return(0,ms.useSyncExternalStore)(n,r,i)}var ms,hs,gs=o((()=>{ms=u(f(),1),ds(),hs=new Map}));function _s(e,t,n){let r=Gn(Wn(`context/${e}`,t),()=>new WeakMap,e=>e instanceof WeakMap),i=r.get(vs.createContext);if(i!=null)return i;let a=(0,vs.createContext)(n);return a.displayName=e,r.set(vs.createContext,a),a}var vs,ys=o((()=>{vs=u(f(),1),Xn()}));function bs(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()}}}}function xs(){if(typeof document>`u`)return null;let e=document.documentElement.getAttribute(`data-theme`);return e===`light`||e===`dark`?e:null}function Ss(){return null}function Cs(){return typeof document>`u`?null:document.documentElement.getAttribute(sr(`theme`))}function ws(){return null}function Ts(){return null}function Es(){for(let e of Xs)e()}function Ds(e){return Xs.add(e),Xs.size===1&&typeof MutationObserver<`u`&&(Zs=new MutationObserver(Es),Zs.observe(document.documentElement,{attributes:!0,attributeFilter:[`data-theme`]})),()=>{Xs.delete(e),Xs.size===0&&Zs&&(Zs.disconnect(),Zs=null)}}function Os(){for(let e of Qs)e()}function ks(e){return Qs.add(e),Qs.size===1&&typeof MutationObserver<`u`&&($s=new MutationObserver(Os),$s.observe(document.documentElement,{attributes:!0,attributeFilter:[sr(`theme`)]})),()=>{Qs.delete(e),Qs.size===0&&$s&&($s.disconnect(),$s=null)}}function As(){return()=>{}}function js(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 Ms(){let e=window.getComputedStyle(document.documentElement).colorScheme;if(e==null||e===``)return null;if(e!==`normal`)return js(e)??null;for(let e of document.querySelectorAll(nc)){let t=e.getAttribute(`content`)??``,n=js(t);if(n!==void 0)return n;if(/(^|\\s)normal(\\s|$)/i.test(t))return`light`}return`light`}function Ns(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=`${tc}, ${nc}`;return[...e.addedNodes,...e.removedNodes].some(e=>e instanceof Element&&(e.matches(r)||e.querySelector(r)!=null))})}function Ps(){for(let e of ec.listeners)e()}function Fs(e){Ns(e)&&Ps()}function Is(e){e.target instanceof HTMLLinkElement&&Ps()}function Ls(e){if(ec.listeners.add(e),ec.listeners.size===1&&typeof MutationObserver<`u`){let e=new MutationObserver(Fs);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`,Is,!0);let t=ls(window,`(prefers-color-scheme: dark)`,Ps);ec.stop=()=>{e.disconnect(),document.removeEventListener(`load`,Is,!0),t()}}return()=>{ec.listeners.delete(e),ec.listeners.size===0&&ec.stop!=null&&(ec.stop(),ec.stop=null)}}function Rs(e){return(0,Gs.useSyncExternalStore)(e?Ls:As,e?Ms:Ts,Ts)}function zs(e,t){let n=ps(`(prefers-color-scheme: dark)`),r=e===`light`||e===`dark`,i=Rs(!r&&t);return r?e:i??(n?`dark`:`light`)}function Bs(e){return(0,Gs.useSyncExternalStore)(e?As:Ds,e?Ts:xs,Ss)}function Vs(e){return(0,Gs.useSyncExternalStore)(e?As:ks,e?Ts:Cs,ws)}function Hs(){let e=(0,Gs.use)(Ks),t=(0,Gs.use)(Js)?.themeless===!0,n=Vs(e!=null||t);return e?.theme.name??n}function Us(e=!0){let t=e?(0,Gs.use)(Ks):null,n=e&&(0,Gs.use)(Js)?.themeless===!0,r=Vs(t!=null||n||!e);if(e)return t?.theme??tr(r)??void 0}function Ws(){let e=(0,Gs.use)(Ks),t=(0,Gs.use)(Js),n=t?.mode,r=(0,Gs.use)(Ys),i=e!=null,a=Bs(i||n!=null),o=Vs(i||t?.themeless===!0),s=e?.mode??n??a??`system`,c=e?.theme??tr(o),l=zs(s,r===`root`),u=(0,Gs.useMemo)(()=>ts(c,{mode:l}),[c,l]),d=(0,Gs.useCallback)(e=>u[e]??``,[u]),f=c?.name??`default`;return(0,Gs.useMemo)(()=>({name:f,mode:l,token:d,tokens:u}),[f,l,d,u])}var Gs,Ks,qs,Js,Ys,Xs,Zs,Qs,$s,ec,tc,nc,rc=o((()=>{Gs=u(f(),1),ns(),rr(),pr(),gs(),ds(),ys(),Xn(),Ks=_s(`ThemeContext`,1,null),Ks.displayName=`ThemeContext`,qs=_s(`ThemeSourceContext`,1,null),qs.displayName=`ThemeSourceContext`,Js=_s(`ThemeModeContext`,1,null),Js.displayName=`ThemeModeContext`,Ys=_s(`SystemSchemeContext`,1,`root`),Ys.displayName=`SystemSchemeContext`,Xs=new Set,Zs=null,Qs=new Set,$s=null,ec=Kn(`theme/use-theme/root-scheme`,1,()=>({listeners:new Set,stop:null})),tc=`style, link[rel~=\"stylesheet\"]`,nc=`meta[name=\"color-scheme\" i]`}));function ic(e,t){return`${e}: ${t}`}function ac(){return(e,t,n=t)=>{}}function oc(e,t,...n){console.error(ic(e,t),...n)}var sc=o((()=>{}));function cc(e){return e?{[dc]:``}:{}}function lc(e,t){t?e.setAttribute(dc,``):e.removeAttribute(dc)}function uc(e){return e?.closest?.(`[${dc}]`)!=null}var dc,fc=o((()=>{dc=`data-astryx-reduced-motion`})),pc=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),mc=s(((e,t)=>{t.exports=pc()})),X=u(f(),1);x(),D(),ar(),rr(),pr(),rc(),sc(),Ve(),fc(),ys();var Z=mc(),hc={base:{k1xSpc:`xjp7ctv`,kMwMTN:`x1tgivj0`,kMv6JI:`x9ynric`,kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,$$css:!0},light:{kQNsl9:`x19aimcq`,$$css:!0},dark:{kQNsl9:`xntwwlm`,$$css:!0},system:{kQNsl9:`x108lcm5`,$$css:!0},reducedMotion:{\"--_astryx-reduced-motion\":`x1e3mt4b`,$$css:!0}},gc=_s(`ThemeNestingContext`,1,!1);gc.displayName=`ThemeNestingContext`;var _c=new Map,vc=`@layer reset, astryx-base, astryx-theme;`;function yc(e,t){let{prose:n,component:r}=Go(e),i=[];if(n){let r=document.createElement(`style`);r.setAttribute(sr(`theme-prose`),e.name),r.setAttribute(sr(`id`),t),r.textContent=`${vc}\\n@layer reset {\\n${n}\\n}`,document.head.appendChild(r),i.push(r)}if(r){let n=document.createElement(`style`);n.setAttribute(sr(`theme`),e.name),n.setAttribute(sr(`id`),t),n.textContent=`${vc}\\n@layer astryx-theme {\\n${r}\\n}`,document.head.appendChild(n),i.push(n)}return i}function bc(e,t,n){for(let t of e.styles)t.remove();e.theme=t,e.styles=yc(t,n)}function xc(e){let t=(0,X.useId)(),[n]=(0,X.useState)(()=>({}));(0,X.useInsertionEffect)(()=>{if(e==null||e.__built)return;let r=`astryx-theme-${e.name}`,i=_c.get(r);i??(`${e.name}`,`${e.name}`,i={users:new Map,owner:n,formerOwner:null,theme:e,styles:yc(e,t)},_c.set(r,i)),i.users.set(n,{theme:e,id:t}),i.formerOwner===n&&(i.owner=n,i.formerOwner=null,i.theme!==e&&bc(i,e,t));let a=i;return()=>{if(a.users.delete(n),a.users.size===0){for(let e of a.styles)e.remove();_c.delete(r);return}if(a.owner!==n)return;let[e,t]=[...a.users][0];a.owner=e,a.formerOwner=n,t.theme!==a.theme&&bc(a,t.theme,t.id)}},[e,t,n])}function Sc(e,t,n,r,i){b(()=>{if(!e&&typeof document<`u`)return t===`light`||t===`dark`?document.documentElement.setAttribute(`data-theme`,t):document.documentElement.removeAttribute(`data-theme`),n==null?document.documentElement.removeAttribute(sr(`theme`)):document.documentElement.setAttribute(sr(`theme`),n),wa(document.documentElement,i),lc(document.documentElement,r),r?document.documentElement.style.setProperty(ze,`1`):document.documentElement.style.removeProperty(ze),()=>{document.documentElement.removeAttribute(`data-theme`),document.documentElement.removeAttribute(sr(`theme`)),wa(document.documentElement,null),lc(document.documentElement,!1),document.documentElement.style.removeProperty(ze)}},[e,t,n,r,i])}function Cc(e){b(()=>{if(!(e||typeof document>`u`))return ga(document)},[e])}var wc=new Set([`light`,`dark`,`system`]);function Tc(e){let t=typeof e==`string`?`the string \"${e}\"`:e===null?`null`:typeof e==`object`?`an object that defineTheme() did not make`:`a value of type ${typeof e}`,n=typeof e==`string`&&wc.has(e)?`To set the color mode, use mode=\"${e}\".`:`Pass a theme from defineTheme() or a theme package.`;`${typeof e==`string`?e:e===null?`null`:typeof e}`,`${t}${n}`}function Ec({theme:e,mode:t=`system`,children:n}){let r=(0,X.use)(gc),i=(0,X.use)(Ks),a=(0,X.use)(Js),o=a?.mode,s=o===`light`||o===`dark`,c=(0,X.use)(Ys),l=s?`preference`:c,u=ir(e)?e:null,d=u??i?.theme??null;(0,X.useEffect)(()=>{u??Tc(e)},[u,e]),u!=null&&er(u),xc(u);let f=je(d?.__axes?.motion).reducedMotion===`always`,p=t===`light`||t===`dark`,m=Rs(!r&&!p);Sc(r,t,d?.name??null,f,p?t:m),Cc(r);let h=t===`dark`?hc.dark:t===`light`?hc.light:s?hc.system:null,g=(0,X.useMemo)(()=>d==null?null:{theme:d,mode:t},[d,t]),_=d==null&&(a?.themeless??!r),v=(0,X.useMemo)(()=>({mode:t,themeless:_}),[t,_]),[y]=(0,X.useState)(()=>bs(g));b(()=>{y.set(g)},[y,g]);let x=(0,Z.jsx)(gc,{value:!0,children:(0,Z.jsx)(`div`,{...C(hc.base,h,f&&hc.reducedMotion),\"data-astryx-theme\":d?.name,...cc(f),\"data-theme\":t===`system`?void 0:t,children:n})});return(0,Z.jsx)(Ys,{value:l,children:(0,Z.jsx)(Js,{value:v,children:(0,Z.jsx)(Ks,{value:g,children:(0,Z.jsx)(qs,{value:y,children:x})})})})}Ec.displayName=`Theme`,Ln();var Dc=`--color-syntax-`;function Oc(e){return Dc+e}var kc=Object.keys(Fn).map(e=>e.replace(Dc,``)),Ac=new Set(In.map(e=>e.replace(Dc,``)));kc.filter(e=>!Ac.has(e));function jc(e){let t={};for(let n of kc){let r=e.tokens[n];r!==void 0&&(t[Oc(n)]=r)}return t}ys();var Mc=_s(`SyntaxThemeContext`,1,null);Mc.displayName=`SyntaxThemeContext`;function Nc({theme:e,children:t}){let n=(0,X.useMemo)(()=>jc(e),[e]),r=(0,X.useMemo)(()=>({theme:e}),[e]);return(0,Z.jsx)(Mc,{value:r,children:(0,Z.jsx)(`div`,{style:n,\"data-astryx-syntax-theme\":e.name,children:t})})}Nc.displayName=`SyntaxTheme`;var Pc=e=>(e.match(/\\d+[xX]\\d+|[A-Z]?[a-z]+|[A-Z]|\\d+/g)??[]).join(`-`).toLowerCase();function Fc(e,t,n=[]){if(t==null)throw Error(`[lucide]: iconNode is required when icon name is used`);return{name:Pc(e),size:24,node:t,...n.length>0?{aliases:n}:{}}}var Ic=e=>{let t=``,n=!1;for(let r of e)r===`-`||r===`_`||r<=` `?n=t.length>0:(t.length===0?t+=r.toLowerCase():t+=n?r.toUpperCase():r,n=!1);return t},Lc=e=>{let t=Ic(e);return t.charAt(0).toUpperCase()+t.slice(1)},Rc=(...e)=>{let t=new Set;for(let n of e)if(typeof n==`string`)for(let e of n.split(/\\s+/))e&&t.add(e);return[...t].join(` `)},zc={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,\"stroke-width\":2,\"stroke-linecap\":`round`,\"stroke-linejoin\":`round`};function Bc(e){return e!=null}function Vc(e,t={}){let n=t.attributeNames??{},r=e=>n[e]??e,i=e.size??e.width??zc.width,a=e.size??e.height??zc.height,o=e.aliases?.filter(e=>typeof e==`string`&&e.trim()!==``).map(e=>`lucide-${e}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(` `).filter(Boolean)??[],l=t.includeDefaultClasses===!1?Rc(...c):Rc(`lucide`,...s,...c),u=t.absoluteStrokeWidth?Number(t.strokeWidth??zc[`stroke-width`])*Number(e.size??e.width??zc.width)/Number(t.size??t.width??zc.width):t.strokeWidth??zc[`stroke-width`];return[`svg`,{...Object.entries(zc).reduce((e,[t,n])=>(e[r(t)]=n,e),{}),...`color`in t&&t.color&&{[r(`stroke`)]:t.color},...`size`in t&&Bc(t.size)&&{[r(`width`)]:t.size,[r(`height`)]:t.size},...`width`in t&&Bc(t.width)&&{[r(`width`)]:t.width},...`height`in t&&Bc(t.height)&&{[r(`height`)]:t.height},[r(`stroke-width`)]:u,...l&&{[r(`class`)]:l},[r(`viewBox`)]:`0 0 ${i} ${a}`,...t.hasA11yProp===!1?{[r(`aria-hidden`)]:`true`}:{},...`attributes`in t&&t.attributes},e.node.map(e=>{let[n,i,a]=e,o=t.nonScalingStroke?{[r(`vector-effect`)]:`non-scaling-stroke`,...i}:i;return a?[n,o,a]:[n,o]})]}function Hc(e,t={}){return Vc(e,{...t,attributeNames:{...t.attributeNames,class:`className`,\"stroke-width\":`strokeWidth`,\"stroke-linecap\":`strokeLinecap`,\"stroke-linejoin\":`strokeLinejoin`,\"vector-effect\":`vectorEffect`}})}var Uc=e=>{if(typeof e!=`object`||!e)return!1;for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&(t.startsWith(`aria-`)||t===`role`||t===`title`)&&e[t]!=null)return!0;return!1},Wc=(0,X.createContext)({}),Gc=()=>(0,X.useContext)(Wc),Kc=(0,X.forwardRef)(({color:e,size:t,width:n,height:r,strokeWidth:i,absoluteStrokeWidth:a,nonScalingStroke:o,className:s=``,children:c,iconNode:l=[],icon:u={node:l,aliases:[],size:24},...d},f)=>{let{size:p=24,strokeWidth:m=2,absoluteStrokeWidth:h=!1,nonScalingStroke:g=!1,color:_=`currentColor`,className:v=``}=Gc()??{},y=!!c||Uc(d),[b,x,S=[]]=Hc(u,{color:e??_,width:n??t??p,height:r??t??p,strokeWidth:i??m,absoluteStrokeWidth:a??h,nonScalingStroke:o??g,className:Rc(v,s),hasA11yProp:y,attributes:d});return(0,X.createElement)(b,{ref:f,...x},[...S.map(([e,t])=>(0,X.createElement)(e,t)),...Array.isArray(c)?c:[c]])});function qc(e,t=[],n=[]){let r=typeof e==`string`?Fc(e,t,n):e,i=(0,X.forwardRef)(({className:e,...t},n)=>(0,X.createElement)(Kc,{ref:n,icon:r,className:e,...t}));return r.name&&(i.displayName=Lc(r.name)),i}var Jc={name:`arrow-down`,size:24,node:[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]};Jc.node;var Yc=qc(Jc),Xc={name:`arrow-up-down`,size:24,node:[[`path`,{d:`m21 16-4 4-4-4`,key:`f6ql7i`}],[`path`,{d:`M17 20V4`,key:`1ejh1v`}],[`path`,{d:`m3 8 4-4 4 4`,key:`11wl7u`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}]]};Xc.node;var Zc=qc(Xc),Qc={name:`arrow-up`,size:24,node:[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]]};Qc.node;var $c=qc(Qc),el={name:`calendar`,size:24,node:[[`path`,{d:`M8 2v3`,key:`1ioesn`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}],[`path`,{d:`M3 9h18`,key:`1pudct`}]]};el.node;var tl=qc(el),nl={name:`check-check`,size:24,node:[[`path`,{d:`M18 6 7 17l-5-5`,key:`116fxf`}],[`path`,{d:`m22 10-7.5 7.5L13 16`,key:`ke71qq`}]]};nl.node;var rl=qc(nl),il={name:`check`,size:24,node:[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]};il.node;var al=qc(il),ol={name:`chevron-down`,size:24,node:[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]};ol.node;var sl=qc(ol),cl={name:`chevron-left`,size:24,node:[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]};cl.node;var ll=qc(cl),ul={name:`chevron-right`,size:24,node:[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]};ul.node;var dl=qc(ul),fl={name:`chevrons-left`,size:24,node:[[`path`,{d:`m11 17-5-5 5-5`,key:`13zhaf`}],[`path`,{d:`m18 17-5-5 5-5`,key:`h8a8et`}]]};fl.node;var pl=qc(fl),ml={name:`chevrons-right`,size:24,node:[[`path`,{d:`m6 17 5-5-5-5`,key:`xnjwq`}],[`path`,{d:`m13 17 5-5-5-5`,key:`17xmmf`}]]};ml.node;var hl=qc(ml),gl={name:`circle-check-big`,size:24,node:[[`path`,{d:`M21.801 10A10 10 0 1 1 17 3.335`,key:`yps3ct`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]],aliases:[`check-circle`]};gl.node;var _l=qc(gl),vl={name:`circle-x`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]],aliases:[`x-circle`]};vl.node;var yl=qc(vl),bl={name:`clock`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]};bl.node;var xl=qc(bl),Sl={name:`columns-2`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M12 3v18`,key:`108xh3`}]],aliases:[`columns`]};Sl.node;var Cl=qc(Sl),wl={name:`copy`,size:24,node:[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]};wl.node;var Tl=qc(wl),El={name:`ellipsis`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}]],aliases:[`more-horizontal`]};El.node;var Dl=qc(El),Ol={name:`external-link`,size:24,node:[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]};Ol.node;var kl=qc(Ol),Al={name:`eye-off`,size:24,node:[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]};Al.node;var jl=qc(Al),Ml={name:`funnel`,size:24,node:[[`path`,{d:`M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z`,key:`sc7q7i`}]],aliases:[`filter`]};Ml.node;var Nl=qc(Ml),Pl={name:`info`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]};Pl.node;var Fl=qc(Pl),Il={name:`menu`,size:24,node:[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]};Il.node;var Ll=qc(Il),Rl={name:`mic`,size:24,node:[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`,key:`1vc78b`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`13`,rx:`3`,key:`s6n7sd`}]]};Rl.node;var zl=qc(Rl),Bl={name:`search`,size:24,node:[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]};Bl.node;var Vl=qc(Bl),Hl={name:`square`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]};Hl.node;var Ul=qc(Hl),Wl={name:`triangle-exclamation-point`,size:24,node:[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]],aliases:[`alert-triangle`,`triangle-alert`]};Wl.node;var Gl=qc(Wl),Kl={name:`upload`,size:24,node:[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]};Kl.node;var ql=qc(Kl),Jl={name:`wrench`,size:24,node:[[`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z`,key:`1ngwbx`}]]};Jl.node;var Yl=qc(Jl),Xl={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};Xl.node;var Zl=qc(Xl),Ql=v(),$l={size:`1em`,\"aria-hidden\":!0},eu={neutral:{name:`neutral`,__built:!0,tokens:{\"--font-size-4xs\":`0.375rem`,\"--font-size-3xs\":`0.4375rem`,\"--font-size-2xs\":`0.5rem`,\"--font-size-xs\":`0.625rem`,\"--font-size-sm\":`0.75rem`,\"--font-size-base\":`0.875rem`,\"--font-size-lg\":`1.0625rem`,\"--font-size-xl\":`1.25rem`,\"--font-size-2xl\":`1.5rem`,\"--font-size-3xl\":`1.8125rem`,\"--font-size-4xl\":`2.1875rem`,\"--font-size-5xl\":`2.625rem`,\"--text-heading-1-size\":`var(--font-size-2xl)`,\"--text-heading-1-weight\":`var(--font-weight-semibold)`,\"--text-heading-1-leading\":`1.3333`,\"--text-heading-2-size\":`var(--font-size-xl)`,\"--text-heading-2-weight\":`var(--font-weight-semibold)`,\"--text-heading-2-leading\":`1.4`,\"--text-heading-3-size\":`var(--font-size-lg)`,\"--text-heading-3-weight\":`var(--font-weight-bold)`,\"--text-heading-3-leading\":`1.4118`,\"--text-heading-4-size\":`var(--font-size-base)`,\"--text-heading-4-weight\":`var(--font-weight-bold)`,\"--text-heading-4-leading\":`1.4286`,\"--text-heading-5-size\":`var(--font-size-sm)`,\"--text-heading-5-weight\":`var(--font-weight-semibold)`,\"--text-heading-5-leading\":`1.6667`,\"--text-heading-6-size\":`var(--font-size-xs)`,\"--text-heading-6-weight\":`var(--font-weight-semibold)`,\"--text-heading-6-leading\":`1.6`,\"--text-body-size\":`var(--font-size-base)`,\"--text-body-weight\":`var(--font-weight-normal)`,\"--text-body-leading\":`1.4286`,\"--text-large-size\":`var(--font-size-lg)`,\"--text-large-weight\":`var(--font-weight-semibold)`,\"--text-large-leading\":`1.4118`,\"--text-label-size\":`var(--font-size-base)`,\"--text-label-weight\":`var(--font-weight-medium)`,\"--text-label-leading\":`1.4286`,\"--text-code-size\":`var(--font-size-base)`,\"--text-code-weight\":`var(--font-weight-normal)`,\"--text-code-leading\":`1.4286`,\"--text-supporting-size\":`var(--font-size-sm)`,\"--text-supporting-weight\":`var(--font-weight-normal)`,\"--text-supporting-leading\":`1.6667`,\"--text-display-1-size\":`var(--font-size-5xl)`,\"--text-display-1-weight\":`var(--font-weight-normal)`,\"--text-display-1-leading\":`1.2381`,\"--text-display-2-size\":`var(--font-size-4xl)`,\"--text-display-2-weight\":`var(--font-weight-normal)`,\"--text-display-2-leading\":`1.2571`,\"--text-display-3-size\":`var(--font-size-3xl)`,\"--text-display-3-weight\":`var(--font-weight-normal)`,\"--text-display-3-leading\":`1.3793`,\"--duration-fast-min\":`95ms`,\"--duration-fast\":`125ms`,\"--duration-fast-max\":`165ms`,\"--duration-medium-min\":`225ms`,\"--duration-medium\":`300ms`,\"--duration-medium-max\":`400ms`,\"--duration-slow-min\":`525ms`,\"--duration-slow\":`700ms`,\"--duration-slow-max\":`935ms`,\"--_astryx-pre-tempo-duration-fast-min\":`95ms`,\"--_astryx-pre-tempo-duration-fast\":`125ms`,\"--_astryx-pre-tempo-duration-fast-max\":`165ms`,\"--_astryx-pre-tempo-duration-medium-min\":`225ms`,\"--_astryx-pre-tempo-duration-medium\":`300ms`,\"--_astryx-pre-tempo-duration-medium-max\":`400ms`,\"--_astryx-pre-tempo-duration-slow-min\":`525ms`,\"--_astryx-pre-tempo-duration-slow\":`700ms`,\"--_astryx-pre-tempo-duration-slow-max\":`935ms`,\"--_astryx-motion-tempo\":`1`,\"--font-family-body\":`Figtree, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif`,\"--font-family-heading\":`Figtree, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif`,\"--font-family-code\":`ui-monospace, \"SF Mono\", Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace`,\"--color-syntax-keyword\":`light-dark(#6b187c, #efa8ff)`,\"--color-syntax-string\":`light-dark(#0b5615, #a4d6a3)`,\"--color-syntax-comment\":`light-dark(#525252, #b9b9b9)`,\"--color-syntax-number\":`light-dark(#733100, #ffb37e)`,\"--color-syntax-function\":`light-dark(#00458c, #a1caff)`,\"--color-syntax-type\":`light-dark(#6b187c, #efa8ff)`,\"--color-syntax-variable\":`light-dark(#111111, #e2e2e2)`,\"--color-syntax-operator\":`light-dark(#525252, #b9b9b9)`,\"--color-syntax-constant\":`light-dark(#733100, #ffb37e)`,\"--color-syntax-tag\":`light-dark(#8a0011, #ffaea7)`,\"--color-syntax-attribute\":`light-dark(#584400, #eec448)`,\"--color-syntax-property\":`light-dark(#005348, #90d7c8)`,\"--color-syntax-punctuation\":`light-dark(#525252, #b9b9b9)`,\"--color-syntax-background\":`light-dark(#ffffff, #111111)`,\"--color-syntax-added\":`color-mix(in srgb, var(--color-success-muted) 25%, transparent)`,\"--color-syntax-removed\":`color-mix(in srgb, var(--color-error-muted) 25%, transparent)`,\"--color-syntax-diff-header\":`transparent`,\"--color-syntax-added-marker\":`var(--color-syntax-punctuation)`,\"--color-syntax-removed-marker\":`var(--color-syntax-punctuation)`,\"--color-background-surface\":`light-dark(#ffffff, #262626)`,\"--color-background-body\":`light-dark(#f1f1f1, #1b1b1b)`,\"--color-background-card\":`light-dark(#ffffff, #1b1b1b)`,\"--color-background-popover\":`light-dark(#ffffff, #1b1b1b)`,\"--color-background-muted\":`light-dark(#f1f1f1, #1b1b1b)`,\"--color-accent\":`light-dark(#1b1b1b, #f1f1f1)`,\"--color-accent-muted\":`light-dark(#d4d4d4, #474747)`,\"--color-neutral\":`light-dark(#0000000F, #ffffff1A)`,\"--color-overlay\":`light-dark(#00000080, #000000CC)`,\"--color-overlay-hover\":`light-dark(#0000000D, #ffffff0D)`,\"--color-overlay-pressed\":`light-dark(#0000001A, #ffffff1A)`,\"--color-text-primary\":`light-dark(#000000, #ffffff)`,\"--color-text-secondary\":`light-dark(#474747, #9e9e9e)`,\"--color-text-disabled\":`light-dark(#919191, #525252)`,\"--color-text-accent\":`light-dark(#1b1b1b, #f1f1f1)`,\"--color-on-dark\":`#ffffff`,\"--color-on-light\":`#111111`,\"--color-on-accent\":`light-dark(#ffffff, #111111)`,\"--color-on-success\":`light-dark(#ffffff, #111111)`,\"--color-on-error\":`light-dark(#ffffff, #111111)`,\"--color-on-warning\":`#111111`,\"--color-info\":`light-dark(#0074e2, #6d9cfe)`,\"--color-info-muted\":`light-dark(#b9d7ff, #88bcff3D)`,\"--color-on-info\":`light-dark(#ffffff, #111111)`,\"--color-text-info\":`light-dark(#0067ce, #a1caff)`,\"--color-text-success\":`light-dark(#2f7d33, #90ca90)`,\"--color-text-warning\":`light-dark(#836700, #eec448)`,\"--color-text-error\":`light-dark(#c0262c, #ffaea7)`,\"--color-on-info-muted\":`light-dark(#003978, #a1caff)`,\"--color-on-success-muted\":`light-dark(#00490b, #90ca90)`,\"--color-on-warning-muted\":`light-dark(#4b3900, #eec448)`,\"--color-on-error-muted\":`light-dark(#76000c, #ffaea7)`,\"--color-icon-accent\":`light-dark(#1b1b1b, #f1f1f1)`,\"--color-icon-primary\":`light-dark(#000000, #ffffff)`,\"--color-icon-secondary\":`light-dark(#6a6a6a, #9e9e9e)`,\"--color-icon-disabled\":`light-dark(#919191, #525252)`,\"--color-success\":`light-dark(#198100, #64af4c)`,\"--color-warning\":`#ffce2f`,\"--color-error\":`light-dark(#c9303a, #ff705d)`,\"--color-success-muted\":`light-dark(#bce0bb, #90ca903D)`,\"--color-error-muted\":`light-dark(#ffc4be, #ff98903D)`,\"--color-warning-muted\":`light-dark(#fae19e, #e2b6233D)`,\"--color-border\":`light-dark(#00000014, #ffffff1A)`,\"--color-border-emphasized\":`light-dark(#d4d4d4, #525252)`,\"--color-skeleton\":`light-dark(#d4d4d4, #525252)`,\"--color-shadow\":`light-dark(#0000001A, #0000004D)`,\"--color-tint-hover\":`light-dark(#000000, #ffffff)`,\"--color-background-red\":`light-dark(#ffc4be, #5b2b28)`,\"--color-border-red\":`light-dark(#ffaea7, #fa6762)`,\"--color-icon-red\":`light-dark(#76000c, #ff9890)`,\"--color-text-red\":`light-dark(#76000c, #ffaea7)`,\"--color-background-orange\":`light-dark(#ffc7a1, #503424)`,\"--color-border-orange\":`light-dark(#ffc7a1, #df843f)`,\"--color-icon-orange\":`light-dark(#622700, #ff9e55)`,\"--color-text-orange\":`light-dark(#622700, #ffb37e)`,\"--color-background-yellow\":`light-dark(#fae19e, #453a1c)`,\"--color-border-yellow\":`light-dark(#e3c36c, #c29900)`,\"--color-icon-yellow\":`light-dark(#4b3900, #e2b623)`,\"--color-text-yellow\":`light-dark(#4b3900, #eec448)`,\"--color-background-green\":`light-dark(#bce0bb, #2b422b)`,\"--color-border-green\":`light-dark(#aad4a9, #6ab26b)`,\"--color-icon-green\":`light-dark(#00490b, #90ca90)`,\"--color-text-green\":`light-dark(#00490b, #90ca90)`,\"--color-background-teal\":`light-dark(#a9e2d6, #28413c)`,\"--color-border-teal\":`light-dark(#90d7c8, #4fb1a0)`,\"--color-icon-teal\":`light-dark(#00463d, #81c9bb)`,\"--color-text-teal\":`light-dark(#00463d, #90d7c8)`,\"--color-background-cyan\":`light-dark(#9ae2f4, #274046)`,\"--color-border-cyan\":`light-dark(#85d5e9, #49adc4)`,\"--color-icon-cyan\":`light-dark(#004351, #71c7dd)`,\"--color-text-cyan\":`light-dark(#004351, #85d5e9)`,\"--color-background-blue\":`light-dark(#b9d7ff, #253c5a)`,\"--color-border-blue\":`light-dark(#a1caff, #5aa0f8)`,\"--color-icon-blue\":`light-dark(#003978, #88bcff)`,\"--color-text-blue\":`light-dark(#003978, #a1caff)`,\"--color-background-purple\":`light-dark(#f7d5ff, #4a2f51)`,\"--color-border-purple\":`light-dark(#f3bfff, #d885eb)`,\"--color-icon-purple\":`light-dark(#5c0e6c, #e496f6)`,\"--color-text-purple\":`light-dark(#5c0e6c, #eaacf8)`,\"--color-background-pink\":`light-dark(#ffc0d7, #572b3d)`,\"--color-border-pink\":`light-dark(#ffc0d7, #fc78b1)`,\"--color-icon-pink\":`light-dark(#70003f, #fd92bd)`,\"--color-text-pink\":`light-dark(#70003f, #ffa9ca)`,\"--color-background-gray\":`light-dark(#e2e2e2, #303030)`,\"--color-border-gray\":`light-dark(#d4d4d4, #262626)`,\"--color-icon-gray\":`light-dark(#474747, #9e9e9e)`,\"--color-text-gray\":`light-dark(#1b1b1b, #d4d4d4)`,\"--radius-none\":`0px`,\"--radius-inner\":`0.375rem`,\"--radius-element\":`0.625rem`,\"--radius-container\":`0.75rem`,\"--radius-page\":`1.75rem`,\"--radius-chat\":`28px`,\"--radius-full\":`9999px`,\"--shadow-low\":`0 2px 4px light-dark(oklch(0 0 0 / 5%), oklch(0 0 0 / 25%)), 0 4px 8px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 40%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 8%))`,\"--shadow-med\":`0 2px 4px light-dark(oklch(0 0 0 / 5%), oklch(0 0 0 / 35%)), 0 4px 12px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 50%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 12%))`,\"--shadow-high\":`0 4px 6px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 50%)), 0 12px 24px light-dark(oklch(0 0 0 / 15%), oklch(0 0 0 / 70%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 15%))`,\"--shadow-inset-hover\":`inset 0px 0px 0px 2px #0074e24D`,\"--shadow-inset-selected\":`inset 0px 0px 0px 2px #0074e280`,\"--shadow-inset-success\":`inset 0px 0px 0px 2px #2f7d334D`,\"--shadow-inset-warning\":`inset 0px 0px 0px 2px #f8d36a4D`,\"--shadow-inset-error\":`inset 0px 0px 0px 2px #de47454D`},localTokens:{\"--astryx-theme-neutral-color-status-fill-accent\":`light-dark(#0074e2, #6d9cfe)`},__localTokenOwners:{\"--astryx-theme-neutral-color-status-fill-accent\":`neutral`},__localTokenLineage:[`neutral`],components:{heading:{\"level:1\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-heading-1-size)`,fontWeight:`var(--text-heading-1-weight)`,lineHeight:`var(--text-heading-1-leading)`},\"level:2\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-heading-2-size)`,fontWeight:`var(--text-heading-2-weight)`,lineHeight:`var(--text-heading-2-leading)`},\"level:3\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-heading-3-size)`,fontWeight:`var(--text-heading-3-weight)`,lineHeight:`var(--text-heading-3-leading)`},\"level:4\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-heading-4-size)`,fontWeight:`var(--text-heading-4-weight)`,lineHeight:`var(--text-heading-4-leading)`},\"level:5\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-heading-5-size)`,fontWeight:`var(--text-heading-5-weight)`,lineHeight:`var(--text-heading-5-leading)`},\"level:6\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-heading-6-size)`,fontWeight:`var(--text-heading-6-weight)`,lineHeight:`var(--text-heading-6-leading)`},\"type:display-1\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-display-1-size)`,lineHeight:`var(--text-display-1-leading)`},\"type:display-2\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-display-2-size)`,lineHeight:`var(--text-display-2-leading)`},\"type:display-3\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-display-3-size)`,lineHeight:`var(--text-display-3-leading)`}},text:{\"type:body\":{fontFamily:`var(--font-family-body)`,fontSize:`var(--text-body-size)`,lineHeight:`var(--text-body-leading)`},\"type:large\":{fontFamily:`var(--font-family-body)`,fontSize:`var(--text-large-size)`,lineHeight:`var(--text-large-leading)`},\"type:label\":{fontFamily:`var(--font-family-body)`,fontSize:`var(--text-label-size)`,lineHeight:`var(--text-label-leading)`},\"type:code\":{fontFamily:`var(--font-family-code)`,fontSize:`var(--text-code-size)`,lineHeight:`var(--text-code-leading)`},\"type:supporting\":{fontFamily:`var(--font-family-body)`,fontSize:`var(--text-supporting-size)`,lineHeight:`var(--text-supporting-leading)`},\"type:display-1\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-display-1-size)`,lineHeight:`var(--text-display-1-leading)`},\"type:display-2\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-display-2-size)`,lineHeight:`var(--text-display-2-leading)`},\"type:display-3\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-display-3-size)`,lineHeight:`var(--text-display-3-leading)`}},item:{selected:{\"--color-text-secondary\":`light-dark(#474747, #c6c6c6)`}},\"tree-list-item\":{selected:{\"--color-text-secondary\":`light-dark(#474747, #c6c6c6)`}},\"file-input\":{\"mode:dropzone\":{\"--color-text-secondary\":`light-dark(#474747, #c6c6c6)`}},citation:{\"variant:number\":{\"--color-text-secondary\":`light-dark(#474747, #c6c6c6)`}},button:{\"variant:destructive\":{backgroundColor:`var(--color-error-muted)`,color:`var(--color-on-error-muted)`}},badge:{\"variant:neutral\":{backgroundColor:`var(--color-background-gray)`,color:`var(--color-text-gray)`},\"variant:red\":{backgroundColor:`var(--color-background-red)`,color:`var(--color-text-red)`},\"variant:orange\":{backgroundColor:`var(--color-background-orange)`,color:`var(--color-text-orange)`},\"variant:yellow\":{backgroundColor:`var(--color-background-yellow)`,color:`var(--color-text-yellow)`},\"variant:green\":{backgroundColor:`var(--color-background-green)`,color:`var(--color-text-green)`},\"variant:teal\":{backgroundColor:`var(--color-background-teal)`,color:`var(--color-text-teal)`},\"variant:cyan\":{backgroundColor:`var(--color-background-cyan)`,color:`var(--color-text-cyan)`},\"variant:blue\":{backgroundColor:`var(--color-background-blue)`,color:`var(--color-text-blue)`},\"variant:purple\":{backgroundColor:`var(--color-background-purple)`,color:`var(--color-text-purple)`},\"variant:pink\":{backgroundColor:`var(--color-background-pink)`,color:`var(--color-text-pink)`},\"variant:gray\":{backgroundColor:`var(--color-background-gray)`,color:`var(--color-text-gray)`}},\"segmented-control\":{base:{padding:`var(--spacing-1)`}},\"segmented-control-item\":{base:{\"--color-text-secondary\":`light-dark(#474747, #c6c6c6)`},\"size:sm\":{height:`calc(var(--size-element-sm) - 8px)`},\"size:md\":{height:`calc(var(--size-element-md) - 8px)`},\"size:lg\":{height:`calc(var(--size-element-lg) - 8px)`},selected:{boxShadow:`none`}},switch:{base:{\"--color-background-gray\":`var(--color-border-emphasized)`}},\"progress-bar\":{base:{\"--color-background-muted\":`var(--color-border-emphasized)`}},\"progress-bar-fill\":{\"variant:neutral\":{backgroundColor:`light-dark(var(--color-text-secondary), #b9b9b9)`},\"variant:disabled\":{backgroundColor:`light-dark(var(--color-text-secondary), #b9b9b9)`}},card:{base:{padding:`var(--spacing-3)`},\"variant:blue\":{\"--color-text-secondary\":`light-dark(#474747, #b9b9b9)`},\"variant:cyan\":{\"--color-text-secondary\":`light-dark(#474747, #b9b9b9)`},\"variant:green\":{\"--color-text-secondary\":`light-dark(#474747, #b9b9b9)`},\"variant:orange\":{\"--color-text-secondary\":`light-dark(#474747, #b9b9b9)`},\"variant:pink\":{\"--color-text-secondary\":`light-dark(#474747, #b9b9b9)`},\"variant:purple\":{\"--color-text-secondary\":`light-dark(#474747, #b9b9b9)`},\"variant:red\":{\"--color-text-secondary\":`light-dark(#474747, #b9b9b9)`},\"variant:teal\":{\"--color-text-secondary\":`light-dark(#474747, #b9b9b9)`},\"variant:yellow\":{\"--color-text-secondary\":`light-dark(#474747, #b9b9b9)`}},section:{base:{padding:`var(--spacing-3)`}}},__onDark:{tokens:{\"color-scheme\":`dark`,\"--color-text-primary\":`var(--color-on-dark)`,\"--color-icon-primary\":`var(--color-on-dark)`,\"--color-accent\":`var(--color-on-dark)`}},__onLight:{tokens:{\"color-scheme\":`light`,\"--color-text-primary\":`var(--color-on-light)`,\"--color-icon-primary\":`var(--color-on-light)`,\"--color-accent\":`var(--color-on-light)`}},__adaptations:{widthBreakpoints:{sm:640,md:768,lg:1024,xl:1280,\"2xl\":1536},rules:[{when:{pointer:`coarse`,width:{below:`lg`}},value:{typography:{scale:{base:16,ratio:1.1736}}}}]},__axes:{typography:{scale:{base:14,ratio:1.2},body:{family:`Figtree`,fallbacks:`-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif`},heading:{family:`Figtree`,fallbacks:`-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif`,weights:{3:`bold`,4:`bold`}},code:{family:`ui-monospace`,fallbacks:`\"SF Mono\", Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace`}},motion:{fast:125,medium:300,slow:700,ratio:.75}},icons:{close:(0,Z.jsx)(Zl,{...$l}),chevronDown:(0,Z.jsx)(sl,{...$l}),chevronLeft:(0,Z.jsx)(ll,{...$l}),chevronRight:(0,Z.jsx)(dl,{...$l}),chevronsLeft:(0,Z.jsx)(pl,{...$l}),chevronsRight:(0,Z.jsx)(hl,{...$l}),check:(0,Z.jsx)(al,{...$l}),success:(0,Z.jsx)(_l,{...$l}),error:(0,Z.jsx)(yl,{...$l}),warning:(0,Z.jsx)(Gl,{...$l}),info:(0,Z.jsx)(Fl,{...$l}),calendar:(0,Z.jsx)(tl,{...$l}),clock:(0,Z.jsx)(xl,{...$l}),externalLink:(0,Z.jsx)(kl,{...$l}),menu:(0,Z.jsx)(Ll,{...$l}),moreHorizontal:(0,Z.jsx)(Dl,{...$l}),search:(0,Z.jsx)(Vl,{...$l}),upload:(0,Z.jsx)(ql,{...$l}),arrowUp:(0,Z.jsx)($c,{...$l}),arrowDown:(0,Z.jsx)(Yc,{...$l}),arrowsUpDown:(0,Z.jsx)(Zc,{...$l}),funnel:(0,Z.jsx)(Nl,{...$l}),eyeSlash:(0,Z.jsx)(jl,{...$l}),viewColumns:(0,Z.jsx)(Cl,{...$l}),copy:(0,Z.jsx)(Tl,{...$l}),checkDouble:(0,Z.jsx)(rl,{...$l}),wrench:(0,Z.jsx)(Yl,{...$l}),stop:(0,Z.jsx)(Ul,{...$l}),microphone:(0,Z.jsx)(zl,{...$l})}}},tu=`neutral`;function nu(e){let t=(0,iu.useRef)(e);return ru(t,e),t}function ru(e,t){(0,iu.useInsertionEffect)(()=>{e.current=t})}var iu,au=o((()=>{iu=u(f(),1)})),ou,su=o((()=>{ys(),ou=_s(`TooltipPresentInterestContext`,1,null),ou.displayName=`TooltipPresentInterestContext`}));function cu(e){return e.hasAttribute(`tabindex`)?e.tabIndex>=0:[`A`,`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`].includes(e.tagName)?!e.disabled:e.isContentEditable}function lu(e,t){return uu(e.target,e.currentTarget,t)}function uu(e,t,n){return n===`always`||n!==`never`&&t!=null&&(e===t||cu(t))}function du(){let e=!1;return{focusIn(t,n){return e=lu(t,n),e},focusOut(t,n){return!e&&!lu(t,n)?!1:(e=!1,!0)}}}var fu=o((()=>{}));function pu(e){return e instanceof Element&&e.hasAttribute(mu)}var mu,hu=o((()=>{mu=`data-astryx-haptic-switch`}));function gu(e){return Ou.get(e)??null}function _u(e){return ku.get(e)??null}function vu(e){return Au.get(e)??ju}function yu(e){return Nu.get(e)??Mu}function bu(e,t,n,{cancels:r=!1,first:i=!1}={}){let a=Du.get(e);a??(a=new Map,Du.set(e,a));let o=a.get(t);o??(o={subscribers:[],native:null},a.set(t,o));let s={listener:n,cancels:r,isFirst:i},c=i?o.subscribers.findIndex(e=>!e.isFirst):-1;c===-1?o.subscribers.push(s):o.subscribers.splice(c,0,s),xu(e,t,o);let l=!0;return()=>{if(!l)return;l=!1;let n=Du.get(e)?.get(t);if(n==null)return;let r=n.subscribers.indexOf(s);r!==-1&&n.subscribers.splice(r,1),xu(e,t,n),n.subscribers.length===0&&(Du.get(e)?.delete(t),(t===`pointerup`||t===`pointercancel`)&&Au.delete(e),(t===`touchend`||t===`touchcancel`)&&wu(e))}}function xu(e,t,n){let r=n.subscribers.length===0?null:n.subscribers.some(e=>e.cancels),i=n.native;if(i!=null&&i.cancels===r||(i!=null&&(e.removeEventListener(t,i.listener,{capture:!0}),n.native=null),r==null))return;let a=t=>Su(e,n,t);e.addEventListener(t,a,{capture:!0,passive:!r}),n.native={listener:a,cancels:r}}function Su(e,t,n){let{pointerType:r,clientX:i,clientY:a}=n;typeof r==`string`&&r!==``&&Ou.set(e,r),r===`mouse`&&typeof i==`number`&&typeof a==`number`&&ku.set(e,{x:i,y:a}),(r===`touch`||r===`pen`)&&Tu(e,n),(n.type===`touchstart`||n.type===`touchend`||n.type===`touchcancel`)&&Cu(e,n);for(let e of[...t.subscribers])if(t.subscribers.includes(e))try{if(e.listener(n)===!0&&e.isFirst)return}catch(e){Eu(e)}}function Cu(e,t){let n=Du.get(e);if(n?.has(`touchend`)!==!0||!n.has(`touchcancel`)){wu(e);return}let{touches:r}=t,i=Nu.get(e)?.starts??0;Nu.set(e,{fingers:r?.length??0,starts:t.type===`touchstart`?i+1:i})}function wu(e){let t=Nu.get(e);t!=null&&Nu.set(e,{fingers:0,starts:t.starts})}function Tu(e,t){let{pointerId:n,clientX:r,clientY:i}=t;if(typeof n!=`number`)return;let a=Au.get(e);t.type===`pointerup`||t.type===`pointercancel`?a?.delete(n):(t.type===`pointerdown`||t.type===`pointermove`&&a?.has(n)===!0)&&typeof r==`number`&&typeof i==`number`&&(a??(a=new Map,Au.set(e,a)),a.set(n,{x:r,y:i}))}function Eu(e){typeof globalThis.reportError==`function`?globalThis.reportError(e):queueMicrotask(()=>{throw e})}var Du,Ou,ku,Au,ju,Mu,Nu,Pu=o((()=>{Xn(),{streams:Du,lastPointerTypes:Ou,lastMousePoints:ku,downPresses:Au}=Gn(Wn(`input-stream`,1),()=>({streams:new WeakMap,lastPointerTypes:new WeakMap,lastMousePoints:new WeakMap,downPresses:new WeakMap})),ju=new Map,Mu={fingers:0,starts:0},Nu=Gn(Wn(`input-stream/touches`,1),()=>new WeakMap)}));function Fu(){Ru.isSet=!0}function Iu(){return Ru.isSet}function Lu(){Ru.isSet=!1}var Ru,zu=o((()=>{Xn(),Ru=Kn(`utils/touch-end-mark/state`,1,()=>({isSet:!1}))}));function Bu(e){return bu(e,`click`,t=>{let n=e.document;Ju.has(n)&&!Ku(t)&&(t.preventDefault(),t.stopImmediatePropagation(),Uu(n))},{cancels:!0})}function Vu(e,{staysInstalled:t=!1,takesLateMouse:n=!1,cancelsTouchEnd:r=!1,touchIdentifier:i}={}){let a=e.defaultView;if(a==null)return;Uu(e);let o={unsubscribers:[],timer:null};if(t&&!Yu.has(a)&&Yu.set(a,Bu(a)),Yu.has(a)||o.unsubscribers.push(Bu(a)),Ju.set(e,o),o.unsubscribers.push(bu(a,`pointerdown`,()=>Uu(e))),n)for(let e of[`mousedown`,`mouseup`])o.unsubscribers.push(bu(a,e,Gu,{cancels:!0}));if(r){Fu();let t=bu(a,`touchend`,n=>{(i==null||Hu(n,i))&&(t(),n.cancelable&&(n.preventDefault(),Uu(e)))},{cancels:!0});o.unsubscribers.push(t)}o.timer=setTimeout(()=>Uu(e),400)}function Hu(e,t){let n=e.changedTouches;return n==null||Array.from(n).some(e=>e.identifier===t)}function Uu(e){let t=Ju.get(e);if(t!=null){Ju.delete(e),t.timer!=null&&clearTimeout(t.timer);for(let e of t.unsubscribers)e()}}function Wu(e){qu.unguardedDepth++;try{return e()}finally{qu.unguardedDepth--}}function Gu(e){Ku(e)||(e.preventDefault(),e.stopImmediatePropagation())}function Ku(e){return e.detail===0||qu.unguardedDepth>0||pu(e.target)}var qu,Ju,Yu,Xu=o((()=>{hu(),Pu(),Xn(),zu(),qu=Gn(Wn(`click-guard`,1),()=>({guards:new Map,stayingClickListeners:new WeakMap,unguardedDepth:0})),{guards:Ju,stayingClickListeners:Yu}=qu}));function Zu(e){return typeof e==`object`&&!!e&&typeof e.nodeType==`number`}function Qu(e){return Zu(e)&&e.nodeType===1}function $u(e){return Zu(e)&&e.nodeType===9}function ed(e){return Zu(e)&&e.nodeType===11&&`host`in e}function td(e){return Qu(e)&&e.namespaceURI===`http://www.w3.org/1999/xhtml`}function nd(e){try{return e.matches(`:popover-open`)}catch{return!1}}function rd(e){try{return e.tagName===`DIALOG`&&e.matches(`:modal`)}catch{return!1}}function id(e){return e.open||nd(e)}function ad(e){return!id(e)&&e.getClientRects().length>0}var od=o((()=>{}));function sd(e){let t=e.visualViewport,n=t?.width??0;if(t==null||!(n>0))return e.innerHeight-cd(e);let r=t.scale;return(Math.abs(e.innerWidth-n)0)||t.scrollWidth<=t.clientWidth?0:Math.min(n,ld(e.document))}function ld(e){let t=e.defaultView?.devicePixelRatio??1,n=dd.get(e);if(n!=null&&n.devicePixelRatio===t)return n.thickness;let r=ud(e);return dd.set(e,{devicePixelRatio:t,thickness:r}),r}function ud(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 dd,fd=o((()=>{dd=new WeakMap}));function pd(e,t,n){return Math.hypot(t-e.originX,n-e.originY)>10}function md(e,t,n,r){return{gesture:{...e,phase:t},paint:n,timer:r}}function hd(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`?pd(e,t.x,t.y)?md(e,`dead`,`none`,null):{gesture:e,paint:`none`,timer:null}:t.kind===`cancel`?md(e,`dead`,`none`,null):t.kind===`onset`?md(e,`pressed`,`on`,null):t.kind===`up`?md(e,`flash`,`on`,`flash`):{gesture:e,paint:`none`,timer:null};case`pressed`:return t.kind===`move`&&!pd(e,t.x,t.y)?{gesture:e,paint:`on`,timer:null}:t.kind===`move`||t.kind===`cancel`?md(e,`dead`,`none`,null):t.kind===`up`?md(e,`fading`,`fading`,`fade`):{gesture:e,paint:`on`,timer:null};case`buttonHeld`:return t.kind===`up`?md(e,`fading`,`fading`,`fade`):t.kind===`cancel`?md(e,`dead`,`none`,null):{gesture:e,paint:`on`,timer:null};case`flash`:return t.kind===`flashEnd`?md(e,`fading`,`fading`,`fade`):{gesture:e,paint:`on`,timer:null};case`fading`:return t.kind===`fadeEnd`?{gesture:vd,paint:`none`,timer:null}:{gesture:e,paint:`fading`,timer:null};case`dead`:return t.kind===`up`?{gesture:vd,paint:`none`,timer:null}:{gesture:e,paint:`none`,timer:null};case`idle`:return{gesture:vd,paint:`none`,timer:null}}}function gd(){return vd}var _d,vd,yd=o((()=>{Ae(),G(),_d=Number.parseFloat(ke(z)[`--duration-exit`]),vd={originX:0,originY:0,phase:`idle`}}));function bd(e){return e.assignedSlot??(e.parentNode==null?null:ed(e.parentNode)?e.parentNode.host:e.parentNode)}function xd(e,t){for(let n=t;n!=null;n=bd(n))if(n===e)return!0;return!1}function Sd(e){let t=e?.activeElement??null;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function Cd(e){return ed(e)?e.host:null}function wd(e){let t=[];for(let n=e,r=Cd(n);r!=null;n=r.getRootNode(),r=Cd(n))t.push({root:n,host:r});return t}var Td=o((()=>{od()}));function Ed(e){return e!==`mouse`}function Dd(e,t){let n=new Set(e);if(Gd(t)&&[...n].some(e=>xd(e,t))&&n.add(t),!rs()){let e=e=>{Kd(e.target)||e.preventDefault()};for(let t of n)t.addEventListener(`selectstart`,e);let t=!0;return()=>{if(t){t=!1;for(let t of n)t.removeEventListener(`selectstart`,e)}}}return Wd(n)}function Od(e,t,n,r){let i=t?.document??null,a=n,o=Vd(a),s=null,c=()=>{let e=t?.getSelection();if(e==null||Kd(Sd(i)))return;let n=Pd(e,o);a.length===0?n.some(e=>!e.collapsed)&&e.removeAllRanges():!Rd(n,a)&&a.every(Id)&&zd(e,a)};c();let l=new Set(e),u=e=>{Kd(e.target)||e.preventDefault()};for(let e of l)e.addEventListener(`selectstart`,u);let d=t==null?[]:[bu(t,`selectstart`,u,{cancels:!0}),bu(t,`selectionchange`,c)],f=Wd(l),p=`held`,m=null,h=()=>{if(p!==`done`){p=`done`,m!=null&&(t?.clearTimeout(m),m=null);try{c()}finally{for(let e of d)e();r?.()}}},g=({isCancel:e=!1}={})=>{if(p===`held`){p=`lifted`,s=kd(t);for(let e of l)e.removeEventListener(`selectstart`,u);f(),t==null||e?h():m=t.setTimeout(h,0)}else p===`lifted`&&e&&h()};return g.keepLiftSelection=()=>{if(p!==`lifted`||s==null)return;let e=s;s=null;let n=()=>{let n=kd(t);p!==`done`&&!Rd(n,e)&&(a=n,o=Vd(n))};n(),queueMicrotask(n)},g}function kd(e){let t=e?.getSelection();if(t==null)return[];let n=Bd(t,[]);if(n!=null)return n.filter(e=>!e.collapsed).map(Fd);if(t.isCollapsed)return[];let r=[];for(let e=0;e=c)){l.setStart(a,e),l.setEnd(a,e+1);for(let e of Array.from(l.getClientRects()))if(t>=e.left&&t<=e.right&&n>=e.top&&n<=e.bottom)return!0}return!1}function jd(e){for(let t=e;t!=null;t=bd(t))if(t.nodeType===1&&t.localName===`button`)return!0;return!1}function Md(e,t,n,r){let i=e;if(typeof i.caretPositionFromPoint==`function`){let e=r.length>0?i.caretPositionFromPoint(t,n,{shadowRoots:[...r]}):i.caretPositionFromPoint(t,n);return e==null?null:{node:e.offsetNode,offset:e.offset}}if(typeof i.caretRangeFromPoint==`function`){let e=i.caretRangeFromPoint(t,n);return e==null?null:{node:e.startContainer,offset:e.startOffset}}return null}function Nd(e){let t=e.ownerDocument.defaultView?.getComputedStyle(e);return t!=null&&t.getPropertyValue(`user-select`)!==`none`&&t.getPropertyValue(`-webkit-user-select`)!==`none`}function Pd(e,t){let n=Bd(e,t);if(n!=null)return n;let r=[];for(let t=0;t=0&&t<=n}function Rd(e,t){return e.length===t.length&&t.every((t,n)=>{let r=e[n];return r.startContainer===t.startContainer&&r.startOffset===t.startOffset&&r.endContainer===t.endContainer&&r.endOffset===t.endOffset})}function zd(e,t){let[n]=t;if(t.length===1&&typeof e.setBaseAndExtent==`function`)e.setBaseAndExtent(n.startContainer,n.startOffset,n.endContainer,n.endOffset);else{e.removeAllRanges();for(let n of t){let t=n.startContainer.ownerDocument?.createRange();t!=null&&(t.setStart(n.startContainer,n.startOffset),t.setEnd(n.endContainer,n.endOffset),e.addRange(t))}}}function Bd(e,t){let n=e.getComposedRanges;if(typeof n!=`function`)return null;let r=t=>{try{return n.call(e,{shadowRoots:t})}catch{try{return n.call(e,...t)}catch{return null}}},i=[...t];for(;;){let e=r([...i]);if(e==null)return null;let t=new Set;for(let n of e)for(let[e,r]of[[n.startContainer,n.startOffset],[n.endContainer,n.endOffset]])for(let n of[e.childNodes[r],e.childNodes[r-1]]){let e=n?.nodeType===1?n.shadowRoot:null;e!=null&&!i.includes(e)&&t.add(e)}if(t.size===0)return e;i.push(...t)}}function Vd(e){let t=new Set;for(let n of e)for(let e of[...Ud(n.startContainer),...Ud(n.endContainer)])t.add(e);return[...t]}function Hd(e){let t=e?.nodeType===1?e.shadowRoot:null;return t==null?[]:[t]}function Ud(e){return e==null||typeof e.nodeType!=`number`?[]:wd(e.getRootNode()).map(({root:e})=>e).filter(e=>e.mode===`open`)}function Wd(e){let t=[];for(let n of e){let e=qd(n);if(e==null)continue;t.push(n);let r=Xd.get(n);if(r!=null)r.count+=1;else{Xd.set(n,{count:1,saved:Jd.map(t=>({name:t,value:e.getPropertyValue(t),priority:e.getPropertyPriority(t)}))});for(let t of Jd)e.setProperty(t,`none`)}}let n=!1;return()=>{if(!n){n=!0;for(let e of t){let t=Xd.get(e);if(t==null||--t.count>0)continue;Xd.delete(e);let n=qd(e);for(let{name:e,value:r,priority:i}of t.saved)r===``?n?.removeProperty(e):n?.setProperty(e,r,i)}}}}function Gd(e){return Qu(e)&&e.localName===`input`&&!Yd.has(e.type)}function Kd(e){let t=Qu(e)?e:Zu(e)?e.parentElement:null;return t==null?!1:t.localName===`textarea`?!0:t.localName===`input`?Yd.has(t.type):t.isContentEditable}function qd(e){let t=e.style;return typeof t==`object`&&t?t:null}var Jd,Yd,Xd,Zd=o((()=>{Td(),Pu(),os(),od(),Xn(),Jd=[`-webkit-touch-callout`,`-webkit-user-select`,`user-select`],Yd=new Set([`text`,`search`,`email`,`url`,`tel`,`password`,`number`]),Xd=Jn(`utils/selection-lock/locks`,1)}));function Qd(e){return e.visualViewport!=null&&e.self===e.top}function $d(e){let t=e.visualViewport;if(t==null||!Qd(e))return 0;let n=sd(e)-t.height*(t.scale??1);return n>1?Math.round(n*100)/100:0}function ef(e){let t=wf.get(e);return t??(t={height:0,startsAtHide:null,listeners:new Set,focusListeners:new Set,detach:null,detachFocus:null},wf.set(e,t)),t}function tf(e){return`virtualKeyboard`in e.navigator}function nf(e,t,n){return n>1&&n{n<=1&&t.height>1&&(t.startsAtHide=yu(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=$d(e);if(nf(e,t.height,s)){if(r!=null&&Math.abs(s-i)<1)return;let t=e.performance.now();r==null?a=t+Sf:clearTimeout(r),i=s,r=setTimeout(()=>{r=null,o($d(e),e.performance.now())},Math.min(xf,a-t))}else r!=null&&(clearTimeout(r),r=null),o(s,n.timeStamp)};n?.addEventListener(`resize`,s),n?.addEventListener(`scroll`,s);let c=bu(e,`resize`,e=>{Zu(e.target)||s(e)});return()=>{r!=null&&(clearTimeout(r),r=null),n?.removeEventListener(`resize`,s),n?.removeEventListener(`scroll`,s),c()}}function af(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=bu(e,`focusin`,n),i=bu(e,`focusout`,n);return()=>{r(),i()}}function of(e,t,{focus:n=!1}={}){let r=ef(e);return r.listeners.add(t),r.detach??=rf(e,r),n&&(r.focusListeners.add(t),r.detachFocus??=af(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 sf(e){let t=wf.get(e)?.startsAtHide,n=yu(e);return n.fingers>0&&(t==null||n.starts!==t)}function cf(e){let t=wf.get(e);return t?.detach==null?$d(e):t.height}function lf(e){if(!td(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&&!Cf.has((t.getAttribute(`type`)??`text`).toLowerCase())}return e.matches(`[contenteditable]:not([contenteditable=\"false\"])`)}function uf(e,t){if(!Qu(e))return null;let n=e.closest(`input, textarea, [contenteditable]:not([contenteditable=\"false\"])`);if(t.contains(n)&&lf(n))return n;let r=e.closest(`label`),i=td(r)?r.control:null;return t.contains(i)&&lf(i)?i:null}function df(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=Tf.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:bu(t,`blur`,e=>{Zu(e.target)&&r(e)}),callers:n},Tf.set(e,a)}return a.callers.add(i),()=>{let t=Tf.get(e);t!=null&&t.callers.delete(i)&&t.callers.size===0&&(t.stop(),Tf.delete(e))}}function ff(e,t){let n=Ef.get(e);if(n==null){let t=e.defaultView;if(t==null)return()=>{};let r=new Set,i=bu(t,`touchstart`,()=>{for(let e of[...r])e()}),a=bu(t,`touchend`,()=>{}),o=bu(t,`touchcancel`,()=>{});n={stop:()=>{i(),a(),o()},watches:r},Ef.set(e,n)}return n.watches.add(t),()=>{let n=Ef.get(e);n!=null&&n.watches.delete(t)&&n.watches.size===0&&(n.stop(),Ef.delete(e))}}function pf(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=sf(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&&lf(l)&&t(l)&&(e.scrollX===a.x&&e.scrollY===a.y||r&&(s??=mf(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?hf(e,a?.top??0):t.scrollIntoView({block:`start`,inline:`nearest`,behavior:`instant`})},stop:ff(i,()=>{o=!0,n?.()})}}function mf(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=sd(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)<=Df&&Math.abs(t.offsetTop-u)<=Df}function hf(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 gf(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),Vu(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 _f(e){return e instanceof HTMLTextAreaElement||e instanceof HTMLInputElement}function vf(e,t,n){if(e.selectionStart==null)return;let r=Md(e.ownerDocument,t,n,[]),i=r!=null&&r.node===e?r.offset:e.value.length;e.setSelectionRange(i,i)}function yf(e,t,n){if(e.focus({preventScroll:!0}),_f(e)){vf(e,t,n);return}let r=e.ownerDocument,i=Md(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 bf,xf,Sf,Cf,wf,Tf,Ef,Df,Of=o((()=>{Xu(),ds(),Pu(),od(),fd(),yd(),Zd(),Xn(),bf=`(prefers-reduced-motion: reduce)`,xf=300,Sf=1e3,Cf=new Set([`button`,`checkbox`,`color`,`file`,`hidden`,`image`,`radio`,`range`,`reset`,`submit`]),wf=Jn(`keyboard/keyboard-height/stores`,2),Tf=Jn(`keyboard/keyboard-height/focus-takeovers`,1),Ef=Jn(`keyboard/keyboard-height/touch-start-watches`,1),Df=2}));function kf(e){let t=e,n=t[Bf];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`,Af(e)||(r.isTextEntrySincePointer=!1))}};return Object.defineProperty(t,Bf,{value:r}),r}function Af(e){let t=typeof e.composedPath==`function`?e.composedPath()[0]:e.target;if(!lf(t instanceof Element?t:null))return!1;let n=typeof e.key==`string`?e.key:``;return e.isComposing===!0||[...n].length===1||Vf.has(n)}function jf(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 Mf(){return typeof document>`u`||jf(document,kf(document),!0),()=>{}}function Nf(e){if(typeof document<`u`&&e===document)return Mf();let t=kf(e);t.consumers=(t.consumers??0)+1,jf(e,t,!0);let n=!1;return()=>{n||(n=!0,t.consumers=(t.consumers??1)-1,t.consumers===0&&jf(e,t,!1))}}function Pf(e,t){t.release?.(),t.release=null;let n=e?.ownerDocument;if(n==null||typeof document<`u`&&n===document)return;let r=Nf(n);return t.release=r,()=>{r(),t.release===r&&(t.release=null)}}function Ff(){(0,zf.useEffect)(()=>Mf(),[]);let e=(0,zf.useRef)(null),t=(0,zf.useRef)({release:null});return{ref:(0,zf.useCallback)(n=>{e.current=n;let r=Pf(n,t.current);return()=>{r?.(),e.current===n&&(e.current=null)}},[]),readModality:(0,zf.useCallback)(()=>Lf(e.current),[])}}function If(e,t=!0){return(0,zf.useEffect)(()=>t?Mf():void 0,[t]),(0,zf.useEffect)(()=>{let n=e.current?.ownerDocument;if(!(!t||n==null||typeof document<`u`&&n===document))return Nf(n)}),(0,zf.useCallback)(()=>Lf(e.current),[e])}function Lf(e){let t=e==null?null:e.nodeType===9?e:e.ownerDocument;return t==null?typeof document>`u`?`keyboard`:kf(document).modality:kf(t).modality}function Rf(e){let t=e==null?typeof document>`u`?null:document:e.nodeType===9?e:e.ownerDocument;if(t==null)return!1;let n=kf(t);return n.isTextEntrySincePointer??n.modality===`pointer`}var zf,Bf,Vf,Hf=o((()=>{zf=u(f(),1),Of(),Bf=Symbol.for(`@astryxdesign/core/interaction-modality/v1`),Vf=new Set([`Backspace`,`CapsLock`,`Dead`,`Delete`,`Enter`,`Process`,`Shift`,`Unidentified`])}));function Uf(e,t,n){let r=_s(e,t,n);return Yf.has(r)||Yf.set(r,e=>(0,Kf.jsx)(r,{value:n,children:e})),r}function Wf({children:e}){let[t]=(0,Gf.useState)(()=>[...Yf.values()]);return t.reduceRight((e,t)=>t(e),e)}var Gf,Kf,qf,Jf,Yf,Xf=o((()=>{Gf=u(f(),1),ys(),Xn(),Kf=mc(),qf=Gn(Wn(`layer-scoped-context-resets`,2),()=>new WeakMap,e=>e instanceof WeakMap),Jf=qf.get(Gf.createContext),Jf??(Jf=new Map,qf.set(Gf.createContext,Jf)),Yf=Jf}));function Zf(e){return e.hasAttribute($f)}function Qf(e){return e.querySelector(`[${$f}]`)!=null}var $f,ep,tp=o((()=>{$f=`data-astryx-layer-root`,ep={[$f]:``}}));function np(e){e.isPropagationStopped=ap}function rp(e={}){let t={};for(let n of ip){let r=e[n];t[n]=typeof r==`function`?e=>{r(e),np(e)}:np}return{...t,...ep}}var ip,ap,op=o((()=>{tp(),ip=[`onClick`,`onAuxClick`,`onDoubleClick`,`onContextMenu`,`onMouseDown`,`onMouseUp`,`onMouseMove`,`onMouseOver`,`onMouseOut`,`onPointerDown`,`onPointerUp`,`onPointerMove`,`onPointerOver`,`onPointerOut`,`onPointerCancel`,`onGotPointerCapture`,`onLostPointerCapture`,`onTouchStart`,`onTouchMove`,`onTouchEnd`,`onTouchCancel`],ap=()=>!0}));function sp(e){return(e.style.anchorName??``).split(`,`).map(e=>e.trim()).filter(Boolean)}function cp(e,t){e.style.anchorName=t.join(`, `)}function lp(e,t){let n=sp(e);n.includes(t)||(n.push(t),cp(e,n))}function up(e,t){let n=sp(e);n.includes(t)&&cp(e,n.filter(e=>e!==t))}var dp=o((()=>{}));function fp(){Mp.releasingGesture===void 0&&(Mp.releasingGesture=null),Mp.isDispatchingRelease===void 0&&(Mp.isDispatchingRelease=!1),Mp.releasingPointerType===void 0&&(Mp.releasingPointerType=``),Mp.listenedDocuments===void 0&&(Mp.listenedDocuments=new WeakSet)}function pp(){Mp.gesture+=1}function mp(e){fp(),Mp.isDispatchingRelease=!1,Lu(),pp(),Mp.pressPointerId=e.pointerId;let t=e.view??document.defaultView;if(Mp.unsubscribePress!=null||t==null)return;let n=[bu(t,`pointerup`,hp,{first:!0}),bu(t,`pointercancel`,hp,{first:!0}),bu(t,`contextmenu`,gp,{first:!0})];Mp.unsubscribePress=()=>{for(let e of n)e()}}function hp(e){if(fp(),e.type===`pointerup`){let t=Mp.gesture;Mp.releasingGesture=t,Mp.releasingPointerType=e.pointerType,Mp.isDispatchingRelease=!0,setTimeout(()=>{Mp.releasingGesture===t&&(Mp.releasingGesture=null)},0)}Mp.pressPointerId=null,Mp.unsubscribePress?.(),Mp.unsubscribePress=null}function gp(){Mp.contextMenuGesture=Mp.gesture}function _p(e){fp(),Mp.clickedGesture=Mp.gesture,Mp.releasingGesture===Mp.gesture&&!(Mp.isDispatchingRelease&&e.detail===0)&&(Mp.releasingGesture=null)}function vp(){Mp.isDispatchingRelease=!1}function yp(){fp(),Mp.isListening||typeof document>`u`||(Mp.isListening=!0,bp(document))}function bp(e){let t=e.defaultView;t!=null&&(bu(t,`pointerdown`,mp,{first:!0}),t.addEventListener(`pointerup`,vp)),e.addEventListener(`keydown`,pp,!0),e.addEventListener(`click`,_p,!0)}function xp(e){yp(),e==null||e===document||Mp.listenedDocuments.has(e)||(Mp.listenedDocuments.add(e),bp(e))}function Sp(){return yp(),Mp.gesture}function Cp(){return yp(),Mp.clickedGesture===Mp.gesture}function wp(){return yp(),Mp.releasingGesture===null||Mp.releasingGesture!==Mp.gesture?!1:!(Mp.releasingPointerType===`touch`&&Iu())}function Tp(e,t){let n=!1,r=()=>{n||(n=!0,s(),t())},i=e.defaultView,a=i==null?()=>{}:bu(i,`click`,e=>{Mp.isDispatchingRelease&&e.detail===0||(Mp.releasingGesture===Mp.gesture&&(Mp.releasingGesture=null),r())},{first:!0}),o=setTimeout(r,0);function s(){n=!0,a(),clearTimeout(o)}return s}function Ep(){return yp(),Mp.pressPointerId!==null}function Dp(e,{releaseTarget:t=null,onRelease:n}={}){yp();let r=Mp.pressPointerId,i=e.ownerDocument.defaultView;if(r===null||i==null||Mp.claimedPress!==null&&Mp.claimedPress.layer===e&&Mp.claimedPress.pointerId===r&&Mp.claimedPress.gesture===Mp.gesture)return;let a={layer:e,pointerId:r,gesture:Mp.gesture};Mp.claimedPress=a;let o=n=>{try{if(n!==null){n.setPointerCapture(r);return}for(let n of[e,t])n?.hasPointerCapture(r)===!0&&n.releasePointerCapture(r)}catch{}};o(t??e);let s=null,c=()=>{let t=[];try{t=[...e.querySelectorAll(`:popover-open`)]}catch{}return[e,...t].map(e=>e.getBoundingClientRect())},l=(e,t)=>(s??=c(),s.some(n=>e>=n.left&&e=n.top&&t(u??=t?.getBoundingClientRect()??null,u!==null&&e>=u.left&&e=u.top&&n{s=null,u=null},p=n=>{if(n.pointerId===r){let{clientX:r,clientY:i}=n;l(r,i)?o(null):t!==null&&d(r,i)?o(t):o(e)}},m=[],h=()=>{for(let e of m)e();m.length=0,Mp.claimedPress===a&&(Mp.claimedPress=null)},g=n=>{n.pointerId===r&&n.target!==e&&n.target!==t&&h()},_=e=>{e.pointerId===r&&(h(),e.type===`pointerup`&&n?.())},v=t=>{t.target===e&&t.newState===`closed`?(o(null),h()):f()};e.addEventListener(`toggle`,v,!0),m.push(bu(i,`pointermove`,p),bu(i,`gotpointercapture`,g),bu(i,`pointerup`,_),bu(i,`pointercancel`,_),bu(i,`scroll`,f),bu(i,`resize`,f),()=>e.removeEventListener(`toggle`,v,!0))}function Op(e){yp(),Mp.contextMenuGesture===Mp.gesture&&Dp(e)}function kp(){let[e]=(0,jp.useState)(Ap);return(0,jp.useEffect)(()=>()=>e.forget(),[e]),e}function Ap(){let e=null,t=null,n=()=>{e?.(),e=null};return{press(r,i,a){if(n(),!Np.has(r.pointerType))return!1;if(i==null)return!0;let o=Sp();t=o;let s=()=>{i.removeEventListener(`click`,c),i.removeEventListener(`pointercancel`,s),e===s&&(e=null)},c=e=>{s(),Sp()===o&&a(e)};return i.addEventListener(`click`,c),i.addEventListener(`pointercancel`,s),e=s,!0},forget:n,isTouchPressCurrent:()=>e!=null&&t===Sp()}}var jp,Mp,Np,Pp=o((()=>{jp=u(f(),1),Pu(),Xn(),zu(),Mp=Kn(`layer/gesture-counter/state`,1,()=>({gesture:0,clickedGesture:null,contextMenuGesture:null,pressPointerId:null,releasingGesture:null,isDispatchingRelease:!1,releasingPointerType:``,claimedPress:null,isListening:!1,listenedDocuments:new WeakSet,unsubscribePress:null})),Np=new Set([`touch`,`pen`])}));function Fp(e){return e.getAttribute(Ip)===Lp}var Ip,Lp,Rp=o((()=>{Ip=`data-astryx-layer-portal-boundary`,Lp=`external`}));function zp(e){if(!e)return null;let t=null,n=!1,r=e;for(;r;){let e=r.tagName.toLowerCase();if(e===`dialog`)break;Zf(r)&&(n=!0),Bp.has(e)?(t=r,n=!1):t!==null&&Fp(r)&&!n&&(t=r),r=r.parentElement}return t?.parentElement??null}var Bp,Vp=o((()=>{Rp(),tp(),Bp=new Set(`p.h1.h2.h3.h4.h5.h6.dt.pre.legend.data.dfn.meter.output.progress.option.optgroup.table.thead.tbody.tfoot.tr.colgroup.ul.ol.menu.dl.select.datalist.picture.hgroup.ruby.rt.rp.a.button.label.summary.span.em.strong.b.i.u.s.small.mark.code.kbd.samp.var.sub.sup.abbr.cite.q.time.bdi.bdo.ins.del`.split(`.`))})),Hp,Up=o((()=>{Hp={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}}})),Wp,Gp=o((()=>{Wp={reset:{\"--step-connector-gap\":`x1qkaldv`,\"--_astryx-text-overflow-wrap\":`x1c9qq8g`,$$css:!0}}})),Kp,qp=o((()=>{Kp={gutterBlockStart:`calc(max(var(--spacing-4), env(safe-area-inset-top, 0px)) + var(--astryx-layer-inset-block-start, 0px))`,gutterBlockEnd:`calc(max(var(--spacing-4), env(safe-area-inset-bottom, 0px)) + var(--astryx-layer-inset-block-end, 0px))`,gutterInline:`calc(max(var(--spacing-4), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)) + max(var(--astryx-layer-inset-inline-start, 0px), var(--astryx-layer-inset-inline-end, 0px)))`,gutterBlock:`calc(max(var(--spacing-4), env(safe-area-inset-top, 0px), env(safe-area-inset-bottom, 0px)) + max(var(--astryx-layer-inset-block-start, 0px), var(--astryx-layer-inset-block-end, 0px)))`,gutterBlockFallback:`calc(var(--spacing-4) + max(var(--astryx-layer-inset-block-start, 0px), var(--astryx-layer-inset-block-end, 0px)))`,gutterBlockStartFallback:`calc(var(--spacing-4) + var(--astryx-layer-inset-block-start, 0px))`,gutterBlockEndFallback:`calc(var(--spacing-4) + var(--astryx-layer-inset-block-end, 0px))`,gutterInlineFallback:`calc(var(--spacing-4) + max(var(--astryx-layer-inset-inline-start, 0px), var(--astryx-layer-inset-inline-end, 0px)))`,maxInlineSize:`calc(100vi - calc(max(var(--spacing-4), env(safe-area-inset-left, 0px)) + var(--astryx-layer-inset-inline-start, 0px)) - calc(max(var(--spacing-4), env(safe-area-inset-right, 0px)) + var(--astryx-layer-inset-inline-end, 0px)))`,maxInlineSizeFallback:`calc(100vw - var(--spacing-4) - var(--spacing-4) - var(--astryx-layer-inset-inline-start, 0px) - var(--astryx-layer-inset-inline-end, 0px))`,maxBlockSize:`min(calc(100dvb - calc(max(var(--spacing-4), env(safe-area-inset-top, 0px)) + var(--astryx-layer-inset-block-start, 0px)) - calc(max(var(--spacing-4), env(safe-area-inset-bottom, 0px)) + var(--astryx-layer-inset-block-end, 0px))), var(--_layer-keyboard-max-block-size, 100dvb))`,maxBlockSizeFallback:`min(calc(100vh - var(--spacing-4) - var(--spacing-4) - var(--astryx-layer-inset-block-start, 0px) - var(--astryx-layer-inset-block-end, 0px)), var(--_layer-keyboard-max-block-size, 100vh))`}})),Jp,Yp=o((()=>{Jp={showMs:267,showCurve:[.1,0,0,1],showReportLagMs:25,hideMs:167,hideCurve:[.3,.1,.2,.9],hideAfterBlurMs:16,hideReportLagMs:33}}));function Xp([e,t,n,r]){let i=3*e,a=3*(n-e)-i,o=1-i-a,s=3*t,c=3*(r-t)-s,l=1-s-c,u=e=>((o*e+a)*e+i)*e,d=e=>((l*e+c)*e+s)*e,f=e=>(3*o*e+2*a)*e+i,p=e=>{let t=e;for(let n=0;n<8;n++){let n=u(t)-e;if(Math.abs(n)<1e-7)return t;let r=f(t);if(Math.abs(r)<1e-6)break;t-=n/r}let n=0,r=1;t=e;for(let i=0;i<60;i++){let i=u(t);if(Math.abs(i-e)<1e-7)break;ie<=0?0:e>=1?1:d(p(e))}var Zp=o((()=>{}));function Qp(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=Xp(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:Jp.showMs,points:Jp.showCurve},a={durationMs:Jp.hideMs,points:Jp.hideCurve},o=()=>t.curve==null?0:t.curve.durationMs,s=e,c=e=>e=t.start+o()?t.to:n.value((e-t.start)/1e3),l=e=>e<=t.start?t.velocity:n==null||e>=t.start+o()?0:n.velocity((e-t.start)/1e3),u=(e,o,u,{animated:d=!0,predicted:f=!1}={})=>{let p=Math.max(u,t.start),m=c(p),h=d?l(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>$p&&(s=o),t},d=()=>(t.predicted&&(t={...t,predicted:!1}),null);return{get inset(){return t.to},get transition(){return t},presentation:c,velocity:l,report(e,n){if(e==null)return null;let r=t.to;if(Math.abs(e-r)<$p)return d();if(e<=$p)return u(`hide`,0,n-Jp.hideReportLagMs);if(r<=$p){let t=s>e+$p;return u(`show`,t?s:e,n-Jp.showReportLagMs,{predicted:t})}return u(`change`,e,n,{animated:!1})},blurred(e){return t.to<=$p?null:u(`hide`,0,e+Jp.hideAfterBlurMs,{predicted:!0})},focused(e){return t.kind!==`hide`||!t.predicted?null:u(`show`,s,Math.max(e,t.start),{predicted:!0})},verify(e,n){return!t.predicted||e==null||nt.to?`show`:`hide`,e,n)}}}var $p,em=o((()=>{Yp(),Zp(),$p=.5}));function tm(e){return tf(e)?`chromium`:null}function nm(e){let t=e instanceof Element?e:null;return lf(t)||t instanceof HTMLSelectElement&&!t.disabled}function rm(e){let t=e;return t==null||t.nodeType!==1?!1:t.tagName===`SELECT`||t.tagName===`INPUT`&&lm.has(t.type)}function im(e){return e.tagName===`IFRAME`||e.tagName===`FRAME`||e.tagName===`OBJECT`||e.tagName===`EMBED`||e.shadowRoot!=null||e.tagName.includes(`-`)}function am(e){let t=um.get(e);return t??(t=om(e),um.set(e,t)),t}function om(e){let t=new Set,n=tm(e),r=Qp(cf(e)),i=null,a=null,o=e=>nm(e)&&!(n===`chromium`&&rm(e)),s=()=>{let t=e.document.activeElement;return r.transition.kind===`hide`&&r.transition.predicted&&!o(t)&&!(t!=null&&im(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)+sm;i=setTimeout(()=>{i=null;let t=cf(e);t!=null&&t>.5&&s()||c(r.verify(t,e.performance.now()))},Math.max(0,n-e.performance.now()))},u=()=>{n=tm(e),r=Qp(cf(e));let t=-1/0,a=null,l=(i,l)=>{a!=null&&(clearTimeout(a),a=null);let u=t+cm;return n===`chromium`&&i<.5&&r.inset>=.5&&l{a=null,c(r.report(cf(e),u))},u-l),null):i>.5&&s()?null:r.report(i,l)},u=of(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 sm,cm,lm,um,dm=o((()=>{Of(),em(),Xn(),sm=150,cm=150,lm=new Set([`date`,`datetime-local`,`month`,`time`,`week`]),um=Jn(`keyboard/keyboard-layout-guide/guides`,1)}));function fm(e,t){if(!(Number.isFinite(t)&&t>0))throw RangeError(`spring: ${e} must be a positive number, got ${t}`)}function pm({duration:e,bounce:t}){if(fm(`duration`,e),!Number.isFinite(t))throw RangeError(`spring: bounce must be finite, got ${t}`);let n=Math.min(1,Math.max(-.999999,t));return{mass:1,stiffness:(xm/e)**2,damping:n>=0?(1-n)*2*xm/e:2*xm/(e*(1+n))}}function mm({response:e,dampingRatio:t}){if(fm(`response`,e),!(Number.isFinite(t)&&t>=0))throw RangeError(`spring: dampingRatio must be ≥ 0, got ${t}`);let n=xm/e;return{mass:1,stiffness:n*n,damping:2*t*n}}function hm({mass:e=1,stiffness:t,damping:n,allowOverdamping:r=!1}){if(fm(`mass`,e),fm(`stiffness`,t),!(Number.isFinite(n)&&n>=0))throw RangeError(`spring: damping must be ≥ 0, got ${n}`);let i=2*Math.sqrt(t*e);return{mass:e,stiffness:t,damping:r?n:Math.min(n,i)}}function gm(e){return Math.sqrt(e.stiffness/e.mass)}function _m(e){return e.damping/(2*Math.sqrt(e.stiffness*e.mass))}function vm(e){return`stiffness`in e?hm(e):`bounce`in e?pm(e):mm(e)}function ym(e,{from:t,to:n,velocity:r=0}){let i=gm(e),a=_m(e),o=t-n,s=r,c,l,u,d=0;if(a<.999999){let e=a*i,t=i*Math.sqrt(1-a*a),n=o,r=(s+e*o)/t,d=(e*s+i*i*o)/t;c=i=>Math.exp(-e*i)*(n*Math.cos(t*i)+r*Math.sin(t*i)),l=n=>Math.exp(-e*n)*(s*Math.cos(t*n)-d*Math.sin(t*n));let f=Math.abs(n)+Math.abs(r);u=t=>f*Math.exp(-e*t)}else if(a<=1.000001){let e=s+i*o;c=t=>(o+e*t)*Math.exp(-i*t),l=t=>(s-i*e*t)*Math.exp(-i*t);let t=Math.abs(o),n=Math.abs(e);u=e=>(t+n*e)*Math.exp(-i*e),d=n>0?Math.max(0,1/i-t/n):0}else{let e=i*Math.sqrt(a*a-1),t=-a*i+e,n=-a*i-e,r=(s-n*o)/(t-n),d=o-r;c=e=>r*Math.exp(t*e)+d*Math.exp(n*e),l=e=>t*r*Math.exp(t*e)+n*d*Math.exp(n*e);let f=Math.abs(r),p=Math.abs(d);u=e=>f*Math.exp(t*e)+p*Math.exp(n*e)}return{spring:e,from:t,to:n,initialVelocity:r,value:e=>n+c(e),velocity:e=>l(e),settleTime:e=>{if(!(e>0))return 1/0;if(a===0)return o===0&&s===0?0:1/0;let t=d;if(u(t)<=e)return 0;if(a<.999999){let t=u(0);return Math.log(t/e)/(a*i)}let n=t,r=Math.max(t,1/i);for(;u(r)>e;)if(n=r,r*=2,r>1e6)return 1/0;for(let t=0;t<100&&r-n>1e-12;t++){let t=(n+r)/2;u(t)>e?n=t:r=t}return r}}}function bm(e,{initialVelocity:t=0,epsilon:n=Sm}={}){return ym(e,{from:0,to:1,velocity:t}).settleTime(n)}var xm,Sm,Cm=o((()=>{xm=2*Math.PI,Sm=.001}));function wm(e){return Om.test(e)}function Tm(e){if(!wm(e))throw Error(`motion role \"${e}\" must be a dotted table path such as \"springs.sheetPresent\"`);return`--motion-${e.split(`.`).map(e=>e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)).join(`-`)}`}function Em(e){return typeof e!=`object`||!e||Array.isArray(e)?!1:`response`in e&&`dampingRatio`in e||`duration`in e&&`bounce`in e||`stiffness`in e&&`damping`in e}function Dm(e){return Array.isArray(e)&&e.length===4&&e.every(e=>typeof e==`number`)}var Om,km=o((()=>{Om=/^[a-z][A-Za-z0-9]*(\\.[a-z][A-Za-z0-9]*)+$/}));function Am(e,t,{roles:n=[],exclude:r=[],rename:i={}}={}){if(!/^[a-z][A-Za-z0-9]*$/.test(e))throw Error(`motion table id \"${e}\" must be one camelCase word`);if(Lm.get(e)===t)return;Lm.set(e,t);let a=new Set(r.map(t=>`${e}.${t}`)),o=new Set(n.map(t=>`${e}.${t}`)),s=(t,n)=>{zm.set(t,n);for(let[r,c]of Object.entries(t)){let l=`${n}.${r}`;if(a.has(l))continue;let u=null;if(Em(c))u=`spring`;else if(Dm(c))u=`curve`;else if(typeof c==`number`&&r.endsWith(`Ms`))u=`duration`;else if(typeof c==`object`&&c&&!Array.isArray(c)){s(c,l);continue}if(u==null)continue;let d=l.slice(e.length+1),f=d in i?`${e}.${i[d]}`:l;if(!o.has(f))continue;f!==l&&Bm.set(l,f);let p=c;if(typeof p==`object`){let e=Rm.get(p);e!=null&&e.id!==f&&(p=Object.freeze(Array.isArray(p)?[...p]:{...p}),t[r]=p)}let m={id:f,kind:u,variable:Tm(f),value:p};Im.set(f,m),typeof p==`object`&&Rm.set(p,m)}};s(t,e)}function jm(e,t){if(!wm(e))throw Error(`motion role \"${e}\" must be a dotted table path such as \"springs.settle\"`);if(Rm.get(t)?.id!==e){let n={id:e,kind:`spring`,variable:Tm(e),value:t};Im.set(e,n),Rm.set(t,n)}return t}function Mm(e){return typeof e==`object`&&e?Rm.get(e):void 0}function Nm(e,t){let n=zm.get(e);if(n==null)return;let r=`${n}.${t}`;return Im.get(Bm.get(r)??r)}function Pm(e,t){let n=t.trim();if(n===``)return null;if(e===`spring`){let e=Hm.exec(n);if(e==null)return null;let t=Number(e[1]),r=Number(e[2]);return t>0&&r>-1&&r<1?{duration:t,bounce:r}:null}if(e===`duration`){let e=Um.exec(n);if(e==null)return null;let t=Number(e[1])*(e[2]===`s`?1e3:1);return t>=0?t:null}let r=Wm.exec(n);if(r==null)return null;let i=[r[1],r[2],r[3],r[4]].map(Number);return i[0]>=0&&i[0]<=1&&i[2]>=0&&i[2]<=1?i:null}function Fm(e){let t=e.trim();return Gm[t]??Pm(`curve`,t)}var Im,Lm,Rm,zm,Bm,Vm,Hm,Um,Wm,Gm,Km=o((()=>{km(),Im=new Map,Lm=new Map,Rm=new WeakMap,zm=new WeakMap,Bm=new Map,Vm=`(-?(?:\\\\d+\\\\.?\\\\d*|\\\\.\\\\d+)(?:e-?\\\\d+)?)`,Hm=RegExp(`^${Vm}s\\\\s+${Vm}$`),Um=RegExp(`^${Vm}(ms|s)$`),Wm=RegExp(`^cubic-bezier\\\\(\\\\s*${Vm}\\\\s*,\\\\s*${Vm}\\\\s*,\\\\s*${Vm}\\\\s*,\\\\s*${Vm}\\\\s*\\\\)$`),Gm={linear:[0,0,1,1],ease:[.25,.1,.25,1],\"ease-in\":[.42,0,1,1],\"ease-out\":[0,0,.58,1],\"ease-in-out\":[.42,0,.58,1]}}));function qm(){Am(`timing`,$m,{roles:[`curves.move`]})}var Jm,Ym,Xm,Zm,Qm,$m,eh=o((()=>{Km(),Jm={highlightInMs:0,flashMs:100,highlightOutMs:200,highlightOutCurve:[0,0,.2,1],scrollBrakeMs:150,buttonReleaseMs:250},Ym={durationMs:200,curve:[.42,0,.58,1]},{durationMs:Xm,curve:Zm}=Ym,Qm={press:Jm,curves:{viewChange:[.25,.1,.25,1],move:Zm,exit:[.42,0,1,1],entrance:[0,0,.58,1]},navigationBarHideShowMs:200,keyboardNotificationMs:383.3,stateChangeMs:250,reducedMotionCrossFadeMs:Xm},$m={curves:{move:Zm}}}));function th(e,t,n){if(n<=0)return null;let r=t-n-10;return e.bottom<=r?null:Math.max(0,r-e.top)}var nh,rh=o((()=>{nh=`data-layer-anchored`}));function ih(e,t){return`--astryx-layer-slide-${e}-${t}`}function ah(e,t,n){return`${e}:${t};${e}:${n};`}function oh(e){return ah(e,Kp.gutterBlockFallback,Kp.gutterBlock)}function sh(e){return ah(e,Kp.gutterInlineFallback,Kp.gutterInline)}function ch(e){switch(e){case`above`:return`inset-block-end:calc(anchor(outside) + ${Ch});inset-block-start:calc(0px - ${Ch});align-self:self-end;margin-block-end:${Sh};${oh(`margin-block-start`)}`;case`below`:return`inset-block-start:calc(anchor(outside) - ${Ch});inset-block-end:${Ch};align-self:self-start;margin-block-start:${Sh};${oh(`margin-block-end`)}`;case`start`:return`inset-inline-end:anchor(outside);inset-inline-start:0;justify-self:self-end;margin-inline-end:${Sh};${sh(`margin-inline-start`)}`;case`end`:return`inset-inline-start:anchor(outside);inset-inline-end:0;justify-self:self-start;margin-inline-start:${Sh};${sh(`margin-inline-end`)}`}}function lh(e){return e===`above`||e===`below`?`inset-inline-start:0;inset-inline-end:0;justify-self:anchor-center;${sh(`margin-inline-start`)}${sh(`margin-inline-end`)}`:`inset-block-start:calc(0px - ${Ch});inset-block-end:${Ch};align-self:anchor-center;${oh(`margin-block-start`)}${oh(`margin-block-end`)}`}function uh(e,t){let n=t===`same`?e:wh[e];return`@position-try ${ih(e,t)}{${ch(n)}${lh(n)}}`}function dh(e){return e===`above`||e===`start`?`unsafe self-end`:`unsafe self-start`}function fh(e){return`--astryx-layer-beside-${e}`}function ph(e){return`--astryx-layer-fit-${e}`}function mh(e){return`@position-try ${fh(e)}{${ch(e)}${lh(e)}inline-size:max-content;justify-self:${dh(e)};}`}function hh(e,t){return`calc((${e} - anchor-size(block)) / 2 - ${Sh} - ${t} - 1px)`}function gh(e){let t=ah(`min-block-size`,hh(`100vh`,Kp.gutterBlockFallback),hh(`100dvb`,Kp.gutterBlock));return`@position-try ${ph(e)}{${ch(e)}${lh(e)}block-size:-webkit-fill-available;block-size:stretch;${t}align-self:${dh(e)};}`}function _h(e){if(e!==`above`&&e!==`below`)return``;let t=e===`above`?`below`:`above`;return`flip-block, ${fh(`end`)}, ${fh(`start`)}, ${ph(e)}, ${ph(t)}`}function vh(){return[...Th.flatMap(e=>[uh(e,`same`),uh(e,`opposite`)]),mh(`end`),mh(`start`),gh(`above`),gh(`below`)].join(``)}function yh(e){if(e.getElementById(`astryx-layer-slide-rules`))return;let t=e.createElement(`style`);t.id=Eh,t.textContent=vh(),e.head.appendChild(t)}var bh,xh,Sh,Ch,wh,Th,Eh,Dh=o((()=>{qp(),bh=`--_astryx-layer-clearance`,xh=`--_astryx-layer-lift`,Sh=`var(${bh}, 0px)`,Ch=`var(${xh}, 0px)`,wh={above:`below`,below:`above`,start:`end`,end:`start`},Th=[`above`,`below`,`start`,`end`],Eh=`astryx-layer-slide-rules`}));function Oh(e){return zh.some(t=>{let n=e.getPropertyValue(t);return n!==``&&n!==`none`})}function kh(e){return e!==``&&e!==`none`}function Ah(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}function jh(e){let t=e.getPropertyValue(`translate`),n=e.getPropertyValue(`rotate`),r=e.getPropertyValue(`scale`),i=e.getPropertyValue(`transform`),a=Bh;if(kh(t)){let[e=`0`,n=`0`,r]=t.split(` `);if(r!=null||!t.split(` `).every(e=>e.endsWith(`px`)))return null;a=Ah(a,[1,0,0,1,parseFloat(e),parseFloat(n)])}if(kh(n)){if(!/^-?[\\d.]+deg$/.test(n))return null;let e=parseFloat(n)*Math.PI/180,t=Math.cos(e),r=Math.sin(e);a=Ah(a,[t,r,-r,t,0,0])}if(kh(r)){let[e=`1`,t=e,n]=r.split(` `);if(n!=null)return null;a=Ah(a,[parseFloat(e),0,0,parseFloat(t),0,0])}if(kh(i)){let e=/^matrix\\(([^)]*)\\)$/.exec(i)?.[1].split(`,`).map(e=>parseFloat(e));if(e?.length!==6||e.some(e=>Number.isNaN(e)))return null;a=Ah(a,e)}return a}function Mh([e,t,n,r]){return t===0&&n===0&&e!==0&&r!==0}function Nh(e){return(e.currentCSSZoom??1)===1&&!(e.getAnimations?.()??[]).some(e=>e.pending)}function Ph(e){let t=t=>parseFloat(e.getPropertyValue(t))||0,n=e.getPropertyValue(`box-sizing`)!==`border-box`,r=e=>n?e.reduce((e,n)=>e+t(`padding-${n}`)+t(`border-${n}-width`),0):0;return{width:t(`width`)+r([`left`,`right`]),height:t(`height`)+r([`top`,`bottom`])}}function Fh(e,t,[n,,,r]){let{width:i,height:a}=Ph(t);if(!(i>0)||!(a>0))return!1;let o=Math.abs(e.width-i*Math.abs(n))+Math.abs(e.height-a*Math.abs(r)),s=Math.abs(e.width-i)+Math.abs(e.height-a);return o+UhparseFloat(e)),h=d/2-p,g=f/2-m,_=i*h+o*g+c,v=a*h+s*g+l,y=e.left+e.width/2-_-p,b=e.top+e.height/2-v-m;if(!u)return new DOMRect(y,b,d,f);let x=Ih(y),S=Ih(b);return new DOMRect(x,S,Ih(y+d)-x,Ih(b+f)-S)}function Rh(e){let t=e.ownerDocument.defaultView,n=t?.getComputedStyle(e);if(n==null||!Oh(n))return e.getBoundingClientRect();let r=jh(n);if(r!=null&&Mh(r)&&Nh(e)){let t=e.getBoundingClientRect();if(Fh(t,n,r))return Lh(t,e,n,r)}let i=n.getPropertyValue(`transition-property`).split(`,`).map(e=>e.trim()),a=n.getPropertyValue(`transition-duration`).split(`,`).map(parseFloat);if(i.some((e,t)=>(e===`all`||zh.includes(e))&&(a[t%a.length]??0)>0)){let t=e.getBoundingClientRect();return r==null?t:Lh(t,e,n,r)}let o=zh.map(t=>[t,e.style.getPropertyValue(t),e.style.getPropertyPriority(t)]);for(let t of zh)e.style.setProperty(t,`none`,`important`);let s=e.getBoundingClientRect(),c=t?.getComputedStyle(e),l=c!=null&&Oh(c)?jh(c):null,u=c!=null&&l!=null?Lh(s,e,c,l):s;for(let[t,n,r]of o)n===``?e.style.removeProperty(t):e.style.setProperty(t,n,r);return u}var zh,Bh,Vh,Hh,Uh,Wh=o((()=>{zh=[`transform`,`translate`,`scale`,`rotate`],Bh=[1,0,0,1,0,0],Vh=64,Hh=1/2048,Uh=1/32}));function Gh(e,{onClicked:t,onNoClick:n}){let r=e.ownerDocument.defaultView;if(r==null){let e=!1;return queueMicrotask(()=>{e||n()}),()=>{e=!0}}let i=!1,a=null,o=null,s=null,c=()=>{i=!0,s?.(),s=null,o!=null&&(r.clearTimeout(o),o=null)};return s=bu(r,`click`,n=>{!i&&n.isTrusted&&e.contains(n.target)&&(c(),a=r.setTimeout(()=>{a=null,t(n.defaultPrevented)},0))}),o=r.setTimeout(()=>{i||(c(),n())},300),()=>{c(),a!=null&&(r.clearTimeout(a),a=null)}}function Kh(e){let t=e.ownerDocument.defaultView,n=null,r=t=>{n==null&&t.target===e&&(n=t)};t?.addEventListener(`click`,r,!0);try{e.click()}finally{t?.removeEventListener(`click`,r,!0)}return n?.defaultPrevented===!0}function qh(e){return Vu(e.ownerDocument),Wu(()=>Kh(e))}var Jh=o((()=>{Xu(),Pu()}));function Yh(e,t){let n=e.ownerDocument.defaultView;for(let r=t.parentElement;r!=null;r=r===e?null:r.parentElement){let e=n?.getComputedStyle(r).overflowY;if(r.scrollHeight>r.clientHeight+1&&(e===`auto`||e===`scroll`)){let e=r.getBoundingClientRect(),n=t.getBoundingClientRect();n.bottom>e.bottom?r.scrollTop+=n.bottom-e.bottom:n.top{let n=t.current,i=n?.ownerDocument.defaultView;if(!e||n==null||i==null)return;let o=i,f=!1,p=am(i),m=n,h=0,g=()=>{h+=1},_=()=>{let e=t.current;return e==null||e===m?!1:(m.removeEventListener(`pointerdown`,A,!0),m.removeEventListener(`touchstart`,g,{capture:!0}),m.removeEventListener(`wheel`,g,{capture:!0}),m=e,m.addEventListener(`pointerdown`,A,!0),m.addEventListener(`touchstart`,g,{capture:!0,passive:!0}),m.addEventListener(`wheel`,g,{capture:!0,passive:!0}),!0)},v=(e,t=u.current,n=null)=>{f||c.current===e&&u.current===t&&l.current===n||(c.current=e,u.current=t,l.current=n,(0,$h.flushSync)(()=>{r(e),s(t),a(n)}),_())},y=e=>{let t=e>0?e+10:0,n=Math.max(t,u.current??0);if(v(null,n>0?n:null),e<=0)return!1;let r=sd(i),a=Rh(m),o=th(a,r,e);if(o==null)return!1;v(o);let s=Rh(m);if(s.top>a.top+1&&Math.abs(s.bottom-a.bottom)>1){v(o,u.current,s.top-a.top);let t=Rh(m);if(Math.abs(t.top-a.top)>1){v(o);let t=th(s,r,e);t!=null&&v(t)}}let c=r-e-10;return Rh(m).bottom>c+1?(v(null),!1):!0},b=e=>{if(_(),!m.hasAttribute(`data-layer-anchored`)){v(null,null);return}if(!y(e))return;let t=m.ownerDocument.activeElement;if(t!=null&&t!==m&&m.contains(t)){let e=h;i.requestAnimationFrame(()=>i.requestAnimationFrame(()=>{!f&&h===e&&Yh(m,t)}))}},x=null,S=()=>{x!=null&&(i.clearTimeout(x),x=null)},C=new Set,w=null,T=null,E=null,D=()=>{let e=[bu(o,`pointerup`,j),bu(o,`pointercancel`,j)];E=()=>{for(let t of e)t()}},O=()=>{E?.(),E=null},k=()=>{T?.(),T=null,C.clear(),O();let e=w;w=null,e?.()};function A(e){g(),C.size===0&&D(),C.add(e.pointerId)}function j(e){C.has(e.pointerId)&&(e.type===`pointercancel`?k():T??=Gh(m,{onClicked:k,onNoClick:k}))}m.addEventListener(`pointerdown`,A,!0),m.addEventListener(`touchstart`,g,{capture:!0,passive:!0}),m.addEventListener(`wheel`,g,{capture:!0,passive:!0});let M=p.subscribe(e=>{if(S(),e.animated&&e.to>e.from){let t=e.start+(p.profile===`chromium`&&e.curve!=null?e.curve.durationMs:Qm.keyboardNotificationMs);x=i.setTimeout(()=>{x=null,b(e.to)},Math.max(0,t-i.performance.now()))}else C.size>0?w=()=>b(e.to):b(e.to)});cf(i)>0&&i.queueMicrotask(()=>{f||b(cf(i))});let N=null;return d.current=()=>{!_()||N!=null||cf(i)<=0||(N=i.requestAnimationFrame(()=>{N=null,f||x!=null||(C.size>0?w=()=>b(cf(i)):b(cf(i)))}))},()=>{f=!0,d.current=null,N!=null&&i.cancelAnimationFrame(N),M(),S(),T?.(),m.removeEventListener(`pointerdown`,A,!0),m.removeEventListener(`touchstart`,g,{capture:!0}),m.removeEventListener(`wheel`,g,{capture:!0}),O(),c.current!=null&&(c.current=null,r(null)),l.current!=null&&(l.current=null,a(null)),u.current!=null&&(u.current=null,s(null))}},[e,t]);let f=(0,Qh.useCallback)(()=>{d.current?.()},[]);return{cap:e?n:null,lift:e?i:null,inset:e?o:null,followLayerElement:f}}var Qh,$h,eee=o((()=>{Qh=u(f(),1),$h=g(),x(),dm(),Of(),eh(),rh(),Dh(),Wh(),Jh(),Pu(),fd()})),eg=o((()=>{eee()}));function tg(e,t){if(e.width<=0||e.height<=0)return null;let n=t.left+t.width/2,r=t.top+t.height/2,i=cg(n-e.left,e.width),a=cg(r-e.top,e.height),o=t.width<=1&&t.height<=1;if(i>0&&i0&&a=Math.abs(s)){let n=c>0;return{x:0,y:n?-1:1,originX:i,originY:n?0:e.height,gap:o?null:Math.max(0,n?e.top-(t.top+t.height):t.top-(e.top+e.height))}}let l=s>0;return{x:l?-1:1,y:0,originX:l?0:e.width,originY:a,gap:o?null:Math.max(0,l?e.left-(t.left+t.width):t.left-(e.left+e.width))}}function ng(e,t){let n=t.getBoundingClientRect();return tg(Rh(e),n)}function rg(e,t){e.style.setProperty(ig,t==null?`initial`:String(t.x)),e.style.setProperty(ag,t==null?`initial`:String(t.y)),e.style.setProperty(og,t==null?`initial`:`${lg(t.originX)} ${lg(t.originY)}`);let n=t?.gap==null?null:Math.floor(t.gap*1e3)/1e3;e.style.setProperty(sg,n==null?`initial`:`${n}px`)}var ig,ag,og,sg,cg,lg,ug=o((()=>{Wh(),ig=`--_astryx-layer-enter-x`,ag=`--_astryx-layer-enter-y`,og=`--_astryx-layer-enter-origin`,sg=`--_astryx-layer-enter-gap`,cg=(e,t)=>Math.min(t,Math.max(0,e)),lg=e=>`${Math.round(e*1e3)/1e3}px`}));function dg(e){return typeof e==`number`?`${e}px`:e}function fg(e){let t={};if(e)for(let[n,r]of pg){let i=e[n];i!=null&&i!==``&&(t[r]=dg(i))}return t}var pg,mg=o((()=>{pg=[[`blockStart`,`--astryx-layer-inset-block-start`],[`blockEnd`,`--astryx-layer-inset-block-end`],[`inlineStart`,`--astryx-layer-inset-inline-start`],[`inlineEnd`,`--astryx-layer-inset-inline-end`]]}));function hg(e,t,n){e.set(t,Math.max(0,(e.get(t)??0)+n))}function gg(e){return(Sg.get(e)??0)>0||(Cg.get(e)??0)>0}function _g(e){!gg(e)&&wg.has(e)&&queueMicrotask(()=>vg(e))}function vg(e){if(gg(e))return;let t=wg.get(e);if(t!=null){wg.delete(e);for(let e of t)queueMicrotask(e)}}function yg(e,t){hg(Sg,e,1);try{t()}finally{hg(Sg,e,-1),_g(e)}}function bg(e){return(Sg.get(e)??0)>0}function tee(e){return(Cg.get(e)??0)>0}function nee(e){if(Tg.has(e))return;Tg.add(e);let t=e.ownerDocument;hg(Cg,t,1);let n=t.defaultView??globalThis,r=null,i=!1,a=()=>{i||(i=!0,e.removeEventListener(`toggle`,a),r!=null&&(n.clearTimeout(r),r=null),Tg.delete(e),hg(Cg,t,-1),_g(t))};e.addEventListener(`toggle`,a),r=n.setTimeout(a,0)}function xg(e,t){if(!gg(e)){t();return}let n=wg.get(e);n==null?wg.set(e,[t]):n.push(t)}var Sg,Cg,wg,Tg,Eg=o((()=>{Xn(),Sg=Jn(`layer/popover-operations/own-operations-by-document`,1),Cg=Jn(`layer/popover-operations/browser-hides-by-document`,1),wg=Jn(`layer/popover-operations/settled-callbacks-by-document`,1),Tg=Yn(`layer/popover-operations/browser-hides-in-flight`,1)}));function Dg(e){let t=new Set;for(let n=Object.getPrototypeOf(e);n!=null&&n!==Object.prototype;n=Object.getPrototypeOf(n))for(let[e,r]of Object.entries(Object.getOwnPropertyDescriptors(n)))r.set!=null&&t.add(e);return[...t]}function Og(e){return typeof CSSNumericValue<`u`&&e instanceof CSSNumericValue?e.toString():typeof e==`object`&&e&&Object.getPrototypeOf(e)===Object.prototype?Object.entries(e).map(([e,t])=>`${e}:${Og(t)??String(t)}`).join(`;`):null}function kg(e,t){if(e===t)return!1;let n=Og(e);return n==null||n!==Og(t)}function Ag(e){let t=e.effect,n={};for(let t of Dg(e))n[t]=e[t];let r={};if(t!=null)for(let e of Dg(t))r[e]=t[e];return{animation:e,name:e.animationName??``,target:t?.target??null,pseudoElement:t?.pseudoElement??null,values:n,effectValues:r,timing:t?.getTiming()??null,keyframes:t?.getKeyframes()??null,playState:e.playState,replaceState:e.replaceState}}function jg(e,t,n){e[t]=n}function Mg(e,t){for(let n of Dg(e))n in t.effectValues&&kg(t.effectValues[n],e[n])&&jg(e,n,t.effectValues[n]);if(t.timing!=null){let n=e.getTiming(),r={};for(let[e,i]of Object.entries(t.timing))kg(i,n[e])&&(r[e]=i);Object.keys(r).length>0&&e.updateTiming(r)}t.keyframes!=null&&JSON.stringify(t.keyframes)!==JSON.stringify(e.getKeyframes())&&e.setKeyframes(t.keyframes)}function Ng(e,t){let n=()=>{t.startTime!=null&&e.playState!==`idle`&&(e.startTime=t.startTime)};t.startTime==null?t.ready.then(n,()=>void 0):n()}function Pg(e,t){let n=e.effect;n!=null&&Mg(n,t);let r=e;for(let n of[`timeline`,`rangeStart`,`rangeEnd`])n in t.values&&kg(t.values[n],r[n])&&jg(e,n,t.values[n]);for(let n of Dg(e))!Rg.has(n)&&n in t.values&&kg(t.values[n],r[n])&&jg(e,n,t.values[n]);t.replaceState===`persisted`&&e.replaceState!==`persisted`&&e.persist();let i=t.values.playbackRate;typeof i==`number`&&i!==e.playbackRate&&(e.playbackRate=i),t.playState===`paused`&&e.playState!==`paused`?e.pause():t.playState!==`paused`&&e.playState===`paused`&&e.play();let a=t.values.startTime,o=t.values.currentTime;t.playState===`finished`?e.finish():a==null?o!=null&&(e.currentTime=o,t.playState===`running`&&Ng(e,t.animation)):e.startTime=a}function ree(e){e.target!=null&&e.keyframes!=null&&Pg(e.target.animate(e.keyframes,{pseudoElement:e.pseudoElement??void 0}),e)}function Fg(e){return typeof CSSTransition<`u`&&e instanceof CSSTransition}function Ig(e){return typeof CSSAnimation<`u`&&e instanceof CSSAnimation}function iee(e){let t=e.effect?.getComputedTiming().endTime;t!=null&&Number.isFinite(Number(t))&&e.playbackRate!==0&&e.finish()}function aee(e,t){let n=e.target==null?null:t(e.target);if(n==null)return null;let r=Object.fromEntries(Object.entries(e.values).filter(([e])=>!zg.has(e))),i={...e.effectValues};return`target`in i&&(i.target=n),{...e,target:n,values:r,effectValues:i}}function Lg(e,t,n){let r=e.getAnimations({subtree:!0}),i=new Set(r),a=[];for(let e of t)i.has(e.animation)||(Fg(e.animation)?ree(e):a.push(e));let o=r.filter(e=>(Ig(e)||Fg(e))&&!n.has(e)),s=[];for(let e of o){let t=e.effect,n=e.animationName??``,r=a.findIndex(e=>e.name===n&&e.target===(t?.target??null)&&e.pseudoElement===(t?.pseudoElement??null));r===-1?s.push(e):Pg(e,a.splice(r,1)[0])}for(let e of s){let t=e.animationName??``,n=a.findIndex(e=>e.name===t);n===-1?iee(e):Pg(e,a.splice(n,1)[0])}}function oee(e){return typeof e.getAnimations==`function`?e.getAnimations({subtree:!0}).filter(e=>Ig(e)||Fg(e)).map(Ag):[]}function see(e,t,n){typeof t.getAnimations==`function`&&Lg(t,e.flatMap(e=>aee(e,n)??[]),new Set)}var Rg,zg,Bg=o((()=>{Rg=new Set([`effect`,`timeline`,`rangeStart`,`rangeEnd`,`playbackRate`,`startTime`,`currentTime`]),zg=new Set([`id`,`onfinish`,`oncancel`,`onremove`])}));function cee(e,t){if(typeof e.getAnimations!=`function`){t();return}let n=e.getAnimations({subtree:!0}),r=n.map(Ag);t(),Lg(e,r,new Set(n))}var Vg=o((()=>{Bg()}));function Hg(){return(0,Ug.use)(Wg)}var Ug,Wg,Gg=o((()=>{Ug=u(f(),1),ys(),Wg=_s(`LayerContext`,1,null),Wg.displayName=`LayerContext`})),Kg,qg=o((()=>{Kg={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 Jg(e){return JSON.stringify([e.attributes===!0,e.attributeFilter==null?null:[...e.attributeFilter].sort(),e.attributeOldValue===!0,e.characterData===!0,e.childList===!0,e.subtree===!0])}function Yg(e){let t=new Map,n=e.subtree===!0,r=e=>{let r=new Map;for(let i of e){let e=new Set;if(!n)t.get(i.target)?.forEach(t=>e.add(t));else for(let n=i.target;n;n=n.parentNode)t.get(n)?.forEach(t=>e.add(t));e.forEach(e=>{let t=r.get(e);t?t.push(i):r.set(e,[i])})}r.forEach((e,t)=>t(e))};return{observer:new MutationObserver(r),callbacks:t,deliver:r}}function Xg(e,t,n){if(typeof MutationObserver>`u`)return()=>{};let r=Jg(t),i=e_.get(r);i??(i=Yg(t),e_.set(r,i));let{observer:a,callbacks:o}=i,s=o.get(e);s?s.add(n):(o.set(e,new Set([n])),a.observe(e,t));let c=!0;return()=>{if(!c)return;c=!1;let t=o.get(e);t?.delete(n),t?.size===0&&o.delete(e),o.size===0&&e_.get(r)?.observer===a&&(a.disconnect(),e_.delete(r))}}function Zg(e,t){return Xg(e,$g,t)}function Qg(e){let t=e_.get(Jg(e)),n=t?.observer.takeRecords()??[];t!=null&&n.length>0&&t.deliver(n)}var $g,e_,t_=o((()=>{$g={characterData:!0,childList:!0,subtree:!0},e_=new Map}));function n_(e){return typeof e==`number`?`${e}px`:e}function r_(e){cee(e,()=>{let t=e.style.display;e.style.display=`none`,e.getBoundingClientRect(),e.style.display=t})}function i_(e){return e.playState===`running`&&e.effect?.getComputedTiming().endTime!==1/0}function a_(e){return e==null||typeof e.getAnimations!=`function`?[]:e.getAnimations({subtree:!0}).filter(i_)}function o_(e){let t=e.ownerDocument.defaultView?.getComputedStyle(e);if(t==null)return!1;let n=e=>t.getPropertyValue(e).split(`,`).map(e=>e.trim()),r=n(`transition-behavior`),i=n(`transition-duration`).map(parseFloat),a=n(`transition-delay`).map(parseFloat);return n(`transition-property`).some((e,t)=>{let n=r[t%r.length],o=i[t%i.length]||0,s=a[t%a.length]||0;return(e===`all`||e===`display`)&&n===`allow-discrete`&&o+Math.max(0,s)>0})}function s_(e){return(e.ownerDocument.defaultView?.getComputedStyle(e))?.getPropertyValue(`animation-name`).trim()||`none`}function c_({layer:e,anchor:t},n){if(e.width<=0||e.height<=0)return!1;let r=e.left0&&t.topn)}function l_(e,t){if(t==null)return null;let n=t.getBoundingClientRect(),r=e.ownerDocument.documentElement.clientHeight,i={anchor:n,layer:Rh(e)};return c_(i,r)?(r_(e),null):i}function u_(e,t,n){t==null||!e.hasAttribute(`data-layer-anchored`)?rg(e,null):rg(e,n==null?ng(e,t):tg(n.layer,n.anchor))}function d_(e){let t=[];for(let n=e;n;n=bd(n)){let e=n.getRootNode();ed(e)&&!t.includes(e)&&t.push(e)}return t}function f_(e,t,n){let r=null,i=null,a=()=>{r!==null&&(e.cancelAnimationFrame(r),r=null),i!==null&&(e.clearTimeout(i),i=null)},o=()=>{a(),r=e.requestAnimationFrame(()=>{r=null,i=e.setTimeout(()=>{i=null,r=e.requestAnimationFrame(()=>{r=null,n()})})})},s=e.onscrollend!==void 0,c=e=>xd(e.target,t),l=t=>{c(t)&&(a(),s||(i=e.setTimeout(()=>{i=null,o()},k_)))},u=e=>{c(e)&&o()},d=[bu(e,`scroll`,l)];s&&d.push(bu(e,`scrollend`,u));let f={capture:!0,passive:!0},p=d_(t);for(let e of p)e.addEventListener(`scroll`,l,f),s&&e.addEventListener(`scrollend`,u,f);return()=>{for(let e of d)e();for(let e of p)e.removeEventListener(`scroll`,l,f),e.removeEventListener(`scrollend`,u,f);a()}}function p_(e,t,n,r,i){let a=e.ownerDocument.defaultView;if(!a)return()=>{};let o=()=>{n()&&l_(e,t)},s=null;if(typeof ResizeObserver<`u`){s=new ResizeObserver(o),s.observe(e);for(let t of Array.from(e.children))s.observe(t);s.observe(t)}a.addEventListener(`resize`,o);let c=f_(a,t,()=>{n()&&(r()&&e.hasAttribute(`data-layer-anchored`)?(r_(e),i()):l_(e,t))});return()=>{s?.disconnect(),c(),a.removeEventListener(`resize`,o)}}function m_(e){if(e.getClientRects().length===0)return!1;let t=e.closest(`dialog`);return t==null||id(t)}function h_(e){if(e.getClientRects().length===0)return!1;let t=e.closest(`dialog`);return t!=null&&!id(t)}function g_(e,t){let n=e.ownerDocument,r=n.defaultView;if(typeof n.getAnimations!=`function`||r==null)return t(),()=>{};let i=!1,a=r.requestAnimationFrame(()=>{if(i)return;let r=n.getAnimations().filter(t=>{let r=t.effect,i=r!=null&&`target`in r?r.target:null;return!Zu(i)||!(i===e||i.contains(e))||t.timeline!==n.timeline?!1:i_(t)});r.length===0?t():Promise.all(r.map(async e=>e.finished.catch(()=>{}))).then(()=>{i||t()})});return()=>{i=!0,r.cancelAnimationFrame(a)}}function lee(){let e=null,t=new Set;return{get:()=>e,set:n=>{if(n!==e){e=n;for(let e of t)e()}},subscribe:e=>(t.add(e),()=>{t.delete(e)})}}function uee({mountStore:e,renderLayer:t,sentinelRef:n}){let r=(0,x_.useSyncExternalStore)(e.subscribe,e.get,A_),i=(0,C_.jsx)(`template`,{ref:n});if(r===null)return(0,C_.jsx)(C_.Fragment,{children:i});let a=t(r);return(0,C_.jsxs)(C_.Fragment,{children:[i,r.portalTarget?(0,S_.createPortal)(a,r.portalTarget):a]})}function __(e,t){let n=e.ownerDocument.defaultView;if(!n)return{};let r=n.getComputedStyle(e),i=n.getComputedStyle(t);return{...r.direction!==i.direction&&{direction:r.direction},...r.writingMode!==i.writingMode&&{writingMode:r.writingMode}}}function dee(e=`above`){return`flip-block, flip-inline, flip-block flip-inline, ${ih(e,`same`)}, ${ih(e,`opposite`)}`}function fee(e,t,n){let r=e===`above`||e===`below`,i=e===`above`||e===`start`?`self-end`:`self-start`,a=t===`center`?`anchor-center`:`${n?``:`unsafe `}self-${t}`;return r?{alignSelf:i,justifySelf:a}:{justifySelf:i,alignSelf:a}}function pee(e,t,n){let r=e===`above`||e===`below`,i=e===`above`?O_.sideAbove:e===`below`?O_.sideBelow:e===`start`?O_.sideStart:O_.sideEnd;if(t===`center`)return[i,r?O_.centerInline:O_.centerBlock];let a=t===`start`,o=r?a?O_.alignInlineStart:O_.alignInlineEnd:a?O_.alignBlockStart:O_.alignBlockEnd,s=n?null:r?a?O_.heldInlineStart:O_.heldInlineEnd:a?O_.heldBlockStart:O_.heldBlockEnd;return s==null?[i,o]:[i,o,s]}function v_(e){let{mode:t,onShow:n,onHide:r,lightDismiss:i=!1}=e,a=t===`context`?e.lazyMount??!1:!1,o=a&&t===`context`?e.keepsMountAfterShow??!1:!1,s=t===`context`?e.keepsAnchorClear??!1:!1,c=t===`context`?e.watchesOutsidePans:void 0,l=t===`context`?e.writesEntranceSide??!1:!1,u=nu(t===`context`?e.onPlacedAfresh:void 0),d=t===`context`?e.onCloseStart:void 0,f=t===`context`?e.onOpenPendingChange:void 0,p=nu(t===`context`&&e.waitsForAnchor===!0),m=nu(d),h=(0,x_.useId)(),g=`--astryx-layer-${h.replace(/:/g,``)}`,[_,v]=(0,x_.useState)(!1),[y,x]=(0,x_.useState)(!0),S=(0,x_.useRef)(!0),w=(0,x_.useCallback)(e=>{S.current!==e&&(S.current=e,x(e))},[]),T=Hg()?.inset,E=(0,x_.useRef)(null),D=(0,x_.useRef)(null),O=(0,x_.useRef)(null),k=(0,x_.useRef)(null),A=(0,x_.useRef)(null),j=(0,x_.useRef)(null),[M]=(0,x_.useState)(lee),[N,P]=(0,x_.useState)(0),F=(0,x_.useRef)(!1),I=(0,x_.useRef)(null),L=(0,x_.useRef)(!1),R=(0,x_.useRef)(null),z=(0,x_.useRef)(!1),B=(0,x_.useCallback)(e=>{let t={};R.current=t;let n=()=>{if(R.current!==t)return;R.current=null;let e=O.current;!L.current&&e!=null&&up(e,g)},r=z.current?a_(e):[];r.length===0?n():Promise.all(r.map(async e=>e.finished.catch(()=>void 0))).then(n)},[g]),V=(0,x_.useRef)(null),H=(0,x_.useRef)(null),ee=(0,x_.useRef)(null),U=(0,x_.useRef)(null),te=(0,x_.useRef)(null),W=(0,x_.useCallback)(()=>{te.current?.(),te.current=null},[]),G=(0,x_.useCallback)(()=>{let e=Sp();return V.current===e},[]),ne=(0,x_.useCallback)(e=>{if(typeof e.showPopover==`function`){let t=e.ownerDocument,n=tee(t);try{yg(t,()=>{let t=O.current,n=t?.ownerDocument.defaultView;e.showPopover({source:n!=null&&t instanceof n.HTMLElement?t:void 0})})}catch(e){if(n&&e?.name===`InvalidStateError`)return!1;throw e}}else e.style.display=`block`;return D.current=e,!0},[]),re=(0,x_.useCallback)(e=>{if(t!==`context`)return!0;let n=j.current;if(n===null)return!1;let r=n.portalTarget??A.current?.parentElement??null;return e.parentElement===r},[t]),ie=(0,x_.useCallback)(()=>{if(t!==`context`)return;let e=A.current,n=e?.parentElement??null;if(!e||!n)return;yh(e.ownerDocument);let r=zp(n),i=F.current||L.current,a={portalTarget:r,portalStyle:r==null?{}:i?__(e,r):null},o=j.current!==null;j.current=a,M.set(a),o&&P(e=>e+1)},[t,M]),K=(0,x_.useCallback)(e=>{let t=j.current,n=A.current;if(t===null||t.portalTarget===null||t.portalStyle!==null||n===null)return;let r=__(n,t.portalTarget);r.direction!=null&&e.style.direction===``&&(e.style.direction=r.direction),r.writingMode!=null&&e.style.writingMode===``&&(e.style.writingMode=r.writingMode);let i={...t,portalStyle:r};j.current=i,M.set(i)},[M]),q=(0,x_.useCallback)(()=>{t===`context`&&a&&!o&&(j.current=null,M.set(null))},[t,a,o,M]),ae=(0,x_.useCallback)(()=>{if(G()&&H.current===O.current)return;if(i&&!L.current&&wp()){let e=E.current?.ownerDocument??document;F.current=!0,I.current?.(),I.current=Tp(e,()=>{I.current=null,F.current&&(F.current=!1,he.current())});return}let e=ee.current;e!=null&&L.current&&e.popover===E.current&&e.trigger!==O.current&&(e.moved=!0,D.current=null,L.current=!1,W());let t=E.current,r=t&&re(t)?t:null;if(!r)F.current=!0,ie();else if(!L.current){let e=()=>{F.current=!0,xg(r.ownerDocument,()=>{F.current&&(F.current=!1,he.current())})};if(bg(r.ownerDocument)){e();return}let t=o_(r),a=s_(r);K(r);let o=O.current;if(o!=null&&lp(o,g),!ne(r)){o!=null&&R.current==null&&up(o,g),e();return}let u=a!==`none`&&a!==s_(r);z.current=t||u,i&&(Op(r),c!=null&&(W(),te.current=c(r)));let d=s?l_(r,O.current):null;l||u_(r,O.current,d),L.current=!0,v(!0),n?.()}},[g,n,s,l,i,c,W,ie,K,ne,re,G]),oe=(0,x_.useRef)(null),se=(0,x_.useRef)(null),ce=(0,x_.useRef)(null),le=(0,x_.useRef)(null),[J,ue]=(0,x_.useState)(0);b(()=>{let e=le.current;le.current=null,e?.()},[J]);let de=(0,x_.useCallback)(()=>{let e=oe.current!=null;oe.current?.(),oe.current=null,se.current=null,ce.current&&=(ce.current.cancelled=!0,null),e&&f?.(!1)},[f]),fe=(0,x_.useCallback)(()=>{let e=oe.current!=null;oe.current=null,se.current=null,e&&f?.(!1)},[f]),pe=(0,x_.useCallback)(()=>{let e=t===`context`?O.current:null;if(e!=null&&oe.current!=null&&se.current===e)return;if(de(),!e){if(p.current){oe.current=()=>{},L.current||f?.(!0);return}ae();return}if(m_(e)||typeof ResizeObserver>`u`||typeof document.getAnimations!=`function`){ae();return}let n=e,r=e.getClientRects().length>0,i=e.closest(`dialog`),a=()=>{},o=!1,s=()=>{},c=()=>{},l=()=>{s(),h?.disconnect(),c(),i?.removeEventListener(`toggle`,m)},u=()=>{o=!0,l(),a=g_(e,()=>{fe(),ae()})},d=()=>{le.current=()=>{!o&&h_(n)&&(r?(o=!0,l(),fe(),ae()):u())},ue(e=>e+1)};function m(){o||(m_(n)?u():h_(n)&&d())}let h=typeof IntersectionObserver>`u`?null:new IntersectionObserver(m);s=qi(e,m),o?l():(h?.observe(e),i&&(c=Xg(i,{attributes:!0,attributeFilter:[`open`]},m),i.addEventListener(`toggle`,m))),oe.current=()=>{o=!0,l(),a()},se.current=e,L.current||f?.(!0)},[t,ae,de,fe,f,p]),me=(0,x_.useCallback)(()=>{if(I.current?.(),I.current=null,de(),F.current=!1,L.current){let e=E.current;m.current?.(),D.current=null,L.current=!1,W(),e&&(typeof e.hidePopover==`function`?yg(e.ownerDocument,()=>{e.hidePopover()}):e.style.display=`none`),v(!1),r?.()}B(E.current),q()},[r,q,B,de,W,m]),he=(0,x_.useRef)(pe);ru(he,pe);let ge=(0,x_.useRef)(null),_e=(0,x_.useCallback)(e=>{if(!e){let e=O.current;if(!e)return;let t={element:e,cancelled:!1};k.current=t;let n=()=>{t.cancelled||O.current!==e||(up(e,g),O.current=null,se.current===e&&de(),s&&L.current&&(ge.current?.(),ge.current=null))};p.current?n():queueMicrotask(n);return}k.current?.element===e&&(k.current.cancelled=!0,k.current=null),O.current&&O.current!==e&&up(O.current,g),e&&(L.current||R.current!=null)&&lp(e,g);let t=O.current;if(O.current=e,xp(e.ownerDocument),s&&L.current&&e!==t){ge.current?.(),ge.current=null;let t=E.current;t&&(ge.current=p_(t,e,()=>E.current===t&&O.current===e,()=>S.current,()=>u.current?.()),l_(t,e))}let n=se.current;if(oe.current!=null&&n!==e){de();let t={cancelled:!1};ce.current=t,queueMicrotask(()=>{t.cancelled||(ce.current=null,O.current===e&&!L.current&&he.current())})}},[g,de,s,u,p]),ve=(0,x_.useCallback)(e=>{if(U.current?.(),Cp())return;V.current=Sp(),H.current=O.current;let t=e.defaultView,n=null,r=()=>{V.current=null,H.current=null,e.removeEventListener(`click`,i,!0),n!==null&&(t?.clearTimeout(n),n=null),U.current===r&&(U.current=null)},i=()=>{e.removeEventListener(`click`,i,!0),t?n=t.setTimeout(()=>{n=null,U.current===r&&r()},0):r()};e.addEventListener(`click`,i,!0),U.current=r},[]);(0,x_.useEffect)(()=>(Sp(),()=>{U.current?.(),oe.current?.(),I.current?.(),I.current=null,W()}),[W]);let ye=(0,x_.useCallback)(e=>{let t=e,n=e.currentTarget;if(t.newState!==`closed`||n==null)return;if(L.current){nee(n),m.current?.(),ee.current={popover:n,trigger:O.current,moved:!1};return}let r=O.current;r!=null&&sp(r).includes(g)&&!z.current&&(R.current=null,up(r,g))},[g,m]),be=(0,x_.useCallback)(e=>{let t=e,n=ee.current;n!=null&&n.popover===e.currentTarget&&(ee.current=null,n.moved)||t.newState===`closed`&&L.current&&(D.current=null,L.current=!1,W(),ve(e.currentTarget?.ownerDocument??document),B(e.currentTarget),v(!1),r?.(),q())},[r,q,ve,B,W]),xe=(0,x_.useRef)(null),Se=(0,x_.useRef)(null),Ce=(0,x_.useCallback)((e,t)=>{xe.current&&Se.current&&(xe.current!==e||Se.current!==t)&&(xe.current.removeEventListener(`toggle`,Se.current),xe.current.removeEventListener(`beforetoggle`,ye),xe.current=null,Se.current=null),e&&xe.current!==e&&(e.addEventListener(`toggle`,t),e.addEventListener(`beforetoggle`,ye),xe.current=e,Se.current=t)},[ye]),{cap:we,lift:Te,inset:Ee,followLayerElement:De}=Zh(_&&t===`context`,E),Oe=(0,x_.useCallback)(e=>{if(E.current=e,Ce(e,be),e&&F.current)F.current=!1,pe();else if(e&&L.current&&D.current!==e&&re(e)){if(De(),ne(e)){let t=s?l_(e,O.current):null;u_(e,O.current,t)}else xg(e.ownerDocument,()=>{let t=E.current;if(L.current&&t===e&&D.current!==e&&ne(e)){let t=s?l_(e,O.current):null;u_(e,O.current,t)}})}},[be,Ce,pe,ne,re,s,De]),ke=(0,x_.useCallback)(e=>{A.current=e,e&&(!a||F.current||L.current||o&&j.current!=null)&&ie()},[a,o,ie]);(0,x_.useEffect)(()=>(E.current&&Ce(E.current,be),()=>{xe.current&&Se.current&&(xe.current.removeEventListener(`toggle`,Se.current),xe.current.removeEventListener(`beforetoggle`,ye),xe.current=null,Se.current=null)}),[be,Ce,ye]),b(()=>{if(!_||t!==`context`)return;let e=O.current;if(!e)return;let n=e.ownerDocument.defaultView;if(n){let t=e.getBoundingClientRect(),r=t.bottom>=0&&t.right>=0&&t.top<=n.innerHeight&&t.left<=n.innerWidth;w(r)}if(typeof IntersectionObserver>`u`)return;let r=new IntersectionObserver(e=>{let t=e[e.length-1];t&&w(t.isIntersecting)});return r.observe(e),()=>r.disconnect()},[_,t,w]),b(()=>{if(!s||!_||t!==`context`)return;let e=E.current,n=O.current;if(e&&n)return ge.current?.(),ge.current=p_(e,n,()=>E.current===e&&O.current===n,()=>S.current,()=>u.current?.()),()=>{ge.current?.(),ge.current=null}},[s,_,t,N]),b(()=>{if(!_||t!==`context`||s)return;let e=E.current,n=O.current,r=n?.ownerDocument.defaultView;if(e&&n&&r)return f_(r,n,()=>{S.current&&E.current===e&&e.hasAttribute(`data-layer-anchored`)&&(r_(e),u.current?.())})},[_,t,s,N,u]);let Ae=(0,x_.useCallback)((e,t)=>{let{placement:n=`above`,alignment:r=`center`,positioning:a=`anchor`,offset:o,role:c,\"aria-label\":l,xstyle:u,className:d,style:f,as:p=`div`,onMouseEnter:m,onMouseLeave:_}=t||{},v=dee(n),b=s&&a===`anchor`?_h(n):``,x=a===`custom`?{positionAnchor:g}:{positionAnchor:g,positionTryFallbacks:b||v,...fee(n,r,y),...b?{alignSelf:dh(n)}:{}},S=o?n_(o):null,w=a===`anchor`&&S!=null?{[bh]:S}:{},E=a===`anchor`?S==null?n===`above`?O_.farAbove:n===`below`?O_.farBelow:n===`start`?O_.farStart:O_.farEnd:n===`above`?O_.placementAbove(S):n===`below`?O_.placementBelow(S):n===`start`?O_.placementStart(S):O_.placementEnd(S):null,D=a===`anchor`?[O_.viewportFit,...pee(n,r,y)]:null,O=C(Hp.reset,Wp.reset,O_.base,Kg.reset,O_.keyboardCap(we==null?`100vh`:`${we}px`,we==null?`visible`:`auto`,Ee==null?`initial`:`${Ee}px`),s&&O_.scrollsOnOverflow,D,E,u),k=d?`${d} ${O.className??``}`:O.className;return(0,C_.jsx)(uee,{mountStore:M,renderLayer:t=>(0,C_.jsx)(p,{ref:Oe,id:h,...a===`anchor`?{[nh]:``}:{},role:c,\"aria-label\":l,popover:i?`auto`:`manual`,className:k,style:{...O.style,...x,...a===`anchor`?Xh(Te)??{\"--_astryx-layer-lift\":`0px`}:null,...w,...fg(T),...t.portalStyle,...f},onMouseEnter:m,onMouseLeave:_,...rp(),children:(0,C_.jsx)(Wf,{children:e})}),sentinelRef:ke})},[g,T,h,y,s,we,Ee,Te,i,M,Oe,ke]),je=(0,x_.useCallback)((e,t)=>{let{x:n,y:r,xstyle:a,className:o,style:s}=t,c={top:r,left:n},l=C(Hp.reset,Wp.reset,O_.base,Kg.reset,O_.keyboardCap(`100vh`,`visible`,`initial`),O_.fixed,a),u=o?`${o} ${l.className??``}`:l.className;return(0,C_.jsx)(`div`,{ref:Oe,id:h,popover:i?`auto`:`manual`,className:u,style:{...l.style,...c,...s},...rp(),children:(0,C_.jsx)(Wf,{children:e})})},[Oe,h,i]),Me=(0,x_.useMemo)(()=>({ref:_e,anchorId:g,show:pe,hide:me,isOpen:_,id:h,render:Ae}),[_e,g,pe,me,_,h,Ae]),Ne=(0,x_.useMemo)(()=>({ref:void 0,show:pe,hide:me,isOpen:_,id:h,render:je}),[pe,me,_,h,je]);return t===`context`?Me:Ne}function y_(e){return v_(e)}function b_(e){return v_(e)}var x_,S_,C_,w_,T_,E_,D_,O_,k_,A_,j_=o((()=>{x_=u(f(),1),au(),D(),S_=g(),Xf(),op(),dp(),Pp(),Vp(),Up(),Gp(),eg(),ug(),rh(),Wh(),mg(),Dh(),Eg(),Vg(),Gg(),x(),qg(),Qi(),t_(),Td(),od(),Pu(),C_=mc(),w_={keoZOQ:`x1vhfslr`,k1K539:`x119uzjn`,$$css:!0},T_={keoZOQ:`x1lhixnp`,k1K539:`xlm3tn6`,$$css:!0},E_={k71WvV:`xa3ewmy`,$$css:!0},D_={keTefX:`x1cytvie`,$$css:!0},O_={keyboardCap:(e,t,n)=>[{\"--_layer-keyboard-max-block-size\":e==null?e:`x1ex41ac`,\"--_layer-keyboard-overflow\":t==null?t:`xypflj0`,\"--_layer-keyboard-inset-block-end\":n==null?n:`xihxjaz`,$$css:!0},{\"--x---_layer-keyboard-max-block-size\":e??void 0,\"--x---_layer-keyboard-overflow\":t??void 0,\"--x---_layer-keyboard-inset-block-end\":n??void 0}],scrollsOnOverflow:{kORKVm:`x1odjw0f`,$$css:!0},base:{keoZOQ:`xdj266r`,k1K539:`xat24cr`,keTefX:`x1lziwak`,k71WvV:`x14z9mp`,kLKAdn:`xexx8yu`,kGO01o:`x18d9i69`,kZCmMZ:`x1c1uobl`,kwRFfy:`xyri2b`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kVQacm:`x1rea2x4`,kWkggS:`xjbqb8w`,$$css:!0},fixed:{kVAEAm:`xixxii4`,$$css:!0},placementBelow:e=>[w_,{\"--x-marginBlockStart\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],placementAbove:e=>[T_,{\"--x-marginBlockEnd\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],placementEnd:e=>[E_,{keTefX:e==null?e:`x4lel18`,$$css:!0},{\"--x-marginInlineStart\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],placementStart:e=>[D_,{k71WvV:e==null?e:`x1c9tiao`,$$css:!0},{\"--x-marginInlineEnd\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],farBelow:{k1K539:`x119uzjn`,$$css:!0},farAbove:{keoZOQ:`x1lhixnp`,$$css:!0},farEnd:{k71WvV:`xa3ewmy`,$$css:!0},farStart:{keTefX:`x1cytvie`,$$css:!0},viewportFit:{kB7OPa:`x9f619`,ks0D6T:`xc0b1yq`,kskxy:`x3v4n1`,$$css:!0},sideBelow:{k87sOh:`x11qqqwi`,krVfgx:`x1ihzn68`,$$css:!0},sideAbove:{k87sOh:`xs7zcsv`,krVfgx:`x1dkbz8d`,$$css:!0},sideEnd:{kLqNvP:`xgn968y`,kt4wiu:`xtijo5x`,$$css:!0},sideStart:{kLqNvP:`x1o0tod`,kt4wiu:`x1rmahmk`,$$css:!0},alignInlineStart:{kLqNvP:`xjlsgp1`,kt4wiu:`xtijo5x`,k71WvV:`x144kxal`,$$css:!0},alignInlineEnd:{kLqNvP:`x1o0tod`,kt4wiu:`x1sii5lc`,keTefX:`xpdk1p0`,$$css:!0},alignBlockStart:{k87sOh:`x1pex6sq`,krVfgx:`x1ihzn68`,k1K539:`x3z50q0`,$$css:!0},alignBlockEnd:{k87sOh:`xs7zcsv`,krVfgx:`x1lalo65`,keoZOQ:`x1j6tnbc`,$$css:!0},heldInlineStart:{kLqNvP:`x1hirqua`,$$css:!0},heldInlineEnd:{kt4wiu:`xt5bzs0`,$$css:!0},heldBlockStart:{k87sOh:`x2tnmsz`,$$css:!0},heldBlockEnd:{krVfgx:`xbmjlmh`,$$css:!0},centerInline:{kLqNvP:`x1o0tod`,kt4wiu:`xtijo5x`,keTefX:`xpdk1p0`,k71WvV:`x144kxal`,$$css:!0},centerBlock:{k87sOh:`xs7zcsv`,krVfgx:`x1ihzn68`,keoZOQ:`x1j6tnbc`,k1K539:`x3z50q0`,$$css:!0}},k_=150,A_=()=>null})),M_,N_=o((()=>{M_={decelerationRate:{normal:.998,fast:.99},rubberBand:{coefficient:.55},bounce:{duration:.5,bounce:0},delaysContentTouchesMs:150,scrollToTopRate:.99035}})),P_=o((()=>{})),F_,I_,L_,R_,z_,B_=o((()=>{N_(),P_(),F_={allowableMovement:{value:45,unit:`px`},maximumIntervalBetweenTaps:{value:350,unit:`ms`},allowableSeparation:{value:45,unit:`px`},maximumTapDuration:{value:1500,unit:`ms`}},I_={minimumPressDuration:{value:500,unit:`ms`},allowableMovement:{value:10,unit:`px`}},L_={hysteresis:{value:10,unit:`px`}},R_={contentTouchDelay:{value:150,unit:`ms`},quickTapFlash:{value:100,unit:`ms`},slop:{value:10,unit:`px`},scrollBrake:{value:150,unit:`ms`},momentumMemory:{value:3e3,unit:`ms`}},z_={currentWeight:{value:.2,unit:`ratio`},scrollReleaseWeight:{value:.25,unit:`ratio`},stillness:{value:40,unit:`ms`}}}));function V_(e){let t=e.trim().split(/\\s+/);return t.includes(`auto`)||t.includes(`manipulation`)?{x:!0,y:!0}:t.includes(`none`)?{x:!1,y:!1}:{x:t.some(e=>e===`pan-x`||e===`pan-left`||e===`pan-right`),y:t.some(e=>e===`pan-y`||e===`pan-up`||e===`pan-down`)}}function H_(e,t){let n=e.ownerDocument.defaultView;if(n==null)return!1;for(let r=e;r!=null;r=bd(r))if(Qu(r)&&!V_(n.getComputedStyle(r).touchAction||`auto`)[t])return!1;return!0}function U_(e,t){let n=e.defaultView;if(n==null)return`hidden`;for(let r of[e.documentElement,e.body]){if(r==null)continue;let e=n.getComputedStyle(r),i=t===`x`?e.overflowX:e.overflowY;if(i===`hidden`||i===`clip`)return`hidden`}return`auto`}function W_(e,t){return t===`y`?e.scrollHeight-e.clientHeight>q_:e.scrollWidth-e.clientWidth>q_}function G_(e,{readsTouchAction:t=!0}={}){let n=e.ownerDocument,r=n.defaultView;if(r==null)return!1;let i=n.scrollingElement??n.documentElement,a=!0,o=!0;for(let s=e;s!=null;){if(Qu(s)){let e=r.getComputedStyle(s);if(t){let t=V_(e.touchAction||`auto`);a&&=t.x,o&&=t.y}if(s===i||s===n.documentElement)break;if(o&&K_.has(e.overflowY)&&W_(s,`y`)||a&&K_.has(e.overflowX)&&W_(s,`x`))return!0;if(e.position===`fixed`)return!1}s=bd(s)}return o&&K_.has(U_(n,`y`))&&W_(i,`y`)||a&&K_.has(U_(n,`x`))&&W_(i,`x`)}var K_,q_,J_=o((()=>{Td(),od(),K_=new Set([`auto`,`scroll`,`overlay`]),q_=1}));function Y_(e){tv.set(e,(tv.get(e)??0)+1)}function X_(e){return tv.get(e)??0}function Z_(e,t,n,{pointerTypes:r,closesOnPan:i=!1,onPan:a,onPress:o,root:s=null}={}){let c=e.ownerDocument,l=i?void 0:a,u=i||l!=null,d=s==null?[]:wd(s),f=!1,p=null,m=e=>r==null||r.includes(e.pointerType),h=()=>{f=!1,p=null,Y_(c),n()},g=e=>{m(e)&&(!i||p==null||p.id===e.pointerId||e.isPrimary)&&(f=!t(e.composedPath()),o?.(!f),u&&(p=f?{id:e.pointerId,x:e.clientX,y:e.clientY}:null))},_=e=>{if(p?.id===e.pointerId&&Math.max(Math.abs(e.clientX-p.x),Math.abs(e.clientY-p.y))>=L_.hysteresis.value){if(l!=null){let t=Math.abs(e.clientX-p.x)>=Math.abs(e.clientY-p.y)?`x`:`y`,n=e.composedPath()[0];f=!1,p=null,Qu(n)&&H_(n,t)&&l();return}h()}},v=e=>{if(l!=null||o!=null||!m(e)||i&&p?.id!==e.pointerId)return;let r=f;f=!1,p=null,r&&!t(e.composedPath())&&(Y_(c),n())},y=null,b=e=>t=>{t===y||e!=null&&t.composedPath().includes(e)||(y=t,v(t))},x=b(d.at(-1)?.host??null),S=d.map(({root:e,host:t},n)=>({shadow:e,host:t,handleRootUp:b(n===0?null:d[n-1].host),handleHostUp:b(null)})),C=e=>{m(e)&&(i&&p?.id===e.pointerId?h():i||(f=!1,p=null))},w=[c,...d.map(({root:e})=>e)];for(let e of w)e.addEventListener(`pointerdown`,g,!0);let T=c.defaultView,E=u&&T!=null?bu(T,`pointermove`,_):null;c.addEventListener(`pointerup`,x,!0);for(let{shadow:e,host:t,handleRootUp:n,handleHostUp:r}of S)e.addEventListener(`pointerup`,n,!0),t.addEventListener(`pointerup`,r);return c.addEventListener(`pointercancel`,C,!0),()=>{for(let e of w)e.removeEventListener(`pointerdown`,g,!0);E?.(),c.removeEventListener(`pointerup`,x,!0);for(let{shadow:e,host:t,handleRootUp:n,handleHostUp:r}of S)e.removeEventListener(`pointerup`,n,!0),t.removeEventListener(`pointerup`,r);c.removeEventListener(`pointercancel`,C,!0)}}function Q_(){let e=(0,ev.useRef)(null),t=(0,ev.useCallback)(()=>{e.current?.(),e.current=null},[]),n=(0,ev.useCallback)((t,n,r,i)=>{e.current?.(),e.current=Z_(t,n,r,i)},[]);return(0,ev.useEffect)(()=>t,[t]),(0,ev.useMemo)(()=>({start:n,stop:t}),[n,t])}function $_(e,t,n){return e.some(e=>e===t||n!==``&&Zu(e)&&Qu(e)&&e.id===n)}var ev,tv,nv=o((()=>{ev=u(f(),1),B_(),Td(),Pu(),od(),J_(),Xn(),tv=Jn(`layer/outside-press/outside-dismissals`,1)}));function rv(e){if(e==null)return;av.add(e);let t=e.parentElement;t?.hasAttribute(`popover`)&&av.add(t)}function iv(e){return av.has(e)}var av,ov=o((()=>{Xn(),av=Yn(`layer/layer-surface-press/surfaces`,1)}));function sv(e){return e.replace(/[\\x00-\\x1f\\x7f]/g,``).trim()}function mee(e){return e.toLowerCase().replace(/^([a-z][a-z\\d+.-]*:) +/,`$1`)}function cv(e){let t=sv(e),n=mee(t);return n.startsWith(`javascript:`)||n.startsWith(`vbscript:`)||n.startsWith(`data:text/html`)?null:t}function lv(e){return cv(e)!==null}function uv(e){if(e==null)return!0;if(typeof e==`string`)return lv(e);if(typeof e!=`object`)return!1;let{pathname:t,href:n,protocol:r,host:i,hostname:a}=e;for(let e of[t,n,r,i,a])if(e!=null&&typeof e!=`string`)return!1;if(typeof t==`string`&&!lv(t)||typeof n==`string`&&!lv(n))return!1;if(typeof r==`string`&&r!==``){let e=sv(r),n=e.endsWith(`:`)?e:`${e}:`;if(!lv(n)||!lv(`${n}${i||a||``}${typeof t==`string`?t:``}`))return!1}return!0}var dv=o((()=>{})),fv,pv=o((()=>{fv=`data-astryx-menu-press`})),mv,hv=o((()=>{mv={duration:`200ms`,easing:`cubic-bezier(0.42, 0, 0.58, 1)`}}));function gv(e,t,{jumps:n=!1}={}){let r=n=>e<=0||n>=e?1:t(Math.max(0,n)/e),i=Math.min(.001,e/100);return{duration:e,at:r,velocity:t=>{if(e<=0||t>=e)return 0;let a=Math.max(0,t-i),o=Math.min(e,t+i);if(!n)return(r(o)-r(a))/(o-a);let s=r(t),c=[];return t>a&&c.push((s-r(a))/(t-a)),o>t&&c.push((r(o)-s)/(o-t)),c.reduce((e,t)=>Math.abs(t)(r.currentTime=Math.min(1,Math.max(0,e))*1e3,r.effect?.getComputedTiming().progress??1)}function yv(e,{ms:t,points:n},r){if(t==null||t<=0)return null;if(n!=null)return gv(t/1e3,Xp(n));let i=gee(e,r);return i==null?null:gv(t/1e3,i,{jumps:!0})}function bv(e,{duration:t,easing:n}){let r=t==null?null:Pm(`duration`,t),i=n==null?null:Fm(n),a=e.ownerDocument,o=a.defaultView,s=t!=null&&r==null,c=n!=null&&i==null;if(o==null||!s&&!c)return{ms:r,points:i};let l=a.createElement(`span`);l.style.setProperty(`display`,`none`,`important`);let u=(e,t)=>(l.style.setProperty(e,t,`important`),l.style.getPropertyValue(e)!==``),d=s&&u(`transition-duration`,t),f=c&&u(`transition-timing-function`,n);(a.body??a.documentElement).append(l);try{let e=o.getComputedStyle(l);return{ms:d?_v(e):r,points:f?hee(e):i}}finally{l.remove()}}function xv(e,t){let n=e.getPropertyValue(t).trim();if(n!==``)return n;let r={};for(let[t,n]of Object.entries(Sv))r[t]=e.getPropertyValue(t).trim()||n;return ke(r)[t]??``}function _ee(e,{duration:t,easing:n}){let r=e.ownerDocument.defaultView?.getComputedStyle(e);return r==null?{ms:null,points:null}:bv(e,{duration:t==null?void 0:xv(r,t),easing:n==null?void 0:xv(r,n)})}function vee(e,t){let n=e.ownerDocument.defaultView?.getComputedStyle(e);return n==null?null:xv(n,t)}function yee(e,t){let n=e.ownerDocument,r=n.defaultView?.getComputedStyle(e);if(r==null)return null;if(t!=null){let i=xv(r,t.easing);return yv(n,bv(e,{duration:xv(r,t.duration),easing:i}),i)}let i=vv(r);return yv(n,{ms:_v(r),points:Fm(i)},i)}var Sv,Cv=o((()=>{Zp(),Km(),Ae(),Sv={\"--duration-fast-min\":`130ms`,\"--duration-fast\":`175ms`,\"--duration-fast-max\":`230ms`,\"--duration-medium-min\":`310ms`,\"--duration-medium\":`410ms`,\"--duration-medium-max\":`550ms`,\"--duration-slow-min\":`730ms`,\"--duration-slow\":`975ms`,\"--duration-slow-max\":`1300ms`,\"--duration-exit\":`var(--duration-fast)`,\"--ease-standard\":`cubic-bezier(0.24, 1, 0.4, 1)`,\"--ease-entrance\":`cubic-bezier(0.24, 1, 0.4, 1)`,\"--ease-move\":`cubic-bezier(0.24, 1, 0.4, 1)`,\"--ease-exit\":`cubic-bezier(0.3, 0, 0.6, 0.6)`}}));function wv(e,t){e.toggleAttribute(Ev,t)}function Tv(e){return e.hasAttribute(Ev)}var Ev,Dv=o((()=>{Ev=`data-astryx-press-held`}));function Ov(e){return(Zu(e)?($u(e)?e:e.ownerDocument)?.defaultView:e?.view)?.performance??(typeof performance>`u`?null:performance)}function kv(e,t){if(!(t==null||!Number.isFinite(t)||t<=0))return e!=null&&Math.abs(Date.now()-t){od()}));function Mv(){let e=Us()?.__adaptations?.widthBreakpoints;return(0,Pv.useMemo)(()=>e==null?En:Zt(e),[e])}function Nv(e={}){let t=Mv(),n=ps(is,e.isTouch??!1),r=ps(t.query,e.isCompact??!1);return(0,Pv.useMemo)(()=>({isTouch:n,isCompact:r}),[n,r])}var Pv,Fv=o((()=>{Pv=u(f(),1),gs(),Pn(),rc(),os(),En.query,En.coarsePointerQuery}));function Iv(e,t){if(!(e instanceof Element))return null;let n=e.closest(`[${Rv}]`);return n instanceof HTMLElement&&t.contains(n)?n:null}function Lv(e){return Array.from(e.querySelectorAll(`[${Rv}]`)).filter(t=>t.closest(zv)===e)}var Rv,zv,Bv,Vv=o((()=>{Rv=`data-astryx-press-box`,zv=`[data-astryx-pressable]`,Bv={[Rv]:``}}));function Hv(){if(typeof navigator>`u`)return!1;let e=`userAgentData`in navigator?navigator.userAgentData:null;if(e&&typeof e==`object`&&`platform`in e){let t=e.platform,n=typeof t==`string`?t.trim():``;if(n!==``&&n.toLowerCase()!==`unknown`)return/mac/i.test(n)}return/Mac|iPhone|iPad|iPod/.test(navigator.platform??``)}var Uv=o((()=>{}));function Wv(e){return e.button===0&&!(e.ctrlKey&&Hv())}var Gv=o((()=>{Uv()}));function Kv(e){return e.hasAttribute(qv)}var qv,Jv=o((()=>{qv=`data-astryx-press-holds-drag`}));function Yv(e){return{[Zv]:e.join(` `)}}function Xv(e,t=null){let n=e.closest(`[${Zv}]`);return n==null?!1:t==null||(n.getAttribute(Zv)??``).split(` `).includes(t)}var Zv,Qv=o((()=>{Zv=`data-astryx-press-group-item`}));function $v(e){let t=Ny;Ny=null,t?.end(e)}function ey(e){Py=e}function ty(e){let t=_ee(e,{duration:`--duration-exit`}).ms??_d,n=typeof window.matchMedia==`function`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches,r=Pm(`duration`,mv.duration);return n&&r!=null?Math.min(t,r):t}function ny(e){return typeof e.getAnimations==`function`?e.getAnimations({subtree:!0}).filter(t=>{let n=t.effect,r=n?.target??null;return n==null||r==null||!(`animationName`in t)||r!==e&&r.closest(`[data-astryx-pressable]`)!==e||!Number.isFinite(Number(n.getComputedTiming().endTime))?!1:t.playState!==`finished`}):[]}function ry(e,t,n){let r=!0,i=setTimeout(()=>{let t=ny(e);t.length===0?n():Promise.allSettled(t.map(async e=>e.finished)).then(()=>{r&&n()})},t);return()=>{r=!1,clearTimeout(i)}}function iy(e,t){t===`none`?e.removeAttribute(Dy):e.getAttribute(`data-astryx-press`)!==t&&e.setAttribute(Dy,t)}function ay(e){e.live?.timer!=null&&(e.live.timer(),e.live.timer=null)}function oy(e,t,n=0){let r=e.live;if(r==null)return;let i=t.gesture.phase!==r.gesture.phase;if((t.timer!=null||i)&&ay(e),r.gesture=t.gesture,iy(r.element,t.paint),t.gesture.phase===`idle`)e.live=null;else if(t.timer!=null){let i=t.timer,a=()=>{e.live!=null&&(e.live.timer=null),oy(e,hd(e.live?.gesture??gd(),{kind:Hy[i]}))};if(i===`fade`)r.timer=ry(r.element,ty(r.element),a);else{let e=i===`onset`?Math.max(0,Vy.onset-n):Vy[i],t=setTimeout(a,e);r.timer=()=>clearTimeout(t)}}}function sy(e){if(!(e instanceof Element))return null;let t=e.closest(`[${Ey}]`);return!(t instanceof HTMLElement)||t.matches(ky)||Tv(t)?null:t}function cy(e){return Date.now()-Ly>=150?!1:Ry instanceof Node&&Ry.contains(e)}function ly(e){e.live?.gesture.phase===`dead`&&(ay(e),e.live=null)}function uy(e){let t=e.live;t!=null&&(ay(e),t.element.removeAttribute(Dy),e.live=null,e===Fy&&Ty(!1))}function dy(e){My.live?.element===e&&uy(My),Fy.live?.element===e&&uy(Fy)}function fy(e,t){e.live?.element===t&&uy(e)}function py(){return typeof window.matchMedia==`function`&&window.matchMedia(`(pointer: coarse)`).matches}function my(e){let t=sy(e);return t!=null&&hy(t)}function hy(e){return Lv(e).length>0}function bee(e,t){let n=sy(e);return n==null||n.closest(jy)!=null||t!=null&&Xv(n,`mouse`)||t==null&&n!==e?null:n}function gy(e,t){uy(Fy);let n=bee(e,t);n!=null&&(fy(My,n),Fy.live={element:n,gesture:gd(),pointerId:t,timer:null},Ty(t==null),oy(Fy,hd(Fy.live.gesture,{kind:`buttonDown`})))}function _y(e){return hy(e)&&!py()&&typeof window.matchMedia==`function`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function vy(){Ty(!1),Fy.live!=null&&(_y(Fy.live.element)?yy():oy(Fy,hd(Fy.live.gesture,{kind:`up`})))}function yy(){Ty(!1),Fy.live!=null&&(oy(Fy,hd(Fy.live.gesture,{kind:`cancel`})),ly(Fy))}function xee(e){if(e.pointerType===`mouse`){(py()?e.button===0:Wv(e)&&my(e.target))&&gy(e.target,e.pointerId);return}if(e.pointerType===`pen`&&!Wv(e)&&my(e.target))return;if(kee(),$v(!1),My.live!=null){if(My.live.gesture.phase!==`fading`&&My.live.gesture.phase!==`flash`){uy(My);return}uy(My)}let t=sy(e.target),n=e.pointerType===`pen`&&t!=null&&hy(t),r=t!=null&&!n&&cy(t);if(zy=Date.now(),By=e.target instanceof Node?e.target:null,t==null||Xv(t,e.pointerType))return;let i=Py?.start(t,e.target)??null,a=r?null:{element:t,gesture:gd(),pointerId:e.pointerId,timer:null};i!=null&&(Ny={pointerId:e.pointerId,live:a,end:i}),a!=null&&(fy(Fy,t),My.live=a,oy(My,hd(a.gesture,{kind:`down`,x:e.clientX,y:e.clientY,delayed:!n&&G_(t)}),Av(e.timeStamp,e)))}function See(e){let t=My.live;t==null||t.pointerId!=null&&e.pointerId!==t.pointerId||Kv(t.element)||oy(My,hd(t.gesture,{kind:`move`,x:e.clientX,y:e.clientY}))}function Cee(e){if(e.pointerType===`mouse`){Fy.live!=null&&Fy.live.pointerId===e.pointerId&&vy();return}if(zy=Date.now(),e.target instanceof Node&&(By=e.target),Ny!=null&&Ny.pointerId===e.pointerId){let e=Ny.live;$v(e!=null&&My.live===e&&e.gesture.phase!==`dead`)}let t=My.live;if(t==null||t.pointerId!=null&&e.pointerId!==t.pointerId)return;let n=e.pointerType===`pen`&&_y(t.element)?`cancel`:`up`;oy(My,hd(t.gesture,{kind:n})),ly(My)}function by(e){let t=e;if(t?.pointerType===`mouse`){Fy.live!=null&&Fy.live.pointerId===t.pointerId&&yy();return}t?.pointerId!=null&&Ny?.pointerId===t.pointerId&&$v(!1);let n=My.live;n!=null&&(oy(My,hd(n.gesture,{kind:`cancel`})),ly(My))}function wee(){by(),yy()}function Tee(e){let t=e.target instanceof Node?e.target:document;Date.now()-zy<3e3&&By!=null&&t.contains(By)&&(Ly=Date.now(),Ry=t);let n=My.live;n!=null&&(t===document||t.contains(n.element))&&by()}function Eee(e){return e instanceof HTMLButtonElement||e instanceof HTMLInputElement&&Ay.has(e.type)}function Dee(e){return e instanceof Element&&Xv(e)}function xy(e){e.key!==` `||e.repeat||e.isComposing||e.defaultPrevented||!Eee(e.target)||!(py()||Dee(e.target))||gy(e.target,null)}function Sy(e){e.key===` `&&Fy.live!=null&&Fy.live.pointerId==null&&vy()}function Cy(){Fy.live!=null&&Fy.live.pointerId==null&&vy()}function Oee(){document.visibilityState===`hidden`&&($v(!1),uy(My),uy(Fy))}function wy(e){e!==(Wy!=null)&&(e?Wy=bu(window,`touchcancel`,by):(Wy?.(),Wy=null))}function kee(){Gy??(Gy=us(window,wy),wy(ss(window)))}function Aee(){Uy=[bu(window,`pointerdown`,xee),bu(window,`pointermove`,See),bu(window,`pointerup`,Cee),bu(window,`pointercancel`,by),bu(window,`dragstart`,wee),bu(window,`scroll`,Tee),bu(window,`visibilitychange`,Oee)],window.addEventListener(`keydown`,xy,qy)}function jee(){$v(!1),Py?.endWaits();for(let e of Uy.splice(0))e();Gy?.(),Gy=null,wy(!1),window.removeEventListener(`keydown`,xy),Ty(!1)}function Ty(e){e!==Jy&&(Jy=e,e?(window.addEventListener(`keyup`,Sy,qy),window.addEventListener(`blur`,Cy,Ky)):(window.removeEventListener(`keyup`,Sy),window.removeEventListener(`blur`,Cy,Ky)))}function Mee(){if(typeof window>`u`)return()=>void 0;Iy===0&&Aee(),Iy+=1;let e=!1;return()=>{e||(e=!0,--Iy,Iy>0||(jee(),uy(My),uy(Fy),Ly=0,Ry=null,zy=0,By=null))}}var Ey,Dy,Oy,ky,Ay,jy,My,Ny,Py,Fy,Iy,Ly,Ry,zy,By,Vy,Hy,Uy,Wy,Gy,Ky,qy,Jy,Yy=o((()=>{pv(),yd(),ds(),hv(),Km(),Cv(),Dv(),Pu(),J_(),jv(),Fv(),Vv(),Gv(),Jv(),Qv(),Ey=`data-astryx-pressable`,Dy=`data-astryx-press`,Oy={[Ey]:``},ky=`:disabled, [aria-disabled=\"true\"]`,Ay=new Set([`button`,`image`,`reset`,`submit`]),jy=`[${fv}]`,My={live:null},Ny=null,Py=null,Fy={live:null},Iy=0,Ly=0,Ry=null,zy=0,By=null,Vy={fade:_d,flash:100,onset:150},Hy={fade:`fadeEnd`,flash:`flashEnd`,onset:`onset`},Uy=[],Wy=null,Gy=null,Ky={capture:!0,passive:!0},qy={passive:!0},Jy=!1}));function Xy(e){return e.matches(ob)&&!e.matches(sb)}function Zy(e,t,n=Xy){let r=e;for(;r!=null&&r!==t&&r!==document.body;){if(n(r))return r;r=r.parentElement}return null}function Qy(e,t){return Zy(e,t,$y)!=null}function $y(e){return Xy(e)||iv(e)}function eb(e,t,n){let r=e.target;t!=null&&(e.pointerType===`touch`||Lv(t).length!==0)&&r instanceof Element&&r!==e.currentTarget&&Qy(r,t)&&n?.contains(r)!==!0&&dy(t)}function tb(e){if(typeof document>`u`||!(`getSelection`in document))return!1;let t=document.getSelection();return t==null||t.isCollapsed?!1:e.contains(t.anchorNode)}function nb(e){let{containerRef:t}=e;return(0,ib.useEffect)(()=>{let e=t.current;e&&e.setAttribute(ab,`true`)},[t]),rb(e)}function rb({containerRef:e,interactiveRef:t,onClick:n,href:r,target:i,disabled:a=!1}){return{onClick:(0,ib.useCallback)(o=>{if(a)return;let s=e.current;if(!s||tb(s))return;let c=o.target;if(c instanceof Element&&!(c!==o.currentTarget&&Qy(c,s))&&(n?.(o),!o.defaultPrevented&&(r!=null&&lv(r)&&(i===`_blank`||o.ctrlKey||o.metaKey?window.open(r,`_blank`,`noopener`):t?.current?t.current.click():window.location.href=r),r==null&&n==null&&t?.current))){let e=new MouseEvent(`click`,{bubbles:o.bubbles,cancelable:o.cancelable,ctrlKey:o.ctrlKey,metaKey:o.metaKey,shiftKey:o.shiftKey,altKey:o.altKey,button:o.button});t.current.dispatchEvent(e),o.stopPropagation()}},[e,t,n,r,i,a]),onMouseUp:(0,ib.useCallback)(t=>{if(a)return;let n=e.current;if(!n)return;let i=t.target;i instanceof Element&&t.button===1&&r!=null&&lv(r)&&(i===t.currentTarget||!Qy(i,n))&&window.open(r,`_blank`,`noopener`)},[e,r,a]),onPointerDown:(0,ib.useCallback)(n=>{a||eb(n,e.current,t?.current??null)},[e,t,a])}}var ib,ab,ob,sb,cb=o((()=>{ib=u(f(),1),ov(),dv(),Yy(),Vv(),ab=`data-pressable-container`,ob=[`button`,`a`,`input`,`select`,`textarea`,`[role=\"button\"]`,`[role=\"link\"]`,`[role=\"checkbox\"]`,`[role=\"radio\"]`,`[role=\"switch\"]`,`[role=\"tab\"]`,`[role=\"menuitem\"]`,`[role=\"option\"]`,`[role=\"combobox\"]`,`[role=\"listbox\"]`,`[role=\"slider\"]`,`[role=\"spinbutton\"]`,`[${ab}]`].join(`,`),sb=`[aria-readonly=\"true\"]`}));function lb(e){if(e.getAttribute(`aria-disabled`)===`true`)return!0;try{return e.matches(`:disabled`)}catch{return!1}}var ub=o((()=>{}));function db(e){let t=(0,vb.useRef)(!1),n=e=>{t.current=Np.has(e.pointerType)},r=e=>{t.current&&e.preventDefault(),t.current=!1};return e===`click`?{onPointerDown:n,onClick:r}:{onPointerDown:n,onMouseDown:r}}function fb(e){if(lb(e))return!1;let t=e.getAttribute(`role`);if(t!=null&&t!==``)return yb.has(t);switch(e.tagName){case`LABEL`:{let t=e.control;return t==null||!lb(t)}case`BUTTON`:case`INPUT`:case`SELECT`:case`SUMMARY`:case`TEXTAREA`:return!0;case`A`:case`AREA`:return e.hasAttribute(`href`);default:return hb(e)}}function pb(e){if(lb(e))return!0;if(e.tagName===`LABEL`){let t=e.control;return t!=null&&lb(t)}return!1}function mb(e){let t=Zy(e,null,e=>Xy(e)||e.tagName===`LABEL`||lb(e));return t!=null&&pb(t)}function hb(e){if(e.isContentEditable===!0)return!0;let t=e.getAttribute(`contenteditable`);return t!=null&&t!==`false`}function gb(e){let t=_b(e);return{isTouchPointerRef:t.isTouchPointerRef,isTouchInteraction:t.isTouchInteraction,handlePointerEnter:t.handlePointerEnter,handlePointerDown:t.handlePointerDown,clearTapOpen:t.clearTapOpen}}function _b(e,t,n=!1){let{touchTrigger:r,isEnabled:i,isControlled:a,isOpen:o,layerId:s,triggerRef:c,show:l,hide:u}=e,d=(0,vb.useRef)(!1),f=nu(u),p=nu(s),m=nu(t),h=(0,vb.useRef)(!1),g=(0,vb.useRef)(null),_=(0,vb.useRef)([]),v=kp();If(c);let y=(0,vb.useCallback)(()=>{h.current=!1;let e=g.current;if(e!=null){g.current=null;for(let t of _.current)t.removeEventListener(`pointerup`,e,!0),t.removeEventListener(`pointercancel`,e,!0);_.current=[]}},[]),b=(0,vb.useCallback)(()=>{if(h.current=!0,g.current!=null)return;let e=c.current?.ownerDocument??document,t=e===document?[document]:[document,e],n=e=>{let n=e.target;if(n!=null){if(e.type===`pointerup`&&c.current?.contains(n)===!0)return;if(t.some(e=>e.getElementById(p.current)?.contains(n)===!0)){e.type===`pointerup`&&m.current?.();return}}y(),n!=null&&Y_(n.ownerDocument??document),f.current()};g.current=n,_.current=t;for(let e of t)e.addEventListener(`pointerup`,n,!0),e.addEventListener(`pointercancel`,n,!0)},[c,y,f,p,m]);(0,vb.useEffect)(()=>y,[y]);let x=(0,vb.useCallback)(()=>d.current&&Rf(c.current),[c]),S=(0,vb.useCallback)(e=>{d.current=e.pointerType===`touch`},[]),C=nu(e=>{let t=c.current,a=Qu(e?.target)?e.target:null;if(n&&a!=null&&td(t)){let e=uf(a,t);if(e!=null&&e!==t&&!mb(a))return}(r===`auto`?a!=null&&mb(a)?`tap`:t!=null&&fb(t)?`none`:`tap`:r)===`none`||!i||o||h.current?(y(),u()):(b(),l())}),w=(0,vb.useCallback)(e=>{let t=Np.has(e.pointerType);if(d.current=t,!t||a)return v.forget(),!1;let n=e.currentTarget instanceof Element?e.currentTarget:c.current;return v.press(e,n,e=>C.current(e)),!0},[a,c,v,C]),T=(0,vb.useRef)(o);return(0,vb.useEffect)(()=>{T.current&&!o&&y(),T.current=o},[o,y]),{isTouchPointerRef:d,isTouchInteraction:x,handlePointerEnter:S,handlePointerDown:w,clearTapOpen:y,armOutsideDismiss:b,answerTap:(0,vb.useCallback)(e=>C.current(e),[C])}}var vb,yb,bb=o((()=>{vb=u(f(),1),au(),Pp(),nv(),cb(),ub(),od(),Of(),Hf(),yb=new Set([`button`,`checkbox`,`combobox`,`link`,`menuitem`,`menuitemcheckbox`,`menuitemradio`,`option`,`radio`,`searchbox`,`slider`,`spinbutton`,`switch`,`tab`,`textbox`])}));function xb(e){return()=>{let t=e.withdraw;e.withdraw=null,t?.()}}function Sb(e,t){for(let{text:n,receipts:r}of e)for(let e of r)e.withdraw=t(n)}function Cb(e){let t=Xb.clearTimers[e];t!=null&&(clearTimeout(t),Xb.clearTimers[e]=null)}function wb(e){let t=Xb.pendingFrames[e];t!=null&&(cancelAnimationFrame(t),Xb.pendingFrames[e]=null),Xb.pendingMessages[e]=[]}function Tb(e,t){Cb(e),Xb.clearTimers[e]=setTimeout(()=>{Xb.clearTimers[e]=null,t.textContent=``},Yb)}function Eb(e){let t=document.createElement(`div`);return t.setAttribute(qb,e),t.setAttribute(`aria-live`,e),t.setAttribute(`aria-atomic`,`true`),t.setAttribute(`role`,e===`assertive`?`alert`:`status`),t.style.cssText=Jb,document.body.appendChild(t),t}function Db(){return typeof document>`u`?null:Xb.regions?(Xb.regions.polite.isConnected||document.body.appendChild(Xb.regions.polite),Xb.regions.assertive.isConnected||document.body.appendChild(Xb.regions.assertive),Xb.regions):(Xb.regions={polite:Eb(`polite`),assertive:Eb(`assertive`)},Xb.regions)}function Ob(e,t){let n=Db();if(!n)return null;let r=t===`assertive`?n.assertive:n.polite,i=Xb.pendingMessages[t].find(t=>t.text===e);if(i!=null)return i.holders+=1,Xb.lastJoined=i,()=>Gb(i,t);let a={text:e,holders:1};return Xb.pendingMessages[t].push(a),Xb.lastJoined=a,Xb.pendingFrames[t]??(r.textContent=``,Xb.pendingFrames[t]=requestAnimationFrame(()=>{Xb.pendingFrames[t]=null,r.textContent=Xb.pendingMessages[t].map(e=>e.text).join(` `),Xb.pendingMessages[t]=[]})),Tb(t,r),()=>Gb(a,t)}function kb(e){if(wb(e),Cb(e),!Xb.regions)return;let t=e===`assertive`?Xb.regions.assertive:Xb.regions.polite;t.textContent=``}function Ab({hasReplace:e=!1}={}){let t=(0,Kb.use)(Qb),n=(0,Kb.useRef)(null);return(0,Kb.useCallback)((r,i=`polite`)=>{if(e){let e=n.current;n.current=null,e?.()}let a;t!=null&&Xb.modalRoute!=null?a=Xb.modalRoute.announce(t,r,i):r?a=Ob(r,i):(kb(i),a=null),e&&(n.current=a)},[e,t])}function jb(e){Xb.modalRoute=e}function Mb(e){return e!=null&&e.open&&rd(e)}function Nb(e){let t=e?.closest(`dialog`)??null;for(;t!=null;){if(Mb(t))return t;t=t.parentElement?.closest(`dialog`)??null}return null}function Pb(e,t,n=`polite`){return Xb.modalRoute==null?Mb(e)?Vb(e,t,n):Ob(t,n):Xb.modalRoute.announceInModal(e,t,n)}function Fb(e){e.frame!=null&&cancelAnimationFrame(e.frame),e.settleFrame!=null&&cancelAnimationFrame(e.settleFrame),e.timer!=null&&clearTimeout(e.timer)}function Ib(e){return Rb(e).map(e=>e.text)}function Lb(e){return e.messages.map(t=>({text:t,receipts:e.receipts.get(t)??[]}))}function Rb(e){let t=$b.get(e);return t==null?[]:t.frame!=null||t.settleFrame!=null?Lb(t):[]}function zb(e,t){return e.querySelector(`:scope > [${Zb}=\"${t}\"]`)}function Bb(e,t){let n=zb(e,t);return n??(n=document.createElement(`div`),n.setAttribute(Zb,t),n.setAttribute(`role`,t===`assertive`?`alert`:`status`),n.setAttribute(`aria-live`,t),n.setAttribute(`aria-atomic`,`true`),n.style.cssText=Jb,e.appendChild(n)),n}function Vb(e,t,n,r){let i=Bb(e,n),a=Ib(i),o=a.includes(t)?a:[...a,t],s=$b.get(i),c=a.length>0&&s!=null?s.receipts:new Map,l={withdraw:null};c.set(t,[...c.get(t)??[],l]),s!=null&&Fb(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()?($b.delete(i),r.redirect(Lb(u))):(i.textContent=u.messages.join(` `),u.settleFrame=requestAnimationFrame(()=>{u.settleFrame=null}),u.timer=setTimeout(()=>{i.textContent=``,$b.delete(i)},Yb))}),$b.set(i,u),l.withdraw=()=>Hb(i,t,l),xb(l)}function Hb(e,t,n){let r=$b.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?(Fb(r),$b.delete(e),e.textContent=``):r.frame??(e.textContent=r.messages.join(` `))))}function Ub(e,t){let n=zb(e,t);if(n==null)return;let r=$b.get(n);r!=null&&(Fb(r),$b.delete(n)),n.textContent=``}function Wb(){let e=Xb.lastJoined;return Xb.lastJoined=null,e}function Gb(e,t){let n=Xb.pendingMessages[t],r=n.indexOf(e);r<0||(--n[r].holders,n[r].holders<=0&&n.splice(r,1))}var Kb,qb,Jb,Yb,Xb,Zb,Qb,$b,ex=o((()=>{Kb=u(f(),1),ys(),od(),Xn(),qb=`data-astryx-live-region`,Jb=`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;`,Yb=2e3,Xb=Kn(`hooks/use-announce/channel`,1,()=>({clearTimers:{polite:null,assertive:null},pendingFrames:{polite:null,assertive:null},pendingMessages:{polite:[],assertive:[]},lastJoined:null,regions:null,modalRoute:null})),Zb=`data-astryx-modal-live-region`,Qb=_s(`ModalAnnounceContext`,1,null),Qb.displayName=`ModalAnnounceContext`,$b=Jn(`hooks/use-announce/pending-by-region`,1)}));function tx(){return(0,nx.useSyncExternalStore)(rx,ix,ax)}var nx,rx,ix,ax,ox=o((()=>{nx=u(f(),1),rx=()=>()=>{},ix=()=>!1,ax=()=>!0}));function Nee(e,t){return Array.from(e.childNodes).map(e=>{if(e.nodeType===Node.TEXT_NODE)return(e.textContent??``).replace(/\\s+/g,` `).trim();if(e.nodeType===Node.ELEMENT_NODE){let n=e;return n.matches(dx)||t!=null&&n.matches(t)?``:sx(n,t)}return``}).filter(e=>e!==``).join(` `)}function sx(e,t){let n=e.ownerDocument.defaultView,r=e=>n?.getComputedStyle(e).display??``,i=[],a=(e,n)=>{if(e.nodeType===Node.TEXT_NODE){i.push(e.textContent??``);return}if(e.nodeType!==Node.ELEMENT_NODE)return;let o=e;if(o.matches(dx)||t!=null&&o.matches(t))return;let s=r(o),c=o.matches(fx)||s!==``&&s!==`contents`&&!s.startsWith(`inline`)||/\\b(flex|grid)\\b/.test(n);c&&i.push(` `),o.childNodes.forEach(e=>a(e,s)),c&&i.push(` `)},o=r(e);return e.childNodes.forEach(e=>a(e,o)),i.join(``).replace(/\\s+/g,` `).trim()}function cx(e,t,n,{skipFirstRender:r=!1,politeness:i=`polite`,fallbackText:a,announce:o,exclude:s}={}){let c=Ab(),l=o??c,u=(0,lx.useRef)(null),d=tx(),[f]=(0,lx.useState)(()=>d||document.readyState!==`complete`),p=(0,lx.useRef)(!0);(0,lx.useEffect)(()=>{let o=p.current;p.current=!1;let c=e.current;if(!t||c?.closest(dx)||c?.checkVisibility?.()===!1){u.current=null;return}if(!c||r&&c.parentElement?.closest(ux))return;let d=r?Nee(c,s):sx(c,s);if(d===``&&a!==void 0&&(d=(c.getAttribute(`aria-labelledby`)??``).split(/\\s+/).map(e=>{let t=c.ownerDocument.getElementById(e);return t==null?``:sx(t)}).join(` `).replace(/\\s+/g,` `).trim()||a),d===``)return;let m=`${n}\\u0000${d}`;if(u.current===m)return;u.current=m;let h=o&&f||document.readyState!==`complete`;r&&h||l(d,i)})}var lx,ux,dx,fx,px=o((()=>{lx=u(f(),1),ex(),ox(),ux=`[role=\"log\"], [role=\"status\"], [role=\"alert\"], [aria-live=\"polite\"], [aria-live=\"assertive\"]`,dx=`[aria-hidden=\"true\"], [hidden]`,fx=`p, div, li, br, h1, h2, h3, h4, h5, h6`}));function mx(...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 hx=o((()=>{}));function gx(e,t,n,r,i,a){return(0,_x.useMemo)(()=>mx(e,t,n,r,i,a),[e,t,n,r,i,a])}var _x,vx=o((()=>{_x=u(f(),1),hx()})),yx,bx=o((()=>{hv(),G(),`${j[`--spacing-2`]}${j[`--spacing-2`]}`,B[`--duration-fast-max`],mv.duration,H[`--ease-standard`],yx={below:{kKVMdj:`x1d5jn3a x2g3n7u xaqowwx`,k44tkh:`x9uej1z x10got5w`,kyAemX:`x128ha8g`,kWV6AL:`xskzprw`,k3nNDw:`x9r0mi6`,$$css:!0},above:{kKVMdj:`xksu0ym x2g3n7u xaqowwx`,k44tkh:`x9uej1z x10got5w`,kyAemX:`x128ha8g`,kWV6AL:`xskzprw`,k3nNDw:`x9r0mi6`,$$css:!0},end:{kKVMdj:`xyzx0um xixcm9l x2g3n7u xaqowwx`,k44tkh:`x9uej1z x10got5w`,kyAemX:`x128ha8g`,kWV6AL:`xskzprw`,k3nNDw:`x9r0mi6`,$$css:!0},start:{kKVMdj:`x1qqotkc x1g7o29q x2g3n7u xaqowwx`,k44tkh:`x9uej1z x10got5w`,kyAemX:`x128ha8g`,kWV6AL:`xskzprw`,k3nNDw:`x9r0mi6`,$$css:!0}}}));function Pee(){return(0,Sx.use)(wx)}function xx({children:e}){let t=(0,Sx.use)(wx);return(0,Cx.jsx)(wx,{value:t+1,children:e})}var Sx,Cx,wx,Tx=o((()=>{Sx=u(f(),1),ys(),Cx=mc(),wx=_s(`LayerDepthContext`,1,0),wx.displayName=`LayerDepthContext`,xx.displayName=`LayerDepthProvider`}));function Ex(e){return e.isComposing===!0||e.keyCode===Dx}var Dx,Ox=o((()=>{Dx=229}));function Fee(e){let t=Rx.seqByToken.get(e);if(t!==void 0)return t;let n=Rx.nextSeq++;return Rx.seqByToken.set(e,n),n}function Iee(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 Lee(e){return e.isPresent?.()??!0}function Ree(){return Rx.composingDocuments.size>0}function kx(e){Rx.composingDocuments.add(e.currentTarget)}function Ax(e){Rx.composingDocuments.delete(e.currentTarget)}function jx(e){let t=null;for(let n of Rx.entries)n.ownerDocument===e&&Lee(n)&&(t==null||Iee(n,t)>0)&&(t=n);return t}function zee(e){let t=Rx.entries.find(t=>t.token===e);return t!=null&&jx(t.ownerDocument)===t}function Mx(){return typeof document>`u`?null:document}function Bee(e){let t=e.target;return t==null?null:t.nodeType===9?t:t.ownerDocument}function Nx(e){let t=jx(e);return t!=null&&(t.behavior===`block`||t.dismiss(),!0)}function Px(e){if(e.key!==`Escape`)return;let t=Bee(e)??Mx();Ex(e)?jx(t)!=null&&e.preventDefault():e.defaultPrevented||Nx(t)&&e.preventDefault()}function Fx(e){e.addEventListener(`keydown`,Px),e.addEventListener(`compositionstart`,kx,!0),e.addEventListener(`compositionend`,Ax,!0),e.addEventListener(`blur`,Ax,!0),Rx.stopListeningByDocument.set(e,()=>{e.removeEventListener(`keydown`,Px),e.removeEventListener(`compositionstart`,kx,!0),e.removeEventListener(`compositionend`,Ax,!0),e.removeEventListener(`blur`,Ax,!0)})}function Ix(e){Rx.stopListeningByDocument.get(e)?.(),Rx.stopListeningByDocument.delete(e),Rx.composingDocuments.delete(e)}function Lx(e){let t=e.getContainer?.()?.ownerDocument??Mx(),n={...e,seq:Fee(e.token),ownerDocument:t};if(Rx.entries.push(n),t!=null){let e=Rx.layerCountByDocument.get(t)??0;Rx.layerCountByDocument.set(t,e+1),e===0&&Fx(t)}return()=>{let e=Rx.entries.indexOf(n);if(e===-1||(Rx.entries.splice(e,1),t==null))return;let r=Rx.layerCountByDocument.get(t)??1;r>1?Rx.layerCountByDocument.set(t,r-1):(Rx.layerCountByDocument.delete(t),Ix(t))}}var Rx,zx=o((()=>{Ox(),Xn(),Rx=Kn(`layer/layer-stack/state`,1,()=>({entries:[],seqByToken:new WeakMap,nextSeq:0,layerCountByDocument:new Map,composingDocuments:new Set,stopListeningByDocument:new Map}))}));function Bx(e){return Vx(e,null)}function Vx(e,t){let{isActive:n,onDismiss:r,escapeBehavior:i=`close`,getContainer:a,isPresent:o,isEnabled:s=!0}=e,c=Pee(),l=(0,Hx.useRef)({}),u=(0,Hx.useRef)(!1),d=(0,Hx.useRef)(r),f=(0,Hx.useRef)(a),p=(0,Hx.useRef)(o);(0,Hx.useEffect)(()=>{d.current=r,f.current=a,p.current=o});let m=n&&s;return(0,Hx.useEffect)(()=>{if(!m)u.current=!1;else return u.current||=(l.current={},!0),Lx({token:l.current,depth:c,behavior:i,getContainer:()=>f.current?.()??null,isPresent:()=>p.current?.()??!0,dismiss:()=>d.current()})},[m,c,i,t]),{shouldDismissOnCloseRequest:(0,Hx.useCallback)(()=>m&&!Ree()&&zee(l.current),[m])}}var Hx,Ux=o((()=>{Hx=u(f(),1),Tx(),zx()}));function Wx(e){return e.localName===`input`?!Cf.has((e.getAttribute(`type`)??`text`).toLowerCase()):e.matches(`textarea, [contenteditable]:not([contenteditable=\"false\"])`)}function Gx(e={}){let{placement:t=`above`,alignment:n=`center`,delay:r=200,hideDelay:i=0,focusTrigger:a=`auto`,touchTrigger:o=`auto`,isEnabled:s=!0,isOpen:c,isDefaultOpen:l=!1,onShow:u,onHide:d}=e,{ref:f,anchorId:p,show:m,hide:h,isOpen:g,id:_,render:v}=b_({mode:`context`,onShow:u,onHide:d,keepsAnchorClear:!0}),y=Yx.container,x=(0,Kx.useRef)(null),S=(0,Kx.useRef)(null),C=(0,Kx.useRef)(null),w=(0,Kx.use)(ou),T=(0,Kx.useRef)(0);s||(T.current+=1);let E=(0,Kx.useCallback)(()=>{x.current&&=(clearTimeout(x.current),null),S.current&&=(clearTimeout(S.current),null)},[]),D=(0,Kx.useCallback)(()=>{E(),m()},[E,m]),O=(0,Kx.useCallback)(()=>{E(),h()},[E,h]),k=nu({isOpen:c,isLayerOpen:g,onShow:u,onHide:d}),A=(0,Kx.useRef)(!1),[M,N]=(0,Kx.useState)(!1),P=(0,Kx.useCallback)(e=>{A.current=e,N(e)},[]),F=(0,Kx.useRef)(!1),I=(0,Kx.useRef)(!1),L=(0,Kx.useCallback)(()=>{F.current&&A.current&&(F.current=!1,P(!1))},[P]),R=(0,Kx.useCallback)(()=>{if(A.current){P(!1);let e=k.current;if(e.isOpen!==void 0){e.onHide?.();return}}O()},[P,O,k]),{isTouchPointerRef:z,isTouchInteraction:B,handlePointerEnter:V,handlePointerDown:H,clearTapOpen:ee,armOutsideDismiss:U,answerTap:te}=_b({touchTrigger:o,isEnabled:s,isControlled:c!==void 0,isOpen:g,layerId:_,triggerRef:C,show:D,hide:R},L,!0),W=(0,Kx.useCallback)(()=>{let e=k.current;return A.current&&e.isLayerOpen&&e.isOpen!==!1},[k]),G=(0,Kx.useCallback)(()=>{ee(),P(!1);let e=k.current;e.isOpen===void 0?O():e.onHide?.()},[ee,P,O,k]),ne=(0,Kx.useCallback)(()=>{A.current&&P(!1)},[P]),re=(0,Kx.useCallback)(e=>{if(!W())return;let t=e.relatedTarget,n=C.current,r=n?.ownerDocument.defaultView;if(r==null||!(t instanceof r.Node))return;let i=n?.ownerDocument.getElementById(_)??null;n?.contains(t)!==!0&&i?.contains(t)!==!0&&(Y_(r.document),G())},[W,_,G]),ie=M&&g&&c!==!1,K=(0,Kx.useRef)(null);cx(K,ie,`pinned`);let q=gx(K,rv),ae=(0,Kx.useCallback)(()=>{if(!s||c===!1)return;E();let e=T.current;x.current=setTimeout(()=>{T.current===e&&m()},r)},[s,c,E,m,r]),oe=(0,Kx.useCallback)(()=>{c===!0||W()||(E(),S.current=setTimeout(()=>{h()},i>0?i:Jx))},[c,W,E,h,i]),se=(0,Kx.useCallback)(()=>{S.current&&=(clearTimeout(S.current),null)},[]),ce=(0,Kx.useCallback)(()=>{z.current||ae()},[z,ae]),le=(0,Kx.useCallback)(e=>{if(z.current)return;let t=e.relatedTarget,n=t==null?null:t.ownerDocument?.getElementById(_);n!=null&&n.contains(t)||oe()},[z,_,oe]),[J]=(0,Kx.useState)(du),ue=(0,Kx.useCallback)((e,t)=>t!=null&&!uu(e,t,a)||!Wx(e)&&Lf(e)===`pointer`?!1:!B()&&e.matches(`:focus-visible`),[a,B]),de=(0,Kx.useCallback)(e=>{if(!J.focusIn(e,a)||!s||!ue(e.target,null))return;E();let t=k.current;t.isOpen===!1?t.onShow?.():m()},[J,a,s,ue,E,m,k]),fe=(0,Kx.useCallback)(e=>{J.focusOut(e,a)&&oe()},[J,a,oe]),pe=(0,Kx.useRef)(!1),me=(0,Kx.useRef)(null),he=(0,Kx.useCallback)(()=>{me.current?.();let e=C.current?.ownerDocument.defaultView;if(e==null)return;pe.current=!0;let t=C.current,n=r=>{r?.type===`pointerup`&&r.target instanceof e.Node&&t?.contains(r.target)===!0&&(F.current=!1),e.removeEventListener(`pointerup`,n,!0),e.removeEventListener(`pointercancel`,n,!0),pe.current=!1,me.current=null};e.addEventListener(`pointerup`,n,!0),e.addEventListener(`pointercancel`,n,!0),me.current=n},[]),ge=nu({handleMouseEnter:ce,handleMouseLeave:le,handleFocusIn:de,handleFocusOut:fe,handleHeldFocusOut:re,handlePointerEnter:V,handlePointerDown:(0,Kx.useCallback)(e=>{he(),A.current?I.current&&(F.current=!0):H(e)?x.current&&=(clearTimeout(x.current),null):c===void 0&&(E(),h())},[H,he,c,E,h]),focusTrigger:a,isEnabled:s,isOpen:c,dropHold:ne,hideNow:O,showNow:D,opensOnFocus:ue,presentInterest:w,answerTap:te}),_e=(0,Kx.useRef)(null),ve=(0,Kx.useRef)(!1),ye=(0,Kx.useRef)(!1),be=(0,Kx.useCallback)(()=>{if(!ye.current)return;ye.current=!1;let e=ge.current;!e.isEnabled&&e.isOpen===void 0&&(ve.current=!0,e.dropHold(),e.hideNow())},[ge]);b(()=>{be()});let xe=(0,Kx.useCallback)(e=>{if(e==null){_e.current?.();return}if(e===C.current)return;_e.current?.();let t=()=>ge.current,n=e=>t().handlePointerEnter(e),r=()=>t().handleMouseEnter(),i=e=>t().handleMouseLeave(e),a=e=>t().handlePointerDown(e),o=e=>{t().focusTrigger!==`never`&&t().handleFocusIn(e)},s=e=>{t().focusTrigger!==`never`&&t().handleFocusOut(e)},c=e=>t().handleHeldFocusOut(e);e.addEventListener(`pointerenter`,n),e.addEventListener(`mouseenter`,r),e.addEventListener(`mouseleave`,i),e.addEventListener(`pointerdown`,a),e.addEventListener(`focusin`,o),e.addEventListener(`focusout`,s),e.addEventListener(`focusout`,c),C.current=e;let l=e.ownerDocument.activeElement,u=ve.current;t().isEnabled&&(ve.current=!1),u&&t().isEnabled&&t().isOpen===void 0&&t().focusTrigger!==`never`&&l instanceof HTMLElement&&e.contains(l)&&t().opensOnFocus(l,e)&&t().showNow();let d=t().presentInterest?.current,f=d==null||d.isRead?null:d.interest,p=d?.tapEvent??null;d!=null&&(d.isRead=!0),t().isEnabled&&t().isOpen===void 0&&(f===`hover`?t().handleMouseEnter():f===`tap`?t().answerTap(p):f===`focus`&&t().focusTrigger!==`never`&&l instanceof HTMLElement&&e.contains(l)&&t().opensOnFocus(l,e)&&t().showNow());let m=()=>{_e.current===m&&(_e.current=null),e.removeEventListener(`pointerenter`,n),e.removeEventListener(`mouseenter`,r),e.removeEventListener(`mouseleave`,i),e.removeEventListener(`pointerdown`,a),e.removeEventListener(`focusin`,o),e.removeEventListener(`focusout`,s),e.removeEventListener(`focusout`,c),me.current?.(),C.current===e&&(C.current=null),ye.current=!0,queueMicrotask(be)};return _e.current=m,m},[ge,be]),Se=(0,Kx.useCallback)(e=>{f(e);let t=xe(e);if(e!=null)return()=>{t?.(),f(null)}},[f,xe]);return(0,Kx.useEffect)(()=>()=>{E()},[E]),(0,Kx.useEffect)(()=>{l&&m()},[]),(0,Kx.useEffect)(()=>{c!==void 0&&(c?(E(),m()):(E(),ne(),h()))},[c,E,m,h,ne]),Bx({isActive:!0,isPresent:()=>{let e=typeof document>`u`?null:document.getElementById(_);if(e==null)return!1;try{return e.matches(`:popover-open`)}catch{return g}},onDismiss:()=>{E(),ee(),ne(),c===void 0?h():d?.()}}),{ref:Se,positionRef:f,interactionRef:xe,anchorId:p,describedBy:_,renderTooltip:(0,Kx.useCallback)((e,r)=>{let i=r?.placement??t,a={placement:i,alignment:r?.alignment??n,offset:j[`--spacing-1`],role:`tooltip`,xstyle:[y,yx[i]],className:Y(`tooltip`).className,onMouseEnter:se,onMouseLeave:oe};return v((0,qx.jsx)(`div`,{ref:q,className:`xfsso4q xy143xn x12gdq22 x1djylfy xw5ewwj x13faqbe`,children:e}),a)},[v,t,n,y,se,oe,q]),show:(0,Kx.useCallback)(()=>{if(E(),!s)return;P(!0),U(),F.current=pe.current,I.current=!0,C.current?.ownerDocument.defaultView?.setTimeout(()=>{I.current=!1},0);let e=k.current;e.isOpen===void 0?m():e.onShow?.()},[E,s,P,U,m,k]),hide:(0,Kx.useCallback)(()=>{E(),G()},[E,G])}}var Kx,qx,Jx,Yx,Xx=o((()=>{Kx=u(f(),1),au(),x(),su(),fu(),Hf(),Of(),j_(),bb(),px(),vx(),bx(),ov(),nv(),Ux(),vr(),G(),qx=mc(),Jx=100,Yx={container:{kWkggS:`xenstv7`,kMwMTN:`xrkvqaz`,kaIpWk:`x1hviunn`,kMv6JI:`x9ynric`,kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,$$css:!0}}}));function Zx(e){return(...t)=>C(e,...t)}var Qx,$x,eS,tS,nS,rS,iS,aS,oS=o((()=>{D(),G(),Qx=I[`--focus-outline-width`],$x=I[`--focus-outline-style`],eS=I[`--focus-outline-color`],tS=I[`--focus-outline-offset`],`${Qx}${$x}${eS}`,nS={outlineWidth:Qx,outlineStyle:$x,outlineColor:eS,outlineOffset:tS},rS={outlineWidth:``,outlineStyle:``,outlineColor:``,outlineOffset:``},iS={focusVisible:{kMeerF:`x1k57tk5 x1vidyx5`,k3XXqK:`x1t137rt x1jhp3zv`,kjBf7l:`xx47ajj`,kInvED:`x1wfwxd8 x1vwwbsn`,$$css:!0},focusWithin:{kMeerF:`x1k57tk5 x11j6mr8`,k3XXqK:`x1t137rt xciu248`,kjBf7l:`x1uy843r`,kInvED:`x1wfwxd8 x1jumodi`,$$css:!0},focusWithinFirstChild:{kMeerF:`x1k57tk5 xmmisi4`,k3XXqK:`x1t137rt xfd04fr`,kjBf7l:`xobxmqy`,kInvED:`x1wfwxd8 x2vr5qc`,$$css:!0},focusWithinCombobox:{kMeerF:`x1k57tk5 x1ufq04b`,k3XXqK:`x1t137rt x151uj7h`,kjBf7l:`x4jz7i8`,kInvED:`x1wfwxd8 x1fz9cfn`,$$css:!0},suppressed:{kMeerF:`x1k57tk5`,k3XXqK:`x1t137rt`,kInvED:`x1wfwxd8`,$$css:!0},publishFocusVisibleVars:{\"--_focus-outline\":`x17wzz1v xqih627`,\"--_focus-outline-offset\":`xgzxwq1 xqchwus`,$$css:!0},focusWithinOrPublished:{kI3sdo:`xaw4jrz x16s19ga`,kInvED:`x1kvmbwa x1jumodi`,$$css:!0}},aS={focusVisible:Zx(iS.focusVisible),focusWithin:Zx(iS.focusWithin),focusWithinFirstChild:Zx(iS.focusWithinFirstChild),suppressed:Zx(iS.suppressed),publishFocusVisibleVars:Zx(iS.publishFocusVisibleVars),focusWithinOrPublished:Zx(iS.focusWithinOrPublished)}})),sS=c({Tooltip:()=>uS,UndescribedTooltip:()=>dS});function cS(e){return typeof e==`string`||typeof e==`number`}function lS(...e){let t=e.filter(Boolean);return t.length>0?t.join(` `):void 0}function uS({children:e,anchorRef:t,content:n,placement:r=`above`,alignment:i=`center`,delay:a=200,hideDelay:o=0,focusTrigger:s=`auto`,touchTrigger:c=`auto`,isEnabled:l=!0,onOpenChange:u,hasHoverIndication:d=`auto`,isOpen:f,isDefaultOpen:p}){let m=(0,fS.useRef)(null),h=e!=null&&cS(e),g=d===!0||d===`auto`&&h,_=Gx({placement:r,alignment:i,delay:a,hideDelay:o,focusTrigger:s,touchTrigger:c,isEnabled:l,isOpen:f,isDefaultOpen:p,onShow:(0,fS.useCallback)(()=>{u?.(!0)},[u]),onHide:(0,fS.useCallback)(()=>{u?.(!1)},[u])});return b(()=>{if(!t)return;let e=e=>{_.ref(e);let t=e.getAttribute(`aria-describedby`);return e.setAttribute(`aria-describedby`,lS(t,_.describedBy)??``),()=>{_.ref(null),t?e.setAttribute(`aria-describedby`,t):e.removeAttribute(`aria-describedby`)}},n=t.current;if(n)return e(n);let r,i=!1;return queueMicrotask(()=>{if(i)return;let n=t.current;n&&(r=e(n))}),()=>{i=!0,r?.()}},[t,_.ref,_.describedBy]),b(()=>{if(t||h)return;let e=m.current;if(!e)return;let n=e.firstElementChild;if(!n)return;_.ref(n);let r=n.getAttribute(`aria-describedby`);return n.setAttribute(`aria-describedby`,lS(r,_.describedBy)??``),()=>{_.ref(null),r?n.setAttribute(`aria-describedby`,r):n.removeAttribute(`aria-describedby`)}},[t,h,_.ref,_.describedBy]),t&&e==null?(0,pS.jsx)(pS.Fragment,{children:_.renderTooltip(n)}):h?(0,pS.jsxs)(pS.Fragment,{children:[(0,pS.jsx)(`span`,{ref:_.ref,tabIndex:0,\"aria-describedby\":_.describedBy,...aS.focusVisible(mS.wrapperInline,g&&mS.hoverIndication),children:e}),_.renderTooltip(n)]}):(0,pS.jsxs)(pS.Fragment,{children:[(0,pS.jsx)(`div`,{ref:m,className:`xjp7ctv`,children:e}),_.renderTooltip(n)]})}function dS({anchorRef:e,content:t,onHide:n}){let r=Gx({placement:`above`,isOpen:!0,onHide:n}),i=r.ref;return b(()=>{i(e.current)}),b(()=>()=>{i(null)},[i]),r.renderTooltip(t)}var fS,pS,mS,hS=o((()=>{fS=u(f(),1),x(),oS(),Xx(),pS=mc(),mS={wrapperInline:{k1xSpc:`xt0psk2`,$$css:!0},hoverIndication:{kMnn75:`xujl8zx`,kmVMDM:`xev0dqp`,k1TLXF:`xycaml9`,kcSHmL:`xrys4gj`,$$css:!0}},uS.displayName=`Tooltip`})),gS={anthropic:`data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+QW50aHJvcGljPC90aXRsZT48cGF0aCBkPSJNMTcuMzA0MSAzLjU0MWgtMy42NzE4bDYuNjk2IDE2LjkxOEgyNFptLTEwLjYwODIgMEwwIDIwLjQ1OWgzLjc0NDJsMS4zNjkzLTMuNTUyN2g3LjAwNTJsMS4zNjkzIDMuNTUyOGgzLjc0NDJMMTAuNTM2MyAzLjU0MDlabS0uMzcxMiAxMC4yMjMyIDIuMjkxNC01Ljk0NTYgMi4yOTE0IDUuOTQ1NloiLz48L3N2Zz4=`,blaxel:`data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzAiIHZpZXdCb3g9IjAgMCAzMiAzMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMwIiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNMjEuODk1OCAxNS4xOTMyQzIxLjc2NDQgMTQuOTgxMiAyMS43NjggMTQuNzEwNSAyMS44OTU4IDE0LjUwMTdMMjcuNzkwMSA1LjAxNDQxQzI4LjIwMjYgNC4zNTIzNCAyNy4zMjYzIDMuNjQ5OTEgMjYuNzcxMiA0LjE5NTA4TDE2LjQ2MjEgMTQuMzczOUMxNi4yMDY0IDE0LjYyNjMgMTUuNzkzNiAxNC42MjYzIDE1LjUzOCAxNC4zNzM5TDUuMjI4NzYgNC4xOTg1OUM0LjY3MzcyIDMuNjQ5OTEgMy43OTY5OSA0LjM1MjM0IDQuMjA2MjcgNS4wMTQ0MUwxMC4xMDAzIDE0LjQ5ODJDMTAuMjMxNyAxNC43MTA1IDEwLjIzMTcgMTQuOTc3MyAxMC4xMDAzIDE1LjE4OTdMNC4xMDM5NiAyNC45ODhDMy42OTg2MyAyNS42NTAxIDQuNTcxNDEgMjYuMzQ5IDUuMTI2NDUgMjUuODAzOEwxNS41MzggMTUuNTI2NEMxNS43OTM2IDE1LjI3NCAxNi4yMDY0IDE1LjI3NCAxNi40NjIxIDE1LjUyNjRMMjYuODczNiAyNS44MDM4QzI3LjQyODYgMjYuMzQ5IDI4LjMwMTQgMjUuNjUzOSAyNy44OTYgMjQuOTg4TDIxLjg5NTggMTUuMTkzMloiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo=`,boat:`data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDk3Ljk4NSIgaGVpZ2h0PSI0NjIuMDk0IiB2aWV3Qm94PSIwIDAgNDk3Ljk4NSA0NjIuMDk0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNDkwLjEyMyAzNjEuNDYxQzQ5NC40NjQgMzYxLjQ2MSA0OTcuOTg1IDM2NC45NzggNDk3Ljk4NSAzNjkuMzIzVjQwMy45MTZDNDk3Ljk4NSA0MDguMjU2IDQ5NC40NjQgNDExLjc3NyA0OTAuMTIzIDQxMS43NzdINDczLjMxN0M0NjguOTQxIDQxMS43NzcgNDY1LjM5NiA0MTUuMzI3IDQ2NS4zOTYgNDE5LjY5OVY0NTQuMjMyQzQ2NS4zOTYgNDU4LjU3MyA0NjEuODc1IDQ2Mi4wOTQgNDU3LjUzNCA0NjIuMDk0SDg0LjM1NzlDODMuMTQ0NiA0NjIuMDk0IDgxLjk3NzMgNDYxLjUxMSA4MS4yMjYzIDQ2MC41NThDNTIuNDYwNyA0MjQuMDU0IDUxLjk2OTEgNDIzLjU5NSA3Ljg2NDI2IDQxMS43NzdDMy42NzA0MyA0MTAuNjUzIDAgNDA4LjI1NiAwIDQwMy45MTZWMzY5LjMyM0MwIDM2NC45NzggMy41MjIzNSAzNjEuNDYxIDcuODY0MjYgMzYxLjQ2MUg0OTAuMTIzWk0yMzQuMTY3IDQuODE3NTZDMjM4LjU4OSAtMi41NjgzNCAyNDkuNjc5IC0xLjE4MjI5IDI1Mi4xNDggNy4wNjQ2M0wzMjEuOTM4IDI0MC4yMkwyNDQuMzY2IDMzOC4zMzRINTEuOTYxN0M0NC4yNjk2IDMzOC4zMzQgMzkuNTE1NCAzMjkuOTQ3IDQzLjQ2NjUgMzIzLjM0N0wyMzQuMTY3IDQuODE3NTZaTTQ1My4wNTYgMTMyLjI2MEM0NTEuMTkyIDEyNC4xNjYgNDQwLjc5MSAxMjEuODI2IDQzNS42NDAgMTI4LjM0MUwyODIuMjk1IDMyMi4yOTJDMjc3LjE2MyAzMjguNzg0IDI4MS43ODYgMzM4LjMzNCAyOTAuMDYzIDMzOC4zMzRINDg4LjA4MEM0OTQuNDQ1IDMzOC4zMzQgNDk5LjE1NyAzMzIuNDE0IDQ5Ny43MjggMzI2LjIxMEw0NTMuMDU2IDEzMi4yNjBaIiBmaWxsPSIjMjYzRkE5Ii8+Cjwvc3ZnPgo=`,daytona:`data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjc1IiBoZWlnaHQ9IjI4NyIgdmlld0JveD0iMCAwIDI3NSAyODciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8c3R5bGU+CiAgICAgICAgcGF0aCB7IGZpbGw6ICMxMjEyMTI7IH0KICAgIDwvc3R5bGU+CiAgICA8cGF0aCBkPSJNMTQuNTU4NCAxOTMuNzM2SDExNC4yNzVWMjI3LjkyNUgxNC41NTg0VjE5My43MzZaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTE0OC40NjQgNzQuMDc2SDI2Mi40MjZWMTA4LjI2NUgxNDguNDY0Vjc0LjA3NloiIGZpbGw9IndoaXRlIi8+CiAgICA8cGF0aCBkPSJNODguNjMzOCA4NC42MTI3TDE3My4yNDYgMEwxOTcuNDIyIDI0LjE3NUwxMTIuODA5IDEwOC43ODhMODguNjMzOCA4NC42MTI3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik04OS4xNTcgMTcwLjA4NEwyNC4xNzUgMTA1LjEwMkwwIDEyOS4yNzdMNjQuOTgxOSAxOTQuMjU5TDg5LjE1NyAxNzAuMDg0WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0xNzQuNjI5IDIxNy45MTFMMTA2LjEzMyAyODYuNDA3TDgxLjk1NzcgMjYyLjIzMkwxNTAuNDU0IDE5My43MzZMMTc0LjYyOSAyMTcuOTExWiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0xNzQuMTA2IDEzMi40NEwyNTAuNjYgMjA4Ljk5NEwyNzQuODM1IDE4NC44MTlMMTk4LjI4MSAxMDguMjY1TDE3NC4xMDYgMTMyLjQ0WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik04OC42MzM4IDQ4LjQzNFYxMzEuMDU3SDU0LjQ0NTFMNTQuNDQ1MSA0OC40MzRIODguNjMzOFoiIGZpbGw9IndoaXRlIi8+CiAgICA8cGF0aCBkPSJNMjA4LjI5NCAxNjguMDk0VjI3MC42NkgxNzQuMTA2VjE2OC4wOTRIMjA4LjI5NFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo=`,e2b:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAOVBMVEUAAAD////AwMBQUFAWFhbJyckSEhK7u7vDw8M1NTU9PT2YmJjj4+PV1dWBgYGtra339/cuLi6QkJD2zvvIAAAA4UlEQVR4nO3ZUQ7CIBBFUUottla0uv/Favz1R3iTvGDuWYBzoxLrkBIAAAAAAAB+tc1dLjHT9+vUaQkZ3zv9LQfMr8L8iIDudz8o4CzN1wNmbb4eIH0BAgKKOF8OuLkD7u4A8QzoAZkAAoYPUJ8HvgKORzm1KNEBq/iCckB1B0x1abKHBzRSP7LxjyEBBBBAAAEE2APif45rbrE+owPsj2Qhazcl4NjMj+Wtwv+YtLIfQwKGD7AvqexrOvui0r6qtS+r/et6+4WF/8rGf2nlv7ZL9ovLD+/VLQAAAAAAwB97AY+NE1kLd2YOAAAAAElFTkSuQmCC`,freestyle:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAJ1BMVEVHcEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB+jSoGAAAADHRSTlMAIXBTieIQoDe78tMzCNXgAAAD5ElEQVR4nO1b25arIAwtIog6//+9p7aaBAgKDsE167Dfpq1kkzvBeb06Ojo6Ojr+JKxS9hnJSo+z+dlh5lE35eEmkI0wo2sj3Y6M9J3DIK8HO6WkfzHJUrgSv2EUlK+vxb+xaCHxds6S/8YsIt8tufLfSlD15Q+8JGN4XtXNMEai58HtHm/dMEc0Bln5U5R0XBggVRn48hd+bTuIMfBXPgl0n2g1P3B01fU01amV/rZWLGRu/wvqCksd+TT/ZGiV2muqIZ/m36yC60ofuMBSvBxhYLaeSf2qbSKOne3VXNZ8d03uDg1b4H+IVNVeyzsWVMBa8liyafpZC7MDPlkU1C5JIJlIeaA1Cxud09bJ5GsBE1uZfOo7rCEyfUHdVcCFCn5yQwotUOy9FyrIzJJggRtd3pHBjVkNGxSmZBc3KqujTdO7axrXkMFyqVYMpjs5LIpbqwMOl70ruEBREjpD0Lhd6QB+XfG047csF34AnUDVJts7X5169wCVuO7BW9GgSOdlTRqB2kde2mQlHNE/CFY/c5PVeQcPzsH1D/2EAWeE8CBUXT7tGJjeOSokAgTOWq1oDlAtD1Ho5P4C+Tf6uDygHN8LfPtPAqOGHWgEzws8/1/lxL/oVkmi8/qIykOGCKhn/CwjR9UDRBvagBjgul34NVy8V5IexPf/IufOw9hEAU0mz2CDoyqjAqT97wvY8N6YoE1Ecl8MjLmvw2ENaOEAGxZfIPwpM+xlAA3ix+XQAo3uPsKuE1JjxpmlEiaPAOhD8s4hQeATdUJNcDaBMCaaEthMAD7YzgXQ6hsBSEvNgpCkXvcMAd/qQKDKhDcLMAL6NAQPEPDP/w+YYPb23D4KghGQb5AWCIdwQW2UBwTh3n5AVmjTDpHquwucAkLSwGnRnvuxJW1iAxR3hB06ZZNMgCMgqL54LGpQD1EYhn2sFDmQeyXSfqBWpN6COECuVOhm8cAsfDKkVzqex+PHoqFI5fsNKLGMoBvQIUi4UZP+qhq8IVxoaqocmRO6865PYmf3ZlT1DwjBq1Bc1fGmdLVfSgpGsPwGgxumqi/JmQz58cXvknxd0GrN+4nS/BMmR/7LcrdsnKCPQrnCNaXWpyufWTe6YWMJ7AaNE8buRgy17CFYfPEa/x6qd+gkLv0MELgs+Dp8NyteDPJZqGtw9TjIgEBGqZmuCEDaDneTQyAnx6n5YQJvCuPDBM6f6AQ6gU7gPyGwpp+QrgXBYvFXMFEJC/tJNTwKTP4QxiaEkNXi9n1XG3OyOFsuAbXwygQG3PFhTsg/3lAvG8HoIXl9rYaBb1ld6ottubb/j9LR0dHR0ZGNf4dggm0oFaapAAAAAElFTkSuQmCC`,hopx:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAMFBMVEVHcEwAAAAAAAAAAAAAAAAAAAAAAAAAAAD////Nzc1lZWW2trbl5eU0NDSPj4/39/ch9SfFAAAAB3RSTlMAHNtmuZI8Z4+frwAAA3ZJREFUeJzFm9uiqyAMROVm2b3+/9+eY22qFoRkQDPvOilkRSvJMEAyowvB28ska30IbjTYneQa3cc4kfXu6CiM83nvRQcGYcLOL09WIhwRg2O6f2Jwfd1NkLjP6rgMprrxefk+IaD2vUIAFn+t0Gjv2uwntaSjEWX+niy8Dx1+/ixwERqS71cesDf97CeJt6Hb8pOE29AIX04iIDtu/yJBInShL5VV9mdHcJg/M4ID/VkRHJJ/i6qZeAB/W1Vo7F5/UhUrUuf6m1epKp/hf7ns+x+cgKTdRDwhAWbtpMEpCTArnwaHVqCtsvXotA2YlNsE8FZX7LLUHy2BEYsgKYhoBt7iHbvwNw/BEvCIMT6hK32fBbj/DyBil5oeC3Cd/OMNutb3WIDXO4D4gC5eLwGIwHP2j3/Q1WsQMP9LJGEoNhfB2zcADMWlHGJPgUdcBKH4fSKAKXhfBYChSGmIpeB17Y+hGJp24LUJAELRtuzAc+uPoWgaGIi/QlB0eBm+JQEgKHq4Cj0SfwxFOAXumQAQFEcwBa45fwRFB6bAKxsAgKLHqsAvgjiKFsvBHX8ERSgHUwRJchTNMIqvySFIEqM4AhBkESRJb+bkj8I8giQpikEewA6CJCGKQVwG9hAkCVH04jJQ8ZeiaKUB7CNIkqFohXWohCBJhqIwgCKCpAMDKCNIEqEoC6CCIEmCoigJawiSBCjKKGD6S1C0kkJUR5DER9ELSjEHQRIbRcmzgIUgiR8A+3HMQ5DERdHxX0iYCJKYKI7sVzIugiQmiob9Uir056LIfi3nI0hioWi5f0wkCJI4KHruXzMRgiTGfae/ZhwMZAiSGCga5t9zIYKkOorMDxRSBElVFD3zEw3oX0fR8T5SyREk1VA0rM90CIKkMor0qbTyQIQQJBXvTB8qy3uAIUgqovg9MSjuwV+bCndeji9PPbNctDq91Amg/cimTesjmxMPzhdtzu1Oal1Ya3tyqbAEP2e3py/Bbx/H6UuQNFGcDEKmn+ncAFJ//RYO9SYW/TYe9UYm/VYu/WY2/XY+9YZG/ZZO/aZW/bZe/cZm/dZu/eZ2/fZ+/QEH/REP/SGXQX3MZ9AfdBo68YiPevVZhNbZS+Vxv0F/4LEhhE727xB0h17f0h37fUt58HmOQXX0ewlif/h9PNh8iWIe///M/7eM//8DU2pmxvflAlsAAAAASUVORK5CYII=`,isorun:`data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS42IiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbGluZWNhcD0icm91bmQiPgogIDxzdHlsZT4KICAgIHN2ZyB7IGNvbG9yOiAjMGEwYTBhOyB9CiAgPC9zdHlsZT4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI5LjUiLz4KICA8cGF0aCBkPSJNMTIgMi41IEwyMC4yMyAxNi43NSBMMy43NyAxNi43NSBaIi8+Cjwvc3ZnPgo=`,langsmith:`data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+TGFuZ0NoYWluPC90aXRsZT48cGF0aCBkPSJNNi4wOTg4IDUuOTE3NUMyLjczNTkgNS45MTc1IDAgOC42NDYyIDAgMTJzMi43MzYgNi4wODI1IDYuMDk4OCA2LjA4MjVoMTEuODAyNEMyMS4yNjQxIDE4LjA4MjUgMjQgMTUuMzUzOCAyNCAxMnMtMi43MzYtNi4wODI1LTYuMDk4OC02LjA4MjVaTTUuOTc3NCA3Ljg1MWMuNDkzLjAxMjQgMS4wMi4yNDk2IDEuMjczLjYyMjguMzY3My40NTkyLjQ3NzggMS4wNjY4Ljg5NDQgMS40OTMyLjU2MDQuNjExOCAxLjE5OSAxLjE1MDUgMS43MTYxIDEuODAyLjQ4OTIuNTk1NC44Mzg2IDEuMjkzNyAxLjE0MzYgMS45OTc1LjEyNDQuMjMzNS4xMjU3LjUyMDIuMzEuNzE5Ny4wOTA4LjEyMDQuNTM0Ni40NDgzLjQzODMuNTY0NS4wNTU1LjEyMDQuNDcwMi4yODYuMzI2My40MDI3LS4xOTQ0LjA0LS40MTI5LjA0NzYtLjU2MTYtLjEwNzQtLjA1NDkuMTI2LS4xODMuMDU5Ni0uMjgxOS4wNDMyYTQgNCAwIDAgMC0uMDI1LjA3MzZjLS4zMjg4LjAyMTktLjU3NTQtLjMxMjYtLjczMi0uNTY1LS4zMTExLS4xNjgtLjY2NDItLjI3MDItLjk4Mi0uNDQ2LS4wMTgyLjI4OTUuMDQ1Mi42NDg1LS4yMzEuODM1My0uMDE0LjU1NjUuODQzNi4wNjU2LjkyMjIuNDgwNC0uMDYxLjAwNjctLjEyODYtLjAwOTUtLjE3NzQuMDM3My0uMjIzOS4yMTcyLS40ODA1LS4xNjQ1LS43Mzg1LS4wMDctLjM0NjQuMTc0LS4zODA4LjMxNjEtLjgwOTYuMzUyLS4wMjM3LS4wMzU5LS4wMTQzLS4wNTkyLjAwNTktLjA4MTEuMTIwNy0uMTM5OS4xMjk1LS4zMDQ2LjMzNTYtLjM2NDMtLjIxMjItLjAzMzQtLjM4OTkuMDgzMy0uNTY4Ni4xNzU3LS4yMzIzLjA5NS0uMjMwNC0uMjE0MS0uNTg3OC4wMTY0LS4wMzk2LS4wMzIyLS4wMjA4LS4wNjE1LjAwMTgtLjA4NjQuMDkwOC0uMTEwNy4yMTAyLS4xMjcuMzQ1LS4xMjA4LS42NjMtLjM2ODYtLjk3NTEuNDUwNy0xLjI4MTMuMDQzMi0uMDkyLjAyNDMtLjEyNjUuMTA2OC0uMTg0NS4xNjUyLS4wNS0uMDU0OC0uMDEyMy0uMTIxMi0uMDA5OS0uMTg1Ny0uMDU5OC0uMDI4LS4xMzU2LS4wNDEtLjExNzktLjEzNjYtLjExNzEtLjAzOTUtLjE5ODguMDI5NS0uMjg2LjA5NTItLjA3ODctLjA2MDguMDUzMi0uMTQ5Mi4wNzc2LS4yMTI1LjA3MDItLjEyMTYuMjMtLjAyNS4zMTExLS4xMTI2LjIzMDYtLjEzMDguNTUyLjA4MTQuODE1NS4wNDU1LjIwMy4wMjU1LjQ1NDQtLjE4MjUuMzUyNi0uMzktLjIxNzEtLjI3NjctLjE3OS0uNjM4Ni0uMTgzOS0uOTY5NS0uMDI2OC0uMTkyOS0uNDkxLS40MzgyLS42MjUyLS42NDYyLS4xNjU5LS4xODczLS4yOTUtLjQwNDctLjQyNDMtLjYxODItLjQ2NjYtLjkwMDgtLjMxOTgtMi4wNTg0LS45MDc3LTIuODk0Ny0uMjY2LjE0NjYtLjYxMjUuMDc3NC0uODQxOC0uMTE5LS4xMjM4LjExMjUtLjEyOTIuMjU5OC0uMTM5LjQxNjEtLjI5Ny0uMjk2Mi0uMjU5My0uODU1OS0uMDIyLTEuMTg1NS4wOTY5LS4xMzAyLjIxMjctLjIzNzMuMzQyLS4zMzE2LjAyOTItLjAyMTMuMDM5MS0uMDQxOS4wMzg1LS4wNzQ3LjExNzQtLjUyNjcuNTc2NC0uNzM5MSAxLjA2OTQtLjcyNjdtMTIuNDA3MS40NmMuNTU3NSAwIDEuMDgwNi4yMTU5IDEuNDc0LjYwODJzLjYxLjkxNDUuNjEgMS40NzA0YzAgLjU1Ni0uMjE2NyAxLjA3OC0uNjEgMS40Njk4di4wMDA2bC0uOTAyLjg5OTVhMi4wOCAyLjA4IDAgMCAxLS44NTk3LjUxNjZsLS4wMTY0LjAwNDctLjAwNTguMDE2NGEyLjA1IDIuMDUgMCAwIDEtLjQ3NC43MzA4bC0uOTAxOC44OTk1Yy0uMzkzNC4zOTI0LS45MTcuNjA4My0xLjQ3NDUuNjA4M3MtMS4wODA2LS4yMTYtMS40NzQtLjYwODNjLS44MTMtLjgxMDctLjgxMy0yLjEyOTQgMC0yLjk0MDJsLjkwMTktLjg5OTVhMi4wNTYgMi4wNTYgMCAwIDEgLjg1OC0uNTE0M2wuMDE3LS4wMDUzLjAwNTgtLjAxNThhMi4wNyAyLjA3IDAgMCAxIC40NzUyLS43MzM3bC45MDE4LS44OTk1Yy4zOTM0LS4zOTI0LjkxNzEtLjYwODMgMS40NzQ1LS42MDgzem0wIC44OTY1YTEuMTggMS4xOCAwIDAgMC0uODM4OC4zNDYybC0uOTAxOC44OTk1YTEuMTgxIDEuMTgxIDAgMCAwLS4zNDI3LjkyNTJsLjAwNTMuMDU3MmMuMDMyMy4yNjUyLjE0OS41MDQ0LjMzNzQuNjkxNy4xMy4xMjk2LjI3MzMuMjExNC40NDcxLjI2ODZhLjkuOSAwIDAgMSAuMDE0LjE1ODIuODg0Ljg4NCAwIDAgMS0uMjYwOS42MzA0bC0uMDU1NC4wNTU0Yy0uMzAxMy0uMTAyOC0uNTUyNS0uMjUzLS43Nzk0LS40NzkyYTIuMDYgMi4wNiAwIDAgMS0uNTc2MS0xLjA5NjhsLS4wMDk5LS4wNTc4LS4wNDYxLjAzNjhhMS4xIDEuMSAwIDAgMC0uMDg3Ni4wNzk0bC0uOTAyNC44OTk1Yy0uNDYyMy40NjEtLjQ2MjMgMS4yMTIgMCAxLjY3My4yMzExLjIzMDUuNTM1LjM0Ni44Mzk0LjM0NjEuMzA0MyAwIC42MDc3LS4xMTU2LjgzODgtLjM0NjJsLjkwMTktLjg5OTVjLjQ2MjMtLjQ2MS40NjIzLTEuMjExMyAwLTEuNjczYTEuMTcgMS4xNyAwIDAgMC0uNDM2Ny0uMjc0OSAxIDEgMCAwIDEtLjAxNC0uMTYxMWMwLS4yNTkxLjEwMjMtLjUwNS4yOTAxLS42OTIzLjMwMTkuMTAyOC41Ny4yNjk0Ljc5NjIuNDk1LjMwMDcuMjk5OS40OTk0LjY3OS41NzU2IDEuMDk2OGwuMDEwNS4wNTc4LjA0NTUtLjAzNzNhMS4xIDEuMSAwIDAgMCAuMDg4Ny0uMDc5NGwuOTAyLS44OTk2Yy40NjIyLS40NjEuNDYyOC0xLjIxMjQgMC0xLjY3MzVhMS4xOCAxLjE4IDAgMCAwLS44Mzk1LS4zNDYyWm0tOS45NzMgNS4xNTY3LS4wMDA2LjAwMDZjLS4wNzkzLjMwNzgtLjEwNDguODMxOC0uNTA2Ljg0Ny0uMDMzLjE3NzYuMTIyOC4yNDQ1LjI2NTUuMTg3NC4xNDEtLjA2NDUuMjA4MS4wNTA4LjI1NTcuMTY1Ny4yMTc3LjAzMTcuNTM5NC0uMDcyNS41NTE2LS4zMjk4LS4zMjUtLjE4NjctLjQyNTMtLjU0MTgtLjU2NjItLjg3MDkiLz48L3N2Zz4=`,morph:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAFVBMVEVHcEzzQELyP0LyP0LzP0LyP0LyP0LBxFJHAAAABnRSTlMAG4PsR8QFs054AAABS0lEQVR4nO2YwY6EMAxDB8rw/5+8p3Bay0FO2q7WT3NswSpP8cDnY4wxxhhjjDHGIA7IiyWJi0DOGxGbL7jijIvAFV8eYKC9IwKURIQc8P5P+C9cwk/xogFw+GcvXMEj3vwJlJwvfIxcgYOH5+fbosCb8+1RIMIf/HxxRD4GsOH588URB7ptJkD+fCUFhPNNDKrVCgxBgb9QBK1TIFMEcxSQioArsLoI8N5nyl4nIiLiYV5SBJxmBTgtCgwePpCKQNkbNBcBZ18FEkXAp0CClimQCB80/x3k7KtASREkUBRQXmcCF0GPApOKgL8RcJYXwTUAsxTo+TSUV0CioggUSqaAQokCCssVqCgCCSvw3xUoKQIFK6C8zlTgIthXAReBFZhzfxfBvgpMKgJPgX0VePNtSsEKrFdg3OPX3yQFlK8qxhhjjDHGGGOMwg9XaEn/QIKt+QAAAABJRU5ErkJggg==`,openai:`data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+T3BlbkFJPC90aXRsZT48cGF0aCBkPSJNMjIuMjgxOSA5LjgyMTFhNS45ODQ3IDUuOTg0NyAwIDAgMC0uNTE1Ny00LjkxMDggNi4wNDYyIDYuMDQ2MiAwIDAgMC02LjUwOTgtMi45QTYuMDY1MSA2LjA2NTEgMCAwIDAgNC45ODA3IDQuMTgxOGE1Ljk4NDcgNS45ODQ3IDAgMCAwLTMuOTk3NyAyLjkgNi4wNDYyIDYuMDQ2MiAwIDAgMCAuNzQyNyA3LjA5NjYgNS45OCA1Ljk4IDAgMCAwIC41MTEgNC45MTA3IDYuMDUxIDYuMDUxIDAgMCAwIDYuNTE0NiAyLjkwMDFBNS45ODQ3IDUuOTg0NyAwIDAgMCAxMy4yNTk5IDI0YTYuMDU1NyA2LjA1NTcgMCAwIDAgNS43NzE4LTQuMjA1OCA1Ljk4OTQgNS45ODk0IDAgMCAwIDMuOTk3Ny0yLjkwMDEgNi4wNTU3IDYuMDU1NyAwIDAgMC0uNzQ3NS03LjA3Mjl6bS05LjAyMiAxMi42MDgxYTQuNDc1NSA0LjQ3NTUgMCAwIDEtMi44NzY0LTEuMDQwOGwuMTQxOS0uMDgwNCA0Ljc3ODMtMi43NTgyYS43OTQ4Ljc5NDggMCAwIDAgLjM5MjctLjY4MTN2LTYuNzM2OWwyLjAyIDEuMTY4NmEuMDcxLjA3MSAwIDAgMSAuMDM4LjA1MnY1LjU4MjZhNC41MDQgNC41MDQgMCAwIDEtNC40OTQ1IDQuNDk0NHptLTkuNjYwNy00LjEyNTRhNC40NzA4IDQuNDcwOCAwIDAgMS0uNTM0Ni0zLjAxMzdsLjE0Mi4wODUyIDQuNzgzIDIuNzU4MmEuNzcxMi43NzEyIDAgMCAwIC43ODA2IDBsNS44NDI4LTMuMzY4NXYyLjMzMjRhLjA4MDQuMDgwNCAwIDAgMS0uMDMzMi4wNjE1TDkuNzQgMTkuOTUwMmE0LjQ5OTIgNC40OTkyIDAgMCAxLTYuMTQwOC0xLjY0NjR6TTIuMzQwOCA3Ljg5NTZhNC40ODUgNC40ODUgMCAwIDEgMi4zNjU1LTEuOTcyOFYxMS42YS43NjY0Ljc2NjQgMCAwIDAgLjM4NzkuNjc2NWw1LjgxNDQgMy4zNTQzLTIuMDIwMSAxLjE2ODVhLjA3NTcuMDc1NyAwIDAgMS0uMDcxIDBsLTQuODMwMy0yLjc4NjVBNC41MDQgNC41MDQgMCAwIDEgMi4zNDA4IDcuODcyem0xNi41OTYzIDMuODU1OEwxMy4xMDM4IDguMzY0IDE1LjExOTIgNy4yYS4wNzU3LjA3NTcgMCAwIDEgLjA3MSAwbDQuODMwMyAyLjc5MTNhNC40OTQ0IDQuNDk0NCAwIDAgMS0uNjc2NSA4LjEwNDJ2LTUuNjc3MmEuNzkuNzkgMCAwIDAtLjQwNy0uNjY3em0yLjAxMDctMy4wMjMxbC0uMTQyLS4wODUyLTQuNzczNS0yLjc4MThhLjc3NTkuNzc1OSAwIDAgMC0uNzg1NCAwTDkuNDA5IDkuMjI5N1Y2Ljg5NzRhLjA2NjIuMDY2MiAwIDAgMSAuMDI4NC0uMDYxNWw0LjgzMDMtMi43ODY2YTQuNDk5MiA0LjQ5OTIgMCAwIDEgNi42ODAyIDQuNjZ6TTguMzA2NSAxMi44NjNsLTIuMDItMS4xNjM4YS4wODA0LjA4MDQgMCAwIDEtLjAzOC0uMDU2N1Y2LjA3NDJhNC40OTkyIDQuNDk5MiAwIDAgMSA3LjM3NTctMy40NTM3bC0uMTQyLjA4MDVMOC43MDQgNS40NTlhLjc5NDguNzk0OCAwIDAgMC0uMzkyNy42ODEzem0xLjA5NzYtMi4zNjU0bDIuNjAyLTEuNDk5OCAyLjYwNjkgMS40OTk4djIuOTk5NGwtMi41OTc0IDEuNDk5Ny0yLjYwNjctMS40OTk3WiIvPjwvc3ZnPg==`,openrouter:`data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+T3BlblJvdXRlcjwvdGl0bGU+PHBhdGggZD0iTTE2Ljc3OCAxLjg0NHYxLjkxOXEtLjU2OS0uMDI2LTEuMTM4LS4wMzItLjcwOC0uMDA4LTEuNDE1LjAzN2MtMS45My4xMjYtNC4wMjMuNzI4LTYuMTQ5IDIuMjM3LTIuOTExIDIuMDY2LTIuNzMxIDEuOTUtNC4xNCAyLjc1LS4zOTYuMjIzLTEuMzQyLjU3NC0yLjE4NS43OTgtLjg0MS4yMjUtMS43NTMuMzMzLTEuNzUxLjMzM3Y0LjIyOXMuNzY4LjEwOCAxLjYxLjMzM2MuODQyLjIyNCAxLjc4OS41NzUgMi4xODUuNzk5IDEuNDEuNzk4IDEuMjI4LjY4MyA0LjE0IDIuNzUgMi4xMjYgMS41MDkgNC4yMiAyLjExIDYuMTQ4IDIuMjM2Ljg4LjA1OCAxLjcxNi4wNDEgMi41NTUuMDA1djEuOTE4bDcuMjIyLTQuMTY4LTcuMjIyLTQuMTd2Mi4xNzZjLS44Ni4wMzgtMS42MTEuMDY1LTIuMjc4LjAyMS0xLjM2NC0uMDktMi40MTctLjM1Ny0zLjk3OS0xLjQ2NS0yLjI0NC0xLjU5My0yLjg2Ni0yLjAyNy0zLjY4LTIuNTA4Ljg4OS0uNTE4IDEuNDQ5LS45MDYgMy44MjItMi41OSAxLjU2LTEuMTA5IDIuNjE0LTEuMzc3IDMuOTc4LTEuNDY2LjY2Ny0uMDQ0IDEuNDE4LS4wMTcgMi4yNzguMDJ2Mi4xNzZMMjQgNi4wMTRaIi8+PC9zdmc+`,runloop:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAPFBMVEVHcEwHIRwHJyEHLSUHHRkIExMIFxcGExEGEhEGEhEVU0QKRjht58Mqe2UZaFQwkXZZ0q87p4lJvJuI+NcNMk+7AAAACnRSTlMA////////nEzasPRIEwAAC9dJREFUeJy1W4mWqygQfSiQtEaNef//r8NSO6DpMzOYNh2VurduFYvbnz+98nw+fn58+M9K/Pl5PJ9dqB76o9S5MflbCnn1+IbDA2tEf1Wu9zZHRyT8uIXPR0bvUvHwV9a+rsQ/eu1oszcb+f+Y3bqk8IwJP2IFJ4z0f7SbJbpvj/ZFiGEgHuR8a2MA3JLQsgjVBIWBCDnrRXVvWHj3FQ15vKYEBjPMTw8/uy/hqRra6qJPN3J4ZyRN/+Rc6OKL1PNceeT5hPBTWUZCZCveaVs5DBY/FvwmAoWF7+AreNzCNJRurAI2Id8w+Mn6e2brxfE6IxCzribwf+qHggDBnVyKwWjy4FHwPeIyLHovNZhYdsAuW6YmFmwCcIFAXqJqC0/2H/Y7rCCCSbgZtPzV4nDNcZEs0GnA96BKlP1BTkAqQBd/GfedhZel7kEOlHXoiu6eRVN45ATs9uFN7KXPWGZFoZeNjVlg8GABnN0rEoZDT/pn0Hma82cuBCSJiShg46fYSxSXun0WoF+0/Ox5hUcKlcUsSAgRZPBtQQnCmIBn94XwBdKWSmGmGOnG2C2xdgbPEb7xH/Ar1qCQCtgmZAxa92pDGEdAJgA7P4ZHFhSGGwYQgzwE9+jZCHTEx05YbZ3mNg4DAiUGwwj4Bn6S0DHM+3acn8/nPPY1GZF7kcJtEsTn9wTY+ym67fP6q8rrc6zBcRTm6YssKEkwTIE2/oDuj/fffjmXMBEFpcGAQk6Cn+H0VzZ/ci3sI/QqxBG8isO1BDGNiT/dHDT+z5XCFLbXFXyVYXKqNVwxyARij4AT/rP6ca/wr+FSywGBuGeQwAetEAhA/kPifwo6weFKMMglH7QHFgFSsdsScjscdAPQC7IAYf9bISoMfP/l3y8ikdaf0GRiX4ELApwABf+UQIRuN72QwWudiMI4BiMCugGWjH4LtG9KCkO0DFoKdwoQ/vo79ErhoDD8XgEvOsB5dssI5P3+pOULBlOfARMwJFiAbGHJ8r/zB1YZ8n1uayyH+jAvx6fwUQswuMpDqUAc4s8IjwzS3zF7NQZO3u8fpgnLLQOpABOAUZhaQHWtfvLq9eEuXxY/ny84iBhsXjLQ4HlBAnk8iB0Cuf1lUIDP3693Te9ecYlCPRb+Xq9lkhIIdKmATQIpQCSTlcbrGMIXFZa3pJDWGARLIMKFGw6BUaDiTwtiQ1ncFf6MjKm8cp/YxCDWAgqE8tsoAAIEY01PvrhIETZdZ3MswUCBWPKBSDQBoPIJXXTDYdqVZq/IEogULJpTDjQKQABWjR+H6IrCtOSDqdrpGwnIZVRAceAMCJ/S1X1Kf8f+EyLNWsystWhAFV9zkwWQAkqBiH2BmAalDPzwYtx3pkgK7niLmkIC1QlwCJCQiUAQ6Cn/Jb5FN4P3HKFa/cJ5etsOBiEAAdZkAMt7EzM9O7o6OX8CnqVuNZAlUCGIVJQCwAAtzf58VxPlKxr3vSlq/EgHbsC+GPAmCWKrgMpBaINSgP0GXzffEgQl3wRjsgpAuVwXDAPyg3zI5YxS/+H1FMlgEdVTA1I5oBXgGCgF/ClcWFT8GZMbj2Y/5xQW9ek0pcILCcYK+OTBmT8nCmB7E5FMnntR1GDaa+XiR0phKUE3BDAcUQSShFD//GzTbPrTKItnCkKC6SM88PcEdAQmd1T8Ul8lQON+tw3l3gg8SDZqEqB8EWuHTg5ACHIKnPTxBh/dHjCgGJTqefXu63ehQGpGZ617igh0A9AwQAmmD1o4P/s3BGQOTDPST19LxaeGPICnRAQJPBrIPjgmEL8isFLl82MEGPhvPUhJwCYOL9rhkECkHJjdzgREClwFQMSgEpi2U9pgBahcJKHTlaUCY3zdkGsWYgmzkJA7wmEIEoEDlvNw3+KjhkAghZGMxEl0hTcK5NpZAaxcRuL7NtAQmCUB30uiHgEMYVIAK2sFriUQPqRy/lKByARqCHKhELjfhSAzAAsHErjLAUMAKh/3OdA0JAhBdb/Yid+EAAk4JlA4qEllpw9uJKiXFqeFbZQcaDQcECjNcKfKx+FlEo5crwayDRpQlQ1yQVZvCHB1Zn+ctwqoPOZmyCoem+8ZAAJNX1jqCwKrIGDwy7MRygEaT1NXzAXHAn8dAkHAn8cGy7FPvRCE6rg2IBVQJlyTg4EJiFkRE8i0j1qbT3A1f2AxIDCt53EggZVyUExGAoUgkBXOwlKzVjdJIBWMom6U7TinQKoPEpzeCoBPtiABOSuBLKzVi4klO+RsEgQ0E3VtjAD6n014zZ+fwiECwZqYsW7+c6MsDLHthuodhhSBrZZkaHcUAVbPEAgiCWoMuJxyTh6HRQzneTg7qH5JAd0GGgKRJag23C4M7DBVvuoLvddj4ckOHNH2g6EloL2oMWALdIJ9MyclfCnAJhohsG8JtEngc82ymCy4EIBHwrXg7+VzNKN5uCaA7QDxd4yiOLUYwNOM+Nio7ianxJYB9wNKAUijbKN+tqO9yGDPDR12wnkcOoB9WhR5DkGUBKJMQgokSFCtbF5OS2Be4TunxmU2KPBBADOjw57gT0cA7kwT+F4kSKvUEnrn557PSsXFgYO121M31jutuugJ+dxmqQwqDTTUu/ngCL8IcEC9/LXVkcS1XXFUORB1BOrd0kkQMAyco6eEnIAvp9EFHzlsqzmvEl05EojdbiCX1TBwwKC9SsinpPOhKu3y2kIzJWwUUBFIZVcFe0T5hMTET5cU91eFv2/24k5Uk2JKQh0BebktGVnyJy+pLcySgnq0pFTIHbjCX83lxa4CEl5dZclF2cuNQT6pIij03N83ur5a8rBeX2tPz20n4AT+vC667It5bIjcn+btqIKBXqmQmVES/LEZoNvzOrdlQo+k9Mn6WuAXhl9KAqyEX9Kmp4DqhPiaK0nQ8tDOZ7tLHrwz/CIoqAQEzzNcQ8C0QTcvvym5rSN6hUcJclKKac2OPXsYEMA5sRMj+Vdlr+CcJZXXnO/5dJ6xOILXBIwAUZrb9ecLPeoK/D8695TP4AcE4Fbwsv0qAiMeZVLwkndO4M5HUAMCNEMhwJzx1/LJK73UsqpPWuTOKn9OW3fKC+ZYyi3vngL1WrEL214M5s9K/9S/ugk3Iq5YgMheu59TXKOi63W7EMCEoDTCsO8IvhAkUuBtRFAV0KG4Py0fukDD5TyCGxOI3sV1s4Y7QHavkCwHqMwJ8dS8nBniKfJxlM5Ynh5qAt41+L8qCO/W44RJMbb/OrFcveqLTQ7kAPwb/IS+1sF/M2MSliW6MYFEIaTw/Sv0ckZSZsQ4Ium2GfXUvBAQ09Gwbr2md7vkUoeHPFDtPCQtuvPaO6NhLE+V8wbqjnCeNS5OrNUADSfIcLmPxyt+wlYQ+BEEvAZvR/ypOxHoM1NTJabgDX4i8BA5QMMhPMX8XcFpkVgcPvoPNyz1zV6SO+QHGp9qMGAKHR7OuMcA/VccnCDi6HaniHfIj3Q+VUegKExOW1aeqX0Num830OmcSLnyYLFUIOozPa2E9sfiyfcC8KlgNiJO5NSkPODLPSyBvRPbd8h6p0/VnPxWJ5JR+18ebH4GHpFhTGweb3Nkx5Fz9hhAkJWj2tXBr+84VAVEW6gDdg+g+4oZCOdFDoEXcou92RkwAvB6m4CX0YhE3vMq4pUBvHce8WB+Hkj8JmiVf6URPOgFB3PJPFJ91ITIKRw+QHGnLx/lYQJdCoBv+DXX/iUdiSsAjKy2Zmc/Xd/GFMS3nKJWwVixIDc3ji5KoIvELAA3hEqhr8SX5kc/YJNAV6/94WuWAVn2DLQG5TjKJ7lwBT3IS/nwu94YACz10t9PIAokRiC9JPOIe/lgPBqPKUi4OVAt856qeeWPdxCw+D9KmCj8U9yCNELHlWlHbA5qXvjTlYMyHuUOMKsIaxZdUpajxZcMGrLWv3a74NY53DLs4os8GADG4f4h5KhO95VP0RaoTlv/Slh2P9p9utrwzd/npVehK3rD9aIObLh6//pxW11ub7It9vabcv/u9f9a7uBLIP43Dl+9/F455Nf/h1H9fbl4/f8fK+Ngp7w2dCwAAAAASUVORK5CYII=`,sprites:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAmVBMVEWtgO8kFlv///8fDlhMQ3Xi4OqwgvIgE1giE1ocD1UAAE8XAFWzhfYgEVkRAFMbB1drTaafdeB6WbeleudKNIBCLnkxIGiPac0AAEwrHGNYP5H39voSBU5eQ5eVbtRmSaBwaY9gWIXRztx+eJvq6e+alLEzJ2bFwtI4LWiEYMGGgJ9UTHs7LW5rYo+OiKe6tctDOm+lobdkX4TBMejbAAAGJ0lEQVR4nO2ba3eqOhCGDWgIcolg0YJWq8VbPa3a///jDiQQSLhsexLYa53F+8kta688TmYmMxM6Gg0aNGjQoEGD/qNgqsrH3hYfeZulP3uLgkTR2/ay3Hi9QUBoe34ULBzTNA2i5IOzCCLfs3tgSH67Hxjp0oBTimEEvjfqFgHam+3CFNYuUZjhdml3iAC9bdi8PJEZvnldEcC5j0x+OQej7BMqENBs3gkC9CL+1zvu6z9fR7oyOrpTS883IurCCHCJeOPj8/dEm4zpqs79dHu/uwzhoh7AD/n13d1e0xgAwPe9NnncXYcShL7i5aHPxx2y3ldaGQDg40TTVrejRfbEMHy1u+AL3oc/NI0HANY1Tr6IDwjTTVFpA7gU7I+vqwoAsL7JV/u7S3dhqcwGcK7z6yMr1qoA4HVPvovfKYGuLhojYQPcg1YHgL/ol6svQmBGipaHF355oF/jWgAUnui38c4i/76oMcF8IWRf66HVAgDrM3ON+Jh+bSzmKta3xQhAIG4AQGH+5ESi0fRtBQBzIQLYVlcBwJTZ5pBughEqMAH0Eb8+mN4aAfAufxDf0wdIQTqavwgGQHrcCOAA9uSQRoIRSZsAbkQD4N2qEQDhEzOBnv5HtJE1AZwJLgjcb60RoBwgnxZxQ1kAOxArIOvWBvDJHu1TExiBbBzYurA+yzb1AO8r/tFa0gJwsxYAnPO+BaCUJLWPdA/WksURFLMQ0MeTFgDnXjwlqcCUTMdVH9SvqxYAdCzsc0sD0ZzJAdhvIgD+0doAcAEwIQCRnBfCSAyCdgBgFQDxFKSpSNILxTyY+HkrgFtyUQLwIrd+JRH/CWBaAiDJ+EUuGf8aoGoBydOgAoD73QIZJ5zQ81AyDLe/zANhAaAkD9RlwrgFQH0m/O1ZsGN4q/e0RVrLFgS2WI8gvfU4/mCP9qRzR9LHccUL3UcbAGtZtIeKTJy2haITWB/NJRnAzDwr8sSUbxA9sSTS781FKdKZD55IFljIz0pgJRCnk0YA58ye7FIXNN9kl0/3QFi/1JpWAAofPIWpC4bSRXFKIGbjovuodkasXiQ1sRGo6E7hRpzNNfaGzpH1hrRBVzSjqJjg1gBQBAhpzGQPolyV+UAp2wgAORk5BgBQNB+oTEj0IuFzAOwgiGkOUDUhGUHPFUxwqgVg3vlNBiSuunmpLRTneFwLkPftp1figTMV0wkqKKbDad2UDFmr0gaoSIIlAl+Y0x5qAHLfpBugelT6wm0CmxGUAJCzzyKAjIdk+wFBcMNNiliLXALAP3R6TAdkoeqJvZAM8ja8PCsmdUI2IlSXAgpxyQDhWADIXJA6gLoUUAjy47psUFMAuB+FAxhhF5c2/MjcOfL3BYg0BJMzdQB1g3KOgEtH+MEBEKdYXcldgWwv0Ci77AaYDGNyAATSsNhlU/LO7u24hEiOvhwAX7WsE0mqkM4uDhM3KA3O9XMJIC2FHmRAbSy6cQAq+1JqlF5PDEC/p2Uw6WHWF3VnUI3KNXLaqGcAyXbsSQB054BMxdQKJaUZBUiOhsmZBoCCOrxdcB4wgqQAoQDuLb7SDBh0c23MEZRCYXoiZ79+zk6ALgOgRLBhoaBfiQWsxw+9qFuo6EOeIFg6GQEC31cdOOPs9ztdBiBHcMlPBed8TmIvpNfFYQdHcJP8PB2gYn6xVn1h3ia7cpNlACVXdM9rJr5F0+fvJ+LHBuas7/WTpFzaBbTt91UuqsIG5vYvLD+CozAHCDt+f6p+fa8YGxgvfaRgYf15uToyejiERPEzA1PRMORpsSG24+R5oFcTJOcRXRef7/Stnf5OIiI7c0A83u/HGcFLj6k4n9zp6eg+KwaB2U8xQAFoj4TorIi+L6J0JPNH0Rl+flf/SeuRDjriJtEcxO6J6dVEUhD2B0CSEBsL7s9OzwD0OpNd3twwDQMlry09JUjTIL4SE0yypryzprgGIMuD1vhwOh3GdCok/77KLzSnhTDQ3ek0f5FUxVtTT8ueideJYN1nGqi5Ve/TBVMlHSJ/HCudDD9LUFREZi9dqUAw8gNE3u83UeD/jaJwZHvLWRQE0Wzp9dsUFaJ/z9Dzn3cMGjRo0KBB/zv9CyCNaxO7juQnAAAAAElFTkSuQmCC`,tensorlake:`data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NTAgNDUwIj4KICA8cmVjdCB3aWR0aD0iNDUwIiBoZWlnaHQ9IjQ1MCIgcng9IjkwIiBmaWxsPSIjMTYxNzE1Ij48L3JlY3Q+CiAgPHBhdGggZD0iTTIyNi4zMjggMjU2LjM3N0MyNTIuNTE5IDI1Ni4zNzcgMjY5Ljg3NSAyNjcuMjQxIDI4MS43OTcgMjc2LjYyNEMyODQuNjE0IDI3OC44NDEgMjg3LjI1IDI4MS4wNzUgMjg5LjMyNCAyODIuODFDMjkxLjU1MSAyODQuNjc0IDI5My4xNDQgMjg1Ljk3NCAyOTQuNTMzIDI4Ni45ODJDMjk1LjEzNSAyODcuNDIgMjk1LjU5NyAyODcuNzIzIDI5NS45MjggMjg3LjkyN0gzNTAuMDkzVjMyOS43NTRIMjk0LjMwNUMyODMuNDAxIDMyOS43NTQgMjc1LjA0NiAzMjQuNTAxIDI3MC4wMDQgMzIwLjgzOUMyNjcuMzIxIDMxOC44OSAyNjQuNzMgMzE2LjczOSAyNjIuNTM4IDMxNC45MDVDMjYwLjE5NCAzMTIuOTQzIDI1OC4xNzYgMzExLjIzNCAyNTUuOTgyIDMwOS41MDdDMjQ3Ljg2MiAzMDMuMTE1IDIzOS40NTkgMjk4LjIwNCAyMjYuMzI4IDI5OC4yMDRIMjI1Ljc5NkMyMTIuNjY1IDI5OC4yMDQgMjA0LjI2MyAzMDMuMTE1IDE5Ni4xNDIgMzA5LjUwN0MxOTMuOTQ4IDMxMS4yMzQgMTkxLjkzMSAzMTIuOTQ0IDE4OS41ODYgMzE0LjkwNUMxODcuMzk0IDMxNi43MzkgMTg0LjgwMyAzMTguODkgMTgyLjExOSAzMjAuODM5QzE3Ny4wNzcgMzI0LjUwMSAxNjguNzIzIDMyOS43NTQgMTU3LjgxOSAzMjkuNzU0SDEwMC40ODJWMjg3LjkyN0gxNTYuMTk2QzE1Ni41MjggMjg3LjcyMyAxNTYuOTg5IDI4Ny40MiAxNTcuNTkxIDI4Ni45ODJDMTU4Ljk4IDI4NS45NzQgMTYwLjU3MyAyODQuNjc0IDE2Mi44IDI4Mi44MUMxNjQuODc0IDI4MS4wNzUgMTY3LjUxIDI3OC44NDEgMTcwLjMyNiAyNzYuNjI0QzE4Mi4yNDggMjY3LjI0MSAxOTkuNjA0IDI1Ni4zNzcgMjI1Ljc5NiAyNTYuMzc3SDIyNi4zMjhaIiBmaWxsPSIjODJDMzhDIj48L3BhdGg+CiAgPHBhdGggZD0iTTMxNi4xMDIgMTIxLjA4NkMzMzUuMDcyIDEyMS4wODYgMzUwLjQ0OSAxMzYuNDg0IDM1MC40NSAxNTUuNDc3VjI0NS43MzVIMzA4LjY3N1YxNjIuOTEySDE0Mi4wNDVWMjQ1LjczNUgxMDAuMjcyVjE1NS40NzdDMTAwLjI3MyAxMzYuNDg0IDExNS42NSAxMjEuMDg2IDEzNC42MiAxMjEuMDg2SDMxNi4xMDJaIiBmaWxsPSIjODJDMzhDIj48L3BhdGg+Cjwvc3ZnPg==`,upstash:`data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+VXBzdGFzaDwvdGl0bGU+PHBhdGggZD0iTTEzLjgwMjcgMEMxMS4xOTMgMCA4LjU4My45OTUyIDYuNTkxOCAyLjk4NjNjLTMuOTgyMyAzLjk4MjMtMy45ODIzIDEwLjQzOTYgMCAxNC40MjE5IDEuOTkxMSAxLjk5MTEgNS4yMTk4IDEuOTkxMSA3LjIxMSAwIDEuOTkxLTEuOTkxMSAxLjk5MS01LjIxOTggMC03LjIxMUwxMiAxMmMuOTk1Ni45OTU2Ljk5NTYgMi42MDk4IDAgMy42MDU1LS45OTU2Ljk5NTUtMi42MDk5Ljk5NTUtMy42MDU1IDAtMi45ODY2LTIuOTg2OC0yLjk4NjYtNy44Mjk3IDAtMTAuODE2NCAyLjk4NjgtMi45ODY4IDcuODI5Ny0yLjk4NjggMTAuODE2NCAwbDEuODAyOC0xLjgwMjhDMTkuMDIyNS45OTUyIDE2LjQxMjUgMCAxMy44MDI3IDB6TTEyIDEyYy0uOTk1Ni0uOTk1Ni0uOTk1Ni0yLjYwOTggMC0zLjYwNTUuOTk1Ni0uOTk1NSAyLjYwOTgtLjk5NTUgMy42MDU1IDAgMi45ODY3IDIuOTg2OCAyLjk4NjcgNy44Mjk3IDAgMTAuODE2NC0yLjk4NjcgMi45ODY4LTcuODI5NyAyLjk4NjgtMTAuODE2NCAwbC0xLjgwMjggMS44MDI4YzMuOTgyMyAzLjk4MjIgMTAuNDM5NiAzLjk4MjIgMTQuNDIxOSAwIDMuOTgyMy0zLjk4MjQgMy45ODIzLTEwLjQzOTYgMC0xNC40MjE5LS45OTU2LS45OTU2LTIuMzAwNi0xLjQ5MjItMy42MDU1LTEuNDkyMi0xLjMwNDggMC0yLjYwOTkuNDk2Ni0zLjYwNTQgMS40OTIyLTEuOTkxMiAxLjk5MTItMS45OTEyIDUuMjE5OCAwIDcuMjExeiIvPjwvc3ZnPg==`,vercel:`data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+VmVyY2VsPC90aXRsZT48cGF0aCBkPSJtMTIgMS42MDggMTIgMjAuNzg0SDBaIi8+PC9zdmc+`},_S={wolf:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20role='img'%20aria-label='Flisk%20Wolf'%3e%3ctitle%3eFlisk%20Wolf%3c/title%3e%3crect%20width='64'%20height='64'%20rx='14'%20fill='%230f1426'/%3e%3cpath%20d='M14%2012l10%2012h16l10-12v22L32%2054%2014%2034z'%20fill='%23fbfaf7'%20stroke='%23fbfaf7'%20stroke-width='2'%20stroke-linejoin='round'/%3e%3cpath%20d='M24%2033l5%202M40%2033l-5%202'%20stroke='%236ff0ae'%20stroke-width='4'%20stroke-linecap='round'/%3e%3cpath%20d='M29%2044l3%203%203-3'%20fill='none'%20stroke='%230f1426'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e`,fleet:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20role='img'%20aria-label='Fleet'%3e%3ctitle%3eFleet%3c/title%3e%3crect%20width='64'%20height='64'%20rx='14'%20fill='%230b0b0d'/%3e%3crect%20x='10'%20y='16'%20width='30'%20height='6'%20rx='3'%20fill='%23fbfaf7'%20opacity='.25'/%3e%3crect%20x='10'%20y='29'%20width='44'%20height='6'%20rx='3'%20fill='%23fbfaf7'%20opacity='.25'/%3e%3crect%20x='10'%20y='42'%20width='20'%20height='6'%20rx='3'%20fill='%23fbfaf7'%20opacity='.25'/%3e%3crect%20x='42'%20y='13'%20width='12'%20height='12'%20rx='3'%20fill='%2316a34a'/%3e%3crect%20x='34'%20y='26'%20width='12'%20height='12'%20rx='3'%20fill='%2316a34a'%20opacity='.6'/%3e%3crect%20x='26'%20y='39'%20width='12'%20height='12'%20rx='3'%20fill='%2316a34a'%20opacity='.35'/%3e%3c/svg%3e`,flisk:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20role='img'%20aria-label='Flisk%20CLI'%3e%3ctitle%3eFlisk%20CLI%3c/title%3e%3crect%20width='64'%20height='64'%20rx='14'%20fill='%2322c55e'/%3e%3cpath%20d='M18%2022l14%2010-14%2010'%20fill='none'%20stroke='%230a0a0e'%20stroke-width='6'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M36%2044h12'%20fill='none'%20stroke='%230a0a0e'%20stroke-width='6'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e`,claude:gS.anthropic,openai:gS.openai,openrouter:gS.openrouter,upstash:gS.upstash,e2b:gS.e2b,daytona:gS.daytona,isorun:gS.isorun},vS={wolf:`Flisk Wolf`,claude:`Claude`,openai:`OpenAI`,openrouter:`OpenRouter`,fleet:`Fleet`,upstash:`Upstash`,e2b:`E2B`,daytona:`Daytona`,isorun:`Isorun`,flisk:`Flisk`},yS={claude:`#d97757`,openai:`#fff`,openrouter:`#fff`,upstash:`#fff`,isorun:`#fff`};function bS({name:e,size:t=18}){let n={width:t,height:t,borderRadius:t*.24,flexShrink:0,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,verticalAlign:`middle`,background:yS[e],overflow:`hidden`},r=_S[e];if(!r)return(0,Z.jsx)(`span`,{style:{...n,background:`#444`,color:`#fff`,fontSize:t*.5,fontWeight:700},children:(vS[e]||e||`?`)[0]});let i=yS[e]?t*.16:0;return(0,Z.jsx)(`span`,{style:n,children:(0,Z.jsx)(`img`,{src:r,alt:``,width:t-i*2,height:t-i*2,style:{objectFit:`contain`,filter:e===`claude`?`brightness(0) invert(1)`:void 0}})})}var xS=e=>Array.from({length:e},(e,t)=>t),SS=({cls:e})=>(0,Z.jsx)(`path`,{className:`cur `+e,d:`M0 0v13l3.4-3 2.6 5.6 2.2-1L5.6 9H10Z`});function CS({kind:e}){return(0,Z.jsx)(`span`,{className:`demo-wrap`,\"aria-hidden\":`true`,children:(0,Z.jsxs)(`svg`,{className:`demo demo-`+e,viewBox:`0 0 200 60`,width:`100`,height:`30`,focusable:`false`,children:[(0,Z.jsx)(`rect`,{className:`bg`,x:`1`,y:`1`,width:`198`,height:`58`,rx:`5`}),e===`dictate`&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`circle`,{className:`rip`,cx:`24`,cy:`30`,r:`10`}),(0,Z.jsx)(`circle`,{className:`rip r2`,cx:`24`,cy:`30`,r:`10`}),(0,Z.jsxs)(`g`,{className:`mic`,children:[(0,Z.jsx)(`circle`,{cx:`24`,cy:`30`,r:`10`}),(0,Z.jsx)(`path`,{d:`M24 25v6M20.5 29.2a3.5 3.5 0 0 0 7 0M24 33.2v2.3`})]}),(0,Z.jsx)(`g`,{children:xS(9).map(e=>(0,Z.jsx)(`rect`,{className:`wv`,style:{animationDelay:e*.06+`s`,\"--h\":10+e*7%5*4+`px`},x:44+e*5,y:`22`,width:`2.6`,height:`16`,rx:`1.3`},e))}),(0,Z.jsx)(`rect`,{className:`ln l1`,x:`94`,y:`19`,width:`92`,height:`5`,rx:`2.5`}),(0,Z.jsx)(`rect`,{className:`ln l2`,x:`94`,y:`29`,width:`70`,height:`5`,rx:`2.5`}),(0,Z.jsx)(`rect`,{className:`ln l3`,x:`94`,y:`39`,width:`82`,height:`5`,rx:`2.5`}),(0,Z.jsx)(`rect`,{className:`caret`,x:`94`,y:`38`,width:`2`,height:`7`}),(0,Z.jsx)(SS,{cls:`dc`})]}),e===`talk`&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(`g`,{className:`ri`,children:[(0,Z.jsx)(`circle`,{cx:`100`,cy:`30`,r:`9`}),(0,Z.jsx)(`circle`,{cx:`100`,cy:`30`,r:`9`,className:`g2`})]}),(0,Z.jsxs)(`g`,{className:`ro`,children:[(0,Z.jsx)(`circle`,{cx:`100`,cy:`30`,r:`9`}),(0,Z.jsx)(`circle`,{cx:`100`,cy:`30`,r:`9`,className:`g2`})]}),(0,Z.jsx)(`circle`,{className:`orb`,cx:`100`,cy:`30`,r:`8`}),(0,Z.jsx)(`g`,{children:xS(7).map(e=>(0,Z.jsx)(`rect`,{className:`you`,style:{animationDelay:e*.05+`s`},x:14+e*6,y:`18`,width:`3`,height:`24`,rx:`1.5`},e))}),(0,Z.jsx)(`g`,{children:xS(7).map(e=>(0,Z.jsx)(`rect`,{className:`ai`,style:{animationDelay:e*.05+`s`},x:146+e*6,y:`18`,width:`3`,height:`24`,rx:`1.5`},e))}),(0,Z.jsx)(`path`,{className:`lab`,d:`M10 10h20M170 50h20`})]}),e===`attach`&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`rect`,{className:`zone`,x:`116`,y:`9`,width:`76`,height:`42`,rx:`5`}),(0,Z.jsx)(`path`,{className:`plus`,d:`M154 24v12M148 30h12`}),xS(3).map(e=>(0,Z.jsxs)(`g`,{className:`chip`,style:{animationDelay:e*.14+`s`,transform:`translate(`+(124+e*22)+`px,19px)`},children:[(0,Z.jsx)(`path`,{d:`M0 3Q0 0 3 0h7l6 6v15q0 3-3 3H3q-3 0-3-3Z`}),(0,Z.jsx)(`path`,{d:`M3.5 13h9M3.5 17.5h6`})]},e)),(0,Z.jsx)(`circle`,{className:`ok`,cx:`180`,cy:`17`,r:`5`}),(0,Z.jsx)(`path`,{className:`tk`,d:`M177.4 17l2 2 3.4-4`}),(0,Z.jsxs)(`g`,{className:`fc`,children:[(0,Z.jsx)(`path`,{d:`M0 3Q0 0 3 0h12l7 7v19q0 3-3 3H3q-3 0-3-3Z`}),(0,Z.jsx)(`path`,{d:`M15 0v7h7M5 15h12M5 20.5h8`})]}),(0,Z.jsx)(SS,{cls:`ac`})]}),e===`computers`&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(`g`,{className:`task`,children:[(0,Z.jsx)(`rect`,{x:`8`,y:`23`,width:`36`,height:`14`,rx:`7`}),(0,Z.jsx)(`path`,{d:`M16 30h14`})]}),(0,Z.jsx)(`circle`,{className:`hub`,cx:`76`,cy:`30`,r:`4.5`}),(0,Z.jsx)(`path`,{className:`pt`,d:`M44 30H71.5`}),(0,Z.jsx)(`path`,{className:`pt q1`,d:`M80.5 30L112 14.5`}),(0,Z.jsx)(`path`,{className:`pt q2`,d:`M80.5 30H112`}),(0,Z.jsx)(`path`,{className:`pt q3`,d:`M80.5 30L112 45.5`}),[0,1,2].map(e=>(0,Z.jsxs)(`g`,{className:`pc pc`+e,children:[(0,Z.jsx)(`rect`,{className:`card`,x:`114`,y:7+e*16.5,width:`78`,height:`13`,rx:`3`}),(0,Z.jsx)(`circle`,{className:`led`,cx:`121`,cy:13.5+e*16.5,r:`2`}),(0,Z.jsx)(`rect`,{className:`trk`,x:`128`,y:11.5+e*16.5,width:`56`,height:`4`,rx:`2`}),(0,Z.jsx)(`rect`,{className:`bar`,x:`128`,y:11.5+e*16.5,width:`56`,height:`4`,rx:`2`})]},e)),(0,Z.jsx)(`circle`,{className:`job`,r:`3.2`})]}),e===`model`&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`rect`,{className:`hl`,x:`8`,y:`8`,width:`52`,height:`13`,rx:`6.5`}),[`wolf`,`claude`,`gpt`].map((e,t)=>(0,Z.jsxs)(`g`,{className:`pill p`+t,children:[(0,Z.jsx)(`circle`,{cx:18+t*56,cy:`14.5`,r:`3`}),(0,Z.jsx)(`rect`,{x:25+t*56,y:`12.7`,width:`24`,height:`3.6`,rx:`1.8`})]},e)),xS(3).map(e=>(0,Z.jsxs)(`g`,{className:`st s`+e,children:[(0,Z.jsx)(`rect`,{className:`tx a`,x:`12`,y:`30`,width:`170`,height:`4.4`,rx:`2.2`}),(0,Z.jsx)(`rect`,{className:`tx b`,x:`12`,y:`38.5`,width:`136`,height:`4.4`,rx:`2.2`}),(0,Z.jsx)(`rect`,{className:`tx c`,x:`12`,y:`47`,width:`156`,height:`4.4`,rx:`2.2`})]},e)),(0,Z.jsx)(`path`,{className:`spk`,d:`M186 12c.4 3.4 1.6 4.6 5 5-3.4.4-4.6 1.6-5 5-.4-3.4-1.6-4.6-5-5 3.4-.4 4.6-1.6 5-5Z`})]})]})})}var wS=g();hS();var TS=(0,X.createContext)({on:!1,show:()=>{}}),ES=600;function DS({text:e,title:t,brand:n,more:r,scene:i,scenes:a,passThrough:o,placement:s=`above`,children:c}){let{on:l,show:u}=(0,X.useContext)(TS),[d,f]=(0,X.useState)(null),p=(0,X.useRef)(0),m=(0,X.useRef)(null),h=(0,X.useRef)(!1),g=(0,X.useRef)(null),_=()=>clearTimeout(p.current),v=()=>{let t=g.current.getBoundingClientRect();try{navigator.vibrate&&navigator.vibrate(12)}catch{}l&&u&&u(e),f({x:t.left+t.width/2,y:t.top+t.height/2})},y=d&&(0,wS.createPortal)((0,Z.jsx)(kS,{at:d,title:t,brand:n,text:e,more:r,scene:i,scenes:a,onClose:()=>f(null)}),document.body);return l&&!o?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`span`,{ref:g,\"data-explain\":`1`,onPointerDownCapture:e=>e.stopPropagation(),onMouseDownCapture:e=>e.stopPropagation(),onKeyDownCapture:e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),e.stopPropagation(),v())},onClickCapture:e=>{e.preventDefault(),e.stopPropagation(),v()},style:{display:`inline-flex`,flexShrink:0,outline:`2px dashed #7aa2ff`,outlineOffset:2,borderRadius:8},children:c}),y]}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(uS,{content:e,placement:s,children:(0,Z.jsx)(`span`,{ref:g,onPointerDown:e=>{h.current=!1,m.current=[e.clientX,e.clientY],_(),p.current=setTimeout(()=>{h.current=!0,v()},ES)},onPointerMove:e=>{m.current&&Math.hypot(e.clientX-m.current[0],e.clientY-m.current[1])>8&&_()},onPointerUp:_,onPointerCancel:_,onPointerLeave:_,onContextMenu:e=>e.preventDefault(),onClickCapture:e=>{h.current&&=(e.preventDefault(),e.stopPropagation(),!1)},style:{display:`inline-flex`,flexShrink:0,WebkitTouchCallout:`none`,WebkitUserSelect:`none`,userSelect:`none`},children:c})}),y]})}var OS=`@keyframes peekFade{from{opacity:0}to{opacity:1}}\n@keyframes peekGrow{0%{transform:scale(.3);opacity:0}60%{transform:scale(1.03);opacity:1}100%{transform:scale(1)}}\n@keyframes peekRise{from{transform:translateY(10px);opacity:0}to{transform:none;opacity:1}}\n@keyframes peekPop{0%{transform:scale(.5);opacity:0}70%{transform:scale(1.12);opacity:1}100%{transform:scale(1)}}\n@keyframes peekReveal{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 0 0)}}\n@keyframes peekRing{0%{transform:scale(.4);opacity:.9}100%{transform:scale(5);opacity:0}}\n.peek-card>*{animation:peekRise .4s cubic-bezier(.2,.9,.3,1) both}\n.peek-card>.peek-head{animation-delay:.12s}.peek-card>.peek-scene{animation:peekReveal .5s cubic-bezier(.2,.8,.2,1) .18s both}\n.peek-card>.peek-text{animation-delay:.3s}.peek-card>.peek-more{animation-delay:.38s}.peek-card>.peek-hint{animation-delay:.5s}\n.peek-brand{animation:peekPop .45s cubic-bezier(.3,1.5,.5,1) .15s both}\n.peek-scene{color:#111;color-scheme:light;border:1px solid #e6e6e6;overflow:hidden;margin:2px 0 12px;border-radius:var(--radius)}\n.peek-scene .demo-wrap,.peek-mini .demo-wrap{width:100%;height:auto;display:block}\n.peek-scene .demo,.peek-mini .demo{position:static;width:100%;height:auto;display:block;transform:none!important;box-shadow:none!important}\n.peek-row{display:flex;align-items:center;gap:12px;animation:peekRise .4s cubic-bezier(.2,.9,.3,1) both}\n.peek-mini{flex:none;width:132px;border:1px solid #e6e6e6;overflow:hidden;color:#111;color-scheme:light;border-radius:var(--radius)}\n@media (prefers-reduced-motion:reduce){.peek-card>*,.peek-brand,.peek-row{animation-duration:.01s;animation-delay:0s}}`;function kS({at:e,title:t,brand:n,text:r,more:i,scene:a,scenes:o,onClose:s}){(0,X.useEffect)(()=>{let e=e=>{e.key===`Escape`&&s()};return addEventListener(`keydown`,e),()=>removeEventListener(`keydown`,e)},[s]);let c=Math.min(o?380:340,innerWidth-32);return(0,Z.jsxs)(`div`,{role:`dialog`,\"aria-modal\":`true`,\"aria-label\":t||vS[n]||`What this does`,onPointerDown:s,style:{position:`fixed`,inset:0,zIndex:100,background:`rgba(0,0,0,.34)`,backdropFilter:`blur(8px)`,WebkitBackdropFilter:`blur(8px)`,animation:`peekFade .2s ease-out`},children:[(0,Z.jsx)(`style`,{children:OS}),(0,Z.jsx)(`span`,{\"aria-hidden\":`true`,style:{position:`absolute`,left:e.x-20,top:e.y-20,width:40,height:40,borderRadius:`50%`,border:`2px solid #7aa2ff`,animation:`peekRing .7s ease-out both`,pointerEvents:`none`}}),(0,Z.jsx)(`div`,{style:{position:`absolute`,left:`50%`,top:`50%`,width:c,marginLeft:-c/2,transform:`translateY(-50%)`,maxHeight:`92vh`,overflow:`auto`},children:(0,Z.jsxs)(`div`,{className:`peek-card`,style:{transformOrigin:`${e.x-(innerWidth-c)/2}px ${e.y-innerHeight/2+80}px`,animation:`peekGrow .34s cubic-bezier(.2,.9,.3,1.1)`,background:`#fff`,color:`#111`,colorScheme:`light`,borderRadius:22,padding:18,boxShadow:`0 24px 70px rgba(0,0,0,.4)`},children:[(0,Z.jsxs)(`div`,{className:`peek-head`,style:{display:`flex`,alignItems:`center`,gap:10,marginBottom:10},children:[n&&(0,Z.jsx)(`span`,{className:`peek-brand`,style:{display:`inline-flex`},children:(0,Z.jsx)(bS,{name:n,size:40})}),(0,Z.jsx)(`div`,{style:{fontSize:18,fontWeight:650},children:t||vS[n]||`What this does`})]}),a&&(0,Z.jsx)(`div`,{className:`peek-scene`,children:(0,Z.jsx)(CS,{kind:a})}),(0,Z.jsx)(`div`,{className:`peek-text`,style:{fontSize:16,lineHeight:1.4},children:r}),o&&(0,Z.jsx)(`div`,{style:{display:`grid`,gap:10,marginTop:12},children:o.map((e,t)=>(0,Z.jsxs)(`div`,{className:`peek-row`,style:{animationDelay:.3+t*.09+`s`},children:[(0,Z.jsx)(`div`,{className:`peek-mini`,children:(0,Z.jsx)(CS,{kind:e.kind})}),(0,Z.jsxs)(`div`,{children:[(0,Z.jsx)(`div`,{style:{fontSize:15,fontWeight:600},children:e.label}),(0,Z.jsx)(`div`,{style:{fontSize:13,lineHeight:1.35,color:`#555`},children:e.text})]})]},e.kind))}),i&&(0,Z.jsx)(`div`,{className:`peek-more`,style:{fontSize:14,lineHeight:1.4,color:`#555`,marginTop:10,paddingTop:10,borderTop:`1px solid #eee`},children:i}),(0,Z.jsx)(`div`,{className:`peek-hint`,style:{fontSize:12,color:`#999`,marginTop:12},children:`Tap anywhere to close`})]})})]})}var AS,jS,MS,NS,PS,FS,IS,LS,RS,zS,BS,VS,HS,US,WS,GS=o((()=>{AS={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}},jS={normal:{k63SB2:`x1sodnla`,$$css:!0},medium:{k63SB2:`x1e4wzip`,$$css:!0},semibold:{k63SB2:`x2mo6ok`,$$css:!0},bold:{k63SB2:`x1lvx875`,$$css:!0}},MS={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}},NS={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}},PS={\"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}},FS={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}},IS={inline:{k1xSpc:`xt0psk2`,kHjlTd:`xh015us`,$$css:!0},block:{k1xSpc:`x1lliihq`,kHjlTd:`xh015us`,$$css:!0}},LS={singleLine:{kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,k1xSpc:`x1lliihq`,$$css:!0},multiLine:{kVQacm:`xb3r6kr`,k1xSpc:`x104kibb`,kgKLqz:`x1ua5tub`,$$css:!0}},RS={\"break-word\":{kTgw9:`x1lldw8n`,kHjlTd:`x1mzt3pk`,$$css:!0},\"break-all\":{kTgw9:`x1yn0g08`,$$css:!0}},zS={wrap:{kN2L0X:`xk4td0m`,$$css:!0},nowrap:{kN2L0X:`xebhuq6`,$$css:!0},balance:{kN2L0X:`x1w2vvpw`,$$css:!0},pretty:{kN2L0X:`x1fzhlzt`,$$css:!0}},BS={enabled:{kxwWH2:`x1b2iylo`,kzeHkT:`xwgcxoh`,k1xSpc:`x1lliihq`,$$css:!0}},VS={strikethrough:{kybGjl:`xmqliwb`,$$css:!0}},HS={enabled:{kcqcaj:`xss6m8b`,$$css:!0}},US={start:{k9WMMc:`x1yc453h`,$$css:!0},center:{k9WMMc:`x2b8uid`,$$css:!0},end:{k9WMMc:`xp4054r`,$$css:!0}},WS={content:{ks0D6T:`xw5ewwj`,kTgw9:`x13faqbe`,$$css:!0}}}));function KS(e){let{maxLines:t,isExpanded:n=!1}=e,[r,i]=(0,qS.useState)(!1),[a,o]=(0,qS.useState)(``),s=(0,qS.useRef)({isTruncated:!1,fullText:``}),c=(0,qS.useCallback)(e=>{s.current.isTruncated!==e&&(s.current.isTruncated=e,i(e))},[]),l=(0,qS.useCallback)(e=>{s.current.fullText!==e&&(s.current.fullText=e,o(e))},[]),u=(0,qS.useRef)(null),d=(0,qS.useRef)(null),f=(0,qS.useRef)(null),p=(0,qS.useRef)({isTruncated:!1,fullText:``}),m=(0,qS.useRef)(null),h=(0,qS.useCallback)(e=>{if(t===0)c(!1);else if(p.current.fullText=e.textContent??``,l(p.current.fullText),t===1)p.current.isTruncated=e.scrollWidth>e.offsetWidth,c(p.current.isTruncated);else{let t=e.scrollHeight;try{let n=document.createRange();n.selectNodeContents(e),t=n.getBoundingClientRect().height,n.detach()}catch{}p.current.isTruncated=t>e.offsetHeight,c(p.current.isTruncated)}},[t,c,l]);return{ref:(0,qS.useCallback)(e=>{d.current?.(),d.current=null,f.current?.(),f.current=null;let r=u.current;if(u.current=e,n){e==null?m.current=r:(c(p.current.isTruncated),l(p.current.fullText));return}let i=m.current;if(m.current=null,i!=null&&e!==i&&(p.current={isTruncated:!1,fullText:``},c(!1),l(``)),e&&t>0){let t=Ji(e,()=>{h(e)});t??h(e),d.current=t,f.current=Zg(e,()=>{h(e)})}else c(!1),l(``)},[t,n,h,c,l]),isTruncated:r,fullText:a}}var qS,JS=o((()=>{qS=u(f(),1),Qi(),t_()}));function YS(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 XS=o((()=>{})),ZS,QS,$S,eC,tC,nC,rC=o((()=>{ZS=`modulepreload`,QS=function(e){return`/`+e},$S={},eC=function(e){return e.pathname.endsWith(`.css`)},tC=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},nC=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=function(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))},i=function(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)},a,o=document.querySelector(`meta[property=csp-nonce]`),s=o?.nonce||o?.getAttribute(`nonce`);r=e(t.map(e=>{e=QS(e,n);let t=i(e),r=eC(t);return tC($S,t.href,()=>{if(a===void 0){a={all:new Set,styles:new Set};let e=document.getElementsByTagName(`link`);for(let t=e.length-1;t>=0;t--){let n=e[t];a.all.add(n.href),n.rel===`stylesheet`&&a.styles.add(n.href)}}if((r?a.styles:a.all).has(t.href))return;let e=document.createElement(`link`);if(e.rel=r?`stylesheet`:ZS,r||(e.as=`script`),e.crossOrigin=``,e.href=t.href,s&&e.setAttribute(`nonce`,s),document.head.appendChild(e),r)return new Promise((n,r)=>{let i=a=>{e.removeEventListener(`load`,i),e.removeEventListener(`error`,i),a.type===`error`?r(Error(`Unable to preload CSS for ${t}`)):n(a)};e.addEventListener(`load`,i),e.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)})}}));function iC(e){let[t,n]=(0,fC.useState)(!1),[r,i]=(0,fC.useState)(()=>mC.loaded()?.Tooltip??null);(0,fC.useEffect)(()=>{if(!e||r!=null)return;let t=!0;return mC.load().then(e=>{t&&i(()=>e.Tooltip)},()=>{}),()=>{t=!1}},[e,r]);let a=(0,fC.useRef)({interest:null,tapEvent:null,isRead:!1}),o=kp(),s=(0,fC.useCallback)((t,r=null)=>{let i=a.current;e&&!i.isRead&&(i.interest=t,i.tapEvent=r,n(!0))},[e]),c=(0,fC.useCallback)(e=>{let t=a.current;!t.isRead&&t.interest===e&&(t.interest=null)},[]);return{isWanted:t,tooltip:r,interestRef:a,onPointerEnter:(0,fC.useCallback)(e=>{e.pointerType!==`touch`&&s(`hover`)},[s]),onPointerLeave:(0,fC.useCallback)(()=>c(`hover`),[c]),onPointerDown:(0,fC.useCallback)(t=>{!e||a.current.isRead?o.forget():o.press(t.nativeEvent,t.currentTarget,e=>s(`tap`,e))||c(`hover`)},[e,o,s,c]),onFocus:(0,fC.useCallback)(e=>{let t=e.target;Qu(t)&&t.matches(`:focus-visible`)&&!o.isTouchPressCurrent()&&s(`focus`)},[s,o]),onBlur:(0,fC.useCallback)(()=>c(`focus`),[c])}}function aC({anchorRef:e,content:t,placement:n,interest:r}){let i=r.tooltip;return i==null?null:(0,pC.jsx)(ou,{value:r.interestRef,children:(0,pC.jsx)(i,{anchorRef:e,content:t,placement:n})})}function oC(e){let t=e.clientWidth||(e instanceof HTMLElement?e.offsetWidth:0);return t>0&&e.scrollWidth>t}function sC(e){let t=e.ownerDocument.defaultView?.getComputedStyle(e);return t!=null&&t.position===`absolute`&&(t.clip!==``&&t.clip!==`auto`||t.clipPath!==``&&t.clipPath!==`none`)}function cC(e){return e.closest(`[hidden], [aria-hidden=\"true\"], ${hC}`)!=null||sC(e)}function lC(e){return oC(e)||[...e.querySelectorAll(`*`)].some(e=>!cC(e)&&oC(e))}function uC(e){let t=``,n=e=>{e.nodeType===Node.TEXT_NODE?t+=e.textContent??``:e instanceof Element&&!cC(e)&&e.childNodes.forEach(n)};return n(e),t.replace(/\\s+/g,` `).trim()}function dC({anchorRef:e,measureRef:t,isEnabled:n,isSuppressed:r}){let[i,a]=(0,fC.useState)(null),[o,s]=(0,fC.useState)(()=>mC.loaded()?.UndescribedTooltip??null),c=If(e,n);(0,fC.useEffect)(()=>{if(!n||o!=null)return;let e=!0;return mC.load().then(t=>{e&&s(()=>t.UndescribedTooltip)},()=>{}),()=>{e=!1}},[n,o]);let l=(0,fC.useCallback)(()=>a(null),[]);return{cutText:i,Tooltip:o,hide:l,onFocus:i=>{let o=e.current,s=t?.current??o,l=i.target;if(!n||o==null||s==null||!Qu(l)||!o.contains(l)||!l.matches(`:focus-visible`)||c()!==`keyboard`)return;let u=uC(s),d=u!==``&&!(r?.(o)??!1)&&lC(s);a(d?u:null)},onBlur:t=>{let n=t.relatedTarget;Qu(n)&&e.current?.contains(n)||a(null)},onPointerDown:l}}var fC,pC,mC,hC,gC=o((()=>{fC=u(f(),1),XS(),Hf(),Pp(),od(),su(),pC=mc(),rC(),mC=YS(async()=>nC(()=>Promise.resolve().then(()=>(hS(),sS)),void 0)),hC=`input, textarea, select, [contenteditable]:not([contenteditable=\"false\"]), [role=\"combobox\"], [role=\"listbox\"], [role=\"searchbox\"], [role=\"spinbutton\"], [role=\"slider\"], [role=\"textbox\"]`}));function _C(...e){return t=>{for(let n of e)if(n?.(t),t.defaultPrevented)return}}var vC=o((()=>{}));function yC(e,t){let n={...e,...t},r=[e.className,t.className].filter(Boolean).join(` `);r?n.className=r:delete n.className;let i=t.style&&e.style?{...e.style,...t.style}:t.style||e.style;return i?n.style=i:delete n.style,n}function Q(e,t,n,r){if(typeof e==`string`){let i=e,a=t??{className:``},o=n,s=a.className?`${i} ${a.className}`:i;o&&(s=`${s} ${o}`);let c=r&&a.style?{...a.style,...r}:r||a.style;return{...a,className:s,style:c}}let i=yC(e,typeof t==`string`?{className:t}:t??{});return typeof n==`string`?i=yC(i,{className:n}):n!=null&&(i=yC(i,{style:n})),r!=null&&(i=yC(i,{style:r})),i}var bC=o((()=>{})),xC,Vee=o((()=>{Xf(),xC=Uf(`TextClampContext`,1,!1)}));function Hee(e){return e in NS?e:`body`}function SC(e){return e in AS?e:`primary`}function CC({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:m,style:h,as:g=`span`,children:_,ref:v,...y}){let b=n??EC[e]??`primary`,x=Hee(e),S=SC(b),w=s??(a===1?`break-all`:`break-word`),T=a>0||u?`block`:i,E=KS({maxLines:o===!1?0:a}),D=typeof o==`string`?o:`above`,O=a>0&&o!==!1&&E.isTruncated,k=iC(O),A=(0,wC.useRef)(null),j=gx(v,E.ref,A),M=(0,wC.use)(xC),N=a===1||a>1&&!u,P=a>1?{WebkitLineClamp:a}:void 0;return(0,TC.jsxs)(TC.Fragment,{children:[(0,TC.jsx)(g,{ref:j,...Q(Y(`text`,{type:e,size:t,color:b}),C(AS[S],NS[x],t&&PS[t],MS[x],r&&jS[r],a===1?LS.singleLine:a>1?LS.multiLine:IS[T],a>0&&RS[w],c&&zS[c],l!==`start`&&US[l],u&&BS.enabled,d&&VS.strikethrough,f&&HS.enabled,p),m,{...h,...P}),...y,onPointerEnter:_C(k.onPointerEnter,y.onPointerEnter),onPointerLeave:_C(k.onPointerLeave,y.onPointerLeave),onPointerDown:_C(k.onPointerDown,y.onPointerDown),onFocus:_C(k.onFocus,y.onFocus),onBlur:_C(k.onBlur,y.onBlur),children:(0,TC.jsx)(xC,{value:N||M,children:_})}),O&&k.isWanted&&(0,TC.jsx)(aC,{anchorRef:A,content:(0,TC.jsx)(`span`,{...C(WS.content),children:E.fullText}),placement:D,interest:k})]})}var wC,TC,EC,DC=o((()=>{wC=u(f(),1),D(),GS(),JS(),gC(),vC(),bC(),vx(),vr(),Vee(),TC=mc(),EC={body:`primary`,large:`primary`,label:`primary`,supporting:`secondary`,code:`primary`,\"display-1\":`primary`,\"display-2\":`primary`,\"display-3\":`primary`,inherit:`inherit`},CC.displayName=`Text`}));function OC(e,t,n=!0){AC(e,t,n,!1)}function kC(e,t,n=!0){AC(e,t,n,!0)}function AC(e,t,n,r){let[i]=(0,jC.useState)(ac);(0,jC.useEffect)(()=>{n&&i(e,t,r?t:``)},[e,t,n,r,i])}var jC,MC=o((()=>{jC=u(f(),1),sc()}));function Uee(e){return e===`display-1`||e===`display-2`||e===`display-3`}function Wee(e){let t=typeof e==`number`||typeof e==`string`?Number(e):NaN;return Number.isInteger(t)&&t>=1&&t<=6?t:LC}function NC({level:e,type:t,weight:n,accessibilityLevel:r,color:i=`primary`,display:a=`block`,maxLines:o=0,hasTruncateTooltip:s=!0,wordBreak:c,textWrap:l,justify:u=`start`,hasCapsize:d=!1,hasStrikethrough:f=!1,xstyle:p,className:m,style:h,children:g,ref:_,...v}){let y=Wee(e);OC(`Heading`,`level must be 1, 2, 3, 4, 5 or 6, but it is ${typeof e==`string`?JSON.stringify(e):String(e)}. The heading renders as level ${y}. Pass the outline level, for example .`,y!==e);let b=IC[y],x=r&&r!==y?{\"aria-level\":r}:{},S=c??(o===1?`break-all`:`break-word`),w=o>0||d?`block`:a,T=t&&Uee(t)?t:void 0,E=KS({maxLines:s===!1?0:o}),D=typeof s==`string`?s:`above`,O=o>0&&s!==!1&&E.isTruncated,k=iC(O),A=(0,PC.useRef)(null),j=gx(_,E.ref,A),M=o>1?{WebkitLineClamp:o}:void 0;return(0,FC.jsxs)(FC.Fragment,{children:[(0,FC.jsx)(b,{ref:j,...Q(Y(`heading`,{level:y,color:i,type:t,weight:n}),C(AS[SC(i)],T?NS[T]:FS[y],T&&MS[T],n&&jS[n],o===1?LS.singleLine:o>1?LS.multiLine:IS[w],o>0&&RS[S],l&&zS[l],u!==`start`&&US[u],d&&BS.enabled,f&&VS.strikethrough,p),m,{...h,...M}),...x,...v,onPointerEnter:_C(k.onPointerEnter,v.onPointerEnter),onPointerLeave:_C(k.onPointerLeave,v.onPointerLeave),onPointerDown:_C(k.onPointerDown,v.onPointerDown),onFocus:_C(k.onFocus,v.onFocus),onBlur:_C(k.onBlur,v.onBlur),children:g}),O&&k.isWanted&&(0,FC.jsx)(aC,{anchorRef:A,content:(0,FC.jsx)(`span`,{...C(WS.content),children:E.fullText}),placement:D,interest:k})]})}var PC,FC,IC,LC,RC=o((()=>{PC=u(f(),1),D(),GS(),JS(),gC(),vC(),DC(),bC(),vx(),MC(),vr(),FC=mc(),IC={1:`h1`,2:`h2`,3:`h3`,4:`h4`,5:`h5`,6:`h6`},LC=2,NC.displayName=`Heading`})),zC,Gee=o((()=>{ys(),zC=_s(`SpinnerOwnerContext`,1,!1),zC.displayName=`SpinnerOwnerContext`})),BC,VC=o((()=>{Xn(),BC=Kn(`i18n/default-translator/default-translator`,1,()=>({}))})),HC,UC=o((()=>{ys(),VC(),HC=_s(`InternationalizationContext`,1,{locale:`en`,direction:`ltr`,messages:{},translate:(e,t)=>BC.translate?.(e,t)??e}),HC.displayName=`InternationalizationContext`}));function WC(e,t){let n=t&&t.cache?t.cache:XC,r=t&&t.serializer?t.serializer:JC;return(t&&t.strategy?t.strategy:qee)(e,{cache:n,serializer:r})}function Kee(e){return e==null||typeof e==`number`||typeof e==`boolean`}function GC(e,t,n,r){let i=Kee(r)?r:n(r),a=t.get(i);return a===void 0&&(a=e.call(this,r),t.set(i,a)),a}function KC(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 qC(e,t,n,r,i){return n.bind(t,e,r,i)}function qee(e,t){let n=e.length===1?GC:KC;return qC(e,this,n,t.cache.create(),t.serializer)}function Jee(e,t){return qC(e,this,KC,t.cache.create(),t.serializer)}function Yee(e,t){return qC(e,this,GC,t.cache.create(),t.serializer)}var JC,YC,XC,ZC,Xee=o((()=>{JC=function(){return JSON.stringify(arguments)},YC=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}},XC={create:function(){return new YC}},ZC={variadic:Jee,monadic:Yee}}));function Zee(e){let t={};return e.replace(tw,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}function Qee(e){if(e.length===0)throw Error(`Number skeleton cannot be empty`);let t=e.split(nw).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 $ee(e){return e.replace(/^(.*?)-/,``)}function QC(e){let t={};return e[e.length-1]===`r`?t.roundingPriority=`morePrecision`:e[e.length-1]===`s`&&(t.roundingPriority=`lessPrecision`),e.replace(iw,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 $C(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 ete(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)),!ow.test(e))throw Error(`Malformed concise eng/scientific notation`);t.minimumIntegerDigits=e.length}return t}function ew(e){return $C(e)||{}}function tte(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=$ee(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,...ew(t)}),{})};continue;case`engineering`:t={...t,notation:`engineering`,...n.options.reduce((e,t)=>({...e,...ew(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(aw,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(ow.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(rw.test(n.stem)){if(n.options.length>1)throw RangeError(`Fraction-precision stems only accept a single optional option`);n.stem.replace(rw,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,...QC(e)});continue}if(iw.test(n.stem)){t={...t,...QC(n.stem)};continue}let e=$C(n.stem);e&&(t={...t,...e});let r=ete(n.stem);r&&(t={...t,...r})}return t}var tw,nw,rw,iw,aw,ow,nte=o((()=>{tw=/(?:[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,nw=/[\\t-\\r \\x85\\u200E\\u200F\\u2028\\u2029]/i,rw=/^\\.(?:(0+)(\\*)?|(#+)|(0+)(#+))$/g,iw=/^(@+)?(\\+|#+)?[rs]?$/g,aw=/(\\*)(0+)|(#+)(0+)|(0+)/g,ow=/^(0+)$/}));function sw(e){return e.type===0}function rte(e){return e.type===1}function cw(e){return e.type===2}function lw(e){return e.type===3}function uw(e){return e.type===4}function dw(e){return e.type===5}function fw(e){return e.type===6}function ite(e){return e.type===7}function pw(e){return e.type===8}function mw(e){return!!(e&&typeof e==`object`&&e.type===0)}function hw(e){return!!(e&&typeof e==`object`&&e.type===1)}function ate(e,t){let n=``;for(let r=0;r>1),c=ote(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 ote(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),(xw[`${n}-${r}`]||xw[r||``]||xw[n||``]||xw[`${n}-001`]||xw[`001`])[0].charAt(0)}function gw(e,t){return{start:e,end:t}}function ste(e,t){return Aw.lastIndex=t,Aw.exec(e)[1]??``}function cte(e){if(e.length===0)return null;let t=1,n=1;for(let r=0;r=55296&&i<=56319&&r+1=56320&&t<=57343?2:1}else r++}return{offset:e.length,line:t,column:n}}function _w(e){return e>=97&&e<=122||e>=65&&e<=90}function lte(e){return _w(e)||e===47}function ute(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 dte(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function vw(e){e.forEach(e=>{if(delete e.location,dw(e)||fw(e))for(let t in e.options)delete e.options[t].location,vw(e.options[t].value);else cw(e)&&mw(e.style)||(lw(e)||uw(e))&&hw(e.style)?delete e.style.location:pw(e)&&vw(e.children)})}function fte(e,t={}){t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t};let n=new jw(e,t).parse();if(n.err){let e=SyntaxError(yw[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return t?.captureLocation||vw(n.val),n.val}var yw,bw,xw,Sw,Cw,ww,Tw,Ew,Dw,Ow,kw,Aw,jw,Mw=o((()=>{nte(),yw=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}({}),bw=/[ \\xA0\\u1680\\u2000-\\u200A\\u202F\\u205F\\u3000]/,xw={\"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`]},Sw=RegExp(`^${bw.source}*`),Cw=RegExp(`${bw.source}*$`),ww=!!Object.fromEntries,Tw=!!String.prototype.trimStart,Ew=!!String.prototype.trimEnd,Dw=ww?Object.fromEntries:function(e){let t={};for(let[n,r]of e)t[n]=r;return t},Ow=Tw?function(e){return e.trimStart()}:function(e){return e.replace(Sw,``)},kw=Ew?function(e){return e.trimEnd()}:function(e){return e.replace(Cw,``)},Aw=RegExp(`([^\\\\p{White_Space}\\\\p{Pattern_Syntax}]*)`,`yu`),jw=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=cte(this.message);if(e){let t=this.clonePosition();return this.position=e,{val:[{type:0,value:this.message,location:gw(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:gw(e,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(26,gw(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&_w(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:gw(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(``)?{val:{type:8,value:r,children:a,location:gw(n,this.clonePosition())},err:null}:this.error(23,gw(o,this.clonePosition()))):this.error(26,gw(e,this.clonePosition()))}return this.error(27,gw(n,this.clonePosition()))}return this.error(23,gw(n,this.clonePosition()))}parseTagName(){let e=this.offset();for(this.bump();!this.isEOF()&&ute(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=gw(n,this.clonePosition());return{val:{type:0,value:r,location:i},err:null}}tryParseLeftAngleBracket(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!lte(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,gw(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(2,gw(n,this.clonePosition()));let r=this.parseIdentifierIfPossible().value;if(!r)return this.error(3,gw(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,gw(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:r,location:gw(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(1,gw(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(3,gw(n,this.clonePosition()))}}parseIdentifierIfPossible(){let e=this.clonePosition(),t=this.offset(),n=ste(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:gw(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,gw(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=kw(n.val);if(r.length===0)return this.error(6,gw(this.clonePosition(),this.clonePosition()));e={style:r,styleLocation:gw(t,this.clonePosition())}}let t=this.tryParseArgumentClose(r);if(t.err)return t;let i=gw(r,this.clonePosition());if(e&&e.style.startsWith(`::`)){let t=Ow(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=ate(t,this.locale));let o={type:1,pattern:r,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?Zee(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,gw(i,{...i}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),s=0;if(a!==`select`&&o.value===`offset`){if(!this.bumpIf(`:`))return this.error(13,gw(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=gw(r,this.clonePosition());return a===`select`?{val:{type:5,value:n,options:Dw(c.val),location:u},err:null}:{val:{type:6,value:n,options:Dw(c.val),offset:s,pluralType:a===`plural`?`cardinal`:`ordinal`,location:u},err:null}}default:return this.error(5,gw(i,o))}}tryParseArgumentClose(e){return this.isEOF()||this.char()!==125?this.error(1,gw(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,gw(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=Qee(e)}catch{return this.error(7,t)}return{val:{type:0,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?tte(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=gw(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,gw(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:gw(r,this.clonePosition())}]),o.add(s),this.bumpSpace(),{value:s,location:c}=this.parseIdentifierIfPossible()}return a.length===0?this.error(t===`select`?15:16,gw(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(22,gw(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=gw(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=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()&&dte(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 pte(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 Nw(e){return typeof e==`function`}function Pw(e,t,n,r,i,a,o){if(e.length===1&&sw(e[0]))return[{type:0,value:e[0].value}];let s=[];for(let c of e){if(sw(c)){s.push({type:0,value:c.value});continue}if(ite(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 Vw(e,o);let l=i[e];if(rte(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(lw(c)){let e=typeof c.style==`string`?r.date[c.style]:hw(c.style)?c.style.parsedOptions:void 0;s.push({type:0,value:n.getDateTimeFormat(t,e).format(l)})}else if(uw(c)){let e=typeof c.style==`string`?r.time[c.style]:hw(c.style)?c.style.parsedOptions:r.time.medium;s.push({type:0,value:n.getDateTimeFormat(t,e).format(l)})}else if(cw(c)){let e=typeof c.style==`string`?r.number[c.style]:mw(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(pw(c)){let{children:e,value:l}=c,u=i[l];if(!Nw(u))throw new Bw(l,`function`,o);let d=u(Pw(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(dw(c)){let e=l,a=(Object.prototype.hasOwnProperty.call(c.options,e)?c.options[e]:void 0)||c.options.other;if(!a)throw new zw(c.value,l,Object.keys(c.options),o);s.push(...Pw(a.value,t,n,r,i))}else if(fw(c)){let e=`=${l}`,a=Object.prototype.hasOwnProperty.call(c.options,e)?c.options[e]:void 0;if(!a){if(!Intl.PluralRules)throw new Rw(`Intl.PluralRules is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-pluralrules\"\n`,`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 zw(c.value,l,Object.keys(c.options),o);let u=typeof l==`bigint`?Number(l):l;s.push(...Pw(a.value,t,n,r,i,u-(c.offset||0)))}}}return pte(s)}function Fw(e,t){return t?{...e,...t,...Object.keys(e).reduce((n,r)=>(n[r]={...e[r],...t[r]},n),{})}:e}function Iw(e,t){return t?Object.keys(e).reduce((n,r)=>(n[r]=Fw(e[r],t[r]),n),{...e}):e}function Lw(e){return{create(){return{get(t){return e[t]},set(t,n){e[t]=n}}}}}function mte(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:WC((...e)=>new Intl.NumberFormat(...e),{cache:Lw(e.number),strategy:ZC.variadic}),getDateTimeFormat:WC((...e)=>new Intl.DateTimeFormat(...e),{cache:Lw(e.dateTime),strategy:ZC.variadic}),getPluralRules:WC((...e)=>new Intl.PluralRules(...e),{cache:Lw(e.pluralRules),strategy:ZC.variadic})}}var Rw,zw,Bw,Vw,Hw,Uw,hte=o((()=>{Xee(),Mw(),Rw=class extends Error{constructor(e,t,n){super(e),this.code=t,this.originalMessage=n}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},zw=class extends Rw{constructor(e,t,n,r){super(`Invalid values for \"${e}\": \"${t}\". Options are \"${Object.keys(n).join(`\", \"`)}\"`,`INVALID_VALUE`,r)}},Bw=class extends Rw{constructor(e,t,n){super(`Value for \"${e}\" must be of type ${t}`,`INVALID_VALUE`,n)}},Vw=class extends Rw{constructor(e,t){super(`The intl string context variable \"${e}\" was not provided to the string \"${t}\"`,`MISSING_VALUE`,t)}},Hw=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=>Pw(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=Iw(e.formats,r),this.formatters=i&&i.formatters||mte(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=fte}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`}}}}},Uw=Hw}));function Ww(e){Object.assign(Gw,e)}var Gw,Kw,qw=o((()=>{Xn(),Gw=Gn(Wn(`i18n/english-fallback`,1),()=>({})),Kw=Gw}));function Jw(e,t){let n=`${t}::${e}`,r=Qw.get(n);return r===void 0&&(r=new Uw(e,t),Qw.set(n,r)),r}function Yw(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 Xw(e,t,n){let r={},i=Yw(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 Zw(e,t,n,r=Kw){let i=Xw(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:Jw(a,e).format(n)}}var Qw,$w=o((()=>{hte(),qw(),sc(),Qw=new Map})),eT,tT=o((()=>{UC(),VC(),$w(),BC.translate??=Zw(`en`,{}),eT=HC}));function nT(){return(0,rT.use)(eT).translate}var rT,iT=o((()=>{rT=u(f(),1),tT(),qw()})),aT,oT=o((()=>{aT={\"@astryx.spinner.loading\":`Loading`}}));function sT(){lT.flushScheduled=!1;let e=[];for(let t of lT.pendingRotors)e.push(...t.getAnimations());lT.pendingRotors.clear();for(let t of e)t.startTime=0}function gte(e){if(e!=null&&typeof e.getAnimations==`function`)return lT.pendingRotors.add(e),lT.flushScheduled||(lT.flushScheduled=!0,requestAnimationFrame(sT)),()=>{lT.pendingRotors.delete(e)}}var cT,lT,_te=o((()=>{Xn(),cT={turn:{k6sLGO:`x1so62im`,k44tkh:`xidn0ey x14hxw50`,ko0y90:`xa4qsjk`,kKVMdj:`x129v4ae`,kyAemX:`x1esw782`,$$css:!0}},lT=Kn(`spinner/spinner-rotor/state`,1,()=>({pendingRotors:new Set,flushScheduled:!1}))}));function uT(e){return e==null?null:(typeof e==`string`?tr(e):e)?.indicators??null}var dT=o((()=>{rr()}));function vte(e){return uT(Hs())?.[e]}var fT=o((()=>{rc(),dT()}));function pT(){if(typeof CSS<`u`&&typeof CSS.registerProperty==`function`)for(let e of yT)try{CSS.registerProperty({name:e,syntax:``,inherits:!0,initialValue:`0px`})}catch{}}function mT({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}=vT[e],f=d+u*2,p=Math.PI*d,m=p*_T,h=n!=null,g=(0,hT.useId)(),_=nT(),v=(0,hT.useRef)(null),y=(0,hT.useMemo)(()=>mx(v,c),[c]),b=h&&typeof n==`string`&&o==null,x=o??(typeof n==`string`?n:void 0)??_(`@astryx.spinner.loading`),S=(0,hT.use)(zC),w=l[`aria-hidden`]===!0||l[`aria-hidden`]===`true`,T=l.role;cx(v,!S&&!w&&(T==null||T===`progressbar`),``,{skipFirstRender:!0,fallbackText:x});let E=vte(`spinner`),D=(0,gT.jsx)(`span`,{ref:h?void 0:y,role:`progressbar`,\"aria-label\":b?void 0:x,\"aria-labelledby\":b?g:void 0,\"data-testid\":h?void 0:s,...h?{}:l,...Q(h?``:Y(`spinner`,{size:e,shade:t}),C(xT.spinner,!h&&ST[e],!h&&CT[t],!h&&r),h?void 0:i,{...h?{}:a,width:`var(${bT}, ${f}px)`,height:`var(${bT}, ${f}px)`}),children:E?(0,gT.jsx)(E,{state:`busy`,xstyle:xT.themeSpinner}):(0,gT.jsxs)(gT.Fragment,{children:[(0,gT.jsx)(`svg`,{width:0,height:0,\"aria-hidden\":`true`,className:`xlp1x4z x1lliihq x15r89dc x6v0vjy x7yyq19 x1rea2x4`,children:(0,gT.jsx)(`circle`,{cx:`50%`,cy:`50%`,r:d/2,strokeWidth:u,...C(xT.circle,xT.track,wT[t])})}),(0,gT.jsx)(`span`,{ref:gte,\"aria-hidden\":`true`,...C(xT.rotor,cT.turn),children:(0,gT.jsx)(`svg`,{width:f,height:f,className:`xlp1x4z x1lliihq x15r89dc x6v0vjy x7yyq19 x1rea2x4`,children:(0,gT.jsx)(`circle`,{cx:`50%`,cy:`50%`,r:d/2,strokeWidth:u,strokeDasharray:`${m} ${p-m}`,className:`xbh8q5q x1764fhq x1g0ag68 x1owpc8m xio8zfp xgw3ha0 xtve3lm x9tu13d xdv9ggb`})})})]})});return h?(0,gT.jsxs)(`div`,{ref:y,\"data-testid\":s,...l,...Q(Y(`spinner`,{size:e,shade:t}),C(xT.wrapper,ST[e],CT[t],r),i,a),children:[D,typeof n==`string`?(0,gT.jsx)(CC,{id:g,type:`body`,weight:`bold`,children:n}):n]}):D}var hT,gT,_T,vT,yT,bT,xT,ST,CT,wT,TT=o((()=>{hT=u(f(),1),Gee(),D(),DC(),bC(),hx(),px(),vr(),iT(),oT(),_te(),fT(),gT=mc(),Ww(aT),_T=.375,vT={sm:{diameter:10,border:2},md:{diameter:14,border:3},lg:{diameter:18,border:3},xl:{diameter:28,border:4}},yT=[`--_spinner-ring-diameter`,`--_spinner-ring-stroke`],bT=`--_spinner-box-size`,pT(),xT={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}},ST={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}},CT={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}},wT={default:{kDd8S0:`x1g350g8`,$$css:!0},subtle:{kDd8S0:`x1g350g8`,$$css:!0},onMedia:{kDd8S0:`x1smxkh6`,$$css:!0},inherit:{kDd8S0:`x7bo2k`,$$css:!0}},mT.displayName=`Spinner`})),ET,DT,OT,kT,AT=o((()=>{ET=mc(),DT={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},OT={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,width:`1em`,height:`1em`,\"aria-hidden\":!0},kT={close:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M6 6l12 12M6 18L18 6`})}),chevronDown:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M6 9l6 6 6-6`})}),\"numberInput:stepperDown\":(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M7.5 9.75l4.5 4.5 4.5-4.5`})}),chevronLeft:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M15 6l-6 6 6 6`})}),chevronRight:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M9 6l6 6-6 6`})}),chevronsLeft:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M18 6l-6 6 6 6M11 6l-6 6 6 6`})}),chevronsRight:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M6 6l6 6-6 6M13 6l6 6-6 6`})}),check:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M5 13l4 4L19 7`})}),success:(0,ET.jsx)(`svg`,{...OT,children:(0,ET.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,ET.jsx)(`svg`,{...OT,children:(0,ET.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,ET.jsx)(`svg`,{...OT,children:(0,ET.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,ET.jsx)(`svg`,{...OT,children:(0,ET.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,ET.jsxs)(`svg`,{...DT,children:[(0,ET.jsx)(`rect`,{x:`3`,y:`4`,width:`18`,height:`18`,rx:`2`}),(0,ET.jsx)(`path`,{d:`M16 2v4M8 2v4M3 10h18`})]}),clock:(0,ET.jsxs)(`svg`,{...DT,children:[(0,ET.jsx)(`circle`,{cx:`12`,cy:`12`,r:`9`}),(0,ET.jsx)(`path`,{d:`M12 7v5l3 3`})]}),externalLink:(0,ET.jsxs)(`svg`,{...DT,children:[(0,ET.jsx)(`path`,{d:`M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6`}),(0,ET.jsx)(`path`,{d:`M15 3h6v6`}),(0,ET.jsx)(`path`,{d:`M10 14L21 3`})]}),menu:(0,ET.jsx)(`svg`,{...DT,strokeWidth:2,children:(0,ET.jsx)(`path`,{d:`M4 6h16M4 12h16M4 18h16`})}),moreHorizontal:(0,ET.jsxs)(`svg`,{...OT,children:[(0,ET.jsx)(`circle`,{cx:`5`,cy:`12`,r:`1.5`}),(0,ET.jsx)(`circle`,{cx:`12`,cy:`12`,r:`1.5`}),(0,ET.jsx)(`circle`,{cx:`19`,cy:`12`,r:`1.5`})]}),search:(0,ET.jsxs)(`svg`,{...DT,children:[(0,ET.jsx)(`circle`,{cx:`11`,cy:`11`,r:`8`}),(0,ET.jsx)(`path`,{d:`M21 21l-4.35-4.35`})]}),upload:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M12 16V4m0 0L7 9m5-5l5 5M4 15v4a2 2 0 002 2h12a2 2 0 002-2v-4`})}),arrowUp:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M12 19V5m0 0l-7 7m7-7l7 7`})}),arrowDown:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M12 5v14m0 0l7-7m-7 7l-7-7`})}),arrowsUpDown:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.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,ET.jsx)(`svg`,{...DT,children:(0,ET.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,ET.jsx)(`svg`,{...DT,children:(0,ET.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,ET.jsx)(`svg`,{...DT,children:(0,ET.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,ET.jsxs)(`svg`,{...DT,children:[(0,ET.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,ET.jsx)(`path`,{d:`M16 18v2a2 2 0 01-2 2H6a2 2 0 01-2-2V9a2 2 0 012-2h2`})]}),checkDouble:(0,ET.jsxs)(`svg`,{...DT,children:[(0,ET.jsx)(`path`,{d:`M2 13l4 4L14 7`}),(0,ET.jsx)(`path`,{d:`M9 13l4 4L21 7`})]}),wrench:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.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,ET.jsx)(`svg`,{...OT,children:(0,ET.jsx)(`rect`,{x:`6`,y:`6`,width:`12`,height:`12`,rx:`2`})}),microphone:(0,ET.jsxs)(`svg`,{...DT,children:[(0,ET.jsx)(`path`,{d:`M12 2a3 3 0 00-3 3v6a3 3 0 006 0V5a3 3 0 00-3-3z`}),(0,ET.jsx)(`path`,{d:`M19 10v1a7 7 0 01-14 0v-1`}),(0,ET.jsx)(`path`,{d:`M12 18v4m-4 0h8`})]})}}));function jT(e){return e.includes(`:`)}function MT(e){return typeof e==`string`?tr(e):e??null}function NT(e){return e==null?null:e.__icons??e.icons??null}function PT(e,t,n){let r=MT(t),i=r?.iconVariants,a=NT(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=RT.entries[e];return o==null?{entry:kT[e]??n,variantLists:[]}:{entry:o,variantLists:[i]}}function FT({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 yte(e,t,n){return FT(PT(e,t),n)}function bte(e,t){return FT(PT(e,t),LT)}function xte(e){return typeof e==`string`&&!jT(e)&&Object.hasOwn(kT,e)}function Ste(e){return e==null?null:e.__componentIcons??e.componentIcons??null}function IT(e,t,n,r){if(n===void 0)return t;if(n===null)return{...t,icon:null};if(typeof n!=`object`||Array.isArray(n))return t;let{icon:i,variant:a,size:o}=n,s=t;return(i===null||xte(i))&&(s={...s,icon:i}),typeof a==`string`&&r?.iconVariants?.includes(a)&&(s={...s,variant:a}),zT.has(o)&&(s={...s,size:o}),s}function Cte(e,t,n,r){let i=n===null||typeof n==`string`?{icon:n}:n,a=MT(r),o=Ste(a)?.[e];if(o===void 0)return i;if(typeof o==`function`){let n=o(t);return typeof n==`string`?i:IT(e,i,n,a)}return typeof o==`string`?IT(e,i,{icon:o},a):IT(e,i,o,a)}var LT,RT,zT,BT=o((()=>{AT(),rr(),$n(),LT={size:`md`},RT=Zn(`icon/global-icon-registry/state`,1,()=>({entries:{}})),zT=new Set([`xsm`,`sm`,`md`,`lg`])}));function VT(e){let t=(0,HT.use)(UT);return e??t??`md`}var HT,UT,WT,GT=o((()=>{HT=u(f(),1),Xf(),UT=Uf(`IconDefaultSizeContext`,1,null),UT.displayName=`IconDefaultSizeContext`,WT=UT.Provider})),KT,qT,JT=o((()=>{KT={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}},qT={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}}}));function YT(e){return e!=null&&e!==``?{role:`img`,\"aria-label\":e,\"aria-hidden\":void 0}:{\"aria-hidden\":`true`}}function XT({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}=ZT(e,l);OC(`Icon`,'takes its glyph in `icon`, not `name`. Pass it as icon, for example .',u!==e);let f=VT(n),p=YT(i);return typeof u==`string`?(0,nE.jsx)($T,{name:u,color:t,size:f,variant:r,a11yProps:p,className:o,style:s,xstyle:c,svgRef:a,spanProps:d}):(0,nE.jsx)(u,{ref:a,...p,...Q(Y(`icon`,{size:f,color:t}),C(rE.root,aE[t],KT[f],c),o??void 0,s),...d})}function ZT(e,t){if(e!=null||!(`name`in t)||!QT(t.name))return{icon:e,props:t};let{name:n,...r}=t;return{icon:n,props:r}}function QT(e){return typeof e==`string`&&e!==``||typeof e==`function`||typeof e==`object`&&!!e&&oE.has(e.$$typeof)}function $T({name:e,color:t,size:n,variant:r,a11yProps:i,className:a,style:o,xstyle:s,svgRef:c,spanProps:l}){let u=Us(),d=yte(e,u,{size:n,variant:r}),f=(0,tE.useCallback)(e=>c==null?void 0:mx(c)(e?.querySelector(`svg`)??null),[c,e,u,n,r]);if(d==null)return null;let p=l??{};return(0,nE.jsx)(`span`,{ref:c==null?void 0:f,...i,...p,...Q(Y(`icon`,{size:n,color:t}),C(rE.span,aE[t],iE[n],s),a??void 0,o),children:d})}function eE(e,t){return typeof e==`string`||typeof e==`function`||typeof e==`object`&&e&&`render`in e?(0,nE.jsx)(XT,{icon:e,...t}):e}var tE,nE,rE,iE,aE,oE,sE=o((()=>{tE=u(f(),1),D(),rc(),BT(),bC(),hx(),vr(),GT(),MC(),JT(),nE=mc(),rE={root:{kmuXW:`x2lah0s`,$$css:!0},span:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,$$css:!0}},iE={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}},aE={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}},XT.displayName=`Icon`,oE=new Set([Symbol.for(`react.forward_ref`),Symbol.for(`react.memo`),Symbol.for(`react.lazy`)])}));function cE({children:e,as:t=`span`,ref:n,...r}){let{xstyle:i,className:a,style:o,...s}=r;return(0,lE.createElement)(t,{ref:n,...s,className:`x10l6tqk x1i1rx1s xjm9jq1 xkdpibf x1717udv xb3r6kr xzpqnlu xuxw1ft xng3xce x13vifvy x1o0tod x47corl x87ps6o`},e)}var lE,uE=o((()=>{lE=u(f(),1),cE.displayName=`VisuallyHidden`})),dE=`data-astryx-edge-comp`;Xf();var fE=Uf(`SizeContext`,1,null);fE.displayName=`SizeContext`;function pE(e,t=`md`){let n=(0,X.use)(fE);return e??n??t}var mE=fE.Provider;Xf();var hE=Uf(`ButtonGroupContext`,1,null);hE.displayName=`ButtonGroupContext`;function gE(){return(0,X.use)(hE)}Xf(),Qv();var _E=Uf(`PressGroupContext`,1,null);_E.displayName=`PressGroupContext`;var vE=Uf(`PressGroupBandContext`,1,!1);vE.displayName=`PressGroupBandContext`,Xf();var yE=Uf(`InputGroupContext`,1,null);yE.displayName=`InputGroupContext`;function bE(){return(0,X.use)(yE)}Xf();var xE=Uf(`InputGroupInternalContext`,1,{isDisabled:!1});xE.displayName=`InputGroupInternalContext`;var SE={\"data-astryx-input-group-item\":``},CE={buttonAddon:{krdFHd:`x132ell6`,kVL7Gh:`x1y3chn8`,kfmiAY:`x1lsh8a1`,kT0f0o:`xz46atp`,kZKoxP:`x1y436bp`,kY2c9j:`xf5goe6`,$$css:!0},inGroup:{kUk6DE:`x98rzlu`,k7Eaqz:`xeuugli`,kZKoxP:`x5yr21d`,keTefX:`xd10s4z x1pwwqoy`,krdFHd:`x15mokao x8eehn2`,kVL7Gh:`xbiv7yw x1xrp5p4`,kfmiAY:`x1ga7v0g x1ursdma`,kT0f0o:`x16uus16 x1qa286i`,kXnDq0:`x1pc0aet`,$$css:!0}};function wte(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 wE(e,t){return{left:e.left-t.left,top:e.top-t.top,right:e.right+t.right,bottom:e.bottom+t.bottom}}function TE(e,t){return e.left=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 OE(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 kE(e,t){for(let n of[`top`,`right`,`bottom`,`left`])e.style.setProperty(yD[n],`${t[n]}px`)}function AE(){return typeof performance>`u`?Date.now():performance.now()}function jE(){BD?.(),BD=null,zD=null,RD=null}function ME(e,t){return e.top===t.top&&e.right===t.right&&e.bottom===t.bottom&&e.left===t.left}function NE(e,t){ME(e.last,t)||(e.last=t,e.onInsets(t))}function Tte(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 PE(e){let{left:t,top:n,right:r,bottom:i}=e.getBoundingClientRect();return{left:t,top:n,right:r,bottom:i}}function FE(e,t,n){if(!(t>0)||!(e>0))return 1;let r=e/t;return Math.abs(r-1)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 LE(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 HD;let o=IE(e);if(o==null)return HD;let{width:s,height:c}=o;return{x:FE(t.right-t.left,s,n.ratio),y:FE(t.bottom-t.top,c,n.ratio)}}function RE(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 zE(e){for(let t=e;t!=null;t=t.parentElement)if(DD.has(t))return t;return null}function BE(e){if(typeof MutationObserver>`u`?RD=null:zD===e?Qg(ED):(jE(),zD=e,BD=Xg(e,ED,HE)),RD!=null){for(let e of RD)e.isConnected||RD.delete(e);return[...RD]}let t=new Set;return VE(t,e),RD=t,[...t]}function VE(e,t){Qu(t)&&t.matches(bD)&&e.add(zE(t)??t);for(let n of t.querySelectorAll(bD))e.add(zE(n)??n)}function HE(e){let t=RD;if(t!=null)for(let n of e){if(n.type!==`attributes`){n.addedNodes.forEach(e=>{Qu(e)&&VE(t,e)});continue}let{target:e}=n;Qu(e)&&(e.matches(bD)?t.add(zE(e)??e):DD.has(e)||t.delete(e))}}function UE(e){if(e.matches(bD))return!0;for(let t of e.querySelectorAll(bD))if(zE(t)===e)return!0;return!1}function WE(e){let t=RD;if(t==null)return;for(let n of e.querySelectorAll(bD))t.delete(n);VE(t,e);let n=e.parentElement==null?null:zE(e.parentElement);n!=null&&t.has(n)&&!UE(n)&&t.delete(n)}function GE(e){let t=RD;t!=null&&(t.delete(e),VE(t,e))}function KE(e){return BE(e).map(e=>({element:e,rect:PE(e)}))}function qE(e,t){let n=PE(e.element),r=LE(e.element,n,UD),i=Math.max(0,e.minSize),a=wE(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&&TE(a,n)&&!Tte(e,t)).map(({rect:e})=>e);return{target:n,insets:DE(RE(n,n,r),o.map(e=>RE(e,n,r)),e.minSize,e.growth?.(RE(n,n,r),e=>RE(e,n,r))),neighbours:o}}function JE(e){return typeof e.getAnimations==`function`?(Qu(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)}):[]}function YE(e){let t=e.effect;return typeof t?.getKeyframes!=`function`||t.getKeyframes().some(e=>Object.keys(e).some(e=>WD.test(e)))}function XE(e){return JE(e).filter(e=>e.playState===`running`&&YE(e))}function ZE(e,t){Promise.allSettled(e.map(async e=>e.finished)).then(t)}function QE(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),ZE([r],()=>{e.heldBy.delete(r),e.isVisible&&DD.get(e.element)?.watches.has(e)&&iD(e)})))}return n}function $E(){if(jD=null,VD.isScrolling)return;let e=[...OD].filter(e=>e.isVisible);if(OD.clear(),!LD||e.length===0)return;let t=e[0].element.ownerDocument,n=XE(t),r=e.filter(e=>!QE(e,n));if(r.length===0)return;let i=KE(t),a=AE(),o=[];for(let e of r)o.length>0&&AE()-a>SD?OD.add(e):o.push({watch:e,insets:qE(e,i).insets});for(let{watch:e,insets:t}of o)NE(e,t);OD.size>0&&eD()}function eD(){jD==null&&!VD.isScrolling&&typeof requestAnimationFrame==`function`&&(jD=requestAnimationFrame($E))}function tD(){VD.isScrolling=!0,VD.timer!==void 0&&clearTimeout(VD.timer),VD.timer=setTimeout(nD,wD)}function nD(){if(VD.timer!==void 0&&(clearTimeout(VD.timer),VD.timer=void 0),VD.isScrolling){VD.isScrolling=!1;for(let e of[...VD.onEnd])e()}}function rD(){OD.size>0&&eD()}function iD(e){LD&&(OD.add(e),eD())}function aD(){for(let e of DD.values())e.watches.forEach(iD)}function oD(e){for(let t=e.target instanceof Element?e.target:null;t!=null;t=t.parentElement)if(DD.has(t)){sD(t,e);return}}function sD(e,t){let n=DD.get(e);if(n==null||(n.disarm?.(),!LD||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&&uD(e,n,r,i,KE(e.ownerDocument));if(a&&!o)return;let s=t=>{u(),t.detail!==0&&(o||dD(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=bu(d,`pointerdown`,u)),n.disarm=u}function cD(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 lD(e){let{element:t}=e,n=JE(t);n.length===0?iD(e):ZE(n,()=>{DD.get(t)?.watches.has(e)&&iD(e)})}function uD(e,t,n,r,i){let a=!1;for(let e of n){let{target:t,insets:n,neighbours:o}=qE(e,i),s=OE(cD(e.element,t),r.x,r.y);a||=o.some(e=>OE(e,r.x,r.y)e.ownsDescendantTouches)&&r.target instanceof Node&&r.target!==e&&e.contains(r.target);return a&&!o}function dD(e,t,n,r){let i=e.ownerDocument,a=XE(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)&&uD(e,t,n,r,KE(i).filter(e=>!o(e.element,!0)))}function fD(e){let t=AD.get(e);t!=null&&clearTimeout(t),AD.set(e,setTimeout(()=>{AD.delete(e);for(let[t,n]of DD)t.parentElement===e&&n.watches.forEach(iD)},CD))}function pD(e,t){let n=e.parentElement;FD?.observe(e),ID?.observe(e),n!=null&&ID?.observe(n);let r=n==null?null:Zg(n,()=>fD(n));t.release=()=>{FD?.unobserve(e),ID?.unobserve(e);let i=[...DD.keys()].some(t=>t!==e&&t.parentElement===n);if(n!=null&&!i){ID?.unobserve(n);let e=AD.get(n);e!=null&&(clearTimeout(e),AD.delete(n))}r?.(),t.disarm?.()}}function mD(){if(MD!=null){if(MD.addEventListener(`resize`,aD),VD.stop==null){let e=bu(MD,`scroll`,tD),t=bu(MD,`scrollend`,nD);VD.stop=()=>{e(),t()}}VD.onEnd.add(rD),ND=MD.document,ND.addEventListener(`pointerdown`,oD,TD),typeof IntersectionObserver==`function`&&(FD=new IntersectionObserver(e=>{for(let t of e)DD.get(t.target)?.watches.forEach(e=>{e.isVisible=t.isIntersecting,e.isVisible?iD(e):OD.delete(e)})})),typeof ResizeObserver==`function`&&(ID=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect,r=`${e}x${n}`,i=kD.get(t.target);if(kD.set(t.target,r),i!==void 0&&i!==r)for(let[e,n]of DD)(e===t.target||e.parentElement===t.target)&&n.watches.forEach(iD)}}));for(let[e,t]of DD)t.watches.forEach(e=>{e.isVisible=FD==null}),pD(e,t),FD??t.watches.forEach(iD)}}function hD(){for(let e of DD.values())e.release?.(),e.release=null;MD?.removeEventListener(`resize`,aD),VD.onEnd.delete(rD),VD.onEnd.size===0&&(VD.stop?.(),VD.stop=null,VD.timer!==void 0&&(clearTimeout(VD.timer),VD.timer=void 0),VD.isScrolling=!1),ND?.removeEventListener(`pointerdown`,oD,TD),ND=null,FD?.disconnect(),ID?.disconnect(),FD=null,ID=null,AD.forEach(e=>clearTimeout(e)),AD.clear(),jE(),jD!=null&&typeof cancelAnimationFrame==`function`&&cancelAnimationFrame(jD),jD=null,OD.clear()}function gD(){let e=PD?.matches??!1;if(e!==LD){if(LD=e,LD)mD();else{hD();for(let e of DD.values())e.watches.forEach(e=>NE(e,vD))}}}function _D(e,t,{minSize:n=44,ownsDescendantTouches:r=!1,growth:i,checkAtPress:a=!0}={}){let o=e.ownerDocument.defaultView;if(o==null)return()=>{};MD=o;let s=o.matchMedia?.(xD)??null;s!==PD&&(PD?.removeEventListener(`change`,gD),PD=s,PD?.addEventListener(`change`,gD)),gD();let c={element:e,minSize:n,ownsDescendantTouches:r,growth:i,checkAtPress:a,onInsets:t,isVisible:LD&&FD==null,last:vD,heldBy:new Set},l=DD.get(e);return l==null?(l={watches:new Set,release:null,disarm:null},DD.set(e,l),WE(e),l.watches.add(c),LD&&pD(e,l)):(c.isVisible=[...l.watches][0]?.isVisible??c.isVisible,l.watches.add(c)),c.isVisible&&iD(c),()=>{let t=DD.get(e);t!=null&&t.watches.delete(c)&&(OD.delete(c),t.watches.size===0&&(t.release?.(),DD.delete(e),GE(e)),DD.size===0&&(hD(),PD?.removeEventListener(`change`,gD),PD=null,MD=null,LD=!1))}}var vD,yD,bD,xD,SD,CD,wD,TD,ED,DD,OD,kD,AD,jD,MD,ND,PD,FD,ID,LD,RD,zD,BD,VD,HD,UD,WD,GD=o((()=>{Pu(),od(),Xn(),t_(),vD={top:0,right:0,bottom:0,left:0},yD={top:`--astryx-hit-inset-top`,right:`--astryx-hit-inset-right`,bottom:`--astryx-hit-inset-bottom`,left:`--astryx-hit-inset-left`},bD=`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(`,`),xD=`(pointer: coarse)`,SD=4,CD=100,wD=150,TD={capture:!0,passive:!0},ED={childList:!0,subtree:!0,attributes:!0,attributeFilter:[`href`,`type`,`for`,`contenteditable`,`role`,`tabindex`]},DD=new Map,OD=new Set,kD=new WeakMap,AD=new Map,jD=null,MD=null,ND=null,PD=null,FD=null,ID=null,LD=!1,RD=null,zD=null,BD=null,VD=Kn(`utils/hit-area/scroll-gate`,1,()=>({isScrolling:!1,timer:void 0,stop:null,onEnd:new Set})),HD={x:1,y:1},UD={pixels:1,ratio:.001},WD=/^(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 Ete(e,t,{growth:n,checkAtPress:r,ownsDescendantTouches:i=!0}){let a=()=>{},o=!1,s=!1,c=!1,l=()=>{a(),c&&(c=!1,kE(e,vD))},u=()=>{a=_D(e,t=>{let n=JE(e.parentElement??e);n.length===0?(c=!0,kE(e,t)):s||(s=!0,ZE(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()}}function Dte(e,t){let n=YD.get(e);n??(n={stop:Ete(e,44,t),holders:0},YD.set(e,n)),n.holders+=1;let r=n,i=!1;return()=>{i||(i=!0,--r.holders,queueMicrotask(()=>{r.holders===0&&YD.get(e)===r&&(YD.delete(e),r.stop())}))}}function KD(e,t=JD){return(0,qD.useCallback)(n=>{if(e&&n!=null)return Dte(n,t)},[e,t])}var qD,JD,YD,XD=o((()=>{qD=u(f(),1),GD(),JD={},YD=new WeakMap}));ys();var ZD={ownsDescendantTouches:!1},QD=_s(`ButtonHitAreaContext`,1,ZD);QD.displayName=`ButtonHitAreaContext`;var $D,eO=o((()=>{$D={layer:{k5JduY:`x1fjtqre`,kwXMNM:`x7b72wb`,kv0HGH:`x1ukc1h5`,kJYu5r:`x1c440c0`,$$css:!0},layerBelowChildren:{kgeoSG:`xrfab51`,kEoFBp:`xjupvsi`,kFcpXp:`xg52tuh`,ksxFz7:`x1la2cvp`,$$css:!0}}})),tO,Ote=o((()=>{ys(),tO=_s(`LinkContext`,1,null),tO.displayName=`LinkContext`}));function kte(e){function t({href:t,to:n,ref:r,...i}){return!uv(t)||!uv(n)?(0,rO.createElement)(`a`,{ref:r,...i}):e===`a`?(0,rO.createElement)(`a`,{ref:r,...i,href:t}):(0,rO.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 nO(e){let t=(0,rO.use)(tO),n=e??t?.component??`a`;return(0,rO.useMemo)(()=>kte(n),[n])}var rO,iO=o((()=>{rO=u(f(),1),Ote(),dv()})),aO,oO,sO,cO=o((()=>{hv(),G(),aO={\"--astryx-press-alpha\":`var(--astryx-press-alpha)`,__varGroupHash__:`x1qqxm5o`},B[`--duration-exit`],`${B[`--duration-exit`]}${mv.duration}`,oO=aO[`--astryx-press-alpha`],`${k[`--color-overlay-hover`]}${k[`--color-overlay-hover`]}`,`${k[`--color-overlay-pressed`]}${k[`--color-overlay-pressed`]}`,`${k[`--color-neutral`]}${k[`--color-neutral`]}`,`${k[`--color-overlay-pressed`]}${oO}`,H[`--ease-exit`],sO={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}}})),lO,uO=o((()=>{lO={x1odsvnm:`x1odsvnm`,$$css:!0}})),dO,fO,pO,mO,hO=o((()=>{G(),hv(),cO(),aO[`--astryx-press-alpha`],`${k[`--color-overlay-hover`]}${k[`--color-overlay-hover`]}`,`${k[`--color-overlay-pressed`]}${k[`--color-overlay-pressed`]}`,B[`--duration-exit`],`${B[`--duration-exit`]}${mv.duration}`,H[`--ease-exit`],`${P[`--border-width`]}`,dO={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}},fO={control:{k6sLGO:`x1mrddfy`,$$css:!0}},pO={checkboxRow:{\"--_checkbox-row-press-paint\":`x1ectg7s x1u7ooqu x1b9k41a`,$$css:!0},radioRow:{\"--_radio-row-press\":`x19rtxe xkwazwr`,$$css:!0}},mO={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}}}));function gO(){return(0,_O.useEffect)(()=>Mee(),[]),Oy}var _O,vO=o((()=>{_O=u(f(),1),Yy()})),yO={\"@astryx.button.loading\":`Loading`};function bO(e){return e!=null&&typeof e!=`boolean`&&e!==``}var xO=o((()=>{}));D(),Xx(),gC(),vC(),G(),TT(),sE(),uE(),GT(),JT(),ox(),bC(),vx(),XD(),eO(),iO(),vr(),oS(),cO(),hO(),vO(),iT(),xO(),Ww(yO);var SO=new Set([`true`,`menu`,`listbox`]),CO={base:{\"--button-focus-offset\":`x16bblx1`,kInvED:`x1wfwxd8 x13aywxo`,kVAEAm:`x1n2onr6`,k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kOIVth:`x1txdalj`,k8WAf4:`xce4md1`,kg3NbH:`xrrkdod`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kaIpWk:`x1jxw6zd`,kMv6JI:`xjb2p0i`,kGuDYH:`xcr08ib`,kLWn49:`x1kq96og`,k63SB2:`x1e4wzip`,khDVqt:`xuxw1ft`,k7Eaqz:`xeuugli`,ks0D6T:`x193iq5w`,kkrTdU:`x1ypdohk x16khyan`,k1ekBW:`xrafxwg xrkqygm`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,$$css:!0},pressable:{k3aq6I:`x3oybdh x1u44piu x1pcrg6r xhr8rl2 x1ua7476 x11q126q x7208gc x6cxksl`,$$css:!0},trackedOverlay:{kgSjnq:`x1vl4g35`,$$css:!0},pressableTracked:{k3aq6I:`x3oybdh x11q126q x7208gc x6cxksl`,$$css:!0},inactive:{kkrTdU:`xt0e3qv`,kKwaWg:`x18o3ruo`,k3aq6I:`x1c071of x1pdlv7q x1ylxtyb`,$$css:!0},disabled:{kSiTet:`xbyyjgo`,$$css:!0},ariaDisabled:{kKwaWg:`x18o3ruo xuqm82a x1bev2v5`,$$css:!0},iconOnly:{\"--button-icon-only-aspect\":`x1v15ycx`,kOBAk4:`xioom0i`,kg3NbH:`xnjsko4`,k8WAf4:`xt970qd`,kmuXW:`x2lah0s`,ks0D6T:`x1x1rfll`,$$css:!0},iconWrapper:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,$$css:!0},contentWrapper:{k1xSpc:`x78zum5`,kzQI83:`x1iyjqo2`,kmuXW:`xs83m0k`,kCS8Yb:`xdl72j9`,kSGwAc:`xkh2ocl`,kXwgrk:`x1beo9mf`,kwnvtZ:`x18qz0cn`,kGNEyG:`x1h91t0o`,kjj79g:`xarpa2k`,kOIVth:`x14kbac9`,k7Eaqz:`xeuugli`,$$css:!0},link:{kybGjl:`x1hl2dhg`,$$css:!0}},wO={width:e=>[{kzqmXN:e==null?e:`x5lhr3w`,$$css:!0},{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]},TO={sm:{kZKoxP:`x7xd7g3`,$$css:!0},md:{kZKoxP:`x11l75t8`,$$css:!0},lg:{kZKoxP:`xbswrv2`,$$css:!0}},EO={sm:{kZKoxP:`x6k0iem`,$$css:!0},md:{kZKoxP:`x1ueg155`,$$css:!0},lg:{kZKoxP:`xssyfek`,$$css:!0}},DO={none:{kGVxlE:`x1gnnqk1`,$$css:!0},low:{kGVxlE:`x1i5ehqx`,$$css:!0},med:{kGVxlE:`x14hfi27`,$$css:!0},high:{kGVxlE:`x1kcpxr7`,$$css:!0}},OO={primary:{kWkggS:`x1ewilqj`,kMwMTN:`x17wrial`,\"--_button-fill\":`x1kbggj7`,\"--_button-on-fill\":`xysjls1`,$$css:!0},secondary:{kWkggS:`x17x4s8c`,kMwMTN:`x1tgivj0`,$$css:!0},ghost:{kWkggS:`xjbqb8w`,kMwMTN:`x1tgivj0`,$$css:!0},destructive:{kWkggS:`x1pjz0fi`,kMwMTN:`x1m024r3`,\"--_button-fill\":`x1wai0k`,\"--_button-on-fill\":`x9lj7b4`,kVAM5u:`x1w1tqly`,kjBf7l:`x1e0x2sz`,$$css:!0}},kO={sm:`sm`,md:`sm`,lg:`md`};B[`--duration-medium-min`];var AO={hiddenContent:{kMwMTN:`x19co3pv`,$$css:!0},hiddenContentDelayed:{kKVMdj:`x1ffowhz`,k44tkh:`xjlvqhv`,kWV6AL:`x10e4vud`,kKxzle:`x17yabm6 x14q22ui`,$$css:!0}},jO={horizontal:{krdFHd:`x15mokao x8eehn2`,kVL7Gh:`xbiv7yw x1xrp5p4`,kfmiAY:`x1ga7v0g x1ursdma`,kT0f0o:`x16uus16 x1qa286i`,k2ei4v:`xgbv0en x1pjv70x`,kVhnKS:`x1t7ytsu xyf0ibl`,kGJrpR:`x1j92z86`,$$css:!0},vertical:{krdFHd:`x15mokao x8eehn2`,kfmiAY:`x1ga7v0g x2qxyot`,kVL7Gh:`xbiv7yw x1muvjzw`,kT0f0o:`x16uus16 x1qa286i`,kEafiO:`x11xkdxz x1g31smg`,kPef9Z:`x13fuv20 x1d9v4yf`,kLZC3w:`x1pc3f07`,$$css:!0},onSolidHorizontal:{kGJrpR:`xrvmtm5`,$$css:!0},onSolidVertical:{kLZC3w:`x11npmm7`,$$css:!0}},MO={standalone:{kMzoRj:`xc342km x13rsnn2`,ksu8eU:`xng3xce xx61lck`,kVAM5u:`x1ylmb6m`,$$css:!0},groupHorizontal:{kEafiO:`x1lym3mf`,kPef9Z:`x4z998w`,kt9PQ7:`x15anc7y`,kfdmCh:`xe3zi7u`,k2ei4v:`xgbv0en x1pjv70x xnvtw6h`,kVhnKS:`x1t7ytsu xyf0ibl x1jd14un`,ke9TFa:`x1s1fdp0`,k8ry5P:`x1nzwmfm`,$$css:!0},groupVertical:{k2ei4v:`xjg5lhu`,kVhnKS:`x1gbqego`,ke9TFa:`xmzn1mo`,k8ry5P:`xf1j0q2`,kEafiO:`x11xkdxz x1g31smg x1qvjua`,kPef9Z:`x13fuv20 x1d9v4yf xz5oem8`,kt9PQ7:`x12u9vjp`,kfdmCh:`xoqbfsn`,$$css:!0}},NO={horizontal:{kLZC3w:`xnvbotg`,kL6WhQ:`xaj2e6u`,kBCPoo:`xcy1b24`,$$css:!0},horizontalOnError:{kLZC3w:`x19dwuzr`,kL6WhQ:`xszdk7l`,kBCPoo:`x1nw5ucf`,$$css:!0},vertical:{kGJrpR:`x1hbxdp3`,kBCPoo:`xhdp0qd`,kL6WhQ:`xlkh95r`,$$css:!0},verticalOnError:{kGJrpR:`xjslfuv`,kBCPoo:`x1x0u81l`,kL6WhQ:`x2ab8f3`,$$css:!0}};function PO(e){if(!bO(e))return!0;if(!(0,X.isValidElement)(e)||e.type!==XT)return!1;let{label:t}=e.props;return typeof t!=`string`||t.trim()===``}function FO(e){return(e.getAttribute(`aria-describedby`)?.split(/\\s+/)??[]).some(t=>t!==``&&e.ownerDocument.getElementById(t)?.getAttribute(`role`)===`tooltip`)}function IO({label:e,variant:t=`secondary`,size:n,type:r=`button`,isDisabled:i=!1,isLoading:a=!1,isInterruptible:o=!1,clickAction:s,icon:c,isIconOnly:l=!1,width:u,elevation:d=`none`,children:f,endContent:p,tooltip:m,href:h,as:g,target:_,rel:v,xstyle:y,className:b,style:x,ref:S,...w}){let T=gO(),E=nT(),D=pE(n,`md`),O=gE(),k=t===`primary`||t===`secondary`||t===`destructive`,A=(0,X.use)(_E),j=A!=null&&!SO.has(String(w[`aria-haspopup`]))?Yv(A):void 0,M=j!=null,N=bE(),[P,F]=(0,X.useTransition)(),I=(0,X.useRef)(!1),L=a||P,[R,z]=(0,X.useState)(()=>!L);(0,X.useEffect)(()=>{if(R)return;let e=requestAnimationFrame(()=>z(!0));return()=>cancelAnimationFrame(e)},[R]);let B=P||o,V=O?.isDisabled??!1,H=(0,X.use)(xE),ee=i||V||H.isDisabled,U=ee||!ee&&L&&!o,te=tx(),W=U&&te&&(r===`submit`||r===`reset`)?`button`:r,G=(0,X.use)(vE),ne=O==null&&!G&&!U,re=KD(ne,(0,X.use)(QD)),ie=nO(g),K=h!=null&&!ee,q=Gx({placement:`above`,isEnabled:m!=null}),ae=(0,X.useRef)(null),oe=(0,X.useRef)(null),se=!l&&m==null,ce=dC({anchorRef:ae,measureRef:oe,isEnabled:se,isSuppressed:FO}),le=e=>{U||I.current&&!o?(e.preventDefault(),e.stopPropagation()):(w.onClick?.(e),s&&!e.defaultPrevented&&(I.current=!0,F(async()=>{try{await s(e)}finally{I.current=!1}})))},J=U?e=>{e.key===`Enter`||e.key===` `?e.preventDefault():w.onKeyDown?.(e)}:void 0,ue=t===`ghost`?{[dE]:``}:null,de=aS.focusVisible(CO.base,l?EO[D]:TO[D],l&&CO.iconOnly,sO.backgroundImage,dO.cell,dO.cellOnImage,fO.control,M&&CO.trackedOverlay,U&&CO.inactive,ee&&CO.disabled,U&&CO.ariaDisabled,K&&CO.link,!O&&(M?CO.pressableTracked:CO.pressable),O&&(O.orientation===`horizontal`?jO.horizontal:jO.vertical),N!=null&&O==null&&CE.buttonAddon,O&&(t===`primary`||t===`destructive`)&&(O.orientation===`horizontal`?jO.onSolidHorizontal:jO.onSolidVertical),!O&&DO[d],u!=null&&wO.width(u),k&&(O==null?MO.standalone:O.orientation===`horizontal`?MO.groupHorizontal:MO.groupVertical),k&&O!=null&&(O.orientation===`horizontal`?t===`destructive`?NO.horizontalOnError:NO.horizontal:t===`destructive`?NO.verticalOnError:NO.vertical),OO[t],y),fe=Q(Y(`button`,{variant:t,size:D,elevation:O?`none`:d}),de,b,x),pe=kO[D],me=(0,Z.jsxs)(Z.Fragment,{children:[L&&(0,Z.jsx)(`span`,{...{0:{className:`x10l6tqk x13vifvy x1o0tod xtijo5x x1ey2m1c xrvj5dj x1ku5rj1`},1:{className:`x10l6tqk x13vifvy x1o0tod xtijo5x x1ey2m1c xrvj5dj x1ku5rj1 xqcmdr3 xb2rp9n xskzprw x17yabm6 x14q22ui`}}[!!B|0],\"aria-hidden\":`true`,children:(0,Z.jsx)(mT,{size:`sm`,shade:`inherit`})}),(0,Z.jsxs)(`span`,{...C(CO.contentWrapper,ne&&$D.layer,L&&(B?AO.hiddenContentDelayed:AO.hiddenContent)),\"aria-hidden\":L||void 0,children:[bO(c)&&(0,Z.jsx)(`span`,{...C(CO.iconWrapper,qT[pe]),children:(0,Z.jsx)(WT,{value:pe,children:c})}),l?null:(0,Z.jsx)(`span`,{ref:oe,className:`xb3r6kr xlyipyv xeuugli`,children:f??e}),!l&&bO(p)&&(0,Z.jsx)(`span`,{className:`x3nfvp2 x6s0dn4 x1heor9g`,children:p})]}),(0,Z.jsx)(cE,{role:`status`,\"aria-live\":`polite`,children:L&&R?E(`@astryx.button.loading`):``})]}),he=l&&e!==``||L&&!l||f!=null&&f!==e,ge=he?{\"aria-label\":e}:null,_e=w[`aria-labelledby`]==null?he?e:w[`aria-label`]??(PO(c)&&PO(p)?e:void 0):void 0,ve=m!=null&&_e!=null&&m.trim()===_e.trim(),ye=m!=null&&!ve?{\"aria-describedby\":[w[`aria-describedby`],q.describedBy].filter(Boolean).join(` `)||void 0}:null,be=gx(S,m==null?void 0:q.ref,re,ae),xe;return xe=K?(0,Z.jsx)(ie,{ref:be,href:h,target:_,rel:v,...N!=null&&O==null?SE:void 0,...fe,...T,...j,...w,...ge,...ye,...ue,\"aria-busy\":L||w[`aria-busy`]||void 0,\"aria-disabled\":U||w[`aria-disabled`]||void 0,onPointerDown:_C(w.onPointerDown,ce.onPointerDown),onFocus:_C(w.onFocus,ce.onFocus),onBlur:_C(w.onBlur,ce.onBlur),onClick:le,...J?{onKeyDown:J}:null,children:me}):(0,Z.jsx)(`button`,{ref:be,type:W,...N!=null&&O==null?SE:void 0,...fe,...T,...j,...w,...ee?{name:void 0}:null,...ge,...ye,...ue,\"aria-busy\":L||w[`aria-busy`]||void 0,\"aria-disabled\":U||w[`aria-disabled`]||void 0,onPointerDown:_C(w.onPointerDown,ce.onPointerDown),onFocus:_C(w.onFocus,ce.onFocus),onBlur:_C(w.onBlur,ce.onBlur),onClick:le,...J?{onKeyDown:J}:null,children:me}),(0,Z.jsxs)(Z.Fragment,{children:[xe,m?q.renderTooltip(m):null,se&&ce.cutText!=null&&ce.Tooltip?(0,Z.jsx)(ce.Tooltip,{anchorRef:ae,content:ce.cutText,onHide:ce.hide}):null]})}IO.displayName=`Button`;var LO=typeof window<`u`&&window.__BOOT__||{},RO={},zO=null,BO=null,VO=Promise.resolve(),HO=e=>e.indexOf(`chat_key_`)===0,UO=e=>new Promise((t,n)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>n(e.error)});async function WO(e,t){if(!zO||!BO)return;if(!t){await UO(zO.transaction(`v`,`readwrite`).objectStore(`v`).delete(`k:`+e));return}let n=crypto.getRandomValues(new Uint8Array(12)),r=await crypto.subtle.encrypt({name:`AES-GCM`,iv:n},BO,new TextEncoder().encode(t));await UO(zO.transaction(`v`,`readwrite`).objectStore(`v`).put({iv:n,ct:r},`k:`+e))}var GO=(async()=>{try{zO=await new Promise((e,t)=>{let n=indexedDB.open(`chat_vault`,1);n.onupgradeneeded=()=>n.result.createObjectStore(`v`),n.onsuccess=()=>e(n.result),n.onerror=()=>t(n.error)}),BO=await UO(zO.transaction(`v`).objectStore(`v`).get(`master`)),BO||(BO=await crypto.subtle.generateKey({name:`AES-GCM`,length:256},!1,[`encrypt`,`decrypt`]),await UO(zO.transaction(`v`,`readwrite`).objectStore(`v`).put(BO,`master`)));let e=await UO(zO.transaction(`v`).objectStore(`v`).getAllKeys());for(let t of e){if(String(t).indexOf(`k:`)!==0)continue;let e=await UO(zO.transaction(`v`).objectStore(`v`).get(t));try{RO[String(t).slice(2)]=new TextDecoder().decode(await crypto.subtle.decrypt({name:`AES-GCM`,iv:e.iv},BO,e.ct))}catch{}}}catch{zO=null,BO=null}})(),KO=e=>{if(HO(e))return RO[e]||``;try{return localStorage.getItem(e)||``}catch{return``}},qO=(e,t)=>{if(HO(e))t?RO[e]=t:delete RO[e],VO=VO.then(()=>GO).then(()=>WO(e,RO[e]||``)).catch(()=>{});else try{t?localStorage.setItem(e,t):localStorage.removeItem(e)}catch{}},JO=e=>KO(`chat_key_`+e),YO=e=>KO(`chat_model_`+e);async function XO(e,t,n){let r=await fetch(`/api/run`,{signal:n,method:`POST`,headers:{\"content-type\":`application/json`,accept:`application/x-ndjson`},body:JSON.stringify(e)});if(!r.ok||!r.body)return{status:r.status,body:await r.json().catch(()=>({}))};let i=r.body.getReader(),a=new TextDecoder,o=``;for(;;){let{value:e,done:n}=await i.read();if(n)break;o+=a.decode(e,{stream:!0});let r;for(;(r=o.indexOf(`\n`))>=0;){let e=o.slice(0,r);if(o=o.slice(r+1),!e.trim())continue;let n;try{n=JSON.parse(e)}catch{continue}t(n)}}return{status:200}}var ZO=()=>!!LO.pod&&typeof WebAssembly==`object`&&typeof WebSocket==`function`,QO=null;function $O(){return QO||=import(LO.pod+`pod.js`).then(e=>e.startBrowserPod({base:LO.pod+`vendor/`})).catch(e=>{throw QO=null,e}),QO}async function ek(e){if(e.op===`stop`){let e=QO;if(QO=null,e){let t=await e.catch(()=>null);t&&await t.stop()}return{}}let t=await $O();if(e.op===`start`)return{id:`browser`,provider:`your browser`};if(e.op===`run`)return t.run(String(e.command),{timeout:60});if(e.op===`write`)return await t.write(String(e.path),String(e.content)),{};if(e.op===`read`)return t.read(String(e.path));throw Error(`unknown computer call`)}function tk(e,t,n){return new Promise((r,i)=>{let a=!1,o=new WebSocket(location.origin.replace(/^http/,`ws`)+`/api/run`),s=(e,t)=>{if(!a){a=!0;try{o.close()}catch{}t?i(t):r(e)}};n.addEventListener(`abort`,()=>{let e=Error(`stopped`);e.name=`AbortError`,s(null,e),ek({op:`stop`}).catch(()=>{})}),o.onopen=()=>o.send(JSON.stringify({type:`task`,...e})),o.onmessage=async e=>{let n;try{n=JSON.parse(e.data)}catch{return}if(n.type===`pod_call`){let e;try{e={data:await ek(n)}}catch(t){e={error:String(t&&t.message||t)}}try{o.send(JSON.stringify({type:`pod_reply`,id:n.id,...e}))}catch{}}else{if(n.type===`refused`)return s({status:n.status||400,body:n});if(n.type===`done`)return s({status:200});t(n)}},o.onerror=()=>s(null,Error(`Chat could not open the line to the computer in your browser. Try again.`)),o.onclose=()=>s(null,Error(`The line to chat closed before the task finished. Try again.`))})}async function nk(e,t){let n=await fetch(`/api/connect`,{method:`POST`,headers:{\"content-type\":`application/json`},body:JSON.stringify({provider:e,key:t})}).catch(()=>null),r=n?await n.json().catch(()=>({})):{};return{ok:!!n&&n.ok,error:r.error||(n?``:`Could not reach Chat. Check your connection.`)}}var rk=e=>btoa(String.fromCharCode(...new Uint8Array(e))).replace(/[+]/g,`-`).replace(/[/]/g,`_`).replace(/=*$/,``);async function ik(e){let t=rk(crypto.getRandomValues(new Uint8Array(32))),n=rk(await crypto.subtle.digest(`SHA-256`,new TextEncoder().encode(t)));try{sessionStorage.setItem(`chat_or_v`,t),sessionStorage.setItem(`chat_or_task`,e||``)}catch{}location.href=`https://openrouter.ai/auth?callback_url=`+encodeURIComponent(location.origin+location.pathname)+`&code_challenge=`+n+`&code_challenge_method=S256`}async function ak(){let e=new URLSearchParams(location.search).get(`code`),t=``,n=``;try{t=sessionStorage.getItem(`chat_or_v`)||``,n=sessionStorage.getItem(`chat_or_task`)||``}catch{}if(!e||!t)return null;history.replaceState(null,``,location.pathname);try{sessionStorage.removeItem(`chat_or_v`),sessionStorage.removeItem(`chat_or_task`)}catch{}try{let r=await fetch(`https://openrouter.ai/api/v1/auth/keys`,{method:`POST`,headers:{\"content-type\":`application/json`},body:JSON.stringify({code:e,code_verifier:t,code_challenge_method:`S256`})}),i=await r.json().catch(()=>({}));if(!r.ok||!i.key)throw Error(i.error&&i.error.message||`OpenRouter did not send a key`);return await GO,qO(`chat_key_openrouter`,i.key),{task:n}}catch(e){return{error:String(e.message||e).slice(0,160),task:n}}}async function ok(){return((await(await fetch(`https://openrouter.ai/api/v1/models`)).json()).data||[]).filter(e=>e&&e.id).map(e=>{let t=(Number(e.pricing&&e.pricing.prompt)||0)*1e6;return{id:e.id,name:String(e.name||e.id.split(`/`).pop()).replace(/^[^:]*: /,``),ctx:e.context_length||0,free:t===0,price:t===0?`free`:t<1?`$`:t<5?`$$`:`$$$`,sees:(e.architecture&&e.architecture.input_modalities||[]).indexOf(`image`)>=0}})}var sk=`chat_history_v1`,ck=()=>{try{return JSON.parse(localStorage.getItem(sk)||`[]`)}catch{return[]}},lk=e=>{let t=ck().filter(t=>t.id!==e);return uk(t),t.slice(0,30)},uk=e=>{try{localStorage.setItem(sk,JSON.stringify(e.slice(0,30)))}catch{}};DC();var dk=e=>new Promise((t,n)=>{let r=new FileReader;r.onload=()=>t(String(r.result).split(`,`)[1]||``),r.onerror=()=>n(r.error),r.readAsDataURL(e)}),fk=e=>(String(e).match(/[^.!?…\\n]+[.!?…]*\\s*/g)||[String(e)]).reduce((e,t)=>{let n=e[e.length-1];return n&&n.length+t.length<180?e[e.length-1]=n+t:e.push(t),e},[]).map(e=>e.trim()).filter(Boolean),pk=`data:audio/wav;base64,UklGRiQAAABXQVZFZm10IBAAAAABAAEARKwAAIhYAQACABAAZGF0YQAAAAA=`;function mk({open:e,onClose:t,aiBlock:n,onKeep:r,onBuild:i}){let[a,o]=(0,X.useState)(`thinking`),[s,c]=(0,X.useState)(`Opening the microphone…`),[l,u]=(0,X.useState)(``),[d,f]=(0,X.useState)(``),p=(0,X.useRef)({on:!1,stream:null,ctx:null,rec:null,aud:null,turns:[],lang:``,stopListen:null,stopSpeak:null}),m=(e,t)=>{o(e),c(t)},h=e=>new Promise(t=>{let n=p.current,r=fk(e),i=0,a=!1;n.stopSpeak=()=>{a=!0;try{n.aud.pause()}catch{}try{speechSynthesis.cancel()}catch{}t()};let o=e=>{try{let t=new SpeechSynthesisUtterance(e);t.onend=t.onerror=s,speechSynthesis.speak(t)}catch{s()}};function s(){if(a||!n.on||i>=r.length){n.stopSpeak=null,t();return}let e=r[i++],c=n.aud;c.onended=s,c.onerror=()=>o(e),c.src=`/voice?l=`+encodeURIComponent(n.lang)+`&t=`+encodeURIComponent(e.slice(0,1200));let l=c.play();l&&l.catch(()=>o(e))}s()}),g=()=>new Promise(e=>{let t=p.current,n=[],r=[`audio/webm;codecs=opus`,`audio/webm`,`audio/mp4`,`audio/ogg`].find(e=>MediaRecorder.isTypeSupported&&MediaRecorder.isTypeSupported(e))||``,i=r?new MediaRecorder(t.stream,{mimeType:r}):new MediaRecorder(t.stream),a=t.ctx.createAnalyser();a.fftSize=1024;let o=t.ctx.createMediaStreamSource(t.stream);o.connect(a);let s=new Float32Array(a.fftSize),c=.005,l=!1,u=0,d=0,f=Date.now(),m=f,h=setInterval(()=>{a.getFloatTimeDomainData(s);let e=0;for(let t=0;tMath.max(.045,c*4)?(l=!0,u=0,d+=r):(c=c*.95+t*.05,l&&(u+=r)),(l&&u>(d<2e3?1100:750)||n-f>3e4||!l&&n-f>9e3)&&i.state!==`inactive`&&i.stop()},60);t.stopListen=()=>{i.state!==`inactive`&&i.stop()},i.ondataavailable=e=>{e.data&&e.data.size&&n.push(e.data)},i.onstop=()=>{clearInterval(h);try{o.disconnect()}catch{}t.stopListen=null,e(l?new Blob(n,{type:i.mimeType||r||`audio/webm`}):null)},i.start()}),_=async()=>{let e=p.current;for(;e.on;){m(`listening`,`Listening…`);let t=await g();if(!e.on)return;if(!t){m(`idle`,`Tap the circle when you want to talk.`);return}m(`thinking`,`Thinking…`);let r;try{let i=await fetch(`/api/talk`,{method:`POST`,headers:{\"content-type\":`application/json`},body:JSON.stringify({audio:await dk(t),type:t.type,lang:e.lang,memo:``,ui:``,history:e.turns,ai:n()})});if(r=await i.json().catch(()=>({})),i.status===401){m(`idle`,`Sign in with GitHub to talk.`);return}if(!i.ok)throw Error(r.error||`Voice talk answered `+i.status)}catch(e){m(`idle`,String(e.message||e).slice(0,160));return}let a=String(r.heard||``).trim();if(!a){m(`idle`,`I did not catch that. Tap the circle and try again.`);return}if(r.lang&&(e.lang=r.lang),u(a),f(String(r.text||``)),e.turns.push({role:`user`,content:a},{role:`assistant`,content:String(r.text||``)}),m(`speaking`,`Speaking… tap the circle to interrupt`),await h(r.text),!e.on)return;if(r.build){let e=String(r.build).trim();v(),i(e);return}}},v=()=>{let e=p.current;if(e.on=!1,e.stopListen&&e.stopListen(),e.stopSpeak&&e.stopSpeak(),e.stream&&=(e.stream.getTracks().forEach(e=>e.stop()),null),e.ctx){try{e.ctx.close()}catch{}e.ctx=null}e.turns.length&&(r(e.turns),e.turns=[]),t()};return(0,X.useEffect)(()=>{if(!e)return;LO.login&&fetch(`/api/talk/warm`,{method:`POST`}).catch(()=>{});let t=p.current;if(t.turns=[],t.lang=``,u(``),f(``),!LO.login){m(`idle`,`Sign in with GitHub to talk with the Oracle.`);return}if(!navigator.mediaDevices||!navigator.mediaDevices.getUserMedia||!window.MediaRecorder){m(`idle`,`This browser cannot record. Try Chrome, Safari, Edge or Firefox.`);return}let n=window.AudioContext||window.webkitAudioContext;try{t.ctx=new n,t.ctx.resume().catch(()=>{})}catch{t.ctx=null}t.aud=new Audio,t.aud.src=pk;let r=t.aud.play();r&&r.catch(()=>{}),m(`thinking`,`Opening the microphone…`);let i=!1;return navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0}}).then(e=>{i?e.getTracks().forEach(e=>e.stop()):(t.stream=e,t.on=!0,_().catch(()=>m(`idle`,`Something went wrong. Tap the circle to try again.`)))}).catch(()=>m(`idle`,`The microphone is blocked. Allow it for this site, then tap the circle.`)),()=>{if(i=!0,t.on&&(t.on=!1,t.stopListen&&t.stopListen(),t.stopSpeak&&t.stopSpeak(),t.stream&&t.stream.getTracks().forEach(e=>e.stop()),t.ctx))try{t.ctx.close()}catch{}}},[e]),(0,X.useEffect)(()=>{if(!e)return;let t=e=>{e.key===`Escape`&&v()};return document.addEventListener(`keydown`,t),()=>document.removeEventListener(`keydown`,t)}),e?(0,Z.jsxs)(`div`,{className:`earth-talk `+a,role:`dialog`,\"aria-modal\":`true`,\"aria-label\":`Voice talk with the Flisk Oracle`,children:[(0,Z.jsx)(`button`,{type:`button`,className:`earth-orb`,\"aria-label\":`Interrupt or talk again`,onClick:()=>{let e=p.current;a===`speaking`&&e.stopSpeak?e.stopSpeak():a===`listening`&&e.stopListen?e.stopListen():a===`idle`&&e.stream&&(e.on=!0,_().catch(()=>{}))}}),(0,Z.jsx)(CC,{type:`emphasized`,children:`Flisk Oracle`}),(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,role:`status`,children:s}),l&&(0,Z.jsxs)(CC,{type:`supporting`,color:`secondary`,children:[`You: `,l]}),d&&(0,Z.jsx)(CC,{children:d}),(0,Z.jsx)(DS,{title:`End talk`,scene:`talk`,text:`Stops listening and closes the voice chat with the Flisk Oracle.`,children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(IO,{label:`End talk`,variant:`secondary`,onClick:v})})})]}):null}function hk(e,t,n){let r=tx(),[i,a]=(0,gk.useState)(()=>r?e:n);return i!==n&&!r&&t!==i&&a(n),[i,(0,gk.useCallback)(()=>a(n),[n])]}var gk,_k=o((()=>{gk=u(f(),1),ox()}));function vk(e){let t=e.documentElement,{body:n}=e,r=e.defaultView;if(n==null||r==null)return t;let i=e=>{let t=r.getComputedStyle(e);return(t.overflowX||`visible`)===`visible`&&(t.overflowY||`visible`)===`visible`};return i(t)&&!i(n)?n:t}function yk(e,t){return e===`overflow`?[vk(t)]:e===`scrollbarGutter`||t.body==null?[t.documentElement]:[t.documentElement,t.body]}function bk(e){let t=Tk.held.get(e);if(t==null)return;let n=Tk.claims[e],r=n[n.length-1];for(let n of t){let{style:t}=n.element;if(r!=null)t[e]=r.value,n.written=r.value;else if(t[e]===n.written){t[e]=``;for(let r of wk[e]){let e=n.pageValues[r];e&&(t[r]=e)}}}r??Tk.held.delete(e)}function xk(e){if(typeof document>`u`)return()=>{};Tk.nextClaimId+=1;let t=Tk.nextClaimId,n=[];for(let r of Ck){let i=e[r];i!=null&&(Tk.claims[r].length===0&&Tk.held.set(r,yk(r,document).map(e=>{let t={};for(let n of wk[r])t[n]=e.style[n];return{element:e,pageValues:t,written:``}})),Tk.claims[r].push({id:t,value:i}),n.push(r),bk(r))}let r=!1;return()=>{if(!r){r=!0;for(let e of n){let n=Tk.claims[e],r=n.findIndex(e=>e.id===t);r!==-1&&n.splice(r,1),bk(e)}}}}function Sk(e){let t=Tk.lockCount>0;Tk.lockCount=Math.max(0,Tk.lockCount+e);let n=Tk.lockCount>0;if(n!==t)for(let e of[...Tk.lockListeners])e(n)}var Ck,wk,Tk,Ek=o((()=>{Xn(),Ck=[`overflow`,`overscrollBehaviorY`,`scrollbarGutter`],wk={overflow:[`overflow`,`overflowX`,`overflowY`],overscrollBehaviorY:[`overscrollBehaviorY`],scrollbarGutter:[`scrollbarGutter`]},Tk=Kn(`hooks/root-scroll-styles/state`,1,()=>({claims:{overflow:[],overscrollBehaviorY:[],scrollbarGutter:[]},held:new Map,nextClaimId:0,lockCount:0,lockListeners:new Set}))})),Dk,Ok=o((()=>{Xn(),Dk=Gn(Wn(`gestures/host`,1),()=>new WeakMap)}));function kk(e){return e.touches==null?[]:Array.from(e.touches)}function Ak(e){let t={decisions:new Set,touch:null,unsubscribers:[],stopPointerDown:null,stopWatchingPointer:null,onPointerDown:n=>{if(n.pointerType!==`touch`&&n.pointerType!==`pen`)return;t.stopPointerDown?.(),t.stopPointerDown=null;let r=e.defaultView;jk(e,t),ss(r)&&(Mk(e,t,!0),t.touch={id:null,x:n.clientX,y:n.clientY,verdict:null})},onTouchStart:e=>{let n=kk(e),r=t.touch;if(r?.id!=null&&n.some(e=>e.identifier===r.id)&&!Array.from(e.changedTouches).some(e=>e.identifier===r.id))return;let i=n[0];t.touch=n.length===1&&i!=null?{id:i.identifier,x:i.clientX,y:i.clientY,verdict:null}:null},onTouchMove:n=>{let r=kk(n),i=r[0];t.touch?.id===null&&r.length===1&&i!=null&&(t.touch={...t.touch,id:i.identifier});let a=t.touch;if(r.length===1&&i!=null&&a!=null&&i.identifier===a.id&&Dk.get(e)?.isTouchClaimed(a.id)!==!0){if(a.verdict==null){let e=i.clientX-a.x,r=i.clientY-a.y;if(Math.max(Math.abs(e),Math.abs(r))t.decide(o,e,r))}a.verdict&&n.cancelable&&n.preventDefault()}}};return t}function jk(e,t){t.stopWatchingPointer??=us(e.defaultView,n=>Mk(e,t,n))}function Mk(e,t,n){let r=e.defaultView;if(r!=null&&n!==t.unsubscribers.length>0){if(n)t.unsubscribers=[bu(r,`touchstart`,t.onTouchStart),bu(r,`touchmove`,t.onTouchMove,{cancels:!0})];else{for(let e of t.unsubscribers.splice(0))e();t.touch=null}}}function Nk(e,t){let n=Fk.get(e);n??(n=Ak(e),Fk.set(e,n));let r=n,i={decide:t};r.decisions.add(i);let a=e.defaultView;r.decisions.size===1&&a!=null&&(r.stopPointerDown=bu(a,`pointerdown`,r.onPointerDown),ss(a)&&(jk(e,r),Mk(e,r,!0)));let o=!0;return()=>{o&&(o=!1,r.decisions.delete(i),r.decisions.size===0&&(r.stopPointerDown?.(),r.stopPointerDown=null,r.stopWatchingPointer?.(),r.stopWatchingPointer=null,Mk(e,r,!1)))}}var Pk,Fk,Ik=o((()=>{Pu(),ds(),Ok(),Xn(),Pk=5,Fk=Jn(`gestures/page-hold/holds-by-document`,1)}));function Lk(e){return!e||typeof window>`u`?!1:window.getComputedStyle(e).direction===`rtl`}var Rk=o((()=>{}));function zk(e,t){let n=e.ownerDocument,r=n.defaultView;if(r==null)return{entries:[],allowsPan:!1};let i=n.scrollingElement??n.documentElement,a=[],o=!0,s=!0,c=!1;for(let l=e;l!=null;l=bd(l)){if(!Qu(l))continue;let e=r.getComputedStyle(l);if(t){let t=V_(e.touchAction||`auto`);o&&=t.x,s&&=t.y}let u=l===i||l===n.documentElement;u&&(c=!0);let d=u?U_(n,`x`):e.overflowX,f=u?U_(n,`y`):e.overflowY,p=K_.has(d),m=K_.has(f);if(p||m){let t=u?i:l,[n,r]=Bk(e);a.push({element:t,x:p&&o,y:m&&s,isRtl:Lk(t),stopsX:n!==`auto`,stopsY:r!==`auto`})}if(u)break}return!c&&Qu(i)&&a.push({element:i,x:o&&K_.has(U_(n,`x`)),y:s&&K_.has(U_(n,`y`)),isRtl:!1,stopsX:!1,stopsY:!1}),{entries:a,allowsPan:o||s}}function Bk(e){let t=e.overscrollBehaviorX,n=e.overscrollBehaviorY;if(t!==``&&n!==``&&t!=null&&n!=null)return[t,n];let[r=`auto`,i=r]=(e.getPropertyValue(`overscroll-behavior`)||`auto`).trim().split(/\\s+/);return[t||r,n||i]}function Vk(e,t){return e.scrollHeight-e.clientHeight<=Gk?!1:t>0?e.scrollTop>.5:e.scrollTop0?n.scrollLeft>i+Gk-.5:n.scrollLeft(n??=Qu(e)?zk(e,t):{entries:[],allowsPan:!1},n.entries);return{canScroll(e,t){let n=Math.abs(e),i=Math.abs(t),a=n>0&&n>=i/2,o=i>0&&i>=n/2;for(let n of r()){if(o&&n.y&&Vk(n.element,t)||a&&n.x&&Hk(n,e))return!0;if((!a||n.stopsX)&&(!o||n.stopsY)&&(n.stopsX||n.stopsY))return!1}return!1},get allowsNativePan(){return r(),n?.allowsPan===!0},get isInsideScroller(){return Qu(e)&&G_(e,{readsTouchAction:t})}}}var Gk,Kk=o((()=>{Rk(),Td(),J_(),od(),Gk=1}));function Ate(e,t,n,r,i){let a=n?0:r,o=n?i:0;if(Uk(e,a,o))return!0;if(!Uk(e,-a,-o))return!1;let s=n?t.overscrollBehaviorY:t.overscrollBehaviorX;return s===`contain`||s===`none`}function qk(e,t){let n=e.ownerDocument.defaultView?.CSS;return typeof n?.supports==`function`&&n.supports(`selector(${t})`)&&e.matches(t)}function jte(e,t){return t.position===`fixed`||qk(e,`:modal`)||qk(e,`:popover-open`)}function Mte(e){return(e.defaultView?.visualViewport?.scale??1)>1}function Nte(e){return e.matches(`input[type=\"range\"]:not(:disabled)`)}function Pte(e,t,n){if(!(e instanceof Node))return!1;let r=e.ownerDocument??document,i=r.defaultView;if(i==null)return!1;let a=Math.abs(n)>=Math.abs(t);for(let o=e;o!=null;o=bd(o)){if(!(o instanceof Element))continue;if(Nte(o))return!0;if(o===r.documentElement||o===r.body||o===r.scrollingElement)break;let e=i.getComputedStyle(o);if(Ate(o,e,a,t,n))return!0;if(jte(o,e))break}return!1}var Fte=o((()=>{Kk(),Td()}));function Ite(){return typeof CSS<`u`&&typeof CSS.supports==`function`&&CSS.supports(`scrollbar-gutter`,`stable`)}function Lte(e){if(typeof window>`u`||typeof document>`u`)return Jk;let t=document.documentElement.clientWidth;if(t===0||window.innerWidth<=t)return Jk;if(Ite()){let e=null;return{settle(){e??=xk({scrollbarGutter:`stable`})},release(){e?.(),e=null}}}let n=e.style.paddingRight,r=e.getBoundingClientRect().width,i=!1,a=!1;return{settle(){if(a)return;a=!0;let t=e.getBoundingClientRect().width-r;if(t<=0)return;let n=Number.parseFloat(window.getComputedStyle(e).paddingRight)||0;e.style.paddingRight=`${n+t}px`,i=!0},release(){i&&=(e.style.paddingRight=n,!1)}}}var Jk,Rte=o((()=>{Ek(),Jk={settle(){},release(){}}}));function Yk(e){(0,Xk.useEffect)(()=>{if(e){if(Zk.count===0){let e=Lte(document.documentElement),t=xk({overflow:`hidden`,overscrollBehaviorY:`none`}),n=Nk(document,(e,t,n)=>!Mte(document)&&!Pte(e,t,n));e.settle(),Zk.active={releaseRootStyle:t,releasePageHold:n,gutter:e}}return Zk.count+=1,Sk(1),()=>{if(--Zk.count,Sk(-1),Zk.count!==0||Zk.active==null)return;let e=Zk.active;Zk.active=null,e.releasePageHold(),e.releaseRootStyle(),e.gutter.release()}}},[e])}var Xk,Zk,Qk=o((()=>{Xk=u(f(),1),Ek(),Ik(),Fte(),Rte(),Xn(),Zk=Kn(`hooks/use-scroll-lock/lock`,1,()=>({count:0,active:null}))}));function zte(e,t){let n=e.closest(`[aria-disabled=\"true\"]`);return n!=null&&t.contains(n)}function Bte(e){let t=[...e].sort((e,t)=>e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1),n=e=>e.getAttribute(`tabindex`)!==`-1`;return[...t.filter(n),...t.filter(e=>!n(e))]}function $k(e){if(e.hasAttribute(`inert`)||e.closest(`[inert]`)||e.hidden||e.closest(`[hidden]`))return!1;for(let t=e.closest(`dialog`);t!=null;t=t.parentElement?.closest(`dialog`)??null)if(!id(t)&&!ad(t))return!1;if(e.closest(`[aria-hidden=\"true\"]`))return!1;if(typeof window<`u`&&window.getComputedStyle){let t=window.getComputedStyle(e);if(t.visibility===`hidden`||t.display===`none`)return!1}return!0}function eA(e){return Array.from(e.querySelectorAll(tA)).filter($k)}var tA,nA=o((()=>{od(),tA=`button:not([disabled]), a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"]):not([disabled]), [contenteditable]:not([contenteditable=\"false\"]), audio[controls], video[controls], iframe, details > summary:first-child`}));function rA(e){for(let t of cA.listeners)t(e)}function Vte(e,t){let n=cA.outlets.indexOf(e);n!==-1&&cA.outlets.splice(n,1);let r=cA.outletGroups.get(e);if(t&&r!=null){for(let t=cA.outlets.length-1;t>=0;--t)if(cA.outletGroups.get(cA.outlets[t])===r){cA.outlets.splice(t,0,e),rA(`outlet`);return}}cA.outlets.push(e),rA(`outlet`)}function iA(e){let t=cA.outlets.indexOf(e);t!==-1&&(cA.outlets.splice(t,1),cA.outletGroups.delete(e),rA(`outlet`))}function Hte(e){let t=cA.outletGroups.get(e),n=cA.outlets.indexOf(e);if(t==null||n===-1)return;let r=cA.outlets.length;for(let e=cA.outlets.length-1;e>n&&cA.outletGroups.get(cA.outlets[e])!==t;--e)r=e;r-1!==n&&(cA.outlets.splice(n,1),cA.outlets.splice(r-1,0,e),rA(`outlet`))}function aA(){rA(`entry`)}function oA(e,t,n=!0,r,i){let a=Ute(e,t,n,r,i);return(0,sA.useCallback)(e=>t&&e!=null?a:void 0,[t,a])}function Ute(e,t,n,r,i){let a=(0,sA.useRef)(n);a.current=n;let o=(0,sA.useRef)(null);return(0,sA.useEffect)(()=>{let n=e.current;if(!t||n==null){o.current=null;return}let i=o.current!=null;o.current=n,r!=null&&cA.outletGroups.set(n,r);let s=()=>{n.open||iA(n)};return n.addEventListener(`close`,s),Vte(n,i&&!a.current),()=>{n.removeEventListener(`close`,s),iA(n)}},[e,t,r,i]),(0,sA.useEffect)(()=>{let r=e.current;t&&n&&r!=null&&Hte(r)},[e,t,n,i]),(0,sA.useCallback)(()=>{let e=o.current;e!=null&&iA(e)},[])}var sA,cA,lA=o((()=>{sA=u(f(),1),Xn(),cA=Kn(`layer/modal-outlet/state`,1,()=>({outlets:[],outletGroups:new WeakMap,listeners:new Set}))}));function uA(e){let t=e?.defaultView;return t!=null&&gu(t)===`mouse`}function dA(e){return e!=null&&yA.has(e)}function fA(e,t){for(let n=e;n!=null&&n!==t;n=bd(n))if(Qu(n)&&Zf(n))return!0;return!1}function Wte(e){let t=$u(e)?e:e.ownerDocument;if(t==null||!_A.has(t))return!1;if(dA(e))return!0;let n=!1;for(let t=e;t!=null;t=bd(t)){let r=Qu(t)?gA.get(t):void 0;if(r!=null){let i=r.layer>0&&fA(e,t);if(r.layer>0&&!i)return!0;(!i||r.viewport>0||r.surface>0)&&(n=!0)}}return n&&!uA(t)}function Gte(e){let t=e.ownerDocument,n=_A.get(t);n??(n={layers:new Set},_A.set(t,n)),n.layers.add(e),Zte(t)?.hold()}function Kte(e){_A.get(e.ownerDocument)?.layers.delete(e),pA(e.ownerDocument)}function pA(e){let t=_A.get(e);if(t==null)return[];for(let e of t.layers)e.isConnected||t.layers.delete(e);return t.layers.size>0?[...t.layers]:(_A.delete(e),vA.get(e)?.release(),[])}function qte(e,t){let n=e.ownerDocument.createElement(`div`);t&&n.setAttribute(`popover`,`manual`),n.setAttribute(`aria-hidden`,`true`),Object.assign(n.style,{position:t?`fixed`:`absolute`,inset:`0`,width:t?`100vw`:`100%`,height:t?`100vh`:`100%`,zIndex:t?`auto`:`2147483647`,maxWidth:`none`,maxHeight:`none`,margin:`0`,padding:`0`,border:`0`,background:`transparent`,overflow:`hidden`,touchAction:`pinch-zoom`,pointerEvents:`auto`,visibility:`visible`});for(let e of bA)n.addEventListener(e,xA,{capture:!0,passive:!1});if(e.append(n),yA.add(n),t&&typeof n.showPopover==`function`)try{n.showPopover()}catch{}return n}function Jte(e){let t=[];for(let{x:n,y:r}of e){let e={left:n-SA,right:n+SA,top:r-SA,bottom:r+SA};for(let n=t.length-1;n>=0;n--){let r=t[n];e.left0||n.style.pointerEvents===`none`){n.style.removeProperty(`clip-path`);return}if(!e.isShieldFull){n.style.pointerEvents=`none`;return}let s=[`0 0`,`100% 0`,`100% 100%`,`0 100%`];for(let{left:e,right:t,top:n,bottom:r}of Jte(i==null?o:[i,...o]))s.push(`0 ${n}px`,`${e}px ${n}px`,`${e}px ${r}px`,`${t}px ${r}px`,`${t}px ${n}px`,`0 ${n}px`);n.style.clipPath=`polygon(${s.join(`, `)})`}function Yte(e,t){let n=t.defaultView;if(n==null)return;let r=vA.get(t);for(let t of vu(n).keys())r?.holds(t)!==!0&&e.pressOpenings.add(t)}function hA(e,{until:t,scope:n,focus:r=`blur`}){if(n===`layer`&&r===`kept-inside`)return Xte(e,t);let i=gA.get(e);i??(i={viewport:0,layer:0,surface:0,shield:null,isShieldFull:!1,inertContent:null,pressOpenings:new Set},gA.set(e,i)),Gte(e);let a=n!==`surface`,o=a&&(i.shield==null||!i.isShieldFull);i.shield!=null&&a&&!i.isShieldFull&&(yA.delete(i.shield),i.shield.remove(),i.shield=null),i.shield??(i.isShieldFull=a||i.viewport+i.layer>0,i.shield=qte(e,i.isShieldFull),n!==`layer`&&uA(e.ownerDocument)&&(i.shield.style.pointerEvents=`none`)),n===`viewport`?i.viewport+=1:n===`surface`?i.surface+=1:(i.layer+=1,i.shield.style.pointerEvents=`auto`,i.layer===1&&(i.inertContent=ene(e,i.shield),aA())),o&&Yte(i,e.ownerDocument),mA(i,e.ownerDocument);let s=!1,c=()=>{if(s)return;s=!0;let t=gA.get(e);t!=null&&(n===`viewport`?--t.viewport:n===`surface`?--t.surface:(--t.layer,t.layer===0&&t.inertContent!=null&&(tne(t.inertContent),t.inertContent=null)),t.viewport===0&&t.layer===0&&t.surface===0&&(t.shield!=null&&(yA.delete(t.shield),t.shield.remove()),gA.delete(e),Kte(e)))},l=`finished`in t?t.finished:t;return Promise.resolve(l).then(c,c),c}function Xte(e,t){let n=e.ownerDocument,r=td(e)?e.style:null,i=r?.pointerEvents??``;r!=null&&(r.pointerEvents=`none`);let a=e.hasAttribute(`inert`),o=e.getAttribute(`aria-hidden`),s=!1,c=!1,l=[],u=()=>{let t=Sd(n);return t!=null&&xd(e,t)},d=()=>{for(let e of l.splice(0))e()},f=()=>{s||c||(s=!0,d(),e.setAttribute(`inert`,``),e.setAttribute(`aria-hidden`,`true`))};if(!u())f();else{let t=t=>{let n=typeof t.composedPath==`function`?t.composedPath()[0]:t.target;return Zu(n)&&xd(e,n)},r=e=>{t(e)&&(e.preventDefault(),e.stopImmediatePropagation())},i=e=>{CA.has(e.key)||r(e)},a=[[`click`,r],[`keydown`,i],[`keyup`,i]];for(let[e,t]of a)n.addEventListener(e,t,{capture:!0}),l.push(()=>n.removeEventListener(e,t,{capture:!0}));let o=()=>{u()||f()},s=()=>queueMicrotask(o);e.addEventListener(`focusout`,s),l.push(()=>e.removeEventListener(`focusout`,s)),l.push(Xg(e,{childList:!0,subtree:!0,attributeFilter:[`disabled`,`hidden`,`inert`]},o))}let p=()=>{c||(c=!0,d(),r!=null&&(r.pointerEvents=i),s&&(a||e.removeAttribute(`inert`),o==null?e.removeAttribute(`aria-hidden`):e.setAttribute(`aria-hidden`,o)))},m=`finished`in t?t.finished:t;return Promise.resolve(m).then(p,p),p}function Zte(e){let t=vA.get(e)??null;return t??(t=Qte(e),t!=null&&vA.set(e,t)),t}function Qte(e){let t=e.defaultView;if(t==null)return null;let n=!0,r=!0,i=new Set,a=new Set,o=null,s=-1/0,c,l=()=>t.performance.now(),u=()=>i.size>0||a.size>0,d=e=>{e.cancelable&&e.preventDefault(),e.stopImmediatePropagation()},f=()=>{if(n||!r)return;if(c!==void 0&&clearTimeout(c),u()){c=setTimeout(S,EA);return}let e=s-l();e>0?c=setTimeout(S,e):S()},p=()=>(n&&pA(e),n),m=t=>{if(!p())return!1;for(let n of pA(e)){let e=gA.get(n);if(e!=null&&(e.viewport>0||e.layer>0&&!(Zu(t)&&fA(t,n))||e.surface>0&&Zu(t)&&xd(n,t)))return!0}return!1},h=()=>{s=l()+TA,f()},g=t=>{for(let n of pA(e)){let r=gA.get(n);if(r?.shield==null)continue;let i=t===`mouse`&&r.layer===0?`none`:`auto`;r.shield.style.pointerEvents!==i&&(r.shield.style.pointerEvents=i),mA(r,e)}},_=t=>{if(!t.isTrusted)return;let n=pA(e).at(-1),r=n==null?null:gA.get(n)?.shield;r==null||dA(t.target)||r.setPointerCapture(t.pointerId)},v=t=>{let{pointerId:n,type:r}=t;for(let t of pA(e)){let i=gA.get(t);i!=null&&i.pressOpenings.has(n)&&((r===`pointerup`||r===`pointercancel`)&&i.pressOpenings.delete(n),mA(i,e))}},y=e=>{let{pointerId:t,pointerType:n,type:r}=e;if(wA.has(n)&&r!==`pointerdown`&&!i.has(t)&&v(e),(wA.has(n)?r===`pointerdown`||r===`pointermove`:n===`mouse`&&r===`pointermove`&&e.buttons===0)&&p()&&g(n),r===`pointerdown`){if(!wA.has(n)||!m(e.target))return i.delete(t),o=`free`,s=-1/0,f(),!1;i.add(t),o=`held`,_(e)}else if(!i.has(t))return!1;return d(e),(r===`pointerup`||r===`pointercancel`)&&(i.delete(t),h()),!0},b=e=>{let{changedTouches:t,touches:n,type:r}=e,i=Array.from(t);if(r===`touchstart`){let t=new Set(Array.from(n,e=>e.identifier));for(let e of a)t.has(e)||a.delete(e);let r=i.filter(e=>m(e.target));if(r.length===0){for(let e of i)a.delete(e.identifier);return o=`free`,s=-1/0,f(),!1}for(let e of r)a.add(e.identifier);return o=`held`,e.stopImmediatePropagation(),!0}if(!i.some(e=>a.has(e.identifier)))return!1;if(r===`touchmove`)return e.stopImmediatePropagation(),n.length===1&&e.cancelable&&e.preventDefault(),!0;d(e);for(let e of i)a.delete(e.identifier);return h(),!0},x=e=>{if(e.detail===0)return!1;let{pointerType:t}=e;return o===`held`&&(t==null||t===``||wA.has(t))&&(u()||l()<=s)?(d(e),!0):!1};function S(){if(r){r=!1,vA.get(e)===w&&vA.delete(e),c!==void 0&&clearTimeout(c);for(let e of C.splice(0))e()}}let C=[...DA.map(e=>bu(t,e,y,{cancels:!0,first:!0})),...OA.map(e=>bu(t,e,b,{cancels:e===`touchmove`||e===`touchend`,first:!0})),...kA.map(e=>bu(t,e,x,{cancels:!0,first:!0}))],w={hold(){n=!0,c!==void 0&&(clearTimeout(c),c=void 0)},release(){n&&(n=!1,f())},holds:e=>i.has(e)};return w}function $te(e){let t=e.getAttribute(`aria-live`);return(t==null?[`status`,`alert`,`log`].includes(e.getAttribute(`role`)??``):t!==`off`)&&!e.matches(`button:not([disabled]), a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"]):not([disabled]), [contenteditable]:not([contenteditable=\"false\"]), audio[controls], video[controls], iframe, details > summary:first-child`)&&e.querySelector(`button:not([disabled]), a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"]):not([disabled]), [contenteditable]:not([contenteditable=\"false\"]), audio[controls], video[controls], iframe, details > summary:first-child`)==null}function ene(e,t){let n=new Map,r=(e,i)=>{for(let a of e.children)a===t||Zf(a)||i&&$te(a)||(Qf(a)?r(a,!1):(n.set(a,a.hasAttribute(`inert`)),a.setAttribute(`inert`,``)))};r(e,!0);let i=Sd(e.ownerDocument);return td(i)&&[...n.keys()].some(e=>xd(e,i))&&i.blur(),n}function tne(e){for(let[t,n]of e)n||t.removeAttribute(`inert`)}var gA,_A,vA,yA,bA,xA,SA,CA,wA,TA,EA,DA,OA,kA,AA=o((()=>{Td(),Pu(),od(),t_(),Xn(),nA(),tp(),lA(),{held:gA,heldDocuments:_A,pressHolds:vA,liveShields:yA}=Gn(Wn(`layer/input-hold`,1),()=>({held:new WeakMap,heldDocuments:new WeakMap,pressHolds:new WeakMap,liveShields:new WeakSet})),bA=[`pointerdown`,`pointerup`,`touchstart`,`touchend`,`mousedown`,`mouseup`,`click`,`contextmenu`],xA=e=>{e.cancelable&&e.type!==`touchstart`&&e.preventDefault(),e.stopPropagation()},SA=2,CA=new Set([`Tab`]),wA=new Set([`touch`,`pen`]),TA=800,EA=1e4,DA=[`pointerdown`,`pointermove`,`pointerup`,`pointercancel`],OA=[`touchstart`,`touchmove`,`touchend`,`touchcancel`],kA=[`mousedown`,`mouseup`,`click`,`auxclick`,`dblclick`,`contextmenu`]}));ds(),AA();function jA(e,{isModal:t=!0,entrance:n=e,capMs:r}={}){if(n==null||typeof n.getAnimations!=`function`)return null;let i=n.getAnimations().filter(NA);if(i.length===0||!ss(e.ownerDocument.defaultView))return null;let a=Promise.all(i.map(async e=>e.finished));return hA(e,{until:r==null?a:Promise.race([a,MA(r)]),scope:t?`viewport`:`surface`})}async function MA(e){await new Promise(t=>{setTimeout(t,e)})}function NA(e){if(e.playState!==`running`)return!1;let t=e.effect?.getComputedTiming().endTime;return typeof t==`number`&&Number.isFinite(t)}nv();function PA(e){try{return e.matches(`:popover-open`)}catch{return!1}}function FA(e){return Array.from(e.ownerDocument.querySelectorAll(`[popover=\"auto\"], [popover=\"\"]`)).filter(t=>!t.contains(e)&&PA(t))}function IA(e,t){let n=(0,X.useRef)(!1),r=(0,X.useRef)(!1),i=(0,X.useRef)([]),a=(0,X.useRef)(0);return{onPointerDownCapture:(0,X.useCallback)(e=>{let t=e.target===e.currentTarget;n.current=t,r.current=!1,i.current=t?FA(e.currentTarget):[],a.current=X_(e.currentTarget.ownerDocument)},[]),onPointerUpCapture:(0,X.useCallback)(e=>{r.current=n.current&&e.target===e.currentTarget,n.current=!1},[]),onPointerCancelCapture:(0,X.useCallback)(()=>{n.current=!1,r.current=!1,i.current=[]},[]),onClick:(0,X.useCallback)(o=>{let s=r.current,c=i.current.some(e=>!PA(e))||X_(o.currentTarget.ownerDocument)!==a.current;n.current=!1,r.current=!1,i.current=[],t&&s&&!c&&o.target===o.currentTarget&&e()},[t,e])}}function LA(e=document){let t=e.activeElement;return t==null||t===e.body||t===e.documentElement}var RA=o((()=>{}));function zA(e,t){let n=t??e?.ownerDocument??document;return LA(n)||e!=null&&e.contains(n.activeElement)}function BA(e){let t=e?.ownerDocument.activeElement;return e==null||t==null||!e.contains(t)?null:{element:t,container:e}}function VA(e,t,n=null,r){return e==null||t==null||!zA(n,e.container.ownerDocument)?!1:(WA(t,r),t.ownerDocument.activeElement===t)}function HA(e){gj.get(e)?.()}function UA(e){return e.hasAttribute(`tabindex`)||e.tabIndex>=0||e.isContentEditable||e.matches(`button:not([disabled]), a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"]):not([disabled]), [contenteditable]:not([contenteditable=\"false\"]), audio[controls], video[controls], iframe, details > summary:first-child`)}function WA(e,t,n=Lf(e)){if(HA(e),UA(e))return GA(e,t,n),()=>{};e.setAttribute(`tabindex`,`-1`);let r=()=>{gj.get(e)===r&&(gj.delete(e),e.removeEventListener(`blur`,r),e.getAttribute(`tabindex`)===`-1`&&e.removeAttribute(`tabindex`))};return gj.set(e,r),GA(e,t,n),e.ownerDocument.activeElement===e?e.addEventListener(`blur`,r,{once:!0}):r(),r}function GA(e,t,n=Lf(e)){let r=e.ownerDocument.defaultView??window;e instanceof r.HTMLInputElement||e instanceof r.HTMLTextAreaElement||e instanceof r.HTMLSelectElement||e.isContentEditable||n!==`pointer`?t===void 0?e.focus():e.focus(t):(e.ownerDocument.activeElement===e&&e.matches(`:focus-visible`)&&e.blur(),e.focus({...t,focusVisible:!1}))}function KA(e,t){GA(e,{preventScroll:!0},t)}function qA(e,t){let n=e.ownerDocument.defaultView?.frameElement??null;return r=>{t?.keepRestingFocus===!0&&JA(e.ownerDocument)||queueMicrotask(()=>{e.isConnected||zA(e)&&(n==null||zA(n))&&r()})}}function JA(e){let t=_j.get(e);return t===void 0&&(t=LA(e),_j.set(e,t),queueMicrotask(()=>_j.delete(e))),t}function YA(e){return eA(e).filter(e=>e.tabIndex>=0&&!e.matches(`:disabled`))}function XA(e){let t=e.ownerDocument;return e===t.body||e===t.documentElement}function ZA(e){if(e==null)return null;let t=null;for(let n of vj){let r=n.getLayer();r!=null&&r.contains(e)&&(t==null||t.getLayer()?.contains(r)===!0)&&(t=n)}return t}function QA(e){let t=e.doc??e.getLayer()?.ownerDocument??(typeof document>`u`?null:document);if(t==null)throw Error(`trackLayerFocus needs a document`);let n=t.activeElement,r=td(n)&&!XA(n)?n:null,i=e.opener??r,a=[],o=[];for(let e=i?.parentElement??null;e!=null&&!XA(e);e=e.parentElement)if(a.push(e),a.length<=yj&&i!=null){let t=YA(e).indexOf(i);t>=0&&o.push({container:e,index:t})}let s=e.getLayer(),c={getLayer:e.getLayer,opener:i,getTrigger:e.getTrigger??(()=>null),getRestoreFallback:e.getRestoreFallback??(()=>null),getAnchor:e.getAnchor??(()=>null),layerId:e.layerId??null,ancestors:a,places:o,parent:ZA(i),focus:e.focus??ej,doc:t,layerDoc:s?.ownerDocument??t,inherited:null,hadFocusInside:e.isFocusMovedInOnOpen===!0||s!=null&&s.contains(n),awaitsFocus:e.isFocusMovedInOnOpen===!0&&!(s!=null&&s.contains(n)),isClosing:!1,isDone:!1,stopListening:()=>{}},l=e=>{let t=e.target;Qu(t)&&c.getLayer()?.contains(t)&&(c.hadFocusInside=!0,c.awaitsFocus=!1)},u=new Set([t]);s!=null&&u.add(s.ownerDocument);for(let e of u)e.addEventListener(`focusin`,l,!0);return c.stopListening=()=>{for(let e of u)e.removeEventListener(`focusin`,l,!0)},vj.add(c),c}function $A(e,t){return LA(e)||t!=null&&t.contains(e.activeElement)}function ej(e){WA(e,UA(e)?void 0:{preventScroll:!0},`keyboard`)}function tj(e,t){if(e.focus===ej||UA(t)){e.focus(t);return}t.setAttribute(`tabindex`,`-1`),e.focus(t);let n=()=>{t.getAttribute(`tabindex`)===`-1`&&t.removeAttribute(`tabindex`)};t.ownerDocument.activeElement===t?t.addEventListener(`blur`,n,{once:!0}):n()}function nj(e){for(let t of vj)if(t.isClosing&&t.getLayer()?.contains(e))return!0;return!1}function rj(e){let t=e.checkVisibility;if(typeof t==`function`)return t.call(e,{visibilityProperty:!0});let n=e.ownerDocument.defaultView;for(let t=e;t!=null;t=t.parentElement){if(t.hasAttribute(`hidden`))return!1;let r=n?.getComputedStyle(t);if(r?.display===`none`&&!t.hasAttribute(`popover`)||t===e&&r?.visibility===`hidden`)return!1}return!0}function ij(e){let t=!1;for(let n of e.ownerDocument.querySelectorAll(`dialog[open]`))if(rd(n)){if(n.contains(e))return!1;t=!0}return t}function aj(e){return td(e)&&e.isConnected&&!XA(e)&&!e.matches(`:disabled`)&&$k(e)&&!ij(e)&&!nj(e)&&rj(e)}function oj(e,t){let n=t?.id||e.layerId;return n?`layer \"${n}\"`:`a layer`}function sj(e){return e==null?null:td(e)&&UA(e)?e:YA(e)[0]??null}function*cj(e){if(yield e.opener,yield sj(e.getTrigger()),e.layerId!=null&&e.layerId!==``){let t=typeof CSS<`u`&&typeof CSS.escape==`function`?CSS.escape(e.layerId):e.layerId;yield e.doc.querySelector(`[aria-controls=\"${t}\"]`)}yield e.getRestoreFallback(),yield sj(e.getAnchor());let t=e.places.find(({container:e})=>e.isConnected);if(t!=null){let e=YA(t.container);yield e[t.index]??null,yield e[t.index-1]??null,yield e[t.index+1]??null,yield e[0]??null}for(let t of e.ancestors)t.isConnected&&(yield t)}function*lj(e){for(let t=e;t!=null;t=t.inherited)yield*cj(t);for(let t=e.parent;t!=null;t=t.parent)if(!t.isClosing){yield t.getLayer();break}yield e.doc.querySelector(`main`)}function uj(e){e.isDone=!0,e.stopListening(),vj.delete(e)}function dj(e){let t=e.getLayer(),n=(t?.ownerDocument??e.layerDoc).activeElement;return t!=null&&n!=null&&t.contains(n)}function fj(e){let{doc:t}=e,n=e.getLayer(),r=t.activeElement,i=n?.ownerDocument??e.layerDoc,a=i.activeElement,o=n!=null&&a!=null&&n.contains(a);if(!(e.hadFocusInside||o))return!1;let s=i===t?null:i.defaultView?.frameElement??null;return LA(t)||o||s!=null&&r===s&&$A(i,n)||r!=null&&nj(r)}function pj(e,t){if(e.isDone||e.isClosing)return!1;if(t?.isOpenerOnly===!0){let{opener:t}=e;return!fj(e)||!aj(t)?!1:(e.isClosing=!0,tj(e,t),uj(e),!0)}let n=t?.wasStranded??fj(e);e.isClosing=!0;let{doc:r}=e,i=e.getLayer();if(!n)return uj(e),!1;for(let t of vj)if(t!==e&&!t.isClosing&&t.parent===e&&(dj(t)||t.awaitsFocus))return t.inherited=e,uj(e),!1;for(let t of lj(e))if(aj(t)&&(tj(e,t),r.activeElement===t))return uj(e),!0;return t?.warnsWhenNothingQualifies===!1?(uj(e),!1):(`${oj(e,i)}`,uj(e),!1)}function mj(e,t){let n=e.getLayer();for(let r of[...t,...lj(e)])if(aj(r)&&!(n?.contains(r)??!1)&&(tj(e,r),e.doc.activeElement===r))return!0;return`${oj(e,n)}`,!1}function hj(e){e.isDone||uj(e)}var gj,_j,vj,yj,bj=o((()=>{nA(),Xn(),Hf(),RA(),od(),sc(),gj=Jn(`utils/focus-return/temporary-focus`,1),_j=Jn(`utils/focus-return/focus-detached-at-removal-start`,1),vj=Kn(`utils/focus-return/open-layer-records`,1,()=>new Set),yj=4}));function xj(e){(0,Pj.useEffect)(()=>{if(e)return Fj.count+=1,()=>{--Fj.count}},[e])}function Sj(e){return e.matches(`input[type=\"radio\"][name]`)&&e.name||null}function Cj(e,t){let n=Sj(e);return n!=null&&n===Sj(t)&&e.form===t.form}function wj(e,t){return e.filter(n=>Sj(n)==null?!0:t!=null&&Cj(n,t)?n===t:n.checked||!e.some(e=>Cj(n,e)&&e.checked))}function Tj(e){return e?.ownerDocument??document}function Ej(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING)!==0}function Dj(e){try{e.focus()}catch{}return e.ownerDocument.activeElement===e}function Oj(e,t){Dj(t)&&e.preventDefault()}function kj(e){let t=eA(e);for(let e of t)if(Dj(e))return!0;return!1}function Aj(e){let t=eA(e);for(let e=t.length-1;e>=0;e--)if(Dj(t[e]))return!0;return!1}function jj(e,t){let n=t.closest(`dialog[open]`);if(n!=null&&n!==e&&e.contains(n))return!0;for(let n of Ij)if(n!==e&&e.contains(n)&&n.contains(t))return!0;return!1}function Mj(e,t){let n=(0,Pj.useRef)(null),r=(0,Pj.useRef)(!1);(0,Pj.useEffect)(()=>{let n=e.current;if(t&&n!=null)return Ij.add(n),()=>{Ij.delete(n)}},[e,t]),(0,Pj.useEffect)(()=>{if(!t)return;let i=Tj(e.current),a=t=>{let a=e.current;if(!a)return;let o=t.target;if(a.contains(o))n.current=o;else if(r.current){let e=kj(a);e&&n.current===i.activeElement?Aj(a):!e&&td(n.current)&&a.contains(n.current)&&Dj(n.current),n.current=i.activeElement}r.current=!1};return i.addEventListener(`focus`,a,!0),()=>{i.removeEventListener(`focus`,a,!0)}},[e,t]),(0,Pj.useEffect)(()=>{if(!t)return;let i=Tj(e.current),a=t=>{let a=e.current;if(a&&t.key===`Tab`){if(t.ctrlKey||t.metaKey||t.defaultPrevented)return;let e=i.activeElement;if(e==null||!a.contains(e)||jj(a,e))return;r.current=!0;let o=eA(a);if(o.length===0){t.preventDefault(),n.current=e,r.current=!1;return}let s=wj([...o].sort((e,t)=>Ej(e,t)?-1:1),e),c=s[0],l=s[s.length-1];if(i.activeElement===a){Oj(t,t.shiftKey?l:c);return}let u=!o.includes(e);t.shiftKey?(e===c||u&&Ej(e,c))&&Oj(t,l):(e===l||u&&Ej(l,e))&&Oj(t,c)}};return i.addEventListener(`keydown`,a),()=>{i.removeEventListener(`keydown`,a)}},[e,t])}function Nj(e){let{isActive:t,onEscape:n,getRestoreTarget:r,getRestoreFallback:i,restoreFocusTo:a,getTrigger:o,getAnchor:s,layerId:c}=e,l=(0,Pj.useRef)(r);l.current=r;let u=(0,Pj.useRef)(i);u.current=i;let d=(0,Pj.useRef)(a);d.current=a;let f=nu(o),p=nu(s),m=nu(c),h=(0,Pj.useRef)(null);Mj(h,t);let g=t&&n!=null;Bx({isActive:g,onDismiss:()=>{n?.()},getContainer:()=>h.current}),xj(g);let _=(0,Pj.useCallback)(()=>{h.current&&kj(h.current)},[]),v=(0,Pj.useRef)(null);return(0,Pj.useEffect)(()=>{if(!t)return;let e=h.current,n=QA({getLayer:()=>h.current??e,opener:l.current?.()??null,getTrigger:()=>f.current?.()??null,getRestoreFallback:()=>u.current?.()??null,getAnchor:()=>p.current?.()??null,layerId:m.current??null,focus:d.current==null?void 0:e=>d.current?.(e),doc:e?.ownerDocument});v.current=n;let r=e==null?null:qA(e);return()=>{v.current=null,n.isDone||(e!=null&&rd(e)?hj(n):e==null||e.isConnected?(pj(n),hj(n)):pj(n,{isOpenerOnly:!0})||(r?.(()=>{pj(n,{warnsWhenNothingQualifies:!1})}),queueMicrotask(()=>hj(n))))}},[t,p,f,m]),{containerRef:h,focusFirst:_,returnFocus:(0,Pj.useCallback)(()=>{let e=v.current;e!=null&&pj(e)},[]),moveFocusOut:(0,Pj.useCallback)(e=>{let t=v.current;return t!=null&&mj(t,e)},[])}}var Pj,Fj,Ij,Lj=o((()=>{Pj=u(f(),1),bj(),od(),Xn(),au(),nA(),Ux(),Fj=Kn(`hooks/use-focus-trap/escape-traps`,1,()=>({count:0})),Ij=Kn(`hooks/use-focus-trap/active-region-containers`,1,()=>new Set)})),Rj,zj=o((()=>{Rj={publish:{\"--_container-bleed-block-start\":`x19rxvyz xlimi1b x1o1bq0k`,\"--_container-bleed-block-end\":`x1t5kaiv x1506i8g x3z1glp`,$$css:!0}}}));function Bj({padding:e=`spacing4`,paddingOuterX:t,paddingOuterY:n,paddingInnerX:r,paddingInnerY:i,useThemeDefault:a,maxHeight:o}){let s=t??e,c=n??e,l=r??e,u=i??e,d=o?uM.containerMaxHeight(o):null;if(a){let e=tM[a];return[Vj.container,e.containerPaddingInlineStart,e.containerPaddingInlineEnd,e.containerPaddingBlockStart,e.containerPaddingBlockEnd,e.layoutPaddingOuterX,e.layoutPaddingOuterY,e.layoutPaddingInnerX,e.layoutPaddingInnerY,d,Rj.publish]}return[Vj.container,nM[s],rM[s],iM[c],aM[c],oM[s],sM[c],cM[l],lM[u],d,Rj.publish]}var Vj,Hj,Uj,Wj,Gj,Kj,qj,Jj,Yj,Xj,Zj,Qj,$j,eM,tM,nM,rM,iM,aM,oM,sM,cM,lM,uM,dM=o((()=>{G(),zj(),Vj={container:{kB7OPa:`x9f619`,kZCmMZ:`x1c35znw`,kwRFfy:`x64h4k7`,kLKAdn:`x14m0hsi`,kGO01o:`xc1wllq`,\"--layout-padding-own-outer-x\":`x1vii845`,\"--layout-padding-own-outer-y\":`xojybgt`,$$css:!0}},Hj=j[`--spacing-4`],Uj=j[`--spacing-6`],Wj=`var(--astryx-card-padding, ${Hj})`,Gj=`var(--astryx-card-padding-inline, ${Wj})`,`${Gj}`,`${Gj}`,`${Wj}`,`${Wj}`,Kj=`var(--_section-padding-propagated, ${`var(--astryx-section-padding, ${Hj})`})`,qj=`var(--astryx-section-padding-inline, ${Kj})`,`${qj}`,`${qj}`,`${Kj}`,`${Kj}`,Jj=`var(--astryx-dialog-padding, ${Hj})`,Yj=`var(--astryx-dialog-padding-inline, ${Jj})`,`${Yj}`,`${Yj}`,`${Jj}`,`${Jj}`,Xj=`var(--astryx-bottom-sheet-padding, ${Hj})`,Zj=`var(--astryx-bottom-sheet-padding-inline, ${Xj})`,`${Zj}`,`${Zj}`,Qj=`var(--astryx-bottom-sheet-padding-block-start, ${Xj})`,`${Xj}`,`${Qj}${Uj}`,$j=`var(--astryx-drawer-padding, ${Hj})`,eM=`var(--astryx-drawer-padding-inline, ${$j})`,`${eM}`,`${eM}`,`${$j}`,`${$j}`,tM={card:{containerPaddingInlineStart:{\"--container-padding-inline-start\":`xjmlhfd`,$$css:!0},containerPaddingInlineEnd:{\"--container-padding-inline-end\":`x1ihxwbr`,$$css:!0},containerPaddingBlockStart:{\"--container-padding-block-start\":`x1rqz8me`,$$css:!0},containerPaddingBlockEnd:{\"--container-padding-block-end\":`x1omyuck`,$$css:!0},layoutPaddingOuterX:{\"--layout-padding-outer-x\":`x14rzhog`,$$css:!0},layoutPaddingOuterY:{\"--layout-padding-outer-y\":`xjej9fs`,$$css:!0},layoutPaddingInnerX:{\"--layout-padding-inner-x\":`x4poyjn`,$$css:!0},layoutPaddingInnerY:{\"--layout-padding-inner-y\":`x1u1kw4e`,$$css:!0}},section:{containerPaddingInlineStart:{\"--container-padding-inline-start\":`x19lemt0`,$$css:!0},containerPaddingInlineEnd:{\"--container-padding-inline-end\":`xu1wldr`,$$css:!0},containerPaddingBlockStart:{\"--container-padding-block-start\":`xnw7zt4`,$$css:!0},containerPaddingBlockEnd:{\"--container-padding-block-end\":`xek4msv`,$$css:!0},layoutPaddingOuterX:{\"--layout-padding-outer-x\":`x15i0zw9`,$$css:!0},layoutPaddingOuterY:{\"--layout-padding-outer-y\":`x1vw4zgg`,$$css:!0},layoutPaddingInnerX:{\"--layout-padding-inner-x\":`x1v3gmnx`,$$css:!0},layoutPaddingInnerY:{\"--layout-padding-inner-y\":`x15yx5hm`,$$css:!0}},dialog:{containerPaddingInlineStart:{\"--container-padding-inline-start\":`x1tewnwq`,$$css:!0},containerPaddingInlineEnd:{\"--container-padding-inline-end\":`x11h1f2o`,$$css:!0},containerPaddingBlockStart:{\"--container-padding-block-start\":`x1g2kccc`,$$css:!0},containerPaddingBlockEnd:{\"--container-padding-block-end\":`x1gvthzm`,$$css:!0},layoutPaddingOuterX:{\"--layout-padding-outer-x\":`x1hsjncj`,$$css:!0},layoutPaddingOuterY:{\"--layout-padding-outer-y\":`x1pui4bz`,$$css:!0},layoutPaddingInnerX:{\"--layout-padding-inner-x\":`x2so38`,$$css:!0},layoutPaddingInnerY:{\"--layout-padding-inner-y\":`xinu7xd`,$$css:!0}},\"bottom-sheet\":{containerPaddingInlineStart:{\"--container-padding-inline-start\":`xv7mus7`,$$css:!0},containerPaddingInlineEnd:{\"--container-padding-inline-end\":`x1ui7op6`,$$css:!0},containerPaddingBlockStart:{\"--container-padding-block-start\":`x1hx5klf`,$$css:!0},containerPaddingBlockEnd:{\"--container-padding-block-end\":`x1of45zw`,$$css:!0},layoutPaddingOuterX:{\"--layout-padding-outer-x\":`x11ixy8q`,$$css:!0},layoutPaddingOuterY:{\"--layout-padding-outer-y\":`x1iwhsh0`,$$css:!0},layoutPaddingInnerX:{\"--layout-padding-inner-x\":`xp9icaw`,$$css:!0},layoutPaddingInnerY:{\"--layout-padding-inner-y\":`x10u54dy`,$$css:!0}},drawer:{containerPaddingInlineStart:{\"--container-padding-inline-start\":`x1mndvw9`,$$css:!0},containerPaddingInlineEnd:{\"--container-padding-inline-end\":`xlsqznw`,$$css:!0},containerPaddingBlockStart:{\"--container-padding-block-start\":`x18184ib`,$$css:!0},containerPaddingBlockEnd:{\"--container-padding-block-end\":`x1g5mqay`,$$css:!0},layoutPaddingOuterX:{\"--layout-padding-outer-x\":`x18e7m0u`,$$css:!0},layoutPaddingOuterY:{\"--layout-padding-outer-y\":`xc006j`,$$css:!0},layoutPaddingInnerX:{\"--layout-padding-inner-x\":`x1qbr0dm`,$$css:!0},layoutPaddingInnerY:{\"--layout-padding-inner-y\":`x1ek71mq`,$$css:!0}}},nM={spacing0:{\"--container-padding-inline-start\":`x1gu2k80`,$$css:!0},spacing0_5:{\"--container-padding-inline-start\":`x14ws0sr`,$$css:!0},spacing1:{\"--container-padding-inline-start\":`x1cvlban`,$$css:!0},spacing1_5:{\"--container-padding-inline-start\":`x176g23i`,$$css:!0},spacing2:{\"--container-padding-inline-start\":`x1xlrr2o`,$$css:!0},spacing3:{\"--container-padding-inline-start\":`xfdwxua`,$$css:!0},spacing4:{\"--container-padding-inline-start\":`x1dlhslv`,$$css:!0},spacing5:{\"--container-padding-inline-start\":`x1s81nki`,$$css:!0},spacing6:{\"--container-padding-inline-start\":`x1ep0dkj`,$$css:!0},spacing7:{\"--container-padding-inline-start\":`x157xojc`,$$css:!0},spacing8:{\"--container-padding-inline-start\":`xw1diwv`,$$css:!0},spacing9:{\"--container-padding-inline-start\":`xraca2a`,$$css:!0},spacing10:{\"--container-padding-inline-start\":`xserb3f`,$$css:!0},spacing11:{\"--container-padding-inline-start\":`xziclwo`,$$css:!0},spacing12:{\"--container-padding-inline-start\":`x1iiwihq`,$$css:!0}},rM={spacing0:{\"--container-padding-inline-end\":`x91ghl5`,$$css:!0},spacing0_5:{\"--container-padding-inline-end\":`x1wz3t3y`,$$css:!0},spacing1:{\"--container-padding-inline-end\":`x2oyxnl`,$$css:!0},spacing1_5:{\"--container-padding-inline-end\":`xntetml`,$$css:!0},spacing2:{\"--container-padding-inline-end\":`xcas3b9`,$$css:!0},spacing3:{\"--container-padding-inline-end\":`xu0ipoa`,$$css:!0},spacing4:{\"--container-padding-inline-end\":`xs0pscg`,$$css:!0},spacing5:{\"--container-padding-inline-end\":`xgkj7vj`,$$css:!0},spacing6:{\"--container-padding-inline-end\":`x94cj42`,$$css:!0},spacing7:{\"--container-padding-inline-end\":`x11tj35w`,$$css:!0},spacing8:{\"--container-padding-inline-end\":`x1b9k1pi`,$$css:!0},spacing9:{\"--container-padding-inline-end\":`x19w02kr`,$$css:!0},spacing10:{\"--container-padding-inline-end\":`xx5lg5w`,$$css:!0},spacing11:{\"--container-padding-inline-end\":`x1nmgbqg`,$$css:!0},spacing12:{\"--container-padding-inline-end\":`x1wsfsk2`,$$css:!0}},iM={spacing0:{\"--container-padding-block-start\":`x1i3qcxz`,$$css:!0},spacing0_5:{\"--container-padding-block-start\":`xvdf9ev`,$$css:!0},spacing1:{\"--container-padding-block-start\":`xnsckjb`,$$css:!0},spacing1_5:{\"--container-padding-block-start\":`x1kbx601`,$$css:!0},spacing2:{\"--container-padding-block-start\":`xa8b4fq`,$$css:!0},spacing3:{\"--container-padding-block-start\":`x11k4f5r`,$$css:!0},spacing4:{\"--container-padding-block-start\":`xm01sq8`,$$css:!0},spacing5:{\"--container-padding-block-start\":`xp8wdkl`,$$css:!0},spacing6:{\"--container-padding-block-start\":`x1hmud4d`,$$css:!0},spacing7:{\"--container-padding-block-start\":`x1c00sag`,$$css:!0},spacing8:{\"--container-padding-block-start\":`xfv60at`,$$css:!0},spacing9:{\"--container-padding-block-start\":`x14fzdu7`,$$css:!0},spacing10:{\"--container-padding-block-start\":`x17h9kl7`,$$css:!0},spacing11:{\"--container-padding-block-start\":`x1rdjxae`,$$css:!0},spacing12:{\"--container-padding-block-start\":`xecwdl6`,$$css:!0}},aM={spacing0:{\"--container-padding-block-end\":`xkunwnr`,$$css:!0},spacing0_5:{\"--container-padding-block-end\":`x1cao3zv`,$$css:!0},spacing1:{\"--container-padding-block-end\":`x57a7ii`,$$css:!0},spacing1_5:{\"--container-padding-block-end\":`xv53x8y`,$$css:!0},spacing2:{\"--container-padding-block-end\":`x1lsgcmx`,$$css:!0},spacing3:{\"--container-padding-block-end\":`x1q3ppug`,$$css:!0},spacing4:{\"--container-padding-block-end\":`x4hfsld`,$$css:!0},spacing5:{\"--container-padding-block-end\":`xbib2ws`,$$css:!0},spacing6:{\"--container-padding-block-end\":`x1q8d17g`,$$css:!0},spacing7:{\"--container-padding-block-end\":`x1yqogew`,$$css:!0},spacing8:{\"--container-padding-block-end\":`x8lgq76`,$$css:!0},spacing9:{\"--container-padding-block-end\":`x1f7f9rt`,$$css:!0},spacing10:{\"--container-padding-block-end\":`x15vxphk`,$$css:!0},spacing11:{\"--container-padding-block-end\":`x4bg2x9`,$$css:!0},spacing12:{\"--container-padding-block-end\":`x186mjxr`,$$css:!0}},oM={spacing0:{\"--layout-padding-outer-x\":`xswhm3q`,$$css:!0},spacing0_5:{\"--layout-padding-outer-x\":`xihiwg7`,$$css:!0},spacing1:{\"--layout-padding-outer-x\":`xc96xmq`,$$css:!0},spacing1_5:{\"--layout-padding-outer-x\":`x1u93lgd`,$$css:!0},spacing2:{\"--layout-padding-outer-x\":`x15dxnc0`,$$css:!0},spacing3:{\"--layout-padding-outer-x\":`xadgj3j`,$$css:!0},spacing4:{\"--layout-padding-outer-x\":`x1v56qcf`,$$css:!0},spacing5:{\"--layout-padding-outer-x\":`x1nzs0gl`,$$css:!0},spacing6:{\"--layout-padding-outer-x\":`x1c3n52a`,$$css:!0},spacing7:{\"--layout-padding-outer-x\":`x1gfiokx`,$$css:!0},spacing8:{\"--layout-padding-outer-x\":`x1t3kfz`,$$css:!0},spacing9:{\"--layout-padding-outer-x\":`xzr4qsh`,$$css:!0},spacing10:{\"--layout-padding-outer-x\":`x1jdf5a4`,$$css:!0},spacing11:{\"--layout-padding-outer-x\":`x1hct0t0`,$$css:!0},spacing12:{\"--layout-padding-outer-x\":`x11cyqoe`,$$css:!0}},sM={spacing0:{\"--layout-padding-outer-y\":`x1mzf5mb`,$$css:!0},spacing0_5:{\"--layout-padding-outer-y\":`x1vj96e0`,$$css:!0},spacing1:{\"--layout-padding-outer-y\":`x1gpfxoh`,$$css:!0},spacing1_5:{\"--layout-padding-outer-y\":`xd3dqby`,$$css:!0},spacing2:{\"--layout-padding-outer-y\":`x10pz7y9`,$$css:!0},spacing3:{\"--layout-padding-outer-y\":`x1p6yq3h`,$$css:!0},spacing4:{\"--layout-padding-outer-y\":`xx738ci`,$$css:!0},spacing5:{\"--layout-padding-outer-y\":`x6yxws5`,$$css:!0},spacing6:{\"--layout-padding-outer-y\":`x180vrwl`,$$css:!0},spacing7:{\"--layout-padding-outer-y\":`x1q6rme1`,$$css:!0},spacing8:{\"--layout-padding-outer-y\":`xid7e43`,$$css:!0},spacing9:{\"--layout-padding-outer-y\":`x1t5kicu`,$$css:!0},spacing10:{\"--layout-padding-outer-y\":`x26l4wa`,$$css:!0},spacing11:{\"--layout-padding-outer-y\":`x10zktp0`,$$css:!0},spacing12:{\"--layout-padding-outer-y\":`x1yz3n6a`,$$css:!0}},cM={spacing0:{\"--layout-padding-inner-x\":`xj1bl4l`,$$css:!0},spacing0_5:{\"--layout-padding-inner-x\":`xlriy2h`,$$css:!0},spacing1:{\"--layout-padding-inner-x\":`x6uuyak`,$$css:!0},spacing1_5:{\"--layout-padding-inner-x\":`xd38f90`,$$css:!0},spacing2:{\"--layout-padding-inner-x\":`xxqksqd`,$$css:!0},spacing3:{\"--layout-padding-inner-x\":`x1fyui2f`,$$css:!0},spacing4:{\"--layout-padding-inner-x\":`x1i2ajwi`,$$css:!0},spacing5:{\"--layout-padding-inner-x\":`x1tac27u`,$$css:!0},spacing6:{\"--layout-padding-inner-x\":`x1ntgf3t`,$$css:!0},spacing7:{\"--layout-padding-inner-x\":`xhjd9tl`,$$css:!0},spacing8:{\"--layout-padding-inner-x\":`xn7c84u`,$$css:!0},spacing9:{\"--layout-padding-inner-x\":`xeqkbsz`,$$css:!0},spacing10:{\"--layout-padding-inner-x\":`x1vf4qco`,$$css:!0},spacing11:{\"--layout-padding-inner-x\":`xsmamsf`,$$css:!0},spacing12:{\"--layout-padding-inner-x\":`x2xk2xj`,$$css:!0}},lM={spacing0:{\"--layout-padding-inner-y\":`xwuefyo`,$$css:!0},spacing0_5:{\"--layout-padding-inner-y\":`x180h0y5`,$$css:!0},spacing1:{\"--layout-padding-inner-y\":`xmpug6m`,$$css:!0},spacing1_5:{\"--layout-padding-inner-y\":`x1g8jpzm`,$$css:!0},spacing2:{\"--layout-padding-inner-y\":`x1lksgje`,$$css:!0},spacing3:{\"--layout-padding-inner-y\":`x4j7gld`,$$css:!0},spacing4:{\"--layout-padding-inner-y\":`x1s3ehtl`,$$css:!0},spacing5:{\"--layout-padding-inner-y\":`x1rj5eim`,$$css:!0},spacing6:{\"--layout-padding-inner-y\":`x1ftgg6u`,$$css:!0},spacing7:{\"--layout-padding-inner-y\":`x1ho74vh`,$$css:!0},spacing8:{\"--layout-padding-inner-y\":`xm2cs6f`,$$css:!0},spacing9:{\"--layout-padding-inner-y\":`x1vsq92b`,$$css:!0},spacing10:{\"--layout-padding-inner-y\":`x18gbwmk`,$$css:!0},spacing11:{\"--layout-padding-inner-y\":`x14zymzj`,$$css:!0},spacing12:{\"--layout-padding-inner-y\":`xzfpkx9`,$$css:!0}},uM={containerMaxHeight:e=>[{\"--container-max-height\":e==null?e:`x18nyedi`,$$css:!0},{\"--x---container-max-height\":e??void 0}]}})),fM={fromHostRadius:{\"--_container-corner-start-start\":`xyglmdk xo6h1o1`,\"--_container-corner-start-end\":`xmq3u8m x5rr2qb`,\"--_container-corner-end-start\":`xp1ds82 x1pmdxx9`,\"--_container-corner-end-end\":`x137k1ec x135ma50`,$$css:!0},publish:{\"--container-corner-start-start\":`xcfde6v x1jxik6w x1x9b3rp`,\"--container-corner-start-end\":`x1os27km x18wmv1g x1fj5z48`,\"--container-corner-end-start\":`x102ry9 xcwbja2 xpl7j7d`,\"--container-corner-end-end\":`x1q2p8vm x1jkigeo xrfh3k4`,$$css:!0}},pM,mM=o((()=>{pM={0:{kZCmMZ:`x18gyask`,kwRFfy:`x1s0aq8i`,kLKAdn:`x1ydh6w3`,kGO01o:`x1l20ajd`,$$css:!0},1:{kZCmMZ:`x1vsv5vr`,kwRFfy:`x1nryj5t`,kLKAdn:`xfsso4q`,kGO01o:`xy143xn`,$$css:!0},2:{kZCmMZ:`x12gdq22`,kwRFfy:`x1djylfy`,kLKAdn:`x1xye8es`,kGO01o:`x1wesfrj`,$$css:!0},3:{kZCmMZ:`x126nfab`,kwRFfy:`x1t818jl`,kLKAdn:`x1vlblms`,kGO01o:`xvmdzux`,$$css:!0},4:{kZCmMZ:`x1rey3nv`,kwRFfy:`xnjyzlh`,kLKAdn:`x1oa1p4a`,kGO01o:`x1awphl8`,$$css:!0},5:{kZCmMZ:`x1blguxw`,kwRFfy:`xdbrk9v`,kLKAdn:`xx7rijo`,kGO01o:`x1hk98q`,$$css:!0},6:{kZCmMZ:`x31w388`,kwRFfy:`x1we12cn`,kLKAdn:`x1adxfkp`,kGO01o:`xjpqqx5`,$$css:!0},8:{kZCmMZ:`x1j3hnjz`,kwRFfy:`x1q91b2g`,kLKAdn:`xoxd1wu`,kGO01o:`x2oz4g1`,$$css:!0},10:{kZCmMZ:`xqp078j`,kwRFfy:`x160ivqr`,kLKAdn:`xk6660b`,kGO01o:`x2izi54`,$$css:!0},\"0.5\":{kZCmMZ:`x138rykx`,kwRFfy:`x1le3yxw`,kLKAdn:`xbx876j`,kGO01o:`xij103a`,$$css:!0},\"1.5\":{kZCmMZ:`xfti1ec`,kwRFfy:`x17hk9do`,kLKAdn:`x1kwdpsa`,kGO01o:`x1opdxmq`,$$css:!0}}})),hM,gM,_M,vM,yM,bM,xM,SM,CM,wM,TM=o((()=>{mM(),qg(),hM={0:`spacing0`,.5:`spacing0_5`,1:`spacing1`,1.5:`spacing1_5`,2:`spacing2`,3:`spacing3`,4:`spacing4`,5:`spacing5`,6:`spacing6`,8:`spacing8`,10:`spacing10`},gM={0:{\"--container-padding-inline-start\":`x1gu2k80`,\"--container-padding-inline-end\":`x91ghl5`,$$css:!0},1:{\"--container-padding-inline-start\":`x1cvlban`,\"--container-padding-inline-end\":`x2oyxnl`,$$css:!0},2:{\"--container-padding-inline-start\":`x1xlrr2o`,\"--container-padding-inline-end\":`xcas3b9`,$$css:!0},3:{\"--container-padding-inline-start\":`xfdwxua`,\"--container-padding-inline-end\":`xu0ipoa`,$$css:!0},4:{\"--container-padding-inline-start\":`x1dlhslv`,\"--container-padding-inline-end\":`xs0pscg`,$$css:!0},5:{\"--container-padding-inline-start\":`x1s81nki`,\"--container-padding-inline-end\":`xgkj7vj`,$$css:!0},6:{\"--container-padding-inline-start\":`x1ep0dkj`,\"--container-padding-inline-end\":`x94cj42`,$$css:!0},8:{\"--container-padding-inline-start\":`xw1diwv`,\"--container-padding-inline-end\":`x1b9k1pi`,$$css:!0},10:{\"--container-padding-inline-start\":`xserb3f`,\"--container-padding-inline-end\":`xx5lg5w`,$$css:!0},\"0.5\":{\"--container-padding-inline-start\":`x14ws0sr`,\"--container-padding-inline-end\":`x1wz3t3y`,$$css:!0},\"1.5\":{\"--container-padding-inline-start\":`x176g23i`,\"--container-padding-inline-end\":`xntetml`,$$css:!0}},_M={0:{\"--container-padding-block-start\":`x1i3qcxz`,$$css:!0},1:{\"--container-padding-block-start\":`xnsckjb`,$$css:!0},2:{\"--container-padding-block-start\":`xa8b4fq`,$$css:!0},3:{\"--container-padding-block-start\":`x11k4f5r`,$$css:!0},4:{\"--container-padding-block-start\":`xm01sq8`,$$css:!0},5:{\"--container-padding-block-start\":`xp8wdkl`,$$css:!0},6:{\"--container-padding-block-start\":`x1hmud4d`,$$css:!0},8:{\"--container-padding-block-start\":`xfv60at`,$$css:!0},10:{\"--container-padding-block-start\":`x17h9kl7`,$$css:!0},\"0.5\":{\"--container-padding-block-start\":`xvdf9ev`,$$css:!0},\"1.5\":{\"--container-padding-block-start\":`x1kbx601`,$$css:!0}},vM={0:{\"--container-padding-block-end\":`xkunwnr`,$$css:!0},1:{\"--container-padding-block-end\":`x57a7ii`,$$css:!0},2:{\"--container-padding-block-end\":`x1lsgcmx`,$$css:!0},3:{\"--container-padding-block-end\":`x1q3ppug`,$$css:!0},4:{\"--container-padding-block-end\":`x4hfsld`,$$css:!0},5:{\"--container-padding-block-end\":`xbib2ws`,$$css:!0},6:{\"--container-padding-block-end\":`x1q8d17g`,$$css:!0},8:{\"--container-padding-block-end\":`x8lgq76`,$$css:!0},10:{\"--container-padding-block-end\":`x15vxphk`,$$css:!0},\"0.5\":{\"--container-padding-block-end\":`x1cao3zv`,$$css:!0},\"1.5\":{\"--container-padding-block-end\":`xv53x8y`,$$css:!0}},yM={0:{\"--layout-padding-own-outer-x\":`xhcsosl`,$$css:!0},1:{\"--layout-padding-own-outer-x\":`x14y473`,$$css:!0},2:{\"--layout-padding-own-outer-x\":`x18c6olm`,$$css:!0},3:{\"--layout-padding-own-outer-x\":`x1cfn5ow`,$$css:!0},4:{\"--layout-padding-own-outer-x\":`xh30wjg`,$$css:!0},5:{\"--layout-padding-own-outer-x\":`xse87af`,$$css:!0},6:{\"--layout-padding-own-outer-x\":`xznoj5s`,$$css:!0},8:{\"--layout-padding-own-outer-x\":`xtjvahm`,$$css:!0},10:{\"--layout-padding-own-outer-x\":`xczqutc`,$$css:!0},\"0.5\":{\"--layout-padding-own-outer-x\":`x1ftjo2o`,$$css:!0},\"1.5\":{\"--layout-padding-own-outer-x\":`x1k4nu17`,$$css:!0}},bM={0:{\"--layout-padding-own-outer-y\":`xe1wva8`,$$css:!0},1:{\"--layout-padding-own-outer-y\":`x1nxw61z`,$$css:!0},2:{\"--layout-padding-own-outer-y\":`xm4vj23`,$$css:!0},3:{\"--layout-padding-own-outer-y\":`x69uvy7`,$$css:!0},4:{\"--layout-padding-own-outer-y\":`x139ridu`,$$css:!0},5:{\"--layout-padding-own-outer-y\":`x1cq2jmq`,$$css:!0},6:{\"--layout-padding-own-outer-y\":`x1ir1f5p`,$$css:!0},8:{\"--layout-padding-own-outer-y\":`xhbsdkj`,$$css:!0},10:{\"--layout-padding-own-outer-y\":`xaqnhag`,$$css:!0},\"0.5\":{\"--layout-padding-own-outer-y\":`x1b6unwa`,$$css:!0},\"1.5\":{\"--layout-padding-own-outer-y\":`x1g16mdy`,$$css:!0}},xM={0:{kZCmMZ:`x18gyask`,$$css:!0},1:{kZCmMZ:`x1vsv5vr`,$$css:!0},2:{kZCmMZ:`x12gdq22`,$$css:!0},3:{kZCmMZ:`x126nfab`,$$css:!0},4:{kZCmMZ:`x1rey3nv`,$$css:!0},5:{kZCmMZ:`x1blguxw`,$$css:!0},6:{kZCmMZ:`x31w388`,$$css:!0},8:{kZCmMZ:`x1j3hnjz`,$$css:!0},10:{kZCmMZ:`xqp078j`,$$css:!0},\"0.5\":{kZCmMZ:`x138rykx`,$$css:!0},\"1.5\":{kZCmMZ:`xfti1ec`,$$css:!0}},SM={0:{kwRFfy:`x1s0aq8i`,$$css:!0},1:{kwRFfy:`x1nryj5t`,$$css:!0},2:{kwRFfy:`x1djylfy`,$$css:!0},3:{kwRFfy:`x1t818jl`,$$css:!0},4:{kwRFfy:`xnjyzlh`,$$css:!0},5:{kwRFfy:`xdbrk9v`,$$css:!0},6:{kwRFfy:`x1we12cn`,$$css:!0},8:{kwRFfy:`x1q91b2g`,$$css:!0},10:{kwRFfy:`x160ivqr`,$$css:!0},\"0.5\":{kwRFfy:`x1le3yxw`,$$css:!0},\"1.5\":{kwRFfy:`x17hk9do`,$$css:!0}},CM={0:{kLKAdn:`x1ydh6w3`,$$css:!0},1:{kLKAdn:`xfsso4q`,$$css:!0},2:{kLKAdn:`x1xye8es`,$$css:!0},3:{kLKAdn:`x1vlblms`,$$css:!0},4:{kLKAdn:`x1oa1p4a`,$$css:!0},5:{kLKAdn:`xx7rijo`,$$css:!0},6:{kLKAdn:`x1adxfkp`,$$css:!0},8:{kLKAdn:`xoxd1wu`,$$css:!0},10:{kLKAdn:`xk6660b`,$$css:!0},\"0.5\":{kLKAdn:`xbx876j`,$$css:!0},\"1.5\":{kLKAdn:`x1kwdpsa`,$$css:!0}},wM={0:{kGO01o:`x1l20ajd`,$$css:!0},1:{kGO01o:`xy143xn`,$$css:!0},2:{kGO01o:`x1wesfrj`,$$css:!0},3:{kGO01o:`xvmdzux`,$$css:!0},4:{kGO01o:`x1awphl8`,$$css:!0},5:{kGO01o:`x1hk98q`,$$css:!0},6:{kGO01o:`xjpqqx5`,$$css:!0},8:{kGO01o:`x2oz4g1`,$$css:!0},10:{kGO01o:`x2izi54`,$$css:!0},\"0.5\":{kGO01o:`xij103a`,$$css:!0},\"1.5\":{kGO01o:`x1opdxmq`,$$css:!0}}}));function EM(...e){return t=>{for(let n of e)n?.(t)}}var DM=o((()=>{}));ys();var OM=_s(`DialogContext`,1,null);OM.displayName=`DialogContext`;var kM,AM=o((()=>{Xf(),kM=Uf(`LayoutContainerContext`,1,null),kM.displayName=`LayoutContainerContext`}));function jM(e){return Mb(e)&&!e.inert&&e.getAttribute(`aria-hidden`)!==`true`}function MM(e){for(let t=e;t!=null;t=t.parent){let e=t.dialogRef.current;if(Mb(e))return e}return null}function NM(e){let t=BM.indexOf(e);t!==-1&&BM.splice(t,1),e.open&&BM.push(e)}function PM(e){let t=BM.indexOf(e);t!==-1&&BM.splice(t,1)}function nne(){for(let e=BM.length-1;e>=0;--e)if(jM(BM[e]))return BM[e];return null}function rne(e){for(let t=BM.length-1;t>=0;--t){let n=BM[t];if(n!==e&&jM(n))return n;if(Mb(n))return`covered`}let t=null;for(let n of document.querySelectorAll(`dialog`))n!==e&&!BM.includes(n)&&jM(n)&&(t=n);return t}function ine(){for(let e of document.querySelectorAll(`dialog`))if(Mb(e))return!0;return!1}function ane(e,t,n,r){let i=VM.get(e);i??(i={polite:[],assertive:[]},VM.set(e,i));let a=i[n].find(e=>e.text===t);a??(a={text:t,receipts:[]},i[n].push(a)),a.receipts.push(r);let o=a;r.withdraw=()=>one(e,n,o,r)}function one(e,t,n,r){let i=VM.get(e),a=n.receipts.indexOf(r);i==null||!i[t].includes(n)||a<0||(n.receipts.splice(a,1),n.receipts.length===0&&(i[t]=i[t].filter(e=>e!==n),i.polite.length===0&&i.assertive.length===0&&VM.delete(e)))}function sne(e,t){let n=VM.get(e);n!=null&&(n[t]=[],n.polite.length===0&&n.assertive.length===0&&VM.delete(e))}function cne(e){let t=VM.get(e);if(t!=null){VM.delete(e);for(let n of[`polite`,`assertive`])Sb(t[n],t=>jM(e)?zM(e,t,n):IM(e,t,n))}}function FM(){for(let e of[...VM.keys()])cne(e)}function IM(e,t,n){let r=rne(e);if(r===`covered`||r==null&&ine()){let r={withdraw:null};return ane(e,t,n,r),xb(r)}return r==null?Ob(t,n):zM(r,t,n)}function LM(e){for(let t of[`polite`,`assertive`])Sb(lne(e,t),n=>IM(e,n,t))}function RM(e,t){Ub(e,t),sne(e,t)}function lne(e,t){let n=zb(e,t);if(n==null)return[];let r=Rb(n);return Ub(e,t),r}function zM(e,t,n=`polite`){if(!jM(e))return IM(e,t,n);let r=nne();return r!=null&&r!==e&&BM.includes(e)?(Ub(e,n),null):Vb(e,t,n,{isExposed:()=>jM(e),redirect:t=>Sb(t,t=>IM(e,t,n))})}function une(e,t,n){let r=HM.get(e);if(r==null){let t={frame:requestAnimationFrame(()=>{HM.delete(e);let n=MM(e);for(let e of[`polite`,`assertive`])t.clears[e]&&(n==null?kb(e):RM(n,e)),Sb(t.words[e],t=>n==null?Ob(t,e):zM(n,t,e))}),words:{polite:[],assertive:[]},clears:{polite:!1,assertive:!1}};r=t,HM.set(e,r)}let i=r;if(!t){for(let e of i.words[n])for(let t of e.receipts)t.withdraw=null;return i.words[n]=[],i.clears[n]=!0,null}let a=i.words[n].find(e=>e.text===t);a??(a={text:t,receipts:[]},i.words[n].push(a));let o=a,s={withdraw:null};return s.withdraw=()=>{let e=o.receipts.indexOf(s);e<0||(o.receipts.splice(e,1),o.receipts.length===0&&(i.words[n]=i.words[n].filter(e=>e!==o)))},o.receipts.push(s),xb(s)}function dne(e){for(let t=e;t!=null;t=t.parent){let e=t.dialogRef.current;if(Mb(e))return!1;if(t.isOpen&&(e==null||!e.open))return!0}return!1}function fne(e,t,n){if(dne(e))return une(e,t,n);let r=MM(e);return t?r==null?Ob(t,n):zM(r,t,n):(r==null?kb(n):RM(r,n),null)}var BM,VM,HM,pne=o((()=>{ex(),Xn(),BM=Kn(`hooks/modal-announce/presented`,1,()=>[]),VM=qn(`hooks/modal-announce/held`,1),HM=Jn(`hooks/modal-announce/deferred-by-scope`,1),jb({announce:fne,announceInModal:zM})}));function UM({dialogRef:e,isOpen:t,children:n}){let r=(0,WM.use)(Qb),i=(0,WM.useMemo)(()=>({dialogRef:e,isOpen:!1,parent:r}),[e,r]);b(()=>{i.isOpen=t},[i,t]);let a=(0,WM.useRef)(null);return(0,WM.useEffect)(()=>{let n=e.current;if(n==null||a.current!=null||!t&&!n.open)return;NM(n);let r=n.open,i=()=>{o(),PM(n),a.current=null},o=()=>s(),s=Xg(n,{attributes:!0,attributeFilter:[`open`,`inert`,`aria-hidden`]},()=>{n.open!==r&&(r=n.open,NM(n)),jM(n)||LM(n),(!n.open||jM(n))&&FM(),n.open||i()});a.current={dialog:n,stop:o}},[e,t]),(0,WM.useEffect)(()=>()=>{let e=a.current;e!=null&&(a.current=null,e.stop(),LM(e.dialog),PM(e.dialog),FM())},[]),(0,GM.jsx)(Qb,{value:i,children:n})}var WM,GM,KM=o((()=>{WM=u(f(),1),pne(),ex(),x(),t_(),GM=mc()}));ox(),_k(),D(),Qk(),Up(),Gp(),Xf(),op(),Tx(),Ux(),Lj(),lA(),G(),dM(),TM(),bC(),DM(),sc(),vr(),AM(),oS(),Hf(),bj(),KM(),od(),vx();function mne(e,t=16){let n=e.getBoundingClientRect(),r=e.ownerDocument.defaultView??window,i=n.left+n.width/2-r.innerWidth/2,a=n.top+n.height/2-r.innerHeight/2,o=Math.sqrt(i*i+a*a)||1;return{x:Math.round(i/o*t),y:Math.round(a/o*t)}}`${j[`--spacing-4`]}`,`${j[`--spacing-4`]}`,`${j[`--spacing-4`]}`,`${j[`--spacing-4`]}`,`${j[`--spacing-4`]}`,`${j[`--spacing-4`]}`;var qM={dialog:{kVAEAm:`xixxii4`,kogj98:`x1bpp3o7`,kmVPX3:`x1717udv`,kMzoRj:`xc342km x13rsnn2`,ksu8eU:`xng3xce xx61lck`,kVAM5u:`x1w1tqly`,kWkggS:`x10xzikg`,kMwMTN:`x1tgivj0`,\"--_dialog-radius\":`xvuvksw`,\"--_dialog-radius-top-left\":`x1y3jq2x`,\"--_dialog-radius-top-right\":`xlpx7ml`,\"--_dialog-radius-bottom-right\":`x4ydc98`,\"--_dialog-radius-bottom-left\":`xv2r9mv`,\"--_dialog-radius-start-start\":`xos9d3l`,\"--_dialog-radius-start-end\":`x19o6w7e`,\"--_dialog-radius-end-start\":`xr78w03`,\"--_dialog-radius-end-end\":`x1e9su33`,kaIpWk:`xuacgfc`,kGVxlE:`x1kcpxr7`,k1xSpc:`x1s85apg`,kXwgrk:`xdt5ytf`,kZKoxP:`xg7h5cd`,kZeWKH:`xish69e`,kSiTet:`xg01cxk`,k44tkh:`xqgcaz x1jq6yc9`,kyAemX:`x128ha8g xr5m3f0`,kWV6AL:`xskzprw`,$$css:!0},open:{k1xSpc:`x78zum5`,kSiTet:`x1hc1fzr`,kKVMdj:`x1ewfqum x6mpr79 xtuz6mp`,$$css:!0},openSettled:{kKVMdj:`x1a5igra`,$$css:!0},backdrop:{kGyWv1:`xnixb3f`,$$css:!0},fullscreen:{kzqmXN:`x1o6l61p`,kZKoxP:`xtdtrs8`,ks0D6T:`xlbgzzq`,kskxy:`x1wj9ous`,\"--_dialog-radius\":`x1fg9z59`,kaIpWk:`x2u8bby`,kMzoRj:`xc342km`,kogj98:`x1ghz6dp`,kpwlN0:`x10a8y8t`,$$css:!0},fullscreenOpen:{kKVMdj:`xqcmdr3 x6mpr79 xtuz6mp`,$$css:!0},fullscreenSafeArea:{kLKAdn:`x15ld1ci`,kGO01o:`x1rgxemn`,kZCmMZ:`xqmdmw x1i7f2ot`,kwRFfy:`x1by8st6 xtjjor6`,$$css:!0},inner:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kUk6DE:`x12lumcd`,kAzted:`x2lwn1j`,kVQacm:`xb3r6kr`,kaIpWk:`x1pjcqnp`,$$css:!0},innerCorners:{\"--_container-host-radius\":`x16uw05s`,\"--_container-host-radius-top-left\":`xf2u9b1`,\"--_container-host-radius-top-right\":`xochy8w`,\"--_container-host-radius-bottom-right\":`xzxjxqs`,\"--_container-host-radius-bottom-left\":`x1cr5oa`,\"--_container-host-radius-start-start\":`xmj80jq`,\"--_container-host-radius-start-end\":`x1fxna2m`,\"--_container-host-radius-end-start\":`x1o7ryb1`,\"--_container-host-radius-end-end\":`x1sgv71z`,$$css:!0},inlineWrapper:{kmVPX3:`x1717udv`,kWkggS:`x10xzikg`,\"--_dialog-radius\":`xvuvksw`,\"--_dialog-radius-top-left\":`x1y3jq2x`,\"--_dialog-radius-top-right\":`xlpx7ml`,\"--_dialog-radius-bottom-right\":`x4ydc98`,\"--_dialog-radius-bottom-left\":`xv2r9mv`,\"--_dialog-radius-start-start\":`xos9d3l`,\"--_dialog-radius-start-end\":`x19o6w7e`,\"--_dialog-radius-end-start\":`xr78w03`,\"--_dialog-radius-end-end\":`x1e9su33`,kaIpWk:`xuacgfc`,kGVxlE:`x1kcpxr7`,kMzoRj:`xc342km x13rsnn2`,ksu8eU:`xng3xce xx61lck`,kVAM5u:`x1w1tqly`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kZKoxP:`xg7h5cd`,kZeWKH:`xish69e`,$$css:!0}},JM=j[`--spacing-4`],hne=`min(100%, ${`calc(100dvw - ${JM} - ${JM})`})`;function YM(e){return typeof e==`number`?`${e}px`:e}function gne(e,t){return{width:YM(e),maxWidth:hne,maxHeight:YM(t)}}var _ne={kogj98:`x1ghz6dp`,$$css:!0},XM={sizing:(e,t,n)=>[{kzqmXN:e==null?e:`x5lhr3w`,ks0D6T:t==null?t:`xf68679`,kskxy:n==null?n:`x1jols5v`,$$css:!0},{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(e),\"--x-maxWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(t),\"--x-maxHeight\":(e=>typeof e==`number`?e+`px`:e??void 0)(n)}],position:(e,t,n,r)=>[_ne,{k87sOh:e==null?e:`xjbys53`,kLqNvP:t==null?t:`x1lxsm33`,kt4wiu:n==null?n:`xqxgn94`,krVfgx:r==null?r:`x1nqzi6q`,$$css:!0},{\"--x-top\":(e=>typeof e==`number`?e+`px`:e??void 0)(e),\"--x-insetInlineStart\":(e=>typeof e==`number`?e+`px`:e??void 0)(t),\"--x-insetInlineEnd\":(e=>typeof e==`number`?e+`px`:e??void 0)(n),\"--x-bottom\":(e=>typeof e==`number`?e+`px`:e??void 0)(r)}]};function ZM(e){return typeof e==`number`?`${e}px`:e}function vne(e){let{top:t,bottom:n,start:r,end:i}=e;return{top:t===void 0?`auto`:ZM(t),bottom:n===void 0?`auto`:ZM(n),insetInlineStart:r===void 0?`auto`:ZM(r),insetInlineEnd:i===void 0?`auto`:ZM(i)}}function QM({isOpen:e,isInline:t=!1,onOpenChange:n,width:r=400,maxHeight:i=`75dvh`,position:a,variant:o=`standard`,purpose:s=`info`,padding:c,children:l,xstyle:u,className:d,style:f,ref:p,...m}){let h=tx(),g=e&&(t||!h),[_]=hk(e&&!t,g,!1),v=_&&g,y=c==null,b=c??4,x=hM[b],S=o===`fullscreen`,w=S?null:gne(r,i),T=(0,X.useId)(),E=m[`aria-label`]!=null||m[`aria-labelledby`]!=null,D=(0,X.useRef)(null);Mj(D,g&&!t);let O=(0,X.useCallback)(e=>{D.current=e,e&&!E&&(e.querySelector(`#${CSS.escape(T)}`)==null?e.removeAttribute(`aria-labelledby`):e.setAttribute(`aria-labelledby`,T))},[T,E]),k=(0,X.useCallback)(e=>{let t=D.current;t==null||E||(e===void 0?O(t):e?t.setAttribute(`aria-labelledby`,T):t.getAttribute(`aria-labelledby`)===T&&t.removeAttribute(`aria-labelledby`))},[O,E,T]),A=(0,X.useMemo)(()=>({isInline:t,titleId:T,syncDefaultName:k}),[t,T,k]),{ref:j}=Ff(),M=gx(p,O,j),N=(0,X.useRef)(null),P=(0,X.useRef)(null),F=(0,X.useRef)(!1);(0,X.useLayoutEffect)(()=>{let e=!t&&g;if(e&&!F.current){let e=D.current?.ownerDocument??document,t=e.hasFocus()?e:document;N.current=t.activeElement,P.current!=null&&hj(P.current);let n=N.current;P.current=QA({getLayer:()=>D.current,opener:td(n)?n:null,doc:t,isFocusMovedInOnOpen:!0,focus:e=>WA(e,{preventScroll:!0})})}F.current=e},[g,t]);let I=s!==`required`,L=s===`info`;(0,X.useEffect)(()=>{if(t)return;let e=D.current;if(e){if(g){let t=N.current;if(t&&t!==t.ownerDocument.body){let n=mne(t);e.style.setProperty(`--dialog-dir-x`,`${n.x}px`),e.style.setProperty(`--dialog-dir-y`,`${n.y}px`)}else e.style.setProperty(`--dialog-dir-x`,`0px`),e.style.setProperty(`--dialog-dir-y`,`16px`);if(!e.open){e.showModal();let t=[...e.querySelectorAll(`[data-autofocus]:not([data-autofocus=\"dialog-title\"])`),...e.querySelectorAll(`[data-autofocus=\"dialog-title\"]`)];for(let n of t){if(n.closest(`dialog`)!==e)continue;let t=n.closest(`[hidden], [inert], [aria-hidden=\"true\"]`);if(!(t!=null&&e.contains(t))&&(GA(n),n.ownerDocument.activeElement===n))break}}return jA(e)??void 0}{let t=P.current;P.current=null;let n=t!=null&&fj(t);e.open&&e.close(),t!=null&&(pj(t,{wasStranded:n}),hj(t)),N.current=null}}},[g,t]),(0,X.useEffect)(()=>{let e=D.current;if(t||e==null)return;let n=qA(e);return()=>{let t=P.current;t!=null&&(n(()=>{pj(t,{warnsWhenNothingQualifies:!1})}),queueMicrotask(()=>{e.isConnected||hj(t)}))}},[t]);let R=oA(D,g&&!t);Yk(g&&!t);let{shouldDismissOnCloseRequest:z}=Bx({isActive:g,isEnabled:!t,escapeBehavior:I?`close`:`block`,onDismiss:()=>{n(!1)},getContainer:()=>D.current}),[B]=(0,X.useState)(ac);(0,X.useEffect)(()=>{let e=D.current?.querySelector(`#${CSS.escape(T)}`)!=null;g&&!t&&!E&&!e&&B(`Dialog`,\"open dialog has no accessible name. Add a DialogHeader with a `title`, or pass `aria-label`/`aria-labelledby`.\")},[g,t,E,T,B]);let V=IA((0,X.useCallback)(()=>{n(!1)},[n]),L),H=e=>{e.target===e.currentTarget&&(e.preventDefault(),z()&&I&&n(!1))},ee=(0,Z.jsx)(`div`,{ref:R,...C(qM.inner,...Bj(y?{useThemeDefault:`dialog`,maxHeight:w?.maxHeight}:{paddingInnerX:x,paddingInnerY:x,paddingOuterX:x,paddingOuterY:x,maxHeight:w?.maxHeight}),!y&&b!==4&&pM[b],!y&&b!==4&&gM[b],!y&&b!==4&&_M[b],!y&&b!==4&&vM[b],S&&y&&qM.fullscreenSafeArea,qM.innerCorners,fM.fromHostRadius,fM.publish),children:(0,Z.jsx)(OM,{value:A,children:(0,Z.jsx)(kM,{value:`dialog`,children:l})})}),U=a!=null&&!S,{onClick:te,...W}=m,{open:G,...ne}=W,re={...ne,onClick:te};return t?g?(0,Z.jsx)(`div`,{...re,...Q(Y(`dialog`,{variant:o}),C(Hp.reset,Wp.reset,qM.inlineWrapper,Kg.reset,w&&XM.sizing(w.width,w.maxWidth,w.maxHeight),S&&qM.fullscreen,u),d,f),\"data-testid\":m[`data-testid`],children:(0,Z.jsx)(xx,{children:(0,Z.jsx)(Wf,{children:ee})})}):null:(0,Z.jsx)(`dialog`,{ref:M,...ne,...Q(Y(`dialog`,{variant:o}),aS.focusVisible(Hp.reset,Wp.reset,qM.dialog,Kg.reset,g&&qM.open,qM.backdrop,w&&XM.sizing(w.width,w.maxWidth,w.maxHeight),U&&(()=>{let e=vne(a);return XM.position(e.top,e.insetInlineStart,e.insetInlineEnd,e.bottom)})(),S&&qM.fullscreen,S&&g&&qM.fullscreenOpen,v&&qM.openSettled,u),d,f),...rp({...ne,onClick:EM(V.onClick,te)}),onPointerDownCapture:EM(V.onPointerDownCapture,ne.onPointerDownCapture),onPointerUpCapture:EM(V.onPointerUpCapture,ne.onPointerUpCapture),onPointerCancelCapture:EM(V.onPointerCancelCapture,ne.onPointerCancelCapture),onCancel:H,\"aria-modal\":h?void 0:`true`,...s===`required`?{role:`alertdialog`}:void 0,children:(0,Z.jsx)(UM,{dialogRef:D,isOpen:g,children:(0,Z.jsx)(xx,{children:(0,Z.jsx)(Wf,{children:ee})})})})}QM.displayName=`Dialog`;var yne={xo0ftvq:`xo0ftvq`,$$css:!0};Xf();var $M=Uf(`LayoutDividerContext`,1,null);$M.displayName=`LayoutDividerContext`,D(),AM(),bC(),vr(),TM(),zj();var eN={header:{kmuXW:`x2lah0s`,$$css:!0},inner:{kB7OPa:`x9f619`,ks0D6T:`xjl2t3p`,kUOVxO:`xvueqy4`,kZCmMZ:`xaku5ci`,kwRFfy:`x19eyx77`,kLKAdn:`xuqi0w`,kGO01o:`xg476vw`,\"--container-padding-inline-start\":`xt2a87w`,\"--container-padding-inline-end\":`xhq06x6`,\"--container-padding-block-start\":`x186o6qk`,\"--container-padding-block-end\":`xi9ns85`,$$css:!0},fullBleed:{kZCmMZ:`x1c1uobl`,kwRFfy:`xyri2b`,kLKAdn:`xexx8yu`,kGO01o:`x18d9i69`,\"--container-padding-inline-start\":`xrhngw9`,\"--container-padding-inline-end\":`xjsfl84`,\"--container-padding-block-start\":`x1047aw6`,\"--container-padding-block-end\":`xax9j7h`,$$css:!0},divider:{kt9PQ7:`xso031l`,kfdmCh:`x1q0q8m5`,kL6WhQ:`xw8gpjh`,$$css:!0}},bne={sizing:e=>[{kZKoxP:e==null?e:`x16ye13r`,$$css:!0},{\"--x-height\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]};function tN({children:e,hasDivider:t,height:n,label:r,padding:i,paddingBlockEnd:a,role:o,xstyle:s,className:c,style:l,ref:u,...d}){let f=(0,X.use)($M),p=(0,X.use)(kM),m=t??f?.defaultHasDividers??!1,h=i===0;return(0,Z.jsx)(`div`,{ref:u,role:o,\"aria-label\":r,...Q(Y(`layout-header`,{container:p}),C(yne,eN.header,bne.sizing(n??null),m&&eN.divider,s),c,l),...d,\"data-divider\":m||void 0,children:(0,Z.jsx)(`div`,{...C(eN.inner,h&&eN.fullBleed,i!=null&&pM[i],i!=null&&gM[i],i!=null&&_M[i],i!=null&&vM[i],a!=null&&wM[a],a!=null&&vM[a],Rj.publish),children:e})})}tN.displayName=`LayoutHeader`;var nN,xne=o((()=>{nN={\"@astryx.infoTip.label\":`More information`}}));function rN({content:e,label:t,size:n=`sm`,ref:r,xstyle:i,className:a,style:o,...s}){let c=nT(),l=KD(!0),[u,d]=(0,iN.useState)(!1),[f,p]=(0,iN.useState)(!1),m=Gx({onShow:(0,iN.useCallback)(()=>p(!0),[]),onHide:(0,iN.useCallback)(()=>{p(!1),d(!1)},[])}),h=gx(r,l,m.ref),g=(0,iN.useCallback)(e=>{e.button===0&&e.pointerType!==`touch`&&!u&&f&&m.show()},[u,f,m]),_=(0,iN.useCallback)(e=>{np(e),e.preventDefault(),u?m.hide():(m.show(),d(!0))},[u,m]);return(0,aN.jsxs)(aN.Fragment,{children:[(0,aN.jsx)(`button`,{...hr(s),ref:h,type:`button`,\"aria-label\":t??c(`@astryx.infoTip.label`),\"aria-describedby\":m.describedBy,\"aria-expanded\":u,\"aria-controls\":f?m.describedBy:void 0,onPointerDownCapture:g,onClick:_,...Q(C(iS.focusVisible,oN.trigger,$D.layer,i),a,o),children:(0,aN.jsx)(XT,{icon:`info`,size:n})}),m.renderTooltip(e)]})}var iN,aN,oN,Sne=o((()=>{iN=u(f(),1),D(),vx(),sE(),op(),Xx(),iT(),xne(),oS(),bC(),XD(),eO(),vr(),aN=mc(),Ww(nN),oN={trigger:{kVAEAm:`x1n2onr6`,k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kXLuUW:`xxymvpz`,kmVPX3:`x12nba7r`,kogj98:`x1ghz6dp`,ksu8eU:`xng3xce`,kWkggS:`xjbqb8w`,kaIpWk:`xjspbzw`,kkrTdU:`x1ypdohk x16khyan`,kMwMTN:`xv9yike x10ue8fs`,k1ekBW:`xt3l3uh`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,$$css:!0}},rN.displayName=`InfoTip`}));function Cne(e){if(e.getAttribute(`role`)===`combobox`)return!0;let t=e.getAttribute(`aria-haspopup`);return t!=null&&uN.has(t)}function sN({containerRef:e,inputRef:t,disabled:n=!1}){return nb({containerRef:e,interactiveRef:t,onClick:(0,cN.useCallback)(()=>{let e=t.current;e!=null&&(e instanceof HTMLElement&&Cne(e)?e.click():e instanceof HTMLInputElement&&lN.has(e.type)||e instanceof HTMLTextAreaElement?e.focus():e instanceof HTMLElement?e.click():`focus`in e&&e.focus())},[t]),disabled:n})}var cN,lN,uN,dN=o((()=>{cN=u(f(),1),cb(),lN=new Set([`text`,`password`,`email`,`number`,`search`,`tel`,`url`,`date`,`datetime-local`,`month`,`time`,`week`]),uN=new Set([`true`,`menu`,`listbox`,`tree`,`grid`,`dialog`])})),fN,pN=o((()=>{Xf(),fN=Uf(`FormLayoutContext`,1,{direction:`vertical`}),fN.displayName=`FormLayoutContext`}));function mN({isRequired:e=!1,isOptional:t=!1}){let{defaultOptionality:n}=(0,hN.use)(fN),r=t&&n!==`optional`;return{isRequired:!t&&(e||n===`required`),showsRequiredMarker:!r&&e&&n!==`required`,showsOptionalMarker:r}}function wne({isRequired:e=!1,isOptional:t=!1}){return mN({isRequired:e,isOptional:t}).isRequired}var hN,gN=o((()=>{hN=u(f(),1),pN()})),_N,Tne=o((()=>{_N={\"@astryx.field.labelTooltip\":`About {label}`,\"@astryx.field.optional\":`Optional`,\"@astryx.field.required\":`Required`}}));function vN({label:e,inputID:t,labelID:n,isGroupLabel:r=!1,isLabelHidden:i=!1,isDisabled:a=!1,isOptional:o=!1,isRequired:s=!1,labelIcon:c,labelTooltip:l,description:u,descriptionID:d,className:f,style:p,xstyle:m,ref:h,...g}){let _=nT(),{showsRequiredMarker:v,showsOptionalMarker:y}=mN({isRequired:s,isOptional:o}),b=y?_(`@astryx.field.optional`):v?_(`@astryx.field.required`):null,x=r?`span`:`label`,S=!r&&t!=null,w=(0,yN.useRef)(null),T=sN({containerRef:w,inputRef:(0,yN.useMemo)(()=>({get current(){return t==null?null:w.current?.ownerDocument.getElementById(t)??null},set current(e){}}),[t]),disabled:!S}),E=(0,bN.jsxs)(bN.Fragment,{children:[c&&eE(c,{size:`sm`,color:`inherit`}),e,b&&(0,bN.jsxs)(`span`,{className:`x1sodnla x141an7d x1ltkj2j xv1l7n4`,children:[(0,bN.jsx)(`span`,{\"aria-hidden\":`true`,children:` ∙ `}),b]})]}),D=(0,bN.jsx)(x,{ref:h,id:n,htmlFor:r?void 0:t,...g,...Q(Y(`field-label`),C(xN.label,a&&xN.labelDisabled,i&&xN.srOnly,m),f,p),children:E}),O=l?(0,bN.jsxs)(`span`,{...{0:{className:`x3nfvp2 x6s0dn4 x16dsc37 xzye2dw`},1:{className:`x6s0dn4 x16dsc37 xzye2dw xjp7ctv`}}[!!i|0],children:[D,(0,bN.jsx)(rN,{content:l,label:_(`@astryx.field.labelTooltip`,{label:e}),xstyle:i?xN.infoTipHidden:void 0})]}):D;return u?(0,bN.jsxs)(`div`,{...{0:{className:`x78zum5 xdt5ytf`},1:{className:`xdt5ytf xjp7ctv`}}[!!i|0],children:[O,(0,bN.jsx)(`span`,{ref:S?w:void 0,id:d,...S?T:void 0,...{0:{className:`x9ynric x141an7d x1ltkj2j x1sodnla xv1l7n4`},2:{className:`x9ynric x141an7d x1ltkj2j x1sodnla xv1l7n4 x1ypdohk x16khyan`},1:{className:`x9ynric x141an7d x1ltkj2j x1sodnla xv1l7n4 xng3xce xzpqnlu xjm9jq1 x1o0tod xkdpibf xb3r6kr x1717udv x47corl x10l6tqk x13vifvy x87ps6o xuxw1ft x1i1rx1s`},3:{className:`x9ynric x141an7d x1ltkj2j x1sodnla xv1l7n4 x1ypdohk x16khyan xng3xce xzpqnlu xjm9jq1 x1o0tod xkdpibf xb3r6kr x1717udv x47corl x10l6tqk x13vifvy x87ps6o xuxw1ft x1i1rx1s`}}[!!S<<1|!!i],children:u})]}):O}var yN,bN,xN,SN=o((()=>{yN=u(f(),1),D(),bC(),sE(),Sne(),vr(),dN(),gN(),iT(),Tne(),bN=mc(),Ww(_N),xN={label:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kOIVth:`xzye2dw`,kMv6JI:`x9ynric`,kGuDYH:`xcr08ib`,kLWn49:`x1kq96og`,k63SB2:`x2mo6ok`,kMwMTN:`x1tgivj0`,kkrTdU:`x1ypdohk x16khyan`,$$css:!0},labelDisabled:{kMwMTN:`xnbbluu`,kkrTdU:`xt0e3qv`,$$css:!0},infoTipHidden:{kVAEAm:`x10l6tqk xs5wpqw`,kSGwAc:`xqcrz7y`,kMcinP:`xzpqnlu xfnbp2s`,kVQacm:`xb3r6kr xrta9n2`,khDVqt:`xuxw1ft`,$$css:!0},srOnly:{ksu8eU:`xng3xce`,kMcinP:`xzpqnlu`,kZKoxP:`xjm9jq1`,kLqNvP:`x1o0tod`,kogj98:`xkdpibf`,kVQacm:`xb3r6kr`,kmVPX3:`x1717udv`,kfzvcC:`x47corl`,kVAEAm:`x10l6tqk`,k87sOh:`x13vifvy`,kfSwDN:`x87ps6o`,khDVqt:`xuxw1ft`,kzqmXN:`x1i1rx1s`,$$css:!0}},vN.displayName=`FieldLabel`}));function Ene(e=`slideDown`){let t=tx(),[n]=(0,CN.useState)(()=>!t&&wN);return n?TN[e]:null}var CN,wN,TN,Dne=o((()=>{CN=u(f(),1),ox(),wN=!1,typeof window<`u`&&requestAnimationFrame(()=>{wN=!0}),TN={slideDown:{kKVMdj:`x1srr2gu x1aquc0h`,k44tkh:`x9uej1z`,kyAemX:`x128ha8g`,kWV6AL:`xskzprw`,$$css:!0},slideUp:{kKVMdj:`x1dvww92 x1aquc0h`,k44tkh:`x9uej1z`,kyAemX:`x128ha8g`,kWV6AL:`xskzprw`,$$css:!0},fadeIn:{kKVMdj:`xqcmdr3 x1aquc0h`,k44tkh:`x9uej1z`,kyAemX:`x128ha8g`,kWV6AL:`xskzprw`,$$css:!0},scaleIn:{kKVMdj:`x97zbip x1aquc0h`,k44tkh:`x9uej1z`,kyAemX:`x128ha8g`,kWV6AL:`xskzprw`,$$css:!0}}}));function EN(e,t){let n=Ab();(0,DN.useEffect)(()=>{e&&n(e,t===`error`?`assertive`:`polite`)},[n,e,t])}var DN,ON=o((()=>{DN=u(f(),1),ex()}));function kN({ref:e,type:t,message:n,id:r,variant:i=`attached`,xstyle:a,className:o,style:s,...c}){let l=Ene(`slideDown`);return EN(n,t),(0,AN.jsx)(`div`,{ref:e,id:r,...c,...Q(Y(`field-status`,{type:t,variant:i}),C(MN.base,l,i===`attached`?MN.attached:MN.detached,NN[t],a),o,s),children:i===`detached`?(0,AN.jsxs)(`span`,{className:`x78zum5 x1cy8zhl xzye2dw`,children:[(0,AN.jsx)(`span`,{className:`x3nfvp2 x6s0dn4 x14o5nre x2lah0s`,children:(0,AN.jsx)(XT,{icon:jN[t],size:`sm`,color:`inherit`,...Y(`field-status-icon`,{type:t})})}),(0,AN.jsx)(`span`,{children:n})]}):n})}var AN,jN,MN,NN,PN=o((()=>{f(),D(),bC(),G(),Dne(),vr(),sE(),ON(),AN=mc(),jN={warning:`warning`,error:`error`,success:`success`},`${j[`--spacing-1-5`]}`,MN={base:{kMeerF:`xcthrzx`,k3XXqK:`x815t2r`,kjBf7l:`x3teovq`,kInvED:`xvr1dqx`,kMv6JI:`x9ynric`,kGuDYH:`x141an7d`,kLWn49:`x1ltkj2j`,kHjlTd:`xj0a0fe`,\"--_astryx-text-overflow-wrap\":`x5ujdhh`,$$css:!0},attached:{keoZOQ:`x3dbumh`,kLKAdn:`xdgtoc0`,kGO01o:`x1wesfrj`,kg3NbH:`xf314gf`,kVL7Gh:`xquck67`,kT0f0o:`x14i3lts`,kfzvcC:`x47corl`,$$css:!0},detached:{keoZOQ:`xcsaf9d`,k8WAf4:`xce4md1`,kg3NbH:`xf314gf`,kaIpWk:`xh6dtrn`,$$css:!0}},NN={warning:{kWkggS:`x24i8r5`,kMwMTN:`xfy1f8t`,$$css:!0},error:{kWkggS:`x1pritpl`,kMwMTN:`xl8t7bd`,$$css:!0},success:{kWkggS:`xu13z74`,kMwMTN:`xvchut`,$$css:!0}},kN.displayName=`FieldStatus`}));D(),SN(),PN(),ON(),bC(),MC(),pN(),DC(),uE(),vr();var FN={container:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kHBbk8:`xc8icb0`,k7Eaqz:`xeuugli`,$$css:!0},containerGap:{kOIVth:`xzye2dw`,$$css:!0},horizontalLabels:{k1xSpc:`xjp7ctv`,$$css:!0},attachedStatusLayer:{kVAEAm:`x1n2onr6`,kY2c9j:`x8knxv4`,$$css:!0}},IN={width:e=>[{kzqmXN:e==null?e:`x5lhr3w`,$$css:!0},{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]};function LN({label:e,isLabelHidden:t=!1,description:n,inputID:r,labelID:i,isGroupLabel:a=!1,descriptionID:o,isOptional:s=!1,isRequired:c=!1,isDisabled:l=!1,labelIcon:u,status:d,labelTooltip:f,statusVariant:p=`attached`,width:m,xstyle:h,children:g,className:_,style:v,ref:y,...b}){let{direction:x}=(0,X.use)(fN),S=x===`horizontal-labels`,w=o??(n?`${r}-desc`:void 0),T=d?.messageID??(d?.message?`${r}-status`:void 0);OC(`Field`,`isOptional and isRequired are mutually exclusive. isOptional takes precedence.`,s&&c);let E=(0,Z.jsx)(vN,{label:e,inputID:r,labelID:i,isGroupLabel:a,isLabelHidden:t,isDisabled:l,isOptional:s,isRequired:c,labelIcon:u,labelTooltip:f,description:S?void 0:n,descriptionID:S?void 0:w});EN(p===`tooltip`?d?.message:void 0,d?.type);let D=d?.message&&p!==`tooltip`?(0,Z.jsx)(kN,{type:d.type,message:d.message,id:T,variant:p,xstyle:p===`attached`?FN.attachedStatusLayer:void 0}):null;return S?(0,Z.jsxs)(`div`,{ref:y,...b,...Q(Y(`field`,{layout:`horizontal-labels`}),C(FN.horizontalLabels,h),_,v),children:[(0,Z.jsx)(`div`,{className:`x1enrzb7`,children:E}),(0,Z.jsxs)(`div`,{className:`x78zum5 xdt5ytf xc8icb0 x19nvjgn xlumz0n x1qs65gq`,children:[n&&(t?(0,Z.jsx)(cE,{id:w,children:n}):(0,Z.jsx)(CC,{type:`supporting`,display:`block`,id:w,children:n})),g,D]})]}):(0,Z.jsxs)(`div`,{ref:y,...Q(Y(`field`),C(FN.container,!t&&FN.containerGap,m!=null&&IN.width(m),h),_,v),...b,children:[E,p===`attached`?(0,Z.jsxs)(`div`,{className:`x78zum5 xdt5ytf xc8icb0 x19nvjgn xlumz0n x1qs65gq`,children:[g,D]}):(0,Z.jsxs)(Z.Fragment,{children:[g,D]})]})}LN.displayName=`Field`,GD(),sE(),vr(),iT(),Ww({\"@astryx.inputClearButton.tooltip\":`Clear`});var RN=2;function zN(e,t,n){let r=[];for(let e of n.parentElement?.children??[]){let i=e.getBoundingClientRect();e!==n&&i.width>0&&i.height>0&&r.push(t({left:i.left,top:i.top,right:i.right,bottom:i.bottom}))}let i={...DE(e,r)};for(let t of r)t.top=e.right?i.right=Math.min(i.right,RN):t.right<=e.left&&(i.left=Math.min(i.left,RN)));return i}var BN={...ZD,growth:zN},VN={button:{kZKoxP:`x1qx5ct2`,kmuXW:`x2lah0s`,$$css:!0}};function HN({label:e,tooltip:t,onClick:n,onPointerDown:r,onClickCapture:i,xstyle:a,iconClassName:o,...s}){let{className:c}=Y(`input-clear-icon`),{className:l}=Y(`input-clear-button`);return(0,Z.jsx)(QD,{value:BN,children:(0,Z.jsx)(IO,{...hr(s),variant:`ghost`,size:`sm`,label:e,tooltip:t,className:l,icon:(0,Z.jsx)(XT,{icon:`close`,size:`sm`,color:`secondary`,className:o==null?c:`${c} ${o}`}),onPointerDown:e=>{e.pointerType!==`touch`&&e.preventDefault(),r?.(e)},onMouseDown:e=>e.preventDefault(),onClick:n,onClickCapture:i,isIconOnly:!0,xstyle:[VN.button,a]})})}function UN(e){let t=nT();return HN({...e,tooltip:t(`@astryx.inputClearButton.tooltip`)})}UN.displayName=`InputClearButton`;var WN={base:{kB7OPa:`x9f619`,kVAEAm:`x1n2onr6`,kY2c9j:`x1vjfegm`,k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kOIVth:`x1txdalj`,k8WAf4:`xu0wf1k`,kg3NbH:`xf314gf`,kMzoRj:`x1litavf`,ksu8eU:`x1y0btm7`,kVAM5u:`xvy26l8 x6q1khz xohk9ji`,\"--_field-radius\":`x1832zxr`,kaIpWk:`xvdfih8`,kWkggS:`x10xzikg`,k1ekBW:`x12zzom9`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,kGVxlE:`x1gnnqk1 x1xqjsvb xuihb5h`,kI3sdo:`x1a2a7pz`,$$css:!0},disabled:{kkrTdU:`xt0e3qv`,kSiTet:`xbyyjgo`,kVAM5u:`xvy26l8`,kGVxlE:`x1gnnqk1`,$$css:!0},textField:{kIyJzY:`xuedmi6 xuh6ohu xzyh0sv`,$$css:!0}},GN={sm:{kZKoxP:`x1ij70fj xa40s40`,$$css:!0},md:{kZKoxP:`x1qa3r4f xdt6twq`,$$css:!0},lg:{kZKoxP:`xyh7n01 x15q4o07`,$$css:!0}},KN={warning:{kVAM5u:`xrwcrn0 x1pl5oko xohk9ji`,$$css:!0},error:{kVAM5u:`xw4o254 x1kaqvcv xohk9ji`,$$css:!0},success:{kVAM5u:`x1cu78b5 x1lbxt8w xohk9ji`,$$css:!0}},qN={warning:{kGVxlE:`x1gnnqk1 x9156jc xuihb5h`,$$css:!0},error:{kGVxlE:`x1gnnqk1 x1bgmis8 xuihb5h`,$$css:!0},success:{kGVxlE:`x1gnnqk1 x8wp45d xuihb5h`,$$css:!0}},JN={warning:{kVAM5u:`xrwcrn0 x1pl5oko xohk9ji`,$$css:!0},error:{kVAM5u:`xw4o254 x1kaqvcv xohk9ji`,$$css:!0},success:{kVAM5u:`x1cu78b5 x1lbxt8w xohk9ji`,$$css:!0}};function YN(e){return{onClick:e=>{e.preventDefault(),e.stopPropagation()},onKeyDown:t=>{t.key===`Enter`||t.key===` `?t.preventDefault():e?.(t)}}}function XN(e,t){return t?Object.fromEntries(Object.entries(e).filter(([e])=>!/^on[A-Z]/.test(e)||/^on(Focus|Blur)/.test(e))):e}var ZN=o((()=>{}));function QN(...e){let t=e.flatMap(e=>typeof e==`string`?e.trim().split(/\\s+/):[]).filter(Boolean);if(t.length!==0)return Array.from(new Set(t)).join(` `)}function $N(e,t=[],n){return{ariaLabelledBy:n?QN(n.labelID,e):void 0,ariaDescribedBy:QN(n?.describedByIDs,...t)}}function eP({enterKeyHint:e,inputMode:t,autoCapitalize:n,hasAutoCorrect:r}){let i={};return e!=null&&(i.enterKeyHint=e),t!=null&&(i.inputMode=t),n!=null&&(i.autoCapitalize=n),r!=null&&(i.autoCorrect=r?`on`:`off`),i}D(),sE(),Xx(),vr(),oS(),iT(),Ww({\"@astryx.input.statusButton.error\":`Error details`,\"@astryx.input.statusButton.success\":`Success details`,\"@astryx.input.statusButton.warning\":`Warning details`});var tP={warning:`warning`,error:`error`,success:`success`},nP={warning:`@astryx.input.statusButton.warning`,error:`@astryx.input.statusButton.error`,success:`@astryx.input.statusButton.success`},rP={statusButton:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmVPX3:`x1717udv`,kogj98:`x1ghz6dp`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kWkggS:`xjbqb8w`,kMwMTN:`x1heor9g`,kkrTdU:`x1ypdohk x16khyan`,kfzvcC:`x67bb7w`,kaIpWk:`xjspbzw`,kInvED:`x7s97pk`,$$css:!0}};function iP({status:e,statusVariant:t=`attached`,isInGroup:n=!1,size:r=`md`}){let i=nT(),a=t===`tooltip`&&!!e?.message,[o,s]=(0,X.useState)(void 0),c=Gx({placement:`above`,isEnabled:a,isOpen:o}),l=(0,X.useCallback)(()=>{s(void 0)},[]),u=(0,X.useCallback)(()=>{typeof window<`u`&&typeof window.matchMedia==`function`&&window.matchMedia(`(hover: none)`).matches&&s(e=>e!==!0)},[]);if((0,X.useEffect)(()=>{if(o!==!0)return;let e=e=>{e.key===`Escape`&&s(void 0)};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[o]),!e||n||t===`detached`)return{statusIcon:null,describedBy:void 0};let d=(0,Z.jsx)(XT,{icon:tP[e.type],size:r,color:e.type,...Y(`input-status-icon`,{size:r,status:e.type})});return a?{statusIcon:(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`button`,{type:`button`,ref:c.ref,\"aria-label\":i(nP[e.type]),\"aria-describedby\":c.describedBy,onClick:u,onBlur:l,...C(iS.focusVisible,rP.statusButton),children:d}),c.renderTooltip(e.message)]}),describedBy:c.describedBy}:{statusIcon:d,describedBy:void 0}}pN(),MC();var aP=\"`xstyle`, `className`, and `style` are not supported on Field-composed inputs and were ignored. Style the field with `containerXstyle`/`containerClassName`/`containerStyle` and the control box with `controlXstyle`/`controlClassName`/`controlStyle`. `astryx upgrade` rewrites existing usage.\",oP=\"`containerXstyle`/`containerClassName`/`containerStyle` have no effect here because no Field box renders (inside InputGroup or a `horizontal-labels` FormLayout). Inside InputGroup, style the InputGroup.\";function sP(e,t,n){let r=bE(),{direction:i}=(0,X.use)(fN),a=r==null&&i!==`horizontal-labels`,o=t,s=o.xstyle!=null||o.className!=null||o.style!=null,c=t;if(s){let{xstyle:e,className:t,style:n,...r}=o;c=r}OC(e,aP,s);let{containerXstyle:l,containerClassName:u,containerStyle:d}=n;return OC(e,oP,(l!=null||u!=null||d!=null)&&!a),{rest:c,hasFieldBox:a,container:a?{xstyle:l,className:u,style:d}:{}}}var cP={ring:{kVAM5u:`xvy26l8 x16it14f xqgemzk`,kGVxlE:`x1gnnqk1 xwmge8v`,$$css:!0},nestedRing:{kVAM5u:`xvy26l8 x1ta6xgg xa99h4j`,kGVxlE:`x1gnnqk1 x151j4nw`,$$css:!0},selfRing:{kVAM5u:`xvy26l8 xujr3tv xa1vkld`,kGVxlE:`x1gnnqk1 x68aypm`,$$css:!0},withinRing:{kVAM5u:`xvy26l8 x6q1khz xohk9ji`,kGVxlE:`x1gnnqk1 xuihb5h`,$$css:!0},inputFocusRing:{kVAM5u:`xvy26l8 x2uiyk xq9p6t4`,kGVxlE:`x1gnnqk1 xxsos93`,$$css:!0}};function lP(e,t,n){let r=Ab(),i=(0,uP.useRef)(!1),a=(0,uP.useRef)(null),o=(0,uP.useRef)(null),s=(0,uP.useRef)(null);return(0,uP.useEffect)(()=>{if(!e){i.current=!1,o.current=null,s.current=null;return}if(i.current)return;let c=requestAnimationFrame(()=>{a.current=null,i.current=!0;let e=Nb(n.current);e==null?(r(t,`polite`),o.current=Wb()):s.current=Pb(e,t)});return a.current=c,()=>{cancelAnimationFrame(c),a.current=null}},[r,n,e,t]),(0,uP.useCallback)(()=>{if(a.current!=null&&(cancelAnimationFrame(a.current),a.current=null,i.current=!0),o.current!=null&&(Gb(o.current,`polite`),o.current=null),s.current!=null){let e=s.current;s.current=null,e()}},[])}var uP,dP=o((()=>{uP=u(f(),1),ex()}));function fP(e,t){(Object.getOwnPropertyDescriptor(e.ownerDocument.defaultView?.HTMLInputElement.prototype??HTMLInputElement.prototype,`value`)?.set)?.call(e,t),e.dispatchEvent(new Event(`input`,{bubbles:!0}))}function pP(e,t,n){mP([e],([e])=>t(e),n)}function mP(e,t,n){let r=(0,hP.useRef)(null);b(()=>{let i=e.map(e=>e.current),a=r.current;a!=null&&a.key===n&&i.every((e,t)=>e===a.nodes[t])||(a?.release(),r.current=i.every(e=>e!=null)?{nodes:i,key:n,release:t(i)}:null)}),b(()=>()=>{r.current?.release(),r.current=null},[])}var hP,gP=o((()=>{hP=u(f(),1),x()})),_P=o((()=>{}));function vP(){if(OP.batchDepth>0)OP.isChanged=!0;else for(let e of[...AP])try{e()}catch(e){queueMicrotask(()=>{throw e})}}function yP(e){OP.batchDepth+=1;try{e()}finally{--OP.batchDepth,OP.batchDepth===0&&OP.isChanged&&(OP.isChanged=!1,vP())}}function bP(e){return AP.add(e),()=>{AP.delete(e)}}function xP(e,t){return kP.set(e,t),vP(),()=>{kP.get(e)===t&&(kP.delete(e),vP())}}function SP(){return kP.size===0?[]:[...kP.keys()]}function CP(e,t){if(kP.size===0)return DP;let n=0,r=0;for(let i=e;i!=null;i=bd(i)){let e=Qu(i)?kP.get(i):void 0;if(e!=null){let i=e.offset(t);n+=i.x,r+=i.y}}return{x:n,y:r}}function wP(e){let t=Number(e.style.getPropertyValue(jP))||0;e.style.setProperty(jP,String(t+1))}function TP(e){e.style.removeProperty(jP)}function EP(e){for(let t of e)kP.get(t)?.resolve()}var DP,OP,kP,AP,jP,MP=o((()=>{Td(),od(),Xn(),DP={x:0,y:0},OP=Gn(Wn(`motion/presentation`,1),()=>({sources:new Map,watchers:new Set,batchDepth:0,isChanged:!1})),{sources:kP,watchers:AP}=OP,jP=`--astryx-presented`}));function NP(e){return Math.max(2,Math.ceil(e/1e3*FP)+1)}function PP(e,t){let n=NP(e),r=[];for(let i=0;i{FP=60}));function LP(e){let t=e?.ownerDocument?.defaultView;if(e==null||t==null)return 1;let n=t.getComputedStyle(e).getPropertyValue(RP).trim(),r=n===``?NaN:Number(n);return Number.isFinite(r)&&r>0?r:1}var RP,zP=o((()=>{RP=`--_astryx-motion-tempo`}));function BP(e,t){let n=WP.get(e);n??(n=new Map,WP.set(e,n));let r=n.get(t);return r??(r=`response`in e?{response:e.response*t,dampingRatio:e.dampingRatio}:`duration`in e?{duration:e.duration*t,bounce:e.bounce}:{...e.mass==null?null:{mass:e.mass},stiffness:e.stiffness/(t*t),damping:e.damping/t},n.set(t,r)),r}function VP(e,t,n){let r=n===void 0?t:t[n],i=n===void 0?Mm(t):Nm(t,n);if(i==null||i.kind===`curve`||UP.has(i.id))return r;let a=LP(e);return a===1?r:typeof r==`number`?r*a:Em(r)?BP(r,a):r}function HP(e,t,n,r=n.to){let i=ym(vm(VP(e,t)),n),a=i.settleTime(n.epsilon)*1e3,o=r-n.from;if(o===0||a===0)return{durationMs:a,easing:PP(a,()=>1)};let s=e=>(i.value(e/1e3)-n.from)/o,c=1/0;for(let e=0;e<=a;e++)if(s(e)>=1){c=e;break}return{durationMs:a,easing:PP(a,e=>e>=c?1:s(e))}}var UP,WP,GP=o((()=>{Km(),km(),Cm(),IP(),zP(),UP=new Set([`springs.fingerTracking`,`switchControl.tracking`,`progress.reducedMotionPulseMs`]),WP=new WeakMap}));function KP(e,t,n,r,i,a){let o={};if(!i)return{atOnce:[...r],opacityFade:null,holds:o,landing:null};let s=r.filter(e=>qP.includes(e)),c=e.valueAt(`opacity`,t),l=n.opacity??e.opacityHeading(),u=r.filter(r=>qP.includes(r)&&Math.abs(n[r]-e.valueAt(r,t))>1e-9),d=n.opacity!=null,f=d&&l>c+1e-6,p=d&&l{let a=new Map;for(let r of u)o[r]=e.valueAt(r,t),a.set(r,n[r]);return{at:r,values:a,fadeIn:i,restore:g,..._!=null&&g!=null?{restoreIsBorrowed:!0}:{}}};if(d&&e.hasWaitingDip&&!r.some(e=>qP.includes(e))&&Math.abs(l-e.opacityHeading())<1e-6)return{atOnce:[],opacityFade:null,holds:o,landing:null,joins:!0};let x=u.length>0||v;if(f&&!v&&(!x||m<=1e-6))return{atOnce:s,opacityFade:[{at:0,value:m},{at:y,value:h}],holds:o,landing:null,borrowed:_};if(p&&(!x||h<=1e-6))return{atOnce:s,opacityFade:[{at:0,value:m},{at:y,value:h}],holds:o,landing:u.length>0||g!=null||v?b(y,null):null};if(x){let t=e.borrowedOpacity,n=d||t==null&&(e.hasOpacityCurve||e.restingOpacity!==JP||e.writesOwnOpacity())?null:t??e.ownOpacity();return n!=null&&n<=1e-6?{atOnce:s,opacityFade:null,holds:o,landing:null}:{atOnce:s,opacityFade:[{at:0,value:e.hasOpacityCurve?c:n??c},{at:y/2,value:0}],holds:o,landing:b(y/2,{to:n??l,ms:y/2,isBorrowed:n!=null}),borrowed:n}}return{atOnce:`opacity`in n?[...s,`opacity`]:s,opacityFade:null,holds:o,landing:null}}var qP,JP,YP=o((()=>{eh(),qP=[`x`,`y`,`rotate`,`scaleX`,`scaleY`],JP=1}));function XP(e,t){if(OF==null){let n={first:e};OF=n,queueMicrotask(()=>{n.ended=t(),OF=null})}return OF}function ZP(e){let t=e();if(jF!=null&&jF.clock===e&&t-jF.time<=34)return jF.time;let n={time:t,clock:e};return jF=n,queueMicrotask(()=>{jF===n&&(jF=null)}),t}function QP(e){MF.length===0&&queueMicrotask($P),MF.push(e)}function $P(){let e=MF.splice(0);for(let t of e)t.lift();for(let t of e)t.read();for(let t of e)t.write()}function eF(e,t){if(e!=null&&PF?.frame===e)return Math.min(PF.first,t);let n=Math.min(t,...NF.values());if(NF.clear(),e!=null){let t={frame:e,first:n};PF=t,setTimeout(()=>{PF===t&&(PF=null)},0)}return n}function tF(e,t){if(e==null)return t();if(AF?.frame===e)return AF.time;let n={frame:e,time:t()};return AF=n,setTimeout(()=>{AF===n&&(AF=null)},0),n.time}function nF(){if(FF==null){let e={times:[],keyframes:[]};FF=e,queueMicrotask(()=>{FF===e&&(FF=null)})}return FF}function rF(e,t){return e.length===t.length&&e.every((e,n)=>Object.is(e,t[n]))}function iF(e){return typeof KeyframeEffect==`function`&&typeof Animation==`function`&&e instanceof KeyframeEffect}function aF(e,t){let n=new KeyframeEffect(e);n.target=t;let r=new Animation(n,t.ownerDocument.timeline);return r.play(),r}function oF(e,t){return Number(e.toFixed(t))}function sF(e,t){switch(e){case`translate`:return`${oF(t(`x`),3)}px ${oF(t(`y`),3)}px`;case`rotate`:return`${oF(t(`rotate`),4)}deg`;case`scale`:return`${oF(t(`scaleX`),5)} ${oF(t(`scaleY`),5)}`;case`opacity`:return`${oF(Math.min(1,Math.max(0,t(`opacity`))),4)}`}}function cF(e,t={}){let n=HF.get(e);n??(n=new Map,HF.set(e,n));let r=t.pseudoElement??``,i=n.get(r);return i??(i=gF(e,t),n.set(r,i)),i}function lF(e,t){let n=(e,n,r)=>oF(t(e),r)===n;switch(e){case`translate`:return n(`x`,0,3)&&n(`y`,0,3)?`none`:sF(e,t);case`rotate`:return n(`rotate`,0,4)?`none`:sF(e,t);case`scale`:return n(`scaleX`,1,5)&&n(`scaleY`,1,5)?`none`:sF(e,t);case`opacity`:return sF(e,t)}}function uF(e,t){let n=t.trim();if(n===``||n===`none`)return!0;let r=n.split(/\\s+/).map(e=>Number.parseFloat(e));if(r.some(e=>!Number.isFinite(e)))return!1;let i=+(e===`scale`||e===`opacity`);return r.every(e=>Math.abs(e-i)<1e-6)}function dF(e){let t={};for(let[n,r]of Object.entries(e))r!=null&&Number.isFinite(r)&&(n===`scale`?(t.scaleX??=r,t.scaleY??=r):vF.includes(n)&&(t[n]=r));return t}function fF(){return typeof performance>`u`?Date.now():performance.now()}function pF(){return typeof window<`u`&&typeof window.matchMedia==`function`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function mF(){return typeof window<`u`&&typeof window.matchMedia==`function`&&window.matchMedia(`(pointer: coarse)`).matches}function hF(e,t){if(typeof CSS<`u`&&typeof CSS.registerProperty==`function`)try{CSS.registerProperty({name:e,syntax:t,inherits:!0,initialValue:t===``?`0px`:`0`})}catch(e){if(!(e instanceof DOMException)||e.name!==`InvalidModificationError`)throw e}}function gF(e,t={}){let n=t.now??fF,r=t.requestFrame??(typeof requestAnimationFrame==`function`?e=>{requestAnimationFrame(t=>e(t))}:null),i=r==null?null:e=>{r(t=>{kF+=1;try{e(t)}finally{--kF}})},a=t.pseudoElement,o=t.customProperty,s=o?.companion;o!=null&&hF(o.name,o.syntax),s!=null&&hF(s.name,s.syntax);let c=e=>s==null?``:s.syntax===``?`${oF(s.map(e),5)}`:`${oF(s.map(e),3)}px`,l=e=>o!=null&&e===`translate`,u=e=>o!=null&&e===`translate`?o.name:e,d=o?.syntax===``?``:`px`,f=(e,t)=>l(e)?`${oF(t(`x`),d===``?5:3)}${d}`:sF(e,t),p=(e,t)=>l(e)&&s!=null?{[u(e)]:f(e,t),[s.name]:c(t(`x`))}:{[u(e)]:f(e,t)},m=e=>l(e)?`0${d}`:UF[e],h=()=>pF()||uc(E),g=mF,_={...bF,...dF(t.initial??{})},v=dF(t.base??{}),y=new Map,b=new Map,x=new Map,S=new Set,C=new Map,w=new Set,T=null,E=null,D=new Set,O=new Set,k=!1,A=null,j=e=>{let t=E;E??=A;try{e()}finally{E=t}},M=null,N=null,P={x:0,y:0},F=null,I=new Set,L=null,R=``,z=!1,B=null,V=null,H=null,ee=a==null?null:`--astryx-motion-will-change-${a.replace(/^:+/,``)}`,U=new Set,te=(e,t)=>{let n=y.get(e);return n==null||t>=ie(e,n)?null:n},W=e=>e.group!=null&&!e.group.resolved,G=(e,t)=>{let n=y.get(e);return n==null?_[e]:t>=n.start+n.duration?n.target:n.at(Math.max(0,t-n.start))},ne=(e,t)=>t==null||e.group==null?null:{latest:t,start:e.start+t-e.group.provisional},re=(e,t)=>t.group?.resolved===!1?t.group.latest?.get(VF[e]):void 0,ie=(e,t)=>(ne(t,re(e,t))?.start??t.start)+t.duration,K=(e,t,n)=>{let r=e.group;if(r==null)return;let i=r.segments.indexOf(e);i>=0&&r.segments.splice(i,1),e.start+=n-r.provisional,e.group=void 0,BF[t].some(e=>y.get(e)?.group===r)||(r.latest?.delete(t),r.channels.delete(t)),r.channels.size===0&&r.segments.length===0&&tt(r,n)},q=(e,t)=>{let r=y.get(e);if(r!=null&&W(r)){let i=r.group?.latest?.get(VF[e]),a=ne(r,i);if(a!=null){let e=Math.max(t,a.latest)-a.start;return e>=r.duration?r.target:r.at(e)}if(t<=n())return r.at(0)}return G(e,t)},ae=(e,t,n)=>Math.abs(q(e,n)-t.target)<=wF*SF[e]&&Math.abs(oe(e,n))<=SF[e]*TF,oe=(e,t)=>{let n=y.get(e);if(n!=null&&W(n)){let r=ne(n,n.group?.latest?.get(VF[e]));return n.speed(Math.max(0,r!=null&&t>r.latest?t-r.start:t-n.start))}let r=te(e,t);return r==null||tG(e,t-1e-6),ce=e=>y.get(e)?.target??_[e],le=(e,t)=>{let n=y.get(e);return n?.group!=null&&!n.group.resolved?n.at(0):q(e,t)},J={offset:(e=n())=>(Qe(),{x:le(`x`,e)-P.x,y:le(`y`,e)-P.y}),resolve:()=>{if(E==null)return;Qe();let e=n();wP(E),P={x:le(`x`,e),y:le(`y`,e)}}},ue=e=>{let t=e&&a==null?E:null;t!==N&&(F?.(),F=null,N instanceof HTMLElement&&TP(N),N=t,t!=null&&(F=xP(t,J)))},de=(e,t,n=!0)=>{if(E==null||a!=null)return;w.add(e);let r=l(e)?f(e,t):lF(e,t);if(E.style.getPropertyValue(u(e))!==r&&E.style.setProperty(u(e),r),l(e)&&s!=null){let e=c(t(`x`));E.style.getPropertyValue(s.name)!==e&&E.style.setProperty(s.name,e)}n&&r===m(e)&&ke(e)},fe=(e,t,n,r,i)=>{let a=[e,r-n,i];for(let r of BF[e]){let e=y.get(r);if(!t.includes(r))a.push(r,_[r]);else if(e?.source!=null&&e.jumps.length===0)a.push(r,e.source,e.start-n),a.push(e.duration);else return null}return a},pe=(e,t,n,r)=>{let i=y.get(e);if(i?.source==null||i.jumps.length>0)return me(e,t,n,r);let a=[i.source,i.start-t,i.duration,n-t,r],{times:o}=nF(),s=o.find(e=>rF(e.key,a));if(s!=null)return s.times.map(e=>e+t);let c=me(e,t,n,r);return o.push({key:a,times:c.map(e=>e-t)}),c},me=(e,t,n,r)=>{let i=y.get(e);if(i==null)return[];let a=Math.max(t,i.start),o=Math.min(n,i.start+i.duration);if(o<=a)return[];let s=[a],c=t=>G(e,t),l=i.jumps.map(e=>i.start+e).filter(e=>e>a&&e{let u=c(t),d=n===i&&l.includes(i)?se(e,i):c(n),f=0;for(let e of[.25,.5,.75]){let r=t+(n-t)*e;f=Math.max(f,Math.abs(c(r)-(u+(d-u)*e)))}if(f>r&&a<10&&n-t>.25){let e=(t+n)/2;o(t,e,a+1),o(e,n,a+1)}else s.push(n)};for(let e=0;eBF[e].every(e=>{let t=v[e];return t!=null&&Math.abs(ce(e)-t)<=SF[e]}),ge=(e,t)=>{if(E==null||he(e))return;let n=sF(e,ce),r=E.animate([{[e]:n},{[e]:n}],{duration:1,fill:`both`,pseudoElement:a});r.startTime=t,b.set(e,r)},_e=(e,t,n)=>{let r=e.segments.indexOf(t);r>=0?e.segments[r]=n:e.segments.push(n)},ve=new Set,ye=!1,be=e=>{ve.add(e),ye||(ye=!0,queueMicrotask(xe))},xe=()=>{if(ye=!1,ve.size===0)return;let e=[...ve].filter(e=>!mt.has(e)).flatMap(e=>BF[e]);ve.clear(),Mt(e,n())},Se=(e,t)=>{Et(e),ve.delete(e);let r=b.get(e);b.delete(e),clearTimeout(x.get(e)),x.delete(e),clearTimeout(C.get(e)),C.delete(e),a??r?.cancel();let o=BF[e];for(let e of o){let n=y.get(e);n!=null&&t>=ie(e,n)&&(_[e]=n.target,y.delete(e))}let s=o.filter(e=>y.has(e));if(M==null)for(let t of s){let n=y.get(t),r=re(t,n);r!=null&&K(n,e,r)}let c=M??s.map(e=>y.get(e).group).find(e=>e!=null&&!e.resolved)??null,u=c?.framed===!0,d=new Set;if(u&&d.add(c),M!=null)for(let e of s){let t=y.get(e).group;t!=null&&t!==M&&!t.resolved&&d.add(t)}for(let t of d)t.latest?.delete(e);if(e===`translate`&&!l(e)&&(P={x:q(`x`,t),y:q(`y`,t)},ue(s.length>0&&E!=null&&typeof E.animate==`function`)),s.length===0||E==null||typeof E.animate!=`function`?de(e,ce):de(e,e=>q(e,t)),E==null||typeof E.animate!=`function`){r?.cancel();return}if(s.length===0){a!=null&&ge(e,t),r?.cancel();return}let f=c?.provisional??t,m=Math.min(f+EF,Math.max(...s.map(e=>y.get(e).start+y.get(e).duration)));if(m<=f){a!=null&&ge(e,t),r?.cancel();return}if(M!=null)for(let e of s){let t=y.get(e),n=t.group;if(n!=null&&n!==M&&!n.resolved){let e=n.segments.indexOf(t);e>=0&&n.segments.splice(e,1),n.adoptedBy=M,t.group=M,t.start+=M.provisional-n.provisional,M.segments.push(t)}}let h=1/Math.max(1,globalThis.devicePixelRatio||1),g=a==null&&!l(e)?fe(e,s,f,m,h):null,v=g==null?void 0:nF().keyframes.find(e=>rF(e.key,g)),S=e=>{let t=new Set([f,m]);for(let n of s){let r=SF[n]*e*(n===`x`||n===`y`?h:1);for(let e of pe(n,f,m,r))t.add(e)}return t},w=m-f+LF,T=v?.keyframes??(()=>{let t=1,n=S(t);for(;n.size>IF&&t<64;)t*=2,n=S(t);let r=new Set;for(let e of s){let t=y.get(e);for(let e of t.jumps){let i=t.start+e;i>f&&i<=m&&(r.add(i),n.add(i))}}let i=[...n].sort((e,t)=>e-t),a=[];for(let t of i){let n=(t-f)/w;r.has(t)&&a.push({offset:n,...p(e,e=>se(e,t))}),a.push({offset:n,...p(e,e=>t>=m?ce(e):G(e,t))})}return a.push({offset:1,...p(e,ce)}),a})();l(e)||ze(e);let D=v!=null&&iF(v.effect)?aF(v.effect,E):E.animate(T,{duration:w,fill:`both`,easing:`linear`,...a==null?{}:{pseudoElement:a}});g!=null&&v==null&&nF().keyframes.push({key:g,keyframes:T,effect:D.effect}),c==null?D.startTime=t:(c.animations.push(D),c.channels.add(e),D.ready?.catch(()=>{}),u&&i?.(t=>{!c.resolved&&b.get(e)===D&&D.startTime==null&&D.playState===`running`&&(c.latest??=new Map).set(e,tF(t,n))})),b.set(e,D),r?.cancel(),Ce(e,D,m)},Ce=(e,t,r)=>{clearTimeout(x.get(e)),x.delete(e),clearTimeout(C.get(e)),C.delete(e);let o=()=>{i==null||S.has(t)||(S.add(t),i(()=>{S.delete(t),s(!0)}))},s=(r=!1)=>{if(r||x.delete(e),b.get(e)!==t)return;if(mt.has(e)){x.has(e)||x.set(e,setTimeout(s,zF));return}let i=Ne(t);if(r&&i==null)return;if(i!=null&&i>0){let n=t.playState===`paused`;!n&&i<=(r?2:1)*zF&&o(),x.has(e)||x.set(e,setTimeout(s,n?RF:Math.max(i,zF)));return}clearTimeout(x.get(e)),x.delete(e),b.delete(e),e===`translate`&&ue(!1);let c=e===`opacity`&&T!=null&&![...Nt].some(e=>e.fadeIn?.isBorrowed===!0);a!=null&&!c?ge(e,n()):de(e,ce,!1);let l=[...D].filter(e=>e.animations.includes(t));for(let e of l)Ze(e);t.cancel();for(let e of l)tt(e,e.provisional);ke(e),Me()};x.set(e,setTimeout(s,Math.max(0,r-n()))),i!=null&&C.set(e,setTimeout(()=>{C.delete(e),o()},Math.max(0,r-n()-zF)))},we=()=>{let e=E?.ownerDocument.defaultView,t=E==null?NaN:Number.parseFloat(e?.getComputedStyle(E,a??null).getPropertyValue(`opacity`)??``);return Number.isFinite(t)?Math.min(1,Math.max(0,t)):1},Te=()=>a==null?(E?.style.getPropertyValue(`opacity`)??``)!==``:b.has(`opacity`),Ee=()=>{if(a==null){E?.style.removeProperty(`opacity`);return}let e=b.get(`opacity`);b.delete(`opacity`),e?.cancel()},De=e=>{if(Nt.size===0)return;let t=new Set,r=!1;for(let n of[...Nt]){Bt(n);for(let[e,r]of n.values)y.delete(e),_[e]=r,t.add(e);if(n.fadeIn!=null||n.restore!=null){let e=n.fadeIn?.isBorrowed===!0||n.restoreIsBorrowed===!0;y.delete(`opacity`),_.opacity=e?bF.opacity:n.fadeIn?.to??n.restore??bF.opacity,t.add(`opacity`),e&&(T=null,r=!0)}for(let t of[n.owner,...n.carried])Pt.delete(t),t.settled||it(t,e)}Mt(t,n()),r&&Ee()},Oe=()=>{T!=null&&(T=null,y.delete(`opacity`),_.opacity=bF.opacity,Ee())},ke=e=>{if(!(E==null||b.has(e))){if(e===`opacity`&&T!=null){if([...Nt].some(e=>e.fadeIn?.isBorrowed===!0))return;T=null,y.delete(`opacity`),_.opacity=bF.opacity,Ee()}else a==null&&E.style.getPropertyValue(u(e))===m(e)&&(Ae.add(e),je||(je=!0,queueMicrotask(Me)))}},Ae=new Set,je=!1,Me=()=>{je=!1;let e=E,t=[...Ae].filter(t=>!b.has(t)&&e?.style.getPropertyValue(u(t))===m(t));if(Ae.clear(),e==null||t.length===0)return;for(let n of t)e.style.removeProperty(u(n));let n=e.ownerDocument.defaultView?.getComputedStyle(e);for(let r of t){let t=n?.getPropertyValue(u(r));t!=null&&!uF(r,t)&&e.style.setProperty(u(r),m(r))}},Ne=e=>{let t=e.effect?.getTiming?.(),n=e.currentTime;if(t==null||n==null)return e.playState===`paused`?1/0:null;let r=Number(t.duration)-LF-Number(n);return e.playState===`paused`?Math.max(r,1):r},Pe=e=>{let t=[...I].join(`, `);if(ee!=null){t===``?e.style.removeProperty(ee):e.style.setProperty(ee,t);return}if(t===``){e.style.willChange=L??``,L=null;return}if(L??=e.style.willChange,L===``&&!z){e.style.willChange=[...I].join(`, `),Ie(e);return}let n=L===``?R:L,r=(n===`auto`?``:n).split(`,`).map(e=>e.trim()).filter(e=>e!==``&&!I.has(e));e.style.willChange=[...r,...I].join(`, `)},Fe=e=>{R=e.ownerDocument.defaultView?.getComputedStyle(e).getPropertyValue(`will-change`)??``,z=!0},Ie=e=>{if(V===e)return;V=e;let t=()=>V===e&&E===e&&I.size>0&&L===``;QP({lift:()=>{t()&&(e.style.willChange=``)},read:()=>{t()&&Fe(e)},write:()=>{V===e&&(V=null,E===e&&I.size>0&&Pe(e))}})},Le=()=>{if(Re(),z=!1,E==null||ee!=null)return;let e=E;B=setTimeout(()=>{B=null,E===e&&I.size===0&&e.isConnected&&Fe(e)},0)},Re=()=>{B!=null&&(clearTimeout(B),B=null)},ze=e=>{E!=null&&(I.has(e)||(I.add(e),Pe(E)),Be())},Be=()=>{H!=null&&clearTimeout(H);let e=n();for(let t of y.values())e=Math.max(e,t.start+t.duration);H=setTimeout(()=>{H=null;let e=n();[...y.values()].some(t=>e0?Be():Ve()},Math.max(0,e-n())+500)},Ve=()=>{H!=null&&(clearTimeout(H),H=null),I.size!==0&&(I.clear(),E!=null&&(Pe(E),Le()))},He=(e,t,n,r)=>{if(E==null||typeof E.animate!=`function`)return null;let i=new Set;for(let e of t)i.add(VF[e]);if(n!=null){for(let e of i)for(let t of BF[e]){let e=y.get(t)?.group;if(e!=null&&!e.resolved&&n<=e.provisional)return e}return null}for(let t of r===`commit`?[]:i)for(let n of BF[t]){let t=y.get(n);if(t!=null&&e{},o=new Promise(e=>{a=e});return{provisional:e,fresh:!1,segments:[],animations:[],channels:new Set,resolved:!1,resolve:a,started:o}},Ue=(e,t,n,r,a=!1,o=!1)=>{if(e!=null)for(let r of n){let n=y.get(r);n!=null&&n.owner===t&&(n.group=e,e.segments.push(n))}if(a&&e!=null&&i!=null){let t={group:e,changed:n};We.push(t),i(()=>i(()=>qe(t)))}else e==null&&o?Tt(n,r):Je(e,n,r)},We=[],Ge=e=>{for(let{group:t,changed:n}of e){let e=[],r=null;for(let i of n){let n=BF[VF[i]].map(e=>y.get(e)?.group).find(e=>e!=null&&e!==t&&We.some(t=>t.group===e));if(n==null){e.push(i);continue}let a=y.get(i);a!=null&&a.group===t&&(a.start+=n.provisional-t.provisional,a.group=n,n.segments.push(a),t.segments.splice(t.segments.indexOf(a),1),r=n)}if(e.length===0&&r!=null){let e=r;t.adoptedBy=e,e.started.then(e=>tt(t,e))}else Je(t,e,t.provisional)}},Ke=()=>{Ge(We.splice(0))},qe=e=>{let t=We.indexOf(e);t>=0&&Ge(We.splice(0,t+1))},Je=(e,t,r)=>{M=e;try{Mt(t,r)}finally{M=null}if(e==null)return;if(e.animations.length===0){tt(e,e.provisional);return}D.add(e),e.fresh=!0,e.task=XP(n(),n),e.nextFrame===!0&&(e.task.nextFrame=!0),e.madeInFrame=kF>0,queueMicrotask(()=>{e.fresh=!1});for(let t of e.animations)t.ready?.catch(()=>{});let a=e.animations[0].ready;a==null||typeof a.then!=`function`?tt(e,e.provisional):(i?.(t=>{if(Ze(e),e.framed=!0,e.resolved)return;let r=tF(t,n);if(e.madeInFrame!==!0&&(e.task?.nextFrame===!0||r-(e.task?.first??e.provisional)<=34)&&e.animations.some(e=>e.startTime==null&&e.playState===`running`)&&tt(e,r),!e.resolved)for(let t of e.channels){let n=b.get(t);n!=null&&e.animations.includes(n)&&n.startTime==null&&n.playState===`running`&&(e.latest??=new Map).set(t,r)}}),a.then(()=>Ze(e),()=>Ye(e)))},Ye=e=>{if(e.resolved)return;let t=e.adoptedBy;for(;t?.adoptedBy!=null;)t=t.adoptedBy;t!=null&&t!==e?t.started.then(t=>tt(e,t)):Xe(e)||tt(e,e.provisional)},Xe=e=>{let t=e.animations.find(e=>e.playState!==`idle`)?.ready;return t==null||typeof t.then!=`function`?!1:(t.then(()=>Ze(e),()=>Ye(e)),!0)},Ze=e=>{if(!e.resolved){for(let t of e.animations)if(t.startTime!=null){tt(e,et(e,Number(t.startTime)));return}e.animations.length>0&&e.animations.every(e=>e.playState===`finished`||e.playState===`idle`)&&e.animations.some(e=>e.playState===`finished`)?tt(e,e.provisional):e.animations.some(e=>e.startTime==null&&e.playState!==`idle`)&&i?.(()=>Ze(e))}},Qe=()=>{for(let e of D)e.fresh||Ze(e);$e()},$e=()=>{for(let[e,t]of b){if(t.playState!==`finished`)continue;let r=n();for(let t of BF[e]){let e=y.get(t);e==null||r>=e.start+e.duration||(y.delete(t),_[t]=e.target)}}},et=(e,t)=>{let r=typeof document>`u`?null:document.timeline?.currentTime;if(r==null||e.framed===!0||t>(e.task?.first??e.provisional)+34)return t;let{task:i}=e,a=i?.nextFrame===!0?n():i?.ended??n();if(i==null||a-i.first<=34)return t;let o=i.at??Math.max(n(),r);if(o-t<=34)return t;i.at=o;for(let t of e.animations)t.playState!==`idle`&&(t.startTime=o);return o},tt=(e,t)=>{if(e.resolved)return;e.resolved=!0,D.delete(e);for(let n of e.animations)n.startTime==null&&n.playState!==`idle`&&(n.startTime=t);let r=t-e.provisional;if(r!==0){for(let t of e.segments)t.start+=r;for(let t of e.channels){let n=b.get(t);if(n==null||!e.animations.includes(n))continue;let r=BF[t].flatMap(e=>{let t=y.get(e);return t==null?[]:[t.start+t.duration]});r.length>0&&Ce(t,n,Math.max(...r))}for(let r of new Set(e.segments.map(e=>e.owner))){if(r.settled||r.timer==null)continue;clearTimeout(r.timer);let i=e.segments.filter(e=>e.owner===r).map(e=>e.start+e.duration);r.timer=setTimeout(()=>at(r),Math.max(0,Math.max(t,...i)-n()))}}e.resolve(t)},nt=new WeakMap,rt=(e,t)=>{Ft(e);let n=y.get(e);n!=null&&t{e.settled||(e.settled=!0,e.timer!=null&&(clearTimeout(e.timer),e.timer=null),e.resolve(t))},at=e=>{e.timer=null;let t=0;for(let[n,r]of b){if(!BF[n].some(t=>y.get(t)?.owner===e))continue;if(mt.has(n)){t=Math.max(t,zF);continue}let i=Ne(r);i!=null&&i>0&&(t=Math.max(t,r.playState===`paused`?RF:Math.max(i,zF)))}t>0?e.timer=setTimeout(()=>at(e),t):it(e,!0)},ot=(e,t,r,i,a=null,o=!1)=>{let s=t.map(t=>{let n=y.get(t);return n!=null&&n.owner===e?n.start+n.duration:i}),c=Math.max(i,...s);o||(t.length===0||c<=i?it(e,!0):e.timer=setTimeout(()=>at(e),Math.max(0,c-n())));let l=new Map;for(let n of t){let t=y.get(n);t!=null&&t.owner===e&&l.set(n,t)}return{properties:t,finished:r,started:a?.started??Promise.resolve(i),curve:e=>{let t=l.get(e===`scale`?`scaleX`:e);return t==null?null:{duration:t.duration/1e3,at:e=>e*1e3>=t.duration?t.target:t.at(Math.max(0,e*1e3)),velocity:e=>e*1e3>=t.duration?0:t.speed(e*1e3)}},value:(e,t=n())=>(Qe(),q(e,t)),velocity:(e,t=n())=>(Qe(),oe(e,t)),retarget:(t,n,r)=>{let i=n?.spring??nt.get(e);if(i==null)throw Error(`animator: retarget needs a spring`);return Xt.animate(t,{...n,spring:i},r)},stop:()=>Xt.stop(vF.filter(n=>t.includes(n)&&(y.get(n)?.owner===e||[...Nt].some(t=>t.values.has(n)&&(t.owners.get(n)??t.owner)===e))))}},st=()=>{let e=()=>{},t=new Promise(t=>{e=t});return{owner:{resolve:e,settled:!1,timer:null},finished:t}},ct=(e,t,n,r,i,a)=>lt(e,t,n,q(t,n),a,r,VP(E,i)),lt=(e,t,n,r,i,a,o)=>{if(r===a&&i===0)return null;let s=ym(vm(o),{from:r,to:a,velocity:i});return{start:n,duration:Math.min(EF,s.settleTime(xF[t])*1e3),target:a,at:e=>s.value(e/1e3),speed:e=>s.velocity(e/1e3),jumps:[],owner:e,spring:o}},ut=(e,t,n,r,i,a)=>{let o=a.start+a.duration,s=VP(E,i),c=ym(vm(s),{from:0,to:r-a.target,velocity:0}),l=Math.min(EF,c.settleTime(xF[t])*1e3),u=e=>e>=l?r-a.target:c.value(e/1e3),d=e=>e>=o?a.target:a.at(Math.max(0,e-a.start));return{start:n,duration:Math.min(EF,Math.max(o-n,l)),target:r,at:e=>d(n+e)+u(e),speed:e=>(n+e>=o?0:a.speed(n+e-a.start))+(e>=l?0:c.velocity(e/1e3)),jumps:a.jumps.map(e=>a.start+e-n).filter(e=>e>0),owner:e,spring:s,isAdditive:!0}},dt=(e,t,n,r)=>{let i=n.at(0),a=n.at(n.duration),o=(a-r.target)/(a-i),s=Math.min(EF,n.duration*1e3),c=r.start+r.duration,l=e=>e>=c?r.target:r.at(Math.max(0,e-r.start));return{start:t,duration:Math.min(EF,Math.max(c-t,s)),target:a,at:e=>l(t+e)+(e>=s?a-r.target:(n.at(e/1e3)-i)*o),speed:e=>(t+e>=c?0:r.speed(t+e-r.start))+(e>=s?0:n.velocity(e/1e3)*o),jumps:r.jumps.map(e=>r.start+e-t).filter(e=>e>0),owner:e}},ft=(e,t,n,r=[])=>{qm();let i=Xp(VP(E,Ym.curve)),a=n[n.length-1].at,o=e=>{for(let t=0;t+1(o(e+.5)-o(Math.max(0,e-.5)))/(e>=.5?1:.5+e)*1e3,jumps:r,owner:e,isFade:!0}},pt=new Map,mt=new Map,ht=!1,gt=null,_t=t.requestFrame==null&&typeof document<`u`?document:null,vt=()=>E?.ownerDocument.visibilityState===`hidden`||_t?.visibilityState===`hidden`,yt=()=>{pt.clear(),xt(),gt?.()},bt={},xt=()=>{let e=1/0;for(let t of pt.values())e=Math.min(e,t.since);e===1/0?NF.delete(bt):NF.set(bt,e)},St=e=>{for(let t of new Set(e.map(([,e])=>e)))Mt(e.filter(([,e])=>e===t).flatMap(([e])=>BF[e]),t)},Ct=()=>{let e=[...mt];mt.clear(),St(e)},wt=()=>{let e=[...new Set([E?.ownerDocument,_t].filter(e=>e!=null))];if(gt!=null||e.length===0)return;let t=()=>{vt()&&(yt(),Ct())};for(let n of e)n.addEventListener(`visibilitychange`,t);gt=()=>{for(let n of e)n.removeEventListener(`visibilitychange`,t);gt=null}},Tt=(e,t)=>{for(let n of e){let e=VF[n],r=!mt.has(e);mt.set(e,t),r&&(ve.delete(e),clearTimeout(x.get(e)),x.delete(e),clearTimeout(C.get(e)),C.delete(e))}},Et=e=>{if(mt.delete(e)){for(let t of BF[e])pt.delete(t);xt()}},Dt=(e,t)=>{let n=new Map,r=new Map;for(let t of BF[e]){let e=pt.get(t);e!=null&&(n.set(t,y.get(t)),r.set(t,_[t]),e.segment==null?(y.delete(t),_[t]=e.resting+e.offset):y.set(t,At(e.segment,e.offset)))}let i=mt.get(e);mt.delete(e);try{Se(e,t)}finally{for(let[e,t]of n)t==null?y.delete(e):y.set(e,t);for(let[e,t]of r)_[e]=t;i!=null&&mt.set(e,i)}},Ot=(e,t,n,r)=>{if(n!=null||r!=null||kF>0||i==null||E==null||typeof E.animate!=`function`||vt())return!1;let a=[...e];if(a.some(e=>BF[VF[e]].some(e=>{let t=y.get(e);return t!=null&&W(t)})))return!1;for(let e of a)pt.has(e)||pt.set(e,{segment:y.get(e)??null,resting:_[e],offset:0,since:t});return xt(),wt(),ht||(ht=!0,i(jt)),!0},kt=(e,t)=>{let{segment:n,offset:r}=e;if(n==null)return{value:e.resting+r,velocity:0};let i=t-n.start;if(i>=n.duration)return{value:n.target+r,velocity:0};let a=Math.max(0,i);return{value:n.at(a)+r,velocity:n.speed(a)}},At=(e,t)=>t===0?e:{...e,target:e.target+t,at:n=>e.at(n)+t},jt=e=>{ht=!1;let t=[...pt],r=[...mt];if(mt.clear(),yt(),E==null)return;let i=tF(e,n),a=i-eF(e,Math.min(...t.map(([,e])=>e.since)))>34,o=[],s=new Set;for(let[e,n]of t){let t=y.get(e);if(!a||t==null||t.spring==null||t.isFade===!0||W(t))continue;let r=kt(n,i),c=t.isAdditive===!0&&n.segment!=null?ut(t.owner,e,i,t.target,t.spring,At(n.segment,n.offset)):lt(t.owner,e,i,r.value,t.handedVelocity??(n.segment==null?t.speed(0):r.velocity),t.target,t.spring);c==null?(y.delete(e),_[e]=t.target):y.set(e,t.handedVelocity==null?c:{...c,handedVelocity:t.handedVelocity}),s.add(t.owner),o.push(e)}let c=new Set(o.map(e=>VF[e]));c.size>0&&Mt([...c].flatMap(e=>BF[e]),i),St(r.filter(([e])=>!c.has(e)));for(let e of s){if(e.settled||e.timer==null)continue;clearTimeout(e.timer);let t=i;for(let n of y.values())n.owner===e&&(t=Math.max(t,n.start+n.duration));e.timer=setTimeout(()=>at(e),Math.max(0,t-n()))}},Mt=(e,t)=>{let n=new Set;for(let t of e)n.add(VF[t]);n.has(`opacity`)&&(T=null);for(let e of n)Se(e,t);Me()},Nt=new Set,Pt=new Set,Ft=e=>{for(let t of[...Nt])if(e===`opacity`)Bt(t),It(t);else if(t.values.delete(e)){let n=t.owners.get(e)??t.owner;t.owners.delete(e),n.settled||it(n,!1)}},It=e=>{let t=[];for(let[n,r]of e.values)y.delete(n),_[n]=r,t.push(n);t.length>0&&Mt(t,n());for(let t of[e.owner,...e.carried])Pt.delete(t),t.settled||it(t,!1)},Lt=(e,t)=>{let n=[],r=new Map;for(let i of[...Nt]){for(let[n,a]of i.values){let o=i.owners.get(n)??i.owner;!t.includes(n)&&!e.values.has(n)?(e.values.set(n,a),r.set(n,o)):o.settled||it(o,!1)}n.push(i.owner,...i.carried),Bt(i)}for(let e of n)Pt.add(e);return{carried:n,owners:r}},Rt=e=>{let t=[...Nt].reverse().find(e=>e.fadeIn!=null);if(t==null)it(e,!0);else{for(let e of t.values.keys())t.owners.has(e)||t.owners.set(e,t.owner);t.carried.push(t.owner),Pt.add(t.owner),t.owner=e}},zt=()=>{let e=ce(`opacity`);for(let t of Nt)t.fadeIn==null?t.restore!=null&&(e=t.restore):e=t.fadeIn.to;return e},Bt=e=>{e.timer!=null&&clearTimeout(e.timer),Nt.delete(e)},Vt=e=>{let t=b.get(`opacity`),r=y.get(`opacity`)?.owner;if(t==null||r==null||r!==e.owner&&!e.carried.includes(r))return 0;if(t.playState===`paused`)return RF;let i=t.startTime,a=Number(t.effect?.getTiming?.().duration);if(!Number.isFinite(a))return 0;if(i==null)return t.playState===`running`?zF:0;let o=Number(i)+a-LF;if(e.due!=null&&o<=e.due)return 0;let s=o-n();return s>0?s:0},Ht=e=>{let t=Vt(e);t>0?(e.due=n()+t,e.timer=setTimeout(()=>Ht(e),t)):Wt(e)},Ut=(e,t,r,i)=>{let a=new Map;for(let t of r.values.keys())a.set(t,i?.owners.get(t)??e);let o={...r,owner:e,carried:i?.carried??[],owners:a,timer:null,due:null};Nt.add(o),e.timer!=null&&(clearTimeout(e.timer),e.timer=null),t.then(e=>{Nt.has(o)&&(o.due=e+o.at,o.timer=setTimeout(()=>Ht(o),Math.max(0,o.due-n())))})},Wt=e=>{Nt.delete(e),e.timer=null;let t=n(),r=[];for(let[t,n]of e.values)y.delete(t),_[t]=n,r.push(t);let i=t,a=e.due==null?0:Math.max(0,t-e.due),o=e.fadeIn!=null&&a>=e.fadeIn.ms;if(e.fadeIn!=null&&!o){let n=e.fadeIn.ms-a;y.set(`opacity`,ft(e.owner,t,[{at:0,value:q(`opacity`,t)},{at:n,value:e.fadeIn.to}])),r.push(`opacity`),i=t+n}else e.fadeIn==null?e.restore!=null&&(y.delete(`opacity`),_.opacity=e.restoreIsBorrowed===!0?bF.opacity:e.restore,r.push(`opacity`)):(y.delete(`opacity`),_.opacity=e.fadeIn.isBorrowed===!0?bF.opacity:e.fadeIn.to,r.push(`opacity`));Mt(r,t),e.restoreIsBorrowed===!0||o&&e.fadeIn?.isBorrowed===!0?Ee():e.fadeIn?.isBorrowed===!0&&(T=e.fadeIn.to);for(let t of e.carried)Pt.delete(t),t.settled||it(t,!0);let{owner:s}=e;s.settled||(i<=t?it(s,!0):s.timer=setTimeout(()=>at(s),Math.max(0,i-n())))},Gt=(e,t)=>{for(let t of e)t!==`opacity`&&Ft(t);if(t)for(let e of[...Nt]){for(let t of[e.owner,...e.carried])Kt.has(t)&&!t.settled&&it(t,!1);if(!(e.values.size>0)){Bt(e),(e.fadeIn?.isBorrowed===!0||e.restoreIsBorrowed===!0)&&(T=null);for(let t of[e.owner,...e.carried])Pt.delete(t),t.settled||it(t,!1)}}else for(let e of[...Nt])e.values.size===0&&e.fadeIn!=null&&(Bt(e),Wt(e))},Kt=new WeakSet,qt=null,Jt={valueAt:q,opacityHeading:()=>qt??zt(),ownOpacity:()=>we(),writesOwnOpacity:()=>Te(),get borrowedOpacity(){return T},get hasOpacityCurve(){return y.has(`opacity`)},get restingOpacity(){return _.opacity},get hasPendingLanding(){return Nt.size>0},get hasWaitingDip(){return[...Nt].some(e=>e.fadeIn!=null)}},Yt=(e,t,n,r,i,a)=>{let o=zt();Gt(r,n.opacity!=null||a!=null),n.opacity!=null&&Kt.add(e),qt=o;let s;try{s=KP(Jt,t,n,r,i,a)}finally{qt=null}let c={};for(let e of s.atOnce)c[e]=null;return s.opacityFade!=null&&(c.opacity=ft(e,t,s.opacityFade)),{next:c,holds:s.holds,landing:s.landing,borrowed:s.borrowed,joins:s.joins}},Xt={get element(){return E},reducedMotion(e={}){return h()?g()||e.touchRelease===!0?`crossfade`:`instant`:`off`},attach(e){if(e===E)return;Ke(),ue(!1),yt(),mt.clear(),e==null?(A=E,k||(k=!0,queueMicrotask(()=>{if(!k)return;k=!1,j(()=>{De(!1);for(let e of b.values())e.cancel();b.clear();for(let e of x.values())clearTimeout(e);x.clear();for(let e of C.values())clearTimeout(e);C.clear(),S.clear(),Ve(),Re()}),A=null;let e=n();for(let t of vF)rt(t,e);for(let e of[...O])e.settle()}))):(k=!1,A=null),Ve();let t=T!=null||[...Nt].some(e=>e.restoreIsBorrowed===!0),r=a==null||E==null?null:new Set(Object.keys(BF).filter(e=>b.has(e)&&!(e===`opacity`&&t)&&BF[e].every(e=>!y.has(e)&&_[e]===bF[e])));for(let e of b.values())e.cancel();b.clear();for(let e of x.values())clearTimeout(e);x.clear();for(let e of C.values())clearTimeout(e);if(C.clear(),S.clear(),t&&Ee(),E!=null){let e=E;U=r??new Set(Object.keys(BF).filter(t=>e.style.getPropertyValue(u(t))===m(t)))}let i=U;if(E=e,Re(),z=!1,E==null)return;U=new Set;let o=n(),s=y.get(`opacity`);T!=null&&(s==null||o>=s.start+s.duration)&&(T=null,y.delete(`opacity`),_.opacity=bF.opacity);for(let e of Object.keys(BF))BF[e].every(e=>!y.has(e)&&_[e]===bF[e])?i.has(e)&&(a==null?de(e,e=>_[e]):ge(e,o)):Se(e,o);Me(),Le()},get(e,t=n()){return Qe(),q(e===`scale`?`scaleX`:e,t)},getVelocity(e,t=n()){return Qe(),oe(e===`scale`?`scaleX`:e,t)},set(e,t={}){Qe(),Ke();let r=n(),i=dF(e);for(let[e,t]of Object.entries(i))rt(e,r),y.delete(e),pt.delete(e),_[e]=t;if(t.promote!==!1)for(let e of Object.keys(i))ze(VF[e]);Mt(Object.keys(i),r)},animate(e,t,r={}){Qe(),r.start!==`presented`&&Ke();let i=r.at??ZP(n),a=dF(e),o=dF(t.velocity??{}),{owner:s,finished:c}=st();nt.set(s,t.spring);let l=Object.keys(a),u={},d=null;if(h())d=Yt(s,i,a,l,g()||r.touchRelease===!0,r.crossfadeAs),Object.assign(u,d.next);else for(let e of l){let n=r.additive===!0&&o[e]==null?te(e,i):null;if(n!=null&&!W(n)){u[e]=ut(s,e,i,a[e],t.spring,n);continue}let c=o[e],l=oe(e,i),d=ct(s,e,i,a[e],t.spring,c??l),f=c!=null&&Math.abs(c-l)>SF[e]*TF;u[e]=d!=null&&f?{...d,handedVelocity:c}:d}let f=He(i,Object.keys(u),r.at,r.start);f!=null&&r.at==null&&r.start===`next-frame`&&(f.nextFrame=!0);let p=Ot(Object.keys(u),i,f,r.at),m=d?.landing==null?null:Lt(d.landing,Object.keys(u)),v=[];for(let[e,t]of Object.entries(u))if(rt(e,i),v.push(e),t==null){let t=d?.holds[e]??a[e]??q(e,i);y.delete(e),_[e]=t}else y.set(e,t);Ue(f,s,v,i,r.start===`presented`&&r.at==null,p),d?.borrowed!=null&&(T=d.borrowed),d?.joins===!0&&Rt(s);let b=d?.joins===!0?ot(s,[`opacity`],c,i,f,!0):ot(s,v,c,i,f);return d?.landing!=null&&Ut(s,b.started,d.landing,m),b},play(e,t={}){Qe(),t.start!==`presented`&&Ke();let r=t.at??ZP(n),{owner:i,finished:a}=st(),o={},s=Object.entries(e).sort(([e],[t])=>Number(t===`scale`)-Number(e===`scale`));for(let[e,t]of s)if(t!=null){if(!Number.isFinite(t.duration)||t.duration<0)throw RangeError(`animator: a curve needs a finite duration ≥ 0 (got ${t.duration})`);for(let n of _F([e]))o[n]=t}let c=Object.keys(o),l={};for(let e of c){let t=o[e];l[e]=t.at(t.duration)}let u=h()?Yt(i,r,l,c,g()||t.touchRelease===!0,t.crossfadeAs):null,d={...u?.next};for(let e of c){if(e in d)continue;let n=o[e],a=t.additive===!0?te(e,r):null;d[e]=a!=null&&!W(a)&&n.duration>0&&Math.abs(n.at(n.duration)-n.at(0))>1e-9?dt(i,r,n,a):n.duration===0?null:{start:r,duration:Math.min(EF,n.duration*1e3),target:l[e],at:e=>n.at(e/1e3),speed:e=>n.velocity(e/1e3),jumps:[],owner:i,source:n}}let f=He(r,Object.keys(d),t.at,t.start);f!=null&&t.at==null&&t.start===`next-frame`&&(f.nextFrame=!0);let p=Ot(Object.keys(d),r,f,t.at),m=u?.landing==null?null:Lt(u.landing,Object.keys(d)),v=[];for(let[e,t]of Object.entries(d))if(rt(e,r),v.push(e),t==null){let t=u?.holds[e]??l[e]??q(e,r);y.delete(e),_[e]=t}else y.set(e,t);Ue(f,i,v,r,t.start===`presented`&&t.at==null,p),u?.borrowed!=null&&(T=u.borrowed),u?.joins===!0&&Rt(i);let b=u?.joins===!0?ot(i,[`opacity`],a,r,f,!0):ot(i,v,a,r,f);return u?.landing!=null&&Ut(i,b.started,u.landing,m),b},decay(e,t={}){Qe(),Ke();let r=t.at??ZP(n),i=h(),a={};for(let t of yF){let n=e[t];i&&n?.isTransition===!0&&(a[t]=n.at(n.duration))}let o=Object.keys(a).length>0?Xt.animate(a,WF,{at:r,touchRelease:t.touchRelease}):null,{owner:s,finished:c}=st(),l=yF.filter(t=>e[t]!=null&&a[t]===void 0);if(o!=null&&l.length===0)return o;let u=He(r,l,t.at),d=Ot(l,r,u,t.at);for(let t of l){let n=e[t];rt(t,r),n.duration>0?y.set(t,{start:r,duration:Math.min(EF,n.duration*1e3),target:n.at(n.duration),at:e=>n.at(e/1e3),speed:e=>n.velocity(e/1e3),jumps:[],owner:s}):(y.delete(t),_[t]=n.at(0))}Ue(u,s,l,r,!1,d);let f=ot(s,l,c,r,u);if(o==null)return f;let p=o,m=e=>p.properties.includes(e);return{...f,properties:[...f.properties,...p.properties],started:Promise.all([f.started,p.started]).then(([e])=>e),finished:Promise.all([f.finished,p.finished]).then(([e,t])=>e&&t),value:(e,t)=>m(e)?p.value(e,t):f.value(e,t),velocity:(e,t)=>m(e)?p.velocity(e,t):f.velocity(e,t),stop:()=>{f.stop(),p.stop()}}},stop(e){Qe(),Ke();let t=n(),r=e==null?vF:_F(e),i=[],a=T!=null||[...Nt].some(e=>e.restoreIsBorrowed===!0),o=zt();for(let e of r){Ft(e);let n=y.get(e);if(n==null)continue;let r=pt.get(e);pt.delete(e);let s=n.isFade?a?bF.opacity:o:r!=null&&t-r.since>34?kt(r,t).value:q(e,t);rt(e,t),y.delete(e),_[e]=s,i.push(e)}Mt(i,t),a&&i.includes(`opacity`)&&Ee()},rebase(e,t={}){Qe(),Ke();let r=t.at??n(),i=dF(t.towards??{}),a=[],o=new Set;for(let[t,n]of Object.entries(dF(e))){if(n===0)continue;let e=pt.get(t);e!=null&&(e.offset+=n);let s=te(t,r);if(s==null){a.push(t),_[t]=q(t,r)+n,y.delete(t);continue}o.add(s.owner);let c=re(t,s),l=c==null&&s.group!=null&&!s.group.resolved?s.group:void 0,u=e=>{l!=null&&_e(l,s,e),y.set(t,e)},d=i[t];if(s.spring!=null&&d!=null&&Math.abs(s.target+n-d)<=DF){let e={...s,target:d,at:e=>s.at(e)+n};if(c==null){a.push(t),u(e);continue}let r=s.group;if(r!=null&&!r.resolved){_e(r,s,e),y.set(t,e),be(VF[t]);continue}}if(a.push(t),s.spring!=null){let e=q(t,r)+n,i=oe(t,r);c!=null&&K(s,VF[t],c);let a=ym(vm(s.spring),{from:e,to:s.target,velocity:i});u({start:l?.provisional??r,...l==null?{}:{group:l},duration:Math.min(EF,a.settleTime(xF[t])*1e3),target:s.target,at:e=>a.value(e/1e3),speed:e=>a.velocity(e/1e3),jumps:[],owner:s.owner,spring:s.spring})}else c!=null&&K(s,VF[t],c),u({...s,source:void 0,target:s.target+n,at:e=>s.at(e)+n})}Mt(a.filter(e=>!mt.has(VF[e])),r);for(let e of new Set(a.map(e=>VF[e])))mt.has(e)&&Dt(e,r);for(let e of o){if(e.settled||e.timer==null)continue;clearTimeout(e.timer);let t=r;for(let n of y.values())n.owner===e&&(t=Math.max(t,n.start+n.duration));e.timer=setTimeout(()=>at(e),Math.max(0,t-n()))}},async atRest(e){let t=e==null?vF:_F(e);return new Promise(e=>{let r={timer:null,settle:()=>{}},i=()=>{r.timer!=null&&clearTimeout(r.timer),O.delete(r),e()};r.settle=i,O.add(r);let a=()=>{r.timer=null,Qe();let e=n(),o=e;for(let e of t){let t=y.get(e);t!=null&&(o=Math.max(o,t.start+t.duration))}Nt.size>0?r.timer=setTimeout(a,16):o<=e?i():r.timer=setTimeout(a,o-e)};a()})},dispose(){Ke(),E==null&&k&&(E=A),A=null,k=!1,De(!1);for(let e of[...O])e.settle();let e=n();for(let t of vF)rt(t,e);for(let e of b.values())e.cancel();b.clear(),ve.clear(),yt(),mt.clear();for(let e of x.values())clearTimeout(e);x.clear(),ue(!1);for(let e of C.values())clearTimeout(e);C.clear(),S.clear(),Oe(),Ve(),Re(),E=null}};return Xt.attach(e),Xt}function _F(e){let t=new Set;for(let n of e)n===`scale`?(t.add(`scaleX`),t.add(`scaleY`)):t.add(n);return[...t]}var vF,yF,bF,xF,SF,CF,wF,TF,EF,DF,OF,kF,AF,jF,MF,NF,PF,FF,IF,LF,RF,zF,BF,VF,HF,UF,WF,GF=o((()=>{Zp(),_P(),Cm(),MP(),GP(),eh(),YP(),fc(),vF=[`x`,`y`,`rotate`,`scaleX`,`scaleY`,`opacity`],yF=[`x`,`y`],bF={x:0,y:0,rotate:0,scaleX:1,scaleY:1,opacity:1},xF={x:.05,y:.05,rotate:.01,scaleX:1e-4,scaleY:1e-4,opacity:.001},SF={x:.25,y:.25,rotate:.05,scaleX:5e-4,scaleY:5e-4,opacity:.004},CF=1e3/30,wF=2,TF=60,EF=3e4,DF=1e-6,OF=null,kF=0,AF=null,jF=null,MF=[],NF=new Map,PF=null,FF=null,IF=1200,LF=6e4,RF=100,zF=1e3/60,BF={translate:[`x`,`y`],rotate:[`rotate`],scale:[`scaleX`,`scaleY`],opacity:[`opacity`]},VF={x:`translate`,y:`translate`,rotate:`rotate`,scaleX:`scale`,scaleY:`scale`,opacity:`opacity`},HF=new WeakMap,UF={translate:`none`,rotate:`none`,scale:`none`,opacity:`1`},WF={spring:{duration:.5,bounce:0}}}));function KF(e,t){return jm(`springs.${e}`,t)}function qF(){Am(`springs`,AI,{roles:Object.keys(AI)})}var JF,YF,XF,ZF,QF,$F,eI,tI,nI,rI,iI,aI,oI,sI,cI,lI,uI,dI,fI,pI,mI,hI,gI,_I,vI,yI,bI,xI,SI,CI,wI,TI,EI,DI,OI,kI,AI,jI=o((()=>{Km(),JF=KF(`settle`,{duration:.5,bounce:0}),YF=KF(`quickChange`,{duration:.5,bounce:.15}),XF=KF(`emphasis`,{duration:.5,bounce:.3}),ZF=KF(`fingerTracking`,{response:.15,dampingRatio:.86}),QF=KF(`stateChange`,{response:.55,dampingRatio:1}),$F=KF(`directChange`,{response:.5,dampingRatio:.825}),eI=KF(`timedChange`,{duration:.5,bounce:0}),tI=KF(`viewChange`,{mass:3,stiffness:1e3,damping:500}),nI={response:.3,dampingRatio:1},rI={response:.3,dampingRatio:1},iI={response:.3,dampingRatio:.85},aI={duration:.6,bounce:0},oI={mass:3,stiffness:1e3,damping:500},sI={mass:3,stiffness:1e3,damping:500},cI={response:.3441442326,dampingRatio:1},lI={response:.3441442326,dampingRatio:.8},uI=KF(`sheetDismissSwipe`,{response:.3441442326,dampingRatio:.8}),dI={mass:1,stiffness:522.35,damping:45.71},fI={mass:1,stiffness:522.35,damping:45.71},pI={mass:1,stiffness:522.35,damping:45.71},mI={mass:1,stiffness:522.35,damping:45.71},hI=KF(`menuOpen`,{response:.32,dampingRatio:.8}),gI=KF(`menuClose`,{response:.35,dampingRatio:.85}),_I=KF(`subMenuOpen`,{response:.4,dampingRatio:.85}),vI=KF(`subMenuBack`,{response:.4,dampingRatio:1}),yI=KF(`contextMenuLift`,{response:.32,dampingRatio:.8}),bI=KF(`contextMenuDismiss`,{response:.35,dampingRatio:.85}),xI=KF(`contextMenuMorph`,{response:.3,dampingRatio:.8}),SI={response:.4,dampingRatio:1},CI={response:.3,dampingRatio:1},wI={mass:1,stiffness:555.0265,damping:47.118},TI={mass:3,stiffness:1e3,damping:500},EI=KF(`sliderRelease`,{response:.4,dampingRatio:1}),DI=KF(`sliderLift`,{response:.215,dampingRatio:.6}),OI=KF(`sliderDrop`,{response:.5,dampingRatio:.7}),kI={settle:JF,quickChange:YF,emphasis:XF,fingerTracking:ZF,stateChange:QF,directChange:$F,timedChange:eI,viewChange:tI,navigationPush:nI,navigationPop:rI,navigationInteractivePopFinish:iI,navigationBarElements:aI,sheetPresent:oI,sheetDismiss:sI,sheetDetent:cI,sheetReleaseFast:lI,sheetDismissSwipe:uI,alertPresent:dI,alertDismiss:fI,actionSheetPresent:pI,actionSheetDismiss:mI,menuOpen:hI,menuClose:gI,subMenuOpen:_I,subMenuBack:vI,contextMenuLift:yI,contextMenuDismiss:bI,contextMenuMorph:xI,menuReducedMotion:SI,switchThumbMove:CI,keyboard:wI,banner:TI,sliderRelease:EI,sliderLift:DI,sliderDrop:OI},AI={fingerTracking:ZF,emphasis:XF,settle:JF,quickChange:YF,viewChange:tI,timedChange:eI,stateChange:QF,directChange:$F,menuOpen:hI,menuClose:gI,subMenuOpen:_I,subMenuBack:vI,sheetDismissSwipe:uI,contextMenuLift:yI,contextMenuDismiss:bI,contextMenuMorph:xI,sliderRelease:EI,sliderLift:DI,sliderDrop:OI}}));function MI(e,t={}){if(!pF()&&!uc(e))return null;if(!(t.touchRelease===!0||mF()))return{duration:0,easing:`linear`};e!=null&&qm();let n=e==null?Ym.curve:VP(e,Ym.curve);return{duration:Ym.durationMs,easing:`cubic-bezier(${n.join(`, `)})`}}var NI=o((()=>{GF(),GP(),fc(),eh()}));function PI(e,t){let n=e.ownerDocument.defaultView;if(n==null)return null;for(let r=e.parentElement;r!=null;r=r.parentElement){if(K_.has(n.getComputedStyle(r).overflowY)&&r.scrollHeight>r.clientHeight)return r;if(r===t)return null}return null}function FI(e){let t=e.ownerDocument,n=PI(e);return n==null||n===t.body||n===t.documentElement?t.scrollingElement??t.documentElement:n}var II=o((()=>{J_()}));function LI(e,t,n,r){return r<=n?0:t>r?t-r:e{}));function zI(e,t,n,{entrance:r=!1}={}){if(!n.animated||n.curve==null||performance.now()>=n.start+n.curve.durationMs)return e.set(t),null;let i=r?{at:n.start,crossfadeAs:`entrance`}:{at:n.start},a=n.curve.durationMs/1e3,o=Xp(n.curve.points),s={};for(let[r,i]of Object.entries(t)){let t=e.get(r,n.start),c=e=>t+(i-t)*o(Math.min(1,Math.max(0,e/a)));s[r]={duration:a,at:c,velocity:e=>{if(e>=a)return 0;let t=Math.max(0,e-.001),n=Math.min(a,e+.001);return(c(n)-c(t))/(n-t)}}}return e.play(s,i)}var BI=o((()=>{Zp()}));function VI(e){return hL.add(e),()=>{hL.delete(e)}}function One(e){for(let t=e.parentElement;t!=null;t=t.parentElement)if(hL.has(t))return!0;return!1}function HI(e,t){return e.getBoundingClientRect().bottom-t.get(`y`)}function UI(e){let t=e.ownerDocument.defaultView?.getComputedStyle(e).translate??``;return parseFloat(t.split(` `)[1]??``)||0}function kne(e){let t=e.ownerDocument.defaultView,n=WI(e);if(t==null||n==null)return null;let r=GI(n,t);return r===`docked`?{docked:n}:r}function WI(e){let t=e.ownerDocument.defaultView;if(t==null)return null;for(let n=e.parentElement;n!=null;n=n.parentElement)if(t.getComputedStyle(n).position===`fixed`)return n;return null}function Ane(e,t){let n=t.getComputedStyle(e).transform,r=/^matrix(3d)?\\(([^)]*)\\)$/.exec(n);if(r==null)return 0;let i=(r[2]??``).split(`,`).map(Number),a=r[1]==null?i[5]:i[13];return a!=null&&Number.isFinite(a)?a:0}function GI(e,t){let n=sd(t),r=e.getBoundingClientRect();if(r.height>=n-1)return`fills-viewport`;let i=r.bottom-UI(e)-Ane(e,t);return Math.abs(n-i)<=1?`docked`:`floating`}function jne(e,t){let n=t.getComputedStyle(e).translate;if(n===``||n===`none`)return!1;let r=gL.get(e);return r==null||r.get(`y`)===0}function Mne(e){if(`transitionProperty`in e)return[String(e.transitionProperty)];let t=e.effect;if(t==null||!(`getKeyframes`in t))return[];let n=new Set;for(let e of t.getKeyframes())for(let t of Object.keys(e))vL.has(t)||n.add(t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`));return[...n]}function KI(e){if(typeof e.getAnimations!=`function`)return!1;let t=gL.has(e);return e.getAnimations().some(e=>{if(e.playState!==`running`)return!1;let n=`transitionProperty`in e;if(!n&&!(`animationName`in e))return!1;let r=Mne(e);return t&&n&&r.every(e=>e===`translate`)?!1:r.some(e=>_L.has(e))})}function qI(e){let t=e.ownerDocument.defaultView;return t!=null&&t.getComputedStyle(e).position===`fixed`&&GI(e,t)===`docked`}function JI(e,t,n,r){let i=e+n-(sd(r)-t);return t>0&&i>1?i:0}function Nne(e,t,n,r,i,a){if(!a&&(!qI(e)||KI(e)))return 0;let o=JI(HI(e,t),n,0,i),s=nL(e);if(s!=null){if(!a)return o;let e=JI(HI(s,t),n,r,i);return Math.max(o,e)}return lf(e.ownerDocument.activeElement)?0:t.get(`y`)<0?o:0}function YI(e,t,n,r=`instant`){let i=e.ownerDocument;e===(i.scrollingElement??i.documentElement)?n.scrollBy({top:t,behavior:r}):typeof e.scrollBy==`function`?e.scrollBy({top:t,behavior:r}):e.scrollTop+=t}function Pne(e,t){let n=e.ownerDocument,r=e===(n.scrollingElement??n.documentElement)?sd(t):e.clientHeight;return Math.max(0,e.scrollHeight-r)}function Fne(e){return rs(e.ownerDocument.defaultView)&&MI(e)==null}function XI(e,t,n,r,i=0){let a=e.ownerDocument,o=sd(r)-t,s=0,c=t>1?o-n:o;if(e!==(a.scrollingElement??a.documentElement)){let t=e.getBoundingClientRect();s=Math.max(s,t.top+i),c=Math.min(c,t.bottom+i)}return{top:s,bottom:c}}function ZI(e,t,n,r,i,a=0){let o=XI(t,n,r,i,a),s=e.getBoundingClientRect();return LI(s.top+a,s.bottom+a,o.top,o.bottom)}function QI(e,t,n,r,i,a=0){let o=XI(t,n,r,i),s=e.getBoundingClientRect();return s.top+a>=o.top-1&&s.bottom+a<=o.bottom+1}function $I(e,t,n,r,i,a=!0){let o=ZI(e,t,n,r,i);if(Math.abs(o)<=1)return 0;let s=uL(t,i),c=Math.min(Math.max(s+o,0),Pne(t,i)),l=a&&n>1&&Math.abs(c-s-o)<=1&&QI(e,t,n,r,i,-o)&&Fne(e),u=Wne(t,i)??s;return YI(t,o,i,l?`smooth`:`instant`),n>1&&fL(t,u,i,l?c:void 0),l?c-uL(t,i):0}function eL(e,t,n,r){yf(e,t,n);let i=e.ownerDocument.defaultView,a={bubbles:!0,cancelable:!0,composed:!0,detail:1,clientX:t,clientY:n,screenX:r.screenX,screenY:r.screenY},o=i?.PointerEvent,s=typeof o==`function`?new o(`click`,{...a,pointerType:`touch`,isPrimary:!0,pointerId:r.identifier}):new((i?.MouseEvent)??MouseEvent)(`click`,a);e.dispatchEvent(s)}function tL(e,t,n=!1){let r=pf(e,{owns:t,documentScrollIsReveal:n}),i=cf(e),a=null;return{report(t){let n=e.visualViewport?.offsetTop??0;t===i?a!=null&&Math.abs(n-a)<=1?(a=null,r.report()):r.isRevealPan(t)&&r.putBack():(a==null&&i>1&&r.isRevealPan(t)&&r.putBack(),i=t,r.report())},expectPan(e){a=e},stop:()=>r.stop()}}function Ine(e,t,n,r){let i=n.visualViewport;if(i==null)return!1;let a=e.getBoundingClientRect(),o=a.bottom+t-(i.offsetTop+i.height);if(o<=1)return!0;let s=sd(n)-i.offsetTop-i.height,c=Math.min(o,s,a.top-i.offsetTop);if(c<=1)return!1;let l=i.offsetTop+c;return r.expectPan(l),hf(n,l),c>=o-1}function nL(e){let t=e.ownerDocument.activeElement;return t!=null&&t!==e&&e.contains(t)&&lf(t)?t:null}function rL(e){return e!=null&&Qd(e)&&ss(e)}function Lne(e,{move:t,offset:n}){let r=e.ownerDocument,i=r.defaultView;if(!rL(i))return()=>{};let a=VI(e),o=cL(i),s=df(r,{claim:t=>t instanceof i.HTMLElement&&t!==e&&e.contains(t)&&lf(t)?t:null}),c=gf(e,{claim:t=>{let n=uf(t,e);return n!=null&&n!==r.activeElement?n:null},deliver:eL}),l=t===`ride`?aL(e,n,i,!0):iL(e,()=>nL(e),e,n,i);return()=>{l(!0),c(),s(),o(),a()}}function iL(e,t,n,r,i,a=`keep`){let o=n.ownerDocument,s=o.scrollingElement??o.documentElement,c=!0,l=!1,u=0,d=e=>{let o=t();if(o==null)return;l=e>1,u=yu(i).starts;let d=$I(o,n,e,r,i);if(a!==`keep`&&(c=d!==0||QI(o,n,e,r,i),!(c||e<=1))){if(a===`document`){if(n!==s&&$I(o,s,e,r,i)!==0){c=!0;return}}else{let t=o.getBoundingClientRect().top,n=i.scrollY;if($I(o,s,e,r,i,!1),Math.abs(o.getBoundingClientRect().top-t)<=1){let e=i.scrollY-n;if(e!==0){let t=i.scrollY;i.scrollBy({top:-e,behavior:`instant`}),fL(s,t,i)}}}c=Ine(o,r,i,f)}},f=tL(i,e=>e===t()&&c),p=cf(i),m=()=>sf(i)&&yu(i).starts!==u,h=of(i,e=>{e.type===`viewport`&&(Math.abs(e.height-p)>1&&(p=e.height,l&&m()||d(e.height)),f.report(e.height))}),g=()=>{pL(i),d(cf(i))};return e.addEventListener(`focusin`,g),d(cf(i)),()=>{h(),f.stop(),e.removeEventListener(`focusin`,g)}}function Rne(e,t,n){return t>1&&e.getBoundingClientRect().height>sd(n)-t+1}function zne(e){let t=nL(e),n=t==null?null:PI(t,e);return t==null||n==null?null:{field:t,scroller:n}}function Bne(e,t,n,r,i){if(!qI(e)||KI(e))return 0;let a=JI(HI(e,t),n,0,i),o=nL(e);if(o==null)return lf(e.ownerDocument.activeElement)?0:Math.min(Math.max(0,-t.get(`y`)),a);let s=JI(HI(o,t),n,r,i);return Math.min(s,a)}function Vne(e,t,n,r){let i=nL(e);if(i==null)return null;let a=JI(HI(i,t),n,4,r);return a>0?-a:null}function aL(e,t,n,r){yL.get(e)?.();let i=cF(e);gL.set(e,i);let a=tm(n)===`chromium`?am(n):null,o=`riding`,s=null,c=null,l=tL(n,t=>e.contains(t),a!=null),u=0,d=null,f=()=>{o=`ended`,s?.(),c?.(),s=null,c=null,l.stop(),h(),u!==0&&(n.cancelAnimationFrame(u),u=0),yL.get(e)===f&&yL.delete(e)};yL.set(e,f);let p=(a,s)=>{if(o===`ended`)return;let c=!r&&Rne(e,a,n),l=c?zne(e):null,u=c?l==null?Bne(e,i,a,t,n):0:Nne(e,i,a,t,n,r),d=u>0?-u:0,p=l==null?0:ZI(l.field,l.scroller,a,t,n,d-i.get(`y`));if(l!=null&&Math.abs(p)>1&&YI(l.scroller,p,n),d!==0||i.get(`y`)!==0){if(s==null)i.set({y:d});else{let t=s.kind===`show`?Vne(e,i,a,n):null;t!=null&&d{e!=null&&(d=e),u===0&&(u=n.requestAnimationFrame(()=>{u=0;let e=d;d=null,p(e?.to??a?.inset??cf(n),e)}))};s=of(n,e=>{e.type===`viewport`&&(a??m(null),l.report(e.height))}),a!=null&&(c=a.subscribe(m));let h=bu(n,`focusin`,()=>m(null));return m(null),(e=!1)=>{o!==`ended`&&(e||cf(n)<=1?(f(),i.get(`y`)!==0&&i.set({y:0})):o=`waiting`)}}function Hne(e,t,n,r){let i=t.scrollHeight-t.clientHeight-t.scrollTop,a=e.getBoundingClientRect();if(i=a.height-1}function oL(e,t,n){if(One(e))return null;let r=kne(e);if(r===`floating`||r===`fills-viewport`)return sL(e,WI(e),t,n);if(r==null){let t=FI(e);return t.scrollHeight>t.clientHeight?{reveal:t,unplaced:`document`}:null}let i=e.ownerDocument.defaultView;return i!=null&&jne(r.docked,i)?sL(e,r.docked,t,n):{ride:r.docked}}function sL(e,t,n,r){let i=t==null?null:PI(e,t);return i==null||!Hne(e,i,n,r)?null:{reveal:i,unplaced:`fixed`}}function Une(e,{offset:t=10}={}){let n=e.ownerDocument,r=n.defaultView;if(!rL(r))return()=>{};let i=cL(r),a=df(n,{claim:n=>n===e&&oL(e,t,r)!=null?e:null}),o=gf(e,{claim:()=>n.activeElement!==e&&oL(e,t,r)!=null?e:null,deliver:eL}),s=null,c=null,l=()=>{if(s!=null)return;let i=oL(e,t,r);i!=null&&(pL(r),s=`ride`in i?aL(i.ride,t,r,!1):iL(e,()=>n.activeElement===e?e:null,i.reveal,t,r,i.unplaced))},u=()=>{s?.(),c=s??c,s=null};return e.addEventListener(`focus`,l),e.addEventListener(`blur`,u),n.activeElement===e&&l(),()=>{e.removeEventListener(`focus`,l),e.removeEventListener(`blur`,u),s?.(!0),c?.(!0),s=null,c=null,o(),a(),i()}}function cL(e){CL.set(e,(CL.get(e)??0)+1);let t=!0;return()=>{if(!t)return;t=!1;let n=(CL.get(e)??1)-1;CL.set(e,n),n===0&&(xL.get(e)?.(),SL.get(e)?.())}}function lL(e){let t=e.ownerDocument;return e===(t.scrollingElement??t.documentElement)}function uL(e,t){return lL(e)?t.scrollY:e.scrollTop}function dL(e,t,n,r){lL(e)?r.scrollTo({top:t,behavior:n}):typeof e.scrollTo==`function`?e.scrollTo({top:t,behavior:n}):e.scrollTop=t}function fL(e,t,n,r=uL(e,n)){let i=r,a=bL.get(n)?.get(e);a==null?Math.abs(i-t)>=.5&&(bL.get(n)??Gne(n)).set(e,{from:t,at:i,isBack:!1}):a.at=a.at!=null&&Math.abs(t-a.at)<=1?i:null}function Wne(e,t){let n=bL.get(t)?.get(e);if(n?.at==null)return null;let r=uL(e,t),i=Math.min(n.from,n.at)-1,a=Math.max(n.from,n.at)+1;return r>=i&&r<=a?n.at:null}function Gne(e){let t=new Map,n=of(e,n=>{n.type===`viewport`&&n.height<=1&&(o(),qne(e,t))}),r=null,i=rs(e.document.defaultView)?a():[];function a(){return[bu(e,`touchstart`,()=>{}),bu(e,`touchend`,()=>{}),bu(e,`touchcancel`,()=>{}),bu(e,`focusout`,()=>{r!=null&&e.clearTimeout(r),r=e.setTimeout(()=>{r=null;let n=e.document.activeElement;yu(e).fingers===0&&(n==null||!nm(n)&&!im(n))&&Kne(e,t)},0)})]}function o(){n();for(let e of i)e();r!=null&&(e.clearTimeout(r),r=null),bL.delete(e),xL.delete(e)}return bL.set(e,t),xL.set(e,o),t}function Kne(e,t){for(let[n,r]of t)r.at==null||MI(n)!=null||Math.abs(uL(n,e)-r.at)>1||(r.at=r.from,r.isBack=!0,dL(n,r.from,`smooth`,e))}function pL(e){for(let[t,n]of bL.get(e)??[]){if(!n.isBack)continue;let r=uL(t,e);dL(t,r,`instant`,e),n.at=r,n.isBack=!1}}function qne(e,t){for(let[n,{from:r,at:i,isBack:a}]of t){if(i==null||a||!n.isConnected)continue;let t=uL(n,e);Math.abs(t-i)<=1?dL(n,r,mL(n),e):lL(n)&&Math.abs(t-r)<=1&&Jne(e,n,r,i)}t.clear()}function mL(e){return MI(e)==null?`smooth`:`instant`}function Jne(e,t,n,r){let i=e.document,a=bu(e,`scroll`,a=>{(a.target===i||a.target===e)&&(l(),Math.abs(uL(t,e)-r)<=1&&dL(t,n,mL(t),e))}),o=bu(e,`touchstart`,()=>l()),s=of(e,e=>{e.type===`viewport`&&e.height>1&&l()}),c=e.setTimeout(l,wL);SL.get(e)?.(),SL.set(e,l);function l(){e.clearTimeout(c),a(),o(),s(),SL.get(e)===l&&SL.delete(e)}}var hL,gL,_L,vL,yL,bL,xL,SL,CL,wL,TL=o((()=>{GF(),NI(),ds(),Pu(),fd(),II(),Xn(),os(),Of(),dm(),RI(),BI(),hL=Yn(`keyboard/keyboard-target/targets`,1),gL=Jn(`keyboard/keyboard-target/ridden-animators`,1),_L=new Set([`transform`,`translate`,`top`,`bottom`,`inset`,`inset-block`,`inset-block-start`,`inset-block-end`]),vL=new Set([`offset`,`computedOffset`,`easing`,`composite`]),yL=Jn(`keyboard/keyboard-target/current-rides`,1),bL=Jn(`keyboard/keyboard-target/scroll-back-added-scrolls`,1),xL=Jn(`keyboard/keyboard-target/scroll-back-stops`,1),SL=Jn(`keyboard/keyboard-target/scroll-back-fold-waits`,1),CL=Jn(`keyboard/keyboard-target/scroll-back-claimants`,1),wL=1e3}));function EL(){return sd(window)-cf(window)}function DL(e,t){let n=e-t;return n>1?n:0}function OL(){return cf(window)<=.5}function kL(){let e=Sd(document);return e!=null&&(nm(e)||im(e))}function AL(e,{move:t,inset:n=!1,offset:r=10,isEnabled:i=!0,isExpanded:a=!0,isOpen:o=!0,isPageScrollLocked:s=!1}={}){let[c,l]=(0,jL.useState)(0),u=(0,jL.useRef)(!1),d=(0,jL.useRef)(!1),f=nu(i),p=nu(a),m=nu(o),h=ps(is,!1),g=(0,jL.useCallback)(t=>{let n=e.current,r=document.activeElement;f.current&&n!=null&&r instanceof HTMLElement&&r!==n&&n.contains(r)&&(d.current=u.current,t==null?r.blur():t.focus({preventScroll:!0}))},[f,e]);return(0,jL.useEffect)(()=>{i&&!o&&g()},[g,i,o]),pP(e,e=>!i||n||!h?()=>{}:t==null?Une(e,{offset:r}):Lne(e,{move:t,offset:r}),`${i}|${t}|${n}|${r}|${h}`),pP(e,e=>{let t=e.querySelector(`[data-scroll-axis]`);if(!i||!n||t==null)return()=>{};let a=VI(e),o=null,c=null,f=0,g=0,_=h&&tm(window)===`chromium`?am(window):null,v=()=>{let e=t.firstElementChild;return _!=null&&e instanceof HTMLElement?cF(e):null},y=()=>{let e=t.firstElementChild;return e instanceof HTMLElement?UI(e):0},b=e=>{let t=_?.transition;return t!=null&&t.kind===`show`&&t.animated&&t.curve!=null&&(e||performance.now(){let n=e!==f,r=n?t.scrollHeight:0;f=e,(0,ML.flushSync)(()=>l(e)),n&&(g=e===0?0:Math.max(0,g+t.scrollHeight-r))},D=()=>{E(0),w!=null&&(c=null,t.scrollTop=w),o=null,C=null,w=null,S=null,u.current=!1,d.current=!1},O=(e,n,r=null,i=null)=>{c=null;let a=r==null?null:v();if(r!=null&&a!=null){let n=t.scrollTop;t.scrollTop=n+e;let o=t.scrollTop-n;if(o!==0){let e=a.get(`y`,r.start)+o;a.set({y:i==null?e:Math.min(e,i)}),zI(a,{y:0},r,{entrance:i!=null})}return}if(typeof t.scrollBy!=`function`){t.scrollTop+=e;return}let o=typeof window.matchMedia==`function`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches,s=n&&!o?`smooth`:`instant`;s===`smooth`&&(c=t.scrollTop+e),t.scrollBy({top:e,behavior:s})},k=()=>{if(c==null)return 0;let e=Math.max(t.scrollTop,t.scrollHeight-t.clientHeight),n=Math.min(c,e)-t.scrollTop;return Math.abs(n)<1?0:n},A=(e,n,i=null)=>{let a=t.getBoundingClientRect(),o=e.getBoundingClientRect(),s=EL(),c=DL(a.bottom,s)>0?r:0,l=a.top,u=Math.min(a.bottom,s-c),d=k()+y(),f=o.bottom-d,p=LI(o.top-d,f,l,u);p>0?O(p,n,i,Math.max(0,s-u-4)):p<0&&O(p,n,i)},j=e=>{let t=EL();if(OL()||DL(e.bodyBottom,t)===0){D();return}let n=Math.max(0,e.bodyBottom-(t-r));E(n)},M=()=>df(document,{isActive:()=>p.current,claim:e=>uf(e,t),park:n=>{m.current&&uf(n,t)&&e.focus({preventScroll:!0})}}),N=(e=!1)=>{if(x!=null&&x.onReveal?.()!==!0)return;let n=EL(),i=document.activeElement,a=i instanceof HTMLElement&&t.contains(i)&&lf(i)?i:null;if(u.current&&OL()){let e=L();D(),p.current&&a!=null&&A(a,!1),e();return}if(!p.current||a==null){if(d.current&&o){let e=L();j(o),e(),p.current&&u.current&&!kL()&&R();return}D();return}u.current&&C!=null&&n>C+.5&&w!=null&&(c=null,t.scrollTop=w,C=n),d.current=!1;let l=t.getBoundingClientRect(),f=DL(l.bottom,n),m=f>0?r:0;o=f>0?{bodyBottom:l.bottom}:null,f>0&&!u.current&&(C=n,w=t.scrollTop,s&&(S={x:window.scrollX,y:window.scrollY})),u.current=f>0;let h=f>0?Math.max(0,l.bottom-(n-m)):0;E(h),A(a,f>0&&!NL.atReport.has(window),f>0?b(e):null)},P=()=>{let e=t.scrollTop,n=Math.max(0,t.scrollHeight-g-t.clientHeight),r=Math.min(n,w??e),i=document.activeElement;if(p.current&&i instanceof HTMLElement&&t.contains(i)&&lf(i)){let a=t.getBoundingClientRect(),o=i.getBoundingClientRect(),s=e-r-y();o.bottom+s>a.bottom?r+=o.bottom+s-a.bottom:o.top+s{let e=t.firstElementChild;return T&&_==null&&e instanceof HTMLElement?cF(e):null},I=(e,t)=>e.animate({y:t},{spring:wI}),L=()=>{let e=F();if(e==null)return()=>{};let n=e.get(`y`)-t.scrollTop;return()=>{let r=n+t.scrollTop;Math.abs(r-e.get(`y`))<.5||(e.set({y:r}),I(e,0))}},R=()=>{let e=F();if(e==null||x!=null)return;let n=t.scrollTop-P();if(n===0)return;let r={release:()=>{x===r&&(x=null)},onReveal:()=>{let n=document.activeElement;if(n instanceof HTMLElement&&t.contains(n)&&kL())return r.release(),I(e,0),!0;if(OL()){r.release();let n=e.get(`y`),i=e.getVelocity(`y`),a=t.scrollTop;D();let o=a-t.scrollTop;Math.abs(n-o)<.5?e.set({y:0}):(e.set({y:n-o}),e.animate({y:0},{spring:wI,velocity:{y:i}}))}return!1}};x=r,I(e,n)},z=e=>{x?.release();let n=v(),r=t.scrollTop-P(),i=n!=null&&r!==0?zI(n,{y:r},e):null,a,o=!1,s=()=>{N(),n?.set({y:0})},c={release:()=>{clearTimeout(a),x===c&&(x=null)},onReveal:()=>(o&&OL()&&(c.release(),s()),!1)};x=c;let l=()=>{x===c&&(o=!0,(!u.current||OL())&&(c.release(),s()))};if(i==null){let t=e.start+(e.curve?.durationMs??0);a=setTimeout(l,Math.max(0,t-performance.now()))}else i.finished.then(l)},B=_?.subscribe(e=>{if(e.curve!=null){if(e.kind===`hide`)u.current&&e.animated&&z(e);else if(x!=null){x.release();let t=v();t!=null&&zI(t,{y:0},e)}}}),V=0,H=()=>{cancelAnimationFrame(V),V=requestAnimationFrame(()=>N())},ee=()=>{let e=S;if(e==null||window.scrollX===e.x&&window.scrollY===e.y)return;window.scrollTo(e.x,e.y);let n=document.activeElement;n instanceof HTMLElement&&t.contains(n)&&lf(n)&&A(n,!1)},U=[],te=()=>{if(typeof ResizeObserver>`u`)return;for(let e of U)e();U=[];let n=new Set([t,e]);for(let e of t.children)n.add(e);let r=document.activeElement;if(r instanceof HTMLElement&&t.contains(r))for(let e=r;e&&e!==t;e=e.parentElement)n.add(e);for(let e of n)U.push(qi(e,H))},W=typeof MutationObserver>`u`?null:new MutationObserver(e=>{e.every(e=>e.type===`attributes`&&e.target===t)||(te(),H())}),G=()=>{te(),H()},ne=()=>{d.current=u.current,H()},re=t=>{t.target===e&&t.propertyName===`transform`&&H()},ie=T?M():null,K=cf(window),q=h?pf(window,{owns:e=>u.current&&t.contains(e),onTouch:()=>{c=null}}):null,ae=of(window,t=>{if(t.type===`viewport`){if(t.height!==K)K=t.height,q?.report(),cancelAnimationFrame(V),N(!0);else if(q?.isRevealPan(t.height)===!0){NL.atReport.add(window),cancelAnimationFrame(V);let t=k();t===0&&N();let n=document.activeElement,r=e.closest(`dialog`);r!=null&&n instanceof HTMLElement&&n.getBoundingClientRect().bottom-y()-t<=EL()&&q?.putBack(r)}else H()}});t.addEventListener(`focusin`,G),t.addEventListener(`focusout`,ne),e.addEventListener(`transitionend`,re);let oe=bu(window,`scroll`,e=>{let t=e.target;(!Zu(t)||$u(t))&&ee()});return W?.observe(t,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),te(),H(),()=>{a(),cancelAnimationFrame(V),ie?.(),ae(),B?.(),x?.release(),(v()??F())?.set({y:0}),q?.stop(),t.removeEventListener(`focusin`,G),t.removeEventListener(`focusout`,ne),e.removeEventListener(`transitionend`,re),oe();for(let e of U)e();W?.disconnect(),l(0),u.current=!1,d.current=!1}},`${i}|${n}|${s}|${h}|${r}`),{inset:c,dismiss:g}}var jL,ML,NL,PL=o((()=>{jL=u(f(),1),ML=g(),gP(),au(),gs(),GF(),jI(),Td(),Pu(),fd(),od(),Qi(),Xn(),Fv(),Of(),dm(),TL(),RI(),BI(),NL=Kn(`keyboard/use-mobile-keyboard/reveals-at-report`,1,()=>({atReport:new WeakSet}))})),Yne={\"@astryx.field.errorFallback\":`Invalid value`,\"@astryx.spinner.loading\":`Loading`,\"@astryx.textInput.clearLabel\":`Clear {label}`};D(),sE(),xO(),ZN(),TT(),Xx(),uE(),MC(),Ox(),bC(),dN(),gN(),vr(),vx(),dP(),PL(),iT();var Xne=GN;Ww(Yne);var Zne=`an error status has no message, so only colour and an icon show the error. Give status.message the text that says what is wrong.`;function FL({type:e=`text`,label:t,isLabelHidden:n=!1,description:r,isOptional:i=!1,isRequired:a=!1,isDisabled:o=!1,isReadOnly:s=!1,disabledMessage:c,startIcon:l,status:u,statusVariant:d=`attached`,size:f,onChange:p,changeAction:m,isLoading:h=!1,value:g,placeholder:_,labelTooltip:v,hasClear:y=!1,hasAutoFocus:b=!1,htmlName:x,onEnter:S,onKeyDown:w,enterKeyHint:T,inputMode:E,autoCapitalize:D,hasAutoCorrect:O,hasSpellCheck:k,width:A,containerXstyle:j,containerClassName:M,containerStyle:N,controlXstyle:P,controlClassName:F,controlStyle:I,ref:L,id:R,\"aria-describedby\":z,\"aria-labelledby\":B,...V}){let H=bE(),ee=(0,X.use)(xE),U=o||ee.isDisabled,{rest:te,container:W}=sP(`TextInput`,V,{containerXstyle:j,containerClassName:M,containerStyle:N}),G=nT(),ne=wne({isRequired:a,isOptional:i}),re=XN(te,U),ie=pE(f,`md`),K=(0,X.useId)(),q=R??K,ae=(0,X.useId)(),oe=(0,X.useId)(),se=(0,X.useId)(),ce=(0,X.useId)(),le=(0,X.useRef)(null);AL(le);let J=(0,X.useRef)(null),[,ue]=(0,X.useTransition)(),[de,fe]=(0,X.useOptimistic)(g),pe=h||de!==g;lP(pe,G(`@astryx.spinner.loading`),J);let me=U&&!!c,he=Gx({placement:`above`,focusTrigger:`always`,isEnabled:me}),{statusIcon:ge,describedBy:_e}=iP({status:u,statusVariant:d,isInGroup:!!H}),ve=!H&&u?.type===`error`&&!u.message;OC(`TextInput`,Zne,ve);let{ariaLabelledBy:ye,ariaDescribedBy:be}=$N(oe,[r?se:null,!H&&(d!==`tooltip`&&u?.message||ve)?ce:null,_e,me?he.describedBy:null],H),xe=B==null?ye:QN(ye??ae,B),Se=e=>{if(U||s)return;let t=e.target.value;p?.(t,e),m&&!e.defaultPrevented&&ue(async()=>{fe(t),await m(t,e)})},Ce=(0,X.useCallback)(e=>{let t=le.current;t!=null&&t.value!==``&&fP(t,``),!e||e.detail===0?le.current?.focus():le.current?.focus({preventScroll:!0})},[]),{onClick:we,onMouseUp:Te}=sN({containerRef:J,inputRef:le,disabled:U}),Ee=(0,Z.jsxs)(`div`,{ref:e=>{J.current=e,he.ref(e)},onClick:we,onMouseUp:Te,...H?SE:void 0,...Q(Y(`text-input`,{size:ie,status:u?.type??null,disabled:U?`disabled`:null,readonly:s?`readonly`:null}),C(WN.base,WN.textField,Xne[ie],U&&WN.disabled,U&&cP.ring,u&&KN[u.type],u&&!U&&qN[u.type],u&&JN[u.type],H&&CE.inGroup,P),F,I),children:[bO(l)&&eE(l,{size:`sm`,color:`secondary`}),H&&(0,Z.jsx)(cE,{id:oe,children:t}),(0,Z.jsx)(`input`,{...re,ref:gx(L,le),id:q,name:U?void 0:x,type:e,...eP({enterKeyHint:T,inputMode:E,autoCapitalize:D,hasAutoCorrect:O}),...k==null?{}:{spellCheck:k},value:de,onChange:Se,onKeyDown:U||S||w?e=>{U?e.key===`Enter`&&e.preventDefault():(e.key===`Enter`&&!Ex(e.nativeEvent)&&S?.(),w?.(e))}:void 0,placeholder:_,\"aria-disabled\":U?`true`:void 0,readOnly:s||U||void 0,autoFocus:b,\"data-autofocus\":b||void 0,\"aria-describedby\":[z,be].filter(Boolean).join(` `)||void 0,\"aria-required\":ne?`true`:void 0,\"aria-invalid\":u?.type===`error`?`true`:void 0,\"aria-busy\":pe||void 0,\"aria-labelledby\":xe,...{0:{className:`x1lliihq x98rzlu xeuugli xc342km xng3xce x1717udv x9ynric xjm74w1 xf9zqsd xw6l6zx x1tgivj0 xjbqb8w x1a2a7pz xeyghm5`},1:{className:`x1lliihq x98rzlu xeuugli xc342km xng3xce x1717udv x9ynric xjm74w1 xf9zqsd xw6l6zx x1tgivj0 xjbqb8w x1a2a7pz xeyghm5 xt0e3qv`}}[!!U|0]}),pe&&(0,Z.jsx)(mT,{size:`sm`,\"aria-hidden\":`true`}),y&&g!==``&&!U&&!s&&(0,Z.jsx)(UN,{label:G(`@astryx.textInput.clearLabel`,{label:t}),onClick:Ce}),ge]});return H?(0,Z.jsxs)(Z.Fragment,{children:[Ee,me&&he.renderTooltip(c)]}):(0,Z.jsxs)(LN,{...W,label:t,isLabelHidden:n,description:r,inputID:q,labelID:B==null?void 0:ae,descriptionID:r?se:void 0,isOptional:i,isRequired:a,isDisabled:U,status:u?{type:u.type,message:u.message,messageID:u.message?ce:void 0}:void 0,statusVariant:d,labelTooltip:v,width:A,children:[Ee,ve&&(0,Z.jsx)(cE,{id:ce,children:G(`@astryx.field.errorFallback`)}),me&&he.renderTooltip(c)]})}FL.displayName=`TextInput`;var Qne={center:{kGNEyG:`x6s0dn4`,$$css:!0},end:{kGNEyG:`xuk3077`,$$css:!0},start:{kGNEyG:`x1cy8zhl`,$$css:!0},stretch:{kGNEyG:`x1qjc9v5`,$$css:!0}},$ne={start:{kjj79g:`x1nhvcw1`,$$css:!0},center:{kjj79g:`xl56j7k`,$$css:!0},end:{kjj79g:`x13a6bvl`,$$css:!0},between:{kjj79g:`x1qughib`,$$css:!0},around:{kjj79g:`x1l1ennw`,$$css:!0},evenly:{kjj79g:`xaw8158`,$$css:!0}},ere={horizontal:{kXwgrk:`x1q0g3np`,$$css:!0},vertical:{kXwgrk:`xdt5ytf`,$$css:!0}},tre={nowrap:{kwnvtZ:`xozqiw3`,$$css:!0},wrap:{kwnvtZ:`x1a02dak`,$$css:!0},\"wrap-reverse\":{kwnvtZ:`x8hhl5t`,$$css:!0}},nre={stack:{k1xSpc:`x78zum5`,$$css:!0}},rre={0:{k1C7PZ:`x1o57wo1`,khm7nJ:`x6yxi7o`,$$css:!0},1:{k1C7PZ:`x1lfs0n9`,khm7nJ:`x1ngg2t4`,$$css:!0},2:{k1C7PZ:`xak3so`,khm7nJ:`x1x7z4sm`,$$css:!0},3:{k1C7PZ:`xewh9hi`,khm7nJ:`x4olc9o`,$$css:!0},4:{k1C7PZ:`xty4p9g`,khm7nJ:`xtx9w7w`,$$css:!0},5:{k1C7PZ:`x1eqhezk`,khm7nJ:`x1iu6piu`,$$css:!0},6:{k1C7PZ:`x3qlgwd`,khm7nJ:`xczp1bk`,$$css:!0},8:{k1C7PZ:`xicv188`,khm7nJ:`xgx0vcf`,$$css:!0},10:{k1C7PZ:`x1p37tyl`,khm7nJ:`x1xpicb7`,$$css:!0},\"0.5\":{k1C7PZ:`x1kihgfc`,khm7nJ:`x1tw44j4`,$$css:!0},\"1.5\":{k1C7PZ:`x1thn6ci`,khm7nJ:`xhq53yo`,$$css:!0}};function IL({crossAlign:e,direction:t,gap:n,mainAlign:r,wrap:i}){return[nre.stack,ere[t],n!=null&&rre[n],e!=null&&Qne[e],r!=null&&$ne[r],i!=null&&tre[i]]}var ire={reset:{kAzted:`x2lwn1j`,k7Eaqz:`xeuugli`,$$css:!0}},are={center:{kSGwAc:`xamitd3`,$$css:!0},end:{kSGwAc:`xpvyfi4`,$$css:!0},start:{kSGwAc:`xqcrz7y`,$$css:!0},stretch:{kSGwAc:`xkh2ocl`,$$css:!0}},ore={fill:{kzQI83:`x1iyjqo2`,$$css:!0},static:{kzQI83:`x1c4vz4f`,kmuXW:`x2lah0s`,$$css:!0}};function sre({crossAlignSelf:e,size:t}={}){return[ire.reset,ore[t??`static`],e!=null&&are[e]]}D(),TM(),bC(),vr();var cre={scrollable:{kVQacm:`xysyzu8`,$$css:!0}};function LL({direction:e=`vertical`,hAlign:t,vAlign:n,justify:r,align:i,gap:a,padding:o,paddingInline:s,paddingInlineStart:c,paddingInlineEnd:l,paddingBlock:u,paddingBlockStart:d,paddingBlockEnd:f,isScrollable:p,width:m,height:h,maxWidth:g,minHeight:_,wrap:v,as:y=`div`,xstyle:b,className:x,style:S,children:w,ref:T,...E}){let D=t??(e===`horizontal`?r:i),O=n??(e===`horizontal`?i:r),k=e===`horizontal`?D:O,A=e===`horizontal`?O:D,j=c??s??o,M=l??s??o,N=d??u??o,P=f??u??o,F=C(...IL({direction:e,crossAlign:A,mainAlign:k,gap:a,wrap:v}),j!=null&&xM[j],M!=null&&SM[M],N!=null&&CM[N],P!=null&&wM[P],p&&cre.scrollable,b),I={...m!=null&&{width:typeof m==`number`?`${m}px`:m},...h!=null&&{height:typeof h==`number`?`${h}px`:h},...g!=null&&{maxWidth:typeof g==`number`?`${g}px`:g},..._!=null&&{minHeight:typeof _==`number`?`${_}px`:_}};return(0,X.createElement)(y,{ref:T,...Q(Y(`stack`,{direction:e,gap:a,wrap:v}),F,x,{...S,...I}),...E},w)}LL.displayName=`Stack`;function RL({ref:e,justify:t,align:n,hAlign:r,vAlign:i,...a}){return(0,Z.jsx)(LL,{...a,direction:`horizontal`,hAlign:r??t,vAlign:i??n,ref:e})}RL.displayName=`HStack`;function zL({ref:e,justify:t,align:n,hAlign:r,vAlign:i,...a}){return(0,Z.jsx)(LL,{...a,direction:`vertical`,hAlign:r??n,vAlign:i??t,ref:e})}zL.displayName=`VStack`;var lre={\"@astryx.scrollRegion.label\":`Content`};function BL(e,t){let n=e.toLowerCase(),r=n.startsWith(`vertical`)||n.startsWith(`sideways`),i=t===`rtl`;return r?{inline:`y`,block:`x`,inlineReversed:n===`sideways-lr`?!i:i,blockReversed:n.endsWith(`-rl`)}:{inline:`x`,block:`y`,inlineReversed:i,blockReversed:!1}}function ure(e){return e===`auto`||e===`scroll`||e===`overlay`}function dre(e,t){let n=getComputedStyle(e);return t===`x`?{clientExtent:e.clientWidth,contentExtent:e.scrollWidth,offset:e.scrollLeft,overflow:n.overflowX}:{clientExtent:e.clientHeight,contentExtent:e.scrollHeight,offset:e.scrollTop,overflow:n.overflowY}}function VL(e,t){return e.isConnected&&t.display!==`none`&&e.clientWidth>0&&e.clientHeight>0}function HL(e,t,n){if(!VL(e,getComputedStyle(e)))return null;let r=n[t],i=r===`x`?e.clientWidth:e.clientHeight;return(r===`x`?e.scrollWidth:e.scrollHeight)-i>1}function UL(e,t,n){if(!VL(e,getComputedStyle(e)))return null;let r=n[t],i=dre(e,r),a=i.contentExtent-i.clientExtent;return!ure(i.overflow)||a<=1?GL:{isScrollable:!0,...WL(i.offset,a,n[`${t}Reversed`])}}function WL(e,t,n){let r=Math.min(t,Math.max(0,n?Math.abs(e):e));return{atStart:r<=1,atEnd:r>=t-1}}function fre(e,t,n){if(!e.isConnected||e.clientWidth<=0||e.clientHeight<=0)return null;let r=n[t]===`x`,i=n[`${t}Reversed`],a=r?e.scrollLeft:e.scrollTop,o=r?e.scrollWidth-e.clientWidth:e.scrollHeight-e.clientHeight;return{overflows:o>1,...WL(a,o,i),contradictsMapping:i?a>1:a<-1}}var GL,KL=o((()=>{GL={isScrollable:!1,atStart:!0,atEnd:!0}}));KL(),t_(),Qi();var pre={attributes:!0,attributeFilter:[`class`,`dir`,`hidden`,`style`],characterData:!0,childList:!0,subtree:!0};function qL(e,t){let n=!0,r=null,i=null,a=()=>{if(r=null,!n)return;let a=getComputedStyle(e),o=BL(a.writingMode,a.direction),s=UL(e,`inline`,o),c=UL(e,`block`,o);if(s==null||c==null)return;let l=s.isScrollable||c.isScrollable;l!==i&&(i=l,t(l))},o=()=>{n&&r==null&&(r=window.requestAnimationFrame(a))},s=new Map,c=()=>{let t=new Set(Array.from(e.children));for(let[e,n]of s)t.has(e)||(n(),s.delete(e));for(let e of t)s.has(e)||s.set(e,qi(e,o))},l=()=>{c(),o()};a(),c();let u=qi(e,o),d=Xg(e,pre,l);window.addEventListener(`resize`,o),window.visualViewport?.addEventListener(`resize`,o),e.addEventListener(`load`,o,!0),e.addEventListener(`transitionend`,o),e.addEventListener(`animationend`,o);let f=document.fonts;return f?.addEventListener?.(`loadingdone`,o),f?.ready.then(o),()=>{n=!1,r!=null&&(window.cancelAnimationFrame(r),r=null),u(),d();for(let e of s.values())e();s.clear(),window.removeEventListener(`resize`,o),window.visualViewport?.removeEventListener(`resize`,o),e.removeEventListener(`load`,o,!0),e.removeEventListener(`transitionend`,o),e.removeEventListener(`animationend`,o),f?.removeEventListener?.(`loadingdone`,o)}}iT(),Ww(lre);function JL({isScrollable:e,role:t,label:n}){let r=nT(),[i,a]=(0,X.useState)(!1),o=t!=null,s=(0,X.useCallback)(t=>{if(t==null||!e||o)a(!1);else return qL(t,a)},[o,e]),c=!o&&e&&i;return{ref:s,role:t??(c?`group`:void 0),\"aria-label\":n??(c?r(`@astryx.scrollRegion.label`):void 0)}}var YL=typeof Intl.Segmenter==`function`?new Intl.Segmenter(void 0,{granularity:`grapheme`}):null;function XL(e){if(YL){let t=YL.segment(e)[Symbol.iterator]().next();return t.done?``:t.value.segment}let t=e.codePointAt(0);return t==null?``:String.fromCodePoint(t)}function mre(e,t){return e==null?`fallback:${typeof t==`function`?t():t}`:`id:${e}`}function ZL(e){let t=e.auxiliaryData;return typeof t?.group==`string`?t.group:void 0}function hre(e,{ungroupedFirst:t=!1}={}){if(!e.some(e=>ZL(e)!=null))return[{heading:null,items:e}];let n=[],r=new Map,i=[];for(let t of e){let e=ZL(t);e==null?i.push(t):(r.has(e)||(n.push(e),r.set(e,[])),r.get(e)?.push(t))}let a=n.map(e=>({heading:e,items:r.get(e)??[]})),o=i.length>0?[{heading:null,items:i}]:[];return t?[...o,...a]:[...a,...o]}var QL,$L,eR=o((()=>{QL={kbCHJM:`x1nrll8i`,k3aq6I:`xsqj5wx`,$$css:!0},$L={mirror:{k3aq6I:`xgtlewx`,$$css:!0},centerInline:e=>[QL,{\"--x-transform\":`translate(-50%, ${e})`==null?void 0:`translate(-50%, ${e})`}]}}));AM();function gre({container:e,children:t}){return(0,Z.jsx)(kM,{value:e,children:t})}D(),dM(),TM(),vr();var tR={card:{\"--_card-radius\":`x2kkz0m`,\"--_card-radius-top-left\":`x1gjg4y`,\"--_card-radius-top-right\":`x1ur0lmo`,\"--_card-radius-bottom-right\":`xkl5mm8`,\"--_card-radius-bottom-left\":`x19py3nq`,\"--_card-radius-start-start\":`x6fxh76`,\"--_card-radius-start-end\":`x195ugj0`,\"--_card-radius-end-start\":`xcbdnlk`,\"--_card-radius-end-end\":`xdnta9e`,kaIpWk:`x153u1i6`,k7Eaqz:`xeuugli`,kVQacm:`x7giv3`,kGVxlE:`x1p8z4y0`,$$css:!0},withBorder:{kMzoRj:`x1litavf`,ksu8eU:`x1y0btm7`,kVAM5u:`x14i3s5s`,kZCmMZ:`xs19ii7`,kwRFfy:`x12frdag`,kLKAdn:`x1nex4ik`,kGO01o:`xbv1mwh`,$$css:!0},corners:{\"--_container-host-radius\":`x1as34vp`,\"--_container-host-radius-top-left\":`xspp1mx`,\"--_container-host-radius-top-right\":`x1tkjg3g`,\"--_container-host-radius-bottom-right\":`xjxkvnp`,\"--_container-host-radius-bottom-left\":`xprenbh`,\"--_container-host-radius-start-start\":`x1fiew8m`,\"--_container-host-radius-start-end\":`x1wyi48l`,\"--_container-host-radius-end-start\":`x1xfe2ni`,\"--_container-host-radius-end-end\":`x1buvt6y`,$$css:!0},scrollable:{kVQacm:`xysyzu8`,$$css:!0}},_re={default:{kWkggS:`x1de1mus`,$$css:!0},transparent:{kWkggS:`xjbqb8w`,$$css:!0},muted:{kWkggS:`xwmxj5m`,$$css:!0},blue:{kWkggS:`x1o0wnni`,$$css:!0},cyan:{kWkggS:`x1rgj867`,$$css:!0},gray:{kWkggS:`xspzpui`,$$css:!0},green:{kWkggS:`x1sqjeoo`,$$css:!0},orange:{kWkggS:`x1e9xt6e`,$$css:!0},pink:{kWkggS:`xnpoty2`,$$css:!0},purple:{kWkggS:`x16i6n6f`,$$css:!0},red:{kWkggS:`x1cibrc5`,$$css:!0},teal:{kWkggS:`x1jtji5o`,$$css:!0},yellow:{kWkggS:`x1bo7t0x`,$$css:!0}},vre={none:{\"--_card-elevation\":`xw28qpl`,$$css:!0},low:{\"--_card-elevation\":`x1nn8khe`,$$css:!0},med:{\"--_card-elevation\":`x1ovzxg0`,$$css:!0},high:{\"--_card-elevation\":`xnpe7fx`,$$css:!0}},yre={sizing:(e,t,n,r)=>[{kzqmXN:e==null?e:`x5lhr3w`,kZKoxP:t==null?t:`x16ye13r`,ks0D6T:n==null?n:`xf68679`,kAzted:r==null?r:`x82snj4`,$$css:!0},{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(e),\"--x-height\":(e=>typeof e==`number`?e+`px`:e??void 0)(t),\"--x-maxWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(n),\"--x-minHeight\":(e=>typeof e==`number`?e+`px`:e??void 0)(r)}]};function nR({width:e,height:t,maxWidth:n,minHeight:r,children:i,padding:a,variant:o=`default`,elevation:s=`none`,xstyle:c,className:l,style:u,ref:d,...f}){let p=t!=null&&t!==`auto`,m=a==null?void 0:hM[a];return(0,Z.jsx)(`div`,{ref:d,...Q(Y(`card`,{variant:o,elevation:s}),C(tR.card,_re[o],vre[s],p&&tR.scrollable,yre.sizing(e??null,t??null,n??null,r??null),...Bj(m==null?{useThemeDefault:`card`}:{paddingInnerX:m,paddingInnerY:m,paddingOuterX:m,paddingOuterY:m}),tR.corners,fM.fromHostRadius,fM.publish,o===\"default\"&&tR.withBorder,c),l,u),...f,children:(0,Z.jsx)(gre,{container:`card`,children:i})})}nR.displayName=`Card`,ys();var rR=_s(`LayoutAreaContext`,1,null);rR.displayName=`LayoutAreaContext`,Xf();var iR={hasHeader:!1,hasFooter:!1,hasStart:!1,hasEnd:!1},aR=Uf(`LayoutSlotsContext`,1,iR);aR.displayName=`LayoutSlotsContext`,D(),bC(),xO(),vr(),TM();function bre(e){if(e==null||typeof e==`number`)return!0;let t=e.trim().toLowerCase();return t.includes(`%`)?!1:t===`0`||/^-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)[a-z]+$/.test(t)||/^(?:calc|min|max|clamp)\\(/.test(t)}var oR={layoutOuter:{keTefX:`xojxgvx`,k71WvV:`x1fcf3bl`,keoZOQ:`x1sa9bsh`,k1K539:`x6h7pi7`,$$css:!0},layoutInner:{\"--container-padding-inline-start\":`xrhngw9`,\"--container-padding-inline-end\":`xjsfl84`,\"--container-padding-block-start\":`x1047aw6`,\"--container-padding-block-end\":`xax9j7h`,\"--layout-content-width\":`x1vpwbdg`,\"--layout-alignment-width\":`x19kr0ht`,\"--layout-padding-own-outer-x\":`x1vii845`,\"--layout-padding-own-outer-y\":`xojybgt`,\"--_layout-flush-block-start\":`xu9n9za`,\"--_layout-flush-block-end\":`xt8hc1d`,$$css:!0},fill:{kZKoxP:`x12qplqi`,kskxy:`xenllk4`,$$css:!0},auto:{kAzted:`x1us19tq`,$$css:!0},middle:{kUk6DE:`x98rzlu`,kAzted:`x2lwn1j`,\"--_layout-flush-block-start\":`x1akq5vd`,\"--_layout-flush-block-end\":`x51rtne`,$$css:!0},middleQuery:{k9g6sI:`xsw3flo`,$$css:!0},singleColumnContent:{kzqmXN:`xh8yej3`,ks0D6T:`xjl2t3p xpgkkid`,kUOVxO:`xvueqy4`,$$css:!0},singlePanelMiddle:{kB7OPa:`x9f619`,kzqmXN:`xh8yej3`,ks0D6T:`xjl2t3p xnpzo02`,kUOVxO:`xvueqy4 xb0m1lw`,$$css:!0},singleStartPanel:{kZCmMZ:`x1vvd0s7`,$$css:!0},singleEndPanel:{kwRFfy:`xxdn8bs`,$$css:!0},fullBleed:{\"--layout-padding-own-outer-x\":`xbjcssu`,\"--layout-padding-own-outer-y\":`x1bz2q72`,$$css:!0}},xre={kzqmXN:`xh8yej3`,kUOVxO:`xvueqy4`,$$css:!0},sR={contentWidthVar:e=>[{\"--layout-content-width\":(typeof e==`number`?`${e}px`:e)==null?typeof e==`number`?`${e}px`:e:`x4906uf`,$$css:!0},{\"--x---layout-content-width\":(typeof e==`number`?`${e}px`:e)==null?void 0:typeof e==`number`?`${e}px`:e}],contentAlignmentWidthVar:e=>[{\"--layout-alignment-width\":(typeof e==`number`?`${e}px`:e)==null?typeof e==`number`?`${e}px`:e:`x1b1nz06`,$$css:!0},{\"--x---layout-alignment-width\":(typeof e==`number`?`${e}px`:e)==null?void 0:typeof e==`number`?`${e}px`:e}],contentWidth:e=>[xre,{ks0D6T:(typeof e==`number`?`${e}px`:e)==null?typeof e==`number`?`${e}px`:e:`xf68679`,$$css:!0},{\"--x-maxWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(typeof e==`number`?`${e}px`:e)}]};function cR({area:e,children:t}){return t==null?null:(0,Z.jsx)(rR,{value:e,children:t})}var Sre={\"x-default-marker\":`x-default-marker`,$$css:!0};function lR({children:e,content:t,contentWidth:n,defaultHasDividers:r,end:i,footer:a,header:o,height:s=`fill`,padding:c,ref:l,start:u,xstyle:d,className:f,style:p,...m}){let h=s===`fill`,g=t??e,_=(0,X.useMemo)(()=>r==null?null:{defaultHasDividers:r},[r]),v=bO(o),y=bO(a),b=bO(u),x=bO(i),S=b&&x,w=b!==x,T=n!=null&&bre(n),E=(0,X.useMemo)(()=>({hasHeader:v,hasFooter:y,hasStart:b,hasEnd:x}),[v,y,b,x]),D=(0,Z.jsx)(aR,{value:E,children:(0,Z.jsx)(`div`,{...m,ref:l,...Q(Y(`layout`,{height:s}),C(oR.layoutOuter,h?oR.fill:oR.auto,d),f,p),children:(0,Z.jsxs)(`div`,{...C(Sre,oR.layoutInner,...IL({direction:`vertical`}),h?oR.fill:oR.auto,c===0&&oR.fullBleed,c!=null&&yM[c],c!=null&&bM[c],n!=null&&sR.contentWidthVar(n),T&&sR.contentAlignmentWidthVar(n)),children:[(0,Z.jsx)(cR,{area:`header`,children:o}),(0,Z.jsxs)(`div`,{...C(...IL({direction:`horizontal`}),oR.middle,n!=null&&(!T||S)&&sR.contentWidth(n),T&&!S&&oR.middleQuery,T&&w&&oR.singlePanelMiddle,T&&b&&!x&&oR.singleStartPanel,T&&!b&&x&&oR.singleEndPanel),children:[(0,Z.jsx)(cR,{area:`start`,children:u}),(0,Z.jsx)(`div`,{...C(...sre({size:`fill`}),T&&!b&&!x&&oR.singleColumnContent),children:(0,Z.jsx)(cR,{area:`content`,children:g})}),(0,Z.jsx)(cR,{area:`end`,children:i})]}),(0,Z.jsx)(cR,{area:`footer`,children:a})]})})});return _==null?D:(0,Z.jsx)($M,{value:_,children:D})}lR.displayName=`Layout`,D(),AM(),vx(),bC(),vr(),TM(),zj();var uR={content:{kB7OPa:`x9f619`,kZKoxP:`x5yr21d`,kUk6DE:`x98rzlu`,kAzted:`x2lwn1j`,kVQacm:`x7giv3`,kZCmMZ:`xwjyata`,kwRFfy:`x1peupej`,kLKAdn:`x1q01h0h`,kGO01o:`x12g7ifj`,\"--container-padding-inline-start\":`x408pgh`,\"--container-padding-inline-end\":`xikqloz`,\"--container-padding-block-start\":`xzrhu1o`,\"--container-padding-block-end\":`x165zlxo`,$$css:!0},noStart:{kZCmMZ:`xaku5ci`,\"--container-padding-inline-start\":`xt2a87w`,$$css:!0},noEnd:{kwRFfy:`x19eyx77`,\"--container-padding-inline-end\":`xhq06x6`,$$css:!0},noHeader:{kLKAdn:`xuqi0w`,\"--container-padding-block-start\":`x186o6qk`,$$css:!0},noFooter:{kGO01o:`x1363qu6`,\"--container-padding-block-end\":`xfsxxt8`,$$css:!0},scrollable:{kVQacm:`xysyzu8`,$$css:!0},constrainedNoPanelsStart:{kZCmMZ:`xhlv5e7`,$$css:!0},constrainedNoPanelsEnd:{kwRFfy:`x1ahicqp`,$$css:!0},constrainedSingleStartPanel:{kwRFfy:`xy07wb4`,$$css:!0},constrainedSingleEndPanel:{kZCmMZ:`xxjme2g`,$$css:!0},fullBleed:{kZCmMZ:`x1c1uobl`,kwRFfy:`xyri2b`,kLKAdn:`xexx8yu`,kGO01o:`x18d9i69`,\"--container-padding-inline-start\":`xrhngw9`,\"--container-padding-inline-end\":`xjsfl84`,\"--container-padding-block-start\":`x1047aw6`,\"--container-padding-block-end\":`xax9j7h`,$$css:!0}};function dR({children:e,isScrollable:t=!0,padding:n,label:r,role:i,xstyle:a,className:o,style:s,ref:c,...l}){let{hasHeader:u,hasFooter:d,hasStart:f,hasEnd:p}=(0,X.use)(aR),m=n===0,h=JL({isScrollable:t,role:i,label:r}),g=(0,X.use)(kM),_=gx(c,h.ref);return(0,Z.jsx)(`div`,{ref:_,role:h.role,\"aria-label\":h[`aria-label`],...Q(Y(`layout-content`,{container:g}),C(uR.content,!f&&!m&&n==null&&uR.noStart,!p&&!m&&n==null&&uR.noEnd,!u&&!m&&n==null&&uR.noHeader,!d&&!m&&n==null&&uR.noFooter,t&&uR.scrollable,m&&uR.fullBleed,n!=null&&pM[n],n!=null&&gM[n],n!=null&&_M[n],n!=null&&vM[n],!f&&!p&&!m&&uR.constrainedNoPanelsStart,!f&&!p&&!m&&uR.constrainedNoPanelsEnd,f&&!p&&!m&&uR.constrainedSingleStartPanel,!f&&p&&!m&&uR.constrainedSingleEndPanel,Rj.publish,a),o,s),...l,children:e})}dR.displayName=`LayoutContent`;var fR={\"@astryx.resizable.collapsed\":`Collapsed`,\"@astryx.resizable.handle.label\":`Resize handle`};function pR(e){return typeof window>`u`?null:e===`vertical`?window.innerHeight:window.innerWidth}function mR(e,t,n){return e==null?void 0:Math.max(e,t,n)}function Cre(e,t=M_.decelerationRate.normal){if(!(t>0&&t<1))throw RangeError(`projection: rate must be in (0, 1), got ${t}`);return e/1e3*t/(1-t)}function hR(e,t,n=M_.decelerationRate.normal){return e+Cre(t,n)}function wre(e,{position:t,velocity:n,rate:r=M_.decelerationRate.normal,fromIndex:i,maxSteps:a}){if(e.length===0)throw RangeError(`projection: selectSnapPoint needs at least one point`);let o=hR(t,n,r),s=0,c=e.length-1;if(i!=null&&a!=null){let t=Math.min(Math.max(i,0),e.length-1);s=Math.max(s,t-a),c=Math.min(c,t+a)}let l=s,u=1/0;for(let t=s;t<=c;t++){let r=Math.abs(e[t]-o),i=Math.abs(r-u)<1e-9,a=Math.sign(e[t]-e[l])===Math.sign(n);(r{N_()}));function _R(e,t,n=M_.rubberBand.coefficient){if(!(t>0))return 0;let r=(1-1/(Math.abs(e)*n/t+1))*t;return e<0?-r:r}function Tre(e,t,n=M_.rubberBand.coefficient){if(!(t>0))return 0;let r=Math.abs(e);if(r>=t)return e<0?-1/0:1/0;let i=t/n*r/(t-r);return e<0?-i:i}function Ere(e,t,n=M_.rubberBand.coefficient){if(!(t>0))return 0;let r=Math.abs(e)*n/t+1;return n/(r*r)}var vR=o((()=>{N_()})),yR=`astryx-resizable:`;function bR(e,t,n,r){let i=Math.min(n,Math.max(t,e));if(r.length>0){let e=r[0],a=Math.abs(i-e);for(let t=1;t`u`)return null;try{let t=localStorage.getItem(yR+e);if(t==null)return null;let n=JSON.parse(t);if(typeof n==`number`)return Number.isFinite(n)?n===0?{size:null,isCollapsed:!0}:{size:n,isCollapsed:null}:null;if(typeof n==`object`&&n){let{size:e,isCollapsed:t}=n,r=typeof e==`number`&&Number.isFinite(e)&&e>0;if(r||t===!0)return{size:r?e:null,isCollapsed:t===!0}}}catch{}return null}function Dre(e,t){if(typeof window<`u`)try{localStorage.setItem(yR+e,JSON.stringify(t))}catch{}}var SR=1200,CR=`Use a non-negative number of pixels, an exact \"Npx\" string, an exact \"N%\" string from 0% to 100%, pixel(value), or percent(value, {min: pixel(value)}) / percent(value, {max: pixel(value)}).`,Ore=/^(\\d+(?:\\.\\d+)?)px$/,kre=/^(\\d+(?:\\.\\d+)?)%$/;function Are(e){let t=Ore.exec(e);if(t){let e=Number(t[1]);return Number.isFinite(e)?{kind:`px`,value:e}:null}let n=kre.exec(e);if(n){let e=Number(n[1]);return Number.isFinite(e)&&e<=100?{kind:`percent`,value:e}:null}return null}function wR(e){if(typeof e!=`object`||!e||Array.isArray(e))return null;let t=e;return t.type===`pixel`&&typeof t.value==`number`&&Number.isFinite(t.value)&&t.value>=0?t.value:null}function jre(e){if(Array.isArray(e))return null;let t=e;if(t.type!==`percent`||typeof t.value!=`number`||!Number.isFinite(t.value)||t.value<0||t.value>100)return null;let n=t.min!==void 0;if(n===(t.max!==void 0))return null;if(n){let e=wR(t.min);return e==null?null:{kind:`percent`,value:t.value,min:e}}let r=wR(t.max);return r==null?null:{kind:`percent`,value:t.value,max:r}}function TR(e){if(typeof e==`number`)return Number.isFinite(e)&&e>=0?{kind:`px`,value:e}:null;if(typeof e==`string`)return Are(e);if(typeof e==`object`&&e){let t=wR(e);return t==null?jre(e):{kind:`px`,value:t}}return null}function ER(e){return e?.kind===`percent`}function Mre(e,t){if(e.kind===`px`)return e.value;if(t==null)return null;let n=Math.round(e.value/100*t);return e.min===void 0?e.max===void 0?n:Math.min(n,e.max):Math.max(n,e.min)}function DR(e){if(typeof e==`number`&&!Number.isFinite(e))return String(e);try{return JSON.stringify(e)??String(e)}catch{return String(e)}}function OR(e){if(typeof e!=`object`||!e||Array.isArray(e))return DR(e);let t=e;return t.type===`pixel`?`{\"type\":\"pixel\",\"value\":${DR(t.value)}}`:DR(e)}function Nre(e){if(typeof e==`object`&&e&&!Array.isArray(e)){let t=e;if(t.type===`pixel`)return OR(e);if(t.type===`percent`){let e=[`\"type\":\"percent\"`,`\"value\":${DR(t.value)}`];return t.min!==void 0&&e.push(`\"min\":${OR(t.min)}`),t.max!==void 0&&e.push(`\"max\":${OR(t.max)}`),`{${e.join(`,`)}}`}}return DR(e)}function kR(e,t,n,r,i,a,o,s=`useResizable`){return e===void 0?r:e===1/0&&r===1/0?1/0:t==null?(o?.(s,`${i}: ${Nre(e)} is not a size. ${a} Falling back to ${r}.`,i),r):Mre(t,n)??r}function Pre(e,t,n){let r=n?.contentBoxSize?.[0];if(r)return t===`vertical`?r.blockSize:r.inlineSize;let i=typeof window>`u`?null:window.getComputedStyle(e);if(i==null)return null;let a=t===`vertical`?e.clientHeight-parseFloat(i.paddingTop)-parseFloat(i.paddingBottom):e.clientWidth-parseFloat(i.paddingLeft)-parseFloat(i.paddingRight);return Number.isFinite(a)?a:null}var AR=new WeakMap,jR=new WeakMap,MR=new WeakMap;function NR(e){return`props`in e?e.props:e}function PR(e){return MR.get(e)}function FR(e){return AR.get(e)}function IR(e,t){let n=jR.get(e);n==null?e._onResizeEnd():n(t)}function LR(e,t){AR.set(e,t)}function RR(e,t){jR.set(e,t)}function zR(e,t){MR.set(e,t)}function BR(e,t,n){return{x:e*t.x+(1-e)*n.x,y:e*t.y+(1-e)*n.y}}function VR(e){let t=e.length;if(t<2)return UR;let n=HR(e[t-2],e[t-1]);return t===2?n:BR(WR,n,HR(e[t-3],e[t-2]))}function HR(e,t){let n=t.time-e.time;return n<=0?UR:{x:(t.x-e.x)/n*1e3,y:(t.y-e.y)/n*1e3}}var UR,WR,GR,KR,qR=o((()=>{B_(),UR={x:0,y:0},WR=z_.currentWeight.value,GR=z_.scrollReleaseWeight.value,KR=class{newest=null;moved=[];moves=0;pan=UR;previousPan=UR;constructor(e={}){this.stillness=e.stillness??z_.stillness.value}reset(){this.newest=null,this.moved=[],this.moves=0,this.pan=UR,this.previousPan=UR}add(e,t,n,{isMotion:r=!1}={}){if(this.newest!=null&&n3&&this.moved.shift(),i!=null&&(this.moves+=1,this.previousPan=this.pan)),this.pan=VR(this.moved))}offsetBy(e,t){let n=n=>({...n,x:n.x+e,y:n.y+t});this.newest=this.newest==null?null:n(this.newest),this.moved=this.moved.map(n)}scaleBy(e){let t=t=>({...t,x:t.x*e,y:t.y*e});this.newest=this.newest==null?null:t(this.newest),this.moved=this.moved.map(t),this.pan={x:this.pan.x*e,y:this.pan.y*e},this.previousPan={x:this.previousPan.x*e,y:this.previousPan.y*e}}addSamples(e){for(let t of e)this.add(t.x,t.y,t.time)}get lastSample(){return this.newest}velocity(e){return e!=null&&!this.releases(e)?UR:this.pan}scrollVelocity(e){return this.releases(e)?BR(GR,this.pan,this.previousPan):UR}releases(e){let t=this.moved[this.moved.length-1];return this.moves>=2&&t!=null&&e-t.time<=this.stillness}}}));qR();function JR(e){document.body.style.cursor=e?`col-resize`:`row-resize`,document.body.style.userSelect=`none`}function YR(){document.body.style.cursor=``,document.body.style.userSelect=``}function XR(e,t,n){let r=[...new Set(e.snaps.map(t=>Math.min(e.maxPx,Math.max(e.minPx,t))))].sort((e,t)=>e-t),{size:i}=e,a=t>0?r.filter(e=>e>i):r.filter(e=>e{let t=e();return t==null?1:t.ownerDocument.defaultView?.getComputedStyle(t).direction===`rtl`?-1:1},s=()=>{let e=i;i=null;let t=e?.target;e!=null&&t!=null&&t.hasPointerCapture?.(e.pointerId)===!0&&t.releasePointerCapture(e.pointerId),e!=null&&YR(),r?.(!1)};return{get isDragging(){return i!=null},pointerDown(e){let s=n();if(s.isDisabled||i!=null)return;e.preventDefault(),e.stopPropagation();let c=e.currentTarget,l=typeof c?.setPointerCapture==`function`?c:null;l?.setPointerCapture?.(e.pointerId);let u=s.direction===`horizontal`;i={pointerId:e.pointerId,startPos:u?e.clientX:e.clientY,rtl:u?o():1,target:l},a.reset(),a.add(e.clientX,e.clientY,e.timeStamp??0),r?.(!0),t.start(),JR(u)},pointerMove(e){if(i==null||i.pointerId!==e.pointerId)return;let r=n(),o=r.direction===`horizontal`?e.clientX:e.clientY,s=r.isReversed?-1:1;a.add(e.clientX,e.clientY,e.timeStamp??0),t.move((o-i.startPos)*i.rtl*s)},pointerUp(e){if(i?.pointerId!==e.pointerId)return;let r=n(),{x:o,y:c}=a.velocity(e.timeStamp??0),l=r.isReversed?-1:1,u=(r.direction===`horizontal`?o:c)*i.rtl*l;s(),t.end(u)},pointerCancel(e){i?.pointerId===e.pointerId&&(s(),t.cancel())},interrupt(){i!=null&&(s(),t.cancel())},keyDown(e){let r=n();if(r.isDisabled||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey&&!e.key.startsWith(`Arrow`))return;let i=t.state(),a=r.direction===`horizontal`,s=r.isReversed?-1:1,c=e.shiftKey?50:10,l=a?o():1,u=e=>(e===`ArrowRight`||e===`ArrowDown`?1:e===`ArrowLeft`||e===`ArrowUp`?-1:0)*(a?l:1)*s>0;switch(e.key){case`ArrowRight`:case`ArrowDown`:case`ArrowLeft`:case`ArrowUp`:if(e.preventDefault(),i.isCollapsed){u(e.key)&&ZR(t,Math.max(i.minPx+c,i.collapsedSize));break}if(i.snaps.length>0){ZR(t,XR(i,u(e.key)?1:-1,e.shiftKey?2:1)-i.size);break}ZR(t,(e.key===`ArrowRight`||e.key===`ArrowDown`?1:-1)*c*(a?l:1)*s);break;case`Home`:e.preventDefault(),ZR(t,i.minPx-i.size);break;case`End`:e.preventDefault(),i.maxPx!==1/0&&ZR(t,i.maxPx-i.size);break;case`Enter`:e.preventDefault(),i.collapsible&&QR(t)}},doubleClick(){!n().isDisabled&&t.state().collapsible&&QR(t)}}}function ez(e,t){return e.localName.includes(`-`)?t?.get(e.localName)?.formAssociated===!0:!1}function tz(e,t){if(e.width===0||e.height===0)return!0;let n=e.getContext(`2d`,{willReadFrequently:!0});if(n==null)return!0;try{n.drawImage(t,0,0);let{data:r}=n.getImageData(0,0,e.width,e.height);for(let e=3;e{let n=i?.getComputedStyle(e).getPropertyValue(`anchor-name`);n!=null&&n!==``&&n!==`none`&&r[t].style?.setProperty(`anchor-name`,`none`)});let a=e.ownerDocument.defaultView?.customElements;for(let e of r)(e.matches(iz)||ez(e,a))&&e.setAttribute(`form`,``);for(let e of t.querySelectorAll(`iframe, video, audio, source, embed, object`))for(let t of[`src`,`srcdoc`,`data`,`autoplay`])e.removeAttribute(t);let o=e.querySelectorAll(`canvas`);return Array.from(t.querySelectorAll(`canvas`)).every((e,t)=>tz(e,o[t]))?(t.setAttribute(`aria-hidden`,`true`),t.setAttribute(`inert`,``),t.style.pointerEvents=`none`,t):null}function rz(e){for(let t=e;t;t=t.parentElement){let e=getComputedStyle(t).backgroundColor;if(e!==`transparent`&&!/^rgba\\(.*,\\s*0\\)$/.test(e))return e}return`Canvas`}var iz,az=o((()=>{iz=`button, fieldset, input, object, output, select, textarea`}));function oz(e){return e.getElementsByTagName(`*`).length<=hz}function sz(e){let t=parseFloat(e.getPropertyValue(`line-height`)),n=parseFloat(e.getPropertyValue(`font-size`));return Number.isFinite(t)&&n>0?Math.round(t/n*1e3)/1e3:null}function cz(e){let t=new Map,n=getComputedStyle(e);for(let e of gz)t.set(e,n.getPropertyValue(e));if(typeof e.computedStyleMap==`function`){let n=e.computedStyleMap().get(`line-height`);n!=null&&`unit`in n&&n.unit===`number`&&`value`in n&&t.set(`line-height`,String(n.value))}else{let e=sz(n);e!=null&&t.set(`line-height`,String(e))}for(let e=0;e{(e.scrollTop!==0||e.scrollLeft!==0)&&i.push([r[t],e.scrollTop,e.scrollLeft])}),vz.set(t,i),_z.set(t,cz(e)),yz.set(t,{saved:oee(e),copyOf:new Map(n.map((e,t)=>[e,r[t]]))}),t}function uz(e){for(let[t,n,r]of vz.get(e)??[])typeof t.scrollTo==`function`?t.scrollTo({top:n,left:r,behavior:`instant`}):(t.scrollTop=n,t.scrollLeft=r)}function dz(e,t){let n=getComputedStyle(t);for(let[t,r]of _z.get(e)??[])r!==``&&(t===`line-height`||n.getPropertyValue(t)!==r)&&e.style.setProperty(t,r)}function fz(e,t,n,r=null){Object.assign(e.style,{position:`absolute`,boxSizing:`border-box`,margin:`0px`,left:`0px`,top:`0px`,width:`${n.width}px`,height:`${n.height}px`}),t.insertBefore(e,r),dz(e,t);let i=e.getBoundingClientRect(),a=Math.abs(e.offsetWidth-n.width)<1?n.width:e.offsetWidth,o=Math.abs(e.offsetHeight-n.height)<1?n.height:e.offsetHeight,s=i.width>0&&a>0?i.width/a:1,c=i.height>0&&o>0?i.height/o:1;e.style.width=`${n.width/s}px`,e.style.height=`${n.height/c}px`,e.style.left=`${(n.left-i.left)/s}px`,e.style.top=`${(n.top-i.top)/c}px`,uz(e);let l=yz.get(e);l!=null&&(yz.delete(e),see(l.saved,e,e=>l.copyOf.get(e)??null))}function pz(e){let t=lz(e);if(t==null)return null;t.removeAttribute(`role`),t.removeAttribute(`tabindex`),Object.assign(t.style,{position:`absolute`,top:`${-e.scrollTop}px`,left:`${-e.scrollLeft}px`,boxSizing:`border-box`,width:`${e.clientWidth}px`,height:`auto`,padding:getComputedStyle(e).padding,borderWidth:`0px`,margin:`0px`,overflow:`visible`,translate:`none`});let n=e.ownerDocument.createElement(`div`);n.setAttribute(`aria-hidden`,`true`),n.setAttribute(`inert`,``),Object.assign(n.style,{overflow:`hidden`,pointerEvents:`none`}),n.appendChild(t),vz.set(n,(vz.get(t)??[]).filter(([e])=>e!==t));let r=_z.get(t);r!=null&&_z.set(n,r);let i=yz.get(t);i!=null&&(yz.set(n,i),yz.delete(t));let a=e.getBoundingClientRect();return{copy:n,rect:DOMRect.fromRect({x:a.left+e.clientLeft,y:a.top+e.clientTop,width:e.clientWidth,height:e.clientHeight})}}function mz(e){let t=e.ownerDocument.createTreeWalker(e,4),n=[];for(;t.nextNode();)t.currentNode.textContent?.trim()&&n.push(t.currentNode);let r=new Set;for(let t of n){let n=t.parentElement;if(n?.closest(`style, script, textarea, title, noscript`)!=null)continue;if(n?.namespaceURI===bz){let e=n.closest(`text`);e!=null&&r.add(e);continue}let i=e.ownerDocument.createElement(`span`);t.replaceWith(i),i.appendChild(t),r.add(i)}return[...r]}var hz,gz,_z,vz,yz,bz,xz=o((()=>{Bg(),az(),hz=1500,gz=`color.color-scheme.cursor.direction.font-family.font-feature-settings.font-size.font-stretch.font-style.font-variant.font-variation-settings.font-weight.hyphens.letter-spacing.line-height.list-style-type.overflow-wrap.tab-size.text-align.text-indent.text-shadow.text-transform.visibility.white-space.word-break.word-spacing.writing-mode`.split(`.`),_z=new WeakMap,vz=new WeakMap,yz=new WeakMap,bz=`http://www.w3.org/2000/svg`}));function Sz(e,t){let n=e.ownerDocument.defaultView;return typeof n?.matchMedia==`function`&&n.matchMedia(t).matches}function Cz(e){let t=yee(e,{duration:`--duration-medium`,easing:`--ease-move`}),n=vee(e,`--ease-move`);if(t==null||n==null)return null;let r=t.duration*1e3;return{durationMs:r,easing:n,remaining:e=>e>=r?0:1-t.at(e/1e3)}}function wz(e,t){lV.set(e,t);let n=e.ownerDocument.defaultView;n?.requestAnimationFrame(()=>{n.requestAnimationFrame(()=>lV.delete(e))})}function Tz(e,t){let n=vm(e),r=ym(n,{from:0,to:1,velocity:t}),i=bm(n,{initialVelocity:t})*1e3,a=e=>e>=i?0:1-r.value(e/1e3);return{durationMs:i,easing:PP(i,e=>1-a(e)),remaining:a}}function Ez(e){for(let t=e;t!=null;t=t.parentElement){let e=lV.get(t);if(e!=null)return e}}function Dz(e){if(Sz(e,`(prefers-reduced-motion: reduce)`)||uc(e)){if(!Sz(e,`(pointer: coarse)`))return{kind:`instant`};let[t,n,r,i]=Ym.curve;return{kind:`fade`,durationMs:Math.min(cV,Ym.durationMs),easing:`cubic-bezier(${t}, ${n}, ${r}, ${i})`}}let t=Ez(e)??Cz(e);return t==null?{kind:`instant`}:{kind:`glide`,progress:t}}function Oz(e,t){let n=NP(e),r=[];for(let i=0;it(e.remaining(n)))}function Az(e){return Math.round(e*1e3)/1e3}function jz(){fV.length!==0&&yP(()=>{for(let e of fV.splice(0))e.remove();for(let e of[...dV]){let{element:t}=e;t.isConnected&&t.ownerDocument.defaultView!=null||e.remove()}})}function Mz(e){let t=[];for(let[n,r]of e.entries()){let i=/^(-?[\\d.e+-]+)px (-?[\\d.e+-]+)px$/.exec(String(r.translate??``));if(i==null)return null;t.push({at:r.offset??n/Math.max(1,e.length-1),x:Number(i[1]),y:Number(i[2])})}return t.length>0?t:null}function Nz(e,t){let n=e=>[...String(e??``).matchAll(/(-?\\d*\\.?\\d+(?:e[+-]?\\d+)?)([a-z%]*)/gi)],r=n(e),i=n(t);return r.length===i.length&&r.every(([,e,t],n)=>{let r=[`px`,`%`].includes(t.toLowerCase())?pV:mV;return Math.abs(Number(e)-Number(i[n][1]))<=r})}function Pz(e){let t=e[e.length-1];if(t==null)return null;let n=Object.keys(t).filter(e=>!hV.has(e)),r=null;for(let i=e.length-2;i>=0;--i){let a=e[i];if(!n.every(e=>Nz(a[e],t[e])))break;r=a.offset??i/(e.length-1)}return r}function Fz(e,t){let n=Number(t.duration),r=(t.easing??`linear`)===`linear`?Pz(e):null;return r==null||!(n>0)?null:(t.delay??0)+r*n}function Iz(e,t){if(typeof e.requestAnimationFrame!=`function`)return()=>{};let n=gV.get(e);if(n==null){let t=new Set;n=t,gV.set(e,t);let r=()=>{for(let e of t)(!e.element.isConnected||e.frame())&&t.delete(e);t.size===0?gV.delete(e):e.requestAnimationFrame(r)};e.requestAnimationFrame(r)}let r=n;return r.add(t),()=>{r.delete(t)}}function Lz(e,t,n,r,i){let a=e.ownerDocument.defaultView;if(a==null||!(`style`in e))return;let o=e,s=Fz(n,r),c=!1;_V.set(t,(e,t)=>{s=Fz(e,{...r,duration:t})});let l=Iz(a,{element:e,frame:()=>s==null||(t.currentTime==null?t.startTime!=null&&a.performance.now()>=Number(t.startTime)+s:Number(t.currentTime)>=s)&&(wP(o),c=!0,i?.(),!0)}),u=()=>{l(),_V.delete(t),c&&i==null&&TP(o)};t.addEventListener?.(`finish`,u),t.addEventListener?.(`cancel`,u)}function Rz(e,t,n){_V.get(e)?.(t,n)}function zz(e,t,n,r,i){let a=e.ownerDocument.defaultView,o=Number(r.duration),s=(r.easing??`linear`)===`linear`&&r.delay==null?Mz(n):null;if(a==null||s==null||!(o>0)||!(`style`in e)||e.closest(`[inert]`)!=null)return;let c=e,l=()=>a.performance.now(),u=e=>{let n=t.startTime,r=n==null?0:Math.min(1,Math.max(0,(e-Number(n))/o)),a=1;for(;a0?Math.min(1,Math.max(0,(r-c.at)/u)):1;return{x:(c.x+(l.x-c.x)*d)*i.x,y:(c.y+(l.y-c.y)*d)*i.y}},d=u(l()),f=!1,p=!1,m={};uV.set(e,m);let h=xP(e,{offset:(e=l())=>{if(f)return{x:0,y:0};let t=u(e);return{x:t.x-d.x,y:t.y-d.y}},resolve:()=>{f||(wP(c),d=u(l()))}}),g={element:e,remove:()=>{p||(p=!0,dV.delete(g),h(),uV.get(e)===m&&(uV.delete(e),TP(c)))}};dV.add(g);let _=()=>{f||(f=!0,fV.push(g),setTimeout(jz,0))};return t.addEventListener?.(`finish`,_),t.addEventListener?.(`cancel`,_),()=>{!f&&uV.get(e)===m&&(d=u(l()))}}function Bz(e,t,n,r,i={x:1,y:1}){if(typeof e.animate!=`function`)return null;let a;try{a=e.animate(t,n)}catch{return null}yV.add(a);let o=e.ownerDocument,s=o.timeline?.currentTime;if(s!=null){let e=r!=null&&r.frame===Number(s)?r:Hz(o,Number(s));if(e.last=Vz(o),a.startTime=e.at,e.at!==Number(s)){let e=a.effect?.getTiming().fill;a.effect?.updateTiming({fill:e===`forwards`||e===`both`?`both`:`backwards`})}}let c=n.pseudoElement==null?zz(e,a,t,n,i):void 0;return Lz(e,a,t,n,c),a}function Vz(e){return(e.defaultView?.performance??performance).now()}function Hz(e,t){let n=Vz(e),r=vV.get(e);if(r!=null&&r.frame===t)return r.last=n,r;let i={frame:t,at:n-t<=34?t:n,last:n};return vV.set(e,i),(e.defaultView?.setTimeout??setTimeout)(()=>{vV.get(e)===i&&vV.delete(e)},0),i}function Uz(e){let t=vV.get(e);t!=null&&Vz(e)-t.last>34&&vV.delete(e)}function Wz(e){let t=e.timeline?.currentTime;return t==null?0:Hz(e,Number(t)).at}function Gz(e,t){let n=e.getBoundingClientRect(),r=SV.get(e),i=r?.animation.startTime;if(r==null||i==null)return n;let a=e.ownerDocument.defaultView?.getComputedStyle(e).translate??``;if(a.includes(`%`))return n;let[o=0,s=0]=Kz(a),c=r.offsetAt(Math.max(0,t-Number(i)));return new DOMRect(n.x+(c.x-o)*r.scale.x,n.y+(c.y-s)*r.scale.y,n.width,n.height)}function Kz(e){return(e.match(/-?(?:\\d+\\.?\\d*|\\.\\d+)(?:e[+-]?\\d+)?/gi)??[]).map(Number)}function qz(e,t){if(t===`none`||e===`scale`)return!0;if(t.includes(`var(`))return!1;if(e===`translate`)return Kz(t).every(e=>e===0);if(e===`rotate`){let e=Kz(t);return e.length>0&&e[e.length-1]===0}let n=[...t.matchAll(/([a-z0-9]+)\\(([^)]*)\\)/gi)];return n.length>0&&n.every(([,e,t])=>{let n=Kz(t),r=e.toLowerCase();return r===`matrix`?n.length===6&&[1,2,4,5].every(e=>n[e]===0):r===`matrix3d`?n.length===16&&n.every((e,t)=>t%5==0||e===0):r===`rotate3d`?n[3]===0:r.startsWith(`scale`)?!0:r.startsWith(`translate`)||r.startsWith(`rotate`)||r.startsWith(`skew`)?n.every(e=>e===0):!1})}function Jz(e){let t=e.ownerDocument.defaultView?.getComputedStyle(e);return t!=null&&bV.some(e=>{let n=t.getPropertyValue(e);return n!==``&&n!==`none`&&!qz(e,n)})?!0:typeof e.getAnimations==`function`&&e.getAnimations().some(e=>{if(yV.has(e))return!1;let t=e.effect;return t instanceof KeyframeEffect&&t.getKeyframes().some(e=>bV.some(t=>t in e&&!qz(t,String(e[t]))))})}function Yz(e,t){let n=NP(e),r=Array.from({length:n},(r,i)=>t(i/(n-1)*e));return t=>{let i=Math.min(Math.max(t/e,0),1)*(n-1),a=Math.min(Math.floor(i),n-2),o=i-a,s=r[a],c=r[a+1];return{x:s.x+(c.x-s.x)*o,y:s.y+(c.y-s.y)*o}}}function Xz(e){return SV.get(e)?.animation??null}function Zz(e){let t=e[CV];return typeof t==`function`?t():null}function Qz(e){return Object.freeze(Object.defineProperty({},CV,{value:e}))}function $z(e,t){let n=Zz(e);return n!=null&&n!==t&&n.contains(t)?n:null}function eB(e,t){if(t.display===`none`||t.visibility===`hidden`||t.position===`absolute`||t.position===`fixed`)return!1;try{if(e.matches(`:popover-open, :modal`))return!1}catch{}return!0}function tB(e,t){return{start:e.top-t,end:e.bottom+t}}function nB(e,t){let n=t.parts.get(e);if(n===void 0){let r=e.ownerDocument.defaultView?.getComputedStyle(e);n=r==null?!1:r.display===`contents`?`contents`:eB(e,r),t.parts.set(e,n)}return n}function rB(e){if(e==null)return!1;let t=e.ownerDocument.defaultView?.getComputedStyle(e);if(t==null)return!1;let n=t.getPropertyValue(`column-count`),r=t.getPropertyValue(`column-width`);return n!==``&&n!==`auto`||r!==``&&r!==`auto`||t.display.includes(`flex`)&&t.flexDirection.startsWith(`column`)&&t.flexWrap.startsWith(`wrap`)||t.display.includes(`grid`)&&t.getPropertyValue(`grid-auto-flow`).startsWith(`column`)}function iB(e){let t=e.ownerDocument.defaultView;for(let n=e.parentElement;n!=null&&n!==e.ownerDocument.documentElement;n=n.parentElement){let r=t?.getComputedStyle(n).overflowY??`visible`;if((n!==e.ownerDocument.body||t?.getComputedStyle(e.ownerDocument.documentElement).overflowY!==`visible`)&&r!==`visible`&&r!==`clip`){let e=n.getBoundingClientRect();return{start:e.top+n.clientTop,end:e.top+n.clientTop+n.clientHeight}}}return{start:0,end:t?.innerHeight??0}}function aB(e,t){let n=e.ownerDocument.defaultView?.getComputedStyle(e);if(n?.position!==`sticky`)return!1;let r=sB(e,t),i=iB(e),a=Number.parseFloat(n.top),o=Number.parseFloat(n.bottom);return Number.isFinite(a)&&Math.abs(r.top-(i.start+a))<1||Number.isFinite(o)&&Math.abs(r.bottom-(i.end-o))<1}function oB(e,t,n){let r=[];for(let t=e;t!=null&&t!==n;t=t.parentElement){let e=SV.get(t),n=Number(e?.animation.currentTime);e!=null&&Number.isFinite(n)&&r.push({node:t,glide:e,time:n})}if(r.length===0)return t;let i=e.ownerDocument.defaultView,a=()=>r.map(({node:e})=>i?.getComputedStyle(e).translate),o=a();if(o.some(e=>e==null||e===``))return t;let s=e.getBoundingClientRect();for(let t=0;te===o[t]))break;o=t,s=e.getBoundingClientRect()}let c=0,l=0;return r.forEach(({node:t,glide:n,time:r},i)=>{let[a=0,u=0]=Kz(o[i]),d=n.offsetAt(Math.min(Math.max(0,r),n.durationMs)),f=hB(t,t===e?s:t.getBoundingClientRect(),gB(t));c+=(d.x-a)*f.x,l+=(d.y-u)*f.y}),new DOMRect(s.x+c,s.y+l,s.width,s.height)}function sB(e,t){let n=t.rects.get(e);return n===void 0&&(n=e.getBoundingClientRect(),t.rects.set(e,n)),n}function cB(e,t,n,r,i,a,o){let s=new Map,c=!1,l=(e,t)=>{let a=nB(e,r);if(a===`contents`){for(let n=t?e.firstElementChild:e.lastElementChild;n!=null;n=t?n.nextElementSibling:n.previousElementSibling)if(!l(n,t))return!1;return!0}if(!a)return!0;let u=sB(e,r);return c?(s.set(e,u),!0):u.top>n.end?!1:u.bottom0;--e)if(nB(u[e],r)===!1||aB(u[e],r)){d=e;break}for(let[t,n]of u.entries()){c=rB(n.parentElement),n!==e&&t>d&&nB(n,r)===!0&&(s.set(n,sB(n,r)),a.add(n));for(let e=n.nextElementSibling;e!=null&&l(e,!0);e=e.nextElementSibling);if(!(t{TV.get(e)===n&&!n.scheduled&&TV.delete(e)};typeof r?.requestAnimationFrame==`function`?r.requestAnimationFrame(i):setTimeout(i,16),t=n}return t}function uB(e){let t=e.area.ownerDocument,n=t.timeline?.currentTime;if(n!=null)return(e.start==null||e.start.frame!==Number(n))&&(e.start=Hz(t,Number(n))),e.start}function dB(e,t){let n=e==null?void 0:TV.get(e);if(n!=null)return uB(n);let r=t.timeline?.currentTime;return r==null?void 0:Hz(t,Number(r))}function fB(e,t){return e.width>0&&e.height>0&&e.right>t.left&&e.leftt.top&&e.top0&&t.width>0?t.width/r.offsetWidth/n.x:1,a=r.offsetHeight>0&&t.height>0?t.height/r.offsetHeight/n.y:1;return{x:Math.abs(i-1)<.01?1:i||1,y:Math.abs(a-1)<.01?1:a||1}}function gB(e){let t=e.ownerDocument.defaultView?.getComputedStyle(e);if(t==null)return{x:1,y:1};let n=1,r=1,i=t.getPropertyValue(`scale`);if(i!==``&&i!==`none`){let[e=1,t=e]=Kz(i);n*=Math.abs(e),r*=Math.abs(t)}let a=/^matrix(3d)?\\(([^)]*)\\)/.exec(t.getPropertyValue(`transform`));if(a!=null){let e=Kz(a[2]),[t=1,i=0,o=0,s=1]=a[1]==null?e:[e[0],e[1],e[4],e[5]];n*=Math.hypot(t,i),r*=Math.hypot(o,s)}return{x:n||1,y:r||1}}function _B(e){TV.delete(e.area);let t=t=>{for(let n of e.beforeMove)n(t)},n=new Set;for(let t of e.changed)for(let r of e.candidates.get(t)??[])r.isConnected&&n.add(r);if(n.size===0){t([]);return}let r=Dz(e.area);if(r.kind===`instant`){t([]);return}let i=uB(e),a=mB(e.area),o=[];for(let t of n){let n=e.before.get(t);if(n==null||n.width===0&&n.height===0)continue;let r=SV.get(t),a=xV,s=0,c=xV(0);if(r!=null){let e=Number(r.animation.currentTime),n=Number.isFinite(e)?Math.max(0,e):0;nr.offsetAt(l+e),s=r.durationMs-l),r.animation.cancel(),SV.delete(t)}o.push({element:t,before:n,carried:a,carriedMs:s,held:c})}let s=new Map,c=pB(e.area),l=c.x-(e.originBefore?.x??c.x),u=c.y-(e.originBefore?.y??c.y),d=(e,t)=>Math.abs(e+t)e.element));for(let t of o){let{element:n,before:o,carried:c,carriedMs:l,held:u}=t,d=t.after,f=t.rawX??0,p=t.rawY??0;for(let t=n.parentElement;t!=null&&t!==e.area;t=t.parentElement){let e=s.get(t);if(e!=null){f-=e.rawX??0,p-=e.rawY??0;break}}if(Math.abs(f){let t=_.remaining(e),n=c(e);return{x:n.x+h*t,y:n.y+g*t}}),b=Bz(n,Oz(v,e=>{let t=y(e);return{translate:`${t.x}px ${t.y}px`}}),{duration:v,easing:`linear`},i,m);if(b!=null){let e={animation:b,offsetAt:y,durationMs:v,shownBefore:{x:f/m.x,y:p/m.y},scale:m};SV.set(n,e),b.addEventListener?.(`finish`,()=>{SV.get(n)===e&&SV.delete(n)})}}}function vB(e){return typeof e==`function`?e():e.current}function yB(e,t){return{measureBefore(){let n=vB(t);if(n==null||e==null)return;let r=$z(e,n);if(r==null)return;Uz(n.ownerDocument);let i=lB(r);if(i.changed.has(n))return;i.changed.add(n),i.changedSize+=sB(n,i.cache).height,i.visible??=mB(r),i.originBefore??=pB(r),i.walksToBand??=r.ownerDocument.defaultView?.getComputedStyle(r).getPropertyValue(`overflow-anchor`)===`none`;let a=Math.max(i.visible.height,i.changedSize),o=a>i.reach?[...i.changed]:[n];a>i.reach&&(i.reach=Math.max(a,i.reach*2));let s=tB(i.visible,i.reach);for(let e of o){let t=cB(e,r,s,i.cache,i.walksToBand,i.ancestors,i.befores);for(let[e,n]of t)i.before.has(e)||i.before.set(e,oB(e,n,r));i.candidates.set(e,[...t.keys()])}},animate(n){let r=vB(t);if(r==null||e==null)return!1;let i=$z(e,r),a=i==null?void 0:TV.get(i);return a==null||!a.changed.has(r)?!1:(n!=null&&a.beforeMove.push(n),a.scheduled||(a.scheduled=!0,queueMicrotask(()=>yP(()=>_B(a)))),!0)}}}function bB(e){return e.ownerDocument.defaultView?.getComputedStyle(e).direction===`rtl`}function xB(e,t,n,r){let i=[n,n,n,n],a=e===`block-start`?0:e===`block-end`?2:e===`inline-end`===r?3:1;return i[a]=t,`inset(${i.join(` `)})`}function SB(e,t,n){return xB(e,`${Az(t*100)}%`,`0`,n)}function CB(e,t,n){return xB(e,`${t}px`,`0px`,n)}function wB(e,t){let n=e.getBoundingClientRect(),r=hB(e,n);return t.startsWith(`inline`)?n.width/r.x:n.height/r.y}function TB(e,t,n,r){if(!t.startsWith(`block`)||!(r>0))return null;let i=e.ownerDocument.defaultView,a=i?.getComputedStyle(e);if(i==null||a==null||EB(a)||[`::before`,`::after`].some(t=>{let{content:n}=i.getComputedStyle(e,t);return n!==``&&n!==`none`&&n!==`normal`}))return null;let o=tB(mB(n),Math.max(i.innerHeight,r)),s=[],c=[];for(let t=e.firstChild;t!=null;t=t.nextSibling){if(t.nodeType===Node.TEXT_NODE){if((t.textContent??``).trim()!==``)return null;continue}if(t.nodeType!==Node.ELEMENT_NODE)continue;let{display:e}=i.getComputedStyle(t);if(e===`inline`||e===`contents`)return null;let n=t.getBoundingClientRect();if(n.top>o.end)break;if(n.bottom>=o.start){if(SV.has(t))return null;s.push(t),c.push(hB(t,n,gB(t)))}}if(s.length===0)return null;let l=e=>(Number.parseFloat(a.getPropertyValue(`border-${e}-width`))||0)+(Number.parseFloat(a.getPropertyValue(`padding-${e}`))||0);return{parts:s,scales:c,clip:t===`block-end`?`inset(${l(`top`)}px 0px 0px 0px)`:`inset(0px 0px ${l(`bottom`)}px 0px)`}}function EB(e){return!(e=>e===``||e===`transparent`||/^rgba\\(.*,\\s*0\\)$/.test(e))(e.backgroundColor)||e.backgroundImage!==``&&e.backgroundImage!==`none`||[`Top`,`Right`,`Bottom`,`Left`].some(t=>e.getPropertyValue(`border-${t.toLowerCase()}-style`)!==`none`&&Number.parseFloat(e.getPropertyValue(`border-${t.toLowerCase()}-width`))>0)||e.boxShadow!==``&&e.boxShadow!==`none`||e.borderImageSource!==``&&e.borderImageSource!==`none`||e.filter!==``&&e.filter!==`none`||e.outlineStyle!==``&&e.outlineStyle!==`none`&&Number.parseFloat(e.outlineWidth)>0}function DB(e,t){return{translate:`0px ${e===`block-end`?-t:t}px`}}function OB(e,t){let{style:n}=e,r=n.getPropertyValue(`clip-path`),i=n.getPropertyPriority(`clip-path`);return n.setProperty(`clip-path`,t),()=>{r===``?n.removeProperty(`clip-path`):n.setProperty(`clip-path`,r,i)}}function kB(e,t){let n=e.ownerDocument.defaultView,r=e=>{let t=n?.getComputedStyle(e);if(t==null)return e;if(t.display===`contents`){for(let t=e.lastElementChild;t!=null;t=t.previousElementSibling){let e=r(t);if(e!=null)return e}return null}return eB(e,t)?e:null},i=e;for(;i!=null&&i!==t;){for(let e=i.previousElementSibling;e!=null;e=e.previousElementSibling){let t=r(e);if(t!=null)return t}i=i.parentElement}return null}function AB(e,t,n){for(let r=e;r!=null&&r!==n&&!r.contains(t);r=r.parentElement){let e=SV.get(r);if(e!=null)return e}return null}function jB(e){return Number(e.ownerDocument.timeline?.currentTime??NaN)}function MB(e){let t=Number(e.animation.currentTime);return e.shownAt(Number.isFinite(t)?Math.max(0,t):0)}function NB(e,t){let n=EV.get(e);if(n!=null){EV.delete(e);let t=MB(n);return n.animation.cancel(),PB(n),t}let r=DV.get(e);return DV.delete(e),r!=null&&r.at===jB(e)?r.fraction:t}function PB(e){e.release()}function FB(e,t,n,r=[],i=()=>{},a=!1){let o=!1,s={animation:t,shownAt:n,slides:r,release:()=>{if(!o){o=!0;for(let e of r)UB(e);i()}}};return EV.set(e,s),a&&OV.set(e,s),t.addEventListener?.(`finish`,()=>{EV.get(e)===s&&(EV.delete(e),a||s.release())}),s}function IB(e,t,n,r,i,a,o,s,c){let l=i.effect;l!=null&&typeof l.setKeyframes==`function`&&queueMicrotask(()=>{if(!a())return;let u=n.endsWith(`end`),d=u?WB(e,t):kB(e,t),f=d==null?null:AB(d,e,t);if(d==null||f==null)return;let p=AB(e,d,t),m=VB(f,i),h=p==null?0:VB(p,i),g=Math.max(f.durationMs-m,p==null?0:p.durationMs-h),_=u?1:-1,v=e=>{let t=f.offsetAt(m+e),i=p?.offsetAt(h+e)??{x:0,y:0};return o(_*(n.startsWith(`inline`)?(r?-1:1)*(t.x-i.x):t.y-i.y))},y=Oz(g,e=>s(v(e)));l.setKeyframes(y),l.updateTiming?.({duration:g}),Rz(i,y,g),c(v,g)})}function LB(e,t,n,r,i,a){let o=wB(e,n);o>0&&IB(e,t,n,r,i.animation,()=>EV.get(e)===i,e=>Math.min(o,Math.max(0,a?o-e:-e)),e=>i.slides.length>0?{opacity:1-e/o}:{opacity:1-e/o,clipPath:CB(n,e,r)},(e,t)=>{i.shownAt=t=>1-e(t)/o;for(let r of i.slides){let i=r.effect,a=Oz(t,t=>DB(n,e(t)));i?.setKeyframes?.(a),i?.updateTiming?.({duration:t}),Rz(r,a,t)}})}function RB(e,t,{edge:n=`block-end`}={}){if(e==null)return null;let r=$z(e,t);if(r==null||!fB(t.getBoundingClientRect(),mB(r)))return null;let i=Dz(r);if(i.kind===`instant`)return null;let a=NB(t,0),o=TV.get(r),s=o!=null&&[...o.changed].some(e=>e===t||e.contains(t))?uB(o):void 0;if(i.kind===`fade`)return Bz(t,[{opacity:a},{opacity:1}],{duration:i.durationMs,easing:i.easing},s);let{progress:c}=i,l=n.startsWith(`inline`)&&bB(t),u=n.startsWith(`block`)?wB(t,n):0,d=TB(t,n,r,u),f=zB(d,c,s,e=>DB(n,(1-a)*e*u)),p=Bz(t,kz(c,e=>{let t=(1-a)*e;return f.length>0?{opacity:1-t}:{opacity:1-t,clipPath:SB(n,t,l)}}),{duration:c.durationMs,easing:`linear`},s);if(p==null)for(let e of f)e.cancel();else LB(t,r,n,l,FB(t,p,e=>1-(1-a)*c.remaining(e),f,f.length>0&&d!=null?OB(t,d.clip):void 0),!1);return p}function zB(e,t,n,r,i){let a=[];for(let[o,s]of(e?.parts??[]).entries()){let c=Bz(s,kz(t,r),{duration:t.durationMs,easing:`linear`,fill:i},n);if(c!=null){a.push(c);let n={animation:c,offsetAt:e=>BB(c,e),get durationMs(){return HB(c,t.durationMs)},shownBefore:{x:0,y:0},scale:e?.scales[o]??{x:1,y:1}};SV.set(s,n),kV.set(c,s),c.addEventListener?.(`finish`,()=>{SV.get(s)===n&&SV.delete(s)})}}return a}function BB(e,t){let n=e.effect;if(n==null||typeof n.getKeyframes!=`function`)return{x:0,y:0};let r=n.getKeyframes(),i=Number(n.getTiming().duration),a=i>0?Math.min(1,Math.max(0,t/i)):1,o=e=>{let[t=0,n=0]=Kz(String(e?.translate??``));return{x:t,y:n,offset:e?.computedOffset??0}},s=o(r[0]),c=o(r[r.length-1]);for(let e of r){let t=o(e);if(t.offset<=a&&(s=t),t.offset>=a){c=t;break}}let l=c.offset-s.offset,u=l>0?(a-s.offset)/l:0;return{x:s.x+(c.x-s.x)*u,y:s.y+(c.y-s.y)*u}}function VB(e,t){let n=Number(t.startTime)-Number(e.animation.startTime);return Number.isFinite(n)?Math.max(0,n):0}function HB(e,t){let n=e.effect,r=Number(n?.getTiming?.().duration);return r>0?r:t}function UB(e){let t=kV.get(e);t!=null&&SV.get(t)?.animation===e&&SV.delete(t),e.cancel()}function WB(e,t){let n=e.ownerDocument.defaultView,r=e=>{let t=n?.getComputedStyle(e);if(t==null)return e;if(t.display===`contents`){for(let t=e.firstElementChild;t!=null;t=t.nextElementSibling){let e=r(t);if(e!=null)return e}return null}return eB(e,t)?e:null},i=e;for(;i!=null&&i!==t;){for(let e=i.nextElementSibling;e!=null;e=e.nextElementSibling){let t=r(e);if(t!=null)return t}i=i.parentElement}return null}function GB(e,t){let n=e.getBoundingClientRect();return{block:n.top,inline:t?-n.right:n.left}}function KB(e,t,n=`block-end`){let r=e.ownerDocument.defaultView,i=e.parentElement==null?void 0:r?.getComputedStyle(e.parentElement),a=i!=null&&i.display.includes(`flex`)&&i.flexDirection.startsWith(`row`),o=r?.getComputedStyle(e).direction===`rtl`,s=n.endsWith(`start`),c=n===`block-end`?a?`margin-inline-end`:`margin-block-end`:`margin-${n}`,l=c.includes(`inline`),u=l?e.offsetWidth:e.offsetHeight,d=WB(e,t);if(d==null&&!s)return e.style.setProperty(c,`${-u}px`),!0;let f=e.style.getPropertyValue(c),p=e.style.getPropertyPriority(c),m=l?`inline`:`block`,h=[d,e.parentElement==null||e.parentElement===t?null:WB(e.parentElement,t),s?kB(e,t):null,s?e:null].filter(e=>e!=null);if(h.length===0)return!1;let g=hB(e,e.getBoundingClientRect()),_=e.style.getPropertyValue(`position`),v=e.style.getPropertyPriority(`position`),y=s?GB(e,o):null;e.style.setProperty(`position`,`absolute`,`important`);let b=h.map(t=>t===e&&y!=null?y:GB(t,o)),x=b[0];_===``?e.style.removeProperty(`position`):e.style.setProperty(`position`,_,v);let S=a?g.x:g.y;e.style.setProperty(c,`${-u}px`);let C=GB(h[0],o)[m],w=(x[m]-C)/S;return e.style.setProperty(c,`${-u+w}px`),!h.some((e,t)=>{let n=GB(e,o);return Math.abs(n.block-b[t].block)>1||Math.abs(n.inline-b[t].inline)>1})||(f===``?e.style.removeProperty(c):e.style.setProperty(c,f,p),!1)}function qB(e,t,n,{edge:r=`block-end`}={}){if(e==null)return!1;let i=$z(e,t);if(i==null||!fB(t.getBoundingClientRect(),mB(i)))return!1;let a=TV.get(i);if(a==null||![...a.changed].some(e=>e===t||e.contains(t)))return!1;let o=Dz(i);if(o.kind===`instant`)return!1;JB(t);let s={inert:t.hasAttribute(`inert`),styles:AV.map(e=>[e,t.style.getPropertyValue(e),t.style.getPropertyPriority(e)])};if(!KB(t,i,r)){for(let e of[...a.changed])(e===t||e.contains(t))&&a.changed.delete(e);return!1}MV.set(t,s),t.setAttribute(`inert`,``),t.style.setProperty(`pointer-events`,`none`);let c=NB(t,1),l=r.startsWith(`inline`)&&bB(t),u=uB(a),d;if(o.kind===`fade`)d=Bz(t,[{opacity:c},{opacity:0}],{duration:o.durationMs,easing:o.easing,fill:`forwards`},u);else{let{progress:e}=o,n=r.startsWith(`block`)?wB(t,r):0,a=TB(t,r,i,n),s=zB(a,e,u,e=>DB(r,(1-c*e)*n),`forwards`);if(d=Bz(t,kz(e,e=>{let t=c*e;return s.length>0?{opacity:t}:{opacity:t,clipPath:SB(r,1-t,l)}}),{duration:e.durationMs,easing:`linear`,fill:`forwards`},u),d==null)for(let e of s)e.cancel();else LB(t,i,r,l,FB(t,d,t=>c*e.remaining(t),s,s.length>0&&a!=null?OB(t,a.clip):void 0,!0),!0)}return jV.set(t,d),d==null?(n(),!0):(d.addEventListener?.(`finish`,()=>{jV.get(t)===d&&n()}),!0)}function JB(e){if(!jV.has(e))return;let t=EV.get(e);t!=null&&(EV.delete(e),DV.set(e,{fraction:MB(t),at:jB(e)}),PB(t));let n=OV.get(e);OV.delete(e),n!=null&&PB(n),jV.get(e)?.cancel(),jV.delete(e);let r=MV.get(e);MV.delete(e),r?.inert!==!0&&e.removeAttribute(`inert`);for(let[t,n,i]of r?.styles??[])n===``?e.style.removeProperty(t):e.style.setProperty(t,n,i)}function YB(e,t,{isVisiblePart:n=!1}={}){if(e==null||typeof t.animate!=`function`)return null;let r=$z(e,t);if(r==null||Dz(r).kind===`instant`||!oz(t))return null;Uz(t.ownerDocument);let i=t.getBoundingClientRect();if(!n){let e=lz(t);return e==null?null:{area:r,copy:e,rect:i}}let a=pz(t);return a==null?null:{area:r,...a}}function XB(e,t){let n=Dz(e.area);if(n.kind===`instant`)return()=>{};let{copy:r}=e,i=dB(e.area,r.ownerDocument);fz(r,t.host,e.rect,t.copyBefore??null),t.isOpaque===!0&&(t.copyBefore??(r.style.zIndex=`1`),r.style.backgroundColor=rz(r));let a=[],o=!1,s=()=>{o||(o=!0,a.forEach(e=>e.cancel()),r.remove(),t.onEnd?.())},{copyText:c,rideWith:l}=t,u=c!=null&&n.kind===`glide`?mz(r):[],d=[];if(n.kind===`glide`){let e=l!=null&&l.isCopyMoved!==!1;d.push([r,(n,r)=>({...t.copy(n,r),...e?{translate:`${r.x}px ${r.y}px`}:null})]);for(let e of u)d.push([e,e=>({opacity:c?.(e)??1})]);for(let{element:e,frames:n}of t.incoming)d.push([e,n])}else{d.push([r,e=>({opacity:1-e})]);for(let{element:e}of t.incoming)d.push([e,e=>({opacity:e})])}let f=(e,t,n,r,o)=>{for(let[s,c]of d){let l=Bz(s,o(e=>c(t(e),n(e))),{duration:e,fill:`both`,...r},i);l!=null&&a.push(l)}a.length===0?s():a[0].addEventListener?.(`finish`,s)};if(n.kind===`fade`)return f(n.durationMs,e=>e<=0?0:1,()=>NV,{easing:n.easing},e=>[e(0),e(n.durationMs)]),s;let{progress:p}=n,m=e=>1-p.remaining(e);return l==null?(f(p.durationMs,m,()=>NV,{easing:`linear`},e=>Oz(p.durationMs,e)),s):(queueMicrotask(()=>{if(o)return;let e=SV.get(l.element),t=e?.durationMs??p.durationMs;f(t,m,t=>{if(e==null)return{x:-l.travel.x,y:-l.travel.y};let n=e.offsetAt(t),r=e.shownBefore;return{x:n.x-r.x,y:n.y-r.y}},{easing:`linear`},e=>Oz(t,e))}),s)}function ZB(e,t){let n=e==null?null:Zz(e),r=n==null?null:Dz(n);if(n==null||r==null||r.kind===`instant`)return()=>{};let i=dB(n,n.ownerDocument),a=[];for(let{element:e,frames:n}of t){let t=r.kind===`glide`?Bz(e,kz(r.progress,e=>n(1-e,NV)),{duration:r.progress.durationMs,easing:`linear`,fill:`both`},i):Bz(e,[{opacity:0},{opacity:1}],{duration:r.durationMs,easing:r.easing},i);t!=null&&a.push(t)}let o=()=>a.forEach(e=>e.cancel());return a[0]?.addEventListener?.(`finish`,o),o}function QB(e,t,{edge:n=`block-end`,shown:r=null}={}){if(t==null||typeof t.animate!=`function`)return null;Uz(t.ownerDocument);let i=t.getBoundingClientRect();return{element:t,rect:i,extent:r??(n.startsWith(`inline`)?i.width:i.height),swap:YB(e,t)}}function $B(e,t,n,{edge:r=`block-end`,rideWith:i=null,parts:a}={}){let{rect:o,swap:s,extent:c}=e,l=t?.isConnected===!0?t:e.element;if(!l.isConnected)return PV;let u=Dz(l),d=l.getBoundingClientRect(),f=r.startsWith(`inline`),p=e=>f?e.width:e.height,m=p(d);if(u.kind===`instant`||Math.abs(m-c)<.5)return PV;let h=mb*(f?_?-e.x:e.x:e.y),S=(e,t)=>y?c+x(t):c+(m-c)*e,C=e=>CB(r,e,_),w=()=>Number(l.ownerDocument.timeline?.currentTime??0),T=dB($z(n,l),l.ownerDocument)?.at??0,E=u.kind===`glide`?u.progress.durationMs:u.durationMs,D=e=>u.kind===`glide`?1-u.progress.remaining(Math.min(e,E)):0,O=()=>{let e=Math.max(0,w()-T);if(e>=E)return null;let t=D(Math.max(e,Wz(l.ownerDocument)-T)),n=c+(m-c)*D(e);if(y&&i!=null){let e=Gz(i,w()),t=l.getBoundingClientRect();n=f?g===_?t.right-e.right:e.left-t.left:g?e.top-t.top:t.bottom-e.bottom}return{extent:n,progress:t}},k=b*(c-m),A=y&&i!=null?{element:i,travel:f?{x:_?-k:k,y:0}:{x:0,y:k},isCopyMoved:!1}:void 0,j=new DOMRect(f&&g===(f&&_)?d.right-o.width:d.left,!f&&!g?d.bottom-o.height:d.top,o.width,o.height),M=a?.(h,l)??{},N=M.copyOpacity??(()=>1);if(h){if(s==null||v==null)return PV;let e=l;for(;e!=null&&e.parentElement!==v;)e=e.parentElement;let t=e==null?null:{position:e.style.position};return e!=null&&getComputedStyle(e).position===`static`&&(e.style.position=`relative`),{end:XB({...s,rect:j},{host:v,isOpaque:!0,copyBefore:e??void 0,copy:(e,t)=>({clipPath:C(p(o)-S(e,t)),opacity:N(e)}),copyText:M.copyText,rideWith:A,onEnd:()=>{e!=null&&t!=null&&(e.style.position=t.position)},incoming:M.incoming??[]}),shown:O}}let P=[{element:l,frames:(e,t)=>({clipPath:C(m-S(e,t))})},...M.incoming??[]];return{end:s!=null&&v!=null?XB({...s,rect:j},{host:v,isOpaque:!0,copy:e=>({opacity:N(e)}),copyText:M.copyText,rideWith:A,incoming:P}):ZB(n,P),shown:O}}function eV(e,t){let n=getComputedStyle(e);return{gutters:[n.getPropertyValue(`padding-${t}-start`),n.getPropertyValue(`padding-${t}-end`)],overflow:[n.getPropertyValue(`overflow-x`),n.getPropertyValue(`overflow-y`)],scroll:[e.scrollLeft,e.scrollTop]}}function tV(e,t){let[n,r]=t.scroll;e.scrollLeft!==n&&(e.scrollLeft=n),e.scrollTop!==r&&(e.scrollTop=r)}function nV(e,t,n,r,i,a){let o=n.startsWith(`inline`)?`inline`:`block`,s=`margin-${n}`,c=[[`padding-${o}-start`,a.gutters[0]],[`padding-${o}-end`,a.gutters[1]],[`overflow-x`,a.overflow[0]],[`overflow-y`,a.overflow[1]]],l=[...IV[o],s,...c.map(([e])=>e)].map(t=>[t,e.style.getPropertyValue(t),e.style.getPropertyPriority(t)]),u=()=>{for(let[t,n,r]of l)n===``?e.style.removeProperty(t):e.style.setProperty(t,n,r)},d=n.endsWith(`end`),f=o===`inline`&&bB(e),p=d?WB(e,t):kB(e,t),m=p==null?null:GB(p,f),h=`${r}px`;e.style.setProperty(`${o}-size`,h,`important`),e.style.setProperty(`min-${o}-size`,h,`important`),e.style.setProperty(`max-${o}-size`,h,`important`),e.style.setProperty(`flex-basis`,`auto`,`important`),e.style.setProperty(`flex-grow`,`0`,`important`),e.style.setProperty(`flex-shrink`,`0`,`important`);for(let[t,n]of c)n!==``&&e.style.setProperty(t,n,`important`);if(e.style.setProperty(s,`${i-r}px`,`important`),p!=null&&m!=null){let t=GB(p,f),n=hB(e,e.getBoundingClientRect()),a=o===`inline`?n.x:n.y,c=d?1:-1,l=(t[o]-m[o])*c;Math.abs(l)>.5&&e.style.setProperty(s,`${i-r-l/a}px`,`important`);let h=GB(p,f);if(Math.abs(h.block-m.block)>1||Math.abs(h.inline-m.inline)>1)return u(),null}return tV(e,a),u}function rV(e,t,{edge:n=`block-end`}={}){let r=yB(e,t),i=null,a=n.startsWith(`inline`)?`inline`:`block`,o=e=>{e!=null&&FV.get(e)?.release()};return{measureBefore(){let e=t();if(i=null,e!=null){Uz(e.ownerDocument);let t=FV.get(e),r=Number(t?.animation?.currentTime),o=e.getBoundingClientRect(),s=eV(e,a);i=t==null?{shown:wB(e,n),box:wB(e,n),rect:o,inside:s}:{shown:t.shownAt(Number.isFinite(r)?Math.max(0,r):0),box:t.box,rect:o,inside:s},t?.release()}r.measureBefore()},animate(){r.animate();let a=t(),o=i;if(i=null,e==null||a==null||o==null)return;tV(a,o.inside);let s=$z(e,a);if(s==null)return;let c=wB(a,n);if(Math.abs(c-o.shown)<.5)return;let l=mB(s);if(!fB(a.getBoundingClientRect(),l)&&!fB(o.rect,l))return;let u=Dz(s);if(u.kind===`instant`)return;let d=c{};if(g==null)return;let _=h-o.shown,v=h-c,y=e=>v+(_-v)*p.remaining(e),b=Bz(a,Oz(p.durationMs,e=>({clipPath:CB(n,y(e),m)})),{duration:p.durationMs,easing:`linear`},f),x={animation:b,shownAt:e=>h-y(e),box:h,release:()=>{FV.get(a)===x&&(FV.delete(a),b?.cancel(),g())}};b==null?g():(FV.set(a,x),b.addEventListener?.(`finish`,x.release),IB(a,s,n,m,b,()=>FV.get(a)===x,e=>Math.min(h,Math.max(0,d?v-e:-e)),e=>({clipPath:CB(n,e,m)}),e=>{x.shownAt=t=>h-e(t)}))},cancel(){i=null,o(t())}}}function iV(e){let t=SV.get(e);t!=null&&(SV.delete(e),t.animation.cancel())}function aV(e){let t=SV.get(e),n=t?.animation.effect;if(t==null||n==null||typeof n.setKeyframes!=`function`)return;n.setKeyframes(n.getKeyframes().map(({computedOffset:e,translate:t,...n})=>{let[,r=`0px`]=String(t??``).split(/\\s+/);return{...n,translate:`0px ${r}`}}));let r={animation:t.animation,offsetAt:e=>({x:0,y:t.offsetAt(e).y}),get durationMs(){return t.durationMs},shownBefore:{x:0,y:t.shownBefore.y},scale:t.scale};SV.set(e,r),t.animation.addEventListener?.(`finish`,()=>{SV.get(e)===r&&SV.delete(e)})}function oV(e){return Dz(e)}var sV,cV,lV,uV,dV,fV,pV,mV,hV,gV,_V,vV,yV,bV,xV,SV,CV,wV,TV,EV,DV,OV,kV,AV,jV,MV,NV,PV,FV,IV,LV=o((()=>{_P(),IP(),Xn(),az(),xz(),Cv(),Cm(),fc(),eh(),MP(),sV=.5,cV=200,lV=Jn(`motion/animated-layout/release-glides`,1),uV=Jn(`motion/animated-layout/presented-glides`,1),dV=Kn(`motion/animated-layout/glide-reports`,1,()=>new Set),fV=Kn(`motion/animated-layout/ended-reports`,1,()=>[]),pV=.5,mV=.005,hV=new Set([`offset`,`computedOffset`,`easing`,`composite`]),gV=Jn(`motion/animated-layout/settling`,1),_V=Jn(`motion/animated-layout/settle-retimes`,1),Jn(`motion/animated-layout/transition-settles`,1),vV=Jn(`motion/animated-layout/change-starts`,1),yV=Yn(`motion/animated-layout/ours`,1),bV=[`transform`,`translate`,`rotate`,`scale`],xV=()=>({x:0,y:0}),SV=Jn(`motion/animated-layout/glides`,1),CV=Wn(`animated-layout/area`,1),wV=3,TV=qn(`motion/animated-layout/batches`,1),EV=Jn(`motion/animated-layout/edge-motions`,1),DV=Jn(`motion/animated-layout/stopped-shown`,1),OV=Jn(`motion/animated-layout/held-slides`,1),kV=Jn(`motion/animated-layout/slide-targets`,1),AV=[`margin-block-end`,`margin-inline-end`,`margin-block-start`,`margin-inline-start`,`pointer-events`],jV=Jn(`motion/animated-layout/exits`,1),MV=Jn(`motion/animated-layout/replaced`,1),NV={x:0,y:0},PV={end:()=>{},shown:()=>null},FV=Jn(`motion/animated-layout/resize-reveals`,1),IV={inline:[`inline-size`,`min-inline-size`,`max-inline-size`,`flex-basis`,`flex-grow`,`flex-shrink`],block:[`block-size`,`min-block-size`,`max-block-size`,`flex-basis`,`flex-grow`,`flex-shrink`]}}));LV(),GF(),GP(),jI(),Xn();var RV=Jn(`resizable/resizable-pane/lent`,1),zV=Kn(`resizable/resizable-pane/watchers`,1,()=>new Set),BV=Yn(`resizable/resizable-pane/resize-handles`,1);function VV(e){return BV.add(e),()=>{BV.delete(e)}}function HV(){for(let e of[...zV])e()}function UV(e){return zV.add(e),()=>{zV.delete(e)}}function WV(e,t){let n=t?e.nextElementSibling:e.previousElementSibling;return n==null?null:RV.get(n)??null}function GV(e,t,n,r,i){return t!==e&&(n!=null&&e?.listen(null),e?.setCollapsed(!1,null),n!=null&&t?.listen(n)),t?.setCollapsed(r,i),t}function KV(e,t){let n=t===`start`?[e.nextElementSibling]:t===`end`?[e.previousElementSibling]:[e.nextElementSibling,e.previousElementSibling];for(let e of n)if(e instanceof HTMLElement&&BV.has(e))return e;return null}function qV(){let e=null,t=!1,n=new Set;return{setPointerDragging(e){t=e},isPointerDragging:()=>t,attach(t){if(t!==e){e=t;for(let e of[...n])e(t)}},follow(t){return n.add(t),t(e),()=>{n.delete(t)}}}}var JV=Jn(`resizable/resizable-pane/props-regions`,1);function YV(e,t){JV.set(e,t)}function XV(e){return JV.get(e)}function ZV(){let e=!1,t=null,n,r=`inline-end`,i=null,a=!1,o=null,s=new Set,c=t=>{if(t!==e){e=t;for(let e of[...s])e()}};return{subscribe(e){return s.add(e),()=>{s.delete(e)}},isCollapsed:()=>e,focusTarget:()=>t,attach(e,s){if(i?.element===e&&a===s)return i;let l=i!=null&&a;if(i!=null&&RV.get(i.element)===i&&RV.delete(i.element),i=null,o=null,a=s,e==null)t=null,c(!1);else{let a={element:e,renderedWidth:()=>n,contentFacingEdge:()=>r,setCollapsed(e,n){i===a&&(t=n,c(e))},listen(e){i===a&&(o=e)}};i=a,s&&RV.set(e,a)}return(l||e!=null&&s)&&HV(),i},beforeChange(e){o?.beforeChange(e)},committed(e,t){n=e,r=t,o?.committed()}}}function QV(e){let t=null,n=null,r=Qz(e);return{measure(e,n){t?.report.cancel(),t=null;let i=e.element,a=rV(r,()=>i,{edge:n});a.measureBefore(),t={report:a,pane:e,widthBefore:e.renderedWidth()}},committed(e){if(t==null||t.pane!==e||e.renderedWidth()===t.widthBefore)return;let{report:r}=t;t=null,n=r,r.animate()},land:()=>{t?.report.cancel(),t=null,n?.cancel(),n=null;for(let t of e()?.children??[])iV(t)}}}function $V(e,t,n){if(!(n>0))return null;let r=Tz(VP(e,kI.settle),t/n);return wz(e,r),e=>e>=r.durationMs?0:r.remaining(e)}function eH(e,t){let n=e.element,r=KV(n,null);if(r==null)return null;let i=e.contentFacingEdge(),a=i.startsWith(`inline`),o=a&&n.ownerDocument.defaultView?.getComputedStyle(n).direction===`rtl`,s=a?i.endsWith(`end`)!==o:i.endsWith(`end`),c=n.getBoundingClientRect(),l=a?s?c.left:c.right:s?c.top:c.bottom,u=s?1:-1,d=()=>{let e=r.getBoundingClientRect();return a?e.left+e.width/2:e.top+e.height/2},f=u*(d()-l)-t;return()=>Math.max(u*(d()-l)-f,0)}function tH(e){return!(`transitionProperty`in e)&&!(`animationName`in e)}function nH(e){let t=e.element,n=[...t.parentElement?.children??[]].filter(e=>e!==t).map(Xz).filter(e=>e!=null),r=e=>Number(e.effect?.getComputedTiming().duration??0),i=n.length>0?r(n[0]):null;return[...typeof t.getAnimations==`function`?t.getAnimations().filter(e=>tH(e)&&(i==null||Math.abs(r(e)-i)<1)):[],...n]}function rH(e){let t=e.element,n=null,r=0,i=null,a=()=>{if(n!=null)return n;let r=e.contentFacingEdge(),i=r.startsWith(`inline`),a=i&&t.ownerDocument.defaultView?.getComputedStyle(t).direction===`rtl`;return n={sign:(r.endsWith(`end`)?1:-1)*(a?-1:1),axis:i?`x`:`y`,handle:KV(t,null)},n},o=()=>{let e=n?.handle;return e==null?null:cF(e)};return{draw(e){let t=r===0&&i==null;if(t&&e===0)return;t&&(n=null),i=null,r=e;let{sign:s,axis:c}=a();o()?.set({[c]:s*e})},springBack(e,t){let a=o();if(r===0||a==null||n==null)return!1;let{sign:s,axis:c}=n;r=0;let l=a.animate({[c]:0},{spring:e,velocity:{[c]:s*t}});return i=l,l.finished.then(()=>{i===l&&(i=null)}),!0},shown(){let e=o();return i==null||e==null||n==null?r:n.sign*e.get(n.axis)},clear(){n!=null&&(r!==0||i!=null)&&o()?.set({[n.axis]:0},{promote:!1}),i=null,r=0,n=null}}}function iH(e){let{value:t}=e;return{\"aria-orientation\":e.direction===`horizontal`?`vertical`:`horizontal`,\"aria-valuenow\":t==null?void 0:Math.min(Math.max(t.size,t.minPx),t.maxPx??1/0),\"aria-valuemin\":t?.minPx,\"aria-valuemax\":t?.maxPx!=null&&Number.isFinite(t.maxPx)?t.maxPx:void 0,\"aria-valuetext\":t?.isCollapsed?t.collapsedText:void 0,\"aria-disabled\":e.isDisabled||void 0,tabIndex:0}}qw(),Qi(),sc(),gR(),vR(),GP(),jI(),Xn(),Ww(fR);var aH=`@astryx.resizable.handle.label`,oH=`@astryx.resizable.collapsed`;function sH(){return typeof window>`u`?SR:window.innerWidth}var cH=null,lH=8;function uH(e={},t=`client`){let{defaultSize:n,minSize:r,maxSize:i,containerRef:a,collapsible:o=!1,snaps:s=[],autoSaveId:c,defaultIsCollapsed:l,isCollapsed:u}=e,d=t===`server`,f=c&&!d?xR(c):null,p=TR(n),m=TR(r),h=TR(i),g=a!=null,_=g&&(ER(m)||ER(h)||f?.size==null&&ER(p)),v=g||d?SR:sH(),y=kR(r,m,v,50,`minSize`,CR,cH),b=kR(i,h,v,1/0,`maxSize`,CR,cH),x=kR(n,p,v,250,`defaultSize`,CR,cH),S=bR(f?.size??(_?null:bR(x,y,b,s))??x,y,b,s),C=o&&(u===void 0?f?.isCollapsed??l??!1:u),w=g||d?null:pR(e.direction??`horizontal`);return{size:C?0:S,isCollapsed:C,expandedSize:S,minPx:y,maxPx:b,effectiveMaxPx:b===1/0?mR(w,C?y:S,y):b}}var dH=Jn(`resizable/create-resizable/internals`,1);function fH(e){return dH.get(e)}function pH(e){return e==null?null:String(e)}var mH=[`role`,`tabindex`,`aria-label`,`aria-orientation`,`aria-valuenow`,`aria-valuemin`,`aria-valuemax`,`aria-valuetext`,`aria-disabled`,`data-resizing`];function hH(e,t,n={}){let r=e===`useResizable`,i=n,a=!1,o=!1,s=new Set,c=()=>i.isReversed??!1,l=()=>i.isDisabled??!1,u=ac(),d=i.autoSaveId,f=d?xR(d):null,p=null,m=null,h=null,g=null,_=!1,v=!1,y=null,b=!1,x=!1,S=0,C=0,w=null,T=0,E=0,D=null,O=!1,k=!1,A=null,j=null,M=null,N,P=null,F=f?.isCollapsed??i.defaultIsCollapsed??!1,I={size:0,isCollapsed:!1,min:50,max:1/0,effectiveMax:void 0,isBasisMeasured:!0},L=null,R=null,z=!1,B=null,V=new Set,H=null,ee=null,U=QV(()=>H?.element.parentElement??null),te=null,W=null,G=!1,ne=!1,re=()=>i.direction??`horizontal`,ie=()=>i.collapsible??!1,K=()=>i.isCollapsed!==void 0,q=()=>i.snaps??[],ae=()=>{le()};function oe(){let e=TR(i.defaultSize),t=ER(TR(i.minSize))||ER(TR(i.maxSize)),n=f?.size==null&&ER(e)&&M?.isFinal!==!0,r=i.containerRef!=null;return{hasContainer:r,container:r&&(t||n),viewport:!r&&t}}function se(){let e=oe(),t=e.container?i.containerRef?.current??null:null;if((t!==p||m!==re())&&(g?.(),g=null,p=t,h=null,m=re(),t!=null)){_=!0;let e=t;g=qi(e,t=>{h=Pre(e,re(),t),_||le()}),_=!1}let n=e.viewport&&typeof window<`u`;n&&!v?(window.addEventListener(`resize`,ae),v=!0):!n&&v&&(window.removeEventListener(`resize`,ae),v=!1)}function ce(){let t=oe(),n=h!=null&&h>0,a=t.hasContainer?n?h:SR:sH(),o=!t.container||n,s=y??a,c=kR(i.minSize,TR(i.minSize),s,50,`minSize`,CR,u,e),l=kR(i.maxSize,TR(i.maxSize),s,1/0,`maxSize`,CR,u,e);M!=null&&M.isFinal||(M={px:kR(i.defaultSize,TR(i.defaultSize),s,250,`defaultSize`,CR,u,e),isFinal:o});let d=M.px;N===void 0&&(N=f?.size??(o?bR(d,c,l,q()):null)),o&&N==null&&(N=bR(d,c,l,q())),o&&y==null&&(P==null||P.min!==c||P.max!==l)&&(P={min:c,max:l},N!=null&&(N=bR(N,c,l,q())));let p=b&&x?[]:q(),m=bR(N??d,c,l,p),g=ie()&&(K()?!!i.isCollapsed:F);c>l&&u(e,`the resolved minimum (${c}px) is above the resolved maximum (${l}px). The maximum wins${r?`, as it always has`:``}.`,`inverted`);let _=t.hasContainer?n&&t.container?h:null:pR(re());I={size:m,isCollapsed:g,min:c,max:l,effectiveMax:l===1/0?mR(_,g?c:m,c):l,isBasisMeasured:o}}function le(){if(a)return;if(o)ce();else for(let e=0;e<3;e++){let e=oe();se(),ce();let t=oe();if(e.container===t.container&&e.viewport===t.viewport)break}t!=null&&!o&&he(),de();let e={size:I.isCollapsed?0:I.size,isCollapsed:I.isCollapsed};L!=null&&(L.isCollapsed===e.isCollapsed?L.size!==e.size&&U.land():W===e.isCollapsed?(W=null,te=null):(te={toCollapsed:e.isCollapsed,isPlayable:!G},G&&U.land())),H?.setCollapsed(e.isCollapsed,t);let n={size:e.size,isCollapsed:e.isCollapsed,expandedSize:I.size,minPx:I.min,maxPx:I.max,effectiveMaxPx:I.effectiveMax},r=B==null||Object.keys(n).some(e=>B?.[e]!==n[e]);if(r&&(B=n),L==null||L.size!==e.size||L.isCollapsed!==e.isCollapsed){let t=L==null;if(L=e,!t)for(let e of[...s])e()}if(r)for(let e of[...V])e()}let J={beforeChange(e){let t=H;if(t==null)return;if(te?.toCollapsed===e){let{isPlayable:e}=te;te=null,e?U.measure(t,t.contentFacingEdge()):U.land(),Oe();return}let n=I.isCollapsed?0:I.size,r=e?n!==0:n===0;ie()&&r&&I.isCollapsed!==e&&(W=e,U.measure(t,t.contentFacingEdge())),Oe()},committed(){Oe(),H!=null&&U.committed(H)}};function ue(e){e!==H&&(U.land(),te=null,W=null,O=!1,D?.clear(),D=e==null?null:rH(e),H=GV(H,e,J,I.isCollapsed,t))}function de(){let e=i.autoSaveId;if(e==null||e===``||!I.isBasisMeasured||b)return;let t={key:e,size:I.size,isCollapsed:I.isCollapsed};(z||R==null||R.key!==t.key||R.size!==t.size||R.isCollapsed!==t.isCollapsed)&&(z=!1,R=t,Dre(e,{size:t.size,isCollapsed:t.isCollapsed}))}let fe=new Map;if(t!=null)for(let e of mH)fe.set(e,t.getAttribute(e));let pe=t!=null&&(t.hasAttribute(`aria-label`)||t.hasAttribute(`aria-labelledby`)),me=(e,n)=>{t!=null&&(n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n))};function he(){fe.get(`role`)??me(`role`,`separator`),pe||me(`aria-label`,i.label??fR[aH]);let{size:e,isCollapsed:t,min:n,effectiveMax:r}=I,a=iH({direction:re(),isDisabled:l(),value:{size:t?0:e,minPx:n,maxPx:r,isCollapsed:t,collapsedText:i.collapsedLabel??fR[oH]}});fe.get(`tabindex`)??me(`tabindex`,String(a.tabIndex)),me(`aria-orientation`,a[`aria-orientation`]),me(`aria-valuenow`,pH(a[`aria-valuenow`])),me(`aria-valuemin`,pH(a[`aria-valuemin`])),me(`aria-valuemax`,pH(a[`aria-valuemax`])),me(`aria-valuetext`,pH(a[`aria-valuetext`])),me(`aria-disabled`,pH(a[`aria-disabled`]))}let ge=e=>{K()||(F=e)};function _e(){a||!ie()||I.isCollapsed||(ge(!0),le(),i.onCollapseChange?.(!0),i.onSizeChange?.(0))}function ve(){if(a)return;let e=I.isCollapsed;ge(!1),le(),e&&i.onCollapseChange?.(!1),i.onSizeChange?.(I.size)}function ye(e){if(a)return;if(!Number.isFinite(e)||e<0){`${String(e)}`;return}let t=bR(e,I.min,I.max,q()),n=I.isCollapsed;N=t,ge(!1),le(),n&&i.onCollapseChange?.(!1),i.onSizeChange?.(t)}let be={state(){return{size:I.isCollapsed?0:I.size,isCollapsed:I.isCollapsed,minPx:I.min,maxPx:I.max,snaps:q(),collapsedSize:i.collapsedSize??40,collapsible:ie()}},start(){Oe(),y=Me(),b=!0,x=!1;let e=ee?.isPointerDragging()===!0;ne=e;let t=I.isCollapsed&&e?ke():0,n=A;if(A=null,t>0&&n!=null){xe(t,n);return}let r=e?k?D?.shown()??0:T:0;k=!1,T=r,E=r,D?.draw(r),S=(I.isCollapsed?0:I.size)+r,C=S,w=I.isCollapsed?null:I.size},move(e){let t=C,n=S+e;if(C=n,j!=null){if(n(e-t)*(e-n)<=0)&&(x=!1);let r=i.collapsedSize??40;if(I.isCollapsed&&n=r;a&&ge(!1);let o=bR(n,I.min,I.max,x?[]:q());N=o,T=H==null||ee?.isPointerDragging()!==!0?0:Ee(n),D?.draw(T),G=a&&ee?.isPointerDragging()===!0,le(),G=!1,a&&i.onCollapseChange?.(!1),i.onSizeChange?.(o)},end(e=0){if(j!=null){Ce(e),Ne();return}let t=i.collapsedSize??40,n=ie()&&!I.isCollapsed&&Math.min(C,hR(C,e))=I.min){we(e);return}let n=H==null?[]:nH(H);for(let e of n)e.pause();let r=Number(n[0]?.currentTime??0),i=t.remaining(Number.isFinite(r)?r:0),a=i<.98?(e-t.fromSize*i)/(1-i):0;j={slide:t,motions:n,durationMs:Number(n[0]?.effect?.getComputedTiming().duration??0),shutSize:a}}function Se(e){if(j==null)return;let{slide:t,motions:n,durationMs:r,shutSize:i}=j,a=t.fromSize-i,o=a>0?Math.min(1,Math.max(0,(e-i)/a)):0,s=0,c=r;for(;c-s>.05;){let e=(s+c)/2;t.remaining(e)>o?s=e:c=e}for(let e of n)e.currentTime=(s+c)/2}function Ce(e){let t=j;if(j=null,t==null)return;let n=i.collapsedSize??40;if(Math.min(C,hR(C,e))0&&!q().includes(t),N=t,w=t,E=0,T=H==null?0:Ee(e),D?.draw(T),G=!0,le(),G=!1,i.onCollapseChange?.(!1),i.onSizeChange?.(t)}function Te(e){x=!1;let t=I.size+T;k=!1,T=0,D?.clear();let n=bR(t,I.min,I.max,q()),r=H?.element.parentElement,a=Math.abs(n-t);r!=null&&a>0&&$V(r,Math.sign(n-t)*e,a),N=n,le(),i.onSizeChange?.(n)}function Ee(e){let{min:t,max:n}=I;if(e>=t&&e<=n)return E=0,0;let r=e>n?n:t,i=e-r,a=Math.sign(E)===Math.sign(i)?E:0,o=Math.abs(i)<=Math.abs(a)?i:a+_R(i-a,Math.max(lH-Math.abs(a),0));return Math.max(r+o,0)-r}function De(e){let t=T;if(k=!1,T=0,t===0||D==null||H==null){D?.clear();return}let n=H.element,r=n.ownerDocument.defaultView;if(r==null||r.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches===!0){D.clear();return}let i=lH,a=Ere(Tre(t,i),i);k=D.springBack(VP(n,kI.settle),e*a)}function Oe(){O&&(O=!1,D?.clear())}function ke(){let e=H?.element,t=e?.ownerDocument.defaultView;if(A==null||e==null||t==null)return 0;let n=typeof e.getAnimations==`function`?Number(e.getAnimations().find(e=>(e.playState===`running`||e.playState===`paused`)&&tH(e))?.currentTime??1/0):t.performance.now()-A.startedAt,r=A.remaining(n);return r>0?A.readShown?.()??A.fromSize*r:0}function Ae(){w!=null&&(N=w),ge(!0),le(),i.onCollapseChange?.(!0),i.onSizeChange?.(0)}function je(e){k=!1;let t=T,n=I.size+T,r=H==null?null:eH(H,n);T=0,O=D!=null,w!=null&&(N=w);let a=H?.element.parentElement,o=a==null?null:$V(a,-e,n),s=H?.element.ownerDocument.defaultView;if(A=o==null||s==null||s.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches===!0?null:{fromSize:n,startedAt:s.performance.now(),remaining:o,readShown:r},ge(!0),le(),i.onCollapseChange?.(!0),i.onSizeChange?.(0),O){let n=()=>{O&&(O=!1,T=t,De(e))};typeof s?.requestAnimationFrame==`function`?s.requestAnimationFrame(n):setTimeout(n,16)}}function Me(){return oe().hasContainer?h!=null&&h>0?h:SR:sH()}function Ne(){b&&(y=null,b=!1,z=!0,le())}let Pe=$R(()=>t,be,()=>({direction:re(),isReversed:c(),isDisabled:l()}),e=>{me(`data-resizing`,e?``:null)}),Fe=e=>{Pe.pointerDown(e)},Ie=e=>{Pe.pointerMove(e)},Le=e=>{Pe.pointerUp(e)},Re=e=>{Pe.pointerCancel(e)},ze=e=>{Pe.keyDown(e)},Be=()=>{Pe.doubleClick()};function Ve(){t?.addEventListener(`pointerdown`,Fe),t?.addEventListener(`pointermove`,Ie),t?.addEventListener(`pointerup`,Le),t?.addEventListener(`pointercancel`,Re),t?.addEventListener(`lostpointercapture`,Re),t?.addEventListener(`keydown`,ze),t?.addEventListener(`dblclick`,Be)}function He(){t?.removeEventListener(`pointerdown`,Fe),t?.removeEventListener(`pointermove`,Ie),t?.removeEventListener(`pointerup`,Le),t?.removeEventListener(`pointercancel`,Re),t?.removeEventListener(`lostpointercapture`,Re),t?.removeEventListener(`keydown`,ze),t?.removeEventListener(`dblclick`,Be),g?.(),g=null,p=null,v&&=(window.removeEventListener(`resize`,ae),!1);for(let[e,t]of fe)me(e,t)}Ve();let Ue=null;le();let We={get size(){return I.isCollapsed?0:I.size},get isCollapsed(){return I.isCollapsed},collapse:_e,expand:ve,resize:ye,update(e){a||(i=e,i.autoSaveId!==d&&(d=i.autoSaveId,f=d?xR(d):null),le())},subscribe(e){return s.add(e),()=>{s.delete(e)}},destroy(){a||(Pe.interrupt(),Ne(),k=!1,T=0,D?.clear(),D=null,a=!0,Ue?.(),Ue=null,U.land(),H=GV(H,null,J,!1,null),o||He(),s.clear(),V.clear())}};return dH.set(We,{snapshot:()=>B,subscribeSnapshot(e){return V.add(e),()=>{V.delete(e)}},model:be,suspend(){a||o||(Pe.interrupt(),Ne(),o=!0,U.land(),He())},resume(){!a&&o&&(o=!1,Ve(),le())},syncContainer(){a||o||(oe().container?i.containerRef?.current??null:null)!==p&&le()},followRegion(e){Ue?.(),ee=e;let t=e.follow(e=>{a||ue(e)});return Ue=()=>{t(),ee===e&&(ee=null)},()=>{Ue?.(),Ue=null}}}),We}au(),x();var gH=[];function _H(e){let[t]=(0,X.useState)(qV),{getResizable:n,size:r,isCollapsed:i,snapshot:a,collapse:o,expand:s,resize:c}=SH(e,t),l=(0,X.useCallback)(()=>{let e=n();return e==null?void 0:fH(e)?.model},[n]),u=(0,X.useCallback)(()=>{l()?.start()},[l]),d=(0,X.useCallback)(e=>{l()?.move(e)},[l]),f=(0,X.useCallback)(()=>{l()?.end()},[l]),p=(0,X.useCallback)(e=>{l()?.end(e)},[l]),m={_size:r,_isCollapsed:i,_onResizeStart:u,_onResizeMove:d,_onResizeEnd:f,_onResizeCancel:(0,X.useCallback)(()=>{l()?.cancel()},[l]),_minSizePx:a.minPx,_maxSizePx:a.maxPx,_snaps:e.snaps??gH,_collapsedSize:e.collapsedSize??40,_collapsible:e.collapsible??!1,_direction:e.direction??`horizontal`,_isResizableProps:!0};return LR(m,{collapse:o,expand:s}),RR(m,p),YV(m,t),a.effectiveMaxPx!=null&&zR(m,a.effectiveMaxPx),{size:r,isCollapsed:i,collapse:o,expand:s,resize:c,props:m}}function vH(e){let{regions:t,autoSaveId:n,containerRef:r,direction:i}=e,a=Object.entries(t),o=a.map(([e,t])=>_H({...t,containerRef:r,direction:i,autoSaveId:n?`${n}:${e}`:void 0})),s={};return a.forEach(([e],t)=>{s[e]=o[t]}),s}function yH(e){return typeof e==`object`&&!!e&&`props`in e}function bH(e,t){return e.size===t.size&&e.isCollapsed===t.isCollapsed&&e.expandedSize===t.expandedSize&&e.minPx===t.minPx&&e.maxPx===t.maxPx&&e.effectiveMaxPx===t.effectiveMaxPx}function xH(e){let t=null,n=e,r=new Set,i=null,a=()=>{for(let e of[...r])e()},o=()=>{if(i?.(),i=null,t!=null&&r.size>0){let{resizable:e}=t,n=fH(e);i=n==null?e.subscribe(a):n.subscribeSnapshot(a)}};return{get:()=>t,set(e){t=e,o(),a()},subscribe(e){return r.add(e),r.size===1&&o(),()=>{r.delete(e),r.size===0&&(i?.(),i=null)}},read(){if(t==null)return n;let{resizable:r}=t,i=fH(r)?.snapshot()??{...e,size:r.size,isCollapsed:r.isCollapsed,expandedSize:r.size};return bH(n,i)||(n=i),n}}}function SH(e,t){let n=nu(e),[r]=(0,X.useState)(()=>xH(uH(e))),[i]=(0,X.useState)(()=>uH(e,`server`)),a=(0,X.useCallback)(e=>{let n=hH(`useResizable`,null,e);return t!=null&&fH(n)?.followRegion(t),n},[t]),o=(0,X.useCallback)(()=>{let e=r.get();if(e!=null){fH(e.resizable)?.resume();return}let t=n.current,i=a(t);r.set({resizable:i,passed:t})},[n,r,a]);b(()=>{o()}),b(()=>()=>{let e=r.get();if(e==null)return;let t=fH(e.resizable);t==null?(r.set(null),e.resizable.destroy()):t.suspend()},[r]),b(()=>{let t=r.get();t!=null&&e!==t.passed&&(t.passed=e,t.resizable.update(e))},[r,e]),b(()=>{let e=r.get();e!=null&&fH(e.resizable)?.syncContainer()});let s=(0,X.useSyncExternalStore)(r.subscribe,r.read,()=>i),[,c]=(0,X.useReducer)(e=>e+1,0);b(()=>{r.read()!==s&&c()});let l=e.isCollapsed!==void 0,u=l?(e.collapsible??!1)&&!!e.isCollapsed:s.isCollapsed,d=l?u?0:s.expandedSize:s.size,f=(0,X.useCallback)(()=>r.get()?.resizable??null,[r]),p=(0,X.useCallback)(()=>{let e=r.get();if(e!=null)return e.resizable;let t=n.current,i=a(t);return fH(i)?.suspend(),r.set({resizable:i,passed:t}),i},[n,r,a]);return{snapshot:s,getResizable:f,size:d,isCollapsed:u,collapse:(0,X.useCallback)(()=>{p().collapse()},[p]),expand:(0,X.useCallback)(()=>{p().expand()},[p]),resize:(0,X.useCallback)(e=>{p().resize(e)},[p])}}function CH(e){return`regions`in e?vH(e):_H(e)}var wH,TH,EH=o((()=>{wH=u(f(),1),TH=class extends wH.Component{getSnapshotBeforeUpdate(e){return Object.is(e.value,this.props.value)||this.props.onBeforeChange(e.value),null}componentDidUpdate(){}render(){return null}}}));function DH(e,t,n){let r=(0,X.useRef)(t),i=(0,X.useRef)(n),a=(0,X.useRef)(null);return(0,X.useLayoutEffect)(()=>{r.current=t,i.current=n}),(0,X.useLayoutEffect)(()=>{let t=a.current;a.current=null,t!=null&&i.current(t,e)},[e]),(0,X.useCallback)(e=>{a.current=r.current(e)},[])}D(),vx(),EH(),x(),bj(),vr(),TM(),zj();var OH={panel:{kB7OPa:`x9f619`,kmuXW:`x2lah0s`,kVQacm:`x7giv3`,kZCmMZ:`xwjyata`,kwRFfy:`x1peupej`,kLKAdn:`xqty4a`,kGO01o:`xg476vw`,\"--container-padding-inline-start\":`x408pgh`,\"--container-padding-inline-end\":`xikqloz`,\"--container-padding-block-start\":`xjmgx01`,\"--container-padding-block-end\":`xi9ns85`,$$css:!0},startPanel:{kZCmMZ:`xaku5ci`,\"--container-padding-inline-start\":`xt2a87w`,$$css:!0},endPanel:{kwRFfy:`x19eyx77`,\"--container-padding-inline-end\":`xhq06x6`,$$css:!0},noHeader:{kLKAdn:`xuqi0w`,\"--container-padding-block-start\":`x186o6qk`,$$css:!0},noFooter:{kGO01o:`x1363qu6`,\"--container-padding-block-end\":`xfsxxt8`,$$css:!0},fullBleed:{kZCmMZ:`x1c1uobl`,kwRFfy:`xyri2b`,kLKAdn:`xexx8yu`,kGO01o:`x18d9i69`,\"--container-padding-inline-start\":`xrhngw9`,\"--container-padding-inline-end\":`xjsfl84`,\"--container-padding-block-start\":`x1047aw6`,\"--container-padding-block-end\":`xax9j7h`,$$css:!0},scrollable:{kVQacm:`xysyzu8`,$$css:!0},zeroWidth:{kZCmMZ:`x1c1uobl`,kwRFfy:`xyri2b`,kVQacm:`x7giv3`,$$css:!0},dividerEnd:{ke9TFa:`x1lun4ml`,k8ry5P:`x18b5jzi`,kBCPoo:`x1gejf6u`,$$css:!0},dividerStart:{k2ei4v:`xpilrb4`,kVhnKS:`x1t7ytsu`,kGJrpR:`x1j92z86`,$$css:!0},collapseStart:{keTefX:`x1wim8z0`,$$css:!0},collapseEnd:{k71WvV:`x1kpg4um`,$$css:!0}},kH=()=>!1,AH={sizing:e=>[{kzqmXN:e==null?e:`x5lhr3w`,$$css:!0},{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]};function jH({children:e,hasDivider:t=!1,isScrollable:n=!0,label:r,padding:i,role:a,width:o,resizable:s,xstyle:c,className:l,style:u,ref:d,...f}){let p=s==null?void 0:NR(s),m=(0,X.use)(rR),{hasHeader:h,hasFooter:g}=(0,X.use)(aR),_=p?p._size:o,v=_===0,y=(0,X.useRef)(null),[x]=(0,X.useState)(ZV),S=(0,X.useSyncExternalStore)(x.subscribe,x.isCollapsed,kH),w=p==null,T=p==null?void 0:XV(p);b(()=>{let e=w||T!=null,t=t=>{let n=x.attach(e?t:null,w);T?.attach(n)};return t(y.current),()=>{t(null)}},[x,w,T]);let E=m===`end`?`inline-start`:`inline-end`,D=(0,X.useCallback)(()=>{x.beforeChange(v)},[x,v]);b(()=>{x.committed(_,E)});let O=p==null?S:p._isCollapsed,k=DH(O,e=>e?null:BA(y.current),(e,t)=>{let n=y.current;t&&n!=null&&VA(e,x.focusTarget()??KV(n,m),n)}),[A,j]=(0,X.useState)(O);!O&&A&&j(!1),b(()=>{O&&!A&&j(!0)},[O,A]);let M=O&&A,N=m===`start`,P=m===`end`,F=i===0,I=!t&&!F&&i==null&&!v,L=JL({isScrollable:n&&!v,role:a,label:r}),R=gx(d,L.ref,y),z=N?OH.dividerEnd:P?OH.dividerStart:null,B=N?OH.collapseEnd:P?OH.collapseStart:null;return(0,Z.jsxs)(`div`,{ref:R,role:L.role,\"aria-label\":L[`aria-label`],...Q(Y(`layout-panel`),C(OH.panel,AH.sizing(_??null),N&&!F&&i==null&&OH.startPanel,P&&!F&&i==null&&OH.endPanel,!h&&!F&&i==null&&OH.noHeader,!g&&!F&&i==null&&OH.noFooter,n&&OH.scrollable,F&&OH.fullBleed,i!=null&&pM[i],i!=null&&gM[i],i!=null&&_M[i],i!=null&&vM[i],t&&z,I&&B,v&&OH.zeroWidth,Rj.publish,c),l,u),...f,...M?{inert:!0,\"aria-hidden\":!0}:{},children:[(0,Z.jsx)(TH,{value:v,onBeforeChange:D}),(0,Z.jsx)(TH,{value:O,onBeforeChange:k}),e]})}jH.displayName=`LayoutPanel`;var MH=new RegExp(String.raw`[\\p{Script=Adlam}\\p{Script=Arabic}\\p{Script=Hebrew}\\p{Script=Mandaic}\\p{Script=Nko}\\p{Script=Samaritan}\\p{Script=Syriac}\\p{Script=Thaana}\\u061B\\u061C\\u061F\\u0640\\u200F\\u{10800}-\\u{10FFF}\\u{1E800}-\\u{1EFFF}]`,`u`),NH=/[0-9\\u0600-\\u0605\\u0609\\u060A\\u0660-\\u0669\\u066A-\\u066C\\u06DD\\u06F0-\\u06F9\\u0890\\u0891\\u08E2\\uFF10-\\uFF19\\u{1091F}\\u{10B39}-\\u{10B3F}\\u{10D30}-\\u{10D39}\\u{10D40}-\\u{10D49}\\u{10D6E}\\u{10E60}-\\u{10E7E}\\u{10ED0}-\\u{10ED8}\\u{1CCF0}-\\u{1CCF9}\\u{1D7CE}-\\u{1D7FF}\\u{1EEF0}\\u{1EEF1}\\u{1FBF0}-\\u{1FBF9}]/u,PH=new RegExp(String.raw`[\\p{Letter}\\p{Nl}\\p{Nd}\\u200E]`,`u`),FH=new RegExp(String.raw`\\p{Mark}`,`u`);function IH(e){for(let t of e)if(MH.test(t))return!0;return!1}function LH(e){for(let t of e)if(!(FH.test(t)||NH.test(t))){if(MH.test(t))return`rtl`;if(PH.test(t))return`ltr`}return null}function RH(e){return typeof e!=`string`&&typeof e!=`number`||IH(String(e))?{}:{dir:`ltr`}}D(),vr(),xO();var zH={base:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kOIVth:`xzye2dw`,kZKoxP:`x1grt7ep`,k8WAf4:`xt970qd`,kg3NbH:`xf314gf`,kaIpWk:`xjspbzw`,kMv6JI:`xjb2p0i`,kGuDYH:`x141an7d`,kLWn49:`x1ltkj2j`,k63SB2:`x1e4wzip`,khDVqt:`xuxw1ft`,kzqmXN:`xeq5yr9`,ks0D6T:`x193iq5w`,k7Eaqz:`xeuugli`,$$css:!0},grows:{kAzted:`x1tn5z8q`,$$css:!0}},BH={neutral:{kWkggS:`xxqga8b`,kMwMTN:`xzfxgs9`,$$css:!0},info:{kWkggS:`xcc0xtb`,kMwMTN:`x1jxcxwi`,kMeerF:`xcthrzx`,k3XXqK:`x815t2r`,kjBf7l:`x3teovq`,kInvED:`xvr1dqx`,$$css:!0},success:{kWkggS:`xdsz4j9`,kMwMTN:`xri61p4`,kMeerF:`xcthrzx`,k3XXqK:`x815t2r`,kjBf7l:`x3teovq`,kInvED:`xvr1dqx`,$$css:!0},warning:{kWkggS:`x1q8g9m5`,kMwMTN:`xrebv38`,kMeerF:`xcthrzx`,k3XXqK:`x815t2r`,kjBf7l:`x3teovq`,kInvED:`xvr1dqx`,$$css:!0},error:{kWkggS:`x1pjz0fi`,kMwMTN:`x1m024r3`,kMeerF:`xcthrzx`,k3XXqK:`x815t2r`,kjBf7l:`x3teovq`,kInvED:`xvr1dqx`,$$css:!0},blue:{kWkggS:`x1o0wnni`,kMwMTN:`x1vvqiwl`,$$css:!0},cyan:{kWkggS:`x1rgj867`,kMwMTN:`x1txnczv`,$$css:!0},green:{kWkggS:`x1sqjeoo`,kMwMTN:`xltfdvo`,$$css:!0},orange:{kWkggS:`x1e9xt6e`,kMwMTN:`xm47u9q`,$$css:!0},pink:{kWkggS:`xnpoty2`,kMwMTN:`xiuofww`,$$css:!0},purple:{kWkggS:`x16i6n6f`,kMwMTN:`x1m9wyeb`,$$css:!0},red:{kWkggS:`x1cibrc5`,kMwMTN:`x1joocv1`,$$css:!0},teal:{kWkggS:`x1jtji5o`,kMwMTN:`x9x0lbs`,$$css:!0},yellow:{kWkggS:`x1bo7t0x`,kMwMTN:`xdhq94a`,$$css:!0}};function VH({variant:e=`neutral`,label:t,icon:n,xstyle:r,className:i,style:a,ref:o,...s}){let c=typeof t==`number`?String(t):typeof t==`string`&&t.length>0?t:void 0,l=bO(t);return(0,Z.jsxs)(`span`,{ref:o,...Q(Y(`badge`,{variant:e}),C(zH.base,l&&zH.grows,BH[e],r),i,a),title:c,...s,children:[n,(0,Z.jsx)(`span`,{...RH(t),className:`xb3r6kr xlyipyv xeuugli x4ej8vm`,children:t})]})}VH.displayName=`Badge`,DC(),RC();var HH=e=>({flisk:`wolf`,anthropic:`claude`,openai:`openai`,openrouter:`openrouter`})[e]||`flisk`,UH={anthropic:[/^sk-ant-/,`Claude keys start with sk-ant-`],openai:[/^sk-/,`OpenAI keys start with sk-`],openrouter:[/^sk-or-/,`OpenRouter keys start with sk-or-`]},WH=`Your key is encrypted in this browser and sent only with your own requests. We never store it on our server.`,GH={anthropic:[`claude-sonnet-5-5`,`claude-opus-5-5`,`claude-haiku-5-5`,`claude-fable-5-2`],openai:[`gpt-5`,`gpt-5-mini`,`gpt-4.1`,`gpt-4o`,`o4-mini`]},KH=[[``,`All`],[`flisk`,`Flisk Wolf`],[`anthropic`,`Claude`],[`openai`,`OpenAI`],[`openrouter`,`OpenRouter`]];function qH(){let[e,t]=(0,X.useState)(0);return(0,X.useEffect)(()=>{GO.then(()=>t(e=>e+1),()=>{})},[]),e}function JH({label:e,value:t,onChange:n,placeholder:r,error:i,shape:a,hideLabel:o}){let[s,c]=(0,X.useState)(!1),[l,u]=(0,X.useState)(``),d=e=>e.replace(/\\s+/g,``),f=async()=>{try{let e=d(await navigator.clipboard.readText());if(!e){u(`Nothing to paste. Copy your key first.`);return}n(e),u(`Pasted `+e.length+` characters`)}catch{u(`Your browser blocked the paste button. Press and hold in the box, then choose Paste.`)}},p=t&&a&&!a[0].test(t)?a[1]:``;return(0,Z.jsxs)(zL,{gap:2,children:[(0,Z.jsx)(FL,{label:e,isLabelHidden:o,type:s?`text`:`password`,value:t,onChange:e=>{n(d(e)),u(``)},placeholder:r,autoComplete:`off`,autoCapitalize:`off`,hasAutoCorrect:!1,hasSpellCheck:!1,enterKeyHint:`done`,status:i?{type:`error`,message:i}:void 0}),(0,Z.jsxs)(RL,{gap:2,children:[(0,Z.jsx)(DS,{title:`Paste`,text:`Pastes the key you copied, with stray spaces and line breaks removed.`,more:`Easier than press and hold. The first time, your phone may ask you to allow Paste.`,children:(0,Z.jsx)(IO,{label:`Paste key`,variant:`primary`,size:`md`,onClick:f})}),(0,Z.jsx)(DS,{text:`Show or hide the key so you can check it pasted right.`,children:(0,Z.jsx)(IO,{label:s?`Hide`:`Show`,variant:`secondary`,size:`md`,onClick:()=>c(!s)})})]}),p&&!i&&(0,Z.jsx)(CC,{type:`supporting`,color:`warning`,children:p}),l&&(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,children:l})]})}var YH={free:`Free`,$:`Low cost`,$$:`Mid cost`,$$$:`Premium`};function XH({open:e,onClose:t,models:n,value:r,onUse:i}){let a=qH(),[o,s]=(0,X.useState)(``),[c,l]=(0,X.useState)(``),[u,d]=(0,X.useState)(r),[f,p]=(0,X.useState)(null),[m,h]=(0,X.useState)(``),[g,_]=(0,X.useState)(``),[v,y]=(0,X.useState)(``),[b,x]=(0,X.useState)(``);(0,X.useEffect)(()=>{e&&(d(r),s(``),l(``),x(``))},[e]),(0,X.useEffect)(()=>{!e||f||c!==`openrouter`&&u.key!==`openrouter`||ok().then(p,()=>h(`Could not load the OpenRouter list. You can still type a model name.`))},[e,c,u.key]),(0,X.useEffect)(()=>{e&&!u.free&&(_(JO(u.key)),y(u.model||YO(u.key)),x(``))},[e,u.id,a]);let S=(0,X.useMemo)(()=>{let e=(n||[]).map(e=>({...e,sees:!e.free})),t=(f||[]).map(e=>({id:`or:`+e.id,name:e.name,provider:`openrouter`,providerName:`OpenRouter`,description:e.id+(e.ctx?` · `+Math.round(e.ctx/1e3)+`K context`:``),price:e.price,free:!1,key:`openrouter`,model:e.id,sees:e.sees,orFree:e.free})),r=[...e.filter(e=>!(t.length&&e.provider===`openrouter`&&!e.model)),...t],i=o.trim().toLowerCase();return r.filter(e=>(!c||e.provider===c)&&(!i||(e.name+` `+e.description+` `+e.id).toLowerCase().includes(i))).slice(0,80)},[n,f,o,c]),C=!u.free&&!u.model&&u.key!==`openrouter`,w=!u.free&&u.key===`openrouter`&&!u.model,T=()=>{if(u.free)i(u);else{if(!(g.trim()||JO(u.key))){x(`Paste your API key first.`);return}let e=u.model||v.trim();if(!e){x(u.key===`openrouter`?`Pick a model from the list, or type its name.`:`Type the model name first.`);return}g.trim()&&qO(`chat_key_`+u.key,g.trim()),u.model||qO(`chat_model_`+u.key,e),i({...u,model:u.model||e})}t()},E=(LO.keyPages||{})[u.key],D=GH[u.key]||[];return(0,Z.jsx)(QM,{isOpen:e,onOpenChange:e=>!e&&t(),width:600,purpose:`form`,children:(0,Z.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:12,flex:1,minHeight:0,maxHeight:`min(82dvh, 680px)`},children:[(0,Z.jsx)(NC,{level:3,children:`Choose the AI`}),(0,Z.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:12,overflowY:`auto`,minHeight:0,flex:1,paddingBottom:4},children:[(0,Z.jsx)(FL,{label:`Search models`,isLabelHidden:!0,value:o,onChange:s,placeholder:`Search models: name, company or word`,autoComplete:`off`,autoCapitalize:`off`,hasAutoCorrect:!1,enterKeyHint:`search`}),(0,Z.jsx)(RL,{gap:2,wrap:`wrap`,children:KH.map(([e,t])=>(0,Z.jsx)(IO,{label:t,size:`sm`,variant:c===e?`primary`:`secondary`,icon:e?(0,Z.jsx)(bS,{name:HH(e)}):void 0,onClick:()=>l(e)},e))}),(0,Z.jsxs)(`div`,{role:`listbox`,\"aria-label\":`Models`,style:{maxHeight:`min(22dvh, 200px)`,flexShrink:0,overflowY:`auto`,border:`1px solid var(--color-border-subtle, #8884)`,borderRadius:12},children:[S.map(e=>(0,Z.jsxs)(`button`,{role:`option`,\"aria-selected\":e.id===u.id,type:`button`,onClick:()=>d(e),style:{display:`flex`,gap:10,alignItems:`center`,width:`100%`,textAlign:`left`,padding:`10px 12px`,background:e.id===u.id?`var(--color-background-selected, #8882)`:`transparent`,border:0,borderBottom:`1px solid var(--color-border-subtle, #8882)`,color:`inherit`,font:`inherit`,cursor:`pointer`},children:[(0,Z.jsx)(bS,{name:HH(e.provider),size:28}),(0,Z.jsxs)(`span`,{style:{flex:1,minWidth:0},children:[(0,Z.jsx)(CC,{weight:`semibold`,children:e.name}),(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,style:{display:`block`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:e.description})]}),(0,Z.jsxs)(`span`,{style:{display:`flex`,gap:4,flexShrink:0},children:[e.free||e.orFree?(0,Z.jsx)(VH,{label:`Free`,variant:`success`}):null,e.provider===`openrouter`&&e.sees?(0,Z.jsx)(VH,{label:`Sees images`,variant:`info`}):null,!e.free&&!e.orFree&&e.price&&e.provider!==`openrouter`?(0,Z.jsx)(VH,{label:YH[e.price]||e.price}):null]})]},e.id)),!S.length&&(0,Z.jsx)(CC,{color:`secondary`,style:{padding:12,display:`block`},children:m||`No model matches. Clear the search, or type a model name below.`})]}),(0,Z.jsxs)(RL,{gap:2,align:`center`,children:[(0,Z.jsx)(bS,{name:HH(u.provider),size:28}),(0,Z.jsxs)(zL,{gap:0,children:[(0,Z.jsx)(CC,{weight:`semibold`,children:u.name}),(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,children:u.free?`Free, no key needed`:`Uses your key · you pay `+(u.providerName||`the company`)+` directly`})]}),!u.free&&(0,Z.jsx)(VH,{label:`Your key`,variant:`info`})]}),u.free?(0,Z.jsx)(CC,{color:`secondary`,children:`Flisk Wolf is free: a daily limit of tasks, and no key to paste. Pick a model with your own key for no limit and bigger models.`}):(0,Z.jsxs)(zL,{gap:3,children:[(C||w)&&(0,Z.jsxs)(zL,{gap:2,children:[(0,Z.jsx)(FL,{label:`Model name`,value:v,onChange:y,placeholder:u.key===`openrouter`?`Any OpenRouter model id, e.g. google/gemini-2.5-flash`:`Model, e.g. `+(D[0]||``),autoCapitalize:`off`,hasAutoCorrect:!1,hasSpellCheck:!1}),D.length>0&&(0,Z.jsx)(RL,{gap:1,wrap:`wrap`,children:D.map(e=>(0,Z.jsx)(IO,{label:e,size:`sm`,variant:`ghost`,onClick:()=>y(e)},e))})]}),(0,Z.jsx)(JH,{label:`Your `+(u.providerName||``)+` API key`,value:g,onChange:e=>{_(e),x(``)},placeholder:`Paste your API key`,shape:UH[u.key],error:b}),JO(u.key)&&!g&&(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,children:`Key saved in this browser`}),(0,Z.jsxs)(RL,{gap:2,wrap:`wrap`,children:[E&&(0,Z.jsx)(IO,{label:`Get your `+E[0]+` key`,variant:`secondary`,size:`sm`,href:E[1],target:`_blank`}),u.key===`openrouter`&&(0,Z.jsx)(DS,{text:`No key yet? Sign in to your own free OpenRouter account and we receive a key for you (no secret of ours).`,children:(0,Z.jsx)(IO,{label:`No key? Log in with OpenRouter, free`,variant:`ghost`,size:`sm`,onClick:()=>ik(``)})}),JO(u.key)&&(0,Z.jsx)(IO,{label:`Remove my key`,variant:`ghost`,size:`sm`,onClick:()=>{qO(`chat_key_`+u.key,``),qO(`chat_model_`+u.key,``),_(``)}})]}),(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,children:WH})]})]}),(0,Z.jsx)(`div`,{style:{flexShrink:0,paddingTop:8,borderTop:`1px solid var(--color-border-subtle, #8883)`},children:(0,Z.jsxs)(RL,{gap:2,justify:`end`,children:[(0,Z.jsx)(DS,{title:`Cancel`,text:`Closes this window and keeps what you had before.`,children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(IO,{label:`Cancel`,variant:`ghost`,onClick:t})})}),(0,Z.jsx)(IO,{label:u.free?`Use `+u.name:`Save and use`,variant:`primary`,onClick:T})]})})]})})}function ZH({open:e,onClose:t,connected:n,onConnected:r,picked:i,setPicked:a}){let o=LO.cards||[],[s,c]=(0,X.useState)({}),[l,u]=(0,X.useState)({}),[d,f]=(0,X.useState)(``),p=async e=>{if((s[e.id]||``).trim().length<8){u({...l,[e.id]:`Paste your `+e.label+` key first.`});return}f(e.id);let t=await nk(e.id,s[e.id].trim());f(``),t.ok?(u({...l,[e.id]:``}),c({...s,[e.id]:``}),r(e.id)):u({...l,[e.id]:t.error||`Could not save that key. Check it and try again.`})},m=e=>a(i.includes(e)?i.filter(t=>t!==e):[...i,e]);return(0,Z.jsx)(QM,{isOpen:e,onOpenChange:e=>!e&&t(),width:560,purpose:`info`,children:(0,Z.jsxs)(zL,{gap:4,children:[(0,Z.jsx)(NC,{level:3,children:`Where your app runs`}),(0,Z.jsxs)(RL,{gap:3,align:`center`,children:[(0,Z.jsx)(bS,{name:`fleet`,size:32}),(0,Z.jsxs)(zL,{gap:0,children:[(0,Z.jsx)(CC,{weight:`semibold`,children:`Fleet auto`}),(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,children:`Uses your cheapest connected computer first`})]}),(0,Z.jsx)(IO,{label:i.length?`Use Fleet auto`:`Fleet auto is on`,size:`sm`,variant:i.length?`secondary`:`primary`,onClick:()=>a([])})]}),(0,Z.jsx)(CC,{color:`secondary`,children:`Connect a computer once with its key. Free ones have free credit. Without any, small tasks run on a Linux inside this tab.`}),o.map(e=>(0,Z.jsxs)(zL,{gap:2,children:[(0,Z.jsxs)(RL,{gap:2,align:`center`,children:[(0,Z.jsx)(bS,{name:e.id,size:24}),(0,Z.jsxs)(zL,{gap:0,children:[(0,Z.jsx)(CC,{weight:`semibold`,children:e.label}),(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,children:e.note})]}),n.includes(e.id)&&(0,Z.jsx)(VH,{label:`Connected`,variant:`success`})]}),!n.includes(e.id)&&(0,Z.jsxs)(RL,{gap:2,align:`end`,wrap:`wrap`,children:[(0,Z.jsx)(JH,{label:e.label+` key`,hideLabel:!0,value:s[e.id]||``,onChange:t=>c({...s,[e.id]:t}),placeholder:`Paste key`,error:l[e.id]}),(0,Z.jsx)(IO,{label:`Get key`,variant:`secondary`,size:`sm`,href:e.url,target:`_blank`}),(0,Z.jsx)(IO,{label:d===e.id?`Connecting…`:`Connect`,variant:`primary`,size:`sm`,isDisabled:!!d,onClick:()=>p(e)})]}),n.includes(e.id)&&(0,Z.jsx)(IO,{label:i.includes(e.id)?`Only on `+e.label+` (tap to undo)`:`Run only on `+e.label,size:`sm`,variant:i.includes(e.id)?`primary`:`secondary`,onClick:()=>m(e.id)})]},e.id)),(0,Z.jsx)(RL,{justify:`end`,children:(0,Z.jsx)(DS,{title:`Done`,text:`Closes this window. Your choices are already saved.`,children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(IO,{label:`Done`,variant:`primary`,onClick:t})})})})]})})}var QH=!1;function $H(e=typeof navigator<`u`&&navigator.sendBeacon?(e,t)=>navigator.sendBeacon(e,t):null,t=typeof location<`u`?location.hostname:``){if(QH||!e||t!==`chat.flisk.si`)return!1;QH=!0;let n=``;try{n=sessionStorage.getItem(`_fa`)||``}catch{}try{return e(`https://analytics.flisk.si/e`,JSON.stringify({d:t,p:`/ask`,r:``,s:n,u:``,t:``})),!0}catch{return!1}}var eU=Symbol(`MarkdownAstLegacyCodeLanguage`);function tU(e,t){return t===e.lang||Object.defineProperty(e,eU,{configurable:!1,enumerable:!0,value:t,writable:!1}),e}function nU(e){let t=e[eU];return t===void 0?e.lang:t}function rU(e,t,n){let r=e=>{if(e.type===t&&n(e),`children`in e)for(let t of e.children)r(t)};r(e)}function iU(e,t=e=>e.source??``){let n=``;for(let r of e)switch(r.type){case`text`:case`inlineCode`:case`inlineMath`:n+=r.value;break;case`strong`:case`emphasis`:case`delete`:case`link`:n+=iU(r.children,t);break;case`image`:n+=r.alt;break;case`citation`:case`break`:break;case`extension`:n+=t(r)}return n}ex();var aU=2e3;function oU(){let e=document,t=e.permissionsPolicy??e.featurePolicy;return typeof t?.allowsFeature!=`function`||t.allowsFeature(`clipboard-write`)}function sU(e){if(navigator.userActivation?.isActive===!1)throw Error(`The copy command runs only in a click or a key press.`);let t=!1,n=n=>{n.clipboardData!=null&&(n.clipboardData.setData(`text/plain`,e),n.preventDefault(),n.stopImmediatePropagation(),t=!0)};window.addEventListener(`copy`,n,!0);let r;try{r=document.execCommand(`copy`)}finally{window.removeEventListener(`copy`,n,!0)}if(!r||!t)throw Error(`The browser did not copy the text.`)}async function cU(e){if(!oU())sU(e);else try{await navigator.clipboard.writeText(e)}catch(t){if(!(t instanceof DOMException&&t.name===`NotAllowedError`))throw t;try{sU(e)}catch{throw t}}}function lU(e={}){let{announce:t,announceFailure:n,resetAfterMs:r=aU,onError:i}=e,a=Ab(),[o,s]=(0,X.useState)(!1),[c,l]=(0,X.useState)(!1),u=(0,X.useRef)(null),d=(0,X.useRef)(null),f=(0,X.useRef)(!0);return(0,X.useEffect)(()=>(f.current=!0,()=>{f.current=!1,u.current!=null&&clearTimeout(u.current),d.current!=null&&clearTimeout(d.current)}),[]),{copy:(0,X.useCallback)(async e=>{try{await cU(e)}catch(e){return f.current?(l(!0),d.current!=null&&clearTimeout(d.current),d.current=setTimeout(()=>{d.current=null,l(!1)},r),n&&a(n,`assertive`),i?.(e),!1):(i?.(e),!1)}return f.current&&(d.current!=null&&(clearTimeout(d.current),d.current=null),l(!1),s(!0),t&&a(t),u.current!=null&&clearTimeout(u.current),u.current=setTimeout(()=>{u.current=null,s(!1)},r)),!0},[a,t,n,r,i]),isCopied:o,isFailed:c}}function uU(e,t){pU.set(e,t)}function dU(e){pU.delete(e)}function fU(e){return pU.get(e)}var pU,mU=o((()=>{Xn(),pU=Jn(`hooks/scroll-owner-registry/owners`,1)}));function hU(e){if(e.tabIndex<0||e.matches(`:disabled`)||e.closest(`[inert], [hidden]`)!=null||e.getClientRects().length===0)return!1;let t=getComputedStyle(e).visibility;return t!==`hidden`&&t!==`collapse`}function gU(e,t){let n=t.querySelectorAll(tA),r=t!==e&&t.matches(`button:not([disabled]), a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"]):not([disabled]), [contenteditable]:not([contenteditable=\"false\"]), audio[controls], video[controls], iframe, details > summary:first-child`)&&hU(t)?t:null;for(let e of n)if(!(r!=null&&e.tabIndex<=0)&&hU(e)){if(e.tabIndex>0)return null;r??=e}if(r==null||r.tabIndex!==0||!r.matches(`a[href], button`)||r.closest(`[aria-hidden=\"true\"]`)!=null||r.matches(`[aria-disabled=\"true\"], [aria-haspopup]:not([aria-haspopup=\"false\"])`))return null;let i=r;for(;i!=null&&i!==e;){let e=i.getAttribute(`role`)?.trim().toLowerCase(),t=i===r&&(e===`button`&&r.localName===`button`||e===`link`&&r.localName===`a`);if(e!=null&&e!==``&&!t&&!vU.has(e)||i===r&&e!=null&&e!==``&&!t||i.hasAttribute(`aria-activedescendant`)||i.isContentEditable||i.matches(`[contenteditable]:not([contenteditable=\"false\"])`)||fU(i)!=null)return null;let n=getComputedStyle(i);if(/^(auto|scroll|overlay)$/.test(n.overflowX)&&i.scrollWidth>i.clientWidth+1||/^(auto|scroll|overlay)$/.test(n.overflowY)&&i.scrollHeight>i.clientHeight+1)return null;i=i.parentElement}return i===e?r:null}function _U(e,t){let n=e.ownerDocument,r=n.defaultView;if(r==null)return()=>{};let i=null,a=null,o=null,s,c,l=()=>{i=null,a=null,r.clearTimeout(s),c?.(),c=void 0},u=t=>{if(l(),!(t.key!==`Tab`||t.ctrlKey||t.metaKey)){if(i=t,a=t.target,t.shiftKey&&o!=null&&n.activeElement===o&&e.contains(o)){let t=e.getAttribute(`tabindex`);e.tabIndex=-1,c=()=>{e.getAttribute(`tabindex`)===`-1`&&(t==null?e.removeAttribute(`tabindex`):e.setAttribute(`tabindex`,t))}}s=r.setTimeout(l,0)}},d=r=>{let s=i,c=a;if(l(),r.target!==e){e.contains(r.target)||(o=null);return}if(o=null,s==null||s.shiftKey||s.defaultPrevented||s.eventPhase!==0||r.relatedTarget!=null&&r.relatedTarget!==c)return;let u=gU(e,t);u!=null&&(o=u,u.focus(),n.activeElement!==u&&(o=null))};return n.addEventListener(`keydown`,u,!0),n.addEventListener(`keyup`,l,!0),n.addEventListener(`pointerdown`,l,!0),n.addEventListener(`focusin`,d,!0),r.addEventListener(`blur`,l),()=>{l(),n.removeEventListener(`keydown`,u,!0),n.removeEventListener(`keyup`,l,!0),n.removeEventListener(`pointerdown`,l,!0),n.removeEventListener(`focusin`,d,!0),r.removeEventListener(`blur`,l)}}var vU,yU=o((()=>{nA(),mU(),vU=new Set([`article`,`banner`,`complementary`,`contentinfo`,`definition`,`directory`,`document`,`figure`,`form`,`generic`,`group`,`heading`,`list`,`listitem`,`main`,`navigation`,`none`,`note`,`paragraph`,`presentation`,`region`,`section`,`status`,`table`,`term`])}));function bU(e,t){let n=SU.get(e);return n??(n=new Set,SU.set(e,n)),n.add(t),()=>{n?.delete(t),n?.size===0&&SU.delete(e)}}function xU(e,t=!1,n=!1){for(let r of SU.get(e)??[])r(t||n,n)}var SU,CU=o((()=>{SU=new WeakMap}));function wU(e,t){if(e==null||!e.includes(t))return null;let n=RegExp(`(?:^|;)\\\\s*${t}\\\\s*:\\\\s*([^;]*)`,`i`).exec(e);return n==null?null:n[1].trim()}function TU(e,t){return e!==t&&VU.some(n=>wU(e,n)!==wU(t,n))}function EU(e,t){return e===t||e===`both`}function DU(e,t){return e.inline.isScrollable===t.inline.isScrollable&&e.inline.atStart===t.inline.atStart&&e.inline.atEnd===t.inline.atEnd&&e.block.isScrollable===t.block.isScrollable&&e.block.atStart===t.block.atStart&&e.block.atEnd===t.block.atEnd}function OU(e,t){return e.inline===t.inline&&e.block===t.block}function kU(e,t,n){e.current!==n&&(e.current=n,t(n))}function AU(e,t){return e.inline===t.inline&&e.block===t.block&&e.inlineReversed===t.inlineReversed&&e.blockReversed===t.blockReversed}function jU(e){if(e==null)return;let t={...e};return delete t.overflow,delete t.overflowX,delete t.overflowY,delete t.overflowInline,delete t.overflowBlock,t}function MU(e){let t=(0,PU.useRef)(void 0),n=(0,PU.useRef)(null);return(0,PU.useCallback)(r=>{if(n.current!=null&&Object.is(t.current,r))return n.current;let i=mx(r,e);return t.current=r,n.current=i,i},[e])}function NU({axis:e,keyboardAccess:t,overscroll:n=`allow`,stickyContainment:r=`whenScrollable`}){let[i,a]=(0,PU.useState)(null),[o,s]=(0,PU.useState)(null),[c,l]=(0,PU.useState)(IU),[u,d]=(0,PU.useState)(LU),[f,p]=(0,PU.useState)(RU),[m,h]=(0,PU.useState)(!1),g=(0,PU.useRef)(!1),_=(0,PU.useRef)(IU),v=(0,PU.useRef)(null),y=(0,PU.useCallback)(e=>{if(a(t=>t===e?t:e),e==null)return;let t=()=>{let{inline:t,block:n}=_.current;t.isScrollable||n.isScrollable||kU(g,h,e.ownerDocument.activeElement===e)};return t(),e.addEventListener(`focusin`,t),e.addEventListener(`focusout`,t),()=>{e.removeEventListener(`focusin`,t),e.removeEventListener(`focusout`,t),kU(g,h,!1),a(null)}},[]),x=(0,PU.useCallback)(e=>{s(t=>t===e?t:e)},[]),S=MU(y),w=MU(x);b(()=>{if(i==null||o==null)return;let t=null,n=!0,r=RU,a=LU,s=e=>{_.current=e,uU(i,e),l(t=>DU(t,e)?t:e)},c=!0,u=!0,f=()=>{let t=getComputedStyle(i),n=BL(t.writingMode,t.direction),o=EU(e,`inline`)?HL(i,`inline`,n):!1,l=EU(e,`block`)?HL(i,`block`,n):!1,f=EU(e,`inline`)?UL(i,`inline`,n):FU,m=EU(e,`block`)?UL(i,`block`,n):FU;if(o==null||l==null||f==null||m==null)return;!f.isScrollable&&!m.isScrollable&&kU(g,h,i.ownerDocument.activeElement===i);let _={inline:o,block:l},v={inline:f,block:m};r=n,a=_,d(e=>OU(e,_)?e:_),s(v),xU(i,c,u),c=!1,u=!1,p(e=>AU(e,n)?e:n)},m=()=>{t=null,f()},y=()=>{n&&t==null&&(t=window.requestAnimationFrame(m))},b=()=>{if(!n||t!=null)return;let o=_.current,c=o;for(let t of zU){if(!EU(e,t))continue;let n=fre(i,t,r);if(n==null)return;if(n.overflows!==a[t]||n.contradictsMapping){y();return}let s=o[t];!s.isScrollable||s.atStart===n.atStart&&s.atEnd===n.atEnd||(c={...c,[t]:{isScrollable:!0,atStart:n.atStart,atEnd:n.atEnd}})}c!==o&&s(c),xU(i)},x=()=>{c=!0,y()},S=()=>{u=!0,x()},C=e=>{let t=e.target;return e.type===`attributes`&&e.attributeName===`style`&&t instanceof Element&&!i.contains(t)&&!o.contains(t)&&!TU(e.oldValue,t.getAttribute(`style`))},w=e=>{let t=e.filter(e=>!C(e));t.length!==0&&(t.some(e=>e.target===o||!o.contains(e.target))?S():x())};uU(i,_.current),v.current=f,m();let T=qi(i,S),E=qi(o,S);i.addEventListener(`scroll`,b,{passive:!0}),window.addEventListener(`resize`,y),window.visualViewport?.addEventListener(`resize`,y),o.addEventListener(`load`,y,!0),i.addEventListener(`transitionend`,y),i.addEventListener(`animationend`,y),o.addEventListener(`transitionend`,y),o.addEventListener(`animationend`,y);let D=typeof MutationObserver>`u`?null:new MutationObserver(w);D?.observe(i,{attributes:!0,attributeFilter:[`class`,`dir`,`hidden`,`style`]}),D?.observe(o,{attributes:!0,attributeFilter:[`class`,`dir`,`hidden`,`style`],characterData:!0,childList:!0,subtree:!0});let O=i.parentElement;for(;O!=null;)D?.observe(O,{attributes:!0,attributeFilter:[`class`,`dir`,`hidden`,`style`],attributeOldValue:!0}),O=O.parentElement;let k=document.fonts;return k?.addEventListener?.(`loadingdone`,S),k?.ready.then(S),()=>{n=!1,v.current=null,dU(i),T(),E(),D?.disconnect(),i.removeEventListener(`scroll`,b),window.removeEventListener(`resize`,y),window.visualViewport?.removeEventListener(`resize`,y),o.removeEventListener(`load`,y,!0),i.removeEventListener(`transitionend`,y),i.removeEventListener(`animationend`,y),o.removeEventListener(`transitionend`,y),o.removeEventListener(`animationend`,y),k?.removeEventListener?.(`loadingdone`,S),t!=null&&window.cancelAnimationFrame(t)}},[e,o,i]);let T=(0,PU.useRef)(LU),E=(0,PU.useRef)(RU);b(()=>{let e=T.current,t=u.inline&&!e.inline||u.block&&!e.block,n=f!==E.current;T.current=u,E.current=f,(t||n)&&v.current?.()},[u,f]);let D=(0,PU.useMemo)(()=>({inline:EU(e,`inline`)?c.inline:FU,block:EU(e,`block`)?c.block:FU}),[e,c]),O=D.inline.isScrollable||D.block.isScrollable;return b(()=>{if(t.owner===`contentOrViewport`&&O&&i!=null&&o!=null)return _U(i,o)},[o,O,t.owner,i]),{getViewportProps:(0,PU.useCallback)((i={})=>{let a=D.inline.isScrollable||D.block.isScrollable,o=EU(e,`inline`)&&f.inline===`x`||EU(e,`block`)&&f.block===`x`,s=EU(e,`inline`)&&f.inline===`y`||EU(e,`block`)&&f.block===`y`,l=u.inline&&f.inline===`x`||u.block&&f.block===`x`,d=u.inline&&f.inline===`y`||u.block&&f.block===`y`,p=l||d||r===`always`,h=r===`always`?o:l,g=r===`always`?s:d,{xstyle:_,...v}=i,y=Q({...v,style:jU(v.style)},C(_,BU.overflow(p?h?`auto`:`hidden`:`clip`,p?g?`auto`:`hidden`:`clip`))),b=m||c.inline.isScrollable||c.block.isScrollable,x={...y.style},w=n===`contain`&&D.inline.isScrollable,T=n===`contain`&&D.block.isScrollable,E=f.inline,O=f.block;EU(e,`inline`)&&(x[E===`x`?`overscrollBehaviorX`:`overscrollBehaviorY`]=w?`contain`:`auto`),EU(e,`block`)&&(x[O===`x`?`overscrollBehaviorX`:`overscrollBehaviorY`]=T?`contain`:`auto`);let k=t.owner===`content`?{}:{role:t.role??`group`,\"aria-label\":t.label,tabIndex:a?0:b?-1:void 0};return{...y,...k,ref:S(y.ref),style:x,\"data-scroll-axis\":e,\"data-scrollable-inline\":D.inline.isScrollable?`true`:void 0,\"data-scrollable-block\":D.block.isScrollable?`true`:void 0,\"data-scroll-inline-start\":D.inline.atStart?`true`:void 0,\"data-scroll-inline-end\":D.inline.atEnd?`true`:void 0,\"data-scroll-block-start\":D.block.atStart?`true`:void 0,\"data-scroll-block-end\":D.block.atEnd?`true`:void 0}},[e,S,m,t,f,c,u,n,D,r]),getContentProps:(0,PU.useCallback)((e={})=>{let{xstyle:t,...n}=e,r=Q(n,C(t));return{...r,ref:w(r.ref),\"data-scroll-content\":``}},[w]),state:D}}var PU,FU,IU,LU,RU,zU,BU,VU,HU=o((()=>{PU=u(f(),1),D(),yU(),x(),bC(),hx(),Qi(),KL(),CU(),mU(),FU={isScrollable:!1,atStart:!0,atEnd:!0},IU={inline:FU,block:FU},LU={inline:!1,block:!1},RU={inline:`x`,block:`y`,inlineReversed:!1,blockReversed:!1},zU=[`inline`,`block`],BU={overflow:(e,t)=>[{kXHlph:e==null?e:`xyto64x`,kORKVm:t==null?t:`x4ncuvb`,$$css:!0},{\"--x-overflowX\":e??void 0,\"--x-overflowY\":t??void 0}]},VU=[`direction`,`writing-mode`,`display`,`visibility`,`content-visibility`]}));G(),`${j[`--spacing-8`]}`;var UU={start:{kX1K2I:`x24kw6c x130plbu x465lc8 x1o7cvts x3eit0z xn6jknh`,katHQp:`x10epi6d`,\"--_scroll-fade-start-0\":`xd3ajef`,\"--_scroll-fade-start-1\":`x1ecr8xl`,\"--_scroll-fade-end-0\":`x1gp58cs`,\"--_scroll-fade-end-1\":`x1jgx951`,$$css:!0},end:{kX1K2I:`x24kw6c x130plbu x465lc8 x1o7cvts x3eit0z xn6jknh`,katHQp:`x10epi6d`,\"--_scroll-fade-start-0\":`xd0mkop`,\"--_scroll-fade-start-1\":`x1frk09p`,\"--_scroll-fade-end-0\":`xahoihe`,\"--_scroll-fade-end-1\":`x7o13q4`,$$css:!0},both:{kX1K2I:`x24kw6c x130plbu x465lc8 x1o7cvts x3eit0z xn6jknh`,katHQp:`x10epi6d`,\"--_scroll-fade-start-0\":`xd3ajef`,\"--_scroll-fade-start-1\":`x1ecr8xl`,\"--_scroll-fade-end-0\":`xahoihe`,\"--_scroll-fade-end-1\":`x7o13q4`,$$css:!0}},WU={start:{kX1K2I:`x1qwgxuj xiw03rd x1yc0pmc xjml3p3 x1f22jp x1fww0mx`,katHQp:`x1kek0pe`,\"--_scroll-fade-start-0\":`xd3ajef`,\"--_scroll-fade-start-1\":`x1ecr8xl`,\"--_scroll-fade-end-0\":`x1gp58cs`,\"--_scroll-fade-end-1\":`x1jgx951`,$$css:!0},end:{kX1K2I:`x1qwgxuj xiw03rd x1yc0pmc xjml3p3 x1f22jp x1fww0mx`,katHQp:`x1kek0pe`,\"--_scroll-fade-start-0\":`xd0mkop`,\"--_scroll-fade-start-1\":`x1frk09p`,\"--_scroll-fade-end-0\":`xahoihe`,\"--_scroll-fade-end-1\":`x7o13q4`,$$css:!0},both:{kX1K2I:`x1qwgxuj xiw03rd x1yc0pmc xjml3p3 x1f22jp x1fww0mx`,katHQp:`x1kek0pe`,\"--_scroll-fade-start-0\":`xd3ajef`,\"--_scroll-fade-start-1\":`x1ecr8xl`,\"--_scroll-fade-end-0\":`xahoihe`,\"--_scroll-fade-end-1\":`x7o13q4`,$$css:!0}};function GU(e,t=`native`){if(!e.isScrollable||e.atStart&&e.atEnd)return null;let n=t===`hidden`?WU:UU;return e.atStart?n.end:e.atEnd?n.start:n.both}rc(),BT();function KU(e){return bte(e,Us())}function qU(e,t,n){return Cte(e,t,n,Us())}sE();function JU({content:e,...t}){return e===void 0?(0,Z.jsx)(YU,{...t}):e}function YU({slot:e,state:t,fallback:n,color:r}){let{icon:i,variant:a,size:o}=qU(e,t,n);return i==null?null:(0,Z.jsx)(XT,{icon:i,variant:a,size:o,color:r})}function XU({icon:e,...t}){return(0,Z.jsx)(IO,{...t,icon:e,isIconOnly:!0})}XU.displayName=`IconButton`,Xn();var ZU=Wn(`code-language`,1);function QU(e){return typeof e==`object`&&!!e&&e[ZU]===!0}function $U(e){let t=e;return QU(e)&&typeof t.painter==`function`?t.painter():null}function eW(e){return typeof e!=`string`&&$U(e)?.kind===`tokenize`}function tW(e,t){if(e===t)return!0;if(typeof e==`string`||typeof t==`string`)return!1;let n=$U(e),r=$U(t);return n?.kind===`tokenize`&&r?.kind===`tokenize`&&n.tokenize===r.tokenize&&e.name===t.name&&e.identifiers.length===t.identifiers.length&&e.identifiers.every((e,n)=>e===t.identifiers[n])}function nW(e){return typeof e==`string`?e:e.name}function rW(e){return typeof e==`string`?e:e.identifiers[0]??e.name}function iW(e,t){return e===t?!0:e==null||t==null||e.length!==t.length?!1:e.every((e,n)=>e===t[n])}function aW(e,t){if(e!=null){for(let n=e.length-1;n>=0;n--)if(e[n].identifiers.includes(t))return e[n]}}var oW=e=>RegExp(`\\\\b(?:${e.trim().split(/\\s+/).join(`|`)})\\\\b`),sW=/\\b(?:0[xX][\\da-fA-F_]+|0[bB][01_]+|0[oO][0-7_]+|\\d[\\d_]*\\.?[\\d_]*(?:[eE][+-]?\\d+)?)[a-zA-Z]*\\b/,cW=/\"(?:[^\"\\\\\\n]|\\\\.)*\"/,lW=/'(?:[^'\\\\\\n]|\\\\.)*'/,uW=/\\/\\*[\\s\\S]*?\\*\\//,dW=/\\/\\/[^\\n]*/,fW=/\\b[a-zA-Z_$][\\w$]*(?=\\s*\\()/,pW=/\\b[A-Z][a-zA-Z0-9_]*\\b/,mW=/[+\\-*/%=!<>&|^~?:]+/,hW=/[{}()\\[\\];,.@]/;function gW(e,t=[],n=[uW,dW]){return{defaultType:`variable`,patterns:[...n.map(e=>({type:`comment`,regex:e})),...t,{type:`string`,regex:cW},{type:`string`,regex:lW},{type:`number`,regex:sW},{type:`keyword`,regex:oW(e)},{type:`function`,regex:fW},{type:`type`,regex:pW},{type:`operator`,regex:mW},{type:`punctuation`,regex:hW}]}}var _W=/^[ \\t]*#\\s*\\w+/m,vW=`auto break case char const continue default do double else enum extern float for goto if inline int long register restrict return short signed sizeof static struct switch typedef union unsigned void volatile while bool true false NULL nullptr`,yW=`${vW} alignas alignof catch class concept constexpr consteval co_await co_return co_yield decltype delete explicit export friend mutable namespace new noexcept operator override private protected public requires static_assert template this throw try typename using virtual final`,bW=new Map,xW=/\\b(const|let|var|function|class|if|else|for|while|return|import|export|from|default|async|await|try|catch|throw|new|typeof|instanceof|interface|type|enum|extends|implements|switch|case|break|continue|do|in|of|void|null|undefined|true|false|this|super|yield|delete|static|public|private|protected|readonly|abstract|as|is|keyof|declare|module|namespace|require)\\b/,SW=/\\b(def|class|if|elif|else|for|while|return|import|from|as|with|try|except|raise|True|False|None|and|or|not|in|is|lambda|yield|async|await|pass|break|continue|del|global|nonlocal|assert|finally|print|self|cls)\\b/,CW=/\\b(if|then|else|elif|fi|for|do|done|while|until|case|esac|function|in|select|return|exit|local|export|source|alias|unalias|readonly|shift|eval|exec|set|unset|trap|wait|read|echo|printf|test|true|false)\\b/,wW=/\\b(important|inherit|initial|unset|revert|auto|none)\\b/,TW=/\\b(function|class|if|else|elseif|for|foreach|while|return|echo|public|private|protected|static|new|try|catch|throw|namespace|use|require|require_once|include|include_once|extends|implements|interface|abstract|final|const|var|true|false|null|array|isset|unset|empty|list|match|enum|switch|case|break|continue|do|yield|fn)\\b/,EW=/\\b(function|class|if|else|for|foreach|while|return|echo|public|private|protected|static|new|try|catch|throw|namespace|use|require|include|extends|implements|interface|abstract|final|const|shape|vec|dict|keyset|async|await|concurrent|enum|type|newtype|tuple|inout)\\b/,DW=new WeakMap;function OW(e){if(typeof e!=`string`){let t=DW.get(e);if(t!==void 0)return t;let n=$U(e),r=n==null?null:n.kind===`grammar`?MW(n.grammar):{tokenize:n.tokenize,name:e.name};return DW.set(e,r),r}let t=bW.get(e);if(t!==void 0)return t;let n=jW(e);return bW.set(e,n),n}function kW(e){let t=OW(e);return t!=null&&`patterns`in t?t:null}function AW(e,t){let n=OW(t);return n==null||!(`tokenize`in n)?null:typeof n.tokenize==`function`?LW(n.tokenize(e,n.name),e):null}function jW(e){let t=NW(e);return t?MW(t):null}function MW(e){return{defaultType:e.defaultType,patterns:e.patterns.map(e=>{let t=e.regex.flags.replace(/[gy]/g,``)+`y`;return{...e,anchored:new RegExp(e.regex.source,t)}})}}function NW(e){switch(e){case`typescript`:case`javascript`:case`tsx`:case`jsx`:case`ts`:case`js`:return{defaultType:`variable`,patterns:[{type:`comment`,regex:/\\/\\*[\\s\\S]*?\\*\\//},{type:`comment`,regex:/\\/\\/[^\\n]*/},{type:`string`,regex:/`(?:[^`\\\\]|\\\\.)*`/},{type:`string`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`string`,regex:/'(?:[^'\\\\]|\\\\.)*'/},{type:`constant`,regex:/@[\\w]+/},{type:`number`,regex:/\\b0[xX][0-9a-fA-F_]+\\b/},{type:`number`,regex:/\\b0[bB][01_]+\\b/},{type:`number`,regex:/\\b0[oO][0-7_]+\\b/},{type:`number`,regex:/\\b\\d[\\d_]*\\.?[\\d_]*(?:[eE][+-]?\\d+)?\\b/},{type:`keyword`,regex:xW},{type:`function`,regex:/\\b[a-zA-Z_$][\\w$]*(?=\\s*\\()/},{type:`type`,regex:/\\b[A-Z][a-zA-Z0-9_]*\\b/},{type:`operator`,regex:/[+\\-*/%=!<>&|^~?:]+/},{type:`punctuation`,regex:/[{}()\\[\\];,.]/},{type:`variable`,regex:/\\b[a-zA-Z_$][\\w$]*\\b/}]};case`json`:return{defaultType:`punctuation`,patterns:[{type:`property`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"(?=\\s*:)/},{type:`string`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`number`,regex:/-?\\b\\d+\\.?\\d*(?:[eE][+-]?\\d+)?\\b/},{type:`constant`,regex:/\\b(true|false|null)\\b/},{type:`punctuation`,regex:/[{}()\\[\\]:,]/}]};case`html`:case`xml`:case`svg`:return{defaultType:`variable`,patterns:[{type:`comment`,regex://},{type:`keyword`,regex:/]*>/i},{type:`tag`,regex:/<\\/[a-zA-Z][\\w-]*\\s*>/},{type:`tag`,regex:/<[a-zA-Z][\\w-]*/},{type:`tag`,regex:/\\/?>/},{type:`string`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`string`,regex:/'(?:[^'\\\\]|\\\\.)*'/},{type:`attribute`,regex:/\\b[a-zA-Z_:][\\w:.-]*(?=\\s*=)/},{type:`operator`,regex:/=/}]};case`css`:case`scss`:case`less`:return{defaultType:`variable`,patterns:[{type:`comment`,regex:/\\/\\*[\\s\\S]*?\\*\\//},{type:`comment`,regex:/\\/\\/[^\\n]*/},{type:`string`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`string`,regex:/'(?:[^'\\\\]|\\\\.)*'/},{type:`variable`,regex:/--[a-zA-Z_-][\\w-]*/},{type:`number`,regex:/-?\\b\\d+\\.?\\d*(?:px|em|rem|%|vh|vw|vmin|vmax|ch|ex|deg|rad|turn|s|ms|fr)?\\b/},{type:`constant`,regex:/#[0-9a-fA-F]{3,8}\\b/},{type:`keyword`,regex:wW},{type:`keyword`,regex:/@[a-zA-Z][\\w-]*/},{type:`tag`,regex:/[.#][a-zA-Z_-][\\w-]*/},{type:`keyword`,regex:/::?[a-zA-Z][\\w-]*/},{type:`function`,regex:/\\b[a-zA-Z_-][\\w-]*(?=\\s*\\()/},{type:`property`,regex:/[a-zA-Z_-][\\w-]*(?=\\s*:)/},{type:`punctuation`,regex:/[{}()\\[\\];:,]/},{type:`operator`,regex:/[+~>*=|^$]/}]};case`python`:case`py`:return{defaultType:`variable`,patterns:[{type:`string`,regex:/\"\"\"[\\s\\S]*?\"\"\"/},{type:`string`,regex:/'''[\\s\\S]*?'''/},{type:`string`,regex:/f\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`string`,regex:/f'(?:[^'\\\\]|\\\\.)*'/},{type:`comment`,regex:/#[^\\n]*/},{type:`string`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`string`,regex:/'(?:[^'\\\\]|\\\\.)*'/},{type:`constant`,regex:/@[\\w.]+/},{type:`number`,regex:/\\b0[xX][0-9a-fA-F_]+\\b/},{type:`number`,regex:/\\b0[bB][01_]+\\b/},{type:`number`,regex:/\\b0[oO][0-7_]+\\b/},{type:`number`,regex:/\\b\\d[\\d_]*\\.?[\\d_]*(?:[eE][+-]?\\d+)?j?\\b/},{type:`keyword`,regex:SW},{type:`function`,regex:/\\b[a-zA-Z_][\\w]*(?=\\s*\\()/},{type:`type`,regex:/\\b[A-Z][a-zA-Z0-9_]*\\b/},{type:`operator`,regex:/[+\\-*/%=!<>&|^~@:]+/},{type:`punctuation`,regex:/[{}()\\[\\];,.]/},{type:`variable`,regex:/\\b[a-zA-Z_][\\w]*\\b/}]};case`bash`:case`sh`:case`zsh`:case`shell`:return{defaultType:`variable`,patterns:[{type:`comment`,regex:/#[^\\n]*/},{type:`string`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`string`,regex:/'[^']*'/},{type:`variable`,regex:/\\$\\{[^}]+\\}/},{type:`variable`,regex:/\\$[a-zA-Z_][\\w]*/},{type:`variable`,regex:/\\$[0-9@#?*!$-]/},{type:`number`,regex:/\\b\\d+\\b/},{type:`keyword`,regex:CW},{type:`function`,regex:/\\b[a-zA-Z_][\\w]*(?=\\s*\\()/},{type:`operator`,regex:/[|&<>;!]+/},{type:`punctuation`,regex:/[{}()\\[\\]]/}]};case`php`:return{defaultType:`variable`,patterns:[{type:`comment`,regex:/\\/\\*[\\s\\S]*?\\*\\//},{type:`comment`,regex:/\\/\\/[^\\n]*/},{type:`comment`,regex:/#[^\\n]*/},{type:`string`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`string`,regex:/'(?:[^'\\\\]|\\\\.)*'/},{type:`variable`,regex:/\\$[a-zA-Z_][\\w]*/},{type:`number`,regex:/\\b0[xX][0-9a-fA-F]+\\b/},{type:`number`,regex:/\\b\\d+\\.?\\d*(?:[eE][+-]?\\d+)?\\b/},{type:`keyword`,regex:TW},{type:`function`,regex:/\\b[a-zA-Z_][\\w]*(?=\\s*\\()/},{type:`type`,regex:/\\b[A-Z][a-zA-Z0-9_]*\\b/},{type:`operator`,regex:/[+\\-*/%=!<>&|^~?:.]+/},{type:`constant`,regex:/@[\\w]+/},{type:`punctuation`,regex:/[{}()\\[\\];,.]/}]};case`hack`:return{defaultType:`variable`,patterns:[{type:`comment`,regex:/\\/\\*[\\s\\S]*?\\*\\//},{type:`comment`,regex:/\\/\\/[^\\n]*/},{type:`string`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`string`,regex:/'(?:[^'\\\\]|\\\\.)*'/},{type:`variable`,regex:/\\$[a-zA-Z_][\\w]*/},{type:`number`,regex:/\\b0[xX][0-9a-fA-F]+\\b/},{type:`number`,regex:/\\b\\d+\\.?\\d*(?:[eE][+-]?\\d+)?\\b/},{type:`keyword`,regex:EW},{type:`type`,regex:/\\b[A-Z][a-zA-Z0-9_]*\\b/},{type:`function`,regex:/\\b[a-zA-Z_][\\w]*(?=\\s*\\()/},{type:`property`,regex:/(?<=->|::)\\b[a-zA-Z_][\\w]*\\b/},{type:`operator`,regex:/[+\\-*/%=!<>&|^~?:.]+/},{type:`constant`,regex:/<<[\\w]+/},{type:`punctuation`,regex:/[{}()\\[\\];,.]/}]};case`yaml`:case`yml`:return{defaultType:`variable`,patterns:[{type:`comment`,regex:/#[^\\n]*/},{type:`string`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`string`,regex:/'(?:[^'\\\\]|\\\\.)*'/},{type:`constant`,regex:/\\b(true|false|yes|no|on|off|null|~)\\b/i},{type:`variable`,regex:/[&*][\\w]+/},{type:`type`,regex:/!!\\w+/},{type:`number`,regex:/\\b-?\\d+\\.?\\d*(?:[eE][+-]?\\d+)?\\b/},{type:`property`,regex:/^[ \\t]*[\\w][\\w ./-]*(?=\\s*:)/m},{type:`keyword`,regex:/---/},{type:`keyword`,regex:/\\.\\.\\./},{type:`operator`,regex:/[:|>\\-?]/},{type:`punctuation`,regex:/[{}()\\[\\],]/},{type:`variable`,regex:/\\b[a-zA-Z_][\\w]*\\b/}]};case`markdown`:case`md`:return{defaultType:`variable`,patterns:[{type:`keyword`,regex:/^```[\\w]*$/m},{type:`keyword`,regex:/^#{1,6}\\s+.*/m},{type:`keyword`,regex:/^---$/m},{type:`keyword`,regex:/^\\*\\*\\*$/m},{type:`string`,regex:/\\*\\*(?:[^*]|\\*(?!\\*))+\\*\\*/},{type:`string`,regex:/\\*(?:[^*])+\\*/},{type:`constant`,regex:/`[^`]+`/},{type:`function`,regex:/\\[(?:[^\\]])+\\]\\([^)]+\\)/},{type:`comment`,regex:/^>\\s+.*/m},{type:`operator`,regex:/^\\s*[-*+]\\s/m},{type:`number`,regex:/^\\s*\\d+\\.\\s/m}]};case`c`:case`h`:return gW(vW,[{type:`keyword`,regex:_W}]);case`cpp`:case`c++`:case`cc`:case`cxx`:case`hpp`:case`hh`:return gW(yW,[{type:`keyword`,regex:_W},{type:`string`,regex:/\\b(?:u8|[uUL])?R\"([^()\\\\\\s]{0,16})\\([\\s\\S]*?\\)\\1\"/}]);case`sql`:return{defaultType:`variable`,patterns:[{type:`comment`,regex:/--[^\\n]*/},{type:`comment`,regex:uW},{type:`string`,regex:/'(?:[^']|'')*'/},{type:`property`,regex:/\"[^\"\\n]*\"|`[^`\\n]*`/},{type:`number`,regex:sW},{type:`keyword`,regex:/\\b(?:select|from|where|and|or|not|in|is|null|as|join|inner|left|right|full|outer|cross|on|group|by|order|having|limit|offset|union|all|distinct|insert|into|values|update|set|delete|create|table|view|index|drop|alter|add|primary|key|foreign|references|with|case|when|then|else|end|exists|between|like|asc|desc|true|false|default|returning|interval)\\b/i},{type:`function`,regex:fW},{type:`operator`,regex:/[+\\-*/%=<>!|]+/},{type:`punctuation`,regex:hW}]};case`rust`:case`rs`:return gW(`as async await break const continue crate dyn else enum extern false fn for if impl in let loop match mod move mut pub ref return self Self static struct super trait true type unsafe use where while`,[{type:`constant`,regex:/#!?\\[[^\\]\\n]*\\]/},{type:`function`,regex:/\\b[a-zA-Z_]\\w*!(?=\\s*[([{])/},{type:`string`,regex:/\\bb?r(#*)\"[\\s\\S]*?\"\\1/},{type:`type`,regex:/'[a-z_]\\w*\\b(?!')/}]);case`kotlin`:case`kt`:case`kts`:return gW(`as break class continue do else false for fun if in interface is null object package return super this throw true try typealias val var when while by constructor init companion data sealed enum open override private protected public internal suspend inline lateinit import`,[{type:`constant`,regex:/@\\w+/},{type:`string`,regex:/\"\"\"[\\s\\S]*?\"\"\"/}]);case`swift`:return gW(`associatedtype class deinit enum extension func import init inout internal let open operator private protocol public static struct subscript typealias var break case continue default defer do else fallthrough for guard if in repeat return switch where while as catch false is nil rethrows super self Self throw throws true try async await actor some any`,[{type:`string`,regex:/(#+)\"[\\s\\S]*?\"\\1/},{type:`constant`,regex:/[@#]\\w+/},{type:`string`,regex:/\"\"\"[\\s\\S]*?\"\"\"/}]);case`go`:case`golang`:return gW(`break case chan const continue default defer else fallthrough for func go goto if import interface map package range return select struct switch type var true false nil iota`,[{type:`string`,regex:/`[^`]*`/}]);default:return null}}function PW(e){let t=(e??``).trim();if(t===`diff`)return{language:`plaintext`,isDiff:!0};let n=/^diff-(.+)$/.exec(t);return n?{language:n[1],isDiff:!0}:{language:t||`plaintext`,isDiff:!1}}function FW(e){let t=[],n=[],r=[],i=Ire(e);return e.forEach((e,a)=>{let o=Fre(e,{isFileHeader:i.has(a)});t.push(o),o===`header`?(n.push(``),r.push(``)):o===`context`&&!e.startsWith(` `)?(n.push(``),r.push(e)):(n.push(e.slice(0,1)),r.push(e.slice(1)))}),{kinds:t,glyphs:n,content:r}}function Fre(e,{isFileHeader:t=!1}={}){return e.startsWith(`@@`)||t?`header`:e.startsWith(`+`)?`added`:e.startsWith(`-`)?`removed`:`context`}function Ire(e){let t=new Set;for(let n=0;n+2setTimeout(e,0))}function IW(e,t,n,r){let i=[],a=n,o=Math.min(r,e.length);for(;a0){o.type!==t.defaultType&&i.push({type:o.type,start:a-n,end:a-n+s[0].length}),a+=s[0].length,r=!0;break}}r||a++}return i}function zre(e,t){let n=AW(e,t);if(n!=null)return n;let r=kW(t);if(!r)return[];let i=[],a=0;for(let t=0;t<=e.length;t++)(t===e.length||e[t]===`\n`)&&(i.push(IW(e,r,a,t)),a=t+1);return i}async function Bre(e,t,n){let r=AW(e,t);if(r!=null)return r;let i=kW(t);if(!i)return[];let a=[],o=0,s=0;for(let t=0;t<=e.length;t++)if((t===e.length||e[t]===`\n`)&&(a.push(IW(e,i,o,t)),s+=t-o+1,o=t+1,s>=Lre&&t[]),i=0;for(let t of e){for(;i=n[i+1];)i++;let e=n[i];r[i].push({type:t.type,start:t.start-e,end:t.end-e})}return r}Ln();var Vre=`\n${`:root {\\n${Object.entries(Fn).map(([e,t])=>` ${e}: ${t};`).join(`\n`)}\\n}`}\n\n.astryx-code-block code::highlight(astryx-keyword),\n.astryx-codeeditor code::highlight(astryx-keyword) { color: var(--color-syntax-keyword); }\n.astryx-code-block code::highlight(astryx-string),\n.astryx-codeeditor code::highlight(astryx-string) { color: var(--color-syntax-string); }\n.astryx-code-block code::highlight(astryx-comment),\n.astryx-codeeditor code::highlight(astryx-comment) { color: var(--color-syntax-comment); }\n.astryx-code-block code::highlight(astryx-number),\n.astryx-codeeditor code::highlight(astryx-number) { color: var(--color-syntax-number); }\n.astryx-code-block code::highlight(astryx-function),\n.astryx-codeeditor code::highlight(astryx-function) { color: var(--color-syntax-function); }\n.astryx-code-block code::highlight(astryx-type),\n.astryx-codeeditor code::highlight(astryx-type) { color: var(--color-syntax-type); }\n.astryx-code-block code::highlight(astryx-tag),\n.astryx-codeeditor code::highlight(astryx-tag) { color: var(--color-syntax-tag); }\n.astryx-code-block code::highlight(astryx-attribute),\n.astryx-codeeditor code::highlight(astryx-attribute) { color: var(--color-syntax-attribute); }\n.astryx-code-block code::highlight(astryx-property),\n.astryx-codeeditor code::highlight(astryx-property) { color: var(--color-syntax-property); }\n.astryx-code-block code::highlight(astryx-operator),\n.astryx-codeeditor code::highlight(astryx-operator) { color: var(--color-syntax-operator); }\n.astryx-code-block code::highlight(astryx-constant),\n.astryx-codeeditor code::highlight(astryx-constant) { color: var(--color-syntax-constant); }\n.astryx-code-block code::highlight(astryx-punctuation),\n.astryx-codeeditor code::highlight(astryx-punctuation) { color: var(--color-syntax-punctuation); }\n.astryx-code-block code::highlight(astryx-variable),\n.astryx-codeeditor code::highlight(astryx-variable) { color: var(--color-syntax-variable); }\n\n/* Span-based fallback classes — used when highlightMode='spans' or\n when the CSS Custom Highlight API is not available. */\n.astryx-token-keyword { color: var(--color-syntax-keyword); }\n.astryx-token-string { color: var(--color-syntax-string); }\n.astryx-token-comment { color: var(--color-syntax-comment); }\n.astryx-token-number { color: var(--color-syntax-number); }\n.astryx-token-function { color: var(--color-syntax-function); }\n.astryx-token-type { color: var(--color-syntax-type); }\n.astryx-token-tag { color: var(--color-syntax-tag); }\n.astryx-token-attribute { color: var(--color-syntax-attribute); }\n.astryx-token-property { color: var(--color-syntax-property); }\n.astryx-token-operator { color: var(--color-syntax-operator); }\n.astryx-token-constant { color: var(--color-syntax-constant); }\n.astryx-token-punctuation { color: var(--color-syntax-punctuation); }\n.astryx-token-variable { color: var(--color-syntax-variable); }\n`,RW=!1;function zW(){if(RW||typeof document>`u`)return;let e=document.createElement(`style`);e.setAttribute(`data-astryx-highlight-styles`,``),e.textContent=`@layer reset, astryx-base, astryx-theme;\\n@layer astryx-base {\\n${Vre}\\n}`,document.head.appendChild(e),RW=!0}var BW=new Set([`keyword`,`string`,`comment`,`number`,`function`,`type`,`tag`,`attribute`,`property`,`operator`,`constant`,`punctuation`,`variable`]),VW=null;function Hre(e){if(BW.has(e)||(BW.add(e),zW(),typeof document>`u`))return;if(!VW){let e=document.createElement(`style`);if(e.setAttribute(`data-astryx-highlight-dynamic`,``),document.head.appendChild(e),VW=e.sheet??null,!VW)return}let t=CSS.escape(`astryx-${e}`),n=`var(${CSS.escape(`--color-syntax-${e}`)}, currentColor)`;try{VW.insertRule(`@layer astryx-base { .astryx-code-block code::highlight(${t}), .astryx-codeeditor code::highlight(${t}) { color: ${n}; } }`)}catch{}}function Ure(){let e=new Map;return t=>{let n=e.get(t);if(n)return n;Hre(t);let r=`astryx-${t}`;return n=CSS.highlights.get(r),n||(n=new Highlight,CSS.highlights.set(r,n)),e.set(t,n),n}}function HW(e,t,n,r){if(t.length===0)return;let i=e.firstChild,a=i?.nodeType===Node.ELEMENT_NODE?i.firstChild:i;if(!a||a.nodeType!==Node.TEXT_NODE)return;let o=a.length;for(let e of t){if(e.start>=o||e.end<=0)continue;let t=Math.min(e.start,o),i=Math.min(e.end,o),s=r(e.type);try{let e=new Range;e.setStart(a,t),e.setEnd(a,i),s.add(e),n.push({range:e,highlight:s})}catch{}}}function UW(e){for(let{range:t,highlight:n}of e)n.delete(t)}function Wre(e,t,n,r){let i=[],a=e.querySelectorAll(`[data-line]`);for(let e=0;e0&&HW(a[e],o,i,r)}return i}function Gre(e,t){zW();let n=Ure(),r=[],i=[],a=0;for(let t=0;t0&&n.tagName===`DIV`&&!n.hasAttribute(`data-line`)&&(r.push(n),i.push(a),a+=o.length)}if(r.length===0){let r=[],i=e.querySelectorAll(`[data-line]`);for(let e=0;e0&&HW(i[e],a,r,n)}return()=>UW(r)}let o=new Map,s=new Map;function c(e,r){if(o.has(e))return;let a=Wre(e,t,i[r],n);o.set(e,a)}function l(e){let t=o.get(e);t&&(UW(t),o.delete(e))}for(let e=0;e{n.skipped?l(t):c(t,e)};t.addEventListener(`contentvisibilityautostatechange`,n),s.set(t,n);let i=t;typeof i.checkVisibility==`function`?i.checkVisibility({checkVisibilityCSS:!0,contentVisibilityAuto:!0})&&c(t,e):e<5&&c(t,e)}return function(){for(let[e,t]of s)e.removeEventListener(`contentvisibilityautostatechange`,t);s.clear();for(let e of o.values())UW(e);o.clear()}}D(),eR(),HU(),sE(),vr(),oS(),iT(),Ww({\"@astryx.codeBlock.code\":`Code`,\"@astryx.codeBlock.copied\":`Copied`,\"@astryx.codeBlock.copyCode\":`Copy code`,\"@astryx.codeBlock.copyFailed\":`Failed to copy value to clipboard.`,\"@astryx.codeBlock.diffLabel\":`{language} diff`});var Kre={card:{kaIpWk:`xh6dtrn`,kMzoRj:`x1litavf`,ksu8eU:`x1y0btm7`,kVAM5u:`x14i3s5s`,$$css:!0},section:{kaIpWk:`x2u8bby`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kVAM5u:`x9r1u3d`,\"--color-syntax-background\":`x1mtvhk1`,$$css:!0}},qre={\"--_codeblock-gutter-width\":`xtk08jq`,$$css:!0},WW={width:e=>[{kzqmXN:e==null?e:`x5lhr3w`,k7Eaqz:(e===`fit-content`?`min(100%, 400px)`:null)==null?e===`fit-content`?`min(100%, 400px)`:null:`xkj4a21`,ks0D6T:(e===`fit-content`?`100%`:null)==null?e===`fit-content`?`100%`:null:`xf68679`,$$css:!0},{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(e),\"--x-minWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(e===`fit-content`?`min(100%, 400px)`:null),\"--x-maxWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(e===`fit-content`?`100%`:null)}],gutterWidth:e=>[qre,{\"--x---_codeblock-gutter-width\":`${e}ch`==null?void 0:`${e}ch`}]},GW={root:{\"--_codeblock-direction\":`xbuxdmv xyet88l`,kVAEAm:`x1n2onr6`,kHBbk8:`xc8icb0`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kogj98:`x1ghz6dp`,kWkggS:`xzyc27v`,kVQacm:`xb3r6kr`,$$css:!0},viewport:{kAzted:`x2lwn1j`,$$css:!0},viewportFocusRingInset:{kInvED:`x1nw7mhf`,$$css:!0},rootCorner:{k1xSpc:`xrvj5dj`,kumcoG:`xju1xpo`,k9llMU:`x5o4joa`,$$css:!0},header:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kUk6DE:`x98rzlu`,k7Eaqz:`xeuugli`,kmVPX3:`x1717udv`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kWkggS:`xjbqb8w`,kMwMTN:`x1heor9g`,kVVagm:`xln7xf2`,k9WMMc:`x1yc453h`,$$css:!0},collapseChevron:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,kzqmXN:`x6jxa94`,kZKoxP:`x1v9usgg`,k71WvV:`xnur1sd`,kVQacm:`xb3r6kr`,kMwMTN:`x1mjzq1q`,kKVMdj:`x1gbn2au x1aquc0h`,k44tkh:`x12wqnr7`,kyAemX:`x128ha8g`,$$css:!0},collapseChevronIcon:{k1ekBW:`x11xpdln`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,$$css:!0},collapseChevronExpanded:{k3aq6I:`x1iffjtl`,$$css:!0},headerCollapsible:{kkrTdU:`x1ypdohk x16khyan`,kfSwDN:`x87ps6o`,$$css:!0},code:{k1xSpc:`x1lliihq`,kUk6DE:`x98rzlu`,k7Eaqz:`xk8lq53`,ksoyAI:`x129wrhd`,k8WAf4:`x8o8v82`,kg3NbH:`x1pzlopt`,kogj98:`x1ghz6dp`,kMv6JI:`x9m5x89`,kMwMTN:`xdfisg`,kKi2Bq:`xeq4nuv`,khDVqt:`x1sdyfia`,kTgw9:`x1lldw8n`,kHjlTd:`x1h4wwuj`,$$css:!0},codeWrapped:{k7Eaqz:`x15x72sd`,khDVqt:`x126k92a`,kTgw9:`x1yn0g08`,kHjlTd:`x1mzt3pk`,$$css:!0},codeNumbered:{kVAEAm:`x1n2onr6`,k5JduY:`x1s928wv`,kwXMNM:`x1j6awrg`,kSy8m5:`xd54j2p`,kc1e00:`x1km86hw`,kkgrvl:`xkj6t0a`,kQlJh0:`x1p96cux`,k6vLHU:`xvsnedh`,kkQ525:`xnnzo76`,kloYau:`x2q1x1w`,$$css:!0},line:{kLWn49:`x17iicif`,$$css:!0},lineNumbered:{k1xSpc:`xrvj5dj`,kumcoG:`x1xx4m37`,k1C7PZ:`xf5zn4v`,kgeoSG:`x46gnpd`,krRUto:`x17gn2l9`,kOrBnS:`x19ds33d`,kKZZS1:`x1wnbjh8`,kxBb7d:`xtkarl4`,kUY6Iu:`x1rbqspl`,kQcDng:`x3nzp0f`,$$css:!0},lineHighlighted:{kWkggS:`xgcxg3y`,kUOVxO:`x1ng9b9t`,kg3NbH:`x1pzlopt`,$$css:!0},lineAdded:{kWkggS:`xjqijk9`,kUOVxO:`x1ng9b9t`,kg3NbH:`x1pzlopt`,kxBb7d:`x147exv5`,$$css:!0},lineRemoved:{kWkggS:`xv48ua2`,kUOVxO:`x1ng9b9t`,kg3NbH:`x1pzlopt`,kxBb7d:`x16hy5kr`,$$css:!0},lineDiffHeader:{kWkggS:`x11ds9ch`,kMwMTN:`xt5rlkq`,kUOVxO:`x1ng9b9t`,kg3NbH:`x1pzlopt`,$$css:!0},lineDiff:{k1xSpc:`xrvj5dj`,kumcoG:`xrnahuw`,k1C7PZ:`xak3so`,$$css:!0},lineDiffNumbered:{kumcoG:`x1v9b7p9`,k1C7PZ:`x1o1pmfc`,$$css:!0},sizeSm:{kGuDYH:`x141an7d`,kLWn49:`x1ltkj2j`,$$css:!0},sizeMd:{kGuDYH:`xp03k98`,kLWn49:`x17iicif`,$$css:!0},copyButton:{kMwMTN:`x1mjzq1q`,$$css:!0}},Jre=20,Yre=100,KW=X.memo(function({lines:e,startIndex:t,startLineNumber:n,highlightSet:r,diffKinds:i,renderLineContent:a,lineNumbers:o}){return(0,Z.jsx)(Z.Fragment,{children:e.map((e,s)=>{let c=t+s,l=n+c,u=i?.[c];return(0,Z.jsx)(`div`,{\"data-line\":l,\"data-diff\":u===`context`?void 0:u,...C(GW.line,o&&GW.lineNumbered,i!=null&&GW.lineDiff,i!=null&&o&&GW.lineDiffNumbered,u===`added`&&GW.lineAdded,u===`removed`&&GW.lineRemoved,u===`header`&&GW.lineDiffHeader,(r?.has(l)??!1)&&GW.lineHighlighted),children:a(e,c)},c)})})});function qW(e,t,n,r,i,a,o=Jre){if(o=Math.max(1,Math.floor(o)),e.length`u`)return!1;let e=navigator.userAgent;return e.includes(`AppleWebKit`)&&!e.includes(`Chrome`)}function Zre(e,t,n){let[r,i]=(0,X.useState)(t);tW(r,t)||i(t);let[a,o]=(0,X.useState)(null),s=(0,X.useMemo)(()=>n?LW(n(e,nW(r)),e):e.length>=2e3&&!eW(r)?null:zre(e,r),[e,r,n]);return(0,X.useEffect)(()=>{if(e.length<2e3||n||eW(r))return;let t=new AbortController;async function i(){try{let n=await Bre(e,r,t.signal);t.signal.aborted||o({code:e,language:r,tokens:n})}catch{t.signal.aborted||o({code:e,language:r,tokens:[]})}}return i(),()=>{t.abort()}},[e,r,n]),s??(a?.code===e&&a.language===r?a.tokens:[])}function YW(e,t){if(t.length===0)return e||`​`;let n=[],r=0;for(let i of t){i.start>r&&n.push(e.slice(r,i.start));let t=Math.min(i.end,e.length);n.push((0,Z.jsx)(`span`,{className:`astryx-token-${i.type} xds-token-${i.type}`,children:e.slice(i.start,t)},`${i.start}-${i.type}`)),r=t}return r0?n:`​`}function Qre({lines:e,tokenLines:t,highlightSet:n,diffKinds:r,diff:i,isWrapped:a,sizeStyle:o,hasLineNumbers:s,maxDigits:c,startLineNumber:l}){(0,X.useInsertionEffect)(()=>{zW()},[]);let u=(0,X.useCallback)((e,n)=>{let r=t[n]??[];if(i){let t=i.kinds[n],a=t===`header`?e:i.content[n];return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`span`,{\"data-diff-marker\":``,...{0:{className:`xv1l7n4 x87ps6o x1sdyfia`},4:{className:`xv1l7n4 x87ps6o x1sdyfia x6w1cxl x1pezmd8`},2:{className:`x87ps6o x1sdyfia x1wxerb0`},6:{className:`x87ps6o x1sdyfia x6w1cxl x1pezmd8 x1wxerb0`},1:{className:`x87ps6o x1sdyfia x103bwea`},5:{className:`x87ps6o x1sdyfia x6w1cxl x1pezmd8 x103bwea`},3:{className:`x87ps6o x1sdyfia x103bwea`},7:{className:`x87ps6o x1sdyfia x6w1cxl x1pezmd8 x103bwea`}}[!!s<<2|(t===`added`)<<1|t===`removed`],children:i.glyphs[n]||` `}),(0,Z.jsx)(`span`,{dir:`auto`,className:`x1lliihq xeuugli`,children:t===`header`?a||`​`:YW(a,r)})]})}return(0,Z.jsx)(`span`,{dir:`auto`,className:`x1lliihq xeuugli`,children:YW(e,r)})},[t,i,s]);return(0,Z.jsx)(`code`,{...C(GW.code,o,a&&GW.codeWrapped,s&&GW.codeNumbered,s&&WW.gutterWidth(c)),children:qW(e,n,r,u,s,l)})}function $re({lines:e,tokenLines:t,highlightSet:n,diffKinds:r,isWrapped:i,sizeStyle:a,hasLineNumbers:o,maxDigits:s,startLineNumber:c}){let l=(0,X.useRef)(null);(0,X.useInsertionEffect)(()=>{JW()&&zW()},[]),(0,X.useEffect)(()=>{if(!JW())return;let e=l.current;if(e&&t.length!==0)return Gre(e,t)},[t]);let u=(0,X.useCallback)(e=>(0,Z.jsx)(`span`,{dir:`auto`,className:`x1lliihq xeuugli`,children:e||`​`}),[]);return(0,Z.jsx)(`code`,{ref:l,...C(GW.code,a,i&&GW.codeWrapped,o&&GW.codeNumbered,o&&WW.gutterWidth(s)),children:qW(e,n,r,u,o,c)})}function XW({code:e,language:t=`plaintext`,title:n,hasLanguageLabel:r=!0,hasLineNumbers:i=!1,startLineNumber:a=1,highlightLines:o,isDiff:s=!1,hasCopyButton:c=!0,onCopy:l,onCopyError:u,endContent:d,isWrapped:f=!1,maxHeight:p,isCollapsible:m=!1,collapsibleThreshold:h=10,size:g=`md`,width:_=`fit-content`,container:v=`card`,tokenizer:y,highlightMode:b=`auto`,syntaxTheme:x,xstyle:S,className:w,style:T,ref:E,...D}){let O=nT(),{copy:k,isCopied:A,isFailed:j}=lU({announce:O(`@astryx.codeBlock.copied`),announceFailure:O(`@astryx.codeBlock.copyFailed`),onError:u}),M=s||b===`spans`||b===`auto`&&!JW()||b===`auto`&&Xre(),N=(0,X.useMemo)(()=>{let t=e.split(`\n`);return t.length>1&&t[t.length-1]===``&&t.pop(),t},[e]),P=(0,X.useMemo)(()=>s?FW(N):null,[s,N]),F=Zre(P?P.content.join(`\n`):e,t,y),I=P?.kinds??null,L=Number.isFinite(a)&&a>1?Math.floor(a):1,R=(0,X.useMemo)(()=>o?new Set(o):null,[o]),z=(0,X.useCallback)(async()=>{await k(e)&&l?.()},[e,k,l]),B=g===`sm`?GW.sizeSm:GW.sizeMd,V=String(L+N.length-1).length,H=nW(t),ee=rW(t),U=r?s?H===`plaintext`?`diff`:O(`@astryx.codeBlock.diffLabel`,{language:H}):H===`plaintext`?null:H:null,te=n!=null||U!=null,W=te&&m&&N.length>=h,G=(0,X.useMemo)(()=>W?{}:null,[W]),[ne,re]=(0,X.useState)(null),ie=G!=null&&ne===G,K=(0,X.useCallback)(()=>{re(e=>e===G?null:G)},[G]),q=(0,X.useId)(),{getViewportProps:ae,getContentProps:oe,state:se}=NU({axis:`both`,stickyContainment:`always`,keyboardAccess:{owner:`viewport`,role:`group`,label:U??O(`@astryx.codeBlock.code`)}}),ce=p==null?void 0:{maxHeight:typeof p==`number`?`${p}px`:p},le=bO(d),J=c||le,ue=c?(0,Z.jsx)(XU,{variant:`ghost`,size:`sm`,icon:(0,Z.jsx)(JU,{slot:`code-block-copy`,state:{copied:A&&!j},fallback:{icon:j?`close`:A?`check`:`copy`,size:`sm`},color:`inherit`}),tooltip:O(j?`@astryx.codeBlock.copyFailed`:`@astryx.codeBlock.copyCode`),label:O(j?`@astryx.codeBlock.copyFailed`:A?`@astryx.codeBlock.copied`:`@astryx.codeBlock.copyCode`),onClick:e=>{e.stopPropagation(),z()},xstyle:GW.copyButton,...Y(`code-block-copy-button`)}):null,de=te?(0,Z.jsxs)(`div`,{...Q(Y(`code-block-header`,{size:g,language:ee,container:v}),{0:{className:`x78zum5 x6s0dn4 x1qughib x1pzlopt xzyc27v x7wzq59 x13vifvy x1vjfegm xce4md1`},1:{className:`x78zum5 x6s0dn4 x1qughib x1pzlopt xzyc27v x7wzq59 x13vifvy x1vjfegm xce4md1 x92x3c3 x1q0q8m5 xw8gpjh`}}[!!i|0]),children:[(0,Z.jsx)(`div`,{role:W?`button`:void 0,tabIndex:W?0:void 0,\"aria-expanded\":W?!ie:void 0,\"aria-controls\":W?q:void 0,\"aria-label\":W&&!n?.trim()&&!U?O(`@astryx.codeBlock.code`):void 0,onClick:W?K:void 0,onKeyDown:W?e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),K())}:void 0,...aS.focusVisible(GW.header,W&&GW.headerCollapsible),children:(0,Z.jsxs)(`span`,{...Q(Y(`code-block-title`,{size:g,language:ee}),{className:`x78zum5 x6s0dn4 xeuugli x126k92a xj0a0fe x5ujdhh x141an7d x9m5x89 x1e4wzip x1mjzq1q x1ghz6dp x1ltkj2j`}),children:[W&&(0,Z.jsx)(`span`,{...C(GW.collapseChevron,$L.mirror),children:(0,Z.jsx)(XT,{icon:`chevronRight`,size:`xsm`,color:`inherit`,xstyle:[GW.collapseChevronIcon,!ie&&GW.collapseChevronExpanded]})}),n,n&&U?` — `:``,U]})}),J?(0,Z.jsxs)(`div`,{className:`x78zum5 x6s0dn4 xzye2dw x2lah0s`,children:[le?d:null,ue]}):null]}):null,fe=(0,Z.jsx)(`div`,{...ae({...aS.focusVisible(GW.viewport,GW.viewportFocusRingInset),xstyle:GU(se.inline),style:ce,dir:`ltr`}),children:(0,Z.jsx)(`div`,{...oe({0:{className:`x78zum5 x1pshirs`},1:{className:`x78zum5 x1pshirs x1ajqlyv`}}[!(!te||i)|0]),children:M?(0,Z.jsx)(Qre,{lines:N,tokenLines:F,highlightSet:R,diffKinds:I,diff:P,isWrapped:f,sizeStyle:B,hasLineNumbers:i,maxDigits:V,startLineNumber:L}):(0,Z.jsx)($re,{lines:N,tokenLines:F,highlightSet:R,diffKinds:I,isWrapped:f,sizeStyle:B,hasLineNumbers:i,maxDigits:V,startLineNumber:L})})}),pe=(0,Z.jsxs)(`pre`,{ref:E,...Q(Y(`code-block`,{size:g,language:ee,container:v}),C(GW.root,J&&!te&&GW.rootCorner,WW.width(_),Kre[v],S),w,T),...D,children:[de,W?(0,Z.jsx)(`div`,{id:q,inert:ie?!0:void 0,...{0:{className:`xrvj5dj x1tu4anv x1qn9uv2 x80gvsz xlr8y92`},1:{className:`xrvj5dj x1qn9uv2 x80gvsz xlr8y92 xihq33y`}}[!!ie|0],children:(0,Z.jsx)(`div`,{className:`xb3r6kr x2lwn1j`,children:fe})}):fe,J&&!te?(0,Z.jsxs)(`div`,{...{0:{className:`x78zum5 x6s0dn4 xzye2dw x1y8v6su x16j26i2 xlgwz2i`},1:{className:`x78zum5 x6s0dn4 xzye2dw x1y8v6su x16j26i2 x166xdbf`}}[g===`sm`|0],children:[le?d:null,ue]}):null]});return x?(0,Z.jsx)(Nc,{theme:x,children:pe}):pe}XW.displayName=`CodeBlock`,D(),vr();var eie={base:{kMv6JI:`x9m5x89`,kGuDYH:`xp03k98`,kLWn49:`x15bjb6t`,kWkggS:`xwmxj5m`,kg3NbH:`x7a5moj`,k8WAf4:`x1hp7d8q`,kaIpWk:`xx3sua9`,kHjlTd:`x1mzt3pk`,kTgw9:`x13faqbe`,$$css:!0}},tie={primary:{kMwMTN:`x1tgivj0`,$$css:!0},secondary:{kMwMTN:`xv1l7n4`,$$css:!0},inherit:{kMwMTN:`x1heor9g`,$$css:!0}},nie={inherit:{kGuDYH:`x1qlqyl8`,kLWn49:`x15bjb6t`,$$css:!0}};function ZW({children:e,color:t=`primary`,size:n,xstyle:r,className:i,style:a,ref:o,...s}){return(0,Z.jsx)(`code`,{ref:o,dir:`ltr`,...s,...Q(Y(`code`,{color:t,size:n}),C(eie.base,tie[t],n&&nie[n],r),i,a),children:e})}ZW.displayName=`Code`;function rie({marker:e,task:t,hasMarkerGutter:n=!1,isOutsideNumberColumns:r=!1,children:i}){let a=(0,$W.use)(tG),o=(0,$W.useMemo)(()=>a==null?null:{...a,marker:e,task:t,hasMarkerGutter:n,isOutsideNumberColumns:r},[a,e,t,n,r]);return o==null?i:(0,eG.jsx)(tG,{value:o,children:i})}function iie({edge:e,children:t}){let n=(0,$W.use)(tG),r=(0,$W.useMemo)(()=>n==null?null:{...n,edge:e},[n,e]);return r==null?t:(0,eG.jsx)(tG,{value:r,children:t})}function QW(){return{isStatic:!0}}var $W,eG,tG,nG,rG=o((()=>{$W=u(f(),1),Xf(),eG=mc(),tG=Uf(`ListContext`,1,null),tG.displayName=`ListContext`,nG=Uf(`ListStaticContext`,1,null),nG.displayName=`ListStaticContext`}));function aie(e){return e==null?{}:{[aG]:String(e)}}function iG(e){return e.getAttribute(aG)}var aG,oG=o((()=>{aG=`data-astryx-item-key`}));function oie(e){e.setAttribute(cG,``)}function sG(e){return e.hasAttribute(cG)}var cG,sie=o((()=>{cG=`data-astryx-leaving`}));function cie(e){let t={};return uG.set(e,t),e.setAttribute(lG,``),()=>{uG.get(e)===t&&(uG.delete(e),e.removeAttribute(lG))}}var lG,uG,dG,fG=o((()=>{lG=`data-astryx-travelling`,uG=new WeakMap,dG={row:{kY2c9j:`xvl8nft`,kGVxlE:`xvoib3p`,\"--_travelling-surface\":`x154w40m xayfdo3`,$$css:!0},raisedSwipeRow:{kY2c9j:`xvl8nft x1xytu5a x1fq76kf`,$$css:!0}}}));function lie(e){let t=e.parentElement;return t!=null&&(_G.get(t)?.has(e)??!1)}function pG(e,t,n){let r=0,i=e.length;for(;r>1;e[n].getBoundingClientRect().bottom>t?i=n:r=n+1}let a=r;for(i=e.length;r>1;e[t].getBoundingClientRect().tope.getAttribute(`style`));for(let t of e.getAnimations({subtree:!0}))try{t.commitStyles()}catch{}let r=[];t.forEach((e,t)=>{e.style.length>0&&r.push([e,e.style.cssText]);let i=n[t];e.getAttribute(`style`)!==i&&(i==null?e.removeAttribute(`style`):e.style.cssText=i)}),yG.set(e,r)}function hG(e){let t=[];for(let n of e.children)n instanceof HTMLElement&&(sG(n)||iG(n)!=null)&&t.push(n);return t}function die(e){oie(e),e.setAttribute(`aria-hidden`,`true`)}function fie(e){if(typeof e.getAnimations==`function`)for(let t of e.getAnimations({subtree:!0}))t.cancel();for(let[t,n]of yG.get(e)??[])t.style.cssText=n;yG.delete(e)}function pie(e,t,n){let r=n;for(let n=t.length-1;n>=0;n--){let i=t[n];(r==null?e.lastElementChild:r.previousElementSibling)!==i&&e.insertBefore(i,r),r=i}}function mie(e){let t=e.ownerDocument.defaultView;if(t==null||typeof t.DOMMatrix!=`function`)return null;let n=t.getComputedStyle(e).transform;if(n===``||n===`none`)return null;let r=new t.DOMMatrix(n);if(!r.is2D||r.a!==1||r.b!==0||r.c!==0||r.d!==1||r.e===0&&r.f===0)return null;let i=[...e.children].filter(e=>e instanceof t.HTMLElement||e instanceof t.SVGElement);return{view:t,row:e,x:r.e,y:r.f,children:i,transforms:i.map(e=>t.getComputedStyle(e).transform)}}function hie({view:e,row:t,x:n,y:r,children:i,transforms:a}){t.style.setProperty(`transform`,`none`),i.forEach((t,i)=>{let o=a[i],s=new e.DOMMatrix().translate(n,r),c=o===``||o===`none`?s:s.multiply(new e.DOMMatrix(o));t.style.setProperty(`transform`,c.toString())})}function gie(e,t){let{near:n,order:r,tops:i}=e;if(n==null)return;let a=[];for(let e=n[0];e<=n[1];e++){let n=r[e],o=i.get(n),s=t.get(n);o!=null&&s!=null&&a.push({element:s,from:o,to:s.getBoundingClientRect().top})}let o=a.map(()=>!1),s=-1/0;for(let e=0;ea[e].to,s=Math.max(s,a[e].to);let c=1/0;for(let e=a.length-1;e>=0;e--)o[e]||=co[t]),u=new Set;for(let e=0;er.to){let e=Math.abs(n.to-n.from)>Math.abs(r.to-r.from)?n:r;Math.abs(e.to-e.from)>=vG&&u.add(e.element)}}let d=[...u];d.length!==0&&queueMicrotask(()=>{for(let e of d){let t=typeof e.getAnimations==`function`?e.getAnimations().at(-1):void 0;if(t!=null){let n=cie(e);t.finished.then(n,n)}}})}function _ie(e,t){let n=(0,gG.useRef)(null),r=(0,gG.useCallback)(()=>{n.current=null;let r=e.current;if(r==null||t==null)return;let i=mG(r);if(i.size===0){let e=r.lastElementChild,a=e instanceof HTMLElement?e:r,o=yB(t,()=>a);o.measureBefore(),n.current={rows:i,order:[],tops:new Map,near:null,reported:new Set([a]),changes:[o],translations:[],sequence:hG(r)},_G.set(r,n.current.reported);return}let a=[...i.keys()],o=[...i.values()],s=r.ownerDocument.defaultView?.innerHeight??0,c=pG(o,-s,2*s),l=[],u=new Map;if(c!=null)for(let e=c[0];e<=c[1];e++){let t=mie(o[e]),{top:n}=o[e].getBoundingClientRect();u.set(a[e],n-(t?.y??0)),t!=null&&l.push(t)}let d=pG(o,0,s),f=[];if(d!=null)for(let e=d[0];e<=d[1];e++)f.push(o[e]);(d==null||d[1]!==o.length-1)&&f.push(o[o.length-1]);let p=f.map(e=>{let n=yB(t,()=>e);return n.measureBefore(),n});n.current={rows:i,order:a,tops:u,near:c,reported:new Set(f),changes:p,translations:l,sequence:hG(r)},_G.set(r,n.current.reported)},[t,e]);return b(()=>{let r=n.current;n.current=null;let i=e.current;if(i!=null&&_G.delete(i),r==null||i==null||t==null)return;let a=mG(i),o=[...a.keys()];if(o.length===r.order.length&&o.every((e,t)=>e===r.order[t]))return;let s=[...a.values()],c=new Set(s),l=new Map,u=[],d=0;for(let e of r.sequence){if(c.has(e)){d+=1;continue}if(!sG(e)){if(!r.reported.has(e))continue;die(e),u.push(e)}let t=s[d]??null;l.set(t,[...l.get(t)??[],e])}for(let[e,t]of l)pie(i,t,e);for(let e of u)fie(e);for(let e of r.changes)e.animate();let f=[];for(let e of r.translations)u.includes(e.row)&&(hie(e),f.push(e.row));f.length>0&&queueMicrotask(()=>{for(let e of f)aV(e)});for(let e of u)qB(t,e,()=>e.remove())||e.remove();let p=pG(s,0,i.ownerDocument.defaultView?.innerHeight??0);if(p!=null)for(let e=p[0];e<=p[1];e++){let n=s[e],i=iG(n);i!=null&&!r.rows.has(i)&&RB(t,n)}gie(r,a)}),r}var gG,_G,vG,yG,bG=o((()=>{gG=u(f(),1),x(),LV(),oG(),sie(),fG(),Xn(),_G=Jn(`list/list-layout-updates/reported-rows`,1),vG=.5,yG=Jn(`list/list-layout-updates/kept-styles`,1)}));function vie(e,t,n){let r=e,i=r?.[SG],a=nu(t);return{session:(0,xG.useMemo)(()=>i?.createSession(()=>a.current(),n)??null,[i,n,a]),options:r?.options??null}}function yie(e){b(()=>{e?.commit()})}var xG,SG,bie=o((()=>{xG=u(f(),1),au(),x(),Xn(),SG=Wn(`list/reorder-engine`,1)}));function CG({children:e,animatedLayout:t,reorderable:n,density:r=`balanced`,hasDividers:i=!1,edge:a,edgeCompensation:o,header:s,listStyle:c=`none`,start:l,xstyle:u,className:d,style:f,\"data-testid\":p,ref:m,...h}){let g=(0,wG.useId)(),_=(0,wG.useRef)(null),{session:v,options:y}=vie(n,()=>_.current,`${g}h`),b=_ie(_,t),x=(0,wG.useCallback)(()=>{v?.ownsCommit()!==!0&&b()},[b,v]);yie(v);let S=gx(_,m),w=c===`decimal`,T=w?`ol`:`ul`;OC(`List`,\"`edge` and the deprecated `edgeCompensation` are both set; `edge` wins. Remove `edgeCompensation`. `astryx upgrade` rewrites existing usage.\",a!=null&&o!=null);let E=a??(o===`inline`?`outset`:`padded`),D=E===`outset`||E===`bleed`,O=(0,wG.use)(nG),k=(0,wG.use)(tG),A=O!=null&&k?.staticMark!==O,j=(0,wG.useMemo)(()=>({density:r,hasDividers:i,edge:E,listStyle:c,animatedLayout:t,reorder:v&&{session:v,options:y},staticMark:O}),[r,i,E,c,t,v,y,O]),M=(0,TG.jsx)(T,{ref:S,...h,\"data-testid\":p,...s==null?null:{\"aria-labelledby\":g},...w&&l!=null&&l!==1?{start:l}:{},role:`list`,...E===`bleed`&&s==null?{\"data-container-corner\":``}:null,...Q(Y(`list`,{density:r,listStyle:c}),C(EG.list,A&&EG.noInlineClip,t!=null&&EG.animatedIsolation,w&&EG.numberColumns,i&&EG.withDividers,D&&EG.reachesContainerPadding,E===`bleed`&&s==null&&EG.bleedCorners,c!==`none`&&(l!=null&&l!==1?OG.counterStart(l-1):EG.withCounter),v?.listStyle,u),d,f),children:e}),N=t==null?null:(0,TG.jsx)(TH,{value:e,onBeforeChange:x}),{reorder:P}=j,F=P&&(0,TG.jsx)(P.session.Host,{reorder:P});return s==null?(0,TG.jsxs)(tG,{value:j,children:[N,M,F]}):(0,TG.jsxs)(tG,{value:j,children:[N,(0,TG.jsxs)(`div`,{...E===`bleed`?{\"data-container-corner\":``}:null,...{0:{className:`x78zum5 xdt5ytf`},1:{className:`x78zum5 xdt5ytf x916qr2 x1vx9r65 x1dt9b3t xjk82ok x1q2yvai xc60oqu`}}[E===`bleed`|0],children:[(0,TG.jsx)(`div`,{id:g,className:`x1p37lm5`,children:s}),M,F]})]})}var wG,TG,EG,DG,OG,kG=o((()=>{wG=u(f(),1),D(),rG(),bC(),vx(),bG(),EH(),vr(),MC(),bie(),TG=mc(),EG={list:{kogj98:`x1ghz6dp`,kZCmMZ:`x1c1uobl`,kH6xsr:`x3ct3a4`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`x1lsbc85`,kXHlph:`x101abm8`,kHBbk8:`xsmms64`,$$css:!0},noInlineClip:{kXHlph:`x1plvlek`,$$css:!0},animatedIsolation:{kHBbk8:`xc8icb0`,$$css:!0},numberColumns:{k1xSpc:`x78zum5 x1tx5i3l`,kumcoG:`x16lqc3j`,k1C7PZ:`xak3so`,$$css:!0},reachesContainerPadding:{keTefX:`xojxgvx`,k71WvV:`x1fcf3bl`,kzqmXN:`xx6qvi6`,$$css:!0},bleedCorners:{\"--_list-corner-start-start\":`x916qr2 xb8h2sp`,\"--_list-corner-start-end\":`x1vx9r65 x1d65wlh`,\"--_list-corner-end-start\":`x1dt9b3t xjk82ok`,\"--_list-corner-end-end\":`x1q2yvai xc60oqu`,$$css:!0},withDividers:{khm7nJ:`xxs79tx`,$$css:!0},withCounter:{kt6KFK:`xif0320`,$$css:!0}},DG={kt6KFK:`x1khind5`,$$css:!0},OG={counterStart:e=>[DG,{\"--x-counterReset\":`astryx-list ${e}`==null?void 0:`astryx-list ${e}`}]},CG.displayName=`List`}));Xf();var AG=Uf(`CheckboxListContext`,1,null);AG.displayName=`CheckboxListContext`,t_();var xie={childList:!0,subtree:!0};function Sie(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}function Cie(){let e=new Map;function t(){let t=[...e.keys()].sort(Sie),n=[...e.values()].some(e=>e.isChecked)?void 0:t.find(t=>e.get(t)?.isEnabled===!0);for(let e of t)e.required=e===n}return{register(n,r){return e.set(n,r),t(),()=>{e.delete(n),n.required=!1,t()}},observe(e){return Xg(e,xie,t)}}}vx(),kG(),Xx(),D(),bC(),vr();var jG=[];function MG({label:e,isLabelHidden:t=!1,description:n,isOptional:r=!1,isRequired:i=!1,status:a,value:o,onChange:s,changeAction:c,density:l=`balanced`,hasDividers:u=!1,isDisabled:d=!1,disabledMessage:f,isReadOnly:p=!1,children:m,ref:h,width:g,containerXstyle:_,containerClassName:v,containerStyle:y,controlXstyle:b,controlClassName:x,controlStyle:S,\"aria-labelledby\":w,\"aria-describedby\":T,...E}){let{rest:D,container:O}=sP(`CheckboxList`,E,{containerXstyle:_,containerClassName:v,containerStyle:y}),k=(0,X.useId)(),A=(0,X.useId)(),j=(0,X.useId)(),M=(0,X.useId)(),N=(0,X.useMemo)(()=>i?Cie():void 0,[i]),P=(0,X.useCallback)(e=>e!=null&&N!=null?N.observe(e):void 0,[N]),[,F]=(0,X.useTransition)(),I=o!==void 0,[L,R]=(0,X.useOptimistic)(o??jG),[z,B]=(0,X.useOptimistic)(jG,(e,t)=>e.includes(t)?e:[...e,t]),V=d&&!!f,H=Gx({placement:`above`,focusTrigger:`always`,isEnabled:V}),ee=(0,X.useCallback)((e,t)=>{s?.(e),c&&F(async()=>{R(e),t!==void 0&&B(t),await c(e)})},[s,c,F,R,B]),U=(0,X.useMemo)(()=>({value:I?L:void 0,onChange:I?ee:void 0,isDisabled:d,hasDisabledMessage:V,disabledMessageID:V?H.describedBy:void 0,isReadOnly:p,isInvalid:a?.type===`error`,loadingValues:z,requiredGroup:N}),[I,L,ee,d,V,H.describedBy,p,a?.type,z,N]);return(0,Z.jsxs)(LN,{label:e,isLabelHidden:t,description:n,inputID:k,labelID:A,isGroupLabel:!0,isOptional:r,isRequired:i,descriptionID:n?j:void 0,isDisabled:d,status:a?{type:a.type,message:a.message,messageID:a.message?M:void 0}:void 0,statusVariant:`detached`,width:g,xstyle:O.xstyle,...Q(Y(`checkbox-list`),{className:O.className,style:O.style}),children:[(0,Z.jsx)(AG,{value:U,children:(0,Z.jsx)(`div`,{...D,ref:gx(h,H.ref,P),...Q(C(b),x,S),role:`group`,\"aria-disabled\":d||D[`aria-disabled`],\"aria-labelledby\":QN(A,w),\"aria-describedby\":[T,n?j:null,a?.message?M:null,V?H.describedBy:null].filter(Boolean).join(` `)||void 0,children:(0,Z.jsx)(CG,{density:l,hasDividers:u,children:m})})}),V&&H.renderTooltip(f)]})}MG.displayName=`CheckboxList`;function wie(e,t=!1){let n=(0,NG.useCallback)(t=>{let n=e.current?.firstElementChild;n instanceof HTMLElement&&Object.assign(n.style,t?nS:rS)},[e]),r=(0,NG.useCallback)(e=>{if(t)return;let r=e.target;r instanceof HTMLElement&&!r.matches(`:focus-visible`)||n(!0)},[t,n]),i=(0,NG.useCallback)(()=>n(!1),[n]);return(0,NG.useMemo)(()=>({focusProps:{onFocus:r,onBlur:i}}),[r,i])}var NG,Tie=o((()=>{NG=u(f(),1),oS()}));function PG({state:e,size:t=`md`,isDisabled:n=!1,children:r,ref:i,className:a,style:o,xstyle:s,...c}){let l=e===`checked`,u=e===`indeterminate`,d=l||u;return(0,FG.jsx)(`span`,{...c,ref:i,\"aria-hidden\":`true`,...Q(Y(`checkbox-indicator`,{size:t,checked:l?`checked`:u?`indeterminate`:null,disabled:n?`disabled`:null}),C(IG.box,LG[t],d?IG.checked:IG.unchecked,n&&IG.disabled,n&&!d&&IG.disabledUnchecked,s),a,o),children:bO(r)?r:(0,FG.jsxs)(FG.Fragment,{children:[(0,FG.jsx)(`svg`,{viewBox:`0 0 10 10`,...Q(Y(`checkbox-indicator-check`,{size:t}),C(IG.checkmark,RG[t],l&&IG.checkmarkVisible)),children:(0,FG.jsx)(`path`,{d:`M8.5 2.5L4 7.5L1.5 5`,stroke:`currentColor`,strokeWidth:`1.5`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`})}),(0,FG.jsx)(`span`,{...Q(Y(`checkbox-indicator-dash`,{size:t}),C(IG.indeterminateMark,zG[t],u&&IG.indeterminateMarkVisible))})]})})}var FG,IG,LG,RG,zG,Eie=o((()=>{D(),xO(),bC(),vr(),FG=mc(),IG={box:{kB7OPa:`x9f619`,k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,kMzoRj:`x1litavf`,ksu8eU:`x1y0btm7`,kaIpWk:`xx3sua9`,k1ekBW:`xts7igz`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,$$css:!0},unchecked:{kMwMTN:`xqwr325`,kVAM5u:`xvy26l8 xilc7fp`,kWkggS:`x10xzikg xeultfy`,$$css:!0},checked:{kMwMTN:`x17wrial`,kVAM5u:`xad5do x1ozl1p1`,kWkggS:`x1ewilqj x17srpfb`,$$css:!0},disabled:{kSiTet:`xbyyjgo`,kVAM5u:`x14i3s5s x61roa7`,$$css:!0},disabledUnchecked:{kWkggS:`xwmxj5m xqxnq6d`,$$css:!0},checkmark:{k1xSpc:`x1s85apg`,kMwMTN:`x17wrial xs5hli`,$$css:!0},checkmarkVisible:{k1xSpc:`x1lliihq`,$$css:!0},indeterminateMark:{k1xSpc:`x1s85apg`,kWkggS:`x1azo05 xwvh9j7`,kaIpWk:`xjspbzw`,$$css:!0},indeterminateMarkVisible:{k1xSpc:`x1lliihq`,$$css:!0}},LG={sm:{kzqmXN:`xw4jnvo`,kZKoxP:`x1qx5ct2`,$$css:!0},md:{kzqmXN:`xvy4d1p`,kZKoxP:`xxk0z11`,$$css:!0}},RG={sm:{kzqmXN:`xcseyog`,kZKoxP:`xk0hz3e`,$$css:!0},md:{kzqmXN:`x81l6rl`,kZKoxP:`xf5mu3m`,$$css:!0}},zG={sm:{kzqmXN:`xntxx1p`,kZKoxP:`x36qwtl`,$$css:!0},md:{kzqmXN:`xntxx1p`,kZKoxP:`x36qwtl`,$$css:!0}},PG.displayName=`CheckboxIndicator`}));function BG({state:e,size:t=`md`,isDisabled:n=!1,children:r,ref:i,className:a,style:o,xstyle:s,...c}){let l=e===`checked`;return bO(r)?(0,VG.jsx)(`span`,{...c,ref:i,\"aria-hidden\":`true`,...Q(C(UG.slot,n?UG.disabled:UG.enabled,s),a,o),children:r}):l?(0,VG.jsx)(XT,{...c,\"aria-hidden\":`true`,icon:`check`,size:HG[t],color:n?`disabled`:`accent`,xstyle:s,className:a,style:o}):null}var VG,HG,UG,Die=o((()=>{D(),sE(),xO(),bC(),VG=mc(),HG={sm:`sm`,md:`sm`},UG={slot:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,kzqmXN:`xcdlrvm`,kZKoxP:`x1l36t39`,$$css:!0},enabled:{kMwMTN:`xqwr325`,$$css:!0},disabled:{kMwMTN:`xqa6c3m`,$$css:!0}},BG.displayName=`CheckIndicator`}));function WG({state:e,size:t=`md`,isDisabled:n=!1,children:r,ref:i,className:a,style:o,xstyle:s,...c}){let l=e!==`unchecked`;return(0,GG.jsx)(`span`,{...c,ref:i,\"aria-hidden\":`true`,...Q(Y(`radio-indicator`,{size:t,checked:l?`checked`:null,disabled:n?`disabled`:null}),C(KG.circle,qG[t],l?KG.checked:KG.unchecked,n&&KG.disabled,n&&!l&&KG.disabledUnchecked,s),a,o),children:bO(r)?r:l&&(0,GG.jsx)(`span`,{...Q(Y(`radio-indicator-dot`,{size:t}),C(KG.dot,JG[t]))})})}var GG,KG,qG,JG,Oie=o((()=>{D(),xO(),bC(),vr(),GG=mc(),KG={circle:{kB7OPa:`x9f619`,k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,kMzoRj:`x1litavf`,ksu8eU:`x1y0btm7`,kaIpWk:`x16rqkct`,k1ekBW:`xts7igz`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,$$css:!0},unchecked:{kVAM5u:`xvy26l8 xilc7fp`,kWkggS:`x10xzikg xeultfy`,$$css:!0},checked:{kVAM5u:`xad5do x1ozl1p1`,kWkggS:`x1ewilqj x17srpfb`,$$css:!0},disabled:{kSiTet:`xbyyjgo`,kVAM5u:`x14i3s5s x61roa7`,$$css:!0},disabledUnchecked:{kWkggS:`xwmxj5m xqxnq6d`,$$css:!0},dot:{kaIpWk:`x16rqkct`,kWkggS:`x1azo05 xwvh9j7`,$$css:!0}},qG={sm:{kzqmXN:`xw4jnvo`,kZKoxP:`x1qx5ct2`,$$css:!0},md:{kzqmXN:`xvy4d1p`,kZKoxP:`xxk0z11`,$$css:!0}},JG={sm:{kzqmXN:`xdczmg8 xc1fy2`,kZKoxP:`x1cgj10n x1drbojm`,$$css:!0},md:{kzqmXN:`x1p84mop x11cc87d`,kZKoxP:`x1hjxuft xgunu6i`,$$css:!0}},WG.displayName=`RadioIndicator`}));function kie(e,t){return uT(t)?.[e]??YG[e]}var YG,Aie=o((()=>{Eie(),Die(),Oie(),dT(),YG={check:BG,checkbox:PG,radio:WG}}));function jie(e){return kie(e,Hs())}var Mie=o((()=>{rc(),Aie()}));function Nie(){for(let e of[...XG.watchers])e()}function Pie(e){return XG.watchers.add(e),()=>{XG.watchers.delete(e)}}var XG,ZG=o((()=>{Xn(),XG=Kn(`utils/press-claim/state`,1,()=>({watchers:new Set}))}));function Fie(e,t){let n=Iv(t,e);if(n==null)return null;let r=Dd([e,n],t),i=performance.now(),a=n.ownerDocument.defaultView,o=!1,s=Pie(()=>{o=!0}),c=[],l=a==null?()=>{}:bu(a,`contextmenu`,e=>{c.push(e)}),u=()=>c.some(e=>e.defaultPrevented);return e=>{r(),s(),o?(e&&Vu(n.ownerDocument,{cancelsTouchEnd:!0}),l()):!e||performance.now()-i<500||u()?l():Iie(n,u,l)}}function Iie(e,t,n){QG.get(e)?.();let r=e.ownerDocument.defaultView;if(r==null){n();return}let i=null,a=bu(r,`touchend`,e=>{i??=e}),o=[a,bu(r,`pointerdown`,()=>{a(),n()}),n],s=null,c=()=>{for(let e of o)e();s?.(),s=null,QG.get(e)===c&&QG.delete(e)};QG.set(e,c),s=Gh(e,{onClicked:()=>{s=null,c()},onNoClick:()=>{if(s=null,c(),i?.defaultPrevented===!0||t())return;let n=e.querySelector(`input`);n!=null&&n.isConnected&&qh(n)}})}function Lie(){for(let e of[...QG.values()])e()}function Rie(){ey({start:Fie,endWaits:Lie})}var QG,zie=o((()=>{P_(),Vv(),Jh(),Xu(),Pu(),ZG(),Yy(),Zd(),QG=new Map})),$G,Bie=o((()=>{$G={\"@astryx.spinner.loading\":`Loading`}})),eK,tK=o((()=>{Xf(),eK=Uf(`CheckboxRowPressContext`,1,!1),eK.displayName=`CheckboxRowPressContext`}));function nK({id:e,label:t,isLabelHidden:n=!1,description:r,onChange:i,changeAction:a,isLoading:o=!1,value:s,isDisabled:c=!1,htmlName:l,disabledMessage:u,isReadOnly:d=!1,isOptional:f=!1,isRequired:p=!1,size:m=`md`,onFocus:h,onBlur:g,labelIcon:_,status:v,width:y,xstyle:b,className:x,style:S,ref:w,\"aria-describedby\":T,...E}){let D=gO(),O=(0,rK.use)(eK),k=!c&&!O,A=(0,rK.useId)(),j=e||A,M=(0,rK.useId)(),N=(0,rK.useId)(),[,P]=(0,rK.useTransition)(),[F,I]=(0,rK.useOptimistic)(s),L=o||F!==s,R=c&&!!u,z=(0,rK.useId)(),B=tx(),V=jie(`checkbox`),H=(0,rK.useRef)(null);lP(L,nT()(`@astryx.spinner.loading`),H);let{focusProps:ee}=wie(H),U=!n&&!c&&!d,te=(0,rK.useRef)(null),W=KD(U),G=(0,rK.useRef)(null),ne=gx(G,W),re=(0,rK.useRef)(null),ie=e=>{re.current=e.target===e.currentTarget?{x:e.clientX,y:e.clientY}:null},K=e=>{let t=re.current;if(re.current=null,t==null||e.detail===0||e.target!==e.currentTarget)return;let n=e.currentTarget.getBoundingClientRect();(t.xn.right||t.yn.bottom)&&te.current?.click()},q=F===`indeterminate`,ae=F===!0,oe=(0,rK.useCallback)(e=>{e&&(e.indeterminate=q)},[q]),se=[];T&&se.push(T),r&&se.push(M),v?.message&&se.push(N),R&&se.push(z);let ce=se.length>0?se.join(` `):void 0;return(0,iK.jsxs)(`div`,{...Q(Y(`checkbox-input`,{size:m}),C(y!=null&&sK.width(y),b),x,S),children:[(0,iK.jsxs)(`div`,{ref:ne,onPointerDown:U?ie:void 0,onClick:U?K:void 0,...k?D:void 0,...C(aK.container,n&&aK.containerLabelHidden,U&&aK.hitAreaHost,U&&$D.layer,!c&&lO,!c&&(O?aK.indicatorRowPressImage:mO.handDown),k&&sO.pressedAlpha),children:[(0,iK.jsxs)(`div`,{...c?void 0:Bv,...C(aK.checkboxWrapper,!c&&aK.indicatorPressOverlay,!c&&(O?aK.indicatorRowPressOverlay:[mO.activeFill,mO.image])),...ee,children:[(0,iK.jsx)(`input`,{...XN(E,c),ref:gx(w,oe,te),id:j,type:`checkbox`,name:c?void 0:l,checked:ae,\"aria-disabled\":c?`true`:void 0,form:c?``:void 0,onClick:c?void 0:E.onClick,readOnly:d,required:p,\"aria-required\":p?`true`:void 0,onChange:e=>{if(c||L||d){e.target.indeterminate=q;return}let t=e.target.checked;i?.(t,e),a&&!e.defaultPrevented&&P(async()=>{I(t),await a(t,e)})},onFocus:h,onBlur:g,\"aria-readonly\":d||void 0,\"aria-describedby\":ce,\"aria-invalid\":v?.type===`error`||!p&&void 0,\"aria-busy\":L||void 0,...C(aK.input,$L.centerInline(`-50%`),aK.inputCoarse,oK[m],c&&aK.inputDisabled)}),(0,iK.jsx)(`span`,{ref:H,className:`xjp7ctv`,children:(0,iK.jsx)(V,{state:q?`indeterminate`:ae?`checked`:`unchecked`,size:m,isDisabled:c,children:L?(0,iK.jsx)(mT,{size:`sm`,shade:`inherit`}):null})})]}),(0,iK.jsx)(`div`,{className:`x78zum5 xdt5ytf`,children:(0,iK.jsx)(vN,{...Y(`checkbox-label`),label:t,inputID:j,isLabelHidden:n,isDisabled:c,isOptional:f,isRequired:p,labelIcon:_,description:r,descriptionID:M})})]}),v?.message&&(0,iK.jsx)(kN,{type:v.type,message:v.message,id:N,variant:`detached`}),c&&u?(0,iK.jsxs)(iK.Fragment,{children:[B?(0,iK.jsx)(cE,{id:z,children:u}):null,(0,iK.jsx)(Vie,{message:u,messageID:B?void 0:z,rowRef:G,inputRef:te})]}):null]})}function Vie({message:e,messageID:t,rowRef:n,inputRef:r}){let i=Gx({placement:`above`,focusTrigger:`always`}),{interactionRef:a,positionRef:o}=i;return b(()=>(a(n.current),o(r.current),()=>{a(null),o(null)}),[a,o,n,r]),i.renderTooltip((0,iK.jsx)(`span`,{id:t,children:e}))}var rK,iK,aK,oK,sK,cK=o((()=>{rK=u(f(),1),D(),SN(),PN(),TT(),uE(),Xx(),ox(),bC(),eR(),ZN(),uO(),cO(),Tie(),dP(),vO(),Mie(),vr(),vx(),x(),XD(),Vv(),hO(),zie(),eO(),iT(),Bie(),tK(),iK=mc(),Ww($G),Rie(),aK={container:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kOIVth:`x1s448w1`,$$css:!0},containerLabelHidden:{kOIVth:`xxhr3t`,$$css:!0},hitAreaHost:{kVAEAm:`xrxqdxo`,$$css:!0},indicatorRowPressImage:{\"--_indicator-press-image\":`x1y1g3jp`,\"--_indicator-active-press\":`x1bl9l2n`,$$css:!0},checkboxWrapper:{kVAEAm:`x1n2onr6`,k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,kHBbk8:`xc8icb0`,$$css:!0},indicatorPressOverlay:{k5JduY:`x1s928wv xf7ekc6`,kwXMNM:`x1j6awrg`,kv0HGH:`xarstr8`,kUfP38:`xtb6wbx`,kloYau:`x2q1x1w`,$$css:!0},indicatorRowPressOverlay:{ks3ayO:`xyhc2n1`,kNctxI:`xlvbopx`,$$css:!0},input:{kVAEAm:`x10l6tqk`,k87sOh:`xwa60dl`,kogj98:`x1ghz6dp`,kmVPX3:`x1717udv`,kSiTet:`xg01cxk`,kkrTdU:`x1ypdohk x16khyan`,kY2c9j:`x1vjfegm`,$$css:!0},inputCoarse:{kjFi6P:`xkagaj0`,kHzOjL:`x80b3aj`,$$css:!0},inputDisabled:{kkrTdU:`xt0e3qv`,$$css:!0}},oK={sm:{kzqmXN:`xw4jnvo`,kZKoxP:`x1qx5ct2`,$$css:!0},md:{kzqmXN:`xvy4d1p`,kZKoxP:`xxk0z11`,$$css:!0}},sK={width:e=>[{kzqmXN:e==null?e:`x5lhr3w`,$$css:!0},{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]},nK.displayName=`CheckboxInput`}));function Hie(e){let t=(0,lK.useRef)(null);return(0,lK.useCallback)(n=>{if(n===null)return;let r=t.current;t.current=null;let i=document.activeElement===null||document.activeElement===document.body;r!==null&&r!==n&&!r.isConnected&&i&&n.focus();let a=mx(e)(n);return()=>{t.current=document.activeElement===n?n:null,a?.()}},[e])}var lK,Uie=o((()=>{lK=u(f(),1),hx()})),uK,dK=o((()=>{ys(),uK=_s(`ItemDescriptionContext`,1,null),uK.displayName=`ItemDescriptionContext`})),fK,pK,mK=o((()=>{ys(),fK=_s(`ItemLabelContext`,1,null),fK.displayName=`ItemLabelContext`,pK=_s(`ItemLabelNeededContext`,1,!1),pK.displayName=`ItemLabelNeededContext`})),hK,gK=o((()=>{ys(),hK=_s(`ItemListRowContext`,1,!1),hK.displayName=`ItemListRowContext`})),_K,vK=o((()=>{ys(),_K=_s(`ItemMarkerColumnsContext`,1,null),_K.displayName=`ItemMarkerColumnsContext`})),yK,bK=o((()=>{ys(),yK=_s(`ItemTrailingContext`,1,null),yK.displayName=`ItemTrailingContext`}));function Wie(e,t){if(e!==`_blank`)return{target:e,rel:t};let n=t?.split(/\\s+/).filter(Boolean)??[];for(let e of xK)n.includes(e)||n.push(e);return{target:e,rel:n.join(` `)}}var xK,Gie=o((()=>{xK=[`noopener`,`noreferrer`]})),SK,CK,wK,TK,Kie=o((()=>{SK={\"data-astryx-focus-owner\":``},CK={\"data-astryx-focus-owner\":`group`},wK={focusWithinOwner:{kMeerF:`x1k57tk5 xt6iir6`,k3XXqK:`x1t137rt xjop9y1`,kjBf7l:`x1sgrtkh`,kInvED:`x1wfwxd8 xxrcyt7`,$$css:!0},focusWithinOwnerOverlay:{k5JduY:`x1s928wv`,kwXMNM:`x1j6awrg`,kv0HGH:`xarstr8`,kloYau:`x2q1x1w`,kUfP38:`x1k48kgn`,kTgd1G:`xvyjxle`,kyCetj:`x1mrr29r x1bt9f48`,k8cdcH:`x1b33kpq`,kbVtqk:`x1ehzeq`,$$css:!0}},TK=wK.focusWithinOwner,wK.focusWithinOwnerOverlay}));function qie(e){return Object.freeze(Object.defineProperty({},DK,{value:e}))}function EK(e){return e[DK]??null}function Jie(e,t){let n=EK(e);return n==null||t==null?e:qie({...n,attach:(e,r)=>n.attach({...e,itemKey:t},r)})}var DK,OK=o((()=>{DK=Symbol.for(`@astryxdesign/core/swipe/host`)})),kK,Yie=o((()=>{kK={root:{kFalU9:`xge0x1e`,k3aq6I:`x1kncwj0`,$$css:!0}}})),AK,jK=o((()=>{od(),AK={viewportSize(){return typeof window>`u`?{width:0,height:0}:{width:window.innerWidth,height:window.innerHeight}},isRtl(e){return typeof window>`u`||!Qu(e)?!1:(e.ownerDocument.defaultView??window).getComputedStyle(e).direction===`rtl`},viewRect(e){if(!Qu(e))return null;let{left:t,top:n,width:r,height:i}=e.getBoundingClientRect();return{left:t,top:n,width:r,height:i}}}}));function Xie(e,t){return FK[e].includes(t)}function MK(e){return e===`ended`||e===`cancelled`||e===`failed`}function NK(e){return e===`began`||e===`changed`}var PK,FK,IK,LK,RK,zK,BK=o((()=>{jK(),PK=new Set([`began`,`changed`,`ended`,`cancelled`]),FK={possible:[`began`,`ended`,`failed`],began:[`changed`,`ended`,`cancelled`],changed:[`changed`,`ended`,`cancelled`],ended:[`possible`],cancelled:[`possible`],failed:[`possible`]},IK={panX:!0,panY:!0,pinchZoom:!0,doubleTapZoom:!0},LK={panX:!0,panY:!0,pinchZoom:!0,doubleTapZoom:!1},RK=1,zK=class{id=RK++;view=null;arena=null;pending=null;stateValue=`possible`;listeners=new Set;transitionListeners=new Set;failureRequirements=new Set;simultaneousWith=new Set;touches=new Map;seenTouchIds=new Set;lastLocation={x:0,y:0};constructor(e={}){this.options=e,this.name=e.name??this.constructor.name,this.isEnabled=e.isEnabled??!0,this.cancelsTouchesInView=e.cancelsTouchesInView??!0,this.selectionLock=e.selectionLock??null,this.delaysTouchesBegan=e.delaysTouchesBegan??!1,this.delaysTouchesEnded=e.delaysTouchesEnded??!0,this.allowedPointerTypes=e.allowedPointerTypes==null?null:new Set(e.allowedPointerTypes),this.allowedScrollTypes=new Set(e.allowedScrollTypes??this.defaultScrollTypes),this.requiresExclusiveTouchType=e.requiresExclusiveTouchType??!0}get isDiscrete(){return!1}get claimsTouches(){return this.options.claimsTouches??!0}get state(){return this.stateValue}get nativeTouchBehavior(){return IK}get acceptsTouchInput(){return this.allowedPointerTypes==null||this.allowedPointerTypes.has(`touch`)}get numberOfTouches(){return this.touches.size}get trackedTouches(){return[...this.touches.values()]}location(){if(this.touches.size===0)return this.lastLocation;let e=0,t=0;for(let n of this.touches.values())e+=n.x,t+=n.y;return this.lastLocation={x:e/this.touches.size,y:t/this.touches.size},this.lastLocation}get environment(){return this.arena?.environment??AK}requireToFail(e){return this.failureRequirements.add(e),this}recognizeSimultaneouslyWith(...e){for(let t of e)this.simultaneousWith.add(t),t.simultaneousWith.add(this);return this}requiresFailureOf(e){return this.failureRequirements.has(e)||this.options.shouldRequireFailureOf?.(this,e)===!0||e.options.shouldBeRequiredToFailBy?.(e,this)===!0}allowsSimultaneous(e){return this.simultaneousWith.has(e)||this.options.shouldRecognizeSimultaneously?.(this,e)===!0&&e.options.shouldRecognizeSimultaneously?.(e,this)===!0}shouldBegin(){return this.options.shouldBegin?.(this)??!0}keepsTouch(e){return!1}canPrevent(e){return!0}canBePrevented(e){return!0}isInvolved(){return this.touches.size>0||this.pending!=null}addListener(e){let t=e;return this.listeners.add(t),()=>{this.listeners.delete(t)}}addTransitionListener(e){let t=e;return this.transitionListeners.add(t),()=>{this.transitionListeners.delete(t)}}touchesBegan(e,t){}touchesMoved(e,t){}touchesEnded(e,t){}touchesCancelled(e,t){NK(this.state)?this.setState(`cancelled`):this.state===`possible`&&this.setState(`failed`)}touchesTakenByBrowser(e,t){return!this.claimsTouches||(this.touchesCancelled(e,t),!1)}touchBeganElsewhere(e,t){}reset(){}get defaultScrollTypes(){return[]}acceptsTouch(e){if(!this.isEnabled)return!1;if(e.scrollType!=null)return this.allowedScrollTypes.has(e.scrollType)&&(this.options.shouldReceiveTouch?.(this,e)??!0);if(this.allowedPointerTypes!=null&&!this.allowedPointerTypes.has(e.pointerType))return!1;if(this.requiresExclusiveTouchType){for(let t of this.touches.values())if(t.pointerType!==e.pointerType)return!1}return this.options.shouldReceiveTouch?.(this,e)??!0}setState(e){this.arena==null?this.applyState(e):this.arena.requestTransition(this,e)}setTimer(e,t){this.arena?.setTimer(this,e,t)}clearTimer(){this.arena?.clearTimer(this)}now(){return this.arena?.now()??0}cancelTouchesInView(){this.arena?.cancelTouchesInViewOf(this)}wantsTouch(e){return this.state!==`possible`&&!NK(this.state)||this.pending!=null?!1:this.acceptsTouch(e)}deliverBegan(e,t){for(let t of e)this.touches.set(t.id,t),this.seenTouchIds.add(t.id);this.location(),this.touchesBegan(e,t)}deliverBeganElsewhere(e,t){MK(this.state)||this.touchBeganElsewhere(e,t)}deliverMoved(e,t){let n=e.filter(e=>this.touches.has(e.id));n.length===0||MK(this.state)||(this.location(),this.touchesMoved(n,t))}deliverEnded(e,t){let n=e.filter(e=>this.touches.has(e.id));if(n.length!==0){this.location(),MK(this.state)||this.touchesEnded(n,t);for(let e of n)this.touches.delete(e.id)}}deliverCancelled(e,t){let n=e.filter(e=>this.touches.has(e.id));if(n.length!==0){MK(this.state)||this.touchesCancelled(n,t);for(let e of n)this.touches.delete(e.id)}}deliverTakenByBrowser(e,t){let n=e.filter(e=>this.touches.has(e.id));if(n.length!==0&&(MK(this.state)||!this.touchesTakenByBrowser(n,t)))for(let e of n)this.touches.delete(e.id)}onEnabledChange=null;setEnabled(e){let t=this.isEnabled!==e;this.isEnabled=e,t&&this.onEnabledChange?.(),!e&&(this.state!==`possible`||this.isInvolved())&&this.cancel()}cancel(){this.arena==null?NK(this.state)?this.applyState(`cancelled`):this.state===`possible`&&this.isInvolved()&&this.applyState(`failed`):this.arena.stop(this)}applyState(e){let t=this.stateValue;if((t!==e||e===`changed`)&&Xie(t,e)){this.stateValue=e,e!==`possible`&&(this.pending=null);for(let n of[...this.transitionListeners])n(this,t,e);if(PK.has(e))for(let e of[...this.listeners])e(this)}}resetToPossible(){this.clearTimer(),this.pending=null,this.touches.clear(),this.seenTouchIds.clear(),this.reset(),this.applyState(`possible`)}}}));function VK(e){return e}var HK=o((()=>{}));function Zie(e,t){for(let n of VK(e).seenTouchIds)if(VK(t).seenTouchIds.has(n))return!0;return!1}var UK,WK,Qie=o((()=>{BK(),jK(),HK(),UK={now:()=>typeof performance>`u`?Date.now():performance.now(),setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e)},WK=class{movingIds=new Set;records=new Map;active=[];timers=new Map;realTimer=null;realTimerDeadline=1/0;currentTime=null;latestTime=-1/0;depth=0;deferDepth=0;owesResolution=!1;constructor(e={}){this.options=e,this.clock=e.clock??UK,this.environment=e.environment??AK}now(){return this.currentTime??Math.max(this.latestTime,this.clock.now())}isClaimed(e){return this.records.get(e)?.isClaimed===!0}consumerOf(e){return this.records.get(e)?.consumer??null}getTouch(e){return this.records.get(e)?.touch}participantsOf(e){return this.records.get(e)?.participants??[]}get touches(){return[...this.records.values()].map(e=>e.touch)}get involvedRecognizers(){return this.active}began(e){e.length!==0&&this.run(e[0].time,()=>{let t=new Map,n=[];for(let r of e){if(this.records.has(r.id))continue;let e=this.clampTime(r.time),i={x:r.x,y:r.y,time:e},a={id:r.id,pointerType:r.pointerType,phase:`began`,x:r.x,y:r.y,time:e,startX:r.x,startY:r.y,startTime:e,samples:[...r.history??[],i],target:r.target,scroll:r.scroll??null,takenByBrowser:!1,...r.scrollType==null?{}:{scrollType:r.scrollType}},o=[];for(let[e,n]of r.recognizers.entries()){if(!VK(n).wantsTouch(a))continue;if(o.push(n),VK(n).arena=this,!this.active.includes(n)){let t=this.active.findIndex(t=>r.recognizers.indexOf(t)>e);t===-1?this.active.push(n):this.active.splice(t,0,n)}let i=t.get(n)??[];i.push(a),t.set(n,i)}let s={touch:a,participants:o,consumer:r.consumer??null,view:`none`,isLifted:!1,isClaimed:!1,suppressClick:!1,deferredClick:!1};this.records.set(r.id,s),n.push(s)}let r=this.context();for(let e of[...this.active]){let n=t.get(e);n!=null&&VK(e).deliverBegan(n,r)}for(let e of[...this.active]){let i=t.get(e),a=n.map(e=>e.touch).filter(e=>i==null||!i.includes(e));a.length>0&&e.numberOfTouches>0&&VK(e).deliverBeganElsewhere(a,r)}for(let e of n)this.deliverViewBegan(e)})}untrackedBegan(e){this.active.some(e=>e.numberOfTouches>0)&&this.run(e.time,()=>{let t=this.clampTime(e.time),n={id:e.id,pointerType:e.pointerType,phase:`began`,x:e.x,y:e.y,time:t,startX:e.x,startY:e.y,startTime:t,samples:[{x:e.x,y:e.y,time:t}],target:e.target,scroll:e.scroll??null,takenByBrowser:!1},r=this.context();for(let e of[...this.active])e.numberOfTouches>0&&VK(e).deliverBeganElsewhere([n],r)})}moved(e){e.length!==0&&this.run(e[0].time,()=>{let t=this.update(e,`moved`);if(t.length===0)return;let n=this.context(),r=this.movingIds;this.movingIds=new Set(t.map(e=>e.id));try{for(let e of[...this.active])VK(e).deliverMoved(t,n)}finally{this.movingIds=r}for(let e of t){let t=this.records.get(e.id);t?.view===`delivered`&&t.consumer?.touchMoved(e)}})}ended(e){let t=new Map;return e.length===0||this.run(e[0].time,()=>{let n=this.update(e,`ended`),r=this.context();for(let e of[...this.active])VK(e).deliverEnded(n,r);this.reviewPending();for(let e of n){let n=this.records.get(e.id);n!=null&&(n.isLifted=!0,t.set(e.id,this.resolveEnd(n)))}}),t}cancelled(e,t){this.run(t,()=>{let t=this.liveTouches(e);for(let e of t)e.phase=`cancelled`;let n=this.context();for(let e of[...this.active])VK(e).deliverCancelled(t,n);for(let e of t){let t=this.records.get(e.id);t!=null&&(t.isLifted=!0,t.suppressClick=!0,this.cancelView(t))}})}browserTookOver(e,t){this.run(t,()=>{let t=this.liveTouches(e).filter(e=>!e.takenByBrowser);if(t.length===0)return;for(let e of t)e.takenByBrowser=!0;let n=this.context();for(let e of[...this.active])VK(e).deliverTakenByBrowser(t,n);for(let e of t){let t=this.records.get(e.id);t!=null&&(t.suppressClick=!0,this.cancelView(t))}})}advanceTime(e){this.run(e,()=>{})}requestTransition(e,t){let n=e.state;t===`failed`?this.fail(e):(VK(e).pending==null||t!==`began`&&t!==`ended`)&&(n===`possible`&&(t===`began`||t===`ended`)?this.attemptRecognition(e,t):NK(n)&&(t===`changed`||t===`ended`)?this.apply(e,t):NK(n)&&t===`cancelled`&&this.apply(e,`cancelled`))}setTimer(e,t,n){this.timers.set(e,{deadline:t,callback:n}),this.scheduleRealTimer()}clearTimer(e){this.timers.delete(e)&&this.scheduleRealTimer()}cancelTouchesInViewOf(e){this.cancelViewTouchesOf(e)}deferResolution(e){this.deferDepth+=1;try{e()}finally{--this.deferDepth}this.deferDepth===0&&this.owesResolution&&queueMicrotask(()=>{this.owesResolution&&this.deferDepth===0&&this.run(this.lastEventTime(),()=>{})})}lastEventTime(){return Number.isFinite(this.latestTime)?this.latestTime:this.clock.now()}stop(e){let t=this.currentTime??(Number.isFinite(this.latestTime)?this.latestTime:this.clock.now());this.run(t,()=>{NK(e.state)?this.apply(e,`cancelled`):e.state===`possible`&&e.isInvolved()&&this.fail(e)})}attemptRecognition(e,t){if(!VK(e).shouldBegin()||this.isVetoedByConsumer(e)||this.isRefusedByBrowser(e)){this.fail(e);return}let n=!1;for(let t of this.active)if(t!==e&&VK(e).requiresFailureOf(t)&&t.state!==`failed`){if(t.state!==`possible`){this.fail(e);return}t.isInvolved()&&(n=!0)}if(n)VK(e).pending=t,this.claim(e);else{for(let t of this.active)if(t!==e&&(NK(t.state)||t.state===`ended`&&t.trackedTouches.length>0)&&this.conflicts(t,e)){this.fail(e);return}this.apply(e,t);for(let t of[...this.active])t!==e&&t.state===`possible`&&(VK(t).requiresFailureOf(e)||this.conflicts(e,t))&&this.fail(t);this.claim(e),e.claimsTouches&&e.cancelsTouchesInView&&this.cancelViewTouchesOf(e)}}conflicts(e,t){return!Zie(e,t)||VK(e).allowsSimultaneous(t)||!e.claimsTouches||!t.claimsTouches?!1:e.canPrevent(t)&&t.canBePrevented(e)}isRefusedByBrowser(e){let t=this.options.refusesClaim;return t==null||!e.claimsTouches?!1:e.trackedTouches.some(e=>e.phase!==`ended`&&e.phase!==`cancelled`&&t(e))}isVetoedByConsumer(e){for(let t of VK(e).seenTouchIds)if((this.records.get(t)?.consumer)?.allowsAncestorRecognizer?.(e)===!1)return!0;return!1}fail(e){MK(e.state)||(NK(e.state)?this.apply(e,`cancelled`):(VK(e).pending=null,this.apply(e,`failed`),this.reviewPending()))}releaseClaim(e,t=new Set){let n=[];for(let r of e.trackedTouches){let i=this.records.get(r.id);i!=null&&i.isClaimed&&!t.has(r.id)&&(this.active.some(t=>t!==e&&t.claimsTouches&&(NK(t.state)||t.state===`ended`||VK(t).pending!=null)&&t.trackedTouches.some(e=>e.id===r.id))||(i.isClaimed=!1,n.push(r.id)))}n.length>0&&this.options.onRelease?.(n)}apply(e,t){let n=e.state;VK(e).applyState(t),(e.state===t&&n!==t||t===`changed`&&n===`changed`)&&this.options.onTransition?.(e,n,t),MK(t)&&this.clearTimer(e),t===`cancelled`?this.releaseClaim(e,this.movingIds):t===`failed`&&this.releaseClaim(e)}reviewPending(){if(this.deferDepth>0){this.owesResolution=!0;return}let e=!0;for(;e;){e=!1;for(let t of[...this.active]){let n=VK(t).pending;n!=null&&t.state===`possible`&&(this.active.some(e=>e!==t&&VK(t).requiresFailureOf(e)&&e.state===`possible`&&e.isInvolved())||(VK(t).pending=null,this.attemptRecognition(t,n),e=!0))}}}claim(e){if(!e.claimsTouches)return;let t=[];for(let n of e.trackedTouches){let e=this.records.get(n.id);e==null||e.isLifted||e.isClaimed||e.touch.takenByBrowser||(e.isClaimed=!0,t.push(n.id))}t.length>0&&this.options.onClaim?.(t,e)}deliverViewBegan(e){e.consumer!=null&&e.view===`none`&&(e.suppressClick?e.view=`done`:this.beginDelayers(e)?e.view=`held`:(e.view=`delivered`,e.consumer.touchBegan(e.touch)))}resolveEnd(e){if(e.suppressClick)return`suppress`;let t=this.endDelayers(e);switch(e.view){case`delivered`:return t?(e.view=`endHeld`,e.deferredClick=!0,`defer`):(e.view=`done`,e.consumer?.touchEnded(e.touch),`allow`);case`held`:return this.beginDelayers(e)?(e.deferredClick=!0,`defer`):(e.view=`delivered`,e.consumer?.touchBegan(e.touch),this.resolveEnd(e));case`none`:case`endHeld`:case`done`:return t?(e.deferredClick=!0,`defer`):`allow`}}reviewHeld(){for(let e of this.records.values())e.view===`held`&&!this.beginDelayers(e)&&(e.suppressClick?e.view=`done`:(e.view=`delivered`,e.consumer?.touchBegan(e.touch),e.isLifted&&!this.endDelayers(e)?(e.view=`done`,e.consumer?.touchEnded(e.touch)):e.isLifted&&(e.view=`endHeld`))),e.view===`endHeld`&&!this.endDelayers(e)&&(e.view=`done`,e.suppressClick?e.consumer?.touchCancelled(e.touch):e.consumer?.touchEnded(e.touch)),e.deferredClick&&e.view!==`held`&&e.view!==`endHeld`&&!this.endDelayers(e)&&(e.deferredClick=!1,this.options.onDeferredClick?.(e.touch,!e.suppressClick))}beginDelayers(e){return e.participants.some(t=>t.delaysTouchesBegan&&t.state===`possible`&&t.isInvolved()&&VK(t).seenTouchIds.has(e.touch.id))}endDelayers(e){return e.participants.some(t=>t.delaysTouchesEnded&&t.state===`possible`&&t.isInvolved()&&VK(t).seenTouchIds.has(e.touch.id))}cancelViewTouchesOf(e){for(let t of VK(e).seenTouchIds){let e=this.records.get(t);e!=null&&(e.suppressClick=!0,this.cancelView(e))}}cancelView(e){(e.view===`delivered`||e.view===`endHeld`)&&e.consumer?.touchCancelled(e.touch),(e.view!==`none`||e.consumer!=null)&&(e.view=`done`)}context(){return{time:this.now(),allTouches:[...this.records.values()].filter(e=>!e.isLifted).map(e=>e.touch)}}liveTouches(e){let t=[];for(let n of e){let e=this.records.get(n);e!=null&&!e.isLifted&&t.push(e.touch)}return t}update(e,t){let n=[];for(let r of e){let e=this.records.get(r.id);if(e==null||e.isLifted)continue;let i=this.clampTime(r.time),a=e.touch;a.samples=[...(r.history??[]).filter(e=>e.time>a.time&&e.time0?this.owesResolution=!0:(this.owesResolution=!1,this.settle()))}finally{--this.depth,this.depth===0&&(this.currentTime=null)}}flushTimers(e){for(;;){let t=null;for(let n of this.timers)n[1].deadline<=e&&(t==null||n[1].deadlinee!==t);let n=t.state;VK(t).resetToPossible(),e=!0,n!==`possible`&&this.options.onTransition?.(t,n,`possible`)}e&&this.reviewHeld();let t=!1;for(let[e,n]of this.records)n.isLifted&&n.view!==`held`&&n.view!==`endHeld`&&!n.deferredClick&&(this.records.delete(e),t=!0);t&&this.records.size===0&&this.options.onIdle?.()}scheduleRealTimer(){let e=1/0;for(let t of this.timers.values())e=Math.min(e,t.deadline);if(e===this.realTimerDeadline||(this.realTimer!=null&&(this.clock.clearTimeout(this.realTimer),this.realTimer=null),this.realTimerDeadline=e,e===1/0))return;let t=Math.max(0,e-this.clock.now()),n=t=>{this.realTimer=null,this.realTimerDeadline=1/0,t&&this.clock.now()>e?(this.realTimerDeadline=e,this.realTimer=this.clock.setTimeout(()=>n(!1),0)):this.advanceTime(e)};this.realTimer=this.clock.setTimeout(()=>n(!0),t)}}}));function $ie(e){return e<=KK}var GK,KK,qK,JK,YK,XK,ZK,QK,$K,eq,tq,nq,rq,eae=o((()=>{GK=50,KK=1.5,qK=4,JK=.8,YK=1,XK=.25,ZK=64,QK=.15,$K=.5,eq=16,tq=1e3/60,nq=3,rq=class{gesture=0;phase=`finger`;last=-1/0;previous=0;sign=0;count=0;run=0;runStart=0;ratio=1;paces=[];slower=[];onPace=-1/0;paced=0;resumed=!1;joined=0;push(e,t,n,r=!1){let i=Math.abs(t),a=Math.sign(t),o=e-this.last,s=this.count>0&&$ie(o),c=this.frameMs(),l=null,u=null;if(this.count===0)l=this.gesture===0?`first`:`idle`;else if(this.phase===`finger`&&o>=n)l=`idle`;else if(this.phase===`momentum`){let t=Math.round((e-this.onPace)/c),n=o>=GK,d=!s&&i>=2&&i>this.previous*1.3+.5;a!==0&&this.sign!==0&&a!==this.sign?l=`reversal`:n||d?(r&&a===this.sign&&(n||o>=1.5*c)&&(u=this.glideSteps(i,Math.max(1,t),QK)),u??(l=n?`gap`:`jump`)):r&&this.resumed&&!s&&i>YK&&i>this.paced+$K&&(l=`jump`)}if(u==null&&l==null&&s&&r){if(this.phase===`momentum`)u=this.glideSteps(i,ZK);else if(this.run>0){let e=this.glideSteps(i,ZK);e!=null&&e>1&&Math.abs(i-this.glideSum(e))0?Math.max(1,Math.round(i/this.previous)):1),f=u!=null&&u>1,p=f?this.previous*this.ratio**d:i/d;l!=null&&(this.gesture+=1,this.phase=`finger`,this.count=0,this.run=0,this.ratio=1,this.resumed=!1,this.paces=[],this.slower=[]);let m=l===`jump`?this.joined:0,h=l==null&&u!=null&&!s;h&&(this.resumed=!0),this.joined=h?t:s&&l==null&&this.joined!==0?this.joined+t:0,s||(this.paced=i);let g=!1,_=!1;return this.phase===`finger`&&this.count>=3&&i>0&&(_=f?this.ratio<=.995:p<=this.previous*.995&&p>=this.previous*.5,_?(this.run===0&&(this.runStart=this.previous),this.run+=1):this.run=0,this.run>=qK&&p<=this.runStart*JK&&(this.phase=`momentum`,g=!0)),d===1&&this.count>0&&this.previous>0&&p>0&&(this.ratio=Math.min(1,Math.max(.5,p/this.previous))),!s&&l==null&&o=.5*t&&e<=1.5*t;this.paces.length1.5*t?[...this.slower,e]:[],this.slower.length>=nq&&(this.paces=this.slower,this.slower=[]))}frameMs(){if(this.paces.length===0)return eq;let e=[...this.paces].sort((e,t)=>e-t),t=e.length>>1,n=e.length%2==1?e[t]:(e[t-1]+e[t])/2;return Math.min(n,tq)}glideSum(e){let t=this.previous*this.ratio,n=0;for(let r=0;re>0).map(t=>Math.abs(e-Math.max(1,Math.round(e/t))*t)))}glideSteps(e,t,n=XK){if(this.previous<=0||e<=0)return null;let r=this.previous*this.ratio;if(e<=r+YK)return 1;let i=r;for(let a=2;a<=Math.min(t,ZK);a++)if(r*=this.ratio,i+=r,Math.abs(e-i)<=Math.max(YK,i*n))return a;return null}end(){this.count=0}}}));function tae(e){let t=!0,n=!0,r=!0,i=!0;for(let a of e){if(!VK(a).acceptsTouchInput||!a.claimsTouches)continue;let e=a.nativeTouchBehavior;t&&=e.panX,n&&=e.panY,r&&=e.pinchZoom,i&&=e.doubleTapZoom}return{panX:t,panY:n,pinchZoom:r,doubleTapZoom:i}}function nae(e){let t=tae(e);if(t.panX&&t.panY&&t.pinchZoom&&t.doubleTapZoom)return null;if(t.panX&&t.panY&&t.pinchZoom)return`manipulation`;let n=[];return t.panX&&n.push(`pan-x`),t.panY&&n.push(`pan-y`),t.pinchZoom&&n.push(`pinch-zoom`),n.length===0?`none`:n.join(` `)}function iq(e){let t={},n=nae(e);return n!=null&&(t.touchAction=n),t}function aq(e){let t=e.trim().split(/\\s+/).filter(e=>e!==``),n=new Set;t.length===0&&t.push(`auto`);for(let e of t)e===`auto`?(sq.forEach(e=>n.add(e)),n.add(`double-tap-zoom`)):e===`manipulation`?sq.forEach(e=>n.add(e)):e===`pan-x`?n.add(`pan-left`).add(`pan-right`):e===`pan-y`?n.add(`pan-up`).add(`pan-down`):sq.includes(e)&&n.add(e);return n}function oq(e,t){let n=aq(t),r=new Set([...aq(e)].filter(e=>n.has(e)));if(sq.every(e=>r.has(e)))return r.has(`double-tap-zoom`)?`auto`:`manipulation`;let i=[];for(let[e,t,n]of[[`pan-x`,`pan-left`,`pan-right`],[`pan-y`,`pan-up`,`pan-down`]])r.has(t)&&r.has(n)?i.push(e):r.has(t)?i.push(t):r.has(n)&&i.push(n);return r.has(`pinch-zoom`)&&i.push(`pinch-zoom`),i.length===0?`none`:i.join(` `)}var sq,rae=o((()=>{HK(),sq=[`pan-left`,`pan-right`,`pan-up`,`pan-down`,`pinch-zoom`]}));function iae(e){let t=fq.get(e);if(t==null){let n=e.nodeType===9?e:e.ownerDocument,r,i,a=n?.defaultView?.CSSStyleSheet;if(typeof a==`function`&&`replaceSync`in a.prototype&&`adoptedStyleSheets`in e){let t=new a;e.adoptedStyleSheets=[...e.adoptedStyleSheets,t],r=e=>t.replaceSync(e),i=()=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(e=>e!==t)}}else{let t=n?.createElement(`style`),a=e.nodeType===9?n?.head??n?.documentElement:e;t!=null&&a!=null&&(a.append(t),r=e=>{t.textContent=e},i=()=>t.remove())}if(r==null||i==null)return null;t={values:new Set,marked:new Set,css:``,write:r,remove:i},fq.set(e,t)}return t}function aae(e,t){let n=e.getRootNode(),r=e.isConnected&&(n.nodeType===9||`host`in n)?iae(n):null;if(r==null)return!1;r.values.has(t)||(r.values.add(t),r.css+=`:where([${uq}=\"${t}\"]){touch-action:${t}}`,r.write(`@layer ${dq}{${r.css}}`)),e.getAttribute(`data-astryx-touch-action`)!==t&&e.setAttribute(uq,t);let i=pq.get(e);return i!=null&&i!==n&&cq(e,i),r.marked.add(e),pq.set(e,n),!0}function cq(e,t){let n=fq.get(t);n!=null&&(n.marked.delete(e),n.marked.size===0&&(n.remove(),fq.delete(t)))}function lq(e){e.removeAttribute(uq);let t=pq.get(e);t!=null&&(pq.delete(e),cq(e,t))}var uq,dq,fq,pq,oae=o((()=>{uq=`data-astryx-touch-action`,dq=`reset`,fq=new WeakMap,pq=new WeakMap}));function sae(e){return Mq.has(e.trim().toLowerCase())}function cae(e,t){if(e!=null&&typeof e.requestAnimationFrame==`function`){let n=e.requestAnimationFrame(t);return()=>e.cancelAnimationFrame(n)}let n=setTimeout(t,0);return()=>clearTimeout(n)}function mq(e){return e.claimsTouches&&VK(e).acceptsTouchInput&&VK(e).family!==`tap`}function lae(e){let t=e.allowedPointerTypes;return t==null||t.has(`touch`)||t.has(`pen`)}function uae(e){return VK(e).family===`pan`}function hq(e){return e.kind===`screenEdgePan`?e:null}function dae(e){return Dq(e.changedTouches).some(e=>e.touchType===`stylus`)}function gq(e,t){return e.target===t.target&&Math.abs(e.x-t.x)<=1&&Math.abs(e.y-t.y)<=1}function _q(e){return e===`touch`||e===`mouse`||e===`pen`}function vq(e,t=e.target){return t===e.target?e.composedPath()[0]??t:t}function yq(e,t,n){return e===`pinch`||t!==`continuous`?Iq:n?Rq:Lq}function bq(e,t){return Math.sign(e)*Math.max(0,Math.abs(e)-Math.abs(t)/2)}function xq(e,t,n){e.readSpan<=0||(e.speedX=Sq(e.speedX,(t-e.readFromX)/e.readSpan,e.priorSpeedX),e.speedY=Sq(e.speedY,(n-e.readFromY)/e.readSpan,e.priorSpeedY))}function Sq(e,t,n){let r=Math.sign(t)*Math.min(Math.abs(t),Math.abs(n));return r*e>=0&&Math.abs(r)>Math.abs(e)?r:e}function Cq(e,t,n){return n===0||(t-e)*Math.sign(n)>0?t:e}function wq(e,t){return e.deltaMode===1?{dx:e.deltaX*zq,dy:e.deltaY*zq}:e.deltaMode===2?{dx:e.deltaX*(t?.innerWidth??0),dy:e.deltaY*(t?.innerHeight??0)}:{dx:e.deltaX,dy:e.deltaY}}function Tq(e){if(e.deltaMode!==0||e.shiftKey)return`discrete`;let t=e=>{let t=Math.abs(e-Math.round(e));return t>0&&t<.01};if(t(e.deltaX)||t(e.deltaY))return`discrete`;let n=e;if(typeof n.wheelDeltaY!=`number`||typeof n.wheelDeltaX!=`number`)return`discrete`;let r=(e,t)=>e===0?t===0:Math.abs(Math.abs(t)-3*Math.abs(e))<=Math.max(1.5,.05*Math.abs(e)*3);if(!r(e.deltaY,n.wheelDeltaY)||!r(e.deltaX,n.wheelDeltaX))return`discrete`;let i=(e,t)=>t!==0&&t%120==0&&e%40==0;return i(e.deltaY,n.wheelDeltaY)||i(e.deltaX,n.wheelDeltaX)?`discrete`:`continuous`}function fae(e){return e.scrollEdge===!0}function pae(e,t,n){return(VK(e).classify?.({x:t,y:n})??`begin`)===`begin`}function Eq(e,t){let n=e.timeStamp;return n>0xe8d4a51000&&t!=null&&t.timeOrigin>0?n-t.timeOrigin:n}function mae(e){let t=e.defaultView;return t==null||t===globalThis?UK:{...UK,now:()=>Ov(e)?.now()??UK.now()}}function Dq(e){return e==null?[]:Array.from(e)}function Oq(e){for(let t of e.values())if(t!==`allow`)return!0;return!1}function kq(e,t){return typeof e.getCoalescedEvents==`function`?e.getCoalescedEvents().slice(0,-1).map(e=>({x:e.clientX,y:e.clientY,time:Eq(e,t)})):[]}function Aq(e){let t=Dk.get(e);return t??(t=new Vq(e),Dk.set(e,t)),t}var jq,Mq,Nq,Pq,Fq,Iq,Lq,Rq,zq,Bq,Vq,Hq=o((()=>{Rk(),MP(),B_(),Qie(),Kk(),Td(),os(),eae(),AA(),rae(),oae(),HK(),Xu(),jv(),Pu(),Gv(),Zd(),ds(),Ok(),od(),jq={touchAction:`touch-action`,WebkitTouchCallout:`-webkit-touch-callout`,WebkitUserSelect:`-webkit-user-select`,userSelect:`user-select`},Mq=new Set([`initial`,`inherit`,`unset`,`revert`,`revert-layer`]),Nq={capture:!0,passive:!0},Pq=500,Fq=8,Iq=100,Lq=180,Rq=220,zq=40,Bq=100,Vq=class{registry=new Map;stopWatchingMovers=null;stopBlockingForMovers=null;pendingCallerReads=new Set;isCallerReadScheduled=!1;cancelCallerRead=null;lockedBy=new Map;pressSelections=new Map;selectingContacts=new Set;dragHolds=new Set;claimHolds=new Map;retargeted=new Map;touchIds=new Map;cancelledFingers=new Set;cancelledPointers=new Map;touchTargets=new Map;watched=new Map;blockingFingers=new Set;claimingFingers=new Set;processed=new WeakSet;pointerIds=new Map;pointerKinds=new Map;layoutWatched=new Set;layoutObserver=null;lastPenLift=null;driftedPens=new Set;judgedUncancelable=new Set;fingerPointers=new Map;pendingPointers=new Map;liftStamps=new Map;claimedLifts=[];claimedLiftTimer=null;get timing(){return Ov(this.doc)}unpairedTouches=new Map;lastFed=new Map;pointerFed=new Set;lastTouch=null;ownedScrolls=new Map;ownScrollCalls=0;ownScrollFrames=new Map;lastScroll=null;touchGates=new Set;retainers=0;fingerListeners=new Set;fingerTargets=[];nextId=1;wheel=null;stopWheelLatch=null;segmenter=new rq;wheelSegment=null;wheelsSeen=new WeakSet;isInstalled=!1;isCoarse=!1;stopWatchingPointer=null;unsubscribers=[];armedElements=new Map;isArmedPress=!1;isClaimingInstalled=!1;claimingUnsubscribers=[];usesTouchEvents=!0;constructor(e,t={}){this.doc=e,this.inputMode=t.inputMode??`auto`,this.presentedHitTesting=t.presentedHitTesting??`auto`;let n={viewportSize:()=>({width:e.defaultView?.innerWidth??0,height:e.defaultView?.innerHeight??0}),isRtl:e=>Qu(e)&&Lk(e),viewRect:e=>{if(!Qu(e))return null;let{left:t,top:n,width:r,height:i}=e.getBoundingClientRect();return{left:t,top:n,width:r,height:i}}};this.clock=t.clock??mae(e),this.arena=new WK({clock:this.clock,environment:n,onDeferredClick:(e,t)=>this.replayClick(e,t),onIdle:()=>this.releaseArmedPress(),onTransition:t.onTransition,onClaim:(e,t)=>this.lockClaimedDrags(e,t),onRelease:e=>this.releaseClaimedDrags(e),refusesClaim:e=>this.selectingContacts.has(e.id)&&(e.x!==e.startX||e.y!==e.startY)});let r=e.defaultView;this.followsPointer=t.isPrimaryPointerCoarse==null,this.isPrimaryPointerCoarse=t.isPrimaryPointerCoarse??(()=>ss(r))}attach(e,t,n={}){let r=this.registrationFor(e);n.manageStyle===!1?(r.unstyled.add(t),r.recognizers.length===0&&(r.manageStyle=!1)):r.manageStyle=!0;let i=n.actionGroup===!0;i&&(r.actionGroupAsks+=1,r.actionGroup=!0),t.view=e,r.recognizers.push(t),t.onEnabledChange=()=>{this.refresh(e,r),this.syncListeners()};let a=hq(t);return a!=null&&(a.onTouchBehaviorChange=()=>{this.refresh(e,r),this.syncLayoutWatch()}),this.refresh(e,r),this.syncListeners(),()=>{t.onEnabledChange=null,i&&(--r.actionGroupAsks,r.actionGroup=r.actionGroupAsks>0),a!=null&&(a.onTouchBehaviorChange=null);let n=r.recognizers.indexOf(t);n>=0&&r.recognizers.splice(n,1),r.unstyled.delete(t),(t.state!==`possible`||t.isInvolved())&&t.cancel();let o=this.wheel;o!=null&&o.takers.includes(t)&&!this.wheelHasTaker(o)&&this.endWheel(o.last),this.refresh(e,r),this.syncListeners(),this.cleanup(e,r)}}syncLayoutWatch(){let e=new Set,t=!1;for(let[n,r]of this.registry)for(let i of r.recognizers){let r=hq(i);r!=null&&r.isEnabled&&(e.add(n),t||=r.watchesViewport)}t&&e.add(this.doc.documentElement);for(let t of[...this.layoutWatched])e.has(t)||(this.layoutObserver?.unobserve(t),this.layoutWatched.delete(t));if(e.size===0){this.layoutObserver?.disconnect(),this.layoutObserver=null;return}let n=this.doc.defaultView;if(this.layoutObserver==null&&n!=null&&typeof n.ResizeObserver==`function`){this.layoutObserver=new n.ResizeObserver(this.onLayoutChange);for(let e of this.layoutWatched)this.layoutObserver.observe(e)}for(let t of e)this.layoutWatched.has(t)||(this.layoutObserver?.observe(t),this.layoutWatched.add(t))}onLayoutChange=()=>{for(let e of this.registry.values())for(let t of e.recognizers){let e=hq(t);e!=null&&e.isEnabled&&e.layoutChanged()}};attachConsumer(e,t,n={}){let r=this.registrationFor(e);return r.consumer=t,this.refresh(e,r),this.syncListeners(),()=>{r.consumer===t&&(r.consumer=null),this.refresh(e,r),this.syncListeners(),this.cleanup(e,r)}}get document(){return this.doc}isTouchClaimed(e){let t=this.touchIds.get(e);return t!=null&&this.arena.isClaimed(t)}presentedRect(e){let t=e.getBoundingClientRect();if(!this.hitTestsLayout())return t;let{x:n,y:r}=CP(e);return n===0&&r===0?t:{left:t.left+n,top:t.top+r,right:t.right+n,bottom:t.bottom+r}}hitTestsLayout(){return this.presentedHitTesting===`always`||this.presentedHitTesting===`auto`&&rs(this.doc.defaultView)}presentedTarget(e,t,n,r){if(!this.hitTestsLayout())return e;let i=SP().filter(e=>{if(!e.isConnected||e.ownerDocument!==this.doc)return!1;let{x:t,y:n}=CP(e);return Math.abs(t)>=.5||Math.abs(n)>=.5});if(i.length===0)return e;EP(i);let a=this.drawnAt(t,n),o=(this.doc.defaultView?.performance.now()??r)-r;if(o>0&&o<1e3){let e=e=>{let t=CP(e,r);return Math.abs(t.x)>=.5||Math.abs(t.y)>=.5?t:null},o=a,s=o==null?void 0:i.find(e=>xd(e,o)),c=!1;for(let r of i){let i=e(r);if(i==null)continue;let o=this.drawnAt(t-i.x,n-i.y);if(o!=null&&xd(r,o)){a=o,c=!0;break}}!c&&s!=null&&e(s)!=null&&(a=this.drawnBeneath(t,n,i))}if(a==null||a===e)return e;let s=a,c=Zu(e)?e:null;return i.some(e=>xd(e,s)||c!=null&&xd(e,c))?s:e}drawnBeneath(e,t,n){return typeof this.doc.elementsFromPoint==`function`?this.doc.elementsFromPoint(e,t).find(e=>!n.some(t=>xd(t,e)))??null:null}drawnAt(e,t){let n=this.doc.elementFromPoint(e,t);for(;n?.shadowRoot!=null;){let r=n.shadowRoot.elementFromPoint(e,t);if(r==null||r===n)break;n=r}return n}browserTook(e,t){for(let t of e)this.retargeted.delete(t);this.arena.browserTookOver(e,t)}clickRetargeted(e,t,n,r){let i=this.doc.defaultView;Qu(e)&&e.isConnected&&i!=null&&(Vu(this.doc,{takesLateMouse:r===`touch`}),td(e)&&e.matches(`input, textarea, select, [contenteditable]`)&&e.focus(),Wu(()=>e.dispatchEvent(new i.MouseEvent(`click`,{bubbles:!0,cancelable:!0,composed:!0,detail:1,clientX:t,clientY:n}))))}update(e){this.followsPointer||(this.isCoarse=this.isPrimaryPointerCoarse());let t=this.registry.get(e);t!=null&&this.refresh(e,t),this.syncListeners()}pointerIdOf(e){let t=typeof e==`number`?e:e.id;for(let[e,n]of this.fingerPointers)if(n===t)return e;for(let[e,n]of this.pointerIds)if(n===t)return e;return null}isScrollBraking(e,t=R_.scrollBrake.value){let n=this.lastScroll;return n!=null&&this.arena.now()-n.time{e&&(e=!1,--this.retainers,this.uninstallIfIdle())}}onFingersChange(e){return this.fingerListeners.add(e),()=>{this.fingerListeners.delete(e)}}isFingerDownIn(e){return this.fingerTargets.some(t=>xd(e,t))}isPenDownIn(e){return this.arena.touches.some(t=>t.pointerType===`pen`&&t.phase!==`ended`&&t.phase!==`cancelled`&&t.target instanceof Node&&xd(e,t.target))}lastPenLiftIn(e){let t=this.lastPenLift;return t!=null&&t.target instanceof Node&&xd(e,t.target)?t.time:-1/0}registrationFor(e){this.watchPointer();let t=this.registry.get(e);return t??(t={recognizers:[],consumer:null,hasTouchEndListener:!1,hasTouchMoveListener:!1,hasWheelListener:!1,savedStyle:new Map,authorTouchAction:null,manageStyle:!0,unstyled:new Set,actionGroup:!1,actionGroupAsks:0},this.registry.set(e,t)),t}needsInput(){return this.registry.size>0||this.retainers>0}refresh(e,t){t.manageStyle&&td(e)&&this.applyStyle(e,t),this.syncTouchMoveListener(e,t)}syncTouchMoveListener(e,t){let n=this.readsFingersFromPointerEvents()&&(this.isCoarse||this.sendsTouchEvents())&&t.recognizers.some(e=>e.isEnabled&&VK(e).acceptsTouchInput);n&&!t.hasTouchEndListener?(e.addEventListener(`touchend`,this.onClaimedTouchEnd,{passive:!1}),t.hasTouchEndListener=!0):!n&&t.hasTouchEndListener&&(e.removeEventListener(`touchend`,this.onClaimedTouchEnd),t.hasTouchEndListener=!1);let r=t.recognizers.some(e=>e.isEnabled&&mq(e))||t.consumer?.keepsTouch!=null&&t.consumer.isEnabled?.()!==!1&&(this.isCoarse||this.isArmedPress);r&&!t.hasTouchMoveListener?(e.addEventListener(`touchmove`,this.onBlockingTouchMove,{passive:!1}),t.hasTouchMoveListener=!0):!r&&t.hasTouchMoveListener&&(e.removeEventListener(`touchmove`,this.onBlockingTouchMove),t.hasTouchMoveListener=!1);let i=t.recognizers.some(e=>e.isEnabled&&e.claimsTouches&&e.allowedScrollTypes.size>0&&(VK(e).family===`pan`||VK(e).family===`pinch`));i&&!t.hasWheelListener?(e.addEventListener(`wheel`,this.onWheel,{passive:!1}),t.hasWheelListener=!0):!i&&t.hasWheelListener&&(e.removeEventListener(`wheel`,this.onWheel),t.hasWheelListener=!1)}applyStyle(e,t){let n=t.recognizers.filter(e=>e.isEnabled&&!t.unstyled.has(e)),r=n.length>0?iq(n):{};r.touchAction==null&&t.consumer?.keepsTouch!=null&&(r={...r,touchAction:`manipulation`});for(let n of Object.keys(jq)){let i=jq[n],a=r[n];if(n===`touchAction`&&(a=this.touchActionToWrite(e,t,a)),a!=null)t.savedStyle.has(i)||t.savedStyle.set(i,e.style.getPropertyValue(i)),e.style.setProperty(i,a);else if(t.savedStyle.has(i)){let n=t.savedStyle.get(i)??``;t.savedStyle.delete(i),n===``?e.style.removeProperty(i):e.style.setProperty(i,n)}}}touchActionToWrite(e,t,n){if(n==null){lq(e),t.authorTouchAction=null;return}let r=jq.touchAction,i=t.savedStyle.has(r)?t.savedStyle.get(r)??``:e.style.getPropertyValue(r);if(i!==``&&!sae(i))return lq(e),oq(n,i);if(!aae(e,n)){this.readCallerTouchActionInNextFrame(e);return}let a=t.authorTouchAction;if(a==null||a.derived!==n){this.readCallerTouchActionInNextFrame(e);return}if(a.author==null)return;let o=oq(n,a.author);return o===a.author?void 0:o}readCallerTouchActionInNextFrame(e){this.pendingCallerReads.add(e),this.isCallerReadScheduled||(this.isCallerReadScheduled=!0,this.cancelCallerRead=cae(this.doc.defaultView,()=>{this.isCallerReadScheduled=!1,this.cancelCallerRead=null;let e=[];for(let t of this.pendingCallerReads){let n=this.registry.get(t);n!=null&&e.push([t,n])}this.pendingCallerReads.clear();let t=this.doc.defaultView;for(let[n,r]of e){let e=n.getAttribute(uq);if(e==null||t==null)continue;let i=t.getComputedStyle(n).touchAction||`auto`;r.authorTouchAction={derived:e,author:i===e?null:i}}for(let[t,n]of e)this.applyStyle(t,n)}))}cleanup(e,t){t.recognizers.length>0||t.consumer!=null?this.syncListeners():(t.hasTouchEndListener&&=(e.removeEventListener(`touchend`,this.onClaimedTouchEnd),!1),t.hasTouchMoveListener&&e.removeEventListener(`touchmove`,this.onBlockingTouchMove),t.hasWheelListener&&e.removeEventListener(`wheel`,this.onWheel),this.registry.delete(e),this.uninstallIfIdle())}syncListeners(){this.syncLayoutWatch(),this.syncArmed(),this.shouldListen()?(this.install(),this.syncClaimingListeners()):this.uninstall(),this.syncMoverBlocking()}syncMoverBlocking(){let e=this.isInstalled&&this.hitTestsLayout();e&&this.stopWatchingMovers==null?this.stopWatchingMovers=bP(()=>this.syncMoverBlocking()):!e&&this.stopWatchingMovers!=null&&(this.stopWatchingMovers(),this.stopWatchingMovers=null);let t=e&&SP().some(e=>this.hasClaimingRecognizerAround(e));if(t===(this.stopBlockingForMovers!=null))return;let n=this.doc.defaultView;t&&n!=null?this.stopBlockingForMovers=bu(n,`touchmove`,this.onBlockingTouchMove,{cancels:!0}):t||(this.stopBlockingForMovers?.(),this.stopBlockingForMovers=null)}hasClaimingRecognizerAround(e){if(!e.isConnected||e.ownerDocument!==this.doc)return!1;for(let[t,n]of this.registry)if((xd(e,t)||xd(t,e))&&n.recognizers.some(e=>e.isEnabled&&mq(e)))return!0;return!1}syncArmed(){let e=new Set;if(!this.isCoarse)for(let[t,n]of this.registry){let r=n.consumer;(n.recognizers.some(e=>e.isEnabled&&(e.allowedPointerTypes==null||e.allowedPointerTypes.size>0))||r!=null&&r.isEnabled?.()!==!1)&&e.add(t)}for(let[t,n]of this.armedElements)e.has(t)||(n(),this.armedElements.delete(t));for(let t of e)this.armedElements.has(t)||(t.addEventListener(`pointerdown`,this.onArmedPress,Nq),this.armedElements.set(t,()=>{t.removeEventListener(`pointerdown`,this.onArmedPress,Nq)}));e.size===0&&this.isArmedPress&&(this.isArmedPress=!1,this.syncKeptPresses())}onArmedPress=e=>{let t=e;this.isInstalled||!_q(t.pointerType)||t.pointerType!==`touch`&&!Wv(t)||(this.isArmedPress=!0,this.syncKeptPresses(),this.install(),t.pointerType!==`mouse`&&this.syncClaimingListeners(),this.onPointerDown(t))};syncKeptPresses(){for(let[e,t]of this.registry)t.consumer?.keepsTouch!=null&&this.syncTouchMoveListener(e,t)}dropCancelledLifts(e){let t=e.pointerType===`touch`&&e.isPrimary===!1;for(let[n,r]of[...this.cancelledPointers])n!==e.pointerId&&t&&r===`touch`||this.cancelledPointers.delete(n)}releaseArmedPress(){this.isArmedPress&&queueMicrotask(()=>{this.isArmedPress&&this.arena.touches.length===0&&this.cancelledPointers.size===0&&(this.isArmedPress=!1,this.syncKeptPresses(),this.syncListeners())})}uninstallIfIdle(){this.syncListeners(),this.registry.size===0&&this.retainers===0&&(this.uninstall(),this.stopWatchingPointer?.(),this.stopWatchingPointer=null,this.releaseWhenIdle())}releaseWhenIdle(){queueMicrotask(()=>{if(!(this.registry.size>0||this.retainers>0)){this.cancelledFingers.clear(),this.cancelledPointers.clear(),this.clearClaimedLifts(),this.cancelCallerRead?.(),this.cancelCallerRead=null,this.isCallerReadScheduled=!1,this.pendingCallerReads.clear();for(let e of this.ownScrollFrames.values())e();this.ownScrollFrames.clear(),this.ownedScrolls.clear();for(let e of[...this.dragHolds])e({isCancel:!0});this.pressSelections.clear(),this.selectingContacts.clear()}})}watchPointer(){if(this.stopWatchingPointer!=null)return;let e=this.doc.defaultView;this.isCoarse=this.isPrimaryPointerCoarse(),this.stopWatchingPointer=this.followsPointer?us(e,e=>this.pointerChanged(e)):()=>{}}pointerChanged(e){if(e!==this.isCoarse){this.isCoarse=e,e||this.cancelEverything(this.arena.now());for(let[e,t]of this.registry)this.refresh(e,t);this.syncListeners()}}hasClaimer(){for(let e of this.registry.values()){let t=e.consumer;if(t!=null&&t.isEnabled?.()!==!1||e.recognizers.some(e=>e.isEnabled&&e.claimsTouches&&lae(e)))return!0}return!1}syncClaimingListeners(){if(!this.isInstalled)return;let e=this.hasClaimer();if(e===this.isClaimingInstalled)return;let t=this.doc.defaultView;for(let e of this.claimingUnsubscribers.splice(0))e();t!=null&&(this.inputMode===`auto`&&this.claimingUnsubscribers.push(bu(t,`touchend`,this.onTouchEnd,{cancels:e})),e&&this.claimingUnsubscribers.push(bu(t,`contextmenu`,this.onContextMenu,{cancels:!0}))),this.isClaimingInstalled=e}shouldListen(){if(!this.needsInput())return!1;if(this.isCoarse&&this.retainers>0)return!0;let e=!1;for(let t of this.registry.values()){let n=t.consumer;if(n!=null&&n.isEnabled?.()!==!1||t.recognizers.some(e=>e.isEnabled)){e=!0;break}}return e&&(this.isCoarse||this.isArmedPress)}install(){if(this.watchPointer(),!this.needsInput()||this.isInstalled)return;let e=this.doc.defaultView;this.isInstalled=!0,this.usesTouchEvents=this.inputMode===`auto`&&e!=null&&`ontouchstart`in e,e!=null&&(this.unsubscribers=[...this.inputMode===`auto`?[bu(e,`touchstart`,this.onTouchStart),bu(e,`touchmove`,this.onTouchMove),bu(e,`touchcancel`,this.onTouchCancel)]:[],bu(e,`pointerdown`,this.onPointerDown),bu(e,`pointermove`,this.onPointerMove),bu(e,`pointerup`,this.onPointerUp),bu(e,`pointercancel`,this.onPointerCancel),bu(e,`scroll`,this.onScroll),bu(e,`visibilitychange`,this.onVisibilityChange),bu(e,`blur`,e=>{Zu(e.target)||this.onBlur()})],this.isClaimingInstalled=!1,this.claimingUnsubscribers=this.inputMode===`auto`?[bu(e,`touchend`,this.onTouchEnd)]:[])}uninstall(){if(this.isInstalled){this.isInstalled=!1,this.fingerTargets=[],this.isClaimingInstalled=!1;for(let e of[...this.unsubscribers.splice(0),...this.claimingUnsubscribers.splice(0)])e();this.cancelEverything(this.arena.now()),this.lastTouch=null,this.lastScroll=null}}participantsAt(e,t){let n=[],r=null,i=null;if(Zu(e)&&(Wte(e)||[...this.touchGates].some(t=>t(e))))return{recognizers:n,consumer:r,consumerElement:i};let a=t==null;for(let o=Zu(e)?e:null;o!=null;o=bd(o)){if(!Qu(o))continue;let e=this.registry.get(o);e!=null&&n.push(...e.recognizers),a||t==null||e?.consumer!=null&&(r=e.consumer,i=o,a=!0)}return{recognizers:n,consumer:r,consumerElement:i}}lockSelection(e,t,n,r,i){let a=(e,t)=>{let n=this.registry.get(e);return n?.manageStyle!==!1&&(t==null||n?.unstyled.has(t)!==!0)},o=new Map;for(let e of t){let t=e.selectionLock;if(t!=null&&Qu(e.view)&&a(e.view,e)){let n=o.get(t)??new Set;n.add(e.view),o.set(t,n)}}let s=r?.selectionLock;if(s!=null&&i!=null&&a(i)){let e=o.get(s)??new Set;e.add(i),o.set(s,e)}if(o.size>0){let t=[...o].map(([e,t])=>e(t,n));this.lockedBy.set(e,()=>{for(let e of t)e()})}}onWheel=e=>{let t=e;if(this.wheelsSeen.has(t))return;this.wheelsSeen.add(t);let n=Eq(t,this.timing),r=t.ctrlKey?`pinch`:`pan`,i=this.wheel;if(i!=null&&(i.kind!==r||n-i.last>=i.endMs)&&(this.endWheel(n),i=null),i!=null&&i.ids.length>0&&i.follow?.lifted!==!0&&!this.wheelHasTaker(i)){this.endWheel(i.last);let e=wq(t,this.doc.defaultView);i={kind:r,scrollType:Tq(t),ids:[],x:t.clientX,y:t.clientY,span:Bq,last:n,endMs:yq(r,Tq(t),Math.abs(e.dx)>Math.abs(e.dy)),timer:null,takers:[]},this.wheel=i}let{dx:a,dy:o}=wq(t,this.doc.defaultView),s=Math.abs(a)>Math.abs(o),c=null;if(r===`pan`?c=this.segmenter.push(n,s?a:o,s?Rq:Lq,Tq(t)===`continuous`):this.segmenter.end(),this.wheelSegment=c,c?.boundary!=null&&i!=null&&(this.endWheel(n),i=null),c!=null&&c.carried!==0&&(s?a+=c.carried:o+=c.carried),i??(i=this.beginWheel(t,r,a,o,n),this.wheel=i,i.ids.length>0&&this.latchWheel()),i.last=n,i.timer!=null&&this.clock.clearTimeout(i.timer),i.timer=this.clock.setTimeout(()=>{this.segmenter.end(),this.endWheel()},i.endMs),i.ids.length!==0){if(t.preventDefault(),i.kind===`pan`&&i.follow){let e=i.follow;if(e.lifted)return;if(this.wheelSegment?.liftNow===!0){this.followProvisionally(i,e,n),e.lifted=!0,this.arena.ended([{id:i.ids[0],x:i.x,y:i.y,time:n}]);return}if(this.wheelSegment?.decaying===!0){if(e.heldX+=a,e.heldY+=o,this.wheelSegment.bunched){let t=n-e.lastMove,r=e.speedX,i=e.speedY;xq(e,e.trueX-e.heldX,e.trueY-e.heldY),e.baseX+=(r-e.speedX)*t,e.baseY+=(i-e.speedY)*t}else e.readSpan=0;this.followProvisionally(i,e,n);return}let t=e.trueX-e.heldX,r=e.trueY-e.heldY,s=bq(i.x-t,a),c=bq(i.y-r,o),l=t-a,u=r-o,d=n-e.lastMove;this.wheelSegment?.bunched===!0?xq(e,l,u):d>0&&(e.priorSpeedX=e.speedX,e.priorSpeedY=e.speedY,e.readFromX=e.trueX,e.readFromY=e.trueY,e.readSpan=d,e.speedX=(l-e.trueX)/d,e.speedY=(u-e.trueY)/d),e.trueX=l,e.trueY=u,e.heldX=0,e.heldY=0,e.lastMove=n,i.x=l+s,i.y=u+c,e.baseX=i.x,e.baseY=i.y,this.arena.moved([{id:i.ids[0],x:i.x,y:i.y,time:n}])}else i.kind===`pan`?(i.x-=a,i.y-=o,this.arena.moved([{id:i.ids[0],x:i.x,y:i.y,time:n}])):(i.span*=Math.exp(-o/100),this.arena.moved(this.pinchContacts(i,n)))}};followProvisionally(e,t,n){let r=Math.max(0,n-t.lastMove),i=t.baseX+t.speedX*r,a=t.baseY+t.speedY*r;(i!==e.x||a!==e.y)&&(e.x=i,e.y=a,this.arena.moved([{id:e.ids[0],x:i,y:a,time:n}]))}beginWheel(e,t,n,r,i){let a=Tq(e),o=Math.abs(n)>Math.abs(r),s={kind:t,scrollType:a,ids:[],x:e.clientX,y:e.clientY,span:Bq,last:i,endMs:yq(t,a,o),timer:null,takers:[]};if(this.arena.touches.length>0||n===0&&r===0||e.defaultPrevented||!e.cancelable)return s;let c=vq(e),l=Wk(c,{readsTouchAction:!1}),u=[];for(let e=Zu(c)?c:null;e!=null;e=bd(e))if(Qu(e))for(let i of this.registry.get(e)?.recognizers??[])i.isEnabled&&i.claimsTouches&&i.allowedScrollTypes.has(a)&&VK(i).family===t&&(t!==`pan`||a===`continuous`)&&(t===`pan`&&(!pae(i,-n,-r)||this.scrollerTakes(c,e,n,r,o,this.keepsAxis(e,o))||fae(i)&&l.canScroll(-n,-r))||u.push(i));if(u.length===0)return s;let d={pointerType:`mouse`,target:c,scroll:l,scrollType:a,recognizers:u,consumer:null},f=t===`pan`?[this.nextId++]:[this.nextId++,this.nextId++],p={...s,ids:f,takers:u};return t===`pan`&&a===`continuous`&&(p.follow={lifted:!1,heldX:0,heldY:0,lastMove:i,trueX:s.x,trueY:s.y,baseX:s.x,baseY:s.y,speedX:0,speedY:0,readFromX:s.x,readFromY:s.y,readSpan:0,priorSpeedX:0,priorSpeedY:0}),this.arena.began(t===`pan`?[{...d,id:f[0],x:e.clientX,y:e.clientY,time:i}]:this.pinchContacts(p,i).map(e=>({...d,...e}))),f.every(e=>this.arena.participantsOf(e).length===0)?(this.arena.cancelled(f,i),s):p}scrollerTakes(e,t,n,r,i,a){for(let o=Zu(e)?e:null;o!=null&&!(o===t&&a);o=bd(o)){if(Qu(o)&&Uk(o,i?-n:0,i?0:-r))return!0;if(o===t)break}return!1}keepsAxis(e,t){let n=this.registry.get(e);if(n==null||!n.manageStyle)return!1;let r=n.recognizers.filter(e=>e.isEnabled&&!n.unstyled.has(e)),i=r.length>0?iq(r).touchAction:void 0;if(i==null)return!1;let a=V_(i);return t?!a.x:!a.y}pinchContacts(e,t){return[{id:e.ids[0],x:e.x-e.span/2,y:e.y,time:t},{id:e.ids[1],x:e.x+e.span/2,y:e.y,time:t}]}wheelHasTaker(e){return e.takers.some(e=>{let{state:t}=e;return e.isEnabled&&(t===`began`||t===`changed`||t===`possible`&&e.isInvolved())})}latchWheel(){let e=this.doc.defaultView;if(this.stopWheelLatch==null&&e!=null){let t=()=>{let e=this.dropDrivenWheel();e.length>0&&this.arena.cancelled(e,this.arena.now())},n=[bu(e,`wheel`,this.onWheel,{cancels:!0}),bu(e,`blur`,e=>{Zu(e.target)||t()}),bu(e,`visibilitychange`,()=>{this.doc.visibilityState===`hidden`&&t()})];this.stopWheelLatch=()=>{for(let e of n)e()}}}lockClaimedDrags(e,t){for(let n of e){if(this.claimHolds.has(n))continue;let e=this.arena.touches.find(e=>e.id===n);if(e==null||e.pointerType===`touch`||e.scrollType!=null||e.phase===`ended`||e.phase===`cancelled`)continue;let r=new Set;for(let e of this.arena.participantsOf(n))(e.state===`began`||e.state===`changed`)&&e.view?.nodeType===1&&r.add(e.view);if(t.view?.nodeType===1&&r.add(t.view),r.size===0)continue;let i=Od(r,this.doc.defaultView,this.pressSelections.get(n)??[],()=>{this.dragHolds.delete(i)});this.dragHolds.add(i),this.lockedBy.has(n)||this.lockedBy.set(n,i),this.claimHolds.set(n,i)}}releaseClaimedDrags(e){for(let t of e){let e=this.claimHolds.get(t);e!=null&&(this.claimHolds.delete(t),this.lockedBy.get(t)===e&&this.lockedBy.delete(t),e({isCancel:!0}))}}dropDrivenWheel(){let e=this.wheel;if(e==null||e.kind!==`pan`||e.ids.length===0||e.follow?.lifted===!0)return[];let t={...e,ids:[],takers:[]};return delete t.follow,this.wheel=t,this.stopWheelLatch?.(),this.stopWheelLatch=null,e.ids}endWheel(e){let t=this.wheel;if(this.stopWheelLatch?.(),this.stopWheelLatch=null,t==null||(this.wheel=null,t.timer!=null&&this.clock.clearTimeout(t.timer),t.ids.length===0||t.follow?.lifted))return;if(t.follow!=null){let e=t.follow,n=Cq(t.x,e.trueX-e.heldX,e.speedX),r=Cq(t.y,e.trueY-e.heldY,e.speedY);(n!==t.x||r!==t.y)&&(t.x=n,t.y=r,this.arena.moved([{id:t.ids[0],x:n,y:r,time:t.last}]))}let n=t.last+t.endMs,r=e==null?n:Math.max(t.last,Math.min(n,e));this.arena.ended(t.kind===`pan`?[{id:t.ids[0],x:t.x,y:t.y,time:r}]:this.pinchContacts(t,r))}noteSelectingPress(e,t,n,r){!this.lockedBy.has(e)&&Ad(this.doc,t,n,r)&&this.selectingContacts.add(e)}unlockSelection(e,t=!1){let n=this.lockedBy.get(e);n?.({isCancel:t});let r=this.claimHolds.get(e);r!=null&&r!==n&&r({isCancel:t}),this.lockedBy.delete(e),this.claimHolds.delete(e),this.pressSelections.delete(e),this.selectingContacts.delete(e)}addTouchGate(e){return this.touchGates.add(e),()=>{this.touchGates.delete(e)}}keepsPressBetween(e,t){for(let n=e instanceof Node?e:null;n!=null;n=bd(n)){if(!(n instanceof Element))continue;let e=this.registry.get(n)?.consumer;if(e?.keepsTouch!=null&&e.isEnabled?.()!==!1)return!0;if(n===t)break}return!1}fingersDown(){return this.fingerTargets.length}takeEvent(e){return!this.processed.has(e)&&(this.processed.add(e),!0)}onTouchStart=e=>{if(this.endWheel(Eq(e,this.timing)),this.noteFingersDown(e),!this.usesTouchEvents||!this.takeEvent(e))return;this.fingerTargets.length>1&&this.failUnclaimedLoneFingerPans();let t=Eq(e,this.timing),n=[],r=[],i=[],a=[];for(let o of Dq(e.changedTouches)){if(o.touchType===`stylus`)continue;this.cancelledFingers.delete(o.identifier);let s=this.forgetFinger(o.identifier);s!=null&&i.push(s);let c=Zu(o.target)?vq(e,o.target):vq(e),l=this.presentedTarget(c,o.clientX,o.clientY,e.timeStamp),{recognizers:u,consumer:d,consumerElement:f}=this.participantsAt(l,`touch`);if(u.length===0&&d==null){r.push({id:this.nextId++,x:o.clientX,y:o.clientY,time:t,pointerType:`touch`,target:l});continue}let p=this.nextId++;this.touchIds.set(o.identifier,p),Ed(`touch`)&&a.push({id:p,target:l,consumerElement:f}),this.watchTarget(o.identifier,c,u.some(e=>e.isEnabled&&mq(e))||d?.keepsTouch!=null&&d.isEnabled?.()!==!1,d!=null&&d.isEnabled?.()!==!1||u.some(e=>e.isEnabled&&e.claimsTouches)),this.lastFed.set(p,{x:o.clientX,y:o.clientY,time:t}),this.pairTouch(p,{x:o.clientX,y:o.clientY,target:c}),l!==c&&l!=null&&this.retargeted.set(p,{x:o.clientX,y:o.clientY,target:l}),n.push({id:p,x:o.clientX,y:o.clientY,time:t,pointerType:`touch`,target:l,scroll:Wk(l),recognizers:u,consumer:d})}i.length>0&&this.arena.cancelled(i,t),this.arena.began(n);for(let{id:e,target:t,consumerElement:n}of a)this.lockSelection(e,this.arena.participantsOf(e),t,this.arena.consumerOf(e)??null,n);for(let e of r)this.arena.untrackedBegan(e);this.fingerTargets.length>1&&!this.isFingerClaimed()&&this.failUnclaimedLoneFingerPans();let o=vq(e);Zu(o)&&(this.lastTouch={target:o,time:t})};onTouchMove=e=>{if(this.noteFingersDown(e),!this.usesTouchEvents||!this.takeEvent(e))return;this.dropFingersNotDown(e);let t=Eq(e,this.timing),n=[],r=[];for(let i of Dq(e.changedTouches)){let e=this.touchIds.get(i.identifier);e!=null&&(n.push(e),r.push({id:e,x:i.clientX,y:i.clientY,time:t}))}if(r.length!==0){if(!e.cancelable){let e=new Map(r.map(e=>[e.id,e])),i=n.filter(t=>{let n=this.arena.getTouch(t);if(n==null||n.takenByBrowser||this.arena.isClaimed(t)||n.scroll?.allowsNativePan===!1||this.judgedUncancelable.has(t))return!1;this.judgedUncancelable.add(t);let r=e.get(t);if(r==null||n.scroll==null)return!0;let i=r.x-n.startX,a=r.y-n.startY;return Math.abs(i)>=Math.abs(a)?n.scroll.canScroll(i,0):n.scroll.canScroll(0,a)});i.length>0&&this.browserTook(i,t)}this.feedMoves(r.filter(e=>!this.pointerFed.has(e.id)))}};onBlockingTouchMove=e=>{this.cancelIfClaimed(e)};pointerFingerAt(e){let t=null,n=1/0;for(let r of this.arena.touches){if(r.pointerType!==`touch`||r.phase===`ended`||r.phase===`cancelled`||!Zu(r.target)||!Zu(e.target)||!(xd(r.target,e.target)||xd(e.target,r.target)))continue;let i=Math.hypot(r.x-e.clientX,r.y-e.clientY);i{let t=e,n=Eq(t,this.timing);for(let e=this.claimedLifts.length-1;e>=0;e--)n-this.claimedLifts[e].time>Pq&&this.claimedLifts.splice(e,1);if(t.cancelable&&!t.defaultPrevented)for(let e of Dq(t.changedTouches)){let n=this.claimedLifts.findIndex(n=>gq(n,{x:e.clientX,y:e.clientY,target:vq(t,e.target)}));if(n>=0){this.claimedLifts.splice(n,1),this.claimedLifts.length===0&&this.clearClaimedLifts(),t.preventDefault();return}}};cancelIfClaimed(e){if(!e.cancelable||e.defaultPrevented)return;let t=Dq(e.changedTouches);for(let n of t){let t=this.touchIds.get(n.identifier)??(this.usesTouchEvents?void 0:this.pointerFingerAt(n));if(t!=null&&(this.arena.isClaimed(t)||this.arena.consumerOf(t)?.keepsTouch?.(t)===!0||e.touches.length===1&&this.arena.participantsOf(t).some(e=>VK(e).keepsTouch(t)))){e.preventDefault();return}}if(dae(e)){for(let t of this.pointerIds.values())if(this.arena.isClaimed(t)){e.preventDefault();return}}}onTouchEnd=e=>{if(this.releaseArmedPress(),this.noteFingersDown(e),!this.usesTouchEvents||!this.takeEvent(e))return;this.dropFingersNotDown(e);let t=Eq(e,this.timing),n=[],r=[],i=!1;for(let a of Dq(e.changedTouches)){if(this.cancelledFingers.delete(a.identifier)){i=!0;continue}let e=this.touchIds.get(a.identifier),o=e==null?void 0:this.retargeted.get(e),s=e==null?void 0:this.liftStamps.get(e),c=this.forgetFinger(a.identifier);c!=null&&(n.push({id:c,x:s?.x??a.clientX,y:s?.y??a.clientY,time:s?.time??t}),o!=null&&r.push({id:c,landed:o,x:a.clientX,y:a.clientY}))}n.sort((e,t)=>e.time-t.time);let a=vq(e);Zu(a)&&(this.lastTouch={target:a,time:n.length>0?Math.max(...n.map(e=>e.time)):t});let o=n.length>0?this.arena.ended(n):new Map,s=i||Oq(o);for(let e of r)this.clickRetargetedTap(e.landed,e,o.get(e.id),`touch`)&&(s=!0);s&&(e.cancelable&&e.preventDefault(),Vu(this.doc,{takesLateMouse:!0}))};clickRetargetedTap(e,t,n,r){return e==null||n!==`allow`||Math.hypot(t.x-e.x,t.y-e.y)>F_.allowableMovement.value?!1:(this.clickRetargeted(e.target,t.x,t.y,r),!0)}onTouchCancel=e=>{if(this.releaseArmedPress(),this.noteFingersDown(e),!this.usesTouchEvents||!this.takeEvent(e))return;let t=Dq(e.changedTouches),n=t.length>0?t.map(e=>e.identifier):[...this.touchIds.keys()];t.length===0&&this.cancelledFingers.clear();for(let e of n)this.cancelledFingers.delete(e);let r=[];for(let e of n){let t=this.forgetFinger(e);t!=null&&r.push(t)}r.length>0&&this.arena.cancelled(r,Eq(e,this.timing))};onTargetTouchMove=e=>{this.onTouchMove(e),this.cancelIfClaimed(e)};onTargetTouchMovePassive=e=>{this.onTouchMove(e)};onTargetTouchEnd=e=>{this.onTouchEnd(e)};onTargetTouchEndPassive=e=>{this.onTouchEnd(e)};onTargetTouchCancel=e=>{this.onTouchCancel(e)};dropFingersNotDown(e){if(e.touches==null||this.touchIds.size===0&&this.cancelledFingers.size===0)return;let t=new Set;for(let n of Dq(e.touches))t.add(n.identifier);for(let n of Dq(e.changedTouches))t.add(n.identifier);for(let e of[...this.cancelledFingers])t.has(e)||this.cancelledFingers.delete(e);let n=[...this.touchIds.keys()].filter(e=>!t.has(e)),r=[];for(let e of n){let t=this.forgetFinger(e);t!=null&&r.push(t)}r.length>0&&this.arena.cancelled(r,Eq(e,this.timing))}watchTarget(e,t,n,r){if(t==null||typeof t.addEventListener!=`function`)return;this.touchTargets.set(e,t);let i=this.watched.get(t);if(i==null){this.watched.set(t,{count:1,blocking:+!!n,claiming:+!!r}),n&&this.blockingFingers.add(e),r&&this.claimingFingers.add(e),t.addEventListener(`touchmove`,n?this.onTargetTouchMove:this.onTargetTouchMovePassive,{passive:!n}),t.addEventListener(`touchend`,r?this.onTargetTouchEnd:this.onTargetTouchEndPassive,{passive:!r}),t.addEventListener(`touchcancel`,this.onTargetTouchCancel,{passive:!0});return}let a=i.blocking>0,o=i.claiming>0;i.count+=1,n&&(i.blocking+=1,this.blockingFingers.add(e)),r&&(i.claiming+=1,this.claimingFingers.add(e)),this.swapTargetTouchMove(t,a,i.blocking>0),this.swapTargetTouchEnd(t,o,i.claiming>0)}unwatchTarget(e){let t=this.touchTargets.get(e);if(t==null)return;this.touchTargets.delete(e);let n=this.watched.get(t);if(n==null)return;let r=n.blocking>0,i=n.claiming>0;--n.count,this.blockingFingers.delete(e)&&--n.blocking,this.claimingFingers.delete(e)&&--n.claiming,n.count>0?(this.swapTargetTouchMove(t,r,n.blocking>0),this.swapTargetTouchEnd(t,i,n.claiming>0)):(this.watched.delete(t),t.removeEventListener(`touchmove`,r?this.onTargetTouchMove:this.onTargetTouchMovePassive),t.removeEventListener(`touchend`,i?this.onTargetTouchEnd:this.onTargetTouchEndPassive),t.removeEventListener(`touchcancel`,this.onTargetTouchCancel))}swapTargetTouchMove(e,t,n){t!==n&&(e.removeEventListener(`touchmove`,t?this.onTargetTouchMove:this.onTargetTouchMovePassive),e.addEventListener(`touchmove`,n?this.onTargetTouchMove:this.onTargetTouchMovePassive,{passive:!n}))}swapTargetTouchEnd(e,t,n){t!==n&&(e.removeEventListener(`touchend`,t?this.onTargetTouchEnd:this.onTargetTouchEndPassive),e.addEventListener(`touchend`,n?this.onTargetTouchEnd:this.onTargetTouchEndPassive,{passive:!n}))}forgetFinger(e){let t=this.touchIds.get(e);return this.touchIds.delete(e),this.unwatchTarget(e),t!=null&&this.forgetContact(t),t}pairTouch(e,t){for(let[n,r]of this.pendingPointers)if(gq(r,t)){this.pendingPointers.delete(n),this.fingerPointers.set(n,e),this.pointerFed.add(e);return}this.unpairedTouches.set(e,t)}pairPointer(e,t){for(let[n,r]of this.unpairedTouches)if(gq(r,t)){this.unpairedTouches.delete(n),this.fingerPointers.set(e,n),this.pointerFed.add(n);return}this.pendingPointers.set(e,t)}feedMoves(e){let t=e.filter(e=>{let t=this.lastFed.get(e.id);return t!=null&&e.time0&&this.arena.moved(t)}forgetContact(e){this.unlockSelection(e),this.retargeted.delete(e),this.lastFed.delete(e),this.pointerFed.delete(e),this.liftStamps.delete(e),this.judgedUncancelable.delete(e),this.unpairedTouches.delete(e);for(let[t,n]of this.fingerPointers)n===e&&this.fingerPointers.delete(t)}onPointerDown=e=>{if(this.endMissedMouseLift(e),this.endWheel(Eq(e,this.timing)),Uu(this.doc),!_q(e.pointerType))return;if(this.dropCancelledLifts(e),e.pointerType===`touch`&&this.usesTouchEvents){this.pairPointer(e.pointerId,{x:e.clientX,y:e.clientY,target:vq(e)});return}if(e.pointerType===`touch`&&e.isPrimary===!1&&this.failUnclaimedLoneFingerPans(),e.pointerType!==`touch`&&!Wv(e))return;let t=vq(e),n=this.presentedTarget(t,e.clientX,e.clientY,e.timeStamp),{recognizers:r,consumer:i,consumerElement:a}=this.participantsAt(n,e.pointerType);if(r.length===0&&i==null)return;let o=this.nextId++;this.pointerIds.set(e.pointerId,o),this.pointerKinds.set(e.pointerId,e.pointerType),n!==t&&n!=null&&this.retargeted.set(o,{x:e.clientX,y:e.clientY,target:n}),e.pointerType!==`touch`&&this.pressSelections.set(o,kd(this.doc.defaultView)),this.arena.began([{id:o,x:e.clientX,y:e.clientY,time:Eq(e,this.timing),pointerType:e.pointerType,target:n,scroll:Wk(n),recognizers:r,consumer:i}]),e.pointerType===`touch`&&e.isPrimary===!1&&!this.isFingerClaimed()&&this.failUnclaimedLoneFingerPans(),Ed(e.pointerType)&&this.lockSelection(o,this.arena.participantsOf(o),n,this.arena.consumerOf(o)??null,a),e.pointerType!==`touch`&&this.noteSelectingPress(o,e.clientX,e.clientY,t)};onPointerMove=e=>{if(this.endMissedMouseLift(e))return;if(e.pointerType===`touch`&&this.usesTouchEvents){let t=this.fingerPointers.get(e.pointerId);t!=null&&this.feedMoves([{id:t,x:e.clientX,y:e.clientY,time:Eq(e,this.timing),history:kq(e,this.timing)}]);return}let t=this.pointerIds.get(e.pointerId);t!=null&&(e.pointerType===`pen`&&this.notePenDrift(t,e.clientX,e.clientY,Eq(e,this.timing)),this.arena.moved([{id:t,x:e.clientX,y:e.clientY,time:Eq(e,this.timing),history:kq(e,this.timing)}]))};endMissedMouseLift(e){if(e.pointerType!==`mouse`||e.type!==`pointerdown`&&e.buttons&1)return!1;let t=this.pointerIds.get(e.pointerId),n=t==null?void 0:this.arena.getTouch(t);return t==null||n==null?!1:(this.releaseArmedPress(),this.pointerIds.delete(e.pointerId),this.pointerKinds.delete(e.pointerId),this.unlockSelection(t),this.retargeted.delete(t),this.arena.ended([{id:t,x:n.x,y:n.y,time:Eq(e,this.timing)}]),!0)}onPointerUp=e=>{if(this.releaseArmedPress(),e.pointerType===`touch`&&this.usesTouchEvents){let t=this.fingerPointers.get(e.pointerId);t!=null&&this.pointerFed.has(t)&&this.liftStamps.set(t,{x:e.clientX,y:e.clientY,time:Eq(e,this.timing)}),this.fingerPointers.delete(e.pointerId),this.pendingPointers.delete(e.pointerId);return}let t=this.pointerIds.get(e.pointerId);if(t==null){this.cancelledPointers.delete(e.pointerId)&&this.refuseCancelledLift(e);return}this.pointerIds.delete(e.pointerId),this.pointerKinds.delete(e.pointerId);let n=this.claimHolds.get(t);this.unlockSelection(t);let r=this.arena.getTouch(t)?.target,i=e.pointerType===`pen`&&this.isPenHold(t,Eq(e,this.timing));this.driftedPens.delete(t);let a=this.arena.ended([{id:t,x:e.clientX,y:e.clientY,time:Eq(e,this.timing)}]);n?.keepLiftSelection(),i&&(this.lastPenLift={target:r,time:this.arena.now()});let o=this.retargeted.get(t);this.retargeted.delete(t);let s=this.clickRetargetedTap(o,{x:e.clientX,y:e.clientY},a.get(t),e.pointerType);!s&&Oq(a)&&Vu(this.doc,{takesLateMouse:e.pointerType===`touch`}),e.pointerType===`touch`&&(s||Oq(a))&&this.noteClaimedLift(e)};noteClaimedLift(e){this.readsFingersFromPointerEvents()&&(this.isCoarse||this.sendsTouchEvents())&&(this.claimedLifts.push({x:e.clientX,y:e.clientY,target:vq(e),time:Eq(e,this.timing)}),this.claimedLifts.length>Fq&&this.claimedLifts.shift(),this.armClaimedLiftTimer())}armClaimedLiftTimer(){if(this.claimedLiftTimer!=null||this.claimedLifts.length===0)return;let e=this.claimedLifts[0].time+Pq;this.claimedLiftTimer=this.clock.setTimeout(()=>{this.claimedLiftTimer=null;let e=this.clock.now();for(let t=this.claimedLifts.length-1;t>=0;t--)e-this.claimedLifts[t].time>=Pq&&this.claimedLifts.splice(t,1);this.armClaimedLiftTimer()},Math.max(0,e-this.clock.now()))}clearClaimedLifts(){this.claimedLifts.length=0,this.claimedLiftTimer!=null&&(this.clock.clearTimeout(this.claimedLiftTimer),this.claimedLiftTimer=null)}onPointerCancel=e=>{if(this.releaseArmedPress(),e.pointerType===`touch`&&this.usesTouchEvents){let t=this.fingerPointers.get(e.pointerId)??this.touchForCancelledPointer(e);this.fingerPointers.delete(e.pointerId),this.pendingPointers.delete(e.pointerId),t!=null&&(this.pointerFed.delete(t),this.browserTook([t],Eq(e,this.timing)));return}this.cancelledPointers.delete(e.pointerId);let t=this.pointerIds.get(e.pointerId);if(t!=null){this.pointerIds.delete(e.pointerId),this.pointerKinds.delete(e.pointerId),this.unlockSelection(t,!0),this.retargeted.delete(t);let n=this.arena.getTouch(t)?.target,r=e.pointerType===`pen`&&this.isPenHold(t,Eq(e,this.timing));this.driftedPens.delete(t),this.arena.cancelled([t],Eq(e,this.timing)),r&&(this.lastPenLift={target:n,time:this.arena.now()})}};isPenHold(e,t){let n=this.arena.getTouch(e);return n!=null&&!this.driftedPens.has(e)&&t-n.startTime>=I_.minimumPressDuration.value}notePenDrift(e,t,n,r){let i=this.arena.getTouch(e);i!=null&&r-i.startTimeI_.allowableMovement.value&&this.driftedPens.add(e)}touchForCancelledPointer(e){let t=null,n=1/0;for(let r of this.arena.touches){if(r.pointerType!==`touch`||r.phase===`ended`||r.phase===`cancelled`||r.target!==vq(e))continue;let i=Math.hypot(r.x-e.clientX,r.y-e.clientY);in.dispatchEvent(new r.MouseEvent(`click`,{bubbles:!0,cancelable:!0,composed:!0,detail:1,clientX:e.x,clientY:e.y})))}onContextMenu=e=>{for(let t of this.arena.touches)if(this.arena.isClaimed(t.id)||this.arena.consumerOf(t.id)?.holdsContextMenu?.(t.id)===!0){e.preventDefault();return}};ownScroll(e){let t=++this.ownScrollCalls;this.ownedScrolls.set(e,t);let n=this.doc.defaultView;if(n==null)return;this.ownScrollFrames.get(e)?.();let r=0,i=n.requestAnimationFrame(()=>{r=n.requestAnimationFrame(()=>{this.ownScrollFrames.delete(e),this.ownedScrolls.get(e)===t&&this.ownedScrolls.delete(e)})});this.ownScrollFrames.set(e,()=>{n.cancelAnimationFrame(i),r!==0&&n.cancelAnimationFrame(r)})}isOwnScroll(e){return this.ownedScrolls.has(e)}onScroll=e=>{let t=Eq(e,this.timing),n=e.target===this.doc?this.doc:e.target;if(!Zu(n)||this.ownedScrolls.has(n))return;let r=this.lastTouch;r!=null&&t-r.time=R_.slop.value&&i.push(e.id);i.length>0&&this.browserTook(i,t)};noteFingersDown(e){let t=[];for(let n of Dq(e.touches))n.touchType!==`stylus`&&Zu(n.target)&&t.push(n.target);this.fingerTargets=t;for(let e of[...this.fingerListeners])e()}failUnclaimedLoneFingerPans(){for(let e of[...this.arena.involvedRecognizers])uae(e)&&e.state===`possible`&&e.maximumNumberOfTouches===1&&e.trackedTouches.length>0&&e.trackedTouches.every(e=>e.pointerType===`touch`&&!this.arena.isClaimed(e.id))&&e.cancel()}isFingerClaimed(){return this.arena.touches.some(e=>e.pointerType===`touch`&&this.arena.isClaimed(e.id))}onVisibilityChange=()=>{this.doc.visibilityState===`hidden`&&(this.cancelEverything(this.arena.now()),this.releaseArmedPress())};onBlur=()=>{this.cancelEverything(this.arena.now()),this.releaseArmedPress()};sendsTouchEvents(){let e=this.doc.defaultView;return e!=null&&`ontouchstart`in e}readsFingersFromPointerEvents(){let e=this.doc.defaultView;return this.inputMode===`pointer-events`||e!=null&&!(`ontouchstart`in e)}refuseCancelledLift(e){Vu(this.doc,{takesLateMouse:e.pointerType===`touch`}),e.pointerType===`touch`&&this.noteClaimedLift(e)}cancelEverything(e){for(let[e,t]of this.pointerKinds)t!==`mouse`&&this.cancelledPointers.set(e,t);let t=[...this.pointerIds.values()];for(let e of t)this.unlockSelection(e,!0);for(let e of[...this.touchIds.keys()]){this.cancelledFingers.add(e);let n=this.forgetFinger(e);n!=null&&t.push(n)}this.pointerIds.clear(),this.pointerKinds.clear(),this.driftedPens.clear(),this.retargeted.clear(),this.fingerPointers.clear(),this.pendingPointers.clear(),this.unpairedTouches.clear(),this.lastFed.clear(),this.pointerFed.clear(),this.liftStamps.clear(),t.push(...this.dropDrivenWheel()),t.length>0&&this.arena.cancelled(t,e)}}}));function Uq(e,t){let n=0,r=0,i=0;for(let a of e)t?.has(a.id)||(n+=a.x,r+=a.y,i+=1);return i===0?{x:0,y:0}:{x:n/i,y:r/i}}function hae(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Wq(e){return Math.hypot(e.x-e.startX,e.y-e.startY)}var Gq=o((()=>{})),Kq=o((()=>{})),qq,Jq,Yq,Xq=o((()=>{B_(),Gq(),BK(),Kq(),qR(),qq={x:0,y:0},Jq={left:{x:-1,y:0},right:{x:1,y:0},up:{x:0,y:-1},down:{x:0,y:1}},Yq=class extends zK{get kind(){return`pan`}get family(){return`pan`}lockedAxis=null;travelAtBegan=qq;releaseTime=void 0;origin=qq;adjust=qq;raw=qq;offset=qq;firstMove=null;constructor(e={}){super(e),this.minimumNumberOfTouches=e.minimumNumberOfTouches??1,this.maximumNumberOfTouches=e.maximumNumberOfTouches??1/0;let{hysteresis:t}=e;this.hysteresisFor=typeof t==`function`?t:null,this.hysteresis=typeof t==`number`?t:L_.hysteresis.value,this.direction=e.direction??`any`,this.axisRatio=e.axisRatio??1,this.lockAxis=e.lockAxis??!1,this.scrollEdge=e.scrollEdge??!1,this.firstMoveDecides=e.firstMoveDecides??!1,this.tracker=new KR}translation(){return this.locked({x:this.raw.x+this.offset.x,y:this.raw.y+this.offset.y})}setDirection(e){this.direction=e}setTranslation(e){this.offset={x:e.x-this.raw.x,y:e.y-this.raw.y}}totalTranslation(){return this.raw}velocity(){return this.locked(this.tracker.velocity(this.releaseTime))}scrollVelocity(){return this.locked(this.tracker.scrollVelocity(this.releaseTime??this.tracker.lastSample?.time??0))}get nativeTouchBehavior(){if(this.scrollEdge||Jq[this.direction]!=null)return IK;let e=this.direction===`horizontal`||this.direction===`left`||this.direction===`right`;return{panX:this.direction===`vertical`||this.direction===`up`||this.direction===`down`,panY:e,pinchZoom:!0,doubleTapZoom:!1}}acceptsTouch(e){return NK(this.state)&&this.numberOfTouches>=this.maximumNumberOfTouches?!1:super.acceptsTouch(e)}touchesBegan(e,t){if(this.numberOfTouches===e.length){let n=e[0];this.hysteresisFor!=null&&n!=null&&(this.hysteresis=this.hysteresisFor(n)),this.origin=Uq(this.touches.values()),this.adjust=qq,this.raw=qq,this.offset=qq,this.tracker.reset(),this.tracker.add(this.origin.x,this.origin.y,t.time)}else this.rebase(new Set(e.map(e=>e.id)),`added`);this.state===`possible`&&this.numberOfTouches>this.maximumNumberOfTouches&&this.setState(`failed`)}touchesMoved(e,t){if(this.track(t.time),this.state===`possible`){if(this.firstMoveDecides&&this.firstMove==null&&(this.raw.x!==0||this.raw.y!==0)&&(this.firstMove=this.classify(this.raw),this.firstMove!==`begin`)){this.setState(`failed`);return}this.tryBegin()}else NK(this.state)&&this.setState(`changed`)}touchesEnded(e,t){let n=this.numberOfTouches-e.length;if(NK(this.state)){if(ne.id)),`removed`)}else n===0||ne.id)),`removed`)}reset(){this.lockedAxis=null,this.travelAtBegan=qq,this.origin=qq,this.adjust=qq,this.raw=qq,this.offset=qq,this.releaseTime=void 0,this.firstMove=null,this.tracker.reset()}classify(e){if(this.direction===`any`)return`begin`;let t=this.direction===`horizontal`||this.direction===`left`||this.direction===`right`,n=t?e.x:e.y,r=Math.abs(t?e.y:e.x),i=Math.abs(n);if(i>this.axisRatio*r){let e=Jq[this.direction],t=e==null?0:e.x+e.y;return t===0||Math.sign(n)===t?`begin`:`fail`}return r*Math.min(1,this.axisRatio)>i?`fail`:`wait`}tryBegin(){let e=this.numberOfTouches;if(ethis.maximumNumberOfTouches){this.setState(`failed`);return}let t=this.raw;if(Math.max(Math.abs(t.x),Math.abs(t.y))=Math.abs(t.y)?`x`:`y`),this.startFromHere(),this.setState(`began`))}startFromHere(){let e=this.hysteresis,t={x:Math.sign(this.raw.x)*Math.min(Math.abs(this.raw.x),e),y:Math.sign(this.raw.y)*Math.min(Math.abs(this.raw.y),e)};this.travelAtBegan=t,this.offset={x:-t.x,y:-t.y}}keepsTouch(e){let t=this.touches.get(e);if(!this.scrollEdge&&!this.firstMoveDecides||this.state!==`possible`||this.touches.size!==1||t==null||t.pointerType!==`touch`||t.takenByBrowser)return!1;if(this.firstMoveDecides)return this.firstMove===`begin`;let n=this.raw;return this.travelAlongAxis(n)>=5&&this.classify(n)===`begin`&&!this.nativeCanScroll(n.x,n.y)}travelAlongAxis(e){if(this.direction===`any`)return Math.max(Math.abs(e.x),Math.abs(e.y));let t=this.direction===`horizontal`||this.direction===`left`||this.direction===`right`;return Math.abs(t?e.x:e.y)}nativeCanScroll(e,t){for(let n of this.touches.values())if(n.scroll?.canScroll(e,t)===!0)return!0;return!1}track(e){let t=Uq(this.touches.values()),n={x:t.x+this.adjust.x,y:t.y+this.adjust.y};this.tracker.add(n.x,n.y,e),this.raw={x:n.x-this.origin.x,y:n.y-this.origin.y}}rebase(e,t){let n=Uq(this.touches.values()),r=Uq(this.touches.values(),e),[i,a]=t===`added`?[r,n]:[n,r];this.adjust={x:this.adjust.x+i.x-a.x,y:this.adjust.y+i.y-a.y}}locked(e){return this.lockedAxis===`x`?{x:e.x,y:0}:this.lockedAxis===`y`?{x:0,y:e.y}:e}}}));function Zq(e,t){let{axis:n,onPan:r}=t,i=new Yq({name:`pan`,...t.recognizer,direction:n===`x`?`horizontal`:n===`y`?`vertical`:`any`}),a=e=>n===`x`?{x:e.x,y:0}:n===`y`?{x:0,y:e.y}:{x:e.x,y:e.y},o=`touch`;i.addListener(()=>{let e=i.state;if(e===`began`||e===`changed`||e===`ended`||e===`cancelled`){if(e===`began`){let e=i.trackedTouches[0];o=e==null?`touch`:e.scrollType==null?e.pointerType:`scroll`}r({state:e,translation:a(i.translation()),totalTranslation:a(i.totalTranslation()),velocity:e===`cancelled`?{...Qq}:a(i.velocity()),input:o})}});let s=Aq(e.ownerDocument).attach(e,i);return{destroy(){let e=s;s=null,e?.()}}}var Qq,$q=o((()=>{Hq(),Xq(),Qq={x:0,y:0}}));function eJ(e){let t=e*1e3;return t/(1+t)}function tJ(e,t){let n=0;for(let r=1;r=r){let r=-1;if(n>0)r=e.findIndex(e=>e>t+i);else for(let n=e.length-1;n>=0&&r===-1;--n)e[n]0?r>d:r0?e.length-1:0;if(n>0){let n=e.findIndex(e=>e>=t-i);r=n===-1?r:n}else for(let n=e.length-1;n>=0;--n)if(e[n]<=t+i){r=n;break}(n>0?r>d:r{gR()}));function iJ({curve:e,parts:t,requestFrame:n,onPass:r,onFinish:i}){let a=Math.min(oJ,Math.max(0,e.settleTime(xF.x)*1e3)),o=fF(),s=!1,c=r==null,l=t=>e.value(t/1e3),u=Math.ceil(a/1e3*aJ),d=[];for(let e=0;e<=u;e+=1)d.push(Math.min(a,e/aJ*1e3));let f=[...d],p=new Set(t.flatMap(e=>e.bends??[]));for(let e of p)for(let t=0;t=0)){for(let t=0;t<24;t+=1){let t=(n+r)/2;(l(n)-e)*(l(t)-e)<=0?r=t:n=t}f.push((n+r)/2)}}f.sort((e,t)=>e-t);let m=f.map((t,n)=>n===f.length-1?e.to:l(t)),h=f.map(e=>a===0?1:e/a),g=a===0?[]:t.filter(e=>typeof e.element.animate==`function`).map(t=>{let n=t.offset(e.to),r=t.element.animate(m.map((e,r)=>({offset:h[r],translate:`${t.offset(e)-n}px 0px`})),{duration:a,easing:`linear`,fill:`backwards`});return r.startTime=o,r}),_=()=>Math.min(a,Math.max(0,fF()-o))/1e3,v=()=>e.value(_()),y=()=>{let e=v();s=!0;for(let e of g)e.cancel();return e},b=()=>{if(s)return;let t=_();if(!(!c&&r!=null&&(e.value(t)-r.offset)*r.direction>=0&&(c=!0,r.call(),s))){if(t*1e3>=a){s=!0;for(let e of g)e.cancel();i()}else n(b)}};return n(b),{presented:v,velocity:()=>e.velocity(_()),stop:y}}var aJ,oJ,sJ=o((()=>{GF(),aJ=120,oJ=3e3}));function cJ(e){typeof requestAnimationFrame==`function`?requestAnimationFrame(()=>e()):setTimeout(e,16)}function lJ(e,t){if(t!=null){let n=Number.parseFloat(e.style.getPropertyValue(t));return{x:Number.isFinite(n)?n:0,y:0}}let[n=0,r=0]=e.style.getPropertyValue(`translate`).trim().split(/\\s+/).map(e=>Number.parseFloat(e)).map(e=>Number.isFinite(e)?e:0);return{x:n,y:r}}function uJ(e){let t=e.filter(e=>Number.isFinite(e));return t.length,e.length,t.sort((e,t)=>e-t)}function dJ(e,t){let{axis:n,onSettle:r,model:i}=t;t.customProperty;let a=t.flickThreshold??1008,o=uJ(t.snapPoints),s=lJ(e,t.customProperty?.name),c=gF(e,{initial:s,...t.customProperty==null?{}:{customProperty:t.customProperty}}),l=o.length===0?0:nJ({points:o,position:s[n],velocity:0,flickThreshold:a}).index,u=0,d=null,f=!1,p=null,m=null,h=null,g=()=>m?.presented()??c.get(n),_=()=>{if(m==null)return;let e=m.stop();m=null,h=null,c.set({[n]:e},{promote:!1})},v=(i,a)=>{qF(),l=i;let s=++u,d={turn:s,options:a,passed:!1};p=d;let{velocity:v}=a,y=a.spring??kI.settle,b=a.touchRelease===!0,{compositorParts:x}=t;if(x!=null&&c.reducedMotion({touchRelease:b})===`off`){let t=v!=null&&v!==0?v:m?.velocity()??c.getVelocity(n),b=g();_();let S=o[i],C=ym(vm(VP(e,y)),{from:b,to:S,velocity:t}),{onPass:w}=a,T=()=>{if(f||s!==u)return;c.stop(),c.set({[n]:S},{promote:!1});let e=()=>{m=null,h=null,p===d&&(p=null),s===u&&!f&&r(l)};m=iJ({curve:C,parts:x(),requestFrame:cJ,...w==null?{}:{onPass:{...w,call:()=>{d.passed=!0,w.call()}}},onFinish:e}),h=e};return a.start===`next-frame`?cJ(T):T(),null}_();let S=c.animate({[n]:o[i]},{spring:y,...v!=null&&v!==0?{velocity:{[n]:v}}:{}},{touchRelease:b,...a.start==null?{}:{start:a.start}}),C=!1;S.finished.then(e=>{C=!0,p===d&&(p=null),e&&s===u&&!f&&r(l)});let{onPass:w}=a;if(w!=null&&typeof requestAnimationFrame==`function`){let{direction:e}=w,t=r=>{f||s!==u||((c.get(n,r)-w.offset)*e>=0?(d.passed=!0,w.call()):C||requestAnimationFrame(t))};requestAnimationFrame(t)}return S},y=(e,t)=>{e!=null&&v(e.index,{velocity:e.velocity,spring:e.spring,touchRelease:t})},b=Zq(e,{axis:n,recognizer:t.pan,onPan:({state:e,translation:t,totalTranslation:r,velocity:s,input:p})=>{if(f||o.length===0)return;let m={translation:t[n],total:r[n],input:p};if(e===`began`&&(d={start:g(),startIndex:l,input:p,caught:!1},i?.begin?.({start:d.start,...m})===!1)){d=null;return}if(d==null)return;let h={start:d.start,...m,input:d.input};if(e===`began`||e===`changed`){let e=i?.move==null?{offset:d.start+m.translation}:i.move(h);if(e==null)return;d.caught||(d.caught=!0,u+=1,_()),e.spring==null?c.set({[n]:e.offset}):(qF(),c.animate({[n]:e.offset},{spring:e.spring},{at:fJ()}));return}let{startIndex:b,start:x}=d;d=null;let S=h.input===`touch`;if(e===`cancelled`){i?.cancel==null?v(b,{velocity:0,touchRelease:S}):y(i.cancel(h),S);return}let C=s[n];if(i?.release!=null){y(i.release({...h,velocity:C}),S);return}let{index:w}=nJ({points:o,position:g(),velocity:C,flickThreshold:a,start:x});v(w,{velocity:C,touchRelease:S})}});return{settleTo(e,t={}){return f?null:!Number.isInteger(e)||e<0||e>=o.length?(`${e}${o.length}`,null):(d=null,v(e,{velocity:0,...t}))},setSnapPoints(e){if(f)return;let t=(d==null||!d.caught)&&p?.turn===u?p:null,n=t==null?null:o[l],r=d==null?null:o[d.startIndex];if(o=uJ(e),o.length===0){u+=1,d=null,_(),c.stop(),l=0;return}let i=e=>nJ({points:o,position:e,velocity:0,flickThreshold:a}).index;if(t!=null&&n!=null){let{onPass:e,...a}=t.options;v(i(n),{...a,...t.passed?{}:{onPass:e},velocity:0}),d!=null&&(d.startIndex=i(r??d.start))}else l=i(r??g()),d!=null&&(d.startIndex=l)},snapPoints(){return o},animator:c,position:g,finishSettle(){let e=h;m!=null&&e!=null&&(m.stop(),e())},destroy(){f||(f=!0,b.destroy(),_(),c.stop(),c.dispose())}}}var fJ,pJ,mJ=o((()=>{$q(),GF(),GP(),rJ(),Cm(),jI(),sc(),sJ(),fJ=()=>performance.now(),pJ=1008}));function hJ(e){let t=0,n=0,r=0;for(let i of e)t+=i.x,n+=i.y,r+=1;return r===0?{x:0,y:0}:{x:t/r,y:n/r}}var gJ,_J,vJ=o((()=>{B_(),Gq(),BK(),gJ=F_,_J=class extends zK{get kind(){return`tap`}get family(){return`tap`}tapCount=0;isTapInProgress=!1;maxTouchesThisTap=0;firstTapLocation=null;tapStarts=new Map;tapLifts=new Map;constructor(e={}){super(e),this.numberOfTapsRequired=e.numberOfTapsRequired??1,this.numberOfTouchesRequired=e.numberOfTouchesRequired??1,this.allowableMovement=e.allowableMovement??gJ.allowableMovement.value,this.maximumIntervalBetweenTaps=e.maximumIntervalBetweenTaps??gJ.maximumIntervalBetweenTaps.value,this.allowableSeparation=e.allowableSeparation??gJ.allowableSeparation.value,this.maximumTapDuration=e.maximumTapDuration??gJ.maximumTapDuration.value}get isDiscrete(){return!0}get nativeTouchBehavior(){return LK}get completedTaps(){return this.tapCount}isInvolved(){return super.isInvolved()||this.tapCount>0}touchesBegan(e,t){this.isTapInProgress||(this.isTapInProgress=!0,this.tapStarts.clear(),this.tapLifts.clear(),this.maxTouchesThisTap=0,this.clearTimer(),Number.isFinite(this.maximumTapDuration)&&this.setTimer(t.time+this.maximumTapDuration,()=>{this.setState(`failed`)}));for(let t of e)this.tapStarts.set(t.id,{x:t.startX,y:t.startY});this.maxTouchesThisTap=Math.max(this.maxTouchesThisTap,this.numberOfTouches),(this.numberOfTouches>this.numberOfTouchesRequired||this.firstTapLocation!=null&&this.tapStarts.size===this.numberOfTouchesRequired&&hae(hJ(this.tapStarts.values()),this.firstTapLocation)>this.allowableSeparation)&&this.setState(`failed`)}touchesMoved(e){e.some(e=>Wq(e)>this.allowableMovement)&&this.setState(`failed`)}touchesEnded(e,t){if(e.some(e=>Wq(e)>this.allowableMovement))this.setState(`failed`);else{for(let t of e)this.tapLifts.set(t.id,{x:t.x,y:t.y});this.numberOfTouches-e.length>0||(this.isTapInProgress=!1,this.clearTimer(),this.maxTouchesThisTap===this.numberOfTouchesRequired?(this.tapCount+=1,this.firstTapLocation??=hJ(this.tapLifts.values()),this.tapCount>=this.numberOfTapsRequired?this.setState(`ended`):this.setTimer(t.time+this.maximumIntervalBetweenTaps,()=>{this.setState(`failed`)})):this.setState(`failed`))}}reset(){this.tapCount=0,this.isTapInProgress=!1,this.maxTouchesThisTap=0,this.firstTapLocation=null,this.tapStarts.clear(),this.tapLifts.clear()}}}));function yJ(e){CJ.syncingDepth+=1;try{return e()}finally{--CJ.syncingDepth}}function bJ(){return CJ.syncingDepth>0}function xJ(){let e=(0,SJ.useRef)(!1);return b(()=>(e.current=!1,()=>{e.current=!0}),[]),e}var SJ,CJ,wJ=o((()=>{SJ=u(f(),1),x(),Xn(),CJ=Kn(`gestures/gesture-sync/state`,1,()=>({syncingDepth:0}))}));function TJ(e,t){let{arena:n}=VK(e);n==null?t():n.deferResolution(t)}function EJ(e,t,n,r={}){let[i]=(0,DJ.useState)(t),a=(0,DJ.useRef)(n);b(()=>{a.current=n});let{isEnabled:o=!0,manageStyle:s=!0,perEventPointer:c=!1,actionGroup:l=!1}=r,u=xJ();return(0,DJ.useEffect)(()=>i.addListener(e=>{!u.current&&!bJ()&&a.current?.(e)}),[i,u]),b(()=>{yJ(()=>{TJ(i,()=>{i.setEnabled(o)})})},[i,o]),pP(e,e=>{if(!o)return()=>{};let t=Aq(e.ownerDocument).attach(e,i,{manageStyle:s,perEventPointer:c,actionGroup:l});return()=>{yJ(()=>TJ(i,t))}},`${s}:${c}:${o}:${l}`),i}var DJ,OJ=o((()=>{DJ=u(f(),1),x(),Hq(),gP(),wJ(),HK()})),kJ,AJ=o((()=>{kJ={claim:8,hysteresis:25,tracking:{mass:2,stiffness:200,damping:100},settle:{mass:2,stiffness:200,damping:100},openFraction:.5,releaseVelocity:48,confirmInset:29,confirmFraction:.69,slideOutOvershoot:24}}));function jJ({travel:e,velocity:t,openWidth:n,isConfirmed:r,wasConfirmed:i,behavior:a}){return r?`perform`:a===`commit`||i?`closed`:t>=kJ.releaseVelocity?`open`:t<=-kJ.releaseVelocity?`closed`:e>=kJ.openFraction*n?`open`:`closed`}function MJ(e,t){let n=t-kJ.confirmInset;return Math.max(e,e+(n-e)*kJ.confirmFraction)}function NJ(e){return e-kJ.confirmInset}function PJ(e){return e.phase===`resting`||e.phase===`settling`&&e.landing===`resting`}function FJ(e,t){return e*t>0?`leading`:`trailing`}function IJ(e,t){return e===`leading`?t:t===1?-1:1}function LJ(e,t){let n=e.leadMotion;if(n==null)return e.lead;let r=(t-n.start)/1e3;return re-t)}function VJ(e,t){let n=IJ(e.side,e.inlineSign),r=t===`rest`?0:t===`open`?n*e.openWidth:n*zJ(e);return BJ(e).indexOf(r)}function HJ(e,t){let n=BJ(e)[t]??0;return n===0?`rest`:Math.abs(n)===e.openWidth?`open`:`out`}function UJ(){let e=new Map,t=new Map;return{entries:e,entryRef:n=>{let r=t.get(n);return r??(r=t=>{t==null?e.delete(n):e.set(n,t)},t.set(n,r)),r},outer:null,window:null}}function WJ(e){let t=e.outer?.offsetWidth??0;for(let n of e.entries.values())t+=n.offsetWidth;return t}function GJ(e,t,n){let r=e.ownerDocument.defaultView;if(r==null)return()=>{};let i=[bu(r,`pointerdown`,t=>{t.target instanceof Node&&!e.contains(t.target)&&n(`next-frame`)}),bu(r,`scroll`,i=>{let{target:a}=i;if(!(a===r.document||a instanceof Element&&a.contains(e)))return;let o=t();(o==null?null:e.querySelector(`[data-swipe-panel=\"${o}\"]`))?.contains(r.document.activeElement)!==!0&&n()})];return()=>{for(let e of i)e()}}function KJ(e){let t=e.querySelectorAll(`button, a[href], input, [tabindex]:not([tabindex=\"-1\"])`);for(let e of t)if(e.closest(`[data-swipe-panel]`)==null){e.focus();return}let n=e.ownerDocument.activeElement,r=e.ownerDocument.defaultView;r!=null&&n instanceof r.HTMLElement&&n.blur()}function qJ({behavior:e,sides:t,fireOutermost:n,canConfirm:r}){let i=nu({behavior:e,canConfirm:r,fireOutermost:n,sides:t}),[a,o]=(0,JJ.useState)(rY),s=(0,JJ.useRef)(a),c=(0,JJ.useRef)(null),l=(0,JJ.useRef)(null),u=(0,JJ.useRef)(null),d=(0,JJ.useCallback)(e=>{let t=PJ(s.current),n=PJ(e);if(s.current=e,o(e),t!==n){let e=v.current;u.current?.(),u.current=null,e!=null&&(wv(e,n),n&&(u.current=GJ(e,()=>c.current?.side,e=>l.current?.(e))))}},[]),[f]=(0,JJ.useState)(()=>({leading:UJ(),trailing:UJ()})),p=(0,JJ.useRef)(null),m=(0,JJ.useRef)(null),h=(0,JJ.useRef)(null),g=(0,JJ.useRef)(null),_=(0,JJ.useCallback)(()=>PJ(s.current),[]),v=(0,JJ.useRef)(null),[y]=(0,JJ.useState)(()=>{let e=e=>({entry:t=>e.entryRef(t),outer:t=>{e.outer=t},panel:t=>{t?.parentElement!=null&&(v.current=t.parentElement),e.window=t}});return{leading:e(f.leading),trailing:e(f.trailing)}}),x=(0,JJ.useCallback)(()=>h.current?.position()??0,[]),S=(0,JJ.useCallback)(e=>Math.max(0,x()*IJ(e.side,e.inlineSign)),[x]),C=e=>{let t=c.current,n=s.current;if(t==null||n.side!==t.side||n.cover!==i.current.sides[t.side]-1||!i.current.canConfirm(t.side))return 0;let r=e*IJ(t.side,t.inlineSign),a=MJ(t.openWidth,t.rowWidth),o=NJ(t.rowWidth);return o<=a?+(r>=o):Math.min(1,Math.max(0,(r-a)/(o-a)))},w=e=>e?void 0:kJ.settle,T=(0,JJ.useCallback)(e=>{let t=c.current;if(t==null)return;let n=HJ(t,e);n===`out`?s.current.phase===`settling`&&d({cover:s.current.cover,isArmed:!1,phase:`held`,side:t.side}):d(n===`rest`?rY:{cover:null,isArmed:!1,phase:`resting`,side:t.side})},[d]),E=e=>{let t=[{element:e,offset:e=>e}];for(let e of[`leading`,`trailing`]){let n=f[e].window,r=n?.firstElementChild;if(n==null||!(r instanceof HTMLElement))continue;let i=(e,t)=>{let r=parseFloat(n.style.getPropertyValue(e));return Number.isNaN(r)?t:r},a=i(ZJ,0),o=i(QJ,1),s=i($J,0),l=i(eY,0),u=e=>a-o*Math.min(o*e,s),d=c.current,p=d==null||d.side!==e?[]:[o*MJ(d.openWidth,d.rowWidth),o*NJ(d.rowWidth)];t.push({element:n,offset:e=>-e},{element:r,offset:e=>e});let m=Array.from(r.children).filter(e=>e instanceof HTMLElement);m.forEach((e,n)=>{let r=n===m.length-1;t.push({element:e,offset:r?e=>u(e)+l*C(e):u,bends:r?[o*s,...p]:[o*s]})})}return t},D=(0,JJ.useCallback)((e,t,n,r={})=>{let i=h.current;if(i==null)return null;c.current=e,d({cover:r.cover??null,isArmed:!1,landing:n,phase:`settling`,side:e.side});let a=r.cause===`release`,o=`spring`in r?r.spring:kJ.settle;i.setSnapPoints(BJ(e));let s=VJ(e,t);return i.settleTo(s,{spring:o,touchRelease:a,...r.velocity==null?{}:{velocity:r.velocity},...r.onPass==null?{}:{onPass:r.onPass},...r.start==null?{}:{start:r.start}})},[d]),O=(0,JJ.useCallback)((e,t,n)=>{let r=IJ(e.side,e.inlineSign);D(e,`out`,`held`,{...n,onPass:{offset:r*e.rowWidth,direction:r,call:()=>{t()&&h.current?.finishSettle()}}})},[D]),k=(0,JJ.useCallback)((e,t,n={})=>{let r=i.current.sides[e.side]-1;O(e,()=>i.current.fireOutermost(e.side)?!0:(D(e,`rest`,`idle`,{cause:t,...n,cover:r}),!1),{cause:t,...n,cover:r})},[i,D,O]),A=(0,JJ.useCallback)(e=>{let t=c.current;if(!_()||t==null)return;let n=v.current;n!=null&&n.contains(n.ownerDocument.activeElement)&&KJ(n),D(t,`rest`,`idle`,e==null?{}:{start:e})},[_,D]);l.current??=A;let j=(0,JJ.useCallback)((e,t,n)=>{let r=c.current;if(!PJ(s.current)||r==null)return;let i=v.current;i!=null&&i.contains(i.ownerDocument.activeElement)&&KJ(i),t?O(r,()=>(e(),!0),{cause:`other`,start:`next-frame`,cover:n}):(e(),D(r,`rest`,`idle`,{start:`next-frame`,cover:n}))},[D,O]),M=e=>{let t=v.current;if(t==null)return!1;let n=Lk(t)?-1:1,r=Math.abs(e.start)>iY?e.start*n>0?`leading`:`trailing`:FJ(e.total,n),a={inlineSign:n,openWidth:WJ(f[r]),outerWidth:f[r].outer?.offsetWidth??0,rowWidth:t.clientWidth,side:r},o=IJ(r,n),l=f[r].window;l?.style.setProperty(ZJ,`${o*a.openWidth}px`),l?.style.setProperty(QJ,String(o)),l?.style.setProperty($J,`${a.openWidth}px`),l?.style.setProperty(eY,`${o*(a.openWidth-a.outerWidth)}px`),c.current=a,h.current?.setSnapPoints(BJ(a));let u=s.current,d=e.input!==`scroll`&&m.current===r||u.side===r&&(PJ(u)||u.cover===i.current.sides[r]-1);return p.current={baseTravel:0,canConfirm:i.current.canConfirm(r)&&(i.current.sides[r]<2||d),confirmAt:MJ(a.openWidth,a.rowWidth),isArmed:!1,isScroll:e.input===`scroll`,raw:0,held:0,lead:0,leadMotion:null,started:!1,startSign:1,wasConfirmed:!1,layout:a},!0},N=e=>{let t=p.current;if(t==null)return null;let{layout:n}=t,r=IJ(n.side,n.inlineSign);if(!t.started){if(!t.isScroll&&Math.abs(e.total)=t.confirmAt,l=c!==t.isArmed,u=MI(v.current),f=performance.now();if(l){let e=LJ(t,f),r=RJ(t,f);t.lead=c?Math.max(0,NJ(n.rowWidth)-s):0,t.leadMotion=t.isScroll||u!=null?null:{curve:ym(vm(VP(v.current,kJ.tracking)),{from:e,to:t.lead,velocity:r}),start:f},t.leadMotion!=null&&g.current==null&&(g.current=requestAnimationFrame(F)),t.isArmed=c,t.wasConfirmed||=c,d({cover:c?i.current.sides[n.side]-1:null,isArmed:c,phase:`dragging`,side:n.side})}let m=r*(t.isScroll?c?Math.max(o,NJ(n.rowWidth)):o:s+LJ(t,f));return u==null?t.isScroll&&l?{offset:m,spring:kJ.tracking}:{offset:m}:l?(t.dipUntil=f+u.duration,{offset:m,spring:kJ.tracking}):t.dipUntil!=null&&f{g.current!=null&&(cancelAnimationFrame(g.current),g.current=null)},F=()=>{g.current=null;let e=p.current,t=h.current;if(e?.leadMotion==null||t==null)return;let{layout:n,leadMotion:r}=e,i=performance.now(),a=IJ(n.side,n.inlineSign);t.animator.set({x:a*(e.held+LJ(e,i))}),(i-r.start)/1e3{let e=p.current;return p.current=null,P(),e!=null&&e.started&&D(e.layout,`rest`,`idle`,{cause:`release`,spring:w(e.isScroll)}),null},confirmOf:C,release:e=>{let t=p.current;if(p.current=null,P(),t==null||!t.started)return null;let{layout:n}=t,r=IJ(n.side,n.inlineSign),a=e.velocity*r,o=e.input===`touch`?`release`:`other`,{behavior:s}=i.current,c;if(t.isScroll){if(t.isArmed)c=`perform`;else{let{index:e}=nJ({points:s===`commit`?[0]:[0,n.openWidth],position:t.raw,velocity:a,flickThreshold:pJ,start:t.baseTravel});c=e===1?`open`:`closed`}}else c=jJ({behavior:s,isConfirmed:t.isArmed,openWidth:n.openWidth,travel:t.held,velocity:a,wasConfirmed:t.wasConfirmed});let l={velocity:e.velocity,spring:w(t.isScroll)};return c===`perform`?k(n,o,l):c===`open`?D(n,`open`,`resting`,{cause:o,...l}):D(n,`rest`,`idle`,{cause:o,...l}),null},settleParts:E,track:N});b(()=>{let e=v.current;if(e==null)return;let t=dJ(e,{axis:`x`,snapPoints:[0],customProperty:{name:YJ,syntax:``,companion:{name:XJ,syntax:``,map:e=>I.current.confirmOf(e)}},compositorParts:()=>I.current.settleParts(e),onSettle:T,pan:{allowedPointerTypes:[`touch`,`pen`],allowedScrollTypes:[`continuous`],hysteresis:kJ.claim,maximumNumberOfTouches:1,name:`Item.swipe`,selectionLock:Dd,shouldReceiveTouch:(e,t)=>{let n=s.current,{target:r}=t;return m.current=t.scrollType==null&&PJ(n)&&r instanceof Node&&f[n.side].outer?.contains(r)===!0?n.side:null,!0},shouldBegin:t=>{if(Aq(e.ownerDocument).fingersDown()>1||s.current.phase===`held`)return!1;let n=Lk(e)?-1:1;return Math.abs(x())>iY||i.current.sides[FJ(t.totalTranslation().x,n)]>0}},model:{begin:e=>I.current.begin(e),move:e=>I.current.track(e),release:e=>I.current.release(e),cancel:()=>I.current.cancel()}});return h.current=t,()=>{h.current=null,t.destroy(),e.style.removeProperty(YJ),e.style.removeProperty(XJ)}},[T,i,I,f,x]),EJ(v,()=>new _J({name:`item-swipe-dismiss`,allowedPointerTypes:[`touch`],shouldReceiveTouch:(e,t)=>_()&&!(t.target instanceof Element&&t.target.closest(`[data-swipe-panel]`)!=null)}),e=>{e.state===`ended`&&A(`next-frame`)});let L=(0,JJ.useCallback)(e=>{e.key===`Escape`&&_()&&(e.stopPropagation(),A(`next-frame`))},[A,_]);return b(()=>()=>{u.current?.(),u.current=null,g.current!=null&&(cancelAnimationFrame(g.current),g.current=null);let e=v.current;e!=null&&wv(e,!1)},[]),{activateEntry:j,close:A,onKeyDown:L,panelRefs:y,rootRef:v,state:a}}var JJ,YJ,XJ,ZJ,QJ,$J,eY,tY,nY,rY,iY,aY=o((()=>{JJ=u(f(),1),mJ(),Hq(),vJ(),OJ(),au(),x(),Rk(),NI(),GP(),rJ(),Cm(),AJ(),Dv(),Pu(),Zd(),YJ=`--_item-swipe-travel`,XJ=`--_item-swipe-confirm`,ZJ=`--_item-swipe-pin`,QJ=`--_item-swipe-sign`,$J=`--_item-swipe-open`,eY=`--_item-swipe-slide`,tY=kJ.claim,nY=.25,rY={cover:null,isArmed:!1,phase:`idle`,side:`leading`},iY=.5})),oY=c({default:()=>cY});function sY(e,t){let n=e=>e.map(e=>e.id??``).join(`\\0`);return`${n(e)}\\u0001${n(t)}`}function cY({onBridge:e,leading:t,trailing:n,behavior:r,itemKey:i}){let a=e=>{let r=e===`leading`?t:n;return r[r.length-1]},o=qJ({behavior:r,canConfirm:e=>{let t=a(e);return t!=null&&t.isDisabled!==!0},fireOutermost:e=>{let t=a(e);return t==null||t.isDisabled===!0?!1:(t.onActivate({id:t.id??``,itemKey:i}),t.hasRemoval===!0)},sides:{leading:t.length,trailing:n.length}}),{onKeyDown:s}=o;(0,lY.useEffect)(()=>(e?.({onKeyDown:s}),()=>e?.(null)),[e,s]);let c=sY(t,n),l=(0,lY.useRef)(c),{close:u}=o;(0,lY.useEffect)(()=>{l.current!==c&&(l.current=c,u())},[u,c]);let d=PJ(o.state),f=(e,t)=>{if(t.length===0)return null;let n=t[t.length-1],a=r===`commit`,s=d&&o.state.side===e&&!a,c=o.panelRefs[e],{cover:l}=o.state,u=o.state.side===e&&l!=null&&l{let s=t.variant??`accent`,l=t.id??t.label,d=t===n,f=d?c.outer:c.entry(l),p=(0,uY.jsxs)(uY.Fragment,{children:[t.icon,(0,uY.jsx)(`span`,{children:t.label})]}),m=[dY.swipeEntry,fY[s],t.isDisabled===!0&&dY.swipeEntryDisabled,u!=null&&r!==u&&dY.swipeEntryCovered,d&&dY.swipeOuterEntry,d&&(e===`leading`?dY.swipeOuterEntryLeading:dY.swipeOuterEntryTrailing)];return a?(0,uY.jsx)(`span`,{ref:f,...Q(Y(`item-swipe-action`,{variant:s}),C(...m)),children:p},l):(0,uY.jsx)(`button`,{ref:f,type:`button`,\"aria-disabled\":t.isDisabled===!0||void 0,onClick:()=>o.activateEntry(()=>{t.onActivate({id:t.id??``,itemKey:i})},t.hasRemoval===!0,r),...t.isDisabled===!0?YN():null,...Q(Y(`item-swipe-action`,{variant:s}),aS.focusVisible(...m)),children:p},l)};return(0,uY.jsx)(`div`,{ref:c.panel,\"data-swipe-panel\":e,inert:!s||void 0,\"aria-hidden\":a?!0:void 0,className:`x10l6tqk x10no89f x17y0mx6 x7giv3 x1pjcqnp x47corl x145au52`,children:(0,uY.jsx)(`div`,{...Q(Y(`item-swipe-panel`,{side:e}),C(dY.swipeTrack,e===`leading`?dY.swipeTrackLeading:dY.swipeTrackTrailing,u!=null&&dY.swipeTrackCovered,pY[(u==null?n:t[u]).variant??`accent`])),children:t.map((e,t)=>f(e,t))})},e)};return(0,uY.jsxs)(uY.Fragment,{children:[f(`leading`,t),f(`trailing`,n)]})}var lY,uY,dY,fY,pY,mY=o((()=>{lY=u(f(),1),D(),bC(),vr(),ZN(),oS(),aY(),uY=mc(),dY={swipeTrack:{kVAEAm:`x10l6tqk`,kYYq5F:`x10no89f`,kzqmXN:`x75ztot`,kVQacm:`x7giv3`,kaIpWk:`x1pjcqnp`,k1xSpc:`x78zum5`,kHBbk8:`xc8icb0`,kWkggS:`x10xzikg`,k3aq6I:`x1kncwj0`,kgeoSG:`x1cpjm7i`,kEoFBp:`x1hmns74`,kFcpXp:`xxx281p`,kxmVGU:`xy5mcqj`,k5QlbN:`x124lp2h`,km8f2m:`xkk1bqk`,$$css:!0},swipeTrackCovered:{k5QlbN:`xfbg1o9`,$$css:!0},swipeTrackLeading:{kt4wiu:`x1eu7cjg`,kXwgrk:`x15zctf7`,$$css:!0},swipeTrackTrailing:{kLqNvP:`x2hswfz`,$$css:!0},swipeEntry:{k3aq6I:`x1bdunyo`,kmuXW:`x2lah0s`,kfzvcC:`x67bb7w`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kOIVth:`xzye2dw`,k7Eaqz:`x187xtus`,kZKoxP:`x5yr21d`,kg3NbH:`xrrkdod`,kB7OPa:`x9f619`,kogj98:`x1ghz6dp`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kysU6D:`xjyslct`,kkrTdU:`x1ypdohk x16khyan`,kMv6JI:`x9ynric`,kGuDYH:`x141an7d`,k63SB2:`x1e4wzip`,kLWn49:`x1ltkj2j`,khDVqt:`xuxw1ft`,$$css:!0},swipeEntryCovered:{kSiTet:`xg01cxk`,$$css:!0},swipeEntryDisabled:{ku685b:`xj12m9j`,$$css:!0},swipeOuterEntry:{kVAEAm:`x1n2onr6`,k3aq6I:`xj2142y`,$$css:!0},swipeOuterEntryLeading:{k5JduY:`x1s928wv`,kwXMNM:`x1j6awrg`,kSy8m5:`xd54j2p`,kH8aOt:`x8m5ogj`,kkgrvl:`x1ng0ck5`,ks3ayO:`x1pvq41x`,kloYau:`x2q1x1w`,$$css:!0},swipeOuterEntryTrailing:{k5JduY:`x1s928wv`,kwXMNM:`x1j6awrg`,kSy8m5:`xd54j2p`,kc1e00:`x1qyz1mp`,kkgrvl:`x1ng0ck5`,ks3ayO:`x1pvq41x`,kloYau:`x2q1x1w`,$$css:!0}},fY={neutral:{kWkggS:`x17x4s8c`,kMwMTN:`x1tgivj0`,$$css:!0},accent:{kWkggS:`x1ewilqj`,kMwMTN:`x17wrial`,$$css:!0},destructive:{kWkggS:`x1pjz0fi`,kMwMTN:`x1m024r3`,kMzoRj:`xc342km x13rsnn2`,ksu8eU:`xng3xce xx61lck`,kVAM5u:`x1w1tqly`,$$css:!0}},pY={neutral:{kLkRvE:`xgpd5ji`,$$css:!0},accent:{kLkRvE:`x1tzqye7`,$$css:!0},destructive:{kLkRvE:`x177gpuc`,$$css:!0}},cY.displayName=`SwipeActionsLayer`}));function hY({swipe:e,swipeActions:t,isDisabled:n,isDelegate:r,isLinkRoot:i,role:a}){return e==null?t!=null&&((t.leading?.length??0)>0||(t.trailing?.length??0)>0)&&!n&&!r&&!i&&(a==null||xY.has(a)):EK(e)?.serves({role:a??void 0,isDisabled:n,isDelegate:r,isLinkRoot:i})??!1}function gY({as:e=`div`,marker:t,startContent:n,label:r,description:i,endContent:a,align:o=`center`,density:s=`balanced`,labelLines:c,descriptionLines:l,layout:u=`stacked`,onClick:d,interactiveRef:f,href:p,target:m,rel:h,isHighlighted:g=!1,isSelected:_=!1,isDisabled:v=!1,swipe:y,swipeActions:x,swipeBehavior:S,xstyle:w,className:T,style:E,ref:D,role:O,...k}){let A=gO(),j=(0,_Y.use)(_K),M=(0,_Y.use)(hK),N=nO(),P=v?`a`:N,F=(0,_Y.useRef)(null),I=(0,_Y.useRef)(null),L=Hie(F),R=f!=null,z=(0,_Y.useRef)(null),{onClick:B,onPointerDown:V}=rb({containerRef:z,interactiveRef:f??F,disabled:v});OC(`Item`,\"`interactiveRef` is mutually exclusive with `onClick`/`href`. In delegation mode the row only forwards clicks to the referenced control, so `onClick`/`href` are ignored. Drop one of them.\",R&&(d!=null||p!=null));let H=d!=null||p!=null||R,ee=g||_,{target:U,rel:te}=Wie(m,h),W=O!=null,G=typeof e!=`string`&&p!=null,ne=(d!=null||p!=null)&&!W&&!G,re=e=>eb(e,e.currentTarget,p==null?I.current:F.current),ie=(0,_Y.useRef)(null),K=(0,_Y.useCallback)(e=>{ie.current=e},[]),q=y==null?null:EK(y)?.attach({role:O,isDisabled:v,isDelegate:R,isLinkRoot:G},K)??null,ae=y==null?x:void 0,oe=ae?.leading??[],se=ae?.trailing??[],ce=hY({swipe:void 0,swipeActions:ae,isDisabled:v,isDelegate:R,isLinkRoot:G,role:O});OC(`Item`,'`swipeBehavior=\"commit\"` fires no entry on a side with two or more entries. Give a committing side one entry, or use `swipeBehavior=\"reveal\"`.',ce&&S===`commit`&&(oe.length>1||se.length>1)),OC(`Item`,\"`swipe` is set, so the deprecated `swipeActions` and `swipeBehavior` are ignored.\",y!=null&&(x!=null||S!=null));let le=G?{href:v?void 0:p,target:v?void 0:U,rel:v?void 0:te}:null,J=O!=null&&bY.has(O),ue=k[`aria-current`]??(_&&!J?!0:void 0),de=!W&&!G&&(R||p!=null||d!=null),fe=ue===!1||ue===`false`?void 0:ue;b(()=>{let e=f?.current;if(!R||!de||e==null||fe===void 0||e.hasAttribute(`aria-current`))return;let t=String(fe);return e.setAttribute(`aria-current`,t),()=>{e.getAttribute(`aria-current`)===t&&e.removeAttribute(`aria-current`)}});let pe=(0,_Y.useId)(),me=bO(i),he=(0,_Y.useId)(),ge=(0,_Y.use)(pK)&&bO(r)?he:null,_e=typeof r==`string`,ve=typeof i==`string`,ye=c==null?_e?SY.labelSingleTruncate:null:c===1?SY.labelSingleTruncate:SY.labelMultiTruncate,be=u===`inline`&&me,xe=l==null?ve||be?SY.descriptionSingleTruncate:null:l===1?SY.descriptionSingleTruncate:SY.descriptionMultiTruncate,Se=(0,vY.jsxs)(vY.Fragment,{children:[(0,vY.jsx)(`span`,{id:ge??void 0,...C(SY.label,be&&SY.inlineLabel,ye,c!=null&&c>1&&CY.lineClamp(c)),children:r}),me&&(0,vY.jsx)(`span`,{id:pe,...C(SY.description,be&&SY.inlineDescription,xe,l!=null&&l>1&&CY.lineClamp(l)),children:i})]}),Ce=M&&d==null&&p!=null&&!G,we=e=>{if(!v&&!e.target.closest(`button, a, input, select, textarea`)){if(Ce){let t=e.currentTarget,n=t.getBoundingClientRect(),r=e.clientXn.right||e.clientYn.bottom;e.detail>0&&(r||ss(t.ownerDocument.defaultView))&&B(e)}else d?.(e)}},Te=(0,_Y.use)(yK),Ee=(0,vY.jsxs)(vY.Fragment,{children:[bO(n)&&(0,vY.jsx)(`span`,{...{0:{className:`x3psx0u x78zum5`},1:{className:`x3psx0u x78zum5 x6s0dn4 x4jt1l0 xk9ib7f x1xb3ux x1899uy6 x1xcinxp`}}[o===`first-line`|0],children:n}),W||R?(0,vY.jsx)(`span`,{...{0:{className:`x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h`},2:{className:`x78zum5 x98rzlu xeuugli x1yc453h x1q0g3np x6s0dn4 x1lfs0n9`},1:{className:`x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h xbyyjgo`},3:{className:`x78zum5 x98rzlu xeuugli x1yc453h x1q0g3np x6s0dn4 x1lfs0n9 xbyyjgo`}}[!!be<<1|!!v],children:Se}):p!=null&&!G?(0,vY.jsx)(P,{ref:L,...v?{role:`link`,\"aria-disabled\":!0,tabIndex:0}:{href:p,target:U,rel:te},\"aria-current\":ue,...SK,...{0:{className:`xmper1u x16khyan x1heor9g x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h x1hl2dhg x1a2a7pz`},2:{className:`xmper1u x16khyan x1heor9g x78zum5 x98rzlu xeuugli x1yc453h x1hl2dhg x1a2a7pz x1q0g3np x6s0dn4 x1lfs0n9`},1:{className:`xmper1u x16khyan x1heor9g x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h x1hl2dhg x1a2a7pz xbyyjgo`},3:{className:`xmper1u x16khyan x1heor9g x78zum5 x98rzlu xeuugli x1yc453h x1hl2dhg x1a2a7pz x1q0g3np x6s0dn4 x1lfs0n9 xbyyjgo`}}[!!be<<1|!!v],children:Se}):d==null?(0,vY.jsx)(`span`,{...{0:{className:`x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h`},2:{className:`x78zum5 x98rzlu xeuugli x1yc453h x1q0g3np x6s0dn4 x1lfs0n9`},1:{className:`x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h xbyyjgo`},3:{className:`x78zum5 x98rzlu xeuugli x1yc453h x1q0g3np x6s0dn4 x1lfs0n9 xbyyjgo`}}[!!be<<1|!!v],children:Se}):(0,vY.jsx)(`button`,{ref:I,type:`button`,onClick:d,\"aria-current\":ue,\"aria-disabled\":v||void 0,...v?YN():null,...SK,...{0:{className:`xmper1u x16khyan x1heor9g x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h x1a2a7pz`},2:{className:`xmper1u x16khyan x1heor9g x78zum5 x98rzlu xeuugli x1yc453h x1a2a7pz x1q0g3np x6s0dn4 x1lfs0n9`},1:{className:`xmper1u x16khyan x1heor9g x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h x1a2a7pz xbyyjgo`},3:{className:`xmper1u x16khyan x1heor9g x78zum5 x98rzlu xeuugli x1yc453h x1a2a7pz x1q0g3np x6s0dn4 x1lfs0n9 xbyyjgo`}}[!!be<<1|!!v],children:Se}),bO(a)&&(0,vY.jsx)(`span`,{...{0:{className:`x3psx0u x78zum5 xvc5jky`},2:{className:`x3psx0u x78zum5 xvc5jky x6s0dn4 x4jt1l0 xk9ib7f x1xb3ux x1899uy6 x1xcinxp`},1:{className:`x3psx0u x78zum5 xvc5jky xbyyjgo`},3:{className:`x3psx0u x78zum5 xvc5jky x6s0dn4 x4jt1l0 xk9ib7f x1xb3ux x1899uy6 x1xcinxp xbyyjgo`}}[(o===`first-line`)<<1|!!v],children:a}),Te]}),De=gx(D,z),Oe=R||Ce?De:D,ke=R?B:W?d:H?we:void 0,Ae=q!=null||ce?{onKeyDown:e=>ie.current?.onKeyDown(e)}:void 0;return(0,vY.jsxs)(e,{ref:Oe,...k,...Ae,...le,...R?{onPointerDown:EM(k.onPointerDown,V)}:ne&&!v?{onPointerDown:EM(k.onPointerDown,re)}:null,...R?{[ab]:`true`}:void 0,\"aria-selected\":J&&_||void 0,\"aria-current\":de?void 0:ue,\"aria-disabled\":v||void 0,...H?A:void 0,...Q(Y(`item`,{density:s,align:o,highlighted:g?`highlighted`:null,selected:_?`selected`:null,disabled:v?`disabled`:null}),C(R?iS.focusWithin:TK,SY.root,wY[s],o===`start`&&SY.alignStart,o===`first-line`&&SY.alignFirstLine,H&&SY.interactive,H&&(ee?sO.backgroundImage:sO.backgroundColor),H&&dO.cell,H&&ee&&(_?dO.cellOnImage:dO.cellOnImagePressOnly),G&&SY.linkRoot,g&&SY.highlighted,_&&SY.selected,v&&!W&&SY.disabled,q?.rootStyle,ce&&kK.root,w),T,E),role:O,onClick:ke,children:[(0,vY.jsx)(yK,{value:null,children:(0,vY.jsx)(uK,{value:me?pe:null,children:(0,vY.jsx)(fK,{value:ge,children:(0,vY.jsx)(pK,{value:!1,children:(0,vY.jsxs)(hK,{value:!1,children:[bO(t)&&t,bO(t)&&j===t?(0,vY.jsx)(`span`,{...CK,...{0:{className:`x78zum5 x98rzlu xeuugli x1h91t0o xkh2ocl x14kbac9`},1:{className:`x78zum5 x98rzlu xeuugli x1h91t0o x14kbac9 xoi2r2e`}}[o===`first-line`|0],children:Ee}):Ee]})})})})}),q?.layer,ce&&(0,vY.jsx)(_Y.Suspense,{fallback:null,children:(0,vY.jsx)(yY,{onBridge:K,leading:oe,trailing:se,behavior:S??`reveal`})})]})}var _Y,vY,yY,bY,xY,SY,CY,wY,TY=o((()=>{_Y=u(f(),1),D(),xO(),bC(),DM(),Uie(),dK(),mK(),gK(),vK(),bK(),vx(),x(),Gie(),iO(),cb(),MC(),vr(),oS(),Kie(),cO(),hO(),ds(),ZN(),vO(),OK(),Yie(),vY=mc(),rC(),yY=(0,_Y.lazy)(async()=>nC(()=>Promise.resolve().then(()=>(mY(),oY)),[])),bY=new Set([`option`,`tab`,`row`,`gridcell`,`columnheader`,`rowheader`,`treeitem`]),xY=new Set([`listitem`]),SY={root:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kOIVth:`x1txdalj`,\"--_item-inset-inline\":`xw1s368`,kg3NbH:`xaip428`,kVAEAm:`x1n2onr6`,kB7OPa:`x9f619`,k9WMMc:`x1yc453h`,kaIpWk:`xh6dtrn`,$$css:!0},alignStart:{kGNEyG:`x1cy8zhl`,$$css:!0},alignFirstLine:{kGNEyG:`x1pha0wt`,$$css:!0},interactive:{kkrTdU:`x1ypdohk x16khyan`,k1ekBW:`x15406qy`,kIyJzY:`xkvfbh3`,kAMwcw:`xlr8y92`,$$css:!0},highlighted:{kWkggS:`x1lmrjuc`,$$css:!0},selected:{kWkggS:`xgcxg3y`,$$css:!0},disabled:{kkrTdU:`xt0e3qv`,kfzvcC:`x47corl`,$$css:!0},linkRoot:{kMwMTN:`x1heor9g`,kybGjl:`x1hl2dhg`,$$css:!0},inlineLabel:{kmuXW:`x2lah0s`,$$css:!0},inlineDescription:{kmuXW:`xs83m0k`,k7Eaqz:`xeuugli`,$$css:!0},label:{kMwMTN:`x5tbw38`,kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,$$css:!0},labelSingleTruncate:{kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,$$css:!0},labelMultiTruncate:{kVQacm:`xb3r6kr`,k1xSpc:`x104kibb`,kgKLqz:`x1ua5tub`,$$css:!0},description:{kMwMTN:`x1gb3s7i`,kGuDYH:`x141an7d`,kLWn49:`x1ltkj2j`,$$css:!0},descriptionSingleTruncate:{kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,$$css:!0},descriptionMultiTruncate:{kVQacm:`xb3r6kr`,k1xSpc:`x104kibb`,kgKLqz:`x1ua5tub`,$$css:!0}},CY={lineClamp:e=>[{kJFfOR:e==null?e:`x1yhjpo9`,$$css:!0},{\"--x-WebkitLineClamp\":e??void 0}]},wY={compact:{k8WAf4:`xu0wf1k`,$$css:!0},balanced:{k8WAf4:`xce4md1`,$$css:!0},spacious:{k8WAf4:`x8o8v82`,\"--_item-inset-inline\":`x1ytau7y`,$$css:!0}},gY.displayName=`Item`}));function EY(e){if(e!=null)return()=>{lie(e)&&uie(e)}}function DY({label:e,description:t,startContent:n,endContent:r,onClick:i,interactiveRef:a,href:o,target:s,rel:c,isDisabled:l=!1,isSelected:u=!1,itemKey:d,align:f,xstyle:p,className:m,style:h,ref:g,..._}){let v=(0,OY.use)(tG),{swipe:y}=_,b=(0,OY.useMemo)(()=>y==null?void 0:Jie(y,d),[y,d]),x=(0,OY.useRef)(null),S=v!=null,w=v?.reorder,T=w!=null&&d!=null&&(w.options.isReorderable?.(d)??!0),E=T&&r==null,D=_[`aria-label`],O=_[`aria-labelledby`],k=E?f??`center`:void 0,A=w?.session.Handle,j=(0,OY.useMemo)(()=>T&&A!=null&&d!=null?(0,kY.jsx)(A,{label:e,itemKey:d,isDisabled:l,rowLabel:D,rowLabelledBy:O,rowAlign:k}):null,[A,T,l,d,e,k,D,O]),M=(i!=null||o!=null||a!=null)&&!l,N=gx(g,x,KD(M),EY),P=S&&M&&hY({swipe:_.swipe,swipeActions:_.swipeActions,isDisabled:l,isDelegate:a!=null,isLinkRoot:!1,role:_.role}),F=v?.density??`balanced`,I=v?.hasDividers??!1,L=v?.edge??`padded`,R=v?.listStyle??`none`,z=R!==`none`,B=R===`none`?null:v?.marker??R,V=B==null?void 0:v?.task,H=v?.hasMarkerGutter===!0,ee=R===`decimal`&&v?.isOutsideNumberColumns!==!0,U=(0,OY.useMemo)(()=>V==null?B===`disc`||B===`circle`||B===`square`?(0,kY.jsx)(`span`,{className:`xoi2r2e x9f619 x78zum5 x6s0dn4 xl56j7k x2lah0s x12xnipv x1233pnv`,children:(0,kY.jsx)(`span`,{...C(B===`disc`?jY.dot:B===`circle`?jY.circle:jY.square)})}):B==null?null:(0,kY.jsx)(`span`,{...C(jY.number,MY[B],H&&jY.gutterHang)}):(0,kY.jsx)(`span`,{className:`xqcrz7y x78zum5 x6s0dn4 x2lah0s xuhift9`,children:(0,kY.jsx)(nK,{size:`sm`,value:V.isChecked,label:V.label,isLabelHidden:!0,isReadOnly:!0})}),[V,B,H]),te=w&&!j?(0,kY.jsx)(w.session.RowName,{row:x,label:e}):null,W=(0,kY.jsx)(gY,{as:`li`,ref:N,marker:U,startContent:n,label:e,description:t,endContent:j!=null&&!E?(0,kY.jsxs)(kY.Fragment,{children:[r,j]}):r,onClick:i,interactiveRef:a,href:o,target:s,rel:c,isDisabled:l,isSelected:u,align:f,density:F,xstyle:[ee&&AY.numberColumns,R===`decimal`&&!ee&&AY.spanNumberColumns,z&&AY.withCounter,dG.row,I&&AY.withDivider,I&&NY.noRadius,I&&M&&dO.overDividers,M&&$D.layer,M&&S&&AY.bandRaised,P&&dG.raisedSwipeRow,L===`flush`&&AY.edgeFlush,L===`outset`&&AY.edgeOutset,L===`bleed`&&AY.edgeBleed,j&&w?.session.rowStyle,p],...Q(Y(`list-item`),{className:m,style:h}),...aie(d),..._,swipe:b}),G=(0,kY.jsx)(hK,{value:!0,children:W});return(0,kY.jsxs)(kY.Fragment,{children:[(0,kY.jsx)(yK,{value:E?j:null,children:(0,kY.jsx)(pK,{value:j!=null,children:ee?(0,kY.jsx)(_K,{value:U,children:G}):G})}),te]})}var OY,kY,AY,jY,MY,NY,PY=o((()=>{OY=u(f(),1),D(),rG(),cK(),bC(),hO(),TY(),gK(),vK(),mK(),bK(),OK(),vr(),vx(),bG(),oG(),fG(),XD(),eO(),kY=mc(),AY={numberColumns:{k1xSpc:`x78zum5 x1tx5i3l`,kumcoG:`x4w6khx`,kBCFzs:`x1osaytk`,$$css:!0},spanNumberColumns:{kBCFzs:`x1osaytk`,$$css:!0},withCounter:{kAmcRD:`xfrknyr`,$$css:!0},edgeFlush:{\"--_item-inset-inline\":`x1nwg5ib`,$$css:!0},edgeOutset:{keTefX:`xch736x`,k71WvV:`x2gtn1o`,$$css:!0},edgeBleed:{kZCmMZ:`xua885n`,kwRFfy:`x1pyz5s7`,kaIpWk:`x2u8bby`,krdFHd:`x1i0qwsa`,kfmiAY:`xn58dd1`,kVL7Gh:`xmitzzi`,kT0f0o:`x1gz0w9x`,$$css:!0},bandRaised:{kDVEDD:`xx13w5u`,$$css:!0},withDivider:{kt9PQ7:`x92x3c3`,kfdmCh:`x1q0q8m5`,kL6WhQ:`xw8gpjh`,kx8K5S:`x1t1lzn6`,kUOWJa:`x1tadims x1vz82uj`,$$css:!0}},jY={dot:{kzqmXN:`x1v4s8kt`,kZKoxP:`xols6we`,kaIpWk:`x16rqkct`,kWkggS:`x19aspcf`,$$css:!0},circle:{kzqmXN:`x1v4s8kt`,kZKoxP:`xols6we`,kaIpWk:`x16rqkct`,kMzoRj:`xmkeg23`,ksu8eU:`x1y0btm7`,kVAM5u:`xqcx1ss`,kWkggS:`xjbqb8w`,$$css:!0},square:{kzqmXN:`x1v4s8kt`,kZKoxP:`xols6we`,kWkggS:`x19aspcf`,$$css:!0},number:{kSGwAc:`xoi2r2e`,k1xSpc:`x78zum5`,kjj79g:`x13a6bvl`,kmuXW:`x2lah0s`,kMwMTN:`x1tgivj0`,kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,kcqcaj:`xss6m8b`,k7Eaqz:`x1x5mvkz`,kzqmXN:`x14atkfc`,khDVqt:`xuxw1ft`,$$css:!0},decimal:{kgeoSG:`xc2ndz5`,kkpA3r:`x1np0n6a`,$$css:!0},lowerAlpha:{kgeoSG:`x1mls8ih`,kkpA3r:`x1np0n6a`,$$css:!0},lowerRoman:{kgeoSG:`xdaf9gw`,kkpA3r:`x1np0n6a`,$$css:!0},gutterHang:{kzqmXN:`x12xnipv`,kkpA3r:`x46whw4`,kIuGQ2:`xtbmc8j`,$$css:!0}},MY={decimal:jY.decimal,\"lower-alpha\":jY.lowerAlpha,\"lower-roman\":jY.lowerRoman},NY={noRadius:{kaIpWk:`x2u8bby`,$$css:!0}},DY.displayName=`ListItem`}));cK(),tK(),hO(),cO(),PY(),rG(),dK(),vx(),vr(),iT(),Ww({\"@astryx.checkboxList.item.checkbox\":`Checkbox`});var FY={selected:{kWkggS:`xgcxg3y`,$$css:!0}},IY={type:`error`};function LY(e){let t=(0,X.use)(uK),n=(0,X.use)(AG);return(0,Z.jsx)(nK,{...e,\"aria-describedby\":QN(t??void 0,n?.disabledMessageID),status:n?.isInvalid?IY:void 0})}function RY({label:e,\"aria-label\":t,value:n,description:r,endContent:i,isDisabled:a=!1,isLoading:o=!1,isChecked:s,onCheck:c,ref:l,xstyle:u,className:d,style:f,onClick:p,align:m,...h}){let g=nT(),_=(0,X.use)(AG);if(_&&_.value!==void 0&&n===void 0)throw Error(\"CheckboxListItem requires a `value` prop when used inside CheckboxList with a value array.\");let v=typeof e!=`string`,y=(0,X.useId)(),b=v&&t==null,x=t??(v?g(`@astryx.checkboxList.item.checkbox`):e),S=((0,X.use)(tG)?.density??`balanced`)===`compact`?`sm`:`md`,C=(_?.isDisabled??!1)||a,w=_?.isReadOnly??!1,T=o||n!==void 0&&(_?.loadingValues?.includes(n)??!1),E=!1;_&&_.value!==void 0&&n!==void 0?E=_.value.includes(n):s!==void 0&&(E=s);let D=!w&&(_!=null||c!=null),O=(0,X.useRef)(null),k=D||p!=null,A=_?.requiredGroup,j=E===!0,M=!C&&!w,N=gx(O,(0,X.useCallback)(e=>e!=null&&A!=null?A.register(e,{isChecked:j,isEnabled:M}):void 0,[A,j,M])),P=k&&!C,F=w&&p!=null?e=>{p(e),e.stopPropagation()}:p,I=()=>{C||w||T||(_&&_.value!==void 0&&n!==void 0?_.value.includes(n)?_.onChange?.(_.value.filter(e=>e!==n),n):_.onChange?.([..._.value,n],n):c?.(E!==!0))},L=E===!0&&!C&&!w;return(0,Z.jsx)(DY,{...h,..._r({selected:L?`selected`:null}),ref:l,label:b?(0,Z.jsx)(`span`,{id:y,children:e}):e,description:r,endContent:i,align:m,isDisabled:C,interactiveRef:k?O:void 0,\"aria-busy\":T||void 0,xstyle:[P&&pO.checkboxRow,P&&sO.pressedAlpha,L&&FY.selected,u],className:d,style:f,startContent:(0,Z.jsx)(eK,{value:P,children:(0,Z.jsx)(LY,{ref:N,label:x,\"aria-labelledby\":b?y:void 0,isLabelHidden:!0,value:E,onChange:()=>I(),onClick:F,isDisabled:C,isReadOnly:w,isLoading:T,size:S})})})}RY.displayName=`CheckboxListItem`,D(),vr();var zY={root:{k2ei4v:`xtpqe59`,kVhnKS:`x1t7ytsu`,kGJrpR:`x14ydlgx`,kZCmMZ:`x1rey3nv`,kMwMTN:`xv1l7n4`,kHjlTd:`x1mzt3pk`,keTefX:`x1lziwak`,k71WvV:`x14z9mp`,keoZOQ:`xdj266r`,k1K539:`xat24cr`,$$css:!0}};function BY({children:e,cite:t,xstyle:n,className:r,style:i,ref:a,...o}){return(0,Z.jsxs)(`blockquote`,{ref:a,...Q(Y(`blockquote`),C(zY.root,n),r,i),...o,children:[e,bO(t)&&(0,Z.jsx)(`cite`,{className:`x1lliihq xtbrsbv x141an7d x1ltkj2j x1j61x8r`,children:t})]})}BY.displayName=`Blockquote`,CU(),bj(),ys();var VY=new WeakSet;function HY(e){VY.add(e)}function UY(e){return VY.has(e)}var WY={viewportHeight:0,scrollTop:0,scrollHeight:0,startOffset:0,isMeasured:!1,viewportWidth:0,scrollLeft:0,revision:0,layoutRevision:0};function GY(){let e={current:null},t={current:null},n={current:null},r=new Set,i=0,a=WY,o,s=null;function c(e){a=e;for(let e of r)e()}function l(n=!1,o=!1){if(r.size===0)return;let l=e.current,u=t.current;if(l==null||u==null||!l.isConnected)return;if(!n&&!o&&a.isMeasured&&s===l){let e=l.scrollTop,t=i>0?Math.abs(l.scrollLeft):a.scrollLeft;(e!==a.scrollTop||t!==a.scrollLeft)&&c({...a,scrollTop:e,scrollLeft:t});return}let d=l.clientHeight;if(d<=0)return;let f=l.scrollTop,p={viewportHeight:d,scrollTop:f,scrollHeight:l.scrollHeight,startOffset:u.getBoundingClientRect().top-l.getBoundingClientRect().top+f-l.clientTop,isMeasured:!0,viewportWidth:l.clientWidth,scrollLeft:i>0?Math.abs(l.scrollLeft):0,revision:a.revision+(n||o?1:0),layoutRevision:a.layoutRevision+ +!!o};s=l,(n||o||a.viewportHeight!==p.viewportHeight||a.scrollTop!==p.scrollTop||a.scrollHeight!==p.scrollHeight||a.startOffset!==p.startOffset||a.viewportWidth!==p.viewportWidth||a.scrollLeft!==p.scrollLeft||!a.isMeasured)&&c(p)}function u(){let t=e.current;t!=null&&r.size!==0&&o==null&&(o=bU(t,l),l(!0,!0))}function d(e){return r.add(e),u(),()=>{r.delete(e),r.size===0&&(o?.(),o=void 0)}}let f={subscribe:d,subscribeInline(e){i++;let t=d(e);return l(),()=>{i--,t()}},getSnapshot:()=>a,getServerSnapshot:()=>WY};function p(t){if(e.current===t)return;let n=e.current;if(o?.(),o=void 0,e.current=t,n!=null&&queueMicrotask(()=>{n.isConnected||HA(n)}),t!=null)return u(),()=>{e.current===t&&p(null)}}function m(e){t.current=e,l(!0,!0)}function h(e){n.current=e,l(!0,!0)}return{viewport:e,body:t,table:n,geometry:f,setViewport:p,setBody:m,setTable:h,refresh:l}}var KY=_s(`TableRuntimeContext`,1,null);function qY(e,t,n){let r=new Map,i=e.map((e,i)=>{if(!n){let n=t==null?i:typeof t==`function`?t(e):String(e[t]);return{key:n,reactKey:n,identityStatus:`valid`}}if(t==null)return{key:void 0,reactKey:`invalid:${i}`,identityStatus:`missing`};let a;try{a=typeof t==`function`?t(e):e[t]}catch{return{key:void 0,reactKey:`invalid:${i}`,identityStatus:`invalid`}}if(typeof a!=`string`&&(typeof a!=`number`||!Number.isFinite(a)))return{key:void 0,reactKey:`invalid:${i}`,identityStatus:`invalid`};let o=typeof t==`function`?a:String(a);return r.set(o,(r.get(o)??0)+1),{key:o,reactKey:`${typeof o==`number`?`n`:`s`}:${o}`,identityStatus:`valid`}});return n?i.map((e,t)=>e.key!=null&&(r.get(e.key)??0)>1?{...e,identityStatus:`duplicate`,reactKey:`duplicate:${t}`}:e):i}function JY(e){let t=e.find(e=>e.rowModel!==`flat`&&(e.rowModel!=null||e.transformBodyRow!=null||e.transformBodyCell!=null));return{rowModel:t?.rowModel??(t?`custom`:`flat`)}}function YY(e){return Number.isFinite(e)&&e>0}function XY(e){let{rowCount:t,rowHeight:n,viewportHeight:r,scrollTop:i,startOffset:a,isMeasured:o,focusIndex:s}=e,c=t*n;if(!Number.isSafeInteger(t)||t<0||!YY(n)||!YY(r)||!Number.isFinite(c)||!Number.isFinite(a+c)||!Number.isFinite(r/n)||!Number.isFinite(i)||e.scrollHeight!==void 0&&(!Number.isFinite(e.scrollHeight)||e.scrollHeight<0)||!Number.isFinite(a)||a<0)return null;if(t===0)return{segments:[],start:0,end:0,firstVisibleIndex:0,offset:0,totalHeight:0};let l=Math.max(a+c,e.scrollHeight??0),u=Math.max(0,l-r),d=Math.min(u,Math.max(0,i)),f=d-a,p=Math.min(c,Math.max(0,f)),m=Math.min(c,Math.max(0,d+r-a)),h=o?Math.min(t-1,Math.floor(p/n)):0,g=o?f<0?f:p-h*n:0,_=o?Math.max(0,h-4):0,v=o?Math.min(t,Math.max(h,Math.ceil(m/n))+4):Math.min(t,Math.ceil(r/n)+4);return{segments:ZY(t,n,_,v,s),start:_,end:v,firstVisibleIndex:h,offset:g,totalHeight:c}}function ZY(e,t,n,r,i){if(e===0)return[];let a=[{start:n,end:r}];i!==void 0&&Number.isInteger(i)&&i>=0&&i=r)&&(a.push({start:i,end:i+1}),a.sort((e,t)=>e.start-t.start));let o=[];for(let e of a){let t=o[o.length-1];t&&e.start<=t.end?t.end=Math.max(t.end,e.end):e.end>e.start&&o.push({...e})}let s=[],c=0;for(let e of o)e.start>c&&s.push({type:`gap`,start:c,end:e.start,height:(e.start-c)*t}),s.push({type:`rows`,...e}),c=e.end;return c[e,t])),l=c.get(t[r]);if(l===void 0)for(let e=r+1;e=0&&(l=c.get(t[e]),l===void 0);e--);let{offsets:u}=e,d=Math.max(0,s+(u?u[n.length]??0:n.length*a)+(e.trailingContentHeight??0)-o);if(u){let e=u[l??0]??0,t=l===void 0?0:u[l+1]-e,n=Math.min(1,Math.max(0,i));return Math.max(0,Math.min(d,s+e+n*t))}let f=l===void 0?Math.min(0,Math.max(-s,i)):Math.min(Math.max(-s,i),a);return Math.min(d,s+(l??0)*a+f)}var $Y;function eX(e,t){if($Y===void 0&&($Y=typeof OffscreenCanvas>`u`?null:new OffscreenCanvas(1,1).getContext(`2d`)),$Y!=null)return $Y.font=e,$Y.measureText(t).width}function tX(e){return Number.parseFloat(e)||0}x(),bj(),Hf();function nX({keyIndices:e,isActive:t,viewport:n,focusContainer:r}){let[i,a]=(0,X.useState)(),o=(0,X.useRef)(null);If(n,t);let s=i===void 0?void 0:e.get(i);i!==void 0&&s===void 0&&a(void 0);let c=(0,X.useCallback)((e,t)=>{o.current=BA(t??r.current)??o.current,a(e)},[r]),l=(0,X.useCallback)(()=>{o.current=null,a(void 0)},[]);return b(()=>{o.current!=null&&(i===void 0||s===void 0)&&(VA(o.current,n.current,null,{preventScroll:!0}),o.current=null)}),{focusIndex:s,onItemFocus:c,onItemBlur:l}}x();var rX=Object.freeze({viewportHeight:0,scrollTop:0,startOffset:0,isMeasured:!1}),iX=()=>rX,aX=()=>()=>{};function oX(e,t){e.scrollTop=t}function sX({items:e,keys:t,rowCount:n,pitch:r,isEligible:i,canWindow:a,geometry:o,viewport:s,focusContainer:c}){let l=(0,X.useSyncExternalStore)(a?o.subscribe:aX,a?o.getSnapshot:iX,a?o.getServerSnapshot:iX),[u,d]=(0,X.useState)(),f=(0,X.useMemo)(()=>{let e=new Map;if(i)for(let n=0;n=0?l:g!=null&&g.pitch===r?g.geometry:{viewportHeight:r?.viewportHeight??0,scrollTop:0,startOffset:0,isMeasured:!1},v=g!==void 0&&(g.items!==e||g.keys!==t||g.pitch.rowHeight!==r?.rowHeight||g.pitch.viewportHeight!==r?.viewportHeight),y=a&&v&&r&&g?QY({previousKeys:g.keys,keys:t,keyIndices:f,firstVisibleIndex:g.plan.firstVisibleIndex,offset:g.plan.offset<0?g.plan.offset:g.plan.offset/g.pitch.rowHeight*r.rowHeight,rowHeight:r.rowHeight,viewportHeight:_.viewportHeight,startOffset:_.startOffset,trailingContentHeight:Math.max(0,(g.geometry.scrollHeight??0)-g.geometry.startOffset-g.plan.totalHeight)}):void 0,x=u?.pending,S=u?.source===o&&x!==void 0&&x.snapshot.scrollTop===l.scrollTop&&(x.to!==l.scrollTop||x.snapshot===l),C=y??(S?x.to:void 0),w=C??_.scrollTop,T=a&&r?XY({rowCount:n,rowHeight:r.rowHeight,viewportHeight:_.viewportHeight,scrollTop:w,scrollHeight:_.scrollHeight,startOffset:_.startOffset,isMeasured:_.isMeasured,focusIndex:p}):null,E=T!==null,D=T?.start??0,O=T?.end??n,k=r?.rowHeight??0;T!==null&&r!==void 0?(u===void 0||u.source!==o||u.snapshot!==l||g===void 0||g.items!==e||g.keys!==t||g.pitch!==r)&&d({source:o,snapshot:l,window:{items:e,keys:t,pitch:r,geometry:{..._,scrollTop:w},plan:T},pending:y===void 0?S?x:void 0:{snapshot:l,to:y}}):u!==void 0&&d(void 0);let A=(0,X.useMemo)(()=>E?ZY(n,k,D,O,p):n===0?[]:[{type:`rows`,start:0,end:n}],[E,D,O,n,k,p]);return b(()=>{E&&r&&T&&C!==void 0&&s.current&&Math.abs(s.current.scrollTop-C)>.5&&oX(s.current,C)}),{segments:A,plan:T,isWindowed:E,snapshot:l,onItemFocus:m,onItemBlur:h}}Xn();var cX=Wn(`table/virtualization-capability`,1);function lX(e){if(typeof e==`object`&&e&&cX in e)return e[cX]}Xn();var uX=Wn(`table/columns-virtualization-capability`,1);function dX(e){return typeof e==`object`&&e&&uX in e?e[uX]:void 0}function fX(e){let t={};for(let n of Array.isArray(e)?e:e==null?[]:[e]){let e=dX(n);if(lX(n)!=null&&t.rows==null)t.rows=n;else if(e!=null&&t.columns==null)t.columns=e;else return{invalidReason:`virtualization is not a value from useTableRowsVirtualization or useTableColumnsVirtualization, or a virtualization list with at most one of each`}}return t}function pX(e){if(e.getAttribute(`aria-hidden`)===`true`)return;let t=e.getAttribute(`aria-colindex`);return t==null?e.cellIndex:Number(t)-1}function mX(e,t){return Array.from(e.cells).find(e=>pX(e)===t)}x(),MC();var hX=new Set,gX=new Map;function _X(e){return Math.round(e*100)/100}function vX(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e){let e=t.get(n);if(e===void 0||Math.abs(e-r)>.5)return!1}return!0}function yX(e){let t=e.ownerDocument.defaultView;if(t==null)return;let n=e.ownerDocument.createTreeWalker(e,t.NodeFilter.SHOW_TEXT),r=null;for(let e=n.nextNode();e!=null;e=n.nextNode())if(e.textContent?.trim()){r=e.parentElement;break}if(r==null)return;let i=t.getComputedStyle(r);if(i.fontSize===``||i.fontFamily===``)return;let a=[i.fontStyle,i.fontWeight,i.fontSize].filter(e=>e!==``).concat(i.fontFamily).join(` `),o=i.letterSpacing===`normal`?0:tX(i.letterSpacing),s=0;for(let n=r;n!=null&&e.contains(n);n=n.parentElement){let e=n===r?i:t.getComputedStyle(n);s+=tX(e.paddingLeft)+tX(e.paddingRight)+tX(e.borderLeftWidth)+tX(e.borderRightWidth)}return{font:a,spacing:o,chrome:s}}function bX({font:e,spacing:t,chrome:n},r){let i=eX(e,r);if(i!==void 0&&i>0)return Math.ceil(i+t*r.length+n+1)}function xX(e){let t=e.ownerDocument.defaultView;if(t==null)return!1;let n=e.ownerDocument.createTreeWalker(e,t.NodeFilter.SHOW_TEXT),r=e.ownerDocument.createRange();if(typeof r.getBoundingClientRect!=`function`)return!1;for(let i=n.nextNode();i!=null;i=n.nextNode()){r.selectNodeContents(i);let n=r.getBoundingClientRect().width;if(!(n<=0))for(let r=i.parentElement;r!=null&&e.contains(r);r=r.parentElement){if(r.clientWidth<=0)continue;let e=t.getComputedStyle(r);if(n>r.clientWidth-(Number.parseFloat(e.paddingLeft)||0)-(Number.parseFloat(e.paddingRight)||0)+1)return!0}}return!1}var SX=.75,CX=.01;function wX(e,t){for(let n of Array.from(e.cells)){let e=pX(n);if(e!==void 0){if(t.has(e)&&xX(n))return`Mounted row-number content exceeds the column width.`;if(n.clientHeight>0&&n.scrollHeight>n.clientHeight+1)return`Mounted cell content exceeds the declared fixed height.`}}}function TX(e,t){let n=1/0,r=0,i=0,a=0;for(let o of e){let e=o.getBoundingClientRect().height;if(!(e>0))continue;let s=wX(o,t);if(s)return{reason:s};n=Math.min(n,e),r=Math.max(r,e),i+=e,a++}if(a!==0)return r-n>SX?{reason:`Mounted rows have different heights.`}:{pitch:i/a}}function EX(e,t,n,r,i,a,o,s){if(!e.isConnected||!t.isConnected||!n.isConnected||!n.contains(e)||!t.contains(n)||t.clientHeight<=0)return;let c=Array.from(e.rows).filter(e=>e.getAttribute(`aria-hidden`)!==`true`),l=s;for(let e of c){if(o.has(e))continue;let t=e.getBoundingClientRect().height;if(t>0&&Math.abs(t-r)>SX){let e=TX(c,a);if(e===void 0||`reason`in e||Math.abs(e.pitch-r)>SX)return e;for(let e of c)o.add(e);l=!0;break}let n=wX(e,a);if(n)return{reason:n};o.add(e)}if(l){let n=e.getBoundingClientRect().height;if(!YY(n))return;if(Math.abs(n-i)>1||t.scrollHeight>0&&i>t.scrollHeight+1){let e=TX(c,a);return e!==void 0&&(`reason`in e||Math.abs(e.pitch-r)>CX)?e:{reason:`The browser cannot represent the declared body extent or fixed row pitch.`}}}}function DX({capability:e,data:t,keys:n,isAdmitted:r,logicalPositionColumns:i=hX,viewport:a,body:o,table:s,geometry:c}){let[l,u]=(0,X.useState)(),d=lX(e),[f,p]=(0,X.useState)(),m=(0,X.useMemo)(()=>d!==void 0&&f?.declared===d?Object.freeze({...d,rowHeight:f.rowHeight}):d,[d,f]),h=(0,X.useMemo)(()=>m===void 0?void 0:{rowHeight:m.rowHeight,viewportHeight:m.initialViewportHeight},[m]),g=d!==void 0&&XY({rowCount:t.length,rowHeight:d.rowHeight,viewportHeight:d.initialViewportHeight,scrollTop:0,startOffset:0,isMeasured:!1})!==null,_=l?.data===t&&l.keys===n&&l.config===d,v=r&&g&&!_&&n.length===t.length&&t.length>0,[y,x]=(0,X.useState)(gX),S=(0,X.useRef)(new Map),C=(0,X.useRef)(null);kC(`Table`,`${l?.reason} Rendering all rows without fixed constraints.`,_),kC(`Table`,`Rows measure ${_X(m?.rowHeight??0)}px, not rowHeight ${_X(d?.rowHeight??0)}px. Windowing uses the measured height.`,m!==d);let{segments:w,plan:T,isWindowed:E,snapshot:D,onItemFocus:O,onItemBlur:k}=sX({items:t,keys:n,rowCount:t.length,pitch:h,isEligible:g&&r,canWindow:v,geometry:c,viewport:a,focusContainer:o}),A=T?.totalHeight??0,j=D.revision,M=D.layoutRevision;b(()=>{if(!E||!m||!o.current||!a.current||!s.current){C.current=null;return}let e=C.current;(e===null||e.data!==t||e.keys!==n||e.config!==m||e.logicalPositionColumns!==i)&&(e={data:t,keys:n,config:m,logicalPositionColumns:i,checkedRows:new WeakSet,layoutRevision:void 0,isPositionWidthMeasured:!1,totalHeight:NaN},C.current=e);let r=e.layoutRevision!==M;if((r||!e.isPositionWidthMeasured)&&i.size>0){let n=Array.from(o.current.rows).find(e=>e.getAttribute(`aria-hidden`)!==`true`);if(n){e.isPositionWidthMeasured=!0;let r=new Map;for(let e of i){let i=mX(n,e),a=i==null?S.current.get(e):yX(i);i!=null&&a!==void 0&&S.current.set(e,a);let o=a===void 0?y.get(e):bX(a,String(t.length));o!==void 0&&r.set(e,o)}if(!vX(y,r)){x(r);return}}}r&&(e.checkedRows=new WeakSet);let c=r||e.totalHeight!==A;e.layoutRevision=M,e.totalHeight=A;let l=EX(o.current,a.current,s.current,m.rowHeight,A,i,e.checkedRows,c);l!==void 0&&d!==void 0&&(`pitch`in l?p(Math.abs(l.pitch-d.rowHeight)({segments:w,logicalPositionWidths:N,isWindowed:E,isFixedHeight:E,onRowFocus:O,onRowBlur:k}),[w,N,E,O,k])}Xf();var OX=Uf(`TableContext`,1,null);OX.displayName=`TableContext`;var kX=new WeakMap,AX=new WeakMap;function jX(e,t){if(t.size===0)return e;let n=!1,r=e.map((e,r)=>{let i=t.get(r);return i===void 0||AX.get(e)==null||e.width?.type===`pixel`&&i<=e.width.value?e:(n=!0,{...e,width:{type:`pixel`,value:i}})});return n?r:e}function MX(e){return`--_table-logical-extra-${e}`}function NX(e){return AX.get(e)}function PX(e){return e.renderCell==null||kX.get(e)===!0}function FX(e){return e?.minWidth??(e==null?60:120)}function IX(e){let t=0,n=0,r=[];for(let i of e){let e=i.width;if(e?.type===`pixel`)n+=e.value;else{let n=e?.value??1;t+=n,r.push({proportion:n,minWidth:FX(e)})}}let i=0;if(t>0)for(let e of r){let n=e.minWidth*t/e.proportion;n>i&&(i=n)}return{totalProportion:t,pixelTotal:n,maxProportionalSpace:i}}function LX(e){let{totalProportion:t,maxProportionalSpace:n}=IX(e),r=new Map;for(let i of e){let e=i.width;if(e?.type===`pixel`)r.set(i.key,e.value);else{let a=e?.value??1;r.set(i.key,t>0?n*a/t:0)}}return r}var RX=/^[+-]?(?:\\d+\\.?\\d*|\\.\\d+)(?:px|r?em|r?lh|r?ex|r?ch|r?cap|r?ic|vw|vh|vi|vb|vmin|vmax|[sld]v(?:w|h|i|b|min|max)|cq(?:w|h|i|b|min|max)|cm|mm|q|in|pt|pc|%)$/i,zX=/^(?:calc|min|max|clamp|var)\\(/i,BX=/^[+-]?(?:0+\\.?0*|\\.0+)(?:[a-z]+|%)?$/i,VX=/^(\\d+(?:\\.\\d+)?)px$/i;function HX(e,t){let n=`${t}px`;if(e==null)return n;if(typeof e==`number`)return`${Math.max(e,t)}px`;let r=e.trim();if(r===``||BX.test(r))return n;let i=VX.exec(r);return i?`${Math.max(Number(i[1]),t)}px`:RX.test(r)||zX.test(r)?`max(${r}, ${n})`:n}function UX(e){let{totalProportion:t,pixelTotal:n,maxProportionalSpace:r}=IX(e),i=n+r,a=new Map;for(let n of e){let e=n.width,r={};if(e?.type===`pixel`)r.width=`${e.value}px`,r.minWidth=`${e.value}px`;else{let n=e?.value??1;t>0&&(r.width=`${n/t*100}%`),r.minWidth=`${FX(e)}px`}a.set(n.key,{style:r})}return{columns:a,tableMinWidth:i}}function WX(e=1,t){return{type:`proportional`,value:e,minWidth:t?.minWidth??120}}function GX(e){if(e.length===0)return e;let t=XL(e);return t.toUpperCase()+e.slice(t.length)}function KX(e){return e instanceof Date&&Number.isNaN(e.getTime())}function qX(e,t){let n=e[t];return n==null||KX(n)?``:n instanceof Date?n.toISOString():typeof n==`string`||typeof n==`number`||typeof n==`boolean`||typeof n==`bigint`?String(n):``}function JX(e){return e==null?0:typeof e==`string`?e.length:typeof e==`number`||typeof e==`boolean`?String(e).length:0}function YX(e){if(e==null||typeof e!=`string`&&typeof e!=`number`&&typeof e!=`boolean`)return 0;let t=String(e),n=0,r=0;for(let e=0;e<=t.length;e++)e===t.length||t[e]===` `||t[e]===`\t`||t[e]===`\n`?(r>n&&(n=r),r=0):r++;return n}var XX=8;function ZX(e){if(e.length===0)return[];let t=e[0],n=Object.keys(t),r=e.slice(0,Math.min(5,e.length));return n.map(e=>{let t=GX(e).length,n=t,i=t;for(let t of r){let r=JX(t[e]);r>n&&(n=r);let a=YX(t[e]);a>i&&(i=a)}return{key:e,headerLen:t,maxContentLen:n,maxWordLen:i}}).map(e=>{let t=e.maxContentLen<=6?1:e.maxContentLen<=15?2:3,n=Math.max(Math.max(e.headerLen,e.maxWordLen)*XX,60);return{key:e.key,header:GX(e.key),width:WX(t,{minWidth:n})}})}var QX={x139im0d:`x139im0d`,$$css:!0},$X={cell:{kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,ks0D6T:`x1m189uc`,$$css:!0}},eZ={cell:{kVQacm:`xb3r6kr`,kHjlTd:`x1mzt3pk`,kTgw9:`xh6pgkp`,$$css:!0}},tZ={cell:{kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xfl0izk`,kHjlTd:`x1mzt3pk`,kTgw9:`xh6pgkp`,$$css:!0}},nZ={compact:{kZCmMZ:`x5uh4xs`,\"--_table-edge-inline-end\":`x1w6xuo5 xi48f35`,kwRFfy:`xf9a2z1`,$$css:!0},balanced:{kZCmMZ:`x9bi00s`,\"--_table-edge-inline-end\":`x1w6xuo5 xzt5qtd`,kwRFfy:`xf9a2z1`,$$css:!0},spacious:{kZCmMZ:`x18c6q21`,\"--_table-edge-inline-end\":`x1w6xuo5 xty9e4x`,kwRFfy:`xf9a2z1`,$$css:!0}},rZ={cell:{kL6WhQ:`xw8gpjh x1lczva8`,k5JduY:`xjnv0ub`,kwXMNM:`x1ea2at`,kcktkL:`x15skwfs`,k8Iv0R:`x1f4wvdr`,k4zj60:`x2euz0u`,kHSQhd:`x9a7to`,kh0EW9:`x90dban`,kvRJ0G:`x8qyx5`,kloYau:`x1uwli9g`,$$css:!0},panelCell:{kL6WhQ:`x1gu98mf x1lczva8`,$$css:!0},row:{kVAEAm:`xjsxhw0`,$$css:!0}};Xf();var iZ={isBodyRow:!1,parity:null},aZ={isBodyRow:!0,parity:null},oZ={isBodyRow:!0,parity:`odd`},sZ={isBodyRow:!0,parity:`even`};function cZ(e){return e%2==0?oZ:sZ}var lZ=Uf(`TableRowPlacementContext`,1,iZ);lZ.displayName=`TableRowPlacementContext`,D(),vr();var uZ={row:{kWkggS:`xwmxj5m`,\"--table-row-overlay\":`xnrusv5`,$$css:!0},hover:{kWkggS:`xwmxj5m xoevpu5`,\"--table-row-overlay\":`xnrusv5 xc01ov8`,k1ekBW:`x15406qy`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,$$css:!0}},dZ={row:{kWkggS:`x189zj9d`,\"--table-row-overlay\":`xztvxw7`,$$css:!0}},fZ={row:{kWkggS:`xoevpu5`,\"--table-row-overlay\":`xc01ov8`,k1ekBW:`x15406qy`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,$$css:!0}},pZ={row:{kWkggS:`x189zj9d xoevpu5`,\"--table-row-overlay\":`xztvxw7 xc01ov8`,k1ekBW:`x15406qy`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,$$css:!0}};function mZ({children:e,xstyle:t,ref:n,isHeaderRow:r=!1,className:i,style:a,...o}){let s=(0,X.use)(OX),c=(0,X.use)(lZ);if(!s)return(0,Z.jsx)(`tr`,{ref:n,...o,...Q(Y(`table-row`),C(QX,t),i,a),children:e});let l=[];if(!r){let e=o[`data-table-logical-index`];e==null?s.isStriped&&s.hasHover?l.push(pZ.row):s.isStriped?l.push(dZ.row):s.hasHover&&l.push(fZ.row):s.isStriped&&Number(e)%2==1?l.push(s.hasHover?uZ.hover:uZ.row):s.hasHover&&l.push(fZ.row)}return(s.dividers===`rows`||s.dividers===`grid`)&&l.push(rZ.row),t&&l.push(...t),(0,Z.jsx)(`tr`,{ref:n,...o,...Q(Y(`table-row`,{parity:c.isBodyRow&&!r?c.parity:null,striped:s.isStriped&&!r?`striped`:null}),C(QX,...l),i,a),children:e})}mZ.displayName=`TableRow`;function hZ({orientation:e=`horizontal`,label:t,variant:n=`subtle`,isFullBleed:r=!1,xstyle:i,className:a,style:o,ref:s,\"aria-label\":c,\"aria-labelledby\":l,...u}){let d=e===`horizontal`,f=bO(t),p=(0,gZ.useId)(),m=l??(f&&c==null?p:void 0);return(0,_Z.jsxs)(`div`,{ref:s,...u,role:`separator`,\"aria-orientation\":e,\"aria-label\":c,\"aria-labelledby\":m,...Q(Y(`divider`,{variant:n,orientation:e}),C(d?vZ.horizontal:vZ.vertical,r&&(d?bZ.horizontal:bZ.vertical),i),a,o),children:[(0,_Z.jsx)(`div`,{...C(d?yZ.horizontalLine:yZ.verticalLine,yZ[n])}),f&&(0,_Z.jsx)(`div`,{id:p,...{0:{className:`x2lah0s xrrkdod x141an7d x1ltkj2j xv1l7n4`},1:{className:`x2lah0s x141an7d x1ltkj2j xv1l7n4 xnjsko4 x8o8v82`}}[!d|0],children:t}),f&&(0,_Z.jsx)(`div`,{...C(d?yZ.horizontalLine:yZ.verticalLine,yZ[n])})]})}var gZ,_Z,vZ,yZ,bZ,xZ=o((()=>{gZ=u(f(),1),D(),xO(),bC(),vr(),_Z=mc(),vZ={horizontal:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kzqmXN:`xh8yej3`,$$css:!0},vertical:{k1xSpc:`x3nfvp2`,kXwgrk:`xdt5ytf`,kGNEyG:`x6s0dn4`,kZKoxP:`x5yr21d`,$$css:!0}},yZ={horizontalLine:{kZKoxP:`xsyqizj`,kzQI83:`x1iyjqo2`,kmuXW:`xs83m0k`,$$css:!0},verticalLine:{kzqmXN:`xjk4fl7`,kzQI83:`x1iyjqo2`,kmuXW:`xs83m0k`,$$css:!0},subtle:{kWkggS:`x1m4xfpy`,$$css:!0},strong:{kWkggS:`x7njt3n`,$$css:!0}},bZ={horizontal:{keTefX:`xojxgvx`,k71WvV:`x1fcf3bl`,kzqmXN:`xx6qvi6`,$$css:!0},vertical:{keoZOQ:`x1sa9bsh`,k1K539:`x6h7pi7`,kZKoxP:`x12qplqi`,$$css:!0}},hZ.displayName=`Divider`})),SZ=o((()=>{}));function CZ(e){return{gesture:{phase:`idle`},effect:e}}function wZ(e){return e==null?{type:`clear`}:{type:`highlight`,row:e}}function TZ(e){return e!==`mouse`}function EZ(e){return e.x!=null&&e.y!=null}function DZ(e,t){return Math.hypot(t.x-e.x,t.y-e.y)>=IZ}function OZ(e,t){return t.row==null?t.isInMenu||t.isOnTrigger?CZ({type:`settle`,stray:!0,dismiss:!1}):CZ({type:`settle`,stray:!0,dismiss:e===`mouse`}):CZ({type:`act`,row:t.row})}function kZ(e,t){switch(e.phase){case`idle`:return MZ(e,t);case`triggerPress`:return NZ(e,t);case`open`:return PZ(e,t);case`tracking`:return FZ(e,t);case`withdrawn`:return jZ(e,t)}}function AZ(e,t,n=!1){return TZ(e)?{gesture:n?{phase:`withdrawn`,pointerType:e,fromTrigger:!0}:{phase:`withdrawn`,pointerType:e},effect:t==null?{type:`withdraw`}:{type:`withdraw`,clear:!0}}:CZ({type:`settle`,stray:!1,dismiss:!1})}function jZ(e,t){switch(t.type){case`up`:return CZ({type:`settle`,stray:e.fromTrigger!==!0,dismiss:!1});case`cancel`:return CZ({type:`settle`,stray:!1,dismiss:!1});case`down`:case`move`:case`opened`:case`withdraw`:return{gesture:e,effect:RZ}}}function MZ(e,t){return t.type===`down`?t.target===`menu`?{gesture:{phase:`tracking`,pointerType:t.pointerType,origin:`menu`,row:t.row},effect:wZ(t.row)}:t.pointerType===`mouse`?{gesture:{phase:`open`,pointerType:`mouse`,openedAt:t.time},effect:{type:`open`}}:{gesture:{phase:`triggerPress`,pointerType:t.pointerType,startedAt:t.time},effect:RZ}:{gesture:e,effect:RZ}}function NZ(e,t){switch(t.type){case`opened`:return{gesture:{phase:`open`,pointerType:e.pointerType,openedAt:t.time},effect:RZ};case`up`:return CZ({type:`settle`,stray:!1,dismiss:!1});case`cancel`:return CZ({type:`settle`,stray:!1,dismiss:!1});case`withdraw`:return AZ(e.pointerType,null,!0);case`down`:case`move`:return{gesture:e,effect:RZ}}}function PZ(e,t){switch(t.type){case`move`:if(TZ(e.pointerType)&&EZ(t)){let n=e.handoffFrom;return n==null?{gesture:{...e,handoffFrom:{x:t.x,y:t.y}},effect:RZ}:DZ(n,t)?{gesture:{phase:`tracking`,pointerType:e.pointerType,origin:`trigger`,row:t.row},effect:wZ(t.row)}:{gesture:e,effect:RZ}}return t.isInMenu?{gesture:{phase:`tracking`,pointerType:e.pointerType,origin:`trigger`,row:t.row},effect:wZ(t.row)}:{gesture:e,effect:RZ};case`up`:return TZ(e.pointerType)&&EZ(t)||!(t.time-e.openedAt>=300)?CZ({type:`settle`,stray:!0,dismiss:!1}):OZ(e.pointerType,t);case`cancel`:return CZ({type:`settle`,stray:!1,dismiss:!1});case`withdraw`:return AZ(e.pointerType,null);case`down`:case`opened`:return{gesture:e,effect:RZ}}}function FZ(e,t){switch(t.type){case`move`:return t.row===e.row?{gesture:e,effect:RZ}:{gesture:{...e,row:t.row},effect:wZ(t.row)};case`up`:return OZ(e.pointerType,t);case`cancel`:return CZ({type:`settle`,stray:!1,dismiss:!1,...e.row!=null&&TZ(e.pointerType)?{clear:!0}:{}});case`withdraw`:return AZ(e.pointerType,e.row);case`down`:case`opened`:return{gesture:e,effect:RZ}}}var IZ,LZ,RZ,zZ=o((()=>{SZ(),IZ=10,LZ={phase:`idle`},RZ={type:`none`}}));function BZ(e){let t=e,n=null,r=null,i=null,a=null,o=null,s=()=>{n!=null&&(clearTimeout(n),n=null),r=null,i=null,a=null},c=()=>{let e=r;e!=null&&(s(),Nie(),t.onLongPress({x:e.x,y:e.y}))},l=e=>{let t=e==null?void 0:kv(a,e.timeStamp);i!=null&&t!=null&&t>=i&&c()},u=(e,l,u)=>{if(t.disabled===!0)return;s();let d=t.delayMs??VZ;r={x:e.x,y:e.y},o=l??null;let f=u?.clock??null,p=u==null?null:u.at+d;a=f,i=p;let m=f==null||p==null?d:Math.min(d,Math.max(0,p-f.now())),h=e=>{n=null,e&&f!=null&&p!=null&&f.now()>p?n=setTimeout(()=>h(!1),0):c()};n=setTimeout(()=>h(!0),m)},d=e=>{let n=r;if(n==null)return!1;let i=o?.moveCancelPx??t.moveCancelPx??HZ;return Math.abs(e.x-n.x)>i||Math.abs(e.y-n.y)>i?(s(),!1):!0};return{start(e,t){u(e,t,void 0)},touchStart(e){if(t.disabled===!0)return;if(e.touches.length!==1){l(e),s();return}let n=e.touches[0],r=Ov(e),i=kv(r,e.timeStamp);u({x:n.clientX,y:n.clientY},void 0,r==null||i==null?void 0:{at:i,clock:r})},touchMove(e){if(r==null||(l(e),r==null))return;if(e.touches.length!==1){s();return}let t=e.touches[0];d({x:t.clientX,y:t.clientY})},touchEnd(e){l(e),s()},moveTo:d,cancel:s,isPending:()=>r!=null,setOptions(e){t=e}}}var VZ,HZ,UZ=o((()=>{P_(),jv(),ZG(),VZ=500,HZ=10}));function WZ(e){let{start:t,...n}=GZ(e),r=(0,KZ.useCallback)(e=>t(e),[t]);return{...n,start:r}}function GZ(e){let[t]=(0,KZ.useState)(()=>BZ(e));return b(()=>{t.setOptions(e)}),(0,KZ.useEffect)(()=>t.cancel,[t]),{onTouchStart:t.touchStart,onTouchMove:t.touchMove,onTouchEnd:t.touchEnd,onTouchCancel:t.touchEnd,start:t.start,moveTo:t.moveTo,cancel:t.cancel}}var KZ,qZ=o((()=>{KZ=u(f(),1),UZ(),x()}));function JZ(e){let{intervalMs:t,immediate:n=!1,catchUp:r=!1}=e,i=e.now??(()=>performance.now()),a=null,o=0,s=0,c=()=>{a!=null&&(clearInterval(a),a=null)},l=n=>{let a=e.step();if(a===0){c();return}let l=1;if(r&&n){let e=Math.floor((i()-o)/t);l=Math.max(1,Math.min(2,e-s)),s=Math.max(s+l,e)}e.apply(a*l)===0&&c()};return{update(){e.step()===0?c():a??(o=i(),s=0,a=setInterval(()=>l(!0),t),n&&l(!1))},stop:c,get isRunning(){return a!=null}}}var YZ=o((()=>{}));function XZ(e){e.setAttribute(eQ,``)}function ZZ(e){e.removeAttribute(eQ)}function QZ(e){e.style.setProperty(tQ,`transparent`)}function $Z(e){e.style.removeProperty(tQ)}var eQ,tQ,nQ,rQ,iQ=o((()=>{G(),eQ=`data-astryx-menu-press-lit`,tQ=`--_menu-row-active-paint`,k[`--color-overlay-pressed`],k[`--color-overlay-pressed`],nQ={row:{\"--_menu-row-focus-paint\":`x1ar3rj9`,\"--_menu-row-active-paint\":`xcukuoe`,$$css:!0}},rQ=nQ.row}));function aQ(){return CQ}function oQ(e,t){return t?{x:e.clientX,y:e.clientY}:{}}function sQ(e){return e===`mouse`||e===`touch`||e===`pen`?e:null}function cQ(e,t){if(e==null)return null;let n=Array.from(e);return n.some(e=>e.identifier===t)?t:n.length===1?n[0].identifier:null}function lQ(e){return e.matches(xQ)}function uQ(e){let t=e;for(;;){let e=t.parentElement?.closest(hQ)??dQ(t);if(e==null||e===t)return t;t=e}}function dQ(e){let t=e.getAttribute(gQ);if(!t)return null;let n=e.ownerDocument.getElementById(t);return n?.matches(hQ)===!0?n:null}function fQ(e,t){if(t.contains(e))return!0;let n=e.closest(hQ);return n!=null&&uQ(n)===t}function pQ(e){let{touchModel:t,...n}=e,r={...n,touchModel:n.longPressDelayMs===void 0?`uikit`:`pointer`,isInScrollView:G_},i=nu(r);If(r.menuRef);let a=(0,mQ.useRef)(LZ),o=(0,mQ.useRef)(null),s=(0,mQ.useRef)(null),c=(0,mQ.useRef)(null),l=(0,mQ.useRef)(null),u=(0,mQ.useRef)(`plain`),d=(0,mQ.useRef)(null),f=(0,mQ.useRef)(null),[p]=(0,mQ.useState)(()=>JZ({intervalMs:bQ,immediate:!0,step:()=>(f.current?.direction??0)*yQ,apply:e=>{let t=f.current;if(t==null)return 0;let n=t.scroller.scrollTop;t.scroller.scrollTop=n+e;let r=t.scroller.scrollTop-n;return r===0?(f.current=null,0):(t.reread(),r)}})),m=(0,mQ.useRef)(null),h=(0,mQ.useRef)(null),g=(0,mQ.useRef)(null),_=(0,mQ.useCallback)(()=>i.current.menuRef.current?.ownerDocument??i.current.triggerRef?.current?.ownerDocument??document,[i]),v=(0,mQ.useCallback)(e=>{let{menuRef:t,triggerRef:n,itemSelector:r,hitTest:a}=i.current,o=t.current,s=_(),c;if(a!=null)c=a(e.clientX,e.clientY);else if(typeof s.elementFromPoint==`function`){let t=o?.getRootNode(),n=t!=null&&t!==s&&typeof t.elementFromPoint==`function`?t:s;c=n.elementFromPoint(e.clientX,e.clientY),dA(c)&&typeof n.elementsFromPoint==`function`&&(c=n.elementsFromPoint(e.clientX,e.clientY).find(e=>!dA(e))??null)}else c=e.target instanceof Element?e.target:null;let l=o==null?null:uQ(o),u=l!=null&&c!=null&&fQ(c,l),d=n?.current??null,f=d!=null&&c!=null&&d.contains(c),p=null;return u&&c!=null&&(p=c.closest(r),p!=null&&!fQ(p,l)&&(p=null)),{row:p,isInMenu:u,isOnTrigger:f}},[_,i]),y=(0,mQ.useCallback)(()=>{p.stop(),f.current=null},[p]),b=(0,mQ.useRef)(null),x=(0,mQ.useRef)(null),S=(0,mQ.useCallback)(()=>{l.current?.cancel(),b.current!=null&&(ZZ(b.current),b.current=null),x.current!=null&&($Z(x.current),x.current=null),d.current?.(),d.current=null,y(),c.current?.(),c.current=null,o.current=null,m.current=null,a.current=LZ},[y]),C=(0,mQ.useCallback)(e=>{let t=a.current,n=t.phase!==`idle`&&t.pointerType!==`mouse`,r=n?e:null;b.current!==r&&(b.current!=null&&ZZ(b.current),b.current=r,r!=null&&XZ(r));let{onHighlight:o,menuRef:s}=i.current,c=n?s.current:null;if(x.current!==c&&(x.current!=null&&$Z(x.current),x.current=c,c!=null&&QZ(c)),o!=null){o(e);return}let l=e==null?s.current:lQ(e)?e:e.querySelector(SQ);l!=null&&l!==_().activeElement&&GA(l,{preventScroll:!0})},[_,i]),w=(0,mQ.useCallback)((e,t)=>{Wu(()=>{let{onActivate:n}=i.current;CQ=!0;try{if(n!=null){n(e,t);return}e.dispatchEvent(new MouseEvent(`click`,{bubbles:!0,cancelable:!0,composed:!0,detail:0,button:t.button,clientX:t.clientX,clientY:t.clientY,screenX:t.screenX,screenY:t.screenY,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,metaKey:t.metaKey}))}finally{CQ=!1}})},[i]),T=(0,mQ.useCallback)((e,t,n)=>{let r=_();switch(e.type){case`none`:return;case`open`:{let e=t.phase===`open`?t.pointerType:`mouse`;h.current=Sp(),(i.current.onTriggerPress?.(e)??!1)||S();return}case`highlight`:C(e.row);return;case`clear`:C(null);return;case`act`:S(),Vu(r,{staysInstalled:!0,cancelsTouchEnd:n?.pointerType===`touch`,touchIdentifier:s.current??void 0}),n!=null&&w(e.row,n);return;case`withdraw`:l.current?.cancel(),y(),d.current?.(),d.current=null,e.clear===!0&&C(null);return;case`settle`:e.clear===!0&&C(null),S(),e.stray&&Vu(r,{staysInstalled:!0,cancelsTouchEnd:n?.pointerType===`touch`,touchIdentifier:s.current??void 0}),e.dismiss&&i.current.onDismiss?.();return}},[w,S,_,C,i,y]),E=(0,mQ.useCallback)((e,t)=>{let n=kZ(a.current,e);a.current=n.gesture,T(n.effect,n.gesture,t)},[T]),D=nu(E),O=(0,mQ.useCallback)(()=>{let{getScroller:e,menuRef:t}=i.current;if(e!=null)return e();let n=t.current;return n==null?null:n.scrollHeight>n.clientHeight+1?n:null},[i]),k=(0,mQ.useCallback)(e=>{if(a.current.phase!==`tracking`){y();return}let t=O();if(t==null){y();return}let n=t.getBoundingClientRect();if(n.height<=0){y();return}let r=0;e.clientY<=n.top+24?r=-1:e.clientY>=n.bottom-24&&(r=1),r===0?y():f.current?.direction!==r&&(y(),f.current={scroller:t,direction:r,reread:()=>{let e=m.current;if(e!=null){let t=v(e);E({type:`move`,row:t.row,isInMenu:t.isInMenu,time:Date.now()},e)}}},p.update())},[p,O,v,E,y]),A=(0,mQ.useCallback)(e=>{c.current?.();let t=_(),n=t.defaultView;o.current=e,s.current=null;let r=null;n!=null&&(r=bu(n,`touchstart`,t=>{r?.(),r=null,s.current=cQ(t.changedTouches,e)}));let u=e=>{if(e.pointerId!==o.current)return;if(m.current=e,a.current.phase===`triggerPress`){l.current?.moveTo({x:e.clientX,y:e.clientY})===!1&&E({type:`cancel`});return}let t=v(e);E({type:`move`,row:t.row,isInMenu:t.isInMenu,time:Date.now(),...oQ(e,i.current.touchModel===`uikit`)},e),k(e)},d=e=>{if(e.pointerId!==o.current)return;let t=v(e);E({type:`up`,row:t.row,isInMenu:t.isInMenu,isOnTrigger:t.isOnTrigger,time:Date.now(),...oQ(e,i.current.touchModel===`uikit`)},e)},f=e=>{e.pointerId===o.current&&E({type:`cancel`})},p=e=>{a.current.phase===`withdrawn`?E({type:`cancel`}):e.pointerId!==o.current&&(g.current=e.pointerId,E({type:`cancel`}))},h=()=>{E({type:`withdraw`})};t.addEventListener(`pointermove`,u,!0),t.addEventListener(`pointerup`,d,!0),t.addEventListener(`pointercancel`,f,!0),t.addEventListener(`pointerdown`,p,!0),n?.addEventListener(`blur`,h),c.current=()=>{r?.(),t.removeEventListener(`pointermove`,u,!0),t.removeEventListener(`pointerup`,d,!0),t.removeEventListener(`pointercancel`,f,!0),t.removeEventListener(`pointerdown`,p,!0),n?.removeEventListener(`blur`,h)}},[_,i,v,E,k]),j=nu((0,mQ.useCallback)(()=>{d.current?.();let e=_(),t=e=>{e.cancelable&&e.preventDefault()};e.addEventListener(`touchmove`,t,{passive:!1,capture:!0}),d.current=()=>{e.removeEventListener(`touchmove`,t,!0)}},[_])),M=nu(A),N=(0,mQ.useRef)(null),[P]=(0,mQ.useState)(()=>({optionsRef:i,gestureRef:a,setTriggerGesture:e=>{h.current=e},setHoldDetectors:e=>{N.current=e,l.current=u.current===`scroller`?e.scroller:e.plain},startHold:(e,t,n)=>{u.current=e;let r=N.current;if(r==null)return;let i=e===`scroller`?r.scroller:r.plain;l.current=i,i.start(t,n)},setLastPointerEvent:e=>{m.current=e},takeIgnoredPointer:e=>e===g.current&&(g.current=null,!0),installTouchMovePreventer:()=>j.current(),step:(e,t)=>D.current(e,t),attach:e=>M.current(e)})),F=(0,mQ.useCallback)(e=>{let{menuRef:t,isEnabled:n=!0}=i.current,r=t.current;if(!n||r==null)return;if(e.pointerId===g.current){g.current=null;return}if(a.current.phase!==`idle`){E({type:`cancel`});return}let o=sQ(e.pointerType);if(o==null||o===`mouse`&&e.button!==0||e.target?.closest(hQ)!==r)return;o!==`mouse`&&e.preventDefault();let s=e.nativeEvent;A(s.pointerId),m.current=s;let c=v(s);E({type:`down`,target:`menu`,pointerType:o,row:c.row,time:Date.now()},s)},[A,i,v,E]),I=(0,mQ.useCallback)(()=>h.current!=null&&h.current===Sp(),[]),L=(0,mQ.useCallback)(()=>{S()},[S]);(0,mQ.useEffect)(()=>(Sp(),()=>{S()}),[S]);let R=(0,mQ.useMemo)(()=>({menuProps:{onPointerDown:F,[fv]:``},isTriggerClickFromPress:I,cancel:L}),[F,I,L]),z=P,B=(0,mQ.useCallback)(()=>{let e=z.gestureRef.current;e.phase===`triggerPress`&&(z.setTriggerGesture(Sp()),z.optionsRef.current.onTriggerPress?.(e.pointerType)??!1?(z.installTouchMovePreventer(),z.step({type:`opened`,time:Date.now()})):z.step({type:`cancel`}))},[z]),V=r.touchModel===`uikit`,H=r.longPressDelayMs??_Q,ee=GZ({onLongPress:B,delayMs:H}),U=GZ({onLongPress:B,delayMs:V?150:H,...V?{moveCancelPx:13}:{}});z.setHoldDetectors({plain:ee,scroller:U});let te=(0,mQ.useCallback)(e=>{let{isEnabled:t=!0}=z.optionsRef.current;if(z.takeIgnoredPointer(e.pointerId)||!t||z.gestureRef.current.phase!==`idle`)return;let n=sQ(e.pointerType);if(n==null||e.button!==0||n===`mouse`&&e.ctrlKey)return;let r=e.nativeEvent,i={type:`down`,target:`trigger`,pointerType:n,row:null,time:Date.now()},a=n!==`mouse`&&z.optionsRef.current.touchModel===`uikit`,o=a&&(z.optionsRef.current.isInScrollView?.(e.currentTarget)??!1);a&&!o?(e.preventDefault(),z.attach(r.pointerId),z.setLastPointerEvent(r),z.step(i,r),B()):(z.attach(r.pointerId),z.setLastPointerEvent(r),n!==`mouse`&&z.startHold(o?`scroller`:`plain`,{x:r.clientX,y:r.clientY},vQ),z.step(i,r))},[z,B]),W=(0,mQ.useCallback)(e=>{let t=z.gestureRef.current;t.phase!==`idle`&&t.pointerType!==`mouse`&&e.preventDefault()},[z]),G=(0,mQ.useMemo)(()=>({onPointerDown:te,onContextMenu:W}),[te,W]);return(0,mQ.useMemo)(()=>({...R,triggerProps:G}),[R,G])}var mQ,hQ,gQ,_Q,vQ,yQ,bQ,xQ,SQ,CQ,wQ=o((()=>{mQ=u(f(),1),Pp(),au(),AA(),zZ(),pv(),qZ(),P_(),N_(),J_(),YZ(),Pu(),bj(),Hf(),iQ(),Xu(),hQ=`[${fv}]`,gQ=`data-astryx-menu-press-surface`,_Q=500,vQ={moveCancelPx:13},yQ=6,bQ=16,xQ=`[tabindex], a[href], button, input, select, textarea, [contenteditable]`,SQ=`a[href], button, [tabindex]`,CQ=!1}));function TQ(e){return e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.button!==0}function EQ(e,t){e.dispatchEvent(new MouseEvent(`click`,{bubbles:!0,cancelable:!0,composed:!0,metaKey:t.metaKey,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey}))}function DQ(e){e.preventDefault()}var OQ,kQ,AQ,jQ,MQ=o((()=>{OQ=new Set([`menuitem`,`menuitemradio`,`menuitemcheckbox`]),kQ=[...OQ].map(e=>`[role=\"${e}\"]:not([aria-disabled=\"true\"])`).join(`,`),AQ=[...OQ].map(e=>`[role=\"${e}\"]`).join(`,`),jQ=`[role=\"menu\"]`}));function NQ(e){let t=e.cloneNode(!0);for(let e of t.querySelectorAll(`[aria-hidden=\"true\"]`))e.remove();for(let e of t.querySelectorAll(`img[alt], [aria-label]`)){let n=e.getAttribute(e.tagName===`IMG`?`alt`:`aria-label`)??``;e.replaceWith(t.ownerDocument.createTextNode(` ${n} `))}for(let e of t.querySelectorAll(`svg`)){let n=e.querySelector(`title`)?.textContent??``;e.replaceWith(t.ownerDocument.createTextNode(` ${n} `))}return(t.textContent??``).replace(/\\s+/g,` `).trim()}function PQ(e){if(e==null)return;let t=e.getAttribute(`aria-labelledby`);if(t!=null&&t.trim()!==``){let n=t.split(/\\s+/).map(t=>e.ownerDocument.getElementById(t)).filter(e=>e!=null).map(NQ).join(` `).trim();if(n!==``)return n}let n=e.getAttribute(`aria-label`)?.trim();if(n)return n;let r=(`labels`in e?Array.from(e.labels??[]):[]).map(NQ).join(` `).trim();if(r!==``)return r;if(e instanceof HTMLInputElement&&[`button`,`submit`,`reset`].includes(e.getAttribute(`type`)??``)){let t=e.value.trim();if(t!==``)return t}let i=NQ(e);return i===``?e.getAttribute(`title`)?.trim()||void 0:i}var FQ=o((()=>{})),IQ=c({MenuBottomSheetActionList:()=>RQ});function LQ(e,t){return`item-${e.id??t}`}function RQ({items:e,onSelect:t,onOpenSubmenu:n}){let r=(0,zQ.useId)(),i=(0,zQ.useRef)(null),{ref:a,readModality:o}=Ff(),s=gx(i,a),c=pQ({menuRef:i,itemSelector:VQ}),l=(e,i,a=String(i))=>{let s=e.items!=null&&e.items.length>0,c=e.variant===`destructive`,l=!s&&e.href!=null,u=`${r}-label-${a}`,d=s&&typeof e.label!=`string`,f=r=>{if(l&&e.isDisabled)r.preventDefault();else if(o()===`pointer`&&r.currentTarget.blur(),s){let t=d?r.currentTarget.ownerDocument.getElementById(u):null;n(e,typeof e.label==`string`?e.label:t==null?void 0:NQ(t))}else l&&TQ(r)?t({...e,onClick:void 0},r):t(e,r)};return(0,BQ.jsx)(DY,{label:d?(0,BQ.jsx)(`span`,{id:u,children:e.label}):e.label,description:e.description,startContent:e.icon?eE(e.icon,{size:`sm`,color:c?`error`:`secondary`}):void 0,endContent:s?(0,BQ.jsx)(XT,{icon:`chevronRight`,size:`sm`,color:`secondary`,xstyle:$L.mirror}):e.endContent,isDisabled:e.isDisabled,href:l?e.href:void 0,target:l?e.target:void 0,rel:l?e.rel:void 0,onClick:l?void 0:f,onClickCapture:l?f:void 0,xstyle:c&&HQ.destructiveAction},LQ(e,i))};return(0,BQ.jsx)(CG,{ref:s,density:`spacious`,tabIndex:-1,xstyle:HQ.list,...c.menuProps,children:e.map((e,t)=>`type`in e&&e.type===`divider`?(0,BQ.jsx)(`li`,{role:`presentation`,className:`x3ct3a4`,children:(0,BQ.jsx)(hZ,{xstyle:HQ.divider})},`divider-${t}`):`type`in e&&e.type===`section`?(0,BQ.jsx)(`li`,{className:`x3ct3a4`,children:(0,BQ.jsxs)(`div`,{role:`group`,\"aria-label\":e.title,className:`x78zum5 xdt5ytf xzye2dw`,children:[e.title&&(0,BQ.jsx)(NC,{level:4,xstyle:HQ.sectionHeading,children:e.title}),(0,BQ.jsx)(CG,{density:`spacious`,children:e.items.map((e,n)=>l(e,n,`${t}-${n}`))})]})},`section-${e.id??t}`):l(e,t))})}var zQ,BQ,VQ,HQ,UQ=o((()=>{zQ=u(f(),1),xZ(),RC(),sE(),kG(),PY(),wQ(),vx(),eR(),Hf(),MQ(),FQ(),BQ=mc(),VQ=`button:not(:disabled), a[href]`,HQ={list:{k7VYTy:`xpdipgo`,kfSwDN:`x87ps6o`,$$css:!0},destructiveAction:{\"--_item-label-color\":`x1pa1ci1`,\"--_item-description-color\":`x1dj2fx0`,kMwMTN:`x1wj83wy`,$$css:!0},divider:{kqGvvJ:`xsq74q5`,$$css:!0},sectionHeading:{kg3NbH:`xrrkdod`,$$css:!0}},RQ.displayName=`MenuBottomSheetActionList`}));function WQ(e,t){if(typeof e==`number`)return Number.isFinite(e)&&e>0&&e<=1?e*t:null;let n=QQ.exec(e.trim());if(n===null)return null;let r=Number.parseFloat(n[1]);return r>0?n[2].toLowerCase()===`%`?r/100*t:r:null}function GQ(e){return WQ(e,1)!==null}function KQ(e,t){let n=[];for(let r of e){let e=WQ(r,t);e!==null&&n.push(e)}return n}function qQ(e,t,n=48){let r=[0,...t.filter(t=>t>0&&te-t)].sort((e,t)=>e-t),i=[];for(let e of r){let t=i[i.length-1];(t===void 0||e-t>=n)&&i.push(e)}return i}function JQ(e,t){return t.reduce((t,n)=>Math.abs(n-e)=o?s:1-(1-s)*((e-a)/(o-a))}function ZQ(e,t,n,r){let i=t;if(n>0){let e=t.filter(e=>e>=r);e.length>0&&(i=e)}else if(n<0){let e=t.filter(e=>e<=r);e.length>0&&(i=e)}return JQ(e,i)}var QQ,$Q,e$=o((()=>{QQ=/^(\\d+(?:\\.\\d+)?|\\.\\d+)(px|%)$/i,$Q=.3})),t$,n$=o((()=>{t$={release:{fastSpeed:1008,projectionSeconds:.1,minProjectionSpeed:250,detentTolerance:1}}}));function r$(e){return e.syntheticTouch===!0}function i$(e){return e.touchType===`stylus`?`pen`:`touch`}function a$(){typeof navigator<`u`&&typeof navigator.vibrate==`function`&&(C$()||navigator.vibrate(8))}function o$(e,t){let n=t[0],r=Math.abs(e-n);for(let i of t){let t=Math.abs(e-i);t=k$)return e;let i=r/k$,a=1-i*i;return e+(n-e)*a}function s$(e,t,n){return Math.max(0,e-t-n)}function c$(e,t){return`${Math.max(0,e-Math.max(0,t))}px`}function l$(e){return e>0?`${e}px`:void 0}function u$(e){let t=Number.parseFloat(getComputedStyle(e).paddingBlockEnd);return Number.isFinite(t)?t:0}function d$(e){if(!e)return 0;let t=u$(e);return Math.max(0,e.scrollHeight-e.clientHeight-t)-e.scrollTop}function f$(e){if(e.scrollHeight-e.clientHeight<=1)return!1;let{overflowY:t}=getComputedStyle(e);return t===`auto`||t===`scroll`}function p$(e,t){for(let n=e instanceof Element?e:null;n!=null&&n!==t;n=n.parentElement)if(n.localName===`dialog`)return!0;return!1}function m$(e,t){let n=[];for(let r=e instanceof Element?e:null;r!=null&&r!==t;r=r.parentElement)r instanceof HTMLElement&&f$(r)&&n.push(r);return n.push(t),n}function h$(e){return e.scrollTop<=0}function g$(e){return e.scrollTop+e.clientHeight>=e.scrollHeight-1}function _$(e){return e.every(h$)}function v$(e){return e.every(g$)}function y$(e){return e.some(e=>e.scrollHeight-e.clientHeight>1)}function b$(e){let t=e.map(e=>e.style.overscrollBehaviorY);for(let t of e)t.style.overscrollBehaviorY=`none`;return()=>{e.forEach((e,n)=>{e.style.overscrollBehaviorY=t[n]})}}function x$(e){e?.releaseContentHold!=null&&(e.releaseContentHold(),e.releaseContentHold=null)}function S$(e,t,n){return Math.max(0,e-n-t)}function C$(){return typeof window>`u`||!window.matchMedia?!1:window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function w$({isOpen:e,isOpenRequested:t=e,canDismiss:n=!0,offscreenBlockEndInset:r=0,onDismiss:i,snapHeights:a,onSnap:o,onTravelStart:s,onScrimOpacity:c,hasFixedHeight:l=!1}){let[u,d]=(0,T$.useState)(0),[f,p]=(0,T$.useState)(0),[m,h]=(0,T$.useState)(!1),[g,_]=(0,T$.useState)(null),[v,y]=(0,T$.useState)(0);g!=null&&(g.pending?t?(_(null),y(e=>e+1)):_({...g,pending:!1}):t&&_(null));let b=g!=null&&!g.pending&&!t,x=b&&g.isTouch,S=b?g.exit:null,[C,w]=(0,T$.useState)(!1),[T,E]=(0,T$.useState)(0),[D,O]=(0,T$.useState)(0),[k,A]=(0,T$.useState)(0),j=(0,T$.useRef)(0),M=(0,T$.useRef)(0),[N,P]=(0,T$.useState)(null),[F,I]=(0,T$.useState)(!1),L=(0,T$.useRef)(0),R=(0,T$.useRef)(null),z=(0,T$.useRef)(null),B=(0,T$.useRef)(r);B.current=Math.max(0,r);let V=(0,T$.useCallback)(e=>{let t=Math.max(0,e);j.current=t,A(t)},[]),H=(0,T$.useCallback)(e=>{let t=Math.max(0,e);Math.abs(t-L.current)>.5&&(L.current=t,O(t))},[]),ee=(0,T$.useCallback)(()=>{I(!0),R.current=null,P(null);let e=z.current;z.current=null,e!=null&&H(e)},[H]),U=(0,T$.useCallback)((e,t,n,r,i,a,o)=>{let s=s$(e,n,a);o&&Math.abs(r-t)>.5&&!C$()?(z.current=s,R.current=i,P(i)):(z.current=null,R.current=null,P(null),I(Math.abs(i-n)>.5),H(s))},[H]),te=(0,T$.useRef)(0);m||(te.current=f);let W=(0,T$.useRef)(e);W.current=e;let G=nu(a),ne=(0,T$.useRef)(s);ne.current=s;let re=(0,T$.useRef)(i),ie=(0,T$.useRef)(n),K=(0,T$.useRef)(o),q=(0,T$.useRef)(c),ae=(0,T$.useRef)(l);(0,T$.useEffect)(()=>{re.current=i,ie.current=n,K.current=o,q.current=c,ae.current=l});let oe=(0,T$.useRef)(null);(0,T$.useLayoutEffect)(()=>{let e=oe.current;v!==0&&e!=null&&(oe.current=null,q.current?.(e))},[v]);let se=(0,T$.useRef)(null),ce=(0,T$.useRef)(0),le=(0,T$.useRef)(null),J=(0,T$.useRef)(null),ue=(0,T$.useRef)(null);(0,T$.useLayoutEffect)(()=>{if(!F)return;le.current?.offsetHeight;let e=requestAnimationFrame(()=>{I(!1)});return()=>cancelAnimationFrame(e)},[F]);let de=(0,T$.useCallback)(e=>{e<=0||!W.current||te.current>0||(ce.current=e,E(t=>t===e?t:e))},[]),fe=(0,T$.useCallback)(e=>{if(ue.current?.disconnect(),ue.current=null,le.current=e,!e||typeof ResizeObserver>`u`){e&&de(e.getBoundingClientRect().height);return}let t=new ResizeObserver(e=>{let t=e[0];if(t){let e=t.borderBoxSize?.[0]?.blockSize;de(e??t.target.getBoundingClientRect().height)}});t.observe(e),ue.current=t},[de]);(0,T$.useEffect)(()=>()=>ue.current?.disconnect(),[]),(0,T$.useEffect)(()=>{e&&(d(0),p(0),h(!1),w(!1),I(!1),V(0),M.current=0,L.current=0,R.current=null,z.current=null,O(0),P(null))},[e,V]);let pe=(0,T$.useCallback)(()=>ce.current>0?ce.current:le.current?.getBoundingClientRect().height??0,[]),me=(0,T$.useCallback)(e=>{let t=S$(e,0,B.current),n=qQ(t,G.current?.()??[]);return{offsets:n,peekOffset:YQ(n,t)}},[G]),he=(0,T$.useCallback)(()=>{let e=le.current;if(!e)return ce.current;let t=e.style.height;if(t===``)return e.getBoundingClientRect().height;e.style.height=``;let n=e.getBoundingClientRect().height;return e.style.height=t,n},[]),ge=(0,T$.useCallback)(()=>{if(!W.current||se.current!=null||R.current!=null)return;let e=he();if(e<=0)return;let{offsets:t,peekOffset:n}=me(e),r=Math.min(M.current,t.length-1),i=t[r],a=i===n?0:i,o=j.current;if(e===ce.current&&Math.abs(i-te.current)<=.5&&Math.abs(a-o)<=.5)return;ce.current=e,E(e),M.current=r,U(o,i,a,i,o,d$(J.current),!1),V(a),p(i),K.current?.(S$(e,i,B.current));let s=t[t.length-1],c=S$(e,s,B.current);q.current?.(XQ(i,t,s+c*O$,n))},[he,U,V,me]);(0,T$.useEffect)(()=>{if(e&&typeof window<`u`)return window.addEventListener(`resize`,ge),window.addEventListener(`orientationchange`,ge),()=>{window.removeEventListener(`resize`,ge),window.removeEventListener(`orientationchange`,ge)}},[e,ge]);let _e=(0,T$.useRef)(!1);(0,T$.useLayoutEffect)(()=>{_e.current?ge():_e.current=!0},[ge,a]);let ve=(0,T$.useCallback)((e,t)=>{let n=le.current;if(n==null)return;let r=e-t;n.style.transform=r===0?``:`translateY(${r}px)`},[]),ye=(0,T$.useCallback)((e,t)=>{let n=le.current;n!=null&&e>0&&!ae.current&&(n.style.height=c$(e,t));let r=J.current;r!=null&&(r.style.paddingBlockEnd=l$(L.current)??``)},[]),be=(0,T$.useCallback)(e=>{let t=se.current;if(t==null)return;se.current=null,e?.hasPointerCapture?.(t.pointerId)&&e.releasePointerCapture(t.pointerId),d(t.baseOffset),h(!1),w(!1),U(t.baseLayoutOffset,t.baseOffset,t.baseLayoutOffset,t.renderedOffset,t.layoutOffset,t.naturalEndGap,!0);let{offsets:n,peekOffset:r}=me(t.height),i=n[n.length-1],a=i+S$(t.height,i,B.current)*O$;q.current?.(XQ(t.baseOffset,n,a,r))},[U,me]);(0,T$.useEffect)(()=>{if(!e)return;let t=()=>be(),n=()=>{document.visibilityState===`hidden`&&be()};return window.addEventListener(`blur`,t),document.addEventListener(`visibilitychange`,n),()=>{window.removeEventListener(`blur`,t),document.removeEventListener(`visibilitychange`,n)}},[be,e]);let xe=(0,T$.useCallback)((e,t,n,r,i,a,o,s,c,l,u)=>{let{offsets:d,peekOffset:f}=me(n),m=d[d.length-1],h=S$(n,m,B.current),g=m+h*O$,v=i>D$?e+t*E$:e,y=e=>{let t=e===f?0:e;U(o,e,t,s,c,l,!0),V(t),M.current=Math.max(0,d.indexOf(e)),p(e),K.current?.(S$(n,e,B.current)),q.current?.(XQ(e,d,g,f)),e!==a&&a$()},b=e=>{ie.current?(U(o,a,o,o,o,l,!1),oe.current=XQ(a,d,g,f),_({isTouch:u,pending:!0,exit:e}),re.current()):y(m)};if(u){let{fastSpeed:r,minProjectionSpeed:o,projectionSeconds:s,detentTolerance:c}=t$.release,l=[...d,m+h],{index:u}=nJ({points:l,position:e,velocity:t*1e3,flickThreshold:i>M$?r:1/0,tolerance:c,flickPastProjection:!0,projection:{seconds:s,minSpeed:o},start:a});u===l.length-1?b({distance:Math.max(0,n-e),velocity:t*1e3}):y(l[u])}else r>0&&v>g?b(null):y(ZQ(Math.min(Math.max(v,0),m),d,r,a))},[U,V,me]),Se=(0,T$.useCallback)((e,t,n,r=new KR)=>{let i=e.currentTarget,a=r$(e);a||i.setPointerCapture?.(e.pointerId);let o=n??e.clientY,s=d$(J.current),c=j.current;r.add(0,e.clientY,e.timeStamp),se.current={syntheticTouch:a,pointerType:e.pointerType,pointerId:e.pointerId,startCoord:o,tracker:r,height:t,reserve:B.current,baseOffset:f,baseLayoutOffset:c,renderedOffset:f,layoutOffset:c,naturalEndGap:s,hasTraveled:!1},H(s$(c,c,s)),d(f),h(!0)},[f,H]),Ce=(0,T$.useCallback)(e=>{e.button===0&&e.isPrimary&&(e.preventDefault(),Se(e,pe()))},[Se,pe]),we=(0,T$.useCallback)(e=>{se.current!=null&&(e.preventDefault(),be(e.currentTarget))},[be]),Te=(0,T$.useCallback)(e=>{se.current?.syntheticTouch||se.current?.pointerId===e.pointerId&&be()},[be]),Ee=(0,T$.useCallback)(e=>{let t=se.current;if(!t||t.pointerId!==e.pointerId||t.syntheticTouch&&!r$(e))return;let n=e.clientY-t.startCoord;t.tracker.add(0,e.clientY,e.timeStamp);let{offsets:r,peekOffset:i}=me(t.height),a=t.baseOffset+n,o=r[r.length-1],s;s=a<0?t.pointerType===`touch`?Math.max(-t.reserve,_R(a,t.height-t.reserve,M_.rubberBand.coefficient)):Math.max(-48,a*A$):a>o?a:o$(a,r);let c=s{let t=se.current;if(!t||t.pointerId!==e.pointerId||t.syntheticTouch&&!r$(e))return;let n=e.currentTarget,r=e.clientY-t.startCoord,i=Math.max(0,t.baseOffset+r),a=r===0?0:r>0?1:-1;t.tracker.lastSample?.y!==e.clientY&&t.tracker.add(0,e.clientY,e.timeStamp);let o=t.tracker.velocity(e.timeStamp).y/1e3;se.current=null,t.syntheticTouch||n.releasePointerCapture?.(e.pointerId),h(!1),w(!1),xe(i,o,t.height||1,a,Math.abs(r),t.baseOffset,t.baseLayoutOffset,t.renderedOffset,t.layoutOffset,t.naturalEndGap,t.pointerType===`touch`)},[xe]),Oe=(0,T$.useRef)(null),ke=(0,T$.useCallback)(e=>{if(e.button!==0||!e.isPrimary)return;let t=e.currentTarget;if(p$(e.target,t)){Oe.current=null;return}let n=m$(e.target,t);if(!_$(n)){Oe.current=null;return}let r=new KR;r.add(0,e.clientY,e.timeStamp),Oe.current={pointerId:e.pointerId,startCoord:e.clientY,scrollers:n,tracker:r}},[]),Ae=(0,T$.useCallback)(e=>{if(se.current){Ee(e);return}let t=Oe.current;if(!t||t.pointerId!==e.pointerId)return;let n=e.clientY-t.startCoord;t.tracker.add(0,e.clientY,e.timeStamp),n>M$&&_$(t.scrollers)?(Oe.current=null,Se(e,pe(),t.startCoord,t.tracker),Ee(e)):n<0&&(Oe.current=null)},[Se,Ee,pe]),je=(0,T$.useCallback)(e=>{Oe.current=null,se.current?.syntheticTouch||se.current&&De(e)},[De]),Me=(0,T$.useRef)(null),Ne=(0,T$.useRef)(null),Pe=(0,T$.useCallback)(e=>{x$(Me.current),Me.current=null,Oe.current=null,be(e)},[be]),Fe=(0,T$.useRef)(Se),Ie=(0,T$.useRef)(be),Le=(0,T$.useRef)(Pe),Re=(0,T$.useRef)(Ee),ze=(0,T$.useRef)(De),Be=(0,T$.useRef)(pe);(0,T$.useEffect)(()=>{Fe.current=Se,Ie.current=be,Le.current=Pe,Re.current=Ee,ze.current=De,Be.current=pe});let Ve=(0,T$.useCallback)(e=>{let t=(e,t,n)=>({syntheticTouch:!0,pointerId:e.identifier,pointerType:i$(e),clientY:e.clientY,timeStamp:n.timeStamp,currentTarget:t,setPointerCapture:()=>{},releasePointerCapture:()=>{}}),n=e=>{let t=e.currentTarget;if(e.touches.length>1){Le.current(t);return}Oe.current=null;let n=e.changedTouches[0];if(x$(Me.current),!n||p$(e.target,t)){Me.current=null;return}let r=m$(e.target,t),i=_$(r),a=v$(r)&&(te.current>0||!y$(r)),o=new KR;o.add(0,n.clientY,e.timeStamp),Me.current={id:n.identifier,startX:n.clientX,startY:n.clientY,scrollers:r,top:i,bottom:a,contentEndY:null,promotedAtContentEnd:!1,releaseContentHold:null,tracker:o}},r=e=>{let n=e.currentTarget;if(e.touches.length>1){Le.current(n);return}let r=Me.current;if(se.current){let i=[...e.changedTouches].find(e=>e.identifier===se.current?.pointerId);if(!i)return;if(r?.promotedAtContentEnd&&r.contentEndY!=null){if(i.clientY>=r.contentEndY){r.contentEndY=null,r.promotedAtContentEnd=!1,x$(r),Ie.current(n);return}Re.current(t(i,n,e));return}e.preventDefault(),Re.current(t(i,n,e));return}if(!r)return;let i=[...e.changedTouches].find(e=>e.identifier===r.id);if(!i)return;let a=i.clientY-r.startY;r.tracker.add(0,i.clientY,e.timeStamp);let o=r.top&&a>0&&_$(r.scrollers),s=r.bottom&&a<0&&v$(r.scrollers),c=Math.abs(i.clientX-r.startX),l=Math.abs(a)>c;if((o||s)&&Math.abs(a)>=5&&l&&e.cancelable&&e.preventDefault(),o&&l&&a>M$||s&&l&&a<-8)e.cancelable&&e.preventDefault(),x$(r),Me.current=null,Fe.current(t(i,n,e),Be.current(),r.startY,r.tracker),Re.current(t(i,n,e));else{if(Math.max(Math.abs(a),c)>M$&&(r.top||r.bottom)){if(!l){x$(r),Me.current=null;return}r.top=!1,r.bottom=!1}r.top&&a<=-5&&!v$(r.scrollers)&&(r.top=!1),r.bottom&&a>=5&&!_$(r.scrollers)&&(r.bottom=!1),v$(r.scrollers)?r.contentEndY==null?(r.contentEndY=i.clientY,r.releaseContentHold??=b$(r.scrollers)):r.contentEndY-i.clientY>=j$&&(r.promotedAtContentEnd=!0,Fe.current(t(i,n,e),Be.current(),r.contentEndY,r.tracker),Re.current(t(i,n,e))):(r.contentEndY=null,x$(r))}},i=e=>{x$(Me.current),Me.current=null;let n=se.current?.pointerId;if(n==null)return;let r=[...e.changedTouches].find(e=>e.identifier===n),i=e.currentTarget;r?ze.current(t(r,i,e)):e.touches.length===0&&Ie.current(i)},a=J.current;if(a&&Ne.current){let e=Ne.current;a.removeEventListener(`touchstart`,e.start),a.removeEventListener(`touchmove`,e.move),a.removeEventListener(`touchend`,e.end),a.removeEventListener(`touchcancel`,e.end)}J.current=e,e?(e.addEventListener(`touchstart`,n,{passive:!0}),e.addEventListener(`touchmove`,r,{passive:!1}),e.addEventListener(`touchend`,i,{passive:!0}),e.addEventListener(`touchcancel`,i,{passive:!0}),Ne.current={start:n,move:r,end:i}):Ne.current=null},[]),He=(0,T$.useCallback)(e=>{if(L.current<=0)return;let t=u$(e),n=Math.max(0,e.scrollHeight-e.clientHeight-t),r=Math.max(0,e.scrollTop-n);r{se.current==null&&R.current==null&&He(e.currentTarget)},[He]),We=(0,T$.useCallback)(e=>{e.isPrimary?Ce(e):Pe(e.currentTarget)},[Ce,Pe]),Ge=(0,T$.useCallback)(e=>{e.isPrimary?ke(e):Pe(e.currentTarget)},[ke,Pe]),Ke=(0,T$.useCallback)(e=>{e.touches.length>1&&Pe(e.currentTarget)},[Pe]),qe=(0,T$.useCallback)(e=>{let t=se.current;t?.pointerId!==e.pointerId||t.syntheticTouch||be(e.currentTarget)},[be]),Je=m?u:f;return{sheetRef:fe,contentProps:(0,T$.useMemo)(()=>({style:{transform:Je===0?void 0:`translateY(${Je}px)`,transition:e&&(m||F)?`none`:void 0,touchAction:`pinch-zoom`,overscrollBehavior:`contain`}}),[Je,m,e,F]),handleProps:(0,T$.useMemo)(()=>({style:{touchAction:`pinch-zoom`,cursor:`grab`},onContextMenu:we,onLostPointerCapture:Te,onPointerDown:We,onPointerMove:Ee,onPointerUp:De,onPointerCancel:qe,onTouchStart:Ke,onTouchMove:Ke}),[De,we,qe,We,Ke,Te,Ee]),bodyProps:(0,T$.useMemo)(()=>({ref:Ve,onContextMenu:we,onLostPointerCapture:Te,onPointerDown:Ge,onPointerMove:Ae,onPointerUp:je,onPointerCancel:je,onScroll:Ue}),[Ve,je,Ge,Ae,Ue,we,Te]),bodyElementRef:J,dragOffset:u,settledOffset:f,isDragging:m,isTraveling:C,isDismissedByTouchDrag:x,dragExit:S,activeOffsetRef:te,sheetHeight:T,scrollPreservationInset:D,settlingLayoutOffset:N,settledLayoutOffset:k,completeScrollAreaSettle:ee}}var T$,E$,D$,O$,k$,A$,j$,M$,N$=o((()=>{T$=u(f(),1),au(),Kq(),qR(),rJ(),vR(),N_(),n$(),e$(),E$=.998/.0020000000000000018,D$=48,O$=.4,k$=40,A$=.35,j$=4,M$=8}));function P$(e){return Math.max(t1,Math.ceil(e*n1))}function F$(e){return Array.isArray(e)?e.some(F$):typeof e==`object`&&!!e}function I$(){return typeof Element<`u`&&typeof Element.prototype.animate==`function`}function L$(e,t){let n=e.ownerDocument.defaultView?.innerHeight??0,r=Math.max(0,n-e.getBoundingClientRect().top);return HP(e,kI.sheetDismissSwipe,{from:0,to:t.distance,velocity:t.velocity,epsilon:xF.y},Math.min(t.distance,r))}function R$(e){let t=e.closest(`dialog`),n=e.ownerDocument;if(t==null||typeof n.getAnimations!=`function`)return;let r=n.getAnimations().filter(e=>{let n=e.effect;return n?.target===t&&e.transitionProperty===`opacity`&&Number(n.getKeyframes().at(-1)?.opacity)===0}),i=r.filter(e=>e.effect.pseudoElement===`::backdrop`);return(i.length>0?i:r.filter(e=>!e.effect.pseudoElement)).at(-1)}function z$(){return typeof window>`u`?0:window.innerHeight}function B$(){s1=z$();for(let e of c1)e()}function V$(e){return c1.add(e),l1??(l1=bu(window,`resize`,B$),s1=z$(),e()),()=>{c1.delete(e),c1.size===0&&(l1?.(),l1=null,s1=null)}}function H$(){return l1==null?z$():(s1??=z$(),s1)}function U$(){return 0}function W$(){return()=>{}}function G$(e){let t=``;for(let n of e??[])t+=`${typeof n}:${n}|`;return t}function K$(e,t){return e?t:{...t,ref:void 0}}function q$(e){return e.kind===`open`?e.entering?`entering`:null:e.kind===`retained`?e.motion===`covered`?null:e.motion:e.kind===`exiting`?`exiting`:null}function J$(e,t,n){if(e==null)return n(),()=>{};let r=!1,i=null,a=0,o=()=>{r||(r=!0,i!=null&&clearTimeout(i),e.removeEventListener(`transitionend`,s),e.removeEventListener(`transitioncancel`,s),n())},s=n=>{n.target===e&&n.propertyName===t&&(n.type===`transitioncancel`&&Y$(e,t)?i!=null&&(clearTimeout(i),i=setTimeout(o,a)):o())};e.addEventListener(`transitionend`,s),e.addEventListener(`transitioncancel`,s);let c=getComputedStyle(e);if(e.style.transition.trim()===`none`||c.transition.trim()===`none`)return o(),()=>{};let l=c.transitionProperty.split(`,`).map(e=>e.trim()),u=c.transitionDuration.split(`,`).map(X$),d=c.transitionDelay.split(`,`).map(X$),f=!1,p=l.reduce((e,n,r)=>{if(n!==t&&n!==`all`)return e;let i=u[r%u.length],a=d[r%d.length];return i==null||a==null?(f=!0,e):Math.max(e,i+a)},0);return f?()=>{e.removeEventListener(`transitionend`,s),e.removeEventListener(`transitioncancel`,s)}:p<=0?(o(),()=>{}):(a=p+a1,i=setTimeout(o,a),()=>{i!=null&&clearTimeout(i),e.removeEventListener(`transitionend`,s),e.removeEventListener(`transitioncancel`,s)})}function Y$(e,t){return(e.getAnimations?.()??[]).some(e=>e.transitionProperty===t&&(e.playState===`running`||e.playState===`paused`))}function X$(e){let t=e.trim();if(!/^-?(?:\\d+|\\d*\\.\\d+)(?:ms|s)$/.test(t))return null;let n=Number.parseFloat(e);return t.endsWith(`ms`)?n:n*1e3}function Z$({ref:e,state:t,isOpenRequested:n,height:r,label:i,children:a,padding:o,snapPoints:s,className:c,style:l,tabIndex:u,xstyle:d,isEntrySettled:f=!1,onEntrySettled:p,onTransitionEnd:m,isSwipeDismissAllowed:h=!0,isPageScrollLocked:g=!1,onDismiss:_,onScrimOpacity:v,onScrimFade:y,onElementChange:b,handleRef:x,onMotionStart:S,onMotionComplete:w,...T}){let E=(0,Q$.useRef)(null),D=(0,Q$.useRef)(null),O=nu(S),k=nu(w),A=nu(y),j=(0,Q$.useRef)(null),M=(0,Q$.useRef)(null),N=t.kind===`open`&&t.entering,[P,F]=(0,Q$.useState)({kind:t.kind,isEntering:N,isReactivated:!1});(P.kind!==t.kind||P.isEntering!==N)&&F({kind:t.kind,isEntering:N,isReactivated:N&&P.kind===`retained`});let I=P.isReactivated,L=t.kind===`open`,R=t.kind!==`hidden`,z=t.kind===`retained`,B=z||t.kind===`exiting`,V=t.kind===`exiting`,H=z&&t.motion===`fading`,ee=ps(`(prefers-reduced-motion: reduce)`),U=z&&!ee?t.alignmentOffset:0,te=G$(s),[W,G]=(0,Q$.useState)({key:te,points:s});W.key!==te&&G({key:te,points:s});let{snapHeights:ne,ignoredSnapPointsWarning:re}=(0,Q$.useMemo)(()=>{let{key:e,points:t}=W;if(e===``)return{snapHeights:void 0,ignoredSnapPointsWarning:``};let n=(t??[]).filter(e=>!GQ(e));return{snapHeights:()=>KQ(t??[],z$()),ignoredSnapPointsWarning:n.length===0?``:`snapPoints ignored ${JSON.stringify(n)}. A snap point is a viewport fraction above 0 and up to 1 (0.5 is half the screen), a px length ('320px'), or a percentage ('50%').`}},[W]);OC(`BottomSheet`,re,re!==``);let ie=l?.height,K=o1.some(e=>l?.[e]!=null)||F$(d)||c!=null&&c!==``,q=ps(`(any-pointer: coarse)`),ae=R&&q&&!K,oe=(0,Q$.useSyncExternalStore)(ae?V$:W$,ae?H$:U$,U$),se=oe>0?P$(oe):t1,{contentProps:ce,handleProps:le,bodyProps:J,bodyElementRef:ue,sheetRef:de,dragOffset:fe,settledOffset:pe,isDragging:me,isDismissedByTouchDrag:he,dragExit:ge,sheetHeight:_e,scrollPreservationInset:ve,settlingLayoutOffset:ye,settledLayoutOffset:be,completeScrollAreaSettle:xe}=w$({isOpen:L,isOpenRequested:n??L,canDismiss:h,offscreenBlockEndInset:se,onDismiss:_,snapHeights:ne,onTravelStart:()=>{D.current?.(E.current??void 0)},onScrimOpacity:v,hasFixedHeight:ie!=null}),{getViewportProps:Se,getContentProps:Ce}=NU({axis:`both`,keyboardAccess:{owner:`contentOrViewport`,label:i},overscroll:`contain`,stickyContainment:`always`}),we=(0,Q$.useRef)(R),Te=(0,Q$.useCallback)(e=>{de(we.current?e:null),E.current=e,b?.(e)},[b,de]),Ee=(0,Q$.useRef)(null);(0,Q$.useLayoutEffect)(()=>{if(we.current===R)return;we.current=R,de(R?E.current:null);let e=Ee.current;!R&&e!=null&&(Ee.current=null,cF(e).set({y:0}))},[R,de]);let De=AL(E,{move:`ride`,inset:!0,offset:r1,isEnabled:r===`tall`&&R,isExpanded:pe===0,isOpen:L,isPageScrollLocked:g}),Oe=De.inset;D.current=De.dismiss,(0,Q$.useImperativeHandle)(e,()=>E.current,[]);let ke=q$(t),Ae=ps(`(prefers-reduced-motion: reduce) and (pointer: coarse)`)||ee&&he,je=ge!=null&&!Ae&&!ee&&I$()?ge:null;(0,Q$.useLayoutEffect)(()=>{let e=E.current;if(je==null||e==null)return;let t=t=>{A.current?.(e,t)};return t(L$(e,je)),()=>{t(null)}},[A,je]),(0,Q$.useLayoutEffect)(()=>{if(ke==null)return;j.current!==ke&&(j.current=null),M.current=null;let e=()=>{j.current===ke?k.current?.(ke):M.current=ke};if(ke===`entering`&&I){e();return}let t=E.current;if(ke===`exiting`&&je!=null&&t!=null){Ee.current=t;let n=cF(t).animate({y:je.distance},{spring:kI.sheetDismissSwipe,velocity:{y:je.velocity}}),r=!0,i=!1,a=null;return n.started.then(e=>{let n=i=>{if(a=null,!r)return;let o=R$(t);o==null?i>0&&(a=requestAnimationFrame(()=>n(i-1))):o.startTime=e};n(i1)}),n.finished.then(()=>{i=!0,A.current?.(t,null),r&&e()}),()=>{r=!1,a!=null&&cancelAnimationFrame(a),i||n.retarget({y:0})}}let n=Ae&&ke===`exiting`;return J$(E.current,ke===`fading`||n?`opacity`:`transform`,e)},[ke,Ae,je,I,k,A]),(0,Q$.useLayoutEffect)(()=>{if(ye!=null)return J$(E.current,`transform`,xe)},[xe,ye]),(0,Q$.useEffect)(()=>{if(ke!=null)return O.current?.(ke),j.current=ke,M.current===ke&&(M.current=null,k.current?.(ke)),()=>{j.current===ke&&(j.current=null),M.current===ke&&(M.current=null)}},[ke,k,O]);let Me=o==null,Ne=o??4,Pe=hM[Ne],Fe=typeof r==`string`&&r in e1?e1[r]:typeof r==`number`?`${r}px`:r,Ie=_e>0,Le=ce.style.transform,Re;if(Ie){let e=me?fe0||me||ye!=null?c$(_e,e):void 0,Le=t===0?void 0:`translateY(${t}px)`}let ze=U>0?[Le,`translateY(${U}px)`].filter(Boolean).join(` `):Le,Be=L?Le:z?ze:void 0,Ve=l?.transform,He=L||z||V?Re:void 0,Ue=l$(ve);(0,Q$.useLayoutEffect)(()=>{if(me)return;let e=E.current;e!=null&&(Ve==null&&(!R||ge==null||V&&je==null&&!Ae)&&(e.style.transform=Be??``),ie??(e.style.height=He??``));let t=ue.current;t!=null&&(t.style.paddingBlockEnd=Ue??``)});let We={transition:ce.style.transition,touchAction:ce.style.touchAction,overscrollBehavior:ce.style.overscrollBehavior,height:He};return(0,$$.jsxs)(`div`,{...T,ref:Te,tabIndex:u??-1,onTransitionEnd:e=>{m?.(e),f&&e.target===e.currentTarget&&p?.()},...Q(Y(`bottom-sheet`),C(Hp.reset,Wp.reset,f1.sheet,Kg.reset,r===`hug`?f1.hugHeight:f1.budget,V&&f1.sheetClosing,V&&Ae&&f1.sheetClosingCrossFade,H&&f1.sheetFading,B&&f1.sheetInactive,f&&f1.sheetSettled,d),c,{\"--_sheet-budget\":Fe,\"--_sheet-reserve\":`${se}px`,...L?We:z||V?{height:He}:{},...l}),children:[(0,$$.jsx)(`div`,{ref:x,...Q(Y(`bottom-sheet-handle`),{className:`x10l6tqk x13vifvy x1o0tod xtijo5x x1vjfegm x78zum5 x6s0dn4 xl56j7k xvpftlf xafqdz2 x1so62im x1j4r261 x1jm3nie x16khyan x1cpjm7i x1oke5ut x34npju xmwhqxd x1hw15nc`}),...le,\"aria-hidden\":`true`}),(0,$$.jsx)(`div`,{...K$(R,Se({...J,...Q(C(iS.focusVisible,f1.body,r===`tall`&&f1.tallKeyboardBody),Ue==null?{}:{style:{paddingBlockEnd:Ue}})})),children:(0,$$.jsx)(`div`,{...K$(R,Ce(C(f1.content,r===`tall`&&f1.tallKeyboardContent,r===`tall`&&Oe>0&&f1.keyboardInset(Oe),...Bj(Me?{useThemeDefault:`bottom-sheet`}:{paddingInnerX:Pe,paddingInnerY:Pe,paddingOuterX:Pe,paddingOuterY:Pe}),!Me&&Ne!==4&&pM[Ne],!Me&&Ne!==4&&gM[Ne],!Me&&u1[Ne],!Me&&Ne!==4&&vM[Ne],f1.clearsGrabBar))),children:(0,$$.jsx)(Wf,{children:(0,$$.jsx)(kM,{value:`bottom-sheet`,children:a})})})})]})}var Q$,$$,e1,t1,n1,r1,i1,a1,o1,s1,c1,l1,u1,d1,f1,p1=o((()=>{Q$=u(f(),1),au(),D(),MC(),gs(),HU(),G(),bC(),vr(),AM(),oS(),Up(),Gp(),Xf(),dM(),TM(),Pu(),e$(),GF(),GP(),jI(),PL(),N$(),$$=mc(),e1={hug:`92dvh`,capped:`62dvh`,tall:`92dvh`},t1=48,n1=.4,r1=48,i1=3,a1=50,j[`--spacing-6`],o1=[`height`,`minHeight`,`maxHeight`,`blockSize`,`minBlockSize`,`maxBlockSize`],s1=null,c1=new Set,l1=null,u1={0:{\"--container-padding-block-start\":`x1hkkx89`,$$css:!0},1:{\"--container-padding-block-start\":`x1vy0k3q`,$$css:!0},2:{\"--container-padding-block-start\":`x1rr17ng`,$$css:!0},3:{\"--container-padding-block-start\":`xk3zy2s`,$$css:!0},4:{\"--container-padding-block-start\":`xp5lzm3`,$$css:!0},5:{\"--container-padding-block-start\":`xlhad5c`,$$css:!0},6:{\"--container-padding-block-start\":`xqk0106`,$$css:!0},8:{\"--container-padding-block-start\":`x1qqmacf`,$$css:!0},10:{\"--container-padding-block-start\":`x213oh1`,$$css:!0},\"0.5\":{\"--container-padding-block-start\":`xoq6zsc`,$$css:!0},\"1.5\":{\"--container-padding-block-start\":`xmc9d48`,$$css:!0}},d1={k4zj60:`x1ipgmjk`,$$css:!0},f1={sheet:{kfzvcC:`x67bb7w`,kB7OPa:`x9f619`,kVAEAm:`x1n2onr6`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kAzted:`x2lwn1j`,kzqmXN:`xh8yej3`,ks0D6T:`x11gisft`,kWkggS:`x10xzikg`,kMwMTN:`x1tgivj0`,kEafiO:`x11xkdxz`,kPef9Z:`x13fuv20`,kLZC3w:`x1pc3f07`,k2ei4v:`xgbv0en`,kVhnKS:`x1t7ytsu`,kGJrpR:`x1j92z86`,ke9TFa:`xw8tdv1`,k8ry5P:`x18b5jzi`,kBCPoo:`x1gejf6u`,krdFHd:`x81l70g`,kfmiAY:`x7hs6f1`,kGVxlE:`x1kcpxr7`,kI3sdo:`x1a2a7pz`,kVQacm:`xb3r6kr`,kGO01o:`x5559hn`,k1K539:`xgwt18o`,k3aq6I:`xnn1q72 xhbqy3z xspp5ug`,kSiTet:`x1hc1fzr x1igigxu xgo67oj`,k1ekBW:`xwcsmn1`,kIyJzY:`x80gvsz xzg1mie x1qzunnh`,kAMwcw:`xlr8y92`,k6sLGO:`x1q1rmc8`,\"--_sheet-scrim-opacity\":`xnvc5mv`,\"--_sheet-scrim-duration\":`x1jx3mzq`,\"--_sheet-scrim-easing\":`x1pfqsku`,$$css:!0},sheetSettled:{kIyJzY:`xpvlhck`,$$css:!0},sheetClosing:{k3aq6I:`x1weeur4 x1oe9tb1`,kSiTet:`x1m67veq`,kAMwcw:`x1j6inz x1s1rlkj`,$$css:!0},sheetClosingCrossFade:{k3aq6I:`xnn1q72`,kSiTet:`xg01cxk`,kIyJzY:`x8uwg2f`,$$css:!0},sheetFading:{kSiTet:`xg01cxk`,$$css:!0},sheetInactive:{kfzvcC:`x47corl`,$$css:!0},body:{kzQI83:`x1iyjqo2`,kAzted:`x2lwn1j`,kB7OPa:`x9f619`,kFalU9:`xge0x1e`,kInvED:`x1wfwxd8 x1nw7mhf`,kWkggS:`x10xzikg`,kGO01o:`x18d9i69`,$$css:!0},clearsGrabBar:{kLKAdn:`x1bwh7i5`,$$css:!0},content:{k1xSpc:`xufnvkl`,kB7OPa:`x9f619`,kZKoxP:`x5yr21d`,kAzted:`x1lh6h5t`,$$css:!0},tallKeyboardBody:{kFlMNQ:`xrw9175`,$$css:!0},tallKeyboardContent:{k5JduY:`x1s928wv`,kc3QkE:`xhkezso`,k4zj60:`x1gmr53x`,kloYau:`x2q1x1w`,$$css:!0},keyboardInset:e=>[d1,{\"--x-nsbhg8\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],budget:{kZKoxP:`x1fqcpoh`,$$css:!0},hugHeight:{kZKoxP:`xg7h5cd`,kskxy:`xkche18`,$$css:!0}},Z$.displayName=`BottomSheetPanel`}));function m1(){return(0,h1.jsx)(`div`,{className:`xixxii4 x17y0mx6 x1ey2m1c x1kpxq89 x10xzikg xhtitgo x47corl x1cb67k9 xt2iwb0`,\"data-sheet-edge-tint\":``,\"aria-hidden\":`true`})}var h1,g1=o((()=>{h1=mc()})),_1,v1,y1,b1=o((()=>{ys(),_1=_s(`BottomSheetHostContext`,1,null),_1.displayName=`BottomSheetHostContext`,v1={isOpen:!0},y1={isOpen:!1}}));function x1(){return{shape:w0,entries:[],shownOrder:new WeakMap,listenedDocuments:new WeakMap,batchOpened:[],batchClosed:[],batchActor:null,batchPair:null,lastPress:new WeakMap,pendingDrops:[],pendingReplaceFocus:null,closingTogether:new Map,rankByKey:new WeakMap,currentBatch:0,nextSeq:0,isBatchDirty:!1,isSealScheduled:!1,focusToKeep:new WeakMap,deferredTopLayer:new WeakMap}}function S1(){return $.isBatchDirty=!0,C1(),{batch:$.currentBatch,seq:$.nextSeq++}}function C1(){$.isSealScheduled||typeof queueMicrotask!=`function`||($.isSealScheduled=!0,queueMicrotask(()=>{$.isSealScheduled=!1,w1()}))}function w1(){g0(),T1(),$.isBatchDirty&&($.currentBatch+=1,$.isBatchDirty=!1),$.batchOpened=[],$.batchClosed=[],$.batchActor=null,$.batchPair=null}function T1(){if($.batchOpened.length>0)return;let e=$.batchClosed.filter(e=>e.isModal&&e.replace==null&&e.replacing==null);if(e.length<2)return;let t=new Map;for(let n of e){let e=t.get(n.doc)??[];e.push(n),t.set(n.doc,e)}for(let[e,n]of t){if(n.length<2)continue;let t=I1(e,!0);if(t.some(e=>e.isOpen))continue;let r=t.filter(e=>n.includes(e)),i=r[0],a={members:r,pending:new Set(r),returnTarget:i.getReturnTarget?.()??null};for(let e of r)$.closingTogether.set(e,a)}}function E1(e){let t=$.entries.find(t=>t.key===e);return t!=null&&$.closingTogether.has(t)}function D1(e){if(e.pending.size>0||e.reported)return;e.reported=!0;let t=e.returnTarget;t!=null&&t.isConnected&&KA(t)}function O1(e){let t=$.entries.find(t=>t.key===e),n=t==null?void 0:$.closingTogether.get(t);t!=null&&n!=null&&k1(t,n)}function k1(e,t){$.closingTogether.delete(e),t.pending.delete(e),D1(t)}function A1(e){if($.listenedDocuments.has(e))return;let t=t=>{t.target instanceof Element&&$.lastPress.set(e,{target:new WeakRef(t.target),at:Date.now()})};e.addEventListener(`pointerdown`,t,!0),e.addEventListener(`click`,t,!0),e.addEventListener(`keydown`,t,!0),$.listenedDocuments.set(e,()=>{e.removeEventListener(`pointerdown`,t,!0),e.removeEventListener(`click`,t,!0),e.removeEventListener(`keydown`,t,!0),$.lastPress.delete(e)})}function j1(e){if($.entries.some(t=>t.doc===e))return;let t=$.listenedDocuments.get(e);t!=null&&($.listenedDocuments.delete(e),t())}function M1(e,t){let n=$.lastPress.get(e),r=n?.target.deref();return n!=null&&r!=null&&r.isConnected&&Date.now()-n.at<=T0&&!N1(r,t)?r:e.activeElement}function N1(e,t){let n=$.entries.find(n=>{let r=n.getElement();return n.doc===t.doc&&r!=null&&r.contains(e)});return n==null||n===t?!1:!n.isOpen||n.replace!=null}function P1(e,t){$.batchOpened.length===0&&$.batchClosed.length===0&&($.batchActor=M1(e.doc,e)),(t===`opened`?$.batchOpened:$.batchClosed).push(e)}function F1(e,t){if(e.rank.batch!==t.rank.batch)return e.rank.batch-t.rank.batch;let n=e.getTreeAnchor?.()??e.getElement(),r=t.getTreeAnchor?.()??t.getElement();if(n!=null&&r!=null&&n!==r){let e=n.compareDocumentPosition(r);if(e&Node.DOCUMENT_POSITION_FOLLOWING)return-1;if(e&Node.DOCUMENT_POSITION_PRECEDING)return 1}return e.rank.seq-t.rank.seq}function I1(e,t){return $.entries.filter(n=>n.doc===e&&n.isModal===t).sort(F1)}function L1(e){return I1(e.doc,e.isModal)}function R1(e,t){let n=$.shownOrder.get(e);return n==null?[]:t?n.modal:n.nonModal}function z1(e,t,n){let r=$.shownOrder.get(e)??{modal:[],nonModal:[]};t?r.modal=n:r.nonModal=n,$.shownOrder.set(e,r)}function B1(e,t){return e.isStacked===t.isStacked&&e.isTop===t.isTop&&e.isCovered===t.isCovered&&e.depth===t.depth&&e.ownsScrim===t.ownsScrim&&e.isScrimHandoff===t.isScrimHandoff&&e.isBlocked===t.isBlocked&&e.isScrimTakenOver===t.isScrimTakenOver&&e.replacedMotion===t.replacedMotion&&e.alignmentOffset===t.alignmentOffset&&e.isReplacing===t.isReplacing}function V1(e,t){let n=[];if(!t){for(let t of e){let e={...b0,replacedMotion:t.replace?.motion??null,alignmentOffset:t.replace?.alignmentOffset??0,isReplacing:t.replacing!=null};B1(t.view,e)||(t.view=e,n.push(t))}for(let e of n)e.onView(e.view);return}let r=e.filter(e=>e.isOpen),i=r[r.length-1]??null,a=e.find(e=>e.isOpen||e.replace!=null)??null;e.forEach((t,r)=>{let o=0;for(let n=r+1;n0,c=t.getElement(),l=c!=null&&e.some(e=>{let n=e.getElement();return e!==t&&n!=null&&c.contains(n)}),u=t===a,d=u&&t.isOpen&&e.slice(0,r).some(e=>!e.isOpen),f={isStacked:e.length>1,isTop:t===i,isCovered:s,depth:o,ownsScrim:u,isScrimHandoff:d,isBlocked:s&&!l,isScrimTakenOver:!t.isOpen&&a!=null&&a!==t,replacedMotion:t.replace?.motion??null,alignmentOffset:t.replace?.alignmentOffset??0,isReplacing:t.replacing!=null};B1(t.view,f)||(t.view=f,n.push(t))});for(let e of n)e.onView(e.view)}function H1(e){let t=e.ownerDocument,n=t.activeElement;if(n instanceof HTMLElement&&n!==t.body){let r=n.closest(`dialog`);r!=null&&r!==e&&!r.contains(e)&&!e.contains(r)&&K1(r)&&$.focusToKeep.set(t,n),n.blur()}e.showModal()}function U1(e){e.style.setProperty(`--_sheet-scrim-duration`,`0s`),e.style.setProperty(`--_sheet-scrim-opacity`,`0`),H1(e),typeof getComputedStyle==`function`&&getComputedStyle(e,`::backdrop`).opacity,e.style.removeProperty(`--_sheet-scrim-duration`)}function W1(e,t,n){e!=null&&(!e.open||e.style.getPropertyValue(`--_sheet-scrim-opacity`)===t?e.style.setProperty(`--_sheet-scrim-opacity`,t):(e.style.setProperty(`--_sheet-scrim-duration`,`0s`),e.style.setProperty(`--_sheet-scrim-opacity`,t),G1(n),n.frame=requestAnimationFrame(()=>{n.frame=requestAnimationFrame(()=>{n.frame=null,e.style.removeProperty(`--_sheet-scrim-duration`)})})))}function G1(e){e.frame!=null&&(cancelAnimationFrame(e.frame),e.frame=null)}function K1(e){if(e==null)return!1;if(e.open)return!0;try{return e.matches(`:popover-open`)}catch{return!1}}function q1(e){let t=[];for(let n of Array.from(e.ownerDocument.querySelectorAll(`dialog[open]`)))n===e||n.contains(e)||n.hasAttribute(`inert`)||n.getAttribute(`aria-hidden`)===`true`||$.entries.some(e=>!e.isOpen&&e.getElement()===n)||Q1(n)&&t.push(n);return t}function J1(e,t,n){let r=e.ownerDocument,i=$.deferredTopLayer.get(r);if(i??(i={deferred:new Map,blockers:new WeakSet,removals:null,stopListeningForClose:null},$.deferredTopLayer.set(r,i)),i.stopListeningForClose==null){let e=()=>{X1(r)};r.addEventListener(`close`,e,!0),i.stopListeningForClose=()=>{r.removeEventListener(`close`,e,!0)}}i.deferred.set(e,t);for(let e of n)i.blockers.add(e);if(i.removals==null&&typeof MutationObserver==`function`){let{blockers:e}=i,t=new MutationObserver(t=>{t.some(t=>Y1(t,e))&&X1(r)});t.observe(r,{childList:!0,subtree:!0}),i.removals=t}}function Y1(e,t){for(let n of Array.from(e.removedNodes))if(n instanceof Element&&(n instanceof HTMLDialogElement?[n]:Array.from(n.querySelectorAll(`dialog`))).some(e=>t.has(e)))return!0;return!1}function X1(e){let t=$.deferredTopLayer.get(e);if(t==null||t.deferred.size===0)return;let{deferred:n}=t;for(let[r,i]of Array.from(n)){if(!r.isConnected||!r.open){n.delete(r);continue}let a=q1(r);if(a.length>0){for(let e of a)t.blockers.add(e);continue}n.delete(r);let o=e.activeElement;r.close(),$1(r,i),e.activeElement!==o&&o instanceof HTMLElement&&o.isConnected&&o.focus({preventScroll:!0})}n.size===0&&Z1(t)}function Z1(e){e.removals?.disconnect(),e.removals=null,e.stopListeningForClose?.(),e.stopListeningForClose=null}function Q1(e){return rd(e)||e.getAttribute(`aria-modal`)===`true`}function $1(e,t){if(typeof e.showPopover!=`function`){e.show();return}let n=q1(e);if(n.length>0){e.show(),J1(e,t,n);return}let r=e.ownerDocument,i=t?.hasAttribute(`autofocus`)??!1;t!=null&&!i&&t.setAttribute(`autofocus`,``);try{e.showPopover()}finally{t!=null&&!i&&t.removeAttribute(`autofocus`)}aA(),t!=null&&r.activeElement===t&&!t0(e)&&e0(t)?.focus({preventScroll:!0})}function e0(e){let t=e.querySelectorAll(`a[href], area[href], button, input, select, textarea, iframe, summary, [contenteditable]:not([contenteditable=\"false\"]), [tabindex]`);for(let n of Array.from(t))if(!(n===e||n.tabIndex<0)&&!(n.disabled===!0||n.closest(`[inert]`)!=null||n.getAttribute(`type`)===`hidden`||n.hidden||typeof n.checkVisibility==`function`&&!n.checkVisibility()))return n;return null}function t0(e){if(E0!=null)return E0;let t=e.ownerDocument,n=t.activeElement,r=t.createElement(`dialog`);r.setAttribute(`aria-hidden`,`true`),r.style.cssText=`position:fixed;inset:auto;opacity:0;pointer-events:none`;let i=t.createElement(`div`);i.tabIndex=-1;let a=t.createElement(`button`);a.type=`button`,i.appendChild(a),r.appendChild(i),e.appendChild(r);try{r.show(),E0=t.activeElement===i,r.close()}catch{E0=!0}finally{r.remove(),t.activeElement!==n&&n instanceof HTMLElement&&n.isConnected&&n.focus({preventScroll:!0})}return E0}function n0(e){let t=$.deferredTopLayer.get(e.ownerDocument);if(t!=null&&t.deferred.delete(e)&&t.deferred.size===0&&Z1(t),e.hasAttribute(`popover`)&&typeof e.hidePopover==`function`)try{e.hidePopover()}catch{}e.open&&e.close()}function r0(e){if(e==null||!K1(e))return;let t=e.ownerDocument,n=t.activeElement;n0(e),t.activeElement!==n&&n instanceof HTMLElement&&n.isConnected&&n.focus({preventScroll:!0})}function i0(){if($.batchOpened.length!==1||$.batchClosed.length!==1){a0();return}let[e]=$.batchOpened,[t]=$.batchClosed;if($.batchPair!=null&&$.batchPair.replaced===t||t===e||t.replaceable==null||e.replaceable==null||t.doc!==e.doc||t.isModal!==e.isModal||t.replace?.replacer===e||!e.isOpen||t.isOpen)return;let n=t.getElement(),r=e.getElement();if(n==null||r==null||n.contains(r)||r.contains(n)||L1(t).some(n=>n!==e&&n!==t&&n.isOpen&&F1(n,t)>0))return;let i=$.batchActor;(i==null||i===t.doc.body||n.contains(i))&&(t.replacing!=null&&t.replacing!==e&&s0(t.replacing),t.replace!=null&&(t.replace.replacer.replacing=null),e.replace!=null&&(e.replace=null),t.replace={replacer:e,motion:`covered`,alignmentOffset:0,isAlignmentComplete:!1,isEnteringComplete:!1},e.replacing=t,$.batchPair={replaced:t,replacer:e,replacerOpener:e.replaceable.getOpener()},$.lastPress.delete(e.doc),e.replaceable.setOpener(t.replaceable.getOpener()),$.pendingReplaceFocus=e)}function a0(){let e=$.batchPair;if(e==null)return;$.batchPair=null;let{replaced:t,replacer:n,replacerOpener:r}=e;t.replace?.replacer===n&&(t.replace=null),n.replacing===t&&(n.replacing=null),n.replaceable?.setOpener(r),$.pendingReplaceFocus===n&&($.pendingReplaceFocus=null)}function o0(){let e=$.pendingReplaceFocus;if(e==null)return;let t=e.getElement();t!=null&&K1(t)&&($.pendingReplaceFocus=null,e.focus(`replace`))}function s0(e){let t=e.replace;if(t==null)return;let{replacer:n}=t;e.replace=null,n.replacing===e&&(n.replacing=null),e.hide(),e.replaceable?.finish()}function c0(e){let t=e.getBoundingClientRect().top,n=e.ownerDocument.defaultView;if(n==null||typeof n.DOMMatrixReadOnly!=`function`)return t;let{transform:r}=n.getComputedStyle(e);return r===``||r===`none`?t:t-new n.DOMMatrixReadOnly(r).m42}function l0(e,t){return e==null||t==null?0:Math.max(0,c0(e)-t.getBoundingClientRect().top)}function u0(e,t,n){let r=$.entries.find(t=>t.key===e);if(r==null)return;if(n===`entering`){let e=r.replacing,n=e?.replace??null;if(e==null||n==null||n.replacer!==r)return;if(t===`start`){if(n.motion!==`covered`)return;let t=l0(r.replaceable?.getPanel()??null,e.replaceable?.getPanel()??null);if(t>x0&&(n.motion=`aligning`,n.alignmentOffset=t,n.isAlignmentComplete=!1),r.isEnteringInPlace)r.isEnteringInPlace=!1,n.isEnteringComplete=!0,n.motion!==`aligning`&&(n.motion=`fading`);else if(n.motion===`covered`)return}else{if(n.isEnteringComplete=!0,n.motion===`aligning`&&!n.isAlignmentComplete)return;n.motion=`fading`}p0(r.doc,r.isModal);return}let i=r.replace;i!=null&&t===`complete`&&(n===`aligning`&&i.motion===`aligning`?(i.isEnteringComplete?i.motion=`fading`:i.isAlignmentComplete=!0,p0(r.doc,r.isModal)):n===`fading`&&i.motion===`fading`&&(s0(r),p0(r.doc,r.isModal)))}function d0(e,t,n){let r=R1(e,t),i=n.filter(e=>{let t=e.getElement();return t!=null&&t.isConnected}),a=0,o=0;for(;a=0;--e)s.has(r[e])||r[e].hide();for(let e of c){let t=l!=null&&e.getElement()?.contains(l)?l:null,n=t?.hasAttribute(`autofocus`)??!1;t!=null&&!n&&t.setAttribute(`autofocus`,``),e.show(),t!=null&&!n&&t.removeAttribute(`autofocus`),u=!0}if(z1(e,t,i),!u)return;if(c.some(e=>r.includes(e))&&aA(),l!=null&&l.isConnected){e.activeElement!==l&&l.focus({preventScroll:!0});return}let d=i.filter(e=>e.isOpen);d[d.length-1]?.focus(`open`)}function f0(e,t){let n=$.focusToKeep.get(e);$.focusToKeep.delete(e);let r=e.activeElement,i=n!=null&&n.isConnected?n:r instanceof HTMLElement&&r!==e.body?r:null;if(i==null)return null;for(let e of t){let t=e.getElement();if(e.isOpen&&t!=null&&t.contains(i))return i}return null}function p0(e,t){i0(),$.batchOpened.length>0&&$.batchClosed.length>0&&g0();let n=I1(e,t);V1(n,t),d0(e,t,n),$.focusToKeep.delete(e),o0(),X1(e)}function m0(e,t,n=!0){let{key:r}=e,i=$.rankByKey.get(r),a;i!=null&&!i.isClosed&&(i.detachedBatch==null||i.detachedBatch===$.currentBatch)?(a={batch:i.batch,seq:i.seq},i.detachedBatch=null):(a=S1(),$.rankByKey.set(r,{...a,isClosed:!t,detachedBatch:null}));let o=e.getElement()?.ownerDocument??document;A1(o);let s={...e,rank:a,isOpen:t,doc:o,isModal:n,view:b0,replace:null,replacing:null,isEnteringInPlace:!1};return $.entries.push(s),t&&a.batch===$.currentBatch&&$.isBatchDirty&&P1(s,`opened`),p0(s.doc,s.isModal),()=>{let e=$.entries.indexOf(s);if(e===-1)return;$.entries.splice(e,1),j1(s.doc),z1(s.doc,s.isModal,R1(s.doc,s.isModal).filter(e=>e!==s)),$.batchOpened=$.batchOpened.filter(e=>e!==s),$.batchClosed=$.batchClosed.filter(e=>e!==s),$.pendingDrops=$.pendingDrops.filter(e=>e!==s),$.pendingReplaceFocus===s&&($.pendingReplaceFocus=null),($.batchPair?.replaced===s||$.batchPair?.replacer===s)&&($.batchPair=null);let t=$.closingTogether.get(s);s.replace!=null&&(s.replace.replacer.replacing=null,s.replace=null),s.replacing!=null&&(s.replacing.replace=null,s.replacing=null),s.hide(),t!=null&&k1(s,t);let n=$.rankByKey.get(r);n!=null&&(n.detachedBatch=$.currentBatch,$.isBatchDirty=!0,C1()),s.view=b0,s.onView(s.view),p0(s.doc,s.isModal)}}function h0(e,t){let n=$.entries.find(t=>t.key===e);if(n==null||n.isOpen===t)return;n.isOpen=t;let r=$.rankByKey.get(e);if(t){if($.closingTogether.has(n)){let e=$.closingTogether.get(n);$.closingTogether.delete(n),e?.pending.delete(n)}n.rank=S1(),$.rankByKey.set(e,{...n.rank,isClosed:!1,detachedBatch:null}),P1(n,`opened`),n.replace!=null&&(n.replace.replacer.replacing=null,n.replace=null,n.isEnteringInPlace=!0)}else r!=null&&(r.isClosed=!0),$.isBatchDirty=!0,C1(),P1(n,`closed`),n.isEnteringInPlace=!1,n.replacing!=null&&$.pendingDrops.push(n.replacing);p0(n.doc,n.isModal)}function g0(){if($.pendingDrops.length===0)return;let e=$.pendingDrops;$.pendingDrops=[];for(let t of e){let e=t.replace?.replacer;e!=null&&!e.isOpen&&s0(t)}}function _0(e){let t=$.entries.find(t=>t.key===e);if(t==null)return null;let n=L1(t);for(let e=n.indexOf(t)-1;e>=0;--e){let t=n[e],r=t.getElement();if(t.isOpen&&r!=null)return{element:r,focus:()=>t.focus(`reveal`)}}return null}function v0(e){let t=e.closest(`dialog`);for(let n of e.querySelectorAll(`[data-autofocus]`))if(!(n.closest(`dialog`)!==t||n.closest(`[inert]`)!=null||typeof n.checkVisibility==`function`&&!n.checkVisibility())&&(n.focus({preventScroll:!0}),n.ownerDocument.activeElement===n))return!0;return!1}function y0(e,t,n){if(e==null)return;let r=e.closest(`dialog`);if(r!=null&&(r.hasAttribute(`inert`)||r.getAttribute(`aria-hidden`)===`true`))return;let i=e.ownerDocument.activeElement,a=i!=null&&e.contains(i)&&i.closest(`dialog`)===e.closest(`dialog`);a&&(t===`reveal`||t===`replace`&&i!==e)||(t===`reveal`?GA(e):a&&i?.hasAttribute(`data-autofocus`)===!0||v0(e)||!a&&(n||t===`replace`)&&e.focus({preventScroll:!0}))}var b0,x0,S0,C0,w0,$,T0,E0,D0=o((()=>{lA(),bj(),od(),Xn(),b0={isStacked:!1,isTop:!1,isCovered:!1,depth:0,ownsScrim:!1,isScrimHandoff:!1,isBlocked:!1,isScrimTakenOver:!1,replacedMotion:null,alignmentOffset:0,isReplacing:!1},x0=1,S0=8,C0=Symbol.for(`astryx.bottomSheetStack.v${S0}`),w0=S0,$=Gn(C0,x1,e=>e?.shape===w0),T0=1e3,E0=null})),O0,k0=o((()=>{ys(),O0=_s(`BottomSheetSwitcherContext`,1,null),O0.displayName=`BottomSheetSwitcherContext`})),A0,j0=o((()=>{ys(),A0=_s(`BottomSheetEscapeContext`,1,!0),A0.displayName=`BottomSheetEscapeContext`}));function M0(e){return[e.isStacked&&U0.positionerStackMotion,e.depth===1&&U0.positionerReceded1,e.depth>=2&&U0.positionerReceded2]}function N0(e,t){if(e.isStacked)return t?e.isTop?`top`:`covered`:e.replacedMotion==null?`exiting`:`replaced`}function P0(e){return e.isStacked&&!e.ownsScrim?`0`:`1`}function F0(e,t,n){if(e==null)return;let r=e.style.getPropertyValue(`--_sheet-scrim-duration`);t==null?(n.current!=null&&r===n.current&&(e.style.removeProperty(`--_sheet-scrim-duration`),e.style.removeProperty(`--_sheet-scrim-easing`)),n.current=null):r!==`0s`&&(n.current=`${t.durationMs}ms`,e.style.setProperty(`--_sheet-scrim-duration`,n.current),e.style.setProperty(`--_sheet-scrim-easing`,t.easing))}function I0(e,t){switch(e){case`active`:return{kind:`open`,entering:!1};case`entering`:return{kind:`open`,entering:!0};case`covered`:case`aligning`:case`fading`:return{kind:`retained`,motion:e,alignmentOffset:t};case`exiting`:return{kind:`exiting`};case`hidden`:return{kind:`hidden`}}}function L0(e,t){y0(e,`open`,t)}function R0({ref:e,isOpen:t,onOpenChange:n,label:r,children:i,height:a=`capped`,snapPoints:o,hasScrim:s=!0,finalFocusRef:c,purpose:l=`info`,xstyle:u,...d}){let f=(0,V0.useRef)(null),p=(0,V0.useRef)(null),m=(0,V0.useRef)(null),h=(0,V0.useRef)(!1),g=nu(c),_=(0,V0.use)(_1)?.isOpen??!0,v=tx(),y=t&&_&&!v,[b,x]=hk(t,y,!1),S=b&&y;Mj(f,y&&s);let[w,T]=(0,V0.useState)(y);y&&!w&&T(!0);let E=y||w,D=(0,V0.useRef)({}),[O,k]=(0,V0.useState)(b0),A=(0,V0.useRef)(y);(0,V0.useInsertionEffect)(()=>{A.current=y},[y]);let j=!y&&w&&O.replacedMotion!=null,[M,N]=(0,V0.useState)(!1),[P,F]=(0,V0.useState)(y);P!==y&&(F(y),N(!1));let I=y?{kind:`open`,entering:O.isReplacing}:j?{kind:`retained`,motion:O.replacedMotion??`covered`,alignmentOffset:O.alignmentOffset}:w?M?{kind:`exiting`}:{kind:`open`,entering:!1}:{kind:`hidden`},L=(0,V0.use)(A0),R=(0,V0.useCallback)(()=>{y&&l!==`required`&&L&&n(!1)},[L,y,n,l]),z=(0,V0.useCallback)(()=>{l===`info`&&n(!1)},[n,l]),B=(0,V0.useCallback)(e=>{p.current=e},[]),V=(0,V0.useRef)(O),H=(0,V0.useRef)({frame:null});(0,V0.useEffect)(()=>()=>G1(H.current),[]);let ee=(0,V0.useCallback)(e=>W1(f.current,e,H.current),[]),U=(0,V0.useCallback)(e=>{let t=V.current;(!t.isStacked||t.ownsScrim)&&f.current?.style.setProperty(`--_sheet-scrim-opacity`,String(e))},[]),te=(0,V0.useRef)(null),W=(0,V0.useCallback)((e,t)=>{let n=V.current;(!n.isStacked||n.ownsScrim)&&F0(e.closest(`dialog`),t,te)},[]);(0,V0.useLayoutEffect)(()=>{if(!E)return;let e=D.current,t=f.current,n=t==null?null:qA(t,{keepRestingFocus:!0}),r=()=>g.current?.current??m.current,i=m0({key:e,getElement:()=>f.current,show:()=>{let e=f.current;e==null||K1(e)||(m.current??=document.activeElement,s?(e.style.setProperty(`--_sheet-scrim-opacity`,P0(V.current)),e.showModal()):$1(e,p.current))},hide:()=>r0(f.current),focus:e=>y0(p.current,e,s),getReturnTarget:r,onView:e=>{V.current=e,k(e),A.current||e.replacedMotion!=null?ee(P0(e)):e.isScrimTakenOver&&ee(`0`)},replaceable:{getPanel:()=>p.current,getOpener:()=>m.current,setOpener:e=>{m.current=e},finish:()=>{m.current=null,T(!1)}}},A.current,s);return()=>{if(n!=null&&K1(t)){let t=r(),i=s?_0(e):null;n(()=>{(i==null||i.element.isConnected)&&(i!=null&&(t==null||!i.element.contains(t))?i.focus():t!=null&&t.isConnected&&KA(t))})}i()}},[g,s,E,ee]),(0,V0.useLayoutEffect)(()=>{if(!y){let e=f.current;h.current=e!=null&&e.contains(e.ownerDocument.activeElement)}E&&h0(D.current,y),y||N(!0)},[s,y,E]);let G=oA(f,y&&s,O.isTop,`bottom-sheet`);(0,V0.useEffect)(()=>{w1()}),(0,V0.useLayoutEffect)(()=>{let e=f.current;e!=null&&s&&(y||j?e.style.setProperty(`--_sheet-scrim-opacity`,P0(V.current)):w&&e.style.setProperty(`--_sheet-scrim-opacity`,`0`))},[s,y,w,j]);let ne=(0,V0.useCallback)(e=>{u0(D.current,`start`,e)},[]),re=(0,V0.useCallback)(e=>{if(u0(D.current,`complete`,e),e!==`exiting`||y)return;if(s&&V.current.depth>0){r0(f.current),T(!1),m.current=null;return}if(s&&E1(D.current)){r0(f.current),T(!1),m.current=null,O1(D.current);return}let t=f.current;t!=null&&n0(t),T(!1);let n=s?_0(D.current):null,r=c?.current??(s||h.current?m.current:null);n!=null&&(r==null||!n.element.contains(r))?n.focus():r!=null&&KA(r),m.current=null},[c,s,y]),{ref:ie}=Ff(),K=gx(f,ie);Yk(E&&s),OC(`BottomSheet`,\"requires a non-empty `label` for an accessible name; the open sheet has no built-in heading to derive one from.\",y&&!r);let{shouldDismissOnCloseRequest:q}=Bx({isActive:E,escapeBehavior:y&&l!==`required`&&L?`close`:`block`,onDismiss:R,getContainer:()=>f.current,isPresent:()=>K1(f.current)&&!V.current.isCovered&&V.current.replacedMotion==null}),ae=(0,V0.useCallback)(e=>{e.target===e.currentTarget&&(e.preventDefault(),q()&&R())},[R,q]),oe=(0,V0.useCallback)(e=>{s&&e.target===e.currentTarget&&z()},[z,s]),se=!y&&w,ce=se&&j||O.isBlocked,le=se&&!j&&M;return(0,V0.useLayoutEffect)(()=>{let e=f.current;if(le&&e!=null)return hA(e,{until:new Promise(()=>{}),scope:`layer`,focus:`kept-inside`})},[le]),(0,H0.jsxs)(`dialog`,{...C(U0.dialog,E&&U0.dialogOpen,E&&U0.dialogPanelHost,...M0(O),s&&U0.scrim,s&&S&&U0.scrimSettled,s&&se&&U0.scrimClosing,!s&&U0.dialogNonModal),ref:K,popover:s?void 0:`manual`,\"aria-label\":r,\"aria-hidden\":ce?`true`:void 0,\"aria-modal\":s&&y?`true`:void 0,role:l===`required`?`alertdialog`:void 0,inert:ce?!0:void 0,\"data-sheet-stack\":s?N0(O,y):void 0,\"data-sheet-stack-depth\":s&&O.depth>0?O.depth:void 0,onCancel:ae,...rp({onClick:oe}),children:[(0,H0.jsx)(Z$,{...d,ref:e,state:I,isEntrySettled:S,onEntrySettled:x,isOpenRequested:y,height:a,label:r,snapPoints:o,isSwipeDismissAllowed:l===`info`,isPageScrollLocked:E&&s,xstyle:u,onDismiss:z,onScrimOpacity:U,onScrimFade:W,onElementChange:B,handleRef:G,onMotionStart:ne,onMotionComplete:re,children:(0,H0.jsx)(UM,{dialogRef:f,isOpen:y&&s,children:(0,H0.jsx)(xx,{children:(0,H0.jsx)(A0,{value:!0,children:(0,H0.jsx)(_1,{value:y?v1:y1,children:i})})})})}),E&&(0,H0.jsx)(m1,{})]})}function z0({switcher:e,ref:t,sheetId:n,label:r,children:i,height:a=`capped`,snapPoints:o,purpose:s=`info`,xstyle:c,...l}){let{activeSheet:u,hasScrim:d,onActiveSheetChange:f,getSheetPhase:p,getSheetAlignmentOffset:m,hostSheet:h,isScrimOwner:g,isFlowClosing:_,registerSheetElement:v,registerSheetDialog:y,registerSheetPurpose:b,onBeforeSheetPresent:x,onBeforeSheetShow:S,isCoveredInTopLayer:w,onSheetEnterStart:T,onSheetTransitionComplete:E,onSheetScrimOpacityChange:D,stackView:O,dialogProps:k,onDialogCancel:A,onDialogClick:j,onDialogKeyDown:M,settledSheet:N,releaseSettledSheet:P}=e,F=typeof n==`string`&&n.length>0,I=F?p(n):`hidden`,L=I0(I,F?m(n):0),R=I===`active`||I===`entering`,z=I===`covered`||I===`aligning`||I===`fading`||I===`exiting`,B=I!==`hidden`,V=F&&B&&N===n,H=I===`active`||I===`entering`,ee=F&&g(n),U=z||d&&O.isBlocked,te=F&&h===n,W=(0,V0.useRef)(null),G=(0,V0.useRef)(null),ne=(0,V0.useRef)(null),re=(0,V0.useRef)(I),ie=re.current,K=(0,V0.useRef)(!1);(0,V0.useLayoutEffect)(()=>{re.current=I},[I]);let q=(0,V0.useCallback)(()=>{s===`info`&&F&&u===n&&f(null)},[u,F,f,s,n]),ae=(0,V0.useCallback)(e=>{ne.current=e,F&&v(n,e)},[F,v,n]),oe=(0,V0.useCallback)(e=>{W.current=e,F&&y(n,e)},[F,y,n]),se=(0,V0.useCallback)(e=>{e===`entering`&&F&&T(n)},[F,T,n]),ce=(0,V0.useCallback)(e=>{F&&E({sheetId:n,phase:e})},[F,E,n]),le=(0,V0.useCallback)(e=>{F&&D(n,e)},[F,D,n]),J=(0,V0.useRef)(null),ue=(0,V0.useCallback)((e,t)=>{F0(e.closest(`dialog`),t,J)},[]);(0,V0.useLayoutEffect)(()=>{if(F)return b(n,s),()=>b(n,null)},[F,s,b,n]),(0,V0.useLayoutEffect)(()=>{let e=W.current;if(e==null||!F)return;if(!B){e.open&&e.close(),G.current=null;return}let t=d?`modal`:`non-modal`;e.open&&G.current!==t&&e.close(),e.open&&d&&R&&w(n)&&e.close(),e.open||(d?(x(n),ee?H1(e):U1(e)):(S(),e.show())),G.current=t},[d,F,w,R,B,x,S,ee,n]),(0,V0.useLayoutEffect)(()=>()=>{let e=W.current;e?.open&&e.close()},[]),(0,V0.useEffect)(()=>{if(R){let e=ie===`active`||ie===`entering`;K.current&&e||L0(ne.current,d),K.current=!0}else I===`hidden`&&(K.current=!1)},[d,R,I,ie]),OC(`BottomSheet`,\"requires a non-empty `label` for an accessible name; the open sheet has no built-in heading to derive one from.\",R&&!r);let{className:de,style:fe,xstyle:pe,\"aria-label\":me,\"aria-labelledby\":he,id:ge,\"data-testid\":_e,...ve}=k,ye=Q(C(U0.dialog,B&&U0.dialogOpen,d&&U0.scrim,d&&V&&U0.scrimSettled,d&&ee&&_&&U0.scrimClosing,!d&&U0.dialogNonModalItem,!d&&H&&U0.dialogNonModalItemTop,pe),de,fe);return(0,H0.jsxs)(`dialog`,{...ve,...ye,id:te?ge:void 0,\"data-testid\":te?_e:void 0,ref:oe,\"aria-label\":me??(he==null?r:void 0),\"aria-labelledby\":he,\"aria-modal\":d&&R?`true`:void 0,\"aria-hidden\":U?`true`:void 0,inert:U?!0:void 0,\"data-sheet-stack\":d&&B?N0(O,u!=null):void 0,\"data-sheet-stack-depth\":d&&B&&O.depth>0?O.depth:void 0,role:s===`required`?`alertdialog`:ve.role,onCancel:A,onKeyDown:M,...rp({...ve,onClick:j}),children:[(0,H0.jsx)(`div`,{...C(U0.positioner,!B&&U0.positionerHidden,H&&U0.positionerTop,...d?M0(O):[]),hidden:!B,\"aria-hidden\":U?`true`:void 0,inert:U?!0:void 0,children:(0,H0.jsx)(Z$,{...l,ref:t,state:L,isEntrySettled:V,onEntrySettled:P,isOpenRequested:F&&u===n,height:a,label:r,snapPoints:o,isSwipeDismissAllowed:s===`info`,isPageScrollLocked:d,xstyle:c,onDismiss:q,onScrimOpacity:le,onScrimFade:ue,onElementChange:ae,onMotionStart:se,onMotionComplete:ce,children:(0,H0.jsx)(O0,{value:null,children:(0,H0.jsx)(UM,{dialogRef:W,isOpen:B&&d,children:(0,H0.jsx)(xx,{children:(0,H0.jsx)(A0,{value:!0,children:(0,H0.jsx)(_1,{value:R?v1:y1,children:i})})})})})})}),B&&(0,H0.jsx)(m1,{})]})}function B0(e){let t=(0,V0.use)(O0),n=e.sheetId,r=typeof n==`string`&&n.length>0;return OC(`BottomSheet`,\"requires a non-empty `sheetId` when nested in BottomSheetSwitcher; standalone `isOpen` / `onOpenChange` props are ignored there.\",t!=null&&!r),OC(`BottomSheet`,\"`sheetId` only works inside BottomSheetSwitcher. Use `isOpen` and `onOpenChange` for a standalone sheet.\",t==null&&n!=null),t==null?(0,H0.jsx)(R0,{...e}):(0,H0.jsx)(z0,{...e,switcher:t})}var V0,H0,U0,W0=o((()=>{V0=u(f(),1),au(),ox(),_k(),D(),MC(),Qk(),vx(),AA(),bC(),Tx(),KM(),lA(),Ux(),Lj(),bj(),Hf(),p1(),g1(),b1(),D0(),k0(),j0(),op(),H0=mc(),U0={dialog:{kVAEAm:`xixxii4`,kpwlN0:`x10a8y8t`,kzqmXN:`x1o6l61p`,kZKoxP:`xtdtrs8`,ks0D6T:`x1x1rfll`,kskxy:`x7ab17h`,kogj98:`x1ghz6dp`,kmVPX3:`x1717udv`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kWkggS:`xjbqb8w`,kVQacm:`x1rea2x4`,k1xSpc:`x1s85apg`,kI3sdo:`x1a2a7pz`,$$css:!0},dialogOpen:{k1xSpc:`x1lliihq`,$$css:!0},dialogPanelHost:{k1xSpc:`x78zum5`,kjj79g:`xl56j7k`,kGNEyG:`xuk3077`,$$css:!0},dialogNonModal:{kfzvcC:`x47corl`,kzqmXN:`xh8yej3`,kZKoxP:`x5yr21d`,$$css:!0},dialogNonModalItem:{kfzvcC:`x47corl`,kzqmXN:`xh8yej3`,kZKoxP:`x5yr21d`,$$css:!0},dialogNonModalItemTop:{kY2c9j:`x1vjfegm`,$$css:!0},scrim:{kGyWv1:`xnixb3f`,k5sjJv:`xni466t xxiuuzi`,kND0Po:`xc0dz0a`,k9an0g:`x10buo38`,kb4ib:`x15h3t91`,kwHxkk:`x142juwg`,k4oj2o:`x15l12jy`,$$css:!0},scrimSettled:{k9an0g:`x108qnu8`,$$css:!0},scrimClosing:{kb4ib:`x1w553ls`,$$css:!0},positioner:{kVAEAm:`x10l6tqk`,kkqhue:`x17y0mx6`,krVfgx:`x1ey2m1c`,k1xSpc:`x78zum5`,kjj79g:`xl56j7k`,kfzvcC:`x47corl`,$$css:!0},positionerHidden:{k1xSpc:`x1s85apg`,$$css:!0},positionerTop:{kY2c9j:`x1vjfegm`,$$css:!0},positionerStackMotion:{k3nNDw:`x1fpg8nb`,k1ekBW:`x11xpdln`,kIyJzY:`x80gvsz`,kAMwcw:`xlr8y92`,k6CgDc:`xzg1mie`,$$css:!0},positionerReceded1:{k3aq6I:`xfkfg1k`,$$css:!0},positionerReceded2:{k3aq6I:`xdo3dbm`,$$css:!0}},B0.displayName=`BottomSheet`})),G0=c({MenuBottomSheet:()=>K0});function K0({finalFocusRef:e,isOpen:t,onOpenChange:n,label:r,children:i}){let[a,o]=(0,q0.useState)(t);t&&!a&&o(!0);let s=(0,q0.useRef)(null);return(0,q0.useEffect)(()=>{if(t||!a)return;let e=s.current?.closest(`dialog`);if(e==null||!e.open){o(!1);return}let n=()=>o(!1);return e.addEventListener(`close`,n),()=>e.removeEventListener(`close`,n)},[a,t]),a?(0,J0.jsx)(B0,{ref:s,finalFocusRef:e,isOpen:t,onOpenChange:n,label:r,height:`hug`,padding:0,purpose:`info`,children:i}):null}var q0,J0,Y0=o((()=>{q0=u(f(),1),W0(),J0=mc(),K0.displayName=`MenuBottomSheet`}));ox(),XS(),rC();var X0=YS(async()=>nC(()=>Promise.resolve().then(()=>(UQ(),IQ)),void 0)),Z0=X0.load;async function Q0(){try{return await Z0(),{isLoaded:!0}}catch(e){return{isLoaded:!1,error:e}}}var $0=async()=>nC(()=>Promise.resolve().then(()=>(Y0(),G0)),void 0),e2=(0,X.lazy)(async()=>{let[e]=await Promise.all([$0(),Z0().catch(()=>void 0)]);return{default:e.MenuBottomSheet}}),t2=(0,X.lazy)(async()=>$0().then(e=>({default:e.MenuBottomSheet}))),n2=(0,X.lazy)(async()=>Z0().then(e=>({default:e.MenuBottomSheetActionList})));function r2(e){return tx()?null:(0,X.createElement)(X.Suspense,{fallback:null},(0,X.createElement)(e2,e))}function i2(e){return tx()?null:(0,X.createElement)(X.Suspense,{fallback:null},(0,X.createElement)(t2,e))}function a2(e){let[t]=(0,X.useState)(()=>X0.loaded()?.MenuBottomSheetActionList??null);return tx()?null:(0,X.createElement)(X.Suspense,{fallback:null},(0,X.createElement)(t??n2,e))}var o2={content:{kB7OPa:`x9f619`,kLKAdn:`xexx8yu`,kGO01o:`x18d9i69`,kg3NbH:`x7a5moj`,\"--container-padding-inline-start\":`x1cvlban`,\"--container-padding-inline-end\":`x2oyxnl`,\"--container-padding-block-start\":`x1047aw6`,\"--container-padding-block-end\":`xax9j7h`,$$css:!0},headingAlone:{k1K539:`x1p37lm5`,$$css:!0}};Xf(),ys();var s2=Uf(`DropdownMenuSurfaceContext`,1,null);s2.displayName=`DropdownMenuSurfaceContext`;var c2=Uf(`DropdownMenuRootOpenContext`,1,null);c2.displayName=`DropdownMenuRootOpenContext`;function l2(){return(0,X.use)(c2)!==!1}var u2=Uf(`DropdownMenuContext`,1,null);u2.displayName=`DropdownMenuContext`;function d2(){return(0,X.use)(u2)}var f2=_s(`DropdownMenuRadioGroupContext`,1,null);f2.displayName=`DropdownMenuRadioGroupContext`,bj();function p2(e,t){if(t||e.pointerType!==`mouse`)return;let n=e.currentTarget;n!==n.ownerDocument.activeElement&&GA(n,{preventScroll:!0})}var m2={root:{krdFHd:`xprhdup x13kg4je`,kfmiAY:`xexjgc1 x7vg3tk`,kVL7Gh:`xx92llm xb6b8hi`,kT0f0o:`x4b9gmp x1v34wvp`,$$css:!0}};sE(),TY(),iO(),oS(),iQ(),MQ(),vr(),vO();var h2={root:{kB7OPa:`x9f619`,kzqmXN:`xh8yej3`,k8WAf4:`xce4md1`,kg3NbH:`xf314gf`,kMv6JI:`x9ynric`,kGuDYH:`xcr08ib`,kLWn49:`x1kq96og`,kMwMTN:`x1tgivj0`,kWkggS:`xjbqb8w x1p2z2pi x17hk9mh`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kkrTdU:`x1ypdohk x16khyan`,k9WMMc:`x1yc453h`,kInvED:`x1c097ug`,$$css:!0},disabled:{kSiTet:`xbyyjgo`,kkrTdU:`xt0e3qv`,$$css:!0},destructive:{kMwMTN:`x1wj83wy`,\"--_item-label-color\":`x1pa1ci1`,\"--_item-description-color\":`x1dj2fx0`,$$css:!0}},g2={sm:{k8WAf4:`xu0wf1k`,kg3NbH:`xf314gf`,$$css:!0},md:{k8WAf4:`x1vofgu7`,$$css:!0},lg:{$$css:!0}};function _2({icon:e,label:t,description:n,onClick:r,href:i,target:a,rel:o,isDisabled:s=!1,endContent:c,hasCloseOnSelect:l=!0,variant:u=`default`,xstyle:d,className:f,style:p,ref:m,onPointerMove:h,onAuxClick:g,..._}){let v=d2(),y=v?.menuSize??`md`,b=gO(),x=(0,X.useCallback)(e=>{s?e.preventDefault():(i!=null&&TQ(e)||r?.(e),l&&v?.closeMenu())},[s,i,r,l,v]),S=(0,X.useCallback)(e=>{s?e.preventDefault():i!=null&&e.button===1&&l&&v?.closeMenu()},[s,i,l,v]),C=(0,X.useCallback)(e=>p2(e,s),[s]),w=u===`destructive`,T=nO();return(0,Z.jsx)(gY,{..._,onMouseDown:_C(_.onMouseDown,s?DQ:void 0),ref:m,as:i==null?void 0:T,role:`menuitem`,tabIndex:-1,onPointerMove:_C(C,h),...b,startContent:e?eE(e,{size:`sm`,color:w?`error`:`secondary`}):void 0,label:t,description:n,endContent:c,onClick:x,onAuxClick:_C(S,g),href:i,target:a,rel:o,draggable:i==null&&void 0,isDisabled:s,xstyle:[iS.focusVisible,h2.root,m2.root,rQ,g2[y],w&&h2.destructive,s&&h2.disabled,d],...Q(Y(`dropdown-menu-item`,{size:y,variant:w?`destructive`:null}),{className:f,style:p})})}_2.displayName=`DropdownMenuItem`,xZ(),vr();var v2={divider:{kqGvvJ:`xsq74q5`,$$css:!0}},y2=Y(`dropdown-menu-divider`).className;function b2({xstyle:e,className:t,style:n,ref:r,...i}){return(0,Z.jsx)(hZ,{...i,ref:r,xstyle:[v2.divider,e],className:t?`${y2} ${t}`:y2,style:n})}b2.displayName=`DropdownMenuDivider`,Lj();function x2(e){return e==null?[]:eA(e).filter(t=>t.tabIndex>=0&&!S2(t,e))}function S2(e,t){if(typeof window>`u`||!window.getComputedStyle)return!1;for(let n=e.parentElement;n!=null&&n!==t.parentElement;n=n.parentElement)if(window.getComputedStyle(n).display===`none`)return!0;return!1}function C2(e){return e.focus(),e.ownerDocument.activeElement===e}function w2(e,t,n,r,i=!1){if(t==null)return;e.preventDefault(),e.stopPropagation();let a=document.activeElement,o=wj([...x2(n),t,...x2(r)],a);if(o.length===1){i&&t.focus();return}let s=o.indexOf(t),c=t.contains(a)?s:o.findIndex(e=>e===a||e.contains(a));c<0&&(c=s);let l=e.shiftKey?-1:1,u=o[(c+l+o.length)%o.length];C2(u)||t.focus()}Rk(),x(),bj();var T2=new Set([`text`,`search`,`url`,`tel`,`email`,`password`,`number`]);function E2(e,t){let n=e.parentElement?.closest(`[hidden],[inert]`);return n!=null&&n!==t&&t.contains(n)}function D2(e){if(e.isContentEditable)return e;let t=e.closest(`[contenteditable]`);return t&&t.getAttribute(`contenteditable`)!==`false`?t:null}function O2(e,t){if(!(e instanceof HTMLElement))return!1;let n=D2(e);if(n){let e=typeof window<`u`?window.getSelection():null;return e&&e.rangeCount>0&&!e.isCollapsed?!0:(n.textContent??``).length>0}let r=e.tagName===`TEXTAREA`,i=e.tagName===`INPUT`&&T2.has(e.type);if(!r&&!i)return!1;let{selectionStart:a,selectionEnd:o,value:s}=e;return a!==o||a==null?!0:t===`ArrowLeft`||t===`ArrowUp`||t===`Home`?a>0:t===`ArrowRight`||t===`ArrowDown`||t===`End`?a{let e=p.current;if(!e)return[];let r=Array.from(e.querySelectorAll(t)).filter(t=>!E2(t,e));return n?r.filter(t=>t.closest(n)===e):r},[t,n]),g=(0,X.useCallback)(e=>{let t=p.current;if(!t||!n)return!0;let r=e.target;return!r||r.closest(n)===t},[n]),_=(0,X.useCallback)((e,t,n,r,i=m)=>{let a=e.length;if(a===0)return-1;let o=t;for(let t=0;t=a){if(!r)return-1;o=(o+a)%a}let t=e[o];if(t&&!i(t))return o;o+=n}return-1},[m]),v=(0,X.useCallback)(e=>!f&&m(e),[f,m]),y=(0,X.useCallback)(()=>{let e=h(),t=document.activeElement;return e.findIndex(e=>e===t||e.contains(t))},[h]),x=(0,X.useCallback)((e,t)=>{e.getAttribute(`tabindex`)!==String(t)&&e.setAttribute(`tabindex`,String(t))},[]),S=(0,X.useCallback)(()=>{let e=p.current;if(e!=null&&l!=null){let[t,...n]=l(e);t!=null&&x(t,0);for(let e of n)x(e,-1);return}let t=h(),n=t.filter(e=>!m(e));if(n.length===0)return;let r=n.find(e=>e.getAttribute(`tabindex`)===`0`)??n[0];for(let e of t)x(e,e===r?0:-1)},[h,m,x,l]);b(()=>{c&&S()});let C=(0,X.useCallback)((e,t)=>{let n=e[t];if(n){if(c){let t=p.current,r=t!=null&&l!=null?[...e,...l(t)]:e;for(let e of r)x(e,e===n?0:-1)}d?GA(n):n.focus()}},[c,x,d,l]),w=(0,X.useCallback)(e=>{let t=h();if(t.length===0)return;let n=Math.max(0,Math.min(e,t.length-1));C(t,n)},[h,C]),T=(0,X.useCallback)(()=>{let e=h(),t=_(e,0,1,!1);return t!==-1&&(C(e,t),!0)},[h,_,C]),E=(0,X.useCallback)(()=>{let e=h(),t=_(e,e.length-1,-1,!1);return t!==-1&&(C(e,t),!0)},[h,_,C]),D=(0,X.useCallback)(e=>{let t=p.current,n=h();if(!t||n.length===0)return;let r=y(),i=n.map((e,t)=>v(e)?-1:t).filter(e=>e!==-1);if(i.length===0)return;let a=()=>{let r=t.getBoundingClientRect(),a=i.filter(e=>{let t=n[e].getBoundingClientRect();return t.top>=r.top-1&&t.bottom<=r.bottom+1});return a.length===0?-1:e===1?a[a.length-1]:a[0]},o=t=>r===-1||(e===1?t>r:t{let r=t.getBoundingClientRect(),i=n[e].getBoundingClientRect();return i.height>0&&i.top>=r.top-1&&i.bottom<=r.bottom+1}).length),o=i.indexOf(r),c=o===-1?e===1?-1:i.length:o;s=i[Math.max(0,Math.min(i.length-1,c+e*a))]}s!==-1&&s!==r&&C(n,s)},[h,y,v,C,T]),O=(0,X.useCallback)(()=>{c&&S()},[c,S]);return{listRef:p,handleKeyDown:(0,X.useCallback)(e=>{if(e.ctrlKey||e.metaKey||e.altKey||!g(e))return;if(e.key===`Escape`){i&&(e.preventDefault(),i());return}let t=a===`horizontal`||a===`both`,n=a===`vertical`||a===`both`,c=[],d=[];if(t){let t=e.key===`ArrowLeft`||e.key===`ArrowRight`?Lk(p.current):!1;c.push(t?`ArrowLeft`:`ArrowRight`),d.push(t?`ArrowRight`:`ArrowLeft`)}n&&(c.push(`ArrowDown`),d.push(`ArrowUp`));let f=c.includes(e.key),m=d.includes(e.key),b=o&&e.key===`Home`,x=o&&e.key===`End`,S=s&&e.key===`PageDown`,w=s&&e.key===`PageUp`;if(!f&&!m&&!b&&!x&&!S&&!w||u&&(O2(e.target,e.key)||O2(document.activeElement,e.key)))return;let T=y(),E=h(),O=T===-1?0:T+1,k=T===-1?E.length-1:T-1,A=document.activeElement;if(T===-1&&l!=null&&A!=null&&p.current?.contains(A)){let e=E.findIndex(e=>(A.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)!==0);O=e===-1?E.length:e,k=O-1}if(S)D(1);else if(w)D(-1);else{let e;e=f?_(E,O,1,r,v):m?_(E,k,-1,r,v):b?_(E,0,1,!1,v):_(E,E.length-1,-1,!1,v),e!==-1&&C(E,e)}e.preventDefault()},[y,h,r,a,o,s,u,_,v,C,D,i,g,l]),handleFocus:O,focusItem:w,focusFirst:T,focusLast:E,ownsEvent:g,getItems:h}}x(),gs(),bj();var M2=500,N2=300,P2=8;function F2(e,t,n){return(e.x-n.x)*(t.y-n.y)-(t.x-n.x)*(e.y-n.y)}function I2(e,t,n,r){let i=F2(e,t,n),a=F2(e,n,r),o=F2(e,r,t);return!((i<0||a<0||o<0)&&(i>0||a>0||o>0))}function L2(e,t,n){let r=P2,i,a;if(t.x<=n.left)i={x:n.left,y:n.top-r},a={x:n.left,y:n.bottom+r};else if(t.x>=n.right)i={x:n.right,y:n.top-r},a={x:n.right,y:n.bottom+r};else if(t.y<=n.top)i={x:n.left-r,y:n.top},a={x:n.right+r,y:n.top};else if(t.y>=n.bottom)i={x:n.left-r,y:n.bottom},a={x:n.right+r,y:n.bottom};else return!1;return I2(e,t,i,a)}function R2(e){let{show:t,hide:n,isOpen:r,isEnabled:i,showDelay:a=150,hideDelay:o=200,clickGuardMs:s=M2,itemSelector:c,popoverId:l,ownsFocus:u=!0,flyoutRef:d}=e,f=ps(`(hover: hover)`),p=(0,X.useRef)(null),m=(0,X.useRef)(null),h=(0,X.useRef)(null),g=(0,X.useRef)(null),_=(0,X.useRef)(!1),v=(0,X.useRef)(0),y=(0,X.useRef)(0),x=(0,X.useRef)(r),S=(0,X.useCallback)(()=>{p.current&&=(clearTimeout(p.current),null),m.current&&=(clearTimeout(m.current),null),g.current?.(),g.current=null},[]);b(()=>{let e=x.current;x.current=r,e&&!r&&(S(),_.current=!1,y.current=0,v.current=Date.now())},[r,S]);let C=(0,X.useRef)(()=>{}),{listRef:w,handleKeyDown:T,focusFirst:E}=k2({itemSelector:c,onEscape:()=>C.current()}),D=(0,X.useCallback)(()=>{let e=w.current?.contains(document.activeElement)??!1;n();let t=h.current;e&&t!=null&&GA(t)},[n,w]),O=(0,X.useCallback)(e=>{e.defaultPrevented||T(e)},[T]);(0,X.useEffect)(()=>{C.current=()=>{S(),D()}},[S,D]),(0,X.useEffect)(()=>()=>S(),[S]),(0,X.useEffect)(()=>{i||S()},[i,S]);let k=(0,X.useCallback)(()=>{E()||w.current?.focus()},[E,w]),A=(0,X.useCallback)(()=>{u?(t({skipAutoFocus:!0}),k()):t()},[u,t,k]),j=(0,X.useCallback)(()=>s>0&&y.current>0&&Date.now()-y.current{l&&e?.preventDefault(),S(),e!=null&&e.detail===0?(v.current=0,_.current=!1,y.current=0,r?u&&k():A()):r?j()?u&&k():D():(v.current=0,_.current=!1,y.current=0,A())},[l,S,r,u,j,A,k,D]),N=(0,X.useCallback)(()=>{if(!f||v.current>0&&Date.now()-v.current{y.current=Date.now(),t({skipAutoFocus:!0})};a>0?p.current=setTimeout(e,a):e()},[f,r,S,t,a]),P=(0,X.useCallback)(e=>{if(v.current=0,!_.current)return;S();let t=null,i=!1,a=()=>!1,s=()=>{m.current&&clearTimeout(m.current),m.current=setTimeout(()=>{i&&t!=null&&a(t)?s():n()},o)};s();let c=d?.current??w.current,l=e==null?null:{x:e.clientX,y:e.clientY};if(c==null||l==null||!r)return;let u=c.getBoundingClientRect();if(u.width<=0||u.height<=0)return;let f=c.ownerDocument;a=e=>L2(e,l,u),i=!0,t=l;let p=e=>{let n={x:e.clientX,y:e.clientY};t=n,a(n)?s():(i=!1,g.current?.(),g.current=null)};f.addEventListener(`pointermove`,p,!0),g.current=()=>{f.removeEventListener(`pointermove`,p,!0)}},[S,n,o,r,w,d]),F=(0,X.useCallback)(()=>{S()},[S]),I=(0,X.useCallback)(e=>{h.current=e},[]),L=(0,X.useCallback)(()=>{},[]),R=(0,X.useCallback)(e=>{},[]),z=(0,X.useCallback)(e=>{},[]);return i?{triggerProps:{onClick:M,onMouseEnter:N,onMouseLeave:P,...l?{popoverTarget:l}:null},contentProps:{onMouseEnter:F,onMouseLeave:P,onKeyDown:O},menuRef:w,focusFirst:E,focusMenu:k,confirmHoverOpen:j,close:D,setTriggerEl:I}:{triggerProps:{onClick:L,onMouseEnter:L,onMouseLeave:L},contentProps:{onMouseEnter:L,onMouseLeave:L,onKeyDown:z},menuRef:w,focusFirst:E,focusMenu:k,confirmHoverOpen:j,close:D,setTriggerEl:R}}var z2=/[\\u0300-\\u036f]/g,B2={đ:`d`,Đ:`d`,ł:`l`,Ł:`l`,ø:`o`,Ø:`o`,ħ:`h`,Ħ:`h`,ŧ:`t`,Ŧ:`t`,ƀ:`b`,Ƀ:`b`,ı:`i`},V2=/[đĐłŁøØħĦŧŦƀɃı]/g,H2=/[đĐłŁøØħĦŧŦƀɃıİ]/;function U2(e){return e.normalize(`NFD`).replace(z2,``).replace(V2,e=>B2[e]??e).normalize(`NFC`).toLowerCase()}function W2(e,t){return e.length===0&&t!==` `&&U2(t).length===0?null:e.length>0&&e.split(``).every(e=>U2(e)===U2(t))?t:e+t}function G2(e){return e.normalize(`NFC`).replace(/I/g,`ı`).replace(/İ/g,`i`).toLowerCase()}function K2(e){return H2.test(e)||/[\\u0300-\\u036f]/.test(e.normalize(`NFD`))}function q2(e,t,n=!1){let r=e.trim();if(n)return G2(r).startsWith(G2(t));let i=U2(t);return i.length!==0&&U2(r).startsWith(i)}function J2(e,t,n){let r=K2(n)?[!0,!1]:[!1];for(let i of r)for(let r of e){let e=t(r);if(e!=null&&q2(e,n,i))return r}return-1}function Y2(e){return e.metaKey?!0:e.ctrlKey&&e.getModifierState?.(`AltGraph`)!==!0}function X2(e){return e.key.length===1&&!Y2(e)&&!Z2(e)&&e.key!==` `}function Z2(e){return e.isComposing===!0||e.nativeEvent?.isComposing===!0}function Q2(e){let{getItemLabels:t,onMatch:n,getCurrentIndex:r,resetMs:i=750,isDisabled:a}=e,o=(0,X.useRef)(``),s=(0,X.useRef)(void 0),c=(0,X.useCallback)(()=>{o.current=``,s.current&&=(clearTimeout(s.current),void 0)},[]);(0,X.useEffect)(()=>c,[c]);let l=(0,X.useCallback)(()=>{s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{o.current=``,s.current=void 0},i)},[i]);return{onKeyDown:(0,X.useCallback)(e=>{let i=e.key===` `&&!Y2(e)&&!Z2(e)&&o.current.length>0;if(!X2(e)&&!i)return!1;let s=W2(o.current,e.key);if(s==null)return!1;let c=t();if(c.length===0)return!1;o.current=s,l();let u=r?.()??-1,d=c.length,f=u>=0,p=f?u:0,m=f&&s.length===1?1:0,h=[];for(let e=0;ec[e],s);return g>=0&&n(g),!0},[t,n,r,l,a]),reset:c}}x();function $2(e,t,n,r){let i=(0,X.useRef)(null);b(()=>{i.current=r===void 0?null:t});let[a,o]=(0,X.useState)(null),s=(0,X.useCallback)(()=>{let t=e.current;if(!t)return;let n=t.scrollHeight>t.clientHeight+1;o(e=>e!=null&&e.hasOverflow===n&&Object.is(e.content,i.current)?e:{content:i.current,hasOverflow:n})},[e]);return b(()=>{if(!n)return;let t=e.current;if(!t)return;s();let r=typeof ResizeObserver>`u`?null:new ResizeObserver(s),i=typeof MutationObserver>`u`?null:new MutationObserver(s);return r?.observe(t),i?.observe(t,{childList:!0,characterData:!0,subtree:!0}),t.addEventListener(`load`,s,!0),window.addEventListener(`resize`,s),window.visualViewport?.addEventListener(`resize`,s),()=>{r?.disconnect(),i?.disconnect(),t.removeEventListener(`load`,s,!0),window.removeEventListener(`resize`,s),window.visualViewport?.removeEventListener(`resize`,s)}},[n,s,e]),b(()=>{n&&s()},[t,n,s]),r===void 0?a?.hasOverflow??!1:a!=null&&Object.is(a.content,t)?a.hasOverflow:r}var e4=new Set([`auto`,`contain`,`fit-content`,`inherit`,`initial`,`max-content`,`min-content`,`revert`,`revert-layer`,`stretch`,`unset`]);function t4(e){let t=e.trim().toLowerCase();return e4.has(t)||t.startsWith(`fit-content(`)}function n4(e,t){return`min(${typeof e==`number`?`${e}px`:e.trim()}, ${t})`}function r4(e,t){return typeof e==`string`&&t4(e)?{property:`inlineSize`,value:e.trim()}:{property:`minWidth`,value:n4(e,t)}}D(),sE(),TT(),TY(),j_(),bx(),dP(),wQ(),qp(),G(),Ox(),eR(),FQ(),oS(),iQ(),Hf(),vx(),MC(),vr(),MQ(),iT(),Ww({\"@astryx.dropdownMenu.back\":`Back`,\"@astryx.dropdownMenu.backTo\":`Back to {parent}`,\"@astryx.spinner.loading\":`Loading`}),`${Kp.maxBlockSize}`,`${Kp.maxBlockSizeFallback}`;var i4={root:{kB7OPa:`x9f619`,kzqmXN:`xh8yej3`,k8WAf4:`xce4md1`,kg3NbH:`xf314gf`,kMv6JI:`x9ynric`,kGuDYH:`xcr08ib`,kLWn49:`x1kq96og`,kMwMTN:`x1tgivj0`,kWkggS:`xjbqb8w x1p2z2pi`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kkrTdU:`x1ypdohk x16khyan`,k9WMMc:`x1yc453h`,kInvED:`x1c097ug`,$$css:!0},open:{kWkggS:`x1lmrjuc`,$$css:!0},disabled:{kSiTet:`xbyyjgo`,kkrTdU:`xt0e3qv`,$$css:!0}},a4={sm:{k8WAf4:`xu0wf1k`,kg3NbH:`xf314gf`,$$css:!0},md:{k8WAf4:`x1vofgu7`,$$css:!0},lg:{$$css:!0}},o4={kzqmXN:`x1uyokj7`,$$css:!0},s4={menu:{kB7OPa:`x9f619`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`x1lsbc85`,ks0D6T:`xc0b1yq`,kskxy:`x1uh1i8a`,\"--_dropdown-menu-radius\":`x1fcsqxe`,\"--_dropdown-menu-radius-top-left\":`xe8oyoz`,\"--_dropdown-menu-radius-top-right\":`x1u9pls2`,\"--_dropdown-menu-radius-bottom-right\":`x1vzu1ru`,\"--_dropdown-menu-radius-bottom-left\":`x1hdoyrq`,\"--_dropdown-menu-radius-start-start\":`xt5si22`,\"--_dropdown-menu-radius-start-end\":`xqi0wir`,\"--_dropdown-menu-radius-end-start\":`xix9rv`,\"--_dropdown-menu-radius-end-end\":`xoofv4m`,\"--_dropdown-menu-padding\":`xgory14`,kmVPX3:`x9epnlk`,kaIpWk:`x1n97fys`,kWkggS:`x1prclbq`,kGVxlE:`x1i5ehqx`,kMzoRj:`x13rsnn2`,ksu8eU:`xx61lck`,kVAM5u:`x1w1tqly`,kSiTet:`x1hc1fzr`,k1ekBW:`x19991ni`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,k7VYTy:`xpdipgo`,kfSwDN:`x87ps6o`,$$css:!0},scrollable:{kORKVm:`x1odjw0f`,kXHlph:`x6ikm8r`,kZeWKH:`xish69e`,$$css:!0},touchPinchZoom:{kFalU9:`x1j4r261`,$$css:!0},touchPanYPinchZoom:{kFalU9:`xge0x1e`,kZeWKH:`xish69e`,$$css:!0},popoverViewport:{kB7OPa:`x9f619`,kskxy:`x1uh1i8a`,$$css:!0},popover:{k7Eaqz:`x1b27s9g`,$$css:!0},popoverCustomWidth:e=>[{k7Eaqz:e==null?e:`xkj4a21`,$$css:!0},{\"--x-minWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],popoverCustomIntrinsicWidth:e=>[o4,{\"--x-inlineSize\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]},c4={kskxy:`x1jols5v`,$$css:!0},l4={viewMaxHeight:e=>[c4,{\"--x-maxHeight\":(e=>typeof e==`number`?e+`px`:e??void 0)(`min(${e}, ${Kp.maxBlockSize})`)}]},u4={frame:{kB7OPa:`x9f619`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kskxy:`x1uh1i8a`,\"--_dropdown-menu-radius\":`x1fcsqxe`,\"--_dropdown-menu-radius-top-left\":`xe8oyoz`,\"--_dropdown-menu-radius-top-right\":`x1u9pls2`,\"--_dropdown-menu-radius-bottom-right\":`x1vzu1ru`,\"--_dropdown-menu-radius-bottom-left\":`x1hdoyrq`,\"--_dropdown-menu-radius-start-start\":`xt5si22`,\"--_dropdown-menu-radius-start-end\":`xqi0wir`,\"--_dropdown-menu-radius-end-start\":`xix9rv`,\"--_dropdown-menu-radius-end-end\":`xoofv4m`,\"--_dropdown-menu-padding\":`xgory14`,kaIpWk:`x1n97fys`,$$css:!0},flyoutSurface:{ks0D6T:`xc0b1yq`,kWkggS:`x1prclbq`,kGVxlE:`x1i5ehqx`,kSiTet:`x1hc1fzr`,k1ekBW:`x19991ni`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,$$css:!0},menu:{kB7OPa:`x9f619`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`x1lsbc85`,kzQI83:`x1iyjqo2`,kmuXW:`xs83m0k`,kAzted:`x2lwn1j`,kmVPX3:`x9epnlk`,kI3sdo:`x1a2a7pz`,k7VYTy:`xpdipgo`,kfSwDN:`x87ps6o`,$$css:!0},hidden:{k1xSpc:`x1s85apg`,$$css:!0}};function d4(e){if(e==null)return;let t=e.ownerDocument,n=e.querySelectorAll(`[aria-expanded=\"true\"][aria-controls]`);for(let e of[...n].reverse()){let n=t.getElementById(e.getAttribute(`aria-controls`)??``);if(n?.getAttribute(`data-astryx-submenu-regions`)!==`flyout`)continue;let r=n.closest(`[popover]`);if(r!=null){if(typeof r.hidePopover==`function`)r.matches(`:popover-open`)&&r.hidePopover();else if(r.style.display===`block`){r.style.display=`none`;let e=new Event(`toggle`,{bubbles:!1});Object.defineProperty(e,\"newState\",{value:`closed`,configurable:!0}),r.dispatchEvent(e)}}}}function f4(e){let{icon:t,label:n,description:r,isDisabled:i=!1,hasSpinner:a=!1,menuWidth:o,onOpenChange:s,presentation:c=`adaptive`,delay:l=150,hideDelay:u=200,header:d,footer:f,children:p,xstyle:m,className:h,style:g,\"data-testid\":_,menuDataTestId:v,ref:y,id:b,onMouseEnter:x,onMouseLeave:S,onPointerMove:w,onClick:T,onKeyDown:E,...D}=e,O=nT(),k=d2(),A=(0,X.use)(s2),M=k?.menuSize??`md`,N=!i,P=bO(d)||bO(f),F=A!=null,I=P&&F,L=A?.host.getElement()??null;OC(`DropdownMenuSubMenu`,`header and footer show only inside a DropdownMenu; this menu has no place outside its rows for them, so they are not rendered.`,P&&!F);let R=(0,X.useId)(),z=(0,X.useRef)(null),B=(0,X.useRef)(null),V=(0,X.useRef)(null),[H,ee]=(0,X.useState)(!1),U=(0,X.useId)(),te=(0,X.useId)(),W=b??te,G=(0,X.useRef)(null),ne=k?.drillIn,re=ne!=null&&(c===`drill-in`||c===`adaptive`&&ne.isCompactTouch)?ne:null,ie=re!=null,K=(0,X.useId)(),q=re?.viewStack.includes(K)===!0,ae=q&&re?.viewStack.at(-1)===K,oe=typeof n==`string`?n:void 0,se=(0,X.useId)(),ce=oe==null&&bO(n),le=ce?(0,Z.jsx)(`span`,{id:se,children:n}):n,J=oe==null?ce?se:W:void 0,[ue,de]=(0,X.useState)(),fe=k?.menuLabel,pe=fe==null?O(`@astryx.dropdownMenu.back`):O(`@astryx.dropdownMenu.backTo`,{parent:fe}),[me,he]=(0,X.useState)(!1),ge=ie?q:me,_e=(0,X.useRef)(!1),ve=(0,X.useRef)(!1),ye=y_({mode:`context`,lightDismiss:!1,onShow:(0,X.useCallback)(()=>{ve.current=!1,he(!0),s?.(!0)},[s]),onHide:(0,X.useCallback)(()=>{ve.current=!1,d4(G.current?.ownerDocument.getElementById(U)??null),he(!1),s?.(!1)},[s,U])}),be=(0,X.useCallback)(()=>{N&&ye.show()},[N,ye]),xe=(0,X.useCallback)(()=>{I&&_e.current?ve.current=!0:ye.hide()},[ye,I]),Se=(0,X.useCallback)(()=>{_e.current=!0},[]),Ce=(0,X.useCallback)(e=>{if(_e.current=!1,!ve.current)return;let t=e.relatedTarget;t instanceof Node&&e.currentTarget.contains(t)||setTimeout(()=>{!_e.current&&ve.current&&G.current?.isConnected===!0&&(ve.current=!1,ye.hide())},0)},[ye]),we=(0,X.useCallback)(()=>{ve.current=!1},[]),{listRef:Te,handleKeyDown:Ee,focusFirst:De,focusItem:Oe,ownsEvent:ke,getItems:Ae}=j2({itemSelector:AQ,reachesDisabledItems:!0,boundarySelector:jQ,wrap:!0,hasPaging:!0,onEscape:()=>Be({focusTrigger:!0})}),je=$2(Te,p,ge&&(!ie||I)),Me=Q2({getItemLabels:()=>Ae().map(e=>e.textContent),onMatch:Oe,getCurrentIndex:()=>Ae().findIndex(e=>e===document.activeElement||e.contains(document.activeElement))}),Ne=l2();lP(a&&Ne,O(`@astryx.spinner.loading`),G);let{triggerProps:Pe,contentProps:Fe,confirmHoverOpen:Ie}=R2({show:be,hide:xe,isOpen:me,isEnabled:N&&!ie&&Ne,showDelay:l,hideDelay:u,flyoutRef:I?z:Te}),Le=(0,X.useRef)(null),Re=(0,X.useRef)(!1),ze=(0,X.useCallback)(e=>{if(N){if(re!=null){if(ce){let e=G.current?.ownerDocument.getElementById(se);de(e==null?void 0:NQ(e))}Le.current=e?.focusFirst?`first`:`container`,re.push(K),s?.(!0)}else ye.show(),e?.focusFirst&&(De()||Te.current?.focus())}},[N,re,K,s,ye,De,Te,ce,se]),Be=(0,X.useCallback)(e=>{re==null?(ye.hide(),e?.focusTrigger!==!1&&G.current?.focus()):q&&(Re.current=e?.focusTrigger!==!1,re.pop(),s?.(!1))},[re,q,s,ye]);(0,X.useEffect)(()=>{if(!ae||re?.host==null)return;let e=Le.current;if(e==null)return;Le.current=null;let t=Ae(),n=e===`first`?t.find((e,t)=>t>0&&e.getAttribute(`aria-disabled`)!==`true`)??t[0]:null;n==null?Te.current?.focus({preventScroll:!0}):n.focus({preventScroll:!0})},[ae,re?.host,Ae,Te]),(0,X.useEffect)(()=>{!q&&Re.current&&(Re.current=!1,G.current?.focus({preventScroll:!0}))},[q]);let Ve=ye.ref,He=gx((0,X.useCallback)(e=>{G.current=e,Ve(e)},[Ve]),y),Ue=(0,X.useCallback)(e=>{if(i)e.preventDefault();else if(ie){let t=e.detail>0||aQ();ze({focusFirst:!t})}else if(me){if(Ie()){De()||Te.current?.focus();return}Be({focusTrigger:!0})}else ze({focusFirst:!0})},[i,ie,me,ze,Be,Ie,De,Te]),We=(0,X.useCallback)(e=>{_C(Ue,T)(e)},[Ue,T]),Ge=(0,X.useCallback)(e=>{if(i)return;let t=typeof window<`u`&&G.current&&window.getComputedStyle(G.current).direction===`rtl`?`ArrowLeft`:`ArrowRight`;(e.key===t||e.key===`Enter`||e.key===` `)&&(e.preventDefault(),e.stopPropagation(),ze({focusFirst:!0}))},[i,ze]),Ke=(0,X.useCallback)(e=>p2(e,i),[i]),qe=(0,X.useCallback)(e=>{if(e.key===`Tab`){if(I){w2(e,Te.current,B.current,V.current,!ke(e));return}Be({focusTrigger:!1});return}if(!ke(e))return;if(e.key===`Escape`){e.preventDefault(),e.stopPropagation(),Be({focusTrigger:!0});return}if(e.key===`Enter`||e.key===` `){if(e.preventDefault(),e.repeat)return;let t=document.activeElement;t&&OQ.has(t.getAttribute(`role`)??``)&&EQ(t,e);return}let t=typeof window<`u`&&Te.current&&window.getComputedStyle(Te.current).direction===`rtl`?`ArrowRight`:`ArrowLeft`;e.key===t?(e.preventDefault(),Be({focusTrigger:!0})):Me.onKeyDown(e)?e.preventDefault():Ee(e)},[ke,Be,Ee,Me,Te,I]),Je=(0,X.useCallback)(e=>{e.key===`Tab`?w2(e,Te.current,B.current,V.current):e.key===`Escape`&&!e.defaultPrevented&&!Ex(e.nativeEvent)&&(e.preventDefault(),e.stopPropagation(),Be({focusTrigger:!0}))},[Te,Be]),Ye=(0,X.useMemo)(()=>({menuSize:M,closeMenu:()=>{Be({focusTrigger:!1}),k?.closeMenu()},drillIn:ne,menuLabel:oe??ue}),[M,Be,k,ne,oe,ue]),Xe=pQ({menuRef:Te,itemSelector:kQ,onDismiss:Ye.closeMenu}),Ze=a?(0,Z.jsx)(`span`,{className:`x78zum5 x6s0dn4`,children:(0,Z.jsx)(mT,{size:`sm`,\"aria-hidden\":`true`})}):(0,Z.jsx)(`span`,{className:`x78zum5 x6s0dn4`,children:(0,Z.jsx)(XT,{icon:`chevronRight`,size:`sm`,color:`secondary`,xstyle:$L.mirror,...Y(`dropdown-menu-indicator-icon`)})}),Qe=o?r4(o,Kp.maxInlineSizeFallback):null,$e=Qe?Qe.property===`inlineSize`?s4.popoverCustomIntrinsicWidth(Qe.value):s4.popoverCustomWidth(Qe.value):s4.popover,et=(0,Z.jsx)(u2,{value:Ye,children:(0,Z.jsxs)(s2,{value:A,children:[ie&&(0,Z.jsx)(_2,{icon:(0,Z.jsx)(XT,{icon:`chevronLeft`,size:`sm`,color:`secondary`,xstyle:$L.mirror}),label:pe,hasCloseOnSelect:!1,onClick:()=>Be({focusTrigger:!0})}),p]})}),tt=(0,Z.jsx)(c2,{value:Ne&&ge,children:et}),nt=I&&A!=null?{[gQ]:A.ownerId}:void 0,rt=(e,t,n)=>(0,Z.jsxs)(`div`,{ref:z,id:R,role:`dialog`,\"aria-modal\":`true`,\"data-astryx-submenu-regions\":n,...t,...n===`flyout`?{onFocus:Se,onBlur:Ce,onPointerEnter:we}:void 0,...n===`flyout`?Q(Y(`dropdown-menu`,{presentation:`popover`}),C(u4.frame,u4.flyoutSurface,yx.end)):C(u4.frame,A?.menuMaxHeight!=null&&l4.viewMaxHeight(A.menuMaxHeight),t.hidden===!0&&u4.hidden),children:[bO(d)&&(0,Z.jsx)(`div`,{ref:B,onKeyDown:Je,className:`x2lah0s x9epnlk`,children:d}),e,bO(f)&&(0,Z.jsx)(`div`,{ref:V,onKeyDown:Je,className:`x2lah0s x9epnlk`,children:f})]}),it=e=>I&&L!=null?(0,wS.createPortal)(e,L):e,at=e=>{I&&e.target===e.currentTarget&&ee(Lf(e.currentTarget)===`keyboard`)},ot=e=>{I&&e.target===e.currentTarget&&ee(!1)};return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(gY,{...D,onMouseDown:_C(D.onMouseDown,i?DQ:void 0),ref:He,id:W,role:`menuitem`,tabIndex:-1,\"aria-haspopup\":I?`dialog`:`menu`,\"aria-expanded\":ge,\"aria-controls\":ge?I?R:U:void 0,\"aria-disabled\":i||void 0,\"data-testid\":_,onMouseEnter:_C(Pe.onMouseEnter,x),onMouseLeave:_C(Pe.onMouseLeave,S),onPointerMove:_C(Ke,w),startContent:t?eE(t,{size:`sm`,color:`secondary`}):void 0,label:le,description:r,endContent:Ze,onClick:We,onKeyDown:_C(Ge,E),isDisabled:i,xstyle:[iS.focusVisible,i4.root,m2.root,rQ,a4[M],ge&&i4.open,i&&i4.disabled,m],...Q(Y(`dropdown-menu-item`,{size:M}),{className:h,style:g})}),re==null?it(ye.render(I?rt((0,Z.jsx)(`div`,{ref:Te,id:U,role:`menu`,tabIndex:0,\"aria-labelledby\":W,onKeyDown:qe,onFocus:at,onBlur:ot,\"data-testid\":v,...Xe.menuProps,...nt,...C(u4.menu,je?s4.touchPanYPinchZoom:s4.touchPinchZoom,je&&s4.scrollable,H&&iS.focusVisible),children:tt}),{\"aria-labelledby\":W,onMouseEnter:Fe.onMouseEnter,onMouseLeave:Fe.onMouseLeave},`flyout`):(0,Z.jsx)(`div`,{ref:Te,id:U,role:`menu`,tabIndex:je?0:-1,\"aria-labelledby\":W,onKeyDown:qe,onMouseEnter:Fe.onMouseEnter,onMouseLeave:Fe.onMouseLeave,\"data-testid\":v,...Xe.menuProps,...Q(Y(`dropdown-menu`,{presentation:`popover`}),C(s4.menu,je?s4.touchPanYPinchZoom:s4.touchPinchZoom,je&&s4.scrollable,yx.end)),children:tt}),{placement:`end`,alignment:`start`,offset:j[`--spacing-1`],xstyle:[s4.popoverViewport,$e]})):q&&re.host!=null&&(I?(0,wS.createPortal)(rt((0,Z.jsx)(`div`,{ref:Te,id:U,role:`menu`,tabIndex:0,\"aria-label\":oe,\"aria-labelledby\":J,onKeyDown:qe,onFocus:at,onBlur:ot,\"data-testid\":v,...Xe.menuProps,...nt,...C(u4.menu,je&&s4.scrollable,je?s4.touchPanYPinchZoom:s4.touchPinchZoom,H&&iS.focusVisible),children:tt}),{\"aria-label\":oe,\"aria-labelledby\":J,hidden:!ae,inert:!ae},`view`),L??re.host):(0,wS.createPortal)((0,Z.jsx)(`div`,{ref:Te,id:U,role:`menu`,tabIndex:-1,\"aria-label\":oe,\"aria-labelledby\":J,hidden:!ae,inert:!ae,onKeyDown:qe,\"data-testid\":v,...Xe.menuProps,...{0:{className:`x78zum5 xdt5ytf x1lsbc85 x1a2a7pz xpdipgo x87ps6o`},1:{className:`xdt5ytf x1lsbc85 x1a2a7pz xpdipgo x87ps6o x1s85apg`}}[!ae|0],children:tt}),re.host))]})}f4.displayName=`DropdownMenuSubMenu`,vr();function p4(e,t){return`item-${e.id??t}`}function m4(e,t){return`section-${e.id??t}`}function h4(e,t){let{items:n,id:r,...i}=e;return(0,Z.jsx)(_2,{...i},p4(e,t))}function g4(e,t){return e.items&&e.items.length>0?(0,Z.jsx)(f4,{icon:e.icon,label:e.label,isDisabled:e.isDisabled,children:_4(e.items)},p4(e,t)):h4(e,t)}function _4(e){let t=[];for(let n=0;n0&&a([]));let u=(0,X.useCallback)(e=>{a(t=>t.includes(e)?t:[...t,e])},[]),d=(0,X.useCallback)(()=>{a(e=>e.length===0?e:e.slice(0,-1))},[]),f=(0,X.useMemo)(()=>({isCompactTouch:n,viewStack:i,host:o,push:u,pop:d}),[n,i,o,u,d]),p=i.length>0;return{drillIn:f,isDrilled:p,wrapContent:(0,X.useCallback)(e=>(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`div`,{hidden:p,inert:p,...{0:{className:`xjp7ctv`},1:{className:`x1s85apg`}}[!!p|0],children:e}),(0,Z.jsx)(`div`,{ref:s,className:`xjp7ctv`})]}),[p])}}ds(),Fv();var b4=()=>()=>{},x4=()=>!1;function S4(e){let t=e===`adaptive`,n=Mv().coarsePointerQuery,r=(0,X.useCallback)(e=>t?ls(window,n,e):b4(),[t,n]),i=(0,X.useCallback)(()=>t&&cs(window,n),[t,n]),a=(0,X.useSyncExternalStore)(r,i,x4);return t?a?`bottom-sheet`:`popover`:e}D(),RC(),sE(),j_(),Tx(),Ux(),Pp(),nv(),MQ(),wQ(),qZ(),bx(),eR(),vr(),vx(),iT(),Ww({\"@astryx.contextMenu.label\":`Context menu`,\"@astryx.dropdownMenu.back\":`Back`});var C4={trigger:{kVAEAm:`x1n2onr6`,k7VYTy:`xpdipgo`,kO7zv1:`x1winvzj`,kfSwDN:`x87ps6o`,$$css:!0},menu:{kB7OPa:`x9f619`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`x1lsbc85`,kskxy:`x1uh1i8a`,kORKVm:`x1odjw0f`,\"--_dropdown-menu-radius\":`x1fcsqxe`,\"--_dropdown-menu-radius-top-left\":`xe8oyoz`,\"--_dropdown-menu-radius-top-right\":`x1u9pls2`,\"--_dropdown-menu-radius-bottom-right\":`x1vzu1ru`,\"--_dropdown-menu-radius-bottom-left\":`x1hdoyrq`,\"--_dropdown-menu-radius-start-start\":`xt5si22`,\"--_dropdown-menu-radius-start-end\":`xqi0wir`,\"--_dropdown-menu-radius-end-start\":`xix9rv`,\"--_dropdown-menu-radius-end-end\":`xoofv4m`,\"--_dropdown-menu-padding\":`xgory14`,kmVPX3:`x9epnlk`,kaIpWk:`x1n97fys`,kWkggS:`x1prclbq`,kGVxlE:`x1i5ehqx`,kMzoRj:`x13rsnn2`,ksu8eU:`xx61lck`,kVAM5u:`x1w1tqly`,kSiTet:`x1hc1fzr`,k1ekBW:`x19991ni`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,kfSwDN:`x87ps6o`,k7VYTy:`xpdipgo`,$$css:!0},touchPinchZoom:{kFalU9:`x1j4r261`,$$css:!0},touchPanYPinchZoom:{kFalU9:`xge0x1e`,kZeWKH:`xish69e`,$$css:!0},popover:{k7Eaqz:`x5w4yej`,$$css:!0},popoverCustomWidth:e=>[{k7Eaqz:(typeof e==`number`?`${e}px`:e)==null?typeof e==`number`?`${e}px`:e:`xkj4a21`,$$css:!0},{\"--x-minWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(typeof e==`number`?`${e}px`:e)}],sheetMenu:{kB7OPa:`x9f619`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`x1lsbc85`,kzqmXN:`xh8yej3`,\"--_dropdown-menu-radius\":`x1fcsqxe`,\"--_dropdown-menu-radius-top-left\":`xe8oyoz`,\"--_dropdown-menu-radius-top-right\":`x1u9pls2`,\"--_dropdown-menu-radius-bottom-right\":`x1vzu1ru`,\"--_dropdown-menu-radius-bottom-left\":`x1hdoyrq`,\"--_dropdown-menu-radius-start-start\":`xt5si22`,\"--_dropdown-menu-radius-start-end\":`xqi0wir`,\"--_dropdown-menu-radius-end-start\":`xix9rv`,\"--_dropdown-menu-radius-end-end\":`xoofv4m`,\"--_dropdown-menu-padding\":`xgory14`,kmVPX3:`x9epnlk`,kaIpWk:`x1n97fys`,kWkggS:`x10xzikg`,kI3sdo:`x1a2a7pz`,kfSwDN:`x87ps6o`,$$css:!0},sheetMenuInset:{kLKAdn:`xfsso4q`,kGO01o:`xy143xn`,kg3NbH:`x1xd259c`,\"--container-padding-block-start\":`xnsckjb`,\"--container-padding-block-end\":`x57a7ii`,\"--container-padding-inline-start\":`x1v11cex`,\"--container-padding-inline-end\":`x58lb0f`,$$css:!0},sheetRootHeading:{keTefX:`x6i7dpz`,$$css:!0},sheetViewHeading:{kI3sdo:`x1a2a7pz`,$$css:!0}};function w4(e,t){return e>t-1&&e<=t?Math.max(t-1,0):e}function T4({children:e,menuWidth:t,size:n=`md`,label:r,isDisabled:i=!1,onOpenChange:a,presentation:o=`popover`,triggerAs:s=`div`,ref:c,className:l,style:u,xstyle:d,triggerXstyle:f,onContextMenu:p,onTouchStart:m,onTouchMove:h,onTouchEnd:g,onTouchCancel:_,\"data-testid\":v,...y}){let b=nT(),x=r??b(`@astryx.contextMenu.label`),S=b(`@astryx.dropdownMenu.back`),w=S4(o)===`bottom-sheet`,{items:T,menuContent:E,...D}=y,O=T??[],k=E,A=w&&T!==void 0;(0,X.useEffect)(()=>{A&&Q0()},[A]);let j=(0,X.useId)(),M=(0,X.useRef)({x:0,y:0}),N=(0,X.useRef)(null),P=(0,X.useRef)(null),F=(0,X.useRef)(null),I=(0,X.useRef)(null),[L,R]=(0,X.useState)(!1),z=(0,X.useRef)(!1),B=(0,X.useRef)(()=>{}),[V,H]=(0,X.useState)([]),[ee,U]=(0,X.useState)([]),te=V.at(-1),W=te?.items??O,G=te?.label??x,ne=typeof G==`string`?G:ee.at(-1)||x,re=(0,X.useCallback)(e=>{e||(H([]),U([])),R(e),a?.(e)},[a]),ie=b_({mode:`context`,lazyMount:!0,keepsMountAfterShow:!0,onHide:(0,X.useCallback)(()=>{R(!1),a?.(!1);let e=F.current;F.current=null,e&&document.contains(e)&&e.focus()},[a]),onShow:(0,X.useCallback)(()=>{R(!0),a?.(!0),z.current&&(z.current=!1,requestAnimationFrame(()=>B.current()))},[a]),lightDismiss:!1}),K=(0,X.useCallback)(()=>{w?re(!1):ie.hide()},[ie,re,w]),q=(0,X.useCallback)((e,t)=>{e.isDisabled||(e.onClick?.(t),e.hasCloseOnSelect!==!1&&K())},[K]),ae=(0,X.useCallback)(e=>{e&&L&&V.length>0&&e.focus({preventScroll:!0})},[L,V.length]),{listRef:oe,handleKeyDown:se,focusFirst:ce,focusItem:le,ownsEvent:J,getItems:ue}=j2({itemSelector:AQ,reachesDisabledItems:!0,boundarySelector:jQ,wrap:!0,hasPaging:!0,focusFollowsLastInput:!0});B.current=ce,Bx({isActive:L&&!w,onDismiss:K,getContainer:()=>oe.current});let de=Q2({getItemLabels:()=>ue().map(e=>e.textContent),onMatch:le,getCurrentIndex:()=>ue().findIndex(e=>e===document.activeElement||e.contains(document.activeElement))});(0,X.useEffect)(()=>{if(!L||w)return;let e=oe.current?.getRootNode(),t=e instanceof ShadowRoot?e:null,n=new WeakSet,r=e=>{let t=oe.current;n.has(e)||(n.add(e),Sp()!==I.current&&t&&!t.contains(e.target)&&(Y_(t.ownerDocument),K()))};return document.addEventListener(`mousedown`,r),t?.addEventListener(`mousedown`,r),()=>{document.removeEventListener(`mousedown`,r),t?.removeEventListener(`mousedown`,r)}},[L,K,oe,w]);let fe=(0,X.useCallback)(e=>{if(!J(e))e.key===`Tab`&&K();else if(e.key===`Enter`||e.key===` `){if(e.preventDefault(),e.repeat)return;let t=document.activeElement;t&&OQ.has(t.getAttribute(`role`)??``)&&EQ(t,e)}else e.key===`Tab`?K():de.onKeyDown(e)?e.preventDefault():se(e)},[se,K,de,J]),pe=(0,X.useCallback)(()=>{let e=N.current?.offsetParent;return(e instanceof HTMLElement?e:P.current)?.getBoundingClientRect()},[]),me=(0,X.useCallback)((e,t,n)=>{let r=pe(),i=r?w4(e,r.width):e,a=r?w4(t,r.height):t;M.current={x:i,y:a};let o=N.current;o&&(o.style.left=`${i}px`,o.style.top=`${a}px`),F.current=document.activeElement instanceof HTMLElement?document.activeElement:n,w?re(!0):(z.current=!0,ie.show())},[pe,ie,re,w]),he=(0,X.useCallback)(e=>{if(i)return;e.preventDefault();let t=pe(),n=e.clientX===0&&e.clientY===0&&e.detail===0,r=P.current?.getBoundingClientRect(),a=0,o=t?.height??0;t&&n&&r?(a=r.left-t.left,o=r.bottom-t.top):t&&!n&&(a=e.clientX-t.left,o=e.clientY-t.top),I.current=e.nativeEvent.pointerType===`touch`?Sp():null,me(a,o,e.currentTarget)},[i,me,pe]),{onTouchStart:ge,onTouchMove:_e,onTouchEnd:ve,onTouchCancel:ye}=WZ({disabled:i,onLongPress:(0,X.useCallback)(e=>{let t=pe();I.current=Sp(),me(t?e.x-t.left:e.x,t?e.y-t.top:e.y,P.current)},[me,pe])}),be=(0,X.useCallback)(e=>{he(e),p?.(e)},[he,p]),xe=(0,X.useCallback)(e=>{ge(e),m?.(e)},[ge,m]),Se=(0,X.useCallback)(e=>{_e(e),h?.(e)},[_e,h]),Ce=(0,X.useCallback)(e=>{ve(e),g?.(e)},[ve,g]),we=(0,X.useCallback)(e=>{ye(e),_?.(e)},[ye,_]),Te=t?C4.popoverCustomWidth(t):C4.popover,{drillIn:Ee,wrapContent:De}=y4(L&&!w),Oe=(0,X.useMemo)(()=>({closeMenu:K,menuSize:n,drillIn:Ee,menuLabel:x}),[K,n,Ee,x]),ke=De(T===void 0?k:_4(O)),Ae=$2(oe,ke,L&&!w),je=pQ({menuRef:oe,itemSelector:kQ,onDismiss:K,isEnabled:!w}),Me=(0,Z.jsx)(`div`,{ref:oe,id:j,role:`menu`,\"data-autofocus\":w?``:void 0,tabIndex:w?0:-1,\"aria-label\":x,onKeyDown:fe,onContextMenu:e=>e.preventDefault(),...je.menuProps,...Q(Y(`context-menu`),C(w?[C4.sheetMenu,o2.content,C4.sheetMenuInset]:C4.menu,!w&&(Ae?C4.touchPanYPinchZoom:C4.touchPinchZoom),d),l,u),children:(0,Z.jsx)(u2,{value:Oe,children:(0,Z.jsx)(c2,{value:L,children:ke})})}),Ne=(0,Z.jsx)(NC,{ref:ae,level:3,tabIndex:-1,xstyle:[C4.sheetViewHeading,V.length===0&&[C4.sheetRootHeading,o2.headingAlone]],children:G}),Pe=T===void 0?Me:(0,Z.jsxs)(`div`,{ref:oe,\"data-autofocus\":``,tabIndex:0,...Q(Y(`context-menu`),C(C4.sheetMenu,o2.content,C4.sheetMenuInset,d),l,u),children:[V.length>0?(0,Z.jsxs)(`div`,{className:`x78zum5 x1q0g3np x6s0dn4 xzye2dw x1p37lm5`,children:[(0,Z.jsx)(IO,{label:S,variant:`ghost`,size:`sm`,icon:(0,Z.jsx)(XT,{icon:`chevronLeft`,size:`sm`,xstyle:$L.mirror}),isIconOnly:!0,onClick:()=>{H(e=>e.slice(0,-1)),U(e=>e.slice(0,-1))}}),Ne]}):Ne,(0,Z.jsx)(a2,{items:W,onSelect:q,onOpenSubmenu:(e,t)=>{H(t=>[...t,e]),U(e=>[...e,t])}})]}),Fe=s===`div`?`div`:`span`,Ie=A?r2:i2;return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(Fe,{ref:gx(c,P),...D,onContextMenu:be,onTouchStart:xe,onTouchMove:Se,onTouchEnd:Ce,onTouchCancel:we,\"data-testid\":v,...C(C4.trigger,...f?Array.isArray(f)?f:[f]:[]),children:[e,(0,Z.jsx)(`span`,{ref:gx(N,ie.ref),\"aria-hidden\":`true`,...Q({className:`x10l6tqk x1i1rx1s xjm9jq1 x47corl`},{style:{left:`${M.current.x}px`,top:`${M.current.y}px`}})})]}),w?(0,Z.jsx)(Ie,{isOpen:L,onOpenChange:re,label:ne,children:Pe}):ie.render((0,Z.jsx)(xx,{children:Me}),{placement:`below`,alignment:`start`,xstyle:[Te,yx.below]})]})}T4.displayName=`ContextMenu`,sE();function E4(e){let t=[],n=new Map;for(let r of e){let e=r.group??`__ungrouped__`,i=n.get(e);i||(i=[],n.set(e,i),t.push(e)),i.push(r)}let r=[];return t.forEach((e,t)=>{t>0&&r.push({type:`divider`});for(let t of n.get(e)??[])r.push({label:typeof t.label==`string`?t.label:t.id,icon:t.checked?(0,Z.jsx)(XT,{icon:`check`,size:`xsm`,\"aria-hidden\":!0}):t.icon,isDisabled:t.disabled,onClick:t.onSelect,variant:t.variant})}),r}function D4({element:e,getActions:t,triggerXstyle:n}){let[r,i]=(0,X.useState)(null);return(0,Z.jsx)(T4,{items:r??[],triggerXstyle:n,onOpenChange:e=>{i(e?E4(t()):null)},children:e})}function O4(e){return typeof e==`function`||Array.isArray(e)&&e.length>0}function k4(e,t,n){return typeof t==`function`?(0,Z.jsx)(D4,{element:e,getActions:t,triggerXstyle:n}):O4(t)?(0,Z.jsx)(T4,{items:E4(t),triggerXstyle:n,children:e}):e}function A4(e,t,n){let r=[];return(e.dividers===`rows`||e.dividers===`grid`)&&r.push(t),(e.dividers===`columns`||e.dividers===`grid`)&&r.push(n),r}function j4(e,t){return t?Array.isArray(t)?[...e,...t]:[...e,t]:e}function M4(){return(0,X.use)(OX)}D(),vr();var N4={compact:{k8WAf4:`xu0wf1k`,kg3NbH:`xf314gf`,kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,kB7OPa:`x9f619`,$$css:!0},balanced:{k8WAf4:`xce4md1`,kg3NbH:`xrrkdod`,kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,kB7OPa:`x9f619`,$$css:!0},spacious:{k8WAf4:`x8o8v82`,kg3NbH:`x1pzlopt`,kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,kB7OPa:`x9f619`,$$css:!0}},P4={compact:{kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,kB7OPa:`x9f619`,$$css:!0},balanced:{kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,kB7OPa:`x9f619`,$$css:!0},spacious:{kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,kB7OPa:`x9f619`,$$css:!0}},F4={compact:{k8WAf4:`xu0wf1k`,kg3NbH:`xf314gf`,$$css:!0},balanced:{k8WAf4:`xce4md1`,kg3NbH:`xrrkdod`,$$css:!0},spacious:{k8WAf4:`x8o8v82`,kg3NbH:`x1pzlopt`,$$css:!0}},I4={fill:{k1xSpc:`x1lliihq`,kB7OPa:`x9f619`,kZKoxP:`x5yr21d`,kzqmXN:`xh8yej3`,$$css:!0}},L4={cell:{kZKoxP:`x5yr21d`,$$css:!0}},R4={cell:{\"--_table-row-divider-width\":`x6ivs5n x1gxz47l`,kt9PQ7:`x92x3c3 x1tnk5uh x1bougdg`,kfdmCh:`x1q0q8m5`,kL6WhQ:`xw8gpjh`,$$css:!0}},z4={cell:{ke9TFa:`xw8tdv1 x1qlsc9e`,k8ry5P:`x18b5jzi`,kBCPoo:`x1gejf6u`,$$css:!0}},B4={middle:{kXLuUW:`xxymvpz`,$$css:!0},top:{kXLuUW:`x16dsc37`,$$css:!0},bottom:{kXLuUW:`x3ajldb`,$$css:!0}};function V4({children:e,xstyle:t,ref:n,className:r,style:i,contextMenuActions:a,...o}){let s=M4(),c=O4(a),l=s?[c?P4[s.density]:N4[s.density],s.textOverflow===`truncate`?$X.cell:eZ.cell,nZ[s.density],B4[s.verticalAlign],...A4(s,R4.cell,z4.cell),...c?[L4.cell]:[],rZ.cell]:[],u=k4(e,a,c&&s?[I4.fill,F4[s.density]]:c?I4.fill:void 0);return(0,Z.jsx)(`td`,{ref:n,...o,...Q(Y(`table-cell`,{density:s?.density}),C(...j4(l,t)),r,i),children:u})}V4.displayName=`TableCell`,D(),vr(),vx(),vC(),gC();var H4={compact:{k8WAf4:`xu0wf1k`,\"--_table-header-inline\":`x52ukts`,kg3NbH:`xlz1w5s`,\"--_table-header-end-room\":`x1lpvlbs`,kGuDYH:`xcr08ib`,kLWn49:`x1kq96og`,kB7OPa:`x9f619`,$$css:!0},balanced:{k8WAf4:`xce4md1`,\"--_table-header-inline\":`x1k2i0l5`,kg3NbH:`xlz1w5s`,\"--_table-header-end-room\":`x1lpvlbs`,kGuDYH:`xcr08ib`,kLWn49:`x1kq96og`,kB7OPa:`x9f619`,$$css:!0},spacious:{k8WAf4:`x8o8v82`,\"--_table-header-inline\":`xv6sed3`,kg3NbH:`xlz1w5s`,\"--_table-header-end-room\":`x1lpvlbs`,kGuDYH:`xcr08ib`,kLWn49:`x1kq96og`,kB7OPa:`x9f619`,$$css:!0}},U4={cell:{k63SB2:`x2mo6ok`,kMwMTN:`xv1l7n4`,k9WMMc:`x1yc453h`,$$css:!0}},W4={cell:{\"--_table-row-divider-width\":`x6ivs5n`,kt9PQ7:`x92x3c3`,kfdmCh:`x1q0q8m5`,kL6WhQ:`xw8gpjh`,$$css:!0}},G4={unpositioned:{kVAEAm:`x1uhb9sk`,$$css:!0}},K4={cell:{kVAEAm:`x1n2onr6`,$$css:!0}},q4={cell:{ke9TFa:`xw8tdv1 x1qlsc9e`,k8ry5P:`x18b5jzi`,kBCPoo:`x1gejf6u`,$$css:!0}};function J4({children:e,xstyle:t,ref:n,className:r,style:i,contextMenuActions:a,...o}){let s=M4(),c=s?.textOverflow===`truncate`,l=(0,X.useRef)(null),u=gx(n,l),d=dC({anchorRef:l,isEnabled:c}),f=O4(a),p=[];s&&(p.push(U4.cell,H4[s.density],W4.cell,c?$X.cell:tZ.cell,nZ[s.density]),(s.dividers===`columns`||s.dividers===`grid`)&&p.push(q4.cell),f&&p.push(K4.cell));let m=k4(e,a,s&&f?G4.unpositioned:void 0);return(0,Z.jsxs)(`th`,{ref:u,...o,...Q(Y(`table-header-cell`,{density:s?.density}),C(...j4(p,t)),r,i),onFocus:_C(o.onFocus,d.onFocus),onBlur:_C(o.onBlur,d.onBlur),onPointerDown:_C(o.onPointerDown,d.onPointerDown),children:[m,d.cutText!=null&&d.Tooltip?(0,Z.jsx)(d.Tooltip,{anchorRef:l,content:d.cutText,onHide:d.hide}):null]})}J4.displayName=`TableHeaderCell`,D(),vr();function Y4({ref:e,children:t,xstyle:n,className:r,style:i,...a}){return(0,Z.jsx)(`thead`,{ref:e,...Q(Y(`table-header`),C(n),r,i),...a,children:t})}Y4.displayName=`TableHeader`,D(),vr();function X4({ref:e,children:t,xstyle:n,className:r,style:i,...a}){return(0,Z.jsx)(`tbody`,{ref:e,...Q(Y(`table-body`),C(n),r,i),...a,children:(0,Z.jsx)(lZ,{value:aZ,children:t})})}X4.displayName=`TableBody`;var Z4={next:new WeakMap};function Q4(e){let t=Z4;for(let n of e){let e=t.next.get(n);e===void 0&&(e={next:new WeakMap},t.next.set(n,e)),t=e}return t.array??=e.slice(),t.array}sc();var $4=new WeakSet,e3=new WeakSet,t3=new WeakSet,n3=new WeakMap,r3=null;function i3(e,t){let n=r3;r3=e;try{return t()}finally{r3=n}}function a3(e,t){r3!==e&&(`${t}`,`${t}`)}function o3(e){return e3.has(e)}function s3(e){return t3.has(e)&&!$4.has(e)}function c3(e,t){if($4.has(e))return t;let n=n3.get(t);n??(n=new WeakMap,n3.set(t,n));let r=n.get(e);if(r!=null)return r;let i=Object.freeze({...t.render,get logicalRowCount(){return a3(e,`render.logicalRowCount`),t3.add(e),t.render.logicalRowCount}}),a=Object.freeze({...t,render:i,get logicalIndex(){return a3(e,`logicalIndex`),e3.add(e),t.logicalIndex},get logicalRowCount(){return a3(e,`logicalRowCount`),t3.add(e),t.logicalRowCount}});return n.set(e,a),a}px();function l3(e){let t=(0,X.useRef)(null);return cx(t,!0,``,{skipFirstRender:!0}),(0,Z.jsx)(`div`,{ref:t,...e})}D(),xO(),bC(),vr();var u3={container:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,k9WMMc:`x2b8uid`,kOIVth:`x18g69wz`,k8WAf4:`xmfvnks`,kg3NbH:`xm7rs69`,$$css:!0},containerCompact:{kOIVth:`x1txdalj`,k8WAf4:`x1na6nto`,kg3NbH:`x1pzlopt`,$$css:!0}};function d3({title:e,description:t,icon:n,actions:r,headingLevel:i=3,isCompact:a=!1,xstyle:o,className:s,style:c,ref:l,...u}){let d=`h${i}`;return(0,Z.jsxs)(`div`,{ref:l,...u,...Q(Y(`empty-state`,{variant:a?`compact`:null}),C(u3.container,a&&u3.containerCompact,o),s,c),children:[bO(n)&&(0,Z.jsx)(`div`,{\"aria-hidden\":`true`,children:n}),(0,Z.jsxs)(l3,{className:`x78zum5 xdt5ytf x6s0dn4 xxc7z9f`,children:[(0,X.createElement)(d,Q(Y(`empty-state-title`,{variant:a?`compact`:null}),{0:{className:`x1ghz6dp xjb2p0i x18juvz8 x2mo6ok xf74fhv x1tgivj0`},1:{className:`x1ghz6dp xjb2p0i x2mo6ok x1tgivj0 xcr08ib x1kq96og`}}[!!a|0]),e),bO(t)&&(0,Z.jsx)(`div`,{...Q(Y(`empty-state-description`,{variant:a?`compact`:null}),{0:{className:`x1ghz6dp xjb2p0i xjm74w1 x1sodnla xw6l6zx xv1l7n4`},1:{className:`x1ghz6dp xjb2p0i x1sodnla xv1l7n4 x141an7d x1ltkj2j`}}[!!a|0]),children:t})]}),bO(r)&&(0,Z.jsx)(`div`,{...{0:{className:`x78zum5 x1q0g3np x6s0dn4 x1txdalj xcsaf9d`},1:{className:`x78zum5 x6s0dn4 x1txdalj xcsaf9d xdt5ytf`}}[!!a|0],children:r})]})}d3.displayName=`EmptyState`,xO(),DM(),D(),vx(),sc(),MC(),DC(),vr(),iT(),Ww({\"@astryx.table.noData\":`No data`});var f3={kmVPX3:`x1717udv`,kMzoRj:`xc342km`,kLWn49:`x14ju556`,$$css:!0},p3={spacer:e=>[f3,{kZKoxP:e==null?e:`x16ye13r`,$$css:!0},{\"--x-height\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],fixedRow:e=>[{kZKoxP:e==null?e:`x16ye13r`,$$css:!0},{\"--x-height\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],table:{kzqmXN:`xh8yej3`,kLvRdT:`x1mwwwfo`,kheTzg:`x1gukg7c`,kPzzVL:`x140o2bo`,\"--_table-cell-word-break\":`xmorb0d`,\"--_table-header-white-space\":`xya44xs`,$$css:!0},tableAutoLayout:{kPzzVL:`x1drmoe9`,kTgw9:`x1lldw8n`,\"--_table-cell-word-break\":`x1f03rzy`,\"--_table-header-white-space\":`xghcpuh`,$$css:!0}};function m3(e,t,n,...r){return e.reduce((e,n,i)=>{let a=t(n);if(!a)return e;try{return a(e,...r)}catch(t){return oc(`Table`,`Plugin at index ${i} threw in transform:`,t),e}},n)}function h3(e,t,n,r,...i){return m3(e,e=>{let n=t(e);return n==null?void 0:(t,...i)=>i3(e,()=>n(t,...i,c3(e,r)))},n,...i)}var g3=[];function _3({item:e,column:t,columnIndex:n,columns:r,plugins:i,context:a,textOverflow:o,CellComponent:s,hasLogicalPosition:c,hasColumnPosition:l}){let u=l?{\"aria-colindex\":n+1}:{};t.align&&(u.style={textAlign:t.align});let d=h3(i,e=>e.transformBodyCell,{htmlProps:u,xstyle:[],columnIndex:n,columns:r},a,t,e,n,r),f=!t.renderCell,p=null;if(!d.isContentSuppressed){let n=c?NX(t):void 0;p=n==null?f?qX(e,t.key):t.renderCell?.(e)??null:n(a.logicalIndex)}let m;return m=f&&o===`truncate`&&typeof p==`string`&&p.length>0?(0,Z.jsx)(CC,{type:`body`,maxLines:1,children:p}):p,(0,Z.jsx)(s,{...d.htmlProps,contextMenuActions:d.contextMenuActions,xstyle:d.xstyle,children:m})}var v3=(0,X.memo)(_3);function y3({item:e,rowIndex:t,rowKey:n,columns:r,plugins:i,textOverflow:a,RowComponent:o,CellComponent:s,ariaRowIndex:c,contextIdentity:l,renderContext:u,rowHeight:d,columnLayout:f,onRowFocus:p,onRowBlur:m}){let h=(0,X.useMemo)(()=>Object.freeze({key:l.key,identityStatus:l.identityStatus,kind:u.rowModel===`flat`?`product`:`unknown`,logicalIndex:t,logicalRowCount:u.logicalRowCount,headerRowCount:u.headerRowCount,render:u}),[l,t,u]),g=(t,n)=>(0,Z.jsx)(v3,{item:e,column:t,columnIndex:n,columns:r,plugins:i,context:h,textOverflow:a,CellComponent:s,hasLogicalPosition:d!=null,hasColumnPosition:f!=null},t.key),_=f==null?r.map(g):f.mapColumns(r,g),v=h3(i,e=>e.transformBodyRow,{htmlProps:c==null?{}:{\"aria-rowindex\":c},xstyle:[],children:(0,Z.jsx)(Z.Fragment,{children:_})},h,e,t),y=v.htmlProps,b=(0,Z.jsx)(o,{ref:v.ref,...y,\"data-table-logical-index\":d==null?void 0:t,\"data-table-final-row\":d==null?void 0:t===(h?.logicalRowCount??0)-1?`true`:`false`,onFocus:p==null?y.onFocus:e=>{if(y.onFocus?.(e),h?.key!=null){let t=e.currentTarget.ownerDocument.defaultView,n=t!=null&&e.target instanceof t.HTMLElement?e.target:e.currentTarget;p(h.key,n)}},onBlur:m==null?y.onBlur:e=>{y.onBlur?.(e),(e.relatedTarget!=null||e.currentTarget.ownerDocument.hasFocus())&&!e.currentTarget.contains(e.relatedTarget)&&m()},xstyle:d==null?v.xstyle:[...v.xstyle,p3.fixedRow(d)],children:v.children},n);return(0,Z.jsxs)(Z.Fragment,{children:[b,v.afterRow||null]})}function b3(e,t){if(e.contextIdentity.key!==t.contextIdentity.key||e.contextIdentity.identityStatus!==t.contextIdentity.identityStatus||e.renderContext!==t.renderContext&&(e.rowHeight!=null||t.rowHeight!=null||e.plugins.some(s3)||e.renderContext.mode!==t.renderContext.mode||e.renderContext.rowModel!==t.renderContext.rowModel||e.renderContext.headerRowCount!==t.renderContext.headerRowCount||e.renderContext.viewport!==t.renderContext.viewport)||e.rowHeight!==t.rowHeight||e.columnLayout!==t.columnLayout||e.onRowFocus!==t.onRowFocus||e.onRowBlur!==t.onRowBlur||e.rowKey!==t.rowKey||e.rowIndex!==t.rowIndex&&(e.rowHeight!=null||t.rowHeight!=null||t.plugins.some(e=>e.transformBodyRow!=null||o3(e))))return!1;let n=e.renderContext,r=t.renderContext;if(n!==r&&(n.mode!==r.mode||n.rowModel!==r.rowModel||n.headerRowCount!==r.headerRowCount||n.viewport!==r.viewport||n.logicalRowCount!==r.logicalRowCount&&t.plugins.some(s3))||e.ariaRowIndex!==t.ariaRowIndex||e.columns!==t.columns||e.plugins!==t.plugins||e.textOverflow!==t.textOverflow||e.RowComponent!==t.RowComponent||e.CellComponent!==t.CellComponent)return!1;if(e.item===t.item)return!0;let i=e.item,a=t.item,o=Object.keys(a);if(Object.keys(i).length!==o.length)return!1;for(let e of o)if(i[e]!==a[e])return!1;return!0}var x3=(0,X.memo)(y3,b3);function S3({data:e,columns:t,idKey:n,plugins:r,children:i,textOverflow:a,virtualization:o,scrollWrapper:s,emptyState:c,rowIndexStart:l,rowCount:u,xstyle:d,className:f,style:p,ref:m,...h}){let g=nT(),_=r??g3,v=(0,X.useMemo)(()=>GY(),[]),y=(0,X.useMemo)(()=>JY(_),[_]),b=i?`children`:`data`,x=o!=null,S=e?.length??0,w=(0,X.useMemo)(()=>x&&S>0?qY(e??[],n,!0):[],[e,S,n,x]),T=x?w:qY(e??[],n,!1),E=(0,X.useMemo)(()=>T.map((e,t)=>e.key??t),[T]),D=l!=null||u!=null,O=l??1,k=D?u??-1:void 0,A=mZ,j=V4,M=J4,N=Q4(m3(_,e=>e.transformColumns,t??(e?ZX(e):[]))),P=+(b===`data`&&N.length>0),{rows:F,columns:I,invalidReason:L}=(0,X.useMemo)(()=>fX(o),[o]),R=lX(F),z=(0,X.useMemo)(()=>{if(b!==`data`)return`windowing requires data mode`;if(s==null)return`windowing requires the Table scroll wrapper`;if(!UY(s))return`windowing requires the Table-owned scroll wrapper`;if(y.rowModel!==`flat`)return`structural body modifiers must declare rowModel: 'flat' to admit windowing`;if(!T.every(e=>e.identityStatus===`valid`))return`explicit unique valid row identity is required`;if(a===`wrap`)return`explicit wrapped content is not fixed-height`},[b,s,y.rowModel,T,a]),B=N.every(PX),V=L??(R==null?void 0:z??(l!=null||u!=null?`legacy row offsets or counts conflict with windowed metadata`:B?!Number.isFinite(R.rowHeight)||R.rowHeight<=0||!Number.isFinite(R.initialViewportHeight)||R.initialViewportHeight<=0?`row and viewport geometry must be positive finite CSS pixels`:void 0:`a custom cell renderer has no fixed-height admission`)),H=R!=null&&V===void 0;kC(`Table`,`Windowing disabled: ${V}. Rendering all rows.`,V!=null);let ee=(0,X.useMemo)(()=>new Set(N.flatMap((e,t)=>NX(e)==null?[]:[t])),[N]),U=DX({capability:F,data:e??[],keys:E,isAdmitted:H,logicalPositionColumns:ee,viewport:v.viewport,body:v.body,table:v.table,geometry:v.geometry}),te=(0,X.useMemo)(()=>Object.freeze({mode:b,rowModel:y.rowModel,logicalRowCount:e?.length??0,headerRowCount:P,viewport:v.viewport}),[b,y,e?.length,P,v]),W=(0,X.useMemo)(()=>{let e=_.flatMap(e=>e.renderState?[e.renderState]:[]),t=t=>+!!e.some(e=>t(e).isLoading)|(e.some(e=>t(e).hasMore===!0)?2:0);return{subscribe(t){let n=e.map(e=>e.subscribe(t));return()=>n.forEach(e=>e())},getSnapshot:()=>t(e=>e.getSnapshot()),getServerSnapshot:()=>t(e=>e.getServerSnapshot())}},[_]),G=(0,X.useSyncExternalStore)(W.subscribe,W.getSnapshot,W.getServerSnapshot),ne=b===`data`&&y.rowModel===`flat`&&s!=null&&UY(s),re=ne&&(G&1)==1,ie=ne&&(G&2)==2,K=(0,X.useMemo)(()=>jX(N,U.logicalPositionWidths),[N,U.logicalPositionWidths]),q=UX(K),ae={};if(K!==N){let e=LX(N),t=LX(K);K.forEach((n,r)=>{let i=(t.get(n.key)??0)-(e.get(n.key)??0);i>0&&(ae[MX(r)]=`${i}px`)})}let oe=m3(_,e=>e.transformTable,{htmlProps:{},xstyle:i?[p3.table,p3.tableAutoLayout]:[p3.table]}),se={...oe.htmlProps.style,...p},ce=a??(U.isWindowed||I!=null?`truncate`:`wrap`),le=(0,X.useId)(),J=gx(m,v.setTable),ue=e!=null&&e.length>0,de=(t,n)=>{let r=(e,n)=>{let r=e.header??e.key,i={\"data-column-key\":e.key,scope:`col`,...t==null?null:{\"aria-colindex\":n+1}};e.align&&(i.style={textAlign:e.align});let a=m3(_,e=>e.transformHeaderCell,{htmlProps:i,xstyle:[],content:r,columnIndex:n,columns:N},e,n,N),o=t==null?q.columns.get(e.key)?.style??{}:t.widthOf(n),s=a.htmlProps.style,c={...a.htmlProps,style:s?{...o,...s}:o},l=a.content??r,u=typeof l==`string`&&l.length>0?{title:l}:{},{before:d,after:f,overlay:p,below:m}=a,h=d!=null||f!=null||p!=null||m!=null,g=bO(f)?(0,Z.jsxs)(`div`,{className:`x3nfvp2 x6s0dn4 xzye2dw xeuugli x1t6qtqz`,children:[(0,Z.jsx)(`span`,{className:`x6hwqpo xeuugli xb3r6kr xlyipyv`,children:l}),f]}):l,v=bO(p)&&c[`aria-label`]==null&&c[`aria-labelledby`]==null,y=`${le}-label-${n}`,b=`${le}-below-${n}`,x=bO(m),S=h?v?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(`span`,{id:y,children:[d,g]}),p,x&&(0,Z.jsx)(`div`,{id:b,children:m})]}):(0,Z.jsxs)(Z.Fragment,{children:[d,g,p,m]}):l,C=v?{\"aria-labelledby\":x?`${y} ${b}`:y}:{};return(0,Z.jsx)(M,{...c,...C,...u,contextMenuActions:a.contextMenuActions,xstyle:a.xstyle,children:S},e.key)},a=t==null?N.map(r):t.mapColumns(N,r),o=m3(_,e=>e.transformHeaderRow,{htmlProps:{},xstyle:[],children:(0,Z.jsx)(Z.Fragment,{children:a})}),s=t?.cellCount??N.length,l=N.length>0,u={...q.tableMinWidth>0?{...se,minWidth:HX(se.minWidth,q.tableMinWidth)}:se,...ae};return(0,Z.jsx)(`table`,{ref:J,...U.isWindowed?{\"aria-rowcount\":ie?-1:P+(e?.length??0)}:k==null?null:{\"aria-rowcount\":k},...t==null?null:{\"aria-colcount\":N.length},...oe.htmlProps,...Q(Y(`table`),C(...oe.xstyle,d),[oe.htmlProps.className,f].filter(Boolean).join(` `)||void 0,u),...h,...n&&{onFocus:EM(oe.htmlProps.onFocus,h.onFocus,n.onFocus),onBlur:EM(oe.htmlProps.onBlur,h.onBlur,n.onBlur),onPointerDown:EM(oe.htmlProps.onPointerDown,h.onPointerDown,n.onPointerDown),onContextMenu:EM(oe.htmlProps.onContextMenu,h.onContextMenu,n.onContextMenu)},children:i||(0,Z.jsxs)(Z.Fragment,{children:[l&&(0,Z.jsx)(Y4,{children:(0,Z.jsx)(A,{...o.htmlProps,\"aria-rowindex\":U.isWindowed?1:o.htmlProps[`aria-rowindex`],isHeaderRow:!0,xstyle:o.xstyle,children:o.children})}),(0,Z.jsx)(X4,{ref:v.setBody,children:ue?U.segments.flatMap(n=>{if(n.type===`gap`)return[(0,Z.jsx)(`tr`,{\"aria-hidden\":`true`,children:(0,Z.jsx)(`td`,{colSpan:s,...C(p3.spacer(n.height))})},`gap:${n.start}:${n.end}`)];let r=[];for(let i=n.start;ie.transformScrollWrapper,{htmlProps:{},xstyle:[]},te):null,he=gx(v.setViewport,me?.htmlProps.ref);s&&me&&(pe=(0,Z.jsx)(s,{htmlProps:{...me.htmlProps,ref:he},xstyle:me.xstyle,beforeTable:me.beforeTable,afterTable:me.afterTable,children:pe}));for(let e=_.length-1;e>=0;e--){let t=_[e];if(t.transformTableContext)try{pe=t.transformTableContext(pe)}catch(e){oc(`Table`,`Plugin threw in transformTableContext:`,e)}}let ge=(0,X.use)(OX),_e=(0,X.useMemo)(()=>ge==null?null:{...ge,textOverflow:ce},[ge,ce]),ve=(0,X.useMemo)(()=>({...v,viewportHeight:U.isWindowed?R?.initialViewportHeight:void 0,isLoadingAdmitted:ne}),[v,U.isWindowed,R?.initialViewportHeight,ne]);return(0,Z.jsx)(KY,{value:ve,children:_e==null?pe:(0,Z.jsx)(OX,{value:_e,children:pe})})}var C3=S3;C3.displayName=`BaseTable`,sc();var w3=[`columnSettings`,`sort`,`tree`,`selection`,`pagination`],T3=new Map(w3.map((e,t)=>[e,t]));function E3(e){let t=w3.length;return e.sort(([e],[n])=>(T3.get(e)??t)-(T3.get(n)??t))}var D3=new Set([`rowModel`,`renderState`]),O3=new Set([`transformColumns`,`transformTable`,`transformHeaderRow`,`transformHeaderCell`,`transformBodyRow`,`transformBodyCell`,`transformScrollWrapper`,`transformTableContext`]);function k3(e,t){let n=Object.keys(t);for(let t of n)!O3.has(t)&&!D3.has(t)&&`${e}${t}${[...D3,...O3].join(`, `)}`;for(let r of n)if(O3.has(r)){let n=t[r];n!=null&&typeof n!=`function`&&`${e}${r}`}!n.some(e=>O3.has(e)&&typeof t[e]==`function`)&&t.renderState==null&&`${e}`}function A3(e,t){let n=Q4(j3(e,t)),r=(0,X.useRef)(null);return(0,X.useEffect)(()=>{if(r.current!==n&&(r.current=n,t))for(let[e,n]of Object.entries(t))k3(e,n)},[n,t]),n}function j3(e,t){let n=t?E3(Object.entries(t)).map(([,e])=>e):[];return[...e,...n]}hx(),D(),oS(),HU(),vr(),iT(),ys(),Ww({\"@astryx.table.label\":`Table`});var M3={base:{kMv6JI:`xjb2p0i`,kMwMTN:`x1tgivj0`,$$css:!0}},N3={overflow:`visible`},P3={blockViewport:{\"--_table-bleed-block-start\":`x1vhegpj x83pvvj`,\"--_table-bleed-block-end\":`x1jo0iki x17gwsw7`,kZKoxP:`xzymg9v`,kAzted:`x2lwn1j`,$$css:!0},base:{kXHlph:`xw2csxc`,kuHK5b:`x5lxg6s`,$$css:!0},containerBleed:{keTefX:`xojxgvx`,k71WvV:`x1fcf3bl`,kzqmXN:`xx6qvi6`,keoZOQ:`xxlrtwf`,k1K539:`x1ddsecl`,krdFHd:`x15mokao x1pf40mn`,kfmiAY:`x1ga7v0g x3s3gbr`,kVL7Gh:`xbiv7yw xr4wx9`,kT0f0o:`x16uus16 x5vugwh`,$$css:!0},focusRingInset:{kInvED:`xyk55c9`,$$css:!0}},F3=_s(`TableNameContext`,1,null);F3.displayName=`TableNameContext`;function I3({children:e,htmlProps:t,xstyle:n,beforeTable:r,afterTable:i}){let a=nT(),o=(0,X.use)(F3),s=o?.labelledBy,c=s==null?o?.label??a(`@astryx.table.label`):void 0,l=(0,X.use)(KY),u=l?.viewportHeight!=null,{getViewportProps:d,getContentProps:f,state:p}=NU({axis:u?`both`:`inline`,keyboardAccess:{owner:`content`},overscroll:`contain`}),{ref:m,className:h,style:g,..._}=t??{},v=(0,X.useMemo)(()=>mx(m,l?.setViewport),[m,l?.setViewport]),y=d({role:`group`,\"aria-label\":c,\"aria-labelledby\":_[`aria-label`]==null?s:void 0,...p.inline.isScrollable||p.block.isScrollable?{tabIndex:0}:{},\"data-container-corner\":``,..._,ref:v,...Q(Y(`table-scroll-wrapper`),C(P3.base,P3.containerBleed,iS.focusVisible,P3.focusRingInset,u&&P3.blockViewport,GU(p.inline),...n??[]),h,g)});return u&&(y.style={...y.style,overscrollBehaviorY:`auto`}),(0,Z.jsx)(`div`,{...y,children:(0,Z.jsxs)(`div`,{...f({style:N3}),children:[r,e,i]})})}function L3(){return{transformTable(e){return{...e,xstyle:[...e.xstyle,M3.base]}}}}HY(I3);function R3({density:e=`balanced`,dividers:t=`rows`,isStriped:n=!1,hasHover:r=!1,verticalAlign:i=`middle`,textOverflow:a,virtualization:o,plugins:s,columns:c,data:l,ref:u,...d}){let f=a??(o==null?`wrap`:`truncate`),p=(0,X.useMemo)(()=>L3(),[]),m=A3((0,X.useMemo)(()=>[p],[p]),s),h=(0,X.useMemo)(()=>({density:e,dividers:t,isStriped:n,hasHover:r,verticalAlign:i,textOverflow:f}),[e,t,n,r,i,f]),g=d[`aria-label`],_=d[`aria-labelledby`],v=(0,X.useMemo)(()=>({label:g,labelledBy:_}),[g,_]);return(0,Z.jsx)(OX,{value:h,children:(0,Z.jsx)(lZ,{value:iZ,children:(0,Z.jsx)(F3,{value:v,children:(0,Z.jsx)(C3,{ref:u,data:l,columns:c,plugins:m,textOverflow:a,virtualization:o,scrollWrapper:I3,...d})})})})}var z3=R3;z3.displayName=`Table`,gs(),rc();var gae=50,_ae=8;function vae(e){let t=e.match(/^([\\d.]+)ms$/);if(t)return parseFloat(t[1]);let n=e.match(/^([\\d.]+)s$/);return n?parseFloat(n[1])*1e3:null}var yae={natural:10,fast:4,instant:1/0},B3=typeof Intl.Segmenter==`function`?new Intl.Segmenter(void 0,{granularity:`grapheme`}):null;function bae(e){return e>=56320&&e<=57343}function xae(e,t){return t<=0||t>=e.length?t:B3?B3.segment(e).containing(t)?.index??t:bae(e.charCodeAt(t))?t-1:t}function Sae(e,t,n){let r=n?.speed??`natural`,i=yae[r],{token:a}=Ws(),o=(0,X.useMemo)(()=>{if(r===`instant`)return 0;let e=vae(a(`--duration-fast-min`));if(e==null)return r===`fast`?_ae:gae;let t=r===`fast`?e/20:e/10;return Math.max(4,Math.round(t))},[a,r]),[s,c]=(0,X.useState)({epoch:0,len:0}),[l,u]=(0,X.useState)({epoch:0,len:0}),d=l.epoch===s.epoch?l.len:s.len,f=(0,X.useRef)(e),p=(0,X.useRef)(0),m=(0,X.useRef)(null);f.current=e,e.length===0&&d!==0&&c(e=>({epoch:e.epoch+1,len:0}));let[h,g]=(0,X.useState)(t);t!==h&&(g(t),!t&&e.length>0&&c(t=>({epoch:t.epoch+1,len:e.length})));let _=ps(`(prefers-reduced-motion: reduce)`);return(0,X.useEffect)(()=>{if(!t||r===`instant`||_)return;function e(t){if(t-p.current>=o){p.current=t;let e=f.current;u(t=>{let n=t.epoch===s.epoch?t.len:s.len;return n>=e.length?t:{epoch:s.epoch,len:Math.min(n+i,e.length)}})}m.current=requestAnimationFrame(e)}return m.current=requestAnimationFrame(e),()=>{m.current!==null&&(cancelAnimationFrame(m.current),m.current=null)}},[t,i,o,r,_,s]),!t||r===`instant`||_?e:e.slice(0,xae(e,d))}function Cae(e,t,n){if(e.length===0||t>e[e.length-1]){let r=[...e,t];for(;r.length>n;)r.shift();return r}return e}function wae(e,t,n,r){let i=t+e.length;if(n.length===0)return null;let a=n[0];if(i<=a)return null;let o=[],s=t;s=i||l<=s)continue;let u=Math.max(c,s),d=Math.min(l,i);u>=d||(o.push({key:`fade-${r}-b${c}`,text:e.slice(u-t,d-t),fading:!0}),s=d)}return o.length>0?o:null}D(),dv(),vr(),sE(),iT(),Ww({\"@astryx.citation.label\":`Citation {number}: {title}`});var V3={label:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kOIVth:`xzye2dw`,kXLuUW:`xxymvpz`,kZKoxP:`x1grt7ep`,kGuDYH:`x141an7d`,k63SB2:`xv8on6e`,kLWn49:`x1ltkj2j`,kMwMTN:`xv1l7n4`,kaIpWk:`xh6dtrn`,kMzoRj:`x1litavf`,ksu8eU:`x1y0btm7`,kVAM5u:`x14i3s5s`,kg3NbH:`xf314gf`,keTefX:`xladpz9`,kybGjl:`x1hl2dhg`,k1ekBW:`x1eaenvl`,kIyJzY:`x2rcmwa`,kAMwcw:`xlr8y92`,ks0D6T:`x55n99s`,kVQacm:`xb3r6kr`,$$css:!0},labelWithIcon:{kZCmMZ:`x138rykx`,$$css:!0},labelInteractive:{kkrTdU:`x1ypdohk x16khyan`,$$css:!0},labelHover:{kWkggS:`xoevpu5`,kMwMTN:`xv1l7n4 xo5jvnm`,$$css:!0},number:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kXLuUW:`x1v0h343`,kGuDYH:`x141an7d`,k63SB2:`x2mo6ok`,kLWn49:`x1ltkj2j`,kMwMTN:`xv1l7n4`,kWkggS:`xgcxg3y`,kaIpWk:`xjspbzw`,k7Eaqz:`x16asifk`,kZKoxP:`x1grt7ep`,kg3NbH:`x7a5moj`,kybGjl:`x1hl2dhg`,k1ekBW:`x15406qy`,kIyJzY:`x2rcmwa`,kAMwcw:`xlr8y92`,$$css:!0},numberInteractive:{kkrTdU:`x1ypdohk x16khyan`,$$css:!0},numberHover:{kWkggS:`xgcxg3y xoevpu5`,$$css:!0}};function H3({ref:e,source:t,number:n,variant:r=`label`,xstyle:i,className:a,style:o,\"data-testid\":s,...c}){let l=nT(),u=t.title??String(n),d=t.url!=null&&lv(t.url)?t.url:void 0,f=t.icon!=null&&typeof t.icon!=`string`?t.icon:null,p=t.src??(typeof t.icon==`string`?t.icon:void 0),m=f!=null||p!=null,h=d?`a`:`span`,g=d?`doc-noteref`:`group`,_=d?{href:d,target:`_blank`,rel:`noopener noreferrer`,title:u}:{title:u},v=e;return r===`number`?(0,Z.jsx)(h,{...c,ref:v,role:g,\"aria-label\":l(`@astryx.citation.label`,{number:n,title:u}),\"data-testid\":s,..._,...Q(Y(`citation`,{variant:r}),C(V3.number,d!=null&&V3.numberHover,d!=null&&V3.numberInteractive,i),a,o),children:n}):(0,Z.jsxs)(h,{...c,ref:v,role:g,\"aria-label\":l(`@astryx.citation.label`,{number:n,title:u}),\"data-testid\":s,..._,...Q(Y(`citation`,{variant:r}),C(V3.label,m&&V3.labelWithIcon,d!=null&&V3.labelHover,d!=null&&V3.labelInteractive,i),a,o),children:[m&&(0,Z.jsx)(`span`,{\"aria-hidden\":`true`,className:`x3nfvp2 x6s0dn4 xl56j7k x12xnipv x6b6gus xjspbzw x10xzikg x1litavf x1y0btm7 x14i3s5s xb3r6kr x2lah0s`,children:f==null?(0,Z.jsx)(`img`,{src:p,alt:``,className:`x1ad1g3v x9gl9lo`}):eE(f,{size:`sm`})}),(0,Z.jsx)(`span`,{className:`xb3r6kr xlyipyv xuxw1ft xeuugli`,children:u})]})}H3.displayName=`Citation`,dv();var U3=/^data:/i;function W3(e){let t=cv(e);return t!==null&&!U3.test(t)}function G3(e){return cv(e)??e}function Tae(e){let t=cv(e);return t===null||t===``||U3.test(t)?null:t}sc();var Eae=Symbol.for(`@astryxdesign/core/markdown/protocol/transform-plugin-name/v1`),Dae=Symbol.for(`@astryxdesign/core/markdown/protocol/transform-has-renderer/v1`),Oae=Symbol.for(`@astryxdesign/core/markdown/protocol/transform-source-unchanged/v1`),kae=Symbol(`MarkdownTransformClaim`),Aae=Symbol(`MarkdownSourceLines`),K3=Symbol(`MarkdownTransformTrusted`);function jae(e){return Object.defineProperty(e,K3,{configurable:!1,enumerable:!1,value:!0,writable:!1}),e}var q3=`@astryxdesign/core/MarkdownPluginEntry`,J3=Symbol.for(q3);function Y3(e){typeof e==`object`&&e&&Object.getPrototypeOf(e)===Object.prototype||X3(`entries must come from a compatible createMarkdownPlugin()`);let t=e,n=t[J3],r=n?.definition;return Reflect.ownKeys(t).length===3&&typeof t.name==`string`&&t.apiVersion===1&&Object.isFrozen(t)&&typeof n==`object`&&n&&Object.getPrototypeOf(n)===Object.prototype&&Reflect.ownKeys(n).length===3&&Object.isFrozen(n)&&n.kind===q3&&n.apiVersion===1&&typeof r==`object`&&r&&Object.isFrozen(r)&&r.name===t.name&&r.apiVersion===t.apiVersion||X3(`entries must come from a compatible createMarkdownPlugin()`),r}function X3(e){throw Error(`Markdown plugin: ${e}`)}var Z3=new WeakMap;function Q3(e,t,n){let r=e.get(t);r==null?e.set(t,[n]):r.push(n)}function $3(e){let t=e,n=Y3(e);if(n.transform==null)return e;let r=Object.freeze({...n,transform:void 0});return Object.freeze({name:t.name,apiVersion:t.apiVersion,[J3]:Object.freeze({kind:q3,apiVersion:1,definition:r})})}function e6(e){if(e.length===0)return;let t=Z3.get(e);if(t!=null)return t;let n=new Set,r=new Map,i=new Map,a=[],o=new Map,s=[],c=[],l=[],u=!1;for(let t of e){let e=Y3(t),d=t;if(n.has(e.name)&&X3(`duplicate name \"${e.name}\"`),n.add(e.name),c.push(d),e.transform!=null&&a.push({pluginName:e.name,transform:e.transform,claims:e.transform[kae],trusted:e.transform[K3]===!0}),e.renderers!=null)for(let[t,n]of Object.entries(e.renderers))o.set(`${e.name}\\0${t}`,{pluginName:e.name,renderer:n});if(e[Aae]===!0&&(u=!0,l.push($3(t)),s.push(`${e.name}\\0${e.apiVersion}\\0source-lines`)),`syntax`in e&&e.syntax!=null){l.push($3(t)),s.push(`${e.name}\\0${e.apiVersion}\\0${e.parseKey}`);for(let t of e.syntax.inline??[]){let n={pluginName:e.name,display:`inline`,contribution:t};for(let e of new Set(t.startsWith.map(e=>e[0])))Q3(r,e,n)}for(let t of e.syntax.block??[]){let n={pluginName:e.name,display:`block`,contribution:t};for(let e of new Set(t.startsWith.map(e=>e[0])))Q3(i,e,n)}}}let d={entries:c,syntaxEntries:l,inlineByFirstCharacter:r,blockByFirstCharacter:i,transforms:a,hasUntrustedTransform:a.some(e=>!e.trusted),syntaxIdentity:s.join(`\u0001`),renderers:o,sourceLines:u};return Z3.set(e,d),d}function t6(e,t=new Set){if(e==null||typeof e==`boolean`||typeof e==`string`)return!0;if(typeof e==`number`)return Number.isFinite(e);if(typeof e!=`object`||t.has(e))return!1;t.add(e);let n;return n=Array.isArray(e)?e.every(e=>t6(e,t)):Object.getPrototypeOf(e)===Object.prototype&&Object.values(e).every(e=>t6(e,t)),t.delete(e),n}function n6(e){if(typeof e==`object`&&e&&!Object.isFrozen(e)){for(let t of Object.values(e))n6(t);Object.freeze(e)}return e}function r6(e){let t=e?.start.offset,n=e?.end.offset;if(t!=null&&n!=null)return`${t}:${n}`;let r=e?.start.line,i=e?.end.line;return r==null||i==null?null:`line ${r}:${i}`}function Mae(e){let t=[[e.start?.offset,e.end?.offset,0],[e.start?.line,e.end?.line,1]],n=!1;for(let[e,r,i]of t)if(e!==void 0||r!==void 0){if(!Number.isInteger(e)||!Number.isInteger(r)||e{if(e.type===`code`){let n=Object.getOwnPropertySymbols(e).map(t=>[t,Object.getOwnPropertyDescriptor(e,t)]).filter(e=>e[1]?.enumerable===!0);if(n.length>0){let r=i6(e);t.set(r,[...t.get(r)??[],{descriptors:n}])}}if(`children`in e&&Array.isArray(e.children))for(let t of e.children)typeof t==`object`&&t&&n(t)};return n(e),t}function Pae(e){let t=e=>{if(Array.isArray(e)){let n=e,r=null;for(let e=0;e{let t=e;if(e.type===`code`){let r=i6(e),i=n.get(r)?.shift(),a=i?.descriptors.some(([t,n])=>{let r=Object.getOwnPropertyDescriptor(e,t);return r==null||r.value!==n.value||r.get!==n.get||r.set!==n.set||r.enumerable!==n.enumerable||r.configurable!==n.configurable||r.writable!==n.writable});if(i!=null&&a===!0){let n={...e};for(let[e,t]of i.descriptors)Object.defineProperty(n,e,t);t=n}}if(`children`in t&&Array.isArray(t.children)){let e=t.children,n=e.map(e=>r(e));n.some((t,n)=>t!==e[n])&&(t={...t,children:n})}return t};return r(t)}function Iae(e){let t=new Map,n=e=>{let r=r6(e.position);if(r!=null){let n=e,i={type:e.type,startLine:e.position?.start.line,endLine:e.position?.end.line,depth:n.depth,ordered:n.ordered,start:n.start,delimiter:n.delimiter,plugin:n.plugin,name:n.name,display:n.display};t.set(r,[...t.get(r)??[],i])}if(`children`in e&&Array.isArray(e.children))for(let t of e.children)typeof t==`object`&&t&&n(t)};return n(e),t}function o6(e){return JSON.stringify([e.plugin,e.name,e.display,e.data,e.source,r6(e.position)])}function Lae(e){let t=new Map,n=e=>{if(e.type===`extension`){let n=o6(e),r=t.get(n);t.set(n,{plugin:String(e.plugin),count:(r?.count??0)+1})}if(`children`in e&&Array.isArray(e.children))for(let t of e.children)typeof t==`object`&&t&&n(t)};return n(e),t}var s6=Symbol(`MarkdownSourceHeading`);function Rae(e){let t=new Set,n=e=>{if(e.type===`heading`&&!(s6 in e)&&Object.defineProperty(e,s6,{configurable:!1,enumerable:!0,value:Object.freeze({depth:e.depth}),writable:!1}),e.type===`heading`&&t.add(e[s6]),`children`in e&&Array.isArray(e.children))for(let t of e.children)typeof t==`object`&&t&&n(t)};return n(e),t}var zae=new Set([`text`,`strong`,`emphasis`,`delete`,`inlineCode`,`inlineMath`,`break`,`link`,`image`,`citation`]),Bae=new Set([`heading`,`paragraph`,`code`,`math`,`blockquote`,`list`,`table`,`thematicBreak`,`image`]),c6=new Set([`heading`,`paragraph`,`strong`,`emphasis`,`delete`,`link`,`tableCell`]),l6=new Set([`root`,`blockquote`,`listItem`]),Vae=new Set([...c6,...l6,`list`,`table`,`tableRow`]);function Hae(e,t,n,r,i,a,o,s){if(typeof e!=`object`||!e)return!1;let c=new Set,l=new Set,u=0,d=(e,s,f)=>{if(typeof e!=`object`||!e||c.has(e)||++u>1e5)return!1;c.add(e);let p=e,m=p.type;if(typeof m!=`string`||p.data!==void 0&&!t6(p.data))return!1;if(s!=null){let e=m===`extension`?p.display:void 0,t=zae.has(m)||e===`inline`,n=Bae.has(m)||e===`block`;if(c6.has(s)&&!t||l6.has(s)&&!n||f&&m===`link`||s===`list`&&m!==`listItem`||s===`table`&&m!==`tableRow`||s===`tableRow`&&m!==`tableCell`)return!1}let h=p.position,g=r6(h);if(h!=null&&!Mae(h))return!1;if(g!=null){let e=r.get(g)??[],t=e.findIndex(e=>e.type===m&&e.startLine===h?.start?.line&&e.endLine===h?.end?.line&&e.depth===p.depth&&e.ordered===p.ordered&&e.start===p.start&&e.delimiter===p.delimiter&&e.plugin===p.plugin&&e.name===p.name&&e.display===p.display);if(t<0)return!1;e.splice(t,1)}if(m!==`extension`&&p.source!==void 0)return!1;switch(m){case`root`:if(s!=null)return!1;break;case`heading`:{if(![1,2,3,4,5,6].includes(p.depth))return!1;let e=p[s6];if(e!=null&&(!i.has(e)||e.depth!==p.depth||l.has(e)))return!1;e!=null&&l.add(e);break}case`text`:case`inlineCode`:case`inlineMath`:case`math`:if(typeof p.value!=`string`)return!1;break;case`code`:if(typeof p.value!=`string`||p.lang!==null&&typeof p.lang!=`string`||p.meta!==void 0&&typeof p.meta!=`string`)return!1;break;case`link`:if(typeof p.url!=`string`||!W3(p.url))return!1;break;case`image`:if(typeof p.url!=`string`||!W3(p.url)||typeof p.alt!=`string`)return!1;break;case`citation`:if(typeof p.sourceId!=`string`)return!1;break;case`list`:if(typeof p.ordered!=`boolean`||p.start!=null&&!Number.isFinite(p.start)||p.delimiter!=null&&p.delimiter!==`.`&&p.delimiter!==`)`)return!1;break;case`table`:if(!Array.isArray(p.align)||!p.align.every(e=>e===null||e===`left`||e===`center`||e===`right`))return!1;break;case`extension`:{if(typeof p.plugin!=`string`||!t.has(p.plugin)||typeof p.name!=`string`||p.display!==`inline`&&p.display!==`block`||!t6(p.data)||!n.has(`${p.plugin}\\0${p.name}`))return!1;let e=o6(p),r=o.get(e);if(r!=null&&r.count>0)r.count--;else if(p.plugin!==a||p.source!==void 0||p.position!==void 0)return!1;break}case`strong`:case`emphasis`:case`delete`:case`break`:case`paragraph`:case`blockquote`:case`listItem`:case`tableRow`:case`tableCell`:case`thematicBreak`:break;default:return!1}if(Vae.has(m)){if(!Array.isArray(p.children))return!1;for(let e of p.children)if(!d(e,m,f||m===`link`))return!1}else if(`children`in p)return!1;return!0},f=e;return d(f,null,!1)&&f.type===`root`&&Array.from(o.values()).every(e=>e.plugin===a||e.count===0)&&(s===`block`||f.children.length===1&&f.children[0]?.type===`paragraph`)}function u6(e){if(typeof e==`object`&&e){if(Array.isArray(e))for(let t=0;te.name)),o=new Set(t.renderers.keys()),!0),s=d6(s),d=!1);try{let l={source:n,isFinal:r,display:i,report(t){m6(e.pluginName,`transform`,t)},[Eae]:e.pluginName,[Dae]:n=>t.renderers.has(`${e.pluginName}\\u0000${n}`),[Oae]:!u},f=e.transform(s,l);if(typeof f==`object`&&f&&typeof f.then==`function`)throw Promise.resolve(f).catch(()=>{}),TypeError(`Async Markdown transforms are not supported`);if(f===s)continue;if(e.trusted){u=!0,d=!0,s=f;continue}let p=Iae(s),m=Lae(s);if(!Hae(f,a,o,p,c,e.pluginName,m,i))throw TypeError(`Transform returned an invalid Markdown document`);u=!0,s=d6(Fae(s,Pae(f)))}catch(t){m6(e.pluginName,`transform`,t)}}return d?t.hasUntrustedTransform?d6(s):p6(e,s):s}function g6(e,t){return e?.renderers.get(`${t.plugin}\\0${t.name}`)?.renderer}function _6(e,t){let n=g6(e,t);if(n==null)return t.source??``;try{return n.toText(t)}catch(e){return m6(t.plugin,`render`,e),t.source??``}}var Uae=`AElig=c6 AMP=26 Aacute=c1 Abreve=102 Acirc=c2 Acy=410 Afr=1d504 Agrave=c0 Alpha=391 Amacr=100 And=2a53 Aogon=104 Aopf=1d538 ApplyFunction=2061 Aring=c5 Ascr=1d49c Assign=2254 Atilde=c3 Auml=c4 Backslash=2216 Barv=2ae7 Barwed=2306 Bcy=411 Because=2235 Bernoullis=212c Beta=392 Bfr=1d505 Bopf=1d539 Breve=2d8 Bscr=212c Bumpeq=224e CHcy=427 COPY=a9 Cacute=106 Cap=22d2 CapitalDifferentialD=2145 Cayleys=212d Ccaron=10c Ccedil=c7 Ccirc=108 Cconint=2230 Cdot=10a Cedilla=b8 CenterDot=b7 Cfr=212d Chi=3a7 CircleDot=2299 CircleMinus=2296 CirclePlus=2295 CircleTimes=2297 ClockwiseContourIntegral=2232 CloseCurlyDoubleQuote=201d CloseCurlyQuote=2019 Colon=2237 Colone=2a74 Congruent=2261 Conint=222f ContourIntegral=222e Copf=2102 Coproduct=2210 CounterClockwiseContourIntegral=2233 Cross=2a2f Cscr=1d49e Cup=22d3 CupCap=224d DD=2145 DDotrahd=2911 DJcy=402 DScy=405 DZcy=40f Dagger=2021 Darr=21a1 Dashv=2ae4 Dcaron=10e Dcy=414 Del=2207 Delta=394 Dfr=1d507 DiacriticalAcute=b4 DiacriticalDot=2d9 DiacriticalDoubleAcute=2dd DiacriticalGrave=60 DiacriticalTilde=2dc Diamond=22c4 DifferentialD=2146 Dopf=1d53b Dot=a8 DotDot=20dc DotEqual=2250 DoubleContourIntegral=222f DoubleDot=a8 DoubleDownArrow=21d3 DoubleLeftArrow=21d0 DoubleLeftRightArrow=21d4 DoubleLeftTee=2ae4 DoubleLongLeftArrow=27f8 DoubleLongLeftRightArrow=27fa DoubleLongRightArrow=27f9 DoubleRightArrow=21d2 DoubleRightTee=22a8 DoubleUpArrow=21d1 DoubleUpDownArrow=21d5 DoubleVerticalBar=2225 DownArrow=2193 DownArrowBar=2913 DownArrowUpArrow=21f5 DownBreve=311 DownLeftRightVector=2950 DownLeftTeeVector=295e DownLeftVector=21bd DownLeftVectorBar=2956 DownRightTeeVector=295f DownRightVector=21c1 DownRightVectorBar=2957 DownTee=22a4 DownTeeArrow=21a7 Downarrow=21d3 Dscr=1d49f Dstrok=110 ENG=14a ETH=d0 Eacute=c9 Ecaron=11a Ecirc=ca Ecy=42d Edot=116 Efr=1d508 Egrave=c8 Element=2208 Emacr=112 EmptySmallSquare=25fb EmptyVerySmallSquare=25ab Eogon=118 Eopf=1d53c Epsilon=395 Equal=2a75 EqualTilde=2242 Equilibrium=21cc Escr=2130 Esim=2a73 Eta=397 Euml=cb Exists=2203 ExponentialE=2147 Fcy=424 Ffr=1d509 FilledSmallSquare=25fc FilledVerySmallSquare=25aa Fopf=1d53d ForAll=2200 Fouriertrf=2131 Fscr=2131 GJcy=403 GT=3e Gamma=393 Gammad=3dc Gbreve=11e Gcedil=122 Gcirc=11c Gcy=413 Gdot=120 Gfr=1d50a Gg=22d9 Gopf=1d53e GreaterEqual=2265 GreaterEqualLess=22db GreaterFullEqual=2267 GreaterGreater=2aa2 GreaterLess=2277 GreaterSlantEqual=2a7e GreaterTilde=2273 Gscr=1d4a2 Gt=226b HARDcy=42a Hacek=2c7 Hat=5e Hcirc=124 Hfr=210c HilbertSpace=210b Hopf=210d HorizontalLine=2500 Hscr=210b Hstrok=126 HumpDownHump=224e HumpEqual=224f IEcy=415 IJlig=132 IOcy=401 Iacute=cd Icirc=ce Icy=418 Idot=130 Ifr=2111 Igrave=cc Im=2111 Imacr=12a ImaginaryI=2148 Implies=21d2 Int=222c Integral=222b Intersection=22c2 InvisibleComma=2063 InvisibleTimes=2062 Iogon=12e Iopf=1d540 Iota=399 Iscr=2110 Itilde=128 Iukcy=406 Iuml=cf Jcirc=134 Jcy=419 Jfr=1d50d Jopf=1d541 Jscr=1d4a5 Jsercy=408 Jukcy=404 KHcy=425 KJcy=40c Kappa=39a Kcedil=136 Kcy=41a Kfr=1d50e Kopf=1d542 Kscr=1d4a6 LJcy=409 LT=3c Lacute=139 Lambda=39b Lang=27ea Laplacetrf=2112 Larr=219e Lcaron=13d Lcedil=13b Lcy=41b LeftAngleBracket=27e8 LeftArrow=2190 LeftArrowBar=21e4 LeftArrowRightArrow=21c6 LeftCeiling=2308 LeftDoubleBracket=27e6 LeftDownTeeVector=2961 LeftDownVector=21c3 LeftDownVectorBar=2959 LeftFloor=230a LeftRightArrow=2194 LeftRightVector=294e LeftTee=22a3 LeftTeeArrow=21a4 LeftTeeVector=295a LeftTriangle=22b2 LeftTriangleBar=29cf LeftTriangleEqual=22b4 LeftUpDownVector=2951 LeftUpTeeVector=2960 LeftUpVector=21bf LeftUpVectorBar=2958 LeftVector=21bc LeftVectorBar=2952 Leftarrow=21d0 Leftrightarrow=21d4 LessEqualGreater=22da LessFullEqual=2266 LessGreater=2276 LessLess=2aa1 LessSlantEqual=2a7d LessTilde=2272 Lfr=1d50f Ll=22d8 Lleftarrow=21da Lmidot=13f LongLeftArrow=27f5 LongLeftRightArrow=27f7 LongRightArrow=27f6 Longleftarrow=27f8 Longleftrightarrow=27fa Longrightarrow=27f9 Lopf=1d543 LowerLeftArrow=2199 LowerRightArrow=2198 Lscr=2112 Lsh=21b0 Lstrok=141 Lt=226a Map=2905 Mcy=41c MediumSpace=205f Mellintrf=2133 Mfr=1d510 MinusPlus=2213 Mopf=1d544 Mscr=2133 Mu=39c NJcy=40a Nacute=143 Ncaron=147 Ncedil=145 Ncy=41d NegativeMediumSpace=200b NegativeThickSpace=200b NegativeThinSpace=200b NegativeVeryThinSpace=200b NestedGreaterGreater=226b NestedLessLess=226a NewLine=a Nfr=1d511 NoBreak=2060 NonBreakingSpace=a0 Nopf=2115 Not=2aec NotCongruent=2262 NotCupCap=226d NotDoubleVerticalBar=2226 NotElement=2209 NotEqual=2260 NotEqualTilde=2242,338 NotExists=2204 NotGreater=226f NotGreaterEqual=2271 NotGreaterFullEqual=2267,338 NotGreaterGreater=226b,338 NotGreaterLess=2279 NotGreaterSlantEqual=2a7e,338 NotGreaterTilde=2275 NotHumpDownHump=224e,338 NotHumpEqual=224f,338 NotLeftTriangle=22ea NotLeftTriangleBar=29cf,338 NotLeftTriangleEqual=22ec NotLess=226e NotLessEqual=2270 NotLessGreater=2278 NotLessLess=226a,338 NotLessSlantEqual=2a7d,338 NotLessTilde=2274 NotNestedGreaterGreater=2aa2,338 NotNestedLessLess=2aa1,338 NotPrecedes=2280 NotPrecedesEqual=2aaf,338 NotPrecedesSlantEqual=22e0 NotReverseElement=220c NotRightTriangle=22eb NotRightTriangleBar=29d0,338 NotRightTriangleEqual=22ed NotSquareSubset=228f,338 NotSquareSubsetEqual=22e2 NotSquareSuperset=2290,338 NotSquareSupersetEqual=22e3 NotSubset=2282,20d2 NotSubsetEqual=2288 NotSucceeds=2281 NotSucceedsEqual=2ab0,338 NotSucceedsSlantEqual=22e1 NotSucceedsTilde=227f,338 NotSuperset=2283,20d2 NotSupersetEqual=2289 NotTilde=2241 NotTildeEqual=2244 NotTildeFullEqual=2247 NotTildeTilde=2249 NotVerticalBar=2224 Nscr=1d4a9 Ntilde=d1 Nu=39d OElig=152 Oacute=d3 Ocirc=d4 Ocy=41e Odblac=150 Ofr=1d512 Ograve=d2 Omacr=14c Omega=3a9 Omicron=39f Oopf=1d546 OpenCurlyDoubleQuote=201c OpenCurlyQuote=2018 Or=2a54 Oscr=1d4aa Oslash=d8 Otilde=d5 Otimes=2a37 Ouml=d6 OverBar=203e OverBrace=23de OverBracket=23b4 OverParenthesis=23dc PartialD=2202 Pcy=41f Pfr=1d513 Phi=3a6 Pi=3a0 PlusMinus=b1 Poincareplane=210c Popf=2119 Pr=2abb Precedes=227a PrecedesEqual=2aaf PrecedesSlantEqual=227c PrecedesTilde=227e Prime=2033 Product=220f Proportion=2237 Proportional=221d Pscr=1d4ab Psi=3a8 QUOT=22 Qfr=1d514 Qopf=211a Qscr=1d4ac RBarr=2910 REG=ae Racute=154 Rang=27eb Rarr=21a0 Rarrtl=2916 Rcaron=158 Rcedil=156 Rcy=420 Re=211c ReverseElement=220b ReverseEquilibrium=21cb ReverseUpEquilibrium=296f Rfr=211c Rho=3a1 RightAngleBracket=27e9 RightArrow=2192 RightArrowBar=21e5 RightArrowLeftArrow=21c4 RightCeiling=2309 RightDoubleBracket=27e7 RightDownTeeVector=295d RightDownVector=21c2 RightDownVectorBar=2955 RightFloor=230b RightTee=22a2 RightTeeArrow=21a6 RightTeeVector=295b RightTriangle=22b3 RightTriangleBar=29d0 RightTriangleEqual=22b5 RightUpDownVector=294f RightUpTeeVector=295c RightUpVector=21be RightUpVectorBar=2954 RightVector=21c0 RightVectorBar=2953 Rightarrow=21d2 Ropf=211d RoundImplies=2970 Rrightarrow=21db Rscr=211b Rsh=21b1 RuleDelayed=29f4 SHCHcy=429 SHcy=428 SOFTcy=42c Sacute=15a Sc=2abc Scaron=160 Scedil=15e Scirc=15c Scy=421 Sfr=1d516 ShortDownArrow=2193 ShortLeftArrow=2190 ShortRightArrow=2192 ShortUpArrow=2191 Sigma=3a3 SmallCircle=2218 Sopf=1d54a Sqrt=221a Square=25a1 SquareIntersection=2293 SquareSubset=228f SquareSubsetEqual=2291 SquareSuperset=2290 SquareSupersetEqual=2292 SquareUnion=2294 Sscr=1d4ae Star=22c6 Sub=22d0 Subset=22d0 SubsetEqual=2286 Succeeds=227b SucceedsEqual=2ab0 SucceedsSlantEqual=227d SucceedsTilde=227f SuchThat=220b Sum=2211 Sup=22d1 Superset=2283 SupersetEqual=2287 Supset=22d1 THORN=de TRADE=2122 TSHcy=40b TScy=426 Tab=9 Tau=3a4 Tcaron=164 Tcedil=162 Tcy=422 Tfr=1d517 Therefore=2234 Theta=398 ThickSpace=205f,200a ThinSpace=2009 Tilde=223c TildeEqual=2243 TildeFullEqual=2245 TildeTilde=2248 Topf=1d54b TripleDot=20db Tscr=1d4af Tstrok=166 Uacute=da Uarr=219f Uarrocir=2949 Ubrcy=40e Ubreve=16c Ucirc=db Ucy=423 Udblac=170 Ufr=1d518 Ugrave=d9 Umacr=16a UnderBar=5f UnderBrace=23df UnderBracket=23b5 UnderParenthesis=23dd Union=22c3 UnionPlus=228e Uogon=172 Uopf=1d54c UpArrow=2191 UpArrowBar=2912 UpArrowDownArrow=21c5 UpDownArrow=2195 UpEquilibrium=296e UpTee=22a5 UpTeeArrow=21a5 Uparrow=21d1 Updownarrow=21d5 UpperLeftArrow=2196 UpperRightArrow=2197 Upsi=3d2 Upsilon=3a5 Uring=16e Uscr=1d4b0 Utilde=168 Uuml=dc VDash=22ab Vbar=2aeb Vcy=412 Vdash=22a9 Vdashl=2ae6 Vee=22c1 Verbar=2016 Vert=2016 VerticalBar=2223 VerticalLine=7c VerticalSeparator=2758 VerticalTilde=2240 VeryThinSpace=200a Vfr=1d519 Vopf=1d54d Vscr=1d4b1 Vvdash=22aa Wcirc=174 Wedge=22c0 Wfr=1d51a Wopf=1d54e Wscr=1d4b2 Xfr=1d51b Xi=39e Xopf=1d54f Xscr=1d4b3 YAcy=42f YIcy=407 YUcy=42e Yacute=dd Ycirc=176 Ycy=42b Yfr=1d51c Yopf=1d550 Yscr=1d4b4 Yuml=178 ZHcy=416 Zacute=179 Zcaron=17d Zcy=417 Zdot=17b ZeroWidthSpace=200b Zeta=396 Zfr=2128 Zopf=2124 Zscr=1d4b5 aacute=e1 abreve=103 ac=223e acE=223e,333 acd=223f acirc=e2 acute=b4 acy=430 aelig=e6 af=2061 afr=1d51e agrave=e0 alefsym=2135 aleph=2135 alpha=3b1 amacr=101 amalg=2a3f amp=26 and=2227 andand=2a55 andd=2a5c andslope=2a58 andv=2a5a ang=2220 ange=29a4 angle=2220 angmsd=2221 angmsdaa=29a8 angmsdab=29a9 angmsdac=29aa angmsdad=29ab angmsdae=29ac angmsdaf=29ad angmsdag=29ae angmsdah=29af angrt=221f angrtvb=22be angrtvbd=299d angsph=2222 angst=c5 angzarr=237c aogon=105 aopf=1d552 ap=2248 apE=2a70 apacir=2a6f ape=224a apid=224b apos=27 approx=2248 approxeq=224a aring=e5 ascr=1d4b6 ast=2a asymp=2248 asympeq=224d atilde=e3 auml=e4 awconint=2233 awint=2a11 bNot=2aed backcong=224c backepsilon=3f6 backprime=2035 backsim=223d backsimeq=22cd barvee=22bd barwed=2305 barwedge=2305 bbrk=23b5 bbrktbrk=23b6 bcong=224c bcy=431 bdquo=201e becaus=2235 because=2235 bemptyv=29b0 bepsi=3f6 bernou=212c beta=3b2 beth=2136 between=226c bfr=1d51f bigcap=22c2 bigcirc=25ef bigcup=22c3 bigodot=2a00 bigoplus=2a01 bigotimes=2a02 bigsqcup=2a06 bigstar=2605 bigtriangledown=25bd bigtriangleup=25b3 biguplus=2a04 bigvee=22c1 bigwedge=22c0 bkarow=290d blacklozenge=29eb blacksquare=25aa blacktriangle=25b4 blacktriangledown=25be blacktriangleleft=25c2 blacktriangleright=25b8 blank=2423 blk12=2592 blk14=2591 blk34=2593 block=2588 bne=3d,20e5 bnequiv=2261,20e5 bnot=2310 bopf=1d553 bot=22a5 bottom=22a5 bowtie=22c8 boxDL=2557 boxDR=2554 boxDl=2556 boxDr=2553 boxH=2550 boxHD=2566 boxHU=2569 boxHd=2564 boxHu=2567 boxUL=255d boxUR=255a boxUl=255c boxUr=2559 boxV=2551 boxVH=256c boxVL=2563 boxVR=2560 boxVh=256b boxVl=2562 boxVr=255f boxbox=29c9 boxdL=2555 boxdR=2552 boxdl=2510 boxdr=250c boxh=2500 boxhD=2565 boxhU=2568 boxhd=252c boxhu=2534 boxminus=229f boxplus=229e boxtimes=22a0 boxuL=255b boxuR=2558 boxul=2518 boxur=2514 boxv=2502 boxvH=256a boxvL=2561 boxvR=255e boxvh=253c boxvl=2524 boxvr=251c bprime=2035 breve=2d8 brvbar=a6 bscr=1d4b7 bsemi=204f bsim=223d bsime=22cd bsol=5c bsolb=29c5 bsolhsub=27c8 bull=2022 bullet=2022 bump=224e bumpE=2aae bumpe=224f bumpeq=224f cacute=107 cap=2229 capand=2a44 capbrcup=2a49 capcap=2a4b capcup=2a47 capdot=2a40 caps=2229,fe00 caret=2041 caron=2c7 ccaps=2a4d ccaron=10d ccedil=e7 ccirc=109 ccups=2a4c ccupssm=2a50 cdot=10b cedil=b8 cemptyv=29b2 cent=a2 centerdot=b7 cfr=1d520 chcy=447 check=2713 checkmark=2713 chi=3c7 cir=25cb cirE=29c3 circ=2c6 circeq=2257 circlearrowleft=21ba circlearrowright=21bb circledR=ae circledS=24c8 circledast=229b circledcirc=229a circleddash=229d cire=2257 cirfnint=2a10 cirmid=2aef cirscir=29c2 clubs=2663 clubsuit=2663 colon=3a colone=2254 coloneq=2254 comma=2c commat=40 comp=2201 compfn=2218 complement=2201 complexes=2102 cong=2245 congdot=2a6d conint=222e copf=1d554 coprod=2210 copy=a9 copysr=2117 crarr=21b5 cross=2717 cscr=1d4b8 csub=2acf csube=2ad1 csup=2ad0 csupe=2ad2 ctdot=22ef cudarrl=2938 cudarrr=2935 cuepr=22de cuesc=22df cularr=21b6 cularrp=293d cup=222a cupbrcap=2a48 cupcap=2a46 cupcup=2a4a cupdot=228d cupor=2a45 cups=222a,fe00 curarr=21b7 curarrm=293c curlyeqprec=22de curlyeqsucc=22df curlyvee=22ce curlywedge=22cf curren=a4 curvearrowleft=21b6 curvearrowright=21b7 cuvee=22ce cuwed=22cf cwconint=2232 cwint=2231 cylcty=232d dArr=21d3 dHar=2965 dagger=2020 daleth=2138 darr=2193 dash=2010 dashv=22a3 dbkarow=290f dblac=2dd dcaron=10f dcy=434 dd=2146 ddagger=2021 ddarr=21ca ddotseq=2a77 deg=b0 delta=3b4 demptyv=29b1 dfisht=297f dfr=1d521 dharl=21c3 dharr=21c2 diam=22c4 diamond=22c4 diamondsuit=2666 diams=2666 die=a8 digamma=3dd disin=22f2 div=f7 divide=f7 divideontimes=22c7 divonx=22c7 djcy=452 dlcorn=231e dlcrop=230d dollar=24 dopf=1d555 dot=2d9 doteq=2250 doteqdot=2251 dotminus=2238 dotplus=2214 dotsquare=22a1 doublebarwedge=2306 downarrow=2193 downdownarrows=21ca downharpoonleft=21c3 downharpoonright=21c2 drbkarow=2910 drcorn=231f drcrop=230c dscr=1d4b9 dscy=455 dsol=29f6 dstrok=111 dtdot=22f1 dtri=25bf dtrif=25be duarr=21f5 duhar=296f dwangle=29a6 dzcy=45f dzigrarr=27ff eDDot=2a77 eDot=2251 eacute=e9 easter=2a6e ecaron=11b ecir=2256 ecirc=ea ecolon=2255 ecy=44d edot=117 ee=2147 efDot=2252 efr=1d522 eg=2a9a egrave=e8 egs=2a96 egsdot=2a98 el=2a99 elinters=23e7 ell=2113 els=2a95 elsdot=2a97 emacr=113 empty=2205 emptyset=2205 emptyv=2205 emsp=2003 emsp13=2004 emsp14=2005 eng=14b ensp=2002 eogon=119 eopf=1d556 epar=22d5 eparsl=29e3 eplus=2a71 epsi=3b5 epsilon=3b5 epsiv=3f5 eqcirc=2256 eqcolon=2255 eqsim=2242 eqslantgtr=2a96 eqslantless=2a95 equals=3d equest=225f equiv=2261 equivDD=2a78 eqvparsl=29e5 erDot=2253 erarr=2971 escr=212f esdot=2250 esim=2242 eta=3b7 eth=f0 euml=eb euro=20ac excl=21 exist=2203 expectation=2130 exponentiale=2147 fallingdotseq=2252 fcy=444 female=2640 ffilig=fb03 fflig=fb00 ffllig=fb04 ffr=1d523 filig=fb01 fjlig=66,6a flat=266d fllig=fb02 fltns=25b1 fnof=192 fopf=1d557 forall=2200 fork=22d4 forkv=2ad9 fpartint=2a0d frac12=bd frac13=2153 frac14=bc frac15=2155 frac16=2159 frac18=215b frac23=2154 frac25=2156 frac34=be frac35=2157 frac38=215c frac45=2158 frac56=215a frac58=215d frac78=215e frasl=2044 frown=2322 fscr=1d4bb gE=2267 gEl=2a8c gacute=1f5 gamma=3b3 gammad=3dd gap=2a86 gbreve=11f gcirc=11d gcy=433 gdot=121 ge=2265 gel=22db geq=2265 geqq=2267 geqslant=2a7e ges=2a7e gescc=2aa9 gesdot=2a80 gesdoto=2a82 gesdotol=2a84 gesl=22db,fe00 gesles=2a94 gfr=1d524 gg=226b ggg=22d9 gimel=2137 gjcy=453 gl=2277 glE=2a92 gla=2aa5 glj=2aa4 gnE=2269 gnap=2a8a gnapprox=2a8a gne=2a88 gneq=2a88 gneqq=2269 gnsim=22e7 gopf=1d558 grave=60 gscr=210a gsim=2273 gsime=2a8e gsiml=2a90 gt=3e gtcc=2aa7 gtcir=2a7a gtdot=22d7 gtlPar=2995 gtquest=2a7c gtrapprox=2a86 gtrarr=2978 gtrdot=22d7 gtreqless=22db gtreqqless=2a8c gtrless=2277 gtrsim=2273 gvertneqq=2269,fe00 gvnE=2269,fe00 hArr=21d4 hairsp=200a half=bd hamilt=210b hardcy=44a harr=2194 harrcir=2948 harrw=21ad hbar=210f hcirc=125 hearts=2665 heartsuit=2665 hellip=2026 hercon=22b9 hfr=1d525 hksearow=2925 hkswarow=2926 hoarr=21ff homtht=223b hookleftarrow=21a9 hookrightarrow=21aa hopf=1d559 horbar=2015 hscr=1d4bd hslash=210f hstrok=127 hybull=2043 hyphen=2010 iacute=ed ic=2063 icirc=ee icy=438 iecy=435 iexcl=a1 iff=21d4 ifr=1d526 igrave=ec ii=2148 iiiint=2a0c iiint=222d iinfin=29dc iiota=2129 ijlig=133 imacr=12b image=2111 imagline=2110 imagpart=2111 imath=131 imof=22b7 imped=1b5 in=2208 incare=2105 infin=221e infintie=29dd inodot=131 int=222b intcal=22ba integers=2124 intercal=22ba intlarhk=2a17 intprod=2a3c iocy=451 iogon=12f iopf=1d55a iota=3b9 iprod=2a3c iquest=bf iscr=1d4be isin=2208 isinE=22f9 isindot=22f5 isins=22f4 isinsv=22f3 isinv=2208 it=2062 itilde=129 iukcy=456 iuml=ef jcirc=135 jcy=439 jfr=1d527 jmath=237 jopf=1d55b jscr=1d4bf jsercy=458 jukcy=454 kappa=3ba kappav=3f0 kcedil=137 kcy=43a kfr=1d528 kgreen=138 khcy=445 kjcy=45c kopf=1d55c kscr=1d4c0 lAarr=21da lArr=21d0 lAtail=291b lBarr=290e lE=2266 lEg=2a8b lHar=2962 lacute=13a laemptyv=29b4 lagran=2112 lambda=3bb lang=27e8 langd=2991 langle=27e8 lap=2a85 laquo=ab larr=2190 larrb=21e4 larrbfs=291f larrfs=291d larrhk=21a9 larrlp=21ab larrpl=2939 larrsim=2973 larrtl=21a2 lat=2aab latail=2919 late=2aad lates=2aad,fe00 lbarr=290c lbbrk=2772 lbrace=7b lbrack=5b lbrke=298b lbrksld=298f lbrkslu=298d lcaron=13e lcedil=13c lceil=2308 lcub=7b lcy=43b ldca=2936 ldquo=201c ldquor=201e ldrdhar=2967 ldrushar=294b ldsh=21b2 le=2264 leftarrow=2190 leftarrowtail=21a2 leftharpoondown=21bd leftharpoonup=21bc leftleftarrows=21c7 leftrightarrow=2194 leftrightarrows=21c6 leftrightharpoons=21cb leftrightsquigarrow=21ad leftthreetimes=22cb leg=22da leq=2264 leqq=2266 leqslant=2a7d les=2a7d lescc=2aa8 lesdot=2a7f lesdoto=2a81 lesdotor=2a83 lesg=22da,fe00 lesges=2a93 lessapprox=2a85 lessdot=22d6 lesseqgtr=22da lesseqqgtr=2a8b lessgtr=2276 lesssim=2272 lfisht=297c lfloor=230a lfr=1d529 lg=2276 lgE=2a91 lhard=21bd lharu=21bc lharul=296a lhblk=2584 ljcy=459 ll=226a llarr=21c7 llcorner=231e llhard=296b lltri=25fa lmidot=140 lmoust=23b0 lmoustache=23b0 lnE=2268 lnap=2a89 lnapprox=2a89 lne=2a87 lneq=2a87 lneqq=2268 lnsim=22e6 loang=27ec loarr=21fd lobrk=27e6 longleftarrow=27f5 longleftrightarrow=27f7 longmapsto=27fc longrightarrow=27f6 looparrowleft=21ab looparrowright=21ac lopar=2985 lopf=1d55d loplus=2a2d lotimes=2a34 lowast=2217 lowbar=5f loz=25ca lozenge=25ca lozf=29eb lpar=28 lparlt=2993 lrarr=21c6 lrcorner=231f lrhar=21cb lrhard=296d lrm=200e lrtri=22bf lsaquo=2039 lscr=1d4c1 lsh=21b0 lsim=2272 lsime=2a8d lsimg=2a8f lsqb=5b lsquo=2018 lsquor=201a lstrok=142 lt=3c ltcc=2aa6 ltcir=2a79 ltdot=22d6 lthree=22cb ltimes=22c9 ltlarr=2976 ltquest=2a7b ltrPar=2996 ltri=25c3 ltrie=22b4 ltrif=25c2 lurdshar=294a luruhar=2966 lvertneqq=2268,fe00 lvnE=2268,fe00 mDDot=223a macr=af male=2642 malt=2720 maltese=2720 map=21a6 mapsto=21a6 mapstodown=21a7 mapstoleft=21a4 mapstoup=21a5 marker=25ae mcomma=2a29 mcy=43c mdash=2014 measuredangle=2221 mfr=1d52a mho=2127 micro=b5 mid=2223 midast=2a midcir=2af0 middot=b7 minus=2212 minusb=229f minusd=2238 minusdu=2a2a mlcp=2adb mldr=2026 mnplus=2213 models=22a7 mopf=1d55e mp=2213 mscr=1d4c2 mstpos=223e mu=3bc multimap=22b8 mumap=22b8 nGg=22d9,338 nGt=226b,20d2 nGtv=226b,338 nLeftarrow=21cd nLeftrightarrow=21ce nLl=22d8,338 nLt=226a,20d2 nLtv=226a,338 nRightarrow=21cf nVDash=22af nVdash=22ae nabla=2207 nacute=144 nang=2220,20d2 nap=2249 napE=2a70,338 napid=224b,338 napos=149 napprox=2249 natur=266e natural=266e naturals=2115 nbsp=a0 nbump=224e,338 nbumpe=224f,338 ncap=2a43 ncaron=148 ncedil=146 ncong=2247 ncongdot=2a6d,338 ncup=2a42 ncy=43d ndash=2013 ne=2260 neArr=21d7 nearhk=2924 nearr=2197 nearrow=2197 nedot=2250,338 nequiv=2262 nesear=2928 nesim=2242,338 nexist=2204 nexists=2204 nfr=1d52b ngE=2267,338 nge=2271 ngeq=2271 ngeqq=2267,338 ngeqslant=2a7e,338 nges=2a7e,338 ngsim=2275 ngt=226f ngtr=226f nhArr=21ce nharr=21ae nhpar=2af2 ni=220b nis=22fc nisd=22fa niv=220b njcy=45a nlArr=21cd nlE=2266,338 nlarr=219a nldr=2025 nle=2270 nleftarrow=219a nleftrightarrow=21ae nleq=2270 nleqq=2266,338 nleqslant=2a7d,338 nles=2a7d,338 nless=226e nlsim=2274 nlt=226e nltri=22ea nltrie=22ec nmid=2224 nopf=1d55f not=ac notin=2209 notinE=22f9,338 notindot=22f5,338 notinva=2209 notinvb=22f7 notinvc=22f6 notni=220c notniva=220c notnivb=22fe notnivc=22fd npar=2226 nparallel=2226 nparsl=2afd,20e5 npart=2202,338 npolint=2a14 npr=2280 nprcue=22e0 npre=2aaf,338 nprec=2280 npreceq=2aaf,338 nrArr=21cf nrarr=219b nrarrc=2933,338 nrarrw=219d,338 nrightarrow=219b nrtri=22eb nrtrie=22ed nsc=2281 nsccue=22e1 nsce=2ab0,338 nscr=1d4c3 nshortmid=2224 nshortparallel=2226 nsim=2241 nsime=2244 nsimeq=2244 nsmid=2224 nspar=2226 nsqsube=22e2 nsqsupe=22e3 nsub=2284 nsubE=2ac5,338 nsube=2288 nsubset=2282,20d2 nsubseteq=2288 nsubseteqq=2ac5,338 nsucc=2281 nsucceq=2ab0,338 nsup=2285 nsupE=2ac6,338 nsupe=2289 nsupset=2283,20d2 nsupseteq=2289 nsupseteqq=2ac6,338 ntgl=2279 ntilde=f1 ntlg=2278 ntriangleleft=22ea ntrianglelefteq=22ec ntriangleright=22eb ntrianglerighteq=22ed nu=3bd num=23 numero=2116 numsp=2007 nvDash=22ad nvHarr=2904 nvap=224d,20d2 nvdash=22ac nvge=2265,20d2 nvgt=3e,20d2 nvinfin=29de nvlArr=2902 nvle=2264,20d2 nvlt=3c,20d2 nvltrie=22b4,20d2 nvrArr=2903 nvrtrie=22b5,20d2 nvsim=223c,20d2 nwArr=21d6 nwarhk=2923 nwarr=2196 nwarrow=2196 nwnear=2927 oS=24c8 oacute=f3 oast=229b ocir=229a ocirc=f4 ocy=43e odash=229d odblac=151 odiv=2a38 odot=2299 odsold=29bc oelig=153 ofcir=29bf ofr=1d52c ogon=2db ograve=f2 ogt=29c1 ohbar=29b5 ohm=3a9 oint=222e olarr=21ba olcir=29be olcross=29bb oline=203e olt=29c0 omacr=14d omega=3c9 omicron=3bf omid=29b6 ominus=2296 oopf=1d560 opar=29b7 operp=29b9 oplus=2295 or=2228 orarr=21bb ord=2a5d order=2134 orderof=2134 ordf=aa ordm=ba origof=22b6 oror=2a56 orslope=2a57 orv=2a5b oscr=2134 oslash=f8 osol=2298 otilde=f5 otimes=2297 otimesas=2a36 ouml=f6 ovbar=233d par=2225 para=b6 parallel=2225 parsim=2af3 parsl=2afd part=2202 pcy=43f percnt=25 period=2e permil=2030 perp=22a5 pertenk=2031 pfr=1d52d phi=3c6 phiv=3d5 phmmat=2133 phone=260e pi=3c0 pitchfork=22d4 piv=3d6 planck=210f planckh=210e plankv=210f plus=2b plusacir=2a23 plusb=229e pluscir=2a22 plusdo=2214 plusdu=2a25 pluse=2a72 plusmn=b1 plussim=2a26 plustwo=2a27 pm=b1 pointint=2a15 popf=1d561 pound=a3 pr=227a prE=2ab3 prap=2ab7 prcue=227c pre=2aaf prec=227a precapprox=2ab7 preccurlyeq=227c preceq=2aaf precnapprox=2ab9 precneqq=2ab5 precnsim=22e8 precsim=227e prime=2032 primes=2119 prnE=2ab5 prnap=2ab9 prnsim=22e8 prod=220f profalar=232e profline=2312 profsurf=2313 prop=221d propto=221d prsim=227e prurel=22b0 pscr=1d4c5 psi=3c8 puncsp=2008 qfr=1d52e qint=2a0c qopf=1d562 qprime=2057 qscr=1d4c6 quaternions=210d quatint=2a16 quest=3f questeq=225f quot=22 rAarr=21db rArr=21d2 rAtail=291c rBarr=290f rHar=2964 race=223d,331 racute=155 radic=221a raemptyv=29b3 rang=27e9 rangd=2992 range=29a5 rangle=27e9 raquo=bb rarr=2192 rarrap=2975 rarrb=21e5 rarrbfs=2920 rarrc=2933 rarrfs=291e rarrhk=21aa rarrlp=21ac rarrpl=2945 rarrsim=2974 rarrtl=21a3 rarrw=219d ratail=291a ratio=2236 rationals=211a rbarr=290d rbbrk=2773 rbrace=7d rbrack=5d rbrke=298c rbrksld=298e rbrkslu=2990 rcaron=159 rcedil=157 rceil=2309 rcub=7d rcy=440 rdca=2937 rdldhar=2969 rdquo=201d rdquor=201d rdsh=21b3 real=211c realine=211b realpart=211c reals=211d rect=25ad reg=ae rfisht=297d rfloor=230b rfr=1d52f rhard=21c1 rharu=21c0 rharul=296c rho=3c1 rhov=3f1 rightarrow=2192 rightarrowtail=21a3 rightharpoondown=21c1 rightharpoonup=21c0 rightleftarrows=21c4 rightleftharpoons=21cc rightrightarrows=21c9 rightsquigarrow=219d rightthreetimes=22cc ring=2da risingdotseq=2253 rlarr=21c4 rlhar=21cc rlm=200f rmoust=23b1 rmoustache=23b1 rnmid=2aee roang=27ed roarr=21fe robrk=27e7 ropar=2986 ropf=1d563 roplus=2a2e rotimes=2a35 rpar=29 rpargt=2994 rppolint=2a12 rrarr=21c9 rsaquo=203a rscr=1d4c7 rsh=21b1 rsqb=5d rsquo=2019 rsquor=2019 rthree=22cc rtimes=22ca rtri=25b9 rtrie=22b5 rtrif=25b8 rtriltri=29ce ruluhar=2968 rx=211e sacute=15b sbquo=201a sc=227b scE=2ab4 scap=2ab8 scaron=161 sccue=227d sce=2ab0 scedil=15f scirc=15d scnE=2ab6 scnap=2aba scnsim=22e9 scpolint=2a13 scsim=227f scy=441 sdot=22c5 sdotb=22a1 sdote=2a66 seArr=21d8 searhk=2925 searr=2198 searrow=2198 sect=a7 semi=3b seswar=2929 setminus=2216 setmn=2216 sext=2736 sfr=1d530 sfrown=2322 sharp=266f shchcy=449 shcy=448 shortmid=2223 shortparallel=2225 shy=ad sigma=3c3 sigmaf=3c2 sigmav=3c2 sim=223c simdot=2a6a sime=2243 simeq=2243 simg=2a9e simgE=2aa0 siml=2a9d simlE=2a9f simne=2246 simplus=2a24 simrarr=2972 slarr=2190 smallsetminus=2216 smashp=2a33 smeparsl=29e4 smid=2223 smile=2323 smt=2aaa smte=2aac smtes=2aac,fe00 softcy=44c sol=2f solb=29c4 solbar=233f sopf=1d564 spades=2660 spadesuit=2660 spar=2225 sqcap=2293 sqcaps=2293,fe00 sqcup=2294 sqcups=2294,fe00 sqsub=228f sqsube=2291 sqsubset=228f sqsubseteq=2291 sqsup=2290 sqsupe=2292 sqsupset=2290 sqsupseteq=2292 squ=25a1 square=25a1 squarf=25aa squf=25aa srarr=2192 sscr=1d4c8 ssetmn=2216 ssmile=2323 sstarf=22c6 star=2606 starf=2605 straightepsilon=3f5 straightphi=3d5 strns=af sub=2282 subE=2ac5 subdot=2abd sube=2286 subedot=2ac3 submult=2ac1 subnE=2acb subne=228a subplus=2abf subrarr=2979 subset=2282 subseteq=2286 subseteqq=2ac5 subsetneq=228a subsetneqq=2acb subsim=2ac7 subsub=2ad5 subsup=2ad3 succ=227b succapprox=2ab8 succcurlyeq=227d succeq=2ab0 succnapprox=2aba succneqq=2ab6 succnsim=22e9 succsim=227f sum=2211 sung=266a sup=2283 sup1=b9 sup2=b2 sup3=b3 supE=2ac6 supdot=2abe supdsub=2ad8 supe=2287 supedot=2ac4 suphsol=27c9 suphsub=2ad7 suplarr=297b supmult=2ac2 supnE=2acc supne=228b supplus=2ac0 supset=2283 supseteq=2287 supseteqq=2ac6 supsetneq=228b supsetneqq=2acc supsim=2ac8 supsub=2ad4 supsup=2ad6 swArr=21d9 swarhk=2926 swarr=2199 swarrow=2199 swnwar=292a szlig=df target=2316 tau=3c4 tbrk=23b4 tcaron=165 tcedil=163 tcy=442 tdot=20db telrec=2315 tfr=1d531 there4=2234 therefore=2234 theta=3b8 thetasym=3d1 thetav=3d1 thickapprox=2248 thicksim=223c thinsp=2009 thkap=2248 thksim=223c thorn=fe tilde=2dc times=d7 timesb=22a0 timesbar=2a31 timesd=2a30 tint=222d toea=2928 top=22a4 topbot=2336 topcir=2af1 topf=1d565 topfork=2ada tosa=2929 tprime=2034 trade=2122 triangle=25b5 triangledown=25bf triangleleft=25c3 trianglelefteq=22b4 triangleq=225c triangleright=25b9 trianglerighteq=22b5 tridot=25ec trie=225c triminus=2a3a triplus=2a39 trisb=29cd tritime=2a3b trpezium=23e2 tscr=1d4c9 tscy=446 tshcy=45b tstrok=167 twixt=226c twoheadleftarrow=219e twoheadrightarrow=21a0 uArr=21d1 uHar=2963 uacute=fa uarr=2191 ubrcy=45e ubreve=16d ucirc=fb ucy=443 udarr=21c5 udblac=171 udhar=296e ufisht=297e ufr=1d532 ugrave=f9 uharl=21bf uharr=21be uhblk=2580 ulcorn=231c ulcorner=231c ulcrop=230f ultri=25f8 umacr=16b uml=a8 uogon=173 uopf=1d566 uparrow=2191 updownarrow=2195 upharpoonleft=21bf upharpoonright=21be uplus=228e upsi=3c5 upsih=3d2 upsilon=3c5 upuparrows=21c8 urcorn=231d urcorner=231d urcrop=230e uring=16f urtri=25f9 uscr=1d4ca utdot=22f0 utilde=169 utri=25b5 utrif=25b4 uuarr=21c8 uuml=fc uwangle=29a7 vArr=21d5 vBar=2ae8 vBarv=2ae9 vDash=22a8 vangrt=299c varepsilon=3f5 varkappa=3f0 varnothing=2205 varphi=3d5 varpi=3d6 varpropto=221d varr=2195 varrho=3f1 varsigma=3c2 varsubsetneq=228a,fe00 varsubsetneqq=2acb,fe00 varsupsetneq=228b,fe00 varsupsetneqq=2acc,fe00 vartheta=3d1 vartriangleleft=22b2 vartriangleright=22b3 vcy=432 vdash=22a2 vee=2228 veebar=22bb veeeq=225a vellip=22ee verbar=7c vert=7c vfr=1d533 vltri=22b2 vnsub=2282,20d2 vnsup=2283,20d2 vopf=1d567 vprop=221d vrtri=22b3 vscr=1d4cb vsubnE=2acb,fe00 vsubne=228a,fe00 vsupnE=2acc,fe00 vsupne=228b,fe00 vzigzag=299a wcirc=175 wedbar=2a5f wedge=2227 wedgeq=2259 weierp=2118 wfr=1d534 wopf=1d568 wp=2118 wr=2240 wreath=2240 wscr=1d4cc xcap=22c2 xcirc=25ef xcup=22c3 xdtri=25bd xfr=1d535 xhArr=27fa xharr=27f7 xi=3be xlArr=27f8 xlarr=27f5 xmap=27fc xnis=22fb xodot=2a00 xopf=1d569 xoplus=2a01 xotime=2a02 xrArr=27f9 xrarr=27f6 xscr=1d4cd xsqcup=2a06 xuplus=2a04 xutri=25b3 xvee=22c1 xwedge=22c0 yacute=fd yacy=44f ycirc=177 ycy=44b yen=a5 yfr=1d536 yicy=457 yopf=1d56a yscr=1d4ce yucy=44e yuml=ff zacute=17a zcaron=17e zcy=437 zdot=17c zeetrf=2128 zeta=3b6 zfr=1d537 zhcy=436 zigrarr=21dd zopf=1d56b zscr=1d4cf zwj=200d zwnj=200c`,v6;function Wae(e){if(v6===void 0){v6=new Map;for(let e of Uae.split(` `)){let t=e.indexOf(`=`),n=e.slice(t+1).split(`,`).map(e=>parseInt(e,16));v6.set(e.slice(0,t),String.fromCodePoint(...n))}}return v6.get(e)}var Gae=/^&(?:#[xX]([0-9a-fA-F]{1,6})|#([0-9]{1,7})|([A-Za-z][A-Za-z0-9]{0,31}));/;function y6(e,t){let n=Gae.exec(e.slice(t,t+40));if(n==null)return null;let[r,i,a,o]=n,s=t+r.length;if(o!=null){let e=Wae(o);return e===void 0?null:{value:e,end:s}}let c=i==null?parseInt(a??`0`,10):parseInt(i,16);return{value:c!==0&&c<=1114111&&(c<55296||c>57343)?String.fromCodePoint(c):`�`,end:s}}function b6(e){return e!=null&&/^[!-/:-@[-`{-~]$/.test(e)}function Kae(e){if(!e.includes(`\\\\`)&&!e.includes(`&`))return e;let t=``,n=0;for(;nS6(e,t,n))};break;case`emphasis`:i={type:`italic`,children:e.children.map(e=>S6(e,t,n))};break;case`delete`:i={type:`strikethrough`,children:e.children.map(e=>S6(e,t,n))};break;case`inlineCode`:i={type:`code`,content:e.value};break;case`inlineMath`:i={type:`math`,value:e.value};break;case`link`:i={type:`link`,href:e.url,children:e.children.map(e=>S6(e,t,n))};break;case`image`:i={type:`image`,src:e.url,alt:e.alt};break;case`citation`:i={type:`citation`,sourceId:e.sourceId};break;case`break`:i={type:`break`};break;case`extension`:i=x6(e,n)}return t.set(e,i),i}function C6(e,t,n){let r=t.get(e);if(r!=null)return r;let i={children:e.children.map(e=>S6(e,t,n))};return t.set(e,i),i}function Jae(e,t,n){let r=t.get(e);if(r!=null)return r;let i={checked:e.checked,children:e.children.map(e=>w6(e,t,n))};return t.set(e,i),i}function w6(e,t,n){let r=t.get(e);if(r!=null)return r;let i=n?qae(e.position):{},a;switch(e.type){case`heading`:a={type:`heading`,level:e.depth,children:e.children.map(e=>S6(e,t,n)),...i};break;case`paragraph`:a={type:`paragraph`,children:e.children.map(e=>S6(e,t,n)),...i};break;case`code`:a={type:`codeblock`,language:nU(e)??`plaintext`,content:e.value,...i};break;case`math`:a={type:`math`,value:e.value,...i};break;case`blockquote`:a={type:`blockquote`,children:e.children.map(e=>w6(e,t,n)),...i};break;case`list`:a={type:`list`,ordered:e.ordered,start:e.start,delimiter:e.delimiter,loose:e.spread,items:e.children.map(e=>Jae(e,t,n)),...i};break;case`table`:{let[r={type:`tableRow`,children:[]},...o]=e.children;a={type:`table`,headers:r.children.map(e=>C6(e,t,n)),alignments:[...e.align],rows:o.map(e=>e.children.map(e=>C6(e,t,n))),...i};break}case`thematicBreak`:a={type:`hr`,...i};break;case`image`:a={type:`image`,alt:e.alt,src:e.url,...i};break;case`extension`:a=x6(e,n)}return t.set(e,a),a}var Yae=100;function T6(e,t){return`${e}\\u0000${t}`}function E6(e){return{sourceIds:e.sourceIds,autolink:e.autolink,math:e.math,sourceRanges:e.sourceRanges,astPositions:e.astPositions??!0,plugins:e.plugins,isFinal:e.isFinal,allowBlockSyntax:e.allowBlockSyntax??!0,baseOffset:e.baseOffset,linkDefs:e.linkDefs,blockDepth:e.blockDepth??0,nestedParses:e.nestedParses,probing:e.probing,sourceLines:e.sourceLines,baseLine:e.baseLine,lineOrigin:e.lineOrigin}}var Xae=E6({isFinal:!0}),Zae=E6({isFinal:!1});function D6(e,t=!1){if(e==null)return t?Zae:Xae;if(typeof e.has==`function`)return E6({sourceIds:e,isFinal:!t});let n=e,r=n.plugins!=null&&n.plugins.length>0?e6(n.plugins):void 0;return E6({sourceIds:n.sourceIds,autolink:n.autolink,math:n.math===!0||void 0,sourceRanges:n.sourceRanges,plugins:r,isFinal:!t||n.isFinal===!0,sourceLines:r?.sourceLines===!0||void 0})}var Qae=/^ {0,3}\\[([^\\]^](?:\\\\.|[^\\]\\\\])*)\\]:[ \\t]*(?:<([^<>\\n]*)>|(\\S+))([ \\t]+(?:\"[^\"\\n]*\"|'[^'\\n]*'|\\([^()\\n]*\\)))?[ \\t]*$/,O6=999,$ae=/^ {0,3}(?:\"[^\"\\n]*\"|'[^'\\n]*'|\\([^()\\n]*\\))[ \\t]*$/;function k6(e){return e.trim().replace(/\\s+/g,` `).toLowerCase()}function A6(e){let t=e.endsWith(`\\r`)?e.slice(0,-1):e,n=0;for(;;){let e=/^ {0,3}> ?/.exec(t);if(e==null)return{content:t,quoteDepth:n};t=t.slice(e[0].length),n++}}function j6(e,t){let n=e;for(let e=0;e ?/.exec(n);if(e==null)return null;n=n.slice(e[0].length)}return n}function M6(e){let t=A6(e),n=/^( {0,9})(?:[-*+]|\\d+[.)]) +(.*)$/.exec(t.content);if(n!=null){let e=A6(/^\\[[ xX]\\] +(.*)$/.exec(n[2])?.[1]??n[2]);return e.content.trim()===`$$`?{outerQuoteDepth:t.quoteDepth,listBaseIndent:n[1].length,innerQuoteDepth:e.quoteDepth}:null}return t.content.trim()===`$$`?{outerQuoteDepth:t.quoteDepth,listBaseIndent:null,innerQuoteDepth:0}:null}function N6(e,t){let n=j6(e,t.outerQuoteDepth);if(n==null)return`outside`;if(t.listBaseIndent==null)return/^ {0,3}> ?/.test(n)?`outside`:n.trim()===`$$`?`close`:`inside`;if(n.length-n.trimStart().length<=t.listBaseIndent)return`outside`;let r=j6(n.trimStart(),t.innerQuoteDepth);return r==null||/^ {0,3}> ?/.test(r)?`outside`:r.trim()===`$$`?`close`:`inside`}function P6(e,t){let n=e[t].trim();if(n.length>4&&n.startsWith(`$$`)&&n.endsWith(`$$`)){let e=n.slice(2,-2);return e.trim()===``?null:{value:e,nextIndex:t+1,endLine:t}}if(n!==`$$`)return null;for(let n=t+1;nO6)return null;let n=k6(t[1]),r=t[2]==null?t[3]:t[2];return n===``||r==null?null:{label:n,destination:G3(K6(r)),hasTitle:t[4]!=null}}var F6=/^( {0,3})(`{3,}|~{3,})/;function I6(e,t){let n=/^ {0,3}(`{3,}|~{3,})[ \\t]*\\r?$/.exec(e);return n!=null&&n[1].startsWith(t[0])&&n[1].length>=t.length}function toe(e){if(f8(e))return null;let t=/^( {0,9})([-*+]|\\d+[.)]) /.exec(e);if(t==null)return null;let n=t[0].length,r=d8(e.slice(n));return{base:t[1].length,content:r>=4?n:n+r,ordered:t[2]!==`-`&&t[2]!==`*`&&t[2]!==`+`}}function L6(){let e=``,t=null,n=!1,r=``,i=!1,a=!1,o=e=>/^ {0,3}#{1,6}(?:[ \\t]|$)/.test(e)||f8(e),s=e=>{if(r!==``){I6(e,r)&&(r=``),i=!1;return}let t=F6.exec(e);t==null?i=e.trim()!==``&&!o(e):(r=t[2],i=!1)};return{get open(){return e!==``},read(c,l){let u=c[l];if(e!==``)return I6(u,e)?(e=``,`close`):`inside`;if(u.trim()===``)return n=t!=null,a=!1,null;let d=d8(u);if(t!=null&&(n?d>=t.content:d>t.base))return s(u.slice(Math.min(d,t.content))),null;let f=toe(u);if(f!=null&&!(a&&t==null&&f.ordered&&!/^ {0,9}0*1[.)]/.test(u)))return t=f,n=!1,r=``,a=!1,s(u.slice(f.content)),null;let p=F6.exec(u);return p==null?(t!=null&&!n&&i&&v8(c,l)||(t=null,a=!o(u)),null):(t=null,a=!1,e=p[2],`open`)}}}function R6(e,t=!1){let n=e.split(`\n`),r=new Map,i=Array(n.length).fill(!0),a=!0,o=L6();for(let e=0;en[e]).join(`\n`),lineMap:s}}function noe(e){return e==null||e.size===0?``:[...e].sort().join(`\\0`)}function z6(e){return e.size===0?``:[...e].sort((e,t)=>e[0]t[0])).map(([e,t])=>`${e}\\u0000${t}`).join(`\u0001`)}function B6(e){return e.plugins==null?e:{...e,plugins:void 0}}function roe(e,t,n,r,i,a){let o=a.openerClose(t);if(o===-1)return null;let s=e.slice(t+1,o);if(e[o+1]===`[`){let t=a.closingBracket(o+2);if(t!==-1){let a=e.slice(o+2,t),c=a===``?s:a,l=n.get(k6(c));if(l!=null&&W3(l))return{node:{type:`link`,url:l,children:r8(s,B6(r),i)},end:t+1}}}if(s.trim()===``)return null;let c=n.get(k6(s));return c==null||!W3(c)?null:{node:{type:`link`,url:c,children:r8(s,B6(r),i)},end:o+1}}var V6=0,ioe=10;function H6(e,t,n){if(V6>=ioe)return Kae(e);V6++;try{return iU(U6(r8(e,B6(t),n)))}finally{V6--}}function U6(e){return e.map(e=>{switch(e.type){case`break`:return{type:`text`,value:`\n`};case`strong`:case`emphasis`:case`delete`:case`link`:return{...e,children:U6(e.children)};case`text`:case`inlineCode`:case`inlineMath`:case`image`:case`citation`:case`extension`:return e}})}function aoe(e,t,n,r,i,a){let o=r.openerClose(t+1);if(o===-1)return null;let s=e.slice(t+2,o);if(e[o+1]===`[`){let t=r.closingBracket(o+2);if(t!==-1){let r=e.slice(o+2,t),c=r===``?s:r,l=n.get(k6(c));if(l!=null&&W3(l))return{node:{type:`image`,url:l,alt:H6(s,i,a)},end:t+1}}}if(s.trim()===``)return null;let c=n.get(k6(s));return c==null||!W3(c)?null:{node:{type:`image`,url:c,alt:H6(s,i,a)},end:o+1}}var ooe=/^\\s*(?:<((?:[^<>\\n\\\\]|\\\\.)*)>|([^\\s<]\\S*?))(?:\\s+(?:\"(?:[^\"\\\\]|\\\\.)*\"|'(?:[^'\\\\]|\\\\.)*'|\\((?:[^()\\\\]|\\\\.)*\\)))?\\s*$/s;function W6(e,t){let n=t+1;for(;e[n]===` `||e[n]===`\t`;)n++;if(e[n]!==`<`)return null;for(n++;n`)break}if(n>=e.length)return`refused`;for(n++;/\\s/.test(e[n]??``);)n++;let r=e[n];if(r===`\"`||r===`'`||r===`(`){let t=r===`(`?`)`:r;for(n++;n{if(n==null){n=new Map;for(let t=e.indexOf(\"`\");t!==-1;){let r=t;for(;e[r]===\"`\";)r++;let i=n.get(r-t);i==null?n.set(r-t,[t]):i.push(t),t=e.indexOf(\"`\",r)}}let i=n.get(r);if(i==null)return-1;let a=0,o=i.length;for(;a>1;i[e]{if(i==null){let t=new Uint8Array(e.length);for(let n=0;n=0;n--)i[n]=t[n]===1?n:i[n+1]}return t{if(o==null){o=new Int32Array(e.length).fill(-1);let t=[];for(let n=0;n{if(e[r+1]===`(`){let t=W6(e,r+1),n=t===`refused`?-1:t??s(r+1);if(n!==-1)return n+1}if(t==null||r-n-1>O6)return-1;let i=e.slice(n+1,r),o=e=>{let n=t.get(k6(e));return n!=null&&W3(n)};if(e[r+1]===`[`){let t=a(r+2);if(t!==-1&&t-r-2<=O6&&o(t===r+2?i:e.slice(r+2,t)))return t+1}return i.trim()!==``&&o(i)?r+1:-1},l=null;return{backtickCloser:r,closingBracket:a,closingParen:s,openerClose:t=>{if(l==null){l=new Map;let t=[],n=0;for(let i=0;i0){let e=t.length-1,r=t[e];t.pop();let a=r.image||e>=n;if(n=Math.min(n,e),!a)continue;let o=c(r.index,i);if(o===-1)continue;l.set(r.index,i),r.image||(n=t.length),i=o-1}}}return l.get(t)??-1}}}function q6(e,t,n){let r=e[e.length-1];r?.type===`text`&&t?.has(r)!==!0?e[e.length-1]={...r,value:r.value+n}:e.push({type:`text`,value:n})}var J6=RegExp(`^[\\\\t\\\\n\\\\f\\\\r\\\\p{Zs}]$`,`u`),Y6=RegExp(`^[\\\\p{P}\\\\p{S}]$`,`u`);function coe(e,t){if(t<=0)return;let n=e.charCodeAt(t-1);if(n>=56320&&n<=57343&&t>=2){let n=e.charCodeAt(t-2);if(n>=55296&&n<=56319)return e.slice(t-2,t)}return e[t-1]}function loe(e,t){if(t>=e.length)return;let n=e.codePointAt(t);return n==null?void 0:String.fromCodePoint(n)}function uoe(e,t,n,r){let i=coe(t,n),a=loe(t,r),o=i==null||J6.test(i),s=a==null||J6.test(a),c=i!=null&&Y6.test(i),l=a!=null&&Y6.test(a),u=!s&&(!l||o||c),d=!o&&(!c||s||l);return{node:{type:`text`,value:t.slice(n,r)},character:e,originalLength:r-n,length:r-n,canOpen:e===`*`?u:u&&(!d||c),canClose:e===`*`?d:d&&(!u||l)}}var doe=100;function foe(e,t){let n={node:{type:`text`,value:``},previous:null,next:null},r=n,i=new Map;for(let t of e){let e={node:t,previous:r,next:null};r.next=e,r=e,i.set(t,e)}let a=e=>{e.previous!=null&&(e.previous.next=e.next),e.next!=null&&(e.next.previous=e.previous)},o=t.map((e,t)=>({run:e,index:t,previous:null,next:null,depthAfter:0,canClose:e.canClose}));o.forEach((e,t)=>{e.previous=o[t-1]??null,e.next=o[t+1]??null});let s=e=>{e.previous!=null&&(e.previous.next=e.next,e.previous.depthAfter=Math.max(e.previous.depthAfter,e.depthAfter)),e.next!=null&&(e.next.previous=e.previous)},c=new Map,l=null,u=o[0]??null;for(;u!=null;){let e=u.run;if(!u.canClose||e.length===0){u=u.next;continue}let t=`${e.character}${+!!e.canOpen}${e.originalLength%3}`,n=c.get(t)??-1,r=u.previous;for(;r!=null&&r.index>n;){let t=r.run,n=(e.canOpen||t.canClose)&&(t.originalLength+e.originalLength)%3==0&&(t.originalLength%3!=0||e.originalLength%3!=0);if(t.character===e.character&&t.canOpen&&t.length>0&&!n)break;r=r.previous}if(r==null||r.index<=n){c.set(t,u.index-1);let n=u.next;e.canOpen||s(u),u=n;continue}let o=r.run,d=r.depthAfter;for(let e=r.next;e!=null&&e!==u;e=e.next)d=Math.max(d,e.depthAfter);if(r.next=u,u.previous=r,r.depthAfter=d,d>=doe){let t=u.next;s(r),u.canClose=!1,e.canOpen||s(u),u=t;continue}let f=i.get(o.node),p=i.get(e.node);if(f==null||p==null)break;let m=o.length>=2&&e.length>=2?2:1,h=[];for(let e=f.next;e!=null&&e!==p;e=e.next)h.push(e.node);let g;if(m===2)g={type:`strong`,children:h},l={node:g,opener:o,closer:e};else{let[t]=h;g=h.length===1&&t===l?.node&&l.opener===o&&l.closer===e&&t.type===`strong`?{type:`strong`,children:[{type:`emphasis`,children:t.children}]}:{type:`emphasis`,children:h}}let _={node:g,previous:f,next:p};if(f.next=_,p.previous=_,r.depthAfter=d+1,o.length-=m,e.length-=m,o.node.value=o.character.repeat(o.length),e.node.value=e.character.repeat(e.length),o.length===0&&(a(f),s(r)),e.length===0){a(p);let e=u.next;s(u),u=e}}let d=new Set(t.filter(e=>e.length>0).map(e=>e.node)),f=[],p=!1;for(let e=n.next;e!=null;e=e.next){let{node:t}=e,n=d.has(t),r=f[f.length-1];t.type===`text`&&r?.type===`text`&&(n||p)?(f[f.length-1]={...r,value:r.value+t.value},p=!0):(f.push(n?{type:`text`,value:t.value}:t),p=n)}return f}function X6(e,t){let n=0;for(let r=t-1;r>=0&&e[r]===`\\\\`;r--)n++;return n%2==1}function Z6(e,t){return e[t]===`$`&&e[t-1]!==`$`&&e[t+1]!==`$`&&e[t+1]!=null&&!/\\s/.test(e[t+1])&&!/\\d/.test(e[t-1]??``)&&!X6(e,t)}function Q6(e,t){if(!Z6(e,t))return-1;for(let n=t+1;ns||c.node.type!==`extension`||c.node.plugin!==o.pluginName||c.node.display!==n||c.node.name.trim()===``||!t6(c.node.data)||!r.plugins?.renderers.has(`${o.pluginName}\\0${c.node.name}`)){m6(o.pluginName,`syntax`,TypeError(`Tokenizer returned an invalid extension node`));continue}let{source:l,position:u,...d}=c.node,f=(r.baseOffset??0)+t,p=(r.baseOffset??0)+c.end;return{status:`match`,end:c.end,node:Object.freeze({...d,data:n6(c.node.data),source:e.slice(t,c.end),...r.sourceRanges&&n===`block`?{position:Object.freeze({start:Object.freeze({offset:f}),end:Object.freeze({offset:p})})}:null})}}return{status:`none`}}function hoe(e,t){return e[t]===`\n`?1:e[t]===`\\r`&&e[t+1]===`\n`?2:0}function t8(e,t){return goe(e,t)}function goe(e,t){let n=D6(t),r=n8(e,n);if((n.plugins?.transforms.length??0)===0)return r;let i=h6({type:`root`,children:[{type:`paragraph`,children:r}]},n.plugins,e,n.isFinal,`inline`).children[0];return i?.type===`paragraph`?[...i.children]:r}function n8(e,t,n=`default`){let r=r8(e,t,n);return t.autolink===`gfm`?u8(r):r}function r8(e,t,n=`default`){let r=[],i=null,a=null,o=soe(e,t.linkDefs),s=t.plugins!=null&&t.plugins.inlineByFirstCharacter.size>0?t.plugins.inlineByFirstCharacter:void 0,c=0;for(;c0){r.push({type:`break`}),c+=1+t;continue}if(b6(e[c+1])){r.push({type:`text`,value:e[c+1]}),c+=2;continue}}if(e[c]===\"`\"){let t=c;for(;e[t]===\"`\";)t++;let i=t-c,s=o.backtickCloser(t,i);if(s===-1){q6(r,a,e.slice(c,t)),c=t;continue}r.push({type:`inlineCode`,value:n===`tableCell`?e.slice(t,s).replace(/\\\\\\|/g,`|`):e.slice(t,s)}),c=s+i;continue}if(t.math&&e[c]===`$`){let t=Q6(e,c);if(t!==-1){r.push({type:`inlineMath`,value:e.slice(c+1,t)}),c=t+1;continue}}{let n=poe(e,c,t);if(n){r.push({type:`citation`,sourceId:n.sourceId}),c=n.end;continue}}if(e[c]===`!`&&e[c+1]===`[`){let i=o.openerClose(c+1);if(i!==-1&&e[i+1]===`(`){let a=W6(e,i+1),s=a===`refused`?-1:a??o.closingParen(i+1);if(s!==-1){let a=G3(K6(G6(e.slice(i+2,s))));W3(a)?r.push({type:`image`,url:a,alt:H6(e.slice(c+2,i),t,n)}):r.push({type:`text`,value:e.slice(c,s+1)}),c=s+1;continue}}}if(t.linkDefs!=null&&e[c]===`!`&&e[c+1]===`[`){let i=aoe(e,c,t.linkDefs,o,t,n);if(i){r.push(i.node),c=i.end;continue}}{let n=moe(e,c,t);if(n){r.push({type:`citation`,sourceId:n.sourceId}),c=n.end;continue}}if(e[c]===`[`){let i=o.openerClose(c);if(i!==-1&&e[i+1]===`(`){let a=W6(e,i+1),s=a===`refused`?-1:a??o.closingParen(i+1);if(s!==-1){let a=G3(K6(G6(e.slice(i+2,s))));W3(a)?r.push({type:`link`,url:a,children:r8(e.slice(c+1,i),B6(t),n)}):r.push({type:`text`,value:e.slice(c,s+1)}),c=s+1;continue}}}if(t.linkDefs!=null&&e[c]===`[`){let i=roe(e,c,t.linkDefs,t,n,o);if(i){r.push(i.node),c=i.end;continue}}if(e[c]===`*`||e[c]===`_`){let t=e[c],n=c+1;for(;e[n]===t;)n++;let o=uoe(t,e,c,n);if(o.canOpen||o.canClose){r.push(o.node),(i??=[]).push(o),(a??=new Set).add(o.node),c=n;continue}if(s?.has(t)!==!0){q6(r,a,e.slice(c,n)),c=n;continue}}if(e[c]===`~`&&e[c+1]===`~`){let i=e.indexOf(`~~`,c+2);if(i!==-1){r.push({type:`delete`,children:r8(e.slice(c+2,i),t,n)}),c=i+2;continue}}if(s!==void 0){let n=e8(e,c,`inline`,t);if(n.status===`match`){r.push(n.node),c=n.end;continue}if(n.status===`defer`)break}if(e[c]===`&`){let t=y6(e,c);if(t!=null){q6(r,a,t.value),c=t.end;continue}}let l=c+1;for(;l=2){n.length>0&&q6(r,a,n),r.push({type:`break`}),c=l+1;continue}}q6(r,a,u),c=l}return i==null?r:foe(r,i)}var i8=`[^\\\\s<]+`,_oe=`https?:\\\\/\\\\/`,voe=`[A-Za-z0-9._%+-]+`,a8=`[A-Za-z0-9-]+`,o8=`${a8}(?:\\\\.${a8})+`,yoe=`[a-zA-Z][a-zA-Z0-9+.-]*`,boe=`[^<>\\\\s]*`,xoe=RegExp(`${_oe}${i8}`,`g`),Soe=RegExp(`www\\\\.${i8}`,`g`),s8=new RegExp(o8,`y`),Coe=RegExp(`<(${yoe}:${boe})>`,`g`),woe=RegExp(`<(${voe}@${o8})>`,`g`),Toe=new Set(`?!.,:*_~`),Eoe=new Set(`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._%+-@`),Doe=new Set(`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._%+-`);function c8(e){let t=0,n=0;for(let r=0;r0;){let i=e[r-1];if(Toe.has(i))r--;else if(i===`)`&&n>t)n--,r--;else break}return e.slice(0,r)}var Ooe=new Set(`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789/=`);function l8(e){return e==null||!Ooe.has(e)}function koe(e){let t=[];{let n=new RegExp(Coe.source,`g`),r;for(;(r=n.exec(e))!==null;){let e=r[1];W3(e)&&t.push({start:r.index,end:r.index+r[0].length,href:e,display:e})}}{let n=new RegExp(woe.source,`g`),r;for(;(r=n.exec(e))!==null;){let e=r[1];t.push({start:r.index,end:r.index+r[0].length,href:`mailto:${e}`,display:e})}}{let n=new RegExp(xoe.source,`g`),r;for(;(r=n.exec(e))!==null;){let n=e[r.index-1];if(!l8(n)||e.slice(r.index-2,r.index)===`](`)continue;let i=c8(r[0]);i.length!==0&&t.push({start:r.index,end:r.index+i.length,href:i,display:i})}}{let n=new RegExp(Soe.source,`g`),r;for(;(r=n.exec(e))!==null;){let n=e[r.index-1];if(!l8(n)||e.slice(r.index-3,r.index)===`://`)continue;let i=c8(r[0]);i.length!==0&&t.push({start:r.index,end:r.index+i.length,href:`http://${i}`,display:i})}}{let n=0;for(let r=e.indexOf(`@`);r!==-1;r=e.indexOf(`@`,r+1)){let i=r;for(;i>n&&Doe.has(e[i-1]);)i--;if(i===r)continue;s8.lastIndex=r+1;let a=s8.exec(e);if(a===null)continue;let o=r+1+a[0].length;n=o;let s=e[i-1];if(s!=null&&Eoe.has(s)||e.slice(Math.max(0,i-7),i)===`mailto:`)continue;let c=e.slice(i,o);t.push({start:i,end:o,href:`mailto:${c}`,display:c})}}t.sort((e,t)=>e.start-t.start);let n=[],r=0;for(let e of t)e.start>=r&&(n.push(e),r=e.end);return n}function Aoe(e){let t=koe(e);if(t.length===0)return[{type:`text`,value:e}];let n=[],r=0;for(let i of t)i.start>r&&n.push({type:`text`,value:e.slice(r,i.start)}),n.push({type:`link`,url:G3(i.href),children:[{type:`text`,value:i.display}]}),r=i.end;return r=3}function joe(e){for(let t=0;te.trim()).filter(e=>e.length>0);return t.length>0&&t.every(e=>/^:?-+:?$/.test(e))}function m8(e){return{...e,allowBlockSyntax:!1,sourceRanges:!1,astPositions:!1,blockDepth:e.blockDepth+1,baseLine:void 0,lineOrigin:void 0}}function h8(e,t){return t==null?m8(e):{...m8(e),lineOrigin:t}}function g8(e){let t=e.length-e.trimStart().length;return t<=3?t:null}var _8=/^ {0,3}>/;function Moe(e){return e.replace(/^ {0,3}>[ \\t]?/,``)}function Noe(e){return!!(/^ {0,3}#{1,6} /.test(e)||F6.test(e)||f8(e)||_8.test(e)||/^ {0,9}[-*+] /.test(e)||/^ {0,9}0*1[.)] /.test(e)||e.includes(`|`))}function v8(e,t,n=!1){let r=e[t];return r==null||r.trim()===``||/^ {0,3}#{1,6} /.test(r)||F6.test(r)||f8(r)||_8.test(r)||/^ {0,9}[-*+] /.test(r)||(n?/^ {0,9}\\d+[.)] /.test(r):/^ {0,9}0*1[.)] /.test(r))?!1:!(r.includes(`|`)&&t+1t&&e[n-1]===` `;)n--;n>t&&e[n-1]===`|`&&n--;let r=e.slice(t,n),i=[],a=``;for(let e=0;e({type:`tableCell`,children:n8(e,n,`tableCell`)})),i=x8(e[t+1]).map(e=>{let t=e.trim(),n=t.startsWith(`:`),r=t.endsWith(`:`);return n&&r?`center`:r?`right`:n?`left`:null}),a=[],o=t+2;for(;o({type:`tableCell`,children:n8(e,n,`tableCell`)}))}),o++;return{node:{type:`table`,align:i,children:[{type:`tableRow`,children:r},...a]},nextIndex:o}}function S8(e,t,n){if(t.length===0)return e;let r=t.filter((e,t)=>e.trim()!==``&&!n.has(t)).map(d8),i=r.length===0?0:Math.min(...r);return`${e}\\n${t.map((e,t)=>e.trim()===``?``:e.slice(n.has(t)?d8(e):i)).join(`\n`)}`}function C8(e,t,n,r,i,a){let o=[],s=d8(e[t]),c=n?e[t].match(/^ *(\\d+)([.)]) /):null,l=c?c[2]:`.`,u=`\\\\${l}`,d=n?null:e[t].trimStart()[0],f=RegExp(n?`^ {${s}}\\\\d+${u} `:`^ {${s}}\\\\${d} `),p=c?parseInt(c[1],10):void 0,m=!1,h=t,g=e=>f.test(e)&&!f8(e);for(;h=4?l:l+d,p=c.match(/^\\[([ xX])\\] (.*)/),_,v;p?(_=p[1].toLowerCase()===`x`,v=p[2]):v=c,h++;let y=[],b=new Set,x=v8([v],0,!0)?!0:void 0;for(;hs)y.push(e[h]),x===!0&&!v8([e[h].trimStart()],0)&&(x=void 0),h++;else{if(i(h)||!v8(e,h,!0)||(x===void 0&&(x=b8(S8(v,y,b),r)),!x))break;b.add(y.length),y.push(e[h]),h++}for(;;){let t=h;for(;t=e.length||d8(e[t])=f;)y.push(e[h]),h++;m=!0}let S=S8(v,y,b);if(a==null)o.push({type:`listItem`,checked:_,children:T8(S,m8(r))});else{let e=[];for(let n=t;nh&&C=Yae){let n=e.trim();return n===``?[]:[{type:`paragraph`,children:n8(n,t)}]}let n=t.nestedParses==null?{...t,nestedParses:{map:null}}:t,{defs:r,cleaned:i,lineMap:a}=R6(e,n.math),o=n.linkDefs,s;s=r.size===0?o:o==null?r:new Map([...r,...o]);let c=s==null?n:{...n,linkDefs:s},l=i.split(`\n`),u=c.allowBlockSyntax!==!1&&(c.plugins?.blockByFirstCharacter.size??0)>0,d=[0];if(c.astPositions===!0||u){let e=0;for(let t=0;t{if(!u)return!1;let t=g8(l[e]);if(t==null)return!1;let n=d[e]+t,r=e8(i,n,`block`,c);return r.status!==`none`&&(f.set(n,r),!0)},m=[],h=Loe(c,a),g=c.astPositions===!0||h!=null?[]:null,_=g==null?null:[],v=0,y=(e,t)=>{m.push(e),g?.push(v),_?.push(t)},b=0;for(;b0&&l[l.length-1]===``&&d.pop(),b++,y(tU({type:`code`,lang:o,...u==null?{}:{meta:u},value:d.join(`\n`)},s),Math.min(b,l.length)-1);continue}if(c.math){let e=P6(l,b);if(e!=null){y({type:`math`,value:e.value},e.endLine),b=e.nextIndex;continue}}let n=e.match(/^ {0,3}(#{1,6}) +(.*)/);if(n){y({type:`heading`,depth:n[1].length,children:n8(n[2],c)}),b++;continue}if(f8(e)){y({type:`thematicBreak`}),b++;continue}let r=e.match(/^!\\[([^\\]]*)\\]\\(([^)]+)\\)/),a=r?G3(K6(G6(r[2]))):``;if(r&&e.trim()===r[0]&&W3(a)){y({type:`image`,alt:H6(r[1],c,`default`),url:a}),b++;continue}if(b+1h(v+t))))});continue}if(/^ {0,9}[-*+] /.test(e)){let e=C8(l,b,!1,c,p,h);y(e.node),b=e.nextIndex;continue}if(/^ {0,9}\\d+[.)] /.test(e)){let e=C8(l,b,!0,c,p,h);y(e.node),b=e.nextIndex;continue}if(u){let t=g8(e),n=t==null?d[b]:d[b]+t,r=f.get(n)??(t==null?{status:`none`}:e8(i,n,`block`,c));if(f.delete(n),r.status===`match`){let e=r.end,t=i.slice(d[b],e);if(el+u[i==null?e:i[e]];for(let i=0;ia&&r[o].trim()===``;)o--;let l;l=s==null?{start:{offset:d(a)},end:{offset:d(o)+r[o].length}}:c?{start:{offset:d(a),line:s(a)+1},end:{offset:d(o)+r[o].length,line:s(o)+1}}:{start:{line:s(a)+1},end:{line:s(o)+1}},e[i]=F8(e[i],{...e[i],position:l})}}function Loe(e,t){if(e.sourceLines!==!0)return null;let n=e=>t==null?e:t[e],r=e.lineOrigin;if(r!=null)return e=>r[n(e)];if(e.astPositions!==!0)return null;let i=e.baseLine??0;return e=>i+n(e)}var E8=new WeakMap;function D8(e){let{defs:t}=R6(e.settledText,e.math),n={settledEnd:e.settledText.length,settledEndLine:void 0,settledLinkDefs:new Map(t),tailLinkDefs:new Map,linkDefs:t,linkDefsKey:z6(t),settledAstBlocks:[],settledRevision:0,projectedRevision:-1,projectedSettledBlocks:[],projectionCache:new WeakMap,work:{splitCharacters:0,boundaryLines:0,definitionCharacters:0,renderedBlocks:0}};return E8.set(e,n),n}function O8(){let e={prevInput:``,settledText:``,settledBlocks:[],settledUpTo:0};return D8(e),e}function Roe(e,t=!1){let n=L6(),r=null,i=!1,a=-1,o=-1,s=-1;for(let c=0;c0&&c0&&a[o-1]===`!`?o-1:o;a=a.slice(0,e)}}let s=a.length;for(;s>0&&a[s-1]===\"`\";)s--;if(s0){let e=a.length-s;a.lastIndexOf(\"`\".repeat(e),s-1)===-1&&(a=a.slice(0,s))}for(s=a.length;s>0&&a[s-1]===`*`;)s--;if(s0){let e=a.length-s;e<=3&&a.lastIndexOf(`*`.repeat(e),s-1)===-1&&(a=a.slice(0,s))}{let e=0,t=[];for(;e3||t.push({pos:n,len:r}),e=n+r}let n=new Set;for(let e=0;e=0;e--)if(!n.has(e)){let n=t[e],r=a.slice(n.pos+n.len),i=r.length-r.trimEnd().length;a=i=2&&a.endsWith(`~~`))a.lastIndexOf(`~~`,a.length-3)===-1&&(a=a.slice(0,-2));else if(a.endsWith(`~`)){let e=a.length-2;e>=0&&a[e]!==`~`&&(a=a.slice(0,-1))}{let e=0,t=0,n=[];for(;;){let r=a.indexOf(`~~`,t);if(r===-1)break;n.push(r),e++,t=r+2}e%2==1&&(a=a.slice(0,n[n.length-1]))}return i+a}function A8(e){let t=e.split(`\n`),n=L6(),r=null,i=!1,a=-1;for(let e=0;e=0?t.slice(0,a).join(`\n`).trimEnd():e}function zoe(e){let t=e.split(`\n`);for(;t.length>0;){let e=t[t.length-1],n=e.trim();if(n===``)t.pop();else if(/^ {0,9}[-*+] $/.test(e)||/^ {0,9}\\d+[.)] $/.test(e))t.pop();else{if(joe(n)&&!p8(e)){let e=!1;for(let n=t.length-2;n>=1;n--)if(p8(t[n])&&t[n-1].includes(`|`)){e=!0;break}if(!e){t.pop();continue}}if(p8(e)&&(t.length<2||!t[t.length-2].includes(`|`)))t.pop();else break}}return t.join(`\n`)}function j8(e,t,n){return e.astPositions===!0?e.sourceLines===!0?{...e,baseOffset:t,baseLine:n}:{...e,baseOffset:t}:e}function M8(e,t=0,n=e.length){let r=0;for(let i=e.indexOf(`\n`,t);i!==-1&&i=0?u.slice(0,d).join(`\n`):``,h=s+m.length,g=e.slice(h),_=!1;if(m!==``){let{defs:e}=R6(m,n.math);for(let[t,n]of e)r.settledLinkDefs.has(t)||(r.settledLinkDefs.set(t,n),r.linkDefs.get(t)!==n&&(_=!0))}let{defs:v}=R6(g,n.math);Hoe(r.tailLinkDefs,v,r.settledLinkDefs)||(_=!0),r.tailLinkDefs=v,_&&(r.linkDefs=new Map([...v,...r.settledLinkDefs]),r.linkDefsKey=z6(r.linkDefs),i=!0),t.linkDefsKey=r.linkDefsKey;let y=r.linkDefs.size>0?{...n,linkDefs:r.linkDefs}:n;m!==``&&(t.settledText+=m,t.settledUpTo+=m.split(`\n`).length-1,s===0&&t.settledUpTo++,r.settledEnd=h,r.settledEndLine=n.sourceLines===!0?c+M8(m):void 0);let b=g.replace(/^(?:[ \\t]*\\r?\\n)+/,``).trimEnd(),x=b!==``&&/\\r(?:\\n[\\s]*)?$/.test(g)?`${b}\\r`:b,S=f?g.replace(/^(?:[ \\t]*\\r?\\n)+/,``):p?A8(x):zoe(x),C=n.sourceRanges===!0,w=0;if(i)r.settledAstBlocks=t.settledText?T8(t.settledText,y):[],w=r.settledAstBlocks.length,r.settledRevision++,r.projectedSettledBlocks=r.settledAstBlocks.map(e=>w6(e,r.projectionCache,C)),r.projectedRevision=r.settledRevision;else if(m!==``){let e=T8(m,j8(y,s,c)),t=r.settledAstBlocks.length-1,n=Voe(r.settledAstBlocks,e);w=e.length,r.settledRevision++;let i=e.map(e=>w6(e,r.projectionCache,C));if(n){let e=r.settledAstBlocks[t],n=w6(e,r.projectionCache,C);r.projectedSettledBlocks[t]=n,r.projectedSettledBlocks.push(...i.slice(1))}else r.projectedSettledBlocks.push(...i);r.projectedRevision=r.settledRevision}let T=S&&n.astPositions===!0?e.indexOf(S,r.settledEnd):-1,E=S?T8(S,T>=0?j8(y,T,n.sourceLines===!0?(r.settledEndLine??0)+M8(e,r.settledEnd,T):0):m8(y)):[];return t.prevInput=e,r.work={splitCharacters:l.length,boundaryLines:u.length,definitionCharacters:m.length+g.length,renderedBlocks:w+E.length},Boe(r.settledAstBlocks,E)}function Woe(e){return e.trim().toLowerCase().replace(/['\"]/g,``).replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``)}function Goe(e,t){let n=e||`section`,r=t.get(n)??0;return t.set(n,r+1),r===0?n:`${n}-${r}`}var Koe=new Set([`image`,`code`,`math`,`inlineMath`,`table`,`thematicBreak`,`citation`,`break`,`extension`]);function R8(e){if(Koe.has(e.type))return null;if(typeof e.value==`string`)return LH(e.value);for(let t of e.children??[]){let e=R8(t);if(e!=null)return e}return null}function z8(e){return R8(e)??void 0}function B8(e,t){return z8(e)??(t!=null&&t.around!==t.provider?t.provider:void 0)}function V8(e,t){if(t!=null)return{provider:t.provider,around:z8(e)??t.provider}}var qoe=Symbol.for(`@astryxdesign/core/markdown/semantic-fence/fence-proposal/v1`);function Joe(e){return e[qoe]}var H8=class extends X.Component{state={failed:!1,resetKey:this.props.resetKey,resetRenderer:this.props.resetRenderer};static getDerivedStateFromError(){return{failed:!0}}static getDerivedStateFromProps(e,t){return e.resetKey===t.resetKey&&e.resetRenderer===t.resetRenderer?null:{failed:!1,resetKey:e.resetKey,resetRenderer:e.resetRenderer}}componentDidCatch(e){m6(this.props.pluginName,`render`,e)}render(){return this.state.failed?this.props.fallback:this.props.children}};function U8(e,t,n,r){let i=g6(e,t);if(i==null)return n;let a;try{a=i.render({node:t})}catch(e){return m6(t.plugin,`render`,e),n}return(0,Z.jsx)(H8,{pluginName:t.plugin,resetKey:t,resetRenderer:i.render,fallback:n,children:(0,Z.jsx)(X.Suspense,{fallback:n,children:a})},r)}var Yoe=`heading-links`,W8=`@astryxdesign/core/MarkdownHeadingLinksConfig`,Xoe=Symbol.for(W8);jae(e=>e);var Zoe=RegExp(`[^\\\\p{Letter}\\\\p{Number}]+`,`gu`);function Qoe(e){return e.normalize(`NFKC`).trim().toLowerCase().replace(/['\"]/gu,``).replace(Zoe,`-`).replace(/^-+|-+$/gu,``)}function $oe(e,t){let n=e||`section`,r=t.get(n)??0,i=r===0?n:`${n}-${r}`;for(;t.has(i);)r++,i=`${n}-${r}`;return t.set(n,r+1),t.set(i,0),i}var ese=`https://astryx.invalid/`;function tse(e){try{return new URL(e,ese),!0}catch{return!1}}function nse(e){let t=Y3(e);if(t.name!==Yoe)return;let n=t[Xoe];if(!(typeof n!=`object`||!n||Object.getPrototypeOf(n)!==Object.prototype||Reflect.ownKeys(n).length!==4||!Object.isFrozen(n)||n.kind!==W8||n.apiVersion!==1||n.headingIdPrefix!==void 0&&typeof n.headingIdPrefix!=`string`||typeof n.permalinkBaseUrl!=`string`||n.permalinkBaseUrl.includes(`#`)||!tse(n.permalinkBaseUrl)||n.permalinkBaseUrl!==``&&Tae(n.permalinkBaseUrl)!==n.permalinkBaseUrl))return n}function rse(e){if(e!=null)for(let t of e.entries){let e=nse(t);if(e!=null)return e}}function ise(e,t){let n=rse(t);if(n==null)return;let r=new Map,i=new Map,a=new Map,o=new Map;return rU(e,`heading`,e=>{let s=iU(e.children,e=>_6(t,e)).trim(),c=$oe(Qoe(s),o),l=n.headingIdPrefix!=null&&n.headingIdPrefix!==``?`${n.headingIdPrefix}--${c}`:c;r.set(e,l),i.set(e,s),a.set(e,`${n.permalinkBaseUrl}#${l}`)}),{ids:r,labels:i,permalinkUrls:a}}function ase(e,t){let n=e.children.filter(e=>e.type===`heading`),r=ise(e,t);if(r!=null)return{...r,outline:n.map(e=>{let t=r.ids.get(e),n=r.labels.get(e);if(t==null||n==null)throw Error(`Heading-links projection omitted a root heading`);return{id:t,label:n,level:e.depth}})};let i=new Map,a=new Map,o=new Map,s=n.map(e=>{let n=iU(e.children,e=>_6(t,e)).trim(),r=Goe(Woe(n),o);return i.set(e,r),a.set(e,n),{id:r,label:n,level:e.depth}});return{ids:i,labels:a,permalinkUrls:new Map,outline:s}}G(),``+B[`--duration-fast`];var G8={container:{\"--_hover-delay\":`xhg274n`,\"--_reveal-opacity\":`xct0gwe x2xrgwu xi33vf3 xakbj2a`,\"--_reveal-position\":`xp0pj8v x1or4zte xoa21yc xe5pbq5`,\"--_reveal-delay\":`x1xiarpw xi1ebb6 x1mjsb9v x1humlf3`,\"--_reveal-delay-reduced\":`xdjmrzf xvd8mm8 x1z42dm x63b2yw`,\"--_conceal-opacity\":`x1kgmhs9 x1316hva`,\"--_fade-delay\":`x13l1x9d x14nxqze x1wfyzv7 x4pvm7e`,$$css:!0},stateInactive:{\"--_reveal-opacity\":`xct0gwe xfqgg65 xi33vf3 xakbj2a`,\"--_reveal-position\":`xp0pj8v x17ock8y xoa21yc xe5pbq5`,\"--_reveal-delay\":`x1xiarpw x1tx49wl x1mjsb9v x1humlf3`,\"--_reveal-delay-reduced\":`xdjmrzf xap96qf x1z42dm x63b2yw`,\"--_conceal-opacity\":`x1kgmhs9 xuzfaso`,\"--_fade-delay\":`x13l1x9d xq03417 x1wfyzv7 x4pvm7e`,$$css:!0},stateActive:{\"--_reveal-opacity\":`x5setjs x2xrgwu xi33vf3 xakbj2a`,\"--_reveal-position\":`x1r6s5ct x1or4zte xoa21yc xe5pbq5`,\"--_reveal-delay\":`x1dejzja x1t6fdr0 x1mjsb9v x1humlf3`,\"--_reveal-delay-reduced\":`xdjmrzf xap96qf x1z42dm x63b2yw`,\"--_conceal-opacity\":`x9pmotm x1316hva`,\"--_fade-delay\":`x13l1x9d xq03417 x1wfyzv7 x4pvm7e`,$$css:!0},hoverDelay:e=>[{\"--_hover-delay\":e==null?e:`x8xu23y`,$$css:!0},{\"--x---_hover-delay\":e??void 0}],reveal:{k1ekBW:`x1n1p2mu`,kIyJzY:`x1tw3moq xsr0bmt`,kAMwcw:`xlr8y92`,kzIqYQ:`xd00j3c`,kIr0Dl:`x1rq8cwj xwgk2z2`,kSiTet:`xgsobzw`,kVAEAm:`x1mf7ja4`,$$css:!0},revealLayoutPreserved:{k1ekBW:`x19991ni`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,kIr0Dl:`x4avkj2`,kSiTet:`xgsobzw`,$$css:!0},conceal:{k1ekBW:`x19991ni`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,kIr0Dl:`x4avkj2`,kSiTet:`x1wnsjo`,$$css:!0},concealLayoutPreserved:{k1ekBW:`x19991ni`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,kIr0Dl:`x4avkj2`,kSiTet:`x1wnsjo`,$$css:!0},contentShown:{kSiTet:`x1hc1fzr`,kVAEAm:`x1uhb9sk`,kIr0Dl:`x1ahifba`,$$css:!0},contentHidden:{kSiTet:`xg01cxk x1euntei`,kVAEAm:`x10l6tqk xo74pv5`,kIr0Dl:`x1ahifba`,$$css:!0},contentHiddenLayoutPreserved:{kSiTet:`xg01cxk x1euntei`,kIr0Dl:`x1ahifba`,$$css:!0}};D();var K8=Object.freeze({});function ose(e={}){let{isEnabled:t=!0}=e;return(0,X.useMemo)(()=>t?{getContainerProps:(e={})=>{let{forceState:t,hoverDelay:n=0}=e;return C(G8.container,n>0&&G8.hoverDelay(`${n}ms`),t===`inactive`&&G8.stateInactive,t===`active`&&G8.stateActive)},getContentRevealProps:(e={})=>{let{isRevealInverted:t=!1,isLayoutPreserved:n=!1,forceVisibility:r}=e;return C(t?n?G8.concealLayoutPreserved:G8.conceal:n?G8.revealLayoutPreserved:G8.reveal,r===`shown`&&G8.contentShown,r===`hidden`&&(n?G8.contentHiddenLayoutPreserved:G8.contentHidden))}}:{getContainerProps:()=>K8,getContentRevealProps:()=>K8},[t])}D(),sE(),eR(),iT(),Ww({\"@astryx.markdownHeadingLinks.copied\":`Link copied`,\"@astryx.markdownHeadingLinks.copy\":`Copy link to {heading}`,\"@astryx.markdownHeadingLinks.copyFailed\":`Failed to copy value to clipboard.`});var sse=1500,cse={start:`0`,center:`auto`},q8={proseWidth:e=>[{ks0D6T:e==null?e:`xf68679`,$$css:!0},{\"--x-maxWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],proseAlign:e=>[{kUOVxO:e==null?e:`xvlecxo`,$$css:!0},{\"--x-marginInline\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]},J8={row:{k1xSpc:`x78zum5`,kGNEyG:`xaz6w31`,k7Eaqz:`xeuugli`,ks0D6T:`x193iq5w`,kVQacm:`x1rea2x4`,kHBbk8:`xc8icb0`,$$css:!0},heading:{kUk6DE:`xkz0k9k`,k7Eaqz:`xeuugli`,kqGvvJ:`x10im51j`,$$css:!0},copyButton:{kVAEAm:`x10l6tqk`,k87sOh:`xwa60dl`,kzqmXN:`x1fvqzum x1c4064q`,kZKoxP:`x6k0iem x1d3wnk4`,k8WAf4:`xt970qd`,kg3NbH:`xnjsko4`,kMwMTN:`x1heor9g`,kMv6JI:`xjb2p0i`,kGuDYH:`x1qlqyl8`,k63SB2:`x1pd3egz`,kLWn49:`x15bjb6t`,$$css:!0}},lse=J8.heading;function use(e){return e.button===0&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey}function dse({children:e,headingId:t,headingLabel:n,permalinkUrl:r,contentWidth:i,contentAlign:a,headingTextStyle:o,blockSpacingStyle:s,dir:c}){let l=nT(),u=l(`@astryx.markdownHeadingLinks.copied`),d=l(`@astryx.markdownHeadingLinks.copyFailed`),f=l(`@astryx.markdownHeadingLinks.copy`,{heading:n||t}),{copy:p,isCopied:m,isFailed:h}=lU({announce:u,announceFailure:d,resetAfterMs:sse}),{getContainerProps:g,getContentRevealProps:_}=ose(),v=(0,X.useCallback)(e=>{use(e)&&p(new URL(r,window.location.href).href)},[p,r]);return(0,Z.jsxs)(`div`,{dir:c,...Q(g(),C(J8.row,o,s,i==null?null:q8.proseWidth(i),a===`start`?null:q8.proseAlign(cse[a]))),children:[e,(0,Z.jsxs)(`span`,{className:`x1n2onr6 x1rg5ohu x2lah0s x1vjfegm x1fvqzum x1c4064q x17lnmll xv1l7n4 xjb2p0i x1qlqyl8 x1pd3egz x15bjb6t`,children:[(0,Z.jsx)(`span`,{\"aria-hidden\":`true`,className:`xlshs6z`,children:`#`}),(0,Z.jsx)(IO,{type:`button`,variant:`ghost`,size:`sm`,label:h?d:m?u:f,icon:(0,Z.jsx)(`span`,{\"aria-hidden\":`true`,className:`x3nfvp2 x6s0dn4 xl56j7k x15vhz18 xlzyvqe`,children:h?(0,Z.jsx)(XT,{icon:`close`,size:`sm`,color:`inherit`}):m?(0,Z.jsx)(XT,{icon:`check`,size:`sm`,color:`inherit`}):`#`}),isIconOnly:!0,onClick:v,xstyle:[J8.copyButton,$L.centerInline(`-50%`)],..._({isLayoutPreserved:!0})})]})]})}UC();function fse(){return(0,X.use)(HC).direction}D(),kG(),PY(),rG(),x(),rc(),iO(),vr(),iT(),Ww({\"@astryx.markdown.taskList\":`Task list`});var pse=[`disc`,`circle`,`square`],mse=[`decimal`,`lower-alpha`,`lower-roman`];function Y8(e){let t=e.position?.start.line,n=e.position?.end.line;return t==null||n==null?void 0:{start:t,end:n}}function X8(e){return e==null?void 0:{\"data-source-line\":String(e.start),\"data-source-line-end\":String(e.end)}}var Z8={start:`0`,center:`auto`},Q8={start:null,center:`auto`},hse={k7Eaqz:`xkj4a21`,$$css:!0},$8={proseWidth:e=>[{ks0D6T:e==null?e:`xf68679`,$$css:!0},{\"--x-maxWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],proseAlign:e=>[{kUOVxO:e==null?e:`xvlecxo`,$$css:!0},{\"--x-marginInline\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],blockWidth:e=>[hse,{\"--x-minWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(`min(${e}, 100%)`)}],blockAlign:e=>[{kUOVxO:e==null?e:`xvlecxo`,$$css:!0},{\"--x-marginInline\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],cellMinWidth:e=>[{k7Eaqz:e==null?e:`xkj4a21`,$$css:!0},{\"--x-minWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]},e5={start:{k9WMMc:`x1yc453h`,$$css:!0},center:{k9WMMc:`x2b8uid`,$$css:!0},end:{k9WMMc:`xp4054r`,$$css:!0}},t5={cell:{kB7OPa:`x1afcbsf`,kVQacm:`x1rea2x4`,k8WAf4:`xce4md1`,kg3NbH:`xf314gf`,$$css:!0},headerCell:{kB7OPa:`x1afcbsf`,kVQacm:`x1rea2x4`,kHjlTd:`x1mzt3pk`,k8WAf4:`xce4md1`,kg3NbH:`xf314gf`,kg5iWk:`xbrixnn`,khDVqt:`xeaf4i8`,$$css:!0},code:{kTgw9:`x1lldw8n`,$$css:!0},ruleOnTableEnd:{ke9TFa:`x10w94by`,k2ei4v:`xgbv0en x19mtlqq`,kVhnKS:`x1t7ytsu`,kGJrpR:`x1j92z86`,$$css:!0},tableOuterEdge:{kMzoRj:`x1litavf`,ksu8eU:`x1y0btm7`,kVAM5u:`x14i3s5s`,$$css:!0}};function gse({children:e}){return(0,Z.jsx)(ZW,{xstyle:t5.code,children:e})}var n5={root:{kMv6JI:`x9ynric`,kMwMTN:`x1tgivj0`,kLWn49:`xw6l6zx`,kGuDYH:`xjm74w1`,kzqmXN:`xh8yej3`,ks0D6T:`x193iq5w`,k7Eaqz:`xeuugli`,kHjlTd:`x1mzt3pk`,$$css:!0},inlineRoot:{k1xSpc:`xt0psk2`,kzqmXN:`x14atkfc`,ks0D6T:`x1x1rfll`,kMv6JI:`xjb2p0i`,kMwMTN:`x1heor9g`,kLWn49:`x15bjb6t`,kGuDYH:`x1qlqyl8`,$$css:!0},headingBase:{kMv6JI:`x1g81bgm`,kMwMTN:`x1tgivj0`,$$css:!0},h1:{kGuDYH:`xcg7oai`,k63SB2:`x1v68xuy`,kLWn49:`xfmsba7`,$$css:!0},h2:{kGuDYH:`x1xvnhcw`,k63SB2:`x12yy4cs`,kLWn49:`x1cpk1wn`,$$css:!0},h3:{kGuDYH:`xii13ha`,k63SB2:`x1jcxfy8`,kLWn49:`xwjzt0u`,$$css:!0},h4:{kGuDYH:`x8tkxat`,k63SB2:`x2hcmsi`,kLWn49:`xqerer`,$$css:!0},h5:{kGuDYH:`xsgqta0`,k63SB2:`xno150v`,kLWn49:`xo3gurs`,$$css:!0},h6:{kGuDYH:`xw5ohdf`,k63SB2:`x1pw4frv`,kLWn49:`xeixjfn`,$$css:!0},spacingHeadingMajorDefault:{keoZOQ:`x13rv44w`,k1K539:`xep27e5`,$$css:!0},spacingHeadingMinorDefault:{keoZOQ:`x1s1qpeq`,k1K539:`x1p37lm5`,$$css:!0},spacingParagraphDefault:{keoZOQ:`xj6sv8s`,k1K539:`xep27e5`,$$css:!0},spacingCodeblockDefault:{keoZOQ:`x1s1qpeq`,k1K539:`xwh1t77`,$$css:!0},spacingBlockquoteDefault:{keoZOQ:`x1s1qpeq`,k1K539:`xwh1t77`,$$css:!0},spacingListDefault:{keoZOQ:`xj6sv8s`,k1K539:`xep27e5`,$$css:!0},spacingTableDefault:{keoZOQ:`x1s1qpeq`,k1K539:`xwh1t77`,$$css:!0},spacingHrDefault:{keoZOQ:`x13rv44w`,k1K539:`x4d5cxa`,$$css:!0},spacingImageDefault:{keoZOQ:`xj6sv8s`,k1K539:`xep27e5`,$$css:!0},spacingHeadingMajorCompact:{keoZOQ:`x1s1qpeq`,k1K539:`x1p37lm5`,$$css:!0},spacingHeadingMinorCompact:{keoZOQ:`xj6sv8s`,k1K539:`x14cgwvg`,$$css:!0},spacingParagraphCompact:{keoZOQ:`xcsaf9d`,k1K539:`x14cgwvg`,$$css:!0},spacingCodeblockCompact:{keoZOQ:`xtbrsbv`,k1K539:`x1p37lm5`,$$css:!0},spacingBlockquoteCompact:{keoZOQ:`xtbrsbv`,k1K539:`x1p37lm5`,$$css:!0},spacingListCompact:{keoZOQ:`xcsaf9d`,k1K539:`x14cgwvg`,$$css:!0},spacingTableCompact:{keoZOQ:`xtbrsbv`,k1K539:`x1p37lm5`,$$css:!0},spacingHrCompact:{keoZOQ:`xj6sv8s`,k1K539:`xep27e5`,$$css:!0},spacingImageCompact:{keoZOQ:`xtbrsbv`,k1K539:`x1p37lm5`,$$css:!0},noMarginBlockStart:{keoZOQ:`xdj266r`,$$css:!0},noMarginBlockEnd:{k1K539:`xat24cr`,$$css:!0},codeBlockWrapper:{ks0D6T:`x193iq5w`,$$css:!0},tableWrapper:{ks0D6T:`x193iq5w`,\"--container-padding-inline-start\":`xrhngw9`,\"--container-padding-inline-end\":`xjsfl84`,\"--container-padding-block-start\":`x1047aw6`,\"--container-padding-block-end\":`xax9j7h`,$$css:!0},hr:{kMzoRj:`xc342km`,kEafiO:`x11xkdxz`,kPef9Z:`x13fuv20`,kLZC3w:`x1pc3f07`,$$css:!0}};function r5(e){let t=e.match(/^([\\d.]+)ms$/);if(t)return parseFloat(t[1]);let n=e.match(/^([\\d.]+)s$/);return n?parseFloat(n[1])*1e3:null}function i5(e){let t=0;for(let n of e)switch(n.type){case`text`:t+=n.value.length;break;case`inlineCode`:t+=n.value.length;break;case`inlineMath`:t+=n.value.length;break;case`image`:t+=n.alt.length;break;case`strong`:case`emphasis`:case`delete`:case`link`:t+=i5(n.children);break;case`break`:t+=1;break;case`citation`:t+=1;break;case`extension`:t+=n.source?.length??0}return t}function a5(e){let t=0;for(let n of e)switch(n.type){case`heading`:case`paragraph`:t+=i5(n.children);break;case`code`:t+=n.value.length;break;case`math`:t+=n.value.length;break;case`blockquote`:t+=a5(n.children);break;case`list`:for(let e of n.children)t+=a5(e.children);break;case`table`:for(let e of n.children)for(let n of e.children)t+=i5(n.children);break;case`extension`:t+=n.source?.length??0;break;case`thematicBreak`:break;case`image`:t+=n.alt.length}return t}var o5={1:n5.h1,2:n5.h2,3:n5.h3,4:n5.h4,5:n5.h5,6:n5.h6};function _se(e,t){let n=[];for(let r of t){r.pattern.lastIndex=0;let t;for(;(t=r.pattern.exec(e))!==null;){let i;if(r.getEndIndex){let n=r.getEndIndex(e,t);if(n===!1)continue;i=n}else i=t.index+t[0].length;n.push({start:t.index,end:i,match:t,plugin:r})}}n.sort((e,t)=>e.start-t.start);let r=[],i=0;for(let e of n)e.start>=i&&(r.push(e),i=e.end);if(r.length===0)return[{type:`text`,content:e}];let a=[],o=0;for(let t=0;to&&a.push({type:`text`,content:e.slice(o,n.start)}),a.push({type:`plugin`,element:n.plugin.render(n.match,`plugin-${t}`),matchLength:n.end-n.start}),o=n.end}return oe.fading?(0,Z.jsx)(`span`,{className:`x1hc1fzr x19991ni x80gvsz x12w9bfk xlr8y92 x4itv7f`,children:e.text},e.key):(0,Z.jsx)(`span`,{children:e.text},e.key));return(0,Z.jsx)(`span`,{children:a},`wrap-${n}`)}function yse(e,t){let n=e.numberMap.get(t);return n??(n=e.nextNumber++,e.numberMap.set(t,n)),n}function c5(e,t,n,r,i,a=`a`,o,s,c){switch(e.type){case`text`:if(o&&o.length>0){let n=_se(e.value,o);if(n.length!==1||n[0].type!==`text`){let e=[];for(let i=0;ic5(e,t,n,r,i,a,o,s,c))},t);case`emphasis`:return(0,Z.jsx)(`em`,{children:e.children.map((e,t)=>c5(e,t,n,r,i,a,o,s,c))},t);case`delete`:return(0,Z.jsx)(`del`,{className:`xv1l7n4`,children:e.children.map((e,t)=>c5(e,t,n,r,i,a,o,s,c))},t);case`inlineCode`:{r.offset+=e.value.length;let n=s?.inlineCode;return n?(0,Z.jsx)(n,{children:e.value},t):(0,Z.jsx)(ZW,{children:e.value},t)}case`inlineMath`:{let n=s?.math;return n==null?s5(`$${e.value}$`,r,t):(r.offset+=e.value.length,(0,Z.jsx)(n,{value:e.value,display:`inline`},t))}case`link`:{let l=e.url;if(l===``)return(0,Z.jsx)(`span`,{children:e.children.map((e,t)=>c5(e,t,n,r,i,a,o,s,c))},t);let u=s?.link;if(u)return(0,Z.jsx)(u,{href:l,children:e.children.map((e,t)=>c5(e,t,n,r,i,a,o,s,c))},t);let d=l.startsWith(`https://`)||l.startsWith(`http://`);return(0,Z.jsx)(d?`a`:a,{href:l,onClick:n?e=>{n(l,e)===!1&&e.preventDefault()}:void 0,...d?{target:`_blank`,rel:`noopener noreferrer`}:{},className:`xjse4m1 x1bvjpef`,children:e.children.map((e,t)=>c5(e,t,n,r,i,a,o,s,c))},t)}case`image`:{let n=e.url;if(n===``)return(0,Z.jsxs)(`span`,{children:[`[`,e.alt,`]`]},t);let r=s?.image;return r?(0,Z.jsx)(r,{src:n,alt:e.alt},t):(0,Z.jsx)(`img`,{src:n,alt:e.alt,className:`x193iq5w xh6dtrn`},t)}case`extension`:return U8(c,e,s5(e.source??_6(c,e),r,t),t);case`break`:return r.offset+=1,(0,Z.jsx)(`br`,{},t);case`citation`:{if(r.offset+=1,!i)return(0,Z.jsxs)(`span`,{children:[`[`,e.sourceId,`]`]},t);let n=yse(i,e.sourceId),a=i.sources[e.sourceId]??{title:e.sourceId},o=i.style===`number`?`number`:`label`,c=s?.citation;return c?(0,Z.jsx)(c,{source:a,number:n,variant:o},t):(0,Z.jsx)(H3,{source:a,number:n,variant:o},t)}}}function bse(e,t){let n=t===`compact`;switch(e.type){case`heading`:return e.depth<=3?n?n5.spacingHeadingMajorCompact:n5.spacingHeadingMajorDefault:n?n5.spacingHeadingMinorCompact:n5.spacingHeadingMinorDefault;case`paragraph`:return n?n5.spacingParagraphCompact:n5.spacingParagraphDefault;case`code`:case`math`:return n?n5.spacingCodeblockCompact:n5.spacingCodeblockDefault;case`blockquote`:return n?n5.spacingBlockquoteCompact:n5.spacingBlockquoteDefault;case`list`:return n?n5.spacingListCompact:n5.spacingListDefault;case`table`:return n?n5.spacingTableCompact:n5.spacingTableDefault;case`extension`:return n?n5.spacingParagraphCompact:n5.spacingParagraphDefault;case`thematicBreak`:return n?n5.spacingHrCompact:n5.spacingHrDefault;case`image`:return n?n5.spacingImageCompact:n5.spacingImageDefault}}var xse=4,Sse=24,Cse=2,wse=20;function Tse(e){let[t,...n]=e.children;return t==null?[]:t.children.map((e,t)=>{let r=i5(e.children),i=r;for(let e of n){let n=e.children[t];if(n!=null){let e=i5(n.children);e>i&&(i=e)}}let a=Math.ceil(i/Cse);return Math.min(Sse,Math.max(xse,a,Math.min(r,wse)))})}function l5(e,t){return[e===`center`&&e5.center,e===`right`&&(t?e5.start:e5.end),e===`left`&&t&&e5.end,t&&t5.ruleOnTableEnd]}function u5(e,t,n,r,i,a,o,s,c,l,u=`a`,d,f,p,m,h,g,_=0,v){let y=Q8[l],b=y==null?null:$8.blockAlign(y),x=bse(e,r),S=t===0,w=t===n-1,T=p?.sourceLines===!0,E=T?Y8(e):void 0,D=X8(E),O=E==null?null:{sourceLines:E};switch(e.type){case`heading`:{let n=Math.min(e.depth+i-1,6),m=e.children.map((e,t)=>c5(e,t,a,o,s,u,d,f,p)),h=g?.ids.get(e),_=g?.labels.get(e)??``,y=g?.permalinkUrls.get(e),b=f?.heading;if(b)return(0,Z.jsx)(b,{level:n,id:h,...O,children:m},t);let T=`h${n}`;return y==null||h==null?(0,Z.jsx)(T,{id:h,dir:B8(e,v),...Q(Y(`markdown-heading`,{density:r,level:n}),C(n5.headingBase,o5[n],x,c==null?null:$8.proseWidth(c),l===`start`?null:$8.proseAlign(Z8[l]),S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd)),...D,children:m},t):(0,Z.jsx)(dse,{dir:B8(e,v),headingId:h,headingLabel:_,permalinkUrl:y,contentWidth:c,contentAlign:l,headingTextStyle:[n5.headingBase,o5[n]],blockSpacingStyle:[x,S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd],children:(0,Z.jsx)(T,{id:h,...Q(Y(`markdown-heading`,{density:r,level:n}),C(n5.headingBase,lse,o5[n])),...D,children:m})},t)}case`paragraph`:{let n=e.children.map((e,t)=>c5(e,t,a,o,s,u,d,f,p)),i=f?.paragraph;return i?(0,Z.jsx)(i,{...O,children:n},t):(0,Z.jsx)(`div`,{role:`paragraph`,dir:B8(e,v),...Q(Y(`markdown-paragraph`,{density:r}),C(x,c==null?null:$8.proseWidth(c),l===`start`?null:$8.proseAlign(Z8[l]),S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd)),...D,children:n},t)}case`code`:{o.offset+=e.value.length;let n=nU(e)??`plaintext`,i=PW(e.lang??n),a=i.isDiff,s=(a?i.language.match(/^\\w*/)?.[0]||`plaintext`:void 0)??n,l=aW(h,s)??s,u=f?.code,d=u?(0,Z.jsx)(u,{code:e.value,language:n,...O},t):(0,Z.jsx)(`div`,{...Q(Y(`markdown-codeblock`,{density:r}),C(x,n5.codeBlockWrapper,S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd)),...D,children:(0,Z.jsx)(XW,{code:e.value,language:l,isDiff:a,isCollapsible:!0,isWrapped:!0,xstyle:[c==null?void 0:$8.blockWidth(c),b]})},t),m=Joe(e);if(m==null)return d;let g=g6(p,m.node);if(g==null)return d;try{let e=g.render({node:m.node});return e==null||typeof e==`boolean`?d:(0,Z.jsx)(H8,{pluginName:m.node.plugin,resetKey:m.node,resetRenderer:g.render,fallback:d,children:(0,Z.jsx)(X.Suspense,{fallback:d,children:e})},t)}catch(e){return m6(m.node.plugin,`render`,e),d}}case`math`:{o.offset+=e.value.length;let n=f?.math;return n==null?(0,Z.jsx)(`div`,{role:`paragraph`,children:`$$${e.value}$$`},t):(0,Z.jsx)(n,{value:e.value,display:`block`,...O},t)}case`blockquote`:{let n=f?.blockquote;if(n){let y=e.children.map((t,n)=>u5(t,n,e.children.length,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v));return(0,Z.jsx)(n,{...O,children:y},t)}return(0,Z.jsx)(BY,{dir:B8(e,v),...Y(`markdown-blockquote`,{density:r}),...D,xstyle:[x,c==null?void 0:$8.proseWidth(c),l===`start`?void 0:$8.proseAlign(Z8[l]),S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd],children:e.children.map((t,n)=>u5(t,n,e.children.length,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,V8(e,v)))},t)}case`list`:if(e.children.length>0&&e.children.every(e=>e.checked!=null&&e.children.every(e=>e.type===`paragraph`))){let n=e.children.map((e,t)=>({item:e,key:`task-${t}`})).filter(({item:e})=>e.checked).map(({key:e})=>e);return(0,Z.jsx)(`div`,{...Q(Y(`markdown-list`,{density:r}),C(x,c==null?null:$8.proseWidth(c),l===`start`?null:$8.proseAlign(Z8[l]),S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd)),children:(0,Z.jsx)(nG,{value:QW(),children:(0,Z.jsx)(MG,{label:m(`@astryx.markdown.taskList`),isLabelHidden:!0,value:n,isReadOnly:!0,density:`compact`,children:(0,Z.jsx)(iie,{edge:`flush`,children:e.children.map((e,t)=>{let n=e.children[0],y=e.children.length===1&&n?.type===`paragraph`?(0,Z.jsx)(Z.Fragment,{children:n.children.map((e,t)=>c5(e,t,a,o,s,u,d,f,p))}):(0,Z.jsx)(Z.Fragment,{children:e.children.map((t,n)=>u5(t,n,e.children.length,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_+1,V8(e,v)))});return(0,Z.jsx)(RY,{value:`task-${t}`,label:y,dir:B8(e,v),...T?X8(Y8(e)):void 0},t)})})})})},t)}return(0,Z.jsx)(`div`,{...Q(Y(`markdown-list`,{density:r}),C(x,c==null?null:$8.proseWidth(c),l===`start`?null:$8.proseAlign(Z8[l]),S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd)),children:(0,Z.jsx)(nG,{value:QW(),children:(0,Z.jsx)(CG,{listStyle:e.ordered?`decimal`:`disc`,density:`compact`,edge:`flush`,start:e.ordered?e.start:void 0,children:e.children.map((t,n)=>{let y=t.children[0],b=t.children.length===1&&y?.type===`paragraph`?(0,Z.jsx)(Z.Fragment,{children:y.children.map((e,t)=>c5(e,t,a,o,s,u,d,f,p))}):(0,Z.jsx)(Z.Fragment,{children:t.children.map((e,n)=>u5(e,n,t.children.length,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_+1,V8(t,v)))}),x=t.children.find(e=>e.type===`paragraph`),S=t.checked==null?void 0:{isChecked:t.checked,label:x?.type===`paragraph`?iU(x.children,e=>_6(p,e)):m(`@astryx.markdown.taskList`)},C=B8(t,v),w=e.ordered&&C!=null&&v!=null&&C!==v.around;return(0,Z.jsx)(rie,{marker:(e.ordered?mse:pse)[_%3],task:S,hasMarkerGutter:e.ordered,isOutsideNumberColumns:w,children:(0,Z.jsx)(DY,{label:b,dir:C,...T?X8(Y8(t)):void 0})},n)})})})},t);case`table`:{let n=Tse(e),i=e=>{let t=B8(e,v);return t!=null&&v!=null&&t!==v.around},[m,...h]=e.children,g=f?.inlineCode==null?{...f,inlineCode:gse}:f;return(0,Z.jsx)(`div`,{...Q(Y(`markdown-table`,{density:r}),C(n5.tableWrapper,x,c==null?null:$8.blockWidth(c),Q8[l]==null?null:$8.blockAlign(Q8[l]),S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd)),...D,children:(0,Z.jsxs)(z3,{dividers:`grid`,textOverflow:`wrap`,xstyle:t5.tableOuterEdge,children:[(0,Z.jsx)(Y4,{children:(0,Z.jsx)(mZ,{children:m?.children.map((t,r)=>(0,Z.jsx)(J4,{dir:B8(t,v),xstyle:[t5.headerCell,$8.cellMinWidth(`${n[r]}ch`),...l5(e.align[r],i(t))],children:t.children.map((e,t)=>c5(e,t,a,o,s,u,d,g,p))},r))})}),(0,Z.jsx)(X4,{children:h.map((t,n)=>{let r=t.children.map((t,n)=>(0,Z.jsx)(V4,{dir:B8(t,v),xstyle:[t5.cell,...l5(e.align[n],i(t))],children:t.children.map((e,t)=>c5(e,t,a,o,s,u,d,g,p))},n));return(0,Z.jsx)(mZ,{children:r},n)})})]})},t)}case`extension`:{let n=U8(p,e,s5(e.source??_6(p,e),o,t));return(0,Z.jsx)(`div`,{...C(x,c==null?null:$8.proseWidth(c),l===`start`?null:$8.proseAlign(Z8[l]),S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd),children:n},t)}case`thematicBreak`:{let e=f?.hr;return e?(0,Z.jsx)(e,{...O},t):(0,Z.jsx)(`hr`,{...Q(Y(`markdown-hr`,{density:r}),C(n5.hr,x,S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd)),...D},t)}case`image`:{let n=e.url;if(n===``)return(0,Z.jsxs)(`div`,{...Q(Y(`markdown-image`,{density:r}),C(x,S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd)),...D,children:[`[`,e.alt,`]`]},t);let i=f?.image;return i?(0,Z.jsx)(i,{src:n,alt:e.alt,...O},t):(0,Z.jsx)(`div`,{...Q(Y(`markdown-image`,{density:r}),C(x,S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd)),...D,children:(0,Z.jsx)(`img`,{src:n,alt:e.alt,className:`x193iq5w xh6dtrn`})},t)}}}function d5({ref:e,children:t,display:n=`block`,density:r=`default`,headingLevelStart:i=1,isStreaming:a=!1,onLinkClick:o,sources:s,citationStyle:c=`label`,contentWidth:l=680,contentAlign:u=`start`,components:d,plugins:f,inlinePlugins:p,autolink:m,codeLanguages:h,xstyle:g,className:_,style:v,id:y,\"data-testid\":x,...S}){let w=nT(),T=fse(),[E,D]=(0,X.useState)(h);iW(E,h)||D(h);let O=nO(),k=(0,X.useRef)(o);b(()=>{k.current=o});let A=o!=null,j=(0,X.useMemo)(()=>A?(e,t)=>k.current?.(e,t):void 0,[A]),M=(0,X.useMemo)(()=>s?new Set(Object.keys(s)):void 0,[s]),N=(0,X.useMemo)(()=>{if(f!=null)try{return e6(f)}catch(e){m6(`configuration`,`transform`,e);return}},[f]),P=vse(N),F=d?.math!=null,I=(0,X.useMemo)(()=>({sourceIds:M,autolink:m,plugins:P}),[M,m,P]),L=(0,X.useMemo)(()=>({sourceIds:M,autolink:m,math:!0,plugins:P}),[M,m,P]),R=Sae(t,a),z=(0,X.useRef)(O8()),B=(0,X.useRef)(m),V=(0,X.useRef)(F);(B.current!==m||V.current!==F)&&(z.current=O8(),B.current=m,V.current=F);let H=(0,X.useMemo)(()=>{if(n===`inline`)return[];if(a){if(R===``)return z.current=O8(),[];let e=k8(R,F?L:I);return(F?L8(e,z.current,L):L8(e,z.current,I)).children}return(F?w8(t,L):w8(t,I)).children},[n,R,t,a,F,L,I]),ee=a?k8(R,F?L:I):t,U=(0,X.useMemo)(()=>h6({type:`root`,children:H},N,ee,!a,`block`).children,[H,N,ee,a]),te=(0,X.useMemo)(()=>{if(n!==`inline`&&U.length!==0)return ase({type:`root`,children:U},N)},[n,U,N]),W=(0,X.useMemo)(()=>{if(n!==`inline`)return[];let e=a?k8(R,F?L:I):t;return F?t8(e,L):t8(e,I)},[n,R,t,a,F,L,I]),G=a?k8(R,F?L:I):t,ne=(0,X.useMemo)(()=>{if(n!==`inline`)return[];let e=h6({type:`root`,children:[{type:`paragraph`,children:W}]},N,G,!a,`inline`).children[0];return e?.type===`paragraph`?[...e.children]:W},[n,W,N,G,a]),{token:re}=Ws(),ie=(0,X.useMemo)(()=>{let e=r5(re(`--duration-fast-max`))??230,t=r5(re(`--duration-fast-min`)),n=t==null?50:Math.max(4,Math.round(t/10));return Math.min(Math.ceil(e/n),12)},[re]),K=(0,X.useRef)([]),q=(0,X.useRef)([]),ae=(0,X.useRef)([]),oe=R.length,se=(0,X.useMemo)(()=>{let e=n===`inline`?i5(q.current):a5(K.current),t=Cae(ae.current,e,ie);return ae.current=t,t},[n,oe,ie]),ce=l?typeof l==`number`?`${l}px`:l:null,le=(0,X.useMemo)(()=>{if(n===`inline`)return null;let e={offset:0,boundaries:se,active:a},t=s?{sources:s,numberMap:new Map,nextNumber:1,style:c}:null;return U.map((n,a)=>u5(n,a,U.length,r,i,j,e,t,ce,u,O,p,d,N,w,E,te,void 0,{provider:T,around:T}))},[n,U,se,a,s,c,r,i,j,ce,u,O,p,d,N,w,te,E,T]);if(n===`inline`){let t={offset:0,boundaries:se,active:a},n=s?{sources:s,numberMap:new Map,nextNumber:1,style:c}:null,i=(0,Z.jsx)(`span`,{ref:e,...S,id:y,\"data-testid\":x,...Q(Y(`markdown`,{density:r}),C(n5.root,n5.inlineRoot,g),_,v),children:ne.map((e,r)=>c5(e,r,j,t,n,O,p,d,N))});return q.current=ne,K.current=[],i}let J=(0,Z.jsx)(`div`,{ref:e,...S,id:y,role:`document`,\"data-testid\":x,...Q(Y(`markdown`,{density:r}),C(n5.root,g),_,v),children:le});return K.current=U,q.current=[],J}d5.displayName=`Markdown`;var f5=[`#2F6FDE`,`#F28C28`,`#1FA463`,`#C2389B`,`#E5484D`,`#7A5AF8`],p5=e=>e==null?`–`:Math.round(e)+`°`,Ese=(e,t)=>t===0?`Today`:new Date(e+`T12:00:00`).toLocaleDateString(void 0,{weekday:`short`}),Dse=e=>String(e).replace(/^https?:\\/\\//,``).replace(/\\/$/,``);function m5({kind:e,size:t}){let n=e=>(0,Z.jsx)(`path`,{d:`M11 `+(e+10)+`a6 6 0 0 1 1-12 8 8 0 0 1 15 2 5 5 0 0 1 0 10z`,fill:`#B8C0CC`}),r=[14,21,28];return(0,Z.jsxs)(`svg`,{viewBox:`0 0 40 40`,width:t,height:t,\"aria-hidden\":`true`,children:[e===`sun`&&(0,Z.jsx)(`circle`,{cx:20,cy:20,r:8,fill:`#F5A623`}),e===`partly`&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`circle`,{cx:15,cy:15,r:7,fill:`#F5A623`}),n(14)]}),e===`rain`&&(0,Z.jsxs)(Z.Fragment,{children:[n(10),r.map(e=>(0,Z.jsx)(`line`,{x1:e,y1:31,x2:e-2,y2:36,stroke:`#2F6FDE`,strokeWidth:2.4,strokeLinecap:`round`},e))]}),e===`snow`&&(0,Z.jsxs)(Z.Fragment,{children:[n(10),r.map(e=>(0,Z.jsx)(`circle`,{cx:e,cy:33,r:1.8,fill:`#7FA6D8`},e))]}),e===`storm`&&(0,Z.jsxs)(Z.Fragment,{children:[n(10),(0,Z.jsx)(`path`,{d:`M21 28l-4 6h4l-2 5 6-8h-4l2-3z`,fill:`#F5A623`})]}),![`sun`,`partly`,`rain`,`snow`,`storm`].includes(e)&&n(14)]})}function Ose({d:e}){let t=e.hours.map(e=>e.temp).filter(e=>e!=null),n=null;if(t.length>1){let r=Math.min(...t),i=Math.max(...t),a=e.hours.length,o=(e,t)=>[14+t*532/(a-1),56-(e.temp-r)/(i-r||1)*32];n=(0,Z.jsxs)(`svg`,{viewBox:`0 0 560 88`,className:`wline`,role:`img`,\"aria-label\":`Temperature over the next 24 hours`,children:[(0,Z.jsx)(`polyline`,{points:e.hours.map((e,t)=>o(e,t).join(`,`)).join(` `),fill:`none`,stroke:`currentColor`,strokeWidth:2}),e.hours.map((e,t)=>{let n=o(e,t);return(0,Z.jsxs)(`g`,{children:[(0,Z.jsx)(`text`,{x:n[0],y:n[1]-6,textAnchor:`middle`,fontSize:11,fill:`currentColor`,children:Math.round(e.temp)+`°`}),(0,Z.jsx)(`text`,{x:n[0],y:84,textAnchor:`middle`,fontSize:10,fill:`#888`,children:e.time})]},t)})]})}return(0,Z.jsxs)(`div`,{className:`wg wgw`,children:[(0,Z.jsxs)(`div`,{className:`wtop`,children:[(0,Z.jsxs)(`div`,{className:`wbig`,children:[(0,Z.jsx)(m5,{kind:e.now.icon,size:56}),(0,Z.jsx)(`span`,{className:`wtemp`,children:p5(e.now.temp)}),(0,Z.jsx)(`span`,{className:`wunit`,children:e.unit})]}),(0,Z.jsxs)(`div`,{className:`wmeta`,children:[(0,Z.jsx)(`span`,{children:e.now.sky}),(0,Z.jsx)(`span`,{children:`Feels like `+p5(e.now.feels)}),(0,Z.jsx)(`span`,{children:`Humidity `+(e.now.humidity==null?`–`:e.now.humidity+`%`)}),(0,Z.jsx)(`span`,{children:`Wind `+(e.now.wind==null?`–`:Math.round(e.now.wind)+` `+e.wind)})]}),(0,Z.jsx)(`div`,{className:`wplace`,children:e.place})]}),n,(0,Z.jsx)(`div`,{className:`wdays`,children:e.days.map((e,t)=>(0,Z.jsxs)(`div`,{className:`wday`,title:e.sky,children:[(0,Z.jsx)(`b`,{children:Ese(e.date,t)}),(0,Z.jsx)(m5,{kind:e.icon,size:30}),(0,Z.jsx)(`span`,{children:p5(e.high)+` / `+p5(e.low)}),(0,Z.jsx)(`em`,{children:e.rain==null?``:e.rain+`% rain`})]},e.date||t))})]})}function kse({d:e}){let[t,n]=(0,X.useState)({}),[r,i]=(0,X.useState)(-1),a=e.labels.length,o=t=>t==null?`–`:(Math.abs(t)>=1e3?t.toLocaleString():Math.round(t*100)/100)+(e.unit?` `+e.unit:``),s=[];e.series.forEach((e,n)=>{t[n]||e.values.forEach(e=>{e!=null&&s.push(e)})}),s.length||s.push(0,1);let c=Math.min(...s),l=Math.max(...s);e.type!==`line`&&(c=Math.min(0,c)),c===l&&(l=c+1);let u=(l-c)/4,d=10**Math.floor(Math.log10(u)),f=u/d,p=(f<=1?1:f<=2?2:f<=5?5:10)*d;c=Math.floor(c/p)*p,l=Math.ceil(l/p)*p;let m=e.type===`bar`,h=e=>m?46+(e+.5)*500/a:46+e*500/Math.max(1,a-1),g=e=>16+(l-e)/(l-c)*204,_=e.series.map((e,t)=>t).filter(e=>!t[e]),v=Math.max(3,500/a/(_.length+1)),y=Math.ceil(a/8),b=e=>{let t=e.currentTarget.getBoundingClientRect(),n=(e.clientX-t.left)/t.width*560,r=500/(m?a:Math.max(1,a-1));return Math.max(0,Math.min(a-1,Math.round(m?(n-46)/r-.5:(n-46)/r)))},x=g(Math.max(c,0));return(0,Z.jsxs)(`div`,{className:`wg wgchart`,children:[e.title&&(0,Z.jsx)(`div`,{className:`wtitle`,children:e.title+(e.unit?` (`+e.unit+`)`:``)}),(0,Z.jsxs)(`svg`,{viewBox:`0 0 560 250`,className:`wchart`,role:`img`,\"aria-label\":e.title||`Chart`,onPointerMove:e=>i(b(e)),onPointerDown:e=>i(b(e)),onPointerLeave:()=>i(-1),children:[[0,1,2,3,4].map(e=>{let t=c+(l-c)*e/4,n=g(t);return(0,Z.jsxs)(`g`,{children:[(0,Z.jsx)(`line`,{x1:46,y1:n,x2:546,y2:n,stroke:`currentColor`,strokeOpacity:.12}),(0,Z.jsx)(`text`,{x:40,y:n+4,textAnchor:`end`,fontSize:11,fill:`#888`,children:Math.abs(t)>=1e3?Math.round(t).toLocaleString():Math.round(t*10)/10})]},e)}),e.labels.map((e,t)=>t%y?null:(0,Z.jsx)(`text`,{x:h(t),y:241,textAnchor:`middle`,fontSize:11,fill:`#888`,children:e},t)),r>=0&&!m&&(0,Z.jsx)(`line`,{x1:h(r),y1:16,x2:h(r),y2:220,stroke:`currentColor`,strokeOpacity:.35,strokeDasharray:`3 3`}),_.map((t,n)=>{let i=e.series[t],o=f5[t%6];if(m)return(0,Z.jsx)(`g`,{children:i.values.map((e,t)=>{if(e==null)return null;let i=h(t)-v*_.length/2+n*v,a=g(0),s=g(e);return(0,Z.jsx)(`rect`,{x:i,y:Math.min(a,s),width:v*.88,height:Math.max(1,Math.abs(a-s)),fill:o,opacity:r===t||r<0?1:.45},t)})},t);let s=[];return i.values.forEach((e,t)=>{e!=null&&s.push([h(t),g(e)])}),s.length?(0,Z.jsxs)(`g`,{children:[e.type===`area`&&(0,Z.jsx)(`polygon`,{points:[[s[0][0],x],...s,[s[s.length-1][0],x]].map(e=>e.join(`,`)).join(` `),fill:o,fillOpacity:.2}),(0,Z.jsx)(`polyline`,{points:s.map(e=>e.join(`,`)).join(` `),fill:`none`,stroke:o,strokeWidth:2.4,strokeLinejoin:`round`,strokeLinecap:`round`}),i.values.map((e,t)=>e==null||!(r===t||a<=24)?null:(0,Z.jsx)(`circle`,{cx:h(t),cy:g(e),r:r===t?5:3,fill:r===t?o:`transparent`,stroke:o,strokeWidth:2},t))]},t):null})]}),r>=0&&(0,Z.jsxs)(`div`,{className:`wtipline`,children:[(0,Z.jsx)(`b`,{children:e.labels[r]}),e.series.map((e,n)=>t[n]?null:(0,Z.jsxs)(`span`,{children:[(0,Z.jsx)(`i`,{className:`wdt`,style:{background:f5[n%6]}}),(e.name||`Series `+(n+1))+`: `,(0,Z.jsx)(`b`,{children:o(e.values[r])})]},n))]}),(e.series.length>1||e.series[0].name)&&(0,Z.jsx)(`div`,{className:`wlegend`,children:e.series.map((r,i)=>(0,Z.jsx)(`button`,{type:`button`,className:`wlg`+(t[i]?` off`:``),style:{\"--c\":f5[i%6]},onClick:()=>n(t=>{let n={...t};return n[i]?delete n[i]:Object.keys(n).length{let t=/ready|running|ok|healthy/i.test(e.status),n=/error|fail|crash/i.test(e.status);return(0,Z.jsxs)(`li`,{children:[(0,Z.jsx)(`i`,{className:`wdot `+(t?`ok`:n?`bad`:`wait`)}),(0,Z.jsx)(`b`,{children:e.name}),(0,Z.jsx)(`span`,{children:[e.type,e.port?`:`+e.port:``].filter(Boolean).join(` `)}),(0,Z.jsx)(`em`,{children:e.status})]},e.name)})})]})}function jse({d:e}){let t=(e,t,n)=>(0,Z.jsx)(`a`,{href:e,target:`_blank`,rel:`noopener noreferrer`,className:n,children:t});return(0,Z.jsxs)(`div`,{className:`wg wgrow`,children:[(0,Z.jsx)(`div`,{className:`wtitle`,children:`Grow it · `+Dse(e.url)}),(0,Z.jsx)(`div`,{className:`gsec`,children:`Can AI search find it`}),e.check?(0,Z.jsxs)(`div`,{className:`gcheck`,children:[(0,Z.jsxs)(`div`,{className:`gscore`,children:[(0,Z.jsx)(`b`,{children:String(e.check.score)}),(0,Z.jsx)(`span`,{children:`/100 · `+e.check.grade})]}),(0,Z.jsxs)(`div`,{className:`gfix`,children:[e.check.fixes.length?e.check.fixes.map(e=>(0,Z.jsxs)(`p`,{children:[(0,Z.jsx)(`b`,{children:e.title+`: `}),e.summary]},e.title)):(0,Z.jsx)(`p`,{children:`ChatGPT, Claude, Perplexity and Google can read and cite this page.`}),t(e.check.report,`Full report on Citable`)]})]}):(0,Z.jsx)(`p`,{className:`gdim`,children:`The check did not answer this time. Try it on citable.flisk.si.`}),(0,Z.jsx)(`div`,{className:`gsec`,children:`Who would buy it`}),(0,Z.jsx)(`p`,{children:e.buyers}),e.pitch&&(0,Z.jsx)(`p`,{className:`gpitch`,children:e.pitch}),(0,Z.jsx)(`div`,{className:`gsec`,children:`Where to find them`}),(0,Z.jsx)(`ul`,{className:`gplaces`,children:e.places.map(e=>(0,Z.jsxs)(`li`,{children:[e.url?t(e.url,e.name):(0,Z.jsx)(`b`,{children:e.name}),e.why&&(0,Z.jsx)(`span`,{children:e.why})]},e.name))}),(0,Z.jsx)(`div`,{className:`gsec`,children:`Emails to send (`+e.emails.length+`)`}),e.emails.map((e,t)=>(0,Z.jsxs)(`div`,{className:`gmail`,children:[e.to&&(0,Z.jsx)(`div`,{className:`gto`,children:`To: `+e.to}),(0,Z.jsx)(`b`,{children:e.subject}),(0,Z.jsx)(`div`,{className:`gbody`,children:e.body}),(0,Z.jsxs)(`div`,{className:`gacts`,children:[(0,Z.jsx)(IO,{size:`sm`,variant:`primary`,label:`Open in Gmail`,href:`https://mail.google.com/mail/?view=cm&fs=1&su=`+encodeURIComponent(e.subject)+`&body=`+encodeURIComponent(e.body),target:`_blank`}),(0,Z.jsx)(IO,{size:`sm`,variant:`secondary`,label:`Mail app`,href:`mailto:?subject=`+encodeURIComponent(e.subject)+`&body=`+encodeURIComponent(e.body)}),(0,Z.jsx)(IO,{size:`sm`,variant:`ghost`,label:`Copy`,onClick:()=>navigator.clipboard&&navigator.clipboard.writeText(e.subject+`\n\n`+e.body).catch(()=>{})})]})]},t)),(0,Z.jsx)(`p`,{className:`gdim`,children:`Nothing is sent for you: add the address in Gmail and press Send yourself.`}),t(`https://grow.flisk.si/?url=`+encodeURIComponent(e.url),`Full plan on grow.flisk.si: posts and where to list it`)]})}var Mse={web:({d:e})=>(0,Z.jsx)(`div`,{className:`wg wgweb`,children:(0,Z.jsx)(`span`,{children:`Read `+e.host+(e.count?` (`+e.count+` items)`:``)})}),weather:Ose,chart:kse,services:Ase,grow:jse},Nse=class extends X.Component{constructor(e){super(e),this.state={bad:!1}}static getDerivedStateFromError(){return{bad:!0}}render(){return this.state.bad?null:this.props.children}};function Pse({w:e}){let t=Mse[e.kind];return!t||!e.data?null:(0,Z.jsx)(Nse,{children:(0,Z.jsx)(t,{d:e.data})})}async function Fse(e){let t=new URL(`../cfworker2browser/`,LO.pod).href,n=await import(t+`src/index.js`),r=URL.createObjectURL(new Blob([`import `+JSON.stringify(t+`src/worker-entry.js`)+`;`],{type:`text/javascript`}));return n.startWorker({code:e,entry:r})}var Ise=e=>{let t=[];return String(e||``).replace(/[\"']([/][A-Za-z0-9_\\-/.:]*)[\"']/g,(e,n)=>(n.length>1&&!t.includes(n)&&t.length<6&&t.push(n),e)),t};function Lse({ev:e}){let[t,n]=(0,X.useState)(`GET /`),[r,i]=(0,X.useState)(null),[a,o]=(0,X.useState)(!1),s=(0,X.useRef)(null);if(!LO.pod)return null;let c=Ise(e.code),l=async t=>{o(!0);let n=performance.now();try{let r=t.trim().split(/\\s+/),a=r.length>1?r[0].toUpperCase():`GET`,o=r.length>1?r[1]:r[0];s.current||=Fse(e.code);let c=await s.current,l={method:a};[`GET`,`HEAD`].includes(a)||(l.body=prompt(`Body to send (text, usually JSON)`,`{}`)??`{}`,l.headers={\"content-type\":`application/json`});let u=await c.fetch(`https://worker.local`+(o.startsWith(`/`)?o:`/`+o),l),d=await u.text();try{d=JSON.stringify(JSON.parse(d),null,2)}catch{}i({ok:u.ok,label:u.status+(u.statusText?` `+u.statusText:``),ms:Math.round(performance.now()-n),text:d.slice(0,4e3)})}catch(e){s.current=null,i({ok:!1,label:`Error`,ms:Math.round(performance.now()-n),text:`Could not run it: `+String(e&&e.message||e)})}o(!1)};return(0,Z.jsxs)(`div`,{className:`wcard`,children:[(0,Z.jsxs)(`div`,{className:`wctop`,children:[(0,Z.jsx)(`i`,{className:`wdot ok`}),(0,Z.jsx)(`b`,{children:`Live in this tab`}),(0,Z.jsx)(`span`,{children:`no deploy · no key · free`})]}),(0,Z.jsxs)(`div`,{className:`wcbody`,children:[(0,Z.jsxs)(`form`,{className:`wrow`,onSubmit:e=>{e.preventDefault(),l(t)},children:[(0,Z.jsx)(`input`,{value:t,onChange:e=>n(e.target.value),\"aria-label\":`Request: method and path`,spellCheck:!1}),(0,Z.jsx)(IO,{type:`submit`,label:`Send`,variant:`primary`,size:`sm`,isDisabled:a})]}),c.length>0&&(0,Z.jsx)(`div`,{className:`wchips`,children:c.map(e=>(0,Z.jsx)(`button`,{type:`button`,onClick:()=>{n(`GET `+e),l(`GET `+e)},children:e},e))}),r&&(0,Z.jsxs)(`div`,{className:`wrres`,children:[(0,Z.jsxs)(`div`,{className:`wrmeta`,children:[(0,Z.jsx)(`span`,{className:`wrst`+(r.ok?``:` bad`),children:r.label}),(0,Z.jsx)(`span`,{children:r.ms+` ms`}),(0,Z.jsx)(`button`,{type:`button`,onClick:()=>navigator.clipboard&&navigator.clipboard.writeText(r.text).catch(()=>{}),children:`Copy`})]}),(0,Z.jsx)(`pre`,{className:`wrout`,children:r.text})]})]})]})}var h5=e=>!!(LO.inf&&typeof navigator<`u`&&navigator.gpu&&e&&e.results&&e.results.length);function Rse(e,t,n){return new Promise(r=>{let i=LO.inf,a=document.createElement(`iframe`),o=!1,s=``;a.src=i+`/browser-model`,a.setAttribute(`allow`,`webgpu`),a.hidden=!0,a.title=`Browser model`;let c=e=>{window.removeEventListener(`message`,l),clearTimeout(u),clearInterval(f),a.remove(),r(e)},l=r=>{if(r.origin!==i||r.source!==a.contentWindow)return;let l=r.data||{};if(l.from===`flisk-browser-model`){if(l.ev===`ready`){if(o)return;if(o=!0,!l.webgpu){t(`This browser has no WebGPU`),c(!1);return}let n=l.models||[],r=(navigator.deviceMemory||4)>=8&&n.includes(`flisk-browser-chat`)?`flisk-browser-chat`:n.includes(`flisk-browser-chat-lite`)?`flisk-browser-chat-lite`:n[0];if(!r){t(`No browser model is available`),c(!1);return}let s=e.results.map((e,t)=>`[`+(t+1)+`] `+e.title+`: `+e.snippet).join(`\n`);a.contentWindow.postMessage({cmd:`generate`,id:`a1`,model:r,maxTokens:400,messages:[{role:`system`,content:`Answer the question using only the sources. Cite them as [1], [2]. Reply in the language of the question. Be short and exact. If the sources do not answer it, say so.`},{role:`user`,content:`Sources:\n`+s+`\n\nQuestion: `+e.question}]},i)}else l.ev===`progress`?t(`Loading the model in your browser: `+Math.round((l.progress||0)*100)+`%`):l.ev===`delta`?(s+=l.text,n(s),t(`Writing the answer…`)):l.ev===`done`?c(!0):l.ev===`error`&&(t(`The browser model could not run: `+l.error),c(!1))}},u=setTimeout(()=>{o||(t(`The browser model did not start`),c(!1))},2e4),d=()=>{if(!o)try{a.contentWindow.postMessage({cmd:`status`},i)}catch{}},f=setInterval(()=>{o?clearInterval(f):d()},700);a.addEventListener(`load`,d),window.addEventListener(`message`,l),document.body.appendChild(a)})}function zse({info:e}){let[t,n]=(0,X.useState)(`Write a better answer in my browser (free, about 0.4 GB once)`),[r,i]=(0,X.useState)(!1),[a,o]=(0,X.useState)(!1),[s,c]=(0,X.useState)(``),l=()=>{i(!0),Rse(e,n,c).then(e=>{e?(qO(`chat_browser_model`,`on`),o(!0)):i(!1)},()=>i(!1))};return(0,X.useEffect)(()=>{h5(e)&&KO(`chat_browser_model`)===`on`&&l()},[]),h5(e)?(0,Z.jsxs)(Z.Fragment,{children:[s&&(0,Z.jsx)(d5,{density:`compact`,children:s}),!a&&(0,Z.jsx)(`div`,{children:(0,Z.jsx)(IO,{label:t,variant:`secondary`,size:`sm`,isDisabled:r,onClick:l})})]}):null}var g5=e=>({task:e,steps:[],text:``,answer:null,status:`Working`,link:``,video:``,outs:[],sources:[],widgets:[],workers:[],error:null,needPod:!1,browser:null,model:``,podStarted:0,kept:null}),_5=(e,t)=>({...e,steps:[...e.steps,{status:`complete`,...t}]}),Bse=e=>Number(e||0).toLocaleString();function v5(e,t){switch(t.type){case`thinking`:return{...e,status:`Thinking, step `+t.step,text:``};case`sources`:return{...e,status:`Read `+t.sources.length+(t.sources.length>1?` sources`:` source`)+` on Wikipedia`};case`pod_starting`:return{..._5(e,{name:`computer`,target:`Starting a computer`}),status:`Starting a computer`,podStarted:Date.now()};case`pod_started`:return{...e,podStarted:0,status:`Computer ready on `+t.provider,node:t.provider};case`run`:return{..._5(e,{name:`run`,target:t.command,node:e.node}),status:`Running a command`};case`write`:return{..._5(e,{name:`write`,target:t.path+` (`+Bse(t.bytes)+` characters)`,node:e.node}),status:`Writing files`};case`read`:return _5(e,{name:`read`,target:t.path,node:e.node});case`publish`:return{..._5(e,{name:`publish`,target:t.path}),status:`Publishing`};case`worker`:return{..._5(e,{name:`worker`,target:`Running `+t.path+` as a Worker in this tab`}),workers:[...e.workers,t]};case`site`:return{..._5(e,{name:`site`,target:`Drawing a `+t.layout+` page: `+t.title}),status:`Publishing`};case`image_start`:return{..._5(e,{name:`image`,target:`Drawing the picture`}),status:`Drawing the picture`};case`photo`:return{..._5(e,{name:`image`,target:`Drawing the photo for the page`}),status:`Drawing the photo`};case`share`:return{..._5(e,{name:`share`,target:`Giving the running app a public link (port `+Number(t.port)+`)`}),status:`Sharing the app`};case`system_plan`:return{..._5(e,{name:`system`,target:`Building a system of `+t.services.length+` services: `+t.services.join(`, `)}),status:`Building a system`};case`system_start`:return _5(e,{name:`system`,target:`Starting all services with Flisk`});case`video_start`:return{..._5(e,{name:`video`,target:`Making a video: `+t.title+` (`+t.scenes+` scenes)`}),status:`Making a video`};case`note`:{let n=e.steps[e.steps.length-1];return n&&n.name===`note`&&n.target===t.text?e:_5(e,{name:`note`,target:t.text})}case`output`:{if(t.error)return{...e,outs:[...e.outs,{text:t.error,bad:!0}]};let n=[t.stdout,t.stderr,t.content].filter(Boolean).join(`\n`).replace(/\\n$/,``);return{...e,link:t.live||t.published||e.link,video:t.video||e.video,outs:n||t.exitCode>0?[...e.outs,{text:n,bad:t.exitCode>0}]:e.outs}}case`search`:return{..._5(e,{name:`search`,target:`Searching the web: `+t.query}),status:`Searching the web`};case`websources`:return{...e,sources:[...e.sources,...t.results||[]]};case`pod_stopped`:return _5(e,{name:`computer`,target:`Computer stopped`});case`pod_kept`:{let n=t.until?new Date(t.until).toLocaleTimeString([],{hour:`2-digit`,minute:`2-digit`}):`the provider stops it`;return{..._5(e,{name:`computer`,target:t.days?`Computer kept running for the live app: it sleeps when idle, wakes on a visit, deleted after `+Number(t.days)+` days`:`Computer kept running for the live app until `+n}),kept:{days:Number(t.days)||0,until:t.until||0}}}case`widget`:return{...e,widgets:[...e.widgets,t]};case`delta`:return{...e,text:e.text+t.text};case`retry`:return{...e,text:``};case`reroute`:return{..._5(e,{name:`model`,target:t.text}),status:t.text};case`model`:return{..._5(e,{name:`model`,target:`Answered by `+t.name}),model:t.name};case`answer`:return{...e,answer:t.text};case`needcomputer`:return{...e,needPod:!0};case`browseranswer`:return{...e,browser:t};case`error`:return{...e,error:{message:t.error,kind:t.kind||`other`}};case`file`:return t.error?{...e,outs:[...e.outs,{text:`Could not put `+t.path+` on the computer: `+t.error,bad:!0}]}:e;default:return e}}function Vse(e,t){let n=t&&(e===`key`||e===`model`||e===`limit`)?`other`:e;return n===`key`?[`setup-key`,`wolf`]:n===`model`?[`choose-model`,`wolf`]:n===`limit`?[`wolf`,`change-provider`]:n===`computer`?[`connect-computer`,`retry`]:n===`busy`?[`retry`,`openrouter`,`discord`]:[`retry`,`change-model`]}var Hse=e=>String(e[0]&&e[0].content||``).split(`\n`)[0].slice(0,80),y5=e=>e.answer===null?e.text:e.answer;function Use(e,t){let n=e[e.length-1];if(!n||n.old)return``;if(t)return(n.t.status||`Working`)+`…`;if(n.t.error)return``;let r=y5(n.t);return r?`Answer ready: `+r.slice(0,300):n.t.status===`Done`?`Done.`:``}var Wse=e=>[...new Set([...String(e||``).matchAll(/!\\[[^\\]]*\\]\\(((?:https?:\\/\\/|\\/)[^\\s)]+)\\)/g)].map(e=>e[1]))],Gse=e=>/^(1|true|talk)$/.test(new URLSearchParams(e||``).get(`voice`)||``);function Kse({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3`}))}var b5=X.forwardRef(Kse);function qse({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25`}))}var Jse=X.forwardRef(qse);function Yse({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M2.25 12.76c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.076-4.076a1.526 1.526 0 0 1 1.037-.443 48.282 48.282 0 0 0 5.68-.494c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z`}))}var Xse=X.forwardRef(Yse);function Zse({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a6.932 6.932 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.086.22-.128.332-.183.582-.495.644-.869l.214-1.28Z`}),X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z`}))}var x5=X.forwardRef(Zse);function Qse({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25`}))}var $se=X.forwardRef(Qse);function ece({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z`}))}var S5=X.forwardRef(ece);function tce({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z`}))}var nce=X.forwardRef(tce);function rce({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M12 18.75a6 6 0 0 0 6-6v-1.5m-6 7.5a6 6 0 0 1-6-6v-1.5m6 7.5v3.75m-3.75 0h7.5M12 15.75a3 3 0 0 1-3-3V4.5a3 3 0 1 1 6 0v8.25a3 3 0 0 1-3 3Z`}))}var C5=X.forwardRef(rce);function ice({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`m18.375 12.739-7.693 7.693a4.5 4.5 0 0 1-6.364-6.364l10.94-10.94A3 3 0 1 1 19.5 7.372L8.552 18.32m.009-.01-.01.01m5.699-9.941-7.81 7.81a1.5 1.5 0 0 0 2.112 2.13`}))}var ace=X.forwardRef(ice);function oce({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M12 4.5v15m7.5-7.5h-15`}))}var w5=X.forwardRef(oce);function sce({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z`}))}var T5=X.forwardRef(sce);function cce({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M19.114 5.636a9 9 0 0 1 0 12.728M16.463 8.288a5.25 5.25 0 0 1 0 7.424M6.75 8.25l4.72-4.72a.75.75 0 0 1 1.28.53v15.88a.75.75 0 0 1-1.28.53l-4.72-4.72H4.51c-.88 0-1.704-.507-1.938-1.354A9.009 9.009 0 0 1 2.25 12c0-.83.112-1.633.322-2.396C2.806 8.756 3.63 8.25 4.51 8.25H6.75Z`}))}var lce=X.forwardRef(cce);function uce({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z`}))}var E5=X.forwardRef(uce);function dce({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0`}))}var fce=X.forwardRef(dce);qg();var pce=[Kg.reset,{root:{\"--layout-content-width\":`x1vpwbdg`,\"--layout-alignment-width\":`x479rhq`,\"--_layout-flush-block-start\":`xu9n9za`,\"--_layout-flush-block-end\":`xt8hc1d`,\"--container-max-height\":`x52i7cl`,$$css:!0}}.root];ys();var D5=_s(`AppShellMobileContext`,1,{isMobile:!1,isMobileNavOpen:!1,toggleMobileNav:()=>{},openMobileNav:()=>{},closeMobileNav:()=>{},isMobileNavEnabled:!1,hasAutoToggle:!0});D5.displayName=`AppShellMobileContext`;function O5(){return(0,X.use)(D5)}sE(),iT(),Ww({\"@astryx.mobileNav.toggle.open\":`Open navigation`});function k5({ref:e,children:t,label:n,\"data-testid\":r,xstyle:i,className:a,style:o,onClick:s,...c}){let l=nT(),u=n??l(`@astryx.mobileNav.toggle.open`),{isMobile:d,isMobileNavEnabled:f,isMobileNavOpen:p,mobileNavId:m,toggleMobileNav:h}=O5();return!d||!f?null:(0,Z.jsx)(IO,{...c,ref:e,variant:`ghost`,label:u,icon:t??(0,Z.jsx)(XT,{icon:`menu`,color:`inherit`}),onClick:_C(h,s),\"aria-expanded\":p,\"aria-controls\":m||void 0,\"data-testid\":r??`mobile-nav-toggle`,xstyle:i,className:a,style:o,isIconOnly:!0})}k5.displayName=`MobileNavToggle`;function mce({isOpen:e,presentation:t}){let[n,r]=(0,X.useState)(null),i=n;e&&n==null&&(i={value:t},r(i));let a=(0,X.useCallback)(()=>r(null),[]);return{presentation:i==null?null:i.value,isHeld:i!=null,release:a}}D(),sE(),RC(),Up(),Gp(),Xf(),op(),qg(),Tx(),KM(),Ux(),vr(),ds(),vx(),Rk(),ox(),Qk(),Lj(),iT(),Ww({\"@astryx.mobileNav.closeNavigation\":`Close navigation`,\"@astryx.mobileNav.navigation\":`Navigation`});var A5={dialog:{kVAEAm:`xixxii4`,kogj98:`x1ghz6dp`,kmVPX3:`x1717udv`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,ks0D6T:`x1x1rfll`,kskxy:`x7ab17h`,kpwlN0:`x10a8y8t`,kzqmXN:`xn9wirt`,kZKoxP:`xtdtrs8`,kWkggS:`xjbqb8w`,kVQacm:`x7giv3`,kZeWKH:`xish69e`,kFalU9:`x1j4r261`,kI3sdo:`x1a2a7pz`,k1xSpc:`x1s85apg`,k1ekBW:`xrgi2yo`,kIyJzY:`x80gvsz`,kzIqYQ:`xd00j3c`,$$css:!0},open:{k1xSpc:`x78zum5`,$$css:!0},backdrop:{kGyWv1:`xnixb3f`,k5sjJv:`xph5o2a`,kND0Po:`x167zut7`,k9an0g:`xft5bk6`,kb4ib:`x15h3t91`,kA5Tbj:`x1viac0w`,$$css:!0},backdropOpen:{k5sjJv:`xb3n6bw xxiuuzi`,$$css:!0},drawer:{kVAEAm:`x10l6tqk`,k87sOh:`x13vifvy`,krVfgx:`x1ey2m1c`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kWkggS:`x10xzikg`,kMwMTN:`x1tgivj0`,kB7OPa:`x9f619`,kVQacm:`xb3r6kr`,k1ekBW:`x11xpdln`,kIyJzY:`x80gvsz`,kAMwcw:`xlr8y92`,kI3sdo:`x1a2a7pz`,k6CgDc:`xzg1mie`,$$css:!0},drawerStart:{kLqNvP:`x1o0tod`,ke9TFa:`xw8tdv1`,k8ry5P:`x18b5jzi`,kBCPoo:`x1gejf6u`,k3aq6I:`x5i6ehr xttggg`,$$css:!0},drawerStartOpen:{k3aq6I:`xbryuvx x6mt36l x14gflnl`,$$css:!0},drawerEnd:{kt4wiu:`xtijo5x`,k2ei4v:`xgbv0en`,kVhnKS:`x1t7ytsu`,kGJrpR:`x1j92z86`,k3aq6I:`xumwmo6 x1df3fe5`,$$css:!0},drawerEndOpen:{k3aq6I:`xbryuvx x1yqmsfc x1lymnkk`,$$css:!0},headerText:{keTefX:`x11g1kdw`,$$css:!0}},hce={kzqmXN:`x5lhr3w`,ks0D6T:`x1jrhgas`,$$css:!0},gce={width:e=>[hce,{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(`${e}px`)}]},_ce=.6;function vce(e){let t=e.split(`,`).map(e=>{let t=e.trim(),n=Number.parseFloat(t);return Number.isFinite(n)?t.endsWith(`ms`)?n:t.endsWith(`s`)?n*1e3:null:null}).filter(e=>e!==null);return t.length?Math.min(...t):null}function yce(e){let t=cs(e.ownerDocument.defaultView,`(prefers-reduced-motion: reduce)`)?0:250,n=vce(window.getComputedStyle(e).transitionDuration);return n===null?t:n<=0?0:Math.min(t,n*_ce)}function j5(e,t){e.close();let n=t.current;t.current=null,n&&n!==document.body&&n.isConnected&&n.focus()}function M5({isOpen:e,onOpenChange:t,children:n,header:r,width:i=320,side:a=`auto`,label:o,\"data-testid\":s,xstyle:c,className:l,style:u,onClick:d,id:f,ref:p,...m}){let h=nT(),g=O5(),_=e??g.isMobileNavOpen,v=(0,X.useId)(),y=g.mobileNavId||v,b=(0,X.useMemo)(()=>t??(e=>{e?g.openMobileNav():g.closeMobileNav()}),[t,g]),x=(0,X.useRef)(null);Mj(x,_);let S=(0,X.useRef)(null),w=(0,X.useRef)(null),T=(0,X.useRef)(null),E=(0,X.useRef)(null),{isHeld:D,release:O}=mce({isOpen:_,presentation:!0});Yk(_);let[k,A]=(0,X.useState)(`end`),[j,M]=(0,X.useState)(!1),N=_&&a===`auto`;if(!tx()&&N!==j&&(M(N),N)){let e=document.activeElement,t=e!==null&&e!==document.body&&!x.current?.contains(e),n=[y,x.current?.id,f],r=t&&e?e:Array.from(document.querySelectorAll(`[aria-controls]`)).find(e=>(e.getAttribute(`aria-controls`)??``).split(/\\s+/).some(e=>e!==``&&n.includes(e)));if(r){let e=r.getBoundingClientRect(),t=e.left+e.width/2,n=window.innerWidth/2;A((Lk(r)?t>n:t{let e=x.current;if(e)return _?(T.current?.(),T.current=null,e.open||(E.current=document.activeElement,e.showModal()),T.current=jA(e,{entrance:S.current,capMs:550})):e.open?(T.current?.(),T.current=null,w.current=setTimeout(()=>{j5(e,E),O()},yce(e))):O(),()=>{w.current&&=(clearTimeout(w.current),null),T.current?.(),T.current=null}},[_,O]),(0,X.useEffect)(()=>{let e=x.current;return()=>{T.current?.(),T.current=null,e?.open&&j5(e,E)}},[]);let{shouldDismissOnCloseRequest:F}=Bx({isActive:_,onDismiss:()=>b(!1),getContainer:()=>x.current}),I=(0,X.useCallback)(e=>{e.target===e.currentTarget&&(e.preventDefault(),F()&&b(!1))},[b,F]),L=(0,X.useCallback)(e=>{e.target===e.currentTarget&&b(!1)},[b]),R=P===`start`,z=o??(typeof r==`string`?r:h(`@astryx.mobileNav.navigation`));return(0,Z.jsx)(`dialog`,{ref:gx(p,x),id:f??y,...Q(Y(`mobile-nav`,{side:P}),C(Hp.reset,Wp.reset,A5.dialog,Kg.reset,D&&A5.open,A5.backdrop,_&&A5.backdropOpen,c),l,u),...m,\"data-testid\":s,\"aria-label\":z,...rp({...m,onClick:_C(d,L)}),onCancel:I,children:(0,Z.jsx)(UM,{dialogRef:x,isOpen:_,children:(0,Z.jsx)(xx,{children:(0,Z.jsx)(Wf,{children:(0,Z.jsxs)(`div`,{ref:S,tabIndex:-1,...Q(Y(`mobile-nav-drawer`,{side:P}),C(A5.drawer,gce.width(i),R&&A5.drawerStart,R&&_&&A5.drawerStartOpen,!R&&A5.drawerEnd,!R&&_&&A5.drawerEndOpen)),children:[(0,Z.jsxs)(`div`,{...{0:{className:`x78zum5 x6s0dn4 x1qughib x3unnv6 xf314gf x2lah0s x92x3c3 x1q0q8m5 xw8gpjh`},1:{className:`x78zum5 x6s0dn4 x3unnv6 xf314gf x2lah0s x92x3c3 x1q0q8m5 xw8gpjh x13a6bvl`}}[!r|0],children:[typeof r==`string`?(0,Z.jsx)(NC,{level:2,xstyle:A5.headerText,children:r}):r??null,(0,Z.jsx)(IO,{variant:`ghost`,label:h(`@astryx.mobileNav.closeNavigation`),icon:(0,Z.jsx)(XT,{icon:`close`,color:`inherit`}),onClick:()=>b(!1),isIconOnly:!0})]}),(0,Z.jsx)(`nav`,{\"aria-labelledby\":m[`aria-labelledby`],\"aria-label\":z,className:`x98rzlu x1odjw0f x6ikm8r xish69e xge0x1e xf314gf xce4md1`,children:n})]})})})})})}M5.displayName=`MobileNav`,ys();var N5=_s(`SideNavRenderContext`,1,`default`);N5.displayName=`SideNavRenderContext`;function P5(){return(0,X.use)(N5)}LV(),ys();var F5=_s(`SideNavShellContext`,1,null);F5.displayName=`SideNavShellContext`;function bce(e){return Qz(()=>e()?.parentElement??null)}function xce(e,t,n,r){let i=QB(t,e,{edge:`inline-end`,shown:n?.width??null});return i==null?null:{hold:i,swap:i.swap,shown:n??{width:i.extent,labels:+!r,collapsed:+!!r}}}var I5=e=>Math.min(1,Math.max(0,e));function Sce(e){return Array.from(e.querySelectorAll(`*`)).filter(e=>Array.from(e.childNodes).some(e=>e.nodeType===3&&e.textContent?.trim()))}function Cce(e,t,n,r=null){let{shown:i}=e,a=!1,o=e=>a?i.labels*(1-I5(e/.4)):i.labels+(1-i.labels)*I5((e-.4)/.6),s=e=>a?i.collapsed+(1-i.collapsed)*I5((e-.7)/.3):i.collapsed*(1-I5(e/.6)),c=$B(e.hold,t,n,{edge:`inline-end`,rideWith:r,parts:(e,t)=>(a=e,e?{copyOpacity:e=>1-I5((e-.7)/.3),copyText:o,incoming:[{element:t,frames:e=>({opacity:s(e)})}]}:{copyOpacity:s,incoming:Sce(t).map(e=>({element:e,frames:e=>({opacity:o(e)})}))})});return{end:c.end,shown:()=>{let e=c.shown();return e==null?null:{width:e.extent,labels:o(e.progress),collapsed:s(e.progress)}}}}LV();function wce({containerRef:e}){return(0,X.useMemo)(()=>Qz(()=>e.current),[e])}ys();var L5=_s(`TopNavRenderContext`,1,`default`);L5.displayName=`TopNavRenderContext`;var R5=_s(`TopNavUnreadRegionContext`,1,null);R5.displayName=`TopNavUnreadRegionContext`,ys();var z5=_s(`TopNavMobileContentContext`,1,null);z5.displayName=`TopNavMobileContentContext`,Pn();function Tce(e,t,n){return e&&t!==`none`&&n===wn[t]?t:null}var B5={sm:{k1xSpc:`x1d592f6`,$$css:!0},md:{k1xSpc:`xgs58o8`,$$css:!0},lg:{k1xSpc:`xjzer9l`,$$css:!0},xl:{k1xSpc:`x1bwilkz`,$$css:!0},\"2xl\":{k1xSpc:`x1q9a9pi`,$$css:!0}},V5={sm:{krdFHd:`x183tx6i xctd0pb`,$$css:!0},md:{krdFHd:`x183tx6i xc4oep8`,$$css:!0},lg:{krdFHd:`x183tx6i x16174yq`,$$css:!0},xl:{krdFHd:`x183tx6i x5asj52`,$$css:!0},\"2xl\":{krdFHd:`x183tx6i xnnrhfx`,$$css:!0}},H5={sm:{k1xSpc:`x78zum5 x1d592f6`,$$css:!0},md:{k1xSpc:`x78zum5 xgs58o8`,$$css:!0},lg:{k1xSpc:`x78zum5 xjzer9l`,$$css:!0},xl:{k1xSpc:`x78zum5 x1bwilkz`,$$css:!0},\"2xl\":{k1xSpc:`x78zum5 x1q9a9pi`,$$css:!0}},U5={sm:{sideNav:B5.sm,corner:V5.sm,topNavRegion:H5.sm},md:{sideNav:B5.md,corner:V5.md,topNavRegion:H5.md},lg:{sideNav:B5.lg,corner:V5.lg,topNavRegion:H5.lg},xl:{sideNav:B5.xl,corner:V5.xl,topNavRegion:H5.xl},\"2xl\":{sideNav:B5[`2xl`],corner:V5[`2xl`],topNavRegion:H5[`2xl`]}};x(),ys(),Xn();var Ece=`astryx-app-shell-main`,W5=_s(`AppShellNestingContext`,1,!1);W5.displayName=`AppShellNestingContext`;var G5=Kn(`app-shell/use-app-shell-main-id/claims`,1,()=>({claims:[],listeners:new Set}));function Dce(e){return G5.listeners.add(e),()=>{G5.listeners.delete(e)}}function K5(){for(let e of G5.listeners)e()}function Oce(){let e=(0,X.useId)(),t=(0,X.use)(W5),[n]=(0,X.useState)(()=>({})),r=(0,X.useSyncExternalStore)(Dce,()=>G5.claims.length===0||G5.claims[0]===n,()=>!0);return b(()=>{if(!t)return G5.claims.push(n),K5(),()=>{G5.claims.splice(G5.claims.indexOf(n),1),K5()}},[n,t]),r&&!t?Ece:`astryx-app-shell-main-${e}`}D(),AM(),LV(),oS(),ox(),gs(),ds(),Qi(),vr(),rc(),Pn(),vx(),yU(),iT(),Ww({\"@astryx.appShell.mobileNavigation\":`Mobile navigation`,\"@astryx.appShell.skipToContent\":`Skip to content`});var q5=X.Activity!==void 0,kce=q5?({mode:e,children:t})=>(0,Z.jsx)(X.Activity,{mode:e,children:t}):({children:e})=>(0,Z.jsx)(Z.Fragment,{children:e}),Ace=50,J5={root:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kVAEAm:`x1n2onr6`,kVQacm:`x7giv3`,$$css:!0},variantWash:{kWkggS:`x1eiddq6`,$$css:!0},variantSurface:{kWkggS:`x10xzikg`,$$css:!0},variantSection:{kWkggS:`x10xzikg`,$$css:!0},variantElevated:{kWkggS:`x1eiddq6`,$$css:!0},rootFill:{kZKoxP:`xtdtrs8`,$$css:!0},rootAuto:{kAzted:`x1ov3xa9`,$$css:!0},skipLink:{kVAEAm:`x10l6tqk x1xrnuwo`,kzqmXN:`x1i1rx1s x1jqxupm`,kZKoxP:`xjm9jq1 x15cytp8`,k8WAf4:`xt970qd xh2mrf5`,kg3NbH:`xnjsko4 x1cf3d6k`,kogj98:`xkdpibf x1y5lnwp`,kVQacm:`xb3r6kr xomzh7y`,kz4h6p:`x1hyvwdk x1rsz1da`,khDVqt:`xuxw1ft x1hbpcn8`,kMzoRj:`xc342km`,k87sOh:`x13vifvy x1rw3289`,kLqNvP:`x1o0tod xodanix`,kWkggS:`x10xzikg`,kMwMTN:`xjse4m1`,kY2c9j:`x1q2oy4v`,kybGjl:`x1hl2dhg`,k63SB2:`x2mo6ok`,kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,$$css:!0},mainFocusTarget:{kI3sdo:`x1uvtmcs`,$$css:!0},mainElevatedCorner:{krdFHd:`x9a4xmf`,$$css:!0},mainScrollRegionInset:{kInvED:`x1wfwxd8 x1nw7mhf`,$$css:!0},elevatedBackdrop:{kVAEAm:`x10l6tqk`,kpwlN0:`x10a8y8t`,kWkggS:`x10xzikg`,krdFHd:`x183tx6i`,kfzvcC:`x47corl`,$$css:!0},contentBgSurface:{kWkggS:`x10xzikg`,$$css:!0},contentBgWash:{kWkggS:`x1eiddq6`,$$css:!0},contentBgTransparent:{kWkggS:`xjbqb8w`,kHBbk8:`xc8icb0`,$$css:!0},navAreaWash:{kWkggS:`x1eiddq6`,$$css:!0},navAreaSurface:{kWkggS:`x10xzikg`,$$css:!0},banner:{kmuXW:`x2lah0s`,$$css:!0},headerSticky:{kVAEAm:`x7wzq59`,k87sOh:`x13vifvy`,kY2c9j:`x1vjfegm`,$$css:!0},headerSafeAreaTop:{kLKAdn:`x1mrd0q`,$$css:!0},headerSafeAreaSides:{kZCmMZ:`xs5q72w xqbmqmu`,kwRFfy:`x180b3rg x17h5b6w`,$$css:!0},headerStickyBelowTopInset:{k87sOh:`xz44ai8`,$$css:!0},mainSafeAreaEnd:{kGO01o:`xvmia7e`,$$css:!0},panelAutoFill:{kUk6DE:`x98rzlu`,kVQacm:`xysyzu8`,$$css:!0}};function Y5(e,t){let n=e;for(;n.parentElement!=null&&!n.parentElement.contains(t);)n=n.parentElement;return n}function X5({variant:e=`elevated`,banner:t,children:n,contentPadding:r,\"data-testid\":i,height:a=`fill`,mobileNav:o,sideNav:s,topNav:c,xstyle:l,className:u,style:d,ref:f,...p}){let m=nT(),h=Us(),g=o===!1,_=o!=null&&o!==!1&&typeof o==`object`&&!(0,X.isValidElement)(o)?o:null,v=_?.breakpoint??`md`,y=o!=null&&o!==!1&&((0,X.isValidElement)(o)||typeof o==`string`)?o:null,b=_?.content??null,x=_?.hasToggle!==!1,S=_?.isOpen!==void 0,w=h?.__adaptations?.widthBreakpoints,T=v===`none`?null:w?.[v]??wn[v],E=Jt(T??0),D=T!=null&&_?.defaultIsMobile===!0,O=ps(E,D),k=!tx(),A=(0,X.useDeferredValue)(k?O?`mobile`:`wide`:`unread`),j=A===`unread`?D:A===`mobile`,[M,N]=(0,X.useState)(!1),P=_?.isOpen??M,[F,I]=(0,X.useState)(P);P&&!F&&I(!0),(0,X.useEffect)(()=>{if(!q5||P)return;let e=cs(window,`(prefers-reduced-motion: reduce)`)?0:250+Ace,t=setTimeout(()=>{I(!1)},e);return()=>clearTimeout(t)},[P]);let L=P||F,R=_?.onOpenChange,z=(0,X.useCallback)(e=>{S||N(e),R?.(e)},[S,R]),B=Oce(),V=(0,X.useCallback)(()=>{document.getElementById(B)?.focus()},[B]),[H,ee]=(0,X.useState)(!1),U=(0,X.useRef)(!1),te=(0,X.useCallback)(e=>{e.target===e.currentTarget&&(document.activeElement===e.currentTarget?U.current=!0:(U.current=!1,ee(!1)))},[]),W=a===`fill`,G=a===`auto`,[ne,re]=(0,X.useState)(!1),ie=W&&ne,K=(0,X.useRef)(null),q=(0,X.useRef)(null),ae=(0,X.useRef)(null),oe=(0,X.useRef)(ie),se=(0,X.useCallback)(()=>{let e=oe.current?K.current:null,t=ae.current;t?.node!==e&&(t?.release(),ae.current=e==null?null:{node:e,release:_U(e,e)})},[]),ce=(0,X.useCallback)(e=>{K.current=e;let t=W?e:null,n=q.current;n?.node!==t&&(n?.stop(),q.current=t==null?null:{node:t,stop:qL(t,re)},t??re(!1)),se()},[W,se]);(0,X.useEffect)(()=>{oe.current=ie,se()},[ie,se]);let le=bO(t),J=bO(c),ue=bO(s),de=!g&&(J||ue)&&y==null,fe=e===`section`,pe=e===`elevated`,me=e===`wash`||e===`elevated`?J5.navAreaWash:e===`surface`?J5.navAreaSurface:void 0,he=me??(G&&e===`section`?J5.navAreaSurface:void 0),ge=e===`wash`?J5.contentBgWash:e===`elevated`&&J&&ue&&!j?J5.contentBgTransparent:e===`surface`||e===`elevated`?J5.contentBgSurface:void 0,_e=me??J5.navAreaSurface,ve=(0,X.useRef)(null),ye=(0,X.useRef)(null);(0,X.useEffect)(()=>{if(!G||!ve.current||!ye.current)return;let e=ve.current,t=ye.current,n=()=>{let n=e.getBoundingClientRect().height;t.style.setProperty(`--_app-shell-header-height`,`${n}px`)};return qi(e,()=>n())},[G]);let be=ue&&!j,xe=Tce(A===`unread`,v,T),Se=be&&xe!=null?U5[xe]:void 0,Ce=y!=null,we=de&&b!=null&&j,Te=(0,X.useId)(),Ee=(0,X.useMemo)(()=>({isMobile:j,isMobileNavOpen:P,mobileNavId:Te,toggleMobileNav:()=>de&&z(!P),openMobileNav:()=>de&&z(!0),closeMobileNav:()=>z(!1),isMobileNavEnabled:de,hasAutoToggle:x}),[j,P,Te,z,de,x]),De=ue&&x?(0,Z.jsx)(N5,{value:`drawer-content`,children:s}):null,Oe=ue?(0,Z.jsx)(N5,{value:`drawer-content`,children:s}):null,ke=!g&&y==null,Ae=!j&&ke&&xe!=null?U5[xe].topNavRegion:null,je=J?j&&ke?(0,Z.jsx)(z5,{value:De,children:(0,Z.jsx)(L5,{value:`mobile-bar`,children:c})}):(0,Z.jsx)(R5,{value:Ae,children:c}):null,Me=J||le?(0,Z.jsxs)(tN,{padding:0,hasDivider:fe&&J,children:[le&&(0,Z.jsx)(`div`,{...C(J5.banner,me),children:t}),J&&je]}):void 0,Ne=bO(Me)?(0,Z.jsx)(`div`,{ref:ve,role:`banner`,...Q(Y(`app-shell-header`,{variant:e}),C(he,G&&J5.headerSticky,J5.headerSafeAreaTop,J5.headerSafeAreaSides)),children:Me}):void 0,Pe=(0,X.useRef)(null),Fe=(0,X.useRef)(null),Ie=gx(Fe,ce),Le=(0,X.useRef)(null),Re=wce({containerRef:ye}),ze=(0,X.useRef)(null),Be=(0,X.useRef)(null),Ve=(0,X.useMemo)(()=>({animatedLayout:Re,rail:()=>Pe.current,column:()=>Fe.current==null?null:Y5(Fe.current,Pe.current),landContent(){Fe.current!=null&&iV(Y5(Fe.current,Pe.current))},beforeRailChange(){let e=Fe.current;if(e==null)return;let t=oV(e),n=null;t.kind===`glide`&&(n=yB(Re,Pe),n.measureBefore());let r=1,i=0,a=Be.current;if(a!=null&&t.kind===`glide`){let n=Math.max(0,Wz(e.ownerDocument)-a.startedAt);if(n{};e.change?.animate();let n=Y5(t,Pe.current),r=t.getBoundingClientRect(),i=getComputedStyle(t).direction===`rtl`,a=i?e.before.right-r.right:e.before.left-r.left,o=[],s=Le.current??t,c=getComputedStyle(s).backgroundColor,l=!/^rgba\\(.*,\\s*0\\)$|^transparent$/.test(c),u=oV(t).kind===`glide`;if((i?a>0:a<0)&&u&&l&&o.push({element:s,frames:e=>({boxShadow:`${-a*(1-e)}px 0px 0px 0px ${c}`})}),e.swap==null||n.parentElement==null)return ZB(Re,o);!u&&l&&(e.swap.copy.style.backgroundColor=c);let{held:d,entering:f}=e;return Be.current={startedAt:Wz(t.ownerDocument),held:d,entering:f},XB(e.swap,{host:n.parentElement,copy:e=>({opacity:d*(1-e)}),rideWith:{element:n,travel:{x:a,y:0}},incoming:[...Array.from(t.children,e=>({element:e,frames:e=>({opacity:f+(1-f)*e})})),...o]})}}),[Re]),He=be?(0,Z.jsx)(jH,{ref:Pe,padding:0,hasDivider:fe,isScrollable:W,...Y(`app-shell-sidenav`,{variant:e}),xstyle:[me,G&&_e,G&&J5.panelAutoFill,Se?.sideNav],children:(0,Z.jsx)(F5,{value:Ve,children:s})}):void 0,Ue=He!=null&&G?(0,Z.jsx)(`div`,{className:`x2lah0s x7giv3 x7wzq59 xht72ud xpa73km x78zum5 xdt5ytf`,children:He}):He,We=pe&&J&&be;(0,X.useEffect)(()=>{if(!ie)return;let e=null,t=null,n,r=()=>{clearTimeout(n),n=setTimeout(()=>{e=null,t=null},0)},i=n=>{e=n.key===`Tab`?n:null,t=null,r()},a=()=>{e=null,t=null},o=e=>{t=e,r()},s=n=>{let r=e!=null&&e.eventPhase===0,i=t!=null&&t.eventPhase===0,a=r&&e?.defaultPrevented===!1,o=i;r&&(e=null),i&&(t=null);let s=K.current,c=n.target!=null&&n.target===s;if(U.current){if(U.current=!1,c&&!a)return;if(!c){ee(!1);return}}c&&ee(a||o&&s.matches(`:focus-visible`))};return document.addEventListener(`keydown`,i,!0),document.addEventListener(`pointerdown`,a,!0),document.addEventListener(`focusin`,s,!0),window.addEventListener(`focus`,o),()=>{document.removeEventListener(`keydown`,i,!0),document.removeEventListener(`pointerdown`,a,!0),document.removeEventListener(`focusin`,s,!0),window.removeEventListener(`focus`,o),clearTimeout(n)}},[ie]);let Ge=H,Ke=(0,Z.jsx)(dR,{ref:Ie,padding:r??0,role:`main`,id:B,tabIndex:ie?0:-1,isScrollable:W,onBlur:te,xstyle:[ge,Ge&&We&&J5.mainElevatedCorner,Ge?[iS.focusVisible,J5.mainScrollRegionInset]:J5.mainFocusTarget,J5.mainSafeAreaEnd],children:(0,Z.jsx)(W5,{value:!0,children:n})}),qe=(0,Z.jsxs)(`div`,{...{0:{className:`xjp7ctv`},1:{className:`x1n2onr6 x78zum5 x98rzlu x2lwn1j x5yr21d`}}[!!We|0],children:[We&&(0,Z.jsx)(`div`,{ref:Le,...C(J5.elevatedBackdrop,Se?.corner)}),Ke]}),Je=!g&&x&&j&&!J&&ue?(0,Z.jsx)(`div`,{role:Ne==null?`banner`:void 0,...Q(Y(`app-shell-header`,{variant:e}),C(he,G&&J5.headerSticky,J5.headerSafeAreaSides,Ne==null&&J5.headerSafeAreaTop,G&&Ne!=null&&J5.headerStickyBelowTopInset)),children:(0,Z.jsx)(tN,{padding:0,hasDivider:fe,children:(0,Z.jsxs)(`div`,{className:`x78zum5 x6s0dn4 x1k15mir xf314gf`,role:`navigation`,\"aria-label\":m(`@astryx.appShell.mobileNavigation`),children:[(0,Z.jsx)(N5,{value:`topbar`,children:s}),(0,Z.jsx)(k5,{})]})})}):void 0;return(0,Z.jsx)(D5,{value:Ee,children:(0,Z.jsx)(`div`,{...p,ref:gx(f,ye),\"data-testid\":i,...Q(Y(`app-shell`,{variant:e}),C(J5.root,pce,e===`wash`?J5.variantWash:e===`surface`?J5.variantSurface:e===`section`?J5.variantSection:J5.variantElevated,W?J5.rootFill:J5.rootAuto,l),u,d),children:(0,Z.jsx)(rR,{value:null,children:(0,Z.jsx)(aR,{value:iR,children:(0,Z.jsx)($M,{value:null,children:(0,Z.jsxs)(kM,{value:null,children:[(0,Z.jsx)(`a`,{href:`#${B}`,onClick:V,...aS.focusVisible(J5.skipLink),\"data-testid\":`skip-to-content`,children:m(`@astryx.appShell.skipToContent`)}),(0,Z.jsx)(lR,{height:a,padding:0,header:(0,Z.jsxs)(Z.Fragment,{children:[Ne,Je]}),start:Ue,content:qe}),Ce&&y,we&&b,j&&!g&&y==null&&!b&&(0,Z.jsxs)(kce,{mode:L?`visible`:`hidden`,children:[ue&&!J&&(0,Z.jsx)(N5,{value:`drawer`,children:s}),J&&(0,Z.jsx)(z5,{value:Oe,children:(0,Z.jsx)(L5,{value:`drawer`,children:c})})]})]})})})})})})}X5.displayName=`AppShell`,Pp(),nv(),Xu(),od();function jce(){}function Mce(e){let t=e.getRootNode();return Z_(e,t=>t.includes(e),jce,{pointerTypes:[`touch`],root:ed(t)?t:null,onPan:()=>Dp(e,{onRelease:()=>Vu(e.ownerDocument,{cancelsTouchEnd:!0})})})}function Nce(e){let t=e.current;return t==null||!t.isConnected?null:t}D(),j_(),x(),Lj(),au(),od(),bj(),Tx(),nA(),eR(),MC(),oS(),bC(),RA(),vr(),mM(),pr(),iT(),Ww({\"@astryx.popover.close\":`Close popover`});function Z5(e){try{e.focus()}catch{}return e.ownerDocument.activeElement===e}function Q5(e){let t=Bte(Array.from(e.querySelectorAll(tA)).filter(t=>t.closest(`[data-astryx-popover-fallback-close]`)==null&&!zte(t,e)));for(let e of t)if(Z5(e))return!0;return!1}var $5={surface:{kWkggS:`x1prclbq`,\"--_popover-radius\":`xiki222`,kaIpWk:`x11m9jtl`,kGVxlE:`x1i5ehqx`,kMzoRj:`x13rsnn2`,ksu8eU:`xx61lck`,kVAM5u:`x1w1tqly`,$$css:!0},unanchored:{k33iCy:`xlshs6z`,$$css:!0},contentWrapper:{kVAEAm:`x1n2onr6`,$$css:!0},closeButtonWrapper:{kVAEAm:`x10l6tqk`,krVfgx:`x1ey2m1c`,kY2c9j:`x1vjfegm`,kzqmXN:`x1i1rx1s x10okhzq`,kZKoxP:`xjm9jq1 x132qfvm`,kVQacm:`xb3r6kr x1dordxg`,kz4h6p:`x1hyvwdk x10wafsz`,kfzvcC:`x47corl xbt4iw`,kLKAdn:`xexx8yu x1kw28su`,$$css:!0}};function e7(e={}){let{anchorRef:t,onShow:n,onHide:r,onCloseStart:i,writesEntranceSide:a,onPlacedAfresh:o,xstyle:s,className:c,style:l,hasLightDismiss:u=!0,hasEscapeDismiss:d=!0,hasAutoFocus:f=!0,hasSurface:p=!0,padding:m,surfaceTarget:h,hasCloseButton:g=!0,closeButtonLabel:_,dialogLabel:v,role:y=`dialog`,isModal:x=!0,getRestoreFallback:S,restoreFocusTo:w,getOpener:T,ownsOutsidePan:E=!1,onOpenPendingChange:D}=e,O=nT(),k=_??O(`@astryx.popover.close`),A=(0,X.useRef)(null),j=nu(t),M=(0,X.useRef)(void 0),N=(0,X.useRef)(!1),P=(0,X.useRef)(!1),F=(0,X.useRef)(!1),I=(0,X.useRef)(null),L=(0,X.useCallback)(()=>{F.current=!0,n?.();let e=I.current;I.current=null,e?.()},[n]),R=(0,X.useRef)(null),z=(0,X.useRef)(()=>{}),B=nu(i),V=b_({mode:`context`,lightDismiss:u,onShow:L,onHide:r,onCloseStart:(0,X.useCallback)(()=>{z.current(),B.current?.()},[B]),watchesOutsidePans:u&&!E?Mce:void 0,writesEntranceSide:a,onPlacedAfresh:o,onOpenPendingChange:D,waitsForAnchor:t!=null}),H=(0,X.useRef)(null),ee=(0,X.useRef)(T);ee.current=T;let U=(0,X.useCallback)(()=>H.current,[]),{containerRef:te,focusFirst:W,returnFocus:G,moveFocusOut:ne}=Nj({isActive:V.isOpen,onEscape:d||u?V.hide:void 0,getRestoreTarget:U,getRestoreFallback:S,restoreFocusTo:w,getTrigger:()=>A.current,getAnchor:()=>M.current??null,layerId:V.id});ru(z,G);let re=(0,X.useCallback)(()=>{let e=te.current;if(!e)return;let t=e.ownerDocument.activeElement;t!=null&&t!==e&&e.contains(t)||Q5(e)||(y===`dialog`?Z5(e):W())},[te,W,y]);(0,X.useEffect)(()=>{if(!V.isOpen)N.current=!1,P.current=!1;else if(f&&!N.current){let e=requestAnimationFrame(()=>{let e=te.current?.ownerDocument??document;(!P.current||LA(e))&&re()});return()=>cancelAnimationFrame(e)}},[V.isOpen,f,re,te]);let ie=V.ref,[K,q]=(0,X.useState)(!1),ae=(0,X.useCallback)(e=>{A.current=e,j.current??ie(e)},[j,ie]);ru(R,()=>{let e=te.current,t=e?.ownerDocument.activeElement??null;if(e==null||t==null||!e.contains(t))return;let n=A.current;ne([td(n)&&UA(n)?n:null])});let oe=(0,X.useCallback)(()=>{let e=j.current;if(e==null)return;let t=Nce(e);t!==M.current&&(M.current=t,ie(t)),q(t==null),t??R.current?.()},[j,ie]);b(()=>{t==null?M.current!==void 0&&(M.current=void 0,q(!1),ie(A.current)):oe()}),b(()=>()=>{M.current!==void 0&&(ie(null),M.current=void 0)},[ie]);let se=(0,X.useCallback)(e=>{N.current=e?.skipAutoFocus??!1,F.current=!1;let t=(A.current?.ownerDocument??document).activeElement,n=ee.current?.()??t,r=n!=null&&te.current?.contains(n)===!0?H.current:n;H.current=r!=null&&!te.current?.contains(r)?r:null,I.current=()=>{let e=te.current;F.current&&f&&!N.current&&e!=null&&!e.contains(e.ownerDocument.activeElement)&&Q5(e)&&(P.current=!0)},oe(),V.show()},[V,f,te,oe]),ce=(0,X.useCallback)(()=>{V.isOpen?V.hide():se()},[V,se]),le={\"aria-haspopup\":y===`dialog`?`dialog`:`true`,\"aria-expanded\":V.isOpen,\"aria-controls\":V.id};OC(`usePopover`,'role=\"dialog\" without a `dialogLabel` renders an unnamed dialog. Pass `dialogLabel`, or use `role: \"none\"` for listbox/menu popups whose content already carries its own role.',y===`dialog`&&!v);let J=y===`dialog`&&V.isOpen,ue=(0,X.useCallback)((e,t)=>{let n=Y(`popover`),r=h!=null&&h!==`popover`?`${n.className} ${or(h)}`:n.className;return V.render((0,Z.jsx)(xx,{children:(0,Z.jsxs)(`div`,{ref:te,role:J?`dialog`:void 0,\"aria-modal\":J&&x?!0:void 0,\"aria-label\":J?v:void 0,tabIndex:y===`dialog`?-1:void 0,...Q({...n,className:r},aS.focusVisible($5.contentWrapper,p&&$5.surface,m!=null&&pM[m],s),c,l),children:[e,g&&(0,Z.jsx)(`div`,{\"data-astryx-popover-fallback-close\":``,...C($5.closeButtonWrapper,$L.centerInline(`100%`)),children:(0,Z.jsx)(IO,{variant:`secondary`,label:k,onClick:V.hide})})]})}),{...t,xstyle:[t?.xstyle,K&&$5.unanchored]})},[V,g,p,m,h,c,l,k,te,v,J,y,x,s,K]);return{triggerRef:ae,contentRef:te,anchorId:V.anchorId,show:se,hide:V.hide,toggle:ce,isOpen:V.isOpen,id:V.id,render:ue,triggerProps:le}}function t7(e={}){return e7(e)}function Pce(e={}){return e7(e)}function n7({readModality:e}){let[t,n]=(0,X.useState)(!1),r=(0,X.useCallback)(()=>{n(e()===`pointer`)},[e]),i=(0,X.useCallback)(()=>{n(!1)},[]);return{isFocusRingSuppressed:t,onFocusReturnTargetFocus:(0,X.useCallback)(()=>{e()===`keyboard`&&n(!1)},[e]),prepareFocusReturn:r,resetFocusReturn:i}}var r7={fits:{kFalU9:`x1j4r261`,$$css:!0},scrolls:{kFalU9:`xge0x1e`,kZeWKH:`xish69e`,$$css:!0}};au(),FQ(),D(),Pp(),od(),RC(),sE(),MQ(),x(),vx(),wQ(),bj(),MC(),qp(),bx(),G(),eR(),vr(),Hf(),oS(),iT(),Ww({\"@astryx.dropdownMenu.back\":`Back`,\"@astryx.dropdownMenu.label\":`Menu`}),`${Kp.maxBlockSize}`,`${Kp.maxBlockSizeFallback}`,`${k[`--color-overlay-pressed`]}${k[`--color-overlay-pressed`]}`;var Fce={kzqmXN:`x1uyokj7`,$$css:!0},i7={triggerOpen:{kKwaWg:`xpl5ynk`,$$css:!0},triggerPressable:{k7VYTy:`xpdipgo`,kfSwDN:`x87ps6o`,$$css:!0},dropdown:{kB7OPa:`x9f619`,k1xSpc:`x78zum5 x6ptruj`,kXwgrk:`xdt5ytf`,kOIVth:`x1lsbc85`,kI3sdo:`x1a2a7pz`,k7VYTy:`xpdipgo`,kfSwDN:`x87ps6o`,ks0D6T:`xc0b1yq`,kskxy:`x1uh1i8a`,\"--_dropdown-menu-radius\":`x1fcsqxe`,\"--_dropdown-menu-radius-top-left\":`xe8oyoz`,\"--_dropdown-menu-radius-top-right\":`x1u9pls2`,\"--_dropdown-menu-radius-bottom-right\":`x1vzu1ru`,\"--_dropdown-menu-radius-bottom-left\":`x1hdoyrq`,\"--_dropdown-menu-radius-start-start\":`xt5si22`,\"--_dropdown-menu-radius-start-end\":`xqi0wir`,\"--_dropdown-menu-radius-end-start\":`xix9rv`,\"--_dropdown-menu-radius-end-end\":`xoofv4m`,\"--_dropdown-menu-padding\":`xgory14`,kmVPX3:`x9epnlk`,kaIpWk:`x1n97fys`,kSiTet:`x1hc1fzr`,k1ekBW:`x19991ni`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,$$css:!0},scrollable:{kORKVm:`x1odjw0f`,kXHlph:`x6ikm8r`,kZeWKH:`xish69e`,$$css:!0},regionsFrame:{kB7OPa:`x9f619`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kskxy:`x1uh1i8a`,$$css:!0},menuInFrame:{kzQI83:`x1iyjqo2`,kmuXW:`xs83m0k`,kAzted:`x2lwn1j`,$$css:!0},popoverViewport:{kB7OPa:`x9f619`,kskxy:`x1uh1i8a`,$$css:!0},popoverMatchTrigger:{k7Eaqz:`xviorkc`,$$css:!0},popoverCustomWidth:e=>[{k7Eaqz:e==null?e:`xkj4a21`,$$css:!0},{\"--x-minWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],popoverCustomIntrinsicWidth:e=>[Fce,{\"--x-inlineSize\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]},Ice={kskxy:`x1jols5v`,$$css:!0},Lce={kskxy:`xbmfmqd`,$$css:!0},a7={menuMaxHeight:e=>[Ice,{\"--x-maxHeight\":(e=>typeof e==`number`?e+`px`:e??void 0)(`min(${e}, ${Kp.maxBlockSize})`)}],popoverViewportMaxBlockSize:e=>[Lce,{\"--x-maxBlockSize\":(e=>typeof e==`number`?e+`px`:e??void 0)(`min(${e}, ${Kp.maxBlockSize})`)}]},o7={content:{kzqmXN:`xh8yej3`,$$css:!0},rootHeading:{keTefX:`x6i7dpz`,$$css:!0},viewHeading:{kI3sdo:`x1a2a7pz`,$$css:!0}},s7=`@astryx.dropdownMenu.label`;function Rce(e,t){if(e==null)return;let n=e.ownerDocument;e.setAttribute(`popovertarget`,t);let r=()=>{n.removeEventListener(`pointerup`,r,!0),n.removeEventListener(`pointercancel`,r,!0),n.defaultView?.setTimeout(()=>{e.removeAttribute(`popovertarget`)},0)};n.addEventListener(`pointerup`,r,!0),n.addEventListener(`pointercancel`,r,!0)}function c7(e,t){return typeof e==`string`&&e.trim()!==``?e:t}function zce({button:e,renderTrigger:t,isMenuOpen:n,onOpenChange:r,onClick:i,hasChevron:a=!0,items:o,presentation:s,menuWidth:c,menuMaxHeight:l,placement:u,alignment:d,header:f,footer:p,className:m,style:h,xstyle:g,\"data-testid\":_,...v}){let y=nT(),x=e??{label:y(s7)},S=y(`@astryx.dropdownMenu.back`),w=(0,X.useRef)(null),T=Ff(),E=gx(w,T.ref,x.ref),D=(0,X.useId)(),O=(0,X.useId)(),k=(0,X.useRef)(null),A=(0,X.useRef)(`pointer`),{isFocusRingSuppressed:j,onFocusReturnTargetFocus:M,prepareFocusReturn:N,resetFocusReturn:P}=n7(T),F=(0,X.useRef)(null),I=(0,X.useRef)(0),[L,R]=(0,X.useState)(!1),[z,B]=(0,X.useState)([]),[V,H]=(0,X.useState)([]),ee=n!==void 0,U=ee?n:L,[te,W]=(0,X.useState)(U);te!==U&&(W(U),!U&&z.length>0&&(B([]),H([]))),(0,X.useEffect)(()=>{Q0()},[]);let[G,ne]=(0,X.useState)(void 0);b(()=>{t!=null&&U&&ne(PQ(w.current))},[t,U]);let re=(t==null?void 0:c7(v[`aria-label`],G))??x.label,ie=z.at(-1),K=ie?.items??o,q=ie?.label??re,ae=typeof q==`string`?q:V.at(-1)??re,oe=(0,X.useCallback)(e=>{e?P():(B([]),H([]),N()),r?.(e),ee||R(e)},[ee,r,N,P]),se=(0,X.useCallback)((e,t)=>{e.isDisabled||(e.onClick?.(t),e.hasCloseOnSelect!==!1&&oe(!1))},[oe]),ce=x.isIconOnly===!0,le=x.endContent??(a&&!ce?(0,Z.jsx)(XT,{icon:`chevronDown`,size:`sm`,color:`inherit`}):void 0);(0,X.useEffect)(()=>{if(!U||A.current!==`keyboard`)return;let e=()=>k.current?.querySelector(`button:not(:disabled), a[href]`)??null,t=null,n=requestAnimationFrame(()=>{let r=e();r==null?(t=new MutationObserver(()=>{let r=e();r!=null&&(t?.disconnect(),t=null,n=requestAnimationFrame(()=>{r.focus({preventScroll:!0})}))}),t.observe(document.body,{childList:!0,subtree:!0})):r.focus({preventScroll:!0})});return()=>{cancelAnimationFrame(n),t?.disconnect()}},[ie,U]),(0,X.useEffect)(()=>{if(!U){I.current=0;return}if(z.length===I.current)return;I.current=z.length;let e=requestAnimationFrame(()=>{F.current?.focus({preventScroll:!0})});return()=>cancelAnimationFrame(e)},[U,z.length]);let J=()=>{A.current=`pointer`},ue=e=>{(e.key===`ArrowDown`||e.key===`Enter`||e.key===` `)&&(A.current=`keyboard`)},de=e=>{e.currentTarget.matches(`:disabled, [aria-disabled=\"true\"]`)||(i?.(),oe(!U))},fe=(0,Z.jsx)(NC,{ref:F,level:3,tabIndex:-1,xstyle:[o7.viewHeading,z.length===0&&[o7.rootHeading,o2.headingAlone]],children:q}),pe=T.ref,me=(0,X.useCallback)(e=>{w.current=e,pe(e)},[pe]);return(0,Z.jsxs)(Z.Fragment,{children:[t==null?(0,Z.jsx)(IO,{...x,ref:E,xstyle:[U&&i7.triggerOpen,x.xstyle,j&&iS.suppressed],tooltip:U?void 0:x.tooltip,endContent:le,onPointerDown:e=>{x.onPointerDown?.(e),J()},onKeyDown:e=>{x.onKeyDown?.(e),ue(e)},onFocus:e=>{x.onFocus?.(e),M()},onClick:de,\"aria-haspopup\":`dialog`,\"aria-expanded\":U,\"data-testid\":_}):t({ref:me,id:D,onClick:de,onClickCapture:()=>{},onPointerDown:J,onContextMenu:()=>{},onKeyDown:ue,onFocus:M,\"aria-haspopup\":`dialog`,\"aria-expanded\":U,\"aria-controls\":O}),(0,Z.jsx)(r2,{isOpen:U,onOpenChange:oe,finalFocusRef:w,label:ae,children:(0,Z.jsxs)(`div`,{ref:k,id:O,...v,...Q(Y(`dropdown-menu`,{presentation:`bottom-sheet`}),C(o7.content,o2.content,g),m,h),children:[z.length>0?(0,Z.jsxs)(`div`,{className:`x78zum5 x1q0g3np x6s0dn4 xzye2dw x1p37lm5`,children:[(0,Z.jsx)(IO,{label:S,variant:`ghost`,size:`sm`,icon:(0,Z.jsx)(XT,{icon:`chevronLeft`,size:`sm`,xstyle:$L.mirror}),isIconOnly:!0,onClick:()=>{B(e=>e.slice(0,-1)),H(e=>e.slice(0,-1))}}),fe]}):fe,bO(f)&&(0,Z.jsx)(`div`,{className:`xrrkdod xce4md1`,children:f}),(0,Z.jsx)(a2,{items:K,onSelect:se,onOpenSubmenu:(e,t)=>{B(t=>[...t,e]),H(e=>[...e,t])}}),bO(p)&&(0,Z.jsx)(`div`,{className:`xrrkdod xce4md1`,children:p})]})})]})}function Bce({button:e,renderTrigger:t,isMenuOpen:n,onOpenChange:r,menuWidth:i,menuMaxHeight:a,onClick:o,hasChevron:s=!0,placement:c=`below`,alignment:l=`start`,presentation:u,pressTouchModel:d=`uikit`,header:f,footer:p,className:m,style:h,xstyle:g,\"data-testid\":_,...v}){let y=nT(),x=e??{label:y(s7)},S=(`items`in v?v.items:void 0)??[],w=v.children,{items:T,children:E,...D}=v,O=(0,X.useId)(),k=(0,X.useId)(),A=x.size??`md`,M=(0,X.useRef)(null),[N,P]=(0,X.useState)(void 0),[F,I]=(0,X.useState)(!1),L=n!==void 0,R=L?n:F,z=(0,X.useRef)(!1),B=(0,X.useRef)(!1),V=(0,X.useRef)(!1),H=(0,X.useRef)(!1),ee=(0,X.useRef)(null),U=Ff(),{isFocusRingSuppressed:te,onFocusReturnTargetFocus:W,prepareFocusReturn:G,resetFocusReturn:ne}=n7(U),re=(0,X.useRef)(null),ie=(0,X.useRef)(null),K=(0,X.useMemo)(()=>bO(f)||bO(p),[f,p]),[q,ae]=(0,X.useState)(!1),oe=(0,X.useRef)(()=>{}),se=(0,X.useRef)(()=>{}),ce=(0,X.useRef)(null),le=(0,X.useRef)(null),J=(0,X.useRef)(()=>{}),ue=(0,X.useCallback)(()=>{let e=ee.current;if(!e)return;let t=[...e.querySelectorAll(`[popover]`)].reverse();for(let e of t)if(typeof e.hidePopover==`function`)e.matches(`:popover-open`)&&e.hidePopover();else if(e.style.display===`block`){e.style.display=`none`;let t=new Event(`toggle`,{bubbles:!1});Object.defineProperty(t,\"newState\",{value:`closed`,configurable:!0}),e.dispatchEvent(t)}},[]),de=(0,X.useCallback)(()=>{ce.current?.(),ce.current=null,ue(),H.current?H.current=!1:(oe.current(),V.current=!1,r?.(!1),L||I(!1))},[ue,L,r]),fe=(0,X.useCallback)(e=>{e===M.current&&G(),KA(e)},[G]),pe=(0,X.useRef)(!1),me=(0,X.useRef)(`keyboard`),he=(0,X.useRef)(!1),ge=(0,X.useRef)(!1),_e=(0,X.useCallback)(e=>{ge.current=e},[]),ve=(0,X.useCallback)(()=>{B.current=!1,V.current=!1,me.current=`keyboard`,pe.current=!1,he.current=!1},[]);b(()=>{t!=null&&K&&N==null&&P(PQ(M.current))},[t,K,N]);let ye=(0,X.useCallback)(()=>{z.current=!0,J.current(),se.current(),ne(),t!=null&&P(PQ(M.current)),B.current&&(B.current=!1,o?.()),r?.(!0),L||I(!0)},[L,o,r,t,ne]),be=t==null?typeof x.label==`string`?x.label:void 0:c7(D[`aria-label`],N),xe=Pce({restoreFocusTo:fe,onHide:de,onShow:ye,hasLightDismiss:!0,ownsOutsidePan:!0,hasCloseButton:!1,hasAutoFocus:!1,role:K?`dialog`:`none`,dialogLabel:K?be??y(s7):void 0,xstyle:yx[c],onOpenPendingChange:_e}),Se=(0,X.useCallback)(()=>{ge.current&&ve(),xe.hide()},[xe,ve]),{listRef:Ce,handleKeyDown:we,focusFirst:Te,focusLast:Ee,focusItem:De,ownsEvent:Oe,getItems:ke}=j2({itemSelector:AQ,reachesDisabledItems:!0,boundarySelector:jQ,wrap:!0,hasPaging:!0,onEscape:Se}),Ae=Q2({getItemLabels:()=>ke().map(e=>e.textContent),onMatch:De,getCurrentIndex:()=>ke().findIndex(e=>e===document.activeElement||e.contains(document.activeElement))}),je=(0,X.useRef)(L&&n===!0);b(()=>{L&&(n?(V.current=!1,xe.isOpen||(pe.current=!je.current,xe.show())):(je.current=!1,xe.isOpen?(H.current=V.current,V.current=!1,xe.hide()):ge.current&&!V.current&&(ve(),xe.hide())))},[n,L,xe,ve]),(0,X.useEffect)(()=>{xe.isOpen&&pe.current&&(pe.current=!1,requestAnimationFrame(()=>{let e=he.current?Ee:Te;he.current=!1;let t=me.current===`pointer`,n=Ce.current,r=n?.ownerDocument.activeElement;t&&r!=null&&r!==n&&n?.contains(r)===!0||!t&&e()||n?.focus(),me.current=`keyboard`}))},[xe.isOpen,Te,Ee,Ce]),ru(se,(0,X.useCallback)(()=>{ce.current?.();let e=d===`uikit`?Ce.current?.closest(`[popover]`):null;ce.current=e==null?null:jA(e,{entrance:xe.contentRef.current??e})},[Ce,d,xe.contentRef])),(0,X.useEffect)(()=>()=>{ce.current?.(),ce.current=null},[]);let Me=(0,X.useCallback)((e,t=!1)=>{w2(e,Ce.current,re.current,ie.current,t)},[Ce]),Ne=(0,X.useCallback)(e=>{if(!Oe(e))e.key===`Tab`&&(K?Me(e,!0):Se());else if(e.key===`Enter`||e.key===` `){if(e.preventDefault(),e.repeat)return;let t=document.activeElement;t&&OQ.has(t.getAttribute(`role`)??``)&&EQ(t,e)}else if(e.key===`Tab`){if(K){Me(e);return}Se()}else Ae.onKeyDown(e)?e.preventDefault():we(e)},[we,Se,Ae,Oe,K,Me]),Pe=(0,X.useCallback)(e=>{e.key===`Tab`&&Me(e)},[Me]),Fe=(0,X.useCallback)((e=`keyboard`,t=!1)=>M.current?.matches(`:disabled, [aria-disabled=\"true\"]`)===!0?(ve(),`refused`):(z.current=!1,B.current=t,V.current=L,me.current=e,pe.current=!0,xe.show(),z.current?`open`:ge.current?`pending`:(ve(),`refused`)),[L,xe,ve]),Ie=L?n===!0:xe.isOpen;ru(J,(0,X.useCallback)(()=>{let e=le.current;le.current=null,e!=null&&e.gesture===Sp()&&Ep()&&Rce(M.current,xe.id)},[xe.id]));let Le=(0,X.useCallback)(e=>{if(Ie)return e===`mouse`&&(o?.(),L?r?.(!1):xe.hide()),!1;M.current!=null&&GA(M.current,{preventScroll:!0}),le.current={gesture:Sp()};let t=Fe(`pointer`,!0)===`open`,n=Ce.current?.closest(`[popover]`);return t&&e===`mouse`&&td(n)&&Dp(n,{releaseTarget:M.current}),t},[Ie,L,Ce,o,r,Fe,xe]),Re=pQ({menuRef:Ce,triggerRef:M,itemSelector:kQ,onTriggerPress:Le,onDismiss:Se,longPressDelayMs:d===`pointer`?_Q:void 0});ru(oe,Re.cancel);let ze=(0,X.useCallback)(e=>{if(Re.isTriggerClickFromPress())return;let t=e.detail===0?`keyboard`:`pointer`;L?n?(o?.(),r?.(!1)):Fe(t,!0):xe.isOpen?(o?.(),xe.hide()):Fe(t,!0)},[Re,o,L,r,n,xe,Fe]),Be=(0,X.useCallback)(e=>{let t=e.currentTarget;t.hasAttribute(`popovertarget`)&&(e.preventDefault(),t.removeAttribute(`popovertarget`))},[]),Ve=(0,X.useCallback)(e=>{if(xe.isOpen)e.key===`ArrowDown`&&(e.preventDefault(),Te()||Ce.current?.focus());else if(e.key===`ArrowDown`||e.key===`ArrowUp`||e.key===`Enter`||e.key===` `){if(e.preventDefault(),e.repeat)return;he.current=e.key===`ArrowUp`,Fe()}},[xe.isOpen,Fe,Te,Ce]),He=x.isIconOnly===!0,Ue=x.endContent??(s&&!He?(0,Z.jsx)(XT,{icon:`chevronDown`,size:`sm`,color:`inherit`}):void 0),We=i?r4(i,Kp.maxInlineSizeFallback):null,Ge=We?We.property===`inlineSize`?i7.popoverCustomIntrinsicWidth(We.value):i7.popoverCustomWidth(We.value):i7.popoverMatchTrigger,{drillIn:Ke,wrapContent:qe}=y4(R),Je=(0,X.useRef)(null),[Ye,Xe]=(0,X.useState)(0),Ze=(0,X.useCallback)(e=>{Je.current=e,e!=null&&Xe(e=>e+1)},[]),Qe=(0,X.useMemo)(()=>({getElement:()=>Ye>0?Je.current:null}),[Ye]),$e=a==null?null:`${a}px`,et=(0,X.useMemo)(()=>({closeMenu:Se,menuSize:A,drillIn:Ke,menuLabel:be}),[Se,A,Ke,be]),tt=(0,X.useMemo)(()=>({host:Qe,ownerId:O,menuMaxHeight:$e??void 0}),[Qe,O,$e]),nt=qe(v.items===void 0?w:_4(S)),rt=$2(Ce,nt,xe.isOpen),it=(0,Z.jsx)(`div`,{ref:Ze,\"data-astryx-submenu-host\":``,className:`xjp7ctv`}),at=e=>K?(0,Z.jsxs)(`div`,{...C(i7.regionsFrame,$e!=null&&a7.menuMaxHeight($e)),children:[bO(f)&&(0,Z.jsx)(`div`,{ref:re,onKeyDown:Pe,className:`x2lah0s x9epnlk x6ptruj`,children:f}),e,bO(p)&&(0,Z.jsx)(`div`,{ref:ie,onKeyDown:Pe,className:`x2lah0s x9epnlk x6ptruj`,children:p}),it]}):(0,Z.jsxs)(Z.Fragment,{children:[e,it]}),ot=xe.triggerRef,st=U.ref,ct=(0,X.useCallback)(e=>{M.current=e,ot(e),st(e)},[ot,st]),lt=x.ref,ut=(0,X.useCallback)(e=>{ct(e),typeof lt==`function`?lt(e):lt&&(lt.current=e)},[ct,lt]),dt={ref:ct,id:k,onClick:ze,onClickCapture:Be,onPointerDown:Re.triggerProps.onPointerDown,onContextMenu:Re.triggerProps.onContextMenu,onKeyDown:Ve,onFocus:()=>{},\"aria-haspopup\":K?`dialog`:`menu`,\"aria-expanded\":R,\"aria-controls\":K?xe.id:O};return(0,Z.jsxs)(Z.Fragment,{children:[t==null?(0,Z.jsx)(IO,{...x,ref:ut,xstyle:[i7.triggerPressable,R&&i7.triggerOpen,x.xstyle,te&&iS.suppressed],tooltip:R?void 0:x.tooltip,endContent:Ue,onClick:ze,onClickCapture:e=>{x.onClickCapture?.(e),Be(e)},onKeyDown:Ve,onPointerDown:e=>{x.onPointerDown?.(e),Re.triggerProps.onPointerDown(e)},onContextMenu:e=>{x.onContextMenu?.(e),Re.triggerProps.onContextMenu(e)},onFocus:e=>{x.onFocus?.(e),W()},\"aria-haspopup\":K?`dialog`:`menu`,\"aria-expanded\":R,\"aria-controls\":K?xe.id:O,\"data-testid\":_}):t(dt),xe.render(at((0,Z.jsx)(`div`,{...D,ref:e=>{Ce.current=e,ee.current=e?.closest(`[popover]`)??null},id:O,role:`menu`,tabIndex:rt||K?0:-1,\"aria-label\":t==null?x.label:D[`aria-label`],\"aria-labelledby\":t!=null&&D[`aria-label`]==null?k:D[`aria-labelledby`],onKeyDown:Ne,onFocus:e=>{D.onFocus?.(e),e.target===e.currentTarget&&ae(Lf(e.currentTarget)===`keyboard`)},...Re.menuProps,...Q(Y(`dropdown-menu`,{presentation:`popover`}),C(i7.dropdown,$e!=null&&a7.menuMaxHeight($e),rt?r7.scrolls:r7.fits,rt&&i7.scrollable,K&&i7.menuInFrame,K&&q&&iS.focusVisible,g),m,h),children:(0,Z.jsx)(u2,{value:et,children:(0,Z.jsx)(s2,{value:tt,children:(0,Z.jsx)(c2,{value:R,children:nt})})})})),{placement:c,alignment:l,offset:j[`--spacing-1`],xstyle:[i7.popoverViewport,$e!=null&&a7.popoverViewportMaxBlockSize($e),Ge]})]})}function l7(e){let{onOpenChange:t}=e;OC(`DropdownMenu`,\"`button` and `renderTrigger` are mutually exclusive: the menu hangs off one control. `renderTrigger` wins; drop `button`.\",e.button!=null&&e.renderTrigger!=null);let n=S4(`items`in e?e.presentation??`popover`:`popover`),r=e.isMenuOpen!==void 0,[i,a]=(0,X.useState)(!1),o=r?e.isMenuOpen:i,s=(0,X.useCallback)(e=>{t?.(e),r||a(e)},[r,t]),c={...e,isMenuOpen:o,onOpenChange:s};return n===`bottom-sheet`&&`items`in e&&e.items!==void 0?(0,Z.jsx)(_E,{value:null,children:(0,Z.jsx)(zce,{...c,presentation:`bottom-sheet`})}):(0,Z.jsx)(_E,{value:null,children:(0,Z.jsx)(Bce,{...c,presentation:`popover`,pressTouchModel:e.presentation===`popover`?`pointer`:`uikit`})})}l7.displayName=`DropdownMenu`,pr(),iT(),vr(),Ww({\"@astryx.moreMenu.label\":`More options`});function u7({items:e,label:t,variant:n=`ghost`,size:r,icon:i,isDisabled:a=!1,placement:o,alignment:s,presentation:c,isMenuOpen:l,onOpenChange:u,xstyle:d,className:f,style:p,\"data-testid\":m,ref:h,...g}){let _=nT(),v=t??_(`@astryx.moreMenu.label`),y=pE(r,`md`),b=KU(`moreHorizontal`);return(0,Z.jsx)(l7,{className:f?`${or(`more-menu`)} ${f}`:or(`more-menu`),xstyle:d,style:p,isMenuOpen:l,onOpenChange:u,placement:o,alignment:s,presentation:c,button:{...hr(g),label:v,icon:i??b,variant:n,size:y,isDisabled:a,tooltip:v,isIconOnly:!0,ref:h},items:e,hasChevron:!1,\"data-testid\":m})}u7.displayName=`MoreMenu`,ys();var d7=_s(`SideNavCollapseContext`,1,{isCollapsed:!1,toggle:()=>{},isCollapsible:!1});d7.displayName=`SideNavCollapseContext`;function f7(){return(0,X.use)(d7)}ys();var p7=_s(`SideNavFocusTargetsContext`,1,null);p7.displayName=`SideNavFocusTargetsContext`,D(),sE(),eR(),vx(),iT(),Ww({\"@astryx.sideNavCollapseButton.collapseSidebar\":`Collapse sidebar`,\"@astryx.sideNavCollapseButton.expandSidebar\":`Expand sidebar`});var m7={chevronMirror:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,$$css:!0},chevron:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,k1ekBW:`x11xpdln`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,$$css:!0},chevronCollapsed:{k3aq6I:`x19jd1h0`,$$css:!0}};function h7({ref:e,collapsible:t,handleRef:n,label:r,size:i,children:a,onClick:o,...s}){let c=nT(),{isCollapsed:l,toggle:u,isCollapsible:d}=Vce(t,n),{isMobile:f}=O5(),p=(0,X.use)(p7),m=p!=null&&t==null&&n==null,h=gx(e,(0,X.useCallback)(e=>e==null||!m||p==null?void 0:p.registerToggle(e),[p,m]));return!d||f?null:(0,Z.jsx)(IO,{ref:h,label:r??c(l?`@astryx.sideNavCollapseButton.expandSidebar`:`@astryx.sideNavCollapseButton.collapseSidebar`),variant:`ghost`,size:i,...s,onClick:_C(o,u),icon:a??(0,Z.jsx)(`span`,{...C(m7.chevronMirror,$L.mirror),children:(0,Z.jsx)(XT,{icon:`chevronLeft`,size:`sm`,color:`inherit`,xstyle:[m7.chevron,l&&m7.chevronCollapsed]})}),isIconOnly:!0})}h7.displayName=`SideNavCollapseButton`;function Vce(e,t){let n=f7(),{isCollapsed:r,onCollapsedChange:i}=e??{},a=(0,X.useCallback)(()=>i?.(!r),[r,i]),o=(0,X.useCallback)(()=>{t?.current?.getCollapseState()?.toggle()},[t]);if(e!=null)return{isCollapsed:r??!1,toggle:a,isCollapsible:!0};if(t==null)return n;let s=t.current?.getCollapseState()??null;return{isCollapsed:s?.isCollapsed??!1,toggle:o,isCollapsible:s?.isCollapsible??!0}}D(),G(),oS(),eR(),vr(),MC(),au(),x(),vx(),Hf(),iT(),Ww({\"@astryx.resizable.collapsed\":`Collapsed`,\"@astryx.resizable.handle.label\":`Resize handle`});function Hce(e,t,n){if(e!==`auto`)return e;let r=t?`end`:`start`;return n?r===`start`?`end`:`start`:r}var g7={handle:{kVAEAm:`x1n2onr6`,kY2c9j:`xhtitgo`,kmuXW:`x2lah0s`,k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kWkggS:`x1m4xfpy`,k1ekBW:`x15406qy`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,$$css:!0},overlay:{kVAEAm:`x10l6tqk`,kY2c9j:`xhtitgo`,kWkggS:`xjbqb8w`,$$css:!0},overlayHorizontal:{kt4wiu:`xtijo5x`,k87sOh:`x13vifvy`,krVfgx:`x1ey2m1c`,kzqmXN:`xkhob8h`,$$css:!0},overlayVertical:{krVfgx:`x1ey2m1c`,kLqNvP:`x1o0tod`,kt4wiu:`xtijo5x`,kZKoxP:`x5kfih4`,$$css:!0},overlayHorizontalOnShortPane:{kzqmXN:`x1a4a7d3`,$$css:!0},overlayVerticalOnShortPane:{kZKoxP:`xcuarzx`,$$css:!0},horizontal:{kzqmXN:`x1i1rx1s`,kZKoxP:`x5yr21d`,kkrTdU:`xicojor x16khyan`,$$css:!0},vertical:{kZKoxP:`xjm9jq1`,kzqmXN:`xh8yej3`,kkrTdU:`xyozgr7 x16khyan`,$$css:!0},noDividerHorizontal:{kWkggS:`xjbqb8w`,kzqmXN:`xnalus7`,$$css:!0},noDividerVertical:{kWkggS:`xjbqb8w`,kZKoxP:`xqtp20y`,$$css:!0},handleHover:{kWkggS:`x1m4xfpy`,$$css:!0},handleActive:{kWkggS:`x7njt3n`,$$css:!0},disabled:{kkrTdU:`xt0e3qv`,kfzvcC:`x47corl`,$$css:!0},hitArea:{kVAEAm:`x10l6tqk`,kY2c9j:`x1vjfegm`,kFalU9:`x5ve5x3`,kfSwDN:`x87ps6o`,$$css:!0},hitAreaHorizontal:{kzqmXN:`x12xnipv`,k87sOh:`x13vifvy`,krVfgx:`x1ey2m1c`,kkrTdU:`xicojor x16khyan`,$$css:!0},hitAreaVertical:{kZKoxP:`x6b6gus`,kLqNvP:`x1o0tod`,kt4wiu:`xtijo5x`,kkrTdU:`xyozgr7 x16khyan`,$$css:!0},hitAreaCenteredY:{k87sOh:`xwa60dl`,k3aq6I:`x1cb1t30`,$$css:!0},hitAreaWithinHandleX:{kzqmXN:`x5wh7xo`,$$css:!0},hitAreaWithinHandleY:{kZKoxP:`x1tvnn7s`,$$css:!0},pill:{kVAEAm:`x10l6tqk`,kY2c9j:`xhtitgo`,kFalU9:`x5ve5x3`,kfSwDN:`x87ps6o`,kaIpWk:`xjspbzw`,kWkggS:`x1m4xfpy`,k1ekBW:`x1wbls7o`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,k87sOh:`xwa60dl`,$$css:!0},pillGrabHorizontal:{kkrTdU:`xicojor x16khyan`,$$css:!0},pillGrabVertical:{kkrTdU:`xyozgr7 x16khyan`,$$css:!0},pillHorizontal:{kzqmXN:`x1g8rjiy`,kZKoxP:`x18to7ep`,$$css:!0},pillVertical:{kzqmXN:`xgc8j7m`,kZKoxP:`xuoj239`,$$css:!0},pillHidden:{kSiTet:`xg01cxk`,kfzvcC:`x47corl`,$$css:!0},pillVisible:{kSiTet:`x1hc1fzr`,$$css:!0},pillHover:{kSiTet:`x1hc1fzr`,kfzvcC:`x67bb7w`,kWkggS:`x1m4xfpy`,$$css:!0},pillActive:{kSiTet:`x1hc1fzr`,kfzvcC:`x67bb7w`,kWkggS:`x7njt3n`,$$css:!0},pillBridgeRight:{kgeoSG:`x1cpjm7i`,kEoFBp:`x1hmns74`,kGOzcv:`x1nc033x`,kSJ0CW:`x1682cnc x7my30s`,koaPKo:`x5ig7ga x3k25x4`,$$css:!0},pillBridgeLeft:{kgeoSG:`x1cpjm7i`,kEoFBp:`x1hmns74`,kGOzcv:`x1nc033x`,kSJ0CW:`x1vl71nl xnx00js`,koaPKo:`xtyp5od x17kcdp5`,$$css:!0},pillBridgeDown:{kgeoSG:`x1cpjm7i`,kEoFBp:`x1hmns74`,kpsdNU:`xm4btww`,k96MEf:`x1y3wzot`,k5Ofw7:`xxgnp13`,$$css:!0},pillBridgeUp:{kgeoSG:`x1cpjm7i`,kEoFBp:`x1hmns74`,kpsdNU:`xm4btww`,k96MEf:`x1phjwh8`,k5Ofw7:`xhq5o37`,$$css:!0}},Uce={kzqmXN:`x5lhr3w`,$$css:!0},Wce={kZKoxP:`x16ye13r`,$$css:!0},Gce={kLqNvP:`x1o0tod`,k3aq6I:`xsqj5wx`,$$css:!0},Kce={k87sOh:`x13vifvy`,k3aq6I:`xsqj5wx`,$$css:!0},_7={hitAreaLengthX:e=>[Uce,{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(`min(${j[`--spacing-4`]}, ${e}px)`)}],hitAreaLengthY:e=>[Wce,{\"--x-height\":(e=>typeof e==`number`?e+`px`:e??void 0)(`min(${j[`--spacing-4`]}, ${e}px)`)}],pillOffsetX:e=>[Gce,{\"--x-transform\":`translate(calc(${e} * (100% + ${j[`--spacing-1`]})), -50%)`==null?void 0:`translate(calc(${e} * (100% + ${j[`--spacing-1`]})), -50%)`}],pillOffsetY:e=>[Kce,{\"--x-transform\":`translate(-50%, calc(${e} * (100% + ${j[`--spacing-1`]})))`==null?void 0:`translate(-50%, calc(${e} * (100% + ${j[`--spacing-1`]})))`}]};function v7({direction:e=`horizontal`,position:t=`inline`,isReversed:n=!1,isDisabled:r=!1,hasDivider:i=!1,isAlwaysVisible:a=!0,pillPlacement:o=`auto`,label:s,resizable:c,children:l,xstyle:u,className:d,ref:f,...p}){let m=c==null?void 0:NR(c),h=nT(),g=s??h(`@astryx.resizable.handle.label`),_=(0,X.useRef)(null),[v,y]=(0,X.useState)(!1),[x,S]=(0,X.useState)(!1),w=e===`horizontal`,T=t===`overlay`,E=nu(m),D=(0,X.useRef)(void 0),O=nu({direction:e,isReversed:n,isDisabled:r}),[k,A]=(0,X.useState)(!1),[j]=(0,X.useState)(()=>$R(()=>_.current,{state(){let e=E.current;return{size:e?._size??0,isCollapsed:e?._isCollapsed??!1,minPx:e?._minSizePx??0,maxPx:e?._maxSizePx??1/0,snaps:e?._snaps??[],collapsedSize:e?._collapsedSize??0,collapsible:e?._collapsible??!1}},start:()=>{D.current=E.current,E.current?._onResizeStart()},move:e=>E.current?._onResizeMove(e),end:e=>{let t=E.current??D.current;D.current=void 0,t!=null&&IR(t,e??0)},cancel:()=>{let e=E.current??D.current;D.current=void 0,e?._onResizeCancel?.()},get collapse(){let e=E.current;return e?FR(e)?.collapse:void 0},get expand(){let e=E.current;return e?FR(e)?.expand:void 0}},()=>({...O.current,isDisabled:O.current.isDisabled||E.current==null}),e=>{A(e);let t=E.current;t!=null&&XV(t)?.setPointerDragging(e)})),M=m==null?null:j,N=m?._isCollapsed??!1,P=Hce(o,n,N),F=m?._size,I=N||F==null||F<=0?void 0:F,L=v||x,R=m?._direction;OC(`ResizeHandle`,`direction=\"${e}\" but its useResizable region is \"${R}\". They must match: the hook measures one axis and the handle drags the other.`,R!=null&&R!==e);let z=m!=null;(0,X.useEffect)(()=>{if(z)return()=>{j.interrupt()}},[z,j]);let{ref:B}=Ff(),[,V]=(0,X.useReducer)(e=>e+1,0),H=(0,X.useRef)(null),ee=(0,X.useCallback)(e=>{if(e==null)return;let t=VV(e);return()=>{t(),H.current=GV(H.current,null,null,!1,null)}},[]),U=m?._isCollapsed??!1;(0,X.useEffect)(()=>z?UV(V):void 0,[z]),b(()=>{let e=_.current,t=z&&e!=null?WV(e,n):null;H.current=GV(H.current,t,null,U,e)});let te=m?._size,W=m?._minSizePx,G=m?PR(m)??(m._maxSizePx===1/0?void 0:m._maxSizePx):void 0,ne=iH({direction:e,isDisabled:r,value:te==null||W==null?void 0:{size:te,minPx:W,maxPx:G,isCollapsed:N,collapsedText:h(`@astryx.resizable.collapsed`)}}),re={onPointerDown:e=>{r||M?.pointerDown(e)},onPointerMove:e=>M?.pointerMove(e),onPointerUp:e=>M?.pointerUp(e),onPointerCancel:e=>M?.pointerCancel(e),onLostPointerCapture:e=>M?.pointerCancel(e),onPointerEnter:()=>y(!0),onPointerLeave:()=>{k||y(!1)}};return(0,Z.jsxs)(`div`,{ref:gx(f,_,ee,B),role:`separator`,...ne,\"aria-label\":g,onDoubleClick:()=>{r||M?.doubleClick()},onFocus:()=>S(!0),onBlur:()=>S(!1),\"data-resizing\":k||void 0,...Q(Y(`resize-handle`),aS.focusVisible(g7.handle,T&&g7.overlay,T&&(w?g7.overlayHorizontal:g7.overlayVertical),T&&I!=null&&(w?g7.overlayHorizontalOnShortPane:g7.overlayVerticalOnShortPane),!T&&(w?g7.horizontal:g7.vertical),!T&&!i&&(w?g7.noDividerHorizontal:g7.noDividerVertical),!T&&i&&L&&!k&&g7.handleHover,!T&&i&&k&&g7.handleActive,r&&g7.disabled,u),d),...p,onKeyDown:e=>{p.onKeyDown?.(e),r||M?.keyDown(e)},children:[(0,Z.jsx)(`div`,{...C(g7.hitArea,w?g7.hitAreaHorizontal:g7.hitAreaVertical,w?$L.centerInline(`0px`):g7.hitAreaCenteredY,T&&(w?g7.hitAreaWithinHandleX:g7.hitAreaWithinHandleY),!T&&I!=null&&(w?_7.hitAreaLengthX(I):_7.hitAreaLengthY(I)),r&&g7.disabled),...re}),l??(0,Z.jsx)(`div`,{...Q(Y(`resize-handle-pill`),C(g7.pill,w?g7.pillHorizontal:g7.pillVertical,P===`center`?$L.centerInline(`-50%`):w?_7.pillOffsetX(P===`start`?-1:1):_7.pillOffsetY(P===`start`?-1:1),w?g7.pillGrabHorizontal:g7.pillGrabVertical,a?g7.pillVisible:g7.pillHidden,!a&&P!==`center`&&(w?P===`start`?g7.pillBridgeRight:g7.pillBridgeLeft:P===`start`?g7.pillBridgeDown:g7.pillBridgeUp),L&&!k&&g7.pillHover,k&&g7.pillActive,r&&g7.disabled)),...re})]})}v7.displayName=`ResizeHandle`,D(),vr(),MC(),vx(),EH(),Lj(),FQ(),bj(),Hf(),iT(),xO(),Ww({\"@astryx.sideNav.label\":`Side navigation`,\"@astryx.sideNav.resizeSidebar\":`Resize sidebar`});var qce=160;function Jce(e,t){let n=typeof e==`object`?e:{},r=typeof t==`object`?t:{},i=r.defaultIsCollapsed!==void 0||r.isCollapsed!==void 0||r.onCollapseChange!==void 0;return{isCollapsible:!!e||i,defaultIsCollapsed:(i?r.defaultIsCollapsed:n.defaultIsCollapsed)??!1,isCollapsed:i?r.isCollapsed:n.isCollapsed,onCollapsedChange:i?r.onCollapseChange:n.onCollapsedChange,conflict:Yce(n,r)}}function Yce(e,t){let n=[e.defaultIsCollapsed!==void 0&&`defaultIsCollapsed`,e.isCollapsed!==void 0&&`isCollapsed`,e.onCollapsedChange!==void 0&&`onCollapsedChange`].filter(e=>e!==!1),r=[t.defaultIsCollapsed!==void 0&&`defaultIsCollapsed`,t.isCollapsed!==void 0&&`isCollapsed`,t.onCollapseChange!==void 0&&`onCollapseChange`].filter(e=>e!==!1);return n.length===0||r.length===0?null:`${n.map(e=>`collapsible.${e}`).join(`, `)} and ${r.map(e=>`resizable.${e}`).join(`, `)} address the same collapse state. resizable wins; the collapsible ${n.length===1?`value is`:`values are`} ignored.`}function Xce(e,t){let n=typeof e==`object`?e:{},r=[n.defaultIsCollapsed!==void 0&&`defaultIsCollapsed`,n.isCollapsed!==void 0&&`isCollapsed`,n.onCollapsedChange!==void 0&&`onCollapsedChange`].filter(e=>e!==!1),i=t.props._collapsible??!1,a=[];return r.length>0&&a.push(`\\`collapsible\\` sets ${r.map(e=>`\\`${e}\\``).join(`, `)}, which the rail ignores: it follows the region.`),e!==void 0&&!!e!==i&&a.push(i?\"`collapsible` is false, but the region is collapsible, so the rail still collapses.\":\"`collapsible` turns collapse on, but the region is not collapsible, so the rail never collapses.\"),{isCollapsible:i,defaultIsCollapsed:t.isCollapsed,isCollapsed:void 0,onCollapsedChange:void 0,conflict:a.length===0?null:`\\`resizable\\` is useResizable's output, which owns the collapse state and decides whether the rail collapses. ${a.join(` `)}`}}var y7={root:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kZKoxP:`x5yr21d`,kzqmXN:`x1hfn5x7`,kWkggS:`xgcd1z6`,kB7OPa:`x9f619`,kVQacm:`xb3r6kr`,$$css:!0},rootCollapsed:{kzqmXN:`xhgvbfk`,$$css:!0},resizableHandle:{kInvED:`x1wfwxd8 x1l5jwag`,$$css:!0},topbar:{k1xSpc:`x78zum5`,kXwgrk:`x1q0g3np`,kGNEyG:`x6s0dn4`,kjj79g:`x1qughib`,kZKoxP:`xsdox4t`,kzqmXN:`xh8yej3`,kWkggS:`xgcd1z6`,kB7OPa:`x9f619`,kVQacm:`xb3r6kr`,$$css:!0}},b7=`sm`;function x7(e){let t=e?.timeline?.currentTime;return t==null?null:Number(t)}function S7({header:e,topContent:t,children:n,footer:r,footerIcons:i,collapsible:a,resizable:o=!1,xstyle:s,className:c,style:l,\"data-testid\":u,ref:d,handleRef:f,...p}){let m=nT(),h=a!==void 0&&a,g=(typeof h==`object`?h:{}).hasButton??!0,_=yH(o)?o:null,v=typeof o==`object`&&!yH(o)?o:{},y=!!o,b=_==null?Jce(h,!yH(o)&&o):Xce(a,_),{isCollapsible:x,onCollapsedChange:S}=b;OC(`SideNav`,b.conflict??``,b.conflict!=null);let w=(0,X.useRef)(null),T=(0,X.useId)(),E=p.id??T,{ref:D}=Ff(),O=(0,X.useRef)(null),k=(0,X.useRef)(null),A=(0,X.useRef)(!1),j=gx(d,w,D,(0,X.useCallback)(e=>{e!=null&&e!==k.current&&(k.current=e,O.current=x7(e.ownerDocument))},[])),M=(0,X.useRef)({isCollapsed:!1,toggle:()=>{},isCollapsible:x}),N=CH({defaultSize:v.defaultWidth??260,minSize:v.minWidth??180,maxSize:v.maxWidth??480,collapsible:x,collapsedSize:qce,autoSaveId:v.autoSaveId,defaultIsCollapsed:b.defaultIsCollapsed,isCollapsed:b.isCollapsed,onSizeChange:v.onWidthChange,onCollapseChange:S}),P=_??N,F=P.isCollapsed,I=(0,X.use)(F5),L=(0,X.useRef)(null),R=(0,X.useCallback)(()=>L.current??w.current,[]),z=(0,X.useMemo)(()=>bce(R),[R]),B=(0,X.useRef)(null),V=(0,X.useRef)(null),H=(0,X.useCallback)(e=>{let t=V.current,n=t?.rail.shown()??null;t?.rail.end(),t?.endContent(),V.current=null;let r=A.current;A.current=!1;let i=x7(w.current?.ownerDocument);if(!r&&(i==null||i===O.current)){B.current=null,I?.landContent();return}B.current=xce(I?.rail()??R(),I?.animatedLayout??z,n,e);let a=B.current;a!=null&&a.swap==null&&!e?I?.landContent():I?.beforeRailChange()},[I,z,R]);(0,X.useLayoutEffect)(()=>{let e=B.current;if(B.current=null,e==null)return;let t=I?.afterRailChange()??(()=>{});V.current={rail:Cce(e,I?.rail()??R(),I?.animatedLayout??z,I?.column()??null),endContent:t}},[F,I,z,R]),(0,X.useLayoutEffect)(()=>()=>{V.current?.rail.end(),V.current?.endContent()},[]);let ee=(0,X.useRef)(new Map),U=(0,X.useRef)(new Set),te=(0,X.useMemo)(()=>({registerRow:(e,t)=>(ee.current.set(e,t),()=>{ee.current.delete(e)}),registerToggle:e=>(U.current.add(e),()=>{U.current.delete(e)})}),[]),W=DH(F,e=>{let t=w.current,n=e?null:BA(t)??BA(L.current);if(n==null||t==null)return null;let r=T7(t,ee.current),i=-1;r.forEach((e,t)=>{e.contains(n.element)&&(i=t)});let a=null;if(i<0){let e=C7(t,r),i=e.findIndex(e=>e.contains(n.element));a=i<0?null:{name:w7(e[i])}}return{focus:n,outside:a,wasOnToggle:[...U.current].some(e=>e.contains(n.element)),isRowKept:i>=0&&ee.current.get(r[i])===!0,keptBefore:r.slice(0,Math.max(i,0)).filter(e=>ee.current.get(e)===!0).length}},(e,t)=>{let n=w.current;if(!t||n==null)return;let r=T7(n,ee.current),i=e=>e==null?void 0:eA(e)[0],a=[...U.current].find(e=>n.contains(e)),o;e.wasOnToggle?o=a:e.outside!=null&&(o=C7(n,r).find(t=>w7(t)===e.outside?.name));let s=e.isRowKept?i(r[e.keptBefore]):o??a??i(r[e.keptBefore-1])??i(r[e.keptBefore]);VA(e.focus,s)}),G=(0,X.useCallback)(e=>{W(e),H(e)},[W,H]),ne=(0,X.useCallback)(()=>{let e=!F;A.current=!0,M.current={...M.current,isCollapsed:e},e?P.collapse():P.expand()},[F,P]),re=y&&!F;M.current={isCollapsed:F,toggle:ne,isCollapsible:x};let ie={isCollapsed:F,toggle:ne,isCollapsible:x};(0,X.useImperativeHandle)(f,()=>({getCollapseState:()=>M.current}),[]);let K=P5();if(K===`topbar`)return(0,Z.jsxs)(`div`,{\"data-testid\":u,...Q(Y(`side-nav`,{mode:`topbar`}),C(y7.topbar,s),c,l),children:[e,(0,Z.jsx)(`div`,{className:`x78zum5 x6s0dn4 xzye2dw xvc5jky`,children:(0,Z.jsx)(mE,{value:b7,children:i})})]});let q=bO(r)||bO(i);if(K===`drawer`)return(0,Z.jsxs)(M5,{header:e,\"data-testid\":u,xstyle:s,className:c,style:l,...p,children:[t,n,q&&(0,Z.jsxs)(`div`,{className:`x78zum5 xdt5ytf xr1yuqi x1txdalj x1xye8es`,children:[r,bO(i)&&(0,Z.jsx)(`div`,{className:`x78zum5 x6s0dn4 xzye2dw`,children:(0,Z.jsx)(mE,{value:b7,children:i})})]})]});if(K===`drawer-content`)return(0,Z.jsxs)(Z.Fragment,{children:[t,n,q&&(0,Z.jsxs)(`div`,{className:`x78zum5 xdt5ytf xr1yuqi x1txdalj x1xye8es`,children:[r,bO(i)&&(0,Z.jsx)(`div`,{className:`x78zum5 x6s0dn4 xzye2dw`,children:(0,Z.jsx)(mE,{value:b7,children:i})})]})]});let ae=bO(e)||bO(t),oe=bO(r)||bO(i),se=x&&g,ce=y?{...l??{},width:F?void 0:P.size}:l,le=(0,Z.jsxs)(`nav`,{ref:j,role:`navigation`,\"aria-label\":m(`@astryx.sideNav.label`),\"data-testid\":u,...Q(Y(`side-nav`),C(y7.root,F&&y7.rootCollapsed,s),c,ce),...p,id:E,children:[ae&&(0,Z.jsxs)(`div`,{...{0:{className:`x78zum5 xdt5ytf x2lah0s x7wzq59 x13vifvy x1vjfegm xgcd1z6 x1xye8es x1wesfrj xf314gf x1txdalj`},1:{className:`x78zum5 xdt5ytf x2lah0s x7wzq59 x13vifvy x1vjfegm xgcd1z6 x1xye8es x1wesfrj xf314gf x1txdalj x6s0dn4`}}[!!F|0],children:[e,bO(t)&&(0,Z.jsx)(`div`,{children:t})]}),(0,Z.jsx)(`div`,{...{0:{className:`x98rzlu x1odjw0f x6ikm8r xf314gf x1xye8es x1wesfrj`},4:{className:`x98rzlu x1odjw0f x6ikm8r xf314gf x78zum5 xdt5ytf x6s0dn4 x1xye8es x1wesfrj`},2:{className:`x98rzlu x1odjw0f x6ikm8r xf314gf xfsso4q x1wesfrj`},6:{className:`x98rzlu x1odjw0f x6ikm8r xf314gf x78zum5 xdt5ytf x6s0dn4 xfsso4q x1wesfrj`},1:{className:`x98rzlu x1odjw0f x6ikm8r xf314gf x1xye8es xy143xn`},5:{className:`x98rzlu x1odjw0f x6ikm8r xf314gf x78zum5 xdt5ytf x6s0dn4 x1xye8es xy143xn`},3:{className:`x98rzlu x1odjw0f x6ikm8r xf314gf xfsso4q xy143xn`},7:{className:`x98rzlu x1odjw0f x6ikm8r xf314gf x78zum5 xdt5ytf x6s0dn4 xfsso4q xy143xn`}}[!!F<<2|!!ae<<1|!!oe],children:n}),(oe||se)&&(0,Z.jsxs)(`div`,{...{0:{className:`x78zum5 xdt5ytf x2lah0s xr1yuqi x7wzq59 x1ey2m1c xgcd1z6 x1txdalj xf314gf xfsso4q x1wesfrj`},1:{className:`x78zum5 xdt5ytf x2lah0s xr1yuqi x7wzq59 x1ey2m1c xgcd1z6 x1txdalj xf314gf x1wesfrj xexx8yu x6s0dn4`}}[!!F|0],children:[r,(se||bO(i))&&(0,Z.jsx)(`div`,{...{0:{className:`x78zum5 x6s0dn4 xzye2dw`},1:{className:`x78zum5 x6s0dn4 xzye2dw x3ieub6`}}[!!F|0],children:(0,Z.jsxs)(mE,{value:b7,children:[se&&(0,Z.jsx)(h7,{}),i]})})]})]}),J=y?(0,Z.jsxs)(`div`,{ref:L,className:`x1n2onr6 x78zum5 x2lah0s x5yr21d x7giv3`,children:[le,re&&(0,Z.jsx)(v7,{\"data-testid\":`astryx-sidenav-resize-handle`,direction:`horizontal`,position:`overlay`,pillPlacement:`end`,isAlwaysVisible:!1,xstyle:y7.resizableHandle,resizable:_??N.props,label:m(`@astryx.sideNav.resizeSidebar`),\"aria-controls\":E})]}):le,ue=(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(TH,{value:F,onBeforeChange:G}),J]});return x?(0,Z.jsx)(p7,{value:te,children:(0,Z.jsx)(d7,{value:ie,children:ue})}):ue}function C7(e,t){return eA(e).filter(e=>!t.some(t=>t.contains(e)))}function w7(e){return PQ(e)??``}function T7(e,t){return[...t.keys()].filter(t=>e.contains(t)&&t.closest(`[popover]`)==null).sort((e,t)=>e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}S7.displayName=`SideNav`;var E7={item:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kOIVth:`x1txdalj`,kzqmXN:`xh8yej3`,kAzted:`x1uogy3y`,kg3NbH:`xf314gf`,k8WAf4:`xt970qd`,kaIpWk:`xh6dtrn`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kWkggS:`xjbqb8w`,kMwMTN:`x1tgivj0`,kybGjl:`x1hl2dhg`,kkrTdU:`x1ypdohk x16khyan`,kMv6JI:`xjb2p0i`,kGuDYH:`xcr08ib`,k63SB2:`x1sodnla`,kLWn49:`x1kq96og`,k9WMMc:`x1yc453h`,kB7OPa:`x9f619`,$$css:!0},selected:{kWkggS:`x17x4s8c x1jzqe4`,kMwMTN:`x1k5gbb1`,k63SB2:`x1e4wzip`,kRL5z6:`xcu6dpe x1d42zcn`,kSReZ0:`xjtnuge x1vo6n7o`,kNWwhB:`x7qqc7o x1r4mieh`,kCVruK:`x1bev2v5`,kjMJ7V:`xf3x42i x1pjcgc3`,kSPMfz:`x524tya`,$$css:!0},disabled:{kMwMTN:`xnbbluu`,kkrTdU:`xt0e3qv`,kfzvcC:`x47corl`,$$css:!0},sm:{kAzted:`x1gdqauq`,kg3NbH:`x7a5moj`,$$css:!0},md:{kAzted:`x1uogy3y`,kg3NbH:`xf314gf`,$$css:!0},lg:{kAzted:`x1xf4nls`,kg3NbH:`xf314gf`,$$css:!0}};MQ();function Zce(e){let{closeMobileNav:t}=O5();return n=>e?(...e)=>{n?.(...e),Qce(e[0])||t()}:n}function Qce(e){let t=e;return t?.currentTarget?.hasAttribute?.(`href`)===!0&&TQ(t)&&!t.defaultPrevented}D(),G(),sE(),iO(),Xx(),oS(),cO(),vO(),vr(),ZN(),vx(),iT(),xO(),ys(),Ww({\"@astryx.sideNavItem.collapse\":`Collapse {label}`,\"@astryx.sideNavItem.expand\":`Expand {label}`,\"@astryx.sideNavItem.submenuLabel\":`{label} submenu`});var D7={root:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kzqmXN:`xh8yej3`,$$css:!0},itemCollapsed:{kjj79g:`xl56j7k`,kzqmXN:`x805d0l`,kZKoxP:`x1ueg155`,kg3NbH:`xnjsko4`,$$css:!0},itemCollapsedSm:{kzqmXN:`x1fvqzum`,kZKoxP:`x6k0iem`,$$css:!0},itemCollapsedLg:{kzqmXN:`x1m747yf`,kZKoxP:`xssyfek`,$$css:!0},expandChevron:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kzqmXN:`x1mtvzj0`,kZKoxP:`xvpftlf`,kGuDYH:`x1qlqyl8`,k1ekBW:`x11xpdln`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,kmuXW:`x2lah0s`,$$css:!0},expandChevronInRow:{kZKoxP:`xt7dq6l`,$$css:!0},expandChevronExpanded:{k3aq6I:`x19jd1h0`,$$css:!0},expandToggle:{kzqmXN:`x1fvqzum`,kZKoxP:`x6k0iem`,k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,kmVPX3:`x1717udv`,kogj98:`x1ghz6dp`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kWkggS:`xjbqb8w`,kMwMTN:`x1heor9g`,kkrTdU:`x1ypdohk x16khyan`,kaIpWk:`xh6dtrn`,$$css:!0},splitAction:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kSGwAc:`xkh2ocl`,kOIVth:`x1txdalj`,kUk6DE:`x98rzlu`,k7Eaqz:`xeuugli`,kMwMTN:`x1heor9g`,kybGjl:`x1hl2dhg`,kmVPX3:`x1717udv`,kogj98:`x1ghz6dp`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kWkggS:`xjbqb8w`,kMv6JI:`xjb2p0i`,kGuDYH:`x1qlqyl8`,k63SB2:`x1pd3egz`,kLWn49:`x15bjb6t`,k9WMMc:`x1yc453h`,kkrTdU:`x1ypdohk x16khyan`,$$css:!0},popoverGap:{keTefX:`x11g1kdw`,k71WvV:`xnur1sd`,$$css:!0}},$ce={kZCmMZ:`xnvo3vl`,$$css:!0},ele={kZCmMZ:`xnvo3vl`,$$css:!0},tle={kZCmMZ:`xnvo3vl`,$$css:!0},O7={sm:e=>[$ce,{\"--x-paddingInlineStart\":(e=>typeof e==`number`?e+`px`:e??void 0)(`calc(${j[`--spacing-1`]} + ${e} * ${j[`--spacing-6`]})`)}],md:e=>[ele,{\"--x-paddingInlineStart\":(e=>typeof e==`number`?e+`px`:e??void 0)(`calc(${j[`--spacing-2`]} + ${e} * ${j[`--spacing-6`]})`)}],primary:e=>[tle,{\"--x-paddingInlineStart\":(e=>typeof e==`number`?e+`px`:e??void 0)(`calc(${e} * ${j[`--spacing-6`]})`)}]},k7=_s(`SideNavItemDepthContext`,1,0);k7.displayName=`SideNavItemDepthContext`;var nle=`sm`,rle={isCollapsed:!1,toggle:()=>{},isCollapsible:!1};function A7({href:e,as:t,isDisabled:n,onClick:r,ref:i,children:a,...o}){let s=nO(t);return e&&!n?(0,Z.jsx)(s,{ref:i,href:e,onClick:r,...o,children:a}):(0,Z.jsx)(`button`,{ref:i,type:`button`,onClick:r,...XN(o,!!n),...n?{\"aria-disabled\":!0,...YN()}:null,children:a})}function ile(...e){let t=e.filter(Boolean).join(` `);return t===``?void 0:t}function j7({as:e,label:t,icon:n,selectedIcon:r,isSelected:i=!1,isDisabled:a=!1,href:o,onClick:s,endContent:c,actions:l,children:u,collapsible:d,size:f=`md`,\"data-testid\":p,ref:m,xstyle:h,...g}){let _=gO(),v=nT(),{isCollapsed:y}=f7(),b=P5(),x=Zce(b===`drawer`||b===`drawer-content`),S=(0,X.useId)(),w=!!u,T=(0,X.use)(k7),E=t7({hasLightDismiss:!0,hasAutoFocus:!0,hasCloseButton:!1,dialogLabel:v(`@astryx.sideNavItem.submenuLabel`,{label:t})}),D=gx(m,E.triggerRef),O=y&&!w,k=Gx({placement:`end`,focusTrigger:`always`,isEnabled:O,isOpen:O?void 0:!1}),A=gx(m,k.ref),j=(0,X.use)(p7),M=!!n&&T===0,N=(0,X.useCallback)(e=>e==null||j==null?void 0:j.registerRow(e,M),[j,M]),P=gx(N,k.ref),F=(0,X.useMemo)(()=>typeof d==`object`?d:{},[d]),I=w&&d!==!1,L=F.isCollapsed,R=L!==void 0,[z,B]=(0,X.useState)(F.defaultIsCollapsed??!1),V=R?L:z,H=(0,X.useCallback)(()=>{let e=!V;R||B(e),F.onCollapsedChange?.(e)},[V,R,F]),ee=i&&r?r:n,U=I&&(!!o||!!s)&&!y,te=!!l,W=e=>{a?e.preventDefault():I&&!U&&!y?(e.preventDefault(),H()):x(s)?.(e)},G=e=>{e.preventDefault(),e.stopPropagation(),H()},{triggerProps:ne,contentProps:re}=R2({show:E.show,hide:E.hide,isOpen:E.isOpen,isEnabled:y&&w,clickGuardMs:0,ownsFocus:!1});if(y&&!n)return null;if(y){let n=ee&&eE(ee,{size:`sm`,color:i?`inherit`:a?`disabled`:`secondary`}),r={...Q(Y(`side-nav-item`,{size:f,selected:i?`selected`:null,disabled:a?`disabled`:null}),aS.focusVisible(E7.item,sO.backgroundColor,E7[f],D7.itemCollapsed,f===`sm`&&D7.itemCollapsedSm,f===`lg`&&D7.itemCollapsedLg,i&&E7.selected,a&&E7.disabled),g.className),..._},s=g[`aria-label`]!=null&&g[`aria-label`].trim()!==``?g[`aria-label`]:t;if(w)return(0,Z.jsxs)(`div`,{ref:N,...C(D7.root,h),children:[(0,Z.jsx)(`button`,{ref:D,type:`button`,...g,...ne,\"aria-label\":s,\"data-testid\":p,...E.triggerProps,...r,children:n}),E.render((0,Z.jsxs)(`div`,{className:`x1hviunn xu0wf1k x7a5moj xfb3i0g`,onMouseEnter:re.onMouseEnter,onMouseLeave:re.onMouseLeave,onClick:()=>E.hide(),children:[(0,Z.jsx)(`div`,{className:`xf314gf xu0wf1k x141an7d x2mo6ok xv1l7n4 x1ltkj2j`,children:t}),(0,Z.jsx)(d7,{value:rle,children:(0,Z.jsx)(k7,{value:0,children:u})})]}),{placement:`end`,alignment:`start`,xstyle:D7.popoverGap})]});let c=a,l={\"aria-current\":i?`page`:void 0,\"aria-describedby\":ile(g[`aria-describedby`],k.describedBy),\"aria-disabled\":a||void 0,\"aria-label\":s,\"data-testid\":p},d=(0,Z.jsx)(A7,{ref:c?m:A,href:o,as:e,isDisabled:a,onClick:W,...g,...l,...r,children:n});return(0,Z.jsxs)(`div`,{ref:c?P:N,...C(D7.root,h),children:[d,k.renderTooltip(t)]})}let ie=(0,Z.jsxs)(Z.Fragment,{children:[ee&&eE(ee,{size:`sm`,color:i?`inherit`:a?`disabled`:`secondary`}),!y&&(0,Z.jsx)(`span`,{className:`x98rzlu xeuugli xb3r6kr xlyipyv xuxw1ft`,children:t}),!y&&bO(c)&&(0,Z.jsx)(`span`,{className:`x2lah0s x78zum5 x6s0dn4`,children:c}),!y&&I&&!U&&(0,Z.jsx)(XT,{icon:`chevronDown`,size:`lg`,color:`inherit`,xstyle:[D7.expandChevron,D7.expandChevronInRow,!V&&D7.expandChevronExpanded]})]}),K=Y(`side-nav-item`,{size:f,selected:i?`selected`:null,disabled:a?`disabled`:null}),q=[E7.item,sO.backgroundColor,E7[f],i&&E7.selected,a&&E7.disabled],ae=T>0&&O7[f===`sm`?`sm`:`md`](T),oe=T>0&&O7.primary(T),se={className:g.className,style:g.style},ce={...Q(K,C(...q)),..._},le={...Q(K,Q(aS.focusVisible(...q,ae),se)),..._},J={...Q(K,aS.focusWithinFirstChild(...q)),..._},ue=U||te,de;if(ue){let n=U?{\"aria-current\":i?`page`:void 0}:{\"aria-current\":i?`page`:void 0,\"aria-disabled\":a||void 0,\"aria-expanded\":I?!V:void 0,\"aria-controls\":I?`${S}-children`:void 0};de=(0,Z.jsxs)(`div`,{\"data-testid\":p,...te?J:ce,children:[(0,Z.jsx)(A7,{ref:m,href:o,as:e,isDisabled:a,onClick:W,...g,...n,...Q(te?aS.suppressed(D7.splitAction,oe):aS.focusVisible(D7.splitAction,oe),se),children:ie}),U&&(0,Z.jsx)(`button`,{type:`button`,onClick:G,\"aria-label\":v(V?`@astryx.sideNavItem.expand`:`@astryx.sideNavItem.collapse`,{label:t}),\"aria-expanded\":!V,\"aria-controls\":`${S}-children`,..._,...aS.focusVisible(D7.expandToggle,sO.backgroundColor),children:(0,Z.jsx)(XT,{icon:`chevronDown`,size:`lg`,color:`inherit`,xstyle:[D7.expandChevron,!V&&D7.expandChevronExpanded]})}),te&&(0,Z.jsx)(`span`,{className:`x2lah0s x78zum5 x6s0dn4 xzye2dw x67bb7w`,children:(0,Z.jsx)(mE,{value:nle,children:l})})]})}else{let t={\"aria-current\":i?`page`:void 0,\"aria-disabled\":a||void 0,\"aria-expanded\":I?!V:void 0,\"aria-controls\":I?`${S}-children`:void 0,\"data-testid\":p};de=(0,Z.jsx)(A7,{ref:m,href:o,as:e,isDisabled:a,onClick:W,...g,...t,...le,children:ie})}return(0,Z.jsxs)(`div`,{ref:N,...C(D7.root,h),children:[de,w&&!y&&(0,Z.jsx)(`div`,{id:`${S}-children`,role:`group`,\"aria-labelledby\":`${S}-label`,\"aria-hidden\":V,inert:V?!0:void 0,...{0:{className:`xrvj5dj x1tu4anv x1rea2x4 x6kj92 xd00j3c x1eizr8u xsr0bmt xostmdb x1k6wr6r xlr8y92`},1:{className:`xrvj5dj x6kj92 xd00j3c x1eizr8u xsr0bmt xlr8y92 xihq33y xb3r6kr xf1rc6`}}[!!V|0],children:(0,Z.jsxs)(`div`,{className:`x2lwn1j`,children:[(0,Z.jsx)(`span`,{id:`${S}-label`,hidden:!0,children:t}),(0,Z.jsx)(k7,{value:T+1,children:u})]})})]})}j7.displayName=`SideNavItem`,D(),uE(),vr(),xO();var ale={root:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,k8WAf4:`xu0wf1k`,$$css:!0}};function M7({ref:e,title:t,subtitle:n,children:r,endContent:i,isHeaderHidden:a=!1,xstyle:o,className:s,style:c,\"data-testid\":l,...u}){let{isCollapsed:d}=f7(),f=`${(0,X.useId)()}-title`,p=(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(`span`,{className:`x78zum5 xdt5ytf x98rzlu xeuugli`,children:[(0,Z.jsx)(`span`,{id:f,className:`x141an7d x2mo6ok x1ltkj2j xv1l7n4 xb3r6kr xlyipyv xuxw1ft`,children:t}),n&&(0,Z.jsx)(`span`,{className:`x141an7d x1ltkj2j xv1l7n4 xb3r6kr xlyipyv xuxw1ft`,children:n})]}),bO(i)&&(0,Z.jsx)(`span`,{className:`x2lah0s x78zum5 x6s0dn4`,children:i})]}),m=a||d;return(0,Z.jsxs)(`div`,{ref:e,...Q(Y(`side-nav-section`),C(ale.root,o),s,c),...u,role:`group`,\"aria-labelledby\":f,\"data-testid\":l,children:[m?(0,Z.jsx)(cE,{as:`div`,children:p}):(0,Z.jsx)(`div`,{className:`x78zum5 x6s0dn4 x1txdalj xf314gf xu0wf1k xt0e3qv x87ps6o`,children:p}),(0,Z.jsx)(`div`,{className:`x78zum5 xdt5ytf x1lsbc85`,children:r})]})}M7.displayName=`SideNavSection`,Xf();var N7=Uf(`AvatarSizeContext`,1,36);N7.displayName=`AvatarSizeContext`,ys();var P7=_s(`AvatarStatusLabelContext`,1,null);P7.displayName=`AvatarStatusLabelContext`,Xf();var F7=Uf(`AvatarGroupContext`,1,null);F7.displayName=`AvatarGroupContext`;function ole(){return(0,X.use)(F7)}D(),vx(),vr(),oS(),Xx(),MC(),iO(),iT(),Ww({\"@astryx.avatar.nameWithStatus\":`{name}, {status}`});var I7=(1-1/Math.SQRT2)/2,sle=.4;function cle(e){if(typeof e==`number`)return e;switch(e){case`xsm`:return 20;case`sm`:return 24;case`md`:return 36;case`lg`:return 48;case`xl`:return 128}}var lle={circle:{\"--_avatar-radius\":`xeincmr`,$$css:!0},rounded:{\"--_avatar-radius\":`xdarwi0`,$$css:!0},square:{\"--_avatar-radius\":`x877142`,$$css:!0}},L7={wrapper:{kVAEAm:`x1n2onr6`,k1xSpc:`x3nfvp2`,kmuXW:`x2lah0s`,kaIpWk:`xbc78cj`,$$css:!0},fallback:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kzqmXN:`xh8yej3`,kZKoxP:`x5yr21d`,kWkggS:`x17x4s8c`,kMwMTN:`x1tgivj0`,kMv6JI:`x9ynric`,k63SB2:`x1e4wzip`,kP9fke:`xtvhhri`,$$css:!0},loneFallback:{kMwMTN:`x1tgivj0 x1xt8qih`,$$css:!0},status:{kVAEAm:`x10l6tqk`,$$css:!0},interactive:{kysU6D:`xjyslct`,kmVPX3:`x1717udv`,kogj98:`x1ghz6dp`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kWkggS:`xjbqb8w`,kMwMTN:`x1heor9g`,kVVagm:`xln7xf2`,kybGjl:`x1hl2dhg`,kkrTdU:`x1ypdohk x16khyan`,kaIpWk:`xbc78cj`,$$css:!0}},ule={kgeoSG:`x1536ba8 x1q91k8u`,$$css:!0},dle={kGuDYH:`xdmh292`,$$css:!0},fle={krVfgx:`x1nqzi6q`,kt4wiu:`xqxgn94`,k3aq6I:`x4v1no5 xqgnvz5`,$$css:!0},R7={initials:e=>[ule,{\"--x-16m2d0h\":e??void 0,\"--x-flj70p\":`${e} / \"\"`==null?void 0:`${e} / \"\"`}],size:e=>[{kzqmXN:e==null?e:`x5lhr3w`,kZKoxP:e==null?e:`x16ye13r`,$$css:!0},{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(e),\"--x-height\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],fontSize:e=>[dle,{\"--x-fontSize\":(e=>typeof e==`number`?e+`px`:e??void 0)(`${e*sle}px`)}],statusPositionCircle:e=>[fle,{\"--x-bottom\":(e=>typeof e==`number`?e+`px`:e??void 0)(e*I7),\"--x-insetInlineEnd\":(e=>typeof e==`number`?e+`px`:e??void 0)(e*I7)}],statusPositionCorner:{krVfgx:`x1ey2m1c`,kt4wiu:`xtijo5x`,k3aq6I:`xv8yid9 x10fxb7p`,$$css:!0}},z7={ring:{kMzoRj:`xdh2fpr`,ksu8eU:`x1y0btm7`,kVAM5u:`x1touxvs`,kWkggS:`x10xzikg`,kB7OPa:`x1afcbsf`,$$css:!0},overlap:{keTefX:`x13hpdyo`,$$css:!0}},ple={\"--_avatar-group-overlap\":`xlz5hwt`,$$css:!0},mle={overlap:e=>[ple,{\"--x---_avatar-group-overlap\":`${e}px`==null?void 0:`${e}px`}]},hle=RegExp(`[\\\\p{L}\\\\p{N}\\\\p{Extended_Pictographic}\\\\p{Regional_Indicator}]`,`u`);function gle(e){let t=e.search(hle);return t===-1?``:XL(e.slice(t))}function _le(e){return`\"${e.replace(/[\\\\\"]/g,e=>`\\\\${e}`).replace(/\\n/g,`\\\\a `)}\"`}function vle(e){let t=e.trim().split(/\\s+/).map(gle).filter(e=>e!==``);return t.length===0?``:t.length===1?t[0].toUpperCase():(t[0]+t[t.length-1]).toUpperCase()}function B7(e){if(!(0,X.isValidElement)(e))return;let{label:t}=e.props;return typeof t==`string`&&t!==``?t:void 0}function V7(e){return typeof e==`string`&&e.trim()!==``?e:void 0}function H7(e){return e!=null&&e!==``?{role:`img`,\"aria-label\":e}:{role:`presentation`,\"aria-hidden\":`true`}}function U7(e,t,n){return t&&n?e(`@astryx.avatar.nameWithStatus`,{name:t,status:n}):t||n}function W7(e,t,n){n==null?e.removeAttribute(t):e.setAttribute(t,n)}function yle({size:e}){return(0,Z.jsx)(`svg`,{width:e*.6,height:e*.6,viewBox:`0 0 24 24`,fill:`currentColor`,\"aria-hidden\":`true`,children:(0,Z.jsx)(`path`,{d:`M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z`})})}function G7({alt:e,\"data-testid\":t,fallbackSrc:n,name:r,size:i=`md`,shape:a=`circle`,src:o,status:s,tooltip:c=!0,href:l,as:u,target:d,rel:f,onClick:p,xstyle:m,className:h,style:g,ref:_,...v}){let[y,b]=(0,X.useState)(void 0),[x,S]=(0,X.useState)(void 0),w=o&&y!==o,T=!w&&n&&x!==n,E=V7(r),D=V7(e),O=E?vle(E):``,k=!w&&!T&&O!==``,A=!w&&!T&&O===``,j=nT(),M=D||E,N=U7(j,M,B7(s)),P=H7(N),F=N?{\"aria-label\":N}:void 0,I=ole(),L=I?.size??i,R=I?.shape??a,z=(0,X.useMemo)(()=>cle(L),[L]),B=(c===!1?void 0:typeof c==`string`?c:E)?.trim(),V=B!=null&&B!==``,H=typeof c==`string`,ee=Gx({placement:`above`,isEnabled:V}),U=V&&H?{\"aria-describedby\":[v[`aria-describedby`],ee.describedBy].filter(Boolean).join(` `)||void 0}:null,te=l!=null,W=!te&&p!=null,G=te||W,ne=nO(u),re=V7(v[`aria-label`])??V7(v[`aria-labelledby`]);OC(`Avatar`,\"an interactive avatar (with `href` or `onClick`) needs a meaningful accessible name. Pass `alt` or `name`.\",G&&!M&&re==null);let ie=(0,X.useRef)({label:void 0,update:null}),{\"aria-hidden\":K,\"aria-label\":q,role:ae}=v,oe=(0,X.useCallback)(e=>{if(e==null)return;let t=ie.current;return t.update=()=>{let n=U7(j,M,V7(t.label)??B7(s));q??W7(e,`aria-label`,n),G||(ae??e.setAttribute(`role`,n?`img`:`presentation`),K??W7(e,`aria-hidden`,n?void 0:`true`))},t.update(),()=>{t.update=null}},[K,q,ae,G,M,s,j]),se=gx(_,V?ee.ref:void 0,oe),ce=(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(`div`,{className:`x78zum5 x6s0dn4 xl56j7k xh8yej3 x5yr21d xb3r6kr x87ps6o xbc78cj`,children:[w&&(0,Z.jsx)(`img`,{src:o,alt:``,onError:()=>b(o),className:`xh8yej3 x5yr21d xl1xv1r`}),T&&(0,Z.jsx)(`img`,{src:n,alt:``,onError:()=>S(n),className:`xh8yej3 x5yr21d xl1xv1r`}),k&&(0,Z.jsx)(`div`,{...Q(Y(`avatar-fallback`,{size:L}),C(L7.fallback,I==null&&L7.loneFallback,R7.fontSize(z),R7.initials(_le(O))))}),A&&(0,Z.jsx)(`div`,{...Q(Y(`avatar-fallback`,{size:L}),{0:{className:`x78zum5 x6s0dn4 xl56j7k xh8yej3 x5yr21d x17x4s8c x1tgivj0 x9ynric x1e4wzip xtvhhri`},1:{className:`x78zum5 x6s0dn4 xl56j7k xh8yej3 x5yr21d x17x4s8c x9ynric x1e4wzip xtvhhri x1tgivj0 x1xt8qih`}}[I==null|0]),children:(0,Z.jsx)(yle,{size:z})})]}),!!s&&(0,Z.jsx)(`div`,{...C(L7.status,R===`circle`?R7.statusPositionCircle(z):R7.statusPositionCorner),children:s})]}),le=Q(Y(`avatar`,{size:L,shape:R}),aS.focusVisible(L7.wrapper,R7.size(z),G&&L7.interactive,I&&z7.ring,I&&z7.overlap,I&&mle.overlap(-I.overlap),lle[R],m),h,g),J,ue=v;return J=te?(0,Z.jsx)(ne,{...F,...ue,...U,ref:se,href:l,target:d,rel:f,\"data-avatar-item\":``,\"data-testid\":t,onClick:p,...le,children:ce}):W?(0,Z.jsx)(`button`,{...F,...ue,...U,ref:se,type:`button`,\"data-avatar-item\":``,\"data-testid\":t,onClick:p,...le,children:ce}):(0,Z.jsx)(`div`,{...P,...v,ref:se,tabIndex:V&&!I?0:void 0,\"data-testid\":t,...U,...le,children:ce}),(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(N7,{value:z,children:(0,Z.jsx)(P7,{value:ie,children:J})}),V?ee.renderTooltip(B):null]})}G7.displayName=`Avatar`;function ble({isOpen:e,highlightedIndex:t,setHighlightedIndex:n,getOptionId:r,itemCount:i}){let a=(0,X.useRef)(null),o=(0,X.useRef)(t),s=(0,X.useRef)(null),c=(0,X.useRef)(null),l=(0,X.useRef)(n),u=(0,X.useRef)(null),d=(0,X.useCallback)(e=>{a.current=e.index,l.current(e.index),e.onHighlight?.()},[]),f=(0,X.useCallback)(()=>{c.current?.(),c.current=null},[]),p=(0,X.useCallback)(()=>{f();let e=s.current;s.current=null,e!=null&&d(e)},[d,f]),m=(0,X.useCallback)(()=>{if(s.current=null,c.current!=null)return;let e=e=>{let t=u.current;u.current={x:e.screenX,y:e.screenY},(t==null||t.x!==e.screenX||t.y!==e.screenY)&&p()},t={capture:!0,passive:!0};document.addEventListener(`pointermove`,e,t),document.addEventListener(`pointerdown`,p,t),c.current=()=>{document.removeEventListener(`pointermove`,e,t),document.removeEventListener(`pointerdown`,p,t)}},[p]),h=(0,X.useCallback)((e,t)=>{c.current==null?(a.current=e,n(e),t?.()):s.current={index:e,onHighlight:t}},[n]);return(0,X.useEffect)(()=>{l.current=n},[n]),(0,X.useEffect)(()=>f,[f]),(0,X.useEffect)(()=>{let n=o.current!==t;o.current=t;let i=n&&a.current===t;if(a.current=null,i)return;let c=e&&t>=0?document.getElementById(r(t)):null;c==null?(s.current=null,f()):(m(),c.scrollIntoView?.({block:`nearest`}))},[e,t,r,i,f,m]),h}nv(),dP(),G(),Ox(),vr(),iT(),Ww({\"@astryx.chatTriggerMenu.noResults\":`No results`,\"@astryx.chatTriggerMenu.searching\":`Searching…`,\"@astryx.chatTriggerMenu.suggestions\":`Suggestions`});var xle={popoverSurface:{k7Eaqz:`xfb3i0g`,$$css:!0}};function K7(e){let t=window.getSelection();if(!t||t.rangeCount===0)return null;let n=t.getRangeAt(0).startContainer;return n.nodeType===Node.TEXT_NODE&&e.contains(n)?n:null}function q7(e){let t=window.getSelection();if(!t||t.rangeCount===0)return null;let n=t.getRangeAt(0);if(!n.collapsed||!e.contains(n.startContainer))return null;let r=n.startContainer;return r.nodeType===Node.TEXT_NODE?(r.textContent??``).slice(0,n.startOffset):null}var J7=64;function Sle(e,t,n){return e?.hasMultiWordQuery===!0&&e.emptySearchText==null&&t.length===0&&!n}function Cle(e){return e===null||e===` `||e===`\t`||e===`\n`}function Y7(e,t){let n=null;for(let r=0;rJ7&&(n=null),!Cle(r>0?e[r-1]:null))continue;let a=t.find(e=>e.character===i);a&&(n&&a.character!==n.trigger.character||(n={trigger:a,triggerStart:r}))}if(!n)return null;let r=e.slice(n.triggerStart+1);return n.trigger.hasMultiWordQuery&&r.length>J7?null:{trigger:n.trigger,query:r,triggerStart:n.triggerStart}}function wle(e,t){let n=window.getSelection();if(!n||n.rangeCount===0)return;let r=n.getRangeAt(0),i=r.startContainer;if(i.nodeType!==Node.TEXT_NODE)return;let a=i.textContent??``,o=r.startOffset;i.textContent=a.slice(0,t)+a.slice(o);let s=document.createRange();s.setStart(i,t),s.collapse(!0),n.removeAllRanges(),n.addRange(s)}function Tle(e){let t=nT(),{triggers:n,editableRef:r,onInsertToken:i,onInsertText:a,onEmitChange:o,debounceMs:s=150}=e,c=(0,X.useId)(),[l,u]=(0,X.useState)({isActive:!1,activeTrigger:null,query:``,items:[],highlightedIndex:0,isLoading:!1,isHidden:!1}),d=l.isLoading&&!l.isHidden&&l.activeTrigger!==null,f=l.activeTrigger?.loadingText??t(`@astryx.chatTriggerMenu.searching`),p=lP(d,f,r),m=(0,X.useRef)(-1),h=(0,X.useRef)(null),g=(0,X.useRef)(0),_=(0,X.useRef)(null),v=(0,X.useRef)(null),y=(0,X.useRef)(!1),b=(0,X.useCallback)(()=>{v.current&&=(v.current.remove(),null)},[]),x=Q_(),S=t7({onShow:()=>{let e=r.current;e!=null&&x.start(e,t=>$_(t,e,S.id),()=>S.hide())},onHide:(0,X.useCallback)(()=>{x.stop(),y.current||(h.current&&=(clearTimeout(h.current),null),g.current++,b(),u(e=>({...e,isActive:!1,activeTrigger:null,query:``,items:[],highlightedIndex:0,isLoading:!1,isHidden:!1})))},[x,b]),hasLightDismiss:!1,hasCloseButton:!1,hasAutoFocus:!1,role:`none`}),{show:C,hide:w}=S;(0,X.useEffect)(()=>()=>{h.current&&clearTimeout(h.current),b()},[b]);let T=(0,X.useCallback)(()=>{h.current&&=(clearTimeout(h.current),null),g.current++;let e=l.activeTrigger;e?.searchSource&&e.searchSource.cancel?.(),b(),y.current=!1,_.current=null,S.hide(),m.current=-1,u(e=>({...e,isActive:!1,activeTrigger:null,query:``,items:[],highlightedIndex:0,isLoading:!1,isHidden:!1}))},[S,l.activeTrigger,b]),E=(0,X.useCallback)(()=>{let e=r.current;if(!e)return;let t=window.getSelection();if(!t||t.rangeCount===0){S.triggerRef(e);return}b();let n=t.getRangeAt(0).cloneRange();n.collapse(!0);let i=typeof n.getBoundingClientRect==`function`?n.getBoundingClientRect():null;if(!i||i.width===0&&i.height===0&&i.top===0&&i.left===0){S.triggerRef(e);return}let a=document.createElement(`span`);a.setAttribute(`aria-hidden`,`true`),a.setAttribute(`data-astryx-trigger-anchor`,``),a.style.position=`fixed`,a.style.left=`${i.left}px`,a.style.top=`${i.top}px`,a.style.width=`${Math.max(i.width,1)}px`,a.style.height=`${i.height}px`,a.style.pointerEvents=`none`,a.style.opacity=`0`,document.body.appendChild(a),v.current=a,S.triggerRef(a)},[r,S,b]),D=(0,X.useCallback)((e,t)=>{h.current&&=(clearTimeout(h.current),null);let i=++g.current,a=()=>{if(i!==g.current)return!1;let t=r.current,a=t?q7(t):null,o=a===null||!n?null:Y7(a,n);return o?.trigger.character!==e.character||o.triggerStart!==m.current?(T(),!1):!0},o=t=>{p();let n=Sle(e,t,!1);u(e=>({...e,items:t,highlightedIndex:t.length>0?0:-1,isLoading:!1,isHidden:n})),n&&!y.current?(y.current=!0,w()):!n&&y.current&&(y.current=!1,E(),C())},c=()=>{if(e.searchSource){e.searchSource.cancel?.();let n=e.searchSource.search(t);Array.isArray(n)||u(e=>({...e,isLoading:!0})),Promise.resolve(n).then(e=>{a()&&o(e)},()=>{a()&&o([])})}};e.searchSource&&(e.searchSource.search(``)instanceof Promise&&s>0?(u(e=>({...e,isLoading:!0})),h.current=setTimeout(c,s)):c())},[s,r,n,T,E,w,C,p]),O=(0,X.useCallback)(e=>{let t=l.activeTrigger;if(!t)return;let n=r.current;if(!n)return;b(),wle(n,m.current);let s=t.onSelect(e);typeof s==`string`?a(s):i(s),o(),T()},[l.activeTrigger,r,b,a,i,o,T]),k=(0,X.useCallback)(()=>{if(!n||n.length===0)return;let e=r.current;if(!e)return;let t=q7(e);if(t===null){_.current=null,l.isActive&&T();return}let i=Y7(t,n);if(!i){_.current=null,l.isActive&&T();return}let{trigger:a,query:o,triggerStart:s}=i,c=_.current;if(c&&c.character===a.character&&c.triggerStart===s&&c.textNode!==null&&c.textNode.isConnected&&c.textNode===K7(e)){if(o.startsWith(c.dismissedQuery))return;_.current=null}else _.current=null;!l.isActive||l.activeTrigger?.character!==a.character||m.current!==s?(m.current=s,y.current=!1,u(e=>({...e,isActive:!0,activeTrigger:a,query:o,highlightedIndex:0,isHidden:!1})),E(),D(a,o),S.show()):l.query!==o&&(u(e=>({...e,query:o,activeTrigger:a})),D(a,o))},[n,r,l.isActive,l.activeTrigger,l.query,T,E,D,S]),A=l.isActive&&!l.isHidden,M=(0,X.useCallback)(e=>{if(Ex(e.nativeEvent)||!A)return!1;if(e.key===`Escape`){e.preventDefault();let t=r.current,n=l.activeTrigger?{character:l.activeTrigger.character,triggerStart:m.current,dismissedQuery:l.query,textNode:t?K7(t):null}:null;return T(),_.current=n,!0}let t=!l.isLoading&&l.items.length>0;if(!t&&(e.key===`ArrowDown`||e.key===`ArrowUp`))return e.preventDefault(),!0;if(!t)return!1;switch(e.key){case`ArrowDown`:return e.preventDefault(),u(e=>({...e,highlightedIndex:e.highlightedIndex({...e,highlightedIndex:e.highlightedIndex>0?e.highlightedIndex-1:e.items.length-1})),!0;case`Enter`:case`Tab`:return l.highlightedIndex>=0&&l.highlightedIndex`${c}-option-${e}`,[c]),P=ble({isOpen:S.isOpen,highlightedIndex:l.highlightedIndex,setHighlightedIndex:e=>u(t=>({...t,highlightedIndex:e})),getOptionId:N}),F=(n?.length??0)>0?A?{role:`combobox`,\"aria-expanded\":!0,\"aria-controls\":c,\"aria-activedescendant\":l.highlightedIndex>=0?N(l.highlightedIndex):void 0,\"aria-haspopup\":`listbox`}:{role:`combobox`,\"aria-expanded\":!1,\"aria-haspopup\":`listbox`}:{role:`textbox`,\"aria-multiline\":`true`};return{state:l,handleInput:k,handleKeyDown:M,renderMenu:(0,X.useCallback)(()=>{let e=l.activeTrigger;if(!e||l.isHidden)return null;let n=e.emptySearchText??t(`@astryx.chatTriggerMenu.noResults`),r;if(l.isLoading)r=(0,Z.jsx)(`div`,{className:`x1b2ylru x2b8uid x141an7d x1ltkj2j xv1l7n4`,children:f});else if(l.items.length===0&&l.isActive)r=(0,Z.jsx)(`div`,{className:`x1b2ylru x2b8uid x141an7d x1ltkj2j xv1l7n4`,children:n});else{let t=hre(l.items),n=0;r=t.map(t=>{let r=t.items.map(t=>{let r=n++;return(0,Z.jsx)(`div`,{id:N(r),role:`option`,\"aria-selected\":r===l.highlightedIndex,tabIndex:-1,onMouseDown:e=>{e.preventDefault(),O(t)},onMouseEnter:()=>P(r),...{0:{className:`x9f619 x78zum5 x6s0dn4 xh8yej3 xlsj2fj xh6dtrn x1ypdohk x16khyan x1a2a7pz xjbqb8w xc342km xng3xce x1yc453h x9ynric xjm74w1 xw6l6zx x1tgivj0`},1:{className:`x9f619 x78zum5 x6s0dn4 xh8yej3 xlsj2fj xh6dtrn x1ypdohk x16khyan x1a2a7pz xc342km xng3xce x1yc453h x9ynric xjm74w1 xw6l6zx x1tgivj0 x1lmrjuc`}}[r===l.highlightedIndex|0],children:e.renderItem?e.renderItem(t):(0,Z.jsx)(`span`,{className:`x98rzlu xeuugli xb3r6kr xlyipyv xuxw1ft`,children:t.label})},t.id)});return t.heading?(0,Z.jsxs)(`div`,{role:`group`,\"aria-label\":t.heading,children:[(0,Z.jsx)(`div`,{\"aria-hidden\":`true`,className:`xf314gf x1xye8es xy143xn x141an7d x1ltkj2j xv1l7n4 x87ps6o`,children:t.heading}),r]},`group-${t.heading}`):r})}return S.render((0,Z.jsx)(`div`,{id:c,role:`listbox`,\"aria-label\":e.menuLabel??t(`@astryx.chatTriggerMenu.suggestions`),...Q(Y(`trigger-menu`),{className:`x9f619 x1xiyphd x1odjw0f x9epnlk xfb3i0g`}),children:r}),{placement:`above`,alignment:`start`,offset:j[`--spacing-1`],xstyle:xle.popoverSurface})},[S,c,l,O,N,P,t,f]),reset:T,ariaProps:F}}function Ele(e){let t=window.getSelection();if(!t||t.rangeCount===0)return null;let n=t.getRangeAt(0);return!e.contains(n.startContainer)||!e.contains(n.endContainer)?null:n.cloneRange()}function Dle(e){let t=window.getSelection();t&&(t.removeAllRanges(),t.addRange(e))}function X7(e,t){if(t.startContainer!==e)return;let n=t.startOffset,r=n>0?e.childNodes[n-1]:null;if(r&&r.nodeType===Node.TEXT_NODE){let e=r;t.setStart(e,e.nodeValue?.length??0),t.collapse(!0)}else if(r&&r.nodeType===Node.ELEMENT_NODE){let e=r;if(e.isContentEditable){let n=e;for(;n.lastChild;)if(n=n.lastChild,n.nodeType===Node.TEXT_NODE){let e=n;t.setStart(e,e.nodeValue?.length??0),t.collapse(!0);return}}}}function Ole(e,t){let n=window.getSelection();if(!n)return;let r=document.createRange();t?r.setStartAfter(t):r.setStart(e,0),r.collapse(!0),X7(e,r),n.removeAllRanges(),n.addRange(r)}function kle(e){let t=e;for(;t!=null&&t.nodeType===Node.TEXT_NODE&&t.textContent===``;)t=t.previousSibling;return t==null?!1:t.nodeName===`BR`||t.nodeType===Node.TEXT_NODE&&(t.textContent??``).endsWith(`\n`)}function Ale(e){for(let t=e;t!=null;t=t.nextSibling)if(t.nodeType!==Node.TEXT_NODE||t.textContent!==``)return!0;return!1}function jle(e,t,n){if(!Ale(n)&&kle(t)){let t=window.getSelection();if(!t)return;let n=document.createTextNode(``);e.append(n,document.createElement(`br`));let r=document.createRange();r.setStart(n,0),r.collapse(!0),t.removeAllRanges(),t.addRange(r)}else Ole(e,t)}function Z7(e){let t=window.getSelection();if(!t)return!1;let n=document.createRange();return n.selectNodeContents(e),n.collapse(!1),X7(e,n),t.removeAllRanges(),t.addRange(n),!0}function Q7(e){let t=window.getSelection();if(!t)return null;if(t.rangeCount>0){let n=t.getRangeAt(0);if(e.contains(n.startContainer))return t}let n=document.createRange();return n.selectNodeContents(e),n.collapse(!1),X7(e,n),t.removeAllRanges(),t.addRange(n),t}function Mle(e){let t=window.getSelection();if(!t||t.rangeCount===0)return!1;let n=t.getRangeAt(0);return $7(e,n.startContainer,n.startOffset,`start`)}function Nle(e){let t=window.getSelection();if(!t||t.rangeCount===0)return!1;let n=t.getRangeAt(0);return $7(e,n.endContainer,n.endOffset,`end`)}function $7(e,t,n,r){if(!e.contains(t)||!Ple(t,n,r))return!1;for(let n=t;n&&n!==e;){if(Fle(n,r))return!1;n=n.parentNode}return!0}function Ple(e,t,n){return e.nodeType===Node.TEXT_NODE||e.nodeType===Node.CDATA_SECTION_NODE?n===`start`?t===0:t===(e.nodeValue?.length??0):n===`start`?t===0:t===e.childNodes.length}function Fle(e,t){for(let n=t===`start`?e.previousSibling:e.nextSibling;n;n=t===`start`?n.previousSibling:n.nextSibling)if(n.nodeType===Node.ELEMENT_NODE||n.nodeType===Node.TEXT_NODE&&n.nodeValue!==``)return!0;return!1}function e9(e,t){let n=Q7(e);if(!n||n.rangeCount===0)return!1;let r=n.getRangeAt(0);r.deleteContents();let i=document.createTextNode(t);return r.insertNode(i),r.setStart(i,t.length),r.collapse(!0),n.removeAllRanges(),n.addRange(r),!0}function Ile(e){return`render`in e&&typeof e.render==`function`}function Lle(e){let t=e;for(;t;){if(t instanceof HTMLElement&&t.hasAttribute(`data-astryx-token`))return t;t=t.parentNode}return null}function Rle({editableRef:e,onEmitChange:t}){let[n,r]=(0,X.useState)([]),i=(0,X.useCallback)(t=>{let n=e.current;if(!n)return;let i=Q7(n);if(!i||i.rangeCount===0)return;let a=i.getRangeAt(0),o=document.createElement(`span`),s=`token-${Date.now()}-${Math.random().toString(36).slice(2,6)}`;o.setAttribute(`data-astryx-token`,``),o.setAttribute(`data-astryx-token-value`,t.value),o.setAttribute(`data-astryx-token-id`,s),o.contentEditable=`false`,o.style.display=`inline-flex`,o.style.alignItems=`center`,o.style.height=`1lh`,o.style.verticalAlign=`top`,a.deleteContents(),a.insertNode(o);let c=document.createTextNode(`\\xA0`);o.after(c);let l=document.createRange();return l.setStart(c,c.length),l.collapse(!0),i.removeAllRanges(),i.addRange(l),r(e=>[...e,{id:s,span:o,token:t}]),s},[e]),a=(0,X.useCallback)(e=>{if(e.key!==`Backspace`)return!1;let n=window.getSelection();if(!n||!n.isCollapsed||n.rangeCount===0)return!1;let{startContainer:r,startOffset:i}=n.getRangeAt(0);if(r.nodeType===Node.TEXT_NODE&&i===0&&r.previousSibling instanceof HTMLElement&&r.previousSibling.hasAttribute(`data-astryx-token`))return!1;if(r.nodeType===Node.TEXT_NODE&&r.textContent===`\\xA0`&&i<=1&&r.previousSibling instanceof HTMLElement&&r.previousSibling.hasAttribute(`data-astryx-token`)){e.preventDefault();let n=r.previousSibling,i=n.previousSibling,a=r.nextSibling,o=r.parentNode;return o&&(o.removeChild(r),o.removeChild(n),o instanceof HTMLElement&&jle(o,i,a)),t(),!0}return!1},[t]),o=(0,X.useCallback)(n=>{let r=e.current;if(!r)return!1;let i=Q7(r);if(!i||i.rangeCount===0)return!1;let a=Lle(i.getRangeAt(0).startContainer);if(a){n.preventDefault();let e=n.clipboardData.getData(`text/plain`),o=a.nextSibling,s=document.createRange();if(o&&o.nodeType===Node.TEXT_NODE){let e=o;s.setStart(e,e.nodeValue?.length??0)}else s.setStartAfter(a);return s.collapse(!0),i.removeAllRanges(),i.addRange(s),e9(r,e),t(),!0}return!1},[e,t]);return{tokenPortals:n,expandToken:(0,X.useCallback)(i=>{if(!e.current)return;let a=n.find(e=>e.id===i);if(!a)return;let{span:o}=a,s=o.getAttribute(`data-astryx-token-value`)??``,c=document.createTextNode(s),l=o.nextSibling;l?.nodeType===Node.TEXT_NODE&&l.textContent===`\\xA0`&&l.remove(),o.replaceWith(c);let u=window.getSelection();if(u){let e=document.createRange();e.setStart(c,c.length),e.collapse(!0),u.removeAllRanges(),u.addRange(e)}r(e=>e.filter(e=>e.id!==i)),t()},[e,n,t]),insertToken:i,handleKeyDown:a,handlePaste:o,cleanupPortals:(0,X.useCallback)(()=>{r(t=>t.filter(t=>e.current?.contains(t.span)))},[e])}}fu(),j_(),bb(),bx(),ov(),Ux(),G(),vr();var zle={container:{kWkggS:`x10xzikg`,\"--_hovercard-radius\":`xqwz7mz`,kaIpWk:`x7a53xk`,kGVxlE:`x14hfi27`,$$css:!0}};function t9(e){return e==null?typeof document>`u`?null:document:e.ownerDocument}function Ble(e={}){let{placement:t=`above`,alignment:n=`center`,delay:r=300,hideDelay:i=200,focusTrigger:a=`auto`,touchTrigger:o=`auto`,isEnabled:s=!0,label:c,isOpen:l,isDefaultOpen:u=!1,onShow:d,onHide:f}=e,{ref:p,anchorId:m,show:h,hide:g,isOpen:_,id:v,render:y}=y_({mode:`context`,lazyMount:!0,onShow:d,onHide:f}),b=zle.container,x=(0,X.useRef)(null),S=(0,X.useRef)(null),C=(0,X.useRef)(null),w=(0,X.useRef)(null),[T,E]=(0,X.useState)(0),D=(0,X.useRef)(!1),O=(0,X.useRef)(!1),k=(0,X.useCallback)(()=>{x.current&&=(clearTimeout(x.current),null),S.current&&=(clearTimeout(S.current),null)},[]),A=(0,X.useCallback)(()=>{k(),h()},[k,h]),M=(0,X.useCallback)(()=>{k(),D.current=!1,g()},[k,g]),N=(0,X.useCallback)(()=>{D.current=!1,g()},[g]),{isTouchPointerRef:P,isTouchInteraction:F,handlePointerEnter:I,handlePointerDown:L,clearTapOpen:R}=gb({touchTrigger:o,isEnabled:s,isControlled:l!==void 0,isOpen:_,layerId:v,triggerRef:C,show:A,hide:M}),z=(0,X.useCallback)(()=>{s&&l!==!1&&(k(),x.current=setTimeout(()=>{h()},r))},[s,l,k,h,r]),B=(0,X.useCallback)(()=>{l!==!0&&(k(),S.current=setTimeout(()=>{D.current||g()},i))},[l,k,g,i]),V=(0,X.useCallback)(()=>{P.current||z()},[P,z]),H=(0,X.useCallback)(()=>{P.current||B()},[P,B]),ee=(0,X.useCallback)(e=>{L(e)&&x.current&&(clearTimeout(x.current),x.current=null)},[L]),[U]=(0,X.useState)(du),te=(0,X.useCallback)(e=>{U.focusIn(e,a)&&s&&(F()||(O.current?O.current=!1:l!==!1&&(k(),h())))},[U,a,s,l,F,k,h]),W=(0,X.useCallback)(e=>{if(!U.focusOut(e,a))return;let t=e.relatedTarget;(t9(C.current)?.getElementById(v))?.contains(t)||B()},[U,a,v,B]);Vx({isActive:T>0,getContainer:()=>C.current,isPresent:()=>{let e=t9(C.current)?.getElementById(v);if(e==null)return!1;try{return e.matches(`:popover-open`)}catch{return _}},onDismiss:()=>{if(k(),R(),l!==void 0){f?.();return}let e=t9(C.current),t=(e?.getElementById(v))?.contains(e?.activeElement??null)??!1;N(),t&&(O.current=!0,C.current?.focus())}},T);let G=(0,X.useCallback)(e=>{C.current&&(C.current.removeEventListener(`mouseenter`,V),C.current.removeEventListener(`mouseleave`,H),C.current.removeEventListener(`focusin`,te),C.current.removeEventListener(`focusout`,W),C.current.removeEventListener(`pointerenter`,I),C.current.removeEventListener(`pointerdown`,ee)),e&&(e.addEventListener(`pointerenter`,I),e.addEventListener(`mouseenter`,V),e.addEventListener(`mouseleave`,H),e.addEventListener(`pointerdown`,ee),a!==`never`&&(e.addEventListener(`focusin`,te),e.addEventListener(`focusout`,W))),C.current=e,e!=null&&e.ownerDocument!==w.current&&(w.current=e.ownerDocument,E(e=>e+1))},[a,V,H,te,W,I,ee]),ne=(0,X.useCallback)(e=>{p(e),G(e)},[p,G]);return(0,X.useEffect)(()=>()=>{k()},[k]),(0,X.useEffect)(()=>{u&&h()},[]),(0,X.useEffect)(()=>{if(l!==void 0){if(l)k(),h();else{k();let e=t9(C.current),t=(e?.getElementById(v))?.contains(e?.activeElement??null)??!1;g(),t&&(O.current=!0,C.current?.focus())}}},[l,k,h,g,v]),{ref:ne,positionRef:p,interactionRef:G,anchorId:m,id:v,describedBy:v,isOpen:_,renderHoverCard:(0,X.useCallback)((e,r)=>{let i=r?.placement??t,a=Y(`hover-card`).className,o={placement:i,alignment:r?.alignment??n,offset:j[`--spacing-1`],role:c?`dialog`:`group`,\"aria-label\":c||void 0,xstyle:[b,yx[i],r?.xstyle],className:r?.className?`${a} ${r.className}`:a,style:r?.style,as:`div`};return y((0,Z.jsx)(`div`,{ref:rv,className:`x1lliihq x1vlblms xvmdzux x126nfab x1t818jl`,onMouseEnter:()=>{P.current||(D.current=!0,k())},onMouseLeave:()=>{P.current||(D.current=!1,B())},onBlur:e=>{let t=e.relatedTarget;e.currentTarget.contains(t)||C.current?.contains(t)||B()},children:e}),o)},[y,t,n,c,k,B,b,P]),show:h,hide:N}}function n9(...e){let t=e.filter(Boolean);return t.length>0?t.join(` `):void 0}var r9={haspopup:!1,expanded:!1},Vle=new Set([`application`,`button`,`combobox`,`gridcell`,`link`,`menuitem`,`menuitemcheckbox`,`menuitemradio`,`searchbox`,`slider`,`tab`,`textbox`,`treeitem`]),Hle=new Set([`application`,`button`,`checkbox`,`columnheader`,`combobox`,`gridcell`,`link`,`listbox`,`menuitem`,`menuitemcheckbox`,`menuitemradio`,`row`,`rowheader`,`switch`,`tab`,`treeitem`]),Ule=new Set([`button`,`submit`,`reset`,`image`]),Wle=new Set([`text`,`search`,`email`,`tel`,`url`]);function Gle(e){let t=e.getAttribute(`role`)?.trim().split(/\\s+/)[0];if(t)return{haspopup:Vle.has(t),expanded:Hle.has(t)};switch(e.tagName){case`BUTTON`:return{haspopup:!0,expanded:!0};case`SUMMARY`:return{haspopup:!1,expanded:!0};case`A`:case`AREA`:return e.hasAttribute(`href`)?{haspopup:!0,expanded:!0}:r9;case`INPUT`:{let t=e.type?.toLowerCase()??`text`;return Ule.has(t)?{haspopup:!0,expanded:!0}:Wle.has(t)?{haspopup:!0,expanded:!1}:r9}case`TEXTAREA`:return{haspopup:!0,expanded:!1};case`SELECT`:return{haspopup:!e.multiple&&e.size<=1,expanded:!0};default:return r9}}function i9(e,t,n){let r={},i=e.haspopup?`dialog`:t.haspopup;i!=null&&i!==``&&(r[`aria-haspopup`]=i);let a=n.isOpen&&n.id!=null?n9(t.controls,n.id):t.controls;a!=null&&a!==``&&(r[`aria-controls`]=a);let o=e.expanded?String(n.isOpen):t.expanded;return o!=null&&o!==``&&(r[`aria-expanded`]=o),r}function a9(e,t){for(let n of[`aria-haspopup`,`aria-controls`,`aria-expanded`]){let r=t[n];r==null?e.removeAttribute(n):e.setAttribute(n,String(r))}}xO(),t_(),x(),oS();var o9={wrapperInline:{k1xSpc:`xt0psk2`,$$css:!0},hoverIndication:{kMnn75:`xujl8zx`,kmVMDM:`xev0dqp`,k1TLXF:`xycaml9`,kcSHmL:`x11b3rvo`,$$css:!0}};function Kle(e){if(typeof e==`string`||typeof e==`number`)return!0;if(!Array.isArray(e))return!1;let t=!1;for(let n of e.flat(1/0))if(bO(n)){if(typeof n!=`string`&&typeof n!=`number`)return!1;t=!0}return t}function s9({children:e,content:t,placement:n=`above`,alignment:r=`center`,delay:i=300,hideDelay:a=200,focusTrigger:o=`auto`,touchTrigger:s=`auto`,isEnabled:c=!0,label:l,onOpenChange:u,hasHoverIndication:d=`auto`,isOpen:f,isDefaultOpen:p,xstyle:m,className:h,style:g}){let _=(0,X.useRef)(null),v=Kle(e),y=d===!0||d===`auto`&&v,x=Ble({placement:n,alignment:r,delay:i,hideDelay:a,focusTrigger:o,touchTrigger:s,isEnabled:c,label:l,isOpen:f,isDefaultOpen:p,onShow:(0,X.useCallback)(()=>{u?.(!0)},[u]),onHide:(0,X.useCallback)(()=>{u?.(!1)},[u])}),[S,C]=(0,X.useState)(0),w=(0,X.useRef)(null);b(()=>{let e=_.current;if(!(v||e==null))return w.current=e.firstElementChild,Xg(e,{childList:!0},()=>{let t=e.firstElementChild;t!==w.current&&(w.current=t,C(e=>e+1))})},[v]),b(()=>{if(v)return;let e=_.current;if(!e)return;let t=e.firstElementChild;if(!t)return;if(x.ref(t),l){let e={haspopup:t.getAttribute(`aria-haspopup`),controls:t.getAttribute(`aria-controls`),expanded:t.getAttribute(`aria-expanded`)};return a9(t,i9(Gle(t),e,{id:x.id,isOpen:x.isOpen})),()=>{x.ref(null),a9(t,i9(r9,e,{id:null,isOpen:!1}))}}let n=t.getAttribute(`aria-describedby`);return t.setAttribute(`aria-describedby`,n9(n,x.describedBy)??``),()=>{x.ref(null),n?t.setAttribute(`aria-describedby`,n):t.removeAttribute(`aria-describedby`)}},[v,l,x.ref,x.id,x.isOpen,x.describedBy,S]);let T=x.renderHoverCard(t,{xstyle:m,className:h,style:g});return v?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`span`,{ref:x.ref,tabIndex:0,...l?i9(r9,{},{id:x.id,isOpen:x.isOpen}):null,\"aria-describedby\":l?void 0:x.describedBy,...aS.focusVisible(o9.wrapperInline,y&&o9.hoverIndication),children:e}),T]}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`span`,{ref:_,className:`xjp7ctv`,children:e}),T]})}s9.displayName=`HoverCard`,qw(),Ww({\"@astryx.chat.pastedText.label\":`{lines, plural, =1 {{chars, plural, other {{chars} chars}}} other {{lines} lines, {chars, plural, other {{chars} chars}}}}`});function c9(e,t){return t(`@astryx.chat.pastedText.label`,{lines:e.split(`\n`).length,chars:e.length})}bb(),iT(),Ww({\"@astryx.chat.pastedText.expand\":`Expand`});function l9({text:e,onExpand:t}){let n=nT(),r=c9(e,n),i=db(`mousedown`),a=(0,Z.jsxs)(`div`,{className:`x78zum5 xdt5ytf x1txdalj x17fpy1y`,children:[(0,Z.jsx)(`div`,{className:`x9m5x89 x141an7d x1ltkj2j x1tgivj0 x126k92a x13faqbe x1xiyphd x1odjw0f`,children:e}),(0,Z.jsxs)(`div`,{className:`x78zum5 x6s0dn4 x1qughib x1txdalj`,children:[(0,Z.jsx)(`span`,{className:`x141an7d x1ltkj2j xv1l7n4`,children:r}),t&&(0,Z.jsx)(IO,{label:n(`@astryx.chat.pastedText.expand`),variant:`ghost`,size:`sm`,onClick:t})]})]});return(0,Z.jsx)(s9,{content:a,placement:`above`,alignment:`start`,hasHoverIndication:!1,children:(0,Z.jsx)(VH,{label:r,variant:`neutral`,...i})})}l9.displayName=`ChatPastedTextToken`,iT();function qle(e,t){return{value:e,label:c9(e,t),variant:`neutral`}}function Jle({inputRef:e,threshold:t=200,toToken:n}){let r=nT();return{onPaste:(0,X.useCallback)((i,a)=>{if(a.length<=t)return!1;let o=n?n(a):qle(a,r);return e.current?.insertToken(o),!0},[e,t,n,r])}}Xf(),ys();var u9=Uf(`ChatMessageContext`,1,null);u9.displayName=`ChatMessageContext`;function Yle(){return(0,X.use)(u9)}var d9=Uf(`ChatListContext`,1,null);d9.displayName=`ChatListContext`;function Xle(){return(0,X.use)(d9)}var f9=_s(`ChatComposerContext`,1,null);f9.displayName=`ChatComposerContext`;function p9(){return(0,X.use)(f9)}var m9=_s(`ChatLayoutContext`,1,null);m9.displayName=`ChatLayoutContext`;function Zle(){return(0,X.use)(m9)}TL(),ys();var h9=_s(`KeyboardSurfaceContext`,1,!1);function g9(e,t){t&&rL(e.ownerDocument.defaultView)?e.focus({preventScroll:!0}):e.focus()}D(),Ox(),vr(),ZN(),iT(),Ww({\"@astryx.chat.composer.placeholder\":`Type a message…`,\"@astryx.chat.composerInput.label\":`Message input`});var Qle=22,_9={root:{kVAEAm:`x1n2onr6`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kAzted:`xe0957l`,$$css:!0},disabled:{kSiTet:`xbyyjgo`,kfzvcC:`x47corl`,$$css:!0},tokenSpan:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kZKoxP:`xg2ss61`,kXLuUW:`x16dsc37`,$$css:!0}};function v9(e){let t=window.getSelection();if(!t)return;let n=document.createRange();n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n)}function y9(e){let t=``;for(let n of Array.from(e.childNodes))n.nodeType===Node.TEXT_NODE?t+=n.textContent??``:n instanceof HTMLElement&&(n.hasAttribute(`data-astryx-token`)?t+=n.getAttribute(`data-astryx-token-value`)??``:n.tagName===`BR`?t+=`\n`:t+=y9(n));return t}function b9(e){let t=nT(),n=p9(),r=e.value!==void 0,{ref:i,handleRef:a,value:o=n?.value,onChange:s,placeholder:c,maxRows:l=8,triggers:u,debounceMs:d=150,hasHistory:f=!0,label:p,isDisabled:m=n?.isDisabled??!1,onPaste:h,pasteAsToken:g,onFiles:_,onSubmit:v=n?.onSubmit,onKeyDown:y,enterKeyHint:b=`send`,xstyle:x,className:S,style:w,...T}=e,E=XN(T,m),D=p??t(`@astryx.chat.composerInput.label`),O=c??n?.placeholder??t(`@astryx.chat.composer.placeholder`),k=n?.onChange,A=(0,X.useCallback)(e=>{r?s?.(e):(k?.(e),s!==k&&s?.(e))},[k,r,s]),j=(0,X.useRef)(null),M=(0,X.useRef)(null),[N,P]=(0,X.useState)(!0),F=(0,X.useRef)([]),I=(0,X.useRef)(-1),L=(0,X.useRef)(``),R=(0,X.useRef)(void 0),z=(0,X.useRef)(()=>void 0),B=(0,X.useRef)(()=>{}),V=(0,X.useRef)(()=>{}),H=(0,X.use)(h9),ee=(0,X.useCallback)(()=>{let e=j.current;if(!e)return;let t=Ele(e);g9(e,H),t?Dle(t):Z7(e)},[H]),U=(0,X.useCallback)(()=>{let e=j.current;e&&(g9(e,H),Z7(e))},[H]),te={insertToken:e=>z.current(e),expandToken:e=>V.current(e),insertText:e=>B.current(e),focus:ee,getValue:()=>y9(j.current??document.createElement(`div`))};M.current=te,(0,X.useImperativeHandle)(a,()=>te);let W=n?.inputControlRef;(0,X.useEffect)(()=>{if(W)return W.current={focus:U},()=>{W.current=null}},[W,U]),(0,X.useEffect)(()=>{if(o===void 0||!j.current)return;if(o===R.current){R.current=void 0;return}let e=j.current;if(y9(e)!==o){R.current=void 0;let t=document.activeElement===e;e.textContent=o,t&&Z7(e),P(o.length===0)}else R.current=void 0},[o]);let G=(0,X.useRef)(null),ne=(0,X.useRef)(0),re=(0,X.useCallback)(()=>{if(m||!j.current)return;let e=y9(j.current),t=j.current.querySelector(`[data-astryx-token], [data-astryx-dictation-interim]`)!=null,n=e.trim().length===0&&!t,r=n?``:e;R.current=r,P(n),ne.current+=1,A?.(r),G.current?.()},[m,A]),ie=Rle({editableRef:j,onEmitChange:re});G.current=ie.cleanupPortals;let K=ie.handleKeyDown,q=Jle({inputRef:M}),ae=g===!1?null:g??q,oe=(0,X.useCallback)(e=>{let t=j.current;t&&e9(t,e)},[]),se=(0,X.useCallback)(e=>{oe(e),re()},[re,oe]),ce=ie.insertToken,le=(0,X.useCallback)(e=>{let t=ce(e);return t!=null&&re(),t},[re,ce]);z.current=m?()=>void 0:le,B.current=m?()=>{}:se,V.current=m?()=>{}:ie.expandToken;let J=Tle({triggers:u,editableRef:j,onInsertToken:ie.insertToken,onInsertText:oe,onEmitChange:re,debounceMs:d}),ue=m&&J.ariaProps.role===`combobox`?{...J.ariaProps,\"aria-expanded\":!1,\"aria-controls\":void 0,\"aria-activedescendant\":void 0}:J.ariaProps;(0,X.useEffect)(()=>{m&&J.state.isActive&&J.reset()},[m,J]);let de=(0,X.useCallback)(()=>{m||(re(),J.handleInput())},[m,re,J]),fe=(0,X.useCallback)(()=>{!m&&J.state.isActive&&J.handleInput()},[m,J]),pe=(0,X.useCallback)(e=>{if(m)(e.key===`Enter`||e.key===` `)&&e.preventDefault();else if(!J.handleKeyDown(e)&&(y?.(e),!e.defaultPrevented&&!K(e))){if(e.key===`Enter`&&!e.shiftKey){if(Ex(e.nativeEvent)||(e.preventDefault(),!j.current))return;let t=y9(j.current).trim();if(!t)return;f&&(F.current.push(t),I.current=-1,L.current=``),J.reset(),v?.(t),j.current.textContent=``,P(!0),A?.(``)}else if(f&&(e.key===`ArrowUp`||e.key===`ArrowDown`)){if(!j.current)return;let t=j.current;Q7(t);let n=window.getSelection()?.isCollapsed??!0,r=Mle(t),i=Nle(t),a=r&&(n||i),o=i&&(n||r);if(e.key===`ArrowUp`?!a:!o)return;let s=y9(t),c=F.current;if(c.length===0)return;if(e.key===`ArrowUp`){I.current===-1&&(L.current=s);let t=I.current===-1?c.length-1:Math.max(0,I.current-1);I.current=t,j.current.textContent=c[t],v9(j.current),re(),e.preventDefault()}else if(e.key===`ArrowDown`&&I.current!==-1){let t=I.current+1;t>=c.length?(I.current=-1,j.current.textContent=L.current,L.current&&v9(j.current)):(I.current=t,j.current.textContent=c[t],v9(j.current)),re(),e.preventDefault()}}}},[m,f,v,A,re,J,y,K]),me=(0,X.useCallback)(e=>{if(m){e.preventDefault();return}let t=j.current;if(!t||(Q7(t),ie.handlePaste(e)))return;let n=Array.from(e.clipboardData.files);if(n.length>0){e.preventDefault(),_?.(n);return}e.preventDefault();let r=e.clipboardData.getData(`text/plain`),i=ne.current;if(h?.(e,r)){ne.current===i&&re();return}let a=ne.current;ae?.onPaste(e,r)?ne.current===a&&re():(e9(t,r),re())},[m,_,h,re,ie,ae]),he=(0,X.useCallback)(e=>{Array.from(e.dataTransfer.types).includes(`Files`)&&e.preventDefault()},[]),ge=(0,X.useCallback)(e=>{if(m){e.preventDefault();return}let t=Array.from(e.dataTransfer.files);t.length!==0&&(e.preventDefault(),_?.(t))},[m,_]),_e=l*Qle;return(0,Z.jsxs)(`div`,{ref:i,...Q(Y(`chat-composer-input`),C(_9.root,m&&_9.disabled,x),S,w),...E,children:[N&&(0,Z.jsx)(`div`,{className:`x10l6tqk x13vifvy x1o0tod xtijo5x x47corl xv1l7n4 xjm74w1 xf9zqsd x19v9tvf x9ynric x87ps6o x7a5moj`,\"aria-hidden\":`true`,children:O}),(0,Z.jsx)(`div`,{ref:j,\"aria-label\":D,\"aria-describedby\":T[`aria-describedby`],tabIndex:0,contentEditable:!m,enterKeyHint:b,suppressContentEditableWarning:!0,onInput:de,onClick:fe,onKeyDown:pe,onPaste:me,onDragOver:he,onDrop:ge,...ue,\"aria-disabled\":m||void 0,...Q({className:`xe0957l x1a2a7pz x126k92a x13faqbe x1odjw0f xjm74w1 xf9zqsd x19v9tvf x9ynric x1tgivj0 xxugrtn x7a5moj`},{style:{maxHeight:`${_e}px`}})}),!m&&J.renderMenu(),ie.tokenPortals.filter(({span:e})=>e.isConnected).map(({id:e,span:t,token:n})=>(0,wS.createPortal)(Ile(n)?(0,Z.jsx)(`span`,{children:n.render()},e):n.value.length>(ae===null?1/0:200)?(0,Z.jsx)(l9,{text:n.value,onExpand:()=>V.current(e)},e):(0,Z.jsx)(VH,{label:n.label,variant:n.variant,icon:n.icon},e),t))]})}b9.displayName=`ChatComposerInput`,vr(),iT(),Ww({\"@astryx.chatSendButton.send\":`Send`,\"@astryx.chatSendButton.stop\":`Stop`});var $le={root:{\"--_button-radius\":`x1rjw8qi`,kaIpWk:`xy0xnkn`,kmuXW:`x2lah0s`,$$css:!0}};function x9(e){let t=nT(),n=p9(),{isStopShown:r=n?.isStopShown??!1,isDisabled:i=!(n?.canSend??!1),onSend:a,onStop:o=n?.onStop,onClick:s,sendIcon:c,stopIcon:l,size:u=`md`,xstyle:d,className:f,style:p,ref:m,...h}=e,g=a??(()=>n?.onSubmit(n.value)),_=KU(`stop`),v=KU(`arrowUp`);return(0,Z.jsx)(IO,{ref:m,label:t(r?`@astryx.chatSendButton.stop`:`@astryx.chatSendButton.send`),variant:r?`secondary`:`primary`,size:u,icon:r?l??_:c??v,isIconOnly:!0,isDisabled:!r&&i,onClick:_C(r?o:g,s),...h,...Q(Y(`chat-send-button`),{className:f},p),xstyle:[$le.root,d]})}x9.displayName=`ChatSendButton`,D(),sE(),vr(),px(),vx(),oS(),Hf(),iT(),Ww({\"@astryx.chat.composer.placeholder\":`Type a message…`});var S9={body:{kVAEAm:`x1n2onr6`,kY2c9j:`xhtitgo`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kmVPX3:`x18oj4ui`,kOIVth:`x1txdalj`,kaIpWk:`x1xunbrq`,kWkggS:`x1prclbq`,kkrTdU:`x1ed109x x16khyan`,k1ekBW:`x16mfhj0`,kAMwcw:`xlr8y92`,$$css:!0},compact:{\"--_chat-composer-padding\":`x18zce08`,kOIVth:`xzye2dw`,$$css:!0}},eue={low:{kGVxlE:`x1i5ehqx x1ymidup`,knuKkz:`xyavpck`,$$css:!0},none:{kMzoRj:`x1litavf`,ksu8eU:`x1y0btm7`,kVAM5u:`xvy26l8 x6q1khz`,kmVPX3:`x1b50gpf`,kGVxlE:`x1gnnqk1 x1xqjsvb xuihb5h`,$$css:!0}};function tue(e){return e instanceof HTMLElement&&e.matches(`textarea, [contenteditable=\"true\"], [role=\"textbox\"], [role=\"combobox\"][contenteditable], input:not([type]), input[type=\"text\"], input[type=\"search\"], input[type=\"email\"], input[type=\"url\"], input[type=\"tel\"], input[type=\"password\"]`)}function C9(e){let t=nT(),{ref:n,onSubmit:r,onStop:i,isStopShown:a=!1,value:o,onChange:s,placeholder:c,isDisabled:l=!1,density:u=`balanced`,elevation:d=`low`,drawer:f,headerActions:p,headerContext:m,input:h,footerActions:g,sendActions:_,sendButton:v,status:y,statusPosition:b=`bottom`,xstyle:x,className:S,style:w,...T}=e,E=c??t(`@astryx.chat.composer.placeholder`),[D,O]=(0,X.useState)(``),[k,A]=(0,X.useState)(!1),j=o!==void 0,M=j?o:D,N=(0,X.useCallback)(e=>{j||O(e),s?.(e)},[j,s]),P=(0,X.useCallback)(e=>{let t=e.trim();t&&!l&&(r(t),N(``))},[l,r,N]),F=M.trim().length>0&&!l,I=(0,X.useRef)(null),{ref:L,readModality:R}=Ff(),z=gx(I,L),B=(0,X.useRef)(null),V=(0,X.use)(h9),H=(0,X.useCallback)(e=>{if(e.target.closest(`button, a, [role=\"button\"], [contenteditable=\"true\"], [data-astryx-token]`))return;if(B.current){B.current.focus();return}let t=I.current?.querySelector(`[contenteditable=\"true\"], textarea`);t&&g9(t,V)},[V]),ee=(0,X.useCallback)(e=>{A(tue(e.target)&&R()===`keyboard`)},[R]),U=(0,X.useCallback)(e=>{e.currentTarget.contains(e.relatedTarget)||A(!1)},[]),te=(0,X.useRef)(null);cx(te,!!y?.message,y?.type??``,{skipFirstRender:!0,politeness:y?.type===`error`?`assertive`:`polite`});let W=y?(0,Z.jsxs)(`div`,{ref:te,...{0:{className:`x1n2onr6 x1ja2u2z x78zum5 x6s0dn4 x1txdalj x1pzlopt x141an7d x1ltkj2j x9ynric x1htvmrp xvpcij2 xckg3cf xkvxy4d x6k0y1c`},4:{className:`x1n2onr6 x1ja2u2z x78zum5 x6s0dn4 x1txdalj x1pzlopt x141an7d x1ltkj2j x9ynric x2gtn7z x9jihrk x1z0f2p2 xy7p8pm xzc3kxz`},2:{className:`x1n2onr6 x1ja2u2z x78zum5 x6s0dn4 x1txdalj x1pzlopt x141an7d x1ltkj2j x9ynric x1htvmrp xvpcij2 xckg3cf xkvxy4d x6k0y1c x1pritpl xl8t7bd xcthrzx x815t2r x3teovq xvr1dqx`},6:{className:`x1n2onr6 x1ja2u2z x78zum5 x6s0dn4 x1txdalj x1pzlopt x141an7d x1ltkj2j x9ynric x2gtn7z x9jihrk x1z0f2p2 xy7p8pm xzc3kxz x1pritpl xl8t7bd xcthrzx x815t2r x3teovq xvr1dqx`},1:{className:`x1n2onr6 x1ja2u2z x78zum5 x6s0dn4 x1txdalj x1pzlopt x141an7d x1ltkj2j x9ynric x1htvmrp xvpcij2 xckg3cf xkvxy4d x6k0y1c x24i8r5 xfy1f8t xcthrzx x815t2r x3teovq xvr1dqx`},5:{className:`x1n2onr6 x1ja2u2z x78zum5 x6s0dn4 x1txdalj x1pzlopt x141an7d x1ltkj2j x9ynric x2gtn7z x9jihrk x1z0f2p2 xy7p8pm xzc3kxz x24i8r5 xfy1f8t xcthrzx x815t2r x3teovq xvr1dqx`},3:{className:`x1n2onr6 x1ja2u2z x78zum5 x6s0dn4 x1txdalj x1pzlopt x141an7d x1ltkj2j x9ynric x1htvmrp xvpcij2 xckg3cf xkvxy4d x6k0y1c x24i8r5 xfy1f8t xcthrzx x815t2r x3teovq xvr1dqx`},7:{className:`x1n2onr6 x1ja2u2z x78zum5 x6s0dn4 x1txdalj x1pzlopt x141an7d x1ltkj2j x9ynric x2gtn7z x9jihrk x1z0f2p2 xy7p8pm xzc3kxz x24i8r5 xfy1f8t xcthrzx x815t2r x3teovq xvr1dqx`}}[(b===`top`)<<2|(y.type===`error`)<<1|y.type===`warning`],children:[(0,Z.jsx)(XT,{icon:y.type===`error`?`error`:`warning`,size:`md`,color:`inherit`}),y.message]}):null,G=(0,X.useMemo)(()=>({value:M,onChange:N,onSubmit:P,placeholder:E,isDisabled:l,isStopShown:a,canSend:F,onStop:i,inputControlRef:B}),[M,N,P,E,l,a,F,i]);return(0,Z.jsx)(f9,{value:G,children:(0,Z.jsxs)(`div`,{ref:n,...Q(Y(`chat-composer`,{density:u}),{0:{className:`x1n2onr6 x1ja2u2z xc8icb0 x78zum5 xdt5ytf xx161y6 xk0ittl xcw7vlg`},1:{className:`x1n2onr6 x1ja2u2z xc8icb0 x78zum5 xdt5ytf xx161y6 xk0ittl xcw7vlg x197sbye x47corl`}}[!!l|0],S,w),...T,children:[b===`top`&&W,f,(0,Z.jsxs)(`div`,{ref:z,onClick:H,onPointerDownCapture:()=>A(!1),onFocusCapture:ee,onBlurCapture:U,...C(S9.body,WN.textField,eue[d],k&&iS.focusWithin,u===`compact`&&S9.compact,x),children:[(p||m)&&(0,Z.jsxs)(`div`,{className:`x78zum5 x6s0dn4 x1qughib x1txdalj xe0p6wg`,children:[(0,Z.jsx)(`div`,{className:`x78zum5 x6s0dn4 xzye2dw`,children:p}),(0,Z.jsx)(`div`,{className:`x78zum5 x6s0dn4 x1txdalj xvc5jky x141an7d x1ltkj2j xv1l7n4`,children:m})]}),(0,Z.jsx)(`div`,{className:`x78zum5 xdt5ytf`,children:h??(0,Z.jsx)(b9,{})}),(0,Z.jsxs)(`div`,{className:`x78zum5 x6s0dn4 x1qughib x1txdalj x21xpn4`,children:[(0,Z.jsx)(`div`,{className:`x78zum5 x1a02dak x6s0dn4 xzye2dw xeuugli`,children:g}),(0,Z.jsxs)(`div`,{...{0:{className:`x78zum5 x6s0dn4 xzye2dw x2lah0s`},1:{className:`x78zum5 x6s0dn4 xzye2dw x2lah0s x67bb7w`}}[!!(l&&a)|0],children:[_,v??(0,Z.jsx)(x9,{})]})]})]}),b===`bottom`&&W]})})}C9.displayName=`ChatComposer`,D(),oS(),TT(),vr(),dP(),iT(),Ww({\"@astryx.spinner.loading\":`Loading`});var w9={root:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kUk6DE:`x98rzlu`,kAzted:`x2lwn1j`,$$css:!0},focusRingInset:{kInvED:`x1nw7mhf`,$$css:!0},inner:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kUk6DE:`x98rzlu`,kAzted:`x2lwn1j`,$$css:!0},gapCompact:{kOIVth:`x1txdalj`,k8WAf4:`xce4md1`,kg3NbH:`xrrkdod`,$$css:!0},gapBalanced:{kOIVth:`x18g69wz`,k8WAf4:`x1na6nto`,kg3NbH:`x1pzlopt`,$$css:!0},gapSpacious:{kOIVth:`x1qh66ti`,k8WAf4:`xq6koh6`,kg3NbH:`xm7rs69`,$$css:!0}},nue={0:{kOIVth:`xsn7fz1`,$$css:!0},1:{kOIVth:`xzye2dw`,$$css:!0},2:{kOIVth:`x1txdalj`,$$css:!0},3:{kOIVth:`xjcht0a`,$$css:!0},4:{kOIVth:`x18g69wz`,$$css:!0},5:{kOIVth:`x9mgr7n`,$$css:!0},6:{kOIVth:`x1qh66ti`,$$css:!0},8:{kOIVth:`x4t41sb`,$$css:!0},10:{kOIVth:`x3hoi3v`,$$css:!0},\"0.5\":{kOIVth:`x1lsbc85`,$$css:!0},\"1.5\":{kOIVth:`x1s4dlld`,$$css:!0}};function T9({children:e,emptyState:t,scrollToTopAction:n,density:r=`balanced`,gap:i,align:a=`bottom`,isStreaming:o=!1,xstyle:s,className:c,style:l,\"data-testid\":u,ref:d,...f}){let p=Zle(),m=(0,X.useRef)(null),h=(0,X.useRef)(null),[g,_]=(0,X.useTransition)();lP(g,nT()(`@astryx.spinner.loading`),h),(0,X.useEffect)(()=>{if(p?.contentRef&&h.current)return p.contentRef(h.current),()=>p.contentRef(null)},[p]);let v=e!=null&&e!==!1&&!(Array.isArray(e)&&e.length===0);(0,X.useEffect)(()=>{let e=p?.scrollContainerRef?.current;if(!n||!m.current)return;let t=new IntersectionObserver(e=>{e[0]?.isIntersecting&&_(async()=>{await n()})},{root:e??null,threshold:0});return t.observe(m.current),()=>t.disconnect()},[n,p]);let y=(0,X.useMemo)(()=>({density:r}),[r]),b=r===`compact`?w9.gapCompact:r===`spacious`?w9.gapSpacious:w9.gapBalanced,x=i==null?null:nue[i];return(0,Z.jsx)(d9,{value:y,children:(0,Z.jsx)(`div`,{...f,ref:d,role:`log`,\"aria-live\":`polite`,\"aria-busy\":o||void 0,tabIndex:0,\"data-testid\":u,...Q(Y(`chat-message-list`,{density:r}),C(w9.root,iS.focusVisible,w9.focusRingInset,s),c,l),children:(0,Z.jsxs)(`div`,{ref:h,...C(w9.inner,b,x),children:[n&&(0,Z.jsx)(`div`,{ref:m,\"aria-hidden\":!0}),g&&(0,Z.jsx)(`div`,{className:`x78zum5 xl56j7k x8o8v82`,children:(0,Z.jsx)(mT,{size:`md`,\"aria-hidden\":`true`})}),a===`bottom`&&(0,Z.jsx)(`div`,{className:`x98rzlu x2lwn1j`,\"aria-hidden\":!0}),v?e:bO(t)?(0,Z.jsx)(`div`,{className:`x78zum5 x6s0dn4 xl56j7k x98rzlu x2lwn1j`,children:t}):null]})})})}T9.displayName=`ChatMessageList`,D(),vr(),iT(),Ww({\"@astryx.chatMessage.messageFrom\":`Message from {sender}`});var E9={root:{k1xSpc:`x78zum5`,kGNEyG:`x1cy8zhl`,ks0D6T:`x193iq5w`,$$css:!0},rootGapCompact:{kOIVth:`x1s4dlld`,$$css:!0},rootGapBalanced:{kOIVth:`x1txdalj`,$$css:!0},rootGapSpacious:{kOIVth:`xjcht0a`,$$css:!0},rootAssistant:{kXwgrk:`x1q0g3np`,kjj79g:`x1nhvcw1`,$$css:!0},rootUser:{kXwgrk:`x15zctf7`,kjj79g:`x1nhvcw1`,$$css:!0},rootSystem:{kXwgrk:`x1q0g3np`,kjj79g:`xl56j7k`,$$css:!0},avatarOffset:{\"--_chat-avatar-offset\":`xwbd0jv x1p8rq6b`,$$css:!0},contentColumn:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kUk6DE:`x98rzlu`,k7Eaqz:`xeuugli`,$$css:!0},contentColumnSystem:{ks0D6T:`xq8v1hd`,kGNEyG:`x6s0dn4`,$$css:!0},contentColumnAssistant:{kGNEyG:`x1cy8zhl`,$$css:!0},contentColumnUser:{kGNEyG:`xuk3077`,$$css:!0},childrenWrap:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,k7Eaqz:`xeuugli`,kzqmXN:`xh8yej3`,$$css:!0},childrenAssistant:{kGNEyG:`x1cy8zhl`,$$css:!0},childrenUser:{kGNEyG:`xuk3077`,$$css:!0},childrenSystem:{kGNEyG:`x6s0dn4`,$$css:!0},childrenGapCompact:{kOIVth:`x1lsbc85`,$$css:!0},childrenGapBalanced:{kOIVth:`xzye2dw`,$$css:!0},childrenGapSpacious:{kOIVth:`x1s4dlld`,$$css:!0}};function D9({sender:e,children:t,avatar:n,name:r,metadata:i,density:a,xstyle:o,className:s,style:c,\"data-testid\":l,ref:u,...d}){let f=nT(),p=Xle(),m=a??p?.density??`balanced`,h=(0,X.useMemo)(()=>({sender:e,density:m}),[e,m]),g=m===`compact`?E9.rootGapCompact:m===`spacious`?E9.rootGapSpacious:E9.rootGapBalanced,_=m===`compact`?E9.childrenGapCompact:m===`spacious`?E9.childrenGapSpacious:E9.childrenGapBalanced,v=e===`system`?E9.rootSystem:e===`user`?E9.rootUser:E9.rootAssistant,y=e===`system`?E9.contentColumnSystem:e===`user`?E9.contentColumnUser:E9.contentColumnAssistant,b=e===`system`?E9.childrenSystem:e===`user`?E9.childrenUser:E9.childrenAssistant,x=e===`system`,S=!x&&bO(n),w=!x&&bO(r),T=!x&&bO(i),E=(0,X.useId)();return(0,Z.jsx)(u9,{value:h,children:(0,Z.jsxs)(`article`,{...d,ref:u,\"data-testid\":l,\"aria-label\":f(`@astryx.chatMessage.messageFrom`,{sender:e}),\"aria-labelledby\":w?E:void 0,...Q(Y(`chat-message`,{sender:e,density:m}),C(E9.avatarOffset,E9.root,v,S&&g,o),s,c),children:[S&&(0,Z.jsx)(`div`,{className:`xjl7jj x2lah0s xb1t4hs`,children:n}),(0,Z.jsxs)(`div`,{...C(E9.contentColumn,y),children:[w&&(0,Z.jsx)(`div`,{id:E,className:`xjl7jj x141an7d x2mo6ok xv1l7n4 x1ltkj2j x14cgwvg`,children:r}),(0,Z.jsx)(`div`,{...C(E9.childrenWrap,b,_),children:t}),T&&(0,Z.jsx)(`div`,{className:`xjl7jj`,children:i})]})]})})}D9.displayName=`ChatMessage`,D(),vr();var O9={content:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,ks0D6T:`xl6temz`,kaIpWk:`xashgol`,kMv6JI:`x9ynric`,kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,kHjlTd:`x1mzt3pk`,kTgw9:`x13faqbe`,$$css:!0},radiusCompact:{kaIpWk:`x1hviunn`,$$css:!0},paddingCompact:{k8WAf4:`x8o8v82`,kg3NbH:`x1pzlopt`,$$css:!0},paddingBalanced:{k8WAf4:`x8o8v82`,kg3NbH:`x1pzlopt`,$$css:!0},paddingSpacious:{k8WAf4:`x1na6nto`,kg3NbH:`xzz68wx`,$$css:!0},paddingBlockNone:{k8WAf4:`xt970qd`,$$css:!0},metadataPaddingCompact:{kg3NbH:`x1pzlopt`,$$css:!0},metadataPaddingBalanced:{kg3NbH:`x1pzlopt`,$$css:!0},metadataPaddingSpacious:{kg3NbH:`xzz68wx`,$$css:!0},metadataReducedGap:{keoZOQ:`x1c40v9y`,$$css:!0},headerReducedGap:{k1K539:`xdrfirk`,$$css:!0},nameRow:{kZKoxP:`x1grt7ep`,k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,$$css:!0},alignEnd:{k9WMMc:`xp4054r`,$$css:!0},assistant:{kWkggS:`x17x4s8c`,kMwMTN:`x1tgivj0`,$$css:!0},user:{kWkggS:`x17x4s8c`,kMwMTN:`x1tgivj0`,$$css:!0},ghost:{kWkggS:`xjbqb8w`,kMwMTN:`x1tgivj0`,$$css:!0},groupFirstAssistant:{kVL7Gh:`xrfs2vl`,$$css:!0},groupMiddleAssistant:{krdFHd:`x3qb8m`,kVL7Gh:`xrfs2vl`,$$css:!0},groupLastAssistant:{krdFHd:`x3qb8m`,$$css:!0},groupFirstUser:{kT0f0o:`x1whkvtz`,$$css:!0},groupMiddleUser:{kfmiAY:`x126per9`,kT0f0o:`x1whkvtz`,$$css:!0},groupLastUser:{kfmiAY:`x126per9`,$$css:!0}},rue={ks0D6T:`x1x1rfll`,$$css:!0},iue={sizing:e=>[rue,{kzqmXN:e==null?e:`x5lhr3w`,$$css:!0},{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]};function k9({children:e,variant:t=`filled`,name:n,metadata:r,group:i,width:a,xstyle:o,className:s,style:c,\"data-testid\":l,ref:u,...d}){let f=Yle(),p=f?.sender??`assistant`,m=f?.density??`balanced`,h=m===`compact`?O9.paddingCompact:m===`spacious`?O9.paddingSpacious:O9.paddingBalanced,g=p===`user`,_=t===`ghost`?O9.ghost:g?O9.user:O9.assistant,v=i===`first`?g?O9.groupFirstUser:O9.groupFirstAssistant:i===`middle`?g?O9.groupMiddleUser:O9.groupMiddleAssistant:i===`last`?g?O9.groupLastUser:O9.groupLastAssistant:null,y=m===`compact`?O9.metadataPaddingCompact:m===`spacious`?O9.metadataPaddingSpacious:O9.metadataPaddingBalanced,b=bO(n),x=bO(r);return(0,Z.jsxs)(Z.Fragment,{children:[b&&(0,Z.jsx)(`div`,{\"data-chat-name\":!0,...C(y,O9.nameRow,O9.headerReducedGap,g&&O9.alignEnd),children:n}),(0,Z.jsx)(`div`,{...d,ref:u,\"data-testid\":l,...Q(Y(`chat-message-bubble`,{sender:p,variant:t,density:m}),C(O9.content,m===`compact`&&O9.radiusCompact,_,h,t===`ghost`&&O9.paddingBlockNone,v,a!=null&&iue.sizing(a),o),s,c),children:e}),x&&(0,Z.jsx)(`div`,{...C(y,O9.metadataReducedGap,g&&O9.alignEnd),children:r})]})}k9.displayName=`ChatMessageBubble`;var A9=`data-astryx-scroll-anchoring`,j9=`off`,M9=`rule`;function aue(e){if(e.head.querySelector(`[${A9}=\"${M9}\"]`)!=null)return;let t=e.createElement(`style`);t.setAttribute(A9,M9),t.textContent=`[${A9}=\"${j9}\"]{overflow-anchor:none !important}`,e.head.appendChild(t)}function oue(e,t){t?(aue(e.ownerDocument),e.setAttribute(A9,j9)):e.removeAttribute(A9)}function N9(e){let t=e.ownerDocument;return e===t.scrollingElement||e===t.documentElement}function sue(e){return N9(e)?0:e.getBoundingClientRect().top}function cue(e){return N9(e)?e.ownerDocument:e}gs(),Pu();var lue=1e3/60,P9=new WeakSet;function uue(e){return P9.has(e)}function F9(e,t){oue(e,t),t?P9.add(e):P9.delete(e)}function due({scrollRef:e,enabled:t=!0,lockThreshold:n=10,buttonThreshold:r=100,damping:i=.7,stiffness:a=.05,mass:o=1.25}){let[s,c]=(0,X.useState)(!1),[l,u]=(0,X.useState)(!0),d=(0,X.useRef)(!0),f=(0,X.useRef)(!0),p=(0,X.useRef)(0),m=(0,X.useRef)(void 0),h=(0,X.useRef)(!1),g=(0,X.useRef)(void 0),_=(0,X.useRef)(0),v=(0,X.useRef)(0),y=(0,X.useCallback)(t=>{d.current=t,u(t);let n=e.current;n!=null&&F9(n,t)},[e]),b=(0,X.useCallback)(()=>{let t=e.current;if(!t||!d.current||t.scrollHeight<=t.clientHeight){h.current=!1,g.current=void 0,p.current=0;return}let n=t.scrollHeight-t.clientHeight,r=Math.max(0,Math.min(n,m.current??t.scrollTop)),s=n-r;if(Math.abs(s)<.5&&Math.abs(p.current)<.1){t.scrollTop=n,h.current=!1,g.current=void 0,p.current=0;return}let c=performance.now(),l=g.current?(c-g.current)/lue:1;g.current=c,p.current=(i*p.current+a*s)/o,m.current=r+p.current*l,t.scrollTop=m.current,v.current=t.scrollTop,_.current=requestAnimationFrame(b)},[e,i,a,o]),x=(0,X.useCallback)(()=>{let t=e.current;t&&(cancelAnimationFrame(_.current),h.current=!1,p.current=0,g.current=void 0,t.scrollTop=t.scrollHeight-t.clientHeight,v.current=t.scrollTop)},[e]),S=ps(`(prefers-reduced-motion: reduce)`),C=(0,X.useCallback)(()=>{d.current&&(S?x():h.current||(h.current=!0,g.current=void 0,m.current=e.current?.scrollTop,_.current=requestAnimationFrame(b)))},[b,x,S,e]),w=(0,X.useCallback)(e=>{y(!0),c(!1),f.current=!1,e?.behavior===`instant`?x():C()},[y,C,x]),T=(0,X.useCallback)(t=>{let n=e.current;if(!n)return;let r=sue(n),i=t.getBoundingClientRect().top-r+n.scrollTop;n.scrollTo({top:i,behavior:`instant`}),v.current=n.scrollTop},[e]),E=(0,X.useCallback)(()=>{let t=e.current;if(!t)return;let n=t.getElementsByClassName(`astryx-chat-message`),r=n[n.length-1];r instanceof HTMLElement&&T(r)},[e,T]),D=(0,X.useCallback)(()=>{y(!0),c(!1),C()},[y,C]),O=(0,X.useCallback)(()=>{y(!1),h.current=!1},[y]),k=(0,X.useCallback)(()=>{if(!t||!d.current)return;let n=e.current;f.current&&n&&n.scrollHeight>n.clientHeight?(f.current=!1,x()):C()},[t,C,x,e]);return(0,X.useEffect)(()=>{let i=e.current;if(!i||!t)return;v.current=i.scrollTop,F9(i,d.current);let a=i.ownerDocument,o=N9(i),s=()=>o?i.clientHeight:i.offsetHeight,l=()=>{let{scrollTop:e,scrollHeight:t}=i,n=t-e-s();c(n>r);let a=e{i.scrollHeight-i.scrollTop-s()<=n&&y(!0)},p=cue(i),m=p===a?a.defaultView:null,g=[];if(m!=null){let e=e=>t=>{t.target===p&&e()};g.push(bu(m,`scroll`,e(l)),bu(m,`scrollend`,e(u)))}else i.addEventListener(`scroll`,l,{passive:!0}),i.addEventListener(`scrollend`,u);return requestAnimationFrame(()=>{i.scrollHeight>i.clientHeight&&(i.scrollTop=i.scrollHeight-i.clientHeight,v.current=i.scrollTop,f.current=!1)}),()=>{for(let e of g)e();i.removeEventListener(`scroll`,l),i.removeEventListener(`scrollend`,u),F9(i,!1)}},[e,t,n,r,y]),{isScrolledUp:s,isLocked:l,scrollToBottom:w,scrollToMessage:T,lock:D,unlock:O,scrollIfLocked:k,scrollToLastMessage:E}}Qi();function fue({isLocked:e,onResize:t}){let[n,r]=(0,X.useState)(!1),i=(0,X.useRef)(null),a=(0,X.useRef)(e),o=(0,X.useRef)(t);(0,X.useInsertionEffect)(()=>{a.current=e,o.current=t});let s=(0,X.useRef)(null),c=(0,X.useRef)(null),l=(0,X.useCallback)(e=>{let t=qi(e,()=>{o.current?.();let t=e.getElementsByClassName(`astryx-chat-message`),n=t.length>0?t[t.length-1]:null;n&&n!==i.current&&(i.current=n,a.current||r(!0))});c.current=t},[]),u=(0,X.useCallback)(()=>{c.current?.(),c.current=null},[]),d=(0,X.useCallback)(e=>{e!==s.current&&(u(),s.current=e,e&&l(e))},[l,u]);return(0,X.useEffect)(()=>()=>u(),[u]),{hasNewMessages:n,dismiss:(0,X.useCallback)(()=>{r(!1)},[]),contentRef:d}}D(),sE(),TT(),uE(),vr(),oS(),iT(),Ww({\"@astryx.chatToolCalls.error\":`Error: {message}`,\"@astryx.chatToolCalls.groupLabel\":`{count} tool calls`,\"@astryx.chatToolCalls.status.complete\":`Complete`,\"@astryx.chatToolCalls.status.error\":`Failed`,\"@astryx.chatToolCalls.status.pending\":`Pending`,\"@astryx.chatToolCalls.status.running\":`Running`});var I9={root:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,ks0D6T:`x193iq5w`,keoZOQ:`xtbrsbv`,$$css:!0},chevronTransition:{kmkexE:`x1ob6yzd x9kvfbb`,$$css:!0},chevronExpanded:{k3aq6I:`x19jd1h0`,$$css:!0},callRow:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kOIVth:`x1s4dlld`,kAzted:`xjwf9q1`,k8WAf4:`x13f7esw`,$$css:!0},callRowFocusInset:{kInvED:`x1nw7mhf`,$$css:!0},callRowClickable:{kkrTdU:`x1ypdohk x16khyan`,kaIpWk:`xh6dtrn`,kg3NbH:`x7a5moj`,kUOVxO:`xtedp8i`,k9dgf8:`xoevpu5`,$$css:!0},callRowToggle:{kkrTdU:`x1ypdohk x16khyan`,$$css:!0},statusIcon:{kVAEAm:`x1n2onr6`,k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,kzqmXN:`x1kky2od`,kZKoxP:`xlup9mm`,kaIpWk:`xjspbzw`,$$css:!0},nodePill:{kmuXW:`x2lah0s`,$$css:!0},colorPending:{kMwMTN:`xnbbluu`,$$css:!0},colorRunning:{kMwMTN:`xqwr325`,$$css:!0},colorComplete:{kMwMTN:`x1vau044`,$$css:!0},colorError:{kMwMTN:`xskb5cx`,$$css:!0}},L9={pending:`clock`,running:null,complete:`success`,error:`error`},R9={pending:I9.colorPending,running:I9.colorRunning,complete:I9.colorComplete,error:I9.colorError};function z9(e,t,n){if(t===`error`&&n!=null)return e(`@astryx.chatToolCalls.error`,{message:n});switch(t){case`pending`:return e(`@astryx.chatToolCalls.status.pending`);case`running`:return e(`@astryx.chatToolCalls.status.running`);case`complete`:return e(`@astryx.chatToolCalls.status.complete`);case`error`:return e(`@astryx.chatToolCalls.status.error`)}}function pue(e){return mre(e.key,()=>[e.name,e.status??`complete`,e.target??``,e.node??``,e.duration??``,e.additions?.toString()??``,e.deletions?.toString()??``,e.errorMessage??``].join(`\u001f`))}function B9({call:e,hasClippedFocusRing:t=!1}){let n=nT(),r=e.status??`complete`,i=e.resultDetail!=null,[a,o]=(0,X.useState)(!1),s=(0,X.useId)(),c=z9(n,r,e.errorMessage),l=i?()=>o(e=>!e):void 0,u=(0,Z.jsxs)(`div`,{role:i?`button`:void 0,tabIndex:i?0:void 0,\"aria-expanded\":i?a:void 0,\"aria-controls\":i&&a?s:void 0,onClick:l,onKeyDown:i?e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),l?.())}:void 0,...aS.focusVisible(I9.callRow,i&&I9.callRowClickable,i&&t&&I9.callRowFocusInset),children:[(0,Z.jsxs)(`span`,{title:r===`error`?e.errorMessage:void 0,...C(I9.statusIcon,R9[r]),children:[r===`running`||r===`pending`?(0,Z.jsx)(mT,{size:`sm`,shade:`subtle`,\"aria-hidden\":`true`}):(0,Z.jsx)(XT,{icon:L9[r]??`success`,size:`xsm`,color:`inherit`}),(0,Z.jsx)(cE,{children:c})]}),(0,Z.jsx)(`span`,{className:`x141an7d x1ltkj2j x9m5x89 x1e4wzip xv1l7n4 xuxw1ft xb3r6kr xlyipyv xs83m0k x13n9wmd`,children:e.name}),e.node!=null&&(0,Z.jsx)(VH,{label:e.node,variant:`neutral`,xstyle:I9.nodePill}),e.target!=null&&(0,Z.jsx)(`span`,{className:`x141an7d x1ltkj2j x9ynric xv1l7n4 xuxw1ft xb3r6kr xlyipyv x1g3ib7 xeuugli`,children:e.target}),(e.additions!=null||e.deletions!=null||e.stats!=null)&&(0,Z.jsxs)(`span`,{className:`x78zum5 x6s0dn4 xzye2dw x141an7d x1ltkj2j x9ynric xv1l7n4 x2lah0s`,children:[e.additions!=null&&(0,Z.jsxs)(`span`,{className:`x1caiuuo`,children:[`+`,e.additions]}),e.deletions!=null&&(0,Z.jsxs)(`span`,{className:`x1wj83wy`,children:[`-`,e.deletions]}),e.stats]}),e.duration!=null&&r===`complete`&&(0,Z.jsx)(`span`,{className:`x141an7d x1ltkj2j x9ynric xv1l7n4 xuxw1ft x2lah0s`,children:e.duration}),i&&(0,Z.jsx)(`span`,{className:`x3nfvp2 x6s0dn4 xl56j7k x2lah0s x6jxa94 x1v9usgg xv1l7n4 xvc5jky`,children:(0,Z.jsx)(XT,{icon:`chevronDown`,size:`xsm`,color:`inherit`,xstyle:[I9.chevronTransition,a&&I9.chevronExpanded]})})]});return i?(0,Z.jsxs)(`div`,{children:[u,a&&(0,Z.jsx)(`div`,{id:s,className:`x1f43n9v x1wesfrj`,children:e.resultDetail})]}):u}function V9(e){let t=nT(),{calls:n,label:r,isExpanded:i,defaultIsExpanded:a,onExpandedChange:o,xstyle:s,className:c,style:l,ref:u,...d}=e,[f,p]=(0,X.useState)(a??!1),m=(0,X.useId)(),h=i!==void 0,g=h?i:f,_=(0,X.useCallback)(()=>{let e=!g;h||p(e),o?.(e)},[g,h,o]);if(n.length===0)return null;if(n.length===1)return(0,Z.jsx)(`div`,{ref:u,...Q(Y(`chat-tool-calls`),C(I9.root,s),c,l),...d,children:(0,Z.jsx)(B9,{call:n[0]})});let v=n[n.length-1],y=v.status??`complete`,b=z9(t,y,v.errorMessage);return(0,Z.jsxs)(`div`,{ref:u,...Q(Y(`chat-tool-calls`),C(I9.root,s),c,l),...d,children:[(0,Z.jsxs)(`div`,{role:`button`,tabIndex:0,\"aria-expanded\":g,\"aria-controls\":m,onClick:_,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),_())},...aS.focusVisible(I9.callRow,I9.callRowToggle),children:[g?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`span`,{className:`x3nfvp2 x6s0dn4 xl56j7k x2lah0s x1kky2od xlup9mm xv1l7n4`,children:(0,Z.jsx)(XT,{icon:`wrench`,size:`sm`,color:`inherit`})}),(0,Z.jsx)(`span`,{className:`x141an7d x1ltkj2j x9ynric x1e4wzip xv1l7n4`,children:r??t(`@astryx.chatToolCalls.groupLabel`,{count:n.length})})]}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(`span`,{...C(I9.statusIcon,R9[y]),children:[y===`running`||y===`pending`?(0,Z.jsx)(mT,{size:`sm`,shade:`subtle`,\"aria-hidden\":`true`}):(0,Z.jsx)(XT,{icon:L9[y]??`success`,size:`xsm`,color:`inherit`}),(0,Z.jsx)(cE,{children:b})]}),(0,Z.jsx)(`span`,{className:`x141an7d x1ltkj2j x9m5x89 x1e4wzip xv1l7n4 xuxw1ft xb3r6kr xlyipyv xs83m0k x13n9wmd`,children:v.name}),v.target!=null&&(0,Z.jsx)(`span`,{className:`x141an7d x1ltkj2j x9ynric xv1l7n4 xuxw1ft xb3r6kr xlyipyv x1g3ib7 xeuugli`,children:v.target})]}),(0,Z.jsx)(`span`,{className:`x3nfvp2 x6s0dn4 x1lsbc85 x141an7d x1ltkj2j x9ynric xv1l7n4 x2lah0s`,children:!g&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(XT,{icon:`wrench`,size:`xsm`,color:`inherit`}),n.length]})}),(0,Z.jsx)(`span`,{className:`x3nfvp2 x6s0dn4 xl56j7k x2lah0s x6jxa94 x1v9usgg xv1l7n4`,children:(0,Z.jsx)(XT,{icon:`chevronDown`,size:`xsm`,color:`inherit`,xstyle:[I9.chevronTransition,g&&I9.chevronExpanded]})})]}),(0,Z.jsx)(`div`,{id:m,inert:!g||void 0,...{0:{className:`xrvj5dj xihq33y xb0j27v x9kvfbb`},1:{className:`xrvj5dj xb0j27v x9kvfbb x1tu4anv`}}[!!g|0],children:(0,Z.jsx)(`div`,{className:`xb3r6kr x2lwn1j x7a5moj xtedp8i`,children:(0,Z.jsx)(`div`,{className:`x78zum5 xdt5ytf x7a5moj xtedp8i`,children:n.map(e=>(0,Z.jsx)(B9,{call:e,hasClippedFocusRing:!0},pue(e)))})})})]})}V9.displayName=`ChatToolCalls`,GF(),Of(),dm(),TL(),BI(),fd(),Hf(),bj(),ds(),Fv(),x();function mue(){let e=0,t=new Set;return{get:()=>e,set:n=>{if(n!==e){e=n;for(let e of t)e()}},subscribe:e=>(t.add(e),()=>{t.delete(e)})}}var hue=`[contenteditable=\"false\"], button, a, [role=\"button\"], [data-astryx-token]`;function gue(e){let t=e;t!=null&&t.nodeType!==1&&(t=t.parentNode);let n=t;if(n==null||typeof n.closest!=`function`)return null;let r=lf(n)?n:n.closest(`[contenteditable]:not([contenteditable=\"false\"])`);if(r==null||!lf(r))return null;let i=n.closest(hue);if(i!=null&&r.contains(i))return null;let a=r.ownerDocument.activeElement;return a===r||r.contains(a)?null:r}function _ue(e,t){t!==`keyboard`&&(e.style.setProperty(`outline`,`none`),e.addEventListener(`blur`,()=>e.style.removeProperty(`outline`),{once:!0})),WA(e,{preventScroll:!0},t)}function vue({rootRef:e,scrollRef:t,isSelfScrolling:n,scrollToBottom:r}){let i=H9(),a=H9(),o=(0,X.useRef)(null),[s]=(0,X.useState)(mue),c=(0,X.useSyncExternalStore)(s.subscribe,s.get,s.get),l=(0,X.useRef)(0),u=(0,X.useRef)(!1),d=(0,X.useRef)(0),f=(0,X.useRef)(null),p=(0,X.useRef)(null),m=(0,X.useRef)(!1),h=(0,X.useRef)(0),g=Nv(),_=If(o),v=g.isTouch;return b(()=>{let r=e.current,o=r?.ownerDocument.defaultView;if(r==null||o==null)return;let c=e=>{if(e<=0)return 0;let t=sd(o),i=n?r.getBoundingClientRect().bottom:t;return Math.max(0,i-(t-e))},g=()=>{let e=t.current;return e!=null&&uue(e)},_=()=>{if(u.current)return;let e=c(cf(o));Math.abs(e-l.current)<.5||(m.current=g(),h.current=t.current?.scrollTop??0,s.set(e))},y=v&&tm(o)===`chromium`?am(o).subscribe(e=>{let t=l.current-c(e.to),n=g();if(f.current=t,p.current=n?t:null,!e.animated){d.current+=1,u.current=!1,i.animator.set({y:t}),n&&a.animator.set({y:t}),_();return}let r={y:t};u.current=!0,d.current+=1;let o=d.current,s=[zI(i.animator,r,e)?.finished??Promise.resolve(!0)];n&&s.push(zI(a.animator,r,e)?.finished??Promise.resolve(!0)),Promise.all(s).then(async e=>{if(!e.every(Boolean)||o!==d.current)return;let t=i.animator.element;await Promise.all((t?.getAnimations?.()??[]).map(async e=>e.finished.catch(()=>void 0))),o===d.current&&(u.current=!1,_())}).catch(()=>void 0)}):void 0,b=cf(o),x=of(o,e=>{e.type===`viewport`&&e.height!==b&&(b=e.height,_())});return _(),()=>{x(),y?.(),u.current=!1}},[e,t,n,v,i.animator,a.animator,s]),b(()=>{let e=c-l.current;if(Math.abs(e)<.5)return;l.current=c;let n=f.current,o=p.current;f.current=null,p.current=null,n!=null&&i.animator.set({y:n+e});let s=t.current;if(s==null)return;o!=null&&a.animator.set({y:0}),m.current&&r({behavior:`instant`});let u=s.scrollTop-h.current;o!=null&&Math.abs(o+u)>=.5&&a.animator.set({y:o+u})},[c,t,i.animator,a.animator,r]),b(()=>{let e=o.current,t=e?.ownerDocument.defaultView??null;if(g.isTouch&&e!=null&&rL(t))return gf(e,{claim:gue,deliver:eL})},[g.isTouch]),b(()=>{let e=o.current,t=e?.ownerDocument.defaultView??null;if(!g.isTouch||e==null||!rL(t))return;let n=tL(t,t=>e.contains(t)),r=of(t,e=>{e.type===`viewport`&&n.report(e.height)});return()=>{r(),n.stop()}},[g.isTouch]),b(()=>{let e=o.current,t=e?.ownerDocument.defaultView??null;if(!g.isTouch||e==null||!rL(t))return;e.setAttribute(`role`,`group`);let n=df(e.ownerDocument,{isActive:()=>ss(t),claim:t=>uf(t,e),park:t=>{uf(t,e)!=null&&_ue(e,_())}});return()=>{n(),e.removeAttribute(`role`)}},[g.isTouch,_]),{lift:c,dockRef:i.ref,messagesRef:a.ref,composerRef:o}}function H9(){let[e]=(0,X.useState)(()=>{let e=gF(null);return{animator:e,ref:t=>e.attach(t)}});return e}D(),sE(),vr(),iT(),Ww({\"@astryx.chatLayoutScrollButton.scrollToBottom\":`Scroll to bottom`});var U9={wrapper:{k1xSpc:`x78zum5`,kjj79g:`xl56j7k`,kGO01o:`xvmdzux`,$$css:!0},button:{\"--radius-element\":`xnpej1e`,khDVqt:`xuxw1ft`,kg3NbH:`xf314gf`,$$css:!0},buttonWithLabel:{kwRFfy:`x1t818jl`,$$css:!0}};function W9({ref:e,isVisible:t,label:n,onClick:r,xstyle:i,className:a,style:o,...s}){let c=nT();return(0,Z.jsx)(`div`,{ref:e,...Q(C(U9.wrapper,i),a,o),...s,children:(0,Z.jsx)(`div`,{inert:!t,...Q(Y(`chat-layout-scroll-button`),{0:{className:`xawy1a7 xb3r6kr xjspbzw x1prclbq x14hfi27 x1ueg155 xrgg2z9 xlr8y92 x2rcmwa x12w9bfk xg01cxk x47corl xlshs6z x1jys5uj`},2:{className:`xawy1a7 xb3r6kr xjspbzw x1prclbq x14hfi27 x1ueg155 xrgg2z9 xlr8y92 x2rcmwa x12w9bfk x1hc1fzr x67bb7w xnpuxes x1jys5uj`},1:{className:`xawy1a7 xb3r6kr xjspbzw x1prclbq x14hfi27 x1ueg155 xrgg2z9 xlr8y92 x2rcmwa x12w9bfk xg01cxk x47corl xlshs6z x1ncir08`},3:{className:`xawy1a7 xb3r6kr xjspbzw x1prclbq x14hfi27 x1ueg155 xrgg2z9 xlr8y92 x2rcmwa x12w9bfk x1hc1fzr x67bb7w xnpuxes x1ncir08`}}[!!t<<1|!!n]),children:(0,Z.jsx)(IO,{label:n??c(`@astryx.chatLayoutScrollButton.scrollToBottom`),\"aria-label\":n??c(`@astryx.chatLayoutScrollButton.scrollToBottom`),icon:(0,Z.jsx)(XT,{icon:`chevronDown`,size:`md`}),variant:`ghost`,size:`md`,isIconOnly:!n,onClick:r,xstyle:[U9.button,n?U9.buttonWithLabel:null],children:n??void 0})})})}W9.displayName=`ChatLayoutScrollButton`,D(),G(),oS(),vr(),vx(),Qi(),iT(),Ww({\"@astryx.chatLayout.newMessages\":`New messages`});var yue={kGO01o:`xdz27ya`,$$css:!0},G9={root:{kVAEAm:`x1n2onr6`,k9g6sI:`x12h1iku`,kAzted:`x2lwn1j`,kUk6DE:`x98rzlu`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,$$css:!0},rootScrollable:{kORKVm:`x1odjw0f`,kXHlph:`x6ikm8r`,$$css:!0},messageArea:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kUOVxO:`xvueqy4`,kzQI83:`x1iyjqo2`,kmuXW:`x2lah0s`,kCS8Yb:`xdl72j9`,kGO01o:`xjpqqx5`,kzqmXN:`xh8yej3`,ks0D6T:`x193iq5w`,kg3NbH:`xnjsko4`,$$css:!0},messageAreaEndRoom:e=>[yue,{\"--x-paddingBlockEnd\":(e=>typeof e==`number`?e+`px`:e??void 0)(`calc(${j[`--spacing-6`]} + ${e}px)`)}],dockContainer:{krVfgx:`x1ey2m1c`,kLqNvP:`x1o0tod`,kt4wiu:`xtijo5x`,kY2c9j:`x1ja2u2z`,kHBbk8:`xc8icb0`,kfzvcC:`x47corl`,kmuXW:`x2lah0s`,$$css:!0},dockContainerFixed:{kVAEAm:`xixxii4`,$$css:!0},dockContainerSticky:{kVAEAm:`x7wzq59`,$$css:!0},dockLift:e=>[{krVfgx:e==null?e:`x1nqzi6q`,$$css:!0},{\"--x-bottom\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],blurLayer:{kVAEAm:`x10l6tqk`,krVfgx:`x1ey2m1c`,kLqNvP:`x1o0tod`,kt4wiu:`xtijo5x`,kfzvcC:`x47corl`,k6WDB:`xvn2z4z`,keRtuK:`x67t5t6`,kZKoxP:`xpyat2d`,kX1K2I:`xw26lqc`,kAExgp:`x1bv1mxo`,$$css:!0},dock:{kVAEAm:`x1n2onr6`,kY2c9j:`x1vjfegm`,kfzvcC:`x67bb7w`,kg3NbH:`xrrkdod`,kGO01o:`xvmdzux`,$$css:!0},dockFocusRing:{kInvED:`x1nw7mhf`,$$css:!0},dockInner:{kUOVxO:`xvueqy4`,kzqmXN:`xh8yej3`,ks0D6T:`x193iq5w`,$$css:!0},messageAreaCompact:{ks0D6T:`x193iq5w`,kg3NbH:`xnjsko4`,$$css:!0},messageAreaBalanced:{ks0D6T:`x193iq5w`,kg3NbH:`xnjsko4`,$$css:!0},messageAreaSpacious:{ks0D6T:`x1ap80js`,kg3NbH:`x1pzlopt`,$$css:!0},blurLayerCompact:{kZKoxP:`xwzfr38`,kX1K2I:`xkm2don`,kAExgp:`xiy8rlo`,$$css:!0},blurLayerBalanced:{kZKoxP:`xpyat2d`,kX1K2I:`xw26lqc`,kAExgp:`x1bv1mxo`,$$css:!0},blurLayerSpacious:{kZKoxP:`x1wkxgih`,kX1K2I:`xr5yg4x`,kAExgp:`xo9xo30`,$$css:!0},dockCompact:{kg3NbH:`xf314gf`,kGO01o:`x1wesfrj`,$$css:!0},dockBalanced:{kg3NbH:`xrrkdod`,kGO01o:`xvmdzux`,$$css:!0},dockSpacious:{kg3NbH:`x1pzlopt`,kGO01o:`xvmdzux`,$$css:!0},dockInnerCompact:{ks0D6T:`x193iq5w`,$$css:!0},dockInnerBalanced:{ks0D6T:`x193iq5w`,$$css:!0},dockInnerSpacious:{ks0D6T:`x1ap80js`,$$css:!0}};function bue(e){return!(e==null||e===!1||Array.isArray(e)&&e.length===0)}function K9({children:e,composer:t,density:n=`balanced`,emptyState:r,scrollButton:i,scrollRef:a,xstyle:o,className:s,style:c,\"data-testid\":l,ref:u,...d}){let f=nT(),p=(0,X.useRef)(null),m=a??p,h=!a,g=due({scrollRef:m}),_=fue({isLocked:g.isLocked,onResize:g.scrollIfLocked}),v=vue({rootRef:p,scrollRef:m,isSelfScrolling:h,scrollToBottom:g.scrollToBottom}),[y,b]=(0,X.useState)(0),x=(0,X.useCallback)(e=>{if(!(e==null||h))return qi(e,t=>{let n=t.borderBoxSize?.[0]?.blockSize??e.getBoundingClientRect().height;b(Math.round(n))})},[h]),S=gx(v.dockRef,x),w=v.lift+(h?0:y),T=(0,Z.jsx)(W9,{isVisible:g.isScrolledUp||_.hasNewMessages,label:_.hasNewMessages?f(`@astryx.chatLayout.newMessages`):void 0,onClick:()=>{_.dismiss(),g.scrollToBottom()}}),E=(0,X.useMemo)(()=>({scrollContainerRef:m,contentRef:_.contentRef}),[m,_.contentRef]),D=!bue(e),O={compact:{messageArea:G9.messageAreaCompact,blurLayer:G9.blurLayerCompact,dock:G9.dockCompact,dockInner:G9.dockInnerCompact},balanced:{messageArea:G9.messageAreaBalanced,blurLayer:G9.blurLayerBalanced,dock:G9.dockBalanced,dockInner:G9.dockInnerBalanced},spacious:{messageArea:G9.messageAreaSpacious,blurLayer:G9.blurLayerSpacious,dock:G9.dockSpacious,dockInner:G9.dockInnerSpacious}}[n];return(0,Z.jsx)(m9,{value:E,children:(0,Z.jsxs)(`div`,{...d,ref:gx(u,p),\"data-testid\":l,...Q(Y(`chat-layout`,{density:n}),C(G9.root,h&&G9.rootScrollable,o),s,c),children:[(0,Z.jsx)(`div`,{ref:v.messagesRef,...C(G9.messageArea,O.messageArea,w>0&&G9.messageAreaEndRoom(w)),children:D&&r?(0,Z.jsx)(`div`,{className:`x78zum5 x6s0dn4 xl56j7k x98rzlu xz65tgg`,children:r}):e}),(0,Z.jsxs)(`div`,{ref:S,...C(G9.dockContainer,h?G9.dockContainerSticky:G9.dockContainerFixed,v.lift>0&&G9.dockLift(v.lift)),children:[i===void 0?T:i,(0,Z.jsx)(`div`,{...C(G9.blurLayer,O.blurLayer)}),(0,Z.jsx)(h9,{value:!0,children:(0,Z.jsx)(`div`,{ref:v.composerRef,...C(iS.focusVisible,G9.dock,O.dock,G9.dockFocusRing),children:(0,Z.jsx)(`div`,{...C(G9.dockInner,O.dockInner),children:t})})})]})]})})}K9.displayName=`ChatLayout`,DC(),RC(),sE();var q9=typeof matchMedia<`u`&&matchMedia(`(pointer: coarse)`).matches,J9={ask:[`chat`,`answer`],build:[`build`,`website`],search:[`search`,`answer`],video:[`create`,`video`],computer:[`computer`,`answer`]},xue=/\\.(txt|md|json|csv|js|mjs|ts|tsx|jsx|py|html|css|yml|yaml|toml|xml|sh|sql|go|rs|java|c|h|cpp|rb|php|log|env)$/i,Y9={id:`flisk-wolf-chat`,name:`Flisk Wolf`,provider:`flisk`,providerName:`Flisk`,description:``,free:!0,key:``,model:`flisk-wolf-chat`},Sue=e=>/[іїєґ]/i.test(e)?`uk`:/[ыэъё]/i.test(e)?`ru`:``;function Cue(e){return new Promise(t=>{if(e.size>5242880){t({error:e.name+` is bigger than 5 MB`});return}let n=new FileReader,r=xue.test(e.name)||(e.type||``).startsWith(`text/`);n.onload=()=>t({name:e.name,type:e.type,content:r?String(n.result):String(n.result).split(`,`)[1]||``,b64:!r}),n.onerror=()=>t({error:`Could not read `+e.name}),r?n.readAsText(e):n.readAsDataURL(e)})}async function wue(e){let t=(e,t)=>{let n=URL.createObjectURL(e),r=document.createElement(`a`);r.href=n,r.download=`flisk-picture.`+t,document.body.appendChild(r),r.click(),r.remove(),setTimeout(()=>URL.revokeObjectURL(n),1e3)};try{let n=await(await fetch(e)).blob();if(n.type.indexOf(`svg`)<0){t(n,(n.type.split(`/`)[1]||`jpg`).replace(`jpeg`,`jpg`));return}let r=URL.createObjectURL(n),i=new Image;i.onload=()=>{let e=document.createElement(`canvas`);e.width=e.height=1024,e.getContext(`2d`).drawImage(i,0,0,1024,1024),URL.revokeObjectURL(r),e.toBlob(e=>e?t(e,`png`):t(n,`svg`),`image/png`)},i.onerror=()=>t(n,`svg`),i.src=r}catch{window.open(e,`_blank`,`noopener`)}}var X9=e=>navigator.clipboard&&navigator.clipboard.writeText(e).catch(()=>{});function Tue({t:e,onAgain:t,onPick:n}){let r=y5(e),i=e.link?[e.link]:[],a=Wse(r);return(0,Z.jsxs)(Z.Fragment,{children:[e.steps.length>0&&(0,Z.jsx)(V9,{defaultIsExpanded:!0,calls:e.steps.map(e=>({name:e.name,target:e.target,status:e.status,duration:e.duration,node:e.node,errorMessage:e.errorMessage}))}),e.outs.length>0&&(0,Z.jsx)(`pre`,{style:{margin:0,padding:12,borderRadius:12,background:`var(--color-background-secondary, #8881)`,overflow:`auto`,maxHeight:220,fontSize:12},children:e.outs.map(e=>e.text).join(`\n`)}),r&&(0,Z.jsx)(k9,{variant:`ghost`,children:(0,Z.jsx)(d5,{density:`compact`,children:r})}),a.length>0&&(0,Z.jsx)(RL,{gap:2,wrap:`wrap`,children:a.map((e,t)=>(0,Z.jsx)(IO,{label:a.length>1?`Save picture `+(t+1):`Save picture`,variant:`secondary`,size:`sm`,icon:(0,Z.jsx)(XT,{icon:b5,size:`sm`}),onClick:()=>wue(e)},e))}),i.map(t=>{let n=typeof location<`u`&&t.startsWith(location.origin+`/s/`);return(0,Z.jsx)(nR,{children:(0,Z.jsxs)(zL,{gap:2,children:[(0,Z.jsxs)(RL,{gap:2,align:`center`,children:[(0,Z.jsx)(VH,{label:`Live`,variant:`success`}),(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,children:n?`Kept 7 days. Download the page to keep it.`:e.kept&&e.kept.days?`Kept `+e.kept.days+` days`:`Real link`})]}),(0,Z.jsx)(CC,{weight:`semibold`,style:{wordBreak:`break-all`},children:t}),(0,Z.jsxs)(RL,{gap:2,wrap:`wrap`,children:[(0,Z.jsx)(DS,{text:`Open the real thing in a new tab.`,children:(0,Z.jsx)(IO,{label:`Open`,variant:`primary`,href:t,target:`_blank`,icon:(0,Z.jsx)(XT,{icon:Jse,size:`sm`})})}),(0,Z.jsx)(IO,{label:`Copy link`,variant:`secondary`,onClick:()=>X9(t)}),n&&(0,Z.jsx)(IO,{label:`Download`,variant:`secondary`,href:t,download:`index.html`,icon:(0,Z.jsx)(XT,{icon:b5,size:`sm`})})]})]})},t)}),e.widgets.map((e,t)=>(0,Z.jsx)(Pse,{w:e},`w`+t)),e.workers.map((e,t)=>(0,Z.jsx)(Lse,{ev:e},`k`+t)),e.browser&&(0,Z.jsx)(zse,{info:e.browser}),e.video&&(0,Z.jsxs)(zL,{gap:2,children:[(0,Z.jsx)(`video`,{src:e.video,controls:!0,playsInline:!0,preload:`metadata`,style:{maxWidth:`100%`,borderRadius:12}}),(0,Z.jsxs)(RL,{gap:2,wrap:`wrap`,children:[(0,Z.jsx)(IO,{label:`Download mp4`,variant:`primary`,href:e.video,download:`flisk-video.mp4`,icon:(0,Z.jsx)(XT,{icon:b5,size:`sm`})}),(0,Z.jsx)(IO,{label:`Copy link`,variant:`secondary`,onClick:()=>X9(e.video)})]})]}),e.sources.length>0&&(0,Z.jsx)(RL,{gap:2,wrap:`wrap`,children:e.sources.slice(0,8).map((e,t)=>(0,Z.jsx)(IO,{label:`[`+(t+1)+`] `+e.title,size:`sm`,variant:`secondary`,href:e.url,target:`_blank`},e.url))}),e.error&&(0,Z.jsx)(Eue,{t:e,onPick:n}),e.needPod&&(0,Z.jsx)(nR,{children:(0,Z.jsxs)(zL,{gap:2,children:[(0,Z.jsx)(CC,{children:`This task needs a computer. Start one for it, or connect your own.`}),(0,Z.jsxs)(RL,{gap:2,children:[(0,Z.jsx)(IO,{label:`Start a computer and run it`,variant:`primary`,onClick:()=>t(!0)}),(0,Z.jsx)(IO,{label:`Connect my own`,variant:`secondary`,onClick:()=>n(`connect-computer`)})]})]})})]})}function Eue({t:e,onPick:t}){let n=Vse(e.error.kind,t.free),r={\"setup-key\":`Add my API key`,\"choose-model\":`Choose another model`,wolf:`Use Flisk Wolf (free)`,\"change-provider\":`Change the AI`,\"connect-computer\":`Connect a computer`,retry:`Try again`,openrouter:`Log in with OpenRouter, free`,discord:`Ask on Discord`,\"change-model\":`Change the AI`};return(0,Z.jsx)(nR,{role:`alert`,children:(0,Z.jsxs)(zL,{gap:2,children:[(0,Z.jsx)(CC,{weight:`semibold`,children:e.error.message}),(0,Z.jsx)(RL,{gap:2,wrap:`wrap`,children:n.map((e,n)=>(0,Z.jsx)(IO,{label:r[e],variant:n===0?`primary`:`secondary`,size:`sm`,onClick:()=>t(e)},e))})]})})}function Due({info:e,task:t,onPick:n}){return(0,Z.jsx)(nR,{role:`alert`,children:(0,Z.jsxs)(zL,{gap:2,children:[(0,Z.jsx)(NC,{level:4,children:`Daily limit reached`}),(0,Z.jsxs)(CC,{color:`secondary`,children:[e.error||`You used all `+(e.limit||``)+` free tasks today.`,` `,e.resetsIn?`It resets in `+e.resetsIn+`.`:``,` Use your own key for no limit, or wait.`]}),(0,Z.jsxs)(RL,{gap:2,wrap:`wrap`,children:[(0,Z.jsx)(IO,{label:`Log in with OpenRouter, free`,variant:`primary`,size:`sm`,onClick:()=>ik(t).catch(()=>{})}),(0,Z.jsx)(IO,{label:`Use my own key`,variant:`secondary`,size:`sm`,onClick:()=>n(`setup-key`)}),(0,Z.jsx)(IO,{label:`Copy my task`,variant:`ghost`,size:`sm`,onClick:()=>navigator.clipboard&&navigator.clipboard.writeText(t).catch(()=>{})}),(0,Z.jsx)(IO,{label:`Ask on Discord`,variant:`ghost`,size:`sm`,href:`https://discord.gg/flisk`,target:`_blank`})]})]})})}var Oue=[{label:`A coffee shop website`,prompt:`A one-page website for my coffee shop`},{label:`A wedding invite page`,prompt:`A wedding page with the date, the place and an RSVP form`},{label:`A bakery menu page`,prompt:`A menu page for my bakery with prices and opening hours`}],Z9={earth:`Earth`,light:`Light`,dark:`Dark`,system:`Same as your phone`},Q9=e=>e===`earth`?`light`:e===`light`?`dark`:e===`dark`?`system`:`earth`;function kue(e){let t=typeof matchMedia<`u`?matchMedia(`(max-width: `+e+`px)`):null,[n,r]=(0,X.useState)(()=>!!(t&&t.matches));return(0,X.useEffect)(()=>{if(!t)return;let e=()=>r(t.matches);return t.addEventListener(`change`,e),()=>t.removeEventListener(`change`,e)},[e]),n}function Aue({explain:e,onExplain:t,scheme:n,onLook:r,onModel:i}){let{isMobile:a}=O5(),o=LO.login&&LO.anon,s=!LO.login||LO.anon,c=kue(340);return a?(0,Z.jsxs)(RL,{gap:1,align:`center`,className:`chat-head-end`,children:[s&&!c&&(0,Z.jsx)(IO,{label:`Sign in`,size:`sm`,variant:`primary`,href:`/auth/start`}),LO.login&&!LO.anon&&!c&&(0,Z.jsx)(VH,{label:`@`+LO.login}),(0,Z.jsx)(u7,{label:`More: explain, look, AI model`,size:`sm`,presentation:`adaptive`,alignment:`end`,items:[...o?[{label:`You are a guest`,description:`Sign in with GitHub to keep your chats and get more free tasks`,isDisabled:!0},{type:`divider`}]:[],...s&&c?[{label:`Sign in with GitHub`,description:`Keep your chats and get more free tasks`,icon:S5,onClick:()=>{location.href=`/auth/start`}}]:[],{label:e?`Leave explain mode`:`Explain`,description:`Tap anything to read what it does, without running it`,icon:T5,onClick:t},{label:`Look: `+(Z9[n]||n),description:`Tap to switch to `+Z9[Q9(n)],icon:E5,onClick:r},{label:`AI model and keys`,description:`Flisk Wolf is free, or add your own key`,icon:x5,onClick:i}]})]}):(0,Z.jsxs)(RL,{gap:1,children:[LO.login?(0,Z.jsx)(DS,{text:`Free tasks run on Flisk Wolf. The count resets every day.`,children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(VH,{label:LO.anon?`Guest`:`@`+LO.login})})}):(0,Z.jsx)(IO,{label:`Sign in`,size:`sm`,variant:`primary`,href:`/auth/start`}),LO.anon&&(0,Z.jsx)(DS,{text:`Sign in with GitHub to keep your chats and get more free tasks.`,children:(0,Z.jsx)(IO,{label:`Sign in`,size:`sm`,variant:`secondary`,href:`/auth/start`})}),(0,Z.jsx)(DS,{passThrough:!0,text:`Explain mode: tap anything to read what it does, without running it. Needed on phones, which have no hover.`,children:(0,Z.jsx)(IO,{label:e?`Leave explain mode`:`Explain`,variant:e?`primary`:`ghost`,size:`sm`,icon:(0,Z.jsx)(XT,{icon:T5,size:`sm`}),onClick:t})}),(0,Z.jsx)(DS,{title:`Look of the page`,text:`Look: tap to switch between Earth, light, dark and the same as your phone.`,children:(0,Z.jsx)(IO,{label:`Look of the page: `+n,variant:`ghost`,size:`sm`,isIconOnly:!0,icon:(0,Z.jsx)(XT,{icon:E5,size:`sm`}),onClick:r})}),(0,Z.jsx)(DS,{title:`AI model and keys`,scene:`model`,text:`Choose the AI and add your own keys.`,children:(0,Z.jsx)(IO,{label:`AI model and keys`,variant:`ghost`,size:`sm`,isIconOnly:!0,icon:(0,Z.jsx)(XT,{icon:x5,size:`sm`}),onClick:i})})]})}function jue({scheme:e=`system`,setScheme:t=()=>{}}){let[n,r]=(0,X.useState)(()=>{try{let e=sessionStorage.getItem(`chat_model`),t=(LO.models||[]).find(t=>t.id===e);if(t)return t;if(e&&e.startsWith(`or:`))return{id:e,name:e.slice(3).split(`/`).pop(),provider:`openrouter`,providerName:`OpenRouter`,free:!1,key:`openrouter`,model:e.slice(3)}}catch{}return(LO.models||[]).find(e=>e.free)||Y9}),[i,a]=(0,X.useState)(LO.connected||[]),[o,s]=(0,X.useState)([]),[c,l]=(0,X.useState)(!1),[u,d]=(0,X.useState)(()=>{try{return Gse(location.search)}catch{return!1}});(0,X.useEffect)(()=>{if(!u)return;let e=e=>{d(!1),e.target&&e.target.closest&&e.target.closest(`[aria-label=\"Voice talk\"], .earth-talk`)||l(!0)};return document.addEventListener(`pointerdown`,e,{once:!0}),()=>document.removeEventListener(`pointerdown`,e)},[]);let[f,p]=(0,X.useState)(!1),[m,h]=(0,X.useState)(!1),[g,_]=(0,X.useState)(!1),[v,y]=(0,X.useState)(``),[b,x]=(0,X.useState)([]);(0,X.useEffect)(()=>{document.documentElement.classList.toggle(`chatting`,b.length>0)},[b.length]);let[S,C]=(0,X.useState)(!1),[w,T]=(0,X.useState)(``),[E,D]=(0,X.useState)([]),[O,k]=(0,X.useState)(null),[A,j]=(0,X.useState)(``),[M,N]=(0,X.useState)(ck),[P,F]=(0,X.useState)(()=>`c`+Date.now()),[I,L]=(0,X.useState)(``),R=(0,X.useRef)([]),z=(0,X.useRef)({text:``,n:0,busy:!1}),B=(0,X.useRef)(null),V=(0,X.useRef)(null),H={on:g,show:y};Mue(),(0,X.useEffect)(()=>{if(!S)return;let e=e=>{e.preventDefault(),e.returnValue=``};return window.addEventListener(`beforeunload`,e),()=>window.removeEventListener(`beforeunload`,e)},[S]);let ee=(0,X.useCallback)((e,t)=>{if(!R.current.length)return;let n=ck().filter(t=>t.id!==e);n.unshift({id:e,at:Date.now(),title:Hse(R.current),msgs:R.current.slice(-40),memo:z.current.text,memoN:z.current.n}),uk(n),N(n.slice(0,30))},[]),U=()=>{let e=n.free?`wolf`:n.key,t=n.free?n.model:n.model||YO(n.key);return{vision:!n.free&&(n.key!==`openrouter`||n.sees!==!1),ai:e,key:n.free?``:JO(n.key),model:t}},te=async()=>{let e=R.current,t=e.length-6,n=z.current;if(!(n.busy||t-n.n<6)){n.busy=!0;try{let r=await fetch(`/api/memo`,{method:`POST`,headers:{\"content-type\":`application/json`},body:JSON.stringify({memo:n.text,msgs:e.slice(n.n,t).map(e=>({role:e.role,content:e.content})),ai:U()})}),i=await r.json().catch(()=>({}));r.ok&&i.memo&&(n.text=i.memo,n.n=t)}catch{}n.busy=!1}},W=(0,X.useCallback)(async(e,t={})=>{if(S)return;$H(),await GO;let[n,r]=J9[t.mode||`ask`]||J9.build,i=t.files||[],a=t.reuse?-1:b.length,s=g5(e),c=n=>{s=n,x(n=>{let r=n.slice(),o=t.reuse?r.length-1:a;return r[o]={...r[o],task:e,files:i.map(e=>e.name),t:s},r})};x(n=>t.reuse?n:[...n,{task:e,files:i.map(e=>e.name),t:s}]),k(null),C(!0);let l=new AbortController;B.current=l;let u={mode:n,pod:!!t.pod,cat:r,task:e,history:R.current.slice(-6).map(e=>({role:e.role,content:e.content})),lang:e.length>3?Sue(e):``,memo:z.current.text,ui:``,providers:o,files:i,ai:U()},d;try{d=await XO(u,e=>c(v5(s,e)),l.signal)}catch(e){d={status:e.name===`AbortError`?0:-1},d.status===-1&&c({...s,error:{message:`Could not reach Chat. Check your connection and try again.`,kind:`busy`}})}if(C(!1),B.current=null,d.status===401){try{sessionStorage.setItem(`chat_pending`,String(e).slice(0,8e3)),i.length&&sessionStorage.setItem(`chat_pending_files`,JSON.stringify(i))}catch{}x(e=>e.slice(0,-1)),j(`Sign in with GitHub to run tasks.`);return}if(d.status===429){x(e=>e.slice(0,-1)),k({...d.body,task:e});return}if(d.status===409&&ZO()){if(C(!0),B.current=l,c({...s,status:`Starting a computer in this tab`}),await $O().then(()=>!0,()=>!1))try{d=await tk(u,e=>c(v5(s,e)),l.signal)}catch(e){d={status:e.name===`AbortError`?0:-1}}if(C(!1),B.current=null,d.status===-1){c({...s,error:{message:`The computer in this tab stopped before the task finished. Try again.`,kind:`busy`}});return}if(d.status===429){x(e=>e.slice(0,-1)),k({...d.body,task:e});return}}if(d.status===409){c({...s,needPod:!0});return}if(d.status&&d.status!==200){c({...s,error:{message:d.body&&d.body.error||`Something went wrong.`,kind:`other`}});return}t.reuse&&R.current.length&&R.current[R.current.length-2]?.content===e||R.current.push({role:`user`,content:e});let f=y5(s);f&&R.current.push({role:`assistant`,content:f.slice(0,4e3)}),ee(P),te()},[S,`ask`,b,o,n,P]),[G,ne]=(0,X.useState)(!1),re=(0,X.useRef)(null),ie=async()=>{if(re.current){re.current.stop();return}if(!LO.login){j(`Sign in with GitHub to use your voice.`);return}if(!navigator.mediaDevices||!window.MediaRecorder){j(`This browser cannot record. Try Chrome, Safari, Edge or Firefox.`);return}let e;try{e=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0}})}catch{j(`The microphone is blocked. Allow it for this site and try again.`);return}let t=[],n=new MediaRecorder(e),r=setTimeout(()=>{n.state!==`inactive`&&n.stop()},12e4);n.ondataavailable=e=>{e.data&&e.data.size&&t.push(e.data)},n.onstop=async()=>{clearTimeout(r),e.getTracks().forEach(e=>e.stop()),re.current=null,ne(!1);let i=new Blob(t,{type:n.mimeType||`audio/webm`});if(!(i.size<800))try{let e=await new Promise((e,t)=>{let n=new FileReader;n.onload=()=>e(String(n.result).split(`,`)[1]||``),n.onerror=()=>t(n.error),n.readAsDataURL(i)}),t=await fetch(`/api/transcribe`,{method:`POST`,headers:{\"content-type\":`application/json`},body:JSON.stringify({audio:e,type:i.type,part:!0})}),n=await t.json().catch(()=>({}));if(!t.ok)throw Error(n.error||`Voice answered `+t.status);let r=String(n.text||``).trim();r?T(e=>(e?e+` `:``)+r):j(`I did not catch that. Try again.`)}catch(e){j(String(e.message||e).slice(0,160))}},re.current={stop:()=>{n.state!==`inactive`&&n.stop()}},n.start(),ne(!0)},K=async e=>{let t=(e||``).trim();if(!t&&!E.length)return;let n=E;T(``),D([]),W(t,{files:n}).catch(()=>{})},q=e=>{e===`setup-key`||e===`choose-model`||e===`change-provider`||e===`change-model`?p(!0):e===`connect-computer`?h(!0):e===`wolf`?r((LO.models||[]).find(e=>e.free)||Y9):e===`openrouter`?ik(b.length?b[b.length-1].task:``).catch(()=>{}):e===`discord`?window.open(`https://discord.gg/flisk`,`_blank`,`noopener,noreferrer`):e===`retry`&&b.length&&W(b[b.length-1].task,{reuse:!0}).catch(()=>{})};q.free=n.free;let[ae,oe]=(0,X.useState)(!1),se=()=>{oe(!1),B.current&&B.current.abort(),R.current=[],z.current={text:``,n:0,busy:!1},x([]),F(`c`+Date.now()),k(null),C(!1)},ce=e=>{confirm(`Delete the chat \"`+(e.title||`Untitled`)+`\"? This cannot be undone.`)&&(N(lk(e.id)),e.id===P&&se(),j(`Chat deleted.`))},le=e=>{se(),R.current=e.msgs.slice(),z.current={text:e.memo||``,n:e.memoN||0,busy:!1},F(e.id);let t=[];for(let n=0;n{ak().then(e=>{e&&(e.error?j(`OpenRouter login failed: `+e.error):(j(`OpenRouter connected. Your key is saved in this browser.`),e.task&&T(e.task)))},()=>{});let e=``,t=[];try{e=sessionStorage.getItem(`chat_pending`)||``,t=JSON.parse(sessionStorage.getItem(`chat_pending_files`)||`[]`),sessionStorage.removeItem(`chat_pending`),sessionStorage.removeItem(`chat_pending_files`)}catch{}e&&LO.login?W(e,{files:Array.isArray(t)?t.slice(0,3):[]}).catch(()=>{}):e&&T(e)},[]),(0,X.useEffect)(()=>{try{sessionStorage.setItem(`chat_model`,n.id)}catch{}},[n]);let J=async e=>{let t=3-E.length,n=[];e.length>t&&j(`You can attach up to 3 files.`);let r=E.reduce((e,t)=>e+(t.size||0),0);for(let i of Array.from(e).slice(0,t)){if(r+i.size>5242880){j(`Attached files can be 5 MB in all`);continue}let e=await Cue(i);e.error?j(e.error):(n.push({...e,size:i.size}),r+=i.size)}n.length&&D(e=>[...e,...n])},ue=!!LO.login&&!!LO.anon,de=ue?Oue:(LO.cats||[]).slice(0,6);i.length&&i.join(`, `);let fe=o.length?o.map(e=>(LO.providerNames||{})[e]||e).join(` + `):`Fleet auto`,pe=M.filter(e=>!I||e.title.toLowerCase().includes(I.toLowerCase())),me=(0,Z.jsx)(S7,{collapsible:!0,header:(0,Z.jsxs)(RL,{gap:2,align:`center`,children:[(0,Z.jsx)(bS,{name:`wolf`,size:28}),(0,Z.jsx)(CC,{type:`emphasized`,children:`Flisk Chat`})]}),topContent:(0,Z.jsxs)(zL,{gap:2,children:[(0,Z.jsx)(DS,{title:`New chat`,scene:`model`,text:`Start a fresh chat. Your old chats stay in the list.`,children:(0,Z.jsx)(IO,{label:`New chat`,variant:`secondary`,icon:(0,Z.jsx)(XT,{icon:w5,size:`sm`}),isFullWidth:!0,onClick:se})}),(0,Z.jsx)(DS,{text:`Find an older chat by a word you remember.`,children:(0,Z.jsx)(IO,{label:I?`Clear search`:`Search your chats`,variant:`ghost`,icon:(0,Z.jsx)(XT,{icon:nce,size:`sm`}),isFullWidth:!0,onClick:()=>L(I?``:prompt(`Search your chats for:`)||``)})})]}),footer:(0,Z.jsxs)(RL,{gap:2,align:`center`,children:[(0,Z.jsx)(G7,{name:LO.login||`Guest`,size:`sm`}),(0,Z.jsx)(CC,{type:`supporting`,children:LO.login?`@`+LO.login:`Not signed in`})]}),children:(0,Z.jsxs)(M7,{title:`Your chats`,children:[pe.map(e=>(0,Z.jsx)(j7,{label:e.title||`Untitled`,icon:Xse,isSelected:e.id===P,onClick:()=>le(e),actions:(0,Z.jsx)(IO,{label:`Delete chat: `+(e.title||`Untitled`),variant:`ghost`,isIconOnly:!0,icon:(0,Z.jsx)(XT,{icon:fce,size:`sm`}),onClick:()=>ce(e)})},e.id)),!!LO.login&&!LO.anon&&(0,Z.jsx)(j7,{label:`Reviews of your pull requests`,href:`/reviews`}),!pe.length&&(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,style:{padding:8},children:`Nothing here yet. Your chats stay in this browser.`})]})}),he=(0,Z.jsx)(M5,{header:`Your chats`,children:(0,Z.jsx)(N5,{value:`drawer-content`,children:me})});return(0,Z.jsxs)(TS.Provider,{value:H,children:[(0,Z.jsxs)(`div`,{className:`vv-root`,children:[g&&(0,Z.jsx)(`div`,{className:`caption`,role:`status`,children:v||`Explain mode: tap any dashed control to read what it does. Nothing will run.`}),A&&(0,Z.jsxs)(`div`,{className:`caption`,role:`status`,onClick:()=>j(``),children:[A,` (tap to close)`]}),u&&(0,Z.jsx)(`div`,{className:`caption voice-note`,role:`status`,children:`Tap anywhere to start talking`}),(0,Z.jsx)(`div`,{className:`sr-only`,\"aria-live\":`polite`,\"aria-atomic\":`true`,\"data-testid\":`turn-status`,children:Use(b,S)}),b.length>0&&(0,Z.jsx)(`h1`,{className:`sr-only`,children:`Flisk Chat: `+String(b[0].task||`files`).slice(0,80)}),(0,Z.jsx)(`input`,{ref:V,type:`file`,multiple:!0,hidden:!0,onChange:e=>{J(e.target.files),e.target.value=``}}),(0,Z.jsx)(X5,{height:`fill`,mobileNav:{hasToggle:!1,isOpen:ae,onOpenChange:oe,content:he},topNav:(0,Z.jsxs)(RL,{gap:2,align:`center`,justify:`space-between`,wrap:`wrap`,className:`chat-head`,style:{padding:`var(--spacing-2) var(--spacing-3)`},children:[(0,Z.jsx)(RL,{gap:1,align:`center`,children:(0,Z.jsx)(k5,{})}),(0,Z.jsx)(Aue,{explain:g,onExplain:()=>{_(e=>!e),y(``)},scheme:e,onLook:()=>t(Q9(e)),onModel:()=>p(!0)})]}),sideNav:me,children:(0,Z.jsx)(`div`,{className:`earth-content`,style:{display:`flex`,flexDirection:`column`,height:`100%`,minHeight:0},children:(0,Z.jsx)(K9,{style:{flex:1,minHeight:0},density:`spacious`,composer:(0,Z.jsx)(C9,{className:`one-row`,value:w,onChange:T,onSubmit:K,onStop:()=>B.current&&B.current.abort(),isStopShown:S,isDisabled:!1,placeholder:`Ask anything, or describe what to make…`,input:(0,Z.jsx)(b9,{enterKeyHint:q9?`enter`:`send`,onKeyDown:e=>{q9&&e.key===`Enter`&&!e.shiftKey&&(e.preventDefault(),document.execCommand(`insertLineBreak`))}}),headerActions:(0,Z.jsxs)(RL,{gap:1,wrap:`wrap`,align:`center`,children:[(0,Z.jsx)(DS,{title:`The + menu`,text:`Everything extra lives here. The AI works out whether you want an answer, a website, a video or a picture, so there is no mode to pick.`,scenes:[{kind:`dictate`,label:`Dictate`,text:`Speak your task, it turns into text.`},{kind:`talk`,label:`Voice talk`,text:`Talk out loud with the Flisk Oracle.`},{kind:`attach`,label:`Attach files`,text:`Drop up to 3 files, 5 MB in all.`},{kind:`computers`,label:`Choose computers`,text:`Pick which of your computers may run it.`},{kind:`model`,label:`Choose AI model`,text:`Flisk Wolf is free, or use your own key.`}],children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(l7,{button:{label:`More`,variant:`ghost`,size:`sm`,isIconOnly:!0,icon:(0,Z.jsx)(XT,{icon:w5,size:`sm`})},items:[{label:`Dictate`,description:`Speak your task, it turns into text`,icon:C5,endContent:(0,Z.jsx)(CS,{kind:`dictate`}),onClick:ie},{label:`Voice talk`,description:`Talk out loud with the Flisk Oracle`,icon:lce,endContent:(0,Z.jsx)(CS,{kind:`talk`}),onClick:()=>l(!0)},{label:`Attach files`,description:`Up to 3 files, 5 MB in all`,icon:ace,endContent:(0,Z.jsx)(CS,{kind:`attach`}),onClick:()=>V.current&&V.current.click()},{label:`Choose computers`,description:`Which of your computers may run it`,icon:$se,endContent:(0,Z.jsx)(CS,{kind:`computers`}),onClick:()=>h(!0)},{label:`Choose AI model`,description:`Flisk Wolf is free; or use your own Claude, OpenAI or OpenRouter key`,icon:S5,endContent:(0,Z.jsx)(CS,{kind:`model`}),onClick:()=>p(!0)}]})})}),E.map((e,t)=>(0,Z.jsx)(DS,{title:`Attached file`,scene:`attach`,text:`Sent with your message: `+e.name+`.`,more:`Tap it to take it off again.`,children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(VH,{label:e.name,onClick:()=>D(E.filter((e,n)=>n!==t))})})},e.name+t)),G&&(0,Z.jsx)(DS,{title:`Listening`,scene:`dictate`,text:`Stops listening and writes what you said into the box.`,children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(IO,{label:`Stop and write what I said`,variant:`primary`,size:`sm`,icon:(0,Z.jsx)(XT,{icon:C5,size:`sm`}),onClick:ie})})})]}),footerActions:(0,Z.jsxs)(RL,{gap:1,children:[HH(n.provider)!==`wolf`&&(0,Z.jsx)(DS,{brand:HH(n.provider),title:`Which AI answers`,scene:`model`,text:`Which AI answers. Flisk Wolf is free; your own key is sent per request and never stored.`,more:`Tap to switch, paste your key, or pick a model. Claude and OpenAI use your own key, so you pay them directly.`,children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(IO,{label:n.name,variant:`ghost`,size:`sm`,icon:(0,Z.jsx)(bS,{name:HH(n.provider)}),onClick:()=>p(!0)})})}),o.length>0&&(0,Z.jsx)(DS,{brand:`fleet`,title:`Where your app runs`,scene:`computers`,text:`Where your app runs. Fleet picks the cheapest of your connected computers.`,more:`Tap to connect Daytona, Upstash, E2B or Isorun with a key.`,children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(IO,{label:fe,variant:`ghost`,size:`sm`,icon:(0,Z.jsx)(bS,{name:o[0]||`fleet`}),onClick:()=>h(!0)})})})]})}),children:(0,Z.jsxs)(T9,{children:[!b.length&&(0,Z.jsxs)(D9,{sender:`assistant`,avatar:(0,Z.jsx)(bS,{name:`wolf`,size:32}),children:[(0,Z.jsx)(k9,{variant:`ghost`,children:(0,Z.jsxs)(zL,{gap:1,children:[(0,Z.jsx)(NC,{level:1,className:`greet`,children:LO.login?ue?`Describe a website or app. Get a live link.`:`What shall we make today?`:`Make real websites and apps from a sentence`}),(0,Z.jsx)(d5,{density:`compact`,children:LO.login?ue?`Free, no sign-up. Pick an example or type your own.`:`Ask a question, or describe a website or app.`:`Flisk Chat makes them on a computer that is yours. Sign in with GitHub to start. You can look around first.`})]})}),!LO.login&&(0,Z.jsx)(k9,{variant:`ghost`,children:(0,Z.jsx)(IO,{label:`Sign in with GitHub`,variant:`primary`,href:`/auth/start`})}),(0,Z.jsx)(k9,{variant:`ghost`,children:(0,Z.jsx)(RL,{className:`chips`,gap:2,wrap:`wrap`,children:de.map(e=>(0,Z.jsx)(DS,{title:e.label,brand:`flisk`,text:`Tap to try: `+(e.prompt||e.label),more:`Flisk does the work and shows you the result in this chat.`,children:(0,Z.jsx)(IO,{label:e.label,variant:`secondary`,size:`sm`,onClick:()=>T(e.prompt||e.label)})},e.label||e.id))})})]}),b.map((e,t)=>(0,Z.jsxs)(`div`,{children:[(0,Z.jsx)(D9,{sender:`user`,children:(0,Z.jsxs)(k9,{children:[e.task,e.files&&e.files.length?`\n📎 `+e.files.join(`, `):``]})}),(0,Z.jsxs)(D9,{sender:`assistant`,avatar:(0,Z.jsx)(bS,{name:`wolf`,size:32}),children:[S&&t===b.length-1&&(0,Z.jsxs)(CC,{type:`supporting`,color:`secondary`,children:[e.t.status,`…`]}),(0,Z.jsx)(Tue,{t:e.t,onAgain:t=>W(e.task,{pod:!!t,reuse:!0}).catch(()=>{}),onPick:q})]})]},t)),O&&(0,Z.jsx)(D9,{sender:`assistant`,avatar:(0,Z.jsx)(bS,{name:`wolf`,size:32}),children:(0,Z.jsx)(Due,{info:O,task:O.task,onPick:q})})]})})})})]}),(0,Z.jsx)(XH,{open:f,onClose:()=>p(!1),models:LO.models||[],value:n,onUse:r}),(0,Z.jsx)(mk,{open:c,onClose:()=>l(!1),aiBlock:U,onBuild:e=>{W(e).catch(()=>{})},onKeep:e=>{let t=[];for(let n=0;n+1[...e,...t]),e.forEach(e=>R.current.push(e)),ee(P),te()}}),(0,Z.jsx)(ZH,{open:m,onClose:()=>h(!1),connected:i,onConnected:e=>a(t=>[...new Set([...t,e])]),picked:o,setPicked:s})]})}function Mue(){(0,X.useEffect)(()=>{let e=window.visualViewport;if(!e)return;let t=document.documentElement,n=()=>{t.style.setProperty(`--vv-h`,e.height+`px`),t.style.setProperty(`--vv-top`,e.offsetTop+`px`),t.dataset.keyboard=window.innerHeight-e.height>120?`open`:`closed`,e.offsetTop&&window.scrollTo(0,0)};return n(),e.addEventListener(`resize`,n),e.addEventListener(`scroll`,n),()=>{e.removeEventListener(`resize`,n),e.removeEventListener(`scroll`,n)}},[])}var $9=e=>{let t=document.documentElement;e===`earth`?(t.dataset.theme=`earth`,t.classList.add(`home`)):(delete t.dataset.theme,t.classList.remove(`home`))};function Nue(){let[e,t]=(0,X.useState)(()=>{try{return localStorage.getItem(`chat_scheme`)||((window.__BOOT__||{}).theme===`earth`?`earth`:`system`)}catch{return`system`}});return(0,X.useEffect)(()=>{document.documentElement.dataset.scheme=e,$9(e)},[]),(0,Z.jsx)(Ec,{theme:eu[tu],mode:e===`earth`?`dark`:e,children:(0,Z.jsx)(jue,{scheme:e,setScheme:e=>{t(e);try{localStorage.setItem(`chat_scheme`,e)}catch{}document.documentElement.dataset.scheme=e,$9(e)}})})}(0,Ql.createRoot)(document.getElementById(`root`)).render((0,Z.jsx)(Nue,{}));"; +export const NEXT_JS = "var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;li[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,o)=>(o=n==null?{}:e(i(n)),l(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n));(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel=\"modulepreload\"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var d=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.for(`react.view_transition`),m=Symbol.iterator;function h(e){return typeof e!=`object`||!e?null:(e=m&&e[m]||e[`@@iterator`],typeof e==`function`?e:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function b(){}b.prototype=y.prototype;function x(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||g}var S=x.prototype=new b;S.constructor=x,_(S,y.prototype),S.isPureReactComponent=!0;var C=Array.isArray;function w(){}var T={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function D(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function O(e,t){return D(e.type,t,e.props)}function k(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function A(e){var t={\"=\":`=0`,\":\":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var j=/\\/+/g;function M(e,t){return typeof e==`object`&&e&&e.key!=null?A(``+e.key):t.toString(36)}function N(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(w,w):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function P(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,P(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+M(e,0):a,C(o)?(i=``,c!=null&&(i=c.replace(j,`$&/`)+`/`),P(o,r,i,``,function(e){return e})):o!=null&&(k(o)&&(o=O(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(j,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(C(e))for(var u=0;u{t.exports=d()})),p=s((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0>>1,a=e[r];if(0>>1;ri(c,n))li(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(li(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&j(x,t.startTime-e)}}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-Tt&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&j(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,A=k.port2;k.port1.onmessage=D,O=function(){A.postMessage(null)}}else O=function(){_(D,0)};function j(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,j(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),m=s(((e,t)=>{t.exports=p()})),h=s((e=>{var t=f();function n(e){var t=`https://react.dev/errors/`+e;if(1{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=h()})),_=s((e=>{var t=m(),n=f(),r=g();function i(e){var t=`https://react.dev/errors/`+e;if(1se||(e.current=oe[se],oe[se]=null,se--)}function J(e,t){se++,oe[se]=e.current,e.current=t}var ue=ce(null),de=ce(null),fe=ce(null),pe=ce(null);function me(e,t){switch(J(fe,t),J(de,e),J(ue,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?fp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=fp(t),e=pp(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}le(ue),J(ue,e)}function he(){le(ue),le(de),le(fe)}function ge(e){var t=e.memoizedState;t!==null&&(lh._currentValue=t.memoizedState,J(pe,e)),t=ue.current;var n=pp(t,e.type);t!==n&&(J(de,e),J(ue,n))}function _e(e){de.current===e&&(le(ue),le(de)),pe.current===e&&(le(pe),lh._currentValue=ae)}var ve,ye;function be(e){if(ve===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\\n( *(at )?)/);ve=t&&t[1]||``,ye=-1)`:-1i||c[r]!==l[i]){var u=`\n`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(``)&&(u=u.replace(``,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{xe=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?be(n):``}function Ce(e,t){switch(e.tag){case 26:case 27:case 5:return be(e.type);case 16:return be(`Lazy`);case 13:return e.child!==t&&t!==null?be(`Suspense Fallback`):be(`Suspense`);case 19:return be(`SuspenseList`);case 0:case 15:return Se(e.type,!1);case 11:return Se(e.type.render,!1);case 1:return Se(e.type,!0);case 31:return be(`Activity`);case 30:return be(`ViewTransition`);default:return``}}function we(e){try{var t=``,n=null;do t+=Ce(e,n),n=e,e=e.return;while(e);return t}catch(e){return`\nError generating stack: `+e.message+`\n`+e.stack}}var Te=Object.prototype.hasOwnProperty,Ee=t.unstable_scheduleCallback,De=t.unstable_cancelCallback,Oe=t.unstable_shouldYield,ke=t.unstable_requestPaint,Ae=t.unstable_now,je=t.unstable_getCurrentPriorityLevel,Me=t.unstable_ImmediatePriority,Ne=t.unstable_UserBlockingPriority,Pe=t.unstable_NormalPriority,Fe=t.unstable_LowPriority,Ie=t.unstable_IdlePriority,Le=t.log,Re=t.unstable_setDisableYieldValue,ze=null,Be=null;function Ve(e){if(typeof Le==`function`&&Re(e),Be&&typeof Be.setStrictMode==`function`)try{Be.setStrictMode(ze,e)}catch{}}var He=Math.clz32?Math.clz32:Ge,Ue=Math.log,We=Math.LN2;function Ge(e){return e>>>=0,e===0?32:31-(Ue(e)/We|0)|0}var Ke=256,qe=262144,Je=4194304;function Ye(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Xe(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Ye(n))):i=Ye(o):i=Ye(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Ye(n))):i=Ye(o)):i=Ye(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Ze(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Qe(e,t){t&8&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0n;n++)t.push(e);return t}function nt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function rt(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0=rr),or=` `,sr=!1;function cr(e,t){switch(e){case`keyup`:return tr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function lr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var ur=!1;function dr(e,t){switch(e){case`compositionend`:return lr(t);case`keypress`:return t.which===32?(sr=!0,or):null;case`textInput`:return e=t.data,e===or&&sr?null:e;default:return null}}function fr(e,t){if(ur)return e===`compositionend`||!nr&&cr(e,t)?(e=wn(),Cn=Sn=xn=null,ur=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Pr(n)}}function Ir(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ir(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Lr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Nr(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Nr(e.document)}return t}function Rr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var zr=vn&&`documentMode`in document&&11>=document.documentMode,Br=null,Vr=null,Hr=null,Ur=!1;function Wr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ur||Br==null||Br!==Nr(r)||(r=Br,`selectionStart`in r&&Rr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Hr&&Mr(Hr,r)||(Hr=r,r=Yf(Vr,`onSelect`),0>=o,i-=o,Bi=1<<32-He(t)+i|n<h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),Yi&&Hi(i,h),l;if(d===null){for(;hg?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),Yi&&Hi(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return Yi&&Hi(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&(_=v.alternate,_!==null&&h.delete(_.key===null?g:_.key)),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),Yi&&Hi(a,g),u}function _(e,r,o,c){if(typeof o==`object`&&o&&o.type===j&&o.key===null&&o.props.ref===void 0&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case k:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===j){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),$a(c,o),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===B&&Ka(l)===r.type){n(e,r.sibling),c=a(r,o.props),$a(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===j?(c=Di(o.props.children,e.mode,c,o.key),$a(c,o),c.return=e,e=c):(c=Ei(o.type,o.key,o.props,null,e.mode,c),$a(c,o),c.return=e,e=c)}return s(e);case A:a:{for(l=o.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=Ai(o,e.mode,c),c.return=e,e=c}return s(e);case B:return o=Ka(o),_(e,r,o,c)}if(ie(o))return h(e,r,o,c);if(G(o)){if(l=G(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return _(e,r,Qa(o),c);if(o.$$typeof===F)return _(e,r,_a(e,o),c);eo(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=Oi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Za=0;var i=_(e,t,n,r);return Xa=null,i}catch(t){if(t===Ba||t===Ha)throw t;var a=Si(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var no=to(!0),ro=to(!1),io=!1;function ao(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function oo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function so(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function co(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Ju&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=yi(e),vi(e,null,n),t}return hi(e,r,t,n),yi(e)}function lo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,at(e,n)}}function uo(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n}else e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var fo=!1;function po(){if(fo){var e=ja;if(e!==null)throw e}}function mo(e,t,n,r){fo=!1;var i=e.updateQueue;io=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(Zu&f)===f:(r&f)===f){f!==0&&f===Aa&&(fo=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var m=e,h=s;f=t;var g=n;switch(h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(g,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(g,d,f):m,f==null)break a;d=D({},d,f);break a;case 2:io=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),ad|=o,e.lanes=o,e.memoizedState=d}}function ho(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function go(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;ea?a:8;var o=K.T,s={};s.types=o===null?null:o.types,K.T=s,ic(e,!1,t,n);try{var c=i(),l=K.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?rc(e,t,Pa(c,r),Ad(e)):rc(e,t,r,Ad(e))}catch(n){rc(e,t,{then:function(){},status:`rejected`,reason:n},Ad())}finally{q.p=a,o!==null&&s.types!==null&&(o.types=s.types),K.T=o}}function qs(){}function Js(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=Ys(e).queue;Ks(e,a,t,ae,n===null?qs:function(){return Xs(e),n(r)})}function Ys(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ae,baseState:ae,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:as,lastRenderedState:ae},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:as,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Xs(e){var t=Ys(e);t.next===null&&(t=e.alternate.memoizedState),rc(e,t.next.queue,{},Ad())}function Zs(){return ga(lh)}function Qs(){return es().memoizedState}function $s(){return es().memoizedState}function ec(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Ad();e=so(n);var r=co(t,e,n);r!==null&&(Nd(r,t,n),lo(r,t,n)),t={cache:Ca()},e.payload=t;return}t=t.return}}function tc(e,t,n){var r=Ad();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ac(e)?oc(t,n):(n=gi(e,t,n,r),n!==null&&(Nd(n,e,r),sc(n,t,r)))}function nc(e,t,n){rc(e,t,n,Ad())}function rc(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(ac(e))oc(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,jr(s,o))return hi(e,t,i,0),Yu===null&&mi(),!1}catch{}if(n=gi(e,t,i,r),n!==null)return Nd(n,e,r),sc(n,t,r),!0}return!1}function ic(e,t,n,r){if(r={lane:2,revertLane:Pf(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},ac(e)){if(t)throw Error(i(479))}else t=gi(e,n,r,2),t!==null&&Nd(t,e,2)}function ac(e){var t=e.alternate;return e===Po||t!==null&&t===Po}function oc(e,t){Ro=Lo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function sc(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,at(e,n)}}var cc={readContext:ga,use:rs,useCallback:Wo,useContext:Wo,useEffect:Wo,useImperativeHandle:Wo,useLayoutEffect:Wo,useInsertionEffect:Wo,useMemo:Wo,useReducer:Wo,useRef:Wo,useState:Wo,useDebugValue:Wo,useDeferredValue:Wo,useTransition:Wo,useSyncExternalStore:Wo,useId:Wo,useHostTransitionStatus:Wo,useFormState:Wo,useActionState:Wo,useOptimistic:Wo,useMemoCache:Wo,useCacheRefresh:Wo,useEffectEvent:Wo},lc={readContext:ga,use:rs,useCallback:function(e,t){return $o().memoizedState=[e,t===void 0?null:t],e},useContext:ga,useEffect:Ns,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),js(4194308,4,zs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return js(4194308,4,e,t)},useInsertionEffect:function(e,t){js(4,2,e,t)},useMemo:function(e,t){var n=$o();t=t===void 0?null:t;var r=e();if(zo){Ve(!0);try{e()}finally{Ve(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=$o();if(n!==void 0){var i=n(t);if(zo){Ve(!0);try{n(t)}finally{Ve(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=tc.bind(null,Po,e),[r.memoizedState,e]},useRef:function(e){var t=$o();return e={current:e},t.memoizedState=e},useState:function(e){e=hs(e);var t=e.queue,n=nc.bind(null,Po,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Vs,useDeferredValue:function(e,t){return Ws($o(),e,t)},useTransition:function(){var e=hs(!1);return e=Ks.bind(null,Po,e.queue,!0,!1),$o().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=Po,a=$o();if(Yi){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Yu===null)throw Error(i(349));Zu&127||us(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,Ns(fs.bind(null,r,o,e),[e]),r.flags|=2048,ks(9,{destroy:void 0},ds.bind(null,r,o,n,t),null),n},useId:function(){var e=$o(),t=Yu.identifierPrefix;if(Yi){var n=Vi,r=Bi;n=(r&~(1<<32-He(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Bo++,0<\\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[ft]=t,o[pt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(ip(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&al(t)}}return ul(t),t.subtreeFlags&=-33554433,ol(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&al(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=fe.current,na(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=qi,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[ft]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||tp(e.nodeValue,n)),e||$i(t,!0)}else e=dp(e).createTextNode(r),e[ft]=t,t.stateNode=e}return ul(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=na(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[ft]=t}else ra(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ul(t),e=!1}else n=ia(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Oo(t),t):(Oo(t),null);if(t.flags&128)throw Error(i(558))}return ul(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=na(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[ft]=t}else ra(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ul(t),a=!1}else a=ia(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(Oo(t),t):(Oo(t),null)}return Oo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),cl(t,t.updateQueue),ul(t),null);case 4:return he(),e===null&&Gf(t.stateNode.containerInfo),t.flags|=67108864,ul(t),null;case 10:return ua(t.type),ul(t),null;case 19:if(jo(t),r=t.memoizedState,r===null)return ul(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)ll(r,!1);else{if(id!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Mo(e),o!==null){for(t.flags|=128,ll(r,!1),e=o.updateQueue,t.updateQueue=e,cl(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Ti(n,e),n=n.sibling;return Ao(t,ko.current&1|2),Yi&&Hi(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Ae()>hd&&(t.flags|=128,a=!0,ll(r,!1),t.lanes=4194304)}}else{if(!a){if(e=Mo(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,cl(t,e),ll(r,!0),r.tail===null&&r.tailMode!==`collapsed`&&r.tailMode!==`visible`&&!o.alternate&&!Yi)return ul(t),null}else 2*Ae()-r.renderingStartTime>hd&&n!==536870912&&(t.flags|=128,a=!0,ll(r,!1),t.lanes=4194304)}r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}if(r.tail!==null){e=r.tail;a:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break a}n=n.sibling}n=!0}return r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ae(),e.sibling=null,o=ko.current,o=a?o&1|2:o&1,r.tailMode===`visible`||r.tailMode===`collapsed`||!n||Yi?Ao(t,o):(n=o,J(So,t),J(ko,n),Co===null&&(Co=t)),Yi&&Hi(t,r.treeForkCount),e}return ul(t),null;case 22:case 23:return Oo(t),xo(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(ul(t),t.subtreeFlags&6&&(t.flags|=8192)):ul(t),n=t.updateQueue,n!==null&&cl(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&le(Ia),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ua(Sa),ul(t),null;case 25:return null;case 30:return t.flags|=33554432,ul(t),null}throw Error(i(156,t.tag))}function fl(e,t){switch(Gi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ua(Sa),he(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return _e(t),null;case 31:if(t.memoizedState!==null){if(Oo(t),t.alternate===null)throw Error(i(340));ra()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Oo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));ra()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return jo(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return he(),null;case 10:return ua(t.type),null;case 22:case 23:return Oo(t),xo(),e!==null&&le(Ia),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ua(Sa),null;case 25:return null;default:return null}}function pl(e,t){switch(Gi(t),t.tag){case 3:ua(Sa),he();break;case 26:case 27:case 5:_e(t);break;case 4:he();break;case 31:t.memoizedState!==null&&Oo(t);break;case 13:Oo(t);break;case 19:jo(t);break;case 10:ua(t.type);break;case 22:case 23:Oo(t),xo(),e!==null&&le(Ia);break;case 24:ua(Sa)}}function ml(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){pf(t,t.return,e)}}function hl(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){pf(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){pf(t,t.return,e)}}function gl(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{go(t,n)}catch(t){pf(e,e.return,t)}}}function _l(e,t,n){n.props=Z(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){pf(e,t,n)}}function vl(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:var i=e.stateNode,a=si(e.memoizedProps,i);(i.ref===null||i.ref.name!==a)&&(i.ref=Ip(a)),r=i.ref;break;case 7:if(e.stateNode===null){var o=new Lp(e);p(e.child,!1,em,o,void 0,void 0),e.stateNode=o}r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){pf(e,t,n)}}function yl(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){pf(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){pf(e,t,n)}else n.current=null}}function bl(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n title`))),ip(r,t,n),r[ft]=e,Et(r),t=r;break a;case`link`:if(o=qm(`link`,`href`,a).get(t+(n.href||``))){for(s=0;sg&&(o=g,g=h,h=o);var _=Fr(s,h),v=Fr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;sn?32:n,K.T=null,n=Cd,Cd=null;var o=yd,s=xd;if(vd=0,bd=yd=null,xd=0,Ju&6)throw Error(i(331));var c=Ju;if(Ju|=4,Uu(o.current),Fu(o,o.current,s,n),Ju=c,Df(0,!1),Be&&typeof Be.onPostCommitFiberRoot==`function`)try{Be.onPostCommitFiberRoot(ze,o)}catch{}return!0}finally{q.p=a,K.T=r,lf(e,t)}}function ff(e,t,n){t=Mi(n,t),t=bc(e.stateNode,t,2),e=co(e,t,2),e!==null&&(nt(e,2),Ef(e))}function pf(e,t,n){if(e.tag===3)ff(e,e,n);else for(;t!==null;){if(t.tag===3){ff(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(_d===null||!_d.has(r))){e=Mi(n,e),n=xc(2),r=co(t,n,2),r!==null&&(Sc(n,r,t,e),nt(r,2),Ef(r));break}}t=t.return}}function mf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new qu;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(nd=!0,i.add(n),e=hf.bind(null,e,t,n),t.then(e,e))}function hf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Yu===e&&(Zu&n)===n&&(id===4||id===3&&(Zu&62914560)===Zu&&300>Ae()-pd?Ju&2?sd|=n:Bd(e,0):sd|=n,ld===Zu&&(ld=0)),Ef(e)}function gf(e,t){t===0&&(t=et()),e=_i(e,t),e!==null&&(nt(e,t),Ef(e))}function _f(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),gf(e,n)}function vf(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),gf(e,n)}function yf(e,t){return Ee(e,t)}var bf=null,xf=null,Sf=!1,Cf=!1,wf=!1,Tf=0;function Ef(e){e!==xf&&e.next===null&&(xf===null?bf=xf=e:xf=xf.next=e),Cf=!0,Sf||(Sf=!0,Nf())}function Df(e,t){if(!wf&&Cf){wf=!0;do for(var n=!1,r=bf;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-He(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,Mf(r,a))}else a=Zu,a=Xe(r,r===Yu?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Ze(r,a)||(n=!0,Mf(r,a))}r=r.next}while(n);wf=!1}}function Of(){kf()}function kf(){Cf=Sf=!1;var e=0;Tf!==0&&_p()&&(e=Tf);for(var t=Ae(),n=null,r=bf;r!==null;){var i=r.next,a=Af(r,t);a===0?(r.next=null,n===null?bf=i:n.next=i,i===null&&(xf=n)):(n=r,(e!==0||a&3)&&(Cf=!0)),r=i}vd!==0&&vd!==5||Df(e,!1),Tf!==0&&(Tf=0)}function Af(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0s)break;var u=c.transferSize,d=c.initiatorType;u&&sp(d)&&(c=c.responseEnd,o+=u*(cth){s.length=o;break}f=new Promise(Np.bind(f)),s.push(f)}}}if(0`u`?null:document;function Dm(e,t,n){var r=Em;if(r&&typeof t==`string`&&t){var i=qt(t);i=`link[rel=\"`+e+`\"][href=\"`+i+`\"]`,typeof n==`string`&&(i+=`[crossorigin=\"`+n+`\"]`),xm.has(i)||(xm.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),ip(t,`link`,e),Et(t),r.head.appendChild(t)))}}function Om(e){Cm.D(e),Dm(`dns-prefetch`,e,null)}function km(e,t){Cm.C(e,t),Dm(`preconnect`,e,t)}function Am(e,t,n){Cm.L(e,t,n);var r=Em;if(r&&e&&t){var i=`link[rel=\"preload\"][as=\"`+qt(t)+`\"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset=\"`+qt(n.imageSrcSet)+`\"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes=\"`+qt(n.imageSizes)+`\"]`)):i+=`[href=\"`+qt(e)+`\"]`;var a=i;switch(t){case`style`:a=Im(e);break;case`script`:a=Bm(e)}if(!(bm.has(a)||(e=D({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),bm.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Lm(a))||t===`script`&&r.querySelector(Vm(a))))){var o=r.createElement(`link`);ip(o,`link`,e),t===`style`&&(o[bt]=!0,o.onload=o.onerror=function(){Dt(o)}),Et(o),r.head.appendChild(o)}}}function jm(e,t){Cm.m(e,t);var n=Em;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel=\"modulepreload\"][as=\"`+qt(r)+`\"][href=\"`+qt(e)+`\"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Bm(e)}if(!bm.has(a)&&(e=D({rel:`modulepreload`,href:e},t),bm.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Vm(a)))return}r=n.createElement(`link`),ip(r,`link`,e),Et(r),n.head.appendChild(r)}}}function Mm(e,t,n){Cm.S(e,t,n);var r=Em;if(r&&e){var i=Tt(r).hoistableStyles,a=Im(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Lm(a)))s.loading=5;else{e=D({rel:`stylesheet`,href:e,\"data-precedence\":t},n),(n=bm.get(a))&&Wm(e,n);var c=o=r.createElement(`link`);Et(c),ip(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Um(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Nm(e,t){Cm.X(e,t);var n=Em;if(n&&e){var r=Tt(n).hoistableScripts,i=Bm(e),a=r.get(i);a||(a=n.querySelector(Vm(i)),a||(e=D({src:e,async:!0},t),(t=bm.get(i))&&Gm(e,t),a=n.createElement(`script`),Et(a),ip(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Pm(e,t){Cm.M(e,t);var n=Em;if(n&&e){var r=Tt(n).hoistableScripts,i=Bm(e),a=r.get(i);a||(a=n.querySelector(Vm(i)),a||(e=D({src:e,async:!0,type:`module`},t),(t=bm.get(i))&&Gm(e,t),a=n.createElement(`script`),Et(a),ip(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Fm(e,t,n,r){var a=(a=fe.current)?Sm(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=Im(n.href),t=Tt(a).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Im(n.href);var o=Tt(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Lm(e)))?o._p||(s.instance=o,s.state.loading=5):(o=bm.get(e),o||(o={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},bm.set(e,o)),zm(a,e,o,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=Bm(n),t=Tt(a).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Im(e){return`href=\"`+qt(e)+`\"`}function Lm(e){return`link[rel=\"stylesheet\"][`+e+`]`}function Rm(e){return D({},e,{\"data-precedence\":e.precedence,precedence:null})}function zm(e,t,n,r){if(t=e.querySelector(`link[rel=\"preload\"][as=\"style\"][`+t+`]`)){if(!0!==t[bt]){r.loading=1;return}}else t=e.createElement(`link`),t[bt]=!0,t.onload=t.onerror=Dt.bind(null,t),ip(t,`link`,n),Et(t),e.head.appendChild(t);r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2})}function Bm(e){return`[src=\"`+qt(e)+`\"]`}function Vm(e){return`script[async]`+e}function Hm(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~=\"`+qt(n.href)+`\"]`);if(r)return t.instance=r,Et(r),r;var a=D({},n,{\"data-href\":n.href,\"data-precedence\":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Et(r),ip(r,`style`,a),Um(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Im(n.href);var o=e.querySelector(Lm(a));if(o)return t.state.loading|=4,t.instance=o,Et(o),o;r=Rm(n),(a=bm.get(a))&&Wm(r,a),o=(e.ownerDocument||e).createElement(`link`),Et(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),ip(o,`link`,r),t.state.loading|=4,Um(o,n.precedence,e),t.instance=o;case`script`:return o=Bm(n.src),(a=e.querySelector(Vm(o)))?(t.instance=a,Et(a),a):(r=n,(a=bm.get(o))&&(r=D({},n),Gm(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),Et(a),ip(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Um(r,n.precedence,e));return t.instance}function Um(e,t,n){for(var r=n.querySelectorAll(`link[rel=\"stylesheet\"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o title`):null)}function Ym(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Xm(e,t){return e===`img`&&t.src!=null&&t.src!==``&&t.onLoad==null&&t.loading!==`lazy`}function Zm(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Qm(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==`number`?devicePixelRatio:1)*.25}function $m(e,t){typeof t.decode==`function`&&(e.imgCount++,t.complete||(e.imgBytes+=Qm(t),e.suspenseyImages.push(t)),e=ah.bind(e),t.decode().then(e,e))}function eh(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Im(r.href),a=t.querySelector(Lm(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=ih.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Et(a);return}a=t.ownerDocument||t,r=Rm(r),(i=bm.get(i))&&Wm(r,i),a=a.createElement(`link`),Et(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),ip(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=ih.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var th=0;function nh(e,t){return e.stylesheets&&e.count===0&&sh(e,e.stylesheets),0th?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function rh(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)sh(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function ih(){this.count--,rh(this)}function ah(){this.imgCount--,rh(this)}var oh=null;function sh(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,oh=new Map,t.forEach(ch,e),oh=null,ih.call(e))}function ch(e,t){if(!(t.state.loading&4)){var n=oh.get(e);if(n)var r=n.get(null);else{n=new Map,oh.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a{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=_()})),y,b,x=o((()=>{y=u(f(),1),b=typeof window<`u`?y.useLayoutEffect:y.useEffect}));function S(){if(T)return w;T=1,Object.defineProperty(w,\"__esModule\",{value:!0}),w.styleq=void 0;var e=new WeakMap,t=`$$css`;function n(n){var r,i,a;return n!=null&&(r=n.disableCache===!0,i=n.disableMix===!0,a=n.transform),function(){for(var n=[],o=``,s=null,c=``,l=r?null:e,u=Array(arguments.length),d=0;d0;){var f=u.pop();if(f!=null&&f!==!1){if(Array.isArray(f))for(var p=0;p0&&(i.style=n),r!=null&&r!==``&&(i[`data-style-src`]=r),i}var w,T,E,D=o((()=>{w={},E=S(),Object.freeze({})})),O,k,A,j,M,N,P,F,I,L,R,z,B,V,H,ee,U,te,W,G=o((()=>{O={\"--color-accent\":`light-dark(#0064E0, #0171E3)`,\"--color-accent-muted\":`light-dark(#0082FB33, #0082FB3F)`,\"--color-on-accent\":`light-dark(#FFFFFF, #FFFFFF)`,\"--color-neutral\":`light-dark(rgba(5, 54, 89, 0.1), rgba(223, 226, 229, 0.2))`,\"--color-background-surface\":`light-dark(#FFFFFF, #1F1F22)`,\"--color-background-body\":`light-dark(#F1F4F7, #111112)`,\"--color-overlay\":`light-dark(#01122866, #11111299)`,\"--color-overlay-hover\":`light-dark(#0536590C, #FFFFFF0C)`,\"--color-overlay-pressed\":`light-dark(#05365919, #FFFFFF19)`,\"--color-background-muted\":`light-dark(#0536590C, #1111127F)`,\"--color-text-primary\":`light-dark(#0A1317, #DFE2E5)`,\"--color-text-secondary\":`light-dark(#445564, #B0B5BB)`,\"--color-text-disabled\":`light-dark(#A4B0BC, #6F747C)`,\"--color-text-accent\":`light-dark(#0064E0, #3E9EFB)`,\"--color-on-dark\":`light-dark(#FFFFFF, #FFFFFF)`,\"--color-on-light\":`light-dark(#000000, #000000)`,\"--color-icon-accent\":`light-dark(#0064E0, #2694FE)`,\"--color-icon-primary\":`light-dark(#0A1317, #DFE2E5)`,\"--color-icon-secondary\":`light-dark(#4E606F, #AAAFB5)`,\"--color-icon-disabled\":`light-dark(#A4B0BC, #6F747C)`,\"--color-background-card\":`light-dark(#FFFFFF, #1F1F22)`,\"--color-background-popover\":`light-dark(#FFFFFF, #28292C)`,\"--color-background-inverted\":`light-dark(#0A1317, #FFFFFF)`,\"--color-background-error-inverted\":`light-dark(#AA071E, #E3193B)`,\"--color-info\":`light-dark(#0064E0, #0064E0)`,\"--color-info-muted\":`light-dark(#0082FB33, #0082FB3F)`,\"--color-on-info\":`light-dark(#FFFFFF, #FFFFFF)`,\"--color-success\":`light-dark(#0D8626, #0D8626)`,\"--color-success-muted\":`light-dark(#0B991F33, #0B991F3F)`,\"--color-on-success\":`light-dark(#FFFFFF, #FFFFFF)`,\"--color-error\":`light-dark(#E3193B, #F5394F)`,\"--color-error-muted\":`light-dark(#E3193B33, #F5394F3F)`,\"--color-on-error\":`light-dark(#FFFFFF, #0A1317)`,\"--color-warning\":`light-dark(#E9AF08, #F2C00B)`,\"--color-warning-muted\":`light-dark(#E2A40033, #E2A4003F)`,\"--color-on-warning\":`light-dark(#0A1317, #0A1317)`,\"--color-text-info\":`var(--color-text-blue)`,\"--color-text-success\":`var(--color-text-green)`,\"--color-text-warning\":`var(--color-text-yellow)`,\"--color-text-error\":`var(--color-text-red)`,\"--color-icon-info\":`var(--color-text-info)`,\"--color-icon-success\":`var(--color-text-success)`,\"--color-icon-warning\":`var(--color-text-warning)`,\"--color-icon-error\":`var(--color-text-error)`,\"--color-border-info\":`var(--color-text-info)`,\"--color-border-success\":`var(--color-text-success)`,\"--color-border-warning\":`var(--color-text-warning)`,\"--color-border-error\":`var(--color-text-error)`,\"--color-on-info-muted\":`var(--color-text-blue)`,\"--color-on-success-muted\":`var(--color-text-green)`,\"--color-on-warning-muted\":`var(--color-text-yellow)`,\"--color-on-error-muted\":`var(--color-text-red)`,\"--color-border\":`light-dark(#05365919, #F2F4F619)`,\"--color-border-emphasized\":`light-dark(#CCD3DB, #494D53)`,\"--color-skeleton\":`light-dark(#CCD3DB, #5A5E66)`,\"--color-track\":`light-dark(#CCD3DB, #5A5E66)`,\"--color-shadow\":`light-dark(rgba(5, 54, 89, 0.1), rgba(0, 0, 0, 0.3))`,\"--color-tint-hover\":`light-dark(black, white)`,\"--color-background-blue\":`light-dark(#0171E333, #0171E333)`,\"--color-border-blue\":`light-dark(#0064E0, #2694FE)`,\"--color-icon-blue\":`light-dark(#0064E0, #2694FE)`,\"--color-text-blue\":`light-dark(#042F97, #AFD7FF)`,\"--color-background-cyan\":`light-dark(#03A7D733, #03A7D733)`,\"--color-border-cyan\":`light-dark(#089DD0, #0171A4)`,\"--color-icon-cyan\":`light-dark(#00ACC1, #26C6DA)`,\"--color-text-cyan\":`light-dark(#014975, #A1EEF9)`,\"--color-background-gray\":`light-dark(#0A131733, #666A724C)`,\"--color-border-gray\":`light-dark(#647685, #748695)`,\"--color-icon-gray\":`light-dark(#4E606F, #AAAFB5)`,\"--color-text-gray\":`light-dark(#0A1317, #E7EAED)`,\"--color-background-green\":`light-dark(#24BB5E33, #24BB5E33)`,\"--color-border-green\":`light-dark(#0D8626, #0B991F)`,\"--color-icon-green\":`light-dark(#0D8626, #26A756)`,\"--color-text-green\":`light-dark(#09441F, #A5F690)`,\"--color-background-orange\":`light-dark(#F2790233, #F2790233)`,\"--color-border-orange\":`light-dark(#EB6E00, #B34A01)`,\"--color-icon-orange\":`light-dark(#E9690B, #FB8C00)`,\"--color-text-orange\":`light-dark(#6B2203, #FDB876)`,\"--color-background-pink\":`light-dark(#E638B333, #E638B333)`,\"--color-border-pink\":`light-dark(#F351C0, #C02294)`,\"--color-icon-pink\":`light-dark(#C2185B, #EC407A)`,\"--color-text-pink\":`light-dark(#650053, #FEADE3)`,\"--color-background-purple\":`light-dark(#7952FF33, #7952FF33)`,\"--color-border-purple\":`light-dark(#9081FF, #7340FE)`,\"--color-icon-purple\":`light-dark(#5B08D8, #7952FF)`,\"--color-text-purple\":`light-dark(#3E0697, #B3B0FE)`,\"--color-background-red\":`light-dark(#E3193B33, #E3193B33)`,\"--color-border-red\":`light-dark(#E3193B, #F5394F)`,\"--color-icon-red\":`light-dark(#D31130, #E3193B)`,\"--color-text-red\":`light-dark(#7B0210, #FFB2B8)`,\"--color-background-teal\":`light-dark(#0DB7AF33, #0DB7AF33)`,\"--color-border-teal\":`light-dark(#08A3A3, #08767D)`,\"--color-icon-teal\":`light-dark(#009688, #26A69A)`,\"--color-text-teal\":`light-dark(#083943, #40DCCD)`,\"--color-background-yellow\":`light-dark(#E2A40033, #E2A40033)`,\"--color-border-yellow\":`light-dark(#C58600, #B47700)`,\"--color-icon-yellow\":`light-dark(#FBC02D, #FFEE58)`,\"--color-text-yellow\":`light-dark(#753F07, #FBCE03)`},k={\"--color-accent\":`var(--color-accent)`,\"--color-accent-muted\":`var(--color-accent-muted)`,\"--color-on-accent\":`var(--color-on-accent)`,\"--color-neutral\":`var(--color-neutral)`,\"--color-background-surface\":`var(--color-background-surface)`,\"--color-background-body\":`var(--color-background-body)`,\"--color-overlay\":`var(--color-overlay)`,\"--color-overlay-hover\":`var(--color-overlay-hover)`,\"--color-overlay-pressed\":`var(--color-overlay-pressed)`,\"--color-background-muted\":`var(--color-background-muted)`,\"--color-text-primary\":`var(--color-text-primary)`,\"--color-text-secondary\":`var(--color-text-secondary)`,\"--color-text-disabled\":`var(--color-text-disabled)`,\"--color-text-accent\":`var(--color-text-accent)`,\"--color-on-dark\":`var(--color-on-dark)`,\"--color-on-light\":`var(--color-on-light)`,\"--color-icon-accent\":`var(--color-icon-accent)`,\"--color-icon-primary\":`var(--color-icon-primary)`,\"--color-icon-secondary\":`var(--color-icon-secondary)`,\"--color-icon-disabled\":`var(--color-icon-disabled)`,\"--color-background-card\":`var(--color-background-card)`,\"--color-background-popover\":`var(--color-background-popover)`,\"--color-background-inverted\":`var(--color-background-inverted)`,\"--color-background-error-inverted\":`var(--color-background-error-inverted)`,\"--color-info\":`var(--color-info)`,\"--color-info-muted\":`var(--color-info-muted)`,\"--color-on-info\":`var(--color-on-info)`,\"--color-success\":`var(--color-success)`,\"--color-success-muted\":`var(--color-success-muted)`,\"--color-on-success\":`var(--color-on-success)`,\"--color-error\":`var(--color-error)`,\"--color-error-muted\":`var(--color-error-muted)`,\"--color-on-error\":`var(--color-on-error)`,\"--color-warning\":`var(--color-warning)`,\"--color-warning-muted\":`var(--color-warning-muted)`,\"--color-on-warning\":`var(--color-on-warning)`,\"--color-text-info\":`var(--color-text-info)`,\"--color-text-success\":`var(--color-text-success)`,\"--color-text-warning\":`var(--color-text-warning)`,\"--color-text-error\":`var(--color-text-error)`,\"--color-icon-info\":`var(--color-icon-info)`,\"--color-icon-success\":`var(--color-icon-success)`,\"--color-icon-warning\":`var(--color-icon-warning)`,\"--color-icon-error\":`var(--color-icon-error)`,\"--color-border-info\":`var(--color-border-info)`,\"--color-border-success\":`var(--color-border-success)`,\"--color-border-warning\":`var(--color-border-warning)`,\"--color-border-error\":`var(--color-border-error)`,\"--color-on-info-muted\":`var(--color-on-info-muted)`,\"--color-on-success-muted\":`var(--color-on-success-muted)`,\"--color-on-warning-muted\":`var(--color-on-warning-muted)`,\"--color-on-error-muted\":`var(--color-on-error-muted)`,\"--color-border\":`var(--color-border)`,\"--color-border-emphasized\":`var(--color-border-emphasized)`,\"--color-skeleton\":`var(--color-skeleton)`,\"--color-track\":`var(--color-track)`,\"--color-shadow\":`var(--color-shadow)`,\"--color-tint-hover\":`var(--color-tint-hover)`,\"--color-background-blue\":`var(--color-background-blue)`,\"--color-border-blue\":`var(--color-border-blue)`,\"--color-icon-blue\":`var(--color-icon-blue)`,\"--color-text-blue\":`var(--color-text-blue)`,\"--color-background-cyan\":`var(--color-background-cyan)`,\"--color-border-cyan\":`var(--color-border-cyan)`,\"--color-icon-cyan\":`var(--color-icon-cyan)`,\"--color-text-cyan\":`var(--color-text-cyan)`,\"--color-background-gray\":`var(--color-background-gray)`,\"--color-border-gray\":`var(--color-border-gray)`,\"--color-icon-gray\":`var(--color-icon-gray)`,\"--color-text-gray\":`var(--color-text-gray)`,\"--color-background-green\":`var(--color-background-green)`,\"--color-border-green\":`var(--color-border-green)`,\"--color-icon-green\":`var(--color-icon-green)`,\"--color-text-green\":`var(--color-text-green)`,\"--color-background-orange\":`var(--color-background-orange)`,\"--color-border-orange\":`var(--color-border-orange)`,\"--color-icon-orange\":`var(--color-icon-orange)`,\"--color-text-orange\":`var(--color-text-orange)`,\"--color-background-pink\":`var(--color-background-pink)`,\"--color-border-pink\":`var(--color-border-pink)`,\"--color-icon-pink\":`var(--color-icon-pink)`,\"--color-text-pink\":`var(--color-text-pink)`,\"--color-background-purple\":`var(--color-background-purple)`,\"--color-border-purple\":`var(--color-border-purple)`,\"--color-icon-purple\":`var(--color-icon-purple)`,\"--color-text-purple\":`var(--color-text-purple)`,\"--color-background-red\":`var(--color-background-red)`,\"--color-border-red\":`var(--color-border-red)`,\"--color-icon-red\":`var(--color-icon-red)`,\"--color-text-red\":`var(--color-text-red)`,\"--color-background-teal\":`var(--color-background-teal)`,\"--color-border-teal\":`var(--color-border-teal)`,\"--color-icon-teal\":`var(--color-icon-teal)`,\"--color-text-teal\":`var(--color-text-teal)`,\"--color-background-yellow\":`var(--color-background-yellow)`,\"--color-border-yellow\":`var(--color-border-yellow)`,\"--color-icon-yellow\":`var(--color-icon-yellow)`,\"--color-text-yellow\":`var(--color-text-yellow)`,__varGroupHash__:`xj0fimd`},A={\"--spacing-0\":`0rem`,\"--spacing-0-5\":`0.125rem`,\"--spacing-1\":`0.25rem`,\"--spacing-1-5\":`0.375rem`,\"--spacing-2\":`0.5rem`,\"--spacing-3\":`0.75rem`,\"--spacing-4\":`1rem`,\"--spacing-5\":`1.25rem`,\"--spacing-6\":`1.5rem`,\"--spacing-7\":`1.75rem`,\"--spacing-8\":`2rem`,\"--spacing-9\":`2.25rem`,\"--spacing-10\":`2.5rem`,\"--spacing-11\":`2.75rem`,\"--spacing-12\":`3rem`},j={\"--spacing-0\":`var(--spacing-0)`,\"--spacing-0-5\":`var(--spacing-0-5)`,\"--spacing-1\":`var(--spacing-1)`,\"--spacing-1-5\":`var(--spacing-1-5)`,\"--spacing-2\":`var(--spacing-2)`,\"--spacing-3\":`var(--spacing-3)`,\"--spacing-4\":`var(--spacing-4)`,\"--spacing-5\":`var(--spacing-5)`,\"--spacing-6\":`var(--spacing-6)`,\"--spacing-7\":`var(--spacing-7)`,\"--spacing-8\":`var(--spacing-8)`,\"--spacing-9\":`var(--spacing-9)`,\"--spacing-10\":`var(--spacing-10)`,\"--spacing-11\":`var(--spacing-11)`,\"--spacing-12\":`var(--spacing-12)`,__varGroupHash__:`x1kvdh9l`},M={\"--size-element-sm\":`28px`,\"--size-element-md\":`32px`,\"--size-element-lg\":`36px`},N={\"--border-width\":`1px`},P={\"--border-width\":`var(--border-width)`,__varGroupHash__:`xafi2nm`},F={\"--focus-outline-width\":`2px`,\"--focus-outline-style\":`solid`,\"--focus-outline-color\":`var(--color-accent)`,\"--focus-outline-offset\":`3px`},I={\"--focus-outline-width\":`var(--focus-outline-width)`,\"--focus-outline-style\":`var(--focus-outline-style)`,\"--focus-outline-color\":`var(--focus-outline-color)`,\"--focus-outline-offset\":`var(--focus-outline-offset)`,__varGroupHash__:`xzxs3qz`},L={\"--radius-none\":`0px`,\"--radius-inner\":`4px`,\"--radius-element\":`8px`,\"--radius-container\":`12px`,\"--radius-page\":`28px`,\"--radius-chat\":`var(--radius-container)`,\"--radius-full\":`9999px`},R={\"--shadow-low\":`0px 1px 1px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), 0px 2px 8px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2))`,\"--shadow-med\":`0px 1px 2px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), 0px 2px 12px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2))`,\"--shadow-high\":`0px 2px 2px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), 0px 8px 24px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3))`,\"--shadow-inset-hover\":`inset 0px 0px 0px 2px light-dark(rgba(5, 54, 89, 0.15), rgba(223, 226, 229, 0.2))`,\"--shadow-inset-selected\":`inset 0px 0px 0px 2px rgba(1, 113, 227, 0.5)`,\"--shadow-inset-success\":`inset 0px 0px 0px 2px rgba(38, 167, 86, 0.3)`,\"--shadow-inset-warning\":`inset 0px 0px 0px 2px rgba(226, 164, 0, 0.3)`,\"--shadow-inset-error\":`inset 0px 0px 0px 2px rgba(227, 25, 59, 0.3)`},z={\"--duration-fast-min\":`130ms`,\"--duration-fast\":`175ms`,\"--duration-fast-max\":`230ms`,\"--duration-medium-min\":`310ms`,\"--duration-medium\":`410ms`,\"--duration-medium-max\":`550ms`,\"--duration-slow-min\":`730ms`,\"--duration-slow\":`975ms`,\"--duration-slow-max\":`1300ms`,\"--duration-exit\":`var(--duration-fast)`},B={\"--duration-fast-min\":`var(--duration-fast-min)`,\"--duration-fast\":`var(--duration-fast)`,\"--duration-fast-max\":`var(--duration-fast-max)`,\"--duration-medium-min\":`var(--duration-medium-min)`,\"--duration-medium\":`var(--duration-medium)`,\"--duration-medium-max\":`var(--duration-medium-max)`,\"--duration-slow-min\":`var(--duration-slow-min)`,\"--duration-slow\":`var(--duration-slow)`,\"--duration-slow-max\":`var(--duration-slow-max)`,\"--duration-exit\":`var(--duration-exit)`,__varGroupHash__:`x14lkjui`},V={\"--ease-standard\":`cubic-bezier(0.24, 1, 0.4, 1)`,\"--ease-entrance\":`cubic-bezier(0.24, 1, 0.4, 1)`,\"--ease-move\":`cubic-bezier(0.24, 1, 0.4, 1)`,\"--ease-exit\":`cubic-bezier(0.3, 0, 0.6, 0.6)`},H={\"--ease-standard\":`var(--ease-standard)`,\"--ease-entrance\":`var(--ease-entrance)`,\"--ease-move\":`var(--ease-move)`,\"--ease-exit\":`var(--ease-exit)`,__varGroupHash__:`xf09i69`},ee={\"--font-family-body\":`-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif`,\"--font-family-code\":`\"SF Mono\", Monaco, Consolas, monospace`,\"--font-family-heading\":`-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif`},U={\"--font-size-4xs\":`0.375rem`,\"--font-size-3xs\":`0.4375rem`,\"--font-size-2xs\":`0.5rem`,\"--font-size-xs\":`0.625rem`,\"--font-size-sm\":`0.75rem`,\"--font-size-base\":`0.875rem`,\"--font-size-lg\":`1.0625rem`,\"--font-size-xl\":`1.25rem`,\"--font-size-2xl\":`1.5rem`,\"--font-size-3xl\":`1.8125rem`,\"--font-size-4xl\":`2.1875rem`,\"--font-size-5xl\":`2.625rem`},te={\"--font-weight-normal\":`400`,\"--font-weight-medium\":`500`,\"--font-weight-semibold\":`600`,\"--font-weight-bold\":`700`},W={\"--text-heading-1-size\":`var(--font-size-2xl)`,\"--text-heading-1-weight\":`var(--font-weight-semibold)`,\"--text-heading-1-leading\":`1.3333`,\"--text-heading-2-size\":`var(--font-size-xl)`,\"--text-heading-2-weight\":`var(--font-weight-semibold)`,\"--text-heading-2-leading\":`1.4`,\"--text-heading-3-size\":`var(--font-size-lg)`,\"--text-heading-3-weight\":`var(--font-weight-semibold)`,\"--text-heading-3-leading\":`1.4118`,\"--text-heading-4-size\":`var(--font-size-base)`,\"--text-heading-4-weight\":`var(--font-weight-semibold)`,\"--text-heading-4-leading\":`1.4286`,\"--text-heading-5-size\":`var(--font-size-sm)`,\"--text-heading-5-weight\":`var(--font-weight-semibold)`,\"--text-heading-5-leading\":`1.6667`,\"--text-heading-6-size\":`var(--font-size-xs)`,\"--text-heading-6-weight\":`var(--font-weight-semibold)`,\"--text-heading-6-leading\":`1.6`,\"--text-body-size\":`var(--font-size-base)`,\"--text-body-weight\":`var(--font-weight-normal)`,\"--text-body-leading\":`1.4286`,\"--text-large-size\":`var(--font-size-lg)`,\"--text-large-weight\":`var(--font-weight-semibold)`,\"--text-large-leading\":`1.4118`,\"--text-label-size\":`var(--font-size-base)`,\"--text-label-weight\":`var(--font-weight-medium)`,\"--text-label-leading\":`1.4286`,\"--text-code-size\":`var(--font-size-base)`,\"--text-code-weight\":`var(--font-weight-normal)`,\"--text-code-leading\":`1.4286`,\"--text-supporting-size\":`var(--font-size-sm)`,\"--text-supporting-weight\":`var(--font-weight-normal)`,\"--text-supporting-leading\":`1.6667`,\"--text-display-1-size\":`var(--font-size-5xl)`,\"--text-display-1-weight\":`var(--font-weight-normal)`,\"--text-display-1-leading\":`1.2381`,\"--text-display-2-size\":`var(--font-size-4xl)`,\"--text-display-2-weight\":`var(--font-weight-normal)`,\"--text-display-2-leading\":`1.2571`,\"--text-display-3-size\":`var(--font-size-3xl)`,\"--text-display-3-weight\":`var(--font-weight-normal)`,\"--text-display-3-leading\":`1.2414`}}));function ne(e,t){if(typeof e!=`object`||!e||Array.isArray(e))return e;let n=Object.entries(e),r=!1,i=[];for(let[e,a]of n){let n=a===void 0?void 0:t(a,e);n===void 0?r=!0:(r||=n!==a,i.push([e,n]))}if(!(n.length>0&&i.length===0))return r?Object.fromEntries(i):e}function re(e,t){let n=ne(e,re);return n===void 0&&!q.includes(t)?{}:n}function ie(e){return ne(e,e=>ne(e,e=>ne(e,re)))}function K(e,t){let n=ie(e),r=ie(t);if(!n&&!r)return;if(!n)return r;if(!r)return n;let i={};for(let[e,t]of Object.entries(n))i[e]={...t};for(let[e,t]of Object.entries(r))if(!i[e])i[e]={...t};else for(let[n,r]of Object.entries(t)){let t={...i[e][n],...r};for(let a of q){let o=i[e][n]?.[a],s=r[a];typeof o==`object`&&typeof s==`object`&&(t[a]={...o,...s})}i[e][n]=t}return i}var q,ae=o((()=>{q=[`@light`,`@dark`]}));function oe(e,t,n){return Math.round(e*t**+n)}function se(e){return`${Math.round(e/16*1e4)/1e4}rem`}function ce(e){return e<20?1.5:e<32?1.4:1.25}function le(e){let t=e*ce(e),n=Math.max(Math.round(t/4)*4,Math.ceil((e+4)/4)*4);return Math.round(n/e*1e4)/1e4}function J(e){let{base:t,ratio:n,weights:r}=e,i={},a={...me,...r?.heading},o={...he,...r?.text};for(let e=-5;e<=6;e++){let r=oe(t,n,e);i[de[e]]=se(r)}for(let[e,r]of Object.entries(fe)){let o=Number(e),s=le(oe(t,n,r));i[`--text-heading-${o}-size`]=`var(${de[r]})`,i[`--text-heading-${o}-weight`]=a[o],i[`--text-heading-${o}-leading`]=`${s}`}for(let[e,r]of Object.entries(pe)){let a=le(oe(t,n,r));i[`--text-${e}-size`]=`var(${de[r]})`,i[`--text-${e}-weight`]=o[e],i[`--text-${e}-leading`]=`${a}`}return i}function ue(e){let t={},n={};for(let e of[1,2,3,4,5,6])n[`level:${e}`]={fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-heading-${e}-size)`,fontWeight:`var(--text-heading-${e}-weight)`,lineHeight:`var(--text-heading-${e}-leading)`};for(let e of[`display-1`,`display-2`,`display-3`])n[`type:${e}`]={fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-${e}-size)`,lineHeight:`var(--text-${e}-leading)`};t.heading=n;let r={};for(let e of[`body`,`large`,`label`,`code`,`supporting`,`display-1`,`display-2`,`display-3`])r[`type:${e}`]={fontFamily:ge[e],fontSize:`var(--text-${e}-size)`,lineHeight:`var(--text-${e}-leading)`};return t.text=r,t}var de,fe,pe,me,he,ge,_e=o((()=>{de={[-5]:`--font-size-4xs`,[-4]:`--font-size-3xs`,[-3]:`--font-size-2xs`,[-2]:`--font-size-xs`,[-1]:`--font-size-sm`,0:`--font-size-base`,1:`--font-size-lg`,2:`--font-size-xl`,3:`--font-size-2xl`,4:`--font-size-3xl`,5:`--font-size-4xl`,6:`--font-size-5xl`},fe={1:3,2:2,3:1,4:0,5:-1,6:-2},pe={body:0,large:1,label:0,code:0,supporting:-1,\"display-1\":6,\"display-2\":5,\"display-3\":4},me={1:`var(--font-weight-semibold)`,2:`var(--font-weight-semibold)`,3:`var(--font-weight-semibold)`,4:`var(--font-weight-semibold)`,5:`var(--font-weight-semibold)`,6:`var(--font-weight-semibold)`},he={body:`var(--font-weight-normal)`,large:`var(--font-weight-semibold)`,label:`var(--font-weight-medium)`,code:`var(--font-weight-normal)`,supporting:`var(--font-weight-normal)`,\"display-1\":`var(--font-weight-normal)`,\"display-2\":`var(--font-weight-normal)`,\"display-3\":`var(--font-weight-normal)`},ge={body:`var(--font-family-body)`,large:`var(--font-family-body)`,label:`var(--font-family-body)`,code:`var(--font-family-code)`,supporting:`var(--font-family-body)`,\"display-1\":`var(--font-family-heading)`,\"display-2\":`var(--font-family-heading)`,\"display-3\":`var(--font-family-heading)`}}));function ve(e){return Math.round(e/5)*5}function ye(e){let{fast:t,medium:n,slow:r,ratio:i,easing:a}=e,o={\"--duration-fast-min\":`${ve(t*i)}ms`,\"--duration-fast\":`${ve(t)}ms`,\"--duration-fast-max\":`${ve(t/i)}ms`,\"--duration-medium-min\":`${ve(n*i)}ms`,\"--duration-medium\":`${ve(n)}ms`,\"--duration-medium-max\":`${ve(n/i)}ms`};return r!=null&&(o[`--duration-slow-min`]=`${ve(r*i)}ms`,o[`--duration-slow`]=`${ve(r)}ms`,o[`--duration-slow-max`]=`${ve(r/i)}ms`),a&&(o[`--ease-standard`]=a),o}var be=o((()=>{}));function xe(e){let t=typeof e?.tempo==`number`&&Number.isFinite(e.tempo);return{tempo:t?Math.min(Se.max,Math.max(Se.min,e.tempo)):1,character:e?.character!=null&&Ce.includes(e.character)?e.character:`standard`,reducedMotion:`system`,tempoIsSet:t}}var Se,Ce,we=o((()=>{Se={min:.75,max:1.5},Ce=[`crisp`,`standard`,`expressive`]}));function Te(e,t){let n=0,r=null,i=!1;for(let a=0;ae[n]===`,`&&(t=[e.slice(0,n).trim(),e.slice(n+1).trim()],!0)),t}function De(e){let t=[],n=0;return Te(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 Oe(e,t){let n=0;for(let r=t;re){let n={},r=(t,n)=>{let a=t.indexOf(`var(`);if(a===-1)return t;let o=a+3,s=Oe(t,o);if(s===-1)return t;let c=t.slice(o+1,s),l=Ee(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 Ae=o((()=>{}));function je(e){return xe(e)}function Me(e){return`fast`in e&&`medium`in e&&`ratio`in e}function Ne(e){return Number.parseFloat(e)}function Pe(e){let t={};for(let[n,r]of Be)t[n]=`${Math.round(Ne(r)*e)}ms`;return t}function Fe(e){return e.replace(/^--duration-/,`--_astryx-pre-tempo-duration-`)}function Ie(e){let t=je(e),n={};if(t.tempoIsSet){Object.assign(n,Pe(t.tempo));for(let[e,t]of Be)n[Fe(e)]=t;n[Re]=String(t.tempo)}if(Me(e)){let r=ye(e);if(Object.assign(n,r),t.tempoIsSet)for(let[e,t]of Object.entries(r))e.startsWith(`--duration-`)&&(n[Fe(e)]=t)}let r=Me(e)&&e.easing!=null?e.easing:null,i=Le[t.character]??(e.character==null?r:r??V[`--ease-standard`]);return i!=null&&(n[`--ease-entrance`]=i,n[`--ease-move`]=i),n}var Le,Re,ze,Be,Ve=o((()=>{be(),we(),G(),Le={crisp:`cubic-bezier(0, 0, 0.2, 1)`,standard:null,expressive:`cubic-bezier(0.3, 1.2, 0.5, 1)`},Re=`--_astryx-motion-tempo`,ze=`--_astryx-reduced-motion`,Be=Object.entries(z).filter(([,e])=>!e.startsWith(`var(`))}));function He(e){let{base:t,multiplier:n}=e;return{\"--radius-none\":`0px`,\"--radius-inner\":`${Math.round(t*1*n)}px`,\"--radius-element\":`${Math.round(t*2*n)}px`,\"--radius-container\":`${Math.round(t*3*n)}px`,\"--radius-page\":`${Math.round(t*7*n)}px`,\"--radius-full\":`9999px`}}var Ue=o((()=>{}));function We(e){return e.split(``).map(e=>e+e).join(``)}function Ge(e){if(typeof e!=`string`)return null;let t=e.trim().replace(/^#/,``),n=t.length===3||t.length===4?We(t):t;return n.length!==6&&n.length!==8||!/^[0-9a-fA-F]+$/.test(n)?null:{r:parseInt(n.slice(0,2),16),g:parseInt(n.slice(2,4),16),b:parseInt(n.slice(4,6),16),a:n.length===8?parseInt(n.slice(6,8),16)/255:1}}function Ke(e){let t=e.indexOf(`(`);if(t===-1||!e.trim().endsWith(`)`))return null;let n=e.slice(t+1,e.lastIndexOf(`)`)).replace(/\\//g,` `).split(/[\\s,]+/).map(e=>e.trim()).filter(Boolean);if(n.length<3)return null;let r=e=>{let t=e.endsWith(`%`)?parseFloat(e)/100*255:parseFloat(e);return Ze(t,0,255)},i=r(n[0]),a=r(n[1]),o=r(n[2]);if([i,a,o].some(Number.isNaN))return null;let s=1;if(n.length>=4){let e=n[3];if(s=e.endsWith(`%`)?parseFloat(e)/100:parseFloat(e),Number.isNaN(s))return null;s=Ze(s,0,1)}return{r:i,g:a,b:o,a:s}}function qe(e){let t=e.trim(),n=t.toLowerCase();return Object.hasOwn(Xe,n)?{...Xe[n]}:t.startsWith(`#`)?Ge(t):/^rgba?\\(/i.test(t)?Ke(t):null}function Je(e,t,n){let r=e=>Ze(Math.round(e),0,255).toString(16).padStart(2,`0`).toUpperCase();return`#${r(e)}${r(t)}${r(n)}`}function Ye({r:e,g:t,b:n,a:r}){if(r>=1)return Je(e,t,n);let i=e=>Ze(Math.round(e),0,255);return`rgba(${i(e)}, ${i(t)}, ${i(n)}, ${parseFloat(r.toFixed(4))})`}var Xe,Ze,Qe=o((()=>{Xe={transparent:{r:0,g:0,b:0,a:0},black:{r:0,g:0,b:0,a:1},white:{r:255,g:255,b:255,a:1}},Ze=(e,t,n)=>Math.max(t,Math.min(n,e))}));function $e(e){let t=e=>{let t=e/255;return t<=.04045?t/12.92:((t+.055)/1.055)**2.4};return .2126*t(e.r)+.7152*t(e.g)+.0722*t(e.b)}function et(e,t){let n=e.a;return{r:e.r*n+t.r*(1-n),g:e.g*n+t.g*(1-n),b:e.b*n+t.b*(1-n),a:1}}function tt(e,t){if(typeof e!=`string`)return e;let n=qe(e);if(n===null)throw TypeError(`contrastRatio: could not parse ${t} \"${e}\"`);return n}function nt(e,t){let n=tt(t,`background`);if(n.a<1)throw TypeError(`contrastRatio: background must be opaque — composite it over its backdrop first`);let r=tt(e,`foreground`);r.a<1&&(r=et(r,n));let i=$e(r),a=$e(n),o=Math.max(i,a),s=Math.min(i,a);return(o+.05)/(s+.05)}var rt=o((()=>{Qe()}));function it(e){let t=e/255;return t<=.04045?t/12.92:((t+.055)/1.055)**2.4}function at(e){let t=e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055;return Math.round(Math.min(255,Math.max(0,t*255)))}function ot(e,t,n){return[.4124564*e+.3575761*t+.1804375*n,.2126729*e+.7151522*t+.072175*n,.0193339*e+.119192*t+.9503041*n]}function st(e,t,n){return[3.2404542*e-1.5371385*t-.4985314*n,-.969266*e+1.8760108*t+.041556*n,.0556434*e-.2040259*t+1.0572252*n]}function ct(e){let t=6/29;return e>t*t*t?Math.cbrt(e):e/(3*t*t)+4/29}function lt(e){let t=6/29;return e>t?e*e*e:3*t*t*(e-4/29)}function ut(e,t,n){let r=ct(e/bt[0]),i=ct(t/bt[1]),a=ct(n/bt[2]);return[116*i-16,500*(r-i),200*(i-a)]}function dt(e,t,n){let r=(e+16)/116,i=t/500+r,a=r-n/200;return[lt(i)*bt[0],lt(r)*bt[1],lt(a)*bt[2]]}function ft(e){return lt((e+16)/116)}function pt(e){let t=Ge(e);return t===null?[0,0,0]:[t.r,t.g,t.b]}function mt(e){let[t,n,r]=pt(e),[i,a,o]=ot(it(t),it(n),it(r)),[s,c,l]=ut(i,a,o),u=Math.atan2(l,c)*180/Math.PI;u<0&&(u+=360);let d=Math.sqrt(c*c+l*l);return{hue:u,chroma:d,tone:Math.max(0,Math.min(100,s))}}function ht(e){let{hue:t,chroma:n,tone:r}=e;if(r<=0)return`#000000`;if(r>=100)return`#FFFFFF`;if(n<.5){let e=gt(r);return Je(e,e,e)}let i=0,a=n,o=`#000000`;for(let e=0;e<16;e++){let e=(i+a)/2,n=_t(t,e,r);n===null?a=e:(o=n,i=e)}return o}function gt(e){return at(ft(e))}function _t(e,t,n){let r=e*Math.PI/180,[i,a,o]=dt(n,Math.cos(r)*t,Math.sin(r)*t),[s,c,l]=st(i,a,o),u=at(s),d=at(c),f=at(l),p=it(u),m=it(d),h=it(f),g=.02;return Math.abs(p-s)>g||Math.abs(m-c)>g||Math.abs(h-l)>g||u<0||u>255||d<0||d>255||f<0||f>255?null:Je(u,d,f)}function vt(e,t){let n={};for(let r of xt)n[r]=ht({hue:e,chroma:t,tone:r});return n}function yt(e,t){return e+Math.round(t*255).toString(16).padStart(2,`0`).toUpperCase()}var bt,xt,St=o((()=>{Qe(),bt=[.95047,1,1.08883],xt=[0,5,10,20,30,40,50,60,70,80,90,95,99,100]}));function Ct(e,t){return`light-dark(${e}, ${t})`}function wt(e){return`color-mix(in srgb, var(--color-accent) ${e*100}%, transparent)`}function Tt(e,t,n,r,i,a){let o=n,s=ht({hue:e,chroma:t,tone:o});for(;nt(s,i)=0&&o+r<=100;)o+=r,s=ht({hue:e,chroma:t,tone:o});return s}function Et(e){let{accent:t,neutralStyle:n=`cool`,contrast:r=`standard`}=e,[i,a]=Array.isArray(t)?t:[t,t],o=mt(i??kt),s=a===i,c=s?o:mt(a??kt),l=Dt[n]??5,u=Ot[n]??8,d=vt(o.hue,Math.max(o.chroma,48)),f=vt(o.hue,l),p=vt(o.hue,u),m=s?d:vt(c.hue,Math.max(c.chroma,48)),h=s?f:vt(c.hue,l),g=s?p:vt(c.hue,u),_=r===`high`,v=_?0:10,y=_?99:90,b=_?20:30,x=_?80:70,S=_?.2:.1,C=_?50:70,w=_?50:30,T=Ct(Tt(o.hue,u,C,-1,f[99],At),Tt(c.hue,u,w,1,h[10],At));return{...t==null?null:{\"--color-accent\":Ct(d[40],m[80]),\"--color-accent-muted\":Ct(wt(.2),wt(.25)),\"--color-on-accent\":Ct(d[100],m[20])},\"--color-neutral\":Ct(yt(f[10],.1),yt(h[90],.2)),\"--color-background-surface\":Ct(f[99],h[10]),\"--color-background-body\":Ct(f[95],h[5]),\"--color-overlay\":Ct(yt(f[10],.4),yt(h[10],.6)),\"--color-overlay-hover\":Ct(yt(f[10],.05),yt(h[100],.05)),\"--color-overlay-pressed\":Ct(yt(f[10],.1),yt(h[100],.1)),\"--color-background-muted\":Ct(yt(f[10],.05),yt(h[10],.5)),\"--color-text-primary\":Ct(f[v],h[y]),\"--color-text-secondary\":Ct(p[b],g[x]),\"--color-text-disabled\":Ct(p[60],g[40]),\"--color-text-accent\":`var(--color-accent)`,\"--color-icon-accent\":`var(--color-accent)`,\"--color-icon-primary\":Ct(f[v],h[y]),\"--color-icon-secondary\":Ct(p[b],g[x]),\"--color-icon-disabled\":Ct(p[60],g[40]),\"--color-background-card\":Ct(f[99],h[10]),\"--color-background-popover\":Ct(f[99],h[20]),\"--color-background-inverted\":Ct(f[10],h[99]),\"--color-border\":Ct(yt(f[10],S),yt(h[95],S)),\"--color-border-emphasized\":T,\"--color-skeleton\":Ct(p[70],g[30]),\"--color-track\":Ct(p[70],g[30]),\"--color-shadow\":Ct(yt(f[0],.1),yt(h[0],.3)),\"--color-tint-hover\":Ct(`black`,`white`)}}var Dt,Ot,kt,At,jt=o((()=>{rt(),St(),Dt={warm:7,cool:5,neutral:3},Ot={warm:10,cool:8,neutral:6},kt=`#0064E0`,At=3}));function Mt(e,{strict:t=!1}={}){if(typeof e==`string`)return e;if(Array.isArray(e)&&e.length===2&&typeof e[0]==`string`&&typeof e[1]==`string`)return`light-dark(${e[0]}, ${e[1]})`;if(t)throw Error(`Theme token values must be CSS strings or [light, dark] string tuples.`);return Array.isArray(e)?`light-dark(${e[0]}, ${e[1]})`:e}function Nt(e){return typeof e==`number`?String(e):{normal:`var(--font-weight-normal)`,medium:`var(--font-weight-medium)`,semibold:`var(--font-weight-semibold)`,bold:`var(--font-weight-bold)`}[e]??e}function Pt(e,t){if(!e)return;let n=e.includes(` `)?`\"${e}\"`:e;return t?`${n}, ${t}`:n}function Ft(e){if(!e.scale)return;let t={},n=e.heading;if(n?.weights)for(let[e,r]of Object.entries(n.weights))r&&(t[Number(e)]=Nt(r));let r=n?.weight?Nt(n.weight):void 0;if(r)for(let e=1;e<=6;e++)e in t||(t[e]=r);let i={};return e.body?.weight&&(i.body=Nt(e.body.weight)),e.code?.weight&&(i.code=Nt(e.code.weight)),{base:e.scale.base,ratio:e.scale.ratio,weights:{...Object.keys(t).length>0?{heading:t}:{},...Object.keys(i).length>0?{text:i}:{}}}}function It(e){let t={},n=Pt(e.body?.family,e.body?.fallbacks),r=Pt(e.heading?.family,e.heading?.fallbacks)??n,i=Pt(e.code?.family,e.code?.fallbacks);return n&&(t[`--font-family-body`]=n),r&&(t[`--font-family-heading`]=r),i&&(t[`--font-family-code`]=i),t}function Lt(e,t,{strictTokens:n=!1,inheritedCharacter:r,standardBeneath:i}={}){let a={...t?.tokens},o=e.typography,s=o?Ft(o):void 0;if(e.color&&Object.assign(a,Et(e.color)),s&&Object.assign(a,J(s)),e.radius&&Object.assign(a,He(e.radius)),e.motion){let t=Ie(e.motion);Object.assign(a,t);let n=!1;for(let[e,r]of Object.entries(t)){let i=Fe(e);i!==e&&(n=!0,i in t||(a[i]=r))}n&&!(`--_astryx-motion-tempo`in t)&&(a[Re]=`1`)}if(o&&Object.assign(a,It(o)),e.syntax)for(let[t,n]of Object.entries(e.syntax.tokens))a[`--color-syntax-`+t]=n;if(e.tokens){let t=e.tokens;for(let[r,i]of Object.entries(e.tokens))if(i!==void 0){a[r]=Mt(i,{strict:n});let e=Fe(r);e!==r&&t[e]===void 0&&(a[e]=a[r])}}let c=e.tokens??{},l=e.motion!=null&&`character`in e.motion?e.motion.character:void 0,u=l??r;if(l===`standard`||c[`--ease-standard`]!==void 0&&(u===void 0||u===`standard`)){let e=a[`--ease-standard`]??i??V[`--ease-standard`];for(let t of[`--ease-entrance`,`--ease-move`])c[t]===void 0&&(a[t]=e)}let d=ie(e.components);return s&&(d=K(ue(s),e.components)),t?.components&&(d=K(t.components,d)),{tokens:a,components:d}}var Rt=o((()=>{_e(),Ve(),Ue(),G(),jt(),ae()}));function zt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Bt(e,t){if(typeof e==`string`)return e;if(Array.isArray(e)&&e.length===2&&typeof e[0]==`string`&&typeof e[1]==`string`)return`light-dark(${e[0]}, ${e[1]})`;throw Error(`${t} must be a CSS string or a [light, dark] string tuple.`)}function Vt(e,t,n=new Set){if(typeof e==`string`){Gt.lastIndex=0;for(let n=Gt.exec(e);n;n=Gt.exec(e))t.add(n[1])}else if(e&&typeof e==`object`){if(n.has(e))throw new Kt;n.add(e);let r=Array.isArray(e)?e:Object.values(e);for(let e of r)Vt(e,t,n);n.delete(e)}}function Ht(e,t,n,r){let i=new Map;for(let[n,a]of Object.entries(e)){let o=new Set;try{Vt(a,o,new Set([e]))}catch(e){if(!(e instanceof Kt))throw e;let i=r?.(n)??t;throw Error(`${i?`${i}: `:``}tokens refers to itself: the value of ${n} holds an object it sits in, so it never ends and is no token value.`,{cause:e})}i.set(n,[...o].filter(t=>zt(e,t)))}let a=(e,t)=>{let n=[e],r=new Set(n),a=o=>{for(let s of i.get(o)??[])if(t.has(s)){if(s===e)return n.push(e),!0;if(!r.has(s)){if(n.push(s),r.add(s),a(s))return!0;r.delete(s),n.pop()}}return!1};return a(e),n},o=0,s=new Map,c=new Map,l=[],u=new Set,d=e=>{let r=o++;s.set(e,r),c.set(e,r),l.push(e),u.add(e);for(let t of i.get(e)??[])s.has(t)?u.has(t)&&c.set(e,Math.min(c.get(e)??r,s.get(t)??0)):(d(t),c.set(e,Math.min(c.get(e)??r,c.get(t)??0)));if(c.get(e)!==r)return;let f=[],p;do p=l.pop()??e,u.delete(p),f.push(p);while(p!==e);if(!(f.length>1||(i.get(f[0])??[]).includes(f[0]))||n&&!f.some(e=>n.has(e)))return;let m=f.find(e=>n?.has(e))??f[0],h=a(m,new Set(f)).join(` -> `);throw Error(`${t?`${t}: `:``}Theme token cycle detected: ${h}.`)};for(let t of Object.keys(e))s.has(t)||d(t)}function Ut(e,t,n,r){let i=`defineTheme(\"${e}\").adaptations.rules[${t}].value.localTokens`;if(n===void 0)return;if(typeof n!=`object`||!n||Array.isArray(n))throw Error(`${i} must be a token map.`);let a={};for(let[e,t]of Object.entries(n))if(t!==void 0){if(!r||!zt(r,e))throw Error(`${i}[\"${e}\"] cannot enroll a theme-local token. Declare it in the root theme or an exact enrolled base first.`);a[e]=Bt(t,`${i}[\"${e}\"]`)}return Object.keys(a).length>0?a:void 0}var Wt,Gt,Kt,qt=o((()=>{Wt=String.raw`(?:[-_a-zA-Z0-9]|\\P{ASCII}|\\\\(?:[0-9a-fA-F]{1,6}[ \\t\\r\\n\\f]?|[^\\r\\n\\f]))`,RegExp(`^--${Wt}*$`,`u`),Gt=RegExp(`var\\\\(\\\\s*(--${Wt}*)(?=\\\\s*(?:,|\\\\)))`,`giu`),Kt=class extends Error{}}));function Jt(e){return`(width < ${e}px)`}function Yt(e){return`(height < ${e}px)`}function Xt(e){return`(width >= ${e}px)`}function Zt(e=wn){let t=Jt(e.md),n=Yt(Tn);return Object.freeze({widthBelow:e.md,heightBelow:Tn,query:`${t}, ${n}`,coarsePointerQuery:`${t} and (pointer: coarse), ${n} and (pointer: coarse)`})}function Qt(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function $t(e,t){if(!Qt(e))throw Error(`${t} must be an object.`)}function en(e,t,n){for(let r of Object.keys(e))if(!t.has(r))throw Error(`${n}.${r} is not supported.`)}function tn(e,t=`value`,n=new Set){if(Array.isArray(e)||Qt(e)){if(n.has(e))throw Error(`${t} holds an object it sits in, so it never ends and is no theme value.`);n.add(e);try{if(Array.isArray(e)){let r=[];for(let[i,a]of e.entries())r.push(tn(a,`${t}[${i}]`,n));return r}return Object.fromEntries(Object.entries(e).map(([e,r])=>[e,tn(r,`${t}.${e}`,n)]))}finally{n.delete(e)}}return e}function nn(e,t){$t(e,t),en(e,Dn,t);let n={};for(let r of Cn){let i=e[r];if(i!==void 0){if(typeof i!=`number`||!Number.isFinite(i)||i<=0)throw Error(`${t}.${r} must be a finite positive number of CSS pixels.`);n[r]=i}}return n}function rn(e,t){let n=nn(e,t);for(let e of Cn)if(n[e]===void 0)throw Error(`${t}.${e} is missing from the effective breakpoint map.`);return n}function an(e,t){let n;for(let r of Cn){if(n!==void 0&&e[r]<=e[n])throw Error(`${t} must be strictly increasing: ${r} (${e[r]}) is not above ${n} (${e[n]}).`);n=r}}function on(e,t){$t(e,t),en(e,An,t);let n=Object.fromEntries(Object.entries(e).filter(([,e])=>e!==void 0));if(Object.keys(n).length===0)throw Error(`${t} must contain at least one condition.`);let r=tn(n,t);if(r.width!==void 0){if($t(r.width,`${t}.width`),en(r.width,jn,`${t}.width`),r.width.from===void 0&&r.width.below===void 0)throw Error(`${t}.width must contain \\`from\\`, \\`below\\`, or both.`);for(let e of[`from`,`below`]){let n=r.width[e];if(n!==void 0&&(typeof n!=`string`||!Dn.has(n)))throw Error(`${t}.width.${e} must be one of ${Cn.join(`, `)}.`)}}if(r.pointer!==void 0&&r.pointer!==`coarse`&&r.pointer!==`fine`)throw Error(`${t}.pointer must be 'coarse' or 'fine'.`);if(r.contrast!==void 0&&r.contrast!==`more`&&r.contrast!==`less`&&r.contrast!==`no-preference`)throw Error(`${t}.contrast must be 'more', 'less', or 'no-preference'.`);if(r.motion!==void 0&&r.motion!==`reduce`&&r.motion!==`no-preference`)throw Error(`${t}.motion must be 'reduce' or 'no-preference'.`);return r}function sn(e,t){$t(e,t),en(e,Mn,t);for(let n of Mn){let r=e[n];if(r!==void 0&&!Qt(r))throw Error(`${t}.${n} must be an object.`)}return tn(e,t)}function cn(e,t){if($t(e,t),en(e,kn,t),!Object.prototype.hasOwnProperty.call(e,`when`))throw Error(`${t}.when is required.`);if(!Object.prototype.hasOwnProperty.call(e,`value`))throw Error(`${t}.value is required.`);return{when:on(e.when,`${t}.when`),value:sn(e.value,`${t}.value`)}}function ln(e,t){if(!Array.isArray(e))throw Error(`${t} must be an array of {when, value} objects.`);for(let n=0;ncn(e,`${t}[${n}]`))}function un(e,t,n){let r=`defineTheme(\"${e}\").adaptations`,i={...wn},a=[];t!==void 0&&($t(t,`defineTheme(\"${e}\").extends.__adaptations`),en(t,new Set([`widthBreakpoints`,`rules`]),`defineTheme(\"${e}\").extends.__adaptations`),i=rn(t.widthBreakpoints,`defineTheme(\"${e}\").extends.__adaptations.widthBreakpoints`),a=ln(t.rules,`defineTheme(\"${e}\").extends.__adaptations.rules`));let o={},s=[];n!==void 0&&($t(n,r),en(n,On,r),n.widthBreakpoints!==void 0&&(o=nn(n.widthBreakpoints,`${r}.widthBreakpoints`)),n.rules!==void 0&&(s=ln(n.rules,`${r}.rules`)));let c={...i,...o};return an(c,`${r}.widthBreakpoints`),{widthBreakpoints:c,rules:[...a,...s]}}function dn(e,t){return e?t?{...e,...t,weights:e.weights||t.weights?{...e.weights,...t.weights}:void 0}:e:t}function fn(e,t){if(typeof e!=`number`||!Number.isFinite(e))throw Error(`${t} must be a finite number.`)}function pn(e,t,n){let r=t.scale!==void 0||[t.body,t.heading,t.code].some(e=>e?.weight!==void 0||e?.weights!==void 0),i=r?e?.scale:void 0;if(t.scale!==void 0){let r=t.scale.base??e?.scale?.base,a=t.scale.ratio??e?.scale?.ratio;if(r===void 0||a===void 0)throw Error(`${n}.scale must supply both \\`base\\` and \\`ratio\\` unless the missing field exists on the effective root typography axis.`);fn(r,`${n}.scale.base`),fn(a,`${n}.scale.ratio`),i={base:r,ratio:a}}else if(r&&i===void 0)throw Error(`${n} sets typography weights without an effective root scale. Supply \\`scale.base\\` and \\`scale.ratio\\` in the same rule.`);return{...i?{scale:i}:{},body:dn(e?.body,t.body),heading:dn(e?.heading,t.heading),code:dn(e?.code,t.code)}}function mn(e,t,n){let r=t.base??e?.base,i=t.multiplier??e?.multiplier;if(r===void 0||i===void 0)throw Error(`${n} must supply both \\`base\\` and \\`multiplier\\` unless the missing field exists on the effective root radius axis.`);return fn(r,`${n}.base`),fn(i,`${n}.multiplier`),{base:r,multiplier:i}}function hn(e,t,n){if(t.reducedMotion!==void 0)throw Error(`${n}.reducedMotion is a theme-wide setting: set it on the theme's own motion, not in an adaptation rule.`);let r=t.tempo??e?.tempo,i=t.character??e?.character,a={...r===void 0?{}:{tempo:r},...i===void 0?{}:{character:i}};a.tempo!==void 0&&fn(a.tempo,`${n}.tempo`);let o=e!=null&&`fast`in e?e:{};if(t.fast===void 0&&t.medium===void 0&&t.ratio===void 0&&t.slow===void 0&&t.easing===void 0&&!(`fast`in o))return a;let s=t.fast??o.fast,c=t.medium??o.medium,l=t.ratio??o.ratio;if(s===void 0||c===void 0||l===void 0)throw Error(`${n} must supply \\`fast\\`, \\`medium\\`, and \\`ratio\\` unless each missing field exists on the effective root motion axis.`);fn(s,`${n}.fast`),fn(c,`${n}.medium`),fn(l,`${n}.ratio`);let u=t.slow??o.slow;u!==void 0&&fn(u,`${n}.slow`);let d=t.easing??o.easing;return{fast:s,medium:c,ratio:l,...u===void 0?{}:{slow:u},...d===void 0?{}:{easing:d},...a}}function gn(e,t,n,r){let i=`defineTheme(\"${e}\").adaptations.rules[${t}].value`;return{typography:n.typography?pn(r.typography,n.typography,`${i}.typography`):void 0,color:n.color?{...r.color,...n.color}:void 0,radius:n.radius?mn(r.radius,n.radius,`${i}.radius`):void 0,motion:n.motion?hn(r.motion,n.motion,`${i}.motion`):void 0,tokens:n.tokens,components:n.components}}function _n(e,t){if(typeof e==`string`){if(/\\b(?:NaN|undefined)\\b/.test(e))throw Error(`${t} resolved to the invalid CSS value \"${e}\".`)}else if(Qt(e))for(let[n,r]of Object.entries(e))_n(r,`${t}.${n}`);else throw Error(`${t} must resolve to a concrete CSS string.`)}function vn(e,t,n,r){let i=`defineTheme(\"${e}\").adaptations.rules[${t}].when`,a=[];if(n.width){let e=n.width.from,t=n.width.below;if(e!==void 0&&t!==void 0&&r[e]>=r[t])throw Error(`${i}.width must resolve to \\`from < below\\`; ${e} is ${r[e]}px and ${t} is ${r[t]}px.`);e!==void 0&&a.push(Xt(r[e])),t!==void 0&&a.push(Jt(r[t]))}if(n.pointer!==void 0&&a.push(`(pointer: ${n.pointer})`),n.contrast!==void 0&&a.push(`(prefers-contrast: ${n.contrast})`),n.motion!==void 0&&a.push(`(prefers-reduced-motion: ${n.motion})`),a.length===0)throw Error(`${i} must contain at least one concrete condition.`);return a.join(` and `)}function yn(e,t,n){let r=e.width?.from;if(r!==void 0&&n.width=t[i]||e.pointer!==void 0&&e.pointer!==n.pointer||e.contrast!==void 0&&e.contrast!==n.contrast||e.motion!==void 0&&e.motion!==n.motion)}function bn(e,t,n,r,i){let a=i.flatMap((e,t)=>Object.keys(e.tokens).length>0||e.localTokens&&Object.keys(e.localTokens).length>0?[t]:[]);if(a.length===0)return;let o=[0,...Cn.map(e=>t[e])],s=new Set;for(let c of o)for(let o of Nn.pointer)for(let l of Nn.contrast)for(let u of Nn.motion){let d={width:c,pointer:o,contrast:l,motion:u},f=a.filter(e=>yn(i[e].when,t,d));if(f.length===0)continue;let p=f.join(`,`);if(s.has(p))continue;s.add(p);let m={...n,...r},h=new Set;for(let e of f){let t=i[e];Object.assign(m,t.tokens,t.localTokens);for(let e of Object.keys(t.tokens))h.add(e);for(let e of Object.keys(t.localTokens??{}))h.add(e)}let g=f.join(`, `),_=f.map(e=>i[e].query).join(`; `),v=`defineTheme(\"${e}\").adaptations ${f.length===1?`rule`:`overlapping rules`} [${g}] (${_})`;Ht(m,v,h,t=>h.has(t)?v:`defineTheme(\"${e}\").tokens`)}}function xn(e,t,n){if(!e||!t)return e;let r={};for(let[i,a]of Object.entries(e))for(let[e,o]of Object.entries(a)){let a=Object.fromEntries(Object.entries(o).filter(([r])=>t[i]?.[e]?.[r]===void 0||Object.hasOwn(n?.[i]?.[e]??{},r)));Object.keys(a).length>0&&((r[i]??={})[e]=a)}return Object.keys(r).length>0?r:void 0}function Sn(e,t,n,r,i,a){if(t.rules.length===0)return;let o=t.rules.map((o,s)=>{let c=gn(e,s,o.value,n),l=Lt(c,void 0,{strictTokens:!0,inheritedCharacter:n.motion?.character,standardBeneath:r[`--ease-standard`]});for(let[t,n]of Object.entries(l.tokens))_n(n,`defineTheme(\"${e}\").adaptations.rules[${s}].value.tokens[\"${t}\"]`);l.components&&_n(l.components,`defineTheme(\"${e}\").adaptations.rules[${s}].value.components`);for(let t of Object.keys(o.value.tokens??{}))if(i&&Object.prototype.hasOwnProperty.call(i,t))throw Error(`defineTheme(\"${e}\").adaptations.rules[${s}].value.tokens[\"${t}\"] matches an enrolled theme-local declaration; write it through value.localTokens instead.`);let u=Ut(e,s,o.value.localTokens,i);return{when:o.when,query:vn(e,s,o.when,t.widthBreakpoints),tokens:l.tokens,localTokens:u,components:c.typography?.scale?xn(l.components,a,ie(o.value.components)):l.components}});return bn(e,t.widthBreakpoints,r,i,o),o}var Cn,wn,Tn,En,Dn,On,kn,An,jn,Mn,Nn,Pn=o((()=>{Rt(),ae(),qt(),Cn=[`sm`,`md`,`lg`,`xl`,`2xl`],wn=Object.freeze({sm:640,md:768,lg:1024,xl:1280,\"2xl\":1536}),Tn=500,En=Zt(),Dn=new Set(Cn),On=new Set([`widthBreakpoints`,`rules`]),kn=new Set([`when`,`value`]),An=new Set([`width`,`pointer`,`contrast`,`motion`]),jn=new Set([`from`,`below`]),Mn=new Set([`typography`,`color`,`radius`,`motion`,`tokens`,`localTokens`,`components`]),Nn={pointer:[`coarse`,`fine`,`none`],contrast:[`more`,`less`,`no-preference`,`custom`],motion:[`reduce`,`no-preference`]}})),Fn,In,Ln=o((()=>{Fn={\"--color-syntax-keyword\":`var(--color-text-accent)`,\"--color-syntax-string\":`var(--color-text-green)`,\"--color-syntax-comment\":`var(--color-text-secondary)`,\"--color-syntax-number\":`var(--color-text-orange)`,\"--color-syntax-function\":`var(--color-text-blue)`,\"--color-syntax-type\":`var(--color-text-purple)`,\"--color-syntax-variable\":`var(--color-text-primary)`,\"--color-syntax-operator\":`var(--color-text-cyan)`,\"--color-syntax-constant\":`var(--color-text-orange)`,\"--color-syntax-tag\":`var(--color-text-red)`,\"--color-syntax-attribute\":`var(--color-text-teal)`,\"--color-syntax-property\":`var(--color-text-cyan)`,\"--color-syntax-punctuation\":`var(--color-text-secondary)`,\"--color-syntax-background\":`var(--color-background-muted)`,\"--color-syntax-added\":`color-mix(in srgb, var(--color-success-muted) 25%, transparent)`,\"--color-syntax-removed\":`color-mix(in srgb, var(--color-error-muted) 25%, transparent)`,\"--color-syntax-diff-header\":`var(--color-background-muted)`,\"--color-syntax-added-marker\":`var(--color-text-green)`,\"--color-syntax-removed-marker\":`var(--color-text-red)`},In=[`--color-syntax-added`,`--color-syntax-removed`,`--color-syntax-diff-header`,`--color-syntax-added-marker`,`--color-syntax-removed-marker`]})),Rn,zn=o((()=>{Rn={\"--color-data-categorical-blue\":`light-dark(#0171E3, #0171E3)`,\"--color-data-categorical-orange\":`light-dark(#EB6E00, #EB6E00)`,\"--color-data-categorical-purple\":`light-dark(#6B1EFD, #6B1EFD)`,\"--color-data-categorical-green\":`light-dark(#0B991F, #0B991F)`,\"--color-data-categorical-pink\":`light-dark(#F351C0, #F351C0)`,\"--color-data-categorical-cyan\":`light-dark(#0171A4, #0171A4)`,\"--color-data-categorical-red\":`light-dark(#F5394F, #F5394F)`,\"--color-data-categorical-teal\":`light-dark(#08A3A3, #08A3A3)`,\"--color-data-categorical-brown\":`light-dark(#965E03, #965E03)`,\"--color-data-categorical-indigo\":`light-dark(#6F8AFF, #6F8AFF)`,\"--color-data-neutral\":`light-dark(#8494A3, #8C939B)`,\"--color-data-blue-5\":`light-dark(#02165E, #02165E)`,\"--color-data-blue-4\":`light-dark(#004CBC, #004CBC)`,\"--color-data-blue-3\":`light-dark(#2694FE, #2694FE)`,\"--color-data-blue-2\":`light-dark(#78BEFF, #78BEFF)`,\"--color-data-blue-1\":`light-dark(#DBECFF, #DBECFF)`,\"--color-data-shamrock-5\":`light-dark(#0B603D, #0B603D)`,\"--color-data-shamrock-4\":`light-dark(#138546, #138546)`,\"--color-data-shamrock-3\":`light-dark(#24BB5E, #24BB5E)`,\"--color-data-shamrock-2\":`light-dark(#8EF7AA, #8EF7AA)`,\"--color-data-shamrock-1\":`light-dark(#D6FEE4, #D6FEE4)`,\"--color-data-orange-5\":`light-dark(#A13F04, #A13F04)`,\"--color-data-orange-4\":`light-dark(#D66100, #D66100)`,\"--color-data-orange-3\":`light-dark(#FD9537, #FD9537)`,\"--color-data-orange-2\":`light-dark(#FDB876, #FDB876)`,\"--color-data-orange-1\":`light-dark(#FFE6CF, #FFE6CF)`,\"--color-data-pink-5\":`light-dark(#8E1073, #8E1073)`,\"--color-data-pink-4\":`light-dark(#D123A1, #D123A1)`,\"--color-data-pink-3\":`light-dark(#F989D3, #F989D3)`,\"--color-data-pink-2\":`light-dark(#FEADE3, #FEADE3)`,\"--color-data-pink-1\":`light-dark(#FCE3F4, #FCE3F4)`,\"--color-data-purple-5\":`light-dark(#3E0697, #3E0697)`,\"--color-data-purple-4\":`light-dark(#6B1EFD, #6B1EFD)`,\"--color-data-purple-3\":`light-dark(#9081FF, #9081FF)`,\"--color-data-purple-2\":`light-dark(#B3B0FE, #B3B0FE)`,\"--color-data-purple-1\":`light-dark(#E8E8FB, #E8E8FB)`,\"--color-data-red-5\":`light-dark(#9D0519, #9D0519)`,\"--color-data-red-4\":`light-dark(#D31130, #D31130)`,\"--color-data-red-3\":`light-dark(#FB7D87, #FB7D87)`,\"--color-data-red-2\":`light-dark(#FFB2B8, #FFB2B8)`,\"--color-data-red-1\":`light-dark(#FEE4E6, #FEE4E6)`,\"--color-data-teal-5\":`light-dark(#08767D, #08767D)`,\"--color-data-teal-4\":`light-dark(#0C9293, #0C9293)`,\"--color-data-teal-3\":`light-dark(#0DB7AF, #0DB7AF)`,\"--color-data-teal-2\":`light-dark(#6CE6D8, #6CE6D8)`,\"--color-data-teal-1\":`light-dark(#D7FCF8, #D7FCF8)`,\"--color-data-yellow-5\":`light-dark(#8A5001, #8A5001)`,\"--color-data-yellow-4\":`light-dark(#D69804, #D69804)`,\"--color-data-yellow-3\":`light-dark(#FBCE03, #FBCE03)`,\"--color-data-yellow-2\":`light-dark(#FCEC85, #FCEC85)`,\"--color-data-yellow-1\":`light-dark(#FDF6BA, #FDF6BA)`,\"--color-data-gray-5\":`light-dark(#25363F, #333338)`,\"--color-data-gray-4\":`light-dark(#5D6C7B, #666A72)`,\"--color-data-gray-3\":`light-dark(#AFB9C4, #B2B8BE)`,\"--color-data-gray-2\":`light-dark(#CCD3DB, #D0D3D6)`,\"--color-data-gray-1\":`light-dark(#F1F4F7, #F2F4F6)`}})),Bn,Vn=o((()=>{Ln(),zn(),Bn={...Fn,...Rn}})),Hn,Un=o((()=>{Vn(),G(),Hn={...O,...A,...M,...N,...F,...L,...R,...z,...V,...ee,...U,...te,...W,...Bn}}));function Wn(e,t){return Symbol.for(`@astryxdesign/core/${e}/v${t}`)}function Gn(e,t,n=()=>!0){let r=globalThis;if(Object.hasOwn(r,e)){let i=r[e];return n(i)?i:t()}let i=t();return r[e]=i,i}function Kn(e,t,n){return Gn(Wn(e,t),n)}function qn(e,t){return Kn(e,t,()=>new Map)}function Jn(e,t){return Kn(e,t,()=>new WeakMap)}function Yn(e,t){return Kn(e,t,()=>new WeakSet)}var Xn=o((()=>{}));function Zn(e,t,n){let r=Gn(Wn(`react/${e}`,t),()=>new WeakMap,e=>e instanceof WeakMap);if(r.has(Qn.createElement))return r.get(Qn.createElement);let i=n();return r.set(Qn.createElement,i),i}var Qn,$n=o((()=>{Qn=u(f(),1),Xn()}));function er(e){nr.set(e.name,e)}function tr(e){return e==null||e===``?null:nr.get(e)??null}var nr,rr=o((()=>{$n(),nr=Zn(`theme/theme-registry/themes`,1,()=>new Map)}));function ir(e){return typeof e==`object`&&!!e&&`name`in e&&`tokens`in e&&!(`styles`in e)}var ar=o((()=>{Un()}));function or(e){return`${ur}-${e}`}function sr(e){return`data-${dr}-${e}`}function cr(e){return`--${fr}-${e}`}var lr,ur,dr,fr,pr=o((()=>{lr=`astryx`,ur=lr,dr=lr,fr=lr}));function mr(e){return`data-${e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase()}`}function hr(e){let t={};for(let[n,r]of Object.entries(e))n.startsWith(`data-`)&&(t[n]=r);return t}function gr(e){return or(e)}function _r(e){let t={};if(e)for(let[n,r]of Object.entries(e))r!=null&&(t[mr(n)]=String(r));return t}function Y(e,t){return{className:gr(e),..._r(t)}}var vr=o((()=>{pr()}));vr();function yr(e){let t=``;for(let n of e){let e=n.codePointAt(0)??0;t+=n===`\"`||n===`\\\\`||e<32||e===127?`\\\\${(e===0?65533:e).toString(16)} `:n}return t}function br(e){return e===`base`?``:e.split(`+`).map(e=>{let t=e.indexOf(`:`),n=t===-1?e:e.slice(0,t),r=t===-1?e:e.slice(t+1);return`[${mr(n)}=\"${yr(r)}\"]`}).join(``)}var xr=[`top-left`,`top-right`,`bottom-right`,`bottom-left`],Sr=[`start-start`,`start-end`,`end-start`,`end-end`],Cr={avatar:[{property:`borderRadius`,vars:[`--_avatar-radius`]}],banner:[{property:`borderRadius`,vars:[`--_banner-radius`]}],\"bottom-sheet\":[{property:`padding`,expand:`container`}],button:[{property:`borderRadius`,vars:[`--_button-radius`]}],card:[{property:`borderRadius`,vars:[`--_card-radius`],corners:!0},{property:`padding`,expand:`container`}],\"chat-composer\":[{property:`borderRadius`,vars:[`--_chat-composer-radius`]},{property:`padding`,vars:[`--_chat-composer-padding`]}],\"checkbox-input\":[{property:`gap`,vars:[`--_checkbox-input-gap`],replaces:!0}],dialog:[{property:`borderRadius`,vars:[`--_dialog-radius`],corners:!0},{property:`padding`,expand:`container`}],drawer:[{property:`padding`,expand:`container`}],\"context-menu\":[{property:`borderRadius`,vars:[`--_dropdown-menu-radius`],corners:!0},{property:`padding`,vars:[`--_dropdown-menu-padding`]}],\"dropdown-menu\":[{property:`borderRadius`,vars:[`--_dropdown-menu-radius`],corners:!0},{property:`padding`,vars:[`--_dropdown-menu-padding`]}],field:[{property:`borderRadius`,vars:[`--_field-radius`]}],\"hover-card\":[{property:`borderRadius`,vars:[`--_hovercard-radius`]}],icon:[{property:`width`,vars:[`--_icon-width`],replaces:!0},{property:`height`,vars:[`--_icon-height`],replaces:!0}],item:[{property:`paddingInline`,vars:[`--_item-inset-inline`]}],\"number-input\":[{property:`padding`,expand:`container`},{property:`borderRadius`,vars:[`--_field-radius`]}],popover:[{property:`borderRadius`,vars:[`--_popover-radius`]}],\"progress-bar-mark\":[{property:`width`,vars:[`--_progressbar-mark-width`],replaces:!0},{property:`height`,vars:[`--_progressbar-mark-height`],replaces:!0}],section:[{property:`padding`,expand:`container`}],\"segmented-control\":[{property:`borderRadius`,vars:[`--_segmented-control-radius`]},{property:`padding`,vars:[`--_segmented-control-padding`]}],\"switch-field\":[{property:`gap`,vars:[`--_switch-field-gap`],replaces:!0}],\"switch-thumb\":[{property:`width`,vars:[`--_switch-thumb-width`],replaces:!0},{property:`height`,vars:[`--_switch-thumb-height`],replaces:!0}],\"table-row\":[{property:`backgroundColor`,vars:[`--table-row-overlay`]}],\"text-area\":[{property:`paddingInline`,vars:[`--_textarea-inline-padding`],replaces:!0}]};function wr(e,t){let n=Cr[e];return n?n.filter(e=>e.property===t):[]}function Tr(e,t){let n=e.a;return{r:e.r*n+t.r*(1-n),g:e.g*n+t.g*(1-n),b:e.b*n+t.b*(1-n),a:1}}function Er({r:e,g:t,b:n}){return .2126*Fr(e)+.7152*Fr(t)+.0722*Fr(n)}function Dr(e,t){let n=t.a<1?Tr(t,{r:255,g:255,b:255,a:1}):t,r=Er(e.a<1?Tr(e,n):e),i=Er(n);return(Math.max(r,i)+.05)/(Math.min(r,i)+.05)}function Or({r:e,g:t,b:n}){let r=Fr(e),i=Fr(t),a=Fr(n),o=Math.cbrt(.4122214708*r+.5363325363*i+.0514459929*a),s=Math.cbrt(.2119034982*r+.6806995451*i+.1073969566*a),c=Math.cbrt(.0883024619*r+.2817188376*i+.6299787005*a),l=.2104542553*o+.793617785*s-.0040720468*c,u=1.9779984951*o-2.428592205*s+.4505937099*c,d=.0259040371*o+.7827717662*s-.808675766*c;return{l,c:Math.hypot(u,d),h:Math.atan2(d,u)}}function kr({l:e,c:t,h:n}){let r=t*Math.cos(n),i=t*Math.sin(n),a=(e+.3963377774*r+.2158037573*i)**3,o=(e-.1055613458*r-.0638541728*i)**3,s=(e-.0894841775*r-1.291485548*i)**3;return[4.0767416621*a-3.3077115913*o+.2309699292*s,-1.2684380046*a+2.6097574011*o-.3413193965*s,-.0041960863*a-.7034186147*o+1.707614701*s]}function Ar(e){let t=e.c;for(let n=0;n<40;n++){let n=kr({...e,c:t});if(n.every(e=>e>=-1e-4&&e<=1.0001)){let[e,t,r]=n.map(e=>Ir(Math.min(1,Math.max(0,e))));return{r:e,g:t,b:r,a:1}}t*=.9}let[n,r,i]=kr({...e,c:0}).map(e=>Ir(Math.min(1,Math.max(0,e))));return{r:n,g:r,b:i,a:1}}function jr(e){let{l:t,c:n}=Or(e);return n>=.03&&t>=Lr[0]&&t<=Lr[1]}function Mr(e,t,n){let r=e=>t.every(t=>Dr(e,t)>=n),i={...e,a:1};if(r(i))return i;let a=t.reduce((e,t)=>e+Er(t),0)/t.length,o=Or(i),s=a>.18,c=s?0:o.l,l=s?o.l:1,u=e=>Ar({...o,l:e}),d=u(+!s);if(!r(d))return null;for(let e=0;e<32;e++){let e=(c+l)/2,t=r(u(e));s?t?c=e:l=e:t?l=e:c=e}let f=u(s?c:l);return r(f)?f:d}function Nr(e){return e===void 0?null:qe(e)}function Pr(e){let t=Je(e.r,e.g,e.b);return e.a>=1?t:`${t}${Math.round(e.a*255).toString(16).padStart(2,`0`).toUpperCase()}`}var Fr,Ir,Lr,Rr=o((()=>{Qe(),Fr=e=>{let t=e/255;return t<=.04045?t/12.92:((t+.055)/1.055)**2.4},Ir=e=>(e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055)*255,Lr=[.2,.95]}));function zr(e){return`--color-${e}`}function Br(e){let t=[],n=0,r=``;for(let i of e)i===`(`&&n++,i===`)`&&n--,i===`,`&&n===0?(t.push(r.trim()),r=``):r+=i;return t.push(r.trim()),t}function Vr(e,t,n,r=new Set){if(!r.has(t))return Hr(e,e[t]??O[t],n,new Set([...r,t]))}function Hr(e,t,n,r){if(Array.isArray(t))return Hr(e,t[n===`light`?0:1],n,r);if(typeof t!=`string`)return;let i=t.trim();if(/^light-dark\\(/i.test(i)&&i.endsWith(`)`)){let[t,a]=Br(i.slice(i.indexOf(`(`)+1,-1));return Hr(e,n===`light`?t:a,n,r)}let a=/^var\\(\\s*(--[\\w-]+)\\s*(?:,(.*))?\\)$/s.exec(i);return a?Vr(e,a[1],n,r)??(a[2]?Hr(e,a[2],n,r):void 0):i}function Ur(e){let t=new Set([...Object.keys(O),...Object.keys(e)]),n=n=>{let r={};for(let i of t){let t=Vr(e,i,n);t!==void 0&&(r[i]=t)}return r};return{light:n(`light`),dark:n(`dark`)}}function Wr(){return ei??=Ur($r),ei}function Gr(e,t,n){let r=Nr(t[zr(e)]);if(r!==null&&jr(r))return{...r,a:1};let i=Nr(Wr()[n][zr(e)]);return i===null?null:{...i,a:1}}function Kr(e,t){return e.a<1?Tr(e,t):e}function qr(e,t,n){let r=Nr(t[zr(e)]),i=Gr(e,t,n),a=Nr(t[`--color-background-surface`]),o=Nr(t[`--color-background-card`]),s=Nr(t[`--color-${e}-muted`]),c=Nr(t[`--color-on-dark`]),l=Nr(t[`--color-on-light`]);if(r===null||i===null||a===null||o===null||s===null||c===null||l===null)return null;let u=Kr(a,{r:255,g:255,b:255,a:1}),d=Kr(o,u),f=Kr(r,u),p={},m=Kr(c,f),h=Kr(l,f),g=Dr(m,f)>=Dr(h,f)?m:h,_={r:255,g:255,b:255,a:1},v={r:0,g:0,b:0,a:1};p.on=Dr(g,f)>=Xr?g:Dr(_,f)>=Dr(v,f)?_:v;let y=Mr(i,[u,d],Zr);y!==null&&(p.text=y);let b=Mr(i,[Tr(s.a<1?s:{...s,a:1},u)],Zr);return b!==null&&(p.onMuted=b),p}function Jr(e,t={}){let n=new Set(Object.keys(e)),r=n.has(`--color-background-surface`)||n.has(`--color-background-card`),i=n.has(`--color-on-dark`)||n.has(`--color-on-light`),a=Ur({...t,...e}),o=[];for(let e of Yr){let t=n.has(zr(e)),s=n.has(`--color-${e}-muted`),c={on:t||i,text:t||r,onMuted:t||s||r};if(!c.on&&!c.text&&!c.onMuted)continue;let l=Qr.map(t=>qr(e,a[t],t));if(!l.some(e=>e===null))for(let t of Object.keys(ti)){let r=ti[t](e);if(!c[t]||n.has(r))continue;let[i,a]=l.map(e=>e?.[t]);i!==void 0&&a!==void 0&&o.push([r,`light-dark(${Pr(i)}, ${Pr(a)})`])}}return o}var Yr,Xr,Zr,Qr,$r,ei,ti,ni=o((()=>{G(),Rr(),Yr=[`info`,`success`,`warning`,`error`],Xr=4.5,Zr=4.58,Qr=[`light`,`dark`],$r={},ti={on:e=>`--color-on-${e}`,text:e=>`--color-text-${e}`,onMuted:e=>`--color-on-${e}-muted`}}));function ri(e){return e===`\n`||e===`\\r`||e===`\\f`}function ii(e){return e===` `||e===`\t`||ri(e)}function ai(e){return/^[0-9a-fA-F]$/.test(e)}function oi(e){return/^[A-Za-z_]$/.test(e)||e.charCodeAt(0)>=128}function si(e){return oi(e)||/^[0-9-]$/.test(e)}function ci(e){let t=e.replace(/\\r\\n?|\\f/g,`\n`).replace(/\\0/g,`�`),n=``;for(let e=0;e=55296&&r<=56319){let r=t.charCodeAt(e+1);r>=56320&&r<=57343?(n+=t[e]+t[e+1],e++):n+=`�`}else n+=r>=56320&&r<=57343?`�`:t[e]}return n}function li(e,t){return e[t]===`\\\\`&&t+165535?2:1)}function fi(e,t){let n=``,r=t;for(;r1114111||a>=55296&&a<=57343?`�`:String.fromCodePoint(a)}else n+=e.slice(r+1,t);r=t}else break}return{end:r,name:n}}function pi(e,t){let n=e[t],r=t+1;for(;r=e.length)break;r=ri(e[r+1])?r+2:di(e,r+1)}else r++}return{reason:`an unclosed ${n} string would swallow the rest of the rule`}}function mi(e,t){let n=t;for(;n=e.length)break;return e[n]===`)`?{end:n+1}:{reason:`whitespace inside an unquoted url() makes a bad url`}}if(Ci.test(t))return{reason:`a non-printable character inside url() makes a bad url`};if(t===`\"`||t===`'`||t===`(`)return{reason:`\"${t}\" inside an unquoted url() makes a bad url; quote the URL instead`};if(t===`\\\\`){if(!li(e,n))return{reason:`a stray backslash inside url() makes a bad url`};n=di(e,n+1)}else n++}return{reason:`an unclosed url( would swallow the rest of the rule`}}function hi(e){let t=ci(e),n=[],r=0;for(;r=t.length)return`a trailing backslash would escape the declaration terminator`;r=ri(t[r+1])?r+1:di(t,r+1)}else if(e===`(`||e===`[`||e===`{`){if(e===`{`&&n.length===0)return`an unquoted \"{\" would open a nested block`;n.push(wi[e]),r++}else if(e===`)`||e===`]`||e===`}`){if(n.length===0)return e===`}`?`an unquoted \"}\" would close the rule`:`an unbalanced \"${e}\" has nothing to close`;let t=n.pop();if(t!==e)return`\"${e}\" does not close the open \"${t===`)`?`(`:t===`]`?`[`:`{`}\"`;r++}else{if(e===`;`&&n.length===0)return`an unquoted \";\" would end the declaration`;r++}}if(n.length>0){let e=n[n.length-1];return`an unclosed \"${e===`)`?`(`:e===`]`?`[`:`{`}\" would swallow the rest of the rule`}return null}function gi(e,t){let n=t;for(;;){for(;n=Ei&&Ti.clear(),Ti.set(e,t),t}let r=ci(e),i=[],a=[],o=[],s=[],c=0,l=e=>{a.length===0&&(c++,s.length===0&&s.push(e),o.push(e),o.length>2&&o.shift())},u=0;for(;u=Ei&&Ti.clear(),Ti.set(e,h),h}function xi(e){let t=ci(e);if(t.length===0||!ui(t,0))return null;let n=fi(t,0);return n.end===t.length?n.name:null}function Si(e){let t=ci(e);if(t.length===0||!ui(t,0))return`a property name must be a CSS identifier`;let{end:n}=fi(t,0);return n===t.length?null:`a property name must be one CSS identifier; \"${t[n]}\" cannot appear in one`}var Ci,wi,Ti,Ei,Di=o((()=>{Ci=/[\\x01-\\x08\\x0b\\x0e-\\x1f\\x7f]/,wi={\"(\":`)`,\"[\":`]`,\"{\":`}`},Ti=new Map,Ei=4096}));function Oi(e){return typeof e==`string`?e:String(e)}function ki(e,...t){for(let n of t)for(let[t,r]of Object.entries(n??{})){if(r===void 0)continue;let n=xi(t),i=Oi(r),a=bi(i);n!==null&&a.reason===null&&(!e.important.has(n)||a.important)&&(e.values[n]=i,a.important?e.important.add(n):e.important.delete(n))}}function Ai(...e){let t={values:{},important:new Set};return ki(t,...e),t}function ji(e,t,n){let r=[...bi(n).references],i=new Set;for(;r.length>0;){let n=r.pop();if(n!==void 0){if(n===t)return!0;if(!i.has(n)&&Object.prototype.hasOwnProperty.call(e,n)){i.add(n);for(let i of bi(Oi(e[n])).references)(i===t||Object.prototype.hasOwnProperty.call(e,i))&&r.push(i)}}}return!1}function Mi(e,t,n,r,i){let a=e.width?.from;if(a!==void 0&&t=zi[o]?!1:(e.pointer===void 0||e.pointer===n)&&(e.contrast===void 0||e.contrast===r)&&(e.motion===void 0||e.motion===i)}function Ni(e){let t=Bi.get(e);if(t!==void 0)return t;let n=new Map;for(let t=0;t<=5;t++)for(let r of[`coarse`,`fine`,`none`])for(let i of[`more`,`less`,`no-preference`,`custom`])for(let a of[`reduce`,`no-preference`]){let o=e.flatMap((e,n)=>Mi(e.when,t,r,i,a)?[n]:[]);n.set(o.join(`,`),o)}let r=[...n.values()];return Bi.set(e,r),r}function Pi(e,t,n,r,i,a=[]){let o=Ai(e,Object.fromEntries(n),t);for(let e of i){let t=r[e];ki(o,t.tokens,Object.fromEntries(a[e]??[]),t.localTokens)}for(let e of i)ki(o,Object.fromEntries(Ii(r[e].tokens)));return o.values}function Fi(e,t={},n=[]){let r=Jr(e,t),i=Ai(e,Object.fromEntries(r),t).values,a=Ni(n).map(i=>({indexes:i,values:Pi(e,t,r,n,i)}));for(let[e,t]of Li){let n=`var(${t})`;if(!(i[e]!==void 0||i[t]===void 0&&!r.some(([e])=>e===t))&&a.every(({values:t})=>t[e]!==void 0||!ji(t,e,n))){r.push([e,n]);for(let{values:t}of a)t[e]===void 0&&(t[e]=n)}}return r.sort(([e],[t])=>(Ri.get(e)??0)-(Ri.get(t)??0))}function Ii(e){let t=Ai(e).values;return Li.flatMap(([e])=>{let n=t[e];return n===void 0?[]:[[e,Oi(n)]]})}var Li,Ri,zi,Bi,Vi=o((()=>{ni(),Di(),Li=[[`--color-text-info`,`--color-text-blue`],[`--color-text-success`,`--color-text-green`],[`--color-text-warning`,`--color-text-yellow`],[`--color-text-error`,`--color-text-red`],[`--color-on-info-muted`,`--color-text-blue`],[`--color-on-success-muted`,`--color-text-green`],[`--color-on-warning-muted`,`--color-text-yellow`],[`--color-on-error-muted`,`--color-text-red`],[`--color-icon-info`,`--color-text-info`],[`--color-icon-success`,`--color-text-success`],[`--color-icon-warning`,`--color-text-warning`],[`--color-icon-error`,`--color-text-error`],[`--color-border-info`,`--color-text-info`],[`--color-border-success`,`--color-text-success`],[`--color-border-warning`,`--color-text-warning`],[`--color-border-error`,`--color-text-error`],[`--duration-exit`,`--duration-fast`],[`--radius-chat`,`--radius-container`]],Ri=new Map(Li.map(([e],t)=>[e,t])),zi={sm:1,md:2,lg:3,xl:4,\"2xl\":5},Bi=new WeakMap})),Hi={largeTitle:[31,32,33,34,36,38,40,44,48,52,56,60],title1:[25,26,27,28,30,32,34,38,43,48,53,58],title2:[19,20,21,22,24,26,28,34,39,44,50,56],title3:[17,18,19,20,22,24,26,31,37,43,49,55],body:[14,15,16,17,19,21,23,28,33,40,47,53],footnote:[12,12,12,13,15,17,19,23,27,33,38,44],caption1:[11,11,11,12,14,16,18,22,26,32,37,43],caption2:[11,11,11,11,13,15,17,20,24,29,34,40]},Ui=`data-astryx-text-size-probe`;function Wi(e){e.setAttribute(Ui,``)}function Gi(){return typeof ResizeObserver>`u`?null:(Xi||=new ResizeObserver(e=>{for(let t of e){let e=Zi.get(t.target);if(e)for(let n of[...e.keys()])n(t)}}),Xi)}function Ki(e){return Zi.has(e)}function qi(e,t){let n=Zi.get(e);n?n.set(t,(n.get(t)??0)+1):Zi.set(e,new Map([[t,1]])),Gi()?.observe(e),t({target:e});let r=!0;return()=>{r&&(r=!1,Yi(e,t))}}function Ji(e,t){if(typeof ResizeObserver>`u`)return null;let n=Ki(e),r=!1,i=!0,a=qi(e,e=>{r&&t(e)});return r=!0,n&&queueMicrotask(()=>{i&&t(null)}),()=>{i=!1,a()}}function Yi(e,t){let n=Zi.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}Zi.delete(e),Xi&&(Xi.unobserve(e),Zi.size===0&&(Xi.disconnect(),Xi=null))}var Xi,Zi,Qi=o((()=>{Xi=null,Zi=new Map}));Qi(),G();var $i=3;function ea(e){return Hi.body.findIndex(t=>Math.abs(t-e)<.5)}var ta={\"--font-size-4xs\":`caption2`,\"--font-size-3xs\":`caption2`,\"--font-size-2xs\":`caption2`,\"--font-size-xs\":`caption1`,\"--font-size-sm\":`footnote`,\"--font-size-base\":`body`,\"--font-size-lg\":`title3`,\"--font-size-xl\":`title2`,\"--font-size-2xl\":`title1`,\"--font-size-3xl\":`title1`,\"--font-size-4xl\":`largeTitle`,\"--font-size-5xl\":`largeTitle`};function na(e){return`--_dynamic-type-${e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}`}var ra=Object.keys(Hi).filter(e=>Object.values(ta).includes(e));function ia(e){return String(Number(e.toFixed(4)))}function aa(e){return e<0||e===$i?``:ca(t=>ia(Hi[t][e]/Hi[t][$i]))}var oa=`env(preferred-text-scale, 1)`;function sa(){return ca(()=>oa)}function ca(e){let t=e=>e.map(([e,t])=>` ${e}: ${t};`).join(`\n`);return`@layer astryx-base {\\n:root {\\n${t(ua(U))}\\n}\\n}\\n:root {\\n${t(ra.map(t=>[na(t),e(t)]))}\\n}`}function la(e){return`--_scaled-${e.slice(2)}`}function ua(e){let t=Object.keys(ta),n=t=>{let[n,r]=ma(t&&e[t]||``);return fa(n)?{value:n,important:r}:null};return t.flatMap((r,i)=>{let a=n(r);if(a===null)return[];let{value:o,important:s}=a,c=`calc(${o} * var(${na(ta[r])}, 1))`,l=t[i+1],u=n(l),d=c;if(l!==void 0&&(e[l]===void 0||u)){let e=ha(o),t=u&&ha(u.value);d=e!==null&&t!=null&&e<=t?`min(${c}, var(${la(l)}))`:`min(${c}, max(var(${la(l)}, ${o}), ${o}))`}return[[la(r),d],[r,`var(${la(r)})${s}`]]})}var da=Object.entries(W).flatMap(([e,t])=>{let n=/^var\\((--font-size-[a-z0-9]+)\\)$/.exec(t)?.[1];return e.endsWith(`-size`)&&n!==void 0&&n in ta?[[e,n]]:[]});function fa(e){return/\\d[a-z]/i.test(e)&&!/var\\(|%|\\d(?:em|ex|ch|ic|cap|lh)\\b/i.test(e)}function pa(e){let t=new Map(ua(Object.fromEntries(e))),n=new Map(da);return e.flatMap(([e,r])=>{let i=t.get(e);if(i!==void 0){let n=la(e);return[[n,t.get(n)??``],[e,i]]}let[a,o]=ma(r),s=n.get(e);return[[e,s!==void 0&&fa(a)?`calc(${a} * var(${na(ta[s])}, 1))${o}`:r]]})}function ma(e){let t=/\\s*!\\s*important\\s*$/i.exec(e);return t?[e.slice(0,t.index),` !important`]:[e,``]}function ha(e){let t=/^(-?\\d*\\.?\\d+)(px|rem)$/.exec(e?.trim()??``);return t==null?null:Number(t[1])*(t[2]===`rem`?16:1)}function ga(e){let t=_a.get(e);if(t==null){let n=va(e);if(n==null)return;t={holders:0,stop:n},_a.set(e,t)}t.holders+=1;let n=t,r=!1;return()=>{r||(r=!0,--n.holders,n.holders===0&&(_a.delete(e),n.stop()))}}var _a=new WeakMap;function va(e){let t=e.defaultView;if(t==null||typeof t.CSSStyleSheet!=`function`||!Array.isArray(e.adoptedStyleSheets))return;if(!t.CSS?.supports?.(`font`,`-apple-system-body`))return ya(e,t);let n=e.createElement(`span`);n.setAttribute(`aria-hidden`,`true`),Wi(n),n.style.cssText=`position:fixed;inset:0 auto auto 0;inline-size:1em;block-size:1em;visibility:hidden;pointer-events:none;font:-apple-system-body`,(e.body??e.documentElement).append(n);let r=new t.CSSStyleSheet;e.adoptedStyleSheets=[...e.adoptedStyleSheets,r];let i=qi(n,()=>r.replaceSync(aa(ea(Number.parseFloat(t.getComputedStyle(n).fontSize)))));return()=>{i(),n.remove(),e.adoptedStyleSheets=e.adoptedStyleSheets.filter(e=>e!==r)}}function ya(e,t){if(e.querySelector(`meta[name=\"text-scale\"][content=\"scale\" i]`)!=null)return;let n=new t.CSSStyleSheet;return n.replaceSync(sa()),e.adoptedStyleSheets=[...e.adoptedStyleSheets,n],()=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(e=>e!==n)}}var ba=`[data-astryx-press=\"on\"]`,xa=`[data-astryx-pressable]`,Sa=`:is(${ba}, ${ba} :where(:not(${xa}, ${ba} ${xa} *)), :where(:not(${xa})):has(${ba}))`,Ca=`data-astryx-scheme`;function wa(e,t){t===null?e.removeAttribute(Ca):e.setAttribute(Ca,t)}function Ta(e){return`html[${Ca}=\"${e}\"]`}var Ea=`html:not([${Ca}])`,Da=`data-astryx-media-dark-page`;function Oa(e){return`[${Da}=\"${e}\"]`}rt();function ka(e,t,n,r){if(n===null||r===null)return null;let i=nt(n,e),a=nt(r,e);if(t!==null){let n=nt(t,e);if(n>=i&&n>=a)return`off`}return i>=a?`dark`:`light`}Qe();var Aa=[`--color-background-inverted`,`--color-background-error-inverted`];function ja(e,t){let n=qe(e[t]??``);if(n===null||n.a<1)return null;let r=ka(n,null,qe(e[`--color-on-dark`]??``),qe(e[`--color-on-light`]??``));return r===`dark`||r===`light`?r:null}function Ma(e){let t=new Set;for(let n of Aa){let r=ja(e.light,n),i=ja(e.dark,n);r!==null&&i!==null&&r!==i&&t.add(i)}return t}Pn(),ni(),pr(),Di(),Vi(),Ae(),ae();function Na(e){return`[data-${dr}-theme=\"${e}\"]`}var Pa=`[data-${dr}-theme]`;function Fa(e){let[t,n]=e.split(`@`),r=`[data-${dr}-media=\"${t}\"]`;if(n===void 0)return r;if(n.startsWith(`unflipped`)){let e=t===`dark`?`light`:`dark`;return`${r}:where(:not(${[...Ia(!1),...n===`unflipped-preference`?Ia(!0):[]].map(t=>`${t} ${Oa(e)}`).join(`, `)}))`}return Ia(n===`dark-page-preference`).map(e=>`:where(${e}) ${Oa(t)}`).join(`, `)}function Ia(e){let t=`:scope:not([${Oo}=\"light\"], [${Oo}=\"dark\"])`,n=`:is([${Oo}=\"light\"], [${Oo}=\"dark\"])`,r=`${t}:not(${n} *)`;return e?[`${r}:where(${Ea} *)`,`${n} ${t}`]:[`:scope[${Oo}=\"dark\"]`,`${r}:where(${Ta(`dark`)} *)`]}function La(e){return e.split(`@`)[0]}function Ra(e,t){return`.${ur}-${e}${t}`}function za(e,t,n){let r=Ra(e,t);return n?`:is(${Fa(n)}) :is(${r})`:r}var Ba=`:where(:not(:disabled,[aria-disabled=\"true\"]))`;function Va(e,t){let n=[],r=0,i=0;for(let t=0;t`${e}${a}`).join(`, `)}var Ha=`(pointer: coarse)`,Ua=/:active(?![-\\w])/g;function Wa(e,t,n){if(!new RegExp(Ua.source).test(t))return[` ${Va(e,t)} {\\n${n}\\n }`];let r=t.replace(Ua,Sa);return[` @media not all and ${Ha} {\\n ${Va(e,t)} {\\n${n}\\n }\\n }`,` @media ${Ha} {\\n ${Va(e,r)} {\\n${n}\\n }\\n }`]}function Ga(e){if(!/^:hover(?![-\\w])/.test(e)||e.includes(`[aria-disabled`))return e;let t=e.indexOf(`::`);return t===-1?e+Ba:e.slice(0,t)+Ba+e.slice(t)}function Ka(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}var qa=new Set([`padding`,`paddingBlock`,`paddingInline`,`paddingBlockStart`,`paddingBlockEnd`,`paddingInlineStart`,`paddingInlineEnd`]),Ja={paddingTop:`paddingBlockStart`,paddingBottom:`paddingBlockEnd`},Ya=new Set([...qa,...Object.keys(Ja)]),Xa={borderTopLeftRadius:`top-left`,borderTopRightRadius:`top-right`,borderBottomRightRadius:`bottom-right`,borderBottomLeftRadius:`bottom-left`,borderStartStartRadius:`start-start`,borderStartEndRadius:`start-end`,borderEndStartRadius:`end-start`,borderEndEndRadius:`end-end`};function Za(e){let t=0,n=-1;for(let r=0;r{let t=De(e.trim());if(t.length<1||t.length>4)return null;let[n,r=n,i=n,a=r]=t;return[n,r,i,a]});if(r.some(e=>e==null))return null;let[i,a]=r;return i.map((e,t)=>a&&a[t]!==e?`${e} ${a[t]}`:e)}function Qa(e){let t={};for(let[n,r]of e)switch(Ja[n]??n){case`padding`:{let e=De(r);if(e.length===0)break;e.length===1?(t.blockStart=e[0],t.blockEnd=e[0],t.inline=e[0]):e.length===2?(t.blockStart=e[0],t.blockEnd=e[0],t.inline=e[1]):e.length>=3&&(t.blockStart=e[0],t.inline=e[1],t.blockEnd=e[2]);break}case`paddingBlock`:{let e=De(r);if(e.length===0)break;t.blockStart=e[0],t.blockEnd=e[1]??e[0];break}case`paddingInline`:{let e=De(r);if(e.length===0)break;e.length===1?t.inline=e[0]:(t.inlineStart=e[0],t.inlineEnd=e[1]);break}case`paddingBlockStart`:t.blockStart=r;break;case`paddingBlockEnd`:t.blockEnd=r;break;case`paddingInlineStart`:t.inlineStart=r;break;case`paddingInlineEnd`:t.inlineEnd=r}return t}function $a(e,t,n=!1){let r=cr(`${e}-padding`),i=[],a=t.inlineStart??t.inline,o=t.inlineEnd??t.inline;if(a!=null&&o!=null&&a===o&&t.blockStart!=null&&t.blockEnd!=null&&a===t.blockStart&&t.blockStart===t.blockEnd?i.push([r,a??``]):(t.inlineStart!=null||t.inlineEnd!=null?(a!=null&&i.push([`${r}-inline-start`,a]),o!=null&&i.push([`${r}-inline-end`,o])):t.inline!=null&&i.push([`${r}-inline`,t.inline]),t.blockStart!=null&&i.push([`${r}-block-start`,t.blockStart]),t.blockEnd!=null&&i.push([`${r}-block-end`,t.blockEnd])),n){let e=new Set(i.map(([e])=>e)),t=e.has(r)?[`${r}-inline`,`${r}-inline-start`,`${r}-inline-end`,`${r}-block-start`,`${r}-block-end`]:e.has(`${r}-inline`)?[`${r}-inline-start`,`${r}-inline-end`]:[];for(let n of t)e.has(n)||i.push([n,`initial`])}return i}var eo=e=>{console.warn(`[astryx theme] ${e}`)};function to(e){return e?t=>e.push(t):eo}function no(e){let t=JSON.stringify(e);return t.length>80?`${t.slice(0,77)}...\"`:t}function ro(e,t,n,r,i){e(`dropped \"${t}\" in ${r}: ${i} (value: ${no(n)})`)}function io(e,t,n,r){let i=Si(e)??hi(t);return i===null||(ro(r,e,t,n,i),!1)}function ao(e,t,n,r=e=>e){let i=[];for(let[a,o]of e){if(o===void 0)continue;let e=Oi(o),s=r(a);io(s,e,t,n)&&i.push(` ${s}: ${e};`)}return i.join(`\n`)}var oo=new Map(Li),so=/^--color-(?:info|success|warning|error|on-|background-surface|background-card)/;function co(e){return!(`__adaptations`in e)&&!(`__adaptationRules`in e)?[]:Ro(e)}function lo(e,t){return bi(Oi(e)).singleVarReference===t}function uo(e,t){let n=oo.get(e);return n!==void 0&&lo(t,n)?t:`inherit`}function fo(e,t,n,r){let i=n.map(()=>[]),a=Ai(e,Object.fromEntries(r),t).values,o=Ni(n).map(a=>({indexes:a,values:Pi(e,t,r,n,a,i)}));for(let[r,s]of n.entries()){let n=Ai(s.tokens,s.localTokens).values;if(Object.keys(n).some(e=>so.test(e))){let o=new Map(Jr({...e,...s.tokens},{...t,...s.localTokens}));for(let[e,t]of o)n[e]===void 0&&a[e]!==t&&i[r].push([e,t])}let c=new Map(i[r]),l={...n,...Object.fromEntries(c)};for(let[e,t]of Li){let s=`var(${t})`,u=a[e];if(c.has(e)||n[e]!==void 0||l[t]===void 0&&!i[r].some(([e])=>e===t)||u!==void 0)continue;let d=o.filter(({indexes:e})=>e.includes(r));if(d.every(({values:t})=>t[e]!==void 0||!ji(t,e,s))){i[r].push([e,s]);for(let{values:t}of d)t[e]===void 0&&(t[e]=s)}}}return i}function po(e,t,n,r,i){let a=[],o=Ai(t,Object.fromEntries(i),n).values,s=new Set(Jr(t,n).map(([e])=>e)),c=Ai(e).values,l=r.map(e=>new Map(Ii(e.tokens))),u=Ni(r).map(e=>({indexes:e,values:{...c}})),d=(e,t,n)=>{let r=Ai({[e]:t});for(let t of n){let n=l[t].get(e);n!==void 0&&ki(r,{[e]:uo(e,n)})}return Oi(r.values[e])};for(let[e,t]of Li){let n=`var(${t})`,r=o[e];if(c[e]!==void 0||c[t]===void 0&&!a.some(([e])=>e===t)||r!==void 0&&!lo(r,t)&&!s.has(e))continue;let i=u.map(({indexes:t,values:r})=>({values:r,candidate:d(e,n,t)}));if(i.every(({values:t,candidate:n})=>t[e]===n||!ji(t,e,n))){a.push([e,n]);for(let{values:t,candidate:n}of i)t[e]=n}}let f=new Set(Yr.filter(e=>c[`--color-${e}`]!==void 0&&c[`--color-on-${e}`]===void 0).map(e=>`--color-on-${e}`));if(f.size>0)for(let[r,i]of Jr({...t,...e},n))f.has(r)&&o[r]!==i&&a.push([r,i]);return a}function mo(e,t,n,r=Object.entries(e.tokens)){let i=[ao(pa(r),`${t}tokens`,n),ao(Object.entries(e.localTokens??{}),`${t}localTokens`,n)].filter(e=>e.length>0).join(`\n`);return r.length>0||Object.keys(e.localTokens??{}).length>0?` :scope {\\n${i}\\n }`:null}function ho(e,t,n){return`${e}components.${t}[${JSON.stringify(n)}]`}var go=new WeakMap,_o;function vo(e){return Object.entries(e??{}).map(([e,t])=>[e,typeof t,Oi(t)])}function yo(e,t){return JSON.stringify([vo(e.tokens),vo(e.localTokens),t.map(e=>[e.query,e.when,vo(e.tokens),vo(e.localTokens),e.components])])}function bo(e){let t=Ro(e),n=yo(e,t),r=go.get(e);if(r?.signature===n)return r.context;let i={theme:e,rules:t,rootAliases:Fi(e.tokens,e.localTokens,t)};return go.set(e,{signature:n,context:i}),i}function xo(e){return _o?.theme===e?_o:bo(e)}function So(e){return e.adaptationAliases??=fo(e.theme.tokens,e.theme.localTokens,e.rules,e.rootAliases),e.adaptationAliases}function Co(e,t){let n=[],r=to(t),i=e=>`var(${e})`,a=_o?.theme===e?_o:void 0,o=a?.rules??co(e),s=a?.rootAliases??Fi(e.tokens,e.localTokens,o),c=mo(e,``,r,[...Object.entries(e.tokens),...s]);c!==null&&n.push(c),e.tokens[`--font-family-body`]&&n.push(` :scope {\n font-family: var(--font-family-body);\n }`);let l=ie(e.components);return l&&Do(l,n,{sink:r,darkPageSides:Ma(Ur({...e.localTokens,...e.tokens}))}),Mo(i,n),Po(l||{},n),Io(l||{},n),To(l||{},n),n}var wo={normal:`var(--font-weight-normal)`,medium:`var(--font-weight-medium)`,semibold:`var(--font-weight-semibold)`,bold:`var(--font-weight-bold)`};function To(e,t,{surface:n,inheritedComponents:r,forceAll:i=!1,authoredOnly:a=!1}={}){let o=e.heading,s=o&&typeof o==`object`&&!Array.isArray(o)?o:void 0;if(!s&&!i)return;let c=r?.heading,l=c&&typeof c==`object`?c:void 0;for(let[e,r]of Object.entries(wo)){let i=`weight:${e}`,o=s?Eo(s,i):void 0;if(a&&o===void 0)continue;let c=l?Eo(l,i):void 0,u=o??c??r,d=za(`heading`,br(i),n);t.push(` ${d} { font-weight: ${u}; }`)}}function Eo(e,t){let n=e[t];if(typeof n!=`object`||!n||Array.isArray(n))return;let r=n.fontWeight;return typeof r==`string`&&hi(r)===null?r:void 0}function Do(e,t,{resetInheritedPaddingSpecificity:n=!1,surface:r,sink:i=eo,location:a=``,darkPageSides:o=new Set}={}){for(let[s,c]of Object.entries(e))for(let[e,l]of Object.entries(c)){let c=(e,a,l,u,d)=>{let f=[],p=[];for(let[t,n]of Object.entries(e)){if(typeof n==`object`&&n&&(t.startsWith(`:`)||d&&(t===`@light`||t===`@dark`))){p.push([t,n]);continue}let e=typeof n==`object`&&n?JSON.stringify(n):`${n}`;io(Ka(t),e,l,i)&&f.push([t,e])}let m=jo(s,f,n);if(m.length>0){let e=ao(m,l,i,Ka);t.push(u(` ${a} {\\n${e}\\n }`))}for(let[e,r]of p){let o=e.startsWith(`:`)&&!e.includes(`::`)&&!/:(before|after|first-line|first-letter)(?![-\\w])/i.test(e),c=`${l}[${JSON.stringify(e)}]`,d=[];if(o)for(let[e,t]of Object.entries(r)){if(t===void 0)continue;let n=Oi(t);io(Ka(e),n,c,i)&&d.push([e,n])}let f=o?jo(s,d,n):Object.entries(r);if(e.startsWith(`:`)&&f.length>0){let n=ao(f,c,i,Ka);for(let r of Wa(a,e,n))t.push(u(r))}}if(d)for(let e of[`dark`,`light`]){let t=p.find(([t])=>t===`@${e}`)?.[1];if(!t)continue;let n=(n,r)=>c(t,n,`${l}[${JSON.stringify(`@${e}`)}]`,r,!1);if(r){La(r)===e&&n(a,u);continue}let i=e=>`:is(${a}):where(${e} *)`,s=`:where(:not(:scope [data-${dr}-media] *))`;n(`${i(`:scope[${Oo}=\"${e}\"]`)}${s}`,u);let d=`:scope:not([${Oo}=\"light\"], [${Oo}=\"dark\"])`,f=`:is([${Oo}=\"light\"], [${Oo}=\"dark\"])`,m=t=>u(` @media (prefers-color-scheme: ${e}) {\\n${t}\\n }`),h=`${i(`${d}:not(${f} *)`)}${s}`;n(`${h}:where(${Ta(e)} *)`,u),n(`${h}:where(${Ea} *)`,m),n(`${i(`${f} ${d}`)}${s}`,m);let g=`:is(${a}):where(${Ao(e).join(`, `)})`,_=(e,t)=>Ia(t).flatMap(t=>ko(`${t} ${Oa(e)}`,e)),v=e=>u(` @media (prefers-color-scheme: dark) {\\n${e}\\n }`),y=[...o].filter(t=>t!==e);if(y.length===0)n(g,u);else{let e=y.flatMap(e=>_(e,!1)),t=y.flatMap(e=>_(e,!0));n(`${g}:where(:not(${e.join(`, `)}))`,e=>u(` @media not all and (prefers-color-scheme: dark) {\\n${e}\\n }`)),n(`${g}:where(:not(${[...e,...t].join(`, `)}))`,v)}o.has(e)&&(n(`:is(${a}):where(${_(e,!1).join(`, `)})`,u),n(`:is(${a}):where(${_(e,!0).join(`, `)})`,v))}};c(l,za(s,br(e),r),ho(a,s,e),e=>e,!0)}}var Oo=`data-theme`;function ko(e,t){let n=t===`dark`?`light`:`dark`,r=`${Fa(n)} ${Fa(t)}`;return Array.from({length:2},(t,i)=>{let a=[e,...Array.from({length:i},()=>r)].join(` `);return`${a} *:not(${a} ${Fa(n)} *)`})}function Ao(e){let t=e===`dark`?`light`:`dark`,n=(n,r)=>Array.from({length:n},(i,a)=>Fa((n-1-a)%2==0?r:r===e?t:e)).join(` `);return Array.from({length:4},(r,i)=>`:scope ${n(i+1,e)} *:not(:scope ${n(i+2,t)} *)`)}function jo(e,t,n){let r=t,i=[],a=!1,o=new Set,s=new Map,c=wr(e,`borderRadius`).filter(e=>e.corners).flatMap(e=>e.vars??[]);for(let[n,r]of t){if(c.length>0){if(n===`borderRadius`){let e=Za(r);for(let t of c){for(let e of Object.values(Xa))s.delete(`${t}-${e}`);if(e){xr.forEach((n,r)=>{s.set(`${t}-${n}`,e[r])});for(let e of Sr)s.set(`${t}-${e}`,`initial`)}}}else if(n in Xa)for(let e of c){let t=`${e}-${Xa[n]}`;s.delete(t),s.set(t,r)}}let t=wr(e,n),l=qa.has(n)&&n!==`padding`?wr(e,`padding`):[];for(let e of[...t,...l])if(e.expand===`container`&&qa.has(n)&&(a=!0),e.replaces&&o.add(n),e.vars)for(let t of e.vars)i.push([t,r]);n in Ja&&wr(e,`padding`).some(e=>e.expand===`container`)&&(a=!0)}if(a){let i=t.filter(([e])=>Ya.has(e)),a=t.filter(([e])=>!Ya.has(e)),o=$a(e,Qa(i),n);r=[...a,...o]}return o.size>0&&(r=r.filter(([e])=>!o.has(e))),i.push(...s),i.length>0&&(r=[...r,...i]),r}function Mo(e,t){t.push(` :where(h1, h2, h3, h4, h5, h6) {\n font-family: var(--font-family-heading);\n color: var(--color-text-primary);\n }`);for(let n=1;n<=6;n++)t.push(` :where(h${n}) {\n font-size: ${e(`--text-heading-${n}-size`)};\n font-weight: ${e(`--text-heading-${n}-weight`)};\n line-height: ${e(`--text-heading-${n}-leading`)};\n }`);t.push(` :where(p) {\n font-family: var(--font-family-body);\n font-size: ${e(`--text-body-size`)};\n font-weight: ${e(`--text-body-weight`)};\n line-height: ${e(`--text-body-leading`)};\n color: var(--color-text-primary);\n }`),t.push(` :where(small) {\n font-size: ${e(`--text-supporting-size`)};\n font-weight: ${e(`--text-supporting-weight`)};\n line-height: ${e(`--text-supporting-leading`)};\n color: var(--color-text-secondary);\n }`),t.push(` :where(code, pre) {\n font-family: var(--font-family-code);\n font-size: ${e(`--text-code-size`)};\n line-height: ${e(`--text-code-leading`)};\n }`),t.push(` :where(hr) {\n border: none;\n border-top: 1px solid var(--color-border);\n }`)}var No=new Set([`primary`,`secondary`,`accent`]);function Po(e,t,n){let r={primary:`var(--color-text-primary)`,secondary:`var(--color-text-secondary)`,disabled:`var(--color-text-disabled)`,placeholder:`var(--color-text-secondary)`,accent:`var(--color-text-accent)`,inherit:`inherit`},i=`text`in e,a=`heading`in e,o=`link`in e;if(i||a||o){for(let[e,s]of Object.entries(r))if(i&&t.push(` ${za(`text`,br(`color:${e}`),n)} { color: ${s}; }`),a&&t.push(` ${za(`heading`,br(`color:${e}`),n)} { color: ${s}; }`),o){let r=za(`link`,br(`color:${e}`),n);t.push(` ${r} { color: ${s}; }`),No.has(e)&&t.push(` @media (hover: hover) {\\n ${r}:where(:hover)${Ba} { color: color-mix(in srgb, ${s}, var(--color-tint-hover) 15%); }\\n }`)}}}var Fo={\"4xs\":`var(--font-size-4xs)`,\"3xs\":`var(--font-size-3xs)`,\"2xs\":`var(--font-size-2xs)`,xsm:`var(--font-size-xs)`,sm:`var(--font-size-sm)`,base:`var(--font-size-base)`,lg:`var(--font-size-lg)`,xl:`var(--font-size-xl)`,\"2xl\":`var(--font-size-2xl)`,\"3xl\":`var(--font-size-3xl)`,\"4xl\":`var(--font-size-4xl)`};function Io(e,t,n){if(`text`in e)for(let[e,r]of Object.entries(Fo)){let i=br(`size:${e}`);t.push(` ${za(`text`,i,n)} { font-size: ${r}; }`)}}function Lo(e,t){let n=Co(e,t),r=[],i=[];for(let e of n)e.trimStart().startsWith(`:where(`)?r.push(e):i.push(e);return{component:i,prose:r}}function Ro(e){let t=e.__adaptations===void 0?void 0:un(e.name,e.__adaptations,void 0);return Array.isArray(e.__adaptationRules)?e.__adaptationRules:t===void 0?[]:Sn(e.name,t,e.__axes??{},e.tokens,e.localTokens,e.components)??[]}function zo(e,t){let n=[],r=Na(e.name),i=to(t),{rules:a,rootAliases:o}=xo(e),s=new Map,c=()=>{},l=(t,n)=>{let r=t.includes(`@`)&&!t.endsWith(`@unflipped`)?c:i,l=La(t),u=l===`dark`?e.__onDark:e.__onLight;if(!u)return;let d=l===`dark`?`onDark.`:`onLight.`,f=po(u.tokens,e.tokens,e.localTokens,a,o);s.set(l,f);let p=[...Object.entries(u.tokens),...f];if(p.length>0){let e=ao(pa(p),`${d}tokens`,r);n.push(` ${Fa(t)} {\\n${e}\\n }`)}u.components&&(Do(u.components,n,{resetInheritedPaddingSpecificity:!0,surface:t,sink:r,location:d}),Po(u.components,n,t),Io(u.components,n,t),To(u.components,n,{surface:t,inheritedComponents:e.components}))},u=Ma(Ur({...e.localTokens,...e.tokens})),d=(t,n)=>{let r=t===`dark`?e.__onDark:e.__onLight,i=n===`dark`?e.__onDark:e.__onLight;return r?!i||r.components?!1:Object.keys(r.tokens).every(e=>e in i.tokens):!0};for(let e of[`dark`,`light`]){let t=e===`dark`?`light`:`dark`;if(!u.has(t)||d(e,t)){l(e,n);continue}let r=[];l(`${e}@unflipped`,r),r.length>0&&n.push(` @media not all and (prefers-color-scheme: dark) {\\n${r.join(`\n\n`)}\\n }`);let i=[];l(`${e}@unflipped-preference`,i),i.length>0&&n.push(` @media (prefers-color-scheme: dark) {\\n${i.join(`\n\n`)}\\n }`)}for(let e of u){l(`${e}@dark-page`,n);let t=[];l(`${e}@dark-page-preference`,t),t.length>0&&n.push(` @media (prefers-color-scheme: dark) {\\n${t.join(`\n\n`)}\\n }`)}let f=[];for(let[t,n]of a.entries()){let a=Ii(n.tokens);if(a.length===0)continue;let o=[];for(let n of[`dark`,`light`]){if(!(n===`dark`?e.__onDark:e.__onLight))continue;let r=new Set((s.get(n)??[]).map(([e])=>e)),c=a.filter(([e])=>r.has(e)).map(([e,t])=>[e,uo(e,t)]);if(c.length===0)continue;let l=ao(c,`adaptations[${t}].on${n}.statusRoles.`,i);o.push(` ${Fa(n)} {\\n${l}\\n }`),u.has(n)&&o.push(` ${Fa(`${n}@dark-page`)} {\\n${l}\\n }`,` @media (prefers-color-scheme: dark) {\\n ${Fa(`${n}@dark-page-preference`)} {\\n${l}\\n }\\n }`)}o.length>0&&f.push(Ho(n.query,o,r))}if(n.length===0&&f.length===0)return``;let p=[];if(n.length>0){let e=n.join(`\n\n`);p.push(`@scope (${r}) to (${Pa}) {\\n${e}\\n}`)}return p.push(...f),p.join(`\n\n`)}function Bo(e,t,n,r,i){let a=[],o=mo(e,t,n,[...Object.entries(e.tokens),...r]);return o!==null&&a.push(o),e.components&&(Do(e.components,a,{resetInheritedPaddingSpecificity:!0,sink:n,location:t,darkPageSides:i}),Po(e.components,a),Io(e.components,a)),a}function Vo(e){let t=e?.heading;return typeof t==`object`&&!!t&&!Array.isArray(t)}function Ho(e,t,n){return`@media ${e} {\\n @scope (${n}) to (${Pa}) {\\n${t.map(Wo).join(`\n\n`)}\\n }\\n}`}function Uo(e,t){let n=to(t),r=xo(e),{rules:i}=r;if(i.length===0)return{prose:``,component:``};let a=Na(e.name),o=[],s=i.some(e=>Vo(e.components)),c=So(r),l=Ma(Ur({...e.localTokens,...e.tokens}));for(let[e,t]of i.entries()){let r=Bo(t,`adaptations[${e}].`,n,c[e],l);r.length!==0&&o.push(Ho(t.query,r,a))}for(let[e,t]of i.entries()){let r=Ii(t.tokens);if(r.length===0)continue;let i=mo({tokens:{}},`adaptations[${e}].statusRoles.`,n,r);i!==null&&o.push(Ho(t.query,[i],a))}if(s){let t=[];To(e.components??{},t,{forceAll:!0}),o.push(`@scope (${a}) to (${Pa}) {\\n${t.join(`\n\n`)}\\n}`);for(let e of i){let t=[];To(e.components??{},t,{authoredOnly:!0}),t.length>0&&o.push(Ho(e.query,t,a))}}return{prose:``,component:o.join(`\n\n`)}}function Wo(e){return` ${e}`}function Go(e,t){if(_o?.theme===e)return Ko(e,t);let n=_o;_o=bo(e);try{return Ko(e,t)}finally{_o=n}}function Ko(e,t){let{component:n,prose:r}=Lo(e,t),i=Na(e.name),a=Pa,o=``;r.length>0&&(o=`@scope (${i}) to (${a}) {\\n${r.join(`\n\n`)}\\n}`);let s=``;n.length>0&&(s=`@scope (${i}) to (${a}) {\\n${n.join(`\n\n`)}\\n}`);let c=Uo(e,t);c.component&&(s=s?`${s}\\n\\n${c.component}`:c.component);let l=zo(e,t);return l&&(s=s?`${s}\\n\\n${l}`:l),{prose:o,component:s}}function qo(e){let t=e.trim();return!t.startsWith(`light-dark(`)||!t.endsWith(`)`)?null:Ee(t.slice(11,-1))}function Jo(e,t){if(Array.isArray(e))return t===`dark`?e[1]:e[0];let n=qo(e);return n===null?e:t===`dark`?n[1]:n[0]}function Yo(e){let t=e.trim(),n=t.match(/\\s+([\\d.]+)%$/);return n?{color:t.slice(0,n.index).trim(),percentage:parseFloat(n[1])}:{color:t,percentage:null}}function Xo(e){let t=e.match(/^in\\s+([\\w-]+)\\s*,\\s*(.+)$/s);if(!t)return null;let[,n,r]=t;if(n.toLowerCase()!==`srgb`)return null;let i=Ee(r);if(i===null)return null;let a=Yo(i[0]),o=Yo(i[1]);if(a===null||o===null)return null;let s=qe(a.color),c=qe(o.color);if(s===null||c===null)return null;let l,u;a.percentage!==null&&o.percentage!==null?(l=a.percentage,u=o.percentage):a.percentage===null?o.percentage===null?(l=50,u=50):(u=o.percentage,l=100-u):(l=a.percentage,u=100-l);let d=l+u;if(d<=0)return null;let f=l/d,p=u/d,m=d<100?d/100:1,h=f*s.a+p*c.a,g=(e,t)=>f*e*s.a+p*t*c.a,_=g(s.r,c.r),v=g(s.g,c.g),y=g(s.b,c.b);return Ye({...h===0?{r:0,g:0,b:0}:{r:_/h,g:v/h,b:y/h},a:h*m})}function Zo(e){let t=e.indexOf(`color-mix(`);if(t===-1)return e;let n=t+9,r=Oe(e,n);if(r===-1)return e;let i=Zo(e.slice(n+1,r)),a=Xo(i)??`color-mix(${i})`;return e.slice(0,t)+a+Zo(e.slice(r+1))}function Qo(e){let t={};for(let[n,r]of Object.entries(Hn))t[n]=Jo(r,e);return ke(t,Zo)}var $o=o((()=>{Qe(),Un(),Ae()}));function es(e){return`var(${e})`}function ts(e,t){let{mode:n}=t,r={};if(e==null)return Qo(n);for(let[e,t]of Object.entries(Hn))r[e]=Jo(t,n);let i=new Set(Object.keys(e.localTokens??{}));for(let[t,i]of Object.entries(e.localTokens??{}))r[t]=Jo(i,n);for(let[t,i]of Fi(e.tokens,e.localTokens??{}))r[t]=Jo(i,n);for(let[t,i]of Object.entries(e.tokens))r[t]=Jo(i,n);if(e.__inputTokens)for(let[t,i]of Object.entries(e.__inputTokens))i!==void 0&&(r[t]=Jo(i,n));return Object.fromEntries(Object.entries(ke(r,Zo)).filter(([e])=>!i.has(e)))}var ns=o((()=>{ar(),Vi(),Ae(),$o(),Object.fromEntries(Object.keys(Hn).map(e=>[e,es(e)]))}));function rs(e=globalThis){return e?.CSS?.supports?.(as)===!0}var is,as,os=o((()=>{is=`(pointer: coarse)`,as=`(-webkit-touch-callout: none)`}));function ss(e){return cs(e,is)}function cs(e,t){return typeof e?.matchMedia==`function`&&e.matchMedia(t).matches}function ls(e,t,n){if(typeof e?.matchMedia!=`function`)return()=>{};let r=e.matchMedia(t),i=()=>n(r.matches);return typeof r.addEventListener==`function`?(r.addEventListener(`change`,i),()=>r.removeEventListener(`change`,i)):(r.addListener(i),()=>r.removeListener(i))}function us(e,t){return ls(e,is,t)}var ds=o((()=>{os()}));function fs(e,t){if(typeof window.matchMedia!=`function`)return()=>{};let n=hs.get(e);if(n==null){let t=new Set;n={readers:t,stop:ls(window,e,()=>{for(let e of Array.from(t))e()})},hs.set(e,n)}let r=n;return r.readers.add(t),()=>{r.readers.delete(t),r.readers.size===0&&hs.get(e)===r&&(r.stop(),hs.delete(e))}}function ps(e,t=!1){let n=(0,ms.useCallback)(t=>fs(e,t),[e]),r=(0,ms.useCallback)(()=>typeof window.matchMedia==`function`?window.matchMedia(e).matches:t,[e,t]),i=(0,ms.useCallback)(()=>t,[t]);return(0,ms.useSyncExternalStore)(n,r,i)}var ms,hs,gs=o((()=>{ms=u(f(),1),ds(),hs=new Map}));function _s(e,t,n){let r=Gn(Wn(`context/${e}`,t),()=>new WeakMap,e=>e instanceof WeakMap),i=r.get(vs.createContext);if(i!=null)return i;let a=(0,vs.createContext)(n);return a.displayName=e,r.set(vs.createContext,a),a}var vs,ys=o((()=>{vs=u(f(),1),Xn()}));function bs(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()}}}}function xs(){if(typeof document>`u`)return null;let e=document.documentElement.getAttribute(`data-theme`);return e===`light`||e===`dark`?e:null}function Ss(){return null}function Cs(){return typeof document>`u`?null:document.documentElement.getAttribute(sr(`theme`))}function ws(){return null}function Ts(){return null}function Es(){for(let e of Xs)e()}function Ds(e){return Xs.add(e),Xs.size===1&&typeof MutationObserver<`u`&&(Zs=new MutationObserver(Es),Zs.observe(document.documentElement,{attributes:!0,attributeFilter:[`data-theme`]})),()=>{Xs.delete(e),Xs.size===0&&Zs&&(Zs.disconnect(),Zs=null)}}function Os(){for(let e of Qs)e()}function ks(e){return Qs.add(e),Qs.size===1&&typeof MutationObserver<`u`&&($s=new MutationObserver(Os),$s.observe(document.documentElement,{attributes:!0,attributeFilter:[sr(`theme`)]})),()=>{Qs.delete(e),Qs.size===0&&$s&&($s.disconnect(),$s=null)}}function As(){return()=>{}}function js(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 Ms(){let e=window.getComputedStyle(document.documentElement).colorScheme;if(e==null||e===``)return null;if(e!==`normal`)return js(e)??null;for(let e of document.querySelectorAll(nc)){let t=e.getAttribute(`content`)??``,n=js(t);if(n!==void 0)return n;if(/(^|\\s)normal(\\s|$)/i.test(t))return`light`}return`light`}function Ns(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=`${tc}, ${nc}`;return[...e.addedNodes,...e.removedNodes].some(e=>e instanceof Element&&(e.matches(r)||e.querySelector(r)!=null))})}function Ps(){for(let e of ec.listeners)e()}function Fs(e){Ns(e)&&Ps()}function Is(e){e.target instanceof HTMLLinkElement&&Ps()}function Ls(e){if(ec.listeners.add(e),ec.listeners.size===1&&typeof MutationObserver<`u`){let e=new MutationObserver(Fs);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`,Is,!0);let t=ls(window,`(prefers-color-scheme: dark)`,Ps);ec.stop=()=>{e.disconnect(),document.removeEventListener(`load`,Is,!0),t()}}return()=>{ec.listeners.delete(e),ec.listeners.size===0&&ec.stop!=null&&(ec.stop(),ec.stop=null)}}function Rs(e){return(0,Gs.useSyncExternalStore)(e?Ls:As,e?Ms:Ts,Ts)}function zs(e,t){let n=ps(`(prefers-color-scheme: dark)`),r=e===`light`||e===`dark`,i=Rs(!r&&t);return r?e:i??(n?`dark`:`light`)}function Bs(e){return(0,Gs.useSyncExternalStore)(e?As:Ds,e?Ts:xs,Ss)}function Vs(e){return(0,Gs.useSyncExternalStore)(e?As:ks,e?Ts:Cs,ws)}function Hs(){let e=(0,Gs.use)(Ks),t=(0,Gs.use)(Js)?.themeless===!0,n=Vs(e!=null||t);return e?.theme.name??n}function Us(e=!0){let t=e?(0,Gs.use)(Ks):null,n=e&&(0,Gs.use)(Js)?.themeless===!0,r=Vs(t!=null||n||!e);if(e)return t?.theme??tr(r)??void 0}function Ws(){let e=(0,Gs.use)(Ks),t=(0,Gs.use)(Js),n=t?.mode,r=(0,Gs.use)(Ys),i=e!=null,a=Bs(i||n!=null),o=Vs(i||t?.themeless===!0),s=e?.mode??n??a??`system`,c=e?.theme??tr(o),l=zs(s,r===`root`),u=(0,Gs.useMemo)(()=>ts(c,{mode:l}),[c,l]),d=(0,Gs.useCallback)(e=>u[e]??``,[u]),f=c?.name??`default`;return(0,Gs.useMemo)(()=>({name:f,mode:l,token:d,tokens:u}),[f,l,d,u])}var Gs,Ks,qs,Js,Ys,Xs,Zs,Qs,$s,ec,tc,nc,rc=o((()=>{Gs=u(f(),1),ns(),rr(),pr(),gs(),ds(),ys(),Xn(),Ks=_s(`ThemeContext`,1,null),Ks.displayName=`ThemeContext`,qs=_s(`ThemeSourceContext`,1,null),qs.displayName=`ThemeSourceContext`,Js=_s(`ThemeModeContext`,1,null),Js.displayName=`ThemeModeContext`,Ys=_s(`SystemSchemeContext`,1,`root`),Ys.displayName=`SystemSchemeContext`,Xs=new Set,Zs=null,Qs=new Set,$s=null,ec=Kn(`theme/use-theme/root-scheme`,1,()=>({listeners:new Set,stop:null})),tc=`style, link[rel~=\"stylesheet\"]`,nc=`meta[name=\"color-scheme\" i]`}));function ic(e,t){return`${e}: ${t}`}function ac(){return(e,t,n=t)=>{}}function oc(e,t,...n){console.error(ic(e,t),...n)}var sc=o((()=>{}));function cc(e){return e?{[dc]:``}:{}}function lc(e,t){t?e.setAttribute(dc,``):e.removeAttribute(dc)}function uc(e){return e?.closest?.(`[${dc}]`)!=null}var dc,fc=o((()=>{dc=`data-astryx-reduced-motion`})),pc=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),mc=s(((e,t)=>{t.exports=pc()})),X=u(f(),1);x(),D(),ar(),rr(),pr(),rc(),sc(),Ve(),fc(),ys();var Z=mc(),hc={base:{k1xSpc:`xjp7ctv`,kMwMTN:`x1tgivj0`,kMv6JI:`x9ynric`,kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,$$css:!0},light:{kQNsl9:`x19aimcq`,$$css:!0},dark:{kQNsl9:`xntwwlm`,$$css:!0},system:{kQNsl9:`x108lcm5`,$$css:!0},reducedMotion:{\"--_astryx-reduced-motion\":`x1e3mt4b`,$$css:!0}},gc=_s(`ThemeNestingContext`,1,!1);gc.displayName=`ThemeNestingContext`;var _c=new Map,vc=`@layer reset, astryx-base, astryx-theme;`;function yc(e,t){let{prose:n,component:r}=Go(e),i=[];if(n){let r=document.createElement(`style`);r.setAttribute(sr(`theme-prose`),e.name),r.setAttribute(sr(`id`),t),r.textContent=`${vc}\\n@layer reset {\\n${n}\\n}`,document.head.appendChild(r),i.push(r)}if(r){let n=document.createElement(`style`);n.setAttribute(sr(`theme`),e.name),n.setAttribute(sr(`id`),t),n.textContent=`${vc}\\n@layer astryx-theme {\\n${r}\\n}`,document.head.appendChild(n),i.push(n)}return i}function bc(e,t,n){for(let t of e.styles)t.remove();e.theme=t,e.styles=yc(t,n)}function xc(e){let t=(0,X.useId)(),[n]=(0,X.useState)(()=>({}));(0,X.useInsertionEffect)(()=>{if(e==null||e.__built)return;let r=`astryx-theme-${e.name}`,i=_c.get(r);i??(`${e.name}`,`${e.name}`,i={users:new Map,owner:n,formerOwner:null,theme:e,styles:yc(e,t)},_c.set(r,i)),i.users.set(n,{theme:e,id:t}),i.formerOwner===n&&(i.owner=n,i.formerOwner=null,i.theme!==e&&bc(i,e,t));let a=i;return()=>{if(a.users.delete(n),a.users.size===0){for(let e of a.styles)e.remove();_c.delete(r);return}if(a.owner!==n)return;let[e,t]=[...a.users][0];a.owner=e,a.formerOwner=n,t.theme!==a.theme&&bc(a,t.theme,t.id)}},[e,t,n])}function Sc(e,t,n,r,i){b(()=>{if(!e&&typeof document<`u`)return t===`light`||t===`dark`?document.documentElement.setAttribute(`data-theme`,t):document.documentElement.removeAttribute(`data-theme`),n==null?document.documentElement.removeAttribute(sr(`theme`)):document.documentElement.setAttribute(sr(`theme`),n),wa(document.documentElement,i),lc(document.documentElement,r),r?document.documentElement.style.setProperty(ze,`1`):document.documentElement.style.removeProperty(ze),()=>{document.documentElement.removeAttribute(`data-theme`),document.documentElement.removeAttribute(sr(`theme`)),wa(document.documentElement,null),lc(document.documentElement,!1),document.documentElement.style.removeProperty(ze)}},[e,t,n,r,i])}function Cc(e){b(()=>{if(!(e||typeof document>`u`))return ga(document)},[e])}var wc=new Set([`light`,`dark`,`system`]);function Tc(e){let t=typeof e==`string`?`the string \"${e}\"`:e===null?`null`:typeof e==`object`?`an object that defineTheme() did not make`:`a value of type ${typeof e}`,n=typeof e==`string`&&wc.has(e)?`To set the color mode, use mode=\"${e}\".`:`Pass a theme from defineTheme() or a theme package.`;`${typeof e==`string`?e:e===null?`null`:typeof e}`,`${t}${n}`}function Ec({theme:e,mode:t=`system`,children:n}){let r=(0,X.use)(gc),i=(0,X.use)(Ks),a=(0,X.use)(Js),o=a?.mode,s=o===`light`||o===`dark`,c=(0,X.use)(Ys),l=s?`preference`:c,u=ir(e)?e:null,d=u??i?.theme??null;(0,X.useEffect)(()=>{u??Tc(e)},[u,e]),u!=null&&er(u),xc(u);let f=je(d?.__axes?.motion).reducedMotion===`always`,p=t===`light`||t===`dark`,m=Rs(!r&&!p);Sc(r,t,d?.name??null,f,p?t:m),Cc(r);let h=t===`dark`?hc.dark:t===`light`?hc.light:s?hc.system:null,g=(0,X.useMemo)(()=>d==null?null:{theme:d,mode:t},[d,t]),_=d==null&&(a?.themeless??!r),v=(0,X.useMemo)(()=>({mode:t,themeless:_}),[t,_]),[y]=(0,X.useState)(()=>bs(g));b(()=>{y.set(g)},[y,g]);let x=(0,Z.jsx)(gc,{value:!0,children:(0,Z.jsx)(`div`,{...C(hc.base,h,f&&hc.reducedMotion),\"data-astryx-theme\":d?.name,...cc(f),\"data-theme\":t===`system`?void 0:t,children:n})});return(0,Z.jsx)(Ys,{value:l,children:(0,Z.jsx)(Js,{value:v,children:(0,Z.jsx)(Ks,{value:g,children:(0,Z.jsx)(qs,{value:y,children:x})})})})}Ec.displayName=`Theme`,Ln();var Dc=`--color-syntax-`;function Oc(e){return Dc+e}var kc=Object.keys(Fn).map(e=>e.replace(Dc,``)),Ac=new Set(In.map(e=>e.replace(Dc,``)));kc.filter(e=>!Ac.has(e));function jc(e){let t={};for(let n of kc){let r=e.tokens[n];r!==void 0&&(t[Oc(n)]=r)}return t}ys();var Mc=_s(`SyntaxThemeContext`,1,null);Mc.displayName=`SyntaxThemeContext`;function Nc({theme:e,children:t}){let n=(0,X.useMemo)(()=>jc(e),[e]),r=(0,X.useMemo)(()=>({theme:e}),[e]);return(0,Z.jsx)(Mc,{value:r,children:(0,Z.jsx)(`div`,{style:n,\"data-astryx-syntax-theme\":e.name,children:t})})}Nc.displayName=`SyntaxTheme`;var Pc=e=>(e.match(/\\d+[xX]\\d+|[A-Z]?[a-z]+|[A-Z]|\\d+/g)??[]).join(`-`).toLowerCase();function Fc(e,t,n=[]){if(t==null)throw Error(`[lucide]: iconNode is required when icon name is used`);return{name:Pc(e),size:24,node:t,...n.length>0?{aliases:n}:{}}}var Ic=e=>{let t=``,n=!1;for(let r of e)r===`-`||r===`_`||r<=` `?n=t.length>0:(t.length===0?t+=r.toLowerCase():t+=n?r.toUpperCase():r,n=!1);return t},Lc=e=>{let t=Ic(e);return t.charAt(0).toUpperCase()+t.slice(1)},Rc=(...e)=>{let t=new Set;for(let n of e)if(typeof n==`string`)for(let e of n.split(/\\s+/))e&&t.add(e);return[...t].join(` `)},zc={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,\"stroke-width\":2,\"stroke-linecap\":`round`,\"stroke-linejoin\":`round`};function Bc(e){return e!=null}function Vc(e,t={}){let n=t.attributeNames??{},r=e=>n[e]??e,i=e.size??e.width??zc.width,a=e.size??e.height??zc.height,o=e.aliases?.filter(e=>typeof e==`string`&&e.trim()!==``).map(e=>`lucide-${e}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...o],c=t.className?.split(` `).filter(Boolean)??[],l=t.includeDefaultClasses===!1?Rc(...c):Rc(`lucide`,...s,...c),u=t.absoluteStrokeWidth?Number(t.strokeWidth??zc[`stroke-width`])*Number(e.size??e.width??zc.width)/Number(t.size??t.width??zc.width):t.strokeWidth??zc[`stroke-width`];return[`svg`,{...Object.entries(zc).reduce((e,[t,n])=>(e[r(t)]=n,e),{}),...`color`in t&&t.color&&{[r(`stroke`)]:t.color},...`size`in t&&Bc(t.size)&&{[r(`width`)]:t.size,[r(`height`)]:t.size},...`width`in t&&Bc(t.width)&&{[r(`width`)]:t.width},...`height`in t&&Bc(t.height)&&{[r(`height`)]:t.height},[r(`stroke-width`)]:u,...l&&{[r(`class`)]:l},[r(`viewBox`)]:`0 0 ${i} ${a}`,...t.hasA11yProp===!1?{[r(`aria-hidden`)]:`true`}:{},...`attributes`in t&&t.attributes},e.node.map(e=>{let[n,i,a]=e,o=t.nonScalingStroke?{[r(`vector-effect`)]:`non-scaling-stroke`,...i}:i;return a?[n,o,a]:[n,o]})]}function Hc(e,t={}){return Vc(e,{...t,attributeNames:{...t.attributeNames,class:`className`,\"stroke-width\":`strokeWidth`,\"stroke-linecap\":`strokeLinecap`,\"stroke-linejoin\":`strokeLinejoin`,\"vector-effect\":`vectorEffect`}})}var Uc=e=>{if(typeof e!=`object`||!e)return!1;for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&(t.startsWith(`aria-`)||t===`role`||t===`title`)&&e[t]!=null)return!0;return!1},Wc=(0,X.createContext)({}),Gc=()=>(0,X.useContext)(Wc),Kc=(0,X.forwardRef)(({color:e,size:t,width:n,height:r,strokeWidth:i,absoluteStrokeWidth:a,nonScalingStroke:o,className:s=``,children:c,iconNode:l=[],icon:u={node:l,aliases:[],size:24},...d},f)=>{let{size:p=24,strokeWidth:m=2,absoluteStrokeWidth:h=!1,nonScalingStroke:g=!1,color:_=`currentColor`,className:v=``}=Gc()??{},y=!!c||Uc(d),[b,x,S=[]]=Hc(u,{color:e??_,width:n??t??p,height:r??t??p,strokeWidth:i??m,absoluteStrokeWidth:a??h,nonScalingStroke:o??g,className:Rc(v,s),hasA11yProp:y,attributes:d});return(0,X.createElement)(b,{ref:f,...x},[...S.map(([e,t])=>(0,X.createElement)(e,t)),...Array.isArray(c)?c:[c]])});function qc(e,t=[],n=[]){let r=typeof e==`string`?Fc(e,t,n):e,i=(0,X.forwardRef)(({className:e,...t},n)=>(0,X.createElement)(Kc,{ref:n,icon:r,className:e,...t}));return r.name&&(i.displayName=Lc(r.name)),i}var Jc={name:`arrow-down`,size:24,node:[[`path`,{d:`M12 5v14`,key:`s699le`}],[`path`,{d:`m19 12-7 7-7-7`,key:`1idqje`}]]};Jc.node;var Yc=qc(Jc),Xc={name:`arrow-up-down`,size:24,node:[[`path`,{d:`m21 16-4 4-4-4`,key:`f6ql7i`}],[`path`,{d:`M17 20V4`,key:`1ejh1v`}],[`path`,{d:`m3 8 4-4 4 4`,key:`11wl7u`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}]]};Xc.node;var Zc=qc(Xc),Qc={name:`arrow-up`,size:24,node:[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]]};Qc.node;var $c=qc(Qc),el={name:`calendar`,size:24,node:[[`path`,{d:`M8 2v3`,key:`1ioesn`}],[`path`,{d:`M16 2v3`,key:`otl347`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}],[`path`,{d:`M3 9h18`,key:`1pudct`}]]};el.node;var tl=qc(el),nl={name:`check-check`,size:24,node:[[`path`,{d:`M18 6 7 17l-5-5`,key:`116fxf`}],[`path`,{d:`m22 10-7.5 7.5L13 16`,key:`ke71qq`}]]};nl.node;var rl=qc(nl),il={name:`check`,size:24,node:[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]};il.node;var al=qc(il),ol={name:`chevron-down`,size:24,node:[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]};ol.node;var sl=qc(ol),cl={name:`chevron-left`,size:24,node:[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]};cl.node;var ll=qc(cl),ul={name:`chevron-right`,size:24,node:[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]};ul.node;var dl=qc(ul),fl={name:`chevrons-left`,size:24,node:[[`path`,{d:`m11 17-5-5 5-5`,key:`13zhaf`}],[`path`,{d:`m18 17-5-5 5-5`,key:`h8a8et`}]]};fl.node;var pl=qc(fl),ml={name:`chevrons-right`,size:24,node:[[`path`,{d:`m6 17 5-5-5-5`,key:`xnjwq`}],[`path`,{d:`m13 17 5-5-5-5`,key:`17xmmf`}]]};ml.node;var hl=qc(ml),gl={name:`circle-check-big`,size:24,node:[[`path`,{d:`M21.801 10A10 10 0 1 1 17 3.335`,key:`yps3ct`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]],aliases:[`check-circle`]};gl.node;var _l=qc(gl),vl={name:`circle-x`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]],aliases:[`x-circle`]};vl.node;var yl=qc(vl),bl={name:`clock`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]};bl.node;var xl=qc(bl),Sl={name:`columns-2`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M12 3v18`,key:`108xh3`}]],aliases:[`columns`]};Sl.node;var Cl=qc(Sl),wl={name:`copy`,size:24,node:[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]};wl.node;var Tl=qc(wl),El={name:`ellipsis`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}]],aliases:[`more-horizontal`]};El.node;var Dl=qc(El),Ol={name:`external-link`,size:24,node:[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]};Ol.node;var kl=qc(Ol),Al={name:`eye-off`,size:24,node:[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]};Al.node;var jl=qc(Al),Ml={name:`funnel`,size:24,node:[[`path`,{d:`M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z`,key:`sc7q7i`}]],aliases:[`filter`]};Ml.node;var Nl=qc(Ml),Pl={name:`info`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]};Pl.node;var Fl=qc(Pl),Il={name:`menu`,size:24,node:[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]};Il.node;var Ll=qc(Il),Rl={name:`mic`,size:24,node:[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`,key:`1vc78b`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`13`,rx:`3`,key:`s6n7sd`}]]};Rl.node;var zl=qc(Rl),Bl={name:`search`,size:24,node:[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]};Bl.node;var Vl=qc(Bl),Hl={name:`square`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]};Hl.node;var Ul=qc(Hl),Wl={name:`triangle-exclamation-point`,size:24,node:[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]],aliases:[`alert-triangle`,`triangle-alert`]};Wl.node;var Gl=qc(Wl),Kl={name:`upload`,size:24,node:[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]};Kl.node;var ql=qc(Kl),Jl={name:`wrench`,size:24,node:[[`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z`,key:`1ngwbx`}]]};Jl.node;var Yl=qc(Jl),Xl={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};Xl.node;var Zl=qc(Xl),Ql=v(),$l={size:`1em`,\"aria-hidden\":!0},eu={neutral:{name:`neutral`,__built:!0,tokens:{\"--font-size-4xs\":`0.375rem`,\"--font-size-3xs\":`0.4375rem`,\"--font-size-2xs\":`0.5rem`,\"--font-size-xs\":`0.625rem`,\"--font-size-sm\":`0.75rem`,\"--font-size-base\":`0.875rem`,\"--font-size-lg\":`1.0625rem`,\"--font-size-xl\":`1.25rem`,\"--font-size-2xl\":`1.5rem`,\"--font-size-3xl\":`1.8125rem`,\"--font-size-4xl\":`2.1875rem`,\"--font-size-5xl\":`2.625rem`,\"--text-heading-1-size\":`var(--font-size-2xl)`,\"--text-heading-1-weight\":`var(--font-weight-semibold)`,\"--text-heading-1-leading\":`1.3333`,\"--text-heading-2-size\":`var(--font-size-xl)`,\"--text-heading-2-weight\":`var(--font-weight-semibold)`,\"--text-heading-2-leading\":`1.4`,\"--text-heading-3-size\":`var(--font-size-lg)`,\"--text-heading-3-weight\":`var(--font-weight-bold)`,\"--text-heading-3-leading\":`1.4118`,\"--text-heading-4-size\":`var(--font-size-base)`,\"--text-heading-4-weight\":`var(--font-weight-bold)`,\"--text-heading-4-leading\":`1.4286`,\"--text-heading-5-size\":`var(--font-size-sm)`,\"--text-heading-5-weight\":`var(--font-weight-semibold)`,\"--text-heading-5-leading\":`1.6667`,\"--text-heading-6-size\":`var(--font-size-xs)`,\"--text-heading-6-weight\":`var(--font-weight-semibold)`,\"--text-heading-6-leading\":`1.6`,\"--text-body-size\":`var(--font-size-base)`,\"--text-body-weight\":`var(--font-weight-normal)`,\"--text-body-leading\":`1.4286`,\"--text-large-size\":`var(--font-size-lg)`,\"--text-large-weight\":`var(--font-weight-semibold)`,\"--text-large-leading\":`1.4118`,\"--text-label-size\":`var(--font-size-base)`,\"--text-label-weight\":`var(--font-weight-medium)`,\"--text-label-leading\":`1.4286`,\"--text-code-size\":`var(--font-size-base)`,\"--text-code-weight\":`var(--font-weight-normal)`,\"--text-code-leading\":`1.4286`,\"--text-supporting-size\":`var(--font-size-sm)`,\"--text-supporting-weight\":`var(--font-weight-normal)`,\"--text-supporting-leading\":`1.6667`,\"--text-display-1-size\":`var(--font-size-5xl)`,\"--text-display-1-weight\":`var(--font-weight-normal)`,\"--text-display-1-leading\":`1.2381`,\"--text-display-2-size\":`var(--font-size-4xl)`,\"--text-display-2-weight\":`var(--font-weight-normal)`,\"--text-display-2-leading\":`1.2571`,\"--text-display-3-size\":`var(--font-size-3xl)`,\"--text-display-3-weight\":`var(--font-weight-normal)`,\"--text-display-3-leading\":`1.3793`,\"--duration-fast-min\":`95ms`,\"--duration-fast\":`125ms`,\"--duration-fast-max\":`165ms`,\"--duration-medium-min\":`225ms`,\"--duration-medium\":`300ms`,\"--duration-medium-max\":`400ms`,\"--duration-slow-min\":`525ms`,\"--duration-slow\":`700ms`,\"--duration-slow-max\":`935ms`,\"--_astryx-pre-tempo-duration-fast-min\":`95ms`,\"--_astryx-pre-tempo-duration-fast\":`125ms`,\"--_astryx-pre-tempo-duration-fast-max\":`165ms`,\"--_astryx-pre-tempo-duration-medium-min\":`225ms`,\"--_astryx-pre-tempo-duration-medium\":`300ms`,\"--_astryx-pre-tempo-duration-medium-max\":`400ms`,\"--_astryx-pre-tempo-duration-slow-min\":`525ms`,\"--_astryx-pre-tempo-duration-slow\":`700ms`,\"--_astryx-pre-tempo-duration-slow-max\":`935ms`,\"--_astryx-motion-tempo\":`1`,\"--font-family-body\":`Figtree, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif`,\"--font-family-heading\":`Figtree, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif`,\"--font-family-code\":`ui-monospace, \"SF Mono\", Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace`,\"--color-syntax-keyword\":`light-dark(#6b187c, #efa8ff)`,\"--color-syntax-string\":`light-dark(#0b5615, #a4d6a3)`,\"--color-syntax-comment\":`light-dark(#525252, #b9b9b9)`,\"--color-syntax-number\":`light-dark(#733100, #ffb37e)`,\"--color-syntax-function\":`light-dark(#00458c, #a1caff)`,\"--color-syntax-type\":`light-dark(#6b187c, #efa8ff)`,\"--color-syntax-variable\":`light-dark(#111111, #e2e2e2)`,\"--color-syntax-operator\":`light-dark(#525252, #b9b9b9)`,\"--color-syntax-constant\":`light-dark(#733100, #ffb37e)`,\"--color-syntax-tag\":`light-dark(#8a0011, #ffaea7)`,\"--color-syntax-attribute\":`light-dark(#584400, #eec448)`,\"--color-syntax-property\":`light-dark(#005348, #90d7c8)`,\"--color-syntax-punctuation\":`light-dark(#525252, #b9b9b9)`,\"--color-syntax-background\":`light-dark(#ffffff, #111111)`,\"--color-syntax-added\":`color-mix(in srgb, var(--color-success-muted) 25%, transparent)`,\"--color-syntax-removed\":`color-mix(in srgb, var(--color-error-muted) 25%, transparent)`,\"--color-syntax-diff-header\":`transparent`,\"--color-syntax-added-marker\":`var(--color-syntax-punctuation)`,\"--color-syntax-removed-marker\":`var(--color-syntax-punctuation)`,\"--color-background-surface\":`light-dark(#ffffff, #262626)`,\"--color-background-body\":`light-dark(#f1f1f1, #1b1b1b)`,\"--color-background-card\":`light-dark(#ffffff, #1b1b1b)`,\"--color-background-popover\":`light-dark(#ffffff, #1b1b1b)`,\"--color-background-muted\":`light-dark(#f1f1f1, #1b1b1b)`,\"--color-accent\":`light-dark(#1b1b1b, #f1f1f1)`,\"--color-accent-muted\":`light-dark(#d4d4d4, #474747)`,\"--color-neutral\":`light-dark(#0000000F, #ffffff1A)`,\"--color-overlay\":`light-dark(#00000080, #000000CC)`,\"--color-overlay-hover\":`light-dark(#0000000D, #ffffff0D)`,\"--color-overlay-pressed\":`light-dark(#0000001A, #ffffff1A)`,\"--color-text-primary\":`light-dark(#000000, #ffffff)`,\"--color-text-secondary\":`light-dark(#474747, #9e9e9e)`,\"--color-text-disabled\":`light-dark(#919191, #525252)`,\"--color-text-accent\":`light-dark(#1b1b1b, #f1f1f1)`,\"--color-on-dark\":`#ffffff`,\"--color-on-light\":`#111111`,\"--color-on-accent\":`light-dark(#ffffff, #111111)`,\"--color-on-success\":`light-dark(#ffffff, #111111)`,\"--color-on-error\":`light-dark(#ffffff, #111111)`,\"--color-on-warning\":`#111111`,\"--color-info\":`light-dark(#0074e2, #6d9cfe)`,\"--color-info-muted\":`light-dark(#b9d7ff, #88bcff3D)`,\"--color-on-info\":`light-dark(#ffffff, #111111)`,\"--color-text-info\":`light-dark(#0067ce, #a1caff)`,\"--color-text-success\":`light-dark(#2f7d33, #90ca90)`,\"--color-text-warning\":`light-dark(#836700, #eec448)`,\"--color-text-error\":`light-dark(#c0262c, #ffaea7)`,\"--color-on-info-muted\":`light-dark(#003978, #a1caff)`,\"--color-on-success-muted\":`light-dark(#00490b, #90ca90)`,\"--color-on-warning-muted\":`light-dark(#4b3900, #eec448)`,\"--color-on-error-muted\":`light-dark(#76000c, #ffaea7)`,\"--color-icon-accent\":`light-dark(#1b1b1b, #f1f1f1)`,\"--color-icon-primary\":`light-dark(#000000, #ffffff)`,\"--color-icon-secondary\":`light-dark(#6a6a6a, #9e9e9e)`,\"--color-icon-disabled\":`light-dark(#919191, #525252)`,\"--color-success\":`light-dark(#198100, #64af4c)`,\"--color-warning\":`#ffce2f`,\"--color-error\":`light-dark(#c9303a, #ff705d)`,\"--color-success-muted\":`light-dark(#bce0bb, #90ca903D)`,\"--color-error-muted\":`light-dark(#ffc4be, #ff98903D)`,\"--color-warning-muted\":`light-dark(#fae19e, #e2b6233D)`,\"--color-border\":`light-dark(#00000014, #ffffff1A)`,\"--color-border-emphasized\":`light-dark(#d4d4d4, #525252)`,\"--color-skeleton\":`light-dark(#d4d4d4, #525252)`,\"--color-shadow\":`light-dark(#0000001A, #0000004D)`,\"--color-tint-hover\":`light-dark(#000000, #ffffff)`,\"--color-background-red\":`light-dark(#ffc4be, #5b2b28)`,\"--color-border-red\":`light-dark(#ffaea7, #fa6762)`,\"--color-icon-red\":`light-dark(#76000c, #ff9890)`,\"--color-text-red\":`light-dark(#76000c, #ffaea7)`,\"--color-background-orange\":`light-dark(#ffc7a1, #503424)`,\"--color-border-orange\":`light-dark(#ffc7a1, #df843f)`,\"--color-icon-orange\":`light-dark(#622700, #ff9e55)`,\"--color-text-orange\":`light-dark(#622700, #ffb37e)`,\"--color-background-yellow\":`light-dark(#fae19e, #453a1c)`,\"--color-border-yellow\":`light-dark(#e3c36c, #c29900)`,\"--color-icon-yellow\":`light-dark(#4b3900, #e2b623)`,\"--color-text-yellow\":`light-dark(#4b3900, #eec448)`,\"--color-background-green\":`light-dark(#bce0bb, #2b422b)`,\"--color-border-green\":`light-dark(#aad4a9, #6ab26b)`,\"--color-icon-green\":`light-dark(#00490b, #90ca90)`,\"--color-text-green\":`light-dark(#00490b, #90ca90)`,\"--color-background-teal\":`light-dark(#a9e2d6, #28413c)`,\"--color-border-teal\":`light-dark(#90d7c8, #4fb1a0)`,\"--color-icon-teal\":`light-dark(#00463d, #81c9bb)`,\"--color-text-teal\":`light-dark(#00463d, #90d7c8)`,\"--color-background-cyan\":`light-dark(#9ae2f4, #274046)`,\"--color-border-cyan\":`light-dark(#85d5e9, #49adc4)`,\"--color-icon-cyan\":`light-dark(#004351, #71c7dd)`,\"--color-text-cyan\":`light-dark(#004351, #85d5e9)`,\"--color-background-blue\":`light-dark(#b9d7ff, #253c5a)`,\"--color-border-blue\":`light-dark(#a1caff, #5aa0f8)`,\"--color-icon-blue\":`light-dark(#003978, #88bcff)`,\"--color-text-blue\":`light-dark(#003978, #a1caff)`,\"--color-background-purple\":`light-dark(#f7d5ff, #4a2f51)`,\"--color-border-purple\":`light-dark(#f3bfff, #d885eb)`,\"--color-icon-purple\":`light-dark(#5c0e6c, #e496f6)`,\"--color-text-purple\":`light-dark(#5c0e6c, #eaacf8)`,\"--color-background-pink\":`light-dark(#ffc0d7, #572b3d)`,\"--color-border-pink\":`light-dark(#ffc0d7, #fc78b1)`,\"--color-icon-pink\":`light-dark(#70003f, #fd92bd)`,\"--color-text-pink\":`light-dark(#70003f, #ffa9ca)`,\"--color-background-gray\":`light-dark(#e2e2e2, #303030)`,\"--color-border-gray\":`light-dark(#d4d4d4, #262626)`,\"--color-icon-gray\":`light-dark(#474747, #9e9e9e)`,\"--color-text-gray\":`light-dark(#1b1b1b, #d4d4d4)`,\"--radius-none\":`0px`,\"--radius-inner\":`0.375rem`,\"--radius-element\":`0.625rem`,\"--radius-container\":`0.75rem`,\"--radius-page\":`1.75rem`,\"--radius-chat\":`28px`,\"--radius-full\":`9999px`,\"--shadow-low\":`0 2px 4px light-dark(oklch(0 0 0 / 5%), oklch(0 0 0 / 25%)), 0 4px 8px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 40%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 8%))`,\"--shadow-med\":`0 2px 4px light-dark(oklch(0 0 0 / 5%), oklch(0 0 0 / 35%)), 0 4px 12px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 50%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 12%))`,\"--shadow-high\":`0 4px 6px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 50%)), 0 12px 24px light-dark(oklch(0 0 0 / 15%), oklch(0 0 0 / 70%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 15%))`,\"--shadow-inset-hover\":`inset 0px 0px 0px 2px #0074e24D`,\"--shadow-inset-selected\":`inset 0px 0px 0px 2px #0074e280`,\"--shadow-inset-success\":`inset 0px 0px 0px 2px #2f7d334D`,\"--shadow-inset-warning\":`inset 0px 0px 0px 2px #f8d36a4D`,\"--shadow-inset-error\":`inset 0px 0px 0px 2px #de47454D`},localTokens:{\"--astryx-theme-neutral-color-status-fill-accent\":`light-dark(#0074e2, #6d9cfe)`},__localTokenOwners:{\"--astryx-theme-neutral-color-status-fill-accent\":`neutral`},__localTokenLineage:[`neutral`],components:{heading:{\"level:1\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-heading-1-size)`,fontWeight:`var(--text-heading-1-weight)`,lineHeight:`var(--text-heading-1-leading)`},\"level:2\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-heading-2-size)`,fontWeight:`var(--text-heading-2-weight)`,lineHeight:`var(--text-heading-2-leading)`},\"level:3\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-heading-3-size)`,fontWeight:`var(--text-heading-3-weight)`,lineHeight:`var(--text-heading-3-leading)`},\"level:4\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-heading-4-size)`,fontWeight:`var(--text-heading-4-weight)`,lineHeight:`var(--text-heading-4-leading)`},\"level:5\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-heading-5-size)`,fontWeight:`var(--text-heading-5-weight)`,lineHeight:`var(--text-heading-5-leading)`},\"level:6\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-heading-6-size)`,fontWeight:`var(--text-heading-6-weight)`,lineHeight:`var(--text-heading-6-leading)`},\"type:display-1\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-display-1-size)`,lineHeight:`var(--text-display-1-leading)`},\"type:display-2\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-display-2-size)`,lineHeight:`var(--text-display-2-leading)`},\"type:display-3\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-display-3-size)`,lineHeight:`var(--text-display-3-leading)`}},text:{\"type:body\":{fontFamily:`var(--font-family-body)`,fontSize:`var(--text-body-size)`,lineHeight:`var(--text-body-leading)`},\"type:large\":{fontFamily:`var(--font-family-body)`,fontSize:`var(--text-large-size)`,lineHeight:`var(--text-large-leading)`},\"type:label\":{fontFamily:`var(--font-family-body)`,fontSize:`var(--text-label-size)`,lineHeight:`var(--text-label-leading)`},\"type:code\":{fontFamily:`var(--font-family-code)`,fontSize:`var(--text-code-size)`,lineHeight:`var(--text-code-leading)`},\"type:supporting\":{fontFamily:`var(--font-family-body)`,fontSize:`var(--text-supporting-size)`,lineHeight:`var(--text-supporting-leading)`},\"type:display-1\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-display-1-size)`,lineHeight:`var(--text-display-1-leading)`},\"type:display-2\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-display-2-size)`,lineHeight:`var(--text-display-2-leading)`},\"type:display-3\":{fontFamily:`var(--font-family-heading)`,fontSize:`var(--text-display-3-size)`,lineHeight:`var(--text-display-3-leading)`}},item:{selected:{\"--color-text-secondary\":`light-dark(#474747, #c6c6c6)`}},\"tree-list-item\":{selected:{\"--color-text-secondary\":`light-dark(#474747, #c6c6c6)`}},\"file-input\":{\"mode:dropzone\":{\"--color-text-secondary\":`light-dark(#474747, #c6c6c6)`}},citation:{\"variant:number\":{\"--color-text-secondary\":`light-dark(#474747, #c6c6c6)`}},button:{\"variant:destructive\":{backgroundColor:`var(--color-error-muted)`,color:`var(--color-on-error-muted)`}},badge:{\"variant:neutral\":{backgroundColor:`var(--color-background-gray)`,color:`var(--color-text-gray)`},\"variant:red\":{backgroundColor:`var(--color-background-red)`,color:`var(--color-text-red)`},\"variant:orange\":{backgroundColor:`var(--color-background-orange)`,color:`var(--color-text-orange)`},\"variant:yellow\":{backgroundColor:`var(--color-background-yellow)`,color:`var(--color-text-yellow)`},\"variant:green\":{backgroundColor:`var(--color-background-green)`,color:`var(--color-text-green)`},\"variant:teal\":{backgroundColor:`var(--color-background-teal)`,color:`var(--color-text-teal)`},\"variant:cyan\":{backgroundColor:`var(--color-background-cyan)`,color:`var(--color-text-cyan)`},\"variant:blue\":{backgroundColor:`var(--color-background-blue)`,color:`var(--color-text-blue)`},\"variant:purple\":{backgroundColor:`var(--color-background-purple)`,color:`var(--color-text-purple)`},\"variant:pink\":{backgroundColor:`var(--color-background-pink)`,color:`var(--color-text-pink)`},\"variant:gray\":{backgroundColor:`var(--color-background-gray)`,color:`var(--color-text-gray)`}},\"segmented-control\":{base:{padding:`var(--spacing-1)`}},\"segmented-control-item\":{base:{\"--color-text-secondary\":`light-dark(#474747, #c6c6c6)`},\"size:sm\":{height:`calc(var(--size-element-sm) - 8px)`},\"size:md\":{height:`calc(var(--size-element-md) - 8px)`},\"size:lg\":{height:`calc(var(--size-element-lg) - 8px)`},selected:{boxShadow:`none`}},switch:{base:{\"--color-background-gray\":`var(--color-border-emphasized)`}},\"progress-bar\":{base:{\"--color-background-muted\":`var(--color-border-emphasized)`}},\"progress-bar-fill\":{\"variant:neutral\":{backgroundColor:`light-dark(var(--color-text-secondary), #b9b9b9)`},\"variant:disabled\":{backgroundColor:`light-dark(var(--color-text-secondary), #b9b9b9)`}},card:{base:{padding:`var(--spacing-3)`},\"variant:blue\":{\"--color-text-secondary\":`light-dark(#474747, #b9b9b9)`},\"variant:cyan\":{\"--color-text-secondary\":`light-dark(#474747, #b9b9b9)`},\"variant:green\":{\"--color-text-secondary\":`light-dark(#474747, #b9b9b9)`},\"variant:orange\":{\"--color-text-secondary\":`light-dark(#474747, #b9b9b9)`},\"variant:pink\":{\"--color-text-secondary\":`light-dark(#474747, #b9b9b9)`},\"variant:purple\":{\"--color-text-secondary\":`light-dark(#474747, #b9b9b9)`},\"variant:red\":{\"--color-text-secondary\":`light-dark(#474747, #b9b9b9)`},\"variant:teal\":{\"--color-text-secondary\":`light-dark(#474747, #b9b9b9)`},\"variant:yellow\":{\"--color-text-secondary\":`light-dark(#474747, #b9b9b9)`}},section:{base:{padding:`var(--spacing-3)`}}},__onDark:{tokens:{\"color-scheme\":`dark`,\"--color-text-primary\":`var(--color-on-dark)`,\"--color-icon-primary\":`var(--color-on-dark)`,\"--color-accent\":`var(--color-on-dark)`}},__onLight:{tokens:{\"color-scheme\":`light`,\"--color-text-primary\":`var(--color-on-light)`,\"--color-icon-primary\":`var(--color-on-light)`,\"--color-accent\":`var(--color-on-light)`}},__adaptations:{widthBreakpoints:{sm:640,md:768,lg:1024,xl:1280,\"2xl\":1536},rules:[{when:{pointer:`coarse`,width:{below:`lg`}},value:{typography:{scale:{base:16,ratio:1.1736}}}}]},__axes:{typography:{scale:{base:14,ratio:1.2},body:{family:`Figtree`,fallbacks:`-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif`},heading:{family:`Figtree`,fallbacks:`-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif`,weights:{3:`bold`,4:`bold`}},code:{family:`ui-monospace`,fallbacks:`\"SF Mono\", Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace`}},motion:{fast:125,medium:300,slow:700,ratio:.75}},icons:{close:(0,Z.jsx)(Zl,{...$l}),chevronDown:(0,Z.jsx)(sl,{...$l}),chevronLeft:(0,Z.jsx)(ll,{...$l}),chevronRight:(0,Z.jsx)(dl,{...$l}),chevronsLeft:(0,Z.jsx)(pl,{...$l}),chevronsRight:(0,Z.jsx)(hl,{...$l}),check:(0,Z.jsx)(al,{...$l}),success:(0,Z.jsx)(_l,{...$l}),error:(0,Z.jsx)(yl,{...$l}),warning:(0,Z.jsx)(Gl,{...$l}),info:(0,Z.jsx)(Fl,{...$l}),calendar:(0,Z.jsx)(tl,{...$l}),clock:(0,Z.jsx)(xl,{...$l}),externalLink:(0,Z.jsx)(kl,{...$l}),menu:(0,Z.jsx)(Ll,{...$l}),moreHorizontal:(0,Z.jsx)(Dl,{...$l}),search:(0,Z.jsx)(Vl,{...$l}),upload:(0,Z.jsx)(ql,{...$l}),arrowUp:(0,Z.jsx)($c,{...$l}),arrowDown:(0,Z.jsx)(Yc,{...$l}),arrowsUpDown:(0,Z.jsx)(Zc,{...$l}),funnel:(0,Z.jsx)(Nl,{...$l}),eyeSlash:(0,Z.jsx)(jl,{...$l}),viewColumns:(0,Z.jsx)(Cl,{...$l}),copy:(0,Z.jsx)(Tl,{...$l}),checkDouble:(0,Z.jsx)(rl,{...$l}),wrench:(0,Z.jsx)(Yl,{...$l}),stop:(0,Z.jsx)(Ul,{...$l}),microphone:(0,Z.jsx)(zl,{...$l})}}},tu=`neutral`;function nu(e){let t=(0,iu.useRef)(e);return ru(t,e),t}function ru(e,t){(0,iu.useInsertionEffect)(()=>{e.current=t})}var iu,au=o((()=>{iu=u(f(),1)})),ou,su=o((()=>{ys(),ou=_s(`TooltipPresentInterestContext`,1,null),ou.displayName=`TooltipPresentInterestContext`}));function cu(e){return e.hasAttribute(`tabindex`)?e.tabIndex>=0:[`A`,`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`].includes(e.tagName)?!e.disabled:e.isContentEditable}function lu(e,t){return uu(e.target,e.currentTarget,t)}function uu(e,t,n){return n===`always`||n!==`never`&&t!=null&&(e===t||cu(t))}function du(){let e=!1;return{focusIn(t,n){return e=lu(t,n),e},focusOut(t,n){return!e&&!lu(t,n)?!1:(e=!1,!0)}}}var fu=o((()=>{}));function pu(e){return e instanceof Element&&e.hasAttribute(mu)}var mu,hu=o((()=>{mu=`data-astryx-haptic-switch`}));function gu(e){return Ou.get(e)??null}function _u(e){return ku.get(e)??null}function vu(e){return Au.get(e)??ju}function yu(e){return Nu.get(e)??Mu}function bu(e,t,n,{cancels:r=!1,first:i=!1}={}){let a=Du.get(e);a??(a=new Map,Du.set(e,a));let o=a.get(t);o??(o={subscribers:[],native:null},a.set(t,o));let s={listener:n,cancels:r,isFirst:i},c=i?o.subscribers.findIndex(e=>!e.isFirst):-1;c===-1?o.subscribers.push(s):o.subscribers.splice(c,0,s),xu(e,t,o);let l=!0;return()=>{if(!l)return;l=!1;let n=Du.get(e)?.get(t);if(n==null)return;let r=n.subscribers.indexOf(s);r!==-1&&n.subscribers.splice(r,1),xu(e,t,n),n.subscribers.length===0&&(Du.get(e)?.delete(t),(t===`pointerup`||t===`pointercancel`)&&Au.delete(e),(t===`touchend`||t===`touchcancel`)&&wu(e))}}function xu(e,t,n){let r=n.subscribers.length===0?null:n.subscribers.some(e=>e.cancels),i=n.native;if(i!=null&&i.cancels===r||(i!=null&&(e.removeEventListener(t,i.listener,{capture:!0}),n.native=null),r==null))return;let a=t=>Su(e,n,t);e.addEventListener(t,a,{capture:!0,passive:!r}),n.native={listener:a,cancels:r}}function Su(e,t,n){let{pointerType:r,clientX:i,clientY:a}=n;typeof r==`string`&&r!==``&&Ou.set(e,r),r===`mouse`&&typeof i==`number`&&typeof a==`number`&&ku.set(e,{x:i,y:a}),(r===`touch`||r===`pen`)&&Tu(e,n),(n.type===`touchstart`||n.type===`touchend`||n.type===`touchcancel`)&&Cu(e,n);for(let e of[...t.subscribers])if(t.subscribers.includes(e))try{if(e.listener(n)===!0&&e.isFirst)return}catch(e){Eu(e)}}function Cu(e,t){let n=Du.get(e);if(n?.has(`touchend`)!==!0||!n.has(`touchcancel`)){wu(e);return}let{touches:r}=t,i=Nu.get(e)?.starts??0;Nu.set(e,{fingers:r?.length??0,starts:t.type===`touchstart`?i+1:i})}function wu(e){let t=Nu.get(e);t!=null&&Nu.set(e,{fingers:0,starts:t.starts})}function Tu(e,t){let{pointerId:n,clientX:r,clientY:i}=t;if(typeof n!=`number`)return;let a=Au.get(e);t.type===`pointerup`||t.type===`pointercancel`?a?.delete(n):(t.type===`pointerdown`||t.type===`pointermove`&&a?.has(n)===!0)&&typeof r==`number`&&typeof i==`number`&&(a??(a=new Map,Au.set(e,a)),a.set(n,{x:r,y:i}))}function Eu(e){typeof globalThis.reportError==`function`?globalThis.reportError(e):queueMicrotask(()=>{throw e})}var Du,Ou,ku,Au,ju,Mu,Nu,Pu=o((()=>{Xn(),{streams:Du,lastPointerTypes:Ou,lastMousePoints:ku,downPresses:Au}=Gn(Wn(`input-stream`,1),()=>({streams:new WeakMap,lastPointerTypes:new WeakMap,lastMousePoints:new WeakMap,downPresses:new WeakMap})),ju=new Map,Mu={fingers:0,starts:0},Nu=Gn(Wn(`input-stream/touches`,1),()=>new WeakMap)}));function Fu(){Ru.isSet=!0}function Iu(){return Ru.isSet}function Lu(){Ru.isSet=!1}var Ru,zu=o((()=>{Xn(),Ru=Kn(`utils/touch-end-mark/state`,1,()=>({isSet:!1}))}));function Bu(e){return bu(e,`click`,t=>{let n=e.document;Ju.has(n)&&!Ku(t)&&(t.preventDefault(),t.stopImmediatePropagation(),Uu(n))},{cancels:!0})}function Vu(e,{staysInstalled:t=!1,takesLateMouse:n=!1,cancelsTouchEnd:r=!1,touchIdentifier:i}={}){let a=e.defaultView;if(a==null)return;Uu(e);let o={unsubscribers:[],timer:null};if(t&&!Yu.has(a)&&Yu.set(a,Bu(a)),Yu.has(a)||o.unsubscribers.push(Bu(a)),Ju.set(e,o),o.unsubscribers.push(bu(a,`pointerdown`,()=>Uu(e))),n)for(let e of[`mousedown`,`mouseup`])o.unsubscribers.push(bu(a,e,Gu,{cancels:!0}));if(r){Fu();let t=bu(a,`touchend`,n=>{(i==null||Hu(n,i))&&(t(),n.cancelable&&(n.preventDefault(),Uu(e)))},{cancels:!0});o.unsubscribers.push(t)}o.timer=setTimeout(()=>Uu(e),400)}function Hu(e,t){let n=e.changedTouches;return n==null||Array.from(n).some(e=>e.identifier===t)}function Uu(e){let t=Ju.get(e);if(t!=null){Ju.delete(e),t.timer!=null&&clearTimeout(t.timer);for(let e of t.unsubscribers)e()}}function Wu(e){qu.unguardedDepth++;try{return e()}finally{qu.unguardedDepth--}}function Gu(e){Ku(e)||(e.preventDefault(),e.stopImmediatePropagation())}function Ku(e){return e.detail===0||qu.unguardedDepth>0||pu(e.target)}var qu,Ju,Yu,Xu=o((()=>{hu(),Pu(),Xn(),zu(),qu=Gn(Wn(`click-guard`,1),()=>({guards:new Map,stayingClickListeners:new WeakMap,unguardedDepth:0})),{guards:Ju,stayingClickListeners:Yu}=qu}));function Zu(e){return typeof e==`object`&&!!e&&typeof e.nodeType==`number`}function Qu(e){return Zu(e)&&e.nodeType===1}function $u(e){return Zu(e)&&e.nodeType===9}function ed(e){return Zu(e)&&e.nodeType===11&&`host`in e}function td(e){return Qu(e)&&e.namespaceURI===`http://www.w3.org/1999/xhtml`}function nd(e){try{return e.matches(`:popover-open`)}catch{return!1}}function rd(e){try{return e.tagName===`DIALOG`&&e.matches(`:modal`)}catch{return!1}}function id(e){return e.open||nd(e)}function ad(e){return!id(e)&&e.getClientRects().length>0}var od=o((()=>{}));function sd(e){let t=e.visualViewport,n=t?.width??0;if(t==null||!(n>0))return e.innerHeight-cd(e);let r=t.scale;return(Math.abs(e.innerWidth-n)0)||t.scrollWidth<=t.clientWidth?0:Math.min(n,ld(e.document))}function ld(e){let t=e.defaultView?.devicePixelRatio??1,n=dd.get(e);if(n!=null&&n.devicePixelRatio===t)return n.thickness;let r=ud(e);return dd.set(e,{devicePixelRatio:t,thickness:r}),r}function ud(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 dd,fd=o((()=>{dd=new WeakMap}));function pd(e,t,n){return Math.hypot(t-e.originX,n-e.originY)>10}function md(e,t,n,r){return{gesture:{...e,phase:t},paint:n,timer:r}}function hd(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`?pd(e,t.x,t.y)?md(e,`dead`,`none`,null):{gesture:e,paint:`none`,timer:null}:t.kind===`cancel`?md(e,`dead`,`none`,null):t.kind===`onset`?md(e,`pressed`,`on`,null):t.kind===`up`?md(e,`flash`,`on`,`flash`):{gesture:e,paint:`none`,timer:null};case`pressed`:return t.kind===`move`&&!pd(e,t.x,t.y)?{gesture:e,paint:`on`,timer:null}:t.kind===`move`||t.kind===`cancel`?md(e,`dead`,`none`,null):t.kind===`up`?md(e,`fading`,`fading`,`fade`):{gesture:e,paint:`on`,timer:null};case`buttonHeld`:return t.kind===`up`?md(e,`fading`,`fading`,`fade`):t.kind===`cancel`?md(e,`dead`,`none`,null):{gesture:e,paint:`on`,timer:null};case`flash`:return t.kind===`flashEnd`?md(e,`fading`,`fading`,`fade`):{gesture:e,paint:`on`,timer:null};case`fading`:return t.kind===`fadeEnd`?{gesture:vd,paint:`none`,timer:null}:{gesture:e,paint:`fading`,timer:null};case`dead`:return t.kind===`up`?{gesture:vd,paint:`none`,timer:null}:{gesture:e,paint:`none`,timer:null};case`idle`:return{gesture:vd,paint:`none`,timer:null}}}function gd(){return vd}var _d,vd,yd=o((()=>{Ae(),G(),_d=Number.parseFloat(ke(z)[`--duration-exit`]),vd={originX:0,originY:0,phase:`idle`}}));function bd(e){return e.assignedSlot??(e.parentNode==null?null:ed(e.parentNode)?e.parentNode.host:e.parentNode)}function xd(e,t){for(let n=t;n!=null;n=bd(n))if(n===e)return!0;return!1}function Sd(e){let t=e?.activeElement??null;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function Cd(e){return ed(e)?e.host:null}function wd(e){let t=[];for(let n=e,r=Cd(n);r!=null;n=r.getRootNode(),r=Cd(n))t.push({root:n,host:r});return t}var Td=o((()=>{od()}));function Ed(e){return e!==`mouse`}function Dd(e,t){let n=new Set(e);if(Gd(t)&&[...n].some(e=>xd(e,t))&&n.add(t),!rs()){let e=e=>{Kd(e.target)||e.preventDefault()};for(let t of n)t.addEventListener(`selectstart`,e);let t=!0;return()=>{if(t){t=!1;for(let t of n)t.removeEventListener(`selectstart`,e)}}}return Wd(n)}function Od(e,t,n,r){let i=t?.document??null,a=n,o=Vd(a),s=null,c=()=>{let e=t?.getSelection();if(e==null||Kd(Sd(i)))return;let n=Pd(e,o);a.length===0?n.some(e=>!e.collapsed)&&e.removeAllRanges():!Rd(n,a)&&a.every(Id)&&zd(e,a)};c();let l=new Set(e),u=e=>{Kd(e.target)||e.preventDefault()};for(let e of l)e.addEventListener(`selectstart`,u);let d=t==null?[]:[bu(t,`selectstart`,u,{cancels:!0}),bu(t,`selectionchange`,c)],f=Wd(l),p=`held`,m=null,h=()=>{if(p!==`done`){p=`done`,m!=null&&(t?.clearTimeout(m),m=null);try{c()}finally{for(let e of d)e();r?.()}}},g=({isCancel:e=!1}={})=>{if(p===`held`){p=`lifted`,s=kd(t);for(let e of l)e.removeEventListener(`selectstart`,u);f(),t==null||e?h():m=t.setTimeout(h,0)}else p===`lifted`&&e&&h()};return g.keepLiftSelection=()=>{if(p!==`lifted`||s==null)return;let e=s;s=null;let n=()=>{let n=kd(t);p!==`done`&&!Rd(n,e)&&(a=n,o=Vd(n))};n(),queueMicrotask(n)},g}function kd(e){let t=e?.getSelection();if(t==null)return[];let n=Bd(t,[]);if(n!=null)return n.filter(e=>!e.collapsed).map(Fd);if(t.isCollapsed)return[];let r=[];for(let e=0;e=c)){l.setStart(a,e),l.setEnd(a,e+1);for(let e of Array.from(l.getClientRects()))if(t>=e.left&&t<=e.right&&n>=e.top&&n<=e.bottom)return!0}return!1}function jd(e){for(let t=e;t!=null;t=bd(t))if(t.nodeType===1&&t.localName===`button`)return!0;return!1}function Md(e,t,n,r){let i=e;if(typeof i.caretPositionFromPoint==`function`){let e=r.length>0?i.caretPositionFromPoint(t,n,{shadowRoots:[...r]}):i.caretPositionFromPoint(t,n);return e==null?null:{node:e.offsetNode,offset:e.offset}}if(typeof i.caretRangeFromPoint==`function`){let e=i.caretRangeFromPoint(t,n);return e==null?null:{node:e.startContainer,offset:e.startOffset}}return null}function Nd(e){let t=e.ownerDocument.defaultView?.getComputedStyle(e);return t!=null&&t.getPropertyValue(`user-select`)!==`none`&&t.getPropertyValue(`-webkit-user-select`)!==`none`}function Pd(e,t){let n=Bd(e,t);if(n!=null)return n;let r=[];for(let t=0;t=0&&t<=n}function Rd(e,t){return e.length===t.length&&t.every((t,n)=>{let r=e[n];return r.startContainer===t.startContainer&&r.startOffset===t.startOffset&&r.endContainer===t.endContainer&&r.endOffset===t.endOffset})}function zd(e,t){let[n]=t;if(t.length===1&&typeof e.setBaseAndExtent==`function`)e.setBaseAndExtent(n.startContainer,n.startOffset,n.endContainer,n.endOffset);else{e.removeAllRanges();for(let n of t){let t=n.startContainer.ownerDocument?.createRange();t!=null&&(t.setStart(n.startContainer,n.startOffset),t.setEnd(n.endContainer,n.endOffset),e.addRange(t))}}}function Bd(e,t){let n=e.getComposedRanges;if(typeof n!=`function`)return null;let r=t=>{try{return n.call(e,{shadowRoots:t})}catch{try{return n.call(e,...t)}catch{return null}}},i=[...t];for(;;){let e=r([...i]);if(e==null)return null;let t=new Set;for(let n of e)for(let[e,r]of[[n.startContainer,n.startOffset],[n.endContainer,n.endOffset]])for(let n of[e.childNodes[r],e.childNodes[r-1]]){let e=n?.nodeType===1?n.shadowRoot:null;e!=null&&!i.includes(e)&&t.add(e)}if(t.size===0)return e;i.push(...t)}}function Vd(e){let t=new Set;for(let n of e)for(let e of[...Ud(n.startContainer),...Ud(n.endContainer)])t.add(e);return[...t]}function Hd(e){let t=e?.nodeType===1?e.shadowRoot:null;return t==null?[]:[t]}function Ud(e){return e==null||typeof e.nodeType!=`number`?[]:wd(e.getRootNode()).map(({root:e})=>e).filter(e=>e.mode===`open`)}function Wd(e){let t=[];for(let n of e){let e=qd(n);if(e==null)continue;t.push(n);let r=Xd.get(n);if(r!=null)r.count+=1;else{Xd.set(n,{count:1,saved:Jd.map(t=>({name:t,value:e.getPropertyValue(t),priority:e.getPropertyPriority(t)}))});for(let t of Jd)e.setProperty(t,`none`)}}let n=!1;return()=>{if(!n){n=!0;for(let e of t){let t=Xd.get(e);if(t==null||--t.count>0)continue;Xd.delete(e);let n=qd(e);for(let{name:e,value:r,priority:i}of t.saved)r===``?n?.removeProperty(e):n?.setProperty(e,r,i)}}}}function Gd(e){return Qu(e)&&e.localName===`input`&&!Yd.has(e.type)}function Kd(e){let t=Qu(e)?e:Zu(e)?e.parentElement:null;return t==null?!1:t.localName===`textarea`?!0:t.localName===`input`?Yd.has(t.type):t.isContentEditable}function qd(e){let t=e.style;return typeof t==`object`&&t?t:null}var Jd,Yd,Xd,Zd=o((()=>{Td(),Pu(),os(),od(),Xn(),Jd=[`-webkit-touch-callout`,`-webkit-user-select`,`user-select`],Yd=new Set([`text`,`search`,`email`,`url`,`tel`,`password`,`number`]),Xd=Jn(`utils/selection-lock/locks`,1)}));function Qd(e){return e.visualViewport!=null&&e.self===e.top}function $d(e){let t=e.visualViewport;if(t==null||!Qd(e))return 0;let n=sd(e)-t.height*(t.scale??1);return n>1?Math.round(n*100)/100:0}function ef(e){let t=wf.get(e);return t??(t={height:0,startsAtHide:null,listeners:new Set,focusListeners:new Set,detach:null,detachFocus:null},wf.set(e,t)),t}function tf(e){return`virtualKeyboard`in e.navigator}function nf(e,t,n){return n>1&&n{n<=1&&t.height>1&&(t.startsAtHide=yu(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=$d(e);if(nf(e,t.height,s)){if(r!=null&&Math.abs(s-i)<1)return;let t=e.performance.now();r==null?a=t+Sf:clearTimeout(r),i=s,r=setTimeout(()=>{r=null,o($d(e),e.performance.now())},Math.min(xf,a-t))}else r!=null&&(clearTimeout(r),r=null),o(s,n.timeStamp)};n?.addEventListener(`resize`,s),n?.addEventListener(`scroll`,s);let c=bu(e,`resize`,e=>{Zu(e.target)||s(e)});return()=>{r!=null&&(clearTimeout(r),r=null),n?.removeEventListener(`resize`,s),n?.removeEventListener(`scroll`,s),c()}}function af(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=bu(e,`focusin`,n),i=bu(e,`focusout`,n);return()=>{r(),i()}}function of(e,t,{focus:n=!1}={}){let r=ef(e);return r.listeners.add(t),r.detach??=rf(e,r),n&&(r.focusListeners.add(t),r.detachFocus??=af(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 sf(e){let t=wf.get(e)?.startsAtHide,n=yu(e);return n.fingers>0&&(t==null||n.starts!==t)}function cf(e){let t=wf.get(e);return t?.detach==null?$d(e):t.height}function lf(e){if(!td(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&&!Cf.has((t.getAttribute(`type`)??`text`).toLowerCase())}return e.matches(`[contenteditable]:not([contenteditable=\"false\"])`)}function uf(e,t){if(!Qu(e))return null;let n=e.closest(`input, textarea, [contenteditable]:not([contenteditable=\"false\"])`);if(t.contains(n)&&lf(n))return n;let r=e.closest(`label`),i=td(r)?r.control:null;return t.contains(i)&&lf(i)?i:null}function df(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=Tf.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:bu(t,`blur`,e=>{Zu(e.target)&&r(e)}),callers:n},Tf.set(e,a)}return a.callers.add(i),()=>{let t=Tf.get(e);t!=null&&t.callers.delete(i)&&t.callers.size===0&&(t.stop(),Tf.delete(e))}}function ff(e,t){let n=Ef.get(e);if(n==null){let t=e.defaultView;if(t==null)return()=>{};let r=new Set,i=bu(t,`touchstart`,()=>{for(let e of[...r])e()}),a=bu(t,`touchend`,()=>{}),o=bu(t,`touchcancel`,()=>{});n={stop:()=>{i(),a(),o()},watches:r},Ef.set(e,n)}return n.watches.add(t),()=>{let n=Ef.get(e);n!=null&&n.watches.delete(t)&&n.watches.size===0&&(n.stop(),Ef.delete(e))}}function pf(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=sf(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&&lf(l)&&t(l)&&(e.scrollX===a.x&&e.scrollY===a.y||r&&(s??=mf(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?hf(e,a?.top??0):t.scrollIntoView({block:`start`,inline:`nearest`,behavior:`instant`})},stop:ff(i,()=>{o=!0,n?.()})}}function mf(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=sd(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)<=Df&&Math.abs(t.offsetTop-u)<=Df}function hf(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 gf(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),Vu(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 _f(e){return e instanceof HTMLTextAreaElement||e instanceof HTMLInputElement}function vf(e,t,n){if(e.selectionStart==null)return;let r=Md(e.ownerDocument,t,n,[]),i=r!=null&&r.node===e?r.offset:e.value.length;e.setSelectionRange(i,i)}function yf(e,t,n){if(e.focus({preventScroll:!0}),_f(e)){vf(e,t,n);return}let r=e.ownerDocument,i=Md(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 bf,xf,Sf,Cf,wf,Tf,Ef,Df,Of=o((()=>{Xu(),ds(),Pu(),od(),fd(),yd(),Zd(),Xn(),bf=`(prefers-reduced-motion: reduce)`,xf=300,Sf=1e3,Cf=new Set([`button`,`checkbox`,`color`,`file`,`hidden`,`image`,`radio`,`range`,`reset`,`submit`]),wf=Jn(`keyboard/keyboard-height/stores`,2),Tf=Jn(`keyboard/keyboard-height/focus-takeovers`,1),Ef=Jn(`keyboard/keyboard-height/touch-start-watches`,1),Df=2}));function kf(e){let t=e,n=t[Bf];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`,Af(e)||(r.isTextEntrySincePointer=!1))}};return Object.defineProperty(t,Bf,{value:r}),r}function Af(e){let t=typeof e.composedPath==`function`?e.composedPath()[0]:e.target;if(!lf(t instanceof Element?t:null))return!1;let n=typeof e.key==`string`?e.key:``;return e.isComposing===!0||[...n].length===1||Vf.has(n)}function jf(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 Mf(){return typeof document>`u`||jf(document,kf(document),!0),()=>{}}function Nf(e){if(typeof document<`u`&&e===document)return Mf();let t=kf(e);t.consumers=(t.consumers??0)+1,jf(e,t,!0);let n=!1;return()=>{n||(n=!0,t.consumers=(t.consumers??1)-1,t.consumers===0&&jf(e,t,!1))}}function Pf(e,t){t.release?.(),t.release=null;let n=e?.ownerDocument;if(n==null||typeof document<`u`&&n===document)return;let r=Nf(n);return t.release=r,()=>{r(),t.release===r&&(t.release=null)}}function Ff(){(0,zf.useEffect)(()=>Mf(),[]);let e=(0,zf.useRef)(null),t=(0,zf.useRef)({release:null});return{ref:(0,zf.useCallback)(n=>{e.current=n;let r=Pf(n,t.current);return()=>{r?.(),e.current===n&&(e.current=null)}},[]),readModality:(0,zf.useCallback)(()=>Lf(e.current),[])}}function If(e,t=!0){return(0,zf.useEffect)(()=>t?Mf():void 0,[t]),(0,zf.useEffect)(()=>{let n=e.current?.ownerDocument;if(!(!t||n==null||typeof document<`u`&&n===document))return Nf(n)}),(0,zf.useCallback)(()=>Lf(e.current),[e])}function Lf(e){let t=e==null?null:e.nodeType===9?e:e.ownerDocument;return t==null?typeof document>`u`?`keyboard`:kf(document).modality:kf(t).modality}function Rf(e){let t=e==null?typeof document>`u`?null:document:e.nodeType===9?e:e.ownerDocument;if(t==null)return!1;let n=kf(t);return n.isTextEntrySincePointer??n.modality===`pointer`}var zf,Bf,Vf,Hf=o((()=>{zf=u(f(),1),Of(),Bf=Symbol.for(`@astryxdesign/core/interaction-modality/v1`),Vf=new Set([`Backspace`,`CapsLock`,`Dead`,`Delete`,`Enter`,`Process`,`Shift`,`Unidentified`])}));function Uf(e,t,n){let r=_s(e,t,n);return Yf.has(r)||Yf.set(r,e=>(0,Kf.jsx)(r,{value:n,children:e})),r}function Wf({children:e}){let[t]=(0,Gf.useState)(()=>[...Yf.values()]);return t.reduceRight((e,t)=>t(e),e)}var Gf,Kf,qf,Jf,Yf,Xf=o((()=>{Gf=u(f(),1),ys(),Xn(),Kf=mc(),qf=Gn(Wn(`layer-scoped-context-resets`,2),()=>new WeakMap,e=>e instanceof WeakMap),Jf=qf.get(Gf.createContext),Jf??(Jf=new Map,qf.set(Gf.createContext,Jf)),Yf=Jf}));function Zf(e){return e.hasAttribute($f)}function Qf(e){return e.querySelector(`[${$f}]`)!=null}var $f,ep,tp=o((()=>{$f=`data-astryx-layer-root`,ep={[$f]:``}}));function np(e){e.isPropagationStopped=ap}function rp(e={}){let t={};for(let n of ip){let r=e[n];t[n]=typeof r==`function`?e=>{r(e),np(e)}:np}return{...t,...ep}}var ip,ap,op=o((()=>{tp(),ip=[`onClick`,`onAuxClick`,`onDoubleClick`,`onContextMenu`,`onMouseDown`,`onMouseUp`,`onMouseMove`,`onMouseOver`,`onMouseOut`,`onPointerDown`,`onPointerUp`,`onPointerMove`,`onPointerOver`,`onPointerOut`,`onPointerCancel`,`onGotPointerCapture`,`onLostPointerCapture`,`onTouchStart`,`onTouchMove`,`onTouchEnd`,`onTouchCancel`],ap=()=>!0}));function sp(e){return(e.style.anchorName??``).split(`,`).map(e=>e.trim()).filter(Boolean)}function cp(e,t){e.style.anchorName=t.join(`, `)}function lp(e,t){let n=sp(e);n.includes(t)||(n.push(t),cp(e,n))}function up(e,t){let n=sp(e);n.includes(t)&&cp(e,n.filter(e=>e!==t))}var dp=o((()=>{}));function fp(){Mp.releasingGesture===void 0&&(Mp.releasingGesture=null),Mp.isDispatchingRelease===void 0&&(Mp.isDispatchingRelease=!1),Mp.releasingPointerType===void 0&&(Mp.releasingPointerType=``),Mp.listenedDocuments===void 0&&(Mp.listenedDocuments=new WeakSet)}function pp(){Mp.gesture+=1}function mp(e){fp(),Mp.isDispatchingRelease=!1,Lu(),pp(),Mp.pressPointerId=e.pointerId;let t=e.view??document.defaultView;if(Mp.unsubscribePress!=null||t==null)return;let n=[bu(t,`pointerup`,hp,{first:!0}),bu(t,`pointercancel`,hp,{first:!0}),bu(t,`contextmenu`,gp,{first:!0})];Mp.unsubscribePress=()=>{for(let e of n)e()}}function hp(e){if(fp(),e.type===`pointerup`){let t=Mp.gesture;Mp.releasingGesture=t,Mp.releasingPointerType=e.pointerType,Mp.isDispatchingRelease=!0,setTimeout(()=>{Mp.releasingGesture===t&&(Mp.releasingGesture=null)},0)}Mp.pressPointerId=null,Mp.unsubscribePress?.(),Mp.unsubscribePress=null}function gp(){Mp.contextMenuGesture=Mp.gesture}function _p(e){fp(),Mp.clickedGesture=Mp.gesture,Mp.releasingGesture===Mp.gesture&&!(Mp.isDispatchingRelease&&e.detail===0)&&(Mp.releasingGesture=null)}function vp(){Mp.isDispatchingRelease=!1}function yp(){fp(),Mp.isListening||typeof document>`u`||(Mp.isListening=!0,bp(document))}function bp(e){let t=e.defaultView;t!=null&&(bu(t,`pointerdown`,mp,{first:!0}),t.addEventListener(`pointerup`,vp)),e.addEventListener(`keydown`,pp,!0),e.addEventListener(`click`,_p,!0)}function xp(e){yp(),e==null||e===document||Mp.listenedDocuments.has(e)||(Mp.listenedDocuments.add(e),bp(e))}function Sp(){return yp(),Mp.gesture}function Cp(){return yp(),Mp.clickedGesture===Mp.gesture}function wp(){return yp(),Mp.releasingGesture===null||Mp.releasingGesture!==Mp.gesture?!1:!(Mp.releasingPointerType===`touch`&&Iu())}function Tp(e,t){let n=!1,r=()=>{n||(n=!0,s(),t())},i=e.defaultView,a=i==null?()=>{}:bu(i,`click`,e=>{Mp.isDispatchingRelease&&e.detail===0||(Mp.releasingGesture===Mp.gesture&&(Mp.releasingGesture=null),r())},{first:!0}),o=setTimeout(r,0);function s(){n=!0,a(),clearTimeout(o)}return s}function Ep(){return yp(),Mp.pressPointerId!==null}function Dp(e,{releaseTarget:t=null,onRelease:n}={}){yp();let r=Mp.pressPointerId,i=e.ownerDocument.defaultView;if(r===null||i==null||Mp.claimedPress!==null&&Mp.claimedPress.layer===e&&Mp.claimedPress.pointerId===r&&Mp.claimedPress.gesture===Mp.gesture)return;let a={layer:e,pointerId:r,gesture:Mp.gesture};Mp.claimedPress=a;let o=n=>{try{if(n!==null){n.setPointerCapture(r);return}for(let n of[e,t])n?.hasPointerCapture(r)===!0&&n.releasePointerCapture(r)}catch{}};o(t??e);let s=null,c=()=>{let t=[];try{t=[...e.querySelectorAll(`:popover-open`)]}catch{}return[e,...t].map(e=>e.getBoundingClientRect())},l=(e,t)=>(s??=c(),s.some(n=>e>=n.left&&e=n.top&&t(u??=t?.getBoundingClientRect()??null,u!==null&&e>=u.left&&e=u.top&&n{s=null,u=null},p=n=>{if(n.pointerId===r){let{clientX:r,clientY:i}=n;l(r,i)?o(null):t!==null&&d(r,i)?o(t):o(e)}},m=[],h=()=>{for(let e of m)e();m.length=0,Mp.claimedPress===a&&(Mp.claimedPress=null)},g=n=>{n.pointerId===r&&n.target!==e&&n.target!==t&&h()},_=e=>{e.pointerId===r&&(h(),e.type===`pointerup`&&n?.())},v=t=>{t.target===e&&t.newState===`closed`?(o(null),h()):f()};e.addEventListener(`toggle`,v,!0),m.push(bu(i,`pointermove`,p),bu(i,`gotpointercapture`,g),bu(i,`pointerup`,_),bu(i,`pointercancel`,_),bu(i,`scroll`,f),bu(i,`resize`,f),()=>e.removeEventListener(`toggle`,v,!0))}function Op(e){yp(),Mp.contextMenuGesture===Mp.gesture&&Dp(e)}function kp(){let[e]=(0,jp.useState)(Ap);return(0,jp.useEffect)(()=>()=>e.forget(),[e]),e}function Ap(){let e=null,t=null,n=()=>{e?.(),e=null};return{press(r,i,a){if(n(),!Np.has(r.pointerType))return!1;if(i==null)return!0;let o=Sp();t=o;let s=()=>{i.removeEventListener(`click`,c),i.removeEventListener(`pointercancel`,s),e===s&&(e=null)},c=e=>{s(),Sp()===o&&a(e)};return i.addEventListener(`click`,c),i.addEventListener(`pointercancel`,s),e=s,!0},forget:n,isTouchPressCurrent:()=>e!=null&&t===Sp()}}var jp,Mp,Np,Pp=o((()=>{jp=u(f(),1),Pu(),Xn(),zu(),Mp=Kn(`layer/gesture-counter/state`,1,()=>({gesture:0,clickedGesture:null,contextMenuGesture:null,pressPointerId:null,releasingGesture:null,isDispatchingRelease:!1,releasingPointerType:``,claimedPress:null,isListening:!1,listenedDocuments:new WeakSet,unsubscribePress:null})),Np=new Set([`touch`,`pen`])}));function Fp(e){return e.getAttribute(Ip)===Lp}var Ip,Lp,Rp=o((()=>{Ip=`data-astryx-layer-portal-boundary`,Lp=`external`}));function zp(e){if(!e)return null;let t=null,n=!1,r=e;for(;r;){let e=r.tagName.toLowerCase();if(e===`dialog`)break;Zf(r)&&(n=!0),Bp.has(e)?(t=r,n=!1):t!==null&&Fp(r)&&!n&&(t=r),r=r.parentElement}return t?.parentElement??null}var Bp,Vp=o((()=>{Rp(),tp(),Bp=new Set(`p.h1.h2.h3.h4.h5.h6.dt.pre.legend.data.dfn.meter.output.progress.option.optgroup.table.thead.tbody.tfoot.tr.colgroup.ul.ol.menu.dl.select.datalist.picture.hgroup.ruby.rt.rp.a.button.label.summary.span.em.strong.b.i.u.s.small.mark.code.kbd.samp.var.sub.sup.abbr.cite.q.time.bdi.bdo.ins.del`.split(`.`))})),Hp,Up=o((()=>{Hp={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}}})),Wp,Gp=o((()=>{Wp={reset:{\"--step-connector-gap\":`x1qkaldv`,\"--_astryx-text-overflow-wrap\":`x1c9qq8g`,$$css:!0}}})),Kp,qp=o((()=>{Kp={gutterBlockStart:`calc(max(var(--spacing-4), env(safe-area-inset-top, 0px)) + var(--astryx-layer-inset-block-start, 0px))`,gutterBlockEnd:`calc(max(var(--spacing-4), env(safe-area-inset-bottom, 0px)) + var(--astryx-layer-inset-block-end, 0px))`,gutterInline:`calc(max(var(--spacing-4), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)) + max(var(--astryx-layer-inset-inline-start, 0px), var(--astryx-layer-inset-inline-end, 0px)))`,gutterBlock:`calc(max(var(--spacing-4), env(safe-area-inset-top, 0px), env(safe-area-inset-bottom, 0px)) + max(var(--astryx-layer-inset-block-start, 0px), var(--astryx-layer-inset-block-end, 0px)))`,gutterBlockFallback:`calc(var(--spacing-4) + max(var(--astryx-layer-inset-block-start, 0px), var(--astryx-layer-inset-block-end, 0px)))`,gutterBlockStartFallback:`calc(var(--spacing-4) + var(--astryx-layer-inset-block-start, 0px))`,gutterBlockEndFallback:`calc(var(--spacing-4) + var(--astryx-layer-inset-block-end, 0px))`,gutterInlineFallback:`calc(var(--spacing-4) + max(var(--astryx-layer-inset-inline-start, 0px), var(--astryx-layer-inset-inline-end, 0px)))`,maxInlineSize:`calc(100vi - calc(max(var(--spacing-4), env(safe-area-inset-left, 0px)) + var(--astryx-layer-inset-inline-start, 0px)) - calc(max(var(--spacing-4), env(safe-area-inset-right, 0px)) + var(--astryx-layer-inset-inline-end, 0px)))`,maxInlineSizeFallback:`calc(100vw - var(--spacing-4) - var(--spacing-4) - var(--astryx-layer-inset-inline-start, 0px) - var(--astryx-layer-inset-inline-end, 0px))`,maxBlockSize:`min(calc(100dvb - calc(max(var(--spacing-4), env(safe-area-inset-top, 0px)) + var(--astryx-layer-inset-block-start, 0px)) - calc(max(var(--spacing-4), env(safe-area-inset-bottom, 0px)) + var(--astryx-layer-inset-block-end, 0px))), var(--_layer-keyboard-max-block-size, 100dvb))`,maxBlockSizeFallback:`min(calc(100vh - var(--spacing-4) - var(--spacing-4) - var(--astryx-layer-inset-block-start, 0px) - var(--astryx-layer-inset-block-end, 0px)), var(--_layer-keyboard-max-block-size, 100vh))`}})),Jp,Yp=o((()=>{Jp={showMs:267,showCurve:[.1,0,0,1],showReportLagMs:25,hideMs:167,hideCurve:[.3,.1,.2,.9],hideAfterBlurMs:16,hideReportLagMs:33}}));function Xp([e,t,n,r]){let i=3*e,a=3*(n-e)-i,o=1-i-a,s=3*t,c=3*(r-t)-s,l=1-s-c,u=e=>((o*e+a)*e+i)*e,d=e=>((l*e+c)*e+s)*e,f=e=>(3*o*e+2*a)*e+i,p=e=>{let t=e;for(let n=0;n<8;n++){let n=u(t)-e;if(Math.abs(n)<1e-7)return t;let r=f(t);if(Math.abs(r)<1e-6)break;t-=n/r}let n=0,r=1;t=e;for(let i=0;i<60;i++){let i=u(t);if(Math.abs(i-e)<1e-7)break;ie<=0?0:e>=1?1:d(p(e))}var Zp=o((()=>{}));function Qp(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=Xp(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:Jp.showMs,points:Jp.showCurve},a={durationMs:Jp.hideMs,points:Jp.hideCurve},o=()=>t.curve==null?0:t.curve.durationMs,s=e,c=e=>e=t.start+o()?t.to:n.value((e-t.start)/1e3),l=e=>e<=t.start?t.velocity:n==null||e>=t.start+o()?0:n.velocity((e-t.start)/1e3),u=(e,o,u,{animated:d=!0,predicted:f=!1}={})=>{let p=Math.max(u,t.start),m=c(p),h=d?l(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>$p&&(s=o),t},d=()=>(t.predicted&&(t={...t,predicted:!1}),null);return{get inset(){return t.to},get transition(){return t},presentation:c,velocity:l,report(e,n){if(e==null)return null;let r=t.to;if(Math.abs(e-r)<$p)return d();if(e<=$p)return u(`hide`,0,n-Jp.hideReportLagMs);if(r<=$p){let t=s>e+$p;return u(`show`,t?s:e,n-Jp.showReportLagMs,{predicted:t})}return u(`change`,e,n,{animated:!1})},blurred(e){return t.to<=$p?null:u(`hide`,0,e+Jp.hideAfterBlurMs,{predicted:!0})},focused(e){return t.kind!==`hide`||!t.predicted?null:u(`show`,s,Math.max(e,t.start),{predicted:!0})},verify(e,n){return!t.predicted||e==null||nt.to?`show`:`hide`,e,n)}}}var $p,em=o((()=>{Yp(),Zp(),$p=.5}));function tm(e){return tf(e)?`chromium`:null}function nm(e){let t=e instanceof Element?e:null;return lf(t)||t instanceof HTMLSelectElement&&!t.disabled}function rm(e){let t=e;return t==null||t.nodeType!==1?!1:t.tagName===`SELECT`||t.tagName===`INPUT`&&lm.has(t.type)}function im(e){return e.tagName===`IFRAME`||e.tagName===`FRAME`||e.tagName===`OBJECT`||e.tagName===`EMBED`||e.shadowRoot!=null||e.tagName.includes(`-`)}function am(e){let t=um.get(e);return t??(t=om(e),um.set(e,t)),t}function om(e){let t=new Set,n=tm(e),r=Qp(cf(e)),i=null,a=null,o=e=>nm(e)&&!(n===`chromium`&&rm(e)),s=()=>{let t=e.document.activeElement;return r.transition.kind===`hide`&&r.transition.predicted&&!o(t)&&!(t!=null&&im(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)+sm;i=setTimeout(()=>{i=null;let t=cf(e);t!=null&&t>.5&&s()||c(r.verify(t,e.performance.now()))},Math.max(0,n-e.performance.now()))},u=()=>{n=tm(e),r=Qp(cf(e));let t=-1/0,a=null,l=(i,l)=>{a!=null&&(clearTimeout(a),a=null);let u=t+cm;return n===`chromium`&&i<.5&&r.inset>=.5&&l{a=null,c(r.report(cf(e),u))},u-l),null):i>.5&&s()?null:r.report(i,l)},u=of(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 sm,cm,lm,um,dm=o((()=>{Of(),em(),Xn(),sm=150,cm=150,lm=new Set([`date`,`datetime-local`,`month`,`time`,`week`]),um=Jn(`keyboard/keyboard-layout-guide/guides`,1)}));function fm(e,t){if(!(Number.isFinite(t)&&t>0))throw RangeError(`spring: ${e} must be a positive number, got ${t}`)}function pm({duration:e,bounce:t}){if(fm(`duration`,e),!Number.isFinite(t))throw RangeError(`spring: bounce must be finite, got ${t}`);let n=Math.min(1,Math.max(-.999999,t));return{mass:1,stiffness:(xm/e)**2,damping:n>=0?(1-n)*2*xm/e:2*xm/(e*(1+n))}}function mm({response:e,dampingRatio:t}){if(fm(`response`,e),!(Number.isFinite(t)&&t>=0))throw RangeError(`spring: dampingRatio must be ≥ 0, got ${t}`);let n=xm/e;return{mass:1,stiffness:n*n,damping:2*t*n}}function hm({mass:e=1,stiffness:t,damping:n,allowOverdamping:r=!1}){if(fm(`mass`,e),fm(`stiffness`,t),!(Number.isFinite(n)&&n>=0))throw RangeError(`spring: damping must be ≥ 0, got ${n}`);let i=2*Math.sqrt(t*e);return{mass:e,stiffness:t,damping:r?n:Math.min(n,i)}}function gm(e){return Math.sqrt(e.stiffness/e.mass)}function _m(e){return e.damping/(2*Math.sqrt(e.stiffness*e.mass))}function vm(e){return`stiffness`in e?hm(e):`bounce`in e?pm(e):mm(e)}function ym(e,{from:t,to:n,velocity:r=0}){let i=gm(e),a=_m(e),o=t-n,s=r,c,l,u,d=0;if(a<.999999){let e=a*i,t=i*Math.sqrt(1-a*a),n=o,r=(s+e*o)/t,d=(e*s+i*i*o)/t;c=i=>Math.exp(-e*i)*(n*Math.cos(t*i)+r*Math.sin(t*i)),l=n=>Math.exp(-e*n)*(s*Math.cos(t*n)-d*Math.sin(t*n));let f=Math.abs(n)+Math.abs(r);u=t=>f*Math.exp(-e*t)}else if(a<=1.000001){let e=s+i*o;c=t=>(o+e*t)*Math.exp(-i*t),l=t=>(s-i*e*t)*Math.exp(-i*t);let t=Math.abs(o),n=Math.abs(e);u=e=>(t+n*e)*Math.exp(-i*e),d=n>0?Math.max(0,1/i-t/n):0}else{let e=i*Math.sqrt(a*a-1),t=-a*i+e,n=-a*i-e,r=(s-n*o)/(t-n),d=o-r;c=e=>r*Math.exp(t*e)+d*Math.exp(n*e),l=e=>t*r*Math.exp(t*e)+n*d*Math.exp(n*e);let f=Math.abs(r),p=Math.abs(d);u=e=>f*Math.exp(t*e)+p*Math.exp(n*e)}return{spring:e,from:t,to:n,initialVelocity:r,value:e=>n+c(e),velocity:e=>l(e),settleTime:e=>{if(!(e>0))return 1/0;if(a===0)return o===0&&s===0?0:1/0;let t=d;if(u(t)<=e)return 0;if(a<.999999){let t=u(0);return Math.log(t/e)/(a*i)}let n=t,r=Math.max(t,1/i);for(;u(r)>e;)if(n=r,r*=2,r>1e6)return 1/0;for(let t=0;t<100&&r-n>1e-12;t++){let t=(n+r)/2;u(t)>e?n=t:r=t}return r}}}function bm(e,{initialVelocity:t=0,epsilon:n=Sm}={}){return ym(e,{from:0,to:1,velocity:t}).settleTime(n)}var xm,Sm,Cm=o((()=>{xm=2*Math.PI,Sm=.001}));function wm(e){return Om.test(e)}function Tm(e){if(!wm(e))throw Error(`motion role \"${e}\" must be a dotted table path such as \"springs.sheetPresent\"`);return`--motion-${e.split(`.`).map(e=>e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)).join(`-`)}`}function Em(e){return typeof e!=`object`||!e||Array.isArray(e)?!1:`response`in e&&`dampingRatio`in e||`duration`in e&&`bounce`in e||`stiffness`in e&&`damping`in e}function Dm(e){return Array.isArray(e)&&e.length===4&&e.every(e=>typeof e==`number`)}var Om,km=o((()=>{Om=/^[a-z][A-Za-z0-9]*(\\.[a-z][A-Za-z0-9]*)+$/}));function Am(e,t,{roles:n=[],exclude:r=[],rename:i={}}={}){if(!/^[a-z][A-Za-z0-9]*$/.test(e))throw Error(`motion table id \"${e}\" must be one camelCase word`);if(Lm.get(e)===t)return;Lm.set(e,t);let a=new Set(r.map(t=>`${e}.${t}`)),o=new Set(n.map(t=>`${e}.${t}`)),s=(t,n)=>{zm.set(t,n);for(let[r,c]of Object.entries(t)){let l=`${n}.${r}`;if(a.has(l))continue;let u=null;if(Em(c))u=`spring`;else if(Dm(c))u=`curve`;else if(typeof c==`number`&&r.endsWith(`Ms`))u=`duration`;else if(typeof c==`object`&&c&&!Array.isArray(c)){s(c,l);continue}if(u==null)continue;let d=l.slice(e.length+1),f=d in i?`${e}.${i[d]}`:l;if(!o.has(f))continue;f!==l&&Bm.set(l,f);let p=c;if(typeof p==`object`){let e=Rm.get(p);e!=null&&e.id!==f&&(p=Object.freeze(Array.isArray(p)?[...p]:{...p}),t[r]=p)}let m={id:f,kind:u,variable:Tm(f),value:p};Im.set(f,m),typeof p==`object`&&Rm.set(p,m)}};s(t,e)}function jm(e,t){if(!wm(e))throw Error(`motion role \"${e}\" must be a dotted table path such as \"springs.settle\"`);if(Rm.get(t)?.id!==e){let n={id:e,kind:`spring`,variable:Tm(e),value:t};Im.set(e,n),Rm.set(t,n)}return t}function Mm(e){return typeof e==`object`&&e?Rm.get(e):void 0}function Nm(e,t){let n=zm.get(e);if(n==null)return;let r=`${n}.${t}`;return Im.get(Bm.get(r)??r)}function Pm(e,t){let n=t.trim();if(n===``)return null;if(e===`spring`){let e=Hm.exec(n);if(e==null)return null;let t=Number(e[1]),r=Number(e[2]);return t>0&&r>-1&&r<1?{duration:t,bounce:r}:null}if(e===`duration`){let e=Um.exec(n);if(e==null)return null;let t=Number(e[1])*(e[2]===`s`?1e3:1);return t>=0?t:null}let r=Wm.exec(n);if(r==null)return null;let i=[r[1],r[2],r[3],r[4]].map(Number);return i[0]>=0&&i[0]<=1&&i[2]>=0&&i[2]<=1?i:null}function Fm(e){let t=e.trim();return Gm[t]??Pm(`curve`,t)}var Im,Lm,Rm,zm,Bm,Vm,Hm,Um,Wm,Gm,Km=o((()=>{km(),Im=new Map,Lm=new Map,Rm=new WeakMap,zm=new WeakMap,Bm=new Map,Vm=`(-?(?:\\\\d+\\\\.?\\\\d*|\\\\.\\\\d+)(?:e-?\\\\d+)?)`,Hm=RegExp(`^${Vm}s\\\\s+${Vm}$`),Um=RegExp(`^${Vm}(ms|s)$`),Wm=RegExp(`^cubic-bezier\\\\(\\\\s*${Vm}\\\\s*,\\\\s*${Vm}\\\\s*,\\\\s*${Vm}\\\\s*,\\\\s*${Vm}\\\\s*\\\\)$`),Gm={linear:[0,0,1,1],ease:[.25,.1,.25,1],\"ease-in\":[.42,0,1,1],\"ease-out\":[0,0,.58,1],\"ease-in-out\":[.42,0,.58,1]}}));function qm(){Am(`timing`,$m,{roles:[`curves.move`]})}var Jm,Ym,Xm,Zm,Qm,$m,eh=o((()=>{Km(),Jm={highlightInMs:0,flashMs:100,highlightOutMs:200,highlightOutCurve:[0,0,.2,1],scrollBrakeMs:150,buttonReleaseMs:250},Ym={durationMs:200,curve:[.42,0,.58,1]},{durationMs:Xm,curve:Zm}=Ym,Qm={press:Jm,curves:{viewChange:[.25,.1,.25,1],move:Zm,exit:[.42,0,1,1],entrance:[0,0,.58,1]},navigationBarHideShowMs:200,keyboardNotificationMs:383.3,stateChangeMs:250,reducedMotionCrossFadeMs:Xm},$m={curves:{move:Zm}}}));function th(e,t,n){if(n<=0)return null;let r=t-n-10;return e.bottom<=r?null:Math.max(0,r-e.top)}var nh,rh=o((()=>{nh=`data-layer-anchored`}));function ih(e,t){return`--astryx-layer-slide-${e}-${t}`}function ah(e,t,n){return`${e}:${t};${e}:${n};`}function oh(e){return ah(e,Kp.gutterBlockFallback,Kp.gutterBlock)}function sh(e){return ah(e,Kp.gutterInlineFallback,Kp.gutterInline)}function ch(e){switch(e){case`above`:return`inset-block-end:calc(anchor(outside) + ${Ch});inset-block-start:calc(0px - ${Ch});align-self:self-end;margin-block-end:${Sh};${oh(`margin-block-start`)}`;case`below`:return`inset-block-start:calc(anchor(outside) - ${Ch});inset-block-end:${Ch};align-self:self-start;margin-block-start:${Sh};${oh(`margin-block-end`)}`;case`start`:return`inset-inline-end:anchor(outside);inset-inline-start:0;justify-self:self-end;margin-inline-end:${Sh};${sh(`margin-inline-start`)}`;case`end`:return`inset-inline-start:anchor(outside);inset-inline-end:0;justify-self:self-start;margin-inline-start:${Sh};${sh(`margin-inline-end`)}`}}function lh(e){return e===`above`||e===`below`?`inset-inline-start:0;inset-inline-end:0;justify-self:anchor-center;${sh(`margin-inline-start`)}${sh(`margin-inline-end`)}`:`inset-block-start:calc(0px - ${Ch});inset-block-end:${Ch};align-self:anchor-center;${oh(`margin-block-start`)}${oh(`margin-block-end`)}`}function uh(e,t){let n=t===`same`?e:wh[e];return`@position-try ${ih(e,t)}{${ch(n)}${lh(n)}}`}function dh(e){return e===`above`||e===`start`?`unsafe self-end`:`unsafe self-start`}function fh(e){return`--astryx-layer-beside-${e}`}function ph(e){return`--astryx-layer-fit-${e}`}function mh(e){return`@position-try ${fh(e)}{${ch(e)}${lh(e)}inline-size:max-content;justify-self:${dh(e)};}`}function hh(e,t){return`calc((${e} - anchor-size(block)) / 2 - ${Sh} - ${t} - 1px)`}function gh(e){let t=ah(`min-block-size`,hh(`100vh`,Kp.gutterBlockFallback),hh(`100dvb`,Kp.gutterBlock));return`@position-try ${ph(e)}{${ch(e)}${lh(e)}block-size:-webkit-fill-available;block-size:stretch;${t}align-self:${dh(e)};}`}function _h(e){if(e!==`above`&&e!==`below`)return``;let t=e===`above`?`below`:`above`;return`flip-block, ${fh(`end`)}, ${fh(`start`)}, ${ph(e)}, ${ph(t)}`}function vh(){return[...Th.flatMap(e=>[uh(e,`same`),uh(e,`opposite`)]),mh(`end`),mh(`start`),gh(`above`),gh(`below`)].join(``)}function yh(e){if(e.getElementById(`astryx-layer-slide-rules`))return;let t=e.createElement(`style`);t.id=Eh,t.textContent=vh(),e.head.appendChild(t)}var bh,xh,Sh,Ch,wh,Th,Eh,Dh=o((()=>{qp(),bh=`--_astryx-layer-clearance`,xh=`--_astryx-layer-lift`,Sh=`var(${bh}, 0px)`,Ch=`var(${xh}, 0px)`,wh={above:`below`,below:`above`,start:`end`,end:`start`},Th=[`above`,`below`,`start`,`end`],Eh=`astryx-layer-slide-rules`}));function Oh(e){return zh.some(t=>{let n=e.getPropertyValue(t);return n!==``&&n!==`none`})}function kh(e){return e!==``&&e!==`none`}function Ah(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}function jh(e){let t=e.getPropertyValue(`translate`),n=e.getPropertyValue(`rotate`),r=e.getPropertyValue(`scale`),i=e.getPropertyValue(`transform`),a=Bh;if(kh(t)){let[e=`0`,n=`0`,r]=t.split(` `);if(r!=null||!t.split(` `).every(e=>e.endsWith(`px`)))return null;a=Ah(a,[1,0,0,1,parseFloat(e),parseFloat(n)])}if(kh(n)){if(!/^-?[\\d.]+deg$/.test(n))return null;let e=parseFloat(n)*Math.PI/180,t=Math.cos(e),r=Math.sin(e);a=Ah(a,[t,r,-r,t,0,0])}if(kh(r)){let[e=`1`,t=e,n]=r.split(` `);if(n!=null)return null;a=Ah(a,[parseFloat(e),0,0,parseFloat(t),0,0])}if(kh(i)){let e=/^matrix\\(([^)]*)\\)$/.exec(i)?.[1].split(`,`).map(e=>parseFloat(e));if(e?.length!==6||e.some(e=>Number.isNaN(e)))return null;a=Ah(a,e)}return a}function Mh([e,t,n,r]){return t===0&&n===0&&e!==0&&r!==0}function Nh(e){return(e.currentCSSZoom??1)===1&&!(e.getAnimations?.()??[]).some(e=>e.pending)}function Ph(e){let t=t=>parseFloat(e.getPropertyValue(t))||0,n=e.getPropertyValue(`box-sizing`)!==`border-box`,r=e=>n?e.reduce((e,n)=>e+t(`padding-${n}`)+t(`border-${n}-width`),0):0;return{width:t(`width`)+r([`left`,`right`]),height:t(`height`)+r([`top`,`bottom`])}}function Fh(e,t,[n,,,r]){let{width:i,height:a}=Ph(t);if(!(i>0)||!(a>0))return!1;let o=Math.abs(e.width-i*Math.abs(n))+Math.abs(e.height-a*Math.abs(r)),s=Math.abs(e.width-i)+Math.abs(e.height-a);return o+UhparseFloat(e)),h=d/2-p,g=f/2-m,_=i*h+o*g+c,v=a*h+s*g+l,y=e.left+e.width/2-_-p,b=e.top+e.height/2-v-m;if(!u)return new DOMRect(y,b,d,f);let x=Ih(y),S=Ih(b);return new DOMRect(x,S,Ih(y+d)-x,Ih(b+f)-S)}function Rh(e){let t=e.ownerDocument.defaultView,n=t?.getComputedStyle(e);if(n==null||!Oh(n))return e.getBoundingClientRect();let r=jh(n);if(r!=null&&Mh(r)&&Nh(e)){let t=e.getBoundingClientRect();if(Fh(t,n,r))return Lh(t,e,n,r)}let i=n.getPropertyValue(`transition-property`).split(`,`).map(e=>e.trim()),a=n.getPropertyValue(`transition-duration`).split(`,`).map(parseFloat);if(i.some((e,t)=>(e===`all`||zh.includes(e))&&(a[t%a.length]??0)>0)){let t=e.getBoundingClientRect();return r==null?t:Lh(t,e,n,r)}let o=zh.map(t=>[t,e.style.getPropertyValue(t),e.style.getPropertyPriority(t)]);for(let t of zh)e.style.setProperty(t,`none`,`important`);let s=e.getBoundingClientRect(),c=t?.getComputedStyle(e),l=c!=null&&Oh(c)?jh(c):null,u=c!=null&&l!=null?Lh(s,e,c,l):s;for(let[t,n,r]of o)n===``?e.style.removeProperty(t):e.style.setProperty(t,n,r);return u}var zh,Bh,Vh,Hh,Uh,Wh=o((()=>{zh=[`transform`,`translate`,`scale`,`rotate`],Bh=[1,0,0,1,0,0],Vh=64,Hh=1/2048,Uh=1/32}));function Gh(e,{onClicked:t,onNoClick:n}){let r=e.ownerDocument.defaultView;if(r==null){let e=!1;return queueMicrotask(()=>{e||n()}),()=>{e=!0}}let i=!1,a=null,o=null,s=null,c=()=>{i=!0,s?.(),s=null,o!=null&&(r.clearTimeout(o),o=null)};return s=bu(r,`click`,n=>{!i&&n.isTrusted&&e.contains(n.target)&&(c(),a=r.setTimeout(()=>{a=null,t(n.defaultPrevented)},0))}),o=r.setTimeout(()=>{i||(c(),n())},300),()=>{c(),a!=null&&(r.clearTimeout(a),a=null)}}function Kh(e){let t=e.ownerDocument.defaultView,n=null,r=t=>{n==null&&t.target===e&&(n=t)};t?.addEventListener(`click`,r,!0);try{e.click()}finally{t?.removeEventListener(`click`,r,!0)}return n?.defaultPrevented===!0}function qh(e){return Vu(e.ownerDocument),Wu(()=>Kh(e))}var Jh=o((()=>{Xu(),Pu()}));function Yh(e,t){let n=e.ownerDocument.defaultView;for(let r=t.parentElement;r!=null;r=r===e?null:r.parentElement){let e=n?.getComputedStyle(r).overflowY;if(r.scrollHeight>r.clientHeight+1&&(e===`auto`||e===`scroll`)){let e=r.getBoundingClientRect(),n=t.getBoundingClientRect();n.bottom>e.bottom?r.scrollTop+=n.bottom-e.bottom:n.top{let n=t.current,i=n?.ownerDocument.defaultView;if(!e||n==null||i==null)return;let o=i,f=!1,p=am(i),m=n,h=0,g=()=>{h+=1},_=()=>{let e=t.current;return e==null||e===m?!1:(m.removeEventListener(`pointerdown`,A,!0),m.removeEventListener(`touchstart`,g,{capture:!0}),m.removeEventListener(`wheel`,g,{capture:!0}),m=e,m.addEventListener(`pointerdown`,A,!0),m.addEventListener(`touchstart`,g,{capture:!0,passive:!0}),m.addEventListener(`wheel`,g,{capture:!0,passive:!0}),!0)},v=(e,t=u.current,n=null)=>{f||c.current===e&&u.current===t&&l.current===n||(c.current=e,u.current=t,l.current=n,(0,$h.flushSync)(()=>{r(e),s(t),a(n)}),_())},y=e=>{let t=e>0?e+10:0,n=Math.max(t,u.current??0);if(v(null,n>0?n:null),e<=0)return!1;let r=sd(i),a=Rh(m),o=th(a,r,e);if(o==null)return!1;v(o);let s=Rh(m);if(s.top>a.top+1&&Math.abs(s.bottom-a.bottom)>1){v(o,u.current,s.top-a.top);let t=Rh(m);if(Math.abs(t.top-a.top)>1){v(o);let t=th(s,r,e);t!=null&&v(t)}}let c=r-e-10;return Rh(m).bottom>c+1?(v(null),!1):!0},b=e=>{if(_(),!m.hasAttribute(`data-layer-anchored`)){v(null,null);return}if(!y(e))return;let t=m.ownerDocument.activeElement;if(t!=null&&t!==m&&m.contains(t)){let e=h;i.requestAnimationFrame(()=>i.requestAnimationFrame(()=>{!f&&h===e&&Yh(m,t)}))}},x=null,S=()=>{x!=null&&(i.clearTimeout(x),x=null)},C=new Set,w=null,T=null,E=null,D=()=>{let e=[bu(o,`pointerup`,j),bu(o,`pointercancel`,j)];E=()=>{for(let t of e)t()}},O=()=>{E?.(),E=null},k=()=>{T?.(),T=null,C.clear(),O();let e=w;w=null,e?.()};function A(e){g(),C.size===0&&D(),C.add(e.pointerId)}function j(e){C.has(e.pointerId)&&(e.type===`pointercancel`?k():T??=Gh(m,{onClicked:k,onNoClick:k}))}m.addEventListener(`pointerdown`,A,!0),m.addEventListener(`touchstart`,g,{capture:!0,passive:!0}),m.addEventListener(`wheel`,g,{capture:!0,passive:!0});let M=p.subscribe(e=>{if(S(),e.animated&&e.to>e.from){let t=e.start+(p.profile===`chromium`&&e.curve!=null?e.curve.durationMs:Qm.keyboardNotificationMs);x=i.setTimeout(()=>{x=null,b(e.to)},Math.max(0,t-i.performance.now()))}else C.size>0?w=()=>b(e.to):b(e.to)});cf(i)>0&&i.queueMicrotask(()=>{f||b(cf(i))});let N=null;return d.current=()=>{!_()||N!=null||cf(i)<=0||(N=i.requestAnimationFrame(()=>{N=null,f||x!=null||(C.size>0?w=()=>b(cf(i)):b(cf(i)))}))},()=>{f=!0,d.current=null,N!=null&&i.cancelAnimationFrame(N),M(),S(),T?.(),m.removeEventListener(`pointerdown`,A,!0),m.removeEventListener(`touchstart`,g,{capture:!0}),m.removeEventListener(`wheel`,g,{capture:!0}),O(),c.current!=null&&(c.current=null,r(null)),l.current!=null&&(l.current=null,a(null)),u.current!=null&&(u.current=null,s(null))}},[e,t]);let f=(0,Qh.useCallback)(()=>{d.current?.()},[]);return{cap:e?n:null,lift:e?i:null,inset:e?o:null,followLayerElement:f}}var Qh,$h,eee=o((()=>{Qh=u(f(),1),$h=g(),x(),dm(),Of(),eh(),rh(),Dh(),Wh(),Jh(),Pu(),fd()})),eg=o((()=>{eee()}));function tg(e,t){if(e.width<=0||e.height<=0)return null;let n=t.left+t.width/2,r=t.top+t.height/2,i=cg(n-e.left,e.width),a=cg(r-e.top,e.height),o=t.width<=1&&t.height<=1;if(i>0&&i0&&a=Math.abs(s)){let n=c>0;return{x:0,y:n?-1:1,originX:i,originY:n?0:e.height,gap:o?null:Math.max(0,n?e.top-(t.top+t.height):t.top-(e.top+e.height))}}let l=s>0;return{x:l?-1:1,y:0,originX:l?0:e.width,originY:a,gap:o?null:Math.max(0,l?e.left-(t.left+t.width):t.left-(e.left+e.width))}}function ng(e,t){let n=t.getBoundingClientRect();return tg(Rh(e),n)}function rg(e,t){e.style.setProperty(ig,t==null?`initial`:String(t.x)),e.style.setProperty(ag,t==null?`initial`:String(t.y)),e.style.setProperty(og,t==null?`initial`:`${lg(t.originX)} ${lg(t.originY)}`);let n=t?.gap==null?null:Math.floor(t.gap*1e3)/1e3;e.style.setProperty(sg,n==null?`initial`:`${n}px`)}var ig,ag,og,sg,cg,lg,ug=o((()=>{Wh(),ig=`--_astryx-layer-enter-x`,ag=`--_astryx-layer-enter-y`,og=`--_astryx-layer-enter-origin`,sg=`--_astryx-layer-enter-gap`,cg=(e,t)=>Math.min(t,Math.max(0,e)),lg=e=>`${Math.round(e*1e3)/1e3}px`}));function dg(e){return typeof e==`number`?`${e}px`:e}function fg(e){let t={};if(e)for(let[n,r]of pg){let i=e[n];i!=null&&i!==``&&(t[r]=dg(i))}return t}var pg,mg=o((()=>{pg=[[`blockStart`,`--astryx-layer-inset-block-start`],[`blockEnd`,`--astryx-layer-inset-block-end`],[`inlineStart`,`--astryx-layer-inset-inline-start`],[`inlineEnd`,`--astryx-layer-inset-inline-end`]]}));function hg(e,t,n){e.set(t,Math.max(0,(e.get(t)??0)+n))}function gg(e){return(Sg.get(e)??0)>0||(Cg.get(e)??0)>0}function _g(e){!gg(e)&&wg.has(e)&&queueMicrotask(()=>vg(e))}function vg(e){if(gg(e))return;let t=wg.get(e);if(t!=null){wg.delete(e);for(let e of t)queueMicrotask(e)}}function yg(e,t){hg(Sg,e,1);try{t()}finally{hg(Sg,e,-1),_g(e)}}function bg(e){return(Sg.get(e)??0)>0}function tee(e){return(Cg.get(e)??0)>0}function nee(e){if(Tg.has(e))return;Tg.add(e);let t=e.ownerDocument;hg(Cg,t,1);let n=t.defaultView??globalThis,r=null,i=!1,a=()=>{i||(i=!0,e.removeEventListener(`toggle`,a),r!=null&&(n.clearTimeout(r),r=null),Tg.delete(e),hg(Cg,t,-1),_g(t))};e.addEventListener(`toggle`,a),r=n.setTimeout(a,0)}function xg(e,t){if(!gg(e)){t();return}let n=wg.get(e);n==null?wg.set(e,[t]):n.push(t)}var Sg,Cg,wg,Tg,Eg=o((()=>{Xn(),Sg=Jn(`layer/popover-operations/own-operations-by-document`,1),Cg=Jn(`layer/popover-operations/browser-hides-by-document`,1),wg=Jn(`layer/popover-operations/settled-callbacks-by-document`,1),Tg=Yn(`layer/popover-operations/browser-hides-in-flight`,1)}));function Dg(e){let t=new Set;for(let n=Object.getPrototypeOf(e);n!=null&&n!==Object.prototype;n=Object.getPrototypeOf(n))for(let[e,r]of Object.entries(Object.getOwnPropertyDescriptors(n)))r.set!=null&&t.add(e);return[...t]}function Og(e){return typeof CSSNumericValue<`u`&&e instanceof CSSNumericValue?e.toString():typeof e==`object`&&e&&Object.getPrototypeOf(e)===Object.prototype?Object.entries(e).map(([e,t])=>`${e}:${Og(t)??String(t)}`).join(`;`):null}function kg(e,t){if(e===t)return!1;let n=Og(e);return n==null||n!==Og(t)}function Ag(e){let t=e.effect,n={};for(let t of Dg(e))n[t]=e[t];let r={};if(t!=null)for(let e of Dg(t))r[e]=t[e];return{animation:e,name:e.animationName??``,target:t?.target??null,pseudoElement:t?.pseudoElement??null,values:n,effectValues:r,timing:t?.getTiming()??null,keyframes:t?.getKeyframes()??null,playState:e.playState,replaceState:e.replaceState}}function jg(e,t,n){e[t]=n}function Mg(e,t){for(let n of Dg(e))n in t.effectValues&&kg(t.effectValues[n],e[n])&&jg(e,n,t.effectValues[n]);if(t.timing!=null){let n=e.getTiming(),r={};for(let[e,i]of Object.entries(t.timing))kg(i,n[e])&&(r[e]=i);Object.keys(r).length>0&&e.updateTiming(r)}t.keyframes!=null&&JSON.stringify(t.keyframes)!==JSON.stringify(e.getKeyframes())&&e.setKeyframes(t.keyframes)}function Ng(e,t){let n=()=>{t.startTime!=null&&e.playState!==`idle`&&(e.startTime=t.startTime)};t.startTime==null?t.ready.then(n,()=>void 0):n()}function Pg(e,t){let n=e.effect;n!=null&&Mg(n,t);let r=e;for(let n of[`timeline`,`rangeStart`,`rangeEnd`])n in t.values&&kg(t.values[n],r[n])&&jg(e,n,t.values[n]);for(let n of Dg(e))!Rg.has(n)&&n in t.values&&kg(t.values[n],r[n])&&jg(e,n,t.values[n]);t.replaceState===`persisted`&&e.replaceState!==`persisted`&&e.persist();let i=t.values.playbackRate;typeof i==`number`&&i!==e.playbackRate&&(e.playbackRate=i),t.playState===`paused`&&e.playState!==`paused`?e.pause():t.playState!==`paused`&&e.playState===`paused`&&e.play();let a=t.values.startTime,o=t.values.currentTime;t.playState===`finished`?e.finish():a==null?o!=null&&(e.currentTime=o,t.playState===`running`&&Ng(e,t.animation)):e.startTime=a}function ree(e){e.target!=null&&e.keyframes!=null&&Pg(e.target.animate(e.keyframes,{pseudoElement:e.pseudoElement??void 0}),e)}function Fg(e){return typeof CSSTransition<`u`&&e instanceof CSSTransition}function Ig(e){return typeof CSSAnimation<`u`&&e instanceof CSSAnimation}function iee(e){let t=e.effect?.getComputedTiming().endTime;t!=null&&Number.isFinite(Number(t))&&e.playbackRate!==0&&e.finish()}function aee(e,t){let n=e.target==null?null:t(e.target);if(n==null)return null;let r=Object.fromEntries(Object.entries(e.values).filter(([e])=>!zg.has(e))),i={...e.effectValues};return`target`in i&&(i.target=n),{...e,target:n,values:r,effectValues:i}}function Lg(e,t,n){let r=e.getAnimations({subtree:!0}),i=new Set(r),a=[];for(let e of t)i.has(e.animation)||(Fg(e.animation)?ree(e):a.push(e));let o=r.filter(e=>(Ig(e)||Fg(e))&&!n.has(e)),s=[];for(let e of o){let t=e.effect,n=e.animationName??``,r=a.findIndex(e=>e.name===n&&e.target===(t?.target??null)&&e.pseudoElement===(t?.pseudoElement??null));r===-1?s.push(e):Pg(e,a.splice(r,1)[0])}for(let e of s){let t=e.animationName??``,n=a.findIndex(e=>e.name===t);n===-1?iee(e):Pg(e,a.splice(n,1)[0])}}function oee(e){return typeof e.getAnimations==`function`?e.getAnimations({subtree:!0}).filter(e=>Ig(e)||Fg(e)).map(Ag):[]}function see(e,t,n){typeof t.getAnimations==`function`&&Lg(t,e.flatMap(e=>aee(e,n)??[]),new Set)}var Rg,zg,Bg=o((()=>{Rg=new Set([`effect`,`timeline`,`rangeStart`,`rangeEnd`,`playbackRate`,`startTime`,`currentTime`]),zg=new Set([`id`,`onfinish`,`oncancel`,`onremove`])}));function cee(e,t){if(typeof e.getAnimations!=`function`){t();return}let n=e.getAnimations({subtree:!0}),r=n.map(Ag);t(),Lg(e,r,new Set(n))}var Vg=o((()=>{Bg()}));function Hg(){return(0,Ug.use)(Wg)}var Ug,Wg,Gg=o((()=>{Ug=u(f(),1),ys(),Wg=_s(`LayerContext`,1,null),Wg.displayName=`LayerContext`})),Kg,qg=o((()=>{Kg={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 Jg(e){return JSON.stringify([e.attributes===!0,e.attributeFilter==null?null:[...e.attributeFilter].sort(),e.attributeOldValue===!0,e.characterData===!0,e.childList===!0,e.subtree===!0])}function Yg(e){let t=new Map,n=e.subtree===!0,r=e=>{let r=new Map;for(let i of e){let e=new Set;if(!n)t.get(i.target)?.forEach(t=>e.add(t));else for(let n=i.target;n;n=n.parentNode)t.get(n)?.forEach(t=>e.add(t));e.forEach(e=>{let t=r.get(e);t?t.push(i):r.set(e,[i])})}r.forEach((e,t)=>t(e))};return{observer:new MutationObserver(r),callbacks:t,deliver:r}}function Xg(e,t,n){if(typeof MutationObserver>`u`)return()=>{};let r=Jg(t),i=e_.get(r);i??(i=Yg(t),e_.set(r,i));let{observer:a,callbacks:o}=i,s=o.get(e);s?s.add(n):(o.set(e,new Set([n])),a.observe(e,t));let c=!0;return()=>{if(!c)return;c=!1;let t=o.get(e);t?.delete(n),t?.size===0&&o.delete(e),o.size===0&&e_.get(r)?.observer===a&&(a.disconnect(),e_.delete(r))}}function Zg(e,t){return Xg(e,$g,t)}function Qg(e){let t=e_.get(Jg(e)),n=t?.observer.takeRecords()??[];t!=null&&n.length>0&&t.deliver(n)}var $g,e_,t_=o((()=>{$g={characterData:!0,childList:!0,subtree:!0},e_=new Map}));function n_(e){return typeof e==`number`?`${e}px`:e}function r_(e){cee(e,()=>{let t=e.style.display;e.style.display=`none`,e.getBoundingClientRect(),e.style.display=t})}function i_(e){return e.playState===`running`&&e.effect?.getComputedTiming().endTime!==1/0}function a_(e){return e==null||typeof e.getAnimations!=`function`?[]:e.getAnimations({subtree:!0}).filter(i_)}function o_(e){let t=e.ownerDocument.defaultView?.getComputedStyle(e);if(t==null)return!1;let n=e=>t.getPropertyValue(e).split(`,`).map(e=>e.trim()),r=n(`transition-behavior`),i=n(`transition-duration`).map(parseFloat),a=n(`transition-delay`).map(parseFloat);return n(`transition-property`).some((e,t)=>{let n=r[t%r.length],o=i[t%i.length]||0,s=a[t%a.length]||0;return(e===`all`||e===`display`)&&n===`allow-discrete`&&o+Math.max(0,s)>0})}function s_(e){return(e.ownerDocument.defaultView?.getComputedStyle(e))?.getPropertyValue(`animation-name`).trim()||`none`}function c_({layer:e,anchor:t},n){if(e.width<=0||e.height<=0)return!1;let r=e.left0&&t.topn)}function l_(e,t){if(t==null)return null;let n=t.getBoundingClientRect(),r=e.ownerDocument.documentElement.clientHeight,i={anchor:n,layer:Rh(e)};return c_(i,r)?(r_(e),null):i}function u_(e,t,n){t==null||!e.hasAttribute(`data-layer-anchored`)?rg(e,null):rg(e,n==null?ng(e,t):tg(n.layer,n.anchor))}function d_(e){let t=[];for(let n=e;n;n=bd(n)){let e=n.getRootNode();ed(e)&&!t.includes(e)&&t.push(e)}return t}function f_(e,t,n){let r=null,i=null,a=()=>{r!==null&&(e.cancelAnimationFrame(r),r=null),i!==null&&(e.clearTimeout(i),i=null)},o=()=>{a(),r=e.requestAnimationFrame(()=>{r=null,i=e.setTimeout(()=>{i=null,r=e.requestAnimationFrame(()=>{r=null,n()})})})},s=e.onscrollend!==void 0,c=e=>xd(e.target,t),l=t=>{c(t)&&(a(),s||(i=e.setTimeout(()=>{i=null,o()},k_)))},u=e=>{c(e)&&o()},d=[bu(e,`scroll`,l)];s&&d.push(bu(e,`scrollend`,u));let f={capture:!0,passive:!0},p=d_(t);for(let e of p)e.addEventListener(`scroll`,l,f),s&&e.addEventListener(`scrollend`,u,f);return()=>{for(let e of d)e();for(let e of p)e.removeEventListener(`scroll`,l,f),e.removeEventListener(`scrollend`,u,f);a()}}function p_(e,t,n,r,i){let a=e.ownerDocument.defaultView;if(!a)return()=>{};let o=()=>{n()&&l_(e,t)},s=null;if(typeof ResizeObserver<`u`){s=new ResizeObserver(o),s.observe(e);for(let t of Array.from(e.children))s.observe(t);s.observe(t)}a.addEventListener(`resize`,o);let c=f_(a,t,()=>{n()&&(r()&&e.hasAttribute(`data-layer-anchored`)?(r_(e),i()):l_(e,t))});return()=>{s?.disconnect(),c(),a.removeEventListener(`resize`,o)}}function m_(e){if(e.getClientRects().length===0)return!1;let t=e.closest(`dialog`);return t==null||id(t)}function h_(e){if(e.getClientRects().length===0)return!1;let t=e.closest(`dialog`);return t!=null&&!id(t)}function g_(e,t){let n=e.ownerDocument,r=n.defaultView;if(typeof n.getAnimations!=`function`||r==null)return t(),()=>{};let i=!1,a=r.requestAnimationFrame(()=>{if(i)return;let r=n.getAnimations().filter(t=>{let r=t.effect,i=r!=null&&`target`in r?r.target:null;return!Zu(i)||!(i===e||i.contains(e))||t.timeline!==n.timeline?!1:i_(t)});r.length===0?t():Promise.all(r.map(async e=>e.finished.catch(()=>{}))).then(()=>{i||t()})});return()=>{i=!0,r.cancelAnimationFrame(a)}}function lee(){let e=null,t=new Set;return{get:()=>e,set:n=>{if(n!==e){e=n;for(let e of t)e()}},subscribe:e=>(t.add(e),()=>{t.delete(e)})}}function uee({mountStore:e,renderLayer:t,sentinelRef:n}){let r=(0,x_.useSyncExternalStore)(e.subscribe,e.get,A_),i=(0,C_.jsx)(`template`,{ref:n});if(r===null)return(0,C_.jsx)(C_.Fragment,{children:i});let a=t(r);return(0,C_.jsxs)(C_.Fragment,{children:[i,r.portalTarget?(0,S_.createPortal)(a,r.portalTarget):a]})}function __(e,t){let n=e.ownerDocument.defaultView;if(!n)return{};let r=n.getComputedStyle(e),i=n.getComputedStyle(t);return{...r.direction!==i.direction&&{direction:r.direction},...r.writingMode!==i.writingMode&&{writingMode:r.writingMode}}}function dee(e=`above`){return`flip-block, flip-inline, flip-block flip-inline, ${ih(e,`same`)}, ${ih(e,`opposite`)}`}function fee(e,t,n){let r=e===`above`||e===`below`,i=e===`above`||e===`start`?`self-end`:`self-start`,a=t===`center`?`anchor-center`:`${n?``:`unsafe `}self-${t}`;return r?{alignSelf:i,justifySelf:a}:{justifySelf:i,alignSelf:a}}function pee(e,t,n){let r=e===`above`||e===`below`,i=e===`above`?O_.sideAbove:e===`below`?O_.sideBelow:e===`start`?O_.sideStart:O_.sideEnd;if(t===`center`)return[i,r?O_.centerInline:O_.centerBlock];let a=t===`start`,o=r?a?O_.alignInlineStart:O_.alignInlineEnd:a?O_.alignBlockStart:O_.alignBlockEnd,s=n?null:r?a?O_.heldInlineStart:O_.heldInlineEnd:a?O_.heldBlockStart:O_.heldBlockEnd;return s==null?[i,o]:[i,o,s]}function v_(e){let{mode:t,onShow:n,onHide:r,lightDismiss:i=!1}=e,a=t===`context`?e.lazyMount??!1:!1,o=a&&t===`context`?e.keepsMountAfterShow??!1:!1,s=t===`context`?e.keepsAnchorClear??!1:!1,c=t===`context`?e.watchesOutsidePans:void 0,l=t===`context`?e.writesEntranceSide??!1:!1,u=nu(t===`context`?e.onPlacedAfresh:void 0),d=t===`context`?e.onCloseStart:void 0,f=t===`context`?e.onOpenPendingChange:void 0,p=nu(t===`context`&&e.waitsForAnchor===!0),m=nu(d),h=(0,x_.useId)(),g=`--astryx-layer-${h.replace(/:/g,``)}`,[_,v]=(0,x_.useState)(!1),[y,x]=(0,x_.useState)(!0),S=(0,x_.useRef)(!0),w=(0,x_.useCallback)(e=>{S.current!==e&&(S.current=e,x(e))},[]),T=Hg()?.inset,E=(0,x_.useRef)(null),D=(0,x_.useRef)(null),O=(0,x_.useRef)(null),k=(0,x_.useRef)(null),A=(0,x_.useRef)(null),j=(0,x_.useRef)(null),[M]=(0,x_.useState)(lee),[N,P]=(0,x_.useState)(0),F=(0,x_.useRef)(!1),I=(0,x_.useRef)(null),L=(0,x_.useRef)(!1),R=(0,x_.useRef)(null),z=(0,x_.useRef)(!1),B=(0,x_.useCallback)(e=>{let t={};R.current=t;let n=()=>{if(R.current!==t)return;R.current=null;let e=O.current;!L.current&&e!=null&&up(e,g)},r=z.current?a_(e):[];r.length===0?n():Promise.all(r.map(async e=>e.finished.catch(()=>void 0))).then(n)},[g]),V=(0,x_.useRef)(null),H=(0,x_.useRef)(null),ee=(0,x_.useRef)(null),U=(0,x_.useRef)(null),te=(0,x_.useRef)(null),W=(0,x_.useCallback)(()=>{te.current?.(),te.current=null},[]),G=(0,x_.useCallback)(()=>{let e=Sp();return V.current===e},[]),ne=(0,x_.useCallback)(e=>{if(typeof e.showPopover==`function`){let t=e.ownerDocument,n=tee(t);try{yg(t,()=>{let t=O.current,n=t?.ownerDocument.defaultView;e.showPopover({source:n!=null&&t instanceof n.HTMLElement?t:void 0})})}catch(e){if(n&&e?.name===`InvalidStateError`)return!1;throw e}}else e.style.display=`block`;return D.current=e,!0},[]),re=(0,x_.useCallback)(e=>{if(t!==`context`)return!0;let n=j.current;if(n===null)return!1;let r=n.portalTarget??A.current?.parentElement??null;return e.parentElement===r},[t]),ie=(0,x_.useCallback)(()=>{if(t!==`context`)return;let e=A.current,n=e?.parentElement??null;if(!e||!n)return;yh(e.ownerDocument);let r=zp(n),i=F.current||L.current,a={portalTarget:r,portalStyle:r==null?{}:i?__(e,r):null},o=j.current!==null;j.current=a,M.set(a),o&&P(e=>e+1)},[t,M]),K=(0,x_.useCallback)(e=>{let t=j.current,n=A.current;if(t===null||t.portalTarget===null||t.portalStyle!==null||n===null)return;let r=__(n,t.portalTarget);r.direction!=null&&e.style.direction===``&&(e.style.direction=r.direction),r.writingMode!=null&&e.style.writingMode===``&&(e.style.writingMode=r.writingMode);let i={...t,portalStyle:r};j.current=i,M.set(i)},[M]),q=(0,x_.useCallback)(()=>{t===`context`&&a&&!o&&(j.current=null,M.set(null))},[t,a,o,M]),ae=(0,x_.useCallback)(()=>{if(G()&&H.current===O.current)return;if(i&&!L.current&&wp()){let e=E.current?.ownerDocument??document;F.current=!0,I.current?.(),I.current=Tp(e,()=>{I.current=null,F.current&&(F.current=!1,he.current())});return}let e=ee.current;e!=null&&L.current&&e.popover===E.current&&e.trigger!==O.current&&(e.moved=!0,D.current=null,L.current=!1,W());let t=E.current,r=t&&re(t)?t:null;if(!r)F.current=!0,ie();else if(!L.current){let e=()=>{F.current=!0,xg(r.ownerDocument,()=>{F.current&&(F.current=!1,he.current())})};if(bg(r.ownerDocument)){e();return}let t=o_(r),a=s_(r);K(r);let o=O.current;if(o!=null&&lp(o,g),!ne(r)){o!=null&&R.current==null&&up(o,g),e();return}let u=a!==`none`&&a!==s_(r);z.current=t||u,i&&(Op(r),c!=null&&(W(),te.current=c(r)));let d=s?l_(r,O.current):null;l||u_(r,O.current,d),L.current=!0,v(!0),n?.()}},[g,n,s,l,i,c,W,ie,K,ne,re,G]),oe=(0,x_.useRef)(null),se=(0,x_.useRef)(null),ce=(0,x_.useRef)(null),le=(0,x_.useRef)(null),[J,ue]=(0,x_.useState)(0);b(()=>{let e=le.current;le.current=null,e?.()},[J]);let de=(0,x_.useCallback)(()=>{let e=oe.current!=null;oe.current?.(),oe.current=null,se.current=null,ce.current&&=(ce.current.cancelled=!0,null),e&&f?.(!1)},[f]),fe=(0,x_.useCallback)(()=>{let e=oe.current!=null;oe.current=null,se.current=null,e&&f?.(!1)},[f]),pe=(0,x_.useCallback)(()=>{let e=t===`context`?O.current:null;if(e!=null&&oe.current!=null&&se.current===e)return;if(de(),!e){if(p.current){oe.current=()=>{},L.current||f?.(!0);return}ae();return}if(m_(e)||typeof ResizeObserver>`u`||typeof document.getAnimations!=`function`){ae();return}let n=e,r=e.getClientRects().length>0,i=e.closest(`dialog`),a=()=>{},o=!1,s=()=>{},c=()=>{},l=()=>{s(),h?.disconnect(),c(),i?.removeEventListener(`toggle`,m)},u=()=>{o=!0,l(),a=g_(e,()=>{fe(),ae()})},d=()=>{le.current=()=>{!o&&h_(n)&&(r?(o=!0,l(),fe(),ae()):u())},ue(e=>e+1)};function m(){o||(m_(n)?u():h_(n)&&d())}let h=typeof IntersectionObserver>`u`?null:new IntersectionObserver(m);s=qi(e,m),o?l():(h?.observe(e),i&&(c=Xg(i,{attributes:!0,attributeFilter:[`open`]},m),i.addEventListener(`toggle`,m))),oe.current=()=>{o=!0,l(),a()},se.current=e,L.current||f?.(!0)},[t,ae,de,fe,f,p]),me=(0,x_.useCallback)(()=>{if(I.current?.(),I.current=null,de(),F.current=!1,L.current){let e=E.current;m.current?.(),D.current=null,L.current=!1,W(),e&&(typeof e.hidePopover==`function`?yg(e.ownerDocument,()=>{e.hidePopover()}):e.style.display=`none`),v(!1),r?.()}B(E.current),q()},[r,q,B,de,W,m]),he=(0,x_.useRef)(pe);ru(he,pe);let ge=(0,x_.useRef)(null),_e=(0,x_.useCallback)(e=>{if(!e){let e=O.current;if(!e)return;let t={element:e,cancelled:!1};k.current=t;let n=()=>{t.cancelled||O.current!==e||(up(e,g),O.current=null,se.current===e&&de(),s&&L.current&&(ge.current?.(),ge.current=null))};p.current?n():queueMicrotask(n);return}k.current?.element===e&&(k.current.cancelled=!0,k.current=null),O.current&&O.current!==e&&up(O.current,g),e&&(L.current||R.current!=null)&&lp(e,g);let t=O.current;if(O.current=e,xp(e.ownerDocument),s&&L.current&&e!==t){ge.current?.(),ge.current=null;let t=E.current;t&&(ge.current=p_(t,e,()=>E.current===t&&O.current===e,()=>S.current,()=>u.current?.()),l_(t,e))}let n=se.current;if(oe.current!=null&&n!==e){de();let t={cancelled:!1};ce.current=t,queueMicrotask(()=>{t.cancelled||(ce.current=null,O.current===e&&!L.current&&he.current())})}},[g,de,s,u,p]),ve=(0,x_.useCallback)(e=>{if(U.current?.(),Cp())return;V.current=Sp(),H.current=O.current;let t=e.defaultView,n=null,r=()=>{V.current=null,H.current=null,e.removeEventListener(`click`,i,!0),n!==null&&(t?.clearTimeout(n),n=null),U.current===r&&(U.current=null)},i=()=>{e.removeEventListener(`click`,i,!0),t?n=t.setTimeout(()=>{n=null,U.current===r&&r()},0):r()};e.addEventListener(`click`,i,!0),U.current=r},[]);(0,x_.useEffect)(()=>(Sp(),()=>{U.current?.(),oe.current?.(),I.current?.(),I.current=null,W()}),[W]);let ye=(0,x_.useCallback)(e=>{let t=e,n=e.currentTarget;if(t.newState!==`closed`||n==null)return;if(L.current){nee(n),m.current?.(),ee.current={popover:n,trigger:O.current,moved:!1};return}let r=O.current;r!=null&&sp(r).includes(g)&&!z.current&&(R.current=null,up(r,g))},[g,m]),be=(0,x_.useCallback)(e=>{let t=e,n=ee.current;n!=null&&n.popover===e.currentTarget&&(ee.current=null,n.moved)||t.newState===`closed`&&L.current&&(D.current=null,L.current=!1,W(),ve(e.currentTarget?.ownerDocument??document),B(e.currentTarget),v(!1),r?.(),q())},[r,q,ve,B,W]),xe=(0,x_.useRef)(null),Se=(0,x_.useRef)(null),Ce=(0,x_.useCallback)((e,t)=>{xe.current&&Se.current&&(xe.current!==e||Se.current!==t)&&(xe.current.removeEventListener(`toggle`,Se.current),xe.current.removeEventListener(`beforetoggle`,ye),xe.current=null,Se.current=null),e&&xe.current!==e&&(e.addEventListener(`toggle`,t),e.addEventListener(`beforetoggle`,ye),xe.current=e,Se.current=t)},[ye]),{cap:we,lift:Te,inset:Ee,followLayerElement:De}=Zh(_&&t===`context`,E),Oe=(0,x_.useCallback)(e=>{if(E.current=e,Ce(e,be),e&&F.current)F.current=!1,pe();else if(e&&L.current&&D.current!==e&&re(e)){if(De(),ne(e)){let t=s?l_(e,O.current):null;u_(e,O.current,t)}else xg(e.ownerDocument,()=>{let t=E.current;if(L.current&&t===e&&D.current!==e&&ne(e)){let t=s?l_(e,O.current):null;u_(e,O.current,t)}})}},[be,Ce,pe,ne,re,s,De]),ke=(0,x_.useCallback)(e=>{A.current=e,e&&(!a||F.current||L.current||o&&j.current!=null)&&ie()},[a,o,ie]);(0,x_.useEffect)(()=>(E.current&&Ce(E.current,be),()=>{xe.current&&Se.current&&(xe.current.removeEventListener(`toggle`,Se.current),xe.current.removeEventListener(`beforetoggle`,ye),xe.current=null,Se.current=null)}),[be,Ce,ye]),b(()=>{if(!_||t!==`context`)return;let e=O.current;if(!e)return;let n=e.ownerDocument.defaultView;if(n){let t=e.getBoundingClientRect(),r=t.bottom>=0&&t.right>=0&&t.top<=n.innerHeight&&t.left<=n.innerWidth;w(r)}if(typeof IntersectionObserver>`u`)return;let r=new IntersectionObserver(e=>{let t=e[e.length-1];t&&w(t.isIntersecting)});return r.observe(e),()=>r.disconnect()},[_,t,w]),b(()=>{if(!s||!_||t!==`context`)return;let e=E.current,n=O.current;if(e&&n)return ge.current?.(),ge.current=p_(e,n,()=>E.current===e&&O.current===n,()=>S.current,()=>u.current?.()),()=>{ge.current?.(),ge.current=null}},[s,_,t,N]),b(()=>{if(!_||t!==`context`||s)return;let e=E.current,n=O.current,r=n?.ownerDocument.defaultView;if(e&&n&&r)return f_(r,n,()=>{S.current&&E.current===e&&e.hasAttribute(`data-layer-anchored`)&&(r_(e),u.current?.())})},[_,t,s,N,u]);let Ae=(0,x_.useCallback)((e,t)=>{let{placement:n=`above`,alignment:r=`center`,positioning:a=`anchor`,offset:o,role:c,\"aria-label\":l,xstyle:u,className:d,style:f,as:p=`div`,onMouseEnter:m,onMouseLeave:_}=t||{},v=dee(n),b=s&&a===`anchor`?_h(n):``,x=a===`custom`?{positionAnchor:g}:{positionAnchor:g,positionTryFallbacks:b||v,...fee(n,r,y),...b?{alignSelf:dh(n)}:{}},S=o?n_(o):null,w=a===`anchor`&&S!=null?{[bh]:S}:{},E=a===`anchor`?S==null?n===`above`?O_.farAbove:n===`below`?O_.farBelow:n===`start`?O_.farStart:O_.farEnd:n===`above`?O_.placementAbove(S):n===`below`?O_.placementBelow(S):n===`start`?O_.placementStart(S):O_.placementEnd(S):null,D=a===`anchor`?[O_.viewportFit,...pee(n,r,y)]:null,O=C(Hp.reset,Wp.reset,O_.base,Kg.reset,O_.keyboardCap(we==null?`100vh`:`${we}px`,we==null?`visible`:`auto`,Ee==null?`initial`:`${Ee}px`),s&&O_.scrollsOnOverflow,D,E,u),k=d?`${d} ${O.className??``}`:O.className;return(0,C_.jsx)(uee,{mountStore:M,renderLayer:t=>(0,C_.jsx)(p,{ref:Oe,id:h,...a===`anchor`?{[nh]:``}:{},role:c,\"aria-label\":l,popover:i?`auto`:`manual`,className:k,style:{...O.style,...x,...a===`anchor`?Xh(Te)??{\"--_astryx-layer-lift\":`0px`}:null,...w,...fg(T),...t.portalStyle,...f},onMouseEnter:m,onMouseLeave:_,...rp(),children:(0,C_.jsx)(Wf,{children:e})}),sentinelRef:ke})},[g,T,h,y,s,we,Ee,Te,i,M,Oe,ke]),je=(0,x_.useCallback)((e,t)=>{let{x:n,y:r,xstyle:a,className:o,style:s}=t,c={top:r,left:n},l=C(Hp.reset,Wp.reset,O_.base,Kg.reset,O_.keyboardCap(`100vh`,`visible`,`initial`),O_.fixed,a),u=o?`${o} ${l.className??``}`:l.className;return(0,C_.jsx)(`div`,{ref:Oe,id:h,popover:i?`auto`:`manual`,className:u,style:{...l.style,...c,...s},...rp(),children:(0,C_.jsx)(Wf,{children:e})})},[Oe,h,i]),Me=(0,x_.useMemo)(()=>({ref:_e,anchorId:g,show:pe,hide:me,isOpen:_,id:h,render:Ae}),[_e,g,pe,me,_,h,Ae]),Ne=(0,x_.useMemo)(()=>({ref:void 0,show:pe,hide:me,isOpen:_,id:h,render:je}),[pe,me,_,h,je]);return t===`context`?Me:Ne}function y_(e){return v_(e)}function b_(e){return v_(e)}var x_,S_,C_,w_,T_,E_,D_,O_,k_,A_,j_=o((()=>{x_=u(f(),1),au(),D(),S_=g(),Xf(),op(),dp(),Pp(),Vp(),Up(),Gp(),eg(),ug(),rh(),Wh(),mg(),Dh(),Eg(),Vg(),Gg(),x(),qg(),Qi(),t_(),Td(),od(),Pu(),C_=mc(),w_={keoZOQ:`x1vhfslr`,k1K539:`x119uzjn`,$$css:!0},T_={keoZOQ:`x1lhixnp`,k1K539:`xlm3tn6`,$$css:!0},E_={k71WvV:`xa3ewmy`,$$css:!0},D_={keTefX:`x1cytvie`,$$css:!0},O_={keyboardCap:(e,t,n)=>[{\"--_layer-keyboard-max-block-size\":e==null?e:`x1ex41ac`,\"--_layer-keyboard-overflow\":t==null?t:`xypflj0`,\"--_layer-keyboard-inset-block-end\":n==null?n:`xihxjaz`,$$css:!0},{\"--x---_layer-keyboard-max-block-size\":e??void 0,\"--x---_layer-keyboard-overflow\":t??void 0,\"--x---_layer-keyboard-inset-block-end\":n??void 0}],scrollsOnOverflow:{kORKVm:`x1odjw0f`,$$css:!0},base:{keoZOQ:`xdj266r`,k1K539:`xat24cr`,keTefX:`x1lziwak`,k71WvV:`x14z9mp`,kLKAdn:`xexx8yu`,kGO01o:`x18d9i69`,kZCmMZ:`x1c1uobl`,kwRFfy:`xyri2b`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kVQacm:`x1rea2x4`,kWkggS:`xjbqb8w`,$$css:!0},fixed:{kVAEAm:`xixxii4`,$$css:!0},placementBelow:e=>[w_,{\"--x-marginBlockStart\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],placementAbove:e=>[T_,{\"--x-marginBlockEnd\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],placementEnd:e=>[E_,{keTefX:e==null?e:`x4lel18`,$$css:!0},{\"--x-marginInlineStart\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],placementStart:e=>[D_,{k71WvV:e==null?e:`x1c9tiao`,$$css:!0},{\"--x-marginInlineEnd\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],farBelow:{k1K539:`x119uzjn`,$$css:!0},farAbove:{keoZOQ:`x1lhixnp`,$$css:!0},farEnd:{k71WvV:`xa3ewmy`,$$css:!0},farStart:{keTefX:`x1cytvie`,$$css:!0},viewportFit:{kB7OPa:`x9f619`,ks0D6T:`xc0b1yq`,kskxy:`x3v4n1`,$$css:!0},sideBelow:{k87sOh:`x11qqqwi`,krVfgx:`x1ihzn68`,$$css:!0},sideAbove:{k87sOh:`xs7zcsv`,krVfgx:`x1dkbz8d`,$$css:!0},sideEnd:{kLqNvP:`xgn968y`,kt4wiu:`xtijo5x`,$$css:!0},sideStart:{kLqNvP:`x1o0tod`,kt4wiu:`x1rmahmk`,$$css:!0},alignInlineStart:{kLqNvP:`xjlsgp1`,kt4wiu:`xtijo5x`,k71WvV:`x144kxal`,$$css:!0},alignInlineEnd:{kLqNvP:`x1o0tod`,kt4wiu:`x1sii5lc`,keTefX:`xpdk1p0`,$$css:!0},alignBlockStart:{k87sOh:`x1pex6sq`,krVfgx:`x1ihzn68`,k1K539:`x3z50q0`,$$css:!0},alignBlockEnd:{k87sOh:`xs7zcsv`,krVfgx:`x1lalo65`,keoZOQ:`x1j6tnbc`,$$css:!0},heldInlineStart:{kLqNvP:`x1hirqua`,$$css:!0},heldInlineEnd:{kt4wiu:`xt5bzs0`,$$css:!0},heldBlockStart:{k87sOh:`x2tnmsz`,$$css:!0},heldBlockEnd:{krVfgx:`xbmjlmh`,$$css:!0},centerInline:{kLqNvP:`x1o0tod`,kt4wiu:`xtijo5x`,keTefX:`xpdk1p0`,k71WvV:`x144kxal`,$$css:!0},centerBlock:{k87sOh:`xs7zcsv`,krVfgx:`x1ihzn68`,keoZOQ:`x1j6tnbc`,k1K539:`x3z50q0`,$$css:!0}},k_=150,A_=()=>null})),M_,N_=o((()=>{M_={decelerationRate:{normal:.998,fast:.99},rubberBand:{coefficient:.55},bounce:{duration:.5,bounce:0},delaysContentTouchesMs:150,scrollToTopRate:.99035}})),P_=o((()=>{})),F_,I_,L_,R_,z_,B_=o((()=>{N_(),P_(),F_={allowableMovement:{value:45,unit:`px`},maximumIntervalBetweenTaps:{value:350,unit:`ms`},allowableSeparation:{value:45,unit:`px`},maximumTapDuration:{value:1500,unit:`ms`}},I_={minimumPressDuration:{value:500,unit:`ms`},allowableMovement:{value:10,unit:`px`}},L_={hysteresis:{value:10,unit:`px`}},R_={contentTouchDelay:{value:150,unit:`ms`},quickTapFlash:{value:100,unit:`ms`},slop:{value:10,unit:`px`},scrollBrake:{value:150,unit:`ms`},momentumMemory:{value:3e3,unit:`ms`}},z_={currentWeight:{value:.2,unit:`ratio`},scrollReleaseWeight:{value:.25,unit:`ratio`},stillness:{value:40,unit:`ms`}}}));function V_(e){let t=e.trim().split(/\\s+/);return t.includes(`auto`)||t.includes(`manipulation`)?{x:!0,y:!0}:t.includes(`none`)?{x:!1,y:!1}:{x:t.some(e=>e===`pan-x`||e===`pan-left`||e===`pan-right`),y:t.some(e=>e===`pan-y`||e===`pan-up`||e===`pan-down`)}}function H_(e,t){let n=e.ownerDocument.defaultView;if(n==null)return!1;for(let r=e;r!=null;r=bd(r))if(Qu(r)&&!V_(n.getComputedStyle(r).touchAction||`auto`)[t])return!1;return!0}function U_(e,t){let n=e.defaultView;if(n==null)return`hidden`;for(let r of[e.documentElement,e.body]){if(r==null)continue;let e=n.getComputedStyle(r),i=t===`x`?e.overflowX:e.overflowY;if(i===`hidden`||i===`clip`)return`hidden`}return`auto`}function W_(e,t){return t===`y`?e.scrollHeight-e.clientHeight>q_:e.scrollWidth-e.clientWidth>q_}function G_(e,{readsTouchAction:t=!0}={}){let n=e.ownerDocument,r=n.defaultView;if(r==null)return!1;let i=n.scrollingElement??n.documentElement,a=!0,o=!0;for(let s=e;s!=null;){if(Qu(s)){let e=r.getComputedStyle(s);if(t){let t=V_(e.touchAction||`auto`);a&&=t.x,o&&=t.y}if(s===i||s===n.documentElement)break;if(o&&K_.has(e.overflowY)&&W_(s,`y`)||a&&K_.has(e.overflowX)&&W_(s,`x`))return!0;if(e.position===`fixed`)return!1}s=bd(s)}return o&&K_.has(U_(n,`y`))&&W_(i,`y`)||a&&K_.has(U_(n,`x`))&&W_(i,`x`)}var K_,q_,J_=o((()=>{Td(),od(),K_=new Set([`auto`,`scroll`,`overlay`]),q_=1}));function Y_(e){tv.set(e,(tv.get(e)??0)+1)}function X_(e){return tv.get(e)??0}function Z_(e,t,n,{pointerTypes:r,closesOnPan:i=!1,onPan:a,onPress:o,root:s=null}={}){let c=e.ownerDocument,l=i?void 0:a,u=i||l!=null,d=s==null?[]:wd(s),f=!1,p=null,m=e=>r==null||r.includes(e.pointerType),h=()=>{f=!1,p=null,Y_(c),n()},g=e=>{m(e)&&(!i||p==null||p.id===e.pointerId||e.isPrimary)&&(f=!t(e.composedPath()),o?.(!f),u&&(p=f?{id:e.pointerId,x:e.clientX,y:e.clientY}:null))},_=e=>{if(p?.id===e.pointerId&&Math.max(Math.abs(e.clientX-p.x),Math.abs(e.clientY-p.y))>=L_.hysteresis.value){if(l!=null){let t=Math.abs(e.clientX-p.x)>=Math.abs(e.clientY-p.y)?`x`:`y`,n=e.composedPath()[0];f=!1,p=null,Qu(n)&&H_(n,t)&&l();return}h()}},v=e=>{if(l!=null||o!=null||!m(e)||i&&p?.id!==e.pointerId)return;let r=f;f=!1,p=null,r&&!t(e.composedPath())&&(Y_(c),n())},y=null,b=e=>t=>{t===y||e!=null&&t.composedPath().includes(e)||(y=t,v(t))},x=b(d.at(-1)?.host??null),S=d.map(({root:e,host:t},n)=>({shadow:e,host:t,handleRootUp:b(n===0?null:d[n-1].host),handleHostUp:b(null)})),C=e=>{m(e)&&(i&&p?.id===e.pointerId?h():i||(f=!1,p=null))},w=[c,...d.map(({root:e})=>e)];for(let e of w)e.addEventListener(`pointerdown`,g,!0);let T=c.defaultView,E=u&&T!=null?bu(T,`pointermove`,_):null;c.addEventListener(`pointerup`,x,!0);for(let{shadow:e,host:t,handleRootUp:n,handleHostUp:r}of S)e.addEventListener(`pointerup`,n,!0),t.addEventListener(`pointerup`,r);return c.addEventListener(`pointercancel`,C,!0),()=>{for(let e of w)e.removeEventListener(`pointerdown`,g,!0);E?.(),c.removeEventListener(`pointerup`,x,!0);for(let{shadow:e,host:t,handleRootUp:n,handleHostUp:r}of S)e.removeEventListener(`pointerup`,n,!0),t.removeEventListener(`pointerup`,r);c.removeEventListener(`pointercancel`,C,!0)}}function Q_(){let e=(0,ev.useRef)(null),t=(0,ev.useCallback)(()=>{e.current?.(),e.current=null},[]),n=(0,ev.useCallback)((t,n,r,i)=>{e.current?.(),e.current=Z_(t,n,r,i)},[]);return(0,ev.useEffect)(()=>t,[t]),(0,ev.useMemo)(()=>({start:n,stop:t}),[n,t])}function $_(e,t,n){return e.some(e=>e===t||n!==``&&Zu(e)&&Qu(e)&&e.id===n)}var ev,tv,nv=o((()=>{ev=u(f(),1),B_(),Td(),Pu(),od(),J_(),Xn(),tv=Jn(`layer/outside-press/outside-dismissals`,1)}));function rv(e){if(e==null)return;av.add(e);let t=e.parentElement;t?.hasAttribute(`popover`)&&av.add(t)}function iv(e){return av.has(e)}var av,ov=o((()=>{Xn(),av=Yn(`layer/layer-surface-press/surfaces`,1)}));function sv(e){return e.replace(/[\\x00-\\x1f\\x7f]/g,``).trim()}function mee(e){return e.toLowerCase().replace(/^([a-z][a-z\\d+.-]*:) +/,`$1`)}function cv(e){let t=sv(e),n=mee(t);return n.startsWith(`javascript:`)||n.startsWith(`vbscript:`)||n.startsWith(`data:text/html`)?null:t}function lv(e){return cv(e)!==null}function uv(e){if(e==null)return!0;if(typeof e==`string`)return lv(e);if(typeof e!=`object`)return!1;let{pathname:t,href:n,protocol:r,host:i,hostname:a}=e;for(let e of[t,n,r,i,a])if(e!=null&&typeof e!=`string`)return!1;if(typeof t==`string`&&!lv(t)||typeof n==`string`&&!lv(n))return!1;if(typeof r==`string`&&r!==``){let e=sv(r),n=e.endsWith(`:`)?e:`${e}:`;if(!lv(n)||!lv(`${n}${i||a||``}${typeof t==`string`?t:``}`))return!1}return!0}var dv=o((()=>{})),fv,pv=o((()=>{fv=`data-astryx-menu-press`})),mv,hv=o((()=>{mv={duration:`200ms`,easing:`cubic-bezier(0.42, 0, 0.58, 1)`}}));function gv(e,t,{jumps:n=!1}={}){let r=n=>e<=0||n>=e?1:t(Math.max(0,n)/e),i=Math.min(.001,e/100);return{duration:e,at:r,velocity:t=>{if(e<=0||t>=e)return 0;let a=Math.max(0,t-i),o=Math.min(e,t+i);if(!n)return(r(o)-r(a))/(o-a);let s=r(t),c=[];return t>a&&c.push((s-r(a))/(t-a)),o>t&&c.push((r(o)-s)/(o-t)),c.reduce((e,t)=>Math.abs(t)(r.currentTime=Math.min(1,Math.max(0,e))*1e3,r.effect?.getComputedTiming().progress??1)}function yv(e,{ms:t,points:n},r){if(t==null||t<=0)return null;if(n!=null)return gv(t/1e3,Xp(n));let i=gee(e,r);return i==null?null:gv(t/1e3,i,{jumps:!0})}function bv(e,{duration:t,easing:n}){let r=t==null?null:Pm(`duration`,t),i=n==null?null:Fm(n),a=e.ownerDocument,o=a.defaultView,s=t!=null&&r==null,c=n!=null&&i==null;if(o==null||!s&&!c)return{ms:r,points:i};let l=a.createElement(`span`);l.style.setProperty(`display`,`none`,`important`);let u=(e,t)=>(l.style.setProperty(e,t,`important`),l.style.getPropertyValue(e)!==``),d=s&&u(`transition-duration`,t),f=c&&u(`transition-timing-function`,n);(a.body??a.documentElement).append(l);try{let e=o.getComputedStyle(l);return{ms:d?_v(e):r,points:f?hee(e):i}}finally{l.remove()}}function xv(e,t){let n=e.getPropertyValue(t).trim();if(n!==``)return n;let r={};for(let[t,n]of Object.entries(Sv))r[t]=e.getPropertyValue(t).trim()||n;return ke(r)[t]??``}function _ee(e,{duration:t,easing:n}){let r=e.ownerDocument.defaultView?.getComputedStyle(e);return r==null?{ms:null,points:null}:bv(e,{duration:t==null?void 0:xv(r,t),easing:n==null?void 0:xv(r,n)})}function vee(e,t){let n=e.ownerDocument.defaultView?.getComputedStyle(e);return n==null?null:xv(n,t)}function yee(e,t){let n=e.ownerDocument,r=n.defaultView?.getComputedStyle(e);if(r==null)return null;if(t!=null){let i=xv(r,t.easing);return yv(n,bv(e,{duration:xv(r,t.duration),easing:i}),i)}let i=vv(r);return yv(n,{ms:_v(r),points:Fm(i)},i)}var Sv,Cv=o((()=>{Zp(),Km(),Ae(),Sv={\"--duration-fast-min\":`130ms`,\"--duration-fast\":`175ms`,\"--duration-fast-max\":`230ms`,\"--duration-medium-min\":`310ms`,\"--duration-medium\":`410ms`,\"--duration-medium-max\":`550ms`,\"--duration-slow-min\":`730ms`,\"--duration-slow\":`975ms`,\"--duration-slow-max\":`1300ms`,\"--duration-exit\":`var(--duration-fast)`,\"--ease-standard\":`cubic-bezier(0.24, 1, 0.4, 1)`,\"--ease-entrance\":`cubic-bezier(0.24, 1, 0.4, 1)`,\"--ease-move\":`cubic-bezier(0.24, 1, 0.4, 1)`,\"--ease-exit\":`cubic-bezier(0.3, 0, 0.6, 0.6)`}}));function wv(e,t){e.toggleAttribute(Ev,t)}function Tv(e){return e.hasAttribute(Ev)}var Ev,Dv=o((()=>{Ev=`data-astryx-press-held`}));function Ov(e){return(Zu(e)?($u(e)?e:e.ownerDocument)?.defaultView:e?.view)?.performance??(typeof performance>`u`?null:performance)}function kv(e,t){if(!(t==null||!Number.isFinite(t)||t<=0))return e!=null&&Math.abs(Date.now()-t){od()}));function Mv(){let e=Us()?.__adaptations?.widthBreakpoints;return(0,Pv.useMemo)(()=>e==null?En:Zt(e),[e])}function Nv(e={}){let t=Mv(),n=ps(is,e.isTouch??!1),r=ps(t.query,e.isCompact??!1);return(0,Pv.useMemo)(()=>({isTouch:n,isCompact:r}),[n,r])}var Pv,Fv=o((()=>{Pv=u(f(),1),gs(),Pn(),rc(),os(),En.query,En.coarsePointerQuery}));function Iv(e,t){if(!(e instanceof Element))return null;let n=e.closest(`[${Rv}]`);return n instanceof HTMLElement&&t.contains(n)?n:null}function Lv(e){return Array.from(e.querySelectorAll(`[${Rv}]`)).filter(t=>t.closest(zv)===e)}var Rv,zv,Bv,Vv=o((()=>{Rv=`data-astryx-press-box`,zv=`[data-astryx-pressable]`,Bv={[Rv]:``}}));function Hv(){if(typeof navigator>`u`)return!1;let e=`userAgentData`in navigator?navigator.userAgentData:null;if(e&&typeof e==`object`&&`platform`in e){let t=e.platform,n=typeof t==`string`?t.trim():``;if(n!==``&&n.toLowerCase()!==`unknown`)return/mac/i.test(n)}return/Mac|iPhone|iPad|iPod/.test(navigator.platform??``)}var Uv=o((()=>{}));function Wv(e){return e.button===0&&!(e.ctrlKey&&Hv())}var Gv=o((()=>{Uv()}));function Kv(e){return e.hasAttribute(qv)}var qv,Jv=o((()=>{qv=`data-astryx-press-holds-drag`}));function Yv(e){return{[Zv]:e.join(` `)}}function Xv(e,t=null){let n=e.closest(`[${Zv}]`);return n==null?!1:t==null||(n.getAttribute(Zv)??``).split(` `).includes(t)}var Zv,Qv=o((()=>{Zv=`data-astryx-press-group-item`}));function $v(e){let t=Ny;Ny=null,t?.end(e)}function ey(e){Py=e}function ty(e){let t=_ee(e,{duration:`--duration-exit`}).ms??_d,n=typeof window.matchMedia==`function`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches,r=Pm(`duration`,mv.duration);return n&&r!=null?Math.min(t,r):t}function ny(e){return typeof e.getAnimations==`function`?e.getAnimations({subtree:!0}).filter(t=>{let n=t.effect,r=n?.target??null;return n==null||r==null||!(`animationName`in t)||r!==e&&r.closest(`[data-astryx-pressable]`)!==e||!Number.isFinite(Number(n.getComputedTiming().endTime))?!1:t.playState!==`finished`}):[]}function ry(e,t,n){let r=!0,i=setTimeout(()=>{let t=ny(e);t.length===0?n():Promise.allSettled(t.map(async e=>e.finished)).then(()=>{r&&n()})},t);return()=>{r=!1,clearTimeout(i)}}function iy(e,t){t===`none`?e.removeAttribute(Dy):e.getAttribute(`data-astryx-press`)!==t&&e.setAttribute(Dy,t)}function ay(e){e.live?.timer!=null&&(e.live.timer(),e.live.timer=null)}function oy(e,t,n=0){let r=e.live;if(r==null)return;let i=t.gesture.phase!==r.gesture.phase;if((t.timer!=null||i)&&ay(e),r.gesture=t.gesture,iy(r.element,t.paint),t.gesture.phase===`idle`)e.live=null;else if(t.timer!=null){let i=t.timer,a=()=>{e.live!=null&&(e.live.timer=null),oy(e,hd(e.live?.gesture??gd(),{kind:Hy[i]}))};if(i===`fade`)r.timer=ry(r.element,ty(r.element),a);else{let e=i===`onset`?Math.max(0,Vy.onset-n):Vy[i],t=setTimeout(a,e);r.timer=()=>clearTimeout(t)}}}function sy(e){if(!(e instanceof Element))return null;let t=e.closest(`[${Ey}]`);return!(t instanceof HTMLElement)||t.matches(ky)||Tv(t)?null:t}function cy(e){return Date.now()-Ly>=150?!1:Ry instanceof Node&&Ry.contains(e)}function ly(e){e.live?.gesture.phase===`dead`&&(ay(e),e.live=null)}function uy(e){let t=e.live;t!=null&&(ay(e),t.element.removeAttribute(Dy),e.live=null,e===Fy&&Ty(!1))}function dy(e){My.live?.element===e&&uy(My),Fy.live?.element===e&&uy(Fy)}function fy(e,t){e.live?.element===t&&uy(e)}function py(){return typeof window.matchMedia==`function`&&window.matchMedia(`(pointer: coarse)`).matches}function my(e){let t=sy(e);return t!=null&&hy(t)}function hy(e){return Lv(e).length>0}function bee(e,t){let n=sy(e);return n==null||n.closest(jy)!=null||t!=null&&Xv(n,`mouse`)||t==null&&n!==e?null:n}function gy(e,t){uy(Fy);let n=bee(e,t);n!=null&&(fy(My,n),Fy.live={element:n,gesture:gd(),pointerId:t,timer:null},Ty(t==null),oy(Fy,hd(Fy.live.gesture,{kind:`buttonDown`})))}function _y(e){return hy(e)&&!py()&&typeof window.matchMedia==`function`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function vy(){Ty(!1),Fy.live!=null&&(_y(Fy.live.element)?yy():oy(Fy,hd(Fy.live.gesture,{kind:`up`})))}function yy(){Ty(!1),Fy.live!=null&&(oy(Fy,hd(Fy.live.gesture,{kind:`cancel`})),ly(Fy))}function xee(e){if(e.pointerType===`mouse`){(py()?e.button===0:Wv(e)&&my(e.target))&&gy(e.target,e.pointerId);return}if(e.pointerType===`pen`&&!Wv(e)&&my(e.target))return;if(kee(),$v(!1),My.live!=null){if(My.live.gesture.phase!==`fading`&&My.live.gesture.phase!==`flash`){uy(My);return}uy(My)}let t=sy(e.target),n=e.pointerType===`pen`&&t!=null&&hy(t),r=t!=null&&!n&&cy(t);if(zy=Date.now(),By=e.target instanceof Node?e.target:null,t==null||Xv(t,e.pointerType))return;let i=Py?.start(t,e.target)??null,a=r?null:{element:t,gesture:gd(),pointerId:e.pointerId,timer:null};i!=null&&(Ny={pointerId:e.pointerId,live:a,end:i}),a!=null&&(fy(Fy,t),My.live=a,oy(My,hd(a.gesture,{kind:`down`,x:e.clientX,y:e.clientY,delayed:!n&&G_(t)}),Av(e.timeStamp,e)))}function See(e){let t=My.live;t==null||t.pointerId!=null&&e.pointerId!==t.pointerId||Kv(t.element)||oy(My,hd(t.gesture,{kind:`move`,x:e.clientX,y:e.clientY}))}function Cee(e){if(e.pointerType===`mouse`){Fy.live!=null&&Fy.live.pointerId===e.pointerId&&vy();return}if(zy=Date.now(),e.target instanceof Node&&(By=e.target),Ny!=null&&Ny.pointerId===e.pointerId){let e=Ny.live;$v(e!=null&&My.live===e&&e.gesture.phase!==`dead`)}let t=My.live;if(t==null||t.pointerId!=null&&e.pointerId!==t.pointerId)return;let n=e.pointerType===`pen`&&_y(t.element)?`cancel`:`up`;oy(My,hd(t.gesture,{kind:n})),ly(My)}function by(e){let t=e;if(t?.pointerType===`mouse`){Fy.live!=null&&Fy.live.pointerId===t.pointerId&&yy();return}t?.pointerId!=null&&Ny?.pointerId===t.pointerId&&$v(!1);let n=My.live;n!=null&&(oy(My,hd(n.gesture,{kind:`cancel`})),ly(My))}function wee(){by(),yy()}function Tee(e){let t=e.target instanceof Node?e.target:document;Date.now()-zy<3e3&&By!=null&&t.contains(By)&&(Ly=Date.now(),Ry=t);let n=My.live;n!=null&&(t===document||t.contains(n.element))&&by()}function Eee(e){return e instanceof HTMLButtonElement||e instanceof HTMLInputElement&&Ay.has(e.type)}function Dee(e){return e instanceof Element&&Xv(e)}function xy(e){e.key!==` `||e.repeat||e.isComposing||e.defaultPrevented||!Eee(e.target)||!(py()||Dee(e.target))||gy(e.target,null)}function Sy(e){e.key===` `&&Fy.live!=null&&Fy.live.pointerId==null&&vy()}function Cy(){Fy.live!=null&&Fy.live.pointerId==null&&vy()}function Oee(){document.visibilityState===`hidden`&&($v(!1),uy(My),uy(Fy))}function wy(e){e!==(Wy!=null)&&(e?Wy=bu(window,`touchcancel`,by):(Wy?.(),Wy=null))}function kee(){Gy??(Gy=us(window,wy),wy(ss(window)))}function Aee(){Uy=[bu(window,`pointerdown`,xee),bu(window,`pointermove`,See),bu(window,`pointerup`,Cee),bu(window,`pointercancel`,by),bu(window,`dragstart`,wee),bu(window,`scroll`,Tee),bu(window,`visibilitychange`,Oee)],window.addEventListener(`keydown`,xy,qy)}function jee(){$v(!1),Py?.endWaits();for(let e of Uy.splice(0))e();Gy?.(),Gy=null,wy(!1),window.removeEventListener(`keydown`,xy),Ty(!1)}function Ty(e){e!==Jy&&(Jy=e,e?(window.addEventListener(`keyup`,Sy,qy),window.addEventListener(`blur`,Cy,Ky)):(window.removeEventListener(`keyup`,Sy),window.removeEventListener(`blur`,Cy,Ky)))}function Mee(){if(typeof window>`u`)return()=>void 0;Iy===0&&Aee(),Iy+=1;let e=!1;return()=>{e||(e=!0,--Iy,Iy>0||(jee(),uy(My),uy(Fy),Ly=0,Ry=null,zy=0,By=null))}}var Ey,Dy,Oy,ky,Ay,jy,My,Ny,Py,Fy,Iy,Ly,Ry,zy,By,Vy,Hy,Uy,Wy,Gy,Ky,qy,Jy,Yy=o((()=>{pv(),yd(),ds(),hv(),Km(),Cv(),Dv(),Pu(),J_(),jv(),Fv(),Vv(),Gv(),Jv(),Qv(),Ey=`data-astryx-pressable`,Dy=`data-astryx-press`,Oy={[Ey]:``},ky=`:disabled, [aria-disabled=\"true\"]`,Ay=new Set([`button`,`image`,`reset`,`submit`]),jy=`[${fv}]`,My={live:null},Ny=null,Py=null,Fy={live:null},Iy=0,Ly=0,Ry=null,zy=0,By=null,Vy={fade:_d,flash:100,onset:150},Hy={fade:`fadeEnd`,flash:`flashEnd`,onset:`onset`},Uy=[],Wy=null,Gy=null,Ky={capture:!0,passive:!0},qy={passive:!0},Jy=!1}));function Xy(e){return e.matches(ob)&&!e.matches(sb)}function Zy(e,t,n=Xy){let r=e;for(;r!=null&&r!==t&&r!==document.body;){if(n(r))return r;r=r.parentElement}return null}function Qy(e,t){return Zy(e,t,$y)!=null}function $y(e){return Xy(e)||iv(e)}function eb(e,t,n){let r=e.target;t!=null&&(e.pointerType===`touch`||Lv(t).length!==0)&&r instanceof Element&&r!==e.currentTarget&&Qy(r,t)&&n?.contains(r)!==!0&&dy(t)}function tb(e){if(typeof document>`u`||!(`getSelection`in document))return!1;let t=document.getSelection();return t==null||t.isCollapsed?!1:e.contains(t.anchorNode)}function nb(e){let{containerRef:t}=e;return(0,ib.useEffect)(()=>{let e=t.current;e&&e.setAttribute(ab,`true`)},[t]),rb(e)}function rb({containerRef:e,interactiveRef:t,onClick:n,href:r,target:i,disabled:a=!1}){return{onClick:(0,ib.useCallback)(o=>{if(a)return;let s=e.current;if(!s||tb(s))return;let c=o.target;if(c instanceof Element&&!(c!==o.currentTarget&&Qy(c,s))&&(n?.(o),!o.defaultPrevented&&(r!=null&&lv(r)&&(i===`_blank`||o.ctrlKey||o.metaKey?window.open(r,`_blank`,`noopener`):t?.current?t.current.click():window.location.href=r),r==null&&n==null&&t?.current))){let e=new MouseEvent(`click`,{bubbles:o.bubbles,cancelable:o.cancelable,ctrlKey:o.ctrlKey,metaKey:o.metaKey,shiftKey:o.shiftKey,altKey:o.altKey,button:o.button});t.current.dispatchEvent(e),o.stopPropagation()}},[e,t,n,r,i,a]),onMouseUp:(0,ib.useCallback)(t=>{if(a)return;let n=e.current;if(!n)return;let i=t.target;i instanceof Element&&t.button===1&&r!=null&&lv(r)&&(i===t.currentTarget||!Qy(i,n))&&window.open(r,`_blank`,`noopener`)},[e,r,a]),onPointerDown:(0,ib.useCallback)(n=>{a||eb(n,e.current,t?.current??null)},[e,t,a])}}var ib,ab,ob,sb,cb=o((()=>{ib=u(f(),1),ov(),dv(),Yy(),Vv(),ab=`data-pressable-container`,ob=[`button`,`a`,`input`,`select`,`textarea`,`[role=\"button\"]`,`[role=\"link\"]`,`[role=\"checkbox\"]`,`[role=\"radio\"]`,`[role=\"switch\"]`,`[role=\"tab\"]`,`[role=\"menuitem\"]`,`[role=\"option\"]`,`[role=\"combobox\"]`,`[role=\"listbox\"]`,`[role=\"slider\"]`,`[role=\"spinbutton\"]`,`[${ab}]`].join(`,`),sb=`[aria-readonly=\"true\"]`}));function lb(e){if(e.getAttribute(`aria-disabled`)===`true`)return!0;try{return e.matches(`:disabled`)}catch{return!1}}var ub=o((()=>{}));function db(e){let t=(0,vb.useRef)(!1),n=e=>{t.current=Np.has(e.pointerType)},r=e=>{t.current&&e.preventDefault(),t.current=!1};return e===`click`?{onPointerDown:n,onClick:r}:{onPointerDown:n,onMouseDown:r}}function fb(e){if(lb(e))return!1;let t=e.getAttribute(`role`);if(t!=null&&t!==``)return yb.has(t);switch(e.tagName){case`LABEL`:{let t=e.control;return t==null||!lb(t)}case`BUTTON`:case`INPUT`:case`SELECT`:case`SUMMARY`:case`TEXTAREA`:return!0;case`A`:case`AREA`:return e.hasAttribute(`href`);default:return hb(e)}}function pb(e){if(lb(e))return!0;if(e.tagName===`LABEL`){let t=e.control;return t!=null&&lb(t)}return!1}function mb(e){let t=Zy(e,null,e=>Xy(e)||e.tagName===`LABEL`||lb(e));return t!=null&&pb(t)}function hb(e){if(e.isContentEditable===!0)return!0;let t=e.getAttribute(`contenteditable`);return t!=null&&t!==`false`}function gb(e){let t=_b(e);return{isTouchPointerRef:t.isTouchPointerRef,isTouchInteraction:t.isTouchInteraction,handlePointerEnter:t.handlePointerEnter,handlePointerDown:t.handlePointerDown,clearTapOpen:t.clearTapOpen}}function _b(e,t,n=!1){let{touchTrigger:r,isEnabled:i,isControlled:a,isOpen:o,layerId:s,triggerRef:c,show:l,hide:u}=e,d=(0,vb.useRef)(!1),f=nu(u),p=nu(s),m=nu(t),h=(0,vb.useRef)(!1),g=(0,vb.useRef)(null),_=(0,vb.useRef)([]),v=kp();If(c);let y=(0,vb.useCallback)(()=>{h.current=!1;let e=g.current;if(e!=null){g.current=null;for(let t of _.current)t.removeEventListener(`pointerup`,e,!0),t.removeEventListener(`pointercancel`,e,!0);_.current=[]}},[]),b=(0,vb.useCallback)(()=>{if(h.current=!0,g.current!=null)return;let e=c.current?.ownerDocument??document,t=e===document?[document]:[document,e],n=e=>{let n=e.target;if(n!=null){if(e.type===`pointerup`&&c.current?.contains(n)===!0)return;if(t.some(e=>e.getElementById(p.current)?.contains(n)===!0)){e.type===`pointerup`&&m.current?.();return}}y(),n!=null&&Y_(n.ownerDocument??document),f.current()};g.current=n,_.current=t;for(let e of t)e.addEventListener(`pointerup`,n,!0),e.addEventListener(`pointercancel`,n,!0)},[c,y,f,p,m]);(0,vb.useEffect)(()=>y,[y]);let x=(0,vb.useCallback)(()=>d.current&&Rf(c.current),[c]),S=(0,vb.useCallback)(e=>{d.current=e.pointerType===`touch`},[]),C=nu(e=>{let t=c.current,a=Qu(e?.target)?e.target:null;if(n&&a!=null&&td(t)){let e=uf(a,t);if(e!=null&&e!==t&&!mb(a))return}(r===`auto`?a!=null&&mb(a)?`tap`:t!=null&&fb(t)?`none`:`tap`:r)===`none`||!i||o||h.current?(y(),u()):(b(),l())}),w=(0,vb.useCallback)(e=>{let t=Np.has(e.pointerType);if(d.current=t,!t||a)return v.forget(),!1;let n=e.currentTarget instanceof Element?e.currentTarget:c.current;return v.press(e,n,e=>C.current(e)),!0},[a,c,v,C]),T=(0,vb.useRef)(o);return(0,vb.useEffect)(()=>{T.current&&!o&&y(),T.current=o},[o,y]),{isTouchPointerRef:d,isTouchInteraction:x,handlePointerEnter:S,handlePointerDown:w,clearTapOpen:y,armOutsideDismiss:b,answerTap:(0,vb.useCallback)(e=>C.current(e),[C])}}var vb,yb,bb=o((()=>{vb=u(f(),1),au(),Pp(),nv(),cb(),ub(),od(),Of(),Hf(),yb=new Set([`button`,`checkbox`,`combobox`,`link`,`menuitem`,`menuitemcheckbox`,`menuitemradio`,`option`,`radio`,`searchbox`,`slider`,`spinbutton`,`switch`,`tab`,`textbox`])}));function xb(e){return()=>{let t=e.withdraw;e.withdraw=null,t?.()}}function Sb(e,t){for(let{text:n,receipts:r}of e)for(let e of r)e.withdraw=t(n)}function Cb(e){let t=Xb.clearTimers[e];t!=null&&(clearTimeout(t),Xb.clearTimers[e]=null)}function wb(e){let t=Xb.pendingFrames[e];t!=null&&(cancelAnimationFrame(t),Xb.pendingFrames[e]=null),Xb.pendingMessages[e]=[]}function Tb(e,t){Cb(e),Xb.clearTimers[e]=setTimeout(()=>{Xb.clearTimers[e]=null,t.textContent=``},Yb)}function Eb(e){let t=document.createElement(`div`);return t.setAttribute(qb,e),t.setAttribute(`aria-live`,e),t.setAttribute(`aria-atomic`,`true`),t.setAttribute(`role`,e===`assertive`?`alert`:`status`),t.style.cssText=Jb,document.body.appendChild(t),t}function Db(){return typeof document>`u`?null:Xb.regions?(Xb.regions.polite.isConnected||document.body.appendChild(Xb.regions.polite),Xb.regions.assertive.isConnected||document.body.appendChild(Xb.regions.assertive),Xb.regions):(Xb.regions={polite:Eb(`polite`),assertive:Eb(`assertive`)},Xb.regions)}function Ob(e,t){let n=Db();if(!n)return null;let r=t===`assertive`?n.assertive:n.polite,i=Xb.pendingMessages[t].find(t=>t.text===e);if(i!=null)return i.holders+=1,Xb.lastJoined=i,()=>Gb(i,t);let a={text:e,holders:1};return Xb.pendingMessages[t].push(a),Xb.lastJoined=a,Xb.pendingFrames[t]??(r.textContent=``,Xb.pendingFrames[t]=requestAnimationFrame(()=>{Xb.pendingFrames[t]=null,r.textContent=Xb.pendingMessages[t].map(e=>e.text).join(` `),Xb.pendingMessages[t]=[]})),Tb(t,r),()=>Gb(a,t)}function kb(e){if(wb(e),Cb(e),!Xb.regions)return;let t=e===`assertive`?Xb.regions.assertive:Xb.regions.polite;t.textContent=``}function Ab({hasReplace:e=!1}={}){let t=(0,Kb.use)(Qb),n=(0,Kb.useRef)(null);return(0,Kb.useCallback)((r,i=`polite`)=>{if(e){let e=n.current;n.current=null,e?.()}let a;t!=null&&Xb.modalRoute!=null?a=Xb.modalRoute.announce(t,r,i):r?a=Ob(r,i):(kb(i),a=null),e&&(n.current=a)},[e,t])}function jb(e){Xb.modalRoute=e}function Mb(e){return e!=null&&e.open&&rd(e)}function Nb(e){let t=e?.closest(`dialog`)??null;for(;t!=null;){if(Mb(t))return t;t=t.parentElement?.closest(`dialog`)??null}return null}function Pb(e,t,n=`polite`){return Xb.modalRoute==null?Mb(e)?Vb(e,t,n):Ob(t,n):Xb.modalRoute.announceInModal(e,t,n)}function Fb(e){e.frame!=null&&cancelAnimationFrame(e.frame),e.settleFrame!=null&&cancelAnimationFrame(e.settleFrame),e.timer!=null&&clearTimeout(e.timer)}function Ib(e){return Rb(e).map(e=>e.text)}function Lb(e){return e.messages.map(t=>({text:t,receipts:e.receipts.get(t)??[]}))}function Rb(e){let t=$b.get(e);return t==null?[]:t.frame!=null||t.settleFrame!=null?Lb(t):[]}function zb(e,t){return e.querySelector(`:scope > [${Zb}=\"${t}\"]`)}function Bb(e,t){let n=zb(e,t);return n??(n=document.createElement(`div`),n.setAttribute(Zb,t),n.setAttribute(`role`,t===`assertive`?`alert`:`status`),n.setAttribute(`aria-live`,t),n.setAttribute(`aria-atomic`,`true`),n.style.cssText=Jb,e.appendChild(n)),n}function Vb(e,t,n,r){let i=Bb(e,n),a=Ib(i),o=a.includes(t)?a:[...a,t],s=$b.get(i),c=a.length>0&&s!=null?s.receipts:new Map,l={withdraw:null};c.set(t,[...c.get(t)??[],l]),s!=null&&Fb(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()?($b.delete(i),r.redirect(Lb(u))):(i.textContent=u.messages.join(` `),u.settleFrame=requestAnimationFrame(()=>{u.settleFrame=null}),u.timer=setTimeout(()=>{i.textContent=``,$b.delete(i)},Yb))}),$b.set(i,u),l.withdraw=()=>Hb(i,t,l),xb(l)}function Hb(e,t,n){let r=$b.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?(Fb(r),$b.delete(e),e.textContent=``):r.frame??(e.textContent=r.messages.join(` `))))}function Ub(e,t){let n=zb(e,t);if(n==null)return;let r=$b.get(n);r!=null&&(Fb(r),$b.delete(n)),n.textContent=``}function Wb(){let e=Xb.lastJoined;return Xb.lastJoined=null,e}function Gb(e,t){let n=Xb.pendingMessages[t],r=n.indexOf(e);r<0||(--n[r].holders,n[r].holders<=0&&n.splice(r,1))}var Kb,qb,Jb,Yb,Xb,Zb,Qb,$b,ex=o((()=>{Kb=u(f(),1),ys(),od(),Xn(),qb=`data-astryx-live-region`,Jb=`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;`,Yb=2e3,Xb=Kn(`hooks/use-announce/channel`,1,()=>({clearTimers:{polite:null,assertive:null},pendingFrames:{polite:null,assertive:null},pendingMessages:{polite:[],assertive:[]},lastJoined:null,regions:null,modalRoute:null})),Zb=`data-astryx-modal-live-region`,Qb=_s(`ModalAnnounceContext`,1,null),Qb.displayName=`ModalAnnounceContext`,$b=Jn(`hooks/use-announce/pending-by-region`,1)}));function tx(){return(0,nx.useSyncExternalStore)(rx,ix,ax)}var nx,rx,ix,ax,ox=o((()=>{nx=u(f(),1),rx=()=>()=>{},ix=()=>!1,ax=()=>!0}));function Nee(e,t){return Array.from(e.childNodes).map(e=>{if(e.nodeType===Node.TEXT_NODE)return(e.textContent??``).replace(/\\s+/g,` `).trim();if(e.nodeType===Node.ELEMENT_NODE){let n=e;return n.matches(dx)||t!=null&&n.matches(t)?``:sx(n,t)}return``}).filter(e=>e!==``).join(` `)}function sx(e,t){let n=e.ownerDocument.defaultView,r=e=>n?.getComputedStyle(e).display??``,i=[],a=(e,n)=>{if(e.nodeType===Node.TEXT_NODE){i.push(e.textContent??``);return}if(e.nodeType!==Node.ELEMENT_NODE)return;let o=e;if(o.matches(dx)||t!=null&&o.matches(t))return;let s=r(o),c=o.matches(fx)||s!==``&&s!==`contents`&&!s.startsWith(`inline`)||/\\b(flex|grid)\\b/.test(n);c&&i.push(` `),o.childNodes.forEach(e=>a(e,s)),c&&i.push(` `)},o=r(e);return e.childNodes.forEach(e=>a(e,o)),i.join(``).replace(/\\s+/g,` `).trim()}function cx(e,t,n,{skipFirstRender:r=!1,politeness:i=`polite`,fallbackText:a,announce:o,exclude:s}={}){let c=Ab(),l=o??c,u=(0,lx.useRef)(null),d=tx(),[f]=(0,lx.useState)(()=>d||document.readyState!==`complete`),p=(0,lx.useRef)(!0);(0,lx.useEffect)(()=>{let o=p.current;p.current=!1;let c=e.current;if(!t||c?.closest(dx)||c?.checkVisibility?.()===!1){u.current=null;return}if(!c||r&&c.parentElement?.closest(ux))return;let d=r?Nee(c,s):sx(c,s);if(d===``&&a!==void 0&&(d=(c.getAttribute(`aria-labelledby`)??``).split(/\\s+/).map(e=>{let t=c.ownerDocument.getElementById(e);return t==null?``:sx(t)}).join(` `).replace(/\\s+/g,` `).trim()||a),d===``)return;let m=`${n}\\u0000${d}`;if(u.current===m)return;u.current=m;let h=o&&f||document.readyState!==`complete`;r&&h||l(d,i)})}var lx,ux,dx,fx,px=o((()=>{lx=u(f(),1),ex(),ox(),ux=`[role=\"log\"], [role=\"status\"], [role=\"alert\"], [aria-live=\"polite\"], [aria-live=\"assertive\"]`,dx=`[aria-hidden=\"true\"], [hidden]`,fx=`p, div, li, br, h1, h2, h3, h4, h5, h6`}));function mx(...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 hx=o((()=>{}));function gx(e,t,n,r,i,a){return(0,_x.useMemo)(()=>mx(e,t,n,r,i,a),[e,t,n,r,i,a])}var _x,vx=o((()=>{_x=u(f(),1),hx()})),yx,bx=o((()=>{hv(),G(),`${j[`--spacing-2`]}${j[`--spacing-2`]}`,B[`--duration-fast-max`],mv.duration,H[`--ease-standard`],yx={below:{kKVMdj:`x1d5jn3a x2g3n7u xaqowwx`,k44tkh:`x9uej1z x10got5w`,kyAemX:`x128ha8g`,kWV6AL:`xskzprw`,k3nNDw:`x9r0mi6`,$$css:!0},above:{kKVMdj:`xksu0ym x2g3n7u xaqowwx`,k44tkh:`x9uej1z x10got5w`,kyAemX:`x128ha8g`,kWV6AL:`xskzprw`,k3nNDw:`x9r0mi6`,$$css:!0},end:{kKVMdj:`xyzx0um xixcm9l x2g3n7u xaqowwx`,k44tkh:`x9uej1z x10got5w`,kyAemX:`x128ha8g`,kWV6AL:`xskzprw`,k3nNDw:`x9r0mi6`,$$css:!0},start:{kKVMdj:`x1qqotkc x1g7o29q x2g3n7u xaqowwx`,k44tkh:`x9uej1z x10got5w`,kyAemX:`x128ha8g`,kWV6AL:`xskzprw`,k3nNDw:`x9r0mi6`,$$css:!0}}}));function Pee(){return(0,Sx.use)(wx)}function xx({children:e}){let t=(0,Sx.use)(wx);return(0,Cx.jsx)(wx,{value:t+1,children:e})}var Sx,Cx,wx,Tx=o((()=>{Sx=u(f(),1),ys(),Cx=mc(),wx=_s(`LayerDepthContext`,1,0),wx.displayName=`LayerDepthContext`,xx.displayName=`LayerDepthProvider`}));function Ex(e){return e.isComposing===!0||e.keyCode===Dx}var Dx,Ox=o((()=>{Dx=229}));function Fee(e){let t=Rx.seqByToken.get(e);if(t!==void 0)return t;let n=Rx.nextSeq++;return Rx.seqByToken.set(e,n),n}function Iee(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 Lee(e){return e.isPresent?.()??!0}function Ree(){return Rx.composingDocuments.size>0}function kx(e){Rx.composingDocuments.add(e.currentTarget)}function Ax(e){Rx.composingDocuments.delete(e.currentTarget)}function jx(e){let t=null;for(let n of Rx.entries)n.ownerDocument===e&&Lee(n)&&(t==null||Iee(n,t)>0)&&(t=n);return t}function zee(e){let t=Rx.entries.find(t=>t.token===e);return t!=null&&jx(t.ownerDocument)===t}function Mx(){return typeof document>`u`?null:document}function Bee(e){let t=e.target;return t==null?null:t.nodeType===9?t:t.ownerDocument}function Nx(e){let t=jx(e);return t!=null&&(t.behavior===`block`||t.dismiss(),!0)}function Px(e){if(e.key!==`Escape`)return;let t=Bee(e)??Mx();Ex(e)?jx(t)!=null&&e.preventDefault():e.defaultPrevented||Nx(t)&&e.preventDefault()}function Fx(e){e.addEventListener(`keydown`,Px),e.addEventListener(`compositionstart`,kx,!0),e.addEventListener(`compositionend`,Ax,!0),e.addEventListener(`blur`,Ax,!0),Rx.stopListeningByDocument.set(e,()=>{e.removeEventListener(`keydown`,Px),e.removeEventListener(`compositionstart`,kx,!0),e.removeEventListener(`compositionend`,Ax,!0),e.removeEventListener(`blur`,Ax,!0)})}function Ix(e){Rx.stopListeningByDocument.get(e)?.(),Rx.stopListeningByDocument.delete(e),Rx.composingDocuments.delete(e)}function Lx(e){let t=e.getContainer?.()?.ownerDocument??Mx(),n={...e,seq:Fee(e.token),ownerDocument:t};if(Rx.entries.push(n),t!=null){let e=Rx.layerCountByDocument.get(t)??0;Rx.layerCountByDocument.set(t,e+1),e===0&&Fx(t)}return()=>{let e=Rx.entries.indexOf(n);if(e===-1||(Rx.entries.splice(e,1),t==null))return;let r=Rx.layerCountByDocument.get(t)??1;r>1?Rx.layerCountByDocument.set(t,r-1):(Rx.layerCountByDocument.delete(t),Ix(t))}}var Rx,zx=o((()=>{Ox(),Xn(),Rx=Kn(`layer/layer-stack/state`,1,()=>({entries:[],seqByToken:new WeakMap,nextSeq:0,layerCountByDocument:new Map,composingDocuments:new Set,stopListeningByDocument:new Map}))}));function Bx(e){return Vx(e,null)}function Vx(e,t){let{isActive:n,onDismiss:r,escapeBehavior:i=`close`,getContainer:a,isPresent:o,isEnabled:s=!0}=e,c=Pee(),l=(0,Hx.useRef)({}),u=(0,Hx.useRef)(!1),d=(0,Hx.useRef)(r),f=(0,Hx.useRef)(a),p=(0,Hx.useRef)(o);(0,Hx.useEffect)(()=>{d.current=r,f.current=a,p.current=o});let m=n&&s;return(0,Hx.useEffect)(()=>{if(!m)u.current=!1;else return u.current||=(l.current={},!0),Lx({token:l.current,depth:c,behavior:i,getContainer:()=>f.current?.()??null,isPresent:()=>p.current?.()??!0,dismiss:()=>d.current()})},[m,c,i,t]),{shouldDismissOnCloseRequest:(0,Hx.useCallback)(()=>m&&!Ree()&&zee(l.current),[m])}}var Hx,Ux=o((()=>{Hx=u(f(),1),Tx(),zx()}));function Wx(e){return e.localName===`input`?!Cf.has((e.getAttribute(`type`)??`text`).toLowerCase()):e.matches(`textarea, [contenteditable]:not([contenteditable=\"false\"])`)}function Gx(e={}){let{placement:t=`above`,alignment:n=`center`,delay:r=200,hideDelay:i=0,focusTrigger:a=`auto`,touchTrigger:o=`auto`,isEnabled:s=!0,isOpen:c,isDefaultOpen:l=!1,onShow:u,onHide:d}=e,{ref:f,anchorId:p,show:m,hide:h,isOpen:g,id:_,render:v}=b_({mode:`context`,onShow:u,onHide:d,keepsAnchorClear:!0}),y=Yx.container,x=(0,Kx.useRef)(null),S=(0,Kx.useRef)(null),C=(0,Kx.useRef)(null),w=(0,Kx.use)(ou),T=(0,Kx.useRef)(0);s||(T.current+=1);let E=(0,Kx.useCallback)(()=>{x.current&&=(clearTimeout(x.current),null),S.current&&=(clearTimeout(S.current),null)},[]),D=(0,Kx.useCallback)(()=>{E(),m()},[E,m]),O=(0,Kx.useCallback)(()=>{E(),h()},[E,h]),k=nu({isOpen:c,isLayerOpen:g,onShow:u,onHide:d}),A=(0,Kx.useRef)(!1),[M,N]=(0,Kx.useState)(!1),P=(0,Kx.useCallback)(e=>{A.current=e,N(e)},[]),F=(0,Kx.useRef)(!1),I=(0,Kx.useRef)(!1),L=(0,Kx.useCallback)(()=>{F.current&&A.current&&(F.current=!1,P(!1))},[P]),R=(0,Kx.useCallback)(()=>{if(A.current){P(!1);let e=k.current;if(e.isOpen!==void 0){e.onHide?.();return}}O()},[P,O,k]),{isTouchPointerRef:z,isTouchInteraction:B,handlePointerEnter:V,handlePointerDown:H,clearTapOpen:ee,armOutsideDismiss:U,answerTap:te}=_b({touchTrigger:o,isEnabled:s,isControlled:c!==void 0,isOpen:g,layerId:_,triggerRef:C,show:D,hide:R},L,!0),W=(0,Kx.useCallback)(()=>{let e=k.current;return A.current&&e.isLayerOpen&&e.isOpen!==!1},[k]),G=(0,Kx.useCallback)(()=>{ee(),P(!1);let e=k.current;e.isOpen===void 0?O():e.onHide?.()},[ee,P,O,k]),ne=(0,Kx.useCallback)(()=>{A.current&&P(!1)},[P]),re=(0,Kx.useCallback)(e=>{if(!W())return;let t=e.relatedTarget,n=C.current,r=n?.ownerDocument.defaultView;if(r==null||!(t instanceof r.Node))return;let i=n?.ownerDocument.getElementById(_)??null;n?.contains(t)!==!0&&i?.contains(t)!==!0&&(Y_(r.document),G())},[W,_,G]),ie=M&&g&&c!==!1,K=(0,Kx.useRef)(null);cx(K,ie,`pinned`);let q=gx(K,rv),ae=(0,Kx.useCallback)(()=>{if(!s||c===!1)return;E();let e=T.current;x.current=setTimeout(()=>{T.current===e&&m()},r)},[s,c,E,m,r]),oe=(0,Kx.useCallback)(()=>{c===!0||W()||(E(),S.current=setTimeout(()=>{h()},i>0?i:Jx))},[c,W,E,h,i]),se=(0,Kx.useCallback)(()=>{S.current&&=(clearTimeout(S.current),null)},[]),ce=(0,Kx.useCallback)(()=>{z.current||ae()},[z,ae]),le=(0,Kx.useCallback)(e=>{if(z.current)return;let t=e.relatedTarget,n=t==null?null:t.ownerDocument?.getElementById(_);n!=null&&n.contains(t)||oe()},[z,_,oe]),[J]=(0,Kx.useState)(du),ue=(0,Kx.useCallback)((e,t)=>t!=null&&!uu(e,t,a)||!Wx(e)&&Lf(e)===`pointer`?!1:!B()&&e.matches(`:focus-visible`),[a,B]),de=(0,Kx.useCallback)(e=>{if(!J.focusIn(e,a)||!s||!ue(e.target,null))return;E();let t=k.current;t.isOpen===!1?t.onShow?.():m()},[J,a,s,ue,E,m,k]),fe=(0,Kx.useCallback)(e=>{J.focusOut(e,a)&&oe()},[J,a,oe]),pe=(0,Kx.useRef)(!1),me=(0,Kx.useRef)(null),he=(0,Kx.useCallback)(()=>{me.current?.();let e=C.current?.ownerDocument.defaultView;if(e==null)return;pe.current=!0;let t=C.current,n=r=>{r?.type===`pointerup`&&r.target instanceof e.Node&&t?.contains(r.target)===!0&&(F.current=!1),e.removeEventListener(`pointerup`,n,!0),e.removeEventListener(`pointercancel`,n,!0),pe.current=!1,me.current=null};e.addEventListener(`pointerup`,n,!0),e.addEventListener(`pointercancel`,n,!0),me.current=n},[]),ge=nu({handleMouseEnter:ce,handleMouseLeave:le,handleFocusIn:de,handleFocusOut:fe,handleHeldFocusOut:re,handlePointerEnter:V,handlePointerDown:(0,Kx.useCallback)(e=>{he(),A.current?I.current&&(F.current=!0):H(e)?x.current&&=(clearTimeout(x.current),null):c===void 0&&(E(),h())},[H,he,c,E,h]),focusTrigger:a,isEnabled:s,isOpen:c,dropHold:ne,hideNow:O,showNow:D,opensOnFocus:ue,presentInterest:w,answerTap:te}),_e=(0,Kx.useRef)(null),ve=(0,Kx.useRef)(!1),ye=(0,Kx.useRef)(!1),be=(0,Kx.useCallback)(()=>{if(!ye.current)return;ye.current=!1;let e=ge.current;!e.isEnabled&&e.isOpen===void 0&&(ve.current=!0,e.dropHold(),e.hideNow())},[ge]);b(()=>{be()});let xe=(0,Kx.useCallback)(e=>{if(e==null){_e.current?.();return}if(e===C.current)return;_e.current?.();let t=()=>ge.current,n=e=>t().handlePointerEnter(e),r=()=>t().handleMouseEnter(),i=e=>t().handleMouseLeave(e),a=e=>t().handlePointerDown(e),o=e=>{t().focusTrigger!==`never`&&t().handleFocusIn(e)},s=e=>{t().focusTrigger!==`never`&&t().handleFocusOut(e)},c=e=>t().handleHeldFocusOut(e);e.addEventListener(`pointerenter`,n),e.addEventListener(`mouseenter`,r),e.addEventListener(`mouseleave`,i),e.addEventListener(`pointerdown`,a),e.addEventListener(`focusin`,o),e.addEventListener(`focusout`,s),e.addEventListener(`focusout`,c),C.current=e;let l=e.ownerDocument.activeElement,u=ve.current;t().isEnabled&&(ve.current=!1),u&&t().isEnabled&&t().isOpen===void 0&&t().focusTrigger!==`never`&&l instanceof HTMLElement&&e.contains(l)&&t().opensOnFocus(l,e)&&t().showNow();let d=t().presentInterest?.current,f=d==null||d.isRead?null:d.interest,p=d?.tapEvent??null;d!=null&&(d.isRead=!0),t().isEnabled&&t().isOpen===void 0&&(f===`hover`?t().handleMouseEnter():f===`tap`?t().answerTap(p):f===`focus`&&t().focusTrigger!==`never`&&l instanceof HTMLElement&&e.contains(l)&&t().opensOnFocus(l,e)&&t().showNow());let m=()=>{_e.current===m&&(_e.current=null),e.removeEventListener(`pointerenter`,n),e.removeEventListener(`mouseenter`,r),e.removeEventListener(`mouseleave`,i),e.removeEventListener(`pointerdown`,a),e.removeEventListener(`focusin`,o),e.removeEventListener(`focusout`,s),e.removeEventListener(`focusout`,c),me.current?.(),C.current===e&&(C.current=null),ye.current=!0,queueMicrotask(be)};return _e.current=m,m},[ge,be]),Se=(0,Kx.useCallback)(e=>{f(e);let t=xe(e);if(e!=null)return()=>{t?.(),f(null)}},[f,xe]);return(0,Kx.useEffect)(()=>()=>{E()},[E]),(0,Kx.useEffect)(()=>{l&&m()},[]),(0,Kx.useEffect)(()=>{c!==void 0&&(c?(E(),m()):(E(),ne(),h()))},[c,E,m,h,ne]),Bx({isActive:!0,isPresent:()=>{let e=typeof document>`u`?null:document.getElementById(_);if(e==null)return!1;try{return e.matches(`:popover-open`)}catch{return g}},onDismiss:()=>{E(),ee(),ne(),c===void 0?h():d?.()}}),{ref:Se,positionRef:f,interactionRef:xe,anchorId:p,describedBy:_,renderTooltip:(0,Kx.useCallback)((e,r)=>{let i=r?.placement??t,a={placement:i,alignment:r?.alignment??n,offset:j[`--spacing-1`],role:`tooltip`,xstyle:[y,yx[i]],className:Y(`tooltip`).className,onMouseEnter:se,onMouseLeave:oe};return v((0,qx.jsx)(`div`,{ref:q,className:`xfsso4q xy143xn x12gdq22 x1djylfy xw5ewwj x13faqbe`,children:e}),a)},[v,t,n,y,se,oe,q]),show:(0,Kx.useCallback)(()=>{if(E(),!s)return;P(!0),U(),F.current=pe.current,I.current=!0,C.current?.ownerDocument.defaultView?.setTimeout(()=>{I.current=!1},0);let e=k.current;e.isOpen===void 0?m():e.onShow?.()},[E,s,P,U,m,k]),hide:(0,Kx.useCallback)(()=>{E(),G()},[E,G])}}var Kx,qx,Jx,Yx,Xx=o((()=>{Kx=u(f(),1),au(),x(),su(),fu(),Hf(),Of(),j_(),bb(),px(),vx(),bx(),ov(),nv(),Ux(),vr(),G(),qx=mc(),Jx=100,Yx={container:{kWkggS:`xenstv7`,kMwMTN:`xrkvqaz`,kaIpWk:`x1hviunn`,kMv6JI:`x9ynric`,kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,$$css:!0}}}));function Zx(e){return(...t)=>C(e,...t)}var Qx,$x,eS,tS,nS,rS,iS,aS,oS=o((()=>{D(),G(),Qx=I[`--focus-outline-width`],$x=I[`--focus-outline-style`],eS=I[`--focus-outline-color`],tS=I[`--focus-outline-offset`],`${Qx}${$x}${eS}`,nS={outlineWidth:Qx,outlineStyle:$x,outlineColor:eS,outlineOffset:tS},rS={outlineWidth:``,outlineStyle:``,outlineColor:``,outlineOffset:``},iS={focusVisible:{kMeerF:`x1k57tk5 x1vidyx5`,k3XXqK:`x1t137rt x1jhp3zv`,kjBf7l:`xx47ajj`,kInvED:`x1wfwxd8 x1vwwbsn`,$$css:!0},focusWithin:{kMeerF:`x1k57tk5 x11j6mr8`,k3XXqK:`x1t137rt xciu248`,kjBf7l:`x1uy843r`,kInvED:`x1wfwxd8 x1jumodi`,$$css:!0},focusWithinFirstChild:{kMeerF:`x1k57tk5 xmmisi4`,k3XXqK:`x1t137rt xfd04fr`,kjBf7l:`xobxmqy`,kInvED:`x1wfwxd8 x2vr5qc`,$$css:!0},focusWithinCombobox:{kMeerF:`x1k57tk5 x1ufq04b`,k3XXqK:`x1t137rt x151uj7h`,kjBf7l:`x4jz7i8`,kInvED:`x1wfwxd8 x1fz9cfn`,$$css:!0},suppressed:{kMeerF:`x1k57tk5`,k3XXqK:`x1t137rt`,kInvED:`x1wfwxd8`,$$css:!0},publishFocusVisibleVars:{\"--_focus-outline\":`x17wzz1v xqih627`,\"--_focus-outline-offset\":`xgzxwq1 xqchwus`,$$css:!0},focusWithinOrPublished:{kI3sdo:`xaw4jrz x16s19ga`,kInvED:`x1kvmbwa x1jumodi`,$$css:!0}},aS={focusVisible:Zx(iS.focusVisible),focusWithin:Zx(iS.focusWithin),focusWithinFirstChild:Zx(iS.focusWithinFirstChild),suppressed:Zx(iS.suppressed),publishFocusVisibleVars:Zx(iS.publishFocusVisibleVars),focusWithinOrPublished:Zx(iS.focusWithinOrPublished)}})),sS=c({Tooltip:()=>uS,UndescribedTooltip:()=>dS});function cS(e){return typeof e==`string`||typeof e==`number`}function lS(...e){let t=e.filter(Boolean);return t.length>0?t.join(` `):void 0}function uS({children:e,anchorRef:t,content:n,placement:r=`above`,alignment:i=`center`,delay:a=200,hideDelay:o=0,focusTrigger:s=`auto`,touchTrigger:c=`auto`,isEnabled:l=!0,onOpenChange:u,hasHoverIndication:d=`auto`,isOpen:f,isDefaultOpen:p}){let m=(0,fS.useRef)(null),h=e!=null&&cS(e),g=d===!0||d===`auto`&&h,_=Gx({placement:r,alignment:i,delay:a,hideDelay:o,focusTrigger:s,touchTrigger:c,isEnabled:l,isOpen:f,isDefaultOpen:p,onShow:(0,fS.useCallback)(()=>{u?.(!0)},[u]),onHide:(0,fS.useCallback)(()=>{u?.(!1)},[u])});return b(()=>{if(!t)return;let e=e=>{_.ref(e);let t=e.getAttribute(`aria-describedby`);return e.setAttribute(`aria-describedby`,lS(t,_.describedBy)??``),()=>{_.ref(null),t?e.setAttribute(`aria-describedby`,t):e.removeAttribute(`aria-describedby`)}},n=t.current;if(n)return e(n);let r,i=!1;return queueMicrotask(()=>{if(i)return;let n=t.current;n&&(r=e(n))}),()=>{i=!0,r?.()}},[t,_.ref,_.describedBy]),b(()=>{if(t||h)return;let e=m.current;if(!e)return;let n=e.firstElementChild;if(!n)return;_.ref(n);let r=n.getAttribute(`aria-describedby`);return n.setAttribute(`aria-describedby`,lS(r,_.describedBy)??``),()=>{_.ref(null),r?n.setAttribute(`aria-describedby`,r):n.removeAttribute(`aria-describedby`)}},[t,h,_.ref,_.describedBy]),t&&e==null?(0,pS.jsx)(pS.Fragment,{children:_.renderTooltip(n)}):h?(0,pS.jsxs)(pS.Fragment,{children:[(0,pS.jsx)(`span`,{ref:_.ref,tabIndex:0,\"aria-describedby\":_.describedBy,...aS.focusVisible(mS.wrapperInline,g&&mS.hoverIndication),children:e}),_.renderTooltip(n)]}):(0,pS.jsxs)(pS.Fragment,{children:[(0,pS.jsx)(`div`,{ref:m,className:`xjp7ctv`,children:e}),_.renderTooltip(n)]})}function dS({anchorRef:e,content:t,onHide:n}){let r=Gx({placement:`above`,isOpen:!0,onHide:n}),i=r.ref;return b(()=>{i(e.current)}),b(()=>()=>{i(null)},[i]),r.renderTooltip(t)}var fS,pS,mS,hS=o((()=>{fS=u(f(),1),x(),oS(),Xx(),pS=mc(),mS={wrapperInline:{k1xSpc:`xt0psk2`,$$css:!0},hoverIndication:{kMnn75:`xujl8zx`,kmVMDM:`xev0dqp`,k1TLXF:`xycaml9`,kcSHmL:`xrys4gj`,$$css:!0}},uS.displayName=`Tooltip`})),gS={anthropic:`data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+QW50aHJvcGljPC90aXRsZT48cGF0aCBkPSJNMTcuMzA0MSAzLjU0MWgtMy42NzE4bDYuNjk2IDE2LjkxOEgyNFptLTEwLjYwODIgMEwwIDIwLjQ1OWgzLjc0NDJsMS4zNjkzLTMuNTUyN2g3LjAwNTJsMS4zNjkzIDMuNTUyOGgzLjc0NDJMMTAuNTM2MyAzLjU0MDlabS0uMzcxMiAxMC4yMjMyIDIuMjkxNC01Ljk0NTYgMi4yOTE0IDUuOTQ1NloiLz48L3N2Zz4=`,blaxel:`data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzAiIHZpZXdCb3g9IjAgMCAzMiAzMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMwIiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNMjEuODk1OCAxNS4xOTMyQzIxLjc2NDQgMTQuOTgxMiAyMS43NjggMTQuNzEwNSAyMS44OTU4IDE0LjUwMTdMMjcuNzkwMSA1LjAxNDQxQzI4LjIwMjYgNC4zNTIzNCAyNy4zMjYzIDMuNjQ5OTEgMjYuNzcxMiA0LjE5NTA4TDE2LjQ2MjEgMTQuMzczOUMxNi4yMDY0IDE0LjYyNjMgMTUuNzkzNiAxNC42MjYzIDE1LjUzOCAxNC4zNzM5TDUuMjI4NzYgNC4xOTg1OUM0LjY3MzcyIDMuNjQ5OTEgMy43OTY5OSA0LjM1MjM0IDQuMjA2MjcgNS4wMTQ0MUwxMC4xMDAzIDE0LjQ5ODJDMTAuMjMxNyAxNC43MTA1IDEwLjIzMTcgMTQuOTc3MyAxMC4xMDAzIDE1LjE4OTdMNC4xMDM5NiAyNC45ODhDMy42OTg2MyAyNS42NTAxIDQuNTcxNDEgMjYuMzQ5IDUuMTI2NDUgMjUuODAzOEwxNS41MzggMTUuNTI2NEMxNS43OTM2IDE1LjI3NCAxNi4yMDY0IDE1LjI3NCAxNi40NjIxIDE1LjUyNjRMMjYuODczNiAyNS44MDM4QzI3LjQyODYgMjYuMzQ5IDI4LjMwMTQgMjUuNjUzOSAyNy44OTYgMjQuOTg4TDIxLjg5NTggMTUuMTkzMloiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo=`,boat:`data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDk3Ljk4NSIgaGVpZ2h0PSI0NjIuMDk0IiB2aWV3Qm94PSIwIDAgNDk3Ljk4NSA0NjIuMDk0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNDkwLjEyMyAzNjEuNDYxQzQ5NC40NjQgMzYxLjQ2MSA0OTcuOTg1IDM2NC45NzggNDk3Ljk4NSAzNjkuMzIzVjQwMy45MTZDNDk3Ljk4NSA0MDguMjU2IDQ5NC40NjQgNDExLjc3NyA0OTAuMTIzIDQxMS43NzdINDczLjMxN0M0NjguOTQxIDQxMS43NzcgNDY1LjM5NiA0MTUuMzI3IDQ2NS4zOTYgNDE5LjY5OVY0NTQuMjMyQzQ2NS4zOTYgNDU4LjU3MyA0NjEuODc1IDQ2Mi4wOTQgNDU3LjUzNCA0NjIuMDk0SDg0LjM1NzlDODMuMTQ0NiA0NjIuMDk0IDgxLjk3NzMgNDYxLjUxMSA4MS4yMjYzIDQ2MC41NThDNTIuNDYwNyA0MjQuMDU0IDUxLjk2OTEgNDIzLjU5NSA3Ljg2NDI2IDQxMS43NzdDMy42NzA0MyA0MTAuNjUzIDAgNDA4LjI1NiAwIDQwMy45MTZWMzY5LjMyM0MwIDM2NC45NzggMy41MjIzNSAzNjEuNDYxIDcuODY0MjYgMzYxLjQ2MUg0OTAuMTIzWk0yMzQuMTY3IDQuODE3NTZDMjM4LjU4OSAtMi41NjgzNCAyNDkuNjc5IC0xLjE4MjI5IDI1Mi4xNDggNy4wNjQ2M0wzMjEuOTM4IDI0MC4yMkwyNDQuMzY2IDMzOC4zMzRINTEuOTYxN0M0NC4yNjk2IDMzOC4zMzQgMzkuNTE1NCAzMjkuOTQ3IDQzLjQ2NjUgMzIzLjM0N0wyMzQuMTY3IDQuODE3NTZaTTQ1My4wNTYgMTMyLjI2MEM0NTEuMTkyIDEyNC4xNjYgNDQwLjc5MSAxMjEuODI2IDQzNS42NDAgMTI4LjM0MUwyODIuMjk1IDMyMi4yOTJDMjc3LjE2MyAzMjguNzg0IDI4MS43ODYgMzM4LjMzNCAyOTAuMDYzIDMzOC4zMzRINDg4LjA4MEM0OTQuNDQ1IDMzOC4zMzQgNDk5LjE1NyAzMzIuNDE0IDQ5Ny43MjggMzI2LjIxMEw0NTMuMDU2IDEzMi4yNjBaIiBmaWxsPSIjMjYzRkE5Ii8+Cjwvc3ZnPgo=`,daytona:`data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjc1IiBoZWlnaHQ9IjI4NyIgdmlld0JveD0iMCAwIDI3NSAyODciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8c3R5bGU+CiAgICAgICAgcGF0aCB7IGZpbGw6ICMxMjEyMTI7IH0KICAgIDwvc3R5bGU+CiAgICA8cGF0aCBkPSJNMTQuNTU4NCAxOTMuNzM2SDExNC4yNzVWMjI3LjkyNUgxNC41NTg0VjE5My43MzZaIiBmaWxsPSJ3aGl0ZSIvPgogICAgPHBhdGggZD0iTTE0OC40NjQgNzQuMDc2SDI2Mi40MjZWMTA4LjI2NUgxNDguNDY0Vjc0LjA3NloiIGZpbGw9IndoaXRlIi8+CiAgICA8cGF0aCBkPSJNODguNjMzOCA4NC42MTI3TDE3My4yNDYgMEwxOTcuNDIyIDI0LjE3NUwxMTIuODA5IDEwOC43ODhMODguNjMzOCA4NC42MTI3WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik04OS4xNTcgMTcwLjA4NEwyNC4xNzUgMTA1LjEwMkwwIDEyOS4yNzdMNjQuOTgxOSAxOTQuMjU5TDg5LjE1NyAxNzAuMDg0WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0xNzQuNjI5IDIxNy45MTFMMTA2LjEzMyAyODYuNDA3TDgxLjk1NzcgMjYyLjIzMkwxNTAuNDU0IDE5My43MzZMMTc0LjYyOSAyMTcuOTExWiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik0xNzQuMTA2IDEzMi40NEwyNTAuNjYgMjA4Ljk5NEwyNzQuODM1IDE4NC44MTlMMTk4LjI4MSAxMDguMjY1TDE3NC4xMDYgMTMyLjQ0WiIgZmlsbD0id2hpdGUiLz4KICAgIDxwYXRoIGQ9Ik04OC42MzM4IDQ4LjQzNFYxMzEuMDU3SDU0LjQ0NTFMNTQuNDQ1MSA0OC40MzRIODguNjMzOFoiIGZpbGw9IndoaXRlIi8+CiAgICA8cGF0aCBkPSJNMjA4LjI5NCAxNjguMDk0VjI3MC42NkgxNzQuMTA2VjE2OC4wOTRIMjA4LjI5NFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo=`,e2b:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAOVBMVEUAAAD////AwMBQUFAWFhbJyckSEhK7u7vDw8M1NTU9PT2YmJjj4+PV1dWBgYGtra339/cuLi6QkJD2zvvIAAAA4UlEQVR4nO3ZUQ7CIBBFUUottla0uv/Favz1R3iTvGDuWYBzoxLrkBIAAAAAAAB+tc1dLjHT9+vUaQkZ3zv9LQfMr8L8iIDudz8o4CzN1wNmbb4eIH0BAgKKOF8OuLkD7u4A8QzoAZkAAoYPUJ8HvgKORzm1KNEBq/iCckB1B0x1abKHBzRSP7LxjyEBBBBAAAEE2APif45rbrE+owPsj2Qhazcl4NjMj+Wtwv+YtLIfQwKGD7AvqexrOvui0r6qtS+r/et6+4WF/8rGf2nlv7ZL9ovLD+/VLQAAAAAAwB97AY+NE1kLd2YOAAAAAElFTkSuQmCC`,freestyle:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAJ1BMVEVHcEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB+jSoGAAAADHRSTlMAIXBTieIQoDe78tMzCNXgAAAD5ElEQVR4nO1b25arIAwtIog6//+9p7aaBAgKDsE167Dfpq1kkzvBeb06Ojo6Ojr+JKxS9hnJSo+z+dlh5lE35eEmkI0wo2sj3Y6M9J3DIK8HO6WkfzHJUrgSv2EUlK+vxb+xaCHxds6S/8YsIt8tufLfSlD15Q+8JGN4XtXNMEai58HtHm/dMEc0Bln5U5R0XBggVRn48hd+bTuIMfBXPgl0n2g1P3B01fU01amV/rZWLGRu/wvqCksd+TT/ZGiV2muqIZ/m36yC60ofuMBSvBxhYLaeSf2qbSKOne3VXNZ8d03uDg1b4H+IVNVeyzsWVMBa8liyafpZC7MDPlkU1C5JIJlIeaA1Cxud09bJ5GsBE1uZfOo7rCEyfUHdVcCFCn5yQwotUOy9FyrIzJJggRtd3pHBjVkNGxSmZBc3KqujTdO7axrXkMFyqVYMpjs5LIpbqwMOl70ruEBREjpD0Lhd6QB+XfG047csF34AnUDVJts7X5169wCVuO7BW9GgSOdlTRqB2kde2mQlHNE/CFY/c5PVeQcPzsH1D/2EAWeE8CBUXT7tGJjeOSokAgTOWq1oDlAtD1Ho5P4C+Tf6uDygHN8LfPtPAqOGHWgEzws8/1/lxL/oVkmi8/qIykOGCKhn/CwjR9UDRBvagBjgul34NVy8V5IexPf/IufOw9hEAU0mz2CDoyqjAqT97wvY8N6YoE1Ecl8MjLmvw2ENaOEAGxZfIPwpM+xlAA3ix+XQAo3uPsKuE1JjxpmlEiaPAOhD8s4hQeATdUJNcDaBMCaaEthMAD7YzgXQ6hsBSEvNgpCkXvcMAd/qQKDKhDcLMAL6NAQPEPDP/w+YYPb23D4KghGQb5AWCIdwQW2UBwTh3n5AVmjTDpHquwucAkLSwGnRnvuxJW1iAxR3hB06ZZNMgCMgqL54LGpQD1EYhn2sFDmQeyXSfqBWpN6COECuVOhm8cAsfDKkVzqex+PHoqFI5fsNKLGMoBvQIUi4UZP+qhq8IVxoaqocmRO6865PYmf3ZlT1DwjBq1Bc1fGmdLVfSgpGsPwGgxumqi/JmQz58cXvknxd0GrN+4nS/BMmR/7LcrdsnKCPQrnCNaXWpyufWTe6YWMJ7AaNE8buRgy17CFYfPEa/x6qd+gkLv0MELgs+Dp8NyteDPJZqGtw9TjIgEBGqZmuCEDaDneTQyAnx6n5YQJvCuPDBM6f6AQ6gU7gPyGwpp+QrgXBYvFXMFEJC/tJNTwKTP4QxiaEkNXi9n1XG3OyOFsuAbXwygQG3PFhTsg/3lAvG8HoIXl9rYaBb1ld6ottubb/j9LR0dHR0ZGNf4dggm0oFaapAAAAAElFTkSuQmCC`,hopx:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAMFBMVEVHcEwAAAAAAAAAAAAAAAAAAAAAAAAAAAD////Nzc1lZWW2trbl5eU0NDSPj4/39/ch9SfFAAAAB3RSTlMAHNtmuZI8Z4+frwAAA3ZJREFUeJzFm9uiqyAMROVm2b3+/9+eY22qFoRkQDPvOilkRSvJMEAyowvB28ska30IbjTYneQa3cc4kfXu6CiM83nvRQcGYcLOL09WIhwRg2O6f2Jwfd1NkLjP6rgMprrxefk+IaD2vUIAFn+t0Gjv2uwntaSjEWX+niy8Dx1+/ixwERqS71cesDf97CeJt6Hb8pOE29AIX04iIDtu/yJBInShL5VV9mdHcJg/M4ID/VkRHJJ/i6qZeAB/W1Vo7F5/UhUrUuf6m1epKp/hf7ns+x+cgKTdRDwhAWbtpMEpCTArnwaHVqCtsvXotA2YlNsE8FZX7LLUHy2BEYsgKYhoBt7iHbvwNw/BEvCIMT6hK32fBbj/DyBil5oeC3Cd/OMNutb3WIDXO4D4gC5eLwGIwHP2j3/Q1WsQMP9LJGEoNhfB2zcADMWlHGJPgUdcBKH4fSKAKXhfBYChSGmIpeB17Y+hGJp24LUJAELRtuzAc+uPoWgaGIi/QlB0eBm+JQEgKHq4Cj0SfwxFOAXumQAQFEcwBa45fwRFB6bAKxsAgKLHqsAvgjiKFsvBHX8ERSgHUwRJchTNMIqvySFIEqM4AhBkESRJb+bkj8I8giQpikEewA6CJCGKQVwG9hAkCVH04jJQ8ZeiaKUB7CNIkqFohXWohCBJhqIwgCKCpAMDKCNIEqEoC6CCIEmCoigJawiSBCjKKGD6S1C0kkJUR5DER9ELSjEHQRIbRcmzgIUgiR8A+3HMQ5DERdHxX0iYCJKYKI7sVzIugiQmiob9Uir056LIfi3nI0hioWi5f0wkCJI4KHruXzMRgiTGfae/ZhwMZAiSGCga5t9zIYKkOorMDxRSBElVFD3zEw3oX0fR8T5SyREk1VA0rM90CIKkMor0qbTyQIQQJBXvTB8qy3uAIUgqovg9MSjuwV+bCndeji9PPbNctDq91Amg/cimTesjmxMPzhdtzu1Oal1Ya3tyqbAEP2e3py/Bbx/H6UuQNFGcDEKmn+ncAFJ//RYO9SYW/TYe9UYm/VYu/WY2/XY+9YZG/ZZO/aZW/bZe/cZm/dZu/eZ2/fZ+/QEH/REP/SGXQX3MZ9AfdBo68YiPevVZhNbZS+Vxv0F/4LEhhE727xB0h17f0h37fUt58HmOQXX0ewlif/h9PNh8iWIe///M/7eM//8DU2pmxvflAlsAAAAASUVORK5CYII=`,isorun:`data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS42IiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbGluZWNhcD0icm91bmQiPgogIDxzdHlsZT4KICAgIHN2ZyB7IGNvbG9yOiAjMGEwYTBhOyB9CiAgPC9zdHlsZT4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI5LjUiLz4KICA8cGF0aCBkPSJNMTIgMi41IEwyMC4yMyAxNi43NSBMMy43NyAxNi43NSBaIi8+Cjwvc3ZnPgo=`,langsmith:`data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+TGFuZ0NoYWluPC90aXRsZT48cGF0aCBkPSJNNi4wOTg4IDUuOTE3NUMyLjczNTkgNS45MTc1IDAgOC42NDYyIDAgMTJzMi43MzYgNi4wODI1IDYuMDk4OCA2LjA4MjVoMTEuODAyNEMyMS4yNjQxIDE4LjA4MjUgMjQgMTUuMzUzOCAyNCAxMnMtMi43MzYtNi4wODI1LTYuMDk4OC02LjA4MjVaTTUuOTc3NCA3Ljg1MWMuNDkzLjAxMjQgMS4wMi4yNDk2IDEuMjczLjYyMjguMzY3My40NTkyLjQ3NzggMS4wNjY4Ljg5NDQgMS40OTMyLjU2MDQuNjExOCAxLjE5OSAxLjE1MDUgMS43MTYxIDEuODAyLjQ4OTIuNTk1NC44Mzg2IDEuMjkzNyAxLjE0MzYgMS45OTc1LjEyNDQuMjMzNS4xMjU3LjUyMDIuMzEuNzE5Ny4wOTA4LjEyMDQuNTM0Ni40NDgzLjQzODMuNTY0NS4wNTU1LjEyMDQuNDcwMi4yODYuMzI2My40MDI3LS4xOTQ0LjA0LS40MTI5LjA0NzYtLjU2MTYtLjEwNzQtLjA1NDkuMTI2LS4xODMuMDU5Ni0uMjgxOS4wNDMyYTQgNCAwIDAgMC0uMDI1LjA3MzZjLS4zMjg4LjAyMTktLjU3NTQtLjMxMjYtLjczMi0uNTY1LS4zMTExLS4xNjgtLjY2NDItLjI3MDItLjk4Mi0uNDQ2LS4wMTgyLjI4OTUuMDQ1Mi42NDg1LS4yMzEuODM1My0uMDE0LjU1NjUuODQzNi4wNjU2LjkyMjIuNDgwNC0uMDYxLjAwNjctLjEyODYtLjAwOTUtLjE3NzQuMDM3My0uMjIzOS4yMTcyLS40ODA1LS4xNjQ1LS43Mzg1LS4wMDctLjM0NjQuMTc0LS4zODA4LjMxNjEtLjgwOTYuMzUyLS4wMjM3LS4wMzU5LS4wMTQzLS4wNTkyLjAwNTktLjA4MTEuMTIwNy0uMTM5OS4xMjk1LS4zMDQ2LjMzNTYtLjM2NDMtLjIxMjItLjAzMzQtLjM4OTkuMDgzMy0uNTY4Ni4xNzU3LS4yMzIzLjA5NS0uMjMwNC0uMjE0MS0uNTg3OC4wMTY0LS4wMzk2LS4wMzIyLS4wMjA4LS4wNjE1LjAwMTgtLjA4NjQuMDkwOC0uMTEwNy4yMTAyLS4xMjcuMzQ1LS4xMjA4LS42NjMtLjM2ODYtLjk3NTEuNDUwNy0xLjI4MTMuMDQzMi0uMDkyLjAyNDMtLjEyNjUuMTA2OC0uMTg0NS4xNjUyLS4wNS0uMDU0OC0uMDEyMy0uMTIxMi0uMDA5OS0uMTg1Ny0uMDU5OC0uMDI4LS4xMzU2LS4wNDEtLjExNzktLjEzNjYtLjExNzEtLjAzOTUtLjE5ODguMDI5NS0uMjg2LjA5NTItLjA3ODctLjA2MDguMDUzMi0uMTQ5Mi4wNzc2LS4yMTI1LjA3MDItLjEyMTYuMjMtLjAyNS4zMTExLS4xMTI2LjIzMDYtLjEzMDguNTUyLjA4MTQuODE1NS4wNDU1LjIwMy4wMjU1LjQ1NDQtLjE4MjUuMzUyNi0uMzktLjIxNzEtLjI3NjctLjE3OS0uNjM4Ni0uMTgzOS0uOTY5NS0uMDI2OC0uMTkyOS0uNDkxLS40MzgyLS42MjUyLS42NDYyLS4xNjU5LS4xODczLS4yOTUtLjQwNDctLjQyNDMtLjYxODItLjQ2NjYtLjkwMDgtLjMxOTgtMi4wNTg0LS45MDc3LTIuODk0Ny0uMjY2LjE0NjYtLjYxMjUuMDc3NC0uODQxOC0uMTE5LS4xMjM4LjExMjUtLjEyOTIuMjU5OC0uMTM5LjQxNjEtLjI5Ny0uMjk2Mi0uMjU5My0uODU1OS0uMDIyLTEuMTg1NS4wOTY5LS4xMzAyLjIxMjctLjIzNzMuMzQyLS4zMzE2LjAyOTItLjAyMTMuMDM5MS0uMDQxOS4wMzg1LS4wNzQ3LjExNzQtLjUyNjcuNTc2NC0uNzM5MSAxLjA2OTQtLjcyNjdtMTIuNDA3MS40NmMuNTU3NSAwIDEuMDgwNi4yMTU5IDEuNDc0LjYwODJzLjYxLjkxNDUuNjEgMS40NzA0YzAgLjU1Ni0uMjE2NyAxLjA3OC0uNjEgMS40Njk4di4wMDA2bC0uOTAyLjg5OTVhMi4wOCAyLjA4IDAgMCAxLS44NTk3LjUxNjZsLS4wMTY0LjAwNDctLjAwNTguMDE2NGEyLjA1IDIuMDUgMCAwIDEtLjQ3NC43MzA4bC0uOTAxOC44OTk1Yy0uMzkzNC4zOTI0LS45MTcuNjA4My0xLjQ3NDUuNjA4M3MtMS4wODA2LS4yMTYtMS40NzQtLjYwODNjLS44MTMtLjgxMDctLjgxMy0yLjEyOTQgMC0yLjk0MDJsLjkwMTktLjg5OTVhMi4wNTYgMi4wNTYgMCAwIDEgLjg1OC0uNTE0M2wuMDE3LS4wMDUzLjAwNTgtLjAxNThhMi4wNyAyLjA3IDAgMCAxIC40NzUyLS43MzM3bC45MDE4LS44OTk1Yy4zOTM0LS4zOTI0LjkxNzEtLjYwODMgMS40NzQ1LS42MDgzem0wIC44OTY1YTEuMTggMS4xOCAwIDAgMC0uODM4OC4zNDYybC0uOTAxOC44OTk1YTEuMTgxIDEuMTgxIDAgMCAwLS4zNDI3LjkyNTJsLjAwNTMuMDU3MmMuMDMyMy4yNjUyLjE0OS41MDQ0LjMzNzQuNjkxNy4xMy4xMjk2LjI3MzMuMjExNC40NDcxLjI2ODZhLjkuOSAwIDAgMSAuMDE0LjE1ODIuODg0Ljg4NCAwIDAgMS0uMjYwOS42MzA0bC0uMDU1NC4wNTU0Yy0uMzAxMy0uMTAyOC0uNTUyNS0uMjUzLS43Nzk0LS40NzkyYTIuMDYgMi4wNiAwIDAgMS0uNTc2MS0xLjA5NjhsLS4wMDk5LS4wNTc4LS4wNDYxLjAzNjhhMS4xIDEuMSAwIDAgMC0uMDg3Ni4wNzk0bC0uOTAyNC44OTk1Yy0uNDYyMy40NjEtLjQ2MjMgMS4yMTIgMCAxLjY3My4yMzExLjIzMDUuNTM1LjM0Ni44Mzk0LjM0NjEuMzA0MyAwIC42MDc3LS4xMTU2LjgzODgtLjM0NjJsLjkwMTktLjg5OTVjLjQ2MjMtLjQ2MS40NjIzLTEuMjExMyAwLTEuNjczYTEuMTcgMS4xNyAwIDAgMC0uNDM2Ny0uMjc0OSAxIDEgMCAwIDEtLjAxNC0uMTYxMWMwLS4yNTkxLjEwMjMtLjUwNS4yOTAxLS42OTIzLjMwMTkuMTAyOC41Ny4yNjk0Ljc5NjIuNDk1LjMwMDcuMjk5OS40OTk0LjY3OS41NzU2IDEuMDk2OGwuMDEwNS4wNTc4LjA0NTUtLjAzNzNhMS4xIDEuMSAwIDAgMCAuMDg4Ny0uMDc5NGwuOTAyLS44OTk2Yy40NjIyLS40NjEuNDYyOC0xLjIxMjQgMC0xLjY3MzVhMS4xOCAxLjE4IDAgMCAwLS44Mzk1LS4zNDYyWm0tOS45NzMgNS4xNTY3LS4wMDA2LjAwMDZjLS4wNzkzLjMwNzgtLjEwNDguODMxOC0uNTA2Ljg0Ny0uMDMzLjE3NzYuMTIyOC4yNDQ1LjI2NTUuMTg3NC4xNDEtLjA2NDUuMjA4MS4wNTA4LjI1NTcuMTY1Ny4yMTc3LjAzMTcuNTM5NC0uMDcyNS41NTE2LS4zMjk4LS4zMjUtLjE4NjctLjQyNTMtLjU0MTgtLjU2NjItLjg3MDkiLz48L3N2Zz4=`,morph:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAFVBMVEVHcEzzQELyP0LyP0LzP0LyP0LyP0LBxFJHAAAABnRSTlMAG4PsR8QFs054AAABS0lEQVR4nO2YwY6EMAxDB8rw/5+8p3Bay0FO2q7WT3NswSpP8cDnY4wxxhhjjDHGIA7IiyWJi0DOGxGbL7jijIvAFV8eYKC9IwKURIQc8P5P+C9cwk/xogFw+GcvXMEj3vwJlJwvfIxcgYOH5+fbosCb8+1RIMIf/HxxRD4GsOH588URB7ptJkD+fCUFhPNNDKrVCgxBgb9QBK1TIFMEcxSQioArsLoI8N5nyl4nIiLiYV5SBJxmBTgtCgwePpCKQNkbNBcBZ18FEkXAp0CClimQCB80/x3k7KtASREkUBRQXmcCF0GPApOKgL8RcJYXwTUAsxTo+TSUV0CioggUSqaAQokCCssVqCgCCSvw3xUoKQIFK6C8zlTgIthXAReBFZhzfxfBvgpMKgJPgX0VePNtSsEKrFdg3OPX3yQFlK8qxhhjjDHGGGOMwg9XaEn/QIKt+QAAAABJRU5ErkJggg==`,openai:`data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+T3BlbkFJPC90aXRsZT48cGF0aCBkPSJNMjIuMjgxOSA5LjgyMTFhNS45ODQ3IDUuOTg0NyAwIDAgMC0uNTE1Ny00LjkxMDggNi4wNDYyIDYuMDQ2MiAwIDAgMC02LjUwOTgtMi45QTYuMDY1MSA2LjA2NTEgMCAwIDAgNC45ODA3IDQuMTgxOGE1Ljk4NDcgNS45ODQ3IDAgMCAwLTMuOTk3NyAyLjkgNi4wNDYyIDYuMDQ2MiAwIDAgMCAuNzQyNyA3LjA5NjYgNS45OCA1Ljk4IDAgMCAwIC41MTEgNC45MTA3IDYuMDUxIDYuMDUxIDAgMCAwIDYuNTE0NiAyLjkwMDFBNS45ODQ3IDUuOTg0NyAwIDAgMCAxMy4yNTk5IDI0YTYuMDU1NyA2LjA1NTcgMCAwIDAgNS43NzE4LTQuMjA1OCA1Ljk4OTQgNS45ODk0IDAgMCAwIDMuOTk3Ny0yLjkwMDEgNi4wNTU3IDYuMDU1NyAwIDAgMC0uNzQ3NS03LjA3Mjl6bS05LjAyMiAxMi42MDgxYTQuNDc1NSA0LjQ3NTUgMCAwIDEtMi44NzY0LTEuMDQwOGwuMTQxOS0uMDgwNCA0Ljc3ODMtMi43NTgyYS43OTQ4Ljc5NDggMCAwIDAgLjM5MjctLjY4MTN2LTYuNzM2OWwyLjAyIDEuMTY4NmEuMDcxLjA3MSAwIDAgMSAuMDM4LjA1MnY1LjU4MjZhNC41MDQgNC41MDQgMCAwIDEtNC40OTQ1IDQuNDk0NHptLTkuNjYwNy00LjEyNTRhNC40NzA4IDQuNDcwOCAwIDAgMS0uNTM0Ni0zLjAxMzdsLjE0Mi4wODUyIDQuNzgzIDIuNzU4MmEuNzcxMi43NzEyIDAgMCAwIC43ODA2IDBsNS44NDI4LTMuMzY4NXYyLjMzMjRhLjA4MDQuMDgwNCAwIDAgMS0uMDMzMi4wNjE1TDkuNzQgMTkuOTUwMmE0LjQ5OTIgNC40OTkyIDAgMCAxLTYuMTQwOC0xLjY0NjR6TTIuMzQwOCA3Ljg5NTZhNC40ODUgNC40ODUgMCAwIDEgMi4zNjU1LTEuOTcyOFYxMS42YS43NjY0Ljc2NjQgMCAwIDAgLjM4NzkuNjc2NWw1LjgxNDQgMy4zNTQzLTIuMDIwMSAxLjE2ODVhLjA3NTcuMDc1NyAwIDAgMS0uMDcxIDBsLTQuODMwMy0yLjc4NjVBNC41MDQgNC41MDQgMCAwIDEgMi4zNDA4IDcuODcyem0xNi41OTYzIDMuODU1OEwxMy4xMDM4IDguMzY0IDE1LjExOTIgNy4yYS4wNzU3LjA3NTcgMCAwIDEgLjA3MSAwbDQuODMwMyAyLjc5MTNhNC40OTQ0IDQuNDk0NCAwIDAgMS0uNjc2NSA4LjEwNDJ2LTUuNjc3MmEuNzkuNzkgMCAwIDAtLjQwNy0uNjY3em0yLjAxMDctMy4wMjMxbC0uMTQyLS4wODUyLTQuNzczNS0yLjc4MThhLjc3NTkuNzc1OSAwIDAgMC0uNzg1NCAwTDkuNDA5IDkuMjI5N1Y2Ljg5NzRhLjA2NjIuMDY2MiAwIDAgMSAuMDI4NC0uMDYxNWw0LjgzMDMtMi43ODY2YTQuNDk5MiA0LjQ5OTIgMCAwIDEgNi42ODAyIDQuNjZ6TTguMzA2NSAxMi44NjNsLTIuMDItMS4xNjM4YS4wODA0LjA4MDQgMCAwIDEtLjAzOC0uMDU2N1Y2LjA3NDJhNC40OTkyIDQuNDk5MiAwIDAgMSA3LjM3NTctMy40NTM3bC0uMTQyLjA4MDVMOC43MDQgNS40NTlhLjc5NDguNzk0OCAwIDAgMC0uMzkyNy42ODEzem0xLjA5NzYtMi4zNjU0bDIuNjAyLTEuNDk5OCAyLjYwNjkgMS40OTk4djIuOTk5NGwtMi41OTc0IDEuNDk5Ny0yLjYwNjctMS40OTk3WiIvPjwvc3ZnPg==`,openrouter:`data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+T3BlblJvdXRlcjwvdGl0bGU+PHBhdGggZD0iTTE2Ljc3OCAxLjg0NHYxLjkxOXEtLjU2OS0uMDI2LTEuMTM4LS4wMzItLjcwOC0uMDA4LTEuNDE1LjAzN2MtMS45My4xMjYtNC4wMjMuNzI4LTYuMTQ5IDIuMjM3LTIuOTExIDIuMDY2LTIuNzMxIDEuOTUtNC4xNCAyLjc1LS4zOTYuMjIzLTEuMzQyLjU3NC0yLjE4NS43OTgtLjg0MS4yMjUtMS43NTMuMzMzLTEuNzUxLjMzM3Y0LjIyOXMuNzY4LjEwOCAxLjYxLjMzM2MuODQyLjIyNCAxLjc4OS41NzUgMi4xODUuNzk5IDEuNDEuNzk4IDEuMjI4LjY4MyA0LjE0IDIuNzUgMi4xMjYgMS41MDkgNC4yMiAyLjExIDYuMTQ4IDIuMjM2Ljg4LjA1OCAxLjcxNi4wNDEgMi41NTUuMDA1djEuOTE4bDcuMjIyLTQuMTY4LTcuMjIyLTQuMTd2Mi4xNzZjLS44Ni4wMzgtMS42MTEuMDY1LTIuMjc4LjAyMS0xLjM2NC0uMDktMi40MTctLjM1Ny0zLjk3OS0xLjQ2NS0yLjI0NC0xLjU5My0yLjg2Ni0yLjAyNy0zLjY4LTIuNTA4Ljg4OS0uNTE4IDEuNDQ5LS45MDYgMy44MjItMi41OSAxLjU2LTEuMTA5IDIuNjE0LTEuMzc3IDMuOTc4LTEuNDY2LjY2Ny0uMDQ0IDEuNDE4LS4wMTcgMi4yNzguMDJ2Mi4xNzZMMjQgNi4wMTRaIi8+PC9zdmc+`,runloop:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAPFBMVEVHcEwHIRwHJyEHLSUHHRkIExMIFxcGExEGEhEGEhEVU0QKRjht58Mqe2UZaFQwkXZZ0q87p4lJvJuI+NcNMk+7AAAACnRSTlMA////////nEzasPRIEwAAC9dJREFUeJy1W4mWqygQfSiQtEaNef//r8NSO6DpMzOYNh2VurduFYvbnz+98nw+fn58+M9K/Pl5PJ9dqB76o9S5MflbCnn1+IbDA2tEf1Wu9zZHRyT8uIXPR0bvUvHwV9a+rsQ/eu1oszcb+f+Y3bqk8IwJP2IFJ4z0f7SbJbpvj/ZFiGEgHuR8a2MA3JLQsgjVBIWBCDnrRXVvWHj3FQ15vKYEBjPMTw8/uy/hqRra6qJPN3J4ZyRN/+Rc6OKL1PNceeT5hPBTWUZCZCveaVs5DBY/FvwmAoWF7+AreNzCNJRurAI2Id8w+Mn6e2brxfE6IxCzribwf+qHggDBnVyKwWjy4FHwPeIyLHovNZhYdsAuW6YmFmwCcIFAXqJqC0/2H/Y7rCCCSbgZtPzV4nDNcZEs0GnA96BKlP1BTkAqQBd/GfedhZel7kEOlHXoiu6eRVN45ATs9uFN7KXPWGZFoZeNjVlg8GABnN0rEoZDT/pn0Hma82cuBCSJiShg46fYSxSXun0WoF+0/Ox5hUcKlcUsSAgRZPBtQQnCmIBn94XwBdKWSmGmGOnG2C2xdgbPEb7xH/Ar1qCQCtgmZAxa92pDGEdAJgA7P4ZHFhSGGwYQgzwE9+jZCHTEx05YbZ3mNg4DAiUGwwj4Bn6S0DHM+3acn8/nPPY1GZF7kcJtEsTn9wTY+ym67fP6q8rrc6zBcRTm6YssKEkwTIE2/oDuj/fffjmXMBEFpcGAQk6Cn+H0VzZ/ci3sI/QqxBG8isO1BDGNiT/dHDT+z5XCFLbXFXyVYXKqNVwxyARij4AT/rP6ca/wr+FSywGBuGeQwAetEAhA/kPifwo6weFKMMglH7QHFgFSsdsScjscdAPQC7IAYf9bISoMfP/l3y8ikdaf0GRiX4ELApwABf+UQIRuN72QwWudiMI4BiMCugGWjH4LtG9KCkO0DFoKdwoQ/vo79ErhoDD8XgEvOsB5dssI5P3+pOULBlOfARMwJFiAbGHJ8r/zB1YZ8n1uayyH+jAvx6fwUQswuMpDqUAc4s8IjwzS3zF7NQZO3u8fpgnLLQOpABOAUZhaQHWtfvLq9eEuXxY/ny84iBhsXjLQ4HlBAnk8iB0Cuf1lUIDP3693Te9ecYlCPRb+Xq9lkhIIdKmATQIpQCSTlcbrGMIXFZa3pJDWGARLIMKFGw6BUaDiTwtiQ1ncFf6MjKm8cp/YxCDWAgqE8tsoAAIEY01PvrhIETZdZ3MswUCBWPKBSDQBoPIJXXTDYdqVZq/IEogULJpTDjQKQABWjR+H6IrCtOSDqdrpGwnIZVRAceAMCJ/S1X1Kf8f+EyLNWsystWhAFV9zkwWQAkqBiH2BmAalDPzwYtx3pkgK7niLmkIC1QlwCJCQiUAQ6Cn/Jb5FN4P3HKFa/cJ5etsOBiEAAdZkAMt7EzM9O7o6OX8CnqVuNZAlUCGIVJQCwAAtzf58VxPlKxr3vSlq/EgHbsC+GPAmCWKrgMpBaINSgP0GXzffEgQl3wRjsgpAuVwXDAPyg3zI5YxS/+H1FMlgEdVTA1I5oBXgGCgF/ClcWFT8GZMbj2Y/5xQW9ek0pcILCcYK+OTBmT8nCmB7E5FMnntR1GDaa+XiR0phKUE3BDAcUQSShFD//GzTbPrTKItnCkKC6SM88PcEdAQmd1T8Ul8lQON+tw3l3gg8SDZqEqB8EWuHTg5ACHIKnPTxBh/dHjCgGJTqefXu63ehQGpGZ617igh0A9AwQAmmD1o4P/s3BGQOTDPST19LxaeGPICnRAQJPBrIPjgmEL8isFLl82MEGPhvPUhJwCYOL9rhkECkHJjdzgREClwFQMSgEpi2U9pgBahcJKHTlaUCY3zdkGsWYgmzkJA7wmEIEoEDlvNw3+KjhkAghZGMxEl0hTcK5NpZAaxcRuL7NtAQmCUB30uiHgEMYVIAK2sFriUQPqRy/lKByARqCHKhELjfhSAzAAsHErjLAUMAKh/3OdA0JAhBdb/Yid+EAAk4JlA4qEllpw9uJKiXFqeFbZQcaDQcECjNcKfKx+FlEo5crwayDRpQlQ1yQVZvCHB1Zn+ctwqoPOZmyCoem+8ZAAJNX1jqCwKrIGDwy7MRygEaT1NXzAXHAn8dAkHAn8cGy7FPvRCE6rg2IBVQJlyTg4EJiFkRE8i0j1qbT3A1f2AxIDCt53EggZVyUExGAoUgkBXOwlKzVjdJIBWMom6U7TinQKoPEpzeCoBPtiABOSuBLKzVi4klO+RsEgQ0E3VtjAD6n014zZ+fwiECwZqYsW7+c6MsDLHthuodhhSBrZZkaHcUAVbPEAgiCWoMuJxyTh6HRQzneTg7qH5JAd0GGgKRJag23C4M7DBVvuoLvddj4ckOHNH2g6EloL2oMWALdIJ9MyclfCnAJhohsG8JtEngc82ymCy4EIBHwrXg7+VzNKN5uCaA7QDxd4yiOLUYwNOM+Nio7ianxJYB9wNKAUijbKN+tqO9yGDPDR12wnkcOoB9WhR5DkGUBKJMQgokSFCtbF5OS2Be4TunxmU2KPBBADOjw57gT0cA7kwT+F4kSKvUEnrn557PSsXFgYO121M31jutuugJ+dxmqQwqDTTUu/ngCL8IcEC9/LXVkcS1XXFUORB1BOrd0kkQMAyco6eEnIAvp9EFHzlsqzmvEl05EojdbiCX1TBwwKC9SsinpPOhKu3y2kIzJWwUUBFIZVcFe0T5hMTET5cU91eFv2/24k5Uk2JKQh0BebktGVnyJy+pLcySgnq0pFTIHbjCX83lxa4CEl5dZclF2cuNQT6pIij03N83ur5a8rBeX2tPz20n4AT+vC667It5bIjcn+btqIKBXqmQmVES/LEZoNvzOrdlQo+k9Mn6WuAXhl9KAqyEX9Kmp4DqhPiaK0nQ8tDOZ7tLHrwz/CIoqAQEzzNcQ8C0QTcvvym5rSN6hUcJclKKac2OPXsYEMA5sRMj+Vdlr+CcJZXXnO/5dJ6xOILXBIwAUZrb9ecLPeoK/D8695TP4AcE4Fbwsv0qAiMeZVLwkndO4M5HUAMCNEMhwJzx1/LJK73UsqpPWuTOKn9OW3fKC+ZYyi3vngL1WrEL214M5s9K/9S/ugk3Iq5YgMheu59TXKOi63W7EMCEoDTCsO8IvhAkUuBtRFAV0KG4Py0fukDD5TyCGxOI3sV1s4Y7QHavkCwHqMwJ8dS8nBniKfJxlM5Ynh5qAt41+L8qCO/W44RJMbb/OrFcveqLTQ7kAPwb/IS+1sF/M2MSliW6MYFEIaTw/Sv0ckZSZsQ4Ium2GfXUvBAQ09Gwbr2md7vkUoeHPFDtPCQtuvPaO6NhLE+V8wbqjnCeNS5OrNUADSfIcLmPxyt+wlYQ+BEEvAZvR/ypOxHoM1NTJabgDX4i8BA5QMMhPMX8XcFpkVgcPvoPNyz1zV6SO+QHGp9qMGAKHR7OuMcA/VccnCDi6HaniHfIj3Q+VUegKExOW1aeqX0Num830OmcSLnyYLFUIOozPa2E9sfiyfcC8KlgNiJO5NSkPODLPSyBvRPbd8h6p0/VnPxWJ5JR+18ebH4GHpFhTGweb3Nkx5Fz9hhAkJWj2tXBr+84VAVEW6gDdg+g+4oZCOdFDoEXcou92RkwAvB6m4CX0YhE3vMq4pUBvHce8WB+Hkj8JmiVf6URPOgFB3PJPFJ91ITIKRw+QHGnLx/lYQJdCoBv+DXX/iUdiSsAjKy2Zmc/Xd/GFMS3nKJWwVixIDc3ji5KoIvELAA3hEqhr8SX5kc/YJNAV6/94WuWAVn2DLQG5TjKJ7lwBT3IS/nwu94YACz10t9PIAokRiC9JPOIe/lgPBqPKUi4OVAt856qeeWPdxCw+D9KmCj8U9yCNELHlWlHbA5qXvjTlYMyHuUOMKsIaxZdUpajxZcMGrLWv3a74NY53DLs4os8GADG4f4h5KhO95VP0RaoTlv/Slh2P9p9utrwzd/npVehK3rD9aIObLh6//pxW11ub7It9vabcv/u9f9a7uBLIP43Dl+9/F455Nf/h1H9fbl4/f8fK+Ngp7w2dCwAAAAASUVORK5CYII=`,sprites:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAmVBMVEWtgO8kFlv///8fDlhMQ3Xi4OqwgvIgE1giE1ocD1UAAE8XAFWzhfYgEVkRAFMbB1drTaafdeB6WbeleudKNIBCLnkxIGiPac0AAEwrHGNYP5H39voSBU5eQ5eVbtRmSaBwaY9gWIXRztx+eJvq6e+alLEzJ2bFwtI4LWiEYMGGgJ9UTHs7LW5rYo+OiKe6tctDOm+lobdkX4TBMejbAAAGJ0lEQVR4nO2ba3eqOhCGDWgIcolg0YJWq8VbPa3a///jDiQQSLhsexLYa53F+8kta688TmYmMxM6Gg0aNGjQoEGD/qNgqsrH3hYfeZulP3uLgkTR2/ay3Hi9QUBoe34ULBzTNA2i5IOzCCLfs3tgSH67Hxjp0oBTimEEvjfqFgHam+3CFNYuUZjhdml3iAC9bdi8PJEZvnldEcC5j0x+OQej7BMqENBs3gkC9CL+1zvu6z9fR7oyOrpTS883IurCCHCJeOPj8/dEm4zpqs79dHu/uwzhoh7AD/n13d1e0xgAwPe9NnncXYcShL7i5aHPxx2y3ldaGQDg40TTVrejRfbEMHy1u+AL3oc/NI0HANY1Tr6IDwjTTVFpA7gU7I+vqwoAsL7JV/u7S3dhqcwGcK7z6yMr1qoA4HVPvovfKYGuLhojYQPcg1YHgL/ol6svQmBGipaHF355oF/jWgAUnui38c4i/76oMcF8IWRf66HVAgDrM3ON+Jh+bSzmKta3xQhAIG4AQGH+5ESi0fRtBQBzIQLYVlcBwJTZ5pBughEqMAH0Eb8+mN4aAfAufxDf0wdIQTqavwgGQHrcCOAA9uSQRoIRSZsAbkQD4N2qEQDhEzOBnv5HtJE1AZwJLgjcb60RoBwgnxZxQ1kAOxArIOvWBvDJHu1TExiBbBzYurA+yzb1AO8r/tFa0gJwsxYAnPO+BaCUJLWPdA/WksURFLMQ0MeTFgDnXjwlqcCUTMdVH9SvqxYAdCzsc0sD0ZzJAdhvIgD+0doAcAEwIQCRnBfCSAyCdgBgFQDxFKSpSNILxTyY+HkrgFtyUQLwIrd+JRH/CWBaAiDJ+EUuGf8aoGoBydOgAoD73QIZJ5zQ81AyDLe/zANhAaAkD9RlwrgFQH0m/O1ZsGN4q/e0RVrLFgS2WI8gvfU4/mCP9qRzR9LHccUL3UcbAGtZtIeKTJy2haITWB/NJRnAzDwr8sSUbxA9sSTS781FKdKZD55IFljIz0pgJRCnk0YA58ye7FIXNN9kl0/3QFi/1JpWAAofPIWpC4bSRXFKIGbjovuodkasXiQ1sRGo6E7hRpzNNfaGzpH1hrRBVzSjqJjg1gBQBAhpzGQPolyV+UAp2wgAORk5BgBQNB+oTEj0IuFzAOwgiGkOUDUhGUHPFUxwqgVg3vlNBiSuunmpLRTneFwLkPftp1figTMV0wkqKKbDad2UDFmr0gaoSIIlAl+Y0x5qAHLfpBugelT6wm0CmxGUAJCzzyKAjIdk+wFBcMNNiliLXALAP3R6TAdkoeqJvZAM8ja8PCsmdUI2IlSXAgpxyQDhWADIXJA6gLoUUAjy47psUFMAuB+FAxhhF5c2/MjcOfL3BYg0BJMzdQB1g3KOgEtH+MEBEKdYXcldgWwv0Ci77AaYDGNyAATSsNhlU/LO7u24hEiOvhwAX7WsE0mqkM4uDhM3KA3O9XMJIC2FHmRAbSy6cQAq+1JqlF5PDEC/p2Uw6WHWF3VnUI3KNXLaqGcAyXbsSQB054BMxdQKJaUZBUiOhsmZBoCCOrxdcB4wgqQAoQDuLb7SDBh0c23MEZRCYXoiZ79+zk6ALgOgRLBhoaBfiQWsxw+9qFuo6EOeIFg6GQEC31cdOOPs9ztdBiBHcMlPBed8TmIvpNfFYQdHcJP8PB2gYn6xVn1h3ia7cpNlACVXdM9rJr5F0+fvJ+LHBuas7/WTpFzaBbTt91UuqsIG5vYvLD+CozAHCDt+f6p+fa8YGxgvfaRgYf15uToyejiERPEzA1PRMORpsSG24+R5oFcTJOcRXRef7/Stnf5OIiI7c0A83u/HGcFLj6k4n9zp6eg+KwaB2U8xQAFoj4TorIi+L6J0JPNH0Rl+flf/SeuRDjriJtEcxO6J6dVEUhD2B0CSEBsL7s9OzwD0OpNd3twwDQMlry09JUjTIL4SE0yypryzprgGIMuD1vhwOh3GdCok/77KLzSnhTDQ3ek0f5FUxVtTT8ueideJYN1nGqi5Ve/TBVMlHSJ/HCudDD9LUFREZi9dqUAw8gNE3u83UeD/jaJwZHvLWRQE0Wzp9dsUFaJ/z9Dzn3cMGjRo0KBB/zv9CyCNaxO7juQnAAAAAElFTkSuQmCC`,tensorlake:`data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NTAgNDUwIj4KICA8cmVjdCB3aWR0aD0iNDUwIiBoZWlnaHQ9IjQ1MCIgcng9IjkwIiBmaWxsPSIjMTYxNzE1Ij48L3JlY3Q+CiAgPHBhdGggZD0iTTIyNi4zMjggMjU2LjM3N0MyNTIuNTE5IDI1Ni4zNzcgMjY5Ljg3NSAyNjcuMjQxIDI4MS43OTcgMjc2LjYyNEMyODQuNjE0IDI3OC44NDEgMjg3LjI1IDI4MS4wNzUgMjg5LjMyNCAyODIuODFDMjkxLjU1MSAyODQuNjc0IDI5My4xNDQgMjg1Ljk3NCAyOTQuNTMzIDI4Ni45ODJDMjk1LjEzNSAyODcuNDIgMjk1LjU5NyAyODcuNzIzIDI5NS45MjggMjg3LjkyN0gzNTAuMDkzVjMyOS43NTRIMjk0LjMwNUMyODMuNDAxIDMyOS43NTQgMjc1LjA0NiAzMjQuNTAxIDI3MC4wMDQgMzIwLjgzOUMyNjcuMzIxIDMxOC44OSAyNjQuNzMgMzE2LjczOSAyNjIuNTM4IDMxNC45MDVDMjYwLjE5NCAzMTIuOTQzIDI1OC4xNzYgMzExLjIzNCAyNTUuOTgyIDMwOS41MDdDMjQ3Ljg2MiAzMDMuMTE1IDIzOS40NTkgMjk4LjIwNCAyMjYuMzI4IDI5OC4yMDRIMjI1Ljc5NkMyMTIuNjY1IDI5OC4yMDQgMjA0LjI2MyAzMDMuMTE1IDE5Ni4xNDIgMzA5LjUwN0MxOTMuOTQ4IDMxMS4yMzQgMTkxLjkzMSAzMTIuOTQ0IDE4OS41ODYgMzE0LjkwNUMxODcuMzk0IDMxNi43MzkgMTg0LjgwMyAzMTguODkgMTgyLjExOSAzMjAuODM5QzE3Ny4wNzcgMzI0LjUwMSAxNjguNzIzIDMyOS43NTQgMTU3LjgxOSAzMjkuNzU0SDEwMC40ODJWMjg3LjkyN0gxNTYuMTk2QzE1Ni41MjggMjg3LjcyMyAxNTYuOTg5IDI4Ny40MiAxNTcuNTkxIDI4Ni45ODJDMTU4Ljk4IDI4NS45NzQgMTYwLjU3MyAyODQuNjc0IDE2Mi44IDI4Mi44MUMxNjQuODc0IDI4MS4wNzUgMTY3LjUxIDI3OC44NDEgMTcwLjMyNiAyNzYuNjI0QzE4Mi4yNDggMjY3LjI0MSAxOTkuNjA0IDI1Ni4zNzcgMjI1Ljc5NiAyNTYuMzc3SDIyNi4zMjhaIiBmaWxsPSIjODJDMzhDIj48L3BhdGg+CiAgPHBhdGggZD0iTTMxNi4xMDIgMTIxLjA4NkMzMzUuMDcyIDEyMS4wODYgMzUwLjQ0OSAxMzYuNDg0IDM1MC40NSAxNTUuNDc3VjI0NS43MzVIMzA4LjY3N1YxNjIuOTEySDE0Mi4wNDVWMjQ1LjczNUgxMDAuMjcyVjE1NS40NzdDMTAwLjI3MyAxMzYuNDg0IDExNS42NSAxMjEuMDg2IDEzNC42MiAxMjEuMDg2SDMxNi4xMDJaIiBmaWxsPSIjODJDMzhDIj48L3BhdGg+Cjwvc3ZnPg==`,upstash:`data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+VXBzdGFzaDwvdGl0bGU+PHBhdGggZD0iTTEzLjgwMjcgMEMxMS4xOTMgMCA4LjU4My45OTUyIDYuNTkxOCAyLjk4NjNjLTMuOTgyMyAzLjk4MjMtMy45ODIzIDEwLjQzOTYgMCAxNC40MjE5IDEuOTkxMSAxLjk5MTEgNS4yMTk4IDEuOTkxMSA3LjIxMSAwIDEuOTkxLTEuOTkxMSAxLjk5MS01LjIxOTggMC03LjIxMUwxMiAxMmMuOTk1Ni45OTU2Ljk5NTYgMi42MDk4IDAgMy42MDU1LS45OTU2Ljk5NTUtMi42MDk5Ljk5NTUtMy42MDU1IDAtMi45ODY2LTIuOTg2OC0yLjk4NjYtNy44Mjk3IDAtMTAuODE2NCAyLjk4NjgtMi45ODY4IDcuODI5Ny0yLjk4NjggMTAuODE2NCAwbDEuODAyOC0xLjgwMjhDMTkuMDIyNS45OTUyIDE2LjQxMjUgMCAxMy44MDI3IDB6TTEyIDEyYy0uOTk1Ni0uOTk1Ni0uOTk1Ni0yLjYwOTggMC0zLjYwNTUuOTk1Ni0uOTk1NSAyLjYwOTgtLjk5NTUgMy42MDU1IDAgMi45ODY3IDIuOTg2OCAyLjk4NjcgNy44Mjk3IDAgMTAuODE2NC0yLjk4NjcgMi45ODY4LTcuODI5NyAyLjk4NjgtMTAuODE2NCAwbC0xLjgwMjggMS44MDI4YzMuOTgyMyAzLjk4MjIgMTAuNDM5NiAzLjk4MjIgMTQuNDIxOSAwIDMuOTgyMy0zLjk4MjQgMy45ODIzLTEwLjQzOTYgMC0xNC40MjE5LS45OTU2LS45OTU2LTIuMzAwNi0xLjQ5MjItMy42MDU1LTEuNDkyMi0xLjMwNDggMC0yLjYwOTkuNDk2Ni0zLjYwNTQgMS40OTIyLTEuOTkxMiAxLjk5MTItMS45OTEyIDUuMjE5OCAwIDcuMjExeiIvPjwvc3ZnPg==`,vercel:`data:image/svg+xml;base64,PHN2ZyByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+VmVyY2VsPC90aXRsZT48cGF0aCBkPSJtMTIgMS42MDggMTIgMjAuNzg0SDBaIi8+PC9zdmc+`},_S={wolf:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20role='img'%20aria-label='Flisk%20Wolf'%3e%3ctitle%3eFlisk%20Wolf%3c/title%3e%3crect%20width='64'%20height='64'%20rx='14'%20fill='%230f1426'/%3e%3cpath%20d='M14%2012l10%2012h16l10-12v22L32%2054%2014%2034z'%20fill='%23fbfaf7'%20stroke='%23fbfaf7'%20stroke-width='2'%20stroke-linejoin='round'/%3e%3cpath%20d='M24%2033l5%202M40%2033l-5%202'%20stroke='%236ff0ae'%20stroke-width='4'%20stroke-linecap='round'/%3e%3cpath%20d='M29%2044l3%203%203-3'%20fill='none'%20stroke='%230f1426'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e`,fleet:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20role='img'%20aria-label='Fleet'%3e%3ctitle%3eFleet%3c/title%3e%3crect%20width='64'%20height='64'%20rx='14'%20fill='%230b0b0d'/%3e%3crect%20x='10'%20y='16'%20width='30'%20height='6'%20rx='3'%20fill='%23fbfaf7'%20opacity='.25'/%3e%3crect%20x='10'%20y='29'%20width='44'%20height='6'%20rx='3'%20fill='%23fbfaf7'%20opacity='.25'/%3e%3crect%20x='10'%20y='42'%20width='20'%20height='6'%20rx='3'%20fill='%23fbfaf7'%20opacity='.25'/%3e%3crect%20x='42'%20y='13'%20width='12'%20height='12'%20rx='3'%20fill='%2316a34a'/%3e%3crect%20x='34'%20y='26'%20width='12'%20height='12'%20rx='3'%20fill='%2316a34a'%20opacity='.6'/%3e%3crect%20x='26'%20y='39'%20width='12'%20height='12'%20rx='3'%20fill='%2316a34a'%20opacity='.35'/%3e%3c/svg%3e`,flisk:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20role='img'%20aria-label='Flisk%20CLI'%3e%3ctitle%3eFlisk%20CLI%3c/title%3e%3crect%20width='64'%20height='64'%20rx='14'%20fill='%2322c55e'/%3e%3cpath%20d='M18%2022l14%2010-14%2010'%20fill='none'%20stroke='%230a0a0e'%20stroke-width='6'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M36%2044h12'%20fill='none'%20stroke='%230a0a0e'%20stroke-width='6'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e`,claude:gS.anthropic,openai:gS.openai,openrouter:gS.openrouter,upstash:gS.upstash,e2b:gS.e2b,daytona:gS.daytona,isorun:gS.isorun},vS={wolf:`Flisk Wolf`,claude:`Claude`,openai:`OpenAI`,openrouter:`OpenRouter`,fleet:`Fleet`,upstash:`Upstash`,e2b:`E2B`,daytona:`Daytona`,isorun:`Isorun`,flisk:`Flisk`},yS={claude:`#d97757`,openai:`#fff`,openrouter:`#fff`,upstash:`#fff`,isorun:`#fff`};function bS({name:e,size:t=18}){let n={width:t,height:t,borderRadius:t*.24,flexShrink:0,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,verticalAlign:`middle`,background:yS[e],overflow:`hidden`},r=_S[e];if(!r)return(0,Z.jsx)(`span`,{style:{...n,background:`#444`,color:`#fff`,fontSize:t*.5,fontWeight:700},children:(vS[e]||e||`?`)[0]});let i=yS[e]?t*.16:0;return(0,Z.jsx)(`span`,{style:n,children:(0,Z.jsx)(`img`,{src:r,alt:``,width:t-i*2,height:t-i*2,style:{objectFit:`contain`,filter:e===`claude`?`brightness(0) invert(1)`:void 0}})})}var xS=e=>Array.from({length:e},(e,t)=>t),SS=({cls:e})=>(0,Z.jsx)(`path`,{className:`cur `+e,d:`M0 0v13l3.4-3 2.6 5.6 2.2-1L5.6 9H10Z`});function CS({kind:e}){return(0,Z.jsx)(`span`,{className:`demo-wrap`,\"aria-hidden\":`true`,children:(0,Z.jsxs)(`svg`,{className:`demo demo-`+e,viewBox:`0 0 200 60`,width:`100`,height:`30`,focusable:`false`,children:[(0,Z.jsx)(`rect`,{className:`bg`,x:`1`,y:`1`,width:`198`,height:`58`,rx:`5`}),e===`dictate`&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`circle`,{className:`rip`,cx:`24`,cy:`30`,r:`10`}),(0,Z.jsx)(`circle`,{className:`rip r2`,cx:`24`,cy:`30`,r:`10`}),(0,Z.jsxs)(`g`,{className:`mic`,children:[(0,Z.jsx)(`circle`,{cx:`24`,cy:`30`,r:`10`}),(0,Z.jsx)(`path`,{d:`M24 25v6M20.5 29.2a3.5 3.5 0 0 0 7 0M24 33.2v2.3`})]}),(0,Z.jsx)(`g`,{children:xS(9).map(e=>(0,Z.jsx)(`rect`,{className:`wv`,style:{animationDelay:e*.06+`s`,\"--h\":10+e*7%5*4+`px`},x:44+e*5,y:`22`,width:`2.6`,height:`16`,rx:`1.3`},e))}),(0,Z.jsx)(`rect`,{className:`ln l1`,x:`94`,y:`19`,width:`92`,height:`5`,rx:`2.5`}),(0,Z.jsx)(`rect`,{className:`ln l2`,x:`94`,y:`29`,width:`70`,height:`5`,rx:`2.5`}),(0,Z.jsx)(`rect`,{className:`ln l3`,x:`94`,y:`39`,width:`82`,height:`5`,rx:`2.5`}),(0,Z.jsx)(`rect`,{className:`caret`,x:`94`,y:`38`,width:`2`,height:`7`}),(0,Z.jsx)(SS,{cls:`dc`})]}),e===`talk`&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(`g`,{className:`ri`,children:[(0,Z.jsx)(`circle`,{cx:`100`,cy:`30`,r:`9`}),(0,Z.jsx)(`circle`,{cx:`100`,cy:`30`,r:`9`,className:`g2`})]}),(0,Z.jsxs)(`g`,{className:`ro`,children:[(0,Z.jsx)(`circle`,{cx:`100`,cy:`30`,r:`9`}),(0,Z.jsx)(`circle`,{cx:`100`,cy:`30`,r:`9`,className:`g2`})]}),(0,Z.jsx)(`circle`,{className:`orb`,cx:`100`,cy:`30`,r:`8`}),(0,Z.jsx)(`g`,{children:xS(7).map(e=>(0,Z.jsx)(`rect`,{className:`you`,style:{animationDelay:e*.05+`s`},x:14+e*6,y:`18`,width:`3`,height:`24`,rx:`1.5`},e))}),(0,Z.jsx)(`g`,{children:xS(7).map(e=>(0,Z.jsx)(`rect`,{className:`ai`,style:{animationDelay:e*.05+`s`},x:146+e*6,y:`18`,width:`3`,height:`24`,rx:`1.5`},e))}),(0,Z.jsx)(`path`,{className:`lab`,d:`M10 10h20M170 50h20`})]}),e===`attach`&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`rect`,{className:`zone`,x:`116`,y:`9`,width:`76`,height:`42`,rx:`5`}),(0,Z.jsx)(`path`,{className:`plus`,d:`M154 24v12M148 30h12`}),xS(3).map(e=>(0,Z.jsxs)(`g`,{className:`chip`,style:{animationDelay:e*.14+`s`,transform:`translate(`+(124+e*22)+`px,19px)`},children:[(0,Z.jsx)(`path`,{d:`M0 3Q0 0 3 0h7l6 6v15q0 3-3 3H3q-3 0-3-3Z`}),(0,Z.jsx)(`path`,{d:`M3.5 13h9M3.5 17.5h6`})]},e)),(0,Z.jsx)(`circle`,{className:`ok`,cx:`180`,cy:`17`,r:`5`}),(0,Z.jsx)(`path`,{className:`tk`,d:`M177.4 17l2 2 3.4-4`}),(0,Z.jsxs)(`g`,{className:`fc`,children:[(0,Z.jsx)(`path`,{d:`M0 3Q0 0 3 0h12l7 7v19q0 3-3 3H3q-3 0-3-3Z`}),(0,Z.jsx)(`path`,{d:`M15 0v7h7M5 15h12M5 20.5h8`})]}),(0,Z.jsx)(SS,{cls:`ac`})]}),e===`computers`&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(`g`,{className:`task`,children:[(0,Z.jsx)(`rect`,{x:`8`,y:`23`,width:`36`,height:`14`,rx:`7`}),(0,Z.jsx)(`path`,{d:`M16 30h14`})]}),(0,Z.jsx)(`circle`,{className:`hub`,cx:`76`,cy:`30`,r:`4.5`}),(0,Z.jsx)(`path`,{className:`pt`,d:`M44 30H71.5`}),(0,Z.jsx)(`path`,{className:`pt q1`,d:`M80.5 30L112 14.5`}),(0,Z.jsx)(`path`,{className:`pt q2`,d:`M80.5 30H112`}),(0,Z.jsx)(`path`,{className:`pt q3`,d:`M80.5 30L112 45.5`}),[0,1,2].map(e=>(0,Z.jsxs)(`g`,{className:`pc pc`+e,children:[(0,Z.jsx)(`rect`,{className:`card`,x:`114`,y:7+e*16.5,width:`78`,height:`13`,rx:`3`}),(0,Z.jsx)(`circle`,{className:`led`,cx:`121`,cy:13.5+e*16.5,r:`2`}),(0,Z.jsx)(`rect`,{className:`trk`,x:`128`,y:11.5+e*16.5,width:`56`,height:`4`,rx:`2`}),(0,Z.jsx)(`rect`,{className:`bar`,x:`128`,y:11.5+e*16.5,width:`56`,height:`4`,rx:`2`})]},e)),(0,Z.jsx)(`circle`,{className:`job`,r:`3.2`})]}),e===`model`&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`rect`,{className:`hl`,x:`8`,y:`8`,width:`52`,height:`13`,rx:`6.5`}),[`wolf`,`claude`,`gpt`].map((e,t)=>(0,Z.jsxs)(`g`,{className:`pill p`+t,children:[(0,Z.jsx)(`circle`,{cx:18+t*56,cy:`14.5`,r:`3`}),(0,Z.jsx)(`rect`,{x:25+t*56,y:`12.7`,width:`24`,height:`3.6`,rx:`1.8`})]},e)),xS(3).map(e=>(0,Z.jsxs)(`g`,{className:`st s`+e,children:[(0,Z.jsx)(`rect`,{className:`tx a`,x:`12`,y:`30`,width:`170`,height:`4.4`,rx:`2.2`}),(0,Z.jsx)(`rect`,{className:`tx b`,x:`12`,y:`38.5`,width:`136`,height:`4.4`,rx:`2.2`}),(0,Z.jsx)(`rect`,{className:`tx c`,x:`12`,y:`47`,width:`156`,height:`4.4`,rx:`2.2`})]},e)),(0,Z.jsx)(`path`,{className:`spk`,d:`M186 12c.4 3.4 1.6 4.6 5 5-3.4.4-4.6 1.6-5 5-.4-3.4-1.6-4.6-5-5 3.4-.4 4.6-1.6 5-5Z`})]})]})})}var wS=g();hS();var TS=(0,X.createContext)({on:!1,show:()=>{}}),ES=600;function DS({text:e,title:t,brand:n,more:r,scene:i,scenes:a,passThrough:o,placement:s=`above`,children:c}){let{on:l,show:u}=(0,X.useContext)(TS),[d,f]=(0,X.useState)(null),p=(0,X.useRef)(0),m=(0,X.useRef)(null),h=(0,X.useRef)(!1),g=(0,X.useRef)(null),_=()=>clearTimeout(p.current),v=()=>{let t=g.current.getBoundingClientRect();try{navigator.vibrate&&navigator.vibrate(12)}catch{}l&&u&&u(e),f({x:t.left+t.width/2,y:t.top+t.height/2})},y=d&&(0,wS.createPortal)((0,Z.jsx)(kS,{at:d,title:t,brand:n,text:e,more:r,scene:i,scenes:a,onClose:()=>f(null)}),document.body);return l&&!o?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`span`,{ref:g,\"data-explain\":`1`,onPointerDownCapture:e=>e.stopPropagation(),onMouseDownCapture:e=>e.stopPropagation(),onKeyDownCapture:e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),e.stopPropagation(),v())},onClickCapture:e=>{e.preventDefault(),e.stopPropagation(),v()},style:{display:`inline-flex`,flexShrink:0,outline:`2px dashed #7aa2ff`,outlineOffset:2,borderRadius:8},children:c}),y]}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(uS,{content:e,placement:s,children:(0,Z.jsx)(`span`,{ref:g,onPointerDown:e=>{h.current=!1,m.current=[e.clientX,e.clientY],_(),p.current=setTimeout(()=>{h.current=!0,v()},ES)},onPointerMove:e=>{m.current&&Math.hypot(e.clientX-m.current[0],e.clientY-m.current[1])>8&&_()},onPointerUp:_,onPointerCancel:_,onPointerLeave:_,onContextMenu:e=>e.preventDefault(),onClickCapture:e=>{h.current&&=(e.preventDefault(),e.stopPropagation(),!1)},style:{display:`inline-flex`,flexShrink:0,WebkitTouchCallout:`none`,WebkitUserSelect:`none`,userSelect:`none`},children:c})}),y]})}var OS=`@keyframes peekFade{from{opacity:0}to{opacity:1}}\n@keyframes peekGrow{0%{transform:scale(.3);opacity:0}60%{transform:scale(1.03);opacity:1}100%{transform:scale(1)}}\n@keyframes peekRise{from{transform:translateY(10px);opacity:0}to{transform:none;opacity:1}}\n@keyframes peekPop{0%{transform:scale(.5);opacity:0}70%{transform:scale(1.12);opacity:1}100%{transform:scale(1)}}\n@keyframes peekReveal{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 0 0)}}\n@keyframes peekRing{0%{transform:scale(.4);opacity:.9}100%{transform:scale(5);opacity:0}}\n.peek-card>*{animation:peekRise .4s cubic-bezier(.2,.9,.3,1) both}\n.peek-card>.peek-head{animation-delay:.12s}.peek-card>.peek-scene{animation:peekReveal .5s cubic-bezier(.2,.8,.2,1) .18s both}\n.peek-card>.peek-text{animation-delay:.3s}.peek-card>.peek-more{animation-delay:.38s}.peek-card>.peek-hint{animation-delay:.5s}\n.peek-brand{animation:peekPop .45s cubic-bezier(.3,1.5,.5,1) .15s both}\n.peek-scene{color:#111;color-scheme:light;border:1px solid #e6e6e6;overflow:hidden;margin:2px 0 12px;border-radius:var(--radius)}\n.peek-scene .demo-wrap,.peek-mini .demo-wrap{width:100%;height:auto;display:block}\n.peek-scene .demo,.peek-mini .demo{position:static;width:100%;height:auto;display:block;transform:none!important;box-shadow:none!important}\n.peek-row{display:flex;align-items:center;gap:12px;animation:peekRise .4s cubic-bezier(.2,.9,.3,1) both}\n.peek-mini{flex:none;width:132px;border:1px solid #e6e6e6;overflow:hidden;color:#111;color-scheme:light;border-radius:var(--radius)}\n@media (prefers-reduced-motion:reduce){.peek-card>*,.peek-brand,.peek-row{animation-duration:.01s;animation-delay:0s}}`;function kS({at:e,title:t,brand:n,text:r,more:i,scene:a,scenes:o,onClose:s}){(0,X.useEffect)(()=>{let e=e=>{e.key===`Escape`&&s()};return addEventListener(`keydown`,e),()=>removeEventListener(`keydown`,e)},[s]);let c=Math.min(o?380:340,innerWidth-32);return(0,Z.jsxs)(`div`,{role:`dialog`,\"aria-modal\":`true`,\"aria-label\":t||vS[n]||`What this does`,onPointerDown:s,style:{position:`fixed`,inset:0,zIndex:100,background:`rgba(0,0,0,.34)`,backdropFilter:`blur(8px)`,WebkitBackdropFilter:`blur(8px)`,animation:`peekFade .2s ease-out`},children:[(0,Z.jsx)(`style`,{children:OS}),(0,Z.jsx)(`span`,{\"aria-hidden\":`true`,style:{position:`absolute`,left:e.x-20,top:e.y-20,width:40,height:40,borderRadius:`50%`,border:`2px solid #7aa2ff`,animation:`peekRing .7s ease-out both`,pointerEvents:`none`}}),(0,Z.jsx)(`div`,{style:{position:`absolute`,left:`50%`,top:`50%`,width:c,marginLeft:-c/2,transform:`translateY(-50%)`,maxHeight:`92vh`,overflow:`auto`},children:(0,Z.jsxs)(`div`,{className:`peek-card`,style:{transformOrigin:`${e.x-(innerWidth-c)/2}px ${e.y-innerHeight/2+80}px`,animation:`peekGrow .34s cubic-bezier(.2,.9,.3,1.1)`,background:`#fff`,color:`#111`,colorScheme:`light`,borderRadius:22,padding:18,boxShadow:`0 24px 70px rgba(0,0,0,.4)`},children:[(0,Z.jsxs)(`div`,{className:`peek-head`,style:{display:`flex`,alignItems:`center`,gap:10,marginBottom:10},children:[n&&(0,Z.jsx)(`span`,{className:`peek-brand`,style:{display:`inline-flex`},children:(0,Z.jsx)(bS,{name:n,size:40})}),(0,Z.jsx)(`div`,{style:{fontSize:18,fontWeight:650},children:t||vS[n]||`What this does`})]}),a&&(0,Z.jsx)(`div`,{className:`peek-scene`,children:(0,Z.jsx)(CS,{kind:a})}),(0,Z.jsx)(`div`,{className:`peek-text`,style:{fontSize:16,lineHeight:1.4},children:r}),o&&(0,Z.jsx)(`div`,{style:{display:`grid`,gap:10,marginTop:12},children:o.map((e,t)=>(0,Z.jsxs)(`div`,{className:`peek-row`,style:{animationDelay:.3+t*.09+`s`},children:[(0,Z.jsx)(`div`,{className:`peek-mini`,children:(0,Z.jsx)(CS,{kind:e.kind})}),(0,Z.jsxs)(`div`,{children:[(0,Z.jsx)(`div`,{style:{fontSize:15,fontWeight:600},children:e.label}),(0,Z.jsx)(`div`,{style:{fontSize:13,lineHeight:1.35,color:`#555`},children:e.text})]})]},e.kind))}),i&&(0,Z.jsx)(`div`,{className:`peek-more`,style:{fontSize:14,lineHeight:1.4,color:`#555`,marginTop:10,paddingTop:10,borderTop:`1px solid #eee`},children:i}),(0,Z.jsx)(`div`,{className:`peek-hint`,style:{fontSize:12,color:`#999`,marginTop:12},children:`Tap anywhere to close`})]})})]})}var AS,jS,MS,NS,PS,FS,IS,LS,RS,zS,BS,VS,HS,US,WS,GS=o((()=>{AS={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}},jS={normal:{k63SB2:`x1sodnla`,$$css:!0},medium:{k63SB2:`x1e4wzip`,$$css:!0},semibold:{k63SB2:`x2mo6ok`,$$css:!0},bold:{k63SB2:`x1lvx875`,$$css:!0}},MS={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}},NS={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}},PS={\"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}},FS={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}},IS={inline:{k1xSpc:`xt0psk2`,kHjlTd:`xh015us`,$$css:!0},block:{k1xSpc:`x1lliihq`,kHjlTd:`xh015us`,$$css:!0}},LS={singleLine:{kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,k1xSpc:`x1lliihq`,$$css:!0},multiLine:{kVQacm:`xb3r6kr`,k1xSpc:`x104kibb`,kgKLqz:`x1ua5tub`,$$css:!0}},RS={\"break-word\":{kTgw9:`x1lldw8n`,kHjlTd:`x1mzt3pk`,$$css:!0},\"break-all\":{kTgw9:`x1yn0g08`,$$css:!0}},zS={wrap:{kN2L0X:`xk4td0m`,$$css:!0},nowrap:{kN2L0X:`xebhuq6`,$$css:!0},balance:{kN2L0X:`x1w2vvpw`,$$css:!0},pretty:{kN2L0X:`x1fzhlzt`,$$css:!0}},BS={enabled:{kxwWH2:`x1b2iylo`,kzeHkT:`xwgcxoh`,k1xSpc:`x1lliihq`,$$css:!0}},VS={strikethrough:{kybGjl:`xmqliwb`,$$css:!0}},HS={enabled:{kcqcaj:`xss6m8b`,$$css:!0}},US={start:{k9WMMc:`x1yc453h`,$$css:!0},center:{k9WMMc:`x2b8uid`,$$css:!0},end:{k9WMMc:`xp4054r`,$$css:!0}},WS={content:{ks0D6T:`xw5ewwj`,kTgw9:`x13faqbe`,$$css:!0}}}));function KS(e){let{maxLines:t,isExpanded:n=!1}=e,[r,i]=(0,qS.useState)(!1),[a,o]=(0,qS.useState)(``),s=(0,qS.useRef)({isTruncated:!1,fullText:``}),c=(0,qS.useCallback)(e=>{s.current.isTruncated!==e&&(s.current.isTruncated=e,i(e))},[]),l=(0,qS.useCallback)(e=>{s.current.fullText!==e&&(s.current.fullText=e,o(e))},[]),u=(0,qS.useRef)(null),d=(0,qS.useRef)(null),f=(0,qS.useRef)(null),p=(0,qS.useRef)({isTruncated:!1,fullText:``}),m=(0,qS.useRef)(null),h=(0,qS.useCallback)(e=>{if(t===0)c(!1);else if(p.current.fullText=e.textContent??``,l(p.current.fullText),t===1)p.current.isTruncated=e.scrollWidth>e.offsetWidth,c(p.current.isTruncated);else{let t=e.scrollHeight;try{let n=document.createRange();n.selectNodeContents(e),t=n.getBoundingClientRect().height,n.detach()}catch{}p.current.isTruncated=t>e.offsetHeight,c(p.current.isTruncated)}},[t,c,l]);return{ref:(0,qS.useCallback)(e=>{d.current?.(),d.current=null,f.current?.(),f.current=null;let r=u.current;if(u.current=e,n){e==null?m.current=r:(c(p.current.isTruncated),l(p.current.fullText));return}let i=m.current;if(m.current=null,i!=null&&e!==i&&(p.current={isTruncated:!1,fullText:``},c(!1),l(``)),e&&t>0){let t=Ji(e,()=>{h(e)});t??h(e),d.current=t,f.current=Zg(e,()=>{h(e)})}else c(!1),l(``)},[t,n,h,c,l]),isTruncated:r,fullText:a}}var qS,JS=o((()=>{qS=u(f(),1),Qi(),t_()}));function YS(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 XS=o((()=>{})),ZS,QS,$S,eC,tC,nC,rC=o((()=>{ZS=`modulepreload`,QS=function(e){return`/`+e},$S={},eC=function(e){return e.pathname.endsWith(`.css`)},tC=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},nC=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=function(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))},i=function(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)},a,o=document.querySelector(`meta[property=csp-nonce]`),s=o?.nonce||o?.getAttribute(`nonce`);r=e(t.map(e=>{e=QS(e,n);let t=i(e),r=eC(t);return tC($S,t.href,()=>{if(a===void 0){a={all:new Set,styles:new Set};let e=document.getElementsByTagName(`link`);for(let t=e.length-1;t>=0;t--){let n=e[t];a.all.add(n.href),n.rel===`stylesheet`&&a.styles.add(n.href)}}if((r?a.styles:a.all).has(t.href))return;let e=document.createElement(`link`);if(e.rel=r?`stylesheet`:ZS,r||(e.as=`script`),e.crossOrigin=``,e.href=t.href,s&&e.setAttribute(`nonce`,s),document.head.appendChild(e),r)return new Promise((n,r)=>{let i=a=>{e.removeEventListener(`load`,i),e.removeEventListener(`error`,i),a.type===`error`?r(Error(`Unable to preload CSS for ${t}`)):n(a)};e.addEventListener(`load`,i),e.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)})}}));function iC(e){let[t,n]=(0,fC.useState)(!1),[r,i]=(0,fC.useState)(()=>mC.loaded()?.Tooltip??null);(0,fC.useEffect)(()=>{if(!e||r!=null)return;let t=!0;return mC.load().then(e=>{t&&i(()=>e.Tooltip)},()=>{}),()=>{t=!1}},[e,r]);let a=(0,fC.useRef)({interest:null,tapEvent:null,isRead:!1}),o=kp(),s=(0,fC.useCallback)((t,r=null)=>{let i=a.current;e&&!i.isRead&&(i.interest=t,i.tapEvent=r,n(!0))},[e]),c=(0,fC.useCallback)(e=>{let t=a.current;!t.isRead&&t.interest===e&&(t.interest=null)},[]);return{isWanted:t,tooltip:r,interestRef:a,onPointerEnter:(0,fC.useCallback)(e=>{e.pointerType!==`touch`&&s(`hover`)},[s]),onPointerLeave:(0,fC.useCallback)(()=>c(`hover`),[c]),onPointerDown:(0,fC.useCallback)(t=>{!e||a.current.isRead?o.forget():o.press(t.nativeEvent,t.currentTarget,e=>s(`tap`,e))||c(`hover`)},[e,o,s,c]),onFocus:(0,fC.useCallback)(e=>{let t=e.target;Qu(t)&&t.matches(`:focus-visible`)&&!o.isTouchPressCurrent()&&s(`focus`)},[s,o]),onBlur:(0,fC.useCallback)(()=>c(`focus`),[c])}}function aC({anchorRef:e,content:t,placement:n,interest:r}){let i=r.tooltip;return i==null?null:(0,pC.jsx)(ou,{value:r.interestRef,children:(0,pC.jsx)(i,{anchorRef:e,content:t,placement:n})})}function oC(e){let t=e.clientWidth||(e instanceof HTMLElement?e.offsetWidth:0);return t>0&&e.scrollWidth>t}function sC(e){let t=e.ownerDocument.defaultView?.getComputedStyle(e);return t!=null&&t.position===`absolute`&&(t.clip!==``&&t.clip!==`auto`||t.clipPath!==``&&t.clipPath!==`none`)}function cC(e){return e.closest(`[hidden], [aria-hidden=\"true\"], ${hC}`)!=null||sC(e)}function lC(e){return oC(e)||[...e.querySelectorAll(`*`)].some(e=>!cC(e)&&oC(e))}function uC(e){let t=``,n=e=>{e.nodeType===Node.TEXT_NODE?t+=e.textContent??``:e instanceof Element&&!cC(e)&&e.childNodes.forEach(n)};return n(e),t.replace(/\\s+/g,` `).trim()}function dC({anchorRef:e,measureRef:t,isEnabled:n,isSuppressed:r}){let[i,a]=(0,fC.useState)(null),[o,s]=(0,fC.useState)(()=>mC.loaded()?.UndescribedTooltip??null),c=If(e,n);(0,fC.useEffect)(()=>{if(!n||o!=null)return;let e=!0;return mC.load().then(t=>{e&&s(()=>t.UndescribedTooltip)},()=>{}),()=>{e=!1}},[n,o]);let l=(0,fC.useCallback)(()=>a(null),[]);return{cutText:i,Tooltip:o,hide:l,onFocus:i=>{let o=e.current,s=t?.current??o,l=i.target;if(!n||o==null||s==null||!Qu(l)||!o.contains(l)||!l.matches(`:focus-visible`)||c()!==`keyboard`)return;let u=uC(s),d=u!==``&&!(r?.(o)??!1)&&lC(s);a(d?u:null)},onBlur:t=>{let n=t.relatedTarget;Qu(n)&&e.current?.contains(n)||a(null)},onPointerDown:l}}var fC,pC,mC,hC,gC=o((()=>{fC=u(f(),1),XS(),Hf(),Pp(),od(),su(),pC=mc(),rC(),mC=YS(async()=>nC(()=>Promise.resolve().then(()=>(hS(),sS)),void 0)),hC=`input, textarea, select, [contenteditable]:not([contenteditable=\"false\"]), [role=\"combobox\"], [role=\"listbox\"], [role=\"searchbox\"], [role=\"spinbutton\"], [role=\"slider\"], [role=\"textbox\"]`}));function _C(...e){return t=>{for(let n of e)if(n?.(t),t.defaultPrevented)return}}var vC=o((()=>{}));function yC(e,t){let n={...e,...t},r=[e.className,t.className].filter(Boolean).join(` `);r?n.className=r:delete n.className;let i=t.style&&e.style?{...e.style,...t.style}:t.style||e.style;return i?n.style=i:delete n.style,n}function Q(e,t,n,r){if(typeof e==`string`){let i=e,a=t??{className:``},o=n,s=a.className?`${i} ${a.className}`:i;o&&(s=`${s} ${o}`);let c=r&&a.style?{...a.style,...r}:r||a.style;return{...a,className:s,style:c}}let i=yC(e,typeof t==`string`?{className:t}:t??{});return typeof n==`string`?i=yC(i,{className:n}):n!=null&&(i=yC(i,{style:n})),r!=null&&(i=yC(i,{style:r})),i}var bC=o((()=>{})),xC,Vee=o((()=>{Xf(),xC=Uf(`TextClampContext`,1,!1)}));function Hee(e){return e in NS?e:`body`}function SC(e){return e in AS?e:`primary`}function CC({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:m,style:h,as:g=`span`,children:_,ref:v,...y}){let b=n??EC[e]??`primary`,x=Hee(e),S=SC(b),w=s??(a===1?`break-all`:`break-word`),T=a>0||u?`block`:i,E=KS({maxLines:o===!1?0:a}),D=typeof o==`string`?o:`above`,O=a>0&&o!==!1&&E.isTruncated,k=iC(O),A=(0,wC.useRef)(null),j=gx(v,E.ref,A),M=(0,wC.use)(xC),N=a===1||a>1&&!u,P=a>1?{WebkitLineClamp:a}:void 0;return(0,TC.jsxs)(TC.Fragment,{children:[(0,TC.jsx)(g,{ref:j,...Q(Y(`text`,{type:e,size:t,color:b}),C(AS[S],NS[x],t&&PS[t],MS[x],r&&jS[r],a===1?LS.singleLine:a>1?LS.multiLine:IS[T],a>0&&RS[w],c&&zS[c],l!==`start`&&US[l],u&&BS.enabled,d&&VS.strikethrough,f&&HS.enabled,p),m,{...h,...P}),...y,onPointerEnter:_C(k.onPointerEnter,y.onPointerEnter),onPointerLeave:_C(k.onPointerLeave,y.onPointerLeave),onPointerDown:_C(k.onPointerDown,y.onPointerDown),onFocus:_C(k.onFocus,y.onFocus),onBlur:_C(k.onBlur,y.onBlur),children:(0,TC.jsx)(xC,{value:N||M,children:_})}),O&&k.isWanted&&(0,TC.jsx)(aC,{anchorRef:A,content:(0,TC.jsx)(`span`,{...C(WS.content),children:E.fullText}),placement:D,interest:k})]})}var wC,TC,EC,DC=o((()=>{wC=u(f(),1),D(),GS(),JS(),gC(),vC(),bC(),vx(),vr(),Vee(),TC=mc(),EC={body:`primary`,large:`primary`,label:`primary`,supporting:`secondary`,code:`primary`,\"display-1\":`primary`,\"display-2\":`primary`,\"display-3\":`primary`,inherit:`inherit`},CC.displayName=`Text`}));function OC(e,t,n=!0){AC(e,t,n,!1)}function kC(e,t,n=!0){AC(e,t,n,!0)}function AC(e,t,n,r){let[i]=(0,jC.useState)(ac);(0,jC.useEffect)(()=>{n&&i(e,t,r?t:``)},[e,t,n,r,i])}var jC,MC=o((()=>{jC=u(f(),1),sc()}));function Uee(e){return e===`display-1`||e===`display-2`||e===`display-3`}function Wee(e){let t=typeof e==`number`||typeof e==`string`?Number(e):NaN;return Number.isInteger(t)&&t>=1&&t<=6?t:LC}function NC({level:e,type:t,weight:n,accessibilityLevel:r,color:i=`primary`,display:a=`block`,maxLines:o=0,hasTruncateTooltip:s=!0,wordBreak:c,textWrap:l,justify:u=`start`,hasCapsize:d=!1,hasStrikethrough:f=!1,xstyle:p,className:m,style:h,children:g,ref:_,...v}){let y=Wee(e);OC(`Heading`,`level must be 1, 2, 3, 4, 5 or 6, but it is ${typeof e==`string`?JSON.stringify(e):String(e)}. The heading renders as level ${y}. Pass the outline level, for example .`,y!==e);let b=IC[y],x=r&&r!==y?{\"aria-level\":r}:{},S=c??(o===1?`break-all`:`break-word`),w=o>0||d?`block`:a,T=t&&Uee(t)?t:void 0,E=KS({maxLines:s===!1?0:o}),D=typeof s==`string`?s:`above`,O=o>0&&s!==!1&&E.isTruncated,k=iC(O),A=(0,PC.useRef)(null),j=gx(_,E.ref,A),M=o>1?{WebkitLineClamp:o}:void 0;return(0,FC.jsxs)(FC.Fragment,{children:[(0,FC.jsx)(b,{ref:j,...Q(Y(`heading`,{level:y,color:i,type:t,weight:n}),C(AS[SC(i)],T?NS[T]:FS[y],T&&MS[T],n&&jS[n],o===1?LS.singleLine:o>1?LS.multiLine:IS[w],o>0&&RS[S],l&&zS[l],u!==`start`&&US[u],d&&BS.enabled,f&&VS.strikethrough,p),m,{...h,...M}),...x,...v,onPointerEnter:_C(k.onPointerEnter,v.onPointerEnter),onPointerLeave:_C(k.onPointerLeave,v.onPointerLeave),onPointerDown:_C(k.onPointerDown,v.onPointerDown),onFocus:_C(k.onFocus,v.onFocus),onBlur:_C(k.onBlur,v.onBlur),children:g}),O&&k.isWanted&&(0,FC.jsx)(aC,{anchorRef:A,content:(0,FC.jsx)(`span`,{...C(WS.content),children:E.fullText}),placement:D,interest:k})]})}var PC,FC,IC,LC,RC=o((()=>{PC=u(f(),1),D(),GS(),JS(),gC(),vC(),DC(),bC(),vx(),MC(),vr(),FC=mc(),IC={1:`h1`,2:`h2`,3:`h3`,4:`h4`,5:`h5`,6:`h6`},LC=2,NC.displayName=`Heading`})),zC,Gee=o((()=>{ys(),zC=_s(`SpinnerOwnerContext`,1,!1),zC.displayName=`SpinnerOwnerContext`})),BC,VC=o((()=>{Xn(),BC=Kn(`i18n/default-translator/default-translator`,1,()=>({}))})),HC,UC=o((()=>{ys(),VC(),HC=_s(`InternationalizationContext`,1,{locale:`en`,direction:`ltr`,messages:{},translate:(e,t)=>BC.translate?.(e,t)??e}),HC.displayName=`InternationalizationContext`}));function WC(e,t){let n=t&&t.cache?t.cache:XC,r=t&&t.serializer?t.serializer:JC;return(t&&t.strategy?t.strategy:qee)(e,{cache:n,serializer:r})}function Kee(e){return e==null||typeof e==`number`||typeof e==`boolean`}function GC(e,t,n,r){let i=Kee(r)?r:n(r),a=t.get(i);return a===void 0&&(a=e.call(this,r),t.set(i,a)),a}function KC(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 qC(e,t,n,r,i){return n.bind(t,e,r,i)}function qee(e,t){let n=e.length===1?GC:KC;return qC(e,this,n,t.cache.create(),t.serializer)}function Jee(e,t){return qC(e,this,KC,t.cache.create(),t.serializer)}function Yee(e,t){return qC(e,this,GC,t.cache.create(),t.serializer)}var JC,YC,XC,ZC,Xee=o((()=>{JC=function(){return JSON.stringify(arguments)},YC=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}},XC={create:function(){return new YC}},ZC={variadic:Jee,monadic:Yee}}));function Zee(e){let t={};return e.replace(tw,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}function Qee(e){if(e.length===0)throw Error(`Number skeleton cannot be empty`);let t=e.split(nw).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 $ee(e){return e.replace(/^(.*?)-/,``)}function QC(e){let t={};return e[e.length-1]===`r`?t.roundingPriority=`morePrecision`:e[e.length-1]===`s`&&(t.roundingPriority=`lessPrecision`),e.replace(iw,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 $C(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 ete(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)),!ow.test(e))throw Error(`Malformed concise eng/scientific notation`);t.minimumIntegerDigits=e.length}return t}function ew(e){return $C(e)||{}}function tte(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=$ee(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,...ew(t)}),{})};continue;case`engineering`:t={...t,notation:`engineering`,...n.options.reduce((e,t)=>({...e,...ew(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(aw,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(ow.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(rw.test(n.stem)){if(n.options.length>1)throw RangeError(`Fraction-precision stems only accept a single optional option`);n.stem.replace(rw,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,...QC(e)});continue}if(iw.test(n.stem)){t={...t,...QC(n.stem)};continue}let e=$C(n.stem);e&&(t={...t,...e});let r=ete(n.stem);r&&(t={...t,...r})}return t}var tw,nw,rw,iw,aw,ow,nte=o((()=>{tw=/(?:[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,nw=/[\\t-\\r \\x85\\u200E\\u200F\\u2028\\u2029]/i,rw=/^\\.(?:(0+)(\\*)?|(#+)|(0+)(#+))$/g,iw=/^(@+)?(\\+|#+)?[rs]?$/g,aw=/(\\*)(0+)|(#+)(0+)|(0+)/g,ow=/^(0+)$/}));function sw(e){return e.type===0}function rte(e){return e.type===1}function cw(e){return e.type===2}function lw(e){return e.type===3}function uw(e){return e.type===4}function dw(e){return e.type===5}function fw(e){return e.type===6}function ite(e){return e.type===7}function pw(e){return e.type===8}function mw(e){return!!(e&&typeof e==`object`&&e.type===0)}function hw(e){return!!(e&&typeof e==`object`&&e.type===1)}function ate(e,t){let n=``;for(let r=0;r>1),c=ote(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 ote(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),(xw[`${n}-${r}`]||xw[r||``]||xw[n||``]||xw[`${n}-001`]||xw[`001`])[0].charAt(0)}function gw(e,t){return{start:e,end:t}}function ste(e,t){return Aw.lastIndex=t,Aw.exec(e)[1]??``}function cte(e){if(e.length===0)return null;let t=1,n=1;for(let r=0;r=55296&&i<=56319&&r+1=56320&&t<=57343?2:1}else r++}return{offset:e.length,line:t,column:n}}function _w(e){return e>=97&&e<=122||e>=65&&e<=90}function lte(e){return _w(e)||e===47}function ute(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 dte(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function vw(e){e.forEach(e=>{if(delete e.location,dw(e)||fw(e))for(let t in e.options)delete e.options[t].location,vw(e.options[t].value);else cw(e)&&mw(e.style)||(lw(e)||uw(e))&&hw(e.style)?delete e.style.location:pw(e)&&vw(e.children)})}function fte(e,t={}){t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t};let n=new jw(e,t).parse();if(n.err){let e=SyntaxError(yw[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return t?.captureLocation||vw(n.val),n.val}var yw,bw,xw,Sw,Cw,ww,Tw,Ew,Dw,Ow,kw,Aw,jw,Mw=o((()=>{nte(),yw=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}({}),bw=/[ \\xA0\\u1680\\u2000-\\u200A\\u202F\\u205F\\u3000]/,xw={\"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`]},Sw=RegExp(`^${bw.source}*`),Cw=RegExp(`${bw.source}*$`),ww=!!Object.fromEntries,Tw=!!String.prototype.trimStart,Ew=!!String.prototype.trimEnd,Dw=ww?Object.fromEntries:function(e){let t={};for(let[n,r]of e)t[n]=r;return t},Ow=Tw?function(e){return e.trimStart()}:function(e){return e.replace(Sw,``)},kw=Ew?function(e){return e.trimEnd()}:function(e){return e.replace(Cw,``)},Aw=RegExp(`([^\\\\p{White_Space}\\\\p{Pattern_Syntax}]*)`,`yu`),jw=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=cte(this.message);if(e){let t=this.clonePosition();return this.position=e,{val:[{type:0,value:this.message,location:gw(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:gw(e,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(26,gw(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&_w(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:gw(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(``)?{val:{type:8,value:r,children:a,location:gw(n,this.clonePosition())},err:null}:this.error(23,gw(o,this.clonePosition()))):this.error(26,gw(e,this.clonePosition()))}return this.error(27,gw(n,this.clonePosition()))}return this.error(23,gw(n,this.clonePosition()))}parseTagName(){let e=this.offset();for(this.bump();!this.isEOF()&&ute(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=gw(n,this.clonePosition());return{val:{type:0,value:r,location:i},err:null}}tryParseLeftAngleBracket(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!lte(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,gw(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(2,gw(n,this.clonePosition()));let r=this.parseIdentifierIfPossible().value;if(!r)return this.error(3,gw(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,gw(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:r,location:gw(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(1,gw(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(3,gw(n,this.clonePosition()))}}parseIdentifierIfPossible(){let e=this.clonePosition(),t=this.offset(),n=ste(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:gw(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,gw(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=kw(n.val);if(r.length===0)return this.error(6,gw(this.clonePosition(),this.clonePosition()));e={style:r,styleLocation:gw(t,this.clonePosition())}}let t=this.tryParseArgumentClose(r);if(t.err)return t;let i=gw(r,this.clonePosition());if(e&&e.style.startsWith(`::`)){let t=Ow(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=ate(t,this.locale));let o={type:1,pattern:r,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?Zee(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,gw(i,{...i}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),s=0;if(a!==`select`&&o.value===`offset`){if(!this.bumpIf(`:`))return this.error(13,gw(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=gw(r,this.clonePosition());return a===`select`?{val:{type:5,value:n,options:Dw(c.val),location:u},err:null}:{val:{type:6,value:n,options:Dw(c.val),offset:s,pluralType:a===`plural`?`cardinal`:`ordinal`,location:u},err:null}}default:return this.error(5,gw(i,o))}}tryParseArgumentClose(e){return this.isEOF()||this.char()!==125?this.error(1,gw(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,gw(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=Qee(e)}catch{return this.error(7,t)}return{val:{type:0,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?tte(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=gw(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,gw(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:gw(r,this.clonePosition())}]),o.add(s),this.bumpSpace(),{value:s,location:c}=this.parseIdentifierIfPossible()}return a.length===0?this.error(t===`select`?15:16,gw(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(22,gw(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=gw(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=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()&&dte(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 pte(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 Nw(e){return typeof e==`function`}function Pw(e,t,n,r,i,a,o){if(e.length===1&&sw(e[0]))return[{type:0,value:e[0].value}];let s=[];for(let c of e){if(sw(c)){s.push({type:0,value:c.value});continue}if(ite(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 Vw(e,o);let l=i[e];if(rte(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(lw(c)){let e=typeof c.style==`string`?r.date[c.style]:hw(c.style)?c.style.parsedOptions:void 0;s.push({type:0,value:n.getDateTimeFormat(t,e).format(l)})}else if(uw(c)){let e=typeof c.style==`string`?r.time[c.style]:hw(c.style)?c.style.parsedOptions:r.time.medium;s.push({type:0,value:n.getDateTimeFormat(t,e).format(l)})}else if(cw(c)){let e=typeof c.style==`string`?r.number[c.style]:mw(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(pw(c)){let{children:e,value:l}=c,u=i[l];if(!Nw(u))throw new Bw(l,`function`,o);let d=u(Pw(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(dw(c)){let e=l,a=(Object.prototype.hasOwnProperty.call(c.options,e)?c.options[e]:void 0)||c.options.other;if(!a)throw new zw(c.value,l,Object.keys(c.options),o);s.push(...Pw(a.value,t,n,r,i))}else if(fw(c)){let e=`=${l}`,a=Object.prototype.hasOwnProperty.call(c.options,e)?c.options[e]:void 0;if(!a){if(!Intl.PluralRules)throw new Rw(`Intl.PluralRules is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-pluralrules\"\n`,`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 zw(c.value,l,Object.keys(c.options),o);let u=typeof l==`bigint`?Number(l):l;s.push(...Pw(a.value,t,n,r,i,u-(c.offset||0)))}}}return pte(s)}function Fw(e,t){return t?{...e,...t,...Object.keys(e).reduce((n,r)=>(n[r]={...e[r],...t[r]},n),{})}:e}function Iw(e,t){return t?Object.keys(e).reduce((n,r)=>(n[r]=Fw(e[r],t[r]),n),{...e}):e}function Lw(e){return{create(){return{get(t){return e[t]},set(t,n){e[t]=n}}}}}function mte(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:WC((...e)=>new Intl.NumberFormat(...e),{cache:Lw(e.number),strategy:ZC.variadic}),getDateTimeFormat:WC((...e)=>new Intl.DateTimeFormat(...e),{cache:Lw(e.dateTime),strategy:ZC.variadic}),getPluralRules:WC((...e)=>new Intl.PluralRules(...e),{cache:Lw(e.pluralRules),strategy:ZC.variadic})}}var Rw,zw,Bw,Vw,Hw,Uw,hte=o((()=>{Xee(),Mw(),Rw=class extends Error{constructor(e,t,n){super(e),this.code=t,this.originalMessage=n}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},zw=class extends Rw{constructor(e,t,n,r){super(`Invalid values for \"${e}\": \"${t}\". Options are \"${Object.keys(n).join(`\", \"`)}\"`,`INVALID_VALUE`,r)}},Bw=class extends Rw{constructor(e,t,n){super(`Value for \"${e}\" must be of type ${t}`,`INVALID_VALUE`,n)}},Vw=class extends Rw{constructor(e,t){super(`The intl string context variable \"${e}\" was not provided to the string \"${t}\"`,`MISSING_VALUE`,t)}},Hw=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=>Pw(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=Iw(e.formats,r),this.formatters=i&&i.formatters||mte(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=fte}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`}}}}},Uw=Hw}));function Ww(e){Object.assign(Gw,e)}var Gw,Kw,qw=o((()=>{Xn(),Gw=Gn(Wn(`i18n/english-fallback`,1),()=>({})),Kw=Gw}));function Jw(e,t){let n=`${t}::${e}`,r=Qw.get(n);return r===void 0&&(r=new Uw(e,t),Qw.set(n,r)),r}function Yw(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 Xw(e,t,n){let r={},i=Yw(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 Zw(e,t,n,r=Kw){let i=Xw(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:Jw(a,e).format(n)}}var Qw,$w=o((()=>{hte(),qw(),sc(),Qw=new Map})),eT,tT=o((()=>{UC(),VC(),$w(),BC.translate??=Zw(`en`,{}),eT=HC}));function nT(){return(0,rT.use)(eT).translate}var rT,iT=o((()=>{rT=u(f(),1),tT(),qw()})),aT,oT=o((()=>{aT={\"@astryx.spinner.loading\":`Loading`}}));function sT(){lT.flushScheduled=!1;let e=[];for(let t of lT.pendingRotors)e.push(...t.getAnimations());lT.pendingRotors.clear();for(let t of e)t.startTime=0}function gte(e){if(e!=null&&typeof e.getAnimations==`function`)return lT.pendingRotors.add(e),lT.flushScheduled||(lT.flushScheduled=!0,requestAnimationFrame(sT)),()=>{lT.pendingRotors.delete(e)}}var cT,lT,_te=o((()=>{Xn(),cT={turn:{k6sLGO:`x1so62im`,k44tkh:`xidn0ey x14hxw50`,ko0y90:`xa4qsjk`,kKVMdj:`x129v4ae`,kyAemX:`x1esw782`,$$css:!0}},lT=Kn(`spinner/spinner-rotor/state`,1,()=>({pendingRotors:new Set,flushScheduled:!1}))}));function uT(e){return e==null?null:(typeof e==`string`?tr(e):e)?.indicators??null}var dT=o((()=>{rr()}));function vte(e){return uT(Hs())?.[e]}var fT=o((()=>{rc(),dT()}));function pT(){if(typeof CSS<`u`&&typeof CSS.registerProperty==`function`)for(let e of yT)try{CSS.registerProperty({name:e,syntax:``,inherits:!0,initialValue:`0px`})}catch{}}function mT({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}=vT[e],f=d+u*2,p=Math.PI*d,m=p*_T,h=n!=null,g=(0,hT.useId)(),_=nT(),v=(0,hT.useRef)(null),y=(0,hT.useMemo)(()=>mx(v,c),[c]),b=h&&typeof n==`string`&&o==null,x=o??(typeof n==`string`?n:void 0)??_(`@astryx.spinner.loading`),S=(0,hT.use)(zC),w=l[`aria-hidden`]===!0||l[`aria-hidden`]===`true`,T=l.role;cx(v,!S&&!w&&(T==null||T===`progressbar`),``,{skipFirstRender:!0,fallbackText:x});let E=vte(`spinner`),D=(0,gT.jsx)(`span`,{ref:h?void 0:y,role:`progressbar`,\"aria-label\":b?void 0:x,\"aria-labelledby\":b?g:void 0,\"data-testid\":h?void 0:s,...h?{}:l,...Q(h?``:Y(`spinner`,{size:e,shade:t}),C(xT.spinner,!h&&ST[e],!h&&CT[t],!h&&r),h?void 0:i,{...h?{}:a,width:`var(${bT}, ${f}px)`,height:`var(${bT}, ${f}px)`}),children:E?(0,gT.jsx)(E,{state:`busy`,xstyle:xT.themeSpinner}):(0,gT.jsxs)(gT.Fragment,{children:[(0,gT.jsx)(`svg`,{width:0,height:0,\"aria-hidden\":`true`,className:`xlp1x4z x1lliihq x15r89dc x6v0vjy x7yyq19 x1rea2x4`,children:(0,gT.jsx)(`circle`,{cx:`50%`,cy:`50%`,r:d/2,strokeWidth:u,...C(xT.circle,xT.track,wT[t])})}),(0,gT.jsx)(`span`,{ref:gte,\"aria-hidden\":`true`,...C(xT.rotor,cT.turn),children:(0,gT.jsx)(`svg`,{width:f,height:f,className:`xlp1x4z x1lliihq x15r89dc x6v0vjy x7yyq19 x1rea2x4`,children:(0,gT.jsx)(`circle`,{cx:`50%`,cy:`50%`,r:d/2,strokeWidth:u,strokeDasharray:`${m} ${p-m}`,className:`xbh8q5q x1764fhq x1g0ag68 x1owpc8m xio8zfp xgw3ha0 xtve3lm x9tu13d xdv9ggb`})})})]})});return h?(0,gT.jsxs)(`div`,{ref:y,\"data-testid\":s,...l,...Q(Y(`spinner`,{size:e,shade:t}),C(xT.wrapper,ST[e],CT[t],r),i,a),children:[D,typeof n==`string`?(0,gT.jsx)(CC,{id:g,type:`body`,weight:`bold`,children:n}):n]}):D}var hT,gT,_T,vT,yT,bT,xT,ST,CT,wT,TT=o((()=>{hT=u(f(),1),Gee(),D(),DC(),bC(),hx(),px(),vr(),iT(),oT(),_te(),fT(),gT=mc(),Ww(aT),_T=.375,vT={sm:{diameter:10,border:2},md:{diameter:14,border:3},lg:{diameter:18,border:3},xl:{diameter:28,border:4}},yT=[`--_spinner-ring-diameter`,`--_spinner-ring-stroke`],bT=`--_spinner-box-size`,pT(),xT={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}},ST={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}},CT={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}},wT={default:{kDd8S0:`x1g350g8`,$$css:!0},subtle:{kDd8S0:`x1g350g8`,$$css:!0},onMedia:{kDd8S0:`x1smxkh6`,$$css:!0},inherit:{kDd8S0:`x7bo2k`,$$css:!0}},mT.displayName=`Spinner`})),ET,DT,OT,kT,AT=o((()=>{ET=mc(),DT={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},OT={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,width:`1em`,height:`1em`,\"aria-hidden\":!0},kT={close:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M6 6l12 12M6 18L18 6`})}),chevronDown:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M6 9l6 6 6-6`})}),\"numberInput:stepperDown\":(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M7.5 9.75l4.5 4.5 4.5-4.5`})}),chevronLeft:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M15 6l-6 6 6 6`})}),chevronRight:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M9 6l6 6-6 6`})}),chevronsLeft:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M18 6l-6 6 6 6M11 6l-6 6 6 6`})}),chevronsRight:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M6 6l6 6-6 6M13 6l6 6-6 6`})}),check:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M5 13l4 4L19 7`})}),success:(0,ET.jsx)(`svg`,{...OT,children:(0,ET.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,ET.jsx)(`svg`,{...OT,children:(0,ET.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,ET.jsx)(`svg`,{...OT,children:(0,ET.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,ET.jsx)(`svg`,{...OT,children:(0,ET.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,ET.jsxs)(`svg`,{...DT,children:[(0,ET.jsx)(`rect`,{x:`3`,y:`4`,width:`18`,height:`18`,rx:`2`}),(0,ET.jsx)(`path`,{d:`M16 2v4M8 2v4M3 10h18`})]}),clock:(0,ET.jsxs)(`svg`,{...DT,children:[(0,ET.jsx)(`circle`,{cx:`12`,cy:`12`,r:`9`}),(0,ET.jsx)(`path`,{d:`M12 7v5l3 3`})]}),externalLink:(0,ET.jsxs)(`svg`,{...DT,children:[(0,ET.jsx)(`path`,{d:`M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6`}),(0,ET.jsx)(`path`,{d:`M15 3h6v6`}),(0,ET.jsx)(`path`,{d:`M10 14L21 3`})]}),menu:(0,ET.jsx)(`svg`,{...DT,strokeWidth:2,children:(0,ET.jsx)(`path`,{d:`M4 6h16M4 12h16M4 18h16`})}),moreHorizontal:(0,ET.jsxs)(`svg`,{...OT,children:[(0,ET.jsx)(`circle`,{cx:`5`,cy:`12`,r:`1.5`}),(0,ET.jsx)(`circle`,{cx:`12`,cy:`12`,r:`1.5`}),(0,ET.jsx)(`circle`,{cx:`19`,cy:`12`,r:`1.5`})]}),search:(0,ET.jsxs)(`svg`,{...DT,children:[(0,ET.jsx)(`circle`,{cx:`11`,cy:`11`,r:`8`}),(0,ET.jsx)(`path`,{d:`M21 21l-4.35-4.35`})]}),upload:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M12 16V4m0 0L7 9m5-5l5 5M4 15v4a2 2 0 002 2h12a2 2 0 002-2v-4`})}),arrowUp:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M12 19V5m0 0l-7 7m7-7l7 7`})}),arrowDown:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.jsx)(`path`,{d:`M12 5v14m0 0l7-7m-7 7l-7-7`})}),arrowsUpDown:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.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,ET.jsx)(`svg`,{...DT,children:(0,ET.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,ET.jsx)(`svg`,{...DT,children:(0,ET.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,ET.jsx)(`svg`,{...DT,children:(0,ET.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,ET.jsxs)(`svg`,{...DT,children:[(0,ET.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,ET.jsx)(`path`,{d:`M16 18v2a2 2 0 01-2 2H6a2 2 0 01-2-2V9a2 2 0 012-2h2`})]}),checkDouble:(0,ET.jsxs)(`svg`,{...DT,children:[(0,ET.jsx)(`path`,{d:`M2 13l4 4L14 7`}),(0,ET.jsx)(`path`,{d:`M9 13l4 4L21 7`})]}),wrench:(0,ET.jsx)(`svg`,{...DT,children:(0,ET.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,ET.jsx)(`svg`,{...OT,children:(0,ET.jsx)(`rect`,{x:`6`,y:`6`,width:`12`,height:`12`,rx:`2`})}),microphone:(0,ET.jsxs)(`svg`,{...DT,children:[(0,ET.jsx)(`path`,{d:`M12 2a3 3 0 00-3 3v6a3 3 0 006 0V5a3 3 0 00-3-3z`}),(0,ET.jsx)(`path`,{d:`M19 10v1a7 7 0 01-14 0v-1`}),(0,ET.jsx)(`path`,{d:`M12 18v4m-4 0h8`})]})}}));function jT(e){return e.includes(`:`)}function MT(e){return typeof e==`string`?tr(e):e??null}function NT(e){return e==null?null:e.__icons??e.icons??null}function PT(e,t,n){let r=MT(t),i=r?.iconVariants,a=NT(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=RT.entries[e];return o==null?{entry:kT[e]??n,variantLists:[]}:{entry:o,variantLists:[i]}}function FT({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 yte(e,t,n){return FT(PT(e,t),n)}function bte(e,t){return FT(PT(e,t),LT)}function xte(e){return typeof e==`string`&&!jT(e)&&Object.hasOwn(kT,e)}function Ste(e){return e==null?null:e.__componentIcons??e.componentIcons??null}function IT(e,t,n,r){if(n===void 0)return t;if(n===null)return{...t,icon:null};if(typeof n!=`object`||Array.isArray(n))return t;let{icon:i,variant:a,size:o}=n,s=t;return(i===null||xte(i))&&(s={...s,icon:i}),typeof a==`string`&&r?.iconVariants?.includes(a)&&(s={...s,variant:a}),zT.has(o)&&(s={...s,size:o}),s}function Cte(e,t,n,r){let i=n===null||typeof n==`string`?{icon:n}:n,a=MT(r),o=Ste(a)?.[e];if(o===void 0)return i;if(typeof o==`function`){let n=o(t);return typeof n==`string`?i:IT(e,i,n,a)}return typeof o==`string`?IT(e,i,{icon:o},a):IT(e,i,o,a)}var LT,RT,zT,BT=o((()=>{AT(),rr(),$n(),LT={size:`md`},RT=Zn(`icon/global-icon-registry/state`,1,()=>({entries:{}})),zT=new Set([`xsm`,`sm`,`md`,`lg`])}));function VT(e){let t=(0,HT.use)(UT);return e??t??`md`}var HT,UT,WT,GT=o((()=>{HT=u(f(),1),Xf(),UT=Uf(`IconDefaultSizeContext`,1,null),UT.displayName=`IconDefaultSizeContext`,WT=UT.Provider})),KT,qT,JT=o((()=>{KT={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}},qT={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}}}));function YT(e){return e!=null&&e!==``?{role:`img`,\"aria-label\":e,\"aria-hidden\":void 0}:{\"aria-hidden\":`true`}}function XT({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}=ZT(e,l);OC(`Icon`,'takes its glyph in `icon`, not `name`. Pass it as icon, for example .',u!==e);let f=VT(n),p=YT(i);return typeof u==`string`?(0,nE.jsx)($T,{name:u,color:t,size:f,variant:r,a11yProps:p,className:o,style:s,xstyle:c,svgRef:a,spanProps:d}):(0,nE.jsx)(u,{ref:a,...p,...Q(Y(`icon`,{size:f,color:t}),C(rE.root,aE[t],KT[f],c),o??void 0,s),...d})}function ZT(e,t){if(e!=null||!(`name`in t)||!QT(t.name))return{icon:e,props:t};let{name:n,...r}=t;return{icon:n,props:r}}function QT(e){return typeof e==`string`&&e!==``||typeof e==`function`||typeof e==`object`&&!!e&&oE.has(e.$$typeof)}function $T({name:e,color:t,size:n,variant:r,a11yProps:i,className:a,style:o,xstyle:s,svgRef:c,spanProps:l}){let u=Us(),d=yte(e,u,{size:n,variant:r}),f=(0,tE.useCallback)(e=>c==null?void 0:mx(c)(e?.querySelector(`svg`)??null),[c,e,u,n,r]);if(d==null)return null;let p=l??{};return(0,nE.jsx)(`span`,{ref:c==null?void 0:f,...i,...p,...Q(Y(`icon`,{size:n,color:t}),C(rE.span,aE[t],iE[n],s),a??void 0,o),children:d})}function eE(e,t){return typeof e==`string`||typeof e==`function`||typeof e==`object`&&e&&`render`in e?(0,nE.jsx)(XT,{icon:e,...t}):e}var tE,nE,rE,iE,aE,oE,sE=o((()=>{tE=u(f(),1),D(),rc(),BT(),bC(),hx(),vr(),GT(),MC(),JT(),nE=mc(),rE={root:{kmuXW:`x2lah0s`,$$css:!0},span:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,$$css:!0}},iE={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}},aE={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}},XT.displayName=`Icon`,oE=new Set([Symbol.for(`react.forward_ref`),Symbol.for(`react.memo`),Symbol.for(`react.lazy`)])}));function cE({children:e,as:t=`span`,ref:n,...r}){let{xstyle:i,className:a,style:o,...s}=r;return(0,lE.createElement)(t,{ref:n,...s,className:`x10l6tqk x1i1rx1s xjm9jq1 xkdpibf x1717udv xb3r6kr xzpqnlu xuxw1ft xng3xce x13vifvy x1o0tod x47corl x87ps6o`},e)}var lE,uE=o((()=>{lE=u(f(),1),cE.displayName=`VisuallyHidden`})),dE=`data-astryx-edge-comp`;Xf();var fE=Uf(`SizeContext`,1,null);fE.displayName=`SizeContext`;function pE(e,t=`md`){let n=(0,X.use)(fE);return e??n??t}var mE=fE.Provider;Xf();var hE=Uf(`ButtonGroupContext`,1,null);hE.displayName=`ButtonGroupContext`;function gE(){return(0,X.use)(hE)}Xf(),Qv();var _E=Uf(`PressGroupContext`,1,null);_E.displayName=`PressGroupContext`;var vE=Uf(`PressGroupBandContext`,1,!1);vE.displayName=`PressGroupBandContext`,Xf();var yE=Uf(`InputGroupContext`,1,null);yE.displayName=`InputGroupContext`;function bE(){return(0,X.use)(yE)}Xf();var xE=Uf(`InputGroupInternalContext`,1,{isDisabled:!1});xE.displayName=`InputGroupInternalContext`;var SE={\"data-astryx-input-group-item\":``},CE={buttonAddon:{krdFHd:`x132ell6`,kVL7Gh:`x1y3chn8`,kfmiAY:`x1lsh8a1`,kT0f0o:`xz46atp`,kZKoxP:`x1y436bp`,kY2c9j:`xf5goe6`,$$css:!0},inGroup:{kUk6DE:`x98rzlu`,k7Eaqz:`xeuugli`,kZKoxP:`x5yr21d`,keTefX:`xd10s4z x1pwwqoy`,krdFHd:`x15mokao x8eehn2`,kVL7Gh:`xbiv7yw x1xrp5p4`,kfmiAY:`x1ga7v0g x1ursdma`,kT0f0o:`x16uus16 x1qa286i`,kXnDq0:`x1pc0aet`,$$css:!0}};function wte(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 wE(e,t){return{left:e.left-t.left,top:e.top-t.top,right:e.right+t.right,bottom:e.bottom+t.bottom}}function TE(e,t){return e.left=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 OE(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 kE(e,t){for(let n of[`top`,`right`,`bottom`,`left`])e.style.setProperty(yD[n],`${t[n]}px`)}function AE(){return typeof performance>`u`?Date.now():performance.now()}function jE(){BD?.(),BD=null,zD=null,RD=null}function ME(e,t){return e.top===t.top&&e.right===t.right&&e.bottom===t.bottom&&e.left===t.left}function NE(e,t){ME(e.last,t)||(e.last=t,e.onInsets(t))}function Tte(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 PE(e){let{left:t,top:n,right:r,bottom:i}=e.getBoundingClientRect();return{left:t,top:n,right:r,bottom:i}}function FE(e,t,n){if(!(t>0)||!(e>0))return 1;let r=e/t;return Math.abs(r-1)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 LE(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 HD;let o=IE(e);if(o==null)return HD;let{width:s,height:c}=o;return{x:FE(t.right-t.left,s,n.ratio),y:FE(t.bottom-t.top,c,n.ratio)}}function RE(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 zE(e){for(let t=e;t!=null;t=t.parentElement)if(DD.has(t))return t;return null}function BE(e){if(typeof MutationObserver>`u`?RD=null:zD===e?Qg(ED):(jE(),zD=e,BD=Xg(e,ED,HE)),RD!=null){for(let e of RD)e.isConnected||RD.delete(e);return[...RD]}let t=new Set;return VE(t,e),RD=t,[...t]}function VE(e,t){Qu(t)&&t.matches(bD)&&e.add(zE(t)??t);for(let n of t.querySelectorAll(bD))e.add(zE(n)??n)}function HE(e){let t=RD;if(t!=null)for(let n of e){if(n.type!==`attributes`){n.addedNodes.forEach(e=>{Qu(e)&&VE(t,e)});continue}let{target:e}=n;Qu(e)&&(e.matches(bD)?t.add(zE(e)??e):DD.has(e)||t.delete(e))}}function UE(e){if(e.matches(bD))return!0;for(let t of e.querySelectorAll(bD))if(zE(t)===e)return!0;return!1}function WE(e){let t=RD;if(t==null)return;for(let n of e.querySelectorAll(bD))t.delete(n);VE(t,e);let n=e.parentElement==null?null:zE(e.parentElement);n!=null&&t.has(n)&&!UE(n)&&t.delete(n)}function GE(e){let t=RD;t!=null&&(t.delete(e),VE(t,e))}function KE(e){return BE(e).map(e=>({element:e,rect:PE(e)}))}function qE(e,t){let n=PE(e.element),r=LE(e.element,n,UD),i=Math.max(0,e.minSize),a=wE(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&&TE(a,n)&&!Tte(e,t)).map(({rect:e})=>e);return{target:n,insets:DE(RE(n,n,r),o.map(e=>RE(e,n,r)),e.minSize,e.growth?.(RE(n,n,r),e=>RE(e,n,r))),neighbours:o}}function JE(e){return typeof e.getAnimations==`function`?(Qu(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)}):[]}function YE(e){let t=e.effect;return typeof t?.getKeyframes!=`function`||t.getKeyframes().some(e=>Object.keys(e).some(e=>WD.test(e)))}function XE(e){return JE(e).filter(e=>e.playState===`running`&&YE(e))}function ZE(e,t){Promise.allSettled(e.map(async e=>e.finished)).then(t)}function QE(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),ZE([r],()=>{e.heldBy.delete(r),e.isVisible&&DD.get(e.element)?.watches.has(e)&&iD(e)})))}return n}function $E(){if(jD=null,VD.isScrolling)return;let e=[...OD].filter(e=>e.isVisible);if(OD.clear(),!LD||e.length===0)return;let t=e[0].element.ownerDocument,n=XE(t),r=e.filter(e=>!QE(e,n));if(r.length===0)return;let i=KE(t),a=AE(),o=[];for(let e of r)o.length>0&&AE()-a>SD?OD.add(e):o.push({watch:e,insets:qE(e,i).insets});for(let{watch:e,insets:t}of o)NE(e,t);OD.size>0&&eD()}function eD(){jD==null&&!VD.isScrolling&&typeof requestAnimationFrame==`function`&&(jD=requestAnimationFrame($E))}function tD(){VD.isScrolling=!0,VD.timer!==void 0&&clearTimeout(VD.timer),VD.timer=setTimeout(nD,wD)}function nD(){if(VD.timer!==void 0&&(clearTimeout(VD.timer),VD.timer=void 0),VD.isScrolling){VD.isScrolling=!1;for(let e of[...VD.onEnd])e()}}function rD(){OD.size>0&&eD()}function iD(e){LD&&(OD.add(e),eD())}function aD(){for(let e of DD.values())e.watches.forEach(iD)}function oD(e){for(let t=e.target instanceof Element?e.target:null;t!=null;t=t.parentElement)if(DD.has(t)){sD(t,e);return}}function sD(e,t){let n=DD.get(e);if(n==null||(n.disarm?.(),!LD||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&&uD(e,n,r,i,KE(e.ownerDocument));if(a&&!o)return;let s=t=>{u(),t.detail!==0&&(o||dD(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=bu(d,`pointerdown`,u)),n.disarm=u}function cD(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 lD(e){let{element:t}=e,n=JE(t);n.length===0?iD(e):ZE(n,()=>{DD.get(t)?.watches.has(e)&&iD(e)})}function uD(e,t,n,r,i){let a=!1;for(let e of n){let{target:t,insets:n,neighbours:o}=qE(e,i),s=OE(cD(e.element,t),r.x,r.y);a||=o.some(e=>OE(e,r.x,r.y)e.ownsDescendantTouches)&&r.target instanceof Node&&r.target!==e&&e.contains(r.target);return a&&!o}function dD(e,t,n,r){let i=e.ownerDocument,a=XE(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)&&uD(e,t,n,r,KE(i).filter(e=>!o(e.element,!0)))}function fD(e){let t=AD.get(e);t!=null&&clearTimeout(t),AD.set(e,setTimeout(()=>{AD.delete(e);for(let[t,n]of DD)t.parentElement===e&&n.watches.forEach(iD)},CD))}function pD(e,t){let n=e.parentElement;FD?.observe(e),ID?.observe(e),n!=null&&ID?.observe(n);let r=n==null?null:Zg(n,()=>fD(n));t.release=()=>{FD?.unobserve(e),ID?.unobserve(e);let i=[...DD.keys()].some(t=>t!==e&&t.parentElement===n);if(n!=null&&!i){ID?.unobserve(n);let e=AD.get(n);e!=null&&(clearTimeout(e),AD.delete(n))}r?.(),t.disarm?.()}}function mD(){if(MD!=null){if(MD.addEventListener(`resize`,aD),VD.stop==null){let e=bu(MD,`scroll`,tD),t=bu(MD,`scrollend`,nD);VD.stop=()=>{e(),t()}}VD.onEnd.add(rD),ND=MD.document,ND.addEventListener(`pointerdown`,oD,TD),typeof IntersectionObserver==`function`&&(FD=new IntersectionObserver(e=>{for(let t of e)DD.get(t.target)?.watches.forEach(e=>{e.isVisible=t.isIntersecting,e.isVisible?iD(e):OD.delete(e)})})),typeof ResizeObserver==`function`&&(ID=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect,r=`${e}x${n}`,i=kD.get(t.target);if(kD.set(t.target,r),i!==void 0&&i!==r)for(let[e,n]of DD)(e===t.target||e.parentElement===t.target)&&n.watches.forEach(iD)}}));for(let[e,t]of DD)t.watches.forEach(e=>{e.isVisible=FD==null}),pD(e,t),FD??t.watches.forEach(iD)}}function hD(){for(let e of DD.values())e.release?.(),e.release=null;MD?.removeEventListener(`resize`,aD),VD.onEnd.delete(rD),VD.onEnd.size===0&&(VD.stop?.(),VD.stop=null,VD.timer!==void 0&&(clearTimeout(VD.timer),VD.timer=void 0),VD.isScrolling=!1),ND?.removeEventListener(`pointerdown`,oD,TD),ND=null,FD?.disconnect(),ID?.disconnect(),FD=null,ID=null,AD.forEach(e=>clearTimeout(e)),AD.clear(),jE(),jD!=null&&typeof cancelAnimationFrame==`function`&&cancelAnimationFrame(jD),jD=null,OD.clear()}function gD(){let e=PD?.matches??!1;if(e!==LD){if(LD=e,LD)mD();else{hD();for(let e of DD.values())e.watches.forEach(e=>NE(e,vD))}}}function _D(e,t,{minSize:n=44,ownsDescendantTouches:r=!1,growth:i,checkAtPress:a=!0}={}){let o=e.ownerDocument.defaultView;if(o==null)return()=>{};MD=o;let s=o.matchMedia?.(xD)??null;s!==PD&&(PD?.removeEventListener(`change`,gD),PD=s,PD?.addEventListener(`change`,gD)),gD();let c={element:e,minSize:n,ownsDescendantTouches:r,growth:i,checkAtPress:a,onInsets:t,isVisible:LD&&FD==null,last:vD,heldBy:new Set},l=DD.get(e);return l==null?(l={watches:new Set,release:null,disarm:null},DD.set(e,l),WE(e),l.watches.add(c),LD&&pD(e,l)):(c.isVisible=[...l.watches][0]?.isVisible??c.isVisible,l.watches.add(c)),c.isVisible&&iD(c),()=>{let t=DD.get(e);t!=null&&t.watches.delete(c)&&(OD.delete(c),t.watches.size===0&&(t.release?.(),DD.delete(e),GE(e)),DD.size===0&&(hD(),PD?.removeEventListener(`change`,gD),PD=null,MD=null,LD=!1))}}var vD,yD,bD,xD,SD,CD,wD,TD,ED,DD,OD,kD,AD,jD,MD,ND,PD,FD,ID,LD,RD,zD,BD,VD,HD,UD,WD,GD=o((()=>{Pu(),od(),Xn(),t_(),vD={top:0,right:0,bottom:0,left:0},yD={top:`--astryx-hit-inset-top`,right:`--astryx-hit-inset-right`,bottom:`--astryx-hit-inset-bottom`,left:`--astryx-hit-inset-left`},bD=`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(`,`),xD=`(pointer: coarse)`,SD=4,CD=100,wD=150,TD={capture:!0,passive:!0},ED={childList:!0,subtree:!0,attributes:!0,attributeFilter:[`href`,`type`,`for`,`contenteditable`,`role`,`tabindex`]},DD=new Map,OD=new Set,kD=new WeakMap,AD=new Map,jD=null,MD=null,ND=null,PD=null,FD=null,ID=null,LD=!1,RD=null,zD=null,BD=null,VD=Kn(`utils/hit-area/scroll-gate`,1,()=>({isScrolling:!1,timer:void 0,stop:null,onEnd:new Set})),HD={x:1,y:1},UD={pixels:1,ratio:.001},WD=/^(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 Ete(e,t,{growth:n,checkAtPress:r,ownsDescendantTouches:i=!0}){let a=()=>{},o=!1,s=!1,c=!1,l=()=>{a(),c&&(c=!1,kE(e,vD))},u=()=>{a=_D(e,t=>{let n=JE(e.parentElement??e);n.length===0?(c=!0,kE(e,t)):s||(s=!0,ZE(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()}}function Dte(e,t){let n=YD.get(e);n??(n={stop:Ete(e,44,t),holders:0},YD.set(e,n)),n.holders+=1;let r=n,i=!1;return()=>{i||(i=!0,--r.holders,queueMicrotask(()=>{r.holders===0&&YD.get(e)===r&&(YD.delete(e),r.stop())}))}}function KD(e,t=JD){return(0,qD.useCallback)(n=>{if(e&&n!=null)return Dte(n,t)},[e,t])}var qD,JD,YD,XD=o((()=>{qD=u(f(),1),GD(),JD={},YD=new WeakMap}));ys();var ZD={ownsDescendantTouches:!1},QD=_s(`ButtonHitAreaContext`,1,ZD);QD.displayName=`ButtonHitAreaContext`;var $D,eO=o((()=>{$D={layer:{k5JduY:`x1fjtqre`,kwXMNM:`x7b72wb`,kv0HGH:`x1ukc1h5`,kJYu5r:`x1c440c0`,$$css:!0},layerBelowChildren:{kgeoSG:`xrfab51`,kEoFBp:`xjupvsi`,kFcpXp:`xg52tuh`,ksxFz7:`x1la2cvp`,$$css:!0}}})),tO,Ote=o((()=>{ys(),tO=_s(`LinkContext`,1,null),tO.displayName=`LinkContext`}));function kte(e){function t({href:t,to:n,ref:r,...i}){return!uv(t)||!uv(n)?(0,rO.createElement)(`a`,{ref:r,...i}):e===`a`?(0,rO.createElement)(`a`,{ref:r,...i,href:t}):(0,rO.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 nO(e){let t=(0,rO.use)(tO),n=e??t?.component??`a`;return(0,rO.useMemo)(()=>kte(n),[n])}var rO,iO=o((()=>{rO=u(f(),1),Ote(),dv()})),aO,oO,sO,cO=o((()=>{hv(),G(),aO={\"--astryx-press-alpha\":`var(--astryx-press-alpha)`,__varGroupHash__:`x1qqxm5o`},B[`--duration-exit`],`${B[`--duration-exit`]}${mv.duration}`,oO=aO[`--astryx-press-alpha`],`${k[`--color-overlay-hover`]}${k[`--color-overlay-hover`]}`,`${k[`--color-overlay-pressed`]}${k[`--color-overlay-pressed`]}`,`${k[`--color-neutral`]}${k[`--color-neutral`]}`,`${k[`--color-overlay-pressed`]}${oO}`,H[`--ease-exit`],sO={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}}})),lO,uO=o((()=>{lO={x1odsvnm:`x1odsvnm`,$$css:!0}})),dO,fO,pO,mO,hO=o((()=>{G(),hv(),cO(),aO[`--astryx-press-alpha`],`${k[`--color-overlay-hover`]}${k[`--color-overlay-hover`]}`,`${k[`--color-overlay-pressed`]}${k[`--color-overlay-pressed`]}`,B[`--duration-exit`],`${B[`--duration-exit`]}${mv.duration}`,H[`--ease-exit`],`${P[`--border-width`]}`,dO={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}},fO={control:{k6sLGO:`x1mrddfy`,$$css:!0}},pO={checkboxRow:{\"--_checkbox-row-press-paint\":`x1ectg7s x1u7ooqu x1b9k41a`,$$css:!0},radioRow:{\"--_radio-row-press\":`x19rtxe xkwazwr`,$$css:!0}},mO={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}}}));function gO(){return(0,_O.useEffect)(()=>Mee(),[]),Oy}var _O,vO=o((()=>{_O=u(f(),1),Yy()})),yO={\"@astryx.button.loading\":`Loading`};function bO(e){return e!=null&&typeof e!=`boolean`&&e!==``}var xO=o((()=>{}));D(),Xx(),gC(),vC(),G(),TT(),sE(),uE(),GT(),JT(),ox(),bC(),vx(),XD(),eO(),iO(),vr(),oS(),cO(),hO(),vO(),iT(),xO(),Ww(yO);var SO=new Set([`true`,`menu`,`listbox`]),CO={base:{\"--button-focus-offset\":`x16bblx1`,kInvED:`x1wfwxd8 x13aywxo`,kVAEAm:`x1n2onr6`,k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kOIVth:`x1txdalj`,k8WAf4:`xce4md1`,kg3NbH:`xrrkdod`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kaIpWk:`x1jxw6zd`,kMv6JI:`xjb2p0i`,kGuDYH:`xcr08ib`,kLWn49:`x1kq96og`,k63SB2:`x1e4wzip`,khDVqt:`xuxw1ft`,k7Eaqz:`xeuugli`,ks0D6T:`x193iq5w`,kkrTdU:`x1ypdohk x16khyan`,k1ekBW:`xrafxwg xrkqygm`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,$$css:!0},pressable:{k3aq6I:`x3oybdh x1u44piu x1pcrg6r xhr8rl2 x1ua7476 x11q126q x7208gc x6cxksl`,$$css:!0},trackedOverlay:{kgSjnq:`x1vl4g35`,$$css:!0},pressableTracked:{k3aq6I:`x3oybdh x11q126q x7208gc x6cxksl`,$$css:!0},inactive:{kkrTdU:`xt0e3qv`,kKwaWg:`x18o3ruo`,k3aq6I:`x1c071of x1pdlv7q x1ylxtyb`,$$css:!0},disabled:{kSiTet:`xbyyjgo`,$$css:!0},ariaDisabled:{kKwaWg:`x18o3ruo xuqm82a x1bev2v5`,$$css:!0},iconOnly:{\"--button-icon-only-aspect\":`x1v15ycx`,kOBAk4:`xioom0i`,kg3NbH:`xnjsko4`,k8WAf4:`xt970qd`,kmuXW:`x2lah0s`,ks0D6T:`x1x1rfll`,$$css:!0},iconWrapper:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,$$css:!0},contentWrapper:{k1xSpc:`x78zum5`,kzQI83:`x1iyjqo2`,kmuXW:`xs83m0k`,kCS8Yb:`xdl72j9`,kSGwAc:`xkh2ocl`,kXwgrk:`x1beo9mf`,kwnvtZ:`x18qz0cn`,kGNEyG:`x1h91t0o`,kjj79g:`xarpa2k`,kOIVth:`x14kbac9`,k7Eaqz:`xeuugli`,$$css:!0},link:{kybGjl:`x1hl2dhg`,$$css:!0}},wO={width:e=>[{kzqmXN:e==null?e:`x5lhr3w`,$$css:!0},{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]},TO={sm:{kZKoxP:`x7xd7g3`,$$css:!0},md:{kZKoxP:`x11l75t8`,$$css:!0},lg:{kZKoxP:`xbswrv2`,$$css:!0}},EO={sm:{kZKoxP:`x6k0iem`,$$css:!0},md:{kZKoxP:`x1ueg155`,$$css:!0},lg:{kZKoxP:`xssyfek`,$$css:!0}},DO={none:{kGVxlE:`x1gnnqk1`,$$css:!0},low:{kGVxlE:`x1i5ehqx`,$$css:!0},med:{kGVxlE:`x14hfi27`,$$css:!0},high:{kGVxlE:`x1kcpxr7`,$$css:!0}},OO={primary:{kWkggS:`x1ewilqj`,kMwMTN:`x17wrial`,\"--_button-fill\":`x1kbggj7`,\"--_button-on-fill\":`xysjls1`,$$css:!0},secondary:{kWkggS:`x17x4s8c`,kMwMTN:`x1tgivj0`,$$css:!0},ghost:{kWkggS:`xjbqb8w`,kMwMTN:`x1tgivj0`,$$css:!0},destructive:{kWkggS:`x1pjz0fi`,kMwMTN:`x1m024r3`,\"--_button-fill\":`x1wai0k`,\"--_button-on-fill\":`x9lj7b4`,kVAM5u:`x1w1tqly`,kjBf7l:`x1e0x2sz`,$$css:!0}},kO={sm:`sm`,md:`sm`,lg:`md`};B[`--duration-medium-min`];var AO={hiddenContent:{kMwMTN:`x19co3pv`,$$css:!0},hiddenContentDelayed:{kKVMdj:`x1ffowhz`,k44tkh:`xjlvqhv`,kWV6AL:`x10e4vud`,kKxzle:`x17yabm6 x14q22ui`,$$css:!0}},jO={horizontal:{krdFHd:`x15mokao x8eehn2`,kVL7Gh:`xbiv7yw x1xrp5p4`,kfmiAY:`x1ga7v0g x1ursdma`,kT0f0o:`x16uus16 x1qa286i`,k2ei4v:`xgbv0en x1pjv70x`,kVhnKS:`x1t7ytsu xyf0ibl`,kGJrpR:`x1j92z86`,$$css:!0},vertical:{krdFHd:`x15mokao x8eehn2`,kfmiAY:`x1ga7v0g x2qxyot`,kVL7Gh:`xbiv7yw x1muvjzw`,kT0f0o:`x16uus16 x1qa286i`,kEafiO:`x11xkdxz x1g31smg`,kPef9Z:`x13fuv20 x1d9v4yf`,kLZC3w:`x1pc3f07`,$$css:!0},onSolidHorizontal:{kGJrpR:`xrvmtm5`,$$css:!0},onSolidVertical:{kLZC3w:`x11npmm7`,$$css:!0}},MO={standalone:{kMzoRj:`xc342km x13rsnn2`,ksu8eU:`xng3xce xx61lck`,kVAM5u:`x1ylmb6m`,$$css:!0},groupHorizontal:{kEafiO:`x1lym3mf`,kPef9Z:`x4z998w`,kt9PQ7:`x15anc7y`,kfdmCh:`xe3zi7u`,k2ei4v:`xgbv0en x1pjv70x xnvtw6h`,kVhnKS:`x1t7ytsu xyf0ibl x1jd14un`,ke9TFa:`x1s1fdp0`,k8ry5P:`x1nzwmfm`,$$css:!0},groupVertical:{k2ei4v:`xjg5lhu`,kVhnKS:`x1gbqego`,ke9TFa:`xmzn1mo`,k8ry5P:`xf1j0q2`,kEafiO:`x11xkdxz x1g31smg x1qvjua`,kPef9Z:`x13fuv20 x1d9v4yf xz5oem8`,kt9PQ7:`x12u9vjp`,kfdmCh:`xoqbfsn`,$$css:!0}},NO={horizontal:{kLZC3w:`xnvbotg`,kL6WhQ:`xaj2e6u`,kBCPoo:`xcy1b24`,$$css:!0},horizontalOnError:{kLZC3w:`x19dwuzr`,kL6WhQ:`xszdk7l`,kBCPoo:`x1nw5ucf`,$$css:!0},vertical:{kGJrpR:`x1hbxdp3`,kBCPoo:`xhdp0qd`,kL6WhQ:`xlkh95r`,$$css:!0},verticalOnError:{kGJrpR:`xjslfuv`,kBCPoo:`x1x0u81l`,kL6WhQ:`x2ab8f3`,$$css:!0}};function PO(e){if(!bO(e))return!0;if(!(0,X.isValidElement)(e)||e.type!==XT)return!1;let{label:t}=e.props;return typeof t!=`string`||t.trim()===``}function FO(e){return(e.getAttribute(`aria-describedby`)?.split(/\\s+/)??[]).some(t=>t!==``&&e.ownerDocument.getElementById(t)?.getAttribute(`role`)===`tooltip`)}function IO({label:e,variant:t=`secondary`,size:n,type:r=`button`,isDisabled:i=!1,isLoading:a=!1,isInterruptible:o=!1,clickAction:s,icon:c,isIconOnly:l=!1,width:u,elevation:d=`none`,children:f,endContent:p,tooltip:m,href:h,as:g,target:_,rel:v,xstyle:y,className:b,style:x,ref:S,...w}){let T=gO(),E=nT(),D=pE(n,`md`),O=gE(),k=t===`primary`||t===`secondary`||t===`destructive`,A=(0,X.use)(_E),j=A!=null&&!SO.has(String(w[`aria-haspopup`]))?Yv(A):void 0,M=j!=null,N=bE(),[P,F]=(0,X.useTransition)(),I=(0,X.useRef)(!1),L=a||P,[R,z]=(0,X.useState)(()=>!L);(0,X.useEffect)(()=>{if(R)return;let e=requestAnimationFrame(()=>z(!0));return()=>cancelAnimationFrame(e)},[R]);let B=P||o,V=O?.isDisabled??!1,H=(0,X.use)(xE),ee=i||V||H.isDisabled,U=ee||!ee&&L&&!o,te=tx(),W=U&&te&&(r===`submit`||r===`reset`)?`button`:r,G=(0,X.use)(vE),ne=O==null&&!G&&!U,re=KD(ne,(0,X.use)(QD)),ie=nO(g),K=h!=null&&!ee,q=Gx({placement:`above`,isEnabled:m!=null}),ae=(0,X.useRef)(null),oe=(0,X.useRef)(null),se=!l&&m==null,ce=dC({anchorRef:ae,measureRef:oe,isEnabled:se,isSuppressed:FO}),le=e=>{U||I.current&&!o?(e.preventDefault(),e.stopPropagation()):(w.onClick?.(e),s&&!e.defaultPrevented&&(I.current=!0,F(async()=>{try{await s(e)}finally{I.current=!1}})))},J=U?e=>{e.key===`Enter`||e.key===` `?e.preventDefault():w.onKeyDown?.(e)}:void 0,ue=t===`ghost`?{[dE]:``}:null,de=aS.focusVisible(CO.base,l?EO[D]:TO[D],l&&CO.iconOnly,sO.backgroundImage,dO.cell,dO.cellOnImage,fO.control,M&&CO.trackedOverlay,U&&CO.inactive,ee&&CO.disabled,U&&CO.ariaDisabled,K&&CO.link,!O&&(M?CO.pressableTracked:CO.pressable),O&&(O.orientation===`horizontal`?jO.horizontal:jO.vertical),N!=null&&O==null&&CE.buttonAddon,O&&(t===`primary`||t===`destructive`)&&(O.orientation===`horizontal`?jO.onSolidHorizontal:jO.onSolidVertical),!O&&DO[d],u!=null&&wO.width(u),k&&(O==null?MO.standalone:O.orientation===`horizontal`?MO.groupHorizontal:MO.groupVertical),k&&O!=null&&(O.orientation===`horizontal`?t===`destructive`?NO.horizontalOnError:NO.horizontal:t===`destructive`?NO.verticalOnError:NO.vertical),OO[t],y),fe=Q(Y(`button`,{variant:t,size:D,elevation:O?`none`:d}),de,b,x),pe=kO[D],me=(0,Z.jsxs)(Z.Fragment,{children:[L&&(0,Z.jsx)(`span`,{...{0:{className:`x10l6tqk x13vifvy x1o0tod xtijo5x x1ey2m1c xrvj5dj x1ku5rj1`},1:{className:`x10l6tqk x13vifvy x1o0tod xtijo5x x1ey2m1c xrvj5dj x1ku5rj1 xqcmdr3 xb2rp9n xskzprw x17yabm6 x14q22ui`}}[!!B|0],\"aria-hidden\":`true`,children:(0,Z.jsx)(mT,{size:`sm`,shade:`inherit`})}),(0,Z.jsxs)(`span`,{...C(CO.contentWrapper,ne&&$D.layer,L&&(B?AO.hiddenContentDelayed:AO.hiddenContent)),\"aria-hidden\":L||void 0,children:[bO(c)&&(0,Z.jsx)(`span`,{...C(CO.iconWrapper,qT[pe]),children:(0,Z.jsx)(WT,{value:pe,children:c})}),l?null:(0,Z.jsx)(`span`,{ref:oe,className:`xb3r6kr xlyipyv xeuugli`,children:f??e}),!l&&bO(p)&&(0,Z.jsx)(`span`,{className:`x3nfvp2 x6s0dn4 x1heor9g`,children:p})]}),(0,Z.jsx)(cE,{role:`status`,\"aria-live\":`polite`,children:L&&R?E(`@astryx.button.loading`):``})]}),he=l&&e!==``||L&&!l||f!=null&&f!==e,ge=he?{\"aria-label\":e}:null,_e=w[`aria-labelledby`]==null?he?e:w[`aria-label`]??(PO(c)&&PO(p)?e:void 0):void 0,ve=m!=null&&_e!=null&&m.trim()===_e.trim(),ye=m!=null&&!ve?{\"aria-describedby\":[w[`aria-describedby`],q.describedBy].filter(Boolean).join(` `)||void 0}:null,be=gx(S,m==null?void 0:q.ref,re,ae),xe;return xe=K?(0,Z.jsx)(ie,{ref:be,href:h,target:_,rel:v,...N!=null&&O==null?SE:void 0,...fe,...T,...j,...w,...ge,...ye,...ue,\"aria-busy\":L||w[`aria-busy`]||void 0,\"aria-disabled\":U||w[`aria-disabled`]||void 0,onPointerDown:_C(w.onPointerDown,ce.onPointerDown),onFocus:_C(w.onFocus,ce.onFocus),onBlur:_C(w.onBlur,ce.onBlur),onClick:le,...J?{onKeyDown:J}:null,children:me}):(0,Z.jsx)(`button`,{ref:be,type:W,...N!=null&&O==null?SE:void 0,...fe,...T,...j,...w,...ee?{name:void 0}:null,...ge,...ye,...ue,\"aria-busy\":L||w[`aria-busy`]||void 0,\"aria-disabled\":U||w[`aria-disabled`]||void 0,onPointerDown:_C(w.onPointerDown,ce.onPointerDown),onFocus:_C(w.onFocus,ce.onFocus),onBlur:_C(w.onBlur,ce.onBlur),onClick:le,...J?{onKeyDown:J}:null,children:me}),(0,Z.jsxs)(Z.Fragment,{children:[xe,m?q.renderTooltip(m):null,se&&ce.cutText!=null&&ce.Tooltip?(0,Z.jsx)(ce.Tooltip,{anchorRef:ae,content:ce.cutText,onHide:ce.hide}):null]})}IO.displayName=`Button`;var LO=typeof window<`u`&&window.__BOOT__||{},RO={},zO=null,BO=null,VO=Promise.resolve(),HO=e=>e.indexOf(`chat_key_`)===0,UO=e=>new Promise((t,n)=>{e.onsuccess=()=>t(e.result),e.onerror=()=>n(e.error)});async function WO(e,t){if(!zO||!BO)return;if(!t){await UO(zO.transaction(`v`,`readwrite`).objectStore(`v`).delete(`k:`+e));return}let n=crypto.getRandomValues(new Uint8Array(12)),r=await crypto.subtle.encrypt({name:`AES-GCM`,iv:n},BO,new TextEncoder().encode(t));await UO(zO.transaction(`v`,`readwrite`).objectStore(`v`).put({iv:n,ct:r},`k:`+e))}var GO=(async()=>{try{zO=await new Promise((e,t)=>{let n=indexedDB.open(`chat_vault`,1);n.onupgradeneeded=()=>n.result.createObjectStore(`v`),n.onsuccess=()=>e(n.result),n.onerror=()=>t(n.error)}),BO=await UO(zO.transaction(`v`).objectStore(`v`).get(`master`)),BO||(BO=await crypto.subtle.generateKey({name:`AES-GCM`,length:256},!1,[`encrypt`,`decrypt`]),await UO(zO.transaction(`v`,`readwrite`).objectStore(`v`).put(BO,`master`)));let e=await UO(zO.transaction(`v`).objectStore(`v`).getAllKeys());for(let t of e){if(String(t).indexOf(`k:`)!==0)continue;let e=await UO(zO.transaction(`v`).objectStore(`v`).get(t));try{RO[String(t).slice(2)]=new TextDecoder().decode(await crypto.subtle.decrypt({name:`AES-GCM`,iv:e.iv},BO,e.ct))}catch{}}}catch{zO=null,BO=null}})(),KO=e=>{if(HO(e))return RO[e]||``;try{return localStorage.getItem(e)||``}catch{return``}},qO=(e,t)=>{if(HO(e))t?RO[e]=t:delete RO[e],VO=VO.then(()=>GO).then(()=>WO(e,RO[e]||``)).catch(()=>{});else try{t?localStorage.setItem(e,t):localStorage.removeItem(e)}catch{}},JO=e=>KO(`chat_key_`+e),YO=e=>KO(`chat_model_`+e);async function XO(e,t,n){let r=await fetch(`/api/run`,{signal:n,method:`POST`,headers:{\"content-type\":`application/json`,accept:`application/x-ndjson`},body:JSON.stringify(e)});if(!r.ok||!r.body)return{status:r.status,body:await r.json().catch(()=>({}))};let i=r.body.getReader(),a=new TextDecoder,o=``;for(;;){let{value:e,done:n}=await i.read();if(n)break;o+=a.decode(e,{stream:!0});let r;for(;(r=o.indexOf(`\n`))>=0;){let e=o.slice(0,r);if(o=o.slice(r+1),!e.trim())continue;let n;try{n=JSON.parse(e)}catch{continue}t(n)}}return{status:200}}var ZO=()=>!!LO.pod&&typeof WebAssembly==`object`&&typeof WebSocket==`function`,QO=null;function $O(){return QO||=import(LO.pod+`pod.js`).then(e=>e.startBrowserPod({base:LO.pod+`vendor/`})).catch(e=>{throw QO=null,e}),QO}async function ek(e){if(e.op===`stop`){let e=QO;if(QO=null,e){let t=await e.catch(()=>null);t&&await t.stop()}return{}}let t=await $O();if(e.op===`start`)return{id:`browser`,provider:`your browser`};if(e.op===`run`)return t.run(String(e.command),{timeout:60});if(e.op===`write`)return await t.write(String(e.path),String(e.content)),{};if(e.op===`read`)return t.read(String(e.path));throw Error(`unknown computer call`)}function tk(e,t,n){return new Promise((r,i)=>{let a=!1,o=new WebSocket(location.origin.replace(/^http/,`ws`)+`/api/run`),s=(e,t)=>{if(!a){a=!0;try{o.close()}catch{}t?i(t):r(e)}};n.addEventListener(`abort`,()=>{let e=Error(`stopped`);e.name=`AbortError`,s(null,e),ek({op:`stop`}).catch(()=>{})}),o.onopen=()=>o.send(JSON.stringify({type:`task`,...e})),o.onmessage=async e=>{let n;try{n=JSON.parse(e.data)}catch{return}if(n.type===`pod_call`){let e;try{e={data:await ek(n)}}catch(t){e={error:String(t&&t.message||t)}}try{o.send(JSON.stringify({type:`pod_reply`,id:n.id,...e}))}catch{}}else{if(n.type===`refused`)return s({status:n.status||400,body:n});if(n.type===`done`)return s({status:200});t(n)}},o.onerror=()=>s(null,Error(`Chat could not open the line to the computer in your browser. Try again.`)),o.onclose=()=>s(null,Error(`The line to chat closed before the task finished. Try again.`))})}async function nk(e,t){let n=await fetch(`/api/connect`,{method:`POST`,headers:{\"content-type\":`application/json`},body:JSON.stringify({provider:e,key:t})}).catch(()=>null),r=n?await n.json().catch(()=>({})):{};return{ok:!!n&&n.ok,error:r.error||(n?``:`Could not reach Chat. Check your connection.`)}}var rk=e=>btoa(String.fromCharCode(...new Uint8Array(e))).replace(/[+]/g,`-`).replace(/[/]/g,`_`).replace(/=*$/,``);async function ik(e){let t=rk(crypto.getRandomValues(new Uint8Array(32))),n=rk(await crypto.subtle.digest(`SHA-256`,new TextEncoder().encode(t)));try{sessionStorage.setItem(`chat_or_v`,t),sessionStorage.setItem(`chat_or_task`,e||``)}catch{}location.href=`https://openrouter.ai/auth?callback_url=`+encodeURIComponent(location.origin+location.pathname)+`&code_challenge=`+n+`&code_challenge_method=S256`}async function ak(){let e=new URLSearchParams(location.search).get(`code`),t=``,n=``;try{t=sessionStorage.getItem(`chat_or_v`)||``,n=sessionStorage.getItem(`chat_or_task`)||``}catch{}if(!e||!t)return null;history.replaceState(null,``,location.pathname);try{sessionStorage.removeItem(`chat_or_v`),sessionStorage.removeItem(`chat_or_task`)}catch{}try{let r=await fetch(`https://openrouter.ai/api/v1/auth/keys`,{method:`POST`,headers:{\"content-type\":`application/json`},body:JSON.stringify({code:e,code_verifier:t,code_challenge_method:`S256`})}),i=await r.json().catch(()=>({}));if(!r.ok||!i.key)throw Error(i.error&&i.error.message||`OpenRouter did not send a key`);return await GO,qO(`chat_key_openrouter`,i.key),{task:n}}catch(e){return{error:String(e.message||e).slice(0,160),task:n}}}async function ok(){return((await(await fetch(`https://openrouter.ai/api/v1/models`)).json()).data||[]).filter(e=>e&&e.id).map(e=>{let t=(Number(e.pricing&&e.pricing.prompt)||0)*1e6;return{id:e.id,name:String(e.name||e.id.split(`/`).pop()).replace(/^[^:]*: /,``),ctx:e.context_length||0,free:t===0,price:t===0?`free`:t<1?`$`:t<5?`$$`:`$$$`,sees:(e.architecture&&e.architecture.input_modalities||[]).indexOf(`image`)>=0}})}var sk=`chat_history_v1`,ck=()=>{try{return JSON.parse(localStorage.getItem(sk)||`[]`)}catch{return[]}},lk=e=>{let t=ck().filter(t=>t.id!==e);return uk(t),t.slice(0,30)},uk=e=>{try{localStorage.setItem(sk,JSON.stringify(e.slice(0,30)))}catch{}};DC();var dk=e=>new Promise((t,n)=>{let r=new FileReader;r.onload=()=>t(String(r.result).split(`,`)[1]||``),r.onerror=()=>n(r.error),r.readAsDataURL(e)}),fk=e=>(String(e).match(/[^.!?…\\n]+[.!?…]*\\s*/g)||[String(e)]).reduce((e,t)=>{let n=e[e.length-1];return n&&n.length+t.length<180?e[e.length-1]=n+t:e.push(t),e},[]).map(e=>e.trim()).filter(Boolean),pk=`data:audio/wav;base64,UklGRiQAAABXQVZFZm10IBAAAAABAAEARKwAAIhYAQACABAAZGF0YQAAAAA=`;function mk({open:e,onClose:t,aiBlock:n,onKeep:r,onBuild:i}){let[a,o]=(0,X.useState)(`thinking`),[s,c]=(0,X.useState)(`Opening the microphone…`),[l,u]=(0,X.useState)(``),[d,f]=(0,X.useState)(``),p=(0,X.useRef)({on:!1,stream:null,ctx:null,rec:null,aud:null,turns:[],lang:``,stopListen:null,stopSpeak:null}),m=(e,t)=>{o(e),c(t)},h=e=>new Promise(t=>{let n=p.current,r=fk(e),i=0,a=!1;n.stopSpeak=()=>{a=!0;try{n.aud.pause()}catch{}try{speechSynthesis.cancel()}catch{}t()};let o=e=>{try{let t=new SpeechSynthesisUtterance(e);t.onend=t.onerror=s,speechSynthesis.speak(t)}catch{s()}};function s(){if(a||!n.on||i>=r.length){n.stopSpeak=null,t();return}let e=r[i++],c=n.aud;c.onended=s,c.onerror=()=>o(e),c.src=`/voice?l=`+encodeURIComponent(n.lang)+`&t=`+encodeURIComponent(e.slice(0,1200));let l=c.play();l&&l.catch(()=>o(e))}s()}),g=()=>new Promise(e=>{let t=p.current,n=[],r=[`audio/webm;codecs=opus`,`audio/webm`,`audio/mp4`,`audio/ogg`].find(e=>MediaRecorder.isTypeSupported&&MediaRecorder.isTypeSupported(e))||``,i=r?new MediaRecorder(t.stream,{mimeType:r}):new MediaRecorder(t.stream),a=t.ctx.createAnalyser();a.fftSize=1024;let o=t.ctx.createMediaStreamSource(t.stream);o.connect(a);let s=new Float32Array(a.fftSize),c=.005,l=!1,u=0,d=0,f=Date.now(),m=f,h=setInterval(()=>{a.getFloatTimeDomainData(s);let e=0;for(let t=0;tMath.max(.045,c*4)?(l=!0,u=0,d+=r):(c=c*.95+t*.05,l&&(u+=r)),(l&&u>(d<2e3?1100:750)||n-f>3e4||!l&&n-f>9e3)&&i.state!==`inactive`&&i.stop()},60);t.stopListen=()=>{i.state!==`inactive`&&i.stop()},i.ondataavailable=e=>{e.data&&e.data.size&&n.push(e.data)},i.onstop=()=>{clearInterval(h);try{o.disconnect()}catch{}t.stopListen=null,e(l?new Blob(n,{type:i.mimeType||r||`audio/webm`}):null)},i.start()}),_=async()=>{let e=p.current;for(;e.on;){m(`listening`,`Listening…`);let t=await g();if(!e.on)return;if(!t){m(`idle`,`Tap the circle when you want to talk.`);return}m(`thinking`,`Thinking…`);let r;try{let i=await fetch(`/api/talk`,{method:`POST`,headers:{\"content-type\":`application/json`},body:JSON.stringify({audio:await dk(t),type:t.type,lang:e.lang,memo:``,ui:``,history:e.turns,ai:n()})});if(r=await i.json().catch(()=>({})),i.status===401){m(`idle`,`Sign in with GitHub to talk.`);return}if(!i.ok)throw Error(r.error||`Voice talk answered `+i.status)}catch(e){m(`idle`,String(e.message||e).slice(0,160));return}let a=String(r.heard||``).trim();if(!a){m(`idle`,`I did not catch that. Tap the circle and try again.`);return}if(r.lang&&(e.lang=r.lang),u(a),f(String(r.text||``)),e.turns.push({role:`user`,content:a},{role:`assistant`,content:String(r.text||``)}),m(`speaking`,`Speaking… tap the circle to interrupt`),await h(r.text),!e.on)return;if(r.build){let e=String(r.build).trim();v(),i(e);return}}},v=()=>{let e=p.current;if(e.on=!1,e.stopListen&&e.stopListen(),e.stopSpeak&&e.stopSpeak(),e.stream&&=(e.stream.getTracks().forEach(e=>e.stop()),null),e.ctx){try{e.ctx.close()}catch{}e.ctx=null}e.turns.length&&(r(e.turns),e.turns=[]),t()};return(0,X.useEffect)(()=>{if(!e)return;LO.login&&fetch(`/api/talk/warm`,{method:`POST`}).catch(()=>{});let t=p.current;if(t.turns=[],t.lang=``,u(``),f(``),!LO.login){m(`idle`,`Sign in with GitHub to talk with the Oracle.`);return}if(!navigator.mediaDevices||!navigator.mediaDevices.getUserMedia||!window.MediaRecorder){m(`idle`,`This browser cannot record. Try Chrome, Safari, Edge or Firefox.`);return}let n=window.AudioContext||window.webkitAudioContext;try{t.ctx=new n,t.ctx.resume().catch(()=>{})}catch{t.ctx=null}t.aud=new Audio,t.aud.src=pk;let r=t.aud.play();r&&r.catch(()=>{}),m(`thinking`,`Opening the microphone…`);let i=!1;return navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0}}).then(e=>{i?e.getTracks().forEach(e=>e.stop()):(t.stream=e,t.on=!0,_().catch(()=>m(`idle`,`Something went wrong. Tap the circle to try again.`)))}).catch(()=>m(`idle`,`The microphone is blocked. Allow it for this site, then tap the circle.`)),()=>{if(i=!0,t.on&&(t.on=!1,t.stopListen&&t.stopListen(),t.stopSpeak&&t.stopSpeak(),t.stream&&t.stream.getTracks().forEach(e=>e.stop()),t.ctx))try{t.ctx.close()}catch{}}},[e]),(0,X.useEffect)(()=>{if(!e)return;let t=e=>{e.key===`Escape`&&v()};return document.addEventListener(`keydown`,t),()=>document.removeEventListener(`keydown`,t)}),e?(0,Z.jsxs)(`div`,{className:`earth-talk `+a,role:`dialog`,\"aria-modal\":`true`,\"aria-label\":`Voice talk with the Flisk Oracle`,children:[(0,Z.jsx)(`button`,{type:`button`,className:`earth-orb`,\"aria-label\":`Interrupt or talk again`,onClick:()=>{let e=p.current;a===`speaking`&&e.stopSpeak?e.stopSpeak():a===`listening`&&e.stopListen?e.stopListen():a===`idle`&&e.stream&&(e.on=!0,_().catch(()=>{}))}}),(0,Z.jsx)(CC,{type:`emphasized`,children:`Flisk Oracle`}),(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,role:`status`,children:s}),l&&(0,Z.jsxs)(CC,{type:`supporting`,color:`secondary`,children:[`You: `,l]}),d&&(0,Z.jsx)(CC,{children:d}),(0,Z.jsx)(DS,{title:`End talk`,scene:`talk`,text:`Stops listening and closes the voice chat with the Flisk Oracle.`,children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(IO,{label:`End talk`,variant:`secondary`,onClick:v})})})]}):null}function hk(e,t,n){let r=tx(),[i,a]=(0,gk.useState)(()=>r?e:n);return i!==n&&!r&&t!==i&&a(n),[i,(0,gk.useCallback)(()=>a(n),[n])]}var gk,_k=o((()=>{gk=u(f(),1),ox()}));function vk(e){let t=e.documentElement,{body:n}=e,r=e.defaultView;if(n==null||r==null)return t;let i=e=>{let t=r.getComputedStyle(e);return(t.overflowX||`visible`)===`visible`&&(t.overflowY||`visible`)===`visible`};return i(t)&&!i(n)?n:t}function yk(e,t){return e===`overflow`?[vk(t)]:e===`scrollbarGutter`||t.body==null?[t.documentElement]:[t.documentElement,t.body]}function bk(e){let t=Tk.held.get(e);if(t==null)return;let n=Tk.claims[e],r=n[n.length-1];for(let n of t){let{style:t}=n.element;if(r!=null)t[e]=r.value,n.written=r.value;else if(t[e]===n.written){t[e]=``;for(let r of wk[e]){let e=n.pageValues[r];e&&(t[r]=e)}}}r??Tk.held.delete(e)}function xk(e){if(typeof document>`u`)return()=>{};Tk.nextClaimId+=1;let t=Tk.nextClaimId,n=[];for(let r of Ck){let i=e[r];i!=null&&(Tk.claims[r].length===0&&Tk.held.set(r,yk(r,document).map(e=>{let t={};for(let n of wk[r])t[n]=e.style[n];return{element:e,pageValues:t,written:``}})),Tk.claims[r].push({id:t,value:i}),n.push(r),bk(r))}let r=!1;return()=>{if(!r){r=!0;for(let e of n){let n=Tk.claims[e],r=n.findIndex(e=>e.id===t);r!==-1&&n.splice(r,1),bk(e)}}}}function Sk(e){let t=Tk.lockCount>0;Tk.lockCount=Math.max(0,Tk.lockCount+e);let n=Tk.lockCount>0;if(n!==t)for(let e of[...Tk.lockListeners])e(n)}var Ck,wk,Tk,Ek=o((()=>{Xn(),Ck=[`overflow`,`overscrollBehaviorY`,`scrollbarGutter`],wk={overflow:[`overflow`,`overflowX`,`overflowY`],overscrollBehaviorY:[`overscrollBehaviorY`],scrollbarGutter:[`scrollbarGutter`]},Tk=Kn(`hooks/root-scroll-styles/state`,1,()=>({claims:{overflow:[],overscrollBehaviorY:[],scrollbarGutter:[]},held:new Map,nextClaimId:0,lockCount:0,lockListeners:new Set}))})),Dk,Ok=o((()=>{Xn(),Dk=Gn(Wn(`gestures/host`,1),()=>new WeakMap)}));function kk(e){return e.touches==null?[]:Array.from(e.touches)}function Ak(e){let t={decisions:new Set,touch:null,unsubscribers:[],stopPointerDown:null,stopWatchingPointer:null,onPointerDown:n=>{if(n.pointerType!==`touch`&&n.pointerType!==`pen`)return;t.stopPointerDown?.(),t.stopPointerDown=null;let r=e.defaultView;jk(e,t),ss(r)&&(Mk(e,t,!0),t.touch={id:null,x:n.clientX,y:n.clientY,verdict:null})},onTouchStart:e=>{let n=kk(e),r=t.touch;if(r?.id!=null&&n.some(e=>e.identifier===r.id)&&!Array.from(e.changedTouches).some(e=>e.identifier===r.id))return;let i=n[0];t.touch=n.length===1&&i!=null?{id:i.identifier,x:i.clientX,y:i.clientY,verdict:null}:null},onTouchMove:n=>{let r=kk(n),i=r[0];t.touch?.id===null&&r.length===1&&i!=null&&(t.touch={...t.touch,id:i.identifier});let a=t.touch;if(r.length===1&&i!=null&&a!=null&&i.identifier===a.id&&Dk.get(e)?.isTouchClaimed(a.id)!==!0){if(a.verdict==null){let e=i.clientX-a.x,r=i.clientY-a.y;if(Math.max(Math.abs(e),Math.abs(r))t.decide(o,e,r))}a.verdict&&n.cancelable&&n.preventDefault()}}};return t}function jk(e,t){t.stopWatchingPointer??=us(e.defaultView,n=>Mk(e,t,n))}function Mk(e,t,n){let r=e.defaultView;if(r!=null&&n!==t.unsubscribers.length>0){if(n)t.unsubscribers=[bu(r,`touchstart`,t.onTouchStart),bu(r,`touchmove`,t.onTouchMove,{cancels:!0})];else{for(let e of t.unsubscribers.splice(0))e();t.touch=null}}}function Nk(e,t){let n=Fk.get(e);n??(n=Ak(e),Fk.set(e,n));let r=n,i={decide:t};r.decisions.add(i);let a=e.defaultView;r.decisions.size===1&&a!=null&&(r.stopPointerDown=bu(a,`pointerdown`,r.onPointerDown),ss(a)&&(jk(e,r),Mk(e,r,!0)));let o=!0;return()=>{o&&(o=!1,r.decisions.delete(i),r.decisions.size===0&&(r.stopPointerDown?.(),r.stopPointerDown=null,r.stopWatchingPointer?.(),r.stopWatchingPointer=null,Mk(e,r,!1)))}}var Pk,Fk,Ik=o((()=>{Pu(),ds(),Ok(),Xn(),Pk=5,Fk=Jn(`gestures/page-hold/holds-by-document`,1)}));function Lk(e){return!e||typeof window>`u`?!1:window.getComputedStyle(e).direction===`rtl`}var Rk=o((()=>{}));function zk(e,t){let n=e.ownerDocument,r=n.defaultView;if(r==null)return{entries:[],allowsPan:!1};let i=n.scrollingElement??n.documentElement,a=[],o=!0,s=!0,c=!1;for(let l=e;l!=null;l=bd(l)){if(!Qu(l))continue;let e=r.getComputedStyle(l);if(t){let t=V_(e.touchAction||`auto`);o&&=t.x,s&&=t.y}let u=l===i||l===n.documentElement;u&&(c=!0);let d=u?U_(n,`x`):e.overflowX,f=u?U_(n,`y`):e.overflowY,p=K_.has(d),m=K_.has(f);if(p||m){let t=u?i:l,[n,r]=Bk(e);a.push({element:t,x:p&&o,y:m&&s,isRtl:Lk(t),stopsX:n!==`auto`,stopsY:r!==`auto`})}if(u)break}return!c&&Qu(i)&&a.push({element:i,x:o&&K_.has(U_(n,`x`)),y:s&&K_.has(U_(n,`y`)),isRtl:!1,stopsX:!1,stopsY:!1}),{entries:a,allowsPan:o||s}}function Bk(e){let t=e.overscrollBehaviorX,n=e.overscrollBehaviorY;if(t!==``&&n!==``&&t!=null&&n!=null)return[t,n];let[r=`auto`,i=r]=(e.getPropertyValue(`overscroll-behavior`)||`auto`).trim().split(/\\s+/);return[t||r,n||i]}function Vk(e,t){return e.scrollHeight-e.clientHeight<=Gk?!1:t>0?e.scrollTop>.5:e.scrollTop0?n.scrollLeft>i+Gk-.5:n.scrollLeft(n??=Qu(e)?zk(e,t):{entries:[],allowsPan:!1},n.entries);return{canScroll(e,t){let n=Math.abs(e),i=Math.abs(t),a=n>0&&n>=i/2,o=i>0&&i>=n/2;for(let n of r()){if(o&&n.y&&Vk(n.element,t)||a&&n.x&&Hk(n,e))return!0;if((!a||n.stopsX)&&(!o||n.stopsY)&&(n.stopsX||n.stopsY))return!1}return!1},get allowsNativePan(){return r(),n?.allowsPan===!0},get isInsideScroller(){return Qu(e)&&G_(e,{readsTouchAction:t})}}}var Gk,Kk=o((()=>{Rk(),Td(),J_(),od(),Gk=1}));function Ate(e,t,n,r,i){let a=n?0:r,o=n?i:0;if(Uk(e,a,o))return!0;if(!Uk(e,-a,-o))return!1;let s=n?t.overscrollBehaviorY:t.overscrollBehaviorX;return s===`contain`||s===`none`}function qk(e,t){let n=e.ownerDocument.defaultView?.CSS;return typeof n?.supports==`function`&&n.supports(`selector(${t})`)&&e.matches(t)}function jte(e,t){return t.position===`fixed`||qk(e,`:modal`)||qk(e,`:popover-open`)}function Mte(e){return(e.defaultView?.visualViewport?.scale??1)>1}function Nte(e){return e.matches(`input[type=\"range\"]:not(:disabled)`)}function Pte(e,t,n){if(!(e instanceof Node))return!1;let r=e.ownerDocument??document,i=r.defaultView;if(i==null)return!1;let a=Math.abs(n)>=Math.abs(t);for(let o=e;o!=null;o=bd(o)){if(!(o instanceof Element))continue;if(Nte(o))return!0;if(o===r.documentElement||o===r.body||o===r.scrollingElement)break;let e=i.getComputedStyle(o);if(Ate(o,e,a,t,n))return!0;if(jte(o,e))break}return!1}var Fte=o((()=>{Kk(),Td()}));function Ite(){return typeof CSS<`u`&&typeof CSS.supports==`function`&&CSS.supports(`scrollbar-gutter`,`stable`)}function Lte(e){if(typeof window>`u`||typeof document>`u`)return Jk;let t=document.documentElement.clientWidth;if(t===0||window.innerWidth<=t)return Jk;if(Ite()){let e=null;return{settle(){e??=xk({scrollbarGutter:`stable`})},release(){e?.(),e=null}}}let n=e.style.paddingRight,r=e.getBoundingClientRect().width,i=!1,a=!1;return{settle(){if(a)return;a=!0;let t=e.getBoundingClientRect().width-r;if(t<=0)return;let n=Number.parseFloat(window.getComputedStyle(e).paddingRight)||0;e.style.paddingRight=`${n+t}px`,i=!0},release(){i&&=(e.style.paddingRight=n,!1)}}}var Jk,Rte=o((()=>{Ek(),Jk={settle(){},release(){}}}));function Yk(e){(0,Xk.useEffect)(()=>{if(e){if(Zk.count===0){let e=Lte(document.documentElement),t=xk({overflow:`hidden`,overscrollBehaviorY:`none`}),n=Nk(document,(e,t,n)=>!Mte(document)&&!Pte(e,t,n));e.settle(),Zk.active={releaseRootStyle:t,releasePageHold:n,gutter:e}}return Zk.count+=1,Sk(1),()=>{if(--Zk.count,Sk(-1),Zk.count!==0||Zk.active==null)return;let e=Zk.active;Zk.active=null,e.releasePageHold(),e.releaseRootStyle(),e.gutter.release()}}},[e])}var Xk,Zk,Qk=o((()=>{Xk=u(f(),1),Ek(),Ik(),Fte(),Rte(),Xn(),Zk=Kn(`hooks/use-scroll-lock/lock`,1,()=>({count:0,active:null}))}));function zte(e,t){let n=e.closest(`[aria-disabled=\"true\"]`);return n!=null&&t.contains(n)}function Bte(e){let t=[...e].sort((e,t)=>e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1),n=e=>e.getAttribute(`tabindex`)!==`-1`;return[...t.filter(n),...t.filter(e=>!n(e))]}function $k(e){if(e.hasAttribute(`inert`)||e.closest(`[inert]`)||e.hidden||e.closest(`[hidden]`))return!1;for(let t=e.closest(`dialog`);t!=null;t=t.parentElement?.closest(`dialog`)??null)if(!id(t)&&!ad(t))return!1;if(e.closest(`[aria-hidden=\"true\"]`))return!1;if(typeof window<`u`&&window.getComputedStyle){let t=window.getComputedStyle(e);if(t.visibility===`hidden`||t.display===`none`)return!1}return!0}function eA(e){return Array.from(e.querySelectorAll(tA)).filter($k)}var tA,nA=o((()=>{od(),tA=`button:not([disabled]), a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"]):not([disabled]), [contenteditable]:not([contenteditable=\"false\"]), audio[controls], video[controls], iframe, details > summary:first-child`}));function rA(e){for(let t of cA.listeners)t(e)}function Vte(e,t){let n=cA.outlets.indexOf(e);n!==-1&&cA.outlets.splice(n,1);let r=cA.outletGroups.get(e);if(t&&r!=null){for(let t=cA.outlets.length-1;t>=0;--t)if(cA.outletGroups.get(cA.outlets[t])===r){cA.outlets.splice(t,0,e),rA(`outlet`);return}}cA.outlets.push(e),rA(`outlet`)}function iA(e){let t=cA.outlets.indexOf(e);t!==-1&&(cA.outlets.splice(t,1),cA.outletGroups.delete(e),rA(`outlet`))}function Hte(e){let t=cA.outletGroups.get(e),n=cA.outlets.indexOf(e);if(t==null||n===-1)return;let r=cA.outlets.length;for(let e=cA.outlets.length-1;e>n&&cA.outletGroups.get(cA.outlets[e])!==t;--e)r=e;r-1!==n&&(cA.outlets.splice(n,1),cA.outlets.splice(r-1,0,e),rA(`outlet`))}function aA(){rA(`entry`)}function oA(e,t,n=!0,r,i){let a=Ute(e,t,n,r,i);return(0,sA.useCallback)(e=>t&&e!=null?a:void 0,[t,a])}function Ute(e,t,n,r,i){let a=(0,sA.useRef)(n);a.current=n;let o=(0,sA.useRef)(null);return(0,sA.useEffect)(()=>{let n=e.current;if(!t||n==null){o.current=null;return}let i=o.current!=null;o.current=n,r!=null&&cA.outletGroups.set(n,r);let s=()=>{n.open||iA(n)};return n.addEventListener(`close`,s),Vte(n,i&&!a.current),()=>{n.removeEventListener(`close`,s),iA(n)}},[e,t,r,i]),(0,sA.useEffect)(()=>{let r=e.current;t&&n&&r!=null&&Hte(r)},[e,t,n,i]),(0,sA.useCallback)(()=>{let e=o.current;e!=null&&iA(e)},[])}var sA,cA,lA=o((()=>{sA=u(f(),1),Xn(),cA=Kn(`layer/modal-outlet/state`,1,()=>({outlets:[],outletGroups:new WeakMap,listeners:new Set}))}));function uA(e){let t=e?.defaultView;return t!=null&&gu(t)===`mouse`}function dA(e){return e!=null&&yA.has(e)}function fA(e,t){for(let n=e;n!=null&&n!==t;n=bd(n))if(Qu(n)&&Zf(n))return!0;return!1}function Wte(e){let t=$u(e)?e:e.ownerDocument;if(t==null||!_A.has(t))return!1;if(dA(e))return!0;let n=!1;for(let t=e;t!=null;t=bd(t)){let r=Qu(t)?gA.get(t):void 0;if(r!=null){let i=r.layer>0&&fA(e,t);if(r.layer>0&&!i)return!0;(!i||r.viewport>0||r.surface>0)&&(n=!0)}}return n&&!uA(t)}function Gte(e){let t=e.ownerDocument,n=_A.get(t);n??(n={layers:new Set},_A.set(t,n)),n.layers.add(e),Zte(t)?.hold()}function Kte(e){_A.get(e.ownerDocument)?.layers.delete(e),pA(e.ownerDocument)}function pA(e){let t=_A.get(e);if(t==null)return[];for(let e of t.layers)e.isConnected||t.layers.delete(e);return t.layers.size>0?[...t.layers]:(_A.delete(e),vA.get(e)?.release(),[])}function qte(e,t){let n=e.ownerDocument.createElement(`div`);t&&n.setAttribute(`popover`,`manual`),n.setAttribute(`aria-hidden`,`true`),Object.assign(n.style,{position:t?`fixed`:`absolute`,inset:`0`,width:t?`100vw`:`100%`,height:t?`100vh`:`100%`,zIndex:t?`auto`:`2147483647`,maxWidth:`none`,maxHeight:`none`,margin:`0`,padding:`0`,border:`0`,background:`transparent`,overflow:`hidden`,touchAction:`pinch-zoom`,pointerEvents:`auto`,visibility:`visible`});for(let e of bA)n.addEventListener(e,xA,{capture:!0,passive:!1});if(e.append(n),yA.add(n),t&&typeof n.showPopover==`function`)try{n.showPopover()}catch{}return n}function Jte(e){let t=[];for(let{x:n,y:r}of e){let e={left:n-SA,right:n+SA,top:r-SA,bottom:r+SA};for(let n=t.length-1;n>=0;n--){let r=t[n];e.left0||n.style.pointerEvents===`none`){n.style.removeProperty(`clip-path`);return}if(!e.isShieldFull){n.style.pointerEvents=`none`;return}let s=[`0 0`,`100% 0`,`100% 100%`,`0 100%`];for(let{left:e,right:t,top:n,bottom:r}of Jte(i==null?o:[i,...o]))s.push(`0 ${n}px`,`${e}px ${n}px`,`${e}px ${r}px`,`${t}px ${r}px`,`${t}px ${n}px`,`0 ${n}px`);n.style.clipPath=`polygon(${s.join(`, `)})`}function Yte(e,t){let n=t.defaultView;if(n==null)return;let r=vA.get(t);for(let t of vu(n).keys())r?.holds(t)!==!0&&e.pressOpenings.add(t)}function hA(e,{until:t,scope:n,focus:r=`blur`}){if(n===`layer`&&r===`kept-inside`)return Xte(e,t);let i=gA.get(e);i??(i={viewport:0,layer:0,surface:0,shield:null,isShieldFull:!1,inertContent:null,pressOpenings:new Set},gA.set(e,i)),Gte(e);let a=n!==`surface`,o=a&&(i.shield==null||!i.isShieldFull);i.shield!=null&&a&&!i.isShieldFull&&(yA.delete(i.shield),i.shield.remove(),i.shield=null),i.shield??(i.isShieldFull=a||i.viewport+i.layer>0,i.shield=qte(e,i.isShieldFull),n!==`layer`&&uA(e.ownerDocument)&&(i.shield.style.pointerEvents=`none`)),n===`viewport`?i.viewport+=1:n===`surface`?i.surface+=1:(i.layer+=1,i.shield.style.pointerEvents=`auto`,i.layer===1&&(i.inertContent=ene(e,i.shield),aA())),o&&Yte(i,e.ownerDocument),mA(i,e.ownerDocument);let s=!1,c=()=>{if(s)return;s=!0;let t=gA.get(e);t!=null&&(n===`viewport`?--t.viewport:n===`surface`?--t.surface:(--t.layer,t.layer===0&&t.inertContent!=null&&(tne(t.inertContent),t.inertContent=null)),t.viewport===0&&t.layer===0&&t.surface===0&&(t.shield!=null&&(yA.delete(t.shield),t.shield.remove()),gA.delete(e),Kte(e)))},l=`finished`in t?t.finished:t;return Promise.resolve(l).then(c,c),c}function Xte(e,t){let n=e.ownerDocument,r=td(e)?e.style:null,i=r?.pointerEvents??``;r!=null&&(r.pointerEvents=`none`);let a=e.hasAttribute(`inert`),o=e.getAttribute(`aria-hidden`),s=!1,c=!1,l=[],u=()=>{let t=Sd(n);return t!=null&&xd(e,t)},d=()=>{for(let e of l.splice(0))e()},f=()=>{s||c||(s=!0,d(),e.setAttribute(`inert`,``),e.setAttribute(`aria-hidden`,`true`))};if(!u())f();else{let t=t=>{let n=typeof t.composedPath==`function`?t.composedPath()[0]:t.target;return Zu(n)&&xd(e,n)},r=e=>{t(e)&&(e.preventDefault(),e.stopImmediatePropagation())},i=e=>{CA.has(e.key)||r(e)},a=[[`click`,r],[`keydown`,i],[`keyup`,i]];for(let[e,t]of a)n.addEventListener(e,t,{capture:!0}),l.push(()=>n.removeEventListener(e,t,{capture:!0}));let o=()=>{u()||f()},s=()=>queueMicrotask(o);e.addEventListener(`focusout`,s),l.push(()=>e.removeEventListener(`focusout`,s)),l.push(Xg(e,{childList:!0,subtree:!0,attributeFilter:[`disabled`,`hidden`,`inert`]},o))}let p=()=>{c||(c=!0,d(),r!=null&&(r.pointerEvents=i),s&&(a||e.removeAttribute(`inert`),o==null?e.removeAttribute(`aria-hidden`):e.setAttribute(`aria-hidden`,o)))},m=`finished`in t?t.finished:t;return Promise.resolve(m).then(p,p),p}function Zte(e){let t=vA.get(e)??null;return t??(t=Qte(e),t!=null&&vA.set(e,t)),t}function Qte(e){let t=e.defaultView;if(t==null)return null;let n=!0,r=!0,i=new Set,a=new Set,o=null,s=-1/0,c,l=()=>t.performance.now(),u=()=>i.size>0||a.size>0,d=e=>{e.cancelable&&e.preventDefault(),e.stopImmediatePropagation()},f=()=>{if(n||!r)return;if(c!==void 0&&clearTimeout(c),u()){c=setTimeout(S,EA);return}let e=s-l();e>0?c=setTimeout(S,e):S()},p=()=>(n&&pA(e),n),m=t=>{if(!p())return!1;for(let n of pA(e)){let e=gA.get(n);if(e!=null&&(e.viewport>0||e.layer>0&&!(Zu(t)&&fA(t,n))||e.surface>0&&Zu(t)&&xd(n,t)))return!0}return!1},h=()=>{s=l()+TA,f()},g=t=>{for(let n of pA(e)){let r=gA.get(n);if(r?.shield==null)continue;let i=t===`mouse`&&r.layer===0?`none`:`auto`;r.shield.style.pointerEvents!==i&&(r.shield.style.pointerEvents=i),mA(r,e)}},_=t=>{if(!t.isTrusted)return;let n=pA(e).at(-1),r=n==null?null:gA.get(n)?.shield;r==null||dA(t.target)||r.setPointerCapture(t.pointerId)},v=t=>{let{pointerId:n,type:r}=t;for(let t of pA(e)){let i=gA.get(t);i!=null&&i.pressOpenings.has(n)&&((r===`pointerup`||r===`pointercancel`)&&i.pressOpenings.delete(n),mA(i,e))}},y=e=>{let{pointerId:t,pointerType:n,type:r}=e;if(wA.has(n)&&r!==`pointerdown`&&!i.has(t)&&v(e),(wA.has(n)?r===`pointerdown`||r===`pointermove`:n===`mouse`&&r===`pointermove`&&e.buttons===0)&&p()&&g(n),r===`pointerdown`){if(!wA.has(n)||!m(e.target))return i.delete(t),o=`free`,s=-1/0,f(),!1;i.add(t),o=`held`,_(e)}else if(!i.has(t))return!1;return d(e),(r===`pointerup`||r===`pointercancel`)&&(i.delete(t),h()),!0},b=e=>{let{changedTouches:t,touches:n,type:r}=e,i=Array.from(t);if(r===`touchstart`){let t=new Set(Array.from(n,e=>e.identifier));for(let e of a)t.has(e)||a.delete(e);let r=i.filter(e=>m(e.target));if(r.length===0){for(let e of i)a.delete(e.identifier);return o=`free`,s=-1/0,f(),!1}for(let e of r)a.add(e.identifier);return o=`held`,e.stopImmediatePropagation(),!0}if(!i.some(e=>a.has(e.identifier)))return!1;if(r===`touchmove`)return e.stopImmediatePropagation(),n.length===1&&e.cancelable&&e.preventDefault(),!0;d(e);for(let e of i)a.delete(e.identifier);return h(),!0},x=e=>{if(e.detail===0)return!1;let{pointerType:t}=e;return o===`held`&&(t==null||t===``||wA.has(t))&&(u()||l()<=s)?(d(e),!0):!1};function S(){if(r){r=!1,vA.get(e)===w&&vA.delete(e),c!==void 0&&clearTimeout(c);for(let e of C.splice(0))e()}}let C=[...DA.map(e=>bu(t,e,y,{cancels:!0,first:!0})),...OA.map(e=>bu(t,e,b,{cancels:e===`touchmove`||e===`touchend`,first:!0})),...kA.map(e=>bu(t,e,x,{cancels:!0,first:!0}))],w={hold(){n=!0,c!==void 0&&(clearTimeout(c),c=void 0)},release(){n&&(n=!1,f())},holds:e=>i.has(e)};return w}function $te(e){let t=e.getAttribute(`aria-live`);return(t==null?[`status`,`alert`,`log`].includes(e.getAttribute(`role`)??``):t!==`off`)&&!e.matches(`button:not([disabled]), a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"]):not([disabled]), [contenteditable]:not([contenteditable=\"false\"]), audio[controls], video[controls], iframe, details > summary:first-child`)&&e.querySelector(`button:not([disabled]), a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"]):not([disabled]), [contenteditable]:not([contenteditable=\"false\"]), audio[controls], video[controls], iframe, details > summary:first-child`)==null}function ene(e,t){let n=new Map,r=(e,i)=>{for(let a of e.children)a===t||Zf(a)||i&&$te(a)||(Qf(a)?r(a,!1):(n.set(a,a.hasAttribute(`inert`)),a.setAttribute(`inert`,``)))};r(e,!0);let i=Sd(e.ownerDocument);return td(i)&&[...n.keys()].some(e=>xd(e,i))&&i.blur(),n}function tne(e){for(let[t,n]of e)n||t.removeAttribute(`inert`)}var gA,_A,vA,yA,bA,xA,SA,CA,wA,TA,EA,DA,OA,kA,AA=o((()=>{Td(),Pu(),od(),t_(),Xn(),nA(),tp(),lA(),{held:gA,heldDocuments:_A,pressHolds:vA,liveShields:yA}=Gn(Wn(`layer/input-hold`,1),()=>({held:new WeakMap,heldDocuments:new WeakMap,pressHolds:new WeakMap,liveShields:new WeakSet})),bA=[`pointerdown`,`pointerup`,`touchstart`,`touchend`,`mousedown`,`mouseup`,`click`,`contextmenu`],xA=e=>{e.cancelable&&e.type!==`touchstart`&&e.preventDefault(),e.stopPropagation()},SA=2,CA=new Set([`Tab`]),wA=new Set([`touch`,`pen`]),TA=800,EA=1e4,DA=[`pointerdown`,`pointermove`,`pointerup`,`pointercancel`],OA=[`touchstart`,`touchmove`,`touchend`,`touchcancel`],kA=[`mousedown`,`mouseup`,`click`,`auxclick`,`dblclick`,`contextmenu`]}));ds(),AA();function jA(e,{isModal:t=!0,entrance:n=e,capMs:r}={}){if(n==null||typeof n.getAnimations!=`function`)return null;let i=n.getAnimations().filter(NA);if(i.length===0||!ss(e.ownerDocument.defaultView))return null;let a=Promise.all(i.map(async e=>e.finished));return hA(e,{until:r==null?a:Promise.race([a,MA(r)]),scope:t?`viewport`:`surface`})}async function MA(e){await new Promise(t=>{setTimeout(t,e)})}function NA(e){if(e.playState!==`running`)return!1;let t=e.effect?.getComputedTiming().endTime;return typeof t==`number`&&Number.isFinite(t)}nv();function PA(e){try{return e.matches(`:popover-open`)}catch{return!1}}function FA(e){return Array.from(e.ownerDocument.querySelectorAll(`[popover=\"auto\"], [popover=\"\"]`)).filter(t=>!t.contains(e)&&PA(t))}function IA(e,t){let n=(0,X.useRef)(!1),r=(0,X.useRef)(!1),i=(0,X.useRef)([]),a=(0,X.useRef)(0);return{onPointerDownCapture:(0,X.useCallback)(e=>{let t=e.target===e.currentTarget;n.current=t,r.current=!1,i.current=t?FA(e.currentTarget):[],a.current=X_(e.currentTarget.ownerDocument)},[]),onPointerUpCapture:(0,X.useCallback)(e=>{r.current=n.current&&e.target===e.currentTarget,n.current=!1},[]),onPointerCancelCapture:(0,X.useCallback)(()=>{n.current=!1,r.current=!1,i.current=[]},[]),onClick:(0,X.useCallback)(o=>{let s=r.current,c=i.current.some(e=>!PA(e))||X_(o.currentTarget.ownerDocument)!==a.current;n.current=!1,r.current=!1,i.current=[],t&&s&&!c&&o.target===o.currentTarget&&e()},[t,e])}}function LA(e=document){let t=e.activeElement;return t==null||t===e.body||t===e.documentElement}var RA=o((()=>{}));function zA(e,t){let n=t??e?.ownerDocument??document;return LA(n)||e!=null&&e.contains(n.activeElement)}function BA(e){let t=e?.ownerDocument.activeElement;return e==null||t==null||!e.contains(t)?null:{element:t,container:e}}function VA(e,t,n=null,r){return e==null||t==null||!zA(n,e.container.ownerDocument)?!1:(WA(t,r),t.ownerDocument.activeElement===t)}function HA(e){gj.get(e)?.()}function UA(e){return e.hasAttribute(`tabindex`)||e.tabIndex>=0||e.isContentEditable||e.matches(`button:not([disabled]), a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"]):not([disabled]), [contenteditable]:not([contenteditable=\"false\"]), audio[controls], video[controls], iframe, details > summary:first-child`)}function WA(e,t,n=Lf(e)){if(HA(e),UA(e))return GA(e,t,n),()=>{};e.setAttribute(`tabindex`,`-1`);let r=()=>{gj.get(e)===r&&(gj.delete(e),e.removeEventListener(`blur`,r),e.getAttribute(`tabindex`)===`-1`&&e.removeAttribute(`tabindex`))};return gj.set(e,r),GA(e,t,n),e.ownerDocument.activeElement===e?e.addEventListener(`blur`,r,{once:!0}):r(),r}function GA(e,t,n=Lf(e)){let r=e.ownerDocument.defaultView??window;e instanceof r.HTMLInputElement||e instanceof r.HTMLTextAreaElement||e instanceof r.HTMLSelectElement||e.isContentEditable||n!==`pointer`?t===void 0?e.focus():e.focus(t):(e.ownerDocument.activeElement===e&&e.matches(`:focus-visible`)&&e.blur(),e.focus({...t,focusVisible:!1}))}function KA(e,t){GA(e,{preventScroll:!0},t)}function qA(e,t){let n=e.ownerDocument.defaultView?.frameElement??null;return r=>{t?.keepRestingFocus===!0&&JA(e.ownerDocument)||queueMicrotask(()=>{e.isConnected||zA(e)&&(n==null||zA(n))&&r()})}}function JA(e){let t=_j.get(e);return t===void 0&&(t=LA(e),_j.set(e,t),queueMicrotask(()=>_j.delete(e))),t}function YA(e){return eA(e).filter(e=>e.tabIndex>=0&&!e.matches(`:disabled`))}function XA(e){let t=e.ownerDocument;return e===t.body||e===t.documentElement}function ZA(e){if(e==null)return null;let t=null;for(let n of vj){let r=n.getLayer();r!=null&&r.contains(e)&&(t==null||t.getLayer()?.contains(r)===!0)&&(t=n)}return t}function QA(e){let t=e.doc??e.getLayer()?.ownerDocument??(typeof document>`u`?null:document);if(t==null)throw Error(`trackLayerFocus needs a document`);let n=t.activeElement,r=td(n)&&!XA(n)?n:null,i=e.opener??r,a=[],o=[];for(let e=i?.parentElement??null;e!=null&&!XA(e);e=e.parentElement)if(a.push(e),a.length<=yj&&i!=null){let t=YA(e).indexOf(i);t>=0&&o.push({container:e,index:t})}let s=e.getLayer(),c={getLayer:e.getLayer,opener:i,getTrigger:e.getTrigger??(()=>null),getRestoreFallback:e.getRestoreFallback??(()=>null),getAnchor:e.getAnchor??(()=>null),layerId:e.layerId??null,ancestors:a,places:o,parent:ZA(i),focus:e.focus??ej,doc:t,layerDoc:s?.ownerDocument??t,inherited:null,hadFocusInside:e.isFocusMovedInOnOpen===!0||s!=null&&s.contains(n),awaitsFocus:e.isFocusMovedInOnOpen===!0&&!(s!=null&&s.contains(n)),isClosing:!1,isDone:!1,stopListening:()=>{}},l=e=>{let t=e.target;Qu(t)&&c.getLayer()?.contains(t)&&(c.hadFocusInside=!0,c.awaitsFocus=!1)},u=new Set([t]);s!=null&&u.add(s.ownerDocument);for(let e of u)e.addEventListener(`focusin`,l,!0);return c.stopListening=()=>{for(let e of u)e.removeEventListener(`focusin`,l,!0)},vj.add(c),c}function $A(e,t){return LA(e)||t!=null&&t.contains(e.activeElement)}function ej(e){WA(e,UA(e)?void 0:{preventScroll:!0},`keyboard`)}function tj(e,t){if(e.focus===ej||UA(t)){e.focus(t);return}t.setAttribute(`tabindex`,`-1`),e.focus(t);let n=()=>{t.getAttribute(`tabindex`)===`-1`&&t.removeAttribute(`tabindex`)};t.ownerDocument.activeElement===t?t.addEventListener(`blur`,n,{once:!0}):n()}function nj(e){for(let t of vj)if(t.isClosing&&t.getLayer()?.contains(e))return!0;return!1}function rj(e){let t=e.checkVisibility;if(typeof t==`function`)return t.call(e,{visibilityProperty:!0});let n=e.ownerDocument.defaultView;for(let t=e;t!=null;t=t.parentElement){if(t.hasAttribute(`hidden`))return!1;let r=n?.getComputedStyle(t);if(r?.display===`none`&&!t.hasAttribute(`popover`)||t===e&&r?.visibility===`hidden`)return!1}return!0}function ij(e){let t=!1;for(let n of e.ownerDocument.querySelectorAll(`dialog[open]`))if(rd(n)){if(n.contains(e))return!1;t=!0}return t}function aj(e){return td(e)&&e.isConnected&&!XA(e)&&!e.matches(`:disabled`)&&$k(e)&&!ij(e)&&!nj(e)&&rj(e)}function oj(e,t){let n=t?.id||e.layerId;return n?`layer \"${n}\"`:`a layer`}function sj(e){return e==null?null:td(e)&&UA(e)?e:YA(e)[0]??null}function*cj(e){if(yield e.opener,yield sj(e.getTrigger()),e.layerId!=null&&e.layerId!==``){let t=typeof CSS<`u`&&typeof CSS.escape==`function`?CSS.escape(e.layerId):e.layerId;yield e.doc.querySelector(`[aria-controls=\"${t}\"]`)}yield e.getRestoreFallback(),yield sj(e.getAnchor());let t=e.places.find(({container:e})=>e.isConnected);if(t!=null){let e=YA(t.container);yield e[t.index]??null,yield e[t.index-1]??null,yield e[t.index+1]??null,yield e[0]??null}for(let t of e.ancestors)t.isConnected&&(yield t)}function*lj(e){for(let t=e;t!=null;t=t.inherited)yield*cj(t);for(let t=e.parent;t!=null;t=t.parent)if(!t.isClosing){yield t.getLayer();break}yield e.doc.querySelector(`main`)}function uj(e){e.isDone=!0,e.stopListening(),vj.delete(e)}function dj(e){let t=e.getLayer(),n=(t?.ownerDocument??e.layerDoc).activeElement;return t!=null&&n!=null&&t.contains(n)}function fj(e){let{doc:t}=e,n=e.getLayer(),r=t.activeElement,i=n?.ownerDocument??e.layerDoc,a=i.activeElement,o=n!=null&&a!=null&&n.contains(a);if(!(e.hadFocusInside||o))return!1;let s=i===t?null:i.defaultView?.frameElement??null;return LA(t)||o||s!=null&&r===s&&$A(i,n)||r!=null&&nj(r)}function pj(e,t){if(e.isDone||e.isClosing)return!1;if(t?.isOpenerOnly===!0){let{opener:t}=e;return!fj(e)||!aj(t)?!1:(e.isClosing=!0,tj(e,t),uj(e),!0)}let n=t?.wasStranded??fj(e);e.isClosing=!0;let{doc:r}=e,i=e.getLayer();if(!n)return uj(e),!1;for(let t of vj)if(t!==e&&!t.isClosing&&t.parent===e&&(dj(t)||t.awaitsFocus))return t.inherited=e,uj(e),!1;for(let t of lj(e))if(aj(t)&&(tj(e,t),r.activeElement===t))return uj(e),!0;return t?.warnsWhenNothingQualifies===!1?(uj(e),!1):(`${oj(e,i)}`,uj(e),!1)}function mj(e,t){let n=e.getLayer();for(let r of[...t,...lj(e)])if(aj(r)&&!(n?.contains(r)??!1)&&(tj(e,r),e.doc.activeElement===r))return!0;return`${oj(e,n)}`,!1}function hj(e){e.isDone||uj(e)}var gj,_j,vj,yj,bj=o((()=>{nA(),Xn(),Hf(),RA(),od(),sc(),gj=Jn(`utils/focus-return/temporary-focus`,1),_j=Jn(`utils/focus-return/focus-detached-at-removal-start`,1),vj=Kn(`utils/focus-return/open-layer-records`,1,()=>new Set),yj=4}));function xj(e){(0,Pj.useEffect)(()=>{if(e)return Fj.count+=1,()=>{--Fj.count}},[e])}function Sj(e){return e.matches(`input[type=\"radio\"][name]`)&&e.name||null}function Cj(e,t){let n=Sj(e);return n!=null&&n===Sj(t)&&e.form===t.form}function wj(e,t){return e.filter(n=>Sj(n)==null?!0:t!=null&&Cj(n,t)?n===t:n.checked||!e.some(e=>Cj(n,e)&&e.checked))}function Tj(e){return e?.ownerDocument??document}function Ej(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING)!==0}function Dj(e){try{e.focus()}catch{}return e.ownerDocument.activeElement===e}function Oj(e,t){Dj(t)&&e.preventDefault()}function kj(e){let t=eA(e);for(let e of t)if(Dj(e))return!0;return!1}function Aj(e){let t=eA(e);for(let e=t.length-1;e>=0;e--)if(Dj(t[e]))return!0;return!1}function jj(e,t){let n=t.closest(`dialog[open]`);if(n!=null&&n!==e&&e.contains(n))return!0;for(let n of Ij)if(n!==e&&e.contains(n)&&n.contains(t))return!0;return!1}function Mj(e,t){let n=(0,Pj.useRef)(null),r=(0,Pj.useRef)(!1);(0,Pj.useEffect)(()=>{let n=e.current;if(t&&n!=null)return Ij.add(n),()=>{Ij.delete(n)}},[e,t]),(0,Pj.useEffect)(()=>{if(!t)return;let i=Tj(e.current),a=t=>{let a=e.current;if(!a)return;let o=t.target;if(a.contains(o))n.current=o;else if(r.current){let e=kj(a);e&&n.current===i.activeElement?Aj(a):!e&&td(n.current)&&a.contains(n.current)&&Dj(n.current),n.current=i.activeElement}r.current=!1};return i.addEventListener(`focus`,a,!0),()=>{i.removeEventListener(`focus`,a,!0)}},[e,t]),(0,Pj.useEffect)(()=>{if(!t)return;let i=Tj(e.current),a=t=>{let a=e.current;if(a&&t.key===`Tab`){if(t.ctrlKey||t.metaKey||t.defaultPrevented)return;let e=i.activeElement;if(e==null||!a.contains(e)||jj(a,e))return;r.current=!0;let o=eA(a);if(o.length===0){t.preventDefault(),n.current=e,r.current=!1;return}let s=wj([...o].sort((e,t)=>Ej(e,t)?-1:1),e),c=s[0],l=s[s.length-1];if(i.activeElement===a){Oj(t,t.shiftKey?l:c);return}let u=!o.includes(e);t.shiftKey?(e===c||u&&Ej(e,c))&&Oj(t,l):(e===l||u&&Ej(l,e))&&Oj(t,c)}};return i.addEventListener(`keydown`,a),()=>{i.removeEventListener(`keydown`,a)}},[e,t])}function Nj(e){let{isActive:t,onEscape:n,getRestoreTarget:r,getRestoreFallback:i,restoreFocusTo:a,getTrigger:o,getAnchor:s,layerId:c}=e,l=(0,Pj.useRef)(r);l.current=r;let u=(0,Pj.useRef)(i);u.current=i;let d=(0,Pj.useRef)(a);d.current=a;let f=nu(o),p=nu(s),m=nu(c),h=(0,Pj.useRef)(null);Mj(h,t);let g=t&&n!=null;Bx({isActive:g,onDismiss:()=>{n?.()},getContainer:()=>h.current}),xj(g);let _=(0,Pj.useCallback)(()=>{h.current&&kj(h.current)},[]),v=(0,Pj.useRef)(null);return(0,Pj.useEffect)(()=>{if(!t)return;let e=h.current,n=QA({getLayer:()=>h.current??e,opener:l.current?.()??null,getTrigger:()=>f.current?.()??null,getRestoreFallback:()=>u.current?.()??null,getAnchor:()=>p.current?.()??null,layerId:m.current??null,focus:d.current==null?void 0:e=>d.current?.(e),doc:e?.ownerDocument});v.current=n;let r=e==null?null:qA(e);return()=>{v.current=null,n.isDone||(e!=null&&rd(e)?hj(n):e==null||e.isConnected?(pj(n),hj(n)):pj(n,{isOpenerOnly:!0})||(r?.(()=>{pj(n,{warnsWhenNothingQualifies:!1})}),queueMicrotask(()=>hj(n))))}},[t,p,f,m]),{containerRef:h,focusFirst:_,returnFocus:(0,Pj.useCallback)(()=>{let e=v.current;e!=null&&pj(e)},[]),moveFocusOut:(0,Pj.useCallback)(e=>{let t=v.current;return t!=null&&mj(t,e)},[])}}var Pj,Fj,Ij,Lj=o((()=>{Pj=u(f(),1),bj(),od(),Xn(),au(),nA(),Ux(),Fj=Kn(`hooks/use-focus-trap/escape-traps`,1,()=>({count:0})),Ij=Kn(`hooks/use-focus-trap/active-region-containers`,1,()=>new Set)})),Rj,zj=o((()=>{Rj={publish:{\"--_container-bleed-block-start\":`x19rxvyz xlimi1b x1o1bq0k`,\"--_container-bleed-block-end\":`x1t5kaiv x1506i8g x3z1glp`,$$css:!0}}}));function Bj({padding:e=`spacing4`,paddingOuterX:t,paddingOuterY:n,paddingInnerX:r,paddingInnerY:i,useThemeDefault:a,maxHeight:o}){let s=t??e,c=n??e,l=r??e,u=i??e,d=o?uM.containerMaxHeight(o):null;if(a){let e=tM[a];return[Vj.container,e.containerPaddingInlineStart,e.containerPaddingInlineEnd,e.containerPaddingBlockStart,e.containerPaddingBlockEnd,e.layoutPaddingOuterX,e.layoutPaddingOuterY,e.layoutPaddingInnerX,e.layoutPaddingInnerY,d,Rj.publish]}return[Vj.container,nM[s],rM[s],iM[c],aM[c],oM[s],sM[c],cM[l],lM[u],d,Rj.publish]}var Vj,Hj,Uj,Wj,Gj,Kj,qj,Jj,Yj,Xj,Zj,Qj,$j,eM,tM,nM,rM,iM,aM,oM,sM,cM,lM,uM,dM=o((()=>{G(),zj(),Vj={container:{kB7OPa:`x9f619`,kZCmMZ:`x1c35znw`,kwRFfy:`x64h4k7`,kLKAdn:`x14m0hsi`,kGO01o:`xc1wllq`,\"--layout-padding-own-outer-x\":`x1vii845`,\"--layout-padding-own-outer-y\":`xojybgt`,$$css:!0}},Hj=j[`--spacing-4`],Uj=j[`--spacing-6`],Wj=`var(--astryx-card-padding, ${Hj})`,Gj=`var(--astryx-card-padding-inline, ${Wj})`,`${Gj}`,`${Gj}`,`${Wj}`,`${Wj}`,Kj=`var(--_section-padding-propagated, ${`var(--astryx-section-padding, ${Hj})`})`,qj=`var(--astryx-section-padding-inline, ${Kj})`,`${qj}`,`${qj}`,`${Kj}`,`${Kj}`,Jj=`var(--astryx-dialog-padding, ${Hj})`,Yj=`var(--astryx-dialog-padding-inline, ${Jj})`,`${Yj}`,`${Yj}`,`${Jj}`,`${Jj}`,Xj=`var(--astryx-bottom-sheet-padding, ${Hj})`,Zj=`var(--astryx-bottom-sheet-padding-inline, ${Xj})`,`${Zj}`,`${Zj}`,Qj=`var(--astryx-bottom-sheet-padding-block-start, ${Xj})`,`${Xj}`,`${Qj}${Uj}`,$j=`var(--astryx-drawer-padding, ${Hj})`,eM=`var(--astryx-drawer-padding-inline, ${$j})`,`${eM}`,`${eM}`,`${$j}`,`${$j}`,tM={card:{containerPaddingInlineStart:{\"--container-padding-inline-start\":`xjmlhfd`,$$css:!0},containerPaddingInlineEnd:{\"--container-padding-inline-end\":`x1ihxwbr`,$$css:!0},containerPaddingBlockStart:{\"--container-padding-block-start\":`x1rqz8me`,$$css:!0},containerPaddingBlockEnd:{\"--container-padding-block-end\":`x1omyuck`,$$css:!0},layoutPaddingOuterX:{\"--layout-padding-outer-x\":`x14rzhog`,$$css:!0},layoutPaddingOuterY:{\"--layout-padding-outer-y\":`xjej9fs`,$$css:!0},layoutPaddingInnerX:{\"--layout-padding-inner-x\":`x4poyjn`,$$css:!0},layoutPaddingInnerY:{\"--layout-padding-inner-y\":`x1u1kw4e`,$$css:!0}},section:{containerPaddingInlineStart:{\"--container-padding-inline-start\":`x19lemt0`,$$css:!0},containerPaddingInlineEnd:{\"--container-padding-inline-end\":`xu1wldr`,$$css:!0},containerPaddingBlockStart:{\"--container-padding-block-start\":`xnw7zt4`,$$css:!0},containerPaddingBlockEnd:{\"--container-padding-block-end\":`xek4msv`,$$css:!0},layoutPaddingOuterX:{\"--layout-padding-outer-x\":`x15i0zw9`,$$css:!0},layoutPaddingOuterY:{\"--layout-padding-outer-y\":`x1vw4zgg`,$$css:!0},layoutPaddingInnerX:{\"--layout-padding-inner-x\":`x1v3gmnx`,$$css:!0},layoutPaddingInnerY:{\"--layout-padding-inner-y\":`x15yx5hm`,$$css:!0}},dialog:{containerPaddingInlineStart:{\"--container-padding-inline-start\":`x1tewnwq`,$$css:!0},containerPaddingInlineEnd:{\"--container-padding-inline-end\":`x11h1f2o`,$$css:!0},containerPaddingBlockStart:{\"--container-padding-block-start\":`x1g2kccc`,$$css:!0},containerPaddingBlockEnd:{\"--container-padding-block-end\":`x1gvthzm`,$$css:!0},layoutPaddingOuterX:{\"--layout-padding-outer-x\":`x1hsjncj`,$$css:!0},layoutPaddingOuterY:{\"--layout-padding-outer-y\":`x1pui4bz`,$$css:!0},layoutPaddingInnerX:{\"--layout-padding-inner-x\":`x2so38`,$$css:!0},layoutPaddingInnerY:{\"--layout-padding-inner-y\":`xinu7xd`,$$css:!0}},\"bottom-sheet\":{containerPaddingInlineStart:{\"--container-padding-inline-start\":`xv7mus7`,$$css:!0},containerPaddingInlineEnd:{\"--container-padding-inline-end\":`x1ui7op6`,$$css:!0},containerPaddingBlockStart:{\"--container-padding-block-start\":`x1hx5klf`,$$css:!0},containerPaddingBlockEnd:{\"--container-padding-block-end\":`x1of45zw`,$$css:!0},layoutPaddingOuterX:{\"--layout-padding-outer-x\":`x11ixy8q`,$$css:!0},layoutPaddingOuterY:{\"--layout-padding-outer-y\":`x1iwhsh0`,$$css:!0},layoutPaddingInnerX:{\"--layout-padding-inner-x\":`xp9icaw`,$$css:!0},layoutPaddingInnerY:{\"--layout-padding-inner-y\":`x10u54dy`,$$css:!0}},drawer:{containerPaddingInlineStart:{\"--container-padding-inline-start\":`x1mndvw9`,$$css:!0},containerPaddingInlineEnd:{\"--container-padding-inline-end\":`xlsqznw`,$$css:!0},containerPaddingBlockStart:{\"--container-padding-block-start\":`x18184ib`,$$css:!0},containerPaddingBlockEnd:{\"--container-padding-block-end\":`x1g5mqay`,$$css:!0},layoutPaddingOuterX:{\"--layout-padding-outer-x\":`x18e7m0u`,$$css:!0},layoutPaddingOuterY:{\"--layout-padding-outer-y\":`xc006j`,$$css:!0},layoutPaddingInnerX:{\"--layout-padding-inner-x\":`x1qbr0dm`,$$css:!0},layoutPaddingInnerY:{\"--layout-padding-inner-y\":`x1ek71mq`,$$css:!0}}},nM={spacing0:{\"--container-padding-inline-start\":`x1gu2k80`,$$css:!0},spacing0_5:{\"--container-padding-inline-start\":`x14ws0sr`,$$css:!0},spacing1:{\"--container-padding-inline-start\":`x1cvlban`,$$css:!0},spacing1_5:{\"--container-padding-inline-start\":`x176g23i`,$$css:!0},spacing2:{\"--container-padding-inline-start\":`x1xlrr2o`,$$css:!0},spacing3:{\"--container-padding-inline-start\":`xfdwxua`,$$css:!0},spacing4:{\"--container-padding-inline-start\":`x1dlhslv`,$$css:!0},spacing5:{\"--container-padding-inline-start\":`x1s81nki`,$$css:!0},spacing6:{\"--container-padding-inline-start\":`x1ep0dkj`,$$css:!0},spacing7:{\"--container-padding-inline-start\":`x157xojc`,$$css:!0},spacing8:{\"--container-padding-inline-start\":`xw1diwv`,$$css:!0},spacing9:{\"--container-padding-inline-start\":`xraca2a`,$$css:!0},spacing10:{\"--container-padding-inline-start\":`xserb3f`,$$css:!0},spacing11:{\"--container-padding-inline-start\":`xziclwo`,$$css:!0},spacing12:{\"--container-padding-inline-start\":`x1iiwihq`,$$css:!0}},rM={spacing0:{\"--container-padding-inline-end\":`x91ghl5`,$$css:!0},spacing0_5:{\"--container-padding-inline-end\":`x1wz3t3y`,$$css:!0},spacing1:{\"--container-padding-inline-end\":`x2oyxnl`,$$css:!0},spacing1_5:{\"--container-padding-inline-end\":`xntetml`,$$css:!0},spacing2:{\"--container-padding-inline-end\":`xcas3b9`,$$css:!0},spacing3:{\"--container-padding-inline-end\":`xu0ipoa`,$$css:!0},spacing4:{\"--container-padding-inline-end\":`xs0pscg`,$$css:!0},spacing5:{\"--container-padding-inline-end\":`xgkj7vj`,$$css:!0},spacing6:{\"--container-padding-inline-end\":`x94cj42`,$$css:!0},spacing7:{\"--container-padding-inline-end\":`x11tj35w`,$$css:!0},spacing8:{\"--container-padding-inline-end\":`x1b9k1pi`,$$css:!0},spacing9:{\"--container-padding-inline-end\":`x19w02kr`,$$css:!0},spacing10:{\"--container-padding-inline-end\":`xx5lg5w`,$$css:!0},spacing11:{\"--container-padding-inline-end\":`x1nmgbqg`,$$css:!0},spacing12:{\"--container-padding-inline-end\":`x1wsfsk2`,$$css:!0}},iM={spacing0:{\"--container-padding-block-start\":`x1i3qcxz`,$$css:!0},spacing0_5:{\"--container-padding-block-start\":`xvdf9ev`,$$css:!0},spacing1:{\"--container-padding-block-start\":`xnsckjb`,$$css:!0},spacing1_5:{\"--container-padding-block-start\":`x1kbx601`,$$css:!0},spacing2:{\"--container-padding-block-start\":`xa8b4fq`,$$css:!0},spacing3:{\"--container-padding-block-start\":`x11k4f5r`,$$css:!0},spacing4:{\"--container-padding-block-start\":`xm01sq8`,$$css:!0},spacing5:{\"--container-padding-block-start\":`xp8wdkl`,$$css:!0},spacing6:{\"--container-padding-block-start\":`x1hmud4d`,$$css:!0},spacing7:{\"--container-padding-block-start\":`x1c00sag`,$$css:!0},spacing8:{\"--container-padding-block-start\":`xfv60at`,$$css:!0},spacing9:{\"--container-padding-block-start\":`x14fzdu7`,$$css:!0},spacing10:{\"--container-padding-block-start\":`x17h9kl7`,$$css:!0},spacing11:{\"--container-padding-block-start\":`x1rdjxae`,$$css:!0},spacing12:{\"--container-padding-block-start\":`xecwdl6`,$$css:!0}},aM={spacing0:{\"--container-padding-block-end\":`xkunwnr`,$$css:!0},spacing0_5:{\"--container-padding-block-end\":`x1cao3zv`,$$css:!0},spacing1:{\"--container-padding-block-end\":`x57a7ii`,$$css:!0},spacing1_5:{\"--container-padding-block-end\":`xv53x8y`,$$css:!0},spacing2:{\"--container-padding-block-end\":`x1lsgcmx`,$$css:!0},spacing3:{\"--container-padding-block-end\":`x1q3ppug`,$$css:!0},spacing4:{\"--container-padding-block-end\":`x4hfsld`,$$css:!0},spacing5:{\"--container-padding-block-end\":`xbib2ws`,$$css:!0},spacing6:{\"--container-padding-block-end\":`x1q8d17g`,$$css:!0},spacing7:{\"--container-padding-block-end\":`x1yqogew`,$$css:!0},spacing8:{\"--container-padding-block-end\":`x8lgq76`,$$css:!0},spacing9:{\"--container-padding-block-end\":`x1f7f9rt`,$$css:!0},spacing10:{\"--container-padding-block-end\":`x15vxphk`,$$css:!0},spacing11:{\"--container-padding-block-end\":`x4bg2x9`,$$css:!0},spacing12:{\"--container-padding-block-end\":`x186mjxr`,$$css:!0}},oM={spacing0:{\"--layout-padding-outer-x\":`xswhm3q`,$$css:!0},spacing0_5:{\"--layout-padding-outer-x\":`xihiwg7`,$$css:!0},spacing1:{\"--layout-padding-outer-x\":`xc96xmq`,$$css:!0},spacing1_5:{\"--layout-padding-outer-x\":`x1u93lgd`,$$css:!0},spacing2:{\"--layout-padding-outer-x\":`x15dxnc0`,$$css:!0},spacing3:{\"--layout-padding-outer-x\":`xadgj3j`,$$css:!0},spacing4:{\"--layout-padding-outer-x\":`x1v56qcf`,$$css:!0},spacing5:{\"--layout-padding-outer-x\":`x1nzs0gl`,$$css:!0},spacing6:{\"--layout-padding-outer-x\":`x1c3n52a`,$$css:!0},spacing7:{\"--layout-padding-outer-x\":`x1gfiokx`,$$css:!0},spacing8:{\"--layout-padding-outer-x\":`x1t3kfz`,$$css:!0},spacing9:{\"--layout-padding-outer-x\":`xzr4qsh`,$$css:!0},spacing10:{\"--layout-padding-outer-x\":`x1jdf5a4`,$$css:!0},spacing11:{\"--layout-padding-outer-x\":`x1hct0t0`,$$css:!0},spacing12:{\"--layout-padding-outer-x\":`x11cyqoe`,$$css:!0}},sM={spacing0:{\"--layout-padding-outer-y\":`x1mzf5mb`,$$css:!0},spacing0_5:{\"--layout-padding-outer-y\":`x1vj96e0`,$$css:!0},spacing1:{\"--layout-padding-outer-y\":`x1gpfxoh`,$$css:!0},spacing1_5:{\"--layout-padding-outer-y\":`xd3dqby`,$$css:!0},spacing2:{\"--layout-padding-outer-y\":`x10pz7y9`,$$css:!0},spacing3:{\"--layout-padding-outer-y\":`x1p6yq3h`,$$css:!0},spacing4:{\"--layout-padding-outer-y\":`xx738ci`,$$css:!0},spacing5:{\"--layout-padding-outer-y\":`x6yxws5`,$$css:!0},spacing6:{\"--layout-padding-outer-y\":`x180vrwl`,$$css:!0},spacing7:{\"--layout-padding-outer-y\":`x1q6rme1`,$$css:!0},spacing8:{\"--layout-padding-outer-y\":`xid7e43`,$$css:!0},spacing9:{\"--layout-padding-outer-y\":`x1t5kicu`,$$css:!0},spacing10:{\"--layout-padding-outer-y\":`x26l4wa`,$$css:!0},spacing11:{\"--layout-padding-outer-y\":`x10zktp0`,$$css:!0},spacing12:{\"--layout-padding-outer-y\":`x1yz3n6a`,$$css:!0}},cM={spacing0:{\"--layout-padding-inner-x\":`xj1bl4l`,$$css:!0},spacing0_5:{\"--layout-padding-inner-x\":`xlriy2h`,$$css:!0},spacing1:{\"--layout-padding-inner-x\":`x6uuyak`,$$css:!0},spacing1_5:{\"--layout-padding-inner-x\":`xd38f90`,$$css:!0},spacing2:{\"--layout-padding-inner-x\":`xxqksqd`,$$css:!0},spacing3:{\"--layout-padding-inner-x\":`x1fyui2f`,$$css:!0},spacing4:{\"--layout-padding-inner-x\":`x1i2ajwi`,$$css:!0},spacing5:{\"--layout-padding-inner-x\":`x1tac27u`,$$css:!0},spacing6:{\"--layout-padding-inner-x\":`x1ntgf3t`,$$css:!0},spacing7:{\"--layout-padding-inner-x\":`xhjd9tl`,$$css:!0},spacing8:{\"--layout-padding-inner-x\":`xn7c84u`,$$css:!0},spacing9:{\"--layout-padding-inner-x\":`xeqkbsz`,$$css:!0},spacing10:{\"--layout-padding-inner-x\":`x1vf4qco`,$$css:!0},spacing11:{\"--layout-padding-inner-x\":`xsmamsf`,$$css:!0},spacing12:{\"--layout-padding-inner-x\":`x2xk2xj`,$$css:!0}},lM={spacing0:{\"--layout-padding-inner-y\":`xwuefyo`,$$css:!0},spacing0_5:{\"--layout-padding-inner-y\":`x180h0y5`,$$css:!0},spacing1:{\"--layout-padding-inner-y\":`xmpug6m`,$$css:!0},spacing1_5:{\"--layout-padding-inner-y\":`x1g8jpzm`,$$css:!0},spacing2:{\"--layout-padding-inner-y\":`x1lksgje`,$$css:!0},spacing3:{\"--layout-padding-inner-y\":`x4j7gld`,$$css:!0},spacing4:{\"--layout-padding-inner-y\":`x1s3ehtl`,$$css:!0},spacing5:{\"--layout-padding-inner-y\":`x1rj5eim`,$$css:!0},spacing6:{\"--layout-padding-inner-y\":`x1ftgg6u`,$$css:!0},spacing7:{\"--layout-padding-inner-y\":`x1ho74vh`,$$css:!0},spacing8:{\"--layout-padding-inner-y\":`xm2cs6f`,$$css:!0},spacing9:{\"--layout-padding-inner-y\":`x1vsq92b`,$$css:!0},spacing10:{\"--layout-padding-inner-y\":`x18gbwmk`,$$css:!0},spacing11:{\"--layout-padding-inner-y\":`x14zymzj`,$$css:!0},spacing12:{\"--layout-padding-inner-y\":`xzfpkx9`,$$css:!0}},uM={containerMaxHeight:e=>[{\"--container-max-height\":e==null?e:`x18nyedi`,$$css:!0},{\"--x---container-max-height\":e??void 0}]}})),fM={fromHostRadius:{\"--_container-corner-start-start\":`xyglmdk xo6h1o1`,\"--_container-corner-start-end\":`xmq3u8m x5rr2qb`,\"--_container-corner-end-start\":`xp1ds82 x1pmdxx9`,\"--_container-corner-end-end\":`x137k1ec x135ma50`,$$css:!0},publish:{\"--container-corner-start-start\":`xcfde6v x1jxik6w x1x9b3rp`,\"--container-corner-start-end\":`x1os27km x18wmv1g x1fj5z48`,\"--container-corner-end-start\":`x102ry9 xcwbja2 xpl7j7d`,\"--container-corner-end-end\":`x1q2p8vm x1jkigeo xrfh3k4`,$$css:!0}},pM,mM=o((()=>{pM={0:{kZCmMZ:`x18gyask`,kwRFfy:`x1s0aq8i`,kLKAdn:`x1ydh6w3`,kGO01o:`x1l20ajd`,$$css:!0},1:{kZCmMZ:`x1vsv5vr`,kwRFfy:`x1nryj5t`,kLKAdn:`xfsso4q`,kGO01o:`xy143xn`,$$css:!0},2:{kZCmMZ:`x12gdq22`,kwRFfy:`x1djylfy`,kLKAdn:`x1xye8es`,kGO01o:`x1wesfrj`,$$css:!0},3:{kZCmMZ:`x126nfab`,kwRFfy:`x1t818jl`,kLKAdn:`x1vlblms`,kGO01o:`xvmdzux`,$$css:!0},4:{kZCmMZ:`x1rey3nv`,kwRFfy:`xnjyzlh`,kLKAdn:`x1oa1p4a`,kGO01o:`x1awphl8`,$$css:!0},5:{kZCmMZ:`x1blguxw`,kwRFfy:`xdbrk9v`,kLKAdn:`xx7rijo`,kGO01o:`x1hk98q`,$$css:!0},6:{kZCmMZ:`x31w388`,kwRFfy:`x1we12cn`,kLKAdn:`x1adxfkp`,kGO01o:`xjpqqx5`,$$css:!0},8:{kZCmMZ:`x1j3hnjz`,kwRFfy:`x1q91b2g`,kLKAdn:`xoxd1wu`,kGO01o:`x2oz4g1`,$$css:!0},10:{kZCmMZ:`xqp078j`,kwRFfy:`x160ivqr`,kLKAdn:`xk6660b`,kGO01o:`x2izi54`,$$css:!0},\"0.5\":{kZCmMZ:`x138rykx`,kwRFfy:`x1le3yxw`,kLKAdn:`xbx876j`,kGO01o:`xij103a`,$$css:!0},\"1.5\":{kZCmMZ:`xfti1ec`,kwRFfy:`x17hk9do`,kLKAdn:`x1kwdpsa`,kGO01o:`x1opdxmq`,$$css:!0}}})),hM,gM,_M,vM,yM,bM,xM,SM,CM,wM,TM=o((()=>{mM(),qg(),hM={0:`spacing0`,.5:`spacing0_5`,1:`spacing1`,1.5:`spacing1_5`,2:`spacing2`,3:`spacing3`,4:`spacing4`,5:`spacing5`,6:`spacing6`,8:`spacing8`,10:`spacing10`},gM={0:{\"--container-padding-inline-start\":`x1gu2k80`,\"--container-padding-inline-end\":`x91ghl5`,$$css:!0},1:{\"--container-padding-inline-start\":`x1cvlban`,\"--container-padding-inline-end\":`x2oyxnl`,$$css:!0},2:{\"--container-padding-inline-start\":`x1xlrr2o`,\"--container-padding-inline-end\":`xcas3b9`,$$css:!0},3:{\"--container-padding-inline-start\":`xfdwxua`,\"--container-padding-inline-end\":`xu0ipoa`,$$css:!0},4:{\"--container-padding-inline-start\":`x1dlhslv`,\"--container-padding-inline-end\":`xs0pscg`,$$css:!0},5:{\"--container-padding-inline-start\":`x1s81nki`,\"--container-padding-inline-end\":`xgkj7vj`,$$css:!0},6:{\"--container-padding-inline-start\":`x1ep0dkj`,\"--container-padding-inline-end\":`x94cj42`,$$css:!0},8:{\"--container-padding-inline-start\":`xw1diwv`,\"--container-padding-inline-end\":`x1b9k1pi`,$$css:!0},10:{\"--container-padding-inline-start\":`xserb3f`,\"--container-padding-inline-end\":`xx5lg5w`,$$css:!0},\"0.5\":{\"--container-padding-inline-start\":`x14ws0sr`,\"--container-padding-inline-end\":`x1wz3t3y`,$$css:!0},\"1.5\":{\"--container-padding-inline-start\":`x176g23i`,\"--container-padding-inline-end\":`xntetml`,$$css:!0}},_M={0:{\"--container-padding-block-start\":`x1i3qcxz`,$$css:!0},1:{\"--container-padding-block-start\":`xnsckjb`,$$css:!0},2:{\"--container-padding-block-start\":`xa8b4fq`,$$css:!0},3:{\"--container-padding-block-start\":`x11k4f5r`,$$css:!0},4:{\"--container-padding-block-start\":`xm01sq8`,$$css:!0},5:{\"--container-padding-block-start\":`xp8wdkl`,$$css:!0},6:{\"--container-padding-block-start\":`x1hmud4d`,$$css:!0},8:{\"--container-padding-block-start\":`xfv60at`,$$css:!0},10:{\"--container-padding-block-start\":`x17h9kl7`,$$css:!0},\"0.5\":{\"--container-padding-block-start\":`xvdf9ev`,$$css:!0},\"1.5\":{\"--container-padding-block-start\":`x1kbx601`,$$css:!0}},vM={0:{\"--container-padding-block-end\":`xkunwnr`,$$css:!0},1:{\"--container-padding-block-end\":`x57a7ii`,$$css:!0},2:{\"--container-padding-block-end\":`x1lsgcmx`,$$css:!0},3:{\"--container-padding-block-end\":`x1q3ppug`,$$css:!0},4:{\"--container-padding-block-end\":`x4hfsld`,$$css:!0},5:{\"--container-padding-block-end\":`xbib2ws`,$$css:!0},6:{\"--container-padding-block-end\":`x1q8d17g`,$$css:!0},8:{\"--container-padding-block-end\":`x8lgq76`,$$css:!0},10:{\"--container-padding-block-end\":`x15vxphk`,$$css:!0},\"0.5\":{\"--container-padding-block-end\":`x1cao3zv`,$$css:!0},\"1.5\":{\"--container-padding-block-end\":`xv53x8y`,$$css:!0}},yM={0:{\"--layout-padding-own-outer-x\":`xhcsosl`,$$css:!0},1:{\"--layout-padding-own-outer-x\":`x14y473`,$$css:!0},2:{\"--layout-padding-own-outer-x\":`x18c6olm`,$$css:!0},3:{\"--layout-padding-own-outer-x\":`x1cfn5ow`,$$css:!0},4:{\"--layout-padding-own-outer-x\":`xh30wjg`,$$css:!0},5:{\"--layout-padding-own-outer-x\":`xse87af`,$$css:!0},6:{\"--layout-padding-own-outer-x\":`xznoj5s`,$$css:!0},8:{\"--layout-padding-own-outer-x\":`xtjvahm`,$$css:!0},10:{\"--layout-padding-own-outer-x\":`xczqutc`,$$css:!0},\"0.5\":{\"--layout-padding-own-outer-x\":`x1ftjo2o`,$$css:!0},\"1.5\":{\"--layout-padding-own-outer-x\":`x1k4nu17`,$$css:!0}},bM={0:{\"--layout-padding-own-outer-y\":`xe1wva8`,$$css:!0},1:{\"--layout-padding-own-outer-y\":`x1nxw61z`,$$css:!0},2:{\"--layout-padding-own-outer-y\":`xm4vj23`,$$css:!0},3:{\"--layout-padding-own-outer-y\":`x69uvy7`,$$css:!0},4:{\"--layout-padding-own-outer-y\":`x139ridu`,$$css:!0},5:{\"--layout-padding-own-outer-y\":`x1cq2jmq`,$$css:!0},6:{\"--layout-padding-own-outer-y\":`x1ir1f5p`,$$css:!0},8:{\"--layout-padding-own-outer-y\":`xhbsdkj`,$$css:!0},10:{\"--layout-padding-own-outer-y\":`xaqnhag`,$$css:!0},\"0.5\":{\"--layout-padding-own-outer-y\":`x1b6unwa`,$$css:!0},\"1.5\":{\"--layout-padding-own-outer-y\":`x1g16mdy`,$$css:!0}},xM={0:{kZCmMZ:`x18gyask`,$$css:!0},1:{kZCmMZ:`x1vsv5vr`,$$css:!0},2:{kZCmMZ:`x12gdq22`,$$css:!0},3:{kZCmMZ:`x126nfab`,$$css:!0},4:{kZCmMZ:`x1rey3nv`,$$css:!0},5:{kZCmMZ:`x1blguxw`,$$css:!0},6:{kZCmMZ:`x31w388`,$$css:!0},8:{kZCmMZ:`x1j3hnjz`,$$css:!0},10:{kZCmMZ:`xqp078j`,$$css:!0},\"0.5\":{kZCmMZ:`x138rykx`,$$css:!0},\"1.5\":{kZCmMZ:`xfti1ec`,$$css:!0}},SM={0:{kwRFfy:`x1s0aq8i`,$$css:!0},1:{kwRFfy:`x1nryj5t`,$$css:!0},2:{kwRFfy:`x1djylfy`,$$css:!0},3:{kwRFfy:`x1t818jl`,$$css:!0},4:{kwRFfy:`xnjyzlh`,$$css:!0},5:{kwRFfy:`xdbrk9v`,$$css:!0},6:{kwRFfy:`x1we12cn`,$$css:!0},8:{kwRFfy:`x1q91b2g`,$$css:!0},10:{kwRFfy:`x160ivqr`,$$css:!0},\"0.5\":{kwRFfy:`x1le3yxw`,$$css:!0},\"1.5\":{kwRFfy:`x17hk9do`,$$css:!0}},CM={0:{kLKAdn:`x1ydh6w3`,$$css:!0},1:{kLKAdn:`xfsso4q`,$$css:!0},2:{kLKAdn:`x1xye8es`,$$css:!0},3:{kLKAdn:`x1vlblms`,$$css:!0},4:{kLKAdn:`x1oa1p4a`,$$css:!0},5:{kLKAdn:`xx7rijo`,$$css:!0},6:{kLKAdn:`x1adxfkp`,$$css:!0},8:{kLKAdn:`xoxd1wu`,$$css:!0},10:{kLKAdn:`xk6660b`,$$css:!0},\"0.5\":{kLKAdn:`xbx876j`,$$css:!0},\"1.5\":{kLKAdn:`x1kwdpsa`,$$css:!0}},wM={0:{kGO01o:`x1l20ajd`,$$css:!0},1:{kGO01o:`xy143xn`,$$css:!0},2:{kGO01o:`x1wesfrj`,$$css:!0},3:{kGO01o:`xvmdzux`,$$css:!0},4:{kGO01o:`x1awphl8`,$$css:!0},5:{kGO01o:`x1hk98q`,$$css:!0},6:{kGO01o:`xjpqqx5`,$$css:!0},8:{kGO01o:`x2oz4g1`,$$css:!0},10:{kGO01o:`x2izi54`,$$css:!0},\"0.5\":{kGO01o:`xij103a`,$$css:!0},\"1.5\":{kGO01o:`x1opdxmq`,$$css:!0}}}));function EM(...e){return t=>{for(let n of e)n?.(t)}}var DM=o((()=>{}));ys();var OM=_s(`DialogContext`,1,null);OM.displayName=`DialogContext`;var kM,AM=o((()=>{Xf(),kM=Uf(`LayoutContainerContext`,1,null),kM.displayName=`LayoutContainerContext`}));function jM(e){return Mb(e)&&!e.inert&&e.getAttribute(`aria-hidden`)!==`true`}function MM(e){for(let t=e;t!=null;t=t.parent){let e=t.dialogRef.current;if(Mb(e))return e}return null}function NM(e){let t=BM.indexOf(e);t!==-1&&BM.splice(t,1),e.open&&BM.push(e)}function PM(e){let t=BM.indexOf(e);t!==-1&&BM.splice(t,1)}function nne(){for(let e=BM.length-1;e>=0;--e)if(jM(BM[e]))return BM[e];return null}function rne(e){for(let t=BM.length-1;t>=0;--t){let n=BM[t];if(n!==e&&jM(n))return n;if(Mb(n))return`covered`}let t=null;for(let n of document.querySelectorAll(`dialog`))n!==e&&!BM.includes(n)&&jM(n)&&(t=n);return t}function ine(){for(let e of document.querySelectorAll(`dialog`))if(Mb(e))return!0;return!1}function ane(e,t,n,r){let i=VM.get(e);i??(i={polite:[],assertive:[]},VM.set(e,i));let a=i[n].find(e=>e.text===t);a??(a={text:t,receipts:[]},i[n].push(a)),a.receipts.push(r);let o=a;r.withdraw=()=>one(e,n,o,r)}function one(e,t,n,r){let i=VM.get(e),a=n.receipts.indexOf(r);i==null||!i[t].includes(n)||a<0||(n.receipts.splice(a,1),n.receipts.length===0&&(i[t]=i[t].filter(e=>e!==n),i.polite.length===0&&i.assertive.length===0&&VM.delete(e)))}function sne(e,t){let n=VM.get(e);n!=null&&(n[t]=[],n.polite.length===0&&n.assertive.length===0&&VM.delete(e))}function cne(e){let t=VM.get(e);if(t!=null){VM.delete(e);for(let n of[`polite`,`assertive`])Sb(t[n],t=>jM(e)?zM(e,t,n):IM(e,t,n))}}function FM(){for(let e of[...VM.keys()])cne(e)}function IM(e,t,n){let r=rne(e);if(r===`covered`||r==null&&ine()){let r={withdraw:null};return ane(e,t,n,r),xb(r)}return r==null?Ob(t,n):zM(r,t,n)}function LM(e){for(let t of[`polite`,`assertive`])Sb(lne(e,t),n=>IM(e,n,t))}function RM(e,t){Ub(e,t),sne(e,t)}function lne(e,t){let n=zb(e,t);if(n==null)return[];let r=Rb(n);return Ub(e,t),r}function zM(e,t,n=`polite`){if(!jM(e))return IM(e,t,n);let r=nne();return r!=null&&r!==e&&BM.includes(e)?(Ub(e,n),null):Vb(e,t,n,{isExposed:()=>jM(e),redirect:t=>Sb(t,t=>IM(e,t,n))})}function une(e,t,n){let r=HM.get(e);if(r==null){let t={frame:requestAnimationFrame(()=>{HM.delete(e);let n=MM(e);for(let e of[`polite`,`assertive`])t.clears[e]&&(n==null?kb(e):RM(n,e)),Sb(t.words[e],t=>n==null?Ob(t,e):zM(n,t,e))}),words:{polite:[],assertive:[]},clears:{polite:!1,assertive:!1}};r=t,HM.set(e,r)}let i=r;if(!t){for(let e of i.words[n])for(let t of e.receipts)t.withdraw=null;return i.words[n]=[],i.clears[n]=!0,null}let a=i.words[n].find(e=>e.text===t);a??(a={text:t,receipts:[]},i.words[n].push(a));let o=a,s={withdraw:null};return s.withdraw=()=>{let e=o.receipts.indexOf(s);e<0||(o.receipts.splice(e,1),o.receipts.length===0&&(i.words[n]=i.words[n].filter(e=>e!==o)))},o.receipts.push(s),xb(s)}function dne(e){for(let t=e;t!=null;t=t.parent){let e=t.dialogRef.current;if(Mb(e))return!1;if(t.isOpen&&(e==null||!e.open))return!0}return!1}function fne(e,t,n){if(dne(e))return une(e,t,n);let r=MM(e);return t?r==null?Ob(t,n):zM(r,t,n):(r==null?kb(n):RM(r,n),null)}var BM,VM,HM,pne=o((()=>{ex(),Xn(),BM=Kn(`hooks/modal-announce/presented`,1,()=>[]),VM=qn(`hooks/modal-announce/held`,1),HM=Jn(`hooks/modal-announce/deferred-by-scope`,1),jb({announce:fne,announceInModal:zM})}));function UM({dialogRef:e,isOpen:t,children:n}){let r=(0,WM.use)(Qb),i=(0,WM.useMemo)(()=>({dialogRef:e,isOpen:!1,parent:r}),[e,r]);b(()=>{i.isOpen=t},[i,t]);let a=(0,WM.useRef)(null);return(0,WM.useEffect)(()=>{let n=e.current;if(n==null||a.current!=null||!t&&!n.open)return;NM(n);let r=n.open,i=()=>{o(),PM(n),a.current=null},o=()=>s(),s=Xg(n,{attributes:!0,attributeFilter:[`open`,`inert`,`aria-hidden`]},()=>{n.open!==r&&(r=n.open,NM(n)),jM(n)||LM(n),(!n.open||jM(n))&&FM(),n.open||i()});a.current={dialog:n,stop:o}},[e,t]),(0,WM.useEffect)(()=>()=>{let e=a.current;e!=null&&(a.current=null,e.stop(),LM(e.dialog),PM(e.dialog),FM())},[]),(0,GM.jsx)(Qb,{value:i,children:n})}var WM,GM,KM=o((()=>{WM=u(f(),1),pne(),ex(),x(),t_(),GM=mc()}));ox(),_k(),D(),Qk(),Up(),Gp(),Xf(),op(),Tx(),Ux(),Lj(),lA(),G(),dM(),TM(),bC(),DM(),sc(),vr(),AM(),oS(),Hf(),bj(),KM(),od(),vx();function mne(e,t=16){let n=e.getBoundingClientRect(),r=e.ownerDocument.defaultView??window,i=n.left+n.width/2-r.innerWidth/2,a=n.top+n.height/2-r.innerHeight/2,o=Math.sqrt(i*i+a*a)||1;return{x:Math.round(i/o*t),y:Math.round(a/o*t)}}`${j[`--spacing-4`]}`,`${j[`--spacing-4`]}`,`${j[`--spacing-4`]}`,`${j[`--spacing-4`]}`,`${j[`--spacing-4`]}`,`${j[`--spacing-4`]}`;var qM={dialog:{kVAEAm:`xixxii4`,kogj98:`x1bpp3o7`,kmVPX3:`x1717udv`,kMzoRj:`xc342km x13rsnn2`,ksu8eU:`xng3xce xx61lck`,kVAM5u:`x1w1tqly`,kWkggS:`x10xzikg`,kMwMTN:`x1tgivj0`,\"--_dialog-radius\":`xvuvksw`,\"--_dialog-radius-top-left\":`x1y3jq2x`,\"--_dialog-radius-top-right\":`xlpx7ml`,\"--_dialog-radius-bottom-right\":`x4ydc98`,\"--_dialog-radius-bottom-left\":`xv2r9mv`,\"--_dialog-radius-start-start\":`xos9d3l`,\"--_dialog-radius-start-end\":`x19o6w7e`,\"--_dialog-radius-end-start\":`xr78w03`,\"--_dialog-radius-end-end\":`x1e9su33`,kaIpWk:`xuacgfc`,kGVxlE:`x1kcpxr7`,k1xSpc:`x1s85apg`,kXwgrk:`xdt5ytf`,kZKoxP:`xg7h5cd`,kZeWKH:`xish69e`,kSiTet:`xg01cxk`,k44tkh:`xqgcaz x1jq6yc9`,kyAemX:`x128ha8g xr5m3f0`,kWV6AL:`xskzprw`,$$css:!0},open:{k1xSpc:`x78zum5`,kSiTet:`x1hc1fzr`,kKVMdj:`x1ewfqum x6mpr79 xtuz6mp`,$$css:!0},openSettled:{kKVMdj:`x1a5igra`,$$css:!0},backdrop:{kGyWv1:`xnixb3f`,$$css:!0},fullscreen:{kzqmXN:`x1o6l61p`,kZKoxP:`xtdtrs8`,ks0D6T:`xlbgzzq`,kskxy:`x1wj9ous`,\"--_dialog-radius\":`x1fg9z59`,kaIpWk:`x2u8bby`,kMzoRj:`xc342km`,kogj98:`x1ghz6dp`,kpwlN0:`x10a8y8t`,$$css:!0},fullscreenOpen:{kKVMdj:`xqcmdr3 x6mpr79 xtuz6mp`,$$css:!0},fullscreenSafeArea:{kLKAdn:`x15ld1ci`,kGO01o:`x1rgxemn`,kZCmMZ:`xqmdmw x1i7f2ot`,kwRFfy:`x1by8st6 xtjjor6`,$$css:!0},inner:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kUk6DE:`x12lumcd`,kAzted:`x2lwn1j`,kVQacm:`xb3r6kr`,kaIpWk:`x1pjcqnp`,$$css:!0},innerCorners:{\"--_container-host-radius\":`x16uw05s`,\"--_container-host-radius-top-left\":`xf2u9b1`,\"--_container-host-radius-top-right\":`xochy8w`,\"--_container-host-radius-bottom-right\":`xzxjxqs`,\"--_container-host-radius-bottom-left\":`x1cr5oa`,\"--_container-host-radius-start-start\":`xmj80jq`,\"--_container-host-radius-start-end\":`x1fxna2m`,\"--_container-host-radius-end-start\":`x1o7ryb1`,\"--_container-host-radius-end-end\":`x1sgv71z`,$$css:!0},inlineWrapper:{kmVPX3:`x1717udv`,kWkggS:`x10xzikg`,\"--_dialog-radius\":`xvuvksw`,\"--_dialog-radius-top-left\":`x1y3jq2x`,\"--_dialog-radius-top-right\":`xlpx7ml`,\"--_dialog-radius-bottom-right\":`x4ydc98`,\"--_dialog-radius-bottom-left\":`xv2r9mv`,\"--_dialog-radius-start-start\":`xos9d3l`,\"--_dialog-radius-start-end\":`x19o6w7e`,\"--_dialog-radius-end-start\":`xr78w03`,\"--_dialog-radius-end-end\":`x1e9su33`,kaIpWk:`xuacgfc`,kGVxlE:`x1kcpxr7`,kMzoRj:`xc342km x13rsnn2`,ksu8eU:`xng3xce xx61lck`,kVAM5u:`x1w1tqly`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kZKoxP:`xg7h5cd`,kZeWKH:`xish69e`,$$css:!0}},JM=j[`--spacing-4`],hne=`min(100%, ${`calc(100dvw - ${JM} - ${JM})`})`;function YM(e){return typeof e==`number`?`${e}px`:e}function gne(e,t){return{width:YM(e),maxWidth:hne,maxHeight:YM(t)}}var _ne={kogj98:`x1ghz6dp`,$$css:!0},XM={sizing:(e,t,n)=>[{kzqmXN:e==null?e:`x5lhr3w`,ks0D6T:t==null?t:`xf68679`,kskxy:n==null?n:`x1jols5v`,$$css:!0},{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(e),\"--x-maxWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(t),\"--x-maxHeight\":(e=>typeof e==`number`?e+`px`:e??void 0)(n)}],position:(e,t,n,r)=>[_ne,{k87sOh:e==null?e:`xjbys53`,kLqNvP:t==null?t:`x1lxsm33`,kt4wiu:n==null?n:`xqxgn94`,krVfgx:r==null?r:`x1nqzi6q`,$$css:!0},{\"--x-top\":(e=>typeof e==`number`?e+`px`:e??void 0)(e),\"--x-insetInlineStart\":(e=>typeof e==`number`?e+`px`:e??void 0)(t),\"--x-insetInlineEnd\":(e=>typeof e==`number`?e+`px`:e??void 0)(n),\"--x-bottom\":(e=>typeof e==`number`?e+`px`:e??void 0)(r)}]};function ZM(e){return typeof e==`number`?`${e}px`:e}function vne(e){let{top:t,bottom:n,start:r,end:i}=e;return{top:t===void 0?`auto`:ZM(t),bottom:n===void 0?`auto`:ZM(n),insetInlineStart:r===void 0?`auto`:ZM(r),insetInlineEnd:i===void 0?`auto`:ZM(i)}}function QM({isOpen:e,isInline:t=!1,onOpenChange:n,width:r=400,maxHeight:i=`75dvh`,position:a,variant:o=`standard`,purpose:s=`info`,padding:c,children:l,xstyle:u,className:d,style:f,ref:p,...m}){let h=tx(),g=e&&(t||!h),[_]=hk(e&&!t,g,!1),v=_&&g,y=c==null,b=c??4,x=hM[b],S=o===`fullscreen`,w=S?null:gne(r,i),T=(0,X.useId)(),E=m[`aria-label`]!=null||m[`aria-labelledby`]!=null,D=(0,X.useRef)(null);Mj(D,g&&!t);let O=(0,X.useCallback)(e=>{D.current=e,e&&!E&&(e.querySelector(`#${CSS.escape(T)}`)==null?e.removeAttribute(`aria-labelledby`):e.setAttribute(`aria-labelledby`,T))},[T,E]),k=(0,X.useCallback)(e=>{let t=D.current;t==null||E||(e===void 0?O(t):e?t.setAttribute(`aria-labelledby`,T):t.getAttribute(`aria-labelledby`)===T&&t.removeAttribute(`aria-labelledby`))},[O,E,T]),A=(0,X.useMemo)(()=>({isInline:t,titleId:T,syncDefaultName:k}),[t,T,k]),{ref:j}=Ff(),M=gx(p,O,j),N=(0,X.useRef)(null),P=(0,X.useRef)(null),F=(0,X.useRef)(!1);(0,X.useLayoutEffect)(()=>{let e=!t&&g;if(e&&!F.current){let e=D.current?.ownerDocument??document,t=e.hasFocus()?e:document;N.current=t.activeElement,P.current!=null&&hj(P.current);let n=N.current;P.current=QA({getLayer:()=>D.current,opener:td(n)?n:null,doc:t,isFocusMovedInOnOpen:!0,focus:e=>WA(e,{preventScroll:!0})})}F.current=e},[g,t]);let I=s!==`required`,L=s===`info`;(0,X.useEffect)(()=>{if(t)return;let e=D.current;if(e){if(g){let t=N.current;if(t&&t!==t.ownerDocument.body){let n=mne(t);e.style.setProperty(`--dialog-dir-x`,`${n.x}px`),e.style.setProperty(`--dialog-dir-y`,`${n.y}px`)}else e.style.setProperty(`--dialog-dir-x`,`0px`),e.style.setProperty(`--dialog-dir-y`,`16px`);if(!e.open){e.showModal();let t=[...e.querySelectorAll(`[data-autofocus]:not([data-autofocus=\"dialog-title\"])`),...e.querySelectorAll(`[data-autofocus=\"dialog-title\"]`)];for(let n of t){if(n.closest(`dialog`)!==e)continue;let t=n.closest(`[hidden], [inert], [aria-hidden=\"true\"]`);if(!(t!=null&&e.contains(t))&&(GA(n),n.ownerDocument.activeElement===n))break}}return jA(e)??void 0}{let t=P.current;P.current=null;let n=t!=null&&fj(t);e.open&&e.close(),t!=null&&(pj(t,{wasStranded:n}),hj(t)),N.current=null}}},[g,t]),(0,X.useEffect)(()=>{let e=D.current;if(t||e==null)return;let n=qA(e);return()=>{let t=P.current;t!=null&&(n(()=>{pj(t,{warnsWhenNothingQualifies:!1})}),queueMicrotask(()=>{e.isConnected||hj(t)}))}},[t]);let R=oA(D,g&&!t);Yk(g&&!t);let{shouldDismissOnCloseRequest:z}=Bx({isActive:g,isEnabled:!t,escapeBehavior:I?`close`:`block`,onDismiss:()=>{n(!1)},getContainer:()=>D.current}),[B]=(0,X.useState)(ac);(0,X.useEffect)(()=>{let e=D.current?.querySelector(`#${CSS.escape(T)}`)!=null;g&&!t&&!E&&!e&&B(`Dialog`,\"open dialog has no accessible name. Add a DialogHeader with a `title`, or pass `aria-label`/`aria-labelledby`.\")},[g,t,E,T,B]);let V=IA((0,X.useCallback)(()=>{n(!1)},[n]),L),H=e=>{e.target===e.currentTarget&&(e.preventDefault(),z()&&I&&n(!1))},ee=(0,Z.jsx)(`div`,{ref:R,...C(qM.inner,...Bj(y?{useThemeDefault:`dialog`,maxHeight:w?.maxHeight}:{paddingInnerX:x,paddingInnerY:x,paddingOuterX:x,paddingOuterY:x,maxHeight:w?.maxHeight}),!y&&b!==4&&pM[b],!y&&b!==4&&gM[b],!y&&b!==4&&_M[b],!y&&b!==4&&vM[b],S&&y&&qM.fullscreenSafeArea,qM.innerCorners,fM.fromHostRadius,fM.publish),children:(0,Z.jsx)(OM,{value:A,children:(0,Z.jsx)(kM,{value:`dialog`,children:l})})}),U=a!=null&&!S,{onClick:te,...W}=m,{open:G,...ne}=W,re={...ne,onClick:te};return t?g?(0,Z.jsx)(`div`,{...re,...Q(Y(`dialog`,{variant:o}),C(Hp.reset,Wp.reset,qM.inlineWrapper,Kg.reset,w&&XM.sizing(w.width,w.maxWidth,w.maxHeight),S&&qM.fullscreen,u),d,f),\"data-testid\":m[`data-testid`],children:(0,Z.jsx)(xx,{children:(0,Z.jsx)(Wf,{children:ee})})}):null:(0,Z.jsx)(`dialog`,{ref:M,...ne,...Q(Y(`dialog`,{variant:o}),aS.focusVisible(Hp.reset,Wp.reset,qM.dialog,Kg.reset,g&&qM.open,qM.backdrop,w&&XM.sizing(w.width,w.maxWidth,w.maxHeight),U&&(()=>{let e=vne(a);return XM.position(e.top,e.insetInlineStart,e.insetInlineEnd,e.bottom)})(),S&&qM.fullscreen,S&&g&&qM.fullscreenOpen,v&&qM.openSettled,u),d,f),...rp({...ne,onClick:EM(V.onClick,te)}),onPointerDownCapture:EM(V.onPointerDownCapture,ne.onPointerDownCapture),onPointerUpCapture:EM(V.onPointerUpCapture,ne.onPointerUpCapture),onPointerCancelCapture:EM(V.onPointerCancelCapture,ne.onPointerCancelCapture),onCancel:H,\"aria-modal\":h?void 0:`true`,...s===`required`?{role:`alertdialog`}:void 0,children:(0,Z.jsx)(UM,{dialogRef:D,isOpen:g,children:(0,Z.jsx)(xx,{children:(0,Z.jsx)(Wf,{children:ee})})})})}QM.displayName=`Dialog`;var yne={xo0ftvq:`xo0ftvq`,$$css:!0};Xf();var $M=Uf(`LayoutDividerContext`,1,null);$M.displayName=`LayoutDividerContext`,D(),AM(),bC(),vr(),TM(),zj();var eN={header:{kmuXW:`x2lah0s`,$$css:!0},inner:{kB7OPa:`x9f619`,ks0D6T:`xjl2t3p`,kUOVxO:`xvueqy4`,kZCmMZ:`xaku5ci`,kwRFfy:`x19eyx77`,kLKAdn:`xuqi0w`,kGO01o:`xg476vw`,\"--container-padding-inline-start\":`xt2a87w`,\"--container-padding-inline-end\":`xhq06x6`,\"--container-padding-block-start\":`x186o6qk`,\"--container-padding-block-end\":`xi9ns85`,$$css:!0},fullBleed:{kZCmMZ:`x1c1uobl`,kwRFfy:`xyri2b`,kLKAdn:`xexx8yu`,kGO01o:`x18d9i69`,\"--container-padding-inline-start\":`xrhngw9`,\"--container-padding-inline-end\":`xjsfl84`,\"--container-padding-block-start\":`x1047aw6`,\"--container-padding-block-end\":`xax9j7h`,$$css:!0},divider:{kt9PQ7:`xso031l`,kfdmCh:`x1q0q8m5`,kL6WhQ:`xw8gpjh`,$$css:!0}},bne={sizing:e=>[{kZKoxP:e==null?e:`x16ye13r`,$$css:!0},{\"--x-height\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]};function tN({children:e,hasDivider:t,height:n,label:r,padding:i,paddingBlockEnd:a,role:o,xstyle:s,className:c,style:l,ref:u,...d}){let f=(0,X.use)($M),p=(0,X.use)(kM),m=t??f?.defaultHasDividers??!1,h=i===0;return(0,Z.jsx)(`div`,{ref:u,role:o,\"aria-label\":r,...Q(Y(`layout-header`,{container:p}),C(yne,eN.header,bne.sizing(n??null),m&&eN.divider,s),c,l),...d,\"data-divider\":m||void 0,children:(0,Z.jsx)(`div`,{...C(eN.inner,h&&eN.fullBleed,i!=null&&pM[i],i!=null&&gM[i],i!=null&&_M[i],i!=null&&vM[i],a!=null&&wM[a],a!=null&&vM[a],Rj.publish),children:e})})}tN.displayName=`LayoutHeader`;var nN,xne=o((()=>{nN={\"@astryx.infoTip.label\":`More information`}}));function rN({content:e,label:t,size:n=`sm`,ref:r,xstyle:i,className:a,style:o,...s}){let c=nT(),l=KD(!0),[u,d]=(0,iN.useState)(!1),[f,p]=(0,iN.useState)(!1),m=Gx({onShow:(0,iN.useCallback)(()=>p(!0),[]),onHide:(0,iN.useCallback)(()=>{p(!1),d(!1)},[])}),h=gx(r,l,m.ref),g=(0,iN.useCallback)(e=>{e.button===0&&e.pointerType!==`touch`&&!u&&f&&m.show()},[u,f,m]),_=(0,iN.useCallback)(e=>{np(e),e.preventDefault(),u?m.hide():(m.show(),d(!0))},[u,m]);return(0,aN.jsxs)(aN.Fragment,{children:[(0,aN.jsx)(`button`,{...hr(s),ref:h,type:`button`,\"aria-label\":t??c(`@astryx.infoTip.label`),\"aria-describedby\":m.describedBy,\"aria-expanded\":u,\"aria-controls\":f?m.describedBy:void 0,onPointerDownCapture:g,onClick:_,...Q(C(iS.focusVisible,oN.trigger,$D.layer,i),a,o),children:(0,aN.jsx)(XT,{icon:`info`,size:n})}),m.renderTooltip(e)]})}var iN,aN,oN,Sne=o((()=>{iN=u(f(),1),D(),vx(),sE(),op(),Xx(),iT(),xne(),oS(),bC(),XD(),eO(),vr(),aN=mc(),Ww(nN),oN={trigger:{kVAEAm:`x1n2onr6`,k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kXLuUW:`xxymvpz`,kmVPX3:`x12nba7r`,kogj98:`x1ghz6dp`,ksu8eU:`xng3xce`,kWkggS:`xjbqb8w`,kaIpWk:`xjspbzw`,kkrTdU:`x1ypdohk x16khyan`,kMwMTN:`xv9yike x10ue8fs`,k1ekBW:`xt3l3uh`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,$$css:!0}},rN.displayName=`InfoTip`}));function Cne(e){if(e.getAttribute(`role`)===`combobox`)return!0;let t=e.getAttribute(`aria-haspopup`);return t!=null&&uN.has(t)}function sN({containerRef:e,inputRef:t,disabled:n=!1}){return nb({containerRef:e,interactiveRef:t,onClick:(0,cN.useCallback)(()=>{let e=t.current;e!=null&&(e instanceof HTMLElement&&Cne(e)?e.click():e instanceof HTMLInputElement&&lN.has(e.type)||e instanceof HTMLTextAreaElement?e.focus():e instanceof HTMLElement?e.click():`focus`in e&&e.focus())},[t]),disabled:n})}var cN,lN,uN,dN=o((()=>{cN=u(f(),1),cb(),lN=new Set([`text`,`password`,`email`,`number`,`search`,`tel`,`url`,`date`,`datetime-local`,`month`,`time`,`week`]),uN=new Set([`true`,`menu`,`listbox`,`tree`,`grid`,`dialog`])})),fN,pN=o((()=>{Xf(),fN=Uf(`FormLayoutContext`,1,{direction:`vertical`}),fN.displayName=`FormLayoutContext`}));function mN({isRequired:e=!1,isOptional:t=!1}){let{defaultOptionality:n}=(0,hN.use)(fN),r=t&&n!==`optional`;return{isRequired:!t&&(e||n===`required`),showsRequiredMarker:!r&&e&&n!==`required`,showsOptionalMarker:r}}function wne({isRequired:e=!1,isOptional:t=!1}){return mN({isRequired:e,isOptional:t}).isRequired}var hN,gN=o((()=>{hN=u(f(),1),pN()})),_N,Tne=o((()=>{_N={\"@astryx.field.labelTooltip\":`About {label}`,\"@astryx.field.optional\":`Optional`,\"@astryx.field.required\":`Required`}}));function vN({label:e,inputID:t,labelID:n,isGroupLabel:r=!1,isLabelHidden:i=!1,isDisabled:a=!1,isOptional:o=!1,isRequired:s=!1,labelIcon:c,labelTooltip:l,description:u,descriptionID:d,className:f,style:p,xstyle:m,ref:h,...g}){let _=nT(),{showsRequiredMarker:v,showsOptionalMarker:y}=mN({isRequired:s,isOptional:o}),b=y?_(`@astryx.field.optional`):v?_(`@astryx.field.required`):null,x=r?`span`:`label`,S=!r&&t!=null,w=(0,yN.useRef)(null),T=sN({containerRef:w,inputRef:(0,yN.useMemo)(()=>({get current(){return t==null?null:w.current?.ownerDocument.getElementById(t)??null},set current(e){}}),[t]),disabled:!S}),E=(0,bN.jsxs)(bN.Fragment,{children:[c&&eE(c,{size:`sm`,color:`inherit`}),e,b&&(0,bN.jsxs)(`span`,{className:`x1sodnla x141an7d x1ltkj2j xv1l7n4`,children:[(0,bN.jsx)(`span`,{\"aria-hidden\":`true`,children:` ∙ `}),b]})]}),D=(0,bN.jsx)(x,{ref:h,id:n,htmlFor:r?void 0:t,...g,...Q(Y(`field-label`),C(xN.label,a&&xN.labelDisabled,i&&xN.srOnly,m),f,p),children:E}),O=l?(0,bN.jsxs)(`span`,{...{0:{className:`x3nfvp2 x6s0dn4 x16dsc37 xzye2dw`},1:{className:`x6s0dn4 x16dsc37 xzye2dw xjp7ctv`}}[!!i|0],children:[D,(0,bN.jsx)(rN,{content:l,label:_(`@astryx.field.labelTooltip`,{label:e}),xstyle:i?xN.infoTipHidden:void 0})]}):D;return u?(0,bN.jsxs)(`div`,{...{0:{className:`x78zum5 xdt5ytf`},1:{className:`xdt5ytf xjp7ctv`}}[!!i|0],children:[O,(0,bN.jsx)(`span`,{ref:S?w:void 0,id:d,...S?T:void 0,...{0:{className:`x9ynric x141an7d x1ltkj2j x1sodnla xv1l7n4`},2:{className:`x9ynric x141an7d x1ltkj2j x1sodnla xv1l7n4 x1ypdohk x16khyan`},1:{className:`x9ynric x141an7d x1ltkj2j x1sodnla xv1l7n4 xng3xce xzpqnlu xjm9jq1 x1o0tod xkdpibf xb3r6kr x1717udv x47corl x10l6tqk x13vifvy x87ps6o xuxw1ft x1i1rx1s`},3:{className:`x9ynric x141an7d x1ltkj2j x1sodnla xv1l7n4 x1ypdohk x16khyan xng3xce xzpqnlu xjm9jq1 x1o0tod xkdpibf xb3r6kr x1717udv x47corl x10l6tqk x13vifvy x87ps6o xuxw1ft x1i1rx1s`}}[!!S<<1|!!i],children:u})]}):O}var yN,bN,xN,SN=o((()=>{yN=u(f(),1),D(),bC(),sE(),Sne(),vr(),dN(),gN(),iT(),Tne(),bN=mc(),Ww(_N),xN={label:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kOIVth:`xzye2dw`,kMv6JI:`x9ynric`,kGuDYH:`xcr08ib`,kLWn49:`x1kq96og`,k63SB2:`x2mo6ok`,kMwMTN:`x1tgivj0`,kkrTdU:`x1ypdohk x16khyan`,$$css:!0},labelDisabled:{kMwMTN:`xnbbluu`,kkrTdU:`xt0e3qv`,$$css:!0},infoTipHidden:{kVAEAm:`x10l6tqk xs5wpqw`,kSGwAc:`xqcrz7y`,kMcinP:`xzpqnlu xfnbp2s`,kVQacm:`xb3r6kr xrta9n2`,khDVqt:`xuxw1ft`,$$css:!0},srOnly:{ksu8eU:`xng3xce`,kMcinP:`xzpqnlu`,kZKoxP:`xjm9jq1`,kLqNvP:`x1o0tod`,kogj98:`xkdpibf`,kVQacm:`xb3r6kr`,kmVPX3:`x1717udv`,kfzvcC:`x47corl`,kVAEAm:`x10l6tqk`,k87sOh:`x13vifvy`,kfSwDN:`x87ps6o`,khDVqt:`xuxw1ft`,kzqmXN:`x1i1rx1s`,$$css:!0}},vN.displayName=`FieldLabel`}));function Ene(e=`slideDown`){let t=tx(),[n]=(0,CN.useState)(()=>!t&&wN);return n?TN[e]:null}var CN,wN,TN,Dne=o((()=>{CN=u(f(),1),ox(),wN=!1,typeof window<`u`&&requestAnimationFrame(()=>{wN=!0}),TN={slideDown:{kKVMdj:`x1srr2gu x1aquc0h`,k44tkh:`x9uej1z`,kyAemX:`x128ha8g`,kWV6AL:`xskzprw`,$$css:!0},slideUp:{kKVMdj:`x1dvww92 x1aquc0h`,k44tkh:`x9uej1z`,kyAemX:`x128ha8g`,kWV6AL:`xskzprw`,$$css:!0},fadeIn:{kKVMdj:`xqcmdr3 x1aquc0h`,k44tkh:`x9uej1z`,kyAemX:`x128ha8g`,kWV6AL:`xskzprw`,$$css:!0},scaleIn:{kKVMdj:`x97zbip x1aquc0h`,k44tkh:`x9uej1z`,kyAemX:`x128ha8g`,kWV6AL:`xskzprw`,$$css:!0}}}));function EN(e,t){let n=Ab();(0,DN.useEffect)(()=>{e&&n(e,t===`error`?`assertive`:`polite`)},[n,e,t])}var DN,ON=o((()=>{DN=u(f(),1),ex()}));function kN({ref:e,type:t,message:n,id:r,variant:i=`attached`,xstyle:a,className:o,style:s,...c}){let l=Ene(`slideDown`);return EN(n,t),(0,AN.jsx)(`div`,{ref:e,id:r,...c,...Q(Y(`field-status`,{type:t,variant:i}),C(MN.base,l,i===`attached`?MN.attached:MN.detached,NN[t],a),o,s),children:i===`detached`?(0,AN.jsxs)(`span`,{className:`x78zum5 x1cy8zhl xzye2dw`,children:[(0,AN.jsx)(`span`,{className:`x3nfvp2 x6s0dn4 x14o5nre x2lah0s`,children:(0,AN.jsx)(XT,{icon:jN[t],size:`sm`,color:`inherit`,...Y(`field-status-icon`,{type:t})})}),(0,AN.jsx)(`span`,{children:n})]}):n})}var AN,jN,MN,NN,PN=o((()=>{f(),D(),bC(),G(),Dne(),vr(),sE(),ON(),AN=mc(),jN={warning:`warning`,error:`error`,success:`success`},`${j[`--spacing-1-5`]}`,MN={base:{kMeerF:`xcthrzx`,k3XXqK:`x815t2r`,kjBf7l:`x3teovq`,kInvED:`xvr1dqx`,kMv6JI:`x9ynric`,kGuDYH:`x141an7d`,kLWn49:`x1ltkj2j`,kHjlTd:`xj0a0fe`,\"--_astryx-text-overflow-wrap\":`x5ujdhh`,$$css:!0},attached:{keoZOQ:`x3dbumh`,kLKAdn:`xdgtoc0`,kGO01o:`x1wesfrj`,kg3NbH:`xf314gf`,kVL7Gh:`xquck67`,kT0f0o:`x14i3lts`,kfzvcC:`x47corl`,$$css:!0},detached:{keoZOQ:`xcsaf9d`,k8WAf4:`xce4md1`,kg3NbH:`xf314gf`,kaIpWk:`xh6dtrn`,$$css:!0}},NN={warning:{kWkggS:`x24i8r5`,kMwMTN:`xfy1f8t`,$$css:!0},error:{kWkggS:`x1pritpl`,kMwMTN:`xl8t7bd`,$$css:!0},success:{kWkggS:`xu13z74`,kMwMTN:`xvchut`,$$css:!0}},kN.displayName=`FieldStatus`}));D(),SN(),PN(),ON(),bC(),MC(),pN(),DC(),uE(),vr();var FN={container:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kHBbk8:`xc8icb0`,k7Eaqz:`xeuugli`,$$css:!0},containerGap:{kOIVth:`xzye2dw`,$$css:!0},horizontalLabels:{k1xSpc:`xjp7ctv`,$$css:!0},attachedStatusLayer:{kVAEAm:`x1n2onr6`,kY2c9j:`x8knxv4`,$$css:!0}},IN={width:e=>[{kzqmXN:e==null?e:`x5lhr3w`,$$css:!0},{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]};function LN({label:e,isLabelHidden:t=!1,description:n,inputID:r,labelID:i,isGroupLabel:a=!1,descriptionID:o,isOptional:s=!1,isRequired:c=!1,isDisabled:l=!1,labelIcon:u,status:d,labelTooltip:f,statusVariant:p=`attached`,width:m,xstyle:h,children:g,className:_,style:v,ref:y,...b}){let{direction:x}=(0,X.use)(fN),S=x===`horizontal-labels`,w=o??(n?`${r}-desc`:void 0),T=d?.messageID??(d?.message?`${r}-status`:void 0);OC(`Field`,`isOptional and isRequired are mutually exclusive. isOptional takes precedence.`,s&&c);let E=(0,Z.jsx)(vN,{label:e,inputID:r,labelID:i,isGroupLabel:a,isLabelHidden:t,isDisabled:l,isOptional:s,isRequired:c,labelIcon:u,labelTooltip:f,description:S?void 0:n,descriptionID:S?void 0:w});EN(p===`tooltip`?d?.message:void 0,d?.type);let D=d?.message&&p!==`tooltip`?(0,Z.jsx)(kN,{type:d.type,message:d.message,id:T,variant:p,xstyle:p===`attached`?FN.attachedStatusLayer:void 0}):null;return S?(0,Z.jsxs)(`div`,{ref:y,...b,...Q(Y(`field`,{layout:`horizontal-labels`}),C(FN.horizontalLabels,h),_,v),children:[(0,Z.jsx)(`div`,{className:`x1enrzb7`,children:E}),(0,Z.jsxs)(`div`,{className:`x78zum5 xdt5ytf xc8icb0 x19nvjgn xlumz0n x1qs65gq`,children:[n&&(t?(0,Z.jsx)(cE,{id:w,children:n}):(0,Z.jsx)(CC,{type:`supporting`,display:`block`,id:w,children:n})),g,D]})]}):(0,Z.jsxs)(`div`,{ref:y,...Q(Y(`field`),C(FN.container,!t&&FN.containerGap,m!=null&&IN.width(m),h),_,v),...b,children:[E,p===`attached`?(0,Z.jsxs)(`div`,{className:`x78zum5 xdt5ytf xc8icb0 x19nvjgn xlumz0n x1qs65gq`,children:[g,D]}):(0,Z.jsxs)(Z.Fragment,{children:[g,D]})]})}LN.displayName=`Field`,GD(),sE(),vr(),iT(),Ww({\"@astryx.inputClearButton.tooltip\":`Clear`});var RN=2;function zN(e,t,n){let r=[];for(let e of n.parentElement?.children??[]){let i=e.getBoundingClientRect();e!==n&&i.width>0&&i.height>0&&r.push(t({left:i.left,top:i.top,right:i.right,bottom:i.bottom}))}let i={...DE(e,r)};for(let t of r)t.top=e.right?i.right=Math.min(i.right,RN):t.right<=e.left&&(i.left=Math.min(i.left,RN)));return i}var BN={...ZD,growth:zN},VN={button:{kZKoxP:`x1qx5ct2`,kmuXW:`x2lah0s`,$$css:!0}};function HN({label:e,tooltip:t,onClick:n,onPointerDown:r,onClickCapture:i,xstyle:a,iconClassName:o,...s}){let{className:c}=Y(`input-clear-icon`),{className:l}=Y(`input-clear-button`);return(0,Z.jsx)(QD,{value:BN,children:(0,Z.jsx)(IO,{...hr(s),variant:`ghost`,size:`sm`,label:e,tooltip:t,className:l,icon:(0,Z.jsx)(XT,{icon:`close`,size:`sm`,color:`secondary`,className:o==null?c:`${c} ${o}`}),onPointerDown:e=>{e.pointerType!==`touch`&&e.preventDefault(),r?.(e)},onMouseDown:e=>e.preventDefault(),onClick:n,onClickCapture:i,isIconOnly:!0,xstyle:[VN.button,a]})})}function UN(e){let t=nT();return HN({...e,tooltip:t(`@astryx.inputClearButton.tooltip`)})}UN.displayName=`InputClearButton`;var WN={base:{kB7OPa:`x9f619`,kVAEAm:`x1n2onr6`,kY2c9j:`x1vjfegm`,k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kOIVth:`x1txdalj`,k8WAf4:`xu0wf1k`,kg3NbH:`xf314gf`,kMzoRj:`x1litavf`,ksu8eU:`x1y0btm7`,kVAM5u:`xvy26l8 x6q1khz xohk9ji`,\"--_field-radius\":`x1832zxr`,kaIpWk:`xvdfih8`,kWkggS:`x10xzikg`,k1ekBW:`x12zzom9`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,kGVxlE:`x1gnnqk1 x1xqjsvb xuihb5h`,kI3sdo:`x1a2a7pz`,$$css:!0},disabled:{kkrTdU:`xt0e3qv`,kSiTet:`xbyyjgo`,kVAM5u:`xvy26l8`,kGVxlE:`x1gnnqk1`,$$css:!0},textField:{kIyJzY:`xuedmi6 xuh6ohu xzyh0sv`,$$css:!0}},GN={sm:{kZKoxP:`x1ij70fj xa40s40`,$$css:!0},md:{kZKoxP:`x1qa3r4f xdt6twq`,$$css:!0},lg:{kZKoxP:`xyh7n01 x15q4o07`,$$css:!0}},KN={warning:{kVAM5u:`xrwcrn0 x1pl5oko xohk9ji`,$$css:!0},error:{kVAM5u:`xw4o254 x1kaqvcv xohk9ji`,$$css:!0},success:{kVAM5u:`x1cu78b5 x1lbxt8w xohk9ji`,$$css:!0}},qN={warning:{kGVxlE:`x1gnnqk1 x9156jc xuihb5h`,$$css:!0},error:{kGVxlE:`x1gnnqk1 x1bgmis8 xuihb5h`,$$css:!0},success:{kGVxlE:`x1gnnqk1 x8wp45d xuihb5h`,$$css:!0}},JN={warning:{kVAM5u:`xrwcrn0 x1pl5oko xohk9ji`,$$css:!0},error:{kVAM5u:`xw4o254 x1kaqvcv xohk9ji`,$$css:!0},success:{kVAM5u:`x1cu78b5 x1lbxt8w xohk9ji`,$$css:!0}};function YN(e){return{onClick:e=>{e.preventDefault(),e.stopPropagation()},onKeyDown:t=>{t.key===`Enter`||t.key===` `?t.preventDefault():e?.(t)}}}function XN(e,t){return t?Object.fromEntries(Object.entries(e).filter(([e])=>!/^on[A-Z]/.test(e)||/^on(Focus|Blur)/.test(e))):e}var ZN=o((()=>{}));function QN(...e){let t=e.flatMap(e=>typeof e==`string`?e.trim().split(/\\s+/):[]).filter(Boolean);if(t.length!==0)return Array.from(new Set(t)).join(` `)}function $N(e,t=[],n){return{ariaLabelledBy:n?QN(n.labelID,e):void 0,ariaDescribedBy:QN(n?.describedByIDs,...t)}}function eP({enterKeyHint:e,inputMode:t,autoCapitalize:n,hasAutoCorrect:r}){let i={};return e!=null&&(i.enterKeyHint=e),t!=null&&(i.inputMode=t),n!=null&&(i.autoCapitalize=n),r!=null&&(i.autoCorrect=r?`on`:`off`),i}D(),sE(),Xx(),vr(),oS(),iT(),Ww({\"@astryx.input.statusButton.error\":`Error details`,\"@astryx.input.statusButton.success\":`Success details`,\"@astryx.input.statusButton.warning\":`Warning details`});var tP={warning:`warning`,error:`error`,success:`success`},nP={warning:`@astryx.input.statusButton.warning`,error:`@astryx.input.statusButton.error`,success:`@astryx.input.statusButton.success`},rP={statusButton:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmVPX3:`x1717udv`,kogj98:`x1ghz6dp`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kWkggS:`xjbqb8w`,kMwMTN:`x1heor9g`,kkrTdU:`x1ypdohk x16khyan`,kfzvcC:`x67bb7w`,kaIpWk:`xjspbzw`,kInvED:`x7s97pk`,$$css:!0}};function iP({status:e,statusVariant:t=`attached`,isInGroup:n=!1,size:r=`md`}){let i=nT(),a=t===`tooltip`&&!!e?.message,[o,s]=(0,X.useState)(void 0),c=Gx({placement:`above`,isEnabled:a,isOpen:o}),l=(0,X.useCallback)(()=>{s(void 0)},[]),u=(0,X.useCallback)(()=>{typeof window<`u`&&typeof window.matchMedia==`function`&&window.matchMedia(`(hover: none)`).matches&&s(e=>e!==!0)},[]);if((0,X.useEffect)(()=>{if(o!==!0)return;let e=e=>{e.key===`Escape`&&s(void 0)};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[o]),!e||n||t===`detached`)return{statusIcon:null,describedBy:void 0};let d=(0,Z.jsx)(XT,{icon:tP[e.type],size:r,color:e.type,...Y(`input-status-icon`,{size:r,status:e.type})});return a?{statusIcon:(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`button`,{type:`button`,ref:c.ref,\"aria-label\":i(nP[e.type]),\"aria-describedby\":c.describedBy,onClick:u,onBlur:l,...C(iS.focusVisible,rP.statusButton),children:d}),c.renderTooltip(e.message)]}),describedBy:c.describedBy}:{statusIcon:d,describedBy:void 0}}pN(),MC();var aP=\"`xstyle`, `className`, and `style` are not supported on Field-composed inputs and were ignored. Style the field with `containerXstyle`/`containerClassName`/`containerStyle` and the control box with `controlXstyle`/`controlClassName`/`controlStyle`. `astryx upgrade` rewrites existing usage.\",oP=\"`containerXstyle`/`containerClassName`/`containerStyle` have no effect here because no Field box renders (inside InputGroup or a `horizontal-labels` FormLayout). Inside InputGroup, style the InputGroup.\";function sP(e,t,n){let r=bE(),{direction:i}=(0,X.use)(fN),a=r==null&&i!==`horizontal-labels`,o=t,s=o.xstyle!=null||o.className!=null||o.style!=null,c=t;if(s){let{xstyle:e,className:t,style:n,...r}=o;c=r}OC(e,aP,s);let{containerXstyle:l,containerClassName:u,containerStyle:d}=n;return OC(e,oP,(l!=null||u!=null||d!=null)&&!a),{rest:c,hasFieldBox:a,container:a?{xstyle:l,className:u,style:d}:{}}}var cP={ring:{kVAM5u:`xvy26l8 x16it14f xqgemzk`,kGVxlE:`x1gnnqk1 xwmge8v`,$$css:!0},nestedRing:{kVAM5u:`xvy26l8 x1ta6xgg xa99h4j`,kGVxlE:`x1gnnqk1 x151j4nw`,$$css:!0},selfRing:{kVAM5u:`xvy26l8 xujr3tv xa1vkld`,kGVxlE:`x1gnnqk1 x68aypm`,$$css:!0},withinRing:{kVAM5u:`xvy26l8 x6q1khz xohk9ji`,kGVxlE:`x1gnnqk1 xuihb5h`,$$css:!0},inputFocusRing:{kVAM5u:`xvy26l8 x2uiyk xq9p6t4`,kGVxlE:`x1gnnqk1 xxsos93`,$$css:!0}};function lP(e,t,n){let r=Ab(),i=(0,uP.useRef)(!1),a=(0,uP.useRef)(null),o=(0,uP.useRef)(null),s=(0,uP.useRef)(null);return(0,uP.useEffect)(()=>{if(!e){i.current=!1,o.current=null,s.current=null;return}if(i.current)return;let c=requestAnimationFrame(()=>{a.current=null,i.current=!0;let e=Nb(n.current);e==null?(r(t,`polite`),o.current=Wb()):s.current=Pb(e,t)});return a.current=c,()=>{cancelAnimationFrame(c),a.current=null}},[r,n,e,t]),(0,uP.useCallback)(()=>{if(a.current!=null&&(cancelAnimationFrame(a.current),a.current=null,i.current=!0),o.current!=null&&(Gb(o.current,`polite`),o.current=null),s.current!=null){let e=s.current;s.current=null,e()}},[])}var uP,dP=o((()=>{uP=u(f(),1),ex()}));function fP(e,t){(Object.getOwnPropertyDescriptor(e.ownerDocument.defaultView?.HTMLInputElement.prototype??HTMLInputElement.prototype,`value`)?.set)?.call(e,t),e.dispatchEvent(new Event(`input`,{bubbles:!0}))}function pP(e,t,n){mP([e],([e])=>t(e),n)}function mP(e,t,n){let r=(0,hP.useRef)(null);b(()=>{let i=e.map(e=>e.current),a=r.current;a!=null&&a.key===n&&i.every((e,t)=>e===a.nodes[t])||(a?.release(),r.current=i.every(e=>e!=null)?{nodes:i,key:n,release:t(i)}:null)}),b(()=>()=>{r.current?.release(),r.current=null},[])}var hP,gP=o((()=>{hP=u(f(),1),x()})),_P=o((()=>{}));function vP(){if(OP.batchDepth>0)OP.isChanged=!0;else for(let e of[...AP])try{e()}catch(e){queueMicrotask(()=>{throw e})}}function yP(e){OP.batchDepth+=1;try{e()}finally{--OP.batchDepth,OP.batchDepth===0&&OP.isChanged&&(OP.isChanged=!1,vP())}}function bP(e){return AP.add(e),()=>{AP.delete(e)}}function xP(e,t){return kP.set(e,t),vP(),()=>{kP.get(e)===t&&(kP.delete(e),vP())}}function SP(){return kP.size===0?[]:[...kP.keys()]}function CP(e,t){if(kP.size===0)return DP;let n=0,r=0;for(let i=e;i!=null;i=bd(i)){let e=Qu(i)?kP.get(i):void 0;if(e!=null){let i=e.offset(t);n+=i.x,r+=i.y}}return{x:n,y:r}}function wP(e){let t=Number(e.style.getPropertyValue(jP))||0;e.style.setProperty(jP,String(t+1))}function TP(e){e.style.removeProperty(jP)}function EP(e){for(let t of e)kP.get(t)?.resolve()}var DP,OP,kP,AP,jP,MP=o((()=>{Td(),od(),Xn(),DP={x:0,y:0},OP=Gn(Wn(`motion/presentation`,1),()=>({sources:new Map,watchers:new Set,batchDepth:0,isChanged:!1})),{sources:kP,watchers:AP}=OP,jP=`--astryx-presented`}));function NP(e){return Math.max(2,Math.ceil(e/1e3*FP)+1)}function PP(e,t){let n=NP(e),r=[];for(let i=0;i{FP=60}));function LP(e){let t=e?.ownerDocument?.defaultView;if(e==null||t==null)return 1;let n=t.getComputedStyle(e).getPropertyValue(RP).trim(),r=n===``?NaN:Number(n);return Number.isFinite(r)&&r>0?r:1}var RP,zP=o((()=>{RP=`--_astryx-motion-tempo`}));function BP(e,t){let n=WP.get(e);n??(n=new Map,WP.set(e,n));let r=n.get(t);return r??(r=`response`in e?{response:e.response*t,dampingRatio:e.dampingRatio}:`duration`in e?{duration:e.duration*t,bounce:e.bounce}:{...e.mass==null?null:{mass:e.mass},stiffness:e.stiffness/(t*t),damping:e.damping/t},n.set(t,r)),r}function VP(e,t,n){let r=n===void 0?t:t[n],i=n===void 0?Mm(t):Nm(t,n);if(i==null||i.kind===`curve`||UP.has(i.id))return r;let a=LP(e);return a===1?r:typeof r==`number`?r*a:Em(r)?BP(r,a):r}function HP(e,t,n,r=n.to){let i=ym(vm(VP(e,t)),n),a=i.settleTime(n.epsilon)*1e3,o=r-n.from;if(o===0||a===0)return{durationMs:a,easing:PP(a,()=>1)};let s=e=>(i.value(e/1e3)-n.from)/o,c=1/0;for(let e=0;e<=a;e++)if(s(e)>=1){c=e;break}return{durationMs:a,easing:PP(a,e=>e>=c?1:s(e))}}var UP,WP,GP=o((()=>{Km(),km(),Cm(),IP(),zP(),UP=new Set([`springs.fingerTracking`,`switchControl.tracking`,`progress.reducedMotionPulseMs`]),WP=new WeakMap}));function KP(e,t,n,r,i,a){let o={};if(!i)return{atOnce:[...r],opacityFade:null,holds:o,landing:null};let s=r.filter(e=>qP.includes(e)),c=e.valueAt(`opacity`,t),l=n.opacity??e.opacityHeading(),u=r.filter(r=>qP.includes(r)&&Math.abs(n[r]-e.valueAt(r,t))>1e-9),d=n.opacity!=null,f=d&&l>c+1e-6,p=d&&l{let a=new Map;for(let r of u)o[r]=e.valueAt(r,t),a.set(r,n[r]);return{at:r,values:a,fadeIn:i,restore:g,..._!=null&&g!=null?{restoreIsBorrowed:!0}:{}}};if(d&&e.hasWaitingDip&&!r.some(e=>qP.includes(e))&&Math.abs(l-e.opacityHeading())<1e-6)return{atOnce:[],opacityFade:null,holds:o,landing:null,joins:!0};let x=u.length>0||v;if(f&&!v&&(!x||m<=1e-6))return{atOnce:s,opacityFade:[{at:0,value:m},{at:y,value:h}],holds:o,landing:null,borrowed:_};if(p&&(!x||h<=1e-6))return{atOnce:s,opacityFade:[{at:0,value:m},{at:y,value:h}],holds:o,landing:u.length>0||g!=null||v?b(y,null):null};if(x){let t=e.borrowedOpacity,n=d||t==null&&(e.hasOpacityCurve||e.restingOpacity!==JP||e.writesOwnOpacity())?null:t??e.ownOpacity();return n!=null&&n<=1e-6?{atOnce:s,opacityFade:null,holds:o,landing:null}:{atOnce:s,opacityFade:[{at:0,value:e.hasOpacityCurve?c:n??c},{at:y/2,value:0}],holds:o,landing:b(y/2,{to:n??l,ms:y/2,isBorrowed:n!=null}),borrowed:n}}return{atOnce:`opacity`in n?[...s,`opacity`]:s,opacityFade:null,holds:o,landing:null}}var qP,JP,YP=o((()=>{eh(),qP=[`x`,`y`,`rotate`,`scaleX`,`scaleY`],JP=1}));function XP(e,t){if(OF==null){let n={first:e};OF=n,queueMicrotask(()=>{n.ended=t(),OF=null})}return OF}function ZP(e){let t=e();if(jF!=null&&jF.clock===e&&t-jF.time<=34)return jF.time;let n={time:t,clock:e};return jF=n,queueMicrotask(()=>{jF===n&&(jF=null)}),t}function QP(e){MF.length===0&&queueMicrotask($P),MF.push(e)}function $P(){let e=MF.splice(0);for(let t of e)t.lift();for(let t of e)t.read();for(let t of e)t.write()}function eF(e,t){if(e!=null&&PF?.frame===e)return Math.min(PF.first,t);let n=Math.min(t,...NF.values());if(NF.clear(),e!=null){let t={frame:e,first:n};PF=t,setTimeout(()=>{PF===t&&(PF=null)},0)}return n}function tF(e,t){if(e==null)return t();if(AF?.frame===e)return AF.time;let n={frame:e,time:t()};return AF=n,setTimeout(()=>{AF===n&&(AF=null)},0),n.time}function nF(){if(FF==null){let e={times:[],keyframes:[]};FF=e,queueMicrotask(()=>{FF===e&&(FF=null)})}return FF}function rF(e,t){return e.length===t.length&&e.every((e,n)=>Object.is(e,t[n]))}function iF(e){return typeof KeyframeEffect==`function`&&typeof Animation==`function`&&e instanceof KeyframeEffect}function aF(e,t){let n=new KeyframeEffect(e);n.target=t;let r=new Animation(n,t.ownerDocument.timeline);return r.play(),r}function oF(e,t){return Number(e.toFixed(t))}function sF(e,t){switch(e){case`translate`:return`${oF(t(`x`),3)}px ${oF(t(`y`),3)}px`;case`rotate`:return`${oF(t(`rotate`),4)}deg`;case`scale`:return`${oF(t(`scaleX`),5)} ${oF(t(`scaleY`),5)}`;case`opacity`:return`${oF(Math.min(1,Math.max(0,t(`opacity`))),4)}`}}function cF(e,t={}){let n=HF.get(e);n??(n=new Map,HF.set(e,n));let r=t.pseudoElement??``,i=n.get(r);return i??(i=gF(e,t),n.set(r,i)),i}function lF(e,t){let n=(e,n,r)=>oF(t(e),r)===n;switch(e){case`translate`:return n(`x`,0,3)&&n(`y`,0,3)?`none`:sF(e,t);case`rotate`:return n(`rotate`,0,4)?`none`:sF(e,t);case`scale`:return n(`scaleX`,1,5)&&n(`scaleY`,1,5)?`none`:sF(e,t);case`opacity`:return sF(e,t)}}function uF(e,t){let n=t.trim();if(n===``||n===`none`)return!0;let r=n.split(/\\s+/).map(e=>Number.parseFloat(e));if(r.some(e=>!Number.isFinite(e)))return!1;let i=+(e===`scale`||e===`opacity`);return r.every(e=>Math.abs(e-i)<1e-6)}function dF(e){let t={};for(let[n,r]of Object.entries(e))r!=null&&Number.isFinite(r)&&(n===`scale`?(t.scaleX??=r,t.scaleY??=r):vF.includes(n)&&(t[n]=r));return t}function fF(){return typeof performance>`u`?Date.now():performance.now()}function pF(){return typeof window<`u`&&typeof window.matchMedia==`function`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function mF(){return typeof window<`u`&&typeof window.matchMedia==`function`&&window.matchMedia(`(pointer: coarse)`).matches}function hF(e,t){if(typeof CSS<`u`&&typeof CSS.registerProperty==`function`)try{CSS.registerProperty({name:e,syntax:t,inherits:!0,initialValue:t===``?`0px`:`0`})}catch(e){if(!(e instanceof DOMException)||e.name!==`InvalidModificationError`)throw e}}function gF(e,t={}){let n=t.now??fF,r=t.requestFrame??(typeof requestAnimationFrame==`function`?e=>{requestAnimationFrame(t=>e(t))}:null),i=r==null?null:e=>{r(t=>{kF+=1;try{e(t)}finally{--kF}})},a=t.pseudoElement,o=t.customProperty,s=o?.companion;o!=null&&hF(o.name,o.syntax),s!=null&&hF(s.name,s.syntax);let c=e=>s==null?``:s.syntax===``?`${oF(s.map(e),5)}`:`${oF(s.map(e),3)}px`,l=e=>o!=null&&e===`translate`,u=e=>o!=null&&e===`translate`?o.name:e,d=o?.syntax===``?``:`px`,f=(e,t)=>l(e)?`${oF(t(`x`),d===``?5:3)}${d}`:sF(e,t),p=(e,t)=>l(e)&&s!=null?{[u(e)]:f(e,t),[s.name]:c(t(`x`))}:{[u(e)]:f(e,t)},m=e=>l(e)?`0${d}`:UF[e],h=()=>pF()||uc(E),g=mF,_={...bF,...dF(t.initial??{})},v=dF(t.base??{}),y=new Map,b=new Map,x=new Map,S=new Set,C=new Map,w=new Set,T=null,E=null,D=new Set,O=new Set,k=!1,A=null,j=e=>{let t=E;E??=A;try{e()}finally{E=t}},M=null,N=null,P={x:0,y:0},F=null,I=new Set,L=null,R=``,z=!1,B=null,V=null,H=null,ee=a==null?null:`--astryx-motion-will-change-${a.replace(/^:+/,``)}`,U=new Set,te=(e,t)=>{let n=y.get(e);return n==null||t>=ie(e,n)?null:n},W=e=>e.group!=null&&!e.group.resolved,G=(e,t)=>{let n=y.get(e);return n==null?_[e]:t>=n.start+n.duration?n.target:n.at(Math.max(0,t-n.start))},ne=(e,t)=>t==null||e.group==null?null:{latest:t,start:e.start+t-e.group.provisional},re=(e,t)=>t.group?.resolved===!1?t.group.latest?.get(VF[e]):void 0,ie=(e,t)=>(ne(t,re(e,t))?.start??t.start)+t.duration,K=(e,t,n)=>{let r=e.group;if(r==null)return;let i=r.segments.indexOf(e);i>=0&&r.segments.splice(i,1),e.start+=n-r.provisional,e.group=void 0,BF[t].some(e=>y.get(e)?.group===r)||(r.latest?.delete(t),r.channels.delete(t)),r.channels.size===0&&r.segments.length===0&&tt(r,n)},q=(e,t)=>{let r=y.get(e);if(r!=null&&W(r)){let i=r.group?.latest?.get(VF[e]),a=ne(r,i);if(a!=null){let e=Math.max(t,a.latest)-a.start;return e>=r.duration?r.target:r.at(e)}if(t<=n())return r.at(0)}return G(e,t)},ae=(e,t,n)=>Math.abs(q(e,n)-t.target)<=wF*SF[e]&&Math.abs(oe(e,n))<=SF[e]*TF,oe=(e,t)=>{let n=y.get(e);if(n!=null&&W(n)){let r=ne(n,n.group?.latest?.get(VF[e]));return n.speed(Math.max(0,r!=null&&t>r.latest?t-r.start:t-n.start))}let r=te(e,t);return r==null||tG(e,t-1e-6),ce=e=>y.get(e)?.target??_[e],le=(e,t)=>{let n=y.get(e);return n?.group!=null&&!n.group.resolved?n.at(0):q(e,t)},J={offset:(e=n())=>(Qe(),{x:le(`x`,e)-P.x,y:le(`y`,e)-P.y}),resolve:()=>{if(E==null)return;Qe();let e=n();wP(E),P={x:le(`x`,e),y:le(`y`,e)}}},ue=e=>{let t=e&&a==null?E:null;t!==N&&(F?.(),F=null,N instanceof HTMLElement&&TP(N),N=t,t!=null&&(F=xP(t,J)))},de=(e,t,n=!0)=>{if(E==null||a!=null)return;w.add(e);let r=l(e)?f(e,t):lF(e,t);if(E.style.getPropertyValue(u(e))!==r&&E.style.setProperty(u(e),r),l(e)&&s!=null){let e=c(t(`x`));E.style.getPropertyValue(s.name)!==e&&E.style.setProperty(s.name,e)}n&&r===m(e)&&ke(e)},fe=(e,t,n,r,i)=>{let a=[e,r-n,i];for(let r of BF[e]){let e=y.get(r);if(!t.includes(r))a.push(r,_[r]);else if(e?.source!=null&&e.jumps.length===0)a.push(r,e.source,e.start-n),a.push(e.duration);else return null}return a},pe=(e,t,n,r)=>{let i=y.get(e);if(i?.source==null||i.jumps.length>0)return me(e,t,n,r);let a=[i.source,i.start-t,i.duration,n-t,r],{times:o}=nF(),s=o.find(e=>rF(e.key,a));if(s!=null)return s.times.map(e=>e+t);let c=me(e,t,n,r);return o.push({key:a,times:c.map(e=>e-t)}),c},me=(e,t,n,r)=>{let i=y.get(e);if(i==null)return[];let a=Math.max(t,i.start),o=Math.min(n,i.start+i.duration);if(o<=a)return[];let s=[a],c=t=>G(e,t),l=i.jumps.map(e=>i.start+e).filter(e=>e>a&&e{let u=c(t),d=n===i&&l.includes(i)?se(e,i):c(n),f=0;for(let e of[.25,.5,.75]){let r=t+(n-t)*e;f=Math.max(f,Math.abs(c(r)-(u+(d-u)*e)))}if(f>r&&a<10&&n-t>.25){let e=(t+n)/2;o(t,e,a+1),o(e,n,a+1)}else s.push(n)};for(let e=0;eBF[e].every(e=>{let t=v[e];return t!=null&&Math.abs(ce(e)-t)<=SF[e]}),ge=(e,t)=>{if(E==null||he(e))return;let n=sF(e,ce),r=E.animate([{[e]:n},{[e]:n}],{duration:1,fill:`both`,pseudoElement:a});r.startTime=t,b.set(e,r)},_e=(e,t,n)=>{let r=e.segments.indexOf(t);r>=0?e.segments[r]=n:e.segments.push(n)},ve=new Set,ye=!1,be=e=>{ve.add(e),ye||(ye=!0,queueMicrotask(xe))},xe=()=>{if(ye=!1,ve.size===0)return;let e=[...ve].filter(e=>!mt.has(e)).flatMap(e=>BF[e]);ve.clear(),Mt(e,n())},Se=(e,t)=>{Et(e),ve.delete(e);let r=b.get(e);b.delete(e),clearTimeout(x.get(e)),x.delete(e),clearTimeout(C.get(e)),C.delete(e),a??r?.cancel();let o=BF[e];for(let e of o){let n=y.get(e);n!=null&&t>=ie(e,n)&&(_[e]=n.target,y.delete(e))}let s=o.filter(e=>y.has(e));if(M==null)for(let t of s){let n=y.get(t),r=re(t,n);r!=null&&K(n,e,r)}let c=M??s.map(e=>y.get(e).group).find(e=>e!=null&&!e.resolved)??null,u=c?.framed===!0,d=new Set;if(u&&d.add(c),M!=null)for(let e of s){let t=y.get(e).group;t!=null&&t!==M&&!t.resolved&&d.add(t)}for(let t of d)t.latest?.delete(e);if(e===`translate`&&!l(e)&&(P={x:q(`x`,t),y:q(`y`,t)},ue(s.length>0&&E!=null&&typeof E.animate==`function`)),s.length===0||E==null||typeof E.animate!=`function`?de(e,ce):de(e,e=>q(e,t)),E==null||typeof E.animate!=`function`){r?.cancel();return}if(s.length===0){a!=null&&ge(e,t),r?.cancel();return}let f=c?.provisional??t,m=Math.min(f+EF,Math.max(...s.map(e=>y.get(e).start+y.get(e).duration)));if(m<=f){a!=null&&ge(e,t),r?.cancel();return}if(M!=null)for(let e of s){let t=y.get(e),n=t.group;if(n!=null&&n!==M&&!n.resolved){let e=n.segments.indexOf(t);e>=0&&n.segments.splice(e,1),n.adoptedBy=M,t.group=M,t.start+=M.provisional-n.provisional,M.segments.push(t)}}let h=1/Math.max(1,globalThis.devicePixelRatio||1),g=a==null&&!l(e)?fe(e,s,f,m,h):null,v=g==null?void 0:nF().keyframes.find(e=>rF(e.key,g)),S=e=>{let t=new Set([f,m]);for(let n of s){let r=SF[n]*e*(n===`x`||n===`y`?h:1);for(let e of pe(n,f,m,r))t.add(e)}return t},w=m-f+LF,T=v?.keyframes??(()=>{let t=1,n=S(t);for(;n.size>IF&&t<64;)t*=2,n=S(t);let r=new Set;for(let e of s){let t=y.get(e);for(let e of t.jumps){let i=t.start+e;i>f&&i<=m&&(r.add(i),n.add(i))}}let i=[...n].sort((e,t)=>e-t),a=[];for(let t of i){let n=(t-f)/w;r.has(t)&&a.push({offset:n,...p(e,e=>se(e,t))}),a.push({offset:n,...p(e,e=>t>=m?ce(e):G(e,t))})}return a.push({offset:1,...p(e,ce)}),a})();l(e)||ze(e);let D=v!=null&&iF(v.effect)?aF(v.effect,E):E.animate(T,{duration:w,fill:`both`,easing:`linear`,...a==null?{}:{pseudoElement:a}});g!=null&&v==null&&nF().keyframes.push({key:g,keyframes:T,effect:D.effect}),c==null?D.startTime=t:(c.animations.push(D),c.channels.add(e),D.ready?.catch(()=>{}),u&&i?.(t=>{!c.resolved&&b.get(e)===D&&D.startTime==null&&D.playState===`running`&&(c.latest??=new Map).set(e,tF(t,n))})),b.set(e,D),r?.cancel(),Ce(e,D,m)},Ce=(e,t,r)=>{clearTimeout(x.get(e)),x.delete(e),clearTimeout(C.get(e)),C.delete(e);let o=()=>{i==null||S.has(t)||(S.add(t),i(()=>{S.delete(t),s(!0)}))},s=(r=!1)=>{if(r||x.delete(e),b.get(e)!==t)return;if(mt.has(e)){x.has(e)||x.set(e,setTimeout(s,zF));return}let i=Ne(t);if(r&&i==null)return;if(i!=null&&i>0){let n=t.playState===`paused`;!n&&i<=(r?2:1)*zF&&o(),x.has(e)||x.set(e,setTimeout(s,n?RF:Math.max(i,zF)));return}clearTimeout(x.get(e)),x.delete(e),b.delete(e),e===`translate`&&ue(!1);let c=e===`opacity`&&T!=null&&![...Nt].some(e=>e.fadeIn?.isBorrowed===!0);a!=null&&!c?ge(e,n()):de(e,ce,!1);let l=[...D].filter(e=>e.animations.includes(t));for(let e of l)Ze(e);t.cancel();for(let e of l)tt(e,e.provisional);ke(e),Me()};x.set(e,setTimeout(s,Math.max(0,r-n()))),i!=null&&C.set(e,setTimeout(()=>{C.delete(e),o()},Math.max(0,r-n()-zF)))},we=()=>{let e=E?.ownerDocument.defaultView,t=E==null?NaN:Number.parseFloat(e?.getComputedStyle(E,a??null).getPropertyValue(`opacity`)??``);return Number.isFinite(t)?Math.min(1,Math.max(0,t)):1},Te=()=>a==null?(E?.style.getPropertyValue(`opacity`)??``)!==``:b.has(`opacity`),Ee=()=>{if(a==null){E?.style.removeProperty(`opacity`);return}let e=b.get(`opacity`);b.delete(`opacity`),e?.cancel()},De=e=>{if(Nt.size===0)return;let t=new Set,r=!1;for(let n of[...Nt]){Bt(n);for(let[e,r]of n.values)y.delete(e),_[e]=r,t.add(e);if(n.fadeIn!=null||n.restore!=null){let e=n.fadeIn?.isBorrowed===!0||n.restoreIsBorrowed===!0;y.delete(`opacity`),_.opacity=e?bF.opacity:n.fadeIn?.to??n.restore??bF.opacity,t.add(`opacity`),e&&(T=null,r=!0)}for(let t of[n.owner,...n.carried])Pt.delete(t),t.settled||it(t,e)}Mt(t,n()),r&&Ee()},Oe=()=>{T!=null&&(T=null,y.delete(`opacity`),_.opacity=bF.opacity,Ee())},ke=e=>{if(!(E==null||b.has(e))){if(e===`opacity`&&T!=null){if([...Nt].some(e=>e.fadeIn?.isBorrowed===!0))return;T=null,y.delete(`opacity`),_.opacity=bF.opacity,Ee()}else a==null&&E.style.getPropertyValue(u(e))===m(e)&&(Ae.add(e),je||(je=!0,queueMicrotask(Me)))}},Ae=new Set,je=!1,Me=()=>{je=!1;let e=E,t=[...Ae].filter(t=>!b.has(t)&&e?.style.getPropertyValue(u(t))===m(t));if(Ae.clear(),e==null||t.length===0)return;for(let n of t)e.style.removeProperty(u(n));let n=e.ownerDocument.defaultView?.getComputedStyle(e);for(let r of t){let t=n?.getPropertyValue(u(r));t!=null&&!uF(r,t)&&e.style.setProperty(u(r),m(r))}},Ne=e=>{let t=e.effect?.getTiming?.(),n=e.currentTime;if(t==null||n==null)return e.playState===`paused`?1/0:null;let r=Number(t.duration)-LF-Number(n);return e.playState===`paused`?Math.max(r,1):r},Pe=e=>{let t=[...I].join(`, `);if(ee!=null){t===``?e.style.removeProperty(ee):e.style.setProperty(ee,t);return}if(t===``){e.style.willChange=L??``,L=null;return}if(L??=e.style.willChange,L===``&&!z){e.style.willChange=[...I].join(`, `),Ie(e);return}let n=L===``?R:L,r=(n===`auto`?``:n).split(`,`).map(e=>e.trim()).filter(e=>e!==``&&!I.has(e));e.style.willChange=[...r,...I].join(`, `)},Fe=e=>{R=e.ownerDocument.defaultView?.getComputedStyle(e).getPropertyValue(`will-change`)??``,z=!0},Ie=e=>{if(V===e)return;V=e;let t=()=>V===e&&E===e&&I.size>0&&L===``;QP({lift:()=>{t()&&(e.style.willChange=``)},read:()=>{t()&&Fe(e)},write:()=>{V===e&&(V=null,E===e&&I.size>0&&Pe(e))}})},Le=()=>{if(Re(),z=!1,E==null||ee!=null)return;let e=E;B=setTimeout(()=>{B=null,E===e&&I.size===0&&e.isConnected&&Fe(e)},0)},Re=()=>{B!=null&&(clearTimeout(B),B=null)},ze=e=>{E!=null&&(I.has(e)||(I.add(e),Pe(E)),Be())},Be=()=>{H!=null&&clearTimeout(H);let e=n();for(let t of y.values())e=Math.max(e,t.start+t.duration);H=setTimeout(()=>{H=null;let e=n();[...y.values()].some(t=>e0?Be():Ve()},Math.max(0,e-n())+500)},Ve=()=>{H!=null&&(clearTimeout(H),H=null),I.size!==0&&(I.clear(),E!=null&&(Pe(E),Le()))},He=(e,t,n,r)=>{if(E==null||typeof E.animate!=`function`)return null;let i=new Set;for(let e of t)i.add(VF[e]);if(n!=null){for(let e of i)for(let t of BF[e]){let e=y.get(t)?.group;if(e!=null&&!e.resolved&&n<=e.provisional)return e}return null}for(let t of r===`commit`?[]:i)for(let n of BF[t]){let t=y.get(n);if(t!=null&&e{},o=new Promise(e=>{a=e});return{provisional:e,fresh:!1,segments:[],animations:[],channels:new Set,resolved:!1,resolve:a,started:o}},Ue=(e,t,n,r,a=!1,o=!1)=>{if(e!=null)for(let r of n){let n=y.get(r);n!=null&&n.owner===t&&(n.group=e,e.segments.push(n))}if(a&&e!=null&&i!=null){let t={group:e,changed:n};We.push(t),i(()=>i(()=>qe(t)))}else e==null&&o?Tt(n,r):Je(e,n,r)},We=[],Ge=e=>{for(let{group:t,changed:n}of e){let e=[],r=null;for(let i of n){let n=BF[VF[i]].map(e=>y.get(e)?.group).find(e=>e!=null&&e!==t&&We.some(t=>t.group===e));if(n==null){e.push(i);continue}let a=y.get(i);a!=null&&a.group===t&&(a.start+=n.provisional-t.provisional,a.group=n,n.segments.push(a),t.segments.splice(t.segments.indexOf(a),1),r=n)}if(e.length===0&&r!=null){let e=r;t.adoptedBy=e,e.started.then(e=>tt(t,e))}else Je(t,e,t.provisional)}},Ke=()=>{Ge(We.splice(0))},qe=e=>{let t=We.indexOf(e);t>=0&&Ge(We.splice(0,t+1))},Je=(e,t,r)=>{M=e;try{Mt(t,r)}finally{M=null}if(e==null)return;if(e.animations.length===0){tt(e,e.provisional);return}D.add(e),e.fresh=!0,e.task=XP(n(),n),e.nextFrame===!0&&(e.task.nextFrame=!0),e.madeInFrame=kF>0,queueMicrotask(()=>{e.fresh=!1});for(let t of e.animations)t.ready?.catch(()=>{});let a=e.animations[0].ready;a==null||typeof a.then!=`function`?tt(e,e.provisional):(i?.(t=>{if(Ze(e),e.framed=!0,e.resolved)return;let r=tF(t,n);if(e.madeInFrame!==!0&&(e.task?.nextFrame===!0||r-(e.task?.first??e.provisional)<=34)&&e.animations.some(e=>e.startTime==null&&e.playState===`running`)&&tt(e,r),!e.resolved)for(let t of e.channels){let n=b.get(t);n!=null&&e.animations.includes(n)&&n.startTime==null&&n.playState===`running`&&(e.latest??=new Map).set(t,r)}}),a.then(()=>Ze(e),()=>Ye(e)))},Ye=e=>{if(e.resolved)return;let t=e.adoptedBy;for(;t?.adoptedBy!=null;)t=t.adoptedBy;t!=null&&t!==e?t.started.then(t=>tt(e,t)):Xe(e)||tt(e,e.provisional)},Xe=e=>{let t=e.animations.find(e=>e.playState!==`idle`)?.ready;return t==null||typeof t.then!=`function`?!1:(t.then(()=>Ze(e),()=>Ye(e)),!0)},Ze=e=>{if(!e.resolved){for(let t of e.animations)if(t.startTime!=null){tt(e,et(e,Number(t.startTime)));return}e.animations.length>0&&e.animations.every(e=>e.playState===`finished`||e.playState===`idle`)&&e.animations.some(e=>e.playState===`finished`)?tt(e,e.provisional):e.animations.some(e=>e.startTime==null&&e.playState!==`idle`)&&i?.(()=>Ze(e))}},Qe=()=>{for(let e of D)e.fresh||Ze(e);$e()},$e=()=>{for(let[e,t]of b){if(t.playState!==`finished`)continue;let r=n();for(let t of BF[e]){let e=y.get(t);e==null||r>=e.start+e.duration||(y.delete(t),_[t]=e.target)}}},et=(e,t)=>{let r=typeof document>`u`?null:document.timeline?.currentTime;if(r==null||e.framed===!0||t>(e.task?.first??e.provisional)+34)return t;let{task:i}=e,a=i?.nextFrame===!0?n():i?.ended??n();if(i==null||a-i.first<=34)return t;let o=i.at??Math.max(n(),r);if(o-t<=34)return t;i.at=o;for(let t of e.animations)t.playState!==`idle`&&(t.startTime=o);return o},tt=(e,t)=>{if(e.resolved)return;e.resolved=!0,D.delete(e);for(let n of e.animations)n.startTime==null&&n.playState!==`idle`&&(n.startTime=t);let r=t-e.provisional;if(r!==0){for(let t of e.segments)t.start+=r;for(let t of e.channels){let n=b.get(t);if(n==null||!e.animations.includes(n))continue;let r=BF[t].flatMap(e=>{let t=y.get(e);return t==null?[]:[t.start+t.duration]});r.length>0&&Ce(t,n,Math.max(...r))}for(let r of new Set(e.segments.map(e=>e.owner))){if(r.settled||r.timer==null)continue;clearTimeout(r.timer);let i=e.segments.filter(e=>e.owner===r).map(e=>e.start+e.duration);r.timer=setTimeout(()=>at(r),Math.max(0,Math.max(t,...i)-n()))}}e.resolve(t)},nt=new WeakMap,rt=(e,t)=>{Ft(e);let n=y.get(e);n!=null&&t{e.settled||(e.settled=!0,e.timer!=null&&(clearTimeout(e.timer),e.timer=null),e.resolve(t))},at=e=>{e.timer=null;let t=0;for(let[n,r]of b){if(!BF[n].some(t=>y.get(t)?.owner===e))continue;if(mt.has(n)){t=Math.max(t,zF);continue}let i=Ne(r);i!=null&&i>0&&(t=Math.max(t,r.playState===`paused`?RF:Math.max(i,zF)))}t>0?e.timer=setTimeout(()=>at(e),t):it(e,!0)},ot=(e,t,r,i,a=null,o=!1)=>{let s=t.map(t=>{let n=y.get(t);return n!=null&&n.owner===e?n.start+n.duration:i}),c=Math.max(i,...s);o||(t.length===0||c<=i?it(e,!0):e.timer=setTimeout(()=>at(e),Math.max(0,c-n())));let l=new Map;for(let n of t){let t=y.get(n);t!=null&&t.owner===e&&l.set(n,t)}return{properties:t,finished:r,started:a?.started??Promise.resolve(i),curve:e=>{let t=l.get(e===`scale`?`scaleX`:e);return t==null?null:{duration:t.duration/1e3,at:e=>e*1e3>=t.duration?t.target:t.at(Math.max(0,e*1e3)),velocity:e=>e*1e3>=t.duration?0:t.speed(e*1e3)}},value:(e,t=n())=>(Qe(),q(e,t)),velocity:(e,t=n())=>(Qe(),oe(e,t)),retarget:(t,n,r)=>{let i=n?.spring??nt.get(e);if(i==null)throw Error(`animator: retarget needs a spring`);return Xt.animate(t,{...n,spring:i},r)},stop:()=>Xt.stop(vF.filter(n=>t.includes(n)&&(y.get(n)?.owner===e||[...Nt].some(t=>t.values.has(n)&&(t.owners.get(n)??t.owner)===e))))}},st=()=>{let e=()=>{},t=new Promise(t=>{e=t});return{owner:{resolve:e,settled:!1,timer:null},finished:t}},ct=(e,t,n,r,i,a)=>lt(e,t,n,q(t,n),a,r,VP(E,i)),lt=(e,t,n,r,i,a,o)=>{if(r===a&&i===0)return null;let s=ym(vm(o),{from:r,to:a,velocity:i});return{start:n,duration:Math.min(EF,s.settleTime(xF[t])*1e3),target:a,at:e=>s.value(e/1e3),speed:e=>s.velocity(e/1e3),jumps:[],owner:e,spring:o}},ut=(e,t,n,r,i,a)=>{let o=a.start+a.duration,s=VP(E,i),c=ym(vm(s),{from:0,to:r-a.target,velocity:0}),l=Math.min(EF,c.settleTime(xF[t])*1e3),u=e=>e>=l?r-a.target:c.value(e/1e3),d=e=>e>=o?a.target:a.at(Math.max(0,e-a.start));return{start:n,duration:Math.min(EF,Math.max(o-n,l)),target:r,at:e=>d(n+e)+u(e),speed:e=>(n+e>=o?0:a.speed(n+e-a.start))+(e>=l?0:c.velocity(e/1e3)),jumps:a.jumps.map(e=>a.start+e-n).filter(e=>e>0),owner:e,spring:s,isAdditive:!0}},dt=(e,t,n,r)=>{let i=n.at(0),a=n.at(n.duration),o=(a-r.target)/(a-i),s=Math.min(EF,n.duration*1e3),c=r.start+r.duration,l=e=>e>=c?r.target:r.at(Math.max(0,e-r.start));return{start:t,duration:Math.min(EF,Math.max(c-t,s)),target:a,at:e=>l(t+e)+(e>=s?a-r.target:(n.at(e/1e3)-i)*o),speed:e=>(t+e>=c?0:r.speed(t+e-r.start))+(e>=s?0:n.velocity(e/1e3)*o),jumps:r.jumps.map(e=>r.start+e-t).filter(e=>e>0),owner:e}},ft=(e,t,n,r=[])=>{qm();let i=Xp(VP(E,Ym.curve)),a=n[n.length-1].at,o=e=>{for(let t=0;t+1(o(e+.5)-o(Math.max(0,e-.5)))/(e>=.5?1:.5+e)*1e3,jumps:r,owner:e,isFade:!0}},pt=new Map,mt=new Map,ht=!1,gt=null,_t=t.requestFrame==null&&typeof document<`u`?document:null,vt=()=>E?.ownerDocument.visibilityState===`hidden`||_t?.visibilityState===`hidden`,yt=()=>{pt.clear(),xt(),gt?.()},bt={},xt=()=>{let e=1/0;for(let t of pt.values())e=Math.min(e,t.since);e===1/0?NF.delete(bt):NF.set(bt,e)},St=e=>{for(let t of new Set(e.map(([,e])=>e)))Mt(e.filter(([,e])=>e===t).flatMap(([e])=>BF[e]),t)},Ct=()=>{let e=[...mt];mt.clear(),St(e)},wt=()=>{let e=[...new Set([E?.ownerDocument,_t].filter(e=>e!=null))];if(gt!=null||e.length===0)return;let t=()=>{vt()&&(yt(),Ct())};for(let n of e)n.addEventListener(`visibilitychange`,t);gt=()=>{for(let n of e)n.removeEventListener(`visibilitychange`,t);gt=null}},Tt=(e,t)=>{for(let n of e){let e=VF[n],r=!mt.has(e);mt.set(e,t),r&&(ve.delete(e),clearTimeout(x.get(e)),x.delete(e),clearTimeout(C.get(e)),C.delete(e))}},Et=e=>{if(mt.delete(e)){for(let t of BF[e])pt.delete(t);xt()}},Dt=(e,t)=>{let n=new Map,r=new Map;for(let t of BF[e]){let e=pt.get(t);e!=null&&(n.set(t,y.get(t)),r.set(t,_[t]),e.segment==null?(y.delete(t),_[t]=e.resting+e.offset):y.set(t,At(e.segment,e.offset)))}let i=mt.get(e);mt.delete(e);try{Se(e,t)}finally{for(let[e,t]of n)t==null?y.delete(e):y.set(e,t);for(let[e,t]of r)_[e]=t;i!=null&&mt.set(e,i)}},Ot=(e,t,n,r)=>{if(n!=null||r!=null||kF>0||i==null||E==null||typeof E.animate!=`function`||vt())return!1;let a=[...e];if(a.some(e=>BF[VF[e]].some(e=>{let t=y.get(e);return t!=null&&W(t)})))return!1;for(let e of a)pt.has(e)||pt.set(e,{segment:y.get(e)??null,resting:_[e],offset:0,since:t});return xt(),wt(),ht||(ht=!0,i(jt)),!0},kt=(e,t)=>{let{segment:n,offset:r}=e;if(n==null)return{value:e.resting+r,velocity:0};let i=t-n.start;if(i>=n.duration)return{value:n.target+r,velocity:0};let a=Math.max(0,i);return{value:n.at(a)+r,velocity:n.speed(a)}},At=(e,t)=>t===0?e:{...e,target:e.target+t,at:n=>e.at(n)+t},jt=e=>{ht=!1;let t=[...pt],r=[...mt];if(mt.clear(),yt(),E==null)return;let i=tF(e,n),a=i-eF(e,Math.min(...t.map(([,e])=>e.since)))>34,o=[],s=new Set;for(let[e,n]of t){let t=y.get(e);if(!a||t==null||t.spring==null||t.isFade===!0||W(t))continue;let r=kt(n,i),c=t.isAdditive===!0&&n.segment!=null?ut(t.owner,e,i,t.target,t.spring,At(n.segment,n.offset)):lt(t.owner,e,i,r.value,t.handedVelocity??(n.segment==null?t.speed(0):r.velocity),t.target,t.spring);c==null?(y.delete(e),_[e]=t.target):y.set(e,t.handedVelocity==null?c:{...c,handedVelocity:t.handedVelocity}),s.add(t.owner),o.push(e)}let c=new Set(o.map(e=>VF[e]));c.size>0&&Mt([...c].flatMap(e=>BF[e]),i),St(r.filter(([e])=>!c.has(e)));for(let e of s){if(e.settled||e.timer==null)continue;clearTimeout(e.timer);let t=i;for(let n of y.values())n.owner===e&&(t=Math.max(t,n.start+n.duration));e.timer=setTimeout(()=>at(e),Math.max(0,t-n()))}},Mt=(e,t)=>{let n=new Set;for(let t of e)n.add(VF[t]);n.has(`opacity`)&&(T=null);for(let e of n)Se(e,t);Me()},Nt=new Set,Pt=new Set,Ft=e=>{for(let t of[...Nt])if(e===`opacity`)Bt(t),It(t);else if(t.values.delete(e)){let n=t.owners.get(e)??t.owner;t.owners.delete(e),n.settled||it(n,!1)}},It=e=>{let t=[];for(let[n,r]of e.values)y.delete(n),_[n]=r,t.push(n);t.length>0&&Mt(t,n());for(let t of[e.owner,...e.carried])Pt.delete(t),t.settled||it(t,!1)},Lt=(e,t)=>{let n=[],r=new Map;for(let i of[...Nt]){for(let[n,a]of i.values){let o=i.owners.get(n)??i.owner;!t.includes(n)&&!e.values.has(n)?(e.values.set(n,a),r.set(n,o)):o.settled||it(o,!1)}n.push(i.owner,...i.carried),Bt(i)}for(let e of n)Pt.add(e);return{carried:n,owners:r}},Rt=e=>{let t=[...Nt].reverse().find(e=>e.fadeIn!=null);if(t==null)it(e,!0);else{for(let e of t.values.keys())t.owners.has(e)||t.owners.set(e,t.owner);t.carried.push(t.owner),Pt.add(t.owner),t.owner=e}},zt=()=>{let e=ce(`opacity`);for(let t of Nt)t.fadeIn==null?t.restore!=null&&(e=t.restore):e=t.fadeIn.to;return e},Bt=e=>{e.timer!=null&&clearTimeout(e.timer),Nt.delete(e)},Vt=e=>{let t=b.get(`opacity`),r=y.get(`opacity`)?.owner;if(t==null||r==null||r!==e.owner&&!e.carried.includes(r))return 0;if(t.playState===`paused`)return RF;let i=t.startTime,a=Number(t.effect?.getTiming?.().duration);if(!Number.isFinite(a))return 0;if(i==null)return t.playState===`running`?zF:0;let o=Number(i)+a-LF;if(e.due!=null&&o<=e.due)return 0;let s=o-n();return s>0?s:0},Ht=e=>{let t=Vt(e);t>0?(e.due=n()+t,e.timer=setTimeout(()=>Ht(e),t)):Wt(e)},Ut=(e,t,r,i)=>{let a=new Map;for(let t of r.values.keys())a.set(t,i?.owners.get(t)??e);let o={...r,owner:e,carried:i?.carried??[],owners:a,timer:null,due:null};Nt.add(o),e.timer!=null&&(clearTimeout(e.timer),e.timer=null),t.then(e=>{Nt.has(o)&&(o.due=e+o.at,o.timer=setTimeout(()=>Ht(o),Math.max(0,o.due-n())))})},Wt=e=>{Nt.delete(e),e.timer=null;let t=n(),r=[];for(let[t,n]of e.values)y.delete(t),_[t]=n,r.push(t);let i=t,a=e.due==null?0:Math.max(0,t-e.due),o=e.fadeIn!=null&&a>=e.fadeIn.ms;if(e.fadeIn!=null&&!o){let n=e.fadeIn.ms-a;y.set(`opacity`,ft(e.owner,t,[{at:0,value:q(`opacity`,t)},{at:n,value:e.fadeIn.to}])),r.push(`opacity`),i=t+n}else e.fadeIn==null?e.restore!=null&&(y.delete(`opacity`),_.opacity=e.restoreIsBorrowed===!0?bF.opacity:e.restore,r.push(`opacity`)):(y.delete(`opacity`),_.opacity=e.fadeIn.isBorrowed===!0?bF.opacity:e.fadeIn.to,r.push(`opacity`));Mt(r,t),e.restoreIsBorrowed===!0||o&&e.fadeIn?.isBorrowed===!0?Ee():e.fadeIn?.isBorrowed===!0&&(T=e.fadeIn.to);for(let t of e.carried)Pt.delete(t),t.settled||it(t,!0);let{owner:s}=e;s.settled||(i<=t?it(s,!0):s.timer=setTimeout(()=>at(s),Math.max(0,i-n())))},Gt=(e,t)=>{for(let t of e)t!==`opacity`&&Ft(t);if(t)for(let e of[...Nt]){for(let t of[e.owner,...e.carried])Kt.has(t)&&!t.settled&&it(t,!1);if(!(e.values.size>0)){Bt(e),(e.fadeIn?.isBorrowed===!0||e.restoreIsBorrowed===!0)&&(T=null);for(let t of[e.owner,...e.carried])Pt.delete(t),t.settled||it(t,!1)}}else for(let e of[...Nt])e.values.size===0&&e.fadeIn!=null&&(Bt(e),Wt(e))},Kt=new WeakSet,qt=null,Jt={valueAt:q,opacityHeading:()=>qt??zt(),ownOpacity:()=>we(),writesOwnOpacity:()=>Te(),get borrowedOpacity(){return T},get hasOpacityCurve(){return y.has(`opacity`)},get restingOpacity(){return _.opacity},get hasPendingLanding(){return Nt.size>0},get hasWaitingDip(){return[...Nt].some(e=>e.fadeIn!=null)}},Yt=(e,t,n,r,i,a)=>{let o=zt();Gt(r,n.opacity!=null||a!=null),n.opacity!=null&&Kt.add(e),qt=o;let s;try{s=KP(Jt,t,n,r,i,a)}finally{qt=null}let c={};for(let e of s.atOnce)c[e]=null;return s.opacityFade!=null&&(c.opacity=ft(e,t,s.opacityFade)),{next:c,holds:s.holds,landing:s.landing,borrowed:s.borrowed,joins:s.joins}},Xt={get element(){return E},reducedMotion(e={}){return h()?g()||e.touchRelease===!0?`crossfade`:`instant`:`off`},attach(e){if(e===E)return;Ke(),ue(!1),yt(),mt.clear(),e==null?(A=E,k||(k=!0,queueMicrotask(()=>{if(!k)return;k=!1,j(()=>{De(!1);for(let e of b.values())e.cancel();b.clear();for(let e of x.values())clearTimeout(e);x.clear();for(let e of C.values())clearTimeout(e);C.clear(),S.clear(),Ve(),Re()}),A=null;let e=n();for(let t of vF)rt(t,e);for(let e of[...O])e.settle()}))):(k=!1,A=null),Ve();let t=T!=null||[...Nt].some(e=>e.restoreIsBorrowed===!0),r=a==null||E==null?null:new Set(Object.keys(BF).filter(e=>b.has(e)&&!(e===`opacity`&&t)&&BF[e].every(e=>!y.has(e)&&_[e]===bF[e])));for(let e of b.values())e.cancel();b.clear();for(let e of x.values())clearTimeout(e);x.clear();for(let e of C.values())clearTimeout(e);if(C.clear(),S.clear(),t&&Ee(),E!=null){let e=E;U=r??new Set(Object.keys(BF).filter(t=>e.style.getPropertyValue(u(t))===m(t)))}let i=U;if(E=e,Re(),z=!1,E==null)return;U=new Set;let o=n(),s=y.get(`opacity`);T!=null&&(s==null||o>=s.start+s.duration)&&(T=null,y.delete(`opacity`),_.opacity=bF.opacity);for(let e of Object.keys(BF))BF[e].every(e=>!y.has(e)&&_[e]===bF[e])?i.has(e)&&(a==null?de(e,e=>_[e]):ge(e,o)):Se(e,o);Me(),Le()},get(e,t=n()){return Qe(),q(e===`scale`?`scaleX`:e,t)},getVelocity(e,t=n()){return Qe(),oe(e===`scale`?`scaleX`:e,t)},set(e,t={}){Qe(),Ke();let r=n(),i=dF(e);for(let[e,t]of Object.entries(i))rt(e,r),y.delete(e),pt.delete(e),_[e]=t;if(t.promote!==!1)for(let e of Object.keys(i))ze(VF[e]);Mt(Object.keys(i),r)},animate(e,t,r={}){Qe(),r.start!==`presented`&&Ke();let i=r.at??ZP(n),a=dF(e),o=dF(t.velocity??{}),{owner:s,finished:c}=st();nt.set(s,t.spring);let l=Object.keys(a),u={},d=null;if(h())d=Yt(s,i,a,l,g()||r.touchRelease===!0,r.crossfadeAs),Object.assign(u,d.next);else for(let e of l){let n=r.additive===!0&&o[e]==null?te(e,i):null;if(n!=null&&!W(n)){u[e]=ut(s,e,i,a[e],t.spring,n);continue}let c=o[e],l=oe(e,i),d=ct(s,e,i,a[e],t.spring,c??l),f=c!=null&&Math.abs(c-l)>SF[e]*TF;u[e]=d!=null&&f?{...d,handedVelocity:c}:d}let f=He(i,Object.keys(u),r.at,r.start);f!=null&&r.at==null&&r.start===`next-frame`&&(f.nextFrame=!0);let p=Ot(Object.keys(u),i,f,r.at),m=d?.landing==null?null:Lt(d.landing,Object.keys(u)),v=[];for(let[e,t]of Object.entries(u))if(rt(e,i),v.push(e),t==null){let t=d?.holds[e]??a[e]??q(e,i);y.delete(e),_[e]=t}else y.set(e,t);Ue(f,s,v,i,r.start===`presented`&&r.at==null,p),d?.borrowed!=null&&(T=d.borrowed),d?.joins===!0&&Rt(s);let b=d?.joins===!0?ot(s,[`opacity`],c,i,f,!0):ot(s,v,c,i,f);return d?.landing!=null&&Ut(s,b.started,d.landing,m),b},play(e,t={}){Qe(),t.start!==`presented`&&Ke();let r=t.at??ZP(n),{owner:i,finished:a}=st(),o={},s=Object.entries(e).sort(([e],[t])=>Number(t===`scale`)-Number(e===`scale`));for(let[e,t]of s)if(t!=null){if(!Number.isFinite(t.duration)||t.duration<0)throw RangeError(`animator: a curve needs a finite duration ≥ 0 (got ${t.duration})`);for(let n of _F([e]))o[n]=t}let c=Object.keys(o),l={};for(let e of c){let t=o[e];l[e]=t.at(t.duration)}let u=h()?Yt(i,r,l,c,g()||t.touchRelease===!0,t.crossfadeAs):null,d={...u?.next};for(let e of c){if(e in d)continue;let n=o[e],a=t.additive===!0?te(e,r):null;d[e]=a!=null&&!W(a)&&n.duration>0&&Math.abs(n.at(n.duration)-n.at(0))>1e-9?dt(i,r,n,a):n.duration===0?null:{start:r,duration:Math.min(EF,n.duration*1e3),target:l[e],at:e=>n.at(e/1e3),speed:e=>n.velocity(e/1e3),jumps:[],owner:i,source:n}}let f=He(r,Object.keys(d),t.at,t.start);f!=null&&t.at==null&&t.start===`next-frame`&&(f.nextFrame=!0);let p=Ot(Object.keys(d),r,f,t.at),m=u?.landing==null?null:Lt(u.landing,Object.keys(d)),v=[];for(let[e,t]of Object.entries(d))if(rt(e,r),v.push(e),t==null){let t=u?.holds[e]??l[e]??q(e,r);y.delete(e),_[e]=t}else y.set(e,t);Ue(f,i,v,r,t.start===`presented`&&t.at==null,p),u?.borrowed!=null&&(T=u.borrowed),u?.joins===!0&&Rt(i);let b=u?.joins===!0?ot(i,[`opacity`],a,r,f,!0):ot(i,v,a,r,f);return u?.landing!=null&&Ut(i,b.started,u.landing,m),b},decay(e,t={}){Qe(),Ke();let r=t.at??ZP(n),i=h(),a={};for(let t of yF){let n=e[t];i&&n?.isTransition===!0&&(a[t]=n.at(n.duration))}let o=Object.keys(a).length>0?Xt.animate(a,WF,{at:r,touchRelease:t.touchRelease}):null,{owner:s,finished:c}=st(),l=yF.filter(t=>e[t]!=null&&a[t]===void 0);if(o!=null&&l.length===0)return o;let u=He(r,l,t.at),d=Ot(l,r,u,t.at);for(let t of l){let n=e[t];rt(t,r),n.duration>0?y.set(t,{start:r,duration:Math.min(EF,n.duration*1e3),target:n.at(n.duration),at:e=>n.at(e/1e3),speed:e=>n.velocity(e/1e3),jumps:[],owner:s}):(y.delete(t),_[t]=n.at(0))}Ue(u,s,l,r,!1,d);let f=ot(s,l,c,r,u);if(o==null)return f;let p=o,m=e=>p.properties.includes(e);return{...f,properties:[...f.properties,...p.properties],started:Promise.all([f.started,p.started]).then(([e])=>e),finished:Promise.all([f.finished,p.finished]).then(([e,t])=>e&&t),value:(e,t)=>m(e)?p.value(e,t):f.value(e,t),velocity:(e,t)=>m(e)?p.velocity(e,t):f.velocity(e,t),stop:()=>{f.stop(),p.stop()}}},stop(e){Qe(),Ke();let t=n(),r=e==null?vF:_F(e),i=[],a=T!=null||[...Nt].some(e=>e.restoreIsBorrowed===!0),o=zt();for(let e of r){Ft(e);let n=y.get(e);if(n==null)continue;let r=pt.get(e);pt.delete(e);let s=n.isFade?a?bF.opacity:o:r!=null&&t-r.since>34?kt(r,t).value:q(e,t);rt(e,t),y.delete(e),_[e]=s,i.push(e)}Mt(i,t),a&&i.includes(`opacity`)&&Ee()},rebase(e,t={}){Qe(),Ke();let r=t.at??n(),i=dF(t.towards??{}),a=[],o=new Set;for(let[t,n]of Object.entries(dF(e))){if(n===0)continue;let e=pt.get(t);e!=null&&(e.offset+=n);let s=te(t,r);if(s==null){a.push(t),_[t]=q(t,r)+n,y.delete(t);continue}o.add(s.owner);let c=re(t,s),l=c==null&&s.group!=null&&!s.group.resolved?s.group:void 0,u=e=>{l!=null&&_e(l,s,e),y.set(t,e)},d=i[t];if(s.spring!=null&&d!=null&&Math.abs(s.target+n-d)<=DF){let e={...s,target:d,at:e=>s.at(e)+n};if(c==null){a.push(t),u(e);continue}let r=s.group;if(r!=null&&!r.resolved){_e(r,s,e),y.set(t,e),be(VF[t]);continue}}if(a.push(t),s.spring!=null){let e=q(t,r)+n,i=oe(t,r);c!=null&&K(s,VF[t],c);let a=ym(vm(s.spring),{from:e,to:s.target,velocity:i});u({start:l?.provisional??r,...l==null?{}:{group:l},duration:Math.min(EF,a.settleTime(xF[t])*1e3),target:s.target,at:e=>a.value(e/1e3),speed:e=>a.velocity(e/1e3),jumps:[],owner:s.owner,spring:s.spring})}else c!=null&&K(s,VF[t],c),u({...s,source:void 0,target:s.target+n,at:e=>s.at(e)+n})}Mt(a.filter(e=>!mt.has(VF[e])),r);for(let e of new Set(a.map(e=>VF[e])))mt.has(e)&&Dt(e,r);for(let e of o){if(e.settled||e.timer==null)continue;clearTimeout(e.timer);let t=r;for(let n of y.values())n.owner===e&&(t=Math.max(t,n.start+n.duration));e.timer=setTimeout(()=>at(e),Math.max(0,t-n()))}},async atRest(e){let t=e==null?vF:_F(e);return new Promise(e=>{let r={timer:null,settle:()=>{}},i=()=>{r.timer!=null&&clearTimeout(r.timer),O.delete(r),e()};r.settle=i,O.add(r);let a=()=>{r.timer=null,Qe();let e=n(),o=e;for(let e of t){let t=y.get(e);t!=null&&(o=Math.max(o,t.start+t.duration))}Nt.size>0?r.timer=setTimeout(a,16):o<=e?i():r.timer=setTimeout(a,o-e)};a()})},dispose(){Ke(),E==null&&k&&(E=A),A=null,k=!1,De(!1);for(let e of[...O])e.settle();let e=n();for(let t of vF)rt(t,e);for(let e of b.values())e.cancel();b.clear(),ve.clear(),yt(),mt.clear();for(let e of x.values())clearTimeout(e);x.clear(),ue(!1);for(let e of C.values())clearTimeout(e);C.clear(),S.clear(),Oe(),Ve(),Re(),E=null}};return Xt.attach(e),Xt}function _F(e){let t=new Set;for(let n of e)n===`scale`?(t.add(`scaleX`),t.add(`scaleY`)):t.add(n);return[...t]}var vF,yF,bF,xF,SF,CF,wF,TF,EF,DF,OF,kF,AF,jF,MF,NF,PF,FF,IF,LF,RF,zF,BF,VF,HF,UF,WF,GF=o((()=>{Zp(),_P(),Cm(),MP(),GP(),eh(),YP(),fc(),vF=[`x`,`y`,`rotate`,`scaleX`,`scaleY`,`opacity`],yF=[`x`,`y`],bF={x:0,y:0,rotate:0,scaleX:1,scaleY:1,opacity:1},xF={x:.05,y:.05,rotate:.01,scaleX:1e-4,scaleY:1e-4,opacity:.001},SF={x:.25,y:.25,rotate:.05,scaleX:5e-4,scaleY:5e-4,opacity:.004},CF=1e3/30,wF=2,TF=60,EF=3e4,DF=1e-6,OF=null,kF=0,AF=null,jF=null,MF=[],NF=new Map,PF=null,FF=null,IF=1200,LF=6e4,RF=100,zF=1e3/60,BF={translate:[`x`,`y`],rotate:[`rotate`],scale:[`scaleX`,`scaleY`],opacity:[`opacity`]},VF={x:`translate`,y:`translate`,rotate:`rotate`,scaleX:`scale`,scaleY:`scale`,opacity:`opacity`},HF=new WeakMap,UF={translate:`none`,rotate:`none`,scale:`none`,opacity:`1`},WF={spring:{duration:.5,bounce:0}}}));function KF(e,t){return jm(`springs.${e}`,t)}function qF(){Am(`springs`,AI,{roles:Object.keys(AI)})}var JF,YF,XF,ZF,QF,$F,eI,tI,nI,rI,iI,aI,oI,sI,cI,lI,uI,dI,fI,pI,mI,hI,gI,_I,vI,yI,bI,xI,SI,CI,wI,TI,EI,DI,OI,kI,AI,jI=o((()=>{Km(),JF=KF(`settle`,{duration:.5,bounce:0}),YF=KF(`quickChange`,{duration:.5,bounce:.15}),XF=KF(`emphasis`,{duration:.5,bounce:.3}),ZF=KF(`fingerTracking`,{response:.15,dampingRatio:.86}),QF=KF(`stateChange`,{response:.55,dampingRatio:1}),$F=KF(`directChange`,{response:.5,dampingRatio:.825}),eI=KF(`timedChange`,{duration:.5,bounce:0}),tI=KF(`viewChange`,{mass:3,stiffness:1e3,damping:500}),nI={response:.3,dampingRatio:1},rI={response:.3,dampingRatio:1},iI={response:.3,dampingRatio:.85},aI={duration:.6,bounce:0},oI={mass:3,stiffness:1e3,damping:500},sI={mass:3,stiffness:1e3,damping:500},cI={response:.3441442326,dampingRatio:1},lI={response:.3441442326,dampingRatio:.8},uI=KF(`sheetDismissSwipe`,{response:.3441442326,dampingRatio:.8}),dI={mass:1,stiffness:522.35,damping:45.71},fI={mass:1,stiffness:522.35,damping:45.71},pI={mass:1,stiffness:522.35,damping:45.71},mI={mass:1,stiffness:522.35,damping:45.71},hI=KF(`menuOpen`,{response:.32,dampingRatio:.8}),gI=KF(`menuClose`,{response:.35,dampingRatio:.85}),_I=KF(`subMenuOpen`,{response:.4,dampingRatio:.85}),vI=KF(`subMenuBack`,{response:.4,dampingRatio:1}),yI=KF(`contextMenuLift`,{response:.32,dampingRatio:.8}),bI=KF(`contextMenuDismiss`,{response:.35,dampingRatio:.85}),xI=KF(`contextMenuMorph`,{response:.3,dampingRatio:.8}),SI={response:.4,dampingRatio:1},CI={response:.3,dampingRatio:1},wI={mass:1,stiffness:555.0265,damping:47.118},TI={mass:3,stiffness:1e3,damping:500},EI=KF(`sliderRelease`,{response:.4,dampingRatio:1}),DI=KF(`sliderLift`,{response:.215,dampingRatio:.6}),OI=KF(`sliderDrop`,{response:.5,dampingRatio:.7}),kI={settle:JF,quickChange:YF,emphasis:XF,fingerTracking:ZF,stateChange:QF,directChange:$F,timedChange:eI,viewChange:tI,navigationPush:nI,navigationPop:rI,navigationInteractivePopFinish:iI,navigationBarElements:aI,sheetPresent:oI,sheetDismiss:sI,sheetDetent:cI,sheetReleaseFast:lI,sheetDismissSwipe:uI,alertPresent:dI,alertDismiss:fI,actionSheetPresent:pI,actionSheetDismiss:mI,menuOpen:hI,menuClose:gI,subMenuOpen:_I,subMenuBack:vI,contextMenuLift:yI,contextMenuDismiss:bI,contextMenuMorph:xI,menuReducedMotion:SI,switchThumbMove:CI,keyboard:wI,banner:TI,sliderRelease:EI,sliderLift:DI,sliderDrop:OI},AI={fingerTracking:ZF,emphasis:XF,settle:JF,quickChange:YF,viewChange:tI,timedChange:eI,stateChange:QF,directChange:$F,menuOpen:hI,menuClose:gI,subMenuOpen:_I,subMenuBack:vI,sheetDismissSwipe:uI,contextMenuLift:yI,contextMenuDismiss:bI,contextMenuMorph:xI,sliderRelease:EI,sliderLift:DI,sliderDrop:OI}}));function MI(e,t={}){if(!pF()&&!uc(e))return null;if(!(t.touchRelease===!0||mF()))return{duration:0,easing:`linear`};e!=null&&qm();let n=e==null?Ym.curve:VP(e,Ym.curve);return{duration:Ym.durationMs,easing:`cubic-bezier(${n.join(`, `)})`}}var NI=o((()=>{GF(),GP(),fc(),eh()}));function PI(e,t){let n=e.ownerDocument.defaultView;if(n==null)return null;for(let r=e.parentElement;r!=null;r=r.parentElement){if(K_.has(n.getComputedStyle(r).overflowY)&&r.scrollHeight>r.clientHeight)return r;if(r===t)return null}return null}function FI(e){let t=e.ownerDocument,n=PI(e);return n==null||n===t.body||n===t.documentElement?t.scrollingElement??t.documentElement:n}var II=o((()=>{J_()}));function LI(e,t,n,r){return r<=n?0:t>r?t-r:e{}));function zI(e,t,n,{entrance:r=!1}={}){if(!n.animated||n.curve==null||performance.now()>=n.start+n.curve.durationMs)return e.set(t),null;let i=r?{at:n.start,crossfadeAs:`entrance`}:{at:n.start},a=n.curve.durationMs/1e3,o=Xp(n.curve.points),s={};for(let[r,i]of Object.entries(t)){let t=e.get(r,n.start),c=e=>t+(i-t)*o(Math.min(1,Math.max(0,e/a)));s[r]={duration:a,at:c,velocity:e=>{if(e>=a)return 0;let t=Math.max(0,e-.001),n=Math.min(a,e+.001);return(c(n)-c(t))/(n-t)}}}return e.play(s,i)}var BI=o((()=>{Zp()}));function VI(e){return hL.add(e),()=>{hL.delete(e)}}function One(e){for(let t=e.parentElement;t!=null;t=t.parentElement)if(hL.has(t))return!0;return!1}function HI(e,t){return e.getBoundingClientRect().bottom-t.get(`y`)}function UI(e){let t=e.ownerDocument.defaultView?.getComputedStyle(e).translate??``;return parseFloat(t.split(` `)[1]??``)||0}function kne(e){let t=e.ownerDocument.defaultView,n=WI(e);if(t==null||n==null)return null;let r=GI(n,t);return r===`docked`?{docked:n}:r}function WI(e){let t=e.ownerDocument.defaultView;if(t==null)return null;for(let n=e.parentElement;n!=null;n=n.parentElement)if(t.getComputedStyle(n).position===`fixed`)return n;return null}function Ane(e,t){let n=t.getComputedStyle(e).transform,r=/^matrix(3d)?\\(([^)]*)\\)$/.exec(n);if(r==null)return 0;let i=(r[2]??``).split(`,`).map(Number),a=r[1]==null?i[5]:i[13];return a!=null&&Number.isFinite(a)?a:0}function GI(e,t){let n=sd(t),r=e.getBoundingClientRect();if(r.height>=n-1)return`fills-viewport`;let i=r.bottom-UI(e)-Ane(e,t);return Math.abs(n-i)<=1?`docked`:`floating`}function jne(e,t){let n=t.getComputedStyle(e).translate;if(n===``||n===`none`)return!1;let r=gL.get(e);return r==null||r.get(`y`)===0}function Mne(e){if(`transitionProperty`in e)return[String(e.transitionProperty)];let t=e.effect;if(t==null||!(`getKeyframes`in t))return[];let n=new Set;for(let e of t.getKeyframes())for(let t of Object.keys(e))vL.has(t)||n.add(t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`));return[...n]}function KI(e){if(typeof e.getAnimations!=`function`)return!1;let t=gL.has(e);return e.getAnimations().some(e=>{if(e.playState!==`running`)return!1;let n=`transitionProperty`in e;if(!n&&!(`animationName`in e))return!1;let r=Mne(e);return t&&n&&r.every(e=>e===`translate`)?!1:r.some(e=>_L.has(e))})}function qI(e){let t=e.ownerDocument.defaultView;return t!=null&&t.getComputedStyle(e).position===`fixed`&&GI(e,t)===`docked`}function JI(e,t,n,r){let i=e+n-(sd(r)-t);return t>0&&i>1?i:0}function Nne(e,t,n,r,i,a){if(!a&&(!qI(e)||KI(e)))return 0;let o=JI(HI(e,t),n,0,i),s=nL(e);if(s!=null){if(!a)return o;let e=JI(HI(s,t),n,r,i);return Math.max(o,e)}return lf(e.ownerDocument.activeElement)?0:t.get(`y`)<0?o:0}function YI(e,t,n,r=`instant`){let i=e.ownerDocument;e===(i.scrollingElement??i.documentElement)?n.scrollBy({top:t,behavior:r}):typeof e.scrollBy==`function`?e.scrollBy({top:t,behavior:r}):e.scrollTop+=t}function Pne(e,t){let n=e.ownerDocument,r=e===(n.scrollingElement??n.documentElement)?sd(t):e.clientHeight;return Math.max(0,e.scrollHeight-r)}function Fne(e){return rs(e.ownerDocument.defaultView)&&MI(e)==null}function XI(e,t,n,r,i=0){let a=e.ownerDocument,o=sd(r)-t,s=0,c=t>1?o-n:o;if(e!==(a.scrollingElement??a.documentElement)){let t=e.getBoundingClientRect();s=Math.max(s,t.top+i),c=Math.min(c,t.bottom+i)}return{top:s,bottom:c}}function ZI(e,t,n,r,i,a=0){let o=XI(t,n,r,i,a),s=e.getBoundingClientRect();return LI(s.top+a,s.bottom+a,o.top,o.bottom)}function QI(e,t,n,r,i,a=0){let o=XI(t,n,r,i),s=e.getBoundingClientRect();return s.top+a>=o.top-1&&s.bottom+a<=o.bottom+1}function $I(e,t,n,r,i,a=!0){let o=ZI(e,t,n,r,i);if(Math.abs(o)<=1)return 0;let s=uL(t,i),c=Math.min(Math.max(s+o,0),Pne(t,i)),l=a&&n>1&&Math.abs(c-s-o)<=1&&QI(e,t,n,r,i,-o)&&Fne(e),u=Wne(t,i)??s;return YI(t,o,i,l?`smooth`:`instant`),n>1&&fL(t,u,i,l?c:void 0),l?c-uL(t,i):0}function eL(e,t,n,r){yf(e,t,n);let i=e.ownerDocument.defaultView,a={bubbles:!0,cancelable:!0,composed:!0,detail:1,clientX:t,clientY:n,screenX:r.screenX,screenY:r.screenY},o=i?.PointerEvent,s=typeof o==`function`?new o(`click`,{...a,pointerType:`touch`,isPrimary:!0,pointerId:r.identifier}):new((i?.MouseEvent)??MouseEvent)(`click`,a);e.dispatchEvent(s)}function tL(e,t,n=!1){let r=pf(e,{owns:t,documentScrollIsReveal:n}),i=cf(e),a=null;return{report(t){let n=e.visualViewport?.offsetTop??0;t===i?a!=null&&Math.abs(n-a)<=1?(a=null,r.report()):r.isRevealPan(t)&&r.putBack():(a==null&&i>1&&r.isRevealPan(t)&&r.putBack(),i=t,r.report())},expectPan(e){a=e},stop:()=>r.stop()}}function Ine(e,t,n,r){let i=n.visualViewport;if(i==null)return!1;let a=e.getBoundingClientRect(),o=a.bottom+t-(i.offsetTop+i.height);if(o<=1)return!0;let s=sd(n)-i.offsetTop-i.height,c=Math.min(o,s,a.top-i.offsetTop);if(c<=1)return!1;let l=i.offsetTop+c;return r.expectPan(l),hf(n,l),c>=o-1}function nL(e){let t=e.ownerDocument.activeElement;return t!=null&&t!==e&&e.contains(t)&&lf(t)?t:null}function rL(e){return e!=null&&Qd(e)&&ss(e)}function Lne(e,{move:t,offset:n}){let r=e.ownerDocument,i=r.defaultView;if(!rL(i))return()=>{};let a=VI(e),o=cL(i),s=df(r,{claim:t=>t instanceof i.HTMLElement&&t!==e&&e.contains(t)&&lf(t)?t:null}),c=gf(e,{claim:t=>{let n=uf(t,e);return n!=null&&n!==r.activeElement?n:null},deliver:eL}),l=t===`ride`?aL(e,n,i,!0):iL(e,()=>nL(e),e,n,i);return()=>{l(!0),c(),s(),o(),a()}}function iL(e,t,n,r,i,a=`keep`){let o=n.ownerDocument,s=o.scrollingElement??o.documentElement,c=!0,l=!1,u=0,d=e=>{let o=t();if(o==null)return;l=e>1,u=yu(i).starts;let d=$I(o,n,e,r,i);if(a!==`keep`&&(c=d!==0||QI(o,n,e,r,i),!(c||e<=1))){if(a===`document`){if(n!==s&&$I(o,s,e,r,i)!==0){c=!0;return}}else{let t=o.getBoundingClientRect().top,n=i.scrollY;if($I(o,s,e,r,i,!1),Math.abs(o.getBoundingClientRect().top-t)<=1){let e=i.scrollY-n;if(e!==0){let t=i.scrollY;i.scrollBy({top:-e,behavior:`instant`}),fL(s,t,i)}}}c=Ine(o,r,i,f)}},f=tL(i,e=>e===t()&&c),p=cf(i),m=()=>sf(i)&&yu(i).starts!==u,h=of(i,e=>{e.type===`viewport`&&(Math.abs(e.height-p)>1&&(p=e.height,l&&m()||d(e.height)),f.report(e.height))}),g=()=>{pL(i),d(cf(i))};return e.addEventListener(`focusin`,g),d(cf(i)),()=>{h(),f.stop(),e.removeEventListener(`focusin`,g)}}function Rne(e,t,n){return t>1&&e.getBoundingClientRect().height>sd(n)-t+1}function zne(e){let t=nL(e),n=t==null?null:PI(t,e);return t==null||n==null?null:{field:t,scroller:n}}function Bne(e,t,n,r,i){if(!qI(e)||KI(e))return 0;let a=JI(HI(e,t),n,0,i),o=nL(e);if(o==null)return lf(e.ownerDocument.activeElement)?0:Math.min(Math.max(0,-t.get(`y`)),a);let s=JI(HI(o,t),n,r,i);return Math.min(s,a)}function Vne(e,t,n,r){let i=nL(e);if(i==null)return null;let a=JI(HI(i,t),n,4,r);return a>0?-a:null}function aL(e,t,n,r){yL.get(e)?.();let i=cF(e);gL.set(e,i);let a=tm(n)===`chromium`?am(n):null,o=`riding`,s=null,c=null,l=tL(n,t=>e.contains(t),a!=null),u=0,d=null,f=()=>{o=`ended`,s?.(),c?.(),s=null,c=null,l.stop(),h(),u!==0&&(n.cancelAnimationFrame(u),u=0),yL.get(e)===f&&yL.delete(e)};yL.set(e,f);let p=(a,s)=>{if(o===`ended`)return;let c=!r&&Rne(e,a,n),l=c?zne(e):null,u=c?l==null?Bne(e,i,a,t,n):0:Nne(e,i,a,t,n,r),d=u>0?-u:0,p=l==null?0:ZI(l.field,l.scroller,a,t,n,d-i.get(`y`));if(l!=null&&Math.abs(p)>1&&YI(l.scroller,p,n),d!==0||i.get(`y`)!==0){if(s==null)i.set({y:d});else{let t=s.kind===`show`?Vne(e,i,a,n):null;t!=null&&d{e!=null&&(d=e),u===0&&(u=n.requestAnimationFrame(()=>{u=0;let e=d;d=null,p(e?.to??a?.inset??cf(n),e)}))};s=of(n,e=>{e.type===`viewport`&&(a??m(null),l.report(e.height))}),a!=null&&(c=a.subscribe(m));let h=bu(n,`focusin`,()=>m(null));return m(null),(e=!1)=>{o!==`ended`&&(e||cf(n)<=1?(f(),i.get(`y`)!==0&&i.set({y:0})):o=`waiting`)}}function Hne(e,t,n,r){let i=t.scrollHeight-t.clientHeight-t.scrollTop,a=e.getBoundingClientRect();if(i=a.height-1}function oL(e,t,n){if(One(e))return null;let r=kne(e);if(r===`floating`||r===`fills-viewport`)return sL(e,WI(e),t,n);if(r==null){let t=FI(e);return t.scrollHeight>t.clientHeight?{reveal:t,unplaced:`document`}:null}let i=e.ownerDocument.defaultView;return i!=null&&jne(r.docked,i)?sL(e,r.docked,t,n):{ride:r.docked}}function sL(e,t,n,r){let i=t==null?null:PI(e,t);return i==null||!Hne(e,i,n,r)?null:{reveal:i,unplaced:`fixed`}}function Une(e,{offset:t=10}={}){let n=e.ownerDocument,r=n.defaultView;if(!rL(r))return()=>{};let i=cL(r),a=df(n,{claim:n=>n===e&&oL(e,t,r)!=null?e:null}),o=gf(e,{claim:()=>n.activeElement!==e&&oL(e,t,r)!=null?e:null,deliver:eL}),s=null,c=null,l=()=>{if(s!=null)return;let i=oL(e,t,r);i!=null&&(pL(r),s=`ride`in i?aL(i.ride,t,r,!1):iL(e,()=>n.activeElement===e?e:null,i.reveal,t,r,i.unplaced))},u=()=>{s?.(),c=s??c,s=null};return e.addEventListener(`focus`,l),e.addEventListener(`blur`,u),n.activeElement===e&&l(),()=>{e.removeEventListener(`focus`,l),e.removeEventListener(`blur`,u),s?.(!0),c?.(!0),s=null,c=null,o(),a(),i()}}function cL(e){CL.set(e,(CL.get(e)??0)+1);let t=!0;return()=>{if(!t)return;t=!1;let n=(CL.get(e)??1)-1;CL.set(e,n),n===0&&(xL.get(e)?.(),SL.get(e)?.())}}function lL(e){let t=e.ownerDocument;return e===(t.scrollingElement??t.documentElement)}function uL(e,t){return lL(e)?t.scrollY:e.scrollTop}function dL(e,t,n,r){lL(e)?r.scrollTo({top:t,behavior:n}):typeof e.scrollTo==`function`?e.scrollTo({top:t,behavior:n}):e.scrollTop=t}function fL(e,t,n,r=uL(e,n)){let i=r,a=bL.get(n)?.get(e);a==null?Math.abs(i-t)>=.5&&(bL.get(n)??Gne(n)).set(e,{from:t,at:i,isBack:!1}):a.at=a.at!=null&&Math.abs(t-a.at)<=1?i:null}function Wne(e,t){let n=bL.get(t)?.get(e);if(n?.at==null)return null;let r=uL(e,t),i=Math.min(n.from,n.at)-1,a=Math.max(n.from,n.at)+1;return r>=i&&r<=a?n.at:null}function Gne(e){let t=new Map,n=of(e,n=>{n.type===`viewport`&&n.height<=1&&(o(),qne(e,t))}),r=null,i=rs(e.document.defaultView)?a():[];function a(){return[bu(e,`touchstart`,()=>{}),bu(e,`touchend`,()=>{}),bu(e,`touchcancel`,()=>{}),bu(e,`focusout`,()=>{r!=null&&e.clearTimeout(r),r=e.setTimeout(()=>{r=null;let n=e.document.activeElement;yu(e).fingers===0&&(n==null||!nm(n)&&!im(n))&&Kne(e,t)},0)})]}function o(){n();for(let e of i)e();r!=null&&(e.clearTimeout(r),r=null),bL.delete(e),xL.delete(e)}return bL.set(e,t),xL.set(e,o),t}function Kne(e,t){for(let[n,r]of t)r.at==null||MI(n)!=null||Math.abs(uL(n,e)-r.at)>1||(r.at=r.from,r.isBack=!0,dL(n,r.from,`smooth`,e))}function pL(e){for(let[t,n]of bL.get(e)??[]){if(!n.isBack)continue;let r=uL(t,e);dL(t,r,`instant`,e),n.at=r,n.isBack=!1}}function qne(e,t){for(let[n,{from:r,at:i,isBack:a}]of t){if(i==null||a||!n.isConnected)continue;let t=uL(n,e);Math.abs(t-i)<=1?dL(n,r,mL(n),e):lL(n)&&Math.abs(t-r)<=1&&Jne(e,n,r,i)}t.clear()}function mL(e){return MI(e)==null?`smooth`:`instant`}function Jne(e,t,n,r){let i=e.document,a=bu(e,`scroll`,a=>{(a.target===i||a.target===e)&&(l(),Math.abs(uL(t,e)-r)<=1&&dL(t,n,mL(t),e))}),o=bu(e,`touchstart`,()=>l()),s=of(e,e=>{e.type===`viewport`&&e.height>1&&l()}),c=e.setTimeout(l,wL);SL.get(e)?.(),SL.set(e,l);function l(){e.clearTimeout(c),a(),o(),s(),SL.get(e)===l&&SL.delete(e)}}var hL,gL,_L,vL,yL,bL,xL,SL,CL,wL,TL=o((()=>{GF(),NI(),ds(),Pu(),fd(),II(),Xn(),os(),Of(),dm(),RI(),BI(),hL=Yn(`keyboard/keyboard-target/targets`,1),gL=Jn(`keyboard/keyboard-target/ridden-animators`,1),_L=new Set([`transform`,`translate`,`top`,`bottom`,`inset`,`inset-block`,`inset-block-start`,`inset-block-end`]),vL=new Set([`offset`,`computedOffset`,`easing`,`composite`]),yL=Jn(`keyboard/keyboard-target/current-rides`,1),bL=Jn(`keyboard/keyboard-target/scroll-back-added-scrolls`,1),xL=Jn(`keyboard/keyboard-target/scroll-back-stops`,1),SL=Jn(`keyboard/keyboard-target/scroll-back-fold-waits`,1),CL=Jn(`keyboard/keyboard-target/scroll-back-claimants`,1),wL=1e3}));function EL(){return sd(window)-cf(window)}function DL(e,t){let n=e-t;return n>1?n:0}function OL(){return cf(window)<=.5}function kL(){let e=Sd(document);return e!=null&&(nm(e)||im(e))}function AL(e,{move:t,inset:n=!1,offset:r=10,isEnabled:i=!0,isExpanded:a=!0,isOpen:o=!0,isPageScrollLocked:s=!1}={}){let[c,l]=(0,jL.useState)(0),u=(0,jL.useRef)(!1),d=(0,jL.useRef)(!1),f=nu(i),p=nu(a),m=nu(o),h=ps(is,!1),g=(0,jL.useCallback)(t=>{let n=e.current,r=document.activeElement;f.current&&n!=null&&r instanceof HTMLElement&&r!==n&&n.contains(r)&&(d.current=u.current,t==null?r.blur():t.focus({preventScroll:!0}))},[f,e]);return(0,jL.useEffect)(()=>{i&&!o&&g()},[g,i,o]),pP(e,e=>!i||n||!h?()=>{}:t==null?Une(e,{offset:r}):Lne(e,{move:t,offset:r}),`${i}|${t}|${n}|${r}|${h}`),pP(e,e=>{let t=e.querySelector(`[data-scroll-axis]`);if(!i||!n||t==null)return()=>{};let a=VI(e),o=null,c=null,f=0,g=0,_=h&&tm(window)===`chromium`?am(window):null,v=()=>{let e=t.firstElementChild;return _!=null&&e instanceof HTMLElement?cF(e):null},y=()=>{let e=t.firstElementChild;return e instanceof HTMLElement?UI(e):0},b=e=>{let t=_?.transition;return t!=null&&t.kind===`show`&&t.animated&&t.curve!=null&&(e||performance.now(){let n=e!==f,r=n?t.scrollHeight:0;f=e,(0,ML.flushSync)(()=>l(e)),n&&(g=e===0?0:Math.max(0,g+t.scrollHeight-r))},D=()=>{E(0),w!=null&&(c=null,t.scrollTop=w),o=null,C=null,w=null,S=null,u.current=!1,d.current=!1},O=(e,n,r=null,i=null)=>{c=null;let a=r==null?null:v();if(r!=null&&a!=null){let n=t.scrollTop;t.scrollTop=n+e;let o=t.scrollTop-n;if(o!==0){let e=a.get(`y`,r.start)+o;a.set({y:i==null?e:Math.min(e,i)}),zI(a,{y:0},r,{entrance:i!=null})}return}if(typeof t.scrollBy!=`function`){t.scrollTop+=e;return}let o=typeof window.matchMedia==`function`&&window.matchMedia(`(prefers-reduced-motion: reduce)`).matches,s=n&&!o?`smooth`:`instant`;s===`smooth`&&(c=t.scrollTop+e),t.scrollBy({top:e,behavior:s})},k=()=>{if(c==null)return 0;let e=Math.max(t.scrollTop,t.scrollHeight-t.clientHeight),n=Math.min(c,e)-t.scrollTop;return Math.abs(n)<1?0:n},A=(e,n,i=null)=>{let a=t.getBoundingClientRect(),o=e.getBoundingClientRect(),s=EL(),c=DL(a.bottom,s)>0?r:0,l=a.top,u=Math.min(a.bottom,s-c),d=k()+y(),f=o.bottom-d,p=LI(o.top-d,f,l,u);p>0?O(p,n,i,Math.max(0,s-u-4)):p<0&&O(p,n,i)},j=e=>{let t=EL();if(OL()||DL(e.bodyBottom,t)===0){D();return}let n=Math.max(0,e.bodyBottom-(t-r));E(n)},M=()=>df(document,{isActive:()=>p.current,claim:e=>uf(e,t),park:n=>{m.current&&uf(n,t)&&e.focus({preventScroll:!0})}}),N=(e=!1)=>{if(x!=null&&x.onReveal?.()!==!0)return;let n=EL(),i=document.activeElement,a=i instanceof HTMLElement&&t.contains(i)&&lf(i)?i:null;if(u.current&&OL()){let e=L();D(),p.current&&a!=null&&A(a,!1),e();return}if(!p.current||a==null){if(d.current&&o){let e=L();j(o),e(),p.current&&u.current&&!kL()&&R();return}D();return}u.current&&C!=null&&n>C+.5&&w!=null&&(c=null,t.scrollTop=w,C=n),d.current=!1;let l=t.getBoundingClientRect(),f=DL(l.bottom,n),m=f>0?r:0;o=f>0?{bodyBottom:l.bottom}:null,f>0&&!u.current&&(C=n,w=t.scrollTop,s&&(S={x:window.scrollX,y:window.scrollY})),u.current=f>0;let h=f>0?Math.max(0,l.bottom-(n-m)):0;E(h),A(a,f>0&&!NL.atReport.has(window),f>0?b(e):null)},P=()=>{let e=t.scrollTop,n=Math.max(0,t.scrollHeight-g-t.clientHeight),r=Math.min(n,w??e),i=document.activeElement;if(p.current&&i instanceof HTMLElement&&t.contains(i)&&lf(i)){let a=t.getBoundingClientRect(),o=i.getBoundingClientRect(),s=e-r-y();o.bottom+s>a.bottom?r+=o.bottom+s-a.bottom:o.top+s{let e=t.firstElementChild;return T&&_==null&&e instanceof HTMLElement?cF(e):null},I=(e,t)=>e.animate({y:t},{spring:wI}),L=()=>{let e=F();if(e==null)return()=>{};let n=e.get(`y`)-t.scrollTop;return()=>{let r=n+t.scrollTop;Math.abs(r-e.get(`y`))<.5||(e.set({y:r}),I(e,0))}},R=()=>{let e=F();if(e==null||x!=null)return;let n=t.scrollTop-P();if(n===0)return;let r={release:()=>{x===r&&(x=null)},onReveal:()=>{let n=document.activeElement;if(n instanceof HTMLElement&&t.contains(n)&&kL())return r.release(),I(e,0),!0;if(OL()){r.release();let n=e.get(`y`),i=e.getVelocity(`y`),a=t.scrollTop;D();let o=a-t.scrollTop;Math.abs(n-o)<.5?e.set({y:0}):(e.set({y:n-o}),e.animate({y:0},{spring:wI,velocity:{y:i}}))}return!1}};x=r,I(e,n)},z=e=>{x?.release();let n=v(),r=t.scrollTop-P(),i=n!=null&&r!==0?zI(n,{y:r},e):null,a,o=!1,s=()=>{N(),n?.set({y:0})},c={release:()=>{clearTimeout(a),x===c&&(x=null)},onReveal:()=>(o&&OL()&&(c.release(),s()),!1)};x=c;let l=()=>{x===c&&(o=!0,(!u.current||OL())&&(c.release(),s()))};if(i==null){let t=e.start+(e.curve?.durationMs??0);a=setTimeout(l,Math.max(0,t-performance.now()))}else i.finished.then(l)},B=_?.subscribe(e=>{if(e.curve!=null){if(e.kind===`hide`)u.current&&e.animated&&z(e);else if(x!=null){x.release();let t=v();t!=null&&zI(t,{y:0},e)}}}),V=0,H=()=>{cancelAnimationFrame(V),V=requestAnimationFrame(()=>N())},ee=()=>{let e=S;if(e==null||window.scrollX===e.x&&window.scrollY===e.y)return;window.scrollTo(e.x,e.y);let n=document.activeElement;n instanceof HTMLElement&&t.contains(n)&&lf(n)&&A(n,!1)},U=[],te=()=>{if(typeof ResizeObserver>`u`)return;for(let e of U)e();U=[];let n=new Set([t,e]);for(let e of t.children)n.add(e);let r=document.activeElement;if(r instanceof HTMLElement&&t.contains(r))for(let e=r;e&&e!==t;e=e.parentElement)n.add(e);for(let e of n)U.push(qi(e,H))},W=typeof MutationObserver>`u`?null:new MutationObserver(e=>{e.every(e=>e.type===`attributes`&&e.target===t)||(te(),H())}),G=()=>{te(),H()},ne=()=>{d.current=u.current,H()},re=t=>{t.target===e&&t.propertyName===`transform`&&H()},ie=T?M():null,K=cf(window),q=h?pf(window,{owns:e=>u.current&&t.contains(e),onTouch:()=>{c=null}}):null,ae=of(window,t=>{if(t.type===`viewport`){if(t.height!==K)K=t.height,q?.report(),cancelAnimationFrame(V),N(!0);else if(q?.isRevealPan(t.height)===!0){NL.atReport.add(window),cancelAnimationFrame(V);let t=k();t===0&&N();let n=document.activeElement,r=e.closest(`dialog`);r!=null&&n instanceof HTMLElement&&n.getBoundingClientRect().bottom-y()-t<=EL()&&q?.putBack(r)}else H()}});t.addEventListener(`focusin`,G),t.addEventListener(`focusout`,ne),e.addEventListener(`transitionend`,re);let oe=bu(window,`scroll`,e=>{let t=e.target;(!Zu(t)||$u(t))&&ee()});return W?.observe(t,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),te(),H(),()=>{a(),cancelAnimationFrame(V),ie?.(),ae(),B?.(),x?.release(),(v()??F())?.set({y:0}),q?.stop(),t.removeEventListener(`focusin`,G),t.removeEventListener(`focusout`,ne),e.removeEventListener(`transitionend`,re),oe();for(let e of U)e();W?.disconnect(),l(0),u.current=!1,d.current=!1}},`${i}|${n}|${s}|${h}|${r}`),{inset:c,dismiss:g}}var jL,ML,NL,PL=o((()=>{jL=u(f(),1),ML=g(),gP(),au(),gs(),GF(),jI(),Td(),Pu(),fd(),od(),Qi(),Xn(),Fv(),Of(),dm(),TL(),RI(),BI(),NL=Kn(`keyboard/use-mobile-keyboard/reveals-at-report`,1,()=>({atReport:new WeakSet}))})),Yne={\"@astryx.field.errorFallback\":`Invalid value`,\"@astryx.spinner.loading\":`Loading`,\"@astryx.textInput.clearLabel\":`Clear {label}`};D(),sE(),xO(),ZN(),TT(),Xx(),uE(),MC(),Ox(),bC(),dN(),gN(),vr(),vx(),dP(),PL(),iT();var Xne=GN;Ww(Yne);var Zne=`an error status has no message, so only colour and an icon show the error. Give status.message the text that says what is wrong.`;function FL({type:e=`text`,label:t,isLabelHidden:n=!1,description:r,isOptional:i=!1,isRequired:a=!1,isDisabled:o=!1,isReadOnly:s=!1,disabledMessage:c,startIcon:l,status:u,statusVariant:d=`attached`,size:f,onChange:p,changeAction:m,isLoading:h=!1,value:g,placeholder:_,labelTooltip:v,hasClear:y=!1,hasAutoFocus:b=!1,htmlName:x,onEnter:S,onKeyDown:w,enterKeyHint:T,inputMode:E,autoCapitalize:D,hasAutoCorrect:O,hasSpellCheck:k,width:A,containerXstyle:j,containerClassName:M,containerStyle:N,controlXstyle:P,controlClassName:F,controlStyle:I,ref:L,id:R,\"aria-describedby\":z,\"aria-labelledby\":B,...V}){let H=bE(),ee=(0,X.use)(xE),U=o||ee.isDisabled,{rest:te,container:W}=sP(`TextInput`,V,{containerXstyle:j,containerClassName:M,containerStyle:N}),G=nT(),ne=wne({isRequired:a,isOptional:i}),re=XN(te,U),ie=pE(f,`md`),K=(0,X.useId)(),q=R??K,ae=(0,X.useId)(),oe=(0,X.useId)(),se=(0,X.useId)(),ce=(0,X.useId)(),le=(0,X.useRef)(null);AL(le);let J=(0,X.useRef)(null),[,ue]=(0,X.useTransition)(),[de,fe]=(0,X.useOptimistic)(g),pe=h||de!==g;lP(pe,G(`@astryx.spinner.loading`),J);let me=U&&!!c,he=Gx({placement:`above`,focusTrigger:`always`,isEnabled:me}),{statusIcon:ge,describedBy:_e}=iP({status:u,statusVariant:d,isInGroup:!!H}),ve=!H&&u?.type===`error`&&!u.message;OC(`TextInput`,Zne,ve);let{ariaLabelledBy:ye,ariaDescribedBy:be}=$N(oe,[r?se:null,!H&&(d!==`tooltip`&&u?.message||ve)?ce:null,_e,me?he.describedBy:null],H),xe=B==null?ye:QN(ye??ae,B),Se=e=>{if(U||s)return;let t=e.target.value;p?.(t,e),m&&!e.defaultPrevented&&ue(async()=>{fe(t),await m(t,e)})},Ce=(0,X.useCallback)(e=>{let t=le.current;t!=null&&t.value!==``&&fP(t,``),!e||e.detail===0?le.current?.focus():le.current?.focus({preventScroll:!0})},[]),{onClick:we,onMouseUp:Te}=sN({containerRef:J,inputRef:le,disabled:U}),Ee=(0,Z.jsxs)(`div`,{ref:e=>{J.current=e,he.ref(e)},onClick:we,onMouseUp:Te,...H?SE:void 0,...Q(Y(`text-input`,{size:ie,status:u?.type??null,disabled:U?`disabled`:null,readonly:s?`readonly`:null}),C(WN.base,WN.textField,Xne[ie],U&&WN.disabled,U&&cP.ring,u&&KN[u.type],u&&!U&&qN[u.type],u&&JN[u.type],H&&CE.inGroup,P),F,I),children:[bO(l)&&eE(l,{size:`sm`,color:`secondary`}),H&&(0,Z.jsx)(cE,{id:oe,children:t}),(0,Z.jsx)(`input`,{...re,ref:gx(L,le),id:q,name:U?void 0:x,type:e,...eP({enterKeyHint:T,inputMode:E,autoCapitalize:D,hasAutoCorrect:O}),...k==null?{}:{spellCheck:k},value:de,onChange:Se,onKeyDown:U||S||w?e=>{U?e.key===`Enter`&&e.preventDefault():(e.key===`Enter`&&!Ex(e.nativeEvent)&&S?.(),w?.(e))}:void 0,placeholder:_,\"aria-disabled\":U?`true`:void 0,readOnly:s||U||void 0,autoFocus:b,\"data-autofocus\":b||void 0,\"aria-describedby\":[z,be].filter(Boolean).join(` `)||void 0,\"aria-required\":ne?`true`:void 0,\"aria-invalid\":u?.type===`error`?`true`:void 0,\"aria-busy\":pe||void 0,\"aria-labelledby\":xe,...{0:{className:`x1lliihq x98rzlu xeuugli xc342km xng3xce x1717udv x9ynric xjm74w1 xf9zqsd xw6l6zx x1tgivj0 xjbqb8w x1a2a7pz xeyghm5`},1:{className:`x1lliihq x98rzlu xeuugli xc342km xng3xce x1717udv x9ynric xjm74w1 xf9zqsd xw6l6zx x1tgivj0 xjbqb8w x1a2a7pz xeyghm5 xt0e3qv`}}[!!U|0]}),pe&&(0,Z.jsx)(mT,{size:`sm`,\"aria-hidden\":`true`}),y&&g!==``&&!U&&!s&&(0,Z.jsx)(UN,{label:G(`@astryx.textInput.clearLabel`,{label:t}),onClick:Ce}),ge]});return H?(0,Z.jsxs)(Z.Fragment,{children:[Ee,me&&he.renderTooltip(c)]}):(0,Z.jsxs)(LN,{...W,label:t,isLabelHidden:n,description:r,inputID:q,labelID:B==null?void 0:ae,descriptionID:r?se:void 0,isOptional:i,isRequired:a,isDisabled:U,status:u?{type:u.type,message:u.message,messageID:u.message?ce:void 0}:void 0,statusVariant:d,labelTooltip:v,width:A,children:[Ee,ve&&(0,Z.jsx)(cE,{id:ce,children:G(`@astryx.field.errorFallback`)}),me&&he.renderTooltip(c)]})}FL.displayName=`TextInput`;var Qne={center:{kGNEyG:`x6s0dn4`,$$css:!0},end:{kGNEyG:`xuk3077`,$$css:!0},start:{kGNEyG:`x1cy8zhl`,$$css:!0},stretch:{kGNEyG:`x1qjc9v5`,$$css:!0}},$ne={start:{kjj79g:`x1nhvcw1`,$$css:!0},center:{kjj79g:`xl56j7k`,$$css:!0},end:{kjj79g:`x13a6bvl`,$$css:!0},between:{kjj79g:`x1qughib`,$$css:!0},around:{kjj79g:`x1l1ennw`,$$css:!0},evenly:{kjj79g:`xaw8158`,$$css:!0}},ere={horizontal:{kXwgrk:`x1q0g3np`,$$css:!0},vertical:{kXwgrk:`xdt5ytf`,$$css:!0}},tre={nowrap:{kwnvtZ:`xozqiw3`,$$css:!0},wrap:{kwnvtZ:`x1a02dak`,$$css:!0},\"wrap-reverse\":{kwnvtZ:`x8hhl5t`,$$css:!0}},nre={stack:{k1xSpc:`x78zum5`,$$css:!0}},rre={0:{k1C7PZ:`x1o57wo1`,khm7nJ:`x6yxi7o`,$$css:!0},1:{k1C7PZ:`x1lfs0n9`,khm7nJ:`x1ngg2t4`,$$css:!0},2:{k1C7PZ:`xak3so`,khm7nJ:`x1x7z4sm`,$$css:!0},3:{k1C7PZ:`xewh9hi`,khm7nJ:`x4olc9o`,$$css:!0},4:{k1C7PZ:`xty4p9g`,khm7nJ:`xtx9w7w`,$$css:!0},5:{k1C7PZ:`x1eqhezk`,khm7nJ:`x1iu6piu`,$$css:!0},6:{k1C7PZ:`x3qlgwd`,khm7nJ:`xczp1bk`,$$css:!0},8:{k1C7PZ:`xicv188`,khm7nJ:`xgx0vcf`,$$css:!0},10:{k1C7PZ:`x1p37tyl`,khm7nJ:`x1xpicb7`,$$css:!0},\"0.5\":{k1C7PZ:`x1kihgfc`,khm7nJ:`x1tw44j4`,$$css:!0},\"1.5\":{k1C7PZ:`x1thn6ci`,khm7nJ:`xhq53yo`,$$css:!0}};function IL({crossAlign:e,direction:t,gap:n,mainAlign:r,wrap:i}){return[nre.stack,ere[t],n!=null&&rre[n],e!=null&&Qne[e],r!=null&&$ne[r],i!=null&&tre[i]]}var ire={reset:{kAzted:`x2lwn1j`,k7Eaqz:`xeuugli`,$$css:!0}},are={center:{kSGwAc:`xamitd3`,$$css:!0},end:{kSGwAc:`xpvyfi4`,$$css:!0},start:{kSGwAc:`xqcrz7y`,$$css:!0},stretch:{kSGwAc:`xkh2ocl`,$$css:!0}},ore={fill:{kzQI83:`x1iyjqo2`,$$css:!0},static:{kzQI83:`x1c4vz4f`,kmuXW:`x2lah0s`,$$css:!0}};function sre({crossAlignSelf:e,size:t}={}){return[ire.reset,ore[t??`static`],e!=null&&are[e]]}D(),TM(),bC(),vr();var cre={scrollable:{kVQacm:`xysyzu8`,$$css:!0}};function LL({direction:e=`vertical`,hAlign:t,vAlign:n,justify:r,align:i,gap:a,padding:o,paddingInline:s,paddingInlineStart:c,paddingInlineEnd:l,paddingBlock:u,paddingBlockStart:d,paddingBlockEnd:f,isScrollable:p,width:m,height:h,maxWidth:g,minHeight:_,wrap:v,as:y=`div`,xstyle:b,className:x,style:S,children:w,ref:T,...E}){let D=t??(e===`horizontal`?r:i),O=n??(e===`horizontal`?i:r),k=e===`horizontal`?D:O,A=e===`horizontal`?O:D,j=c??s??o,M=l??s??o,N=d??u??o,P=f??u??o,F=C(...IL({direction:e,crossAlign:A,mainAlign:k,gap:a,wrap:v}),j!=null&&xM[j],M!=null&&SM[M],N!=null&&CM[N],P!=null&&wM[P],p&&cre.scrollable,b),I={...m!=null&&{width:typeof m==`number`?`${m}px`:m},...h!=null&&{height:typeof h==`number`?`${h}px`:h},...g!=null&&{maxWidth:typeof g==`number`?`${g}px`:g},..._!=null&&{minHeight:typeof _==`number`?`${_}px`:_}};return(0,X.createElement)(y,{ref:T,...Q(Y(`stack`,{direction:e,gap:a,wrap:v}),F,x,{...S,...I}),...E},w)}LL.displayName=`Stack`;function RL({ref:e,justify:t,align:n,hAlign:r,vAlign:i,...a}){return(0,Z.jsx)(LL,{...a,direction:`horizontal`,hAlign:r??t,vAlign:i??n,ref:e})}RL.displayName=`HStack`;function zL({ref:e,justify:t,align:n,hAlign:r,vAlign:i,...a}){return(0,Z.jsx)(LL,{...a,direction:`vertical`,hAlign:r??n,vAlign:i??t,ref:e})}zL.displayName=`VStack`;var lre={\"@astryx.scrollRegion.label\":`Content`};function BL(e,t){let n=e.toLowerCase(),r=n.startsWith(`vertical`)||n.startsWith(`sideways`),i=t===`rtl`;return r?{inline:`y`,block:`x`,inlineReversed:n===`sideways-lr`?!i:i,blockReversed:n.endsWith(`-rl`)}:{inline:`x`,block:`y`,inlineReversed:i,blockReversed:!1}}function ure(e){return e===`auto`||e===`scroll`||e===`overlay`}function dre(e,t){let n=getComputedStyle(e);return t===`x`?{clientExtent:e.clientWidth,contentExtent:e.scrollWidth,offset:e.scrollLeft,overflow:n.overflowX}:{clientExtent:e.clientHeight,contentExtent:e.scrollHeight,offset:e.scrollTop,overflow:n.overflowY}}function VL(e,t){return e.isConnected&&t.display!==`none`&&e.clientWidth>0&&e.clientHeight>0}function HL(e,t,n){if(!VL(e,getComputedStyle(e)))return null;let r=n[t],i=r===`x`?e.clientWidth:e.clientHeight;return(r===`x`?e.scrollWidth:e.scrollHeight)-i>1}function UL(e,t,n){if(!VL(e,getComputedStyle(e)))return null;let r=n[t],i=dre(e,r),a=i.contentExtent-i.clientExtent;return!ure(i.overflow)||a<=1?GL:{isScrollable:!0,...WL(i.offset,a,n[`${t}Reversed`])}}function WL(e,t,n){let r=Math.min(t,Math.max(0,n?Math.abs(e):e));return{atStart:r<=1,atEnd:r>=t-1}}function fre(e,t,n){if(!e.isConnected||e.clientWidth<=0||e.clientHeight<=0)return null;let r=n[t]===`x`,i=n[`${t}Reversed`],a=r?e.scrollLeft:e.scrollTop,o=r?e.scrollWidth-e.clientWidth:e.scrollHeight-e.clientHeight;return{overflows:o>1,...WL(a,o,i),contradictsMapping:i?a>1:a<-1}}var GL,KL=o((()=>{GL={isScrollable:!1,atStart:!0,atEnd:!0}}));KL(),t_(),Qi();var pre={attributes:!0,attributeFilter:[`class`,`dir`,`hidden`,`style`],characterData:!0,childList:!0,subtree:!0};function qL(e,t){let n=!0,r=null,i=null,a=()=>{if(r=null,!n)return;let a=getComputedStyle(e),o=BL(a.writingMode,a.direction),s=UL(e,`inline`,o),c=UL(e,`block`,o);if(s==null||c==null)return;let l=s.isScrollable||c.isScrollable;l!==i&&(i=l,t(l))},o=()=>{n&&r==null&&(r=window.requestAnimationFrame(a))},s=new Map,c=()=>{let t=new Set(Array.from(e.children));for(let[e,n]of s)t.has(e)||(n(),s.delete(e));for(let e of t)s.has(e)||s.set(e,qi(e,o))},l=()=>{c(),o()};a(),c();let u=qi(e,o),d=Xg(e,pre,l);window.addEventListener(`resize`,o),window.visualViewport?.addEventListener(`resize`,o),e.addEventListener(`load`,o,!0),e.addEventListener(`transitionend`,o),e.addEventListener(`animationend`,o);let f=document.fonts;return f?.addEventListener?.(`loadingdone`,o),f?.ready.then(o),()=>{n=!1,r!=null&&(window.cancelAnimationFrame(r),r=null),u(),d();for(let e of s.values())e();s.clear(),window.removeEventListener(`resize`,o),window.visualViewport?.removeEventListener(`resize`,o),e.removeEventListener(`load`,o,!0),e.removeEventListener(`transitionend`,o),e.removeEventListener(`animationend`,o),f?.removeEventListener?.(`loadingdone`,o)}}iT(),Ww(lre);function JL({isScrollable:e,role:t,label:n}){let r=nT(),[i,a]=(0,X.useState)(!1),o=t!=null,s=(0,X.useCallback)(t=>{if(t==null||!e||o)a(!1);else return qL(t,a)},[o,e]),c=!o&&e&&i;return{ref:s,role:t??(c?`group`:void 0),\"aria-label\":n??(c?r(`@astryx.scrollRegion.label`):void 0)}}var YL=typeof Intl.Segmenter==`function`?new Intl.Segmenter(void 0,{granularity:`grapheme`}):null;function XL(e){if(YL){let t=YL.segment(e)[Symbol.iterator]().next();return t.done?``:t.value.segment}let t=e.codePointAt(0);return t==null?``:String.fromCodePoint(t)}function mre(e,t){return e==null?`fallback:${typeof t==`function`?t():t}`:`id:${e}`}function ZL(e){let t=e.auxiliaryData;return typeof t?.group==`string`?t.group:void 0}function hre(e,{ungroupedFirst:t=!1}={}){if(!e.some(e=>ZL(e)!=null))return[{heading:null,items:e}];let n=[],r=new Map,i=[];for(let t of e){let e=ZL(t);e==null?i.push(t):(r.has(e)||(n.push(e),r.set(e,[])),r.get(e)?.push(t))}let a=n.map(e=>({heading:e,items:r.get(e)??[]})),o=i.length>0?[{heading:null,items:i}]:[];return t?[...o,...a]:[...a,...o]}var QL,$L,eR=o((()=>{QL={kbCHJM:`x1nrll8i`,k3aq6I:`xsqj5wx`,$$css:!0},$L={mirror:{k3aq6I:`xgtlewx`,$$css:!0},centerInline:e=>[QL,{\"--x-transform\":`translate(-50%, ${e})`==null?void 0:`translate(-50%, ${e})`}]}}));AM();function gre({container:e,children:t}){return(0,Z.jsx)(kM,{value:e,children:t})}D(),dM(),TM(),vr();var tR={card:{\"--_card-radius\":`x2kkz0m`,\"--_card-radius-top-left\":`x1gjg4y`,\"--_card-radius-top-right\":`x1ur0lmo`,\"--_card-radius-bottom-right\":`xkl5mm8`,\"--_card-radius-bottom-left\":`x19py3nq`,\"--_card-radius-start-start\":`x6fxh76`,\"--_card-radius-start-end\":`x195ugj0`,\"--_card-radius-end-start\":`xcbdnlk`,\"--_card-radius-end-end\":`xdnta9e`,kaIpWk:`x153u1i6`,k7Eaqz:`xeuugli`,kVQacm:`x7giv3`,kGVxlE:`x1p8z4y0`,$$css:!0},withBorder:{kMzoRj:`x1litavf`,ksu8eU:`x1y0btm7`,kVAM5u:`x14i3s5s`,kZCmMZ:`xs19ii7`,kwRFfy:`x12frdag`,kLKAdn:`x1nex4ik`,kGO01o:`xbv1mwh`,$$css:!0},corners:{\"--_container-host-radius\":`x1as34vp`,\"--_container-host-radius-top-left\":`xspp1mx`,\"--_container-host-radius-top-right\":`x1tkjg3g`,\"--_container-host-radius-bottom-right\":`xjxkvnp`,\"--_container-host-radius-bottom-left\":`xprenbh`,\"--_container-host-radius-start-start\":`x1fiew8m`,\"--_container-host-radius-start-end\":`x1wyi48l`,\"--_container-host-radius-end-start\":`x1xfe2ni`,\"--_container-host-radius-end-end\":`x1buvt6y`,$$css:!0},scrollable:{kVQacm:`xysyzu8`,$$css:!0}},_re={default:{kWkggS:`x1de1mus`,$$css:!0},transparent:{kWkggS:`xjbqb8w`,$$css:!0},muted:{kWkggS:`xwmxj5m`,$$css:!0},blue:{kWkggS:`x1o0wnni`,$$css:!0},cyan:{kWkggS:`x1rgj867`,$$css:!0},gray:{kWkggS:`xspzpui`,$$css:!0},green:{kWkggS:`x1sqjeoo`,$$css:!0},orange:{kWkggS:`x1e9xt6e`,$$css:!0},pink:{kWkggS:`xnpoty2`,$$css:!0},purple:{kWkggS:`x16i6n6f`,$$css:!0},red:{kWkggS:`x1cibrc5`,$$css:!0},teal:{kWkggS:`x1jtji5o`,$$css:!0},yellow:{kWkggS:`x1bo7t0x`,$$css:!0}},vre={none:{\"--_card-elevation\":`xw28qpl`,$$css:!0},low:{\"--_card-elevation\":`x1nn8khe`,$$css:!0},med:{\"--_card-elevation\":`x1ovzxg0`,$$css:!0},high:{\"--_card-elevation\":`xnpe7fx`,$$css:!0}},yre={sizing:(e,t,n,r)=>[{kzqmXN:e==null?e:`x5lhr3w`,kZKoxP:t==null?t:`x16ye13r`,ks0D6T:n==null?n:`xf68679`,kAzted:r==null?r:`x82snj4`,$$css:!0},{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(e),\"--x-height\":(e=>typeof e==`number`?e+`px`:e??void 0)(t),\"--x-maxWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(n),\"--x-minHeight\":(e=>typeof e==`number`?e+`px`:e??void 0)(r)}]};function nR({width:e,height:t,maxWidth:n,minHeight:r,children:i,padding:a,variant:o=`default`,elevation:s=`none`,xstyle:c,className:l,style:u,ref:d,...f}){let p=t!=null&&t!==`auto`,m=a==null?void 0:hM[a];return(0,Z.jsx)(`div`,{ref:d,...Q(Y(`card`,{variant:o,elevation:s}),C(tR.card,_re[o],vre[s],p&&tR.scrollable,yre.sizing(e??null,t??null,n??null,r??null),...Bj(m==null?{useThemeDefault:`card`}:{paddingInnerX:m,paddingInnerY:m,paddingOuterX:m,paddingOuterY:m}),tR.corners,fM.fromHostRadius,fM.publish,o===\"default\"&&tR.withBorder,c),l,u),...f,children:(0,Z.jsx)(gre,{container:`card`,children:i})})}nR.displayName=`Card`,ys();var rR=_s(`LayoutAreaContext`,1,null);rR.displayName=`LayoutAreaContext`,Xf();var iR={hasHeader:!1,hasFooter:!1,hasStart:!1,hasEnd:!1},aR=Uf(`LayoutSlotsContext`,1,iR);aR.displayName=`LayoutSlotsContext`,D(),bC(),xO(),vr(),TM();function bre(e){if(e==null||typeof e==`number`)return!0;let t=e.trim().toLowerCase();return t.includes(`%`)?!1:t===`0`||/^-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)[a-z]+$/.test(t)||/^(?:calc|min|max|clamp)\\(/.test(t)}var oR={layoutOuter:{keTefX:`xojxgvx`,k71WvV:`x1fcf3bl`,keoZOQ:`x1sa9bsh`,k1K539:`x6h7pi7`,$$css:!0},layoutInner:{\"--container-padding-inline-start\":`xrhngw9`,\"--container-padding-inline-end\":`xjsfl84`,\"--container-padding-block-start\":`x1047aw6`,\"--container-padding-block-end\":`xax9j7h`,\"--layout-content-width\":`x1vpwbdg`,\"--layout-alignment-width\":`x19kr0ht`,\"--layout-padding-own-outer-x\":`x1vii845`,\"--layout-padding-own-outer-y\":`xojybgt`,\"--_layout-flush-block-start\":`xu9n9za`,\"--_layout-flush-block-end\":`xt8hc1d`,$$css:!0},fill:{kZKoxP:`x12qplqi`,kskxy:`xenllk4`,$$css:!0},auto:{kAzted:`x1us19tq`,$$css:!0},middle:{kUk6DE:`x98rzlu`,kAzted:`x2lwn1j`,\"--_layout-flush-block-start\":`x1akq5vd`,\"--_layout-flush-block-end\":`x51rtne`,$$css:!0},middleQuery:{k9g6sI:`xsw3flo`,$$css:!0},singleColumnContent:{kzqmXN:`xh8yej3`,ks0D6T:`xjl2t3p xpgkkid`,kUOVxO:`xvueqy4`,$$css:!0},singlePanelMiddle:{kB7OPa:`x9f619`,kzqmXN:`xh8yej3`,ks0D6T:`xjl2t3p xnpzo02`,kUOVxO:`xvueqy4 xb0m1lw`,$$css:!0},singleStartPanel:{kZCmMZ:`x1vvd0s7`,$$css:!0},singleEndPanel:{kwRFfy:`xxdn8bs`,$$css:!0},fullBleed:{\"--layout-padding-own-outer-x\":`xbjcssu`,\"--layout-padding-own-outer-y\":`x1bz2q72`,$$css:!0}},xre={kzqmXN:`xh8yej3`,kUOVxO:`xvueqy4`,$$css:!0},sR={contentWidthVar:e=>[{\"--layout-content-width\":(typeof e==`number`?`${e}px`:e)==null?typeof e==`number`?`${e}px`:e:`x4906uf`,$$css:!0},{\"--x---layout-content-width\":(typeof e==`number`?`${e}px`:e)==null?void 0:typeof e==`number`?`${e}px`:e}],contentAlignmentWidthVar:e=>[{\"--layout-alignment-width\":(typeof e==`number`?`${e}px`:e)==null?typeof e==`number`?`${e}px`:e:`x1b1nz06`,$$css:!0},{\"--x---layout-alignment-width\":(typeof e==`number`?`${e}px`:e)==null?void 0:typeof e==`number`?`${e}px`:e}],contentWidth:e=>[xre,{ks0D6T:(typeof e==`number`?`${e}px`:e)==null?typeof e==`number`?`${e}px`:e:`xf68679`,$$css:!0},{\"--x-maxWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(typeof e==`number`?`${e}px`:e)}]};function cR({area:e,children:t}){return t==null?null:(0,Z.jsx)(rR,{value:e,children:t})}var Sre={\"x-default-marker\":`x-default-marker`,$$css:!0};function lR({children:e,content:t,contentWidth:n,defaultHasDividers:r,end:i,footer:a,header:o,height:s=`fill`,padding:c,ref:l,start:u,xstyle:d,className:f,style:p,...m}){let h=s===`fill`,g=t??e,_=(0,X.useMemo)(()=>r==null?null:{defaultHasDividers:r},[r]),v=bO(o),y=bO(a),b=bO(u),x=bO(i),S=b&&x,w=b!==x,T=n!=null&&bre(n),E=(0,X.useMemo)(()=>({hasHeader:v,hasFooter:y,hasStart:b,hasEnd:x}),[v,y,b,x]),D=(0,Z.jsx)(aR,{value:E,children:(0,Z.jsx)(`div`,{...m,ref:l,...Q(Y(`layout`,{height:s}),C(oR.layoutOuter,h?oR.fill:oR.auto,d),f,p),children:(0,Z.jsxs)(`div`,{...C(Sre,oR.layoutInner,...IL({direction:`vertical`}),h?oR.fill:oR.auto,c===0&&oR.fullBleed,c!=null&&yM[c],c!=null&&bM[c],n!=null&&sR.contentWidthVar(n),T&&sR.contentAlignmentWidthVar(n)),children:[(0,Z.jsx)(cR,{area:`header`,children:o}),(0,Z.jsxs)(`div`,{...C(...IL({direction:`horizontal`}),oR.middle,n!=null&&(!T||S)&&sR.contentWidth(n),T&&!S&&oR.middleQuery,T&&w&&oR.singlePanelMiddle,T&&b&&!x&&oR.singleStartPanel,T&&!b&&x&&oR.singleEndPanel),children:[(0,Z.jsx)(cR,{area:`start`,children:u}),(0,Z.jsx)(`div`,{...C(...sre({size:`fill`}),T&&!b&&!x&&oR.singleColumnContent),children:(0,Z.jsx)(cR,{area:`content`,children:g})}),(0,Z.jsx)(cR,{area:`end`,children:i})]}),(0,Z.jsx)(cR,{area:`footer`,children:a})]})})});return _==null?D:(0,Z.jsx)($M,{value:_,children:D})}lR.displayName=`Layout`,D(),AM(),vx(),bC(),vr(),TM(),zj();var uR={content:{kB7OPa:`x9f619`,kZKoxP:`x5yr21d`,kUk6DE:`x98rzlu`,kAzted:`x2lwn1j`,kVQacm:`x7giv3`,kZCmMZ:`xwjyata`,kwRFfy:`x1peupej`,kLKAdn:`x1q01h0h`,kGO01o:`x12g7ifj`,\"--container-padding-inline-start\":`x408pgh`,\"--container-padding-inline-end\":`xikqloz`,\"--container-padding-block-start\":`xzrhu1o`,\"--container-padding-block-end\":`x165zlxo`,$$css:!0},noStart:{kZCmMZ:`xaku5ci`,\"--container-padding-inline-start\":`xt2a87w`,$$css:!0},noEnd:{kwRFfy:`x19eyx77`,\"--container-padding-inline-end\":`xhq06x6`,$$css:!0},noHeader:{kLKAdn:`xuqi0w`,\"--container-padding-block-start\":`x186o6qk`,$$css:!0},noFooter:{kGO01o:`x1363qu6`,\"--container-padding-block-end\":`xfsxxt8`,$$css:!0},scrollable:{kVQacm:`xysyzu8`,$$css:!0},constrainedNoPanelsStart:{kZCmMZ:`xhlv5e7`,$$css:!0},constrainedNoPanelsEnd:{kwRFfy:`x1ahicqp`,$$css:!0},constrainedSingleStartPanel:{kwRFfy:`xy07wb4`,$$css:!0},constrainedSingleEndPanel:{kZCmMZ:`xxjme2g`,$$css:!0},fullBleed:{kZCmMZ:`x1c1uobl`,kwRFfy:`xyri2b`,kLKAdn:`xexx8yu`,kGO01o:`x18d9i69`,\"--container-padding-inline-start\":`xrhngw9`,\"--container-padding-inline-end\":`xjsfl84`,\"--container-padding-block-start\":`x1047aw6`,\"--container-padding-block-end\":`xax9j7h`,$$css:!0}};function dR({children:e,isScrollable:t=!0,padding:n,label:r,role:i,xstyle:a,className:o,style:s,ref:c,...l}){let{hasHeader:u,hasFooter:d,hasStart:f,hasEnd:p}=(0,X.use)(aR),m=n===0,h=JL({isScrollable:t,role:i,label:r}),g=(0,X.use)(kM),_=gx(c,h.ref);return(0,Z.jsx)(`div`,{ref:_,role:h.role,\"aria-label\":h[`aria-label`],...Q(Y(`layout-content`,{container:g}),C(uR.content,!f&&!m&&n==null&&uR.noStart,!p&&!m&&n==null&&uR.noEnd,!u&&!m&&n==null&&uR.noHeader,!d&&!m&&n==null&&uR.noFooter,t&&uR.scrollable,m&&uR.fullBleed,n!=null&&pM[n],n!=null&&gM[n],n!=null&&_M[n],n!=null&&vM[n],!f&&!p&&!m&&uR.constrainedNoPanelsStart,!f&&!p&&!m&&uR.constrainedNoPanelsEnd,f&&!p&&!m&&uR.constrainedSingleStartPanel,!f&&p&&!m&&uR.constrainedSingleEndPanel,Rj.publish,a),o,s),...l,children:e})}dR.displayName=`LayoutContent`;var fR={\"@astryx.resizable.collapsed\":`Collapsed`,\"@astryx.resizable.handle.label\":`Resize handle`};function pR(e){return typeof window>`u`?null:e===`vertical`?window.innerHeight:window.innerWidth}function mR(e,t,n){return e==null?void 0:Math.max(e,t,n)}function Cre(e,t=M_.decelerationRate.normal){if(!(t>0&&t<1))throw RangeError(`projection: rate must be in (0, 1), got ${t}`);return e/1e3*t/(1-t)}function hR(e,t,n=M_.decelerationRate.normal){return e+Cre(t,n)}function wre(e,{position:t,velocity:n,rate:r=M_.decelerationRate.normal,fromIndex:i,maxSteps:a}){if(e.length===0)throw RangeError(`projection: selectSnapPoint needs at least one point`);let o=hR(t,n,r),s=0,c=e.length-1;if(i!=null&&a!=null){let t=Math.min(Math.max(i,0),e.length-1);s=Math.max(s,t-a),c=Math.min(c,t+a)}let l=s,u=1/0;for(let t=s;t<=c;t++){let r=Math.abs(e[t]-o),i=Math.abs(r-u)<1e-9,a=Math.sign(e[t]-e[l])===Math.sign(n);(r{N_()}));function _R(e,t,n=M_.rubberBand.coefficient){if(!(t>0))return 0;let r=(1-1/(Math.abs(e)*n/t+1))*t;return e<0?-r:r}function Tre(e,t,n=M_.rubberBand.coefficient){if(!(t>0))return 0;let r=Math.abs(e);if(r>=t)return e<0?-1/0:1/0;let i=t/n*r/(t-r);return e<0?-i:i}function Ere(e,t,n=M_.rubberBand.coefficient){if(!(t>0))return 0;let r=Math.abs(e)*n/t+1;return n/(r*r)}var vR=o((()=>{N_()})),yR=`astryx-resizable:`;function bR(e,t,n,r){let i=Math.min(n,Math.max(t,e));if(r.length>0){let e=r[0],a=Math.abs(i-e);for(let t=1;t`u`)return null;try{let t=localStorage.getItem(yR+e);if(t==null)return null;let n=JSON.parse(t);if(typeof n==`number`)return Number.isFinite(n)?n===0?{size:null,isCollapsed:!0}:{size:n,isCollapsed:null}:null;if(typeof n==`object`&&n){let{size:e,isCollapsed:t}=n,r=typeof e==`number`&&Number.isFinite(e)&&e>0;if(r||t===!0)return{size:r?e:null,isCollapsed:t===!0}}}catch{}return null}function Dre(e,t){if(typeof window<`u`)try{localStorage.setItem(yR+e,JSON.stringify(t))}catch{}}var SR=1200,CR=`Use a non-negative number of pixels, an exact \"Npx\" string, an exact \"N%\" string from 0% to 100%, pixel(value), or percent(value, {min: pixel(value)}) / percent(value, {max: pixel(value)}).`,Ore=/^(\\d+(?:\\.\\d+)?)px$/,kre=/^(\\d+(?:\\.\\d+)?)%$/;function Are(e){let t=Ore.exec(e);if(t){let e=Number(t[1]);return Number.isFinite(e)?{kind:`px`,value:e}:null}let n=kre.exec(e);if(n){let e=Number(n[1]);return Number.isFinite(e)&&e<=100?{kind:`percent`,value:e}:null}return null}function wR(e){if(typeof e!=`object`||!e||Array.isArray(e))return null;let t=e;return t.type===`pixel`&&typeof t.value==`number`&&Number.isFinite(t.value)&&t.value>=0?t.value:null}function jre(e){if(Array.isArray(e))return null;let t=e;if(t.type!==`percent`||typeof t.value!=`number`||!Number.isFinite(t.value)||t.value<0||t.value>100)return null;let n=t.min!==void 0;if(n===(t.max!==void 0))return null;if(n){let e=wR(t.min);return e==null?null:{kind:`percent`,value:t.value,min:e}}let r=wR(t.max);return r==null?null:{kind:`percent`,value:t.value,max:r}}function TR(e){if(typeof e==`number`)return Number.isFinite(e)&&e>=0?{kind:`px`,value:e}:null;if(typeof e==`string`)return Are(e);if(typeof e==`object`&&e){let t=wR(e);return t==null?jre(e):{kind:`px`,value:t}}return null}function ER(e){return e?.kind===`percent`}function Mre(e,t){if(e.kind===`px`)return e.value;if(t==null)return null;let n=Math.round(e.value/100*t);return e.min===void 0?e.max===void 0?n:Math.min(n,e.max):Math.max(n,e.min)}function DR(e){if(typeof e==`number`&&!Number.isFinite(e))return String(e);try{return JSON.stringify(e)??String(e)}catch{return String(e)}}function OR(e){if(typeof e!=`object`||!e||Array.isArray(e))return DR(e);let t=e;return t.type===`pixel`?`{\"type\":\"pixel\",\"value\":${DR(t.value)}}`:DR(e)}function Nre(e){if(typeof e==`object`&&e&&!Array.isArray(e)){let t=e;if(t.type===`pixel`)return OR(e);if(t.type===`percent`){let e=[`\"type\":\"percent\"`,`\"value\":${DR(t.value)}`];return t.min!==void 0&&e.push(`\"min\":${OR(t.min)}`),t.max!==void 0&&e.push(`\"max\":${OR(t.max)}`),`{${e.join(`,`)}}`}}return DR(e)}function kR(e,t,n,r,i,a,o,s=`useResizable`){return e===void 0?r:e===1/0&&r===1/0?1/0:t==null?(o?.(s,`${i}: ${Nre(e)} is not a size. ${a} Falling back to ${r}.`,i),r):Mre(t,n)??r}function Pre(e,t,n){let r=n?.contentBoxSize?.[0];if(r)return t===`vertical`?r.blockSize:r.inlineSize;let i=typeof window>`u`?null:window.getComputedStyle(e);if(i==null)return null;let a=t===`vertical`?e.clientHeight-parseFloat(i.paddingTop)-parseFloat(i.paddingBottom):e.clientWidth-parseFloat(i.paddingLeft)-parseFloat(i.paddingRight);return Number.isFinite(a)?a:null}var AR=new WeakMap,jR=new WeakMap,MR=new WeakMap;function NR(e){return`props`in e?e.props:e}function PR(e){return MR.get(e)}function FR(e){return AR.get(e)}function IR(e,t){let n=jR.get(e);n==null?e._onResizeEnd():n(t)}function LR(e,t){AR.set(e,t)}function RR(e,t){jR.set(e,t)}function zR(e,t){MR.set(e,t)}function BR(e,t,n){return{x:e*t.x+(1-e)*n.x,y:e*t.y+(1-e)*n.y}}function VR(e){let t=e.length;if(t<2)return UR;let n=HR(e[t-2],e[t-1]);return t===2?n:BR(WR,n,HR(e[t-3],e[t-2]))}function HR(e,t){let n=t.time-e.time;return n<=0?UR:{x:(t.x-e.x)/n*1e3,y:(t.y-e.y)/n*1e3}}var UR,WR,GR,KR,qR=o((()=>{B_(),UR={x:0,y:0},WR=z_.currentWeight.value,GR=z_.scrollReleaseWeight.value,KR=class{newest=null;moved=[];moves=0;pan=UR;previousPan=UR;constructor(e={}){this.stillness=e.stillness??z_.stillness.value}reset(){this.newest=null,this.moved=[],this.moves=0,this.pan=UR,this.previousPan=UR}add(e,t,n,{isMotion:r=!1}={}){if(this.newest!=null&&n3&&this.moved.shift(),i!=null&&(this.moves+=1,this.previousPan=this.pan)),this.pan=VR(this.moved))}offsetBy(e,t){let n=n=>({...n,x:n.x+e,y:n.y+t});this.newest=this.newest==null?null:n(this.newest),this.moved=this.moved.map(n)}scaleBy(e){let t=t=>({...t,x:t.x*e,y:t.y*e});this.newest=this.newest==null?null:t(this.newest),this.moved=this.moved.map(t),this.pan={x:this.pan.x*e,y:this.pan.y*e},this.previousPan={x:this.previousPan.x*e,y:this.previousPan.y*e}}addSamples(e){for(let t of e)this.add(t.x,t.y,t.time)}get lastSample(){return this.newest}velocity(e){return e!=null&&!this.releases(e)?UR:this.pan}scrollVelocity(e){return this.releases(e)?BR(GR,this.pan,this.previousPan):UR}releases(e){let t=this.moved[this.moved.length-1];return this.moves>=2&&t!=null&&e-t.time<=this.stillness}}}));qR();function JR(e){document.body.style.cursor=e?`col-resize`:`row-resize`,document.body.style.userSelect=`none`}function YR(){document.body.style.cursor=``,document.body.style.userSelect=``}function XR(e,t,n){let r=[...new Set(e.snaps.map(t=>Math.min(e.maxPx,Math.max(e.minPx,t))))].sort((e,t)=>e-t),{size:i}=e,a=t>0?r.filter(e=>e>i):r.filter(e=>e{let t=e();return t==null?1:t.ownerDocument.defaultView?.getComputedStyle(t).direction===`rtl`?-1:1},s=()=>{let e=i;i=null;let t=e?.target;e!=null&&t!=null&&t.hasPointerCapture?.(e.pointerId)===!0&&t.releasePointerCapture(e.pointerId),e!=null&&YR(),r?.(!1)};return{get isDragging(){return i!=null},pointerDown(e){let s=n();if(s.isDisabled||i!=null)return;e.preventDefault(),e.stopPropagation();let c=e.currentTarget,l=typeof c?.setPointerCapture==`function`?c:null;l?.setPointerCapture?.(e.pointerId);let u=s.direction===`horizontal`;i={pointerId:e.pointerId,startPos:u?e.clientX:e.clientY,rtl:u?o():1,target:l},a.reset(),a.add(e.clientX,e.clientY,e.timeStamp??0),r?.(!0),t.start(),JR(u)},pointerMove(e){if(i==null||i.pointerId!==e.pointerId)return;let r=n(),o=r.direction===`horizontal`?e.clientX:e.clientY,s=r.isReversed?-1:1;a.add(e.clientX,e.clientY,e.timeStamp??0),t.move((o-i.startPos)*i.rtl*s)},pointerUp(e){if(i?.pointerId!==e.pointerId)return;let r=n(),{x:o,y:c}=a.velocity(e.timeStamp??0),l=r.isReversed?-1:1,u=(r.direction===`horizontal`?o:c)*i.rtl*l;s(),t.end(u)},pointerCancel(e){i?.pointerId===e.pointerId&&(s(),t.cancel())},interrupt(){i!=null&&(s(),t.cancel())},keyDown(e){let r=n();if(r.isDisabled||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey&&!e.key.startsWith(`Arrow`))return;let i=t.state(),a=r.direction===`horizontal`,s=r.isReversed?-1:1,c=e.shiftKey?50:10,l=a?o():1,u=e=>(e===`ArrowRight`||e===`ArrowDown`?1:e===`ArrowLeft`||e===`ArrowUp`?-1:0)*(a?l:1)*s>0;switch(e.key){case`ArrowRight`:case`ArrowDown`:case`ArrowLeft`:case`ArrowUp`:if(e.preventDefault(),i.isCollapsed){u(e.key)&&ZR(t,Math.max(i.minPx+c,i.collapsedSize));break}if(i.snaps.length>0){ZR(t,XR(i,u(e.key)?1:-1,e.shiftKey?2:1)-i.size);break}ZR(t,(e.key===`ArrowRight`||e.key===`ArrowDown`?1:-1)*c*(a?l:1)*s);break;case`Home`:e.preventDefault(),ZR(t,i.minPx-i.size);break;case`End`:e.preventDefault(),i.maxPx!==1/0&&ZR(t,i.maxPx-i.size);break;case`Enter`:e.preventDefault(),i.collapsible&&QR(t)}},doubleClick(){!n().isDisabled&&t.state().collapsible&&QR(t)}}}function ez(e,t){return e.localName.includes(`-`)?t?.get(e.localName)?.formAssociated===!0:!1}function tz(e,t){if(e.width===0||e.height===0)return!0;let n=e.getContext(`2d`,{willReadFrequently:!0});if(n==null)return!0;try{n.drawImage(t,0,0);let{data:r}=n.getImageData(0,0,e.width,e.height);for(let e=3;e{let n=i?.getComputedStyle(e).getPropertyValue(`anchor-name`);n!=null&&n!==``&&n!==`none`&&r[t].style?.setProperty(`anchor-name`,`none`)});let a=e.ownerDocument.defaultView?.customElements;for(let e of r)(e.matches(iz)||ez(e,a))&&e.setAttribute(`form`,``);for(let e of t.querySelectorAll(`iframe, video, audio, source, embed, object`))for(let t of[`src`,`srcdoc`,`data`,`autoplay`])e.removeAttribute(t);let o=e.querySelectorAll(`canvas`);return Array.from(t.querySelectorAll(`canvas`)).every((e,t)=>tz(e,o[t]))?(t.setAttribute(`aria-hidden`,`true`),t.setAttribute(`inert`,``),t.style.pointerEvents=`none`,t):null}function rz(e){for(let t=e;t;t=t.parentElement){let e=getComputedStyle(t).backgroundColor;if(e!==`transparent`&&!/^rgba\\(.*,\\s*0\\)$/.test(e))return e}return`Canvas`}var iz,az=o((()=>{iz=`button, fieldset, input, object, output, select, textarea`}));function oz(e){return e.getElementsByTagName(`*`).length<=hz}function sz(e){let t=parseFloat(e.getPropertyValue(`line-height`)),n=parseFloat(e.getPropertyValue(`font-size`));return Number.isFinite(t)&&n>0?Math.round(t/n*1e3)/1e3:null}function cz(e){let t=new Map,n=getComputedStyle(e);for(let e of gz)t.set(e,n.getPropertyValue(e));if(typeof e.computedStyleMap==`function`){let n=e.computedStyleMap().get(`line-height`);n!=null&&`unit`in n&&n.unit===`number`&&`value`in n&&t.set(`line-height`,String(n.value))}else{let e=sz(n);e!=null&&t.set(`line-height`,String(e))}for(let e=0;e{(e.scrollTop!==0||e.scrollLeft!==0)&&i.push([r[t],e.scrollTop,e.scrollLeft])}),vz.set(t,i),_z.set(t,cz(e)),yz.set(t,{saved:oee(e),copyOf:new Map(n.map((e,t)=>[e,r[t]]))}),t}function uz(e){for(let[t,n,r]of vz.get(e)??[])typeof t.scrollTo==`function`?t.scrollTo({top:n,left:r,behavior:`instant`}):(t.scrollTop=n,t.scrollLeft=r)}function dz(e,t){let n=getComputedStyle(t);for(let[t,r]of _z.get(e)??[])r!==``&&(t===`line-height`||n.getPropertyValue(t)!==r)&&e.style.setProperty(t,r)}function fz(e,t,n,r=null){Object.assign(e.style,{position:`absolute`,boxSizing:`border-box`,margin:`0px`,left:`0px`,top:`0px`,width:`${n.width}px`,height:`${n.height}px`}),t.insertBefore(e,r),dz(e,t);let i=e.getBoundingClientRect(),a=Math.abs(e.offsetWidth-n.width)<1?n.width:e.offsetWidth,o=Math.abs(e.offsetHeight-n.height)<1?n.height:e.offsetHeight,s=i.width>0&&a>0?i.width/a:1,c=i.height>0&&o>0?i.height/o:1;e.style.width=`${n.width/s}px`,e.style.height=`${n.height/c}px`,e.style.left=`${(n.left-i.left)/s}px`,e.style.top=`${(n.top-i.top)/c}px`,uz(e);let l=yz.get(e);l!=null&&(yz.delete(e),see(l.saved,e,e=>l.copyOf.get(e)??null))}function pz(e){let t=lz(e);if(t==null)return null;t.removeAttribute(`role`),t.removeAttribute(`tabindex`),Object.assign(t.style,{position:`absolute`,top:`${-e.scrollTop}px`,left:`${-e.scrollLeft}px`,boxSizing:`border-box`,width:`${e.clientWidth}px`,height:`auto`,padding:getComputedStyle(e).padding,borderWidth:`0px`,margin:`0px`,overflow:`visible`,translate:`none`});let n=e.ownerDocument.createElement(`div`);n.setAttribute(`aria-hidden`,`true`),n.setAttribute(`inert`,``),Object.assign(n.style,{overflow:`hidden`,pointerEvents:`none`}),n.appendChild(t),vz.set(n,(vz.get(t)??[]).filter(([e])=>e!==t));let r=_z.get(t);r!=null&&_z.set(n,r);let i=yz.get(t);i!=null&&(yz.set(n,i),yz.delete(t));let a=e.getBoundingClientRect();return{copy:n,rect:DOMRect.fromRect({x:a.left+e.clientLeft,y:a.top+e.clientTop,width:e.clientWidth,height:e.clientHeight})}}function mz(e){let t=e.ownerDocument.createTreeWalker(e,4),n=[];for(;t.nextNode();)t.currentNode.textContent?.trim()&&n.push(t.currentNode);let r=new Set;for(let t of n){let n=t.parentElement;if(n?.closest(`style, script, textarea, title, noscript`)!=null)continue;if(n?.namespaceURI===bz){let e=n.closest(`text`);e!=null&&r.add(e);continue}let i=e.ownerDocument.createElement(`span`);t.replaceWith(i),i.appendChild(t),r.add(i)}return[...r]}var hz,gz,_z,vz,yz,bz,xz=o((()=>{Bg(),az(),hz=1500,gz=`color.color-scheme.cursor.direction.font-family.font-feature-settings.font-size.font-stretch.font-style.font-variant.font-variation-settings.font-weight.hyphens.letter-spacing.line-height.list-style-type.overflow-wrap.tab-size.text-align.text-indent.text-shadow.text-transform.visibility.white-space.word-break.word-spacing.writing-mode`.split(`.`),_z=new WeakMap,vz=new WeakMap,yz=new WeakMap,bz=`http://www.w3.org/2000/svg`}));function Sz(e,t){let n=e.ownerDocument.defaultView;return typeof n?.matchMedia==`function`&&n.matchMedia(t).matches}function Cz(e){let t=yee(e,{duration:`--duration-medium`,easing:`--ease-move`}),n=vee(e,`--ease-move`);if(t==null||n==null)return null;let r=t.duration*1e3;return{durationMs:r,easing:n,remaining:e=>e>=r?0:1-t.at(e/1e3)}}function wz(e,t){lV.set(e,t);let n=e.ownerDocument.defaultView;n?.requestAnimationFrame(()=>{n.requestAnimationFrame(()=>lV.delete(e))})}function Tz(e,t){let n=vm(e),r=ym(n,{from:0,to:1,velocity:t}),i=bm(n,{initialVelocity:t})*1e3,a=e=>e>=i?0:1-r.value(e/1e3);return{durationMs:i,easing:PP(i,e=>1-a(e)),remaining:a}}function Ez(e){for(let t=e;t!=null;t=t.parentElement){let e=lV.get(t);if(e!=null)return e}}function Dz(e){if(Sz(e,`(prefers-reduced-motion: reduce)`)||uc(e)){if(!Sz(e,`(pointer: coarse)`))return{kind:`instant`};let[t,n,r,i]=Ym.curve;return{kind:`fade`,durationMs:Math.min(cV,Ym.durationMs),easing:`cubic-bezier(${t}, ${n}, ${r}, ${i})`}}let t=Ez(e)??Cz(e);return t==null?{kind:`instant`}:{kind:`glide`,progress:t}}function Oz(e,t){let n=NP(e),r=[];for(let i=0;it(e.remaining(n)))}function Az(e){return Math.round(e*1e3)/1e3}function jz(){fV.length!==0&&yP(()=>{for(let e of fV.splice(0))e.remove();for(let e of[...dV]){let{element:t}=e;t.isConnected&&t.ownerDocument.defaultView!=null||e.remove()}})}function Mz(e){let t=[];for(let[n,r]of e.entries()){let i=/^(-?[\\d.e+-]+)px (-?[\\d.e+-]+)px$/.exec(String(r.translate??``));if(i==null)return null;t.push({at:r.offset??n/Math.max(1,e.length-1),x:Number(i[1]),y:Number(i[2])})}return t.length>0?t:null}function Nz(e,t){let n=e=>[...String(e??``).matchAll(/(-?\\d*\\.?\\d+(?:e[+-]?\\d+)?)([a-z%]*)/gi)],r=n(e),i=n(t);return r.length===i.length&&r.every(([,e,t],n)=>{let r=[`px`,`%`].includes(t.toLowerCase())?pV:mV;return Math.abs(Number(e)-Number(i[n][1]))<=r})}function Pz(e){let t=e[e.length-1];if(t==null)return null;let n=Object.keys(t).filter(e=>!hV.has(e)),r=null;for(let i=e.length-2;i>=0;--i){let a=e[i];if(!n.every(e=>Nz(a[e],t[e])))break;r=a.offset??i/(e.length-1)}return r}function Fz(e,t){let n=Number(t.duration),r=(t.easing??`linear`)===`linear`?Pz(e):null;return r==null||!(n>0)?null:(t.delay??0)+r*n}function Iz(e,t){if(typeof e.requestAnimationFrame!=`function`)return()=>{};let n=gV.get(e);if(n==null){let t=new Set;n=t,gV.set(e,t);let r=()=>{for(let e of t)(!e.element.isConnected||e.frame())&&t.delete(e);t.size===0?gV.delete(e):e.requestAnimationFrame(r)};e.requestAnimationFrame(r)}let r=n;return r.add(t),()=>{r.delete(t)}}function Lz(e,t,n,r,i){let a=e.ownerDocument.defaultView;if(a==null||!(`style`in e))return;let o=e,s=Fz(n,r),c=!1;_V.set(t,(e,t)=>{s=Fz(e,{...r,duration:t})});let l=Iz(a,{element:e,frame:()=>s==null||(t.currentTime==null?t.startTime!=null&&a.performance.now()>=Number(t.startTime)+s:Number(t.currentTime)>=s)&&(wP(o),c=!0,i?.(),!0)}),u=()=>{l(),_V.delete(t),c&&i==null&&TP(o)};t.addEventListener?.(`finish`,u),t.addEventListener?.(`cancel`,u)}function Rz(e,t,n){_V.get(e)?.(t,n)}function zz(e,t,n,r,i){let a=e.ownerDocument.defaultView,o=Number(r.duration),s=(r.easing??`linear`)===`linear`&&r.delay==null?Mz(n):null;if(a==null||s==null||!(o>0)||!(`style`in e)||e.closest(`[inert]`)!=null)return;let c=e,l=()=>a.performance.now(),u=e=>{let n=t.startTime,r=n==null?0:Math.min(1,Math.max(0,(e-Number(n))/o)),a=1;for(;a0?Math.min(1,Math.max(0,(r-c.at)/u)):1;return{x:(c.x+(l.x-c.x)*d)*i.x,y:(c.y+(l.y-c.y)*d)*i.y}},d=u(l()),f=!1,p=!1,m={};uV.set(e,m);let h=xP(e,{offset:(e=l())=>{if(f)return{x:0,y:0};let t=u(e);return{x:t.x-d.x,y:t.y-d.y}},resolve:()=>{f||(wP(c),d=u(l()))}}),g={element:e,remove:()=>{p||(p=!0,dV.delete(g),h(),uV.get(e)===m&&(uV.delete(e),TP(c)))}};dV.add(g);let _=()=>{f||(f=!0,fV.push(g),setTimeout(jz,0))};return t.addEventListener?.(`finish`,_),t.addEventListener?.(`cancel`,_),()=>{!f&&uV.get(e)===m&&(d=u(l()))}}function Bz(e,t,n,r,i={x:1,y:1}){if(typeof e.animate!=`function`)return null;let a;try{a=e.animate(t,n)}catch{return null}yV.add(a);let o=e.ownerDocument,s=o.timeline?.currentTime;if(s!=null){let e=r!=null&&r.frame===Number(s)?r:Hz(o,Number(s));if(e.last=Vz(o),a.startTime=e.at,e.at!==Number(s)){let e=a.effect?.getTiming().fill;a.effect?.updateTiming({fill:e===`forwards`||e===`both`?`both`:`backwards`})}}let c=n.pseudoElement==null?zz(e,a,t,n,i):void 0;return Lz(e,a,t,n,c),a}function Vz(e){return(e.defaultView?.performance??performance).now()}function Hz(e,t){let n=Vz(e),r=vV.get(e);if(r!=null&&r.frame===t)return r.last=n,r;let i={frame:t,at:n-t<=34?t:n,last:n};return vV.set(e,i),(e.defaultView?.setTimeout??setTimeout)(()=>{vV.get(e)===i&&vV.delete(e)},0),i}function Uz(e){let t=vV.get(e);t!=null&&Vz(e)-t.last>34&&vV.delete(e)}function Wz(e){let t=e.timeline?.currentTime;return t==null?0:Hz(e,Number(t)).at}function Gz(e,t){let n=e.getBoundingClientRect(),r=SV.get(e),i=r?.animation.startTime;if(r==null||i==null)return n;let a=e.ownerDocument.defaultView?.getComputedStyle(e).translate??``;if(a.includes(`%`))return n;let[o=0,s=0]=Kz(a),c=r.offsetAt(Math.max(0,t-Number(i)));return new DOMRect(n.x+(c.x-o)*r.scale.x,n.y+(c.y-s)*r.scale.y,n.width,n.height)}function Kz(e){return(e.match(/-?(?:\\d+\\.?\\d*|\\.\\d+)(?:e[+-]?\\d+)?/gi)??[]).map(Number)}function qz(e,t){if(t===`none`||e===`scale`)return!0;if(t.includes(`var(`))return!1;if(e===`translate`)return Kz(t).every(e=>e===0);if(e===`rotate`){let e=Kz(t);return e.length>0&&e[e.length-1]===0}let n=[...t.matchAll(/([a-z0-9]+)\\(([^)]*)\\)/gi)];return n.length>0&&n.every(([,e,t])=>{let n=Kz(t),r=e.toLowerCase();return r===`matrix`?n.length===6&&[1,2,4,5].every(e=>n[e]===0):r===`matrix3d`?n.length===16&&n.every((e,t)=>t%5==0||e===0):r===`rotate3d`?n[3]===0:r.startsWith(`scale`)?!0:r.startsWith(`translate`)||r.startsWith(`rotate`)||r.startsWith(`skew`)?n.every(e=>e===0):!1})}function Jz(e){let t=e.ownerDocument.defaultView?.getComputedStyle(e);return t!=null&&bV.some(e=>{let n=t.getPropertyValue(e);return n!==``&&n!==`none`&&!qz(e,n)})?!0:typeof e.getAnimations==`function`&&e.getAnimations().some(e=>{if(yV.has(e))return!1;let t=e.effect;return t instanceof KeyframeEffect&&t.getKeyframes().some(e=>bV.some(t=>t in e&&!qz(t,String(e[t]))))})}function Yz(e,t){let n=NP(e),r=Array.from({length:n},(r,i)=>t(i/(n-1)*e));return t=>{let i=Math.min(Math.max(t/e,0),1)*(n-1),a=Math.min(Math.floor(i),n-2),o=i-a,s=r[a],c=r[a+1];return{x:s.x+(c.x-s.x)*o,y:s.y+(c.y-s.y)*o}}}function Xz(e){return SV.get(e)?.animation??null}function Zz(e){let t=e[CV];return typeof t==`function`?t():null}function Qz(e){return Object.freeze(Object.defineProperty({},CV,{value:e}))}function $z(e,t){let n=Zz(e);return n!=null&&n!==t&&n.contains(t)?n:null}function eB(e,t){if(t.display===`none`||t.visibility===`hidden`||t.position===`absolute`||t.position===`fixed`)return!1;try{if(e.matches(`:popover-open, :modal`))return!1}catch{}return!0}function tB(e,t){return{start:e.top-t,end:e.bottom+t}}function nB(e,t){let n=t.parts.get(e);if(n===void 0){let r=e.ownerDocument.defaultView?.getComputedStyle(e);n=r==null?!1:r.display===`contents`?`contents`:eB(e,r),t.parts.set(e,n)}return n}function rB(e){if(e==null)return!1;let t=e.ownerDocument.defaultView?.getComputedStyle(e);if(t==null)return!1;let n=t.getPropertyValue(`column-count`),r=t.getPropertyValue(`column-width`);return n!==``&&n!==`auto`||r!==``&&r!==`auto`||t.display.includes(`flex`)&&t.flexDirection.startsWith(`column`)&&t.flexWrap.startsWith(`wrap`)||t.display.includes(`grid`)&&t.getPropertyValue(`grid-auto-flow`).startsWith(`column`)}function iB(e){let t=e.ownerDocument.defaultView;for(let n=e.parentElement;n!=null&&n!==e.ownerDocument.documentElement;n=n.parentElement){let r=t?.getComputedStyle(n).overflowY??`visible`;if((n!==e.ownerDocument.body||t?.getComputedStyle(e.ownerDocument.documentElement).overflowY!==`visible`)&&r!==`visible`&&r!==`clip`){let e=n.getBoundingClientRect();return{start:e.top+n.clientTop,end:e.top+n.clientTop+n.clientHeight}}}return{start:0,end:t?.innerHeight??0}}function aB(e,t){let n=e.ownerDocument.defaultView?.getComputedStyle(e);if(n?.position!==`sticky`)return!1;let r=sB(e,t),i=iB(e),a=Number.parseFloat(n.top),o=Number.parseFloat(n.bottom);return Number.isFinite(a)&&Math.abs(r.top-(i.start+a))<1||Number.isFinite(o)&&Math.abs(r.bottom-(i.end-o))<1}function oB(e,t,n){let r=[];for(let t=e;t!=null&&t!==n;t=t.parentElement){let e=SV.get(t),n=Number(e?.animation.currentTime);e!=null&&Number.isFinite(n)&&r.push({node:t,glide:e,time:n})}if(r.length===0)return t;let i=e.ownerDocument.defaultView,a=()=>r.map(({node:e})=>i?.getComputedStyle(e).translate),o=a();if(o.some(e=>e==null||e===``))return t;let s=e.getBoundingClientRect();for(let t=0;te===o[t]))break;o=t,s=e.getBoundingClientRect()}let c=0,l=0;return r.forEach(({node:t,glide:n,time:r},i)=>{let[a=0,u=0]=Kz(o[i]),d=n.offsetAt(Math.min(Math.max(0,r),n.durationMs)),f=hB(t,t===e?s:t.getBoundingClientRect(),gB(t));c+=(d.x-a)*f.x,l+=(d.y-u)*f.y}),new DOMRect(s.x+c,s.y+l,s.width,s.height)}function sB(e,t){let n=t.rects.get(e);return n===void 0&&(n=e.getBoundingClientRect(),t.rects.set(e,n)),n}function cB(e,t,n,r,i,a,o){let s=new Map,c=!1,l=(e,t)=>{let a=nB(e,r);if(a===`contents`){for(let n=t?e.firstElementChild:e.lastElementChild;n!=null;n=t?n.nextElementSibling:n.previousElementSibling)if(!l(n,t))return!1;return!0}if(!a)return!0;let u=sB(e,r);return c?(s.set(e,u),!0):u.top>n.end?!1:u.bottom0;--e)if(nB(u[e],r)===!1||aB(u[e],r)){d=e;break}for(let[t,n]of u.entries()){c=rB(n.parentElement),n!==e&&t>d&&nB(n,r)===!0&&(s.set(n,sB(n,r)),a.add(n));for(let e=n.nextElementSibling;e!=null&&l(e,!0);e=e.nextElementSibling);if(!(t{TV.get(e)===n&&!n.scheduled&&TV.delete(e)};typeof r?.requestAnimationFrame==`function`?r.requestAnimationFrame(i):setTimeout(i,16),t=n}return t}function uB(e){let t=e.area.ownerDocument,n=t.timeline?.currentTime;if(n!=null)return(e.start==null||e.start.frame!==Number(n))&&(e.start=Hz(t,Number(n))),e.start}function dB(e,t){let n=e==null?void 0:TV.get(e);if(n!=null)return uB(n);let r=t.timeline?.currentTime;return r==null?void 0:Hz(t,Number(r))}function fB(e,t){return e.width>0&&e.height>0&&e.right>t.left&&e.leftt.top&&e.top0&&t.width>0?t.width/r.offsetWidth/n.x:1,a=r.offsetHeight>0&&t.height>0?t.height/r.offsetHeight/n.y:1;return{x:Math.abs(i-1)<.01?1:i||1,y:Math.abs(a-1)<.01?1:a||1}}function gB(e){let t=e.ownerDocument.defaultView?.getComputedStyle(e);if(t==null)return{x:1,y:1};let n=1,r=1,i=t.getPropertyValue(`scale`);if(i!==``&&i!==`none`){let[e=1,t=e]=Kz(i);n*=Math.abs(e),r*=Math.abs(t)}let a=/^matrix(3d)?\\(([^)]*)\\)/.exec(t.getPropertyValue(`transform`));if(a!=null){let e=Kz(a[2]),[t=1,i=0,o=0,s=1]=a[1]==null?e:[e[0],e[1],e[4],e[5]];n*=Math.hypot(t,i),r*=Math.hypot(o,s)}return{x:n||1,y:r||1}}function _B(e){TV.delete(e.area);let t=t=>{for(let n of e.beforeMove)n(t)},n=new Set;for(let t of e.changed)for(let r of e.candidates.get(t)??[])r.isConnected&&n.add(r);if(n.size===0){t([]);return}let r=Dz(e.area);if(r.kind===`instant`){t([]);return}let i=uB(e),a=mB(e.area),o=[];for(let t of n){let n=e.before.get(t);if(n==null||n.width===0&&n.height===0)continue;let r=SV.get(t),a=xV,s=0,c=xV(0);if(r!=null){let e=Number(r.animation.currentTime),n=Number.isFinite(e)?Math.max(0,e):0;nr.offsetAt(l+e),s=r.durationMs-l),r.animation.cancel(),SV.delete(t)}o.push({element:t,before:n,carried:a,carriedMs:s,held:c})}let s=new Map,c=pB(e.area),l=c.x-(e.originBefore?.x??c.x),u=c.y-(e.originBefore?.y??c.y),d=(e,t)=>Math.abs(e+t)e.element));for(let t of o){let{element:n,before:o,carried:c,carriedMs:l,held:u}=t,d=t.after,f=t.rawX??0,p=t.rawY??0;for(let t=n.parentElement;t!=null&&t!==e.area;t=t.parentElement){let e=s.get(t);if(e!=null){f-=e.rawX??0,p-=e.rawY??0;break}}if(Math.abs(f){let t=_.remaining(e),n=c(e);return{x:n.x+h*t,y:n.y+g*t}}),b=Bz(n,Oz(v,e=>{let t=y(e);return{translate:`${t.x}px ${t.y}px`}}),{duration:v,easing:`linear`},i,m);if(b!=null){let e={animation:b,offsetAt:y,durationMs:v,shownBefore:{x:f/m.x,y:p/m.y},scale:m};SV.set(n,e),b.addEventListener?.(`finish`,()=>{SV.get(n)===e&&SV.delete(n)})}}}function vB(e){return typeof e==`function`?e():e.current}function yB(e,t){return{measureBefore(){let n=vB(t);if(n==null||e==null)return;let r=$z(e,n);if(r==null)return;Uz(n.ownerDocument);let i=lB(r);if(i.changed.has(n))return;i.changed.add(n),i.changedSize+=sB(n,i.cache).height,i.visible??=mB(r),i.originBefore??=pB(r),i.walksToBand??=r.ownerDocument.defaultView?.getComputedStyle(r).getPropertyValue(`overflow-anchor`)===`none`;let a=Math.max(i.visible.height,i.changedSize),o=a>i.reach?[...i.changed]:[n];a>i.reach&&(i.reach=Math.max(a,i.reach*2));let s=tB(i.visible,i.reach);for(let e of o){let t=cB(e,r,s,i.cache,i.walksToBand,i.ancestors,i.befores);for(let[e,n]of t)i.before.has(e)||i.before.set(e,oB(e,n,r));i.candidates.set(e,[...t.keys()])}},animate(n){let r=vB(t);if(r==null||e==null)return!1;let i=$z(e,r),a=i==null?void 0:TV.get(i);return a==null||!a.changed.has(r)?!1:(n!=null&&a.beforeMove.push(n),a.scheduled||(a.scheduled=!0,queueMicrotask(()=>yP(()=>_B(a)))),!0)}}}function bB(e){return e.ownerDocument.defaultView?.getComputedStyle(e).direction===`rtl`}function xB(e,t,n,r){let i=[n,n,n,n],a=e===`block-start`?0:e===`block-end`?2:e===`inline-end`===r?3:1;return i[a]=t,`inset(${i.join(` `)})`}function SB(e,t,n){return xB(e,`${Az(t*100)}%`,`0`,n)}function CB(e,t,n){return xB(e,`${t}px`,`0px`,n)}function wB(e,t){let n=e.getBoundingClientRect(),r=hB(e,n);return t.startsWith(`inline`)?n.width/r.x:n.height/r.y}function TB(e,t,n,r){if(!t.startsWith(`block`)||!(r>0))return null;let i=e.ownerDocument.defaultView,a=i?.getComputedStyle(e);if(i==null||a==null||EB(a)||[`::before`,`::after`].some(t=>{let{content:n}=i.getComputedStyle(e,t);return n!==``&&n!==`none`&&n!==`normal`}))return null;let o=tB(mB(n),Math.max(i.innerHeight,r)),s=[],c=[];for(let t=e.firstChild;t!=null;t=t.nextSibling){if(t.nodeType===Node.TEXT_NODE){if((t.textContent??``).trim()!==``)return null;continue}if(t.nodeType!==Node.ELEMENT_NODE)continue;let{display:e}=i.getComputedStyle(t);if(e===`inline`||e===`contents`)return null;let n=t.getBoundingClientRect();if(n.top>o.end)break;if(n.bottom>=o.start){if(SV.has(t))return null;s.push(t),c.push(hB(t,n,gB(t)))}}if(s.length===0)return null;let l=e=>(Number.parseFloat(a.getPropertyValue(`border-${e}-width`))||0)+(Number.parseFloat(a.getPropertyValue(`padding-${e}`))||0);return{parts:s,scales:c,clip:t===`block-end`?`inset(${l(`top`)}px 0px 0px 0px)`:`inset(0px 0px ${l(`bottom`)}px 0px)`}}function EB(e){return!(e=>e===``||e===`transparent`||/^rgba\\(.*,\\s*0\\)$/.test(e))(e.backgroundColor)||e.backgroundImage!==``&&e.backgroundImage!==`none`||[`Top`,`Right`,`Bottom`,`Left`].some(t=>e.getPropertyValue(`border-${t.toLowerCase()}-style`)!==`none`&&Number.parseFloat(e.getPropertyValue(`border-${t.toLowerCase()}-width`))>0)||e.boxShadow!==``&&e.boxShadow!==`none`||e.borderImageSource!==``&&e.borderImageSource!==`none`||e.filter!==``&&e.filter!==`none`||e.outlineStyle!==``&&e.outlineStyle!==`none`&&Number.parseFloat(e.outlineWidth)>0}function DB(e,t){return{translate:`0px ${e===`block-end`?-t:t}px`}}function OB(e,t){let{style:n}=e,r=n.getPropertyValue(`clip-path`),i=n.getPropertyPriority(`clip-path`);return n.setProperty(`clip-path`,t),()=>{r===``?n.removeProperty(`clip-path`):n.setProperty(`clip-path`,r,i)}}function kB(e,t){let n=e.ownerDocument.defaultView,r=e=>{let t=n?.getComputedStyle(e);if(t==null)return e;if(t.display===`contents`){for(let t=e.lastElementChild;t!=null;t=t.previousElementSibling){let e=r(t);if(e!=null)return e}return null}return eB(e,t)?e:null},i=e;for(;i!=null&&i!==t;){for(let e=i.previousElementSibling;e!=null;e=e.previousElementSibling){let t=r(e);if(t!=null)return t}i=i.parentElement}return null}function AB(e,t,n){for(let r=e;r!=null&&r!==n&&!r.contains(t);r=r.parentElement){let e=SV.get(r);if(e!=null)return e}return null}function jB(e){return Number(e.ownerDocument.timeline?.currentTime??NaN)}function MB(e){let t=Number(e.animation.currentTime);return e.shownAt(Number.isFinite(t)?Math.max(0,t):0)}function NB(e,t){let n=EV.get(e);if(n!=null){EV.delete(e);let t=MB(n);return n.animation.cancel(),PB(n),t}let r=DV.get(e);return DV.delete(e),r!=null&&r.at===jB(e)?r.fraction:t}function PB(e){e.release()}function FB(e,t,n,r=[],i=()=>{},a=!1){let o=!1,s={animation:t,shownAt:n,slides:r,release:()=>{if(!o){o=!0;for(let e of r)UB(e);i()}}};return EV.set(e,s),a&&OV.set(e,s),t.addEventListener?.(`finish`,()=>{EV.get(e)===s&&(EV.delete(e),a||s.release())}),s}function IB(e,t,n,r,i,a,o,s,c){let l=i.effect;l!=null&&typeof l.setKeyframes==`function`&&queueMicrotask(()=>{if(!a())return;let u=n.endsWith(`end`),d=u?WB(e,t):kB(e,t),f=d==null?null:AB(d,e,t);if(d==null||f==null)return;let p=AB(e,d,t),m=VB(f,i),h=p==null?0:VB(p,i),g=Math.max(f.durationMs-m,p==null?0:p.durationMs-h),_=u?1:-1,v=e=>{let t=f.offsetAt(m+e),i=p?.offsetAt(h+e)??{x:0,y:0};return o(_*(n.startsWith(`inline`)?(r?-1:1)*(t.x-i.x):t.y-i.y))},y=Oz(g,e=>s(v(e)));l.setKeyframes(y),l.updateTiming?.({duration:g}),Rz(i,y,g),c(v,g)})}function LB(e,t,n,r,i,a){let o=wB(e,n);o>0&&IB(e,t,n,r,i.animation,()=>EV.get(e)===i,e=>Math.min(o,Math.max(0,a?o-e:-e)),e=>i.slides.length>0?{opacity:1-e/o}:{opacity:1-e/o,clipPath:CB(n,e,r)},(e,t)=>{i.shownAt=t=>1-e(t)/o;for(let r of i.slides){let i=r.effect,a=Oz(t,t=>DB(n,e(t)));i?.setKeyframes?.(a),i?.updateTiming?.({duration:t}),Rz(r,a,t)}})}function RB(e,t,{edge:n=`block-end`}={}){if(e==null)return null;let r=$z(e,t);if(r==null||!fB(t.getBoundingClientRect(),mB(r)))return null;let i=Dz(r);if(i.kind===`instant`)return null;let a=NB(t,0),o=TV.get(r),s=o!=null&&[...o.changed].some(e=>e===t||e.contains(t))?uB(o):void 0;if(i.kind===`fade`)return Bz(t,[{opacity:a},{opacity:1}],{duration:i.durationMs,easing:i.easing},s);let{progress:c}=i,l=n.startsWith(`inline`)&&bB(t),u=n.startsWith(`block`)?wB(t,n):0,d=TB(t,n,r,u),f=zB(d,c,s,e=>DB(n,(1-a)*e*u)),p=Bz(t,kz(c,e=>{let t=(1-a)*e;return f.length>0?{opacity:1-t}:{opacity:1-t,clipPath:SB(n,t,l)}}),{duration:c.durationMs,easing:`linear`},s);if(p==null)for(let e of f)e.cancel();else LB(t,r,n,l,FB(t,p,e=>1-(1-a)*c.remaining(e),f,f.length>0&&d!=null?OB(t,d.clip):void 0),!1);return p}function zB(e,t,n,r,i){let a=[];for(let[o,s]of(e?.parts??[]).entries()){let c=Bz(s,kz(t,r),{duration:t.durationMs,easing:`linear`,fill:i},n);if(c!=null){a.push(c);let n={animation:c,offsetAt:e=>BB(c,e),get durationMs(){return HB(c,t.durationMs)},shownBefore:{x:0,y:0},scale:e?.scales[o]??{x:1,y:1}};SV.set(s,n),kV.set(c,s),c.addEventListener?.(`finish`,()=>{SV.get(s)===n&&SV.delete(s)})}}return a}function BB(e,t){let n=e.effect;if(n==null||typeof n.getKeyframes!=`function`)return{x:0,y:0};let r=n.getKeyframes(),i=Number(n.getTiming().duration),a=i>0?Math.min(1,Math.max(0,t/i)):1,o=e=>{let[t=0,n=0]=Kz(String(e?.translate??``));return{x:t,y:n,offset:e?.computedOffset??0}},s=o(r[0]),c=o(r[r.length-1]);for(let e of r){let t=o(e);if(t.offset<=a&&(s=t),t.offset>=a){c=t;break}}let l=c.offset-s.offset,u=l>0?(a-s.offset)/l:0;return{x:s.x+(c.x-s.x)*u,y:s.y+(c.y-s.y)*u}}function VB(e,t){let n=Number(t.startTime)-Number(e.animation.startTime);return Number.isFinite(n)?Math.max(0,n):0}function HB(e,t){let n=e.effect,r=Number(n?.getTiming?.().duration);return r>0?r:t}function UB(e){let t=kV.get(e);t!=null&&SV.get(t)?.animation===e&&SV.delete(t),e.cancel()}function WB(e,t){let n=e.ownerDocument.defaultView,r=e=>{let t=n?.getComputedStyle(e);if(t==null)return e;if(t.display===`contents`){for(let t=e.firstElementChild;t!=null;t=t.nextElementSibling){let e=r(t);if(e!=null)return e}return null}return eB(e,t)?e:null},i=e;for(;i!=null&&i!==t;){for(let e=i.nextElementSibling;e!=null;e=e.nextElementSibling){let t=r(e);if(t!=null)return t}i=i.parentElement}return null}function GB(e,t){let n=e.getBoundingClientRect();return{block:n.top,inline:t?-n.right:n.left}}function KB(e,t,n=`block-end`){let r=e.ownerDocument.defaultView,i=e.parentElement==null?void 0:r?.getComputedStyle(e.parentElement),a=i!=null&&i.display.includes(`flex`)&&i.flexDirection.startsWith(`row`),o=r?.getComputedStyle(e).direction===`rtl`,s=n.endsWith(`start`),c=n===`block-end`?a?`margin-inline-end`:`margin-block-end`:`margin-${n}`,l=c.includes(`inline`),u=l?e.offsetWidth:e.offsetHeight,d=WB(e,t);if(d==null&&!s)return e.style.setProperty(c,`${-u}px`),!0;let f=e.style.getPropertyValue(c),p=e.style.getPropertyPriority(c),m=l?`inline`:`block`,h=[d,e.parentElement==null||e.parentElement===t?null:WB(e.parentElement,t),s?kB(e,t):null,s?e:null].filter(e=>e!=null);if(h.length===0)return!1;let g=hB(e,e.getBoundingClientRect()),_=e.style.getPropertyValue(`position`),v=e.style.getPropertyPriority(`position`),y=s?GB(e,o):null;e.style.setProperty(`position`,`absolute`,`important`);let b=h.map(t=>t===e&&y!=null?y:GB(t,o)),x=b[0];_===``?e.style.removeProperty(`position`):e.style.setProperty(`position`,_,v);let S=a?g.x:g.y;e.style.setProperty(c,`${-u}px`);let C=GB(h[0],o)[m],w=(x[m]-C)/S;return e.style.setProperty(c,`${-u+w}px`),!h.some((e,t)=>{let n=GB(e,o);return Math.abs(n.block-b[t].block)>1||Math.abs(n.inline-b[t].inline)>1})||(f===``?e.style.removeProperty(c):e.style.setProperty(c,f,p),!1)}function qB(e,t,n,{edge:r=`block-end`}={}){if(e==null)return!1;let i=$z(e,t);if(i==null||!fB(t.getBoundingClientRect(),mB(i)))return!1;let a=TV.get(i);if(a==null||![...a.changed].some(e=>e===t||e.contains(t)))return!1;let o=Dz(i);if(o.kind===`instant`)return!1;JB(t);let s={inert:t.hasAttribute(`inert`),styles:AV.map(e=>[e,t.style.getPropertyValue(e),t.style.getPropertyPriority(e)])};if(!KB(t,i,r)){for(let e of[...a.changed])(e===t||e.contains(t))&&a.changed.delete(e);return!1}MV.set(t,s),t.setAttribute(`inert`,``),t.style.setProperty(`pointer-events`,`none`);let c=NB(t,1),l=r.startsWith(`inline`)&&bB(t),u=uB(a),d;if(o.kind===`fade`)d=Bz(t,[{opacity:c},{opacity:0}],{duration:o.durationMs,easing:o.easing,fill:`forwards`},u);else{let{progress:e}=o,n=r.startsWith(`block`)?wB(t,r):0,a=TB(t,r,i,n),s=zB(a,e,u,e=>DB(r,(1-c*e)*n),`forwards`);if(d=Bz(t,kz(e,e=>{let t=c*e;return s.length>0?{opacity:t}:{opacity:t,clipPath:SB(r,1-t,l)}}),{duration:e.durationMs,easing:`linear`,fill:`forwards`},u),d==null)for(let e of s)e.cancel();else LB(t,i,r,l,FB(t,d,t=>c*e.remaining(t),s,s.length>0&&a!=null?OB(t,a.clip):void 0,!0),!0)}return jV.set(t,d),d==null?(n(),!0):(d.addEventListener?.(`finish`,()=>{jV.get(t)===d&&n()}),!0)}function JB(e){if(!jV.has(e))return;let t=EV.get(e);t!=null&&(EV.delete(e),DV.set(e,{fraction:MB(t),at:jB(e)}),PB(t));let n=OV.get(e);OV.delete(e),n!=null&&PB(n),jV.get(e)?.cancel(),jV.delete(e);let r=MV.get(e);MV.delete(e),r?.inert!==!0&&e.removeAttribute(`inert`);for(let[t,n,i]of r?.styles??[])n===``?e.style.removeProperty(t):e.style.setProperty(t,n,i)}function YB(e,t,{isVisiblePart:n=!1}={}){if(e==null||typeof t.animate!=`function`)return null;let r=$z(e,t);if(r==null||Dz(r).kind===`instant`||!oz(t))return null;Uz(t.ownerDocument);let i=t.getBoundingClientRect();if(!n){let e=lz(t);return e==null?null:{area:r,copy:e,rect:i}}let a=pz(t);return a==null?null:{area:r,...a}}function XB(e,t){let n=Dz(e.area);if(n.kind===`instant`)return()=>{};let{copy:r}=e,i=dB(e.area,r.ownerDocument);fz(r,t.host,e.rect,t.copyBefore??null),t.isOpaque===!0&&(t.copyBefore??(r.style.zIndex=`1`),r.style.backgroundColor=rz(r));let a=[],o=!1,s=()=>{o||(o=!0,a.forEach(e=>e.cancel()),r.remove(),t.onEnd?.())},{copyText:c,rideWith:l}=t,u=c!=null&&n.kind===`glide`?mz(r):[],d=[];if(n.kind===`glide`){let e=l!=null&&l.isCopyMoved!==!1;d.push([r,(n,r)=>({...t.copy(n,r),...e?{translate:`${r.x}px ${r.y}px`}:null})]);for(let e of u)d.push([e,e=>({opacity:c?.(e)??1})]);for(let{element:e,frames:n}of t.incoming)d.push([e,n])}else{d.push([r,e=>({opacity:1-e})]);for(let{element:e}of t.incoming)d.push([e,e=>({opacity:e})])}let f=(e,t,n,r,o)=>{for(let[s,c]of d){let l=Bz(s,o(e=>c(t(e),n(e))),{duration:e,fill:`both`,...r},i);l!=null&&a.push(l)}a.length===0?s():a[0].addEventListener?.(`finish`,s)};if(n.kind===`fade`)return f(n.durationMs,e=>e<=0?0:1,()=>NV,{easing:n.easing},e=>[e(0),e(n.durationMs)]),s;let{progress:p}=n,m=e=>1-p.remaining(e);return l==null?(f(p.durationMs,m,()=>NV,{easing:`linear`},e=>Oz(p.durationMs,e)),s):(queueMicrotask(()=>{if(o)return;let e=SV.get(l.element),t=e?.durationMs??p.durationMs;f(t,m,t=>{if(e==null)return{x:-l.travel.x,y:-l.travel.y};let n=e.offsetAt(t),r=e.shownBefore;return{x:n.x-r.x,y:n.y-r.y}},{easing:`linear`},e=>Oz(t,e))}),s)}function ZB(e,t){let n=e==null?null:Zz(e),r=n==null?null:Dz(n);if(n==null||r==null||r.kind===`instant`)return()=>{};let i=dB(n,n.ownerDocument),a=[];for(let{element:e,frames:n}of t){let t=r.kind===`glide`?Bz(e,kz(r.progress,e=>n(1-e,NV)),{duration:r.progress.durationMs,easing:`linear`,fill:`both`},i):Bz(e,[{opacity:0},{opacity:1}],{duration:r.durationMs,easing:r.easing},i);t!=null&&a.push(t)}let o=()=>a.forEach(e=>e.cancel());return a[0]?.addEventListener?.(`finish`,o),o}function QB(e,t,{edge:n=`block-end`,shown:r=null}={}){if(t==null||typeof t.animate!=`function`)return null;Uz(t.ownerDocument);let i=t.getBoundingClientRect();return{element:t,rect:i,extent:r??(n.startsWith(`inline`)?i.width:i.height),swap:YB(e,t)}}function $B(e,t,n,{edge:r=`block-end`,rideWith:i=null,parts:a}={}){let{rect:o,swap:s,extent:c}=e,l=t?.isConnected===!0?t:e.element;if(!l.isConnected)return PV;let u=Dz(l),d=l.getBoundingClientRect(),f=r.startsWith(`inline`),p=e=>f?e.width:e.height,m=p(d);if(u.kind===`instant`||Math.abs(m-c)<.5)return PV;let h=mb*(f?_?-e.x:e.x:e.y),S=(e,t)=>y?c+x(t):c+(m-c)*e,C=e=>CB(r,e,_),w=()=>Number(l.ownerDocument.timeline?.currentTime??0),T=dB($z(n,l),l.ownerDocument)?.at??0,E=u.kind===`glide`?u.progress.durationMs:u.durationMs,D=e=>u.kind===`glide`?1-u.progress.remaining(Math.min(e,E)):0,O=()=>{let e=Math.max(0,w()-T);if(e>=E)return null;let t=D(Math.max(e,Wz(l.ownerDocument)-T)),n=c+(m-c)*D(e);if(y&&i!=null){let e=Gz(i,w()),t=l.getBoundingClientRect();n=f?g===_?t.right-e.right:e.left-t.left:g?e.top-t.top:t.bottom-e.bottom}return{extent:n,progress:t}},k=b*(c-m),A=y&&i!=null?{element:i,travel:f?{x:_?-k:k,y:0}:{x:0,y:k},isCopyMoved:!1}:void 0,j=new DOMRect(f&&g===(f&&_)?d.right-o.width:d.left,!f&&!g?d.bottom-o.height:d.top,o.width,o.height),M=a?.(h,l)??{},N=M.copyOpacity??(()=>1);if(h){if(s==null||v==null)return PV;let e=l;for(;e!=null&&e.parentElement!==v;)e=e.parentElement;let t=e==null?null:{position:e.style.position};return e!=null&&getComputedStyle(e).position===`static`&&(e.style.position=`relative`),{end:XB({...s,rect:j},{host:v,isOpaque:!0,copyBefore:e??void 0,copy:(e,t)=>({clipPath:C(p(o)-S(e,t)),opacity:N(e)}),copyText:M.copyText,rideWith:A,onEnd:()=>{e!=null&&t!=null&&(e.style.position=t.position)},incoming:M.incoming??[]}),shown:O}}let P=[{element:l,frames:(e,t)=>({clipPath:C(m-S(e,t))})},...M.incoming??[]];return{end:s!=null&&v!=null?XB({...s,rect:j},{host:v,isOpaque:!0,copy:e=>({opacity:N(e)}),copyText:M.copyText,rideWith:A,incoming:P}):ZB(n,P),shown:O}}function eV(e,t){let n=getComputedStyle(e);return{gutters:[n.getPropertyValue(`padding-${t}-start`),n.getPropertyValue(`padding-${t}-end`)],overflow:[n.getPropertyValue(`overflow-x`),n.getPropertyValue(`overflow-y`)],scroll:[e.scrollLeft,e.scrollTop]}}function tV(e,t){let[n,r]=t.scroll;e.scrollLeft!==n&&(e.scrollLeft=n),e.scrollTop!==r&&(e.scrollTop=r)}function nV(e,t,n,r,i,a){let o=n.startsWith(`inline`)?`inline`:`block`,s=`margin-${n}`,c=[[`padding-${o}-start`,a.gutters[0]],[`padding-${o}-end`,a.gutters[1]],[`overflow-x`,a.overflow[0]],[`overflow-y`,a.overflow[1]]],l=[...IV[o],s,...c.map(([e])=>e)].map(t=>[t,e.style.getPropertyValue(t),e.style.getPropertyPriority(t)]),u=()=>{for(let[t,n,r]of l)n===``?e.style.removeProperty(t):e.style.setProperty(t,n,r)},d=n.endsWith(`end`),f=o===`inline`&&bB(e),p=d?WB(e,t):kB(e,t),m=p==null?null:GB(p,f),h=`${r}px`;e.style.setProperty(`${o}-size`,h,`important`),e.style.setProperty(`min-${o}-size`,h,`important`),e.style.setProperty(`max-${o}-size`,h,`important`),e.style.setProperty(`flex-basis`,`auto`,`important`),e.style.setProperty(`flex-grow`,`0`,`important`),e.style.setProperty(`flex-shrink`,`0`,`important`);for(let[t,n]of c)n!==``&&e.style.setProperty(t,n,`important`);if(e.style.setProperty(s,`${i-r}px`,`important`),p!=null&&m!=null){let t=GB(p,f),n=hB(e,e.getBoundingClientRect()),a=o===`inline`?n.x:n.y,c=d?1:-1,l=(t[o]-m[o])*c;Math.abs(l)>.5&&e.style.setProperty(s,`${i-r-l/a}px`,`important`);let h=GB(p,f);if(Math.abs(h.block-m.block)>1||Math.abs(h.inline-m.inline)>1)return u(),null}return tV(e,a),u}function rV(e,t,{edge:n=`block-end`}={}){let r=yB(e,t),i=null,a=n.startsWith(`inline`)?`inline`:`block`,o=e=>{e!=null&&FV.get(e)?.release()};return{measureBefore(){let e=t();if(i=null,e!=null){Uz(e.ownerDocument);let t=FV.get(e),r=Number(t?.animation?.currentTime),o=e.getBoundingClientRect(),s=eV(e,a);i=t==null?{shown:wB(e,n),box:wB(e,n),rect:o,inside:s}:{shown:t.shownAt(Number.isFinite(r)?Math.max(0,r):0),box:t.box,rect:o,inside:s},t?.release()}r.measureBefore()},animate(){r.animate();let a=t(),o=i;if(i=null,e==null||a==null||o==null)return;tV(a,o.inside);let s=$z(e,a);if(s==null)return;let c=wB(a,n);if(Math.abs(c-o.shown)<.5)return;let l=mB(s);if(!fB(a.getBoundingClientRect(),l)&&!fB(o.rect,l))return;let u=Dz(s);if(u.kind===`instant`)return;let d=c{};if(g==null)return;let _=h-o.shown,v=h-c,y=e=>v+(_-v)*p.remaining(e),b=Bz(a,Oz(p.durationMs,e=>({clipPath:CB(n,y(e),m)})),{duration:p.durationMs,easing:`linear`},f),x={animation:b,shownAt:e=>h-y(e),box:h,release:()=>{FV.get(a)===x&&(FV.delete(a),b?.cancel(),g())}};b==null?g():(FV.set(a,x),b.addEventListener?.(`finish`,x.release),IB(a,s,n,m,b,()=>FV.get(a)===x,e=>Math.min(h,Math.max(0,d?v-e:-e)),e=>({clipPath:CB(n,e,m)}),e=>{x.shownAt=t=>h-e(t)}))},cancel(){i=null,o(t())}}}function iV(e){let t=SV.get(e);t!=null&&(SV.delete(e),t.animation.cancel())}function aV(e){let t=SV.get(e),n=t?.animation.effect;if(t==null||n==null||typeof n.setKeyframes!=`function`)return;n.setKeyframes(n.getKeyframes().map(({computedOffset:e,translate:t,...n})=>{let[,r=`0px`]=String(t??``).split(/\\s+/);return{...n,translate:`0px ${r}`}}));let r={animation:t.animation,offsetAt:e=>({x:0,y:t.offsetAt(e).y}),get durationMs(){return t.durationMs},shownBefore:{x:0,y:t.shownBefore.y},scale:t.scale};SV.set(e,r),t.animation.addEventListener?.(`finish`,()=>{SV.get(e)===r&&SV.delete(e)})}function oV(e){return Dz(e)}var sV,cV,lV,uV,dV,fV,pV,mV,hV,gV,_V,vV,yV,bV,xV,SV,CV,wV,TV,EV,DV,OV,kV,AV,jV,MV,NV,PV,FV,IV,LV=o((()=>{_P(),IP(),Xn(),az(),xz(),Cv(),Cm(),fc(),eh(),MP(),sV=.5,cV=200,lV=Jn(`motion/animated-layout/release-glides`,1),uV=Jn(`motion/animated-layout/presented-glides`,1),dV=Kn(`motion/animated-layout/glide-reports`,1,()=>new Set),fV=Kn(`motion/animated-layout/ended-reports`,1,()=>[]),pV=.5,mV=.005,hV=new Set([`offset`,`computedOffset`,`easing`,`composite`]),gV=Jn(`motion/animated-layout/settling`,1),_V=Jn(`motion/animated-layout/settle-retimes`,1),Jn(`motion/animated-layout/transition-settles`,1),vV=Jn(`motion/animated-layout/change-starts`,1),yV=Yn(`motion/animated-layout/ours`,1),bV=[`transform`,`translate`,`rotate`,`scale`],xV=()=>({x:0,y:0}),SV=Jn(`motion/animated-layout/glides`,1),CV=Wn(`animated-layout/area`,1),wV=3,TV=qn(`motion/animated-layout/batches`,1),EV=Jn(`motion/animated-layout/edge-motions`,1),DV=Jn(`motion/animated-layout/stopped-shown`,1),OV=Jn(`motion/animated-layout/held-slides`,1),kV=Jn(`motion/animated-layout/slide-targets`,1),AV=[`margin-block-end`,`margin-inline-end`,`margin-block-start`,`margin-inline-start`,`pointer-events`],jV=Jn(`motion/animated-layout/exits`,1),MV=Jn(`motion/animated-layout/replaced`,1),NV={x:0,y:0},PV={end:()=>{},shown:()=>null},FV=Jn(`motion/animated-layout/resize-reveals`,1),IV={inline:[`inline-size`,`min-inline-size`,`max-inline-size`,`flex-basis`,`flex-grow`,`flex-shrink`],block:[`block-size`,`min-block-size`,`max-block-size`,`flex-basis`,`flex-grow`,`flex-shrink`]}}));LV(),GF(),GP(),jI(),Xn();var RV=Jn(`resizable/resizable-pane/lent`,1),zV=Kn(`resizable/resizable-pane/watchers`,1,()=>new Set),BV=Yn(`resizable/resizable-pane/resize-handles`,1);function VV(e){return BV.add(e),()=>{BV.delete(e)}}function HV(){for(let e of[...zV])e()}function UV(e){return zV.add(e),()=>{zV.delete(e)}}function WV(e,t){let n=t?e.nextElementSibling:e.previousElementSibling;return n==null?null:RV.get(n)??null}function GV(e,t,n,r,i){return t!==e&&(n!=null&&e?.listen(null),e?.setCollapsed(!1,null),n!=null&&t?.listen(n)),t?.setCollapsed(r,i),t}function KV(e,t){let n=t===`start`?[e.nextElementSibling]:t===`end`?[e.previousElementSibling]:[e.nextElementSibling,e.previousElementSibling];for(let e of n)if(e instanceof HTMLElement&&BV.has(e))return e;return null}function qV(){let e=null,t=!1,n=new Set;return{setPointerDragging(e){t=e},isPointerDragging:()=>t,attach(t){if(t!==e){e=t;for(let e of[...n])e(t)}},follow(t){return n.add(t),t(e),()=>{n.delete(t)}}}}var JV=Jn(`resizable/resizable-pane/props-regions`,1);function YV(e,t){JV.set(e,t)}function XV(e){return JV.get(e)}function ZV(){let e=!1,t=null,n,r=`inline-end`,i=null,a=!1,o=null,s=new Set,c=t=>{if(t!==e){e=t;for(let e of[...s])e()}};return{subscribe(e){return s.add(e),()=>{s.delete(e)}},isCollapsed:()=>e,focusTarget:()=>t,attach(e,s){if(i?.element===e&&a===s)return i;let l=i!=null&&a;if(i!=null&&RV.get(i.element)===i&&RV.delete(i.element),i=null,o=null,a=s,e==null)t=null,c(!1);else{let a={element:e,renderedWidth:()=>n,contentFacingEdge:()=>r,setCollapsed(e,n){i===a&&(t=n,c(e))},listen(e){i===a&&(o=e)}};i=a,s&&RV.set(e,a)}return(l||e!=null&&s)&&HV(),i},beforeChange(e){o?.beforeChange(e)},committed(e,t){n=e,r=t,o?.committed()}}}function QV(e){let t=null,n=null,r=Qz(e);return{measure(e,n){t?.report.cancel(),t=null;let i=e.element,a=rV(r,()=>i,{edge:n});a.measureBefore(),t={report:a,pane:e,widthBefore:e.renderedWidth()}},committed(e){if(t==null||t.pane!==e||e.renderedWidth()===t.widthBefore)return;let{report:r}=t;t=null,n=r,r.animate()},land:()=>{t?.report.cancel(),t=null,n?.cancel(),n=null;for(let t of e()?.children??[])iV(t)}}}function $V(e,t,n){if(!(n>0))return null;let r=Tz(VP(e,kI.settle),t/n);return wz(e,r),e=>e>=r.durationMs?0:r.remaining(e)}function eH(e,t){let n=e.element,r=KV(n,null);if(r==null)return null;let i=e.contentFacingEdge(),a=i.startsWith(`inline`),o=a&&n.ownerDocument.defaultView?.getComputedStyle(n).direction===`rtl`,s=a?i.endsWith(`end`)!==o:i.endsWith(`end`),c=n.getBoundingClientRect(),l=a?s?c.left:c.right:s?c.top:c.bottom,u=s?1:-1,d=()=>{let e=r.getBoundingClientRect();return a?e.left+e.width/2:e.top+e.height/2},f=u*(d()-l)-t;return()=>Math.max(u*(d()-l)-f,0)}function tH(e){return!(`transitionProperty`in e)&&!(`animationName`in e)}function nH(e){let t=e.element,n=[...t.parentElement?.children??[]].filter(e=>e!==t).map(Xz).filter(e=>e!=null),r=e=>Number(e.effect?.getComputedTiming().duration??0),i=n.length>0?r(n[0]):null;return[...typeof t.getAnimations==`function`?t.getAnimations().filter(e=>tH(e)&&(i==null||Math.abs(r(e)-i)<1)):[],...n]}function rH(e){let t=e.element,n=null,r=0,i=null,a=()=>{if(n!=null)return n;let r=e.contentFacingEdge(),i=r.startsWith(`inline`),a=i&&t.ownerDocument.defaultView?.getComputedStyle(t).direction===`rtl`;return n={sign:(r.endsWith(`end`)?1:-1)*(a?-1:1),axis:i?`x`:`y`,handle:KV(t,null)},n},o=()=>{let e=n?.handle;return e==null?null:cF(e)};return{draw(e){let t=r===0&&i==null;if(t&&e===0)return;t&&(n=null),i=null,r=e;let{sign:s,axis:c}=a();o()?.set({[c]:s*e})},springBack(e,t){let a=o();if(r===0||a==null||n==null)return!1;let{sign:s,axis:c}=n;r=0;let l=a.animate({[c]:0},{spring:e,velocity:{[c]:s*t}});return i=l,l.finished.then(()=>{i===l&&(i=null)}),!0},shown(){let e=o();return i==null||e==null||n==null?r:n.sign*e.get(n.axis)},clear(){n!=null&&(r!==0||i!=null)&&o()?.set({[n.axis]:0},{promote:!1}),i=null,r=0,n=null}}}function iH(e){let{value:t}=e;return{\"aria-orientation\":e.direction===`horizontal`?`vertical`:`horizontal`,\"aria-valuenow\":t==null?void 0:Math.min(Math.max(t.size,t.minPx),t.maxPx??1/0),\"aria-valuemin\":t?.minPx,\"aria-valuemax\":t?.maxPx!=null&&Number.isFinite(t.maxPx)?t.maxPx:void 0,\"aria-valuetext\":t?.isCollapsed?t.collapsedText:void 0,\"aria-disabled\":e.isDisabled||void 0,tabIndex:0}}qw(),Qi(),sc(),gR(),vR(),GP(),jI(),Xn(),Ww(fR);var aH=`@astryx.resizable.handle.label`,oH=`@astryx.resizable.collapsed`;function sH(){return typeof window>`u`?SR:window.innerWidth}var cH=null,lH=8;function uH(e={},t=`client`){let{defaultSize:n,minSize:r,maxSize:i,containerRef:a,collapsible:o=!1,snaps:s=[],autoSaveId:c,defaultIsCollapsed:l,isCollapsed:u}=e,d=t===`server`,f=c&&!d?xR(c):null,p=TR(n),m=TR(r),h=TR(i),g=a!=null,_=g&&(ER(m)||ER(h)||f?.size==null&&ER(p)),v=g||d?SR:sH(),y=kR(r,m,v,50,`minSize`,CR,cH),b=kR(i,h,v,1/0,`maxSize`,CR,cH),x=kR(n,p,v,250,`defaultSize`,CR,cH),S=bR(f?.size??(_?null:bR(x,y,b,s))??x,y,b,s),C=o&&(u===void 0?f?.isCollapsed??l??!1:u),w=g||d?null:pR(e.direction??`horizontal`);return{size:C?0:S,isCollapsed:C,expandedSize:S,minPx:y,maxPx:b,effectiveMaxPx:b===1/0?mR(w,C?y:S,y):b}}var dH=Jn(`resizable/create-resizable/internals`,1);function fH(e){return dH.get(e)}function pH(e){return e==null?null:String(e)}var mH=[`role`,`tabindex`,`aria-label`,`aria-orientation`,`aria-valuenow`,`aria-valuemin`,`aria-valuemax`,`aria-valuetext`,`aria-disabled`,`data-resizing`];function hH(e,t,n={}){let r=e===`useResizable`,i=n,a=!1,o=!1,s=new Set,c=()=>i.isReversed??!1,l=()=>i.isDisabled??!1,u=ac(),d=i.autoSaveId,f=d?xR(d):null,p=null,m=null,h=null,g=null,_=!1,v=!1,y=null,b=!1,x=!1,S=0,C=0,w=null,T=0,E=0,D=null,O=!1,k=!1,A=null,j=null,M=null,N,P=null,F=f?.isCollapsed??i.defaultIsCollapsed??!1,I={size:0,isCollapsed:!1,min:50,max:1/0,effectiveMax:void 0,isBasisMeasured:!0},L=null,R=null,z=!1,B=null,V=new Set,H=null,ee=null,U=QV(()=>H?.element.parentElement??null),te=null,W=null,G=!1,ne=!1,re=()=>i.direction??`horizontal`,ie=()=>i.collapsible??!1,K=()=>i.isCollapsed!==void 0,q=()=>i.snaps??[],ae=()=>{le()};function oe(){let e=TR(i.defaultSize),t=ER(TR(i.minSize))||ER(TR(i.maxSize)),n=f?.size==null&&ER(e)&&M?.isFinal!==!0,r=i.containerRef!=null;return{hasContainer:r,container:r&&(t||n),viewport:!r&&t}}function se(){let e=oe(),t=e.container?i.containerRef?.current??null:null;if((t!==p||m!==re())&&(g?.(),g=null,p=t,h=null,m=re(),t!=null)){_=!0;let e=t;g=qi(e,t=>{h=Pre(e,re(),t),_||le()}),_=!1}let n=e.viewport&&typeof window<`u`;n&&!v?(window.addEventListener(`resize`,ae),v=!0):!n&&v&&(window.removeEventListener(`resize`,ae),v=!1)}function ce(){let t=oe(),n=h!=null&&h>0,a=t.hasContainer?n?h:SR:sH(),o=!t.container||n,s=y??a,c=kR(i.minSize,TR(i.minSize),s,50,`minSize`,CR,u,e),l=kR(i.maxSize,TR(i.maxSize),s,1/0,`maxSize`,CR,u,e);M!=null&&M.isFinal||(M={px:kR(i.defaultSize,TR(i.defaultSize),s,250,`defaultSize`,CR,u,e),isFinal:o});let d=M.px;N===void 0&&(N=f?.size??(o?bR(d,c,l,q()):null)),o&&N==null&&(N=bR(d,c,l,q())),o&&y==null&&(P==null||P.min!==c||P.max!==l)&&(P={min:c,max:l},N!=null&&(N=bR(N,c,l,q())));let p=b&&x?[]:q(),m=bR(N??d,c,l,p),g=ie()&&(K()?!!i.isCollapsed:F);c>l&&u(e,`the resolved minimum (${c}px) is above the resolved maximum (${l}px). The maximum wins${r?`, as it always has`:``}.`,`inverted`);let _=t.hasContainer?n&&t.container?h:null:pR(re());I={size:m,isCollapsed:g,min:c,max:l,effectiveMax:l===1/0?mR(_,g?c:m,c):l,isBasisMeasured:o}}function le(){if(a)return;if(o)ce();else for(let e=0;e<3;e++){let e=oe();se(),ce();let t=oe();if(e.container===t.container&&e.viewport===t.viewport)break}t!=null&&!o&&he(),de();let e={size:I.isCollapsed?0:I.size,isCollapsed:I.isCollapsed};L!=null&&(L.isCollapsed===e.isCollapsed?L.size!==e.size&&U.land():W===e.isCollapsed?(W=null,te=null):(te={toCollapsed:e.isCollapsed,isPlayable:!G},G&&U.land())),H?.setCollapsed(e.isCollapsed,t);let n={size:e.size,isCollapsed:e.isCollapsed,expandedSize:I.size,minPx:I.min,maxPx:I.max,effectiveMaxPx:I.effectiveMax},r=B==null||Object.keys(n).some(e=>B?.[e]!==n[e]);if(r&&(B=n),L==null||L.size!==e.size||L.isCollapsed!==e.isCollapsed){let t=L==null;if(L=e,!t)for(let e of[...s])e()}if(r)for(let e of[...V])e()}let J={beforeChange(e){let t=H;if(t==null)return;if(te?.toCollapsed===e){let{isPlayable:e}=te;te=null,e?U.measure(t,t.contentFacingEdge()):U.land(),Oe();return}let n=I.isCollapsed?0:I.size,r=e?n!==0:n===0;ie()&&r&&I.isCollapsed!==e&&(W=e,U.measure(t,t.contentFacingEdge())),Oe()},committed(){Oe(),H!=null&&U.committed(H)}};function ue(e){e!==H&&(U.land(),te=null,W=null,O=!1,D?.clear(),D=e==null?null:rH(e),H=GV(H,e,J,I.isCollapsed,t))}function de(){let e=i.autoSaveId;if(e==null||e===``||!I.isBasisMeasured||b)return;let t={key:e,size:I.size,isCollapsed:I.isCollapsed};(z||R==null||R.key!==t.key||R.size!==t.size||R.isCollapsed!==t.isCollapsed)&&(z=!1,R=t,Dre(e,{size:t.size,isCollapsed:t.isCollapsed}))}let fe=new Map;if(t!=null)for(let e of mH)fe.set(e,t.getAttribute(e));let pe=t!=null&&(t.hasAttribute(`aria-label`)||t.hasAttribute(`aria-labelledby`)),me=(e,n)=>{t!=null&&(n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n))};function he(){fe.get(`role`)??me(`role`,`separator`),pe||me(`aria-label`,i.label??fR[aH]);let{size:e,isCollapsed:t,min:n,effectiveMax:r}=I,a=iH({direction:re(),isDisabled:l(),value:{size:t?0:e,minPx:n,maxPx:r,isCollapsed:t,collapsedText:i.collapsedLabel??fR[oH]}});fe.get(`tabindex`)??me(`tabindex`,String(a.tabIndex)),me(`aria-orientation`,a[`aria-orientation`]),me(`aria-valuenow`,pH(a[`aria-valuenow`])),me(`aria-valuemin`,pH(a[`aria-valuemin`])),me(`aria-valuemax`,pH(a[`aria-valuemax`])),me(`aria-valuetext`,pH(a[`aria-valuetext`])),me(`aria-disabled`,pH(a[`aria-disabled`]))}let ge=e=>{K()||(F=e)};function _e(){a||!ie()||I.isCollapsed||(ge(!0),le(),i.onCollapseChange?.(!0),i.onSizeChange?.(0))}function ve(){if(a)return;let e=I.isCollapsed;ge(!1),le(),e&&i.onCollapseChange?.(!1),i.onSizeChange?.(I.size)}function ye(e){if(a)return;if(!Number.isFinite(e)||e<0){`${String(e)}`;return}let t=bR(e,I.min,I.max,q()),n=I.isCollapsed;N=t,ge(!1),le(),n&&i.onCollapseChange?.(!1),i.onSizeChange?.(t)}let be={state(){return{size:I.isCollapsed?0:I.size,isCollapsed:I.isCollapsed,minPx:I.min,maxPx:I.max,snaps:q(),collapsedSize:i.collapsedSize??40,collapsible:ie()}},start(){Oe(),y=Me(),b=!0,x=!1;let e=ee?.isPointerDragging()===!0;ne=e;let t=I.isCollapsed&&e?ke():0,n=A;if(A=null,t>0&&n!=null){xe(t,n);return}let r=e?k?D?.shown()??0:T:0;k=!1,T=r,E=r,D?.draw(r),S=(I.isCollapsed?0:I.size)+r,C=S,w=I.isCollapsed?null:I.size},move(e){let t=C,n=S+e;if(C=n,j!=null){if(n(e-t)*(e-n)<=0)&&(x=!1);let r=i.collapsedSize??40;if(I.isCollapsed&&n=r;a&&ge(!1);let o=bR(n,I.min,I.max,x?[]:q());N=o,T=H==null||ee?.isPointerDragging()!==!0?0:Ee(n),D?.draw(T),G=a&&ee?.isPointerDragging()===!0,le(),G=!1,a&&i.onCollapseChange?.(!1),i.onSizeChange?.(o)},end(e=0){if(j!=null){Ce(e),Ne();return}let t=i.collapsedSize??40,n=ie()&&!I.isCollapsed&&Math.min(C,hR(C,e))=I.min){we(e);return}let n=H==null?[]:nH(H);for(let e of n)e.pause();let r=Number(n[0]?.currentTime??0),i=t.remaining(Number.isFinite(r)?r:0),a=i<.98?(e-t.fromSize*i)/(1-i):0;j={slide:t,motions:n,durationMs:Number(n[0]?.effect?.getComputedTiming().duration??0),shutSize:a}}function Se(e){if(j==null)return;let{slide:t,motions:n,durationMs:r,shutSize:i}=j,a=t.fromSize-i,o=a>0?Math.min(1,Math.max(0,(e-i)/a)):0,s=0,c=r;for(;c-s>.05;){let e=(s+c)/2;t.remaining(e)>o?s=e:c=e}for(let e of n)e.currentTime=(s+c)/2}function Ce(e){let t=j;if(j=null,t==null)return;let n=i.collapsedSize??40;if(Math.min(C,hR(C,e))0&&!q().includes(t),N=t,w=t,E=0,T=H==null?0:Ee(e),D?.draw(T),G=!0,le(),G=!1,i.onCollapseChange?.(!1),i.onSizeChange?.(t)}function Te(e){x=!1;let t=I.size+T;k=!1,T=0,D?.clear();let n=bR(t,I.min,I.max,q()),r=H?.element.parentElement,a=Math.abs(n-t);r!=null&&a>0&&$V(r,Math.sign(n-t)*e,a),N=n,le(),i.onSizeChange?.(n)}function Ee(e){let{min:t,max:n}=I;if(e>=t&&e<=n)return E=0,0;let r=e>n?n:t,i=e-r,a=Math.sign(E)===Math.sign(i)?E:0,o=Math.abs(i)<=Math.abs(a)?i:a+_R(i-a,Math.max(lH-Math.abs(a),0));return Math.max(r+o,0)-r}function De(e){let t=T;if(k=!1,T=0,t===0||D==null||H==null){D?.clear();return}let n=H.element,r=n.ownerDocument.defaultView;if(r==null||r.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches===!0){D.clear();return}let i=lH,a=Ere(Tre(t,i),i);k=D.springBack(VP(n,kI.settle),e*a)}function Oe(){O&&(O=!1,D?.clear())}function ke(){let e=H?.element,t=e?.ownerDocument.defaultView;if(A==null||e==null||t==null)return 0;let n=typeof e.getAnimations==`function`?Number(e.getAnimations().find(e=>(e.playState===`running`||e.playState===`paused`)&&tH(e))?.currentTime??1/0):t.performance.now()-A.startedAt,r=A.remaining(n);return r>0?A.readShown?.()??A.fromSize*r:0}function Ae(){w!=null&&(N=w),ge(!0),le(),i.onCollapseChange?.(!0),i.onSizeChange?.(0)}function je(e){k=!1;let t=T,n=I.size+T,r=H==null?null:eH(H,n);T=0,O=D!=null,w!=null&&(N=w);let a=H?.element.parentElement,o=a==null?null:$V(a,-e,n),s=H?.element.ownerDocument.defaultView;if(A=o==null||s==null||s.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches===!0?null:{fromSize:n,startedAt:s.performance.now(),remaining:o,readShown:r},ge(!0),le(),i.onCollapseChange?.(!0),i.onSizeChange?.(0),O){let n=()=>{O&&(O=!1,T=t,De(e))};typeof s?.requestAnimationFrame==`function`?s.requestAnimationFrame(n):setTimeout(n,16)}}function Me(){return oe().hasContainer?h!=null&&h>0?h:SR:sH()}function Ne(){b&&(y=null,b=!1,z=!0,le())}let Pe=$R(()=>t,be,()=>({direction:re(),isReversed:c(),isDisabled:l()}),e=>{me(`data-resizing`,e?``:null)}),Fe=e=>{Pe.pointerDown(e)},Ie=e=>{Pe.pointerMove(e)},Le=e=>{Pe.pointerUp(e)},Re=e=>{Pe.pointerCancel(e)},ze=e=>{Pe.keyDown(e)},Be=()=>{Pe.doubleClick()};function Ve(){t?.addEventListener(`pointerdown`,Fe),t?.addEventListener(`pointermove`,Ie),t?.addEventListener(`pointerup`,Le),t?.addEventListener(`pointercancel`,Re),t?.addEventListener(`lostpointercapture`,Re),t?.addEventListener(`keydown`,ze),t?.addEventListener(`dblclick`,Be)}function He(){t?.removeEventListener(`pointerdown`,Fe),t?.removeEventListener(`pointermove`,Ie),t?.removeEventListener(`pointerup`,Le),t?.removeEventListener(`pointercancel`,Re),t?.removeEventListener(`lostpointercapture`,Re),t?.removeEventListener(`keydown`,ze),t?.removeEventListener(`dblclick`,Be),g?.(),g=null,p=null,v&&=(window.removeEventListener(`resize`,ae),!1);for(let[e,t]of fe)me(e,t)}Ve();let Ue=null;le();let We={get size(){return I.isCollapsed?0:I.size},get isCollapsed(){return I.isCollapsed},collapse:_e,expand:ve,resize:ye,update(e){a||(i=e,i.autoSaveId!==d&&(d=i.autoSaveId,f=d?xR(d):null),le())},subscribe(e){return s.add(e),()=>{s.delete(e)}},destroy(){a||(Pe.interrupt(),Ne(),k=!1,T=0,D?.clear(),D=null,a=!0,Ue?.(),Ue=null,U.land(),H=GV(H,null,J,!1,null),o||He(),s.clear(),V.clear())}};return dH.set(We,{snapshot:()=>B,subscribeSnapshot(e){return V.add(e),()=>{V.delete(e)}},model:be,suspend(){a||o||(Pe.interrupt(),Ne(),o=!0,U.land(),He())},resume(){!a&&o&&(o=!1,Ve(),le())},syncContainer(){a||o||(oe().container?i.containerRef?.current??null:null)!==p&&le()},followRegion(e){Ue?.(),ee=e;let t=e.follow(e=>{a||ue(e)});return Ue=()=>{t(),ee===e&&(ee=null)},()=>{Ue?.(),Ue=null}}}),We}au(),x();var gH=[];function _H(e){let[t]=(0,X.useState)(qV),{getResizable:n,size:r,isCollapsed:i,snapshot:a,collapse:o,expand:s,resize:c}=SH(e,t),l=(0,X.useCallback)(()=>{let e=n();return e==null?void 0:fH(e)?.model},[n]),u=(0,X.useCallback)(()=>{l()?.start()},[l]),d=(0,X.useCallback)(e=>{l()?.move(e)},[l]),f=(0,X.useCallback)(()=>{l()?.end()},[l]),p=(0,X.useCallback)(e=>{l()?.end(e)},[l]),m={_size:r,_isCollapsed:i,_onResizeStart:u,_onResizeMove:d,_onResizeEnd:f,_onResizeCancel:(0,X.useCallback)(()=>{l()?.cancel()},[l]),_minSizePx:a.minPx,_maxSizePx:a.maxPx,_snaps:e.snaps??gH,_collapsedSize:e.collapsedSize??40,_collapsible:e.collapsible??!1,_direction:e.direction??`horizontal`,_isResizableProps:!0};return LR(m,{collapse:o,expand:s}),RR(m,p),YV(m,t),a.effectiveMaxPx!=null&&zR(m,a.effectiveMaxPx),{size:r,isCollapsed:i,collapse:o,expand:s,resize:c,props:m}}function vH(e){let{regions:t,autoSaveId:n,containerRef:r,direction:i}=e,a=Object.entries(t),o=a.map(([e,t])=>_H({...t,containerRef:r,direction:i,autoSaveId:n?`${n}:${e}`:void 0})),s={};return a.forEach(([e],t)=>{s[e]=o[t]}),s}function yH(e){return typeof e==`object`&&!!e&&`props`in e}function bH(e,t){return e.size===t.size&&e.isCollapsed===t.isCollapsed&&e.expandedSize===t.expandedSize&&e.minPx===t.minPx&&e.maxPx===t.maxPx&&e.effectiveMaxPx===t.effectiveMaxPx}function xH(e){let t=null,n=e,r=new Set,i=null,a=()=>{for(let e of[...r])e()},o=()=>{if(i?.(),i=null,t!=null&&r.size>0){let{resizable:e}=t,n=fH(e);i=n==null?e.subscribe(a):n.subscribeSnapshot(a)}};return{get:()=>t,set(e){t=e,o(),a()},subscribe(e){return r.add(e),r.size===1&&o(),()=>{r.delete(e),r.size===0&&(i?.(),i=null)}},read(){if(t==null)return n;let{resizable:r}=t,i=fH(r)?.snapshot()??{...e,size:r.size,isCollapsed:r.isCollapsed,expandedSize:r.size};return bH(n,i)||(n=i),n}}}function SH(e,t){let n=nu(e),[r]=(0,X.useState)(()=>xH(uH(e))),[i]=(0,X.useState)(()=>uH(e,`server`)),a=(0,X.useCallback)(e=>{let n=hH(`useResizable`,null,e);return t!=null&&fH(n)?.followRegion(t),n},[t]),o=(0,X.useCallback)(()=>{let e=r.get();if(e!=null){fH(e.resizable)?.resume();return}let t=n.current,i=a(t);r.set({resizable:i,passed:t})},[n,r,a]);b(()=>{o()}),b(()=>()=>{let e=r.get();if(e==null)return;let t=fH(e.resizable);t==null?(r.set(null),e.resizable.destroy()):t.suspend()},[r]),b(()=>{let t=r.get();t!=null&&e!==t.passed&&(t.passed=e,t.resizable.update(e))},[r,e]),b(()=>{let e=r.get();e!=null&&fH(e.resizable)?.syncContainer()});let s=(0,X.useSyncExternalStore)(r.subscribe,r.read,()=>i),[,c]=(0,X.useReducer)(e=>e+1,0);b(()=>{r.read()!==s&&c()});let l=e.isCollapsed!==void 0,u=l?(e.collapsible??!1)&&!!e.isCollapsed:s.isCollapsed,d=l?u?0:s.expandedSize:s.size,f=(0,X.useCallback)(()=>r.get()?.resizable??null,[r]),p=(0,X.useCallback)(()=>{let e=r.get();if(e!=null)return e.resizable;let t=n.current,i=a(t);return fH(i)?.suspend(),r.set({resizable:i,passed:t}),i},[n,r,a]);return{snapshot:s,getResizable:f,size:d,isCollapsed:u,collapse:(0,X.useCallback)(()=>{p().collapse()},[p]),expand:(0,X.useCallback)(()=>{p().expand()},[p]),resize:(0,X.useCallback)(e=>{p().resize(e)},[p])}}function CH(e){return`regions`in e?vH(e):_H(e)}var wH,TH,EH=o((()=>{wH=u(f(),1),TH=class extends wH.Component{getSnapshotBeforeUpdate(e){return Object.is(e.value,this.props.value)||this.props.onBeforeChange(e.value),null}componentDidUpdate(){}render(){return null}}}));function DH(e,t,n){let r=(0,X.useRef)(t),i=(0,X.useRef)(n),a=(0,X.useRef)(null);return(0,X.useLayoutEffect)(()=>{r.current=t,i.current=n}),(0,X.useLayoutEffect)(()=>{let t=a.current;a.current=null,t!=null&&i.current(t,e)},[e]),(0,X.useCallback)(e=>{a.current=r.current(e)},[])}D(),vx(),EH(),x(),bj(),vr(),TM(),zj();var OH={panel:{kB7OPa:`x9f619`,kmuXW:`x2lah0s`,kVQacm:`x7giv3`,kZCmMZ:`xwjyata`,kwRFfy:`x1peupej`,kLKAdn:`xqty4a`,kGO01o:`xg476vw`,\"--container-padding-inline-start\":`x408pgh`,\"--container-padding-inline-end\":`xikqloz`,\"--container-padding-block-start\":`xjmgx01`,\"--container-padding-block-end\":`xi9ns85`,$$css:!0},startPanel:{kZCmMZ:`xaku5ci`,\"--container-padding-inline-start\":`xt2a87w`,$$css:!0},endPanel:{kwRFfy:`x19eyx77`,\"--container-padding-inline-end\":`xhq06x6`,$$css:!0},noHeader:{kLKAdn:`xuqi0w`,\"--container-padding-block-start\":`x186o6qk`,$$css:!0},noFooter:{kGO01o:`x1363qu6`,\"--container-padding-block-end\":`xfsxxt8`,$$css:!0},fullBleed:{kZCmMZ:`x1c1uobl`,kwRFfy:`xyri2b`,kLKAdn:`xexx8yu`,kGO01o:`x18d9i69`,\"--container-padding-inline-start\":`xrhngw9`,\"--container-padding-inline-end\":`xjsfl84`,\"--container-padding-block-start\":`x1047aw6`,\"--container-padding-block-end\":`xax9j7h`,$$css:!0},scrollable:{kVQacm:`xysyzu8`,$$css:!0},zeroWidth:{kZCmMZ:`x1c1uobl`,kwRFfy:`xyri2b`,kVQacm:`x7giv3`,$$css:!0},dividerEnd:{ke9TFa:`x1lun4ml`,k8ry5P:`x18b5jzi`,kBCPoo:`x1gejf6u`,$$css:!0},dividerStart:{k2ei4v:`xpilrb4`,kVhnKS:`x1t7ytsu`,kGJrpR:`x1j92z86`,$$css:!0},collapseStart:{keTefX:`x1wim8z0`,$$css:!0},collapseEnd:{k71WvV:`x1kpg4um`,$$css:!0}},kH=()=>!1,AH={sizing:e=>[{kzqmXN:e==null?e:`x5lhr3w`,$$css:!0},{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]};function jH({children:e,hasDivider:t=!1,isScrollable:n=!0,label:r,padding:i,role:a,width:o,resizable:s,xstyle:c,className:l,style:u,ref:d,...f}){let p=s==null?void 0:NR(s),m=(0,X.use)(rR),{hasHeader:h,hasFooter:g}=(0,X.use)(aR),_=p?p._size:o,v=_===0,y=(0,X.useRef)(null),[x]=(0,X.useState)(ZV),S=(0,X.useSyncExternalStore)(x.subscribe,x.isCollapsed,kH),w=p==null,T=p==null?void 0:XV(p);b(()=>{let e=w||T!=null,t=t=>{let n=x.attach(e?t:null,w);T?.attach(n)};return t(y.current),()=>{t(null)}},[x,w,T]);let E=m===`end`?`inline-start`:`inline-end`,D=(0,X.useCallback)(()=>{x.beforeChange(v)},[x,v]);b(()=>{x.committed(_,E)});let O=p==null?S:p._isCollapsed,k=DH(O,e=>e?null:BA(y.current),(e,t)=>{let n=y.current;t&&n!=null&&VA(e,x.focusTarget()??KV(n,m),n)}),[A,j]=(0,X.useState)(O);!O&&A&&j(!1),b(()=>{O&&!A&&j(!0)},[O,A]);let M=O&&A,N=m===`start`,P=m===`end`,F=i===0,I=!t&&!F&&i==null&&!v,L=JL({isScrollable:n&&!v,role:a,label:r}),R=gx(d,L.ref,y),z=N?OH.dividerEnd:P?OH.dividerStart:null,B=N?OH.collapseEnd:P?OH.collapseStart:null;return(0,Z.jsxs)(`div`,{ref:R,role:L.role,\"aria-label\":L[`aria-label`],...Q(Y(`layout-panel`),C(OH.panel,AH.sizing(_??null),N&&!F&&i==null&&OH.startPanel,P&&!F&&i==null&&OH.endPanel,!h&&!F&&i==null&&OH.noHeader,!g&&!F&&i==null&&OH.noFooter,n&&OH.scrollable,F&&OH.fullBleed,i!=null&&pM[i],i!=null&&gM[i],i!=null&&_M[i],i!=null&&vM[i],t&&z,I&&B,v&&OH.zeroWidth,Rj.publish,c),l,u),...f,...M?{inert:!0,\"aria-hidden\":!0}:{},children:[(0,Z.jsx)(TH,{value:v,onBeforeChange:D}),(0,Z.jsx)(TH,{value:O,onBeforeChange:k}),e]})}jH.displayName=`LayoutPanel`;var MH=new RegExp(String.raw`[\\p{Script=Adlam}\\p{Script=Arabic}\\p{Script=Hebrew}\\p{Script=Mandaic}\\p{Script=Nko}\\p{Script=Samaritan}\\p{Script=Syriac}\\p{Script=Thaana}\\u061B\\u061C\\u061F\\u0640\\u200F\\u{10800}-\\u{10FFF}\\u{1E800}-\\u{1EFFF}]`,`u`),NH=/[0-9\\u0600-\\u0605\\u0609\\u060A\\u0660-\\u0669\\u066A-\\u066C\\u06DD\\u06F0-\\u06F9\\u0890\\u0891\\u08E2\\uFF10-\\uFF19\\u{1091F}\\u{10B39}-\\u{10B3F}\\u{10D30}-\\u{10D39}\\u{10D40}-\\u{10D49}\\u{10D6E}\\u{10E60}-\\u{10E7E}\\u{10ED0}-\\u{10ED8}\\u{1CCF0}-\\u{1CCF9}\\u{1D7CE}-\\u{1D7FF}\\u{1EEF0}\\u{1EEF1}\\u{1FBF0}-\\u{1FBF9}]/u,PH=new RegExp(String.raw`[\\p{Letter}\\p{Nl}\\p{Nd}\\u200E]`,`u`),FH=new RegExp(String.raw`\\p{Mark}`,`u`);function IH(e){for(let t of e)if(MH.test(t))return!0;return!1}function LH(e){for(let t of e)if(!(FH.test(t)||NH.test(t))){if(MH.test(t))return`rtl`;if(PH.test(t))return`ltr`}return null}function RH(e){return typeof e!=`string`&&typeof e!=`number`||IH(String(e))?{}:{dir:`ltr`}}D(),vr(),xO();var zH={base:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kOIVth:`xzye2dw`,kZKoxP:`x1grt7ep`,k8WAf4:`xt970qd`,kg3NbH:`xf314gf`,kaIpWk:`xjspbzw`,kMv6JI:`xjb2p0i`,kGuDYH:`x141an7d`,kLWn49:`x1ltkj2j`,k63SB2:`x1e4wzip`,khDVqt:`xuxw1ft`,kzqmXN:`xeq5yr9`,ks0D6T:`x193iq5w`,k7Eaqz:`xeuugli`,$$css:!0},grows:{kAzted:`x1tn5z8q`,$$css:!0}},BH={neutral:{kWkggS:`xxqga8b`,kMwMTN:`xzfxgs9`,$$css:!0},info:{kWkggS:`xcc0xtb`,kMwMTN:`x1jxcxwi`,kMeerF:`xcthrzx`,k3XXqK:`x815t2r`,kjBf7l:`x3teovq`,kInvED:`xvr1dqx`,$$css:!0},success:{kWkggS:`xdsz4j9`,kMwMTN:`xri61p4`,kMeerF:`xcthrzx`,k3XXqK:`x815t2r`,kjBf7l:`x3teovq`,kInvED:`xvr1dqx`,$$css:!0},warning:{kWkggS:`x1q8g9m5`,kMwMTN:`xrebv38`,kMeerF:`xcthrzx`,k3XXqK:`x815t2r`,kjBf7l:`x3teovq`,kInvED:`xvr1dqx`,$$css:!0},error:{kWkggS:`x1pjz0fi`,kMwMTN:`x1m024r3`,kMeerF:`xcthrzx`,k3XXqK:`x815t2r`,kjBf7l:`x3teovq`,kInvED:`xvr1dqx`,$$css:!0},blue:{kWkggS:`x1o0wnni`,kMwMTN:`x1vvqiwl`,$$css:!0},cyan:{kWkggS:`x1rgj867`,kMwMTN:`x1txnczv`,$$css:!0},green:{kWkggS:`x1sqjeoo`,kMwMTN:`xltfdvo`,$$css:!0},orange:{kWkggS:`x1e9xt6e`,kMwMTN:`xm47u9q`,$$css:!0},pink:{kWkggS:`xnpoty2`,kMwMTN:`xiuofww`,$$css:!0},purple:{kWkggS:`x16i6n6f`,kMwMTN:`x1m9wyeb`,$$css:!0},red:{kWkggS:`x1cibrc5`,kMwMTN:`x1joocv1`,$$css:!0},teal:{kWkggS:`x1jtji5o`,kMwMTN:`x9x0lbs`,$$css:!0},yellow:{kWkggS:`x1bo7t0x`,kMwMTN:`xdhq94a`,$$css:!0}};function VH({variant:e=`neutral`,label:t,icon:n,xstyle:r,className:i,style:a,ref:o,...s}){let c=typeof t==`number`?String(t):typeof t==`string`&&t.length>0?t:void 0,l=bO(t);return(0,Z.jsxs)(`span`,{ref:o,...Q(Y(`badge`,{variant:e}),C(zH.base,l&&zH.grows,BH[e],r),i,a),title:c,...s,children:[n,(0,Z.jsx)(`span`,{...RH(t),className:`xb3r6kr xlyipyv xeuugli x4ej8vm`,children:t})]})}VH.displayName=`Badge`,DC(),RC();var HH=e=>({flisk:`wolf`,anthropic:`claude`,openai:`openai`,openrouter:`openrouter`})[e]||`flisk`,UH={anthropic:[/^sk-ant-/,`Claude keys start with sk-ant-`],openai:[/^sk-/,`OpenAI keys start with sk-`],openrouter:[/^sk-or-/,`OpenRouter keys start with sk-or-`]},WH=`Your key is encrypted in this browser and sent only with your own requests. We never store it on our server.`,GH={anthropic:[`claude-sonnet-5-5`,`claude-opus-5-5`,`claude-haiku-5-5`,`claude-fable-5-2`],openai:[`gpt-5`,`gpt-5-mini`,`gpt-4.1`,`gpt-4o`,`o4-mini`]},KH=[[``,`All`],[`flisk`,`Flisk Wolf`],[`anthropic`,`Claude`],[`openai`,`OpenAI`],[`openrouter`,`OpenRouter`]];function qH(){let[e,t]=(0,X.useState)(0);return(0,X.useEffect)(()=>{GO.then(()=>t(e=>e+1),()=>{})},[]),e}function JH({label:e,value:t,onChange:n,placeholder:r,error:i,shape:a,hideLabel:o}){let[s,c]=(0,X.useState)(!1),[l,u]=(0,X.useState)(``),d=e=>e.replace(/\\s+/g,``),f=async()=>{try{let e=d(await navigator.clipboard.readText());if(!e){u(`Nothing to paste. Copy your key first.`);return}n(e),u(`Pasted `+e.length+` characters`)}catch{u(`Your browser blocked the paste button. Press and hold in the box, then choose Paste.`)}},p=t&&a&&!a[0].test(t)?a[1]:``;return(0,Z.jsxs)(zL,{gap:2,children:[(0,Z.jsx)(FL,{label:e,isLabelHidden:o,type:s?`text`:`password`,value:t,onChange:e=>{n(d(e)),u(``)},placeholder:r,autoComplete:`off`,autoCapitalize:`off`,hasAutoCorrect:!1,hasSpellCheck:!1,enterKeyHint:`done`,status:i?{type:`error`,message:i}:void 0}),(0,Z.jsxs)(RL,{gap:2,children:[(0,Z.jsx)(DS,{title:`Paste`,text:`Pastes the key you copied, with stray spaces and line breaks removed.`,more:`Easier than press and hold. The first time, your phone may ask you to allow Paste.`,children:(0,Z.jsx)(IO,{label:`Paste key`,variant:`primary`,size:`md`,onClick:f})}),(0,Z.jsx)(DS,{text:`Show or hide the key so you can check it pasted right.`,children:(0,Z.jsx)(IO,{label:s?`Hide`:`Show`,variant:`secondary`,size:`md`,onClick:()=>c(!s)})})]}),p&&!i&&(0,Z.jsx)(CC,{type:`supporting`,color:`warning`,children:p}),l&&(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,children:l})]})}var YH={free:`Free`,$:`Low cost`,$$:`Mid cost`,$$$:`Premium`};function XH({open:e,onClose:t,models:n,value:r,onUse:i}){let a=qH(),[o,s]=(0,X.useState)(``),[c,l]=(0,X.useState)(``),[u,d]=(0,X.useState)(r),[f,p]=(0,X.useState)(null),[m,h]=(0,X.useState)(``),[g,_]=(0,X.useState)(``),[v,y]=(0,X.useState)(``),[b,x]=(0,X.useState)(``);(0,X.useEffect)(()=>{e&&(d(r),s(``),l(``),x(``))},[e]),(0,X.useEffect)(()=>{!e||f||c!==`openrouter`&&u.key!==`openrouter`||ok().then(p,()=>h(`Could not load the OpenRouter list. You can still type a model name.`))},[e,c,u.key]),(0,X.useEffect)(()=>{e&&!u.free&&(_(JO(u.key)),y(u.model||YO(u.key)),x(``))},[e,u.id,a]);let S=(0,X.useMemo)(()=>{let e=(n||[]).map(e=>({...e,sees:!e.free})),t=(f||[]).map(e=>({id:`or:`+e.id,name:e.name,provider:`openrouter`,providerName:`OpenRouter`,description:e.id+(e.ctx?` · `+Math.round(e.ctx/1e3)+`K context`:``),price:e.price,free:!1,key:`openrouter`,model:e.id,sees:e.sees,orFree:e.free})),r=[...e.filter(e=>!(t.length&&e.provider===`openrouter`&&!e.model)),...t],i=o.trim().toLowerCase();return r.filter(e=>(!c||e.provider===c)&&(!i||(e.name+` `+e.description+` `+e.id).toLowerCase().includes(i))).slice(0,80)},[n,f,o,c]),C=!u.free&&!u.model&&u.key!==`openrouter`,w=!u.free&&u.key===`openrouter`&&!u.model,T=()=>{if(u.free)i(u);else{if(!(g.trim()||JO(u.key))){x(`Paste your API key first.`);return}let e=u.model||v.trim();if(!e){x(u.key===`openrouter`?`Pick a model from the list, or type its name.`:`Type the model name first.`);return}g.trim()&&qO(`chat_key_`+u.key,g.trim()),u.model||qO(`chat_model_`+u.key,e),i({...u,model:u.model||e})}t()},E=(LO.keyPages||{})[u.key],D=GH[u.key]||[];return(0,Z.jsx)(QM,{isOpen:e,onOpenChange:e=>!e&&t(),width:600,purpose:`form`,children:(0,Z.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:12,flex:1,minHeight:0,maxHeight:`min(82dvh, 680px)`},children:[(0,Z.jsx)(NC,{level:3,children:`Choose the AI`}),(0,Z.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:12,overflowY:`auto`,minHeight:0,flex:1,paddingBottom:4},children:[(0,Z.jsx)(FL,{label:`Search models`,isLabelHidden:!0,value:o,onChange:s,placeholder:`Search models: name, company or word`,autoComplete:`off`,autoCapitalize:`off`,hasAutoCorrect:!1,enterKeyHint:`search`}),(0,Z.jsx)(RL,{gap:2,wrap:`wrap`,children:KH.map(([e,t])=>(0,Z.jsx)(IO,{label:t,size:`sm`,variant:c===e?`primary`:`secondary`,icon:e?(0,Z.jsx)(bS,{name:HH(e)}):void 0,onClick:()=>l(e)},e))}),(0,Z.jsxs)(`div`,{role:`listbox`,\"aria-label\":`Models`,style:{maxHeight:`min(22dvh, 200px)`,flexShrink:0,overflowY:`auto`,border:`1px solid var(--color-border-subtle, #8884)`,borderRadius:12},children:[S.map(e=>(0,Z.jsxs)(`button`,{role:`option`,\"aria-selected\":e.id===u.id,type:`button`,onClick:()=>d(e),style:{display:`flex`,gap:10,alignItems:`center`,width:`100%`,textAlign:`left`,padding:`10px 12px`,background:e.id===u.id?`var(--color-background-selected, #8882)`:`transparent`,border:0,borderBottom:`1px solid var(--color-border-subtle, #8882)`,color:`inherit`,font:`inherit`,cursor:`pointer`},children:[(0,Z.jsx)(bS,{name:HH(e.provider),size:28}),(0,Z.jsxs)(`span`,{style:{flex:1,minWidth:0},children:[(0,Z.jsx)(CC,{weight:`semibold`,children:e.name}),(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,style:{display:`block`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:e.description})]}),(0,Z.jsxs)(`span`,{style:{display:`flex`,gap:4,flexShrink:0},children:[e.free||e.orFree?(0,Z.jsx)(VH,{label:`Free`,variant:`success`}):null,e.provider===`openrouter`&&e.sees?(0,Z.jsx)(VH,{label:`Sees images`,variant:`info`}):null,!e.free&&!e.orFree&&e.price&&e.provider!==`openrouter`?(0,Z.jsx)(VH,{label:YH[e.price]||e.price}):null]})]},e.id)),!S.length&&(0,Z.jsx)(CC,{color:`secondary`,style:{padding:12,display:`block`},children:m||`No model matches. Clear the search, or type a model name below.`})]}),(0,Z.jsxs)(RL,{gap:2,align:`center`,children:[(0,Z.jsx)(bS,{name:HH(u.provider),size:28}),(0,Z.jsxs)(zL,{gap:0,children:[(0,Z.jsx)(CC,{weight:`semibold`,children:u.name}),(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,children:u.free?`Free, no key needed`:`Uses your key · you pay `+(u.providerName||`the company`)+` directly`})]}),!u.free&&(0,Z.jsx)(VH,{label:`Your key`,variant:`info`})]}),u.free?(0,Z.jsx)(CC,{color:`secondary`,children:`Flisk Wolf is free: a daily limit of tasks, and no key to paste. Pick a model with your own key for no limit and bigger models.`}):(0,Z.jsxs)(zL,{gap:3,children:[(C||w)&&(0,Z.jsxs)(zL,{gap:2,children:[(0,Z.jsx)(FL,{label:`Model name`,value:v,onChange:y,placeholder:u.key===`openrouter`?`Any OpenRouter model id, e.g. google/gemini-2.5-flash`:`Model, e.g. `+(D[0]||``),autoCapitalize:`off`,hasAutoCorrect:!1,hasSpellCheck:!1}),D.length>0&&(0,Z.jsx)(RL,{gap:1,wrap:`wrap`,children:D.map(e=>(0,Z.jsx)(IO,{label:e,size:`sm`,variant:`ghost`,onClick:()=>y(e)},e))})]}),(0,Z.jsx)(JH,{label:`Your `+(u.providerName||``)+` API key`,value:g,onChange:e=>{_(e),x(``)},placeholder:`Paste your API key`,shape:UH[u.key],error:b}),JO(u.key)&&!g&&(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,children:`Key saved in this browser`}),(0,Z.jsxs)(RL,{gap:2,wrap:`wrap`,children:[E&&(0,Z.jsx)(IO,{label:`Get your `+E[0]+` key`,variant:`secondary`,size:`sm`,href:E[1],target:`_blank`}),u.key===`openrouter`&&(0,Z.jsx)(DS,{text:`No key yet? Sign in to your own free OpenRouter account and we receive a key for you (no secret of ours).`,children:(0,Z.jsx)(IO,{label:`No key? Log in with OpenRouter, free`,variant:`ghost`,size:`sm`,onClick:()=>ik(``)})}),JO(u.key)&&(0,Z.jsx)(IO,{label:`Remove my key`,variant:`ghost`,size:`sm`,onClick:()=>{qO(`chat_key_`+u.key,``),qO(`chat_model_`+u.key,``),_(``)}})]}),(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,children:WH})]})]}),(0,Z.jsx)(`div`,{style:{flexShrink:0,paddingTop:8,borderTop:`1px solid var(--color-border-subtle, #8883)`},children:(0,Z.jsxs)(RL,{gap:2,justify:`end`,children:[(0,Z.jsx)(DS,{title:`Cancel`,text:`Closes this window and keeps what you had before.`,children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(IO,{label:`Cancel`,variant:`ghost`,onClick:t})})}),(0,Z.jsx)(IO,{label:u.free?`Use `+u.name:`Save and use`,variant:`primary`,onClick:T})]})})]})})}function ZH({open:e,onClose:t,connected:n,onConnected:r,picked:i,setPicked:a}){let o=LO.cards||[],[s,c]=(0,X.useState)({}),[l,u]=(0,X.useState)({}),[d,f]=(0,X.useState)(``),p=async e=>{if((s[e.id]||``).trim().length<8){u({...l,[e.id]:`Paste your `+e.label+` key first.`});return}f(e.id);let t=await nk(e.id,s[e.id].trim());f(``),t.ok?(u({...l,[e.id]:``}),c({...s,[e.id]:``}),r(e.id)):u({...l,[e.id]:t.error||`Could not save that key. Check it and try again.`})},m=e=>a(i.includes(e)?i.filter(t=>t!==e):[...i,e]);return(0,Z.jsx)(QM,{isOpen:e,onOpenChange:e=>!e&&t(),width:560,purpose:`info`,children:(0,Z.jsxs)(zL,{gap:4,children:[(0,Z.jsx)(NC,{level:3,children:`Where your app runs`}),(0,Z.jsxs)(RL,{gap:3,align:`center`,children:[(0,Z.jsx)(bS,{name:`fleet`,size:32}),(0,Z.jsxs)(zL,{gap:0,children:[(0,Z.jsx)(CC,{weight:`semibold`,children:`Fleet auto`}),(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,children:`Uses your cheapest connected computer first`})]}),(0,Z.jsx)(IO,{label:i.length?`Use Fleet auto`:`Fleet auto is on`,size:`sm`,variant:i.length?`secondary`:`primary`,onClick:()=>a([])})]}),(0,Z.jsx)(CC,{color:`secondary`,children:`Connect a computer once with its key. Free ones have free credit. Without any, small tasks run on a Linux inside this tab.`}),o.map(e=>(0,Z.jsxs)(zL,{gap:2,children:[(0,Z.jsxs)(RL,{gap:2,align:`center`,children:[(0,Z.jsx)(bS,{name:e.id,size:24}),(0,Z.jsxs)(zL,{gap:0,children:[(0,Z.jsx)(CC,{weight:`semibold`,children:e.label}),(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,children:e.note})]}),n.includes(e.id)&&(0,Z.jsx)(VH,{label:`Connected`,variant:`success`})]}),!n.includes(e.id)&&(0,Z.jsxs)(RL,{gap:2,align:`end`,wrap:`wrap`,children:[(0,Z.jsx)(JH,{label:e.label+` key`,hideLabel:!0,value:s[e.id]||``,onChange:t=>c({...s,[e.id]:t}),placeholder:`Paste key`,error:l[e.id]}),(0,Z.jsx)(IO,{label:`Get key`,variant:`secondary`,size:`sm`,href:e.url,target:`_blank`}),(0,Z.jsx)(IO,{label:d===e.id?`Connecting…`:`Connect`,variant:`primary`,size:`sm`,isDisabled:!!d,onClick:()=>p(e)})]}),n.includes(e.id)&&(0,Z.jsx)(IO,{label:i.includes(e.id)?`Only on `+e.label+` (tap to undo)`:`Run only on `+e.label,size:`sm`,variant:i.includes(e.id)?`primary`:`secondary`,onClick:()=>m(e.id)})]},e.id)),(0,Z.jsx)(RL,{justify:`end`,children:(0,Z.jsx)(DS,{title:`Done`,text:`Closes this window. Your choices are already saved.`,children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(IO,{label:`Done`,variant:`primary`,onClick:t})})})})]})})}var QH=!1;function $H(e=typeof navigator<`u`&&navigator.sendBeacon?(e,t)=>navigator.sendBeacon(e,t):null,t=typeof location<`u`?location.hostname:``){if(QH||!e||t!==`chat.flisk.si`)return!1;QH=!0;let n=``;try{n=sessionStorage.getItem(`_fa`)||``}catch{}try{return e(`https://analytics.flisk.si/e`,JSON.stringify({d:t,p:`/ask`,r:``,s:n,u:``,t:``})),!0}catch{return!1}}var eU=Symbol(`MarkdownAstLegacyCodeLanguage`);function tU(e,t){return t===e.lang||Object.defineProperty(e,eU,{configurable:!1,enumerable:!0,value:t,writable:!1}),e}function nU(e){let t=e[eU];return t===void 0?e.lang:t}function rU(e,t,n){let r=e=>{if(e.type===t&&n(e),`children`in e)for(let t of e.children)r(t)};r(e)}function iU(e,t=e=>e.source??``){let n=``;for(let r of e)switch(r.type){case`text`:case`inlineCode`:case`inlineMath`:n+=r.value;break;case`strong`:case`emphasis`:case`delete`:case`link`:n+=iU(r.children,t);break;case`image`:n+=r.alt;break;case`citation`:case`break`:break;case`extension`:n+=t(r)}return n}ex();var aU=2e3;function oU(){let e=document,t=e.permissionsPolicy??e.featurePolicy;return typeof t?.allowsFeature!=`function`||t.allowsFeature(`clipboard-write`)}function sU(e){if(navigator.userActivation?.isActive===!1)throw Error(`The copy command runs only in a click or a key press.`);let t=!1,n=n=>{n.clipboardData!=null&&(n.clipboardData.setData(`text/plain`,e),n.preventDefault(),n.stopImmediatePropagation(),t=!0)};window.addEventListener(`copy`,n,!0);let r;try{r=document.execCommand(`copy`)}finally{window.removeEventListener(`copy`,n,!0)}if(!r||!t)throw Error(`The browser did not copy the text.`)}async function cU(e){if(!oU())sU(e);else try{await navigator.clipboard.writeText(e)}catch(t){if(!(t instanceof DOMException&&t.name===`NotAllowedError`))throw t;try{sU(e)}catch{throw t}}}function lU(e={}){let{announce:t,announceFailure:n,resetAfterMs:r=aU,onError:i}=e,a=Ab(),[o,s]=(0,X.useState)(!1),[c,l]=(0,X.useState)(!1),u=(0,X.useRef)(null),d=(0,X.useRef)(null),f=(0,X.useRef)(!0);return(0,X.useEffect)(()=>(f.current=!0,()=>{f.current=!1,u.current!=null&&clearTimeout(u.current),d.current!=null&&clearTimeout(d.current)}),[]),{copy:(0,X.useCallback)(async e=>{try{await cU(e)}catch(e){return f.current?(l(!0),d.current!=null&&clearTimeout(d.current),d.current=setTimeout(()=>{d.current=null,l(!1)},r),n&&a(n,`assertive`),i?.(e),!1):(i?.(e),!1)}return f.current&&(d.current!=null&&(clearTimeout(d.current),d.current=null),l(!1),s(!0),t&&a(t),u.current!=null&&clearTimeout(u.current),u.current=setTimeout(()=>{u.current=null,s(!1)},r)),!0},[a,t,n,r,i]),isCopied:o,isFailed:c}}function uU(e,t){pU.set(e,t)}function dU(e){pU.delete(e)}function fU(e){return pU.get(e)}var pU,mU=o((()=>{Xn(),pU=Jn(`hooks/scroll-owner-registry/owners`,1)}));function hU(e){if(e.tabIndex<0||e.matches(`:disabled`)||e.closest(`[inert], [hidden]`)!=null||e.getClientRects().length===0)return!1;let t=getComputedStyle(e).visibility;return t!==`hidden`&&t!==`collapse`}function gU(e,t){let n=t.querySelectorAll(tA),r=t!==e&&t.matches(`button:not([disabled]), a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"]):not([disabled]), [contenteditable]:not([contenteditable=\"false\"]), audio[controls], video[controls], iframe, details > summary:first-child`)&&hU(t)?t:null;for(let e of n)if(!(r!=null&&e.tabIndex<=0)&&hU(e)){if(e.tabIndex>0)return null;r??=e}if(r==null||r.tabIndex!==0||!r.matches(`a[href], button`)||r.closest(`[aria-hidden=\"true\"]`)!=null||r.matches(`[aria-disabled=\"true\"], [aria-haspopup]:not([aria-haspopup=\"false\"])`))return null;let i=r;for(;i!=null&&i!==e;){let e=i.getAttribute(`role`)?.trim().toLowerCase(),t=i===r&&(e===`button`&&r.localName===`button`||e===`link`&&r.localName===`a`);if(e!=null&&e!==``&&!t&&!vU.has(e)||i===r&&e!=null&&e!==``&&!t||i.hasAttribute(`aria-activedescendant`)||i.isContentEditable||i.matches(`[contenteditable]:not([contenteditable=\"false\"])`)||fU(i)!=null)return null;let n=getComputedStyle(i);if(/^(auto|scroll|overlay)$/.test(n.overflowX)&&i.scrollWidth>i.clientWidth+1||/^(auto|scroll|overlay)$/.test(n.overflowY)&&i.scrollHeight>i.clientHeight+1)return null;i=i.parentElement}return i===e?r:null}function _U(e,t){let n=e.ownerDocument,r=n.defaultView;if(r==null)return()=>{};let i=null,a=null,o=null,s,c,l=()=>{i=null,a=null,r.clearTimeout(s),c?.(),c=void 0},u=t=>{if(l(),!(t.key!==`Tab`||t.ctrlKey||t.metaKey)){if(i=t,a=t.target,t.shiftKey&&o!=null&&n.activeElement===o&&e.contains(o)){let t=e.getAttribute(`tabindex`);e.tabIndex=-1,c=()=>{e.getAttribute(`tabindex`)===`-1`&&(t==null?e.removeAttribute(`tabindex`):e.setAttribute(`tabindex`,t))}}s=r.setTimeout(l,0)}},d=r=>{let s=i,c=a;if(l(),r.target!==e){e.contains(r.target)||(o=null);return}if(o=null,s==null||s.shiftKey||s.defaultPrevented||s.eventPhase!==0||r.relatedTarget!=null&&r.relatedTarget!==c)return;let u=gU(e,t);u!=null&&(o=u,u.focus(),n.activeElement!==u&&(o=null))};return n.addEventListener(`keydown`,u,!0),n.addEventListener(`keyup`,l,!0),n.addEventListener(`pointerdown`,l,!0),n.addEventListener(`focusin`,d,!0),r.addEventListener(`blur`,l),()=>{l(),n.removeEventListener(`keydown`,u,!0),n.removeEventListener(`keyup`,l,!0),n.removeEventListener(`pointerdown`,l,!0),n.removeEventListener(`focusin`,d,!0),r.removeEventListener(`blur`,l)}}var vU,yU=o((()=>{nA(),mU(),vU=new Set([`article`,`banner`,`complementary`,`contentinfo`,`definition`,`directory`,`document`,`figure`,`form`,`generic`,`group`,`heading`,`list`,`listitem`,`main`,`navigation`,`none`,`note`,`paragraph`,`presentation`,`region`,`section`,`status`,`table`,`term`])}));function bU(e,t){let n=SU.get(e);return n??(n=new Set,SU.set(e,n)),n.add(t),()=>{n?.delete(t),n?.size===0&&SU.delete(e)}}function xU(e,t=!1,n=!1){for(let r of SU.get(e)??[])r(t||n,n)}var SU,CU=o((()=>{SU=new WeakMap}));function wU(e,t){if(e==null||!e.includes(t))return null;let n=RegExp(`(?:^|;)\\\\s*${t}\\\\s*:\\\\s*([^;]*)`,`i`).exec(e);return n==null?null:n[1].trim()}function TU(e,t){return e!==t&&VU.some(n=>wU(e,n)!==wU(t,n))}function EU(e,t){return e===t||e===`both`}function DU(e,t){return e.inline.isScrollable===t.inline.isScrollable&&e.inline.atStart===t.inline.atStart&&e.inline.atEnd===t.inline.atEnd&&e.block.isScrollable===t.block.isScrollable&&e.block.atStart===t.block.atStart&&e.block.atEnd===t.block.atEnd}function OU(e,t){return e.inline===t.inline&&e.block===t.block}function kU(e,t,n){e.current!==n&&(e.current=n,t(n))}function AU(e,t){return e.inline===t.inline&&e.block===t.block&&e.inlineReversed===t.inlineReversed&&e.blockReversed===t.blockReversed}function jU(e){if(e==null)return;let t={...e};return delete t.overflow,delete t.overflowX,delete t.overflowY,delete t.overflowInline,delete t.overflowBlock,t}function MU(e){let t=(0,PU.useRef)(void 0),n=(0,PU.useRef)(null);return(0,PU.useCallback)(r=>{if(n.current!=null&&Object.is(t.current,r))return n.current;let i=mx(r,e);return t.current=r,n.current=i,i},[e])}function NU({axis:e,keyboardAccess:t,overscroll:n=`allow`,stickyContainment:r=`whenScrollable`}){let[i,a]=(0,PU.useState)(null),[o,s]=(0,PU.useState)(null),[c,l]=(0,PU.useState)(IU),[u,d]=(0,PU.useState)(LU),[f,p]=(0,PU.useState)(RU),[m,h]=(0,PU.useState)(!1),g=(0,PU.useRef)(!1),_=(0,PU.useRef)(IU),v=(0,PU.useRef)(null),y=(0,PU.useCallback)(e=>{if(a(t=>t===e?t:e),e==null)return;let t=()=>{let{inline:t,block:n}=_.current;t.isScrollable||n.isScrollable||kU(g,h,e.ownerDocument.activeElement===e)};return t(),e.addEventListener(`focusin`,t),e.addEventListener(`focusout`,t),()=>{e.removeEventListener(`focusin`,t),e.removeEventListener(`focusout`,t),kU(g,h,!1),a(null)}},[]),x=(0,PU.useCallback)(e=>{s(t=>t===e?t:e)},[]),S=MU(y),w=MU(x);b(()=>{if(i==null||o==null)return;let t=null,n=!0,r=RU,a=LU,s=e=>{_.current=e,uU(i,e),l(t=>DU(t,e)?t:e)},c=!0,u=!0,f=()=>{let t=getComputedStyle(i),n=BL(t.writingMode,t.direction),o=EU(e,`inline`)?HL(i,`inline`,n):!1,l=EU(e,`block`)?HL(i,`block`,n):!1,f=EU(e,`inline`)?UL(i,`inline`,n):FU,m=EU(e,`block`)?UL(i,`block`,n):FU;if(o==null||l==null||f==null||m==null)return;!f.isScrollable&&!m.isScrollable&&kU(g,h,i.ownerDocument.activeElement===i);let _={inline:o,block:l},v={inline:f,block:m};r=n,a=_,d(e=>OU(e,_)?e:_),s(v),xU(i,c,u),c=!1,u=!1,p(e=>AU(e,n)?e:n)},m=()=>{t=null,f()},y=()=>{n&&t==null&&(t=window.requestAnimationFrame(m))},b=()=>{if(!n||t!=null)return;let o=_.current,c=o;for(let t of zU){if(!EU(e,t))continue;let n=fre(i,t,r);if(n==null)return;if(n.overflows!==a[t]||n.contradictsMapping){y();return}let s=o[t];!s.isScrollable||s.atStart===n.atStart&&s.atEnd===n.atEnd||(c={...c,[t]:{isScrollable:!0,atStart:n.atStart,atEnd:n.atEnd}})}c!==o&&s(c),xU(i)},x=()=>{c=!0,y()},S=()=>{u=!0,x()},C=e=>{let t=e.target;return e.type===`attributes`&&e.attributeName===`style`&&t instanceof Element&&!i.contains(t)&&!o.contains(t)&&!TU(e.oldValue,t.getAttribute(`style`))},w=e=>{let t=e.filter(e=>!C(e));t.length!==0&&(t.some(e=>e.target===o||!o.contains(e.target))?S():x())};uU(i,_.current),v.current=f,m();let T=qi(i,S),E=qi(o,S);i.addEventListener(`scroll`,b,{passive:!0}),window.addEventListener(`resize`,y),window.visualViewport?.addEventListener(`resize`,y),o.addEventListener(`load`,y,!0),i.addEventListener(`transitionend`,y),i.addEventListener(`animationend`,y),o.addEventListener(`transitionend`,y),o.addEventListener(`animationend`,y);let D=typeof MutationObserver>`u`?null:new MutationObserver(w);D?.observe(i,{attributes:!0,attributeFilter:[`class`,`dir`,`hidden`,`style`]}),D?.observe(o,{attributes:!0,attributeFilter:[`class`,`dir`,`hidden`,`style`],characterData:!0,childList:!0,subtree:!0});let O=i.parentElement;for(;O!=null;)D?.observe(O,{attributes:!0,attributeFilter:[`class`,`dir`,`hidden`,`style`],attributeOldValue:!0}),O=O.parentElement;let k=document.fonts;return k?.addEventListener?.(`loadingdone`,S),k?.ready.then(S),()=>{n=!1,v.current=null,dU(i),T(),E(),D?.disconnect(),i.removeEventListener(`scroll`,b),window.removeEventListener(`resize`,y),window.visualViewport?.removeEventListener(`resize`,y),o.removeEventListener(`load`,y,!0),i.removeEventListener(`transitionend`,y),i.removeEventListener(`animationend`,y),o.removeEventListener(`transitionend`,y),o.removeEventListener(`animationend`,y),k?.removeEventListener?.(`loadingdone`,S),t!=null&&window.cancelAnimationFrame(t)}},[e,o,i]);let T=(0,PU.useRef)(LU),E=(0,PU.useRef)(RU);b(()=>{let e=T.current,t=u.inline&&!e.inline||u.block&&!e.block,n=f!==E.current;T.current=u,E.current=f,(t||n)&&v.current?.()},[u,f]);let D=(0,PU.useMemo)(()=>({inline:EU(e,`inline`)?c.inline:FU,block:EU(e,`block`)?c.block:FU}),[e,c]),O=D.inline.isScrollable||D.block.isScrollable;return b(()=>{if(t.owner===`contentOrViewport`&&O&&i!=null&&o!=null)return _U(i,o)},[o,O,t.owner,i]),{getViewportProps:(0,PU.useCallback)((i={})=>{let a=D.inline.isScrollable||D.block.isScrollable,o=EU(e,`inline`)&&f.inline===`x`||EU(e,`block`)&&f.block===`x`,s=EU(e,`inline`)&&f.inline===`y`||EU(e,`block`)&&f.block===`y`,l=u.inline&&f.inline===`x`||u.block&&f.block===`x`,d=u.inline&&f.inline===`y`||u.block&&f.block===`y`,p=l||d||r===`always`,h=r===`always`?o:l,g=r===`always`?s:d,{xstyle:_,...v}=i,y=Q({...v,style:jU(v.style)},C(_,BU.overflow(p?h?`auto`:`hidden`:`clip`,p?g?`auto`:`hidden`:`clip`))),b=m||c.inline.isScrollable||c.block.isScrollable,x={...y.style},w=n===`contain`&&D.inline.isScrollable,T=n===`contain`&&D.block.isScrollable,E=f.inline,O=f.block;EU(e,`inline`)&&(x[E===`x`?`overscrollBehaviorX`:`overscrollBehaviorY`]=w?`contain`:`auto`),EU(e,`block`)&&(x[O===`x`?`overscrollBehaviorX`:`overscrollBehaviorY`]=T?`contain`:`auto`);let k=t.owner===`content`?{}:{role:t.role??`group`,\"aria-label\":t.label,tabIndex:a?0:b?-1:void 0};return{...y,...k,ref:S(y.ref),style:x,\"data-scroll-axis\":e,\"data-scrollable-inline\":D.inline.isScrollable?`true`:void 0,\"data-scrollable-block\":D.block.isScrollable?`true`:void 0,\"data-scroll-inline-start\":D.inline.atStart?`true`:void 0,\"data-scroll-inline-end\":D.inline.atEnd?`true`:void 0,\"data-scroll-block-start\":D.block.atStart?`true`:void 0,\"data-scroll-block-end\":D.block.atEnd?`true`:void 0}},[e,S,m,t,f,c,u,n,D,r]),getContentProps:(0,PU.useCallback)((e={})=>{let{xstyle:t,...n}=e,r=Q(n,C(t));return{...r,ref:w(r.ref),\"data-scroll-content\":``}},[w]),state:D}}var PU,FU,IU,LU,RU,zU,BU,VU,HU=o((()=>{PU=u(f(),1),D(),yU(),x(),bC(),hx(),Qi(),KL(),CU(),mU(),FU={isScrollable:!1,atStart:!0,atEnd:!0},IU={inline:FU,block:FU},LU={inline:!1,block:!1},RU={inline:`x`,block:`y`,inlineReversed:!1,blockReversed:!1},zU=[`inline`,`block`],BU={overflow:(e,t)=>[{kXHlph:e==null?e:`xyto64x`,kORKVm:t==null?t:`x4ncuvb`,$$css:!0},{\"--x-overflowX\":e??void 0,\"--x-overflowY\":t??void 0}]},VU=[`direction`,`writing-mode`,`display`,`visibility`,`content-visibility`]}));G(),`${j[`--spacing-8`]}`;var UU={start:{kX1K2I:`x24kw6c x130plbu x465lc8 x1o7cvts x3eit0z xn6jknh`,katHQp:`x10epi6d`,\"--_scroll-fade-start-0\":`xd3ajef`,\"--_scroll-fade-start-1\":`x1ecr8xl`,\"--_scroll-fade-end-0\":`x1gp58cs`,\"--_scroll-fade-end-1\":`x1jgx951`,$$css:!0},end:{kX1K2I:`x24kw6c x130plbu x465lc8 x1o7cvts x3eit0z xn6jknh`,katHQp:`x10epi6d`,\"--_scroll-fade-start-0\":`xd0mkop`,\"--_scroll-fade-start-1\":`x1frk09p`,\"--_scroll-fade-end-0\":`xahoihe`,\"--_scroll-fade-end-1\":`x7o13q4`,$$css:!0},both:{kX1K2I:`x24kw6c x130plbu x465lc8 x1o7cvts x3eit0z xn6jknh`,katHQp:`x10epi6d`,\"--_scroll-fade-start-0\":`xd3ajef`,\"--_scroll-fade-start-1\":`x1ecr8xl`,\"--_scroll-fade-end-0\":`xahoihe`,\"--_scroll-fade-end-1\":`x7o13q4`,$$css:!0}},WU={start:{kX1K2I:`x1qwgxuj xiw03rd x1yc0pmc xjml3p3 x1f22jp x1fww0mx`,katHQp:`x1kek0pe`,\"--_scroll-fade-start-0\":`xd3ajef`,\"--_scroll-fade-start-1\":`x1ecr8xl`,\"--_scroll-fade-end-0\":`x1gp58cs`,\"--_scroll-fade-end-1\":`x1jgx951`,$$css:!0},end:{kX1K2I:`x1qwgxuj xiw03rd x1yc0pmc xjml3p3 x1f22jp x1fww0mx`,katHQp:`x1kek0pe`,\"--_scroll-fade-start-0\":`xd0mkop`,\"--_scroll-fade-start-1\":`x1frk09p`,\"--_scroll-fade-end-0\":`xahoihe`,\"--_scroll-fade-end-1\":`x7o13q4`,$$css:!0},both:{kX1K2I:`x1qwgxuj xiw03rd x1yc0pmc xjml3p3 x1f22jp x1fww0mx`,katHQp:`x1kek0pe`,\"--_scroll-fade-start-0\":`xd3ajef`,\"--_scroll-fade-start-1\":`x1ecr8xl`,\"--_scroll-fade-end-0\":`xahoihe`,\"--_scroll-fade-end-1\":`x7o13q4`,$$css:!0}};function GU(e,t=`native`){if(!e.isScrollable||e.atStart&&e.atEnd)return null;let n=t===`hidden`?WU:UU;return e.atStart?n.end:e.atEnd?n.start:n.both}rc(),BT();function KU(e){return bte(e,Us())}function qU(e,t,n){return Cte(e,t,n,Us())}sE();function JU({content:e,...t}){return e===void 0?(0,Z.jsx)(YU,{...t}):e}function YU({slot:e,state:t,fallback:n,color:r}){let{icon:i,variant:a,size:o}=qU(e,t,n);return i==null?null:(0,Z.jsx)(XT,{icon:i,variant:a,size:o,color:r})}function XU({icon:e,...t}){return(0,Z.jsx)(IO,{...t,icon:e,isIconOnly:!0})}XU.displayName=`IconButton`,Xn();var ZU=Wn(`code-language`,1);function QU(e){return typeof e==`object`&&!!e&&e[ZU]===!0}function $U(e){let t=e;return QU(e)&&typeof t.painter==`function`?t.painter():null}function eW(e){return typeof e!=`string`&&$U(e)?.kind===`tokenize`}function tW(e,t){if(e===t)return!0;if(typeof e==`string`||typeof t==`string`)return!1;let n=$U(e),r=$U(t);return n?.kind===`tokenize`&&r?.kind===`tokenize`&&n.tokenize===r.tokenize&&e.name===t.name&&e.identifiers.length===t.identifiers.length&&e.identifiers.every((e,n)=>e===t.identifiers[n])}function nW(e){return typeof e==`string`?e:e.name}function rW(e){return typeof e==`string`?e:e.identifiers[0]??e.name}function iW(e,t){return e===t?!0:e==null||t==null||e.length!==t.length?!1:e.every((e,n)=>e===t[n])}function aW(e,t){if(e!=null){for(let n=e.length-1;n>=0;n--)if(e[n].identifiers.includes(t))return e[n]}}var oW=e=>RegExp(`\\\\b(?:${e.trim().split(/\\s+/).join(`|`)})\\\\b`),sW=/\\b(?:0[xX][\\da-fA-F_]+|0[bB][01_]+|0[oO][0-7_]+|\\d[\\d_]*\\.?[\\d_]*(?:[eE][+-]?\\d+)?)[a-zA-Z]*\\b/,cW=/\"(?:[^\"\\\\\\n]|\\\\.)*\"/,lW=/'(?:[^'\\\\\\n]|\\\\.)*'/,uW=/\\/\\*[\\s\\S]*?\\*\\//,dW=/\\/\\/[^\\n]*/,fW=/\\b[a-zA-Z_$][\\w$]*(?=\\s*\\()/,pW=/\\b[A-Z][a-zA-Z0-9_]*\\b/,mW=/[+\\-*/%=!<>&|^~?:]+/,hW=/[{}()\\[\\];,.@]/;function gW(e,t=[],n=[uW,dW]){return{defaultType:`variable`,patterns:[...n.map(e=>({type:`comment`,regex:e})),...t,{type:`string`,regex:cW},{type:`string`,regex:lW},{type:`number`,regex:sW},{type:`keyword`,regex:oW(e)},{type:`function`,regex:fW},{type:`type`,regex:pW},{type:`operator`,regex:mW},{type:`punctuation`,regex:hW}]}}var _W=/^[ \\t]*#\\s*\\w+/m,vW=`auto break case char const continue default do double else enum extern float for goto if inline int long register restrict return short signed sizeof static struct switch typedef union unsigned void volatile while bool true false NULL nullptr`,yW=`${vW} alignas alignof catch class concept constexpr consteval co_await co_return co_yield decltype delete explicit export friend mutable namespace new noexcept operator override private protected public requires static_assert template this throw try typename using virtual final`,bW=new Map,xW=/\\b(const|let|var|function|class|if|else|for|while|return|import|export|from|default|async|await|try|catch|throw|new|typeof|instanceof|interface|type|enum|extends|implements|switch|case|break|continue|do|in|of|void|null|undefined|true|false|this|super|yield|delete|static|public|private|protected|readonly|abstract|as|is|keyof|declare|module|namespace|require)\\b/,SW=/\\b(def|class|if|elif|else|for|while|return|import|from|as|with|try|except|raise|True|False|None|and|or|not|in|is|lambda|yield|async|await|pass|break|continue|del|global|nonlocal|assert|finally|print|self|cls)\\b/,CW=/\\b(if|then|else|elif|fi|for|do|done|while|until|case|esac|function|in|select|return|exit|local|export|source|alias|unalias|readonly|shift|eval|exec|set|unset|trap|wait|read|echo|printf|test|true|false)\\b/,wW=/\\b(important|inherit|initial|unset|revert|auto|none)\\b/,TW=/\\b(function|class|if|else|elseif|for|foreach|while|return|echo|public|private|protected|static|new|try|catch|throw|namespace|use|require|require_once|include|include_once|extends|implements|interface|abstract|final|const|var|true|false|null|array|isset|unset|empty|list|match|enum|switch|case|break|continue|do|yield|fn)\\b/,EW=/\\b(function|class|if|else|for|foreach|while|return|echo|public|private|protected|static|new|try|catch|throw|namespace|use|require|include|extends|implements|interface|abstract|final|const|shape|vec|dict|keyset|async|await|concurrent|enum|type|newtype|tuple|inout)\\b/,DW=new WeakMap;function OW(e){if(typeof e!=`string`){let t=DW.get(e);if(t!==void 0)return t;let n=$U(e),r=n==null?null:n.kind===`grammar`?MW(n.grammar):{tokenize:n.tokenize,name:e.name};return DW.set(e,r),r}let t=bW.get(e);if(t!==void 0)return t;let n=jW(e);return bW.set(e,n),n}function kW(e){let t=OW(e);return t!=null&&`patterns`in t?t:null}function AW(e,t){let n=OW(t);return n==null||!(`tokenize`in n)?null:typeof n.tokenize==`function`?LW(n.tokenize(e,n.name),e):null}function jW(e){let t=NW(e);return t?MW(t):null}function MW(e){return{defaultType:e.defaultType,patterns:e.patterns.map(e=>{let t=e.regex.flags.replace(/[gy]/g,``)+`y`;return{...e,anchored:new RegExp(e.regex.source,t)}})}}function NW(e){switch(e){case`typescript`:case`javascript`:case`tsx`:case`jsx`:case`ts`:case`js`:return{defaultType:`variable`,patterns:[{type:`comment`,regex:/\\/\\*[\\s\\S]*?\\*\\//},{type:`comment`,regex:/\\/\\/[^\\n]*/},{type:`string`,regex:/`(?:[^`\\\\]|\\\\.)*`/},{type:`string`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`string`,regex:/'(?:[^'\\\\]|\\\\.)*'/},{type:`constant`,regex:/@[\\w]+/},{type:`number`,regex:/\\b0[xX][0-9a-fA-F_]+\\b/},{type:`number`,regex:/\\b0[bB][01_]+\\b/},{type:`number`,regex:/\\b0[oO][0-7_]+\\b/},{type:`number`,regex:/\\b\\d[\\d_]*\\.?[\\d_]*(?:[eE][+-]?\\d+)?\\b/},{type:`keyword`,regex:xW},{type:`function`,regex:/\\b[a-zA-Z_$][\\w$]*(?=\\s*\\()/},{type:`type`,regex:/\\b[A-Z][a-zA-Z0-9_]*\\b/},{type:`operator`,regex:/[+\\-*/%=!<>&|^~?:]+/},{type:`punctuation`,regex:/[{}()\\[\\];,.]/},{type:`variable`,regex:/\\b[a-zA-Z_$][\\w$]*\\b/}]};case`json`:return{defaultType:`punctuation`,patterns:[{type:`property`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"(?=\\s*:)/},{type:`string`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`number`,regex:/-?\\b\\d+\\.?\\d*(?:[eE][+-]?\\d+)?\\b/},{type:`constant`,regex:/\\b(true|false|null)\\b/},{type:`punctuation`,regex:/[{}()\\[\\]:,]/}]};case`html`:case`xml`:case`svg`:return{defaultType:`variable`,patterns:[{type:`comment`,regex://},{type:`keyword`,regex:/]*>/i},{type:`tag`,regex:/<\\/[a-zA-Z][\\w-]*\\s*>/},{type:`tag`,regex:/<[a-zA-Z][\\w-]*/},{type:`tag`,regex:/\\/?>/},{type:`string`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`string`,regex:/'(?:[^'\\\\]|\\\\.)*'/},{type:`attribute`,regex:/\\b[a-zA-Z_:][\\w:.-]*(?=\\s*=)/},{type:`operator`,regex:/=/}]};case`css`:case`scss`:case`less`:return{defaultType:`variable`,patterns:[{type:`comment`,regex:/\\/\\*[\\s\\S]*?\\*\\//},{type:`comment`,regex:/\\/\\/[^\\n]*/},{type:`string`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`string`,regex:/'(?:[^'\\\\]|\\\\.)*'/},{type:`variable`,regex:/--[a-zA-Z_-][\\w-]*/},{type:`number`,regex:/-?\\b\\d+\\.?\\d*(?:px|em|rem|%|vh|vw|vmin|vmax|ch|ex|deg|rad|turn|s|ms|fr)?\\b/},{type:`constant`,regex:/#[0-9a-fA-F]{3,8}\\b/},{type:`keyword`,regex:wW},{type:`keyword`,regex:/@[a-zA-Z][\\w-]*/},{type:`tag`,regex:/[.#][a-zA-Z_-][\\w-]*/},{type:`keyword`,regex:/::?[a-zA-Z][\\w-]*/},{type:`function`,regex:/\\b[a-zA-Z_-][\\w-]*(?=\\s*\\()/},{type:`property`,regex:/[a-zA-Z_-][\\w-]*(?=\\s*:)/},{type:`punctuation`,regex:/[{}()\\[\\];:,]/},{type:`operator`,regex:/[+~>*=|^$]/}]};case`python`:case`py`:return{defaultType:`variable`,patterns:[{type:`string`,regex:/\"\"\"[\\s\\S]*?\"\"\"/},{type:`string`,regex:/'''[\\s\\S]*?'''/},{type:`string`,regex:/f\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`string`,regex:/f'(?:[^'\\\\]|\\\\.)*'/},{type:`comment`,regex:/#[^\\n]*/},{type:`string`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`string`,regex:/'(?:[^'\\\\]|\\\\.)*'/},{type:`constant`,regex:/@[\\w.]+/},{type:`number`,regex:/\\b0[xX][0-9a-fA-F_]+\\b/},{type:`number`,regex:/\\b0[bB][01_]+\\b/},{type:`number`,regex:/\\b0[oO][0-7_]+\\b/},{type:`number`,regex:/\\b\\d[\\d_]*\\.?[\\d_]*(?:[eE][+-]?\\d+)?j?\\b/},{type:`keyword`,regex:SW},{type:`function`,regex:/\\b[a-zA-Z_][\\w]*(?=\\s*\\()/},{type:`type`,regex:/\\b[A-Z][a-zA-Z0-9_]*\\b/},{type:`operator`,regex:/[+\\-*/%=!<>&|^~@:]+/},{type:`punctuation`,regex:/[{}()\\[\\];,.]/},{type:`variable`,regex:/\\b[a-zA-Z_][\\w]*\\b/}]};case`bash`:case`sh`:case`zsh`:case`shell`:return{defaultType:`variable`,patterns:[{type:`comment`,regex:/#[^\\n]*/},{type:`string`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`string`,regex:/'[^']*'/},{type:`variable`,regex:/\\$\\{[^}]+\\}/},{type:`variable`,regex:/\\$[a-zA-Z_][\\w]*/},{type:`variable`,regex:/\\$[0-9@#?*!$-]/},{type:`number`,regex:/\\b\\d+\\b/},{type:`keyword`,regex:CW},{type:`function`,regex:/\\b[a-zA-Z_][\\w]*(?=\\s*\\()/},{type:`operator`,regex:/[|&<>;!]+/},{type:`punctuation`,regex:/[{}()\\[\\]]/}]};case`php`:return{defaultType:`variable`,patterns:[{type:`comment`,regex:/\\/\\*[\\s\\S]*?\\*\\//},{type:`comment`,regex:/\\/\\/[^\\n]*/},{type:`comment`,regex:/#[^\\n]*/},{type:`string`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`string`,regex:/'(?:[^'\\\\]|\\\\.)*'/},{type:`variable`,regex:/\\$[a-zA-Z_][\\w]*/},{type:`number`,regex:/\\b0[xX][0-9a-fA-F]+\\b/},{type:`number`,regex:/\\b\\d+\\.?\\d*(?:[eE][+-]?\\d+)?\\b/},{type:`keyword`,regex:TW},{type:`function`,regex:/\\b[a-zA-Z_][\\w]*(?=\\s*\\()/},{type:`type`,regex:/\\b[A-Z][a-zA-Z0-9_]*\\b/},{type:`operator`,regex:/[+\\-*/%=!<>&|^~?:.]+/},{type:`constant`,regex:/@[\\w]+/},{type:`punctuation`,regex:/[{}()\\[\\];,.]/}]};case`hack`:return{defaultType:`variable`,patterns:[{type:`comment`,regex:/\\/\\*[\\s\\S]*?\\*\\//},{type:`comment`,regex:/\\/\\/[^\\n]*/},{type:`string`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`string`,regex:/'(?:[^'\\\\]|\\\\.)*'/},{type:`variable`,regex:/\\$[a-zA-Z_][\\w]*/},{type:`number`,regex:/\\b0[xX][0-9a-fA-F]+\\b/},{type:`number`,regex:/\\b\\d+\\.?\\d*(?:[eE][+-]?\\d+)?\\b/},{type:`keyword`,regex:EW},{type:`type`,regex:/\\b[A-Z][a-zA-Z0-9_]*\\b/},{type:`function`,regex:/\\b[a-zA-Z_][\\w]*(?=\\s*\\()/},{type:`property`,regex:/(?<=->|::)\\b[a-zA-Z_][\\w]*\\b/},{type:`operator`,regex:/[+\\-*/%=!<>&|^~?:.]+/},{type:`constant`,regex:/<<[\\w]+/},{type:`punctuation`,regex:/[{}()\\[\\];,.]/}]};case`yaml`:case`yml`:return{defaultType:`variable`,patterns:[{type:`comment`,regex:/#[^\\n]*/},{type:`string`,regex:/\"(?:[^\"\\\\]|\\\\.)*\"/},{type:`string`,regex:/'(?:[^'\\\\]|\\\\.)*'/},{type:`constant`,regex:/\\b(true|false|yes|no|on|off|null|~)\\b/i},{type:`variable`,regex:/[&*][\\w]+/},{type:`type`,regex:/!!\\w+/},{type:`number`,regex:/\\b-?\\d+\\.?\\d*(?:[eE][+-]?\\d+)?\\b/},{type:`property`,regex:/^[ \\t]*[\\w][\\w ./-]*(?=\\s*:)/m},{type:`keyword`,regex:/---/},{type:`keyword`,regex:/\\.\\.\\./},{type:`operator`,regex:/[:|>\\-?]/},{type:`punctuation`,regex:/[{}()\\[\\],]/},{type:`variable`,regex:/\\b[a-zA-Z_][\\w]*\\b/}]};case`markdown`:case`md`:return{defaultType:`variable`,patterns:[{type:`keyword`,regex:/^```[\\w]*$/m},{type:`keyword`,regex:/^#{1,6}\\s+.*/m},{type:`keyword`,regex:/^---$/m},{type:`keyword`,regex:/^\\*\\*\\*$/m},{type:`string`,regex:/\\*\\*(?:[^*]|\\*(?!\\*))+\\*\\*/},{type:`string`,regex:/\\*(?:[^*])+\\*/},{type:`constant`,regex:/`[^`]+`/},{type:`function`,regex:/\\[(?:[^\\]])+\\]\\([^)]+\\)/},{type:`comment`,regex:/^>\\s+.*/m},{type:`operator`,regex:/^\\s*[-*+]\\s/m},{type:`number`,regex:/^\\s*\\d+\\.\\s/m}]};case`c`:case`h`:return gW(vW,[{type:`keyword`,regex:_W}]);case`cpp`:case`c++`:case`cc`:case`cxx`:case`hpp`:case`hh`:return gW(yW,[{type:`keyword`,regex:_W},{type:`string`,regex:/\\b(?:u8|[uUL])?R\"([^()\\\\\\s]{0,16})\\([\\s\\S]*?\\)\\1\"/}]);case`sql`:return{defaultType:`variable`,patterns:[{type:`comment`,regex:/--[^\\n]*/},{type:`comment`,regex:uW},{type:`string`,regex:/'(?:[^']|'')*'/},{type:`property`,regex:/\"[^\"\\n]*\"|`[^`\\n]*`/},{type:`number`,regex:sW},{type:`keyword`,regex:/\\b(?:select|from|where|and|or|not|in|is|null|as|join|inner|left|right|full|outer|cross|on|group|by|order|having|limit|offset|union|all|distinct|insert|into|values|update|set|delete|create|table|view|index|drop|alter|add|primary|key|foreign|references|with|case|when|then|else|end|exists|between|like|asc|desc|true|false|default|returning|interval)\\b/i},{type:`function`,regex:fW},{type:`operator`,regex:/[+\\-*/%=<>!|]+/},{type:`punctuation`,regex:hW}]};case`rust`:case`rs`:return gW(`as async await break const continue crate dyn else enum extern false fn for if impl in let loop match mod move mut pub ref return self Self static struct super trait true type unsafe use where while`,[{type:`constant`,regex:/#!?\\[[^\\]\\n]*\\]/},{type:`function`,regex:/\\b[a-zA-Z_]\\w*!(?=\\s*[([{])/},{type:`string`,regex:/\\bb?r(#*)\"[\\s\\S]*?\"\\1/},{type:`type`,regex:/'[a-z_]\\w*\\b(?!')/}]);case`kotlin`:case`kt`:case`kts`:return gW(`as break class continue do else false for fun if in interface is null object package return super this throw true try typealias val var when while by constructor init companion data sealed enum open override private protected public internal suspend inline lateinit import`,[{type:`constant`,regex:/@\\w+/},{type:`string`,regex:/\"\"\"[\\s\\S]*?\"\"\"/}]);case`swift`:return gW(`associatedtype class deinit enum extension func import init inout internal let open operator private protocol public static struct subscript typealias var break case continue default defer do else fallthrough for guard if in repeat return switch where while as catch false is nil rethrows super self Self throw throws true try async await actor some any`,[{type:`string`,regex:/(#+)\"[\\s\\S]*?\"\\1/},{type:`constant`,regex:/[@#]\\w+/},{type:`string`,regex:/\"\"\"[\\s\\S]*?\"\"\"/}]);case`go`:case`golang`:return gW(`break case chan const continue default defer else fallthrough for func go goto if import interface map package range return select struct switch type var true false nil iota`,[{type:`string`,regex:/`[^`]*`/}]);default:return null}}function PW(e){let t=(e??``).trim();if(t===`diff`)return{language:`plaintext`,isDiff:!0};let n=/^diff-(.+)$/.exec(t);return n?{language:n[1],isDiff:!0}:{language:t||`plaintext`,isDiff:!1}}function FW(e){let t=[],n=[],r=[],i=Ire(e);return e.forEach((e,a)=>{let o=Fre(e,{isFileHeader:i.has(a)});t.push(o),o===`header`?(n.push(``),r.push(``)):o===`context`&&!e.startsWith(` `)?(n.push(``),r.push(e)):(n.push(e.slice(0,1)),r.push(e.slice(1)))}),{kinds:t,glyphs:n,content:r}}function Fre(e,{isFileHeader:t=!1}={}){return e.startsWith(`@@`)||t?`header`:e.startsWith(`+`)?`added`:e.startsWith(`-`)?`removed`:`context`}function Ire(e){let t=new Set;for(let n=0;n+2setTimeout(e,0))}function IW(e,t,n,r){let i=[],a=n,o=Math.min(r,e.length);for(;a0){o.type!==t.defaultType&&i.push({type:o.type,start:a-n,end:a-n+s[0].length}),a+=s[0].length,r=!0;break}}r||a++}return i}function zre(e,t){let n=AW(e,t);if(n!=null)return n;let r=kW(t);if(!r)return[];let i=[],a=0;for(let t=0;t<=e.length;t++)(t===e.length||e[t]===`\n`)&&(i.push(IW(e,r,a,t)),a=t+1);return i}async function Bre(e,t,n){let r=AW(e,t);if(r!=null)return r;let i=kW(t);if(!i)return[];let a=[],o=0,s=0;for(let t=0;t<=e.length;t++)if((t===e.length||e[t]===`\n`)&&(a.push(IW(e,i,o,t)),s+=t-o+1,o=t+1,s>=Lre&&t[]),i=0;for(let t of e){for(;i=n[i+1];)i++;let e=n[i];r[i].push({type:t.type,start:t.start-e,end:t.end-e})}return r}Ln();var Vre=`\n${`:root {\\n${Object.entries(Fn).map(([e,t])=>` ${e}: ${t};`).join(`\n`)}\\n}`}\n\n.astryx-code-block code::highlight(astryx-keyword),\n.astryx-codeeditor code::highlight(astryx-keyword) { color: var(--color-syntax-keyword); }\n.astryx-code-block code::highlight(astryx-string),\n.astryx-codeeditor code::highlight(astryx-string) { color: var(--color-syntax-string); }\n.astryx-code-block code::highlight(astryx-comment),\n.astryx-codeeditor code::highlight(astryx-comment) { color: var(--color-syntax-comment); }\n.astryx-code-block code::highlight(astryx-number),\n.astryx-codeeditor code::highlight(astryx-number) { color: var(--color-syntax-number); }\n.astryx-code-block code::highlight(astryx-function),\n.astryx-codeeditor code::highlight(astryx-function) { color: var(--color-syntax-function); }\n.astryx-code-block code::highlight(astryx-type),\n.astryx-codeeditor code::highlight(astryx-type) { color: var(--color-syntax-type); }\n.astryx-code-block code::highlight(astryx-tag),\n.astryx-codeeditor code::highlight(astryx-tag) { color: var(--color-syntax-tag); }\n.astryx-code-block code::highlight(astryx-attribute),\n.astryx-codeeditor code::highlight(astryx-attribute) { color: var(--color-syntax-attribute); }\n.astryx-code-block code::highlight(astryx-property),\n.astryx-codeeditor code::highlight(astryx-property) { color: var(--color-syntax-property); }\n.astryx-code-block code::highlight(astryx-operator),\n.astryx-codeeditor code::highlight(astryx-operator) { color: var(--color-syntax-operator); }\n.astryx-code-block code::highlight(astryx-constant),\n.astryx-codeeditor code::highlight(astryx-constant) { color: var(--color-syntax-constant); }\n.astryx-code-block code::highlight(astryx-punctuation),\n.astryx-codeeditor code::highlight(astryx-punctuation) { color: var(--color-syntax-punctuation); }\n.astryx-code-block code::highlight(astryx-variable),\n.astryx-codeeditor code::highlight(astryx-variable) { color: var(--color-syntax-variable); }\n\n/* Span-based fallback classes — used when highlightMode='spans' or\n when the CSS Custom Highlight API is not available. */\n.astryx-token-keyword { color: var(--color-syntax-keyword); }\n.astryx-token-string { color: var(--color-syntax-string); }\n.astryx-token-comment { color: var(--color-syntax-comment); }\n.astryx-token-number { color: var(--color-syntax-number); }\n.astryx-token-function { color: var(--color-syntax-function); }\n.astryx-token-type { color: var(--color-syntax-type); }\n.astryx-token-tag { color: var(--color-syntax-tag); }\n.astryx-token-attribute { color: var(--color-syntax-attribute); }\n.astryx-token-property { color: var(--color-syntax-property); }\n.astryx-token-operator { color: var(--color-syntax-operator); }\n.astryx-token-constant { color: var(--color-syntax-constant); }\n.astryx-token-punctuation { color: var(--color-syntax-punctuation); }\n.astryx-token-variable { color: var(--color-syntax-variable); }\n`,RW=!1;function zW(){if(RW||typeof document>`u`)return;let e=document.createElement(`style`);e.setAttribute(`data-astryx-highlight-styles`,``),e.textContent=`@layer reset, astryx-base, astryx-theme;\\n@layer astryx-base {\\n${Vre}\\n}`,document.head.appendChild(e),RW=!0}var BW=new Set([`keyword`,`string`,`comment`,`number`,`function`,`type`,`tag`,`attribute`,`property`,`operator`,`constant`,`punctuation`,`variable`]),VW=null;function Hre(e){if(BW.has(e)||(BW.add(e),zW(),typeof document>`u`))return;if(!VW){let e=document.createElement(`style`);if(e.setAttribute(`data-astryx-highlight-dynamic`,``),document.head.appendChild(e),VW=e.sheet??null,!VW)return}let t=CSS.escape(`astryx-${e}`),n=`var(${CSS.escape(`--color-syntax-${e}`)}, currentColor)`;try{VW.insertRule(`@layer astryx-base { .astryx-code-block code::highlight(${t}), .astryx-codeeditor code::highlight(${t}) { color: ${n}; } }`)}catch{}}function Ure(){let e=new Map;return t=>{let n=e.get(t);if(n)return n;Hre(t);let r=`astryx-${t}`;return n=CSS.highlights.get(r),n||(n=new Highlight,CSS.highlights.set(r,n)),e.set(t,n),n}}function HW(e,t,n,r){if(t.length===0)return;let i=e.firstChild,a=i?.nodeType===Node.ELEMENT_NODE?i.firstChild:i;if(!a||a.nodeType!==Node.TEXT_NODE)return;let o=a.length;for(let e of t){if(e.start>=o||e.end<=0)continue;let t=Math.min(e.start,o),i=Math.min(e.end,o),s=r(e.type);try{let e=new Range;e.setStart(a,t),e.setEnd(a,i),s.add(e),n.push({range:e,highlight:s})}catch{}}}function UW(e){for(let{range:t,highlight:n}of e)n.delete(t)}function Wre(e,t,n,r){let i=[],a=e.querySelectorAll(`[data-line]`);for(let e=0;e0&&HW(a[e],o,i,r)}return i}function Gre(e,t){zW();let n=Ure(),r=[],i=[],a=0;for(let t=0;t0&&n.tagName===`DIV`&&!n.hasAttribute(`data-line`)&&(r.push(n),i.push(a),a+=o.length)}if(r.length===0){let r=[],i=e.querySelectorAll(`[data-line]`);for(let e=0;e0&&HW(i[e],a,r,n)}return()=>UW(r)}let o=new Map,s=new Map;function c(e,r){if(o.has(e))return;let a=Wre(e,t,i[r],n);o.set(e,a)}function l(e){let t=o.get(e);t&&(UW(t),o.delete(e))}for(let e=0;e{n.skipped?l(t):c(t,e)};t.addEventListener(`contentvisibilityautostatechange`,n),s.set(t,n);let i=t;typeof i.checkVisibility==`function`?i.checkVisibility({checkVisibilityCSS:!0,contentVisibilityAuto:!0})&&c(t,e):e<5&&c(t,e)}return function(){for(let[e,t]of s)e.removeEventListener(`contentvisibilityautostatechange`,t);s.clear();for(let e of o.values())UW(e);o.clear()}}D(),eR(),HU(),sE(),vr(),oS(),iT(),Ww({\"@astryx.codeBlock.code\":`Code`,\"@astryx.codeBlock.copied\":`Copied`,\"@astryx.codeBlock.copyCode\":`Copy code`,\"@astryx.codeBlock.copyFailed\":`Failed to copy value to clipboard.`,\"@astryx.codeBlock.diffLabel\":`{language} diff`});var Kre={card:{kaIpWk:`xh6dtrn`,kMzoRj:`x1litavf`,ksu8eU:`x1y0btm7`,kVAM5u:`x14i3s5s`,$$css:!0},section:{kaIpWk:`x2u8bby`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kVAM5u:`x9r1u3d`,\"--color-syntax-background\":`x1mtvhk1`,$$css:!0}},qre={\"--_codeblock-gutter-width\":`xtk08jq`,$$css:!0},WW={width:e=>[{kzqmXN:e==null?e:`x5lhr3w`,k7Eaqz:(e===`fit-content`?`min(100%, 400px)`:null)==null?e===`fit-content`?`min(100%, 400px)`:null:`xkj4a21`,ks0D6T:(e===`fit-content`?`100%`:null)==null?e===`fit-content`?`100%`:null:`xf68679`,$$css:!0},{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(e),\"--x-minWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(e===`fit-content`?`min(100%, 400px)`:null),\"--x-maxWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(e===`fit-content`?`100%`:null)}],gutterWidth:e=>[qre,{\"--x---_codeblock-gutter-width\":`${e}ch`==null?void 0:`${e}ch`}]},GW={root:{\"--_codeblock-direction\":`xbuxdmv xyet88l`,kVAEAm:`x1n2onr6`,kHBbk8:`xc8icb0`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kogj98:`x1ghz6dp`,kWkggS:`xzyc27v`,kVQacm:`xb3r6kr`,$$css:!0},viewport:{kAzted:`x2lwn1j`,$$css:!0},viewportFocusRingInset:{kInvED:`x1nw7mhf`,$$css:!0},rootCorner:{k1xSpc:`xrvj5dj`,kumcoG:`xju1xpo`,k9llMU:`x5o4joa`,$$css:!0},header:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kUk6DE:`x98rzlu`,k7Eaqz:`xeuugli`,kmVPX3:`x1717udv`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kWkggS:`xjbqb8w`,kMwMTN:`x1heor9g`,kVVagm:`xln7xf2`,k9WMMc:`x1yc453h`,$$css:!0},collapseChevron:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,kzqmXN:`x6jxa94`,kZKoxP:`x1v9usgg`,k71WvV:`xnur1sd`,kVQacm:`xb3r6kr`,kMwMTN:`x1mjzq1q`,kKVMdj:`x1gbn2au x1aquc0h`,k44tkh:`x12wqnr7`,kyAemX:`x128ha8g`,$$css:!0},collapseChevronIcon:{k1ekBW:`x11xpdln`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,$$css:!0},collapseChevronExpanded:{k3aq6I:`x1iffjtl`,$$css:!0},headerCollapsible:{kkrTdU:`x1ypdohk x16khyan`,kfSwDN:`x87ps6o`,$$css:!0},code:{k1xSpc:`x1lliihq`,kUk6DE:`x98rzlu`,k7Eaqz:`xk8lq53`,ksoyAI:`x129wrhd`,k8WAf4:`x8o8v82`,kg3NbH:`x1pzlopt`,kogj98:`x1ghz6dp`,kMv6JI:`x9m5x89`,kMwMTN:`xdfisg`,kKi2Bq:`xeq4nuv`,khDVqt:`x1sdyfia`,kTgw9:`x1lldw8n`,kHjlTd:`x1h4wwuj`,$$css:!0},codeWrapped:{k7Eaqz:`x15x72sd`,khDVqt:`x126k92a`,kTgw9:`x1yn0g08`,kHjlTd:`x1mzt3pk`,$$css:!0},codeNumbered:{kVAEAm:`x1n2onr6`,k5JduY:`x1s928wv`,kwXMNM:`x1j6awrg`,kSy8m5:`xd54j2p`,kc1e00:`x1km86hw`,kkgrvl:`xkj6t0a`,kQlJh0:`x1p96cux`,k6vLHU:`xvsnedh`,kkQ525:`xnnzo76`,kloYau:`x2q1x1w`,$$css:!0},line:{kLWn49:`x17iicif`,$$css:!0},lineNumbered:{k1xSpc:`xrvj5dj`,kumcoG:`x1xx4m37`,k1C7PZ:`xf5zn4v`,kgeoSG:`x46gnpd`,krRUto:`x17gn2l9`,kOrBnS:`x19ds33d`,kKZZS1:`x1wnbjh8`,kxBb7d:`xtkarl4`,kUY6Iu:`x1rbqspl`,kQcDng:`x3nzp0f`,$$css:!0},lineHighlighted:{kWkggS:`xgcxg3y`,kUOVxO:`x1ng9b9t`,kg3NbH:`x1pzlopt`,$$css:!0},lineAdded:{kWkggS:`xjqijk9`,kUOVxO:`x1ng9b9t`,kg3NbH:`x1pzlopt`,kxBb7d:`x147exv5`,$$css:!0},lineRemoved:{kWkggS:`xv48ua2`,kUOVxO:`x1ng9b9t`,kg3NbH:`x1pzlopt`,kxBb7d:`x16hy5kr`,$$css:!0},lineDiffHeader:{kWkggS:`x11ds9ch`,kMwMTN:`xt5rlkq`,kUOVxO:`x1ng9b9t`,kg3NbH:`x1pzlopt`,$$css:!0},lineDiff:{k1xSpc:`xrvj5dj`,kumcoG:`xrnahuw`,k1C7PZ:`xak3so`,$$css:!0},lineDiffNumbered:{kumcoG:`x1v9b7p9`,k1C7PZ:`x1o1pmfc`,$$css:!0},sizeSm:{kGuDYH:`x141an7d`,kLWn49:`x1ltkj2j`,$$css:!0},sizeMd:{kGuDYH:`xp03k98`,kLWn49:`x17iicif`,$$css:!0},copyButton:{kMwMTN:`x1mjzq1q`,$$css:!0}},Jre=20,Yre=100,KW=X.memo(function({lines:e,startIndex:t,startLineNumber:n,highlightSet:r,diffKinds:i,renderLineContent:a,lineNumbers:o}){return(0,Z.jsx)(Z.Fragment,{children:e.map((e,s)=>{let c=t+s,l=n+c,u=i?.[c];return(0,Z.jsx)(`div`,{\"data-line\":l,\"data-diff\":u===`context`?void 0:u,...C(GW.line,o&&GW.lineNumbered,i!=null&&GW.lineDiff,i!=null&&o&&GW.lineDiffNumbered,u===`added`&&GW.lineAdded,u===`removed`&&GW.lineRemoved,u===`header`&&GW.lineDiffHeader,(r?.has(l)??!1)&&GW.lineHighlighted),children:a(e,c)},c)})})});function qW(e,t,n,r,i,a,o=Jre){if(o=Math.max(1,Math.floor(o)),e.length`u`)return!1;let e=navigator.userAgent;return e.includes(`AppleWebKit`)&&!e.includes(`Chrome`)}function Zre(e,t,n){let[r,i]=(0,X.useState)(t);tW(r,t)||i(t);let[a,o]=(0,X.useState)(null),s=(0,X.useMemo)(()=>n?LW(n(e,nW(r)),e):e.length>=2e3&&!eW(r)?null:zre(e,r),[e,r,n]);return(0,X.useEffect)(()=>{if(e.length<2e3||n||eW(r))return;let t=new AbortController;async function i(){try{let n=await Bre(e,r,t.signal);t.signal.aborted||o({code:e,language:r,tokens:n})}catch{t.signal.aborted||o({code:e,language:r,tokens:[]})}}return i(),()=>{t.abort()}},[e,r,n]),s??(a?.code===e&&a.language===r?a.tokens:[])}function YW(e,t){if(t.length===0)return e||`​`;let n=[],r=0;for(let i of t){i.start>r&&n.push(e.slice(r,i.start));let t=Math.min(i.end,e.length);n.push((0,Z.jsx)(`span`,{className:`astryx-token-${i.type} xds-token-${i.type}`,children:e.slice(i.start,t)},`${i.start}-${i.type}`)),r=t}return r0?n:`​`}function Qre({lines:e,tokenLines:t,highlightSet:n,diffKinds:r,diff:i,isWrapped:a,sizeStyle:o,hasLineNumbers:s,maxDigits:c,startLineNumber:l}){(0,X.useInsertionEffect)(()=>{zW()},[]);let u=(0,X.useCallback)((e,n)=>{let r=t[n]??[];if(i){let t=i.kinds[n],a=t===`header`?e:i.content[n];return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`span`,{\"data-diff-marker\":``,...{0:{className:`xv1l7n4 x87ps6o x1sdyfia`},4:{className:`xv1l7n4 x87ps6o x1sdyfia x6w1cxl x1pezmd8`},2:{className:`x87ps6o x1sdyfia x1wxerb0`},6:{className:`x87ps6o x1sdyfia x6w1cxl x1pezmd8 x1wxerb0`},1:{className:`x87ps6o x1sdyfia x103bwea`},5:{className:`x87ps6o x1sdyfia x6w1cxl x1pezmd8 x103bwea`},3:{className:`x87ps6o x1sdyfia x103bwea`},7:{className:`x87ps6o x1sdyfia x6w1cxl x1pezmd8 x103bwea`}}[!!s<<2|(t===`added`)<<1|t===`removed`],children:i.glyphs[n]||` `}),(0,Z.jsx)(`span`,{dir:`auto`,className:`x1lliihq xeuugli`,children:t===`header`?a||`​`:YW(a,r)})]})}return(0,Z.jsx)(`span`,{dir:`auto`,className:`x1lliihq xeuugli`,children:YW(e,r)})},[t,i,s]);return(0,Z.jsx)(`code`,{...C(GW.code,o,a&&GW.codeWrapped,s&&GW.codeNumbered,s&&WW.gutterWidth(c)),children:qW(e,n,r,u,s,l)})}function $re({lines:e,tokenLines:t,highlightSet:n,diffKinds:r,isWrapped:i,sizeStyle:a,hasLineNumbers:o,maxDigits:s,startLineNumber:c}){let l=(0,X.useRef)(null);(0,X.useInsertionEffect)(()=>{JW()&&zW()},[]),(0,X.useEffect)(()=>{if(!JW())return;let e=l.current;if(e&&t.length!==0)return Gre(e,t)},[t]);let u=(0,X.useCallback)(e=>(0,Z.jsx)(`span`,{dir:`auto`,className:`x1lliihq xeuugli`,children:e||`​`}),[]);return(0,Z.jsx)(`code`,{ref:l,...C(GW.code,a,i&&GW.codeWrapped,o&&GW.codeNumbered,o&&WW.gutterWidth(s)),children:qW(e,n,r,u,o,c)})}function XW({code:e,language:t=`plaintext`,title:n,hasLanguageLabel:r=!0,hasLineNumbers:i=!1,startLineNumber:a=1,highlightLines:o,isDiff:s=!1,hasCopyButton:c=!0,onCopy:l,onCopyError:u,endContent:d,isWrapped:f=!1,maxHeight:p,isCollapsible:m=!1,collapsibleThreshold:h=10,size:g=`md`,width:_=`fit-content`,container:v=`card`,tokenizer:y,highlightMode:b=`auto`,syntaxTheme:x,xstyle:S,className:w,style:T,ref:E,...D}){let O=nT(),{copy:k,isCopied:A,isFailed:j}=lU({announce:O(`@astryx.codeBlock.copied`),announceFailure:O(`@astryx.codeBlock.copyFailed`),onError:u}),M=s||b===`spans`||b===`auto`&&!JW()||b===`auto`&&Xre(),N=(0,X.useMemo)(()=>{let t=e.split(`\n`);return t.length>1&&t[t.length-1]===``&&t.pop(),t},[e]),P=(0,X.useMemo)(()=>s?FW(N):null,[s,N]),F=Zre(P?P.content.join(`\n`):e,t,y),I=P?.kinds??null,L=Number.isFinite(a)&&a>1?Math.floor(a):1,R=(0,X.useMemo)(()=>o?new Set(o):null,[o]),z=(0,X.useCallback)(async()=>{await k(e)&&l?.()},[e,k,l]),B=g===`sm`?GW.sizeSm:GW.sizeMd,V=String(L+N.length-1).length,H=nW(t),ee=rW(t),U=r?s?H===`plaintext`?`diff`:O(`@astryx.codeBlock.diffLabel`,{language:H}):H===`plaintext`?null:H:null,te=n!=null||U!=null,W=te&&m&&N.length>=h,G=(0,X.useMemo)(()=>W?{}:null,[W]),[ne,re]=(0,X.useState)(null),ie=G!=null&&ne===G,K=(0,X.useCallback)(()=>{re(e=>e===G?null:G)},[G]),q=(0,X.useId)(),{getViewportProps:ae,getContentProps:oe,state:se}=NU({axis:`both`,stickyContainment:`always`,keyboardAccess:{owner:`viewport`,role:`group`,label:U??O(`@astryx.codeBlock.code`)}}),ce=p==null?void 0:{maxHeight:typeof p==`number`?`${p}px`:p},le=bO(d),J=c||le,ue=c?(0,Z.jsx)(XU,{variant:`ghost`,size:`sm`,icon:(0,Z.jsx)(JU,{slot:`code-block-copy`,state:{copied:A&&!j},fallback:{icon:j?`close`:A?`check`:`copy`,size:`sm`},color:`inherit`}),tooltip:O(j?`@astryx.codeBlock.copyFailed`:`@astryx.codeBlock.copyCode`),label:O(j?`@astryx.codeBlock.copyFailed`:A?`@astryx.codeBlock.copied`:`@astryx.codeBlock.copyCode`),onClick:e=>{e.stopPropagation(),z()},xstyle:GW.copyButton,...Y(`code-block-copy-button`)}):null,de=te?(0,Z.jsxs)(`div`,{...Q(Y(`code-block-header`,{size:g,language:ee,container:v}),{0:{className:`x78zum5 x6s0dn4 x1qughib x1pzlopt xzyc27v x7wzq59 x13vifvy x1vjfegm xce4md1`},1:{className:`x78zum5 x6s0dn4 x1qughib x1pzlopt xzyc27v x7wzq59 x13vifvy x1vjfegm xce4md1 x92x3c3 x1q0q8m5 xw8gpjh`}}[!!i|0]),children:[(0,Z.jsx)(`div`,{role:W?`button`:void 0,tabIndex:W?0:void 0,\"aria-expanded\":W?!ie:void 0,\"aria-controls\":W?q:void 0,\"aria-label\":W&&!n?.trim()&&!U?O(`@astryx.codeBlock.code`):void 0,onClick:W?K:void 0,onKeyDown:W?e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),K())}:void 0,...aS.focusVisible(GW.header,W&&GW.headerCollapsible),children:(0,Z.jsxs)(`span`,{...Q(Y(`code-block-title`,{size:g,language:ee}),{className:`x78zum5 x6s0dn4 xeuugli x126k92a xj0a0fe x5ujdhh x141an7d x9m5x89 x1e4wzip x1mjzq1q x1ghz6dp x1ltkj2j`}),children:[W&&(0,Z.jsx)(`span`,{...C(GW.collapseChevron,$L.mirror),children:(0,Z.jsx)(XT,{icon:`chevronRight`,size:`xsm`,color:`inherit`,xstyle:[GW.collapseChevronIcon,!ie&&GW.collapseChevronExpanded]})}),n,n&&U?` — `:``,U]})}),J?(0,Z.jsxs)(`div`,{className:`x78zum5 x6s0dn4 xzye2dw x2lah0s`,children:[le?d:null,ue]}):null]}):null,fe=(0,Z.jsx)(`div`,{...ae({...aS.focusVisible(GW.viewport,GW.viewportFocusRingInset),xstyle:GU(se.inline),style:ce,dir:`ltr`}),children:(0,Z.jsx)(`div`,{...oe({0:{className:`x78zum5 x1pshirs`},1:{className:`x78zum5 x1pshirs x1ajqlyv`}}[!(!te||i)|0]),children:M?(0,Z.jsx)(Qre,{lines:N,tokenLines:F,highlightSet:R,diffKinds:I,diff:P,isWrapped:f,sizeStyle:B,hasLineNumbers:i,maxDigits:V,startLineNumber:L}):(0,Z.jsx)($re,{lines:N,tokenLines:F,highlightSet:R,diffKinds:I,isWrapped:f,sizeStyle:B,hasLineNumbers:i,maxDigits:V,startLineNumber:L})})}),pe=(0,Z.jsxs)(`pre`,{ref:E,...Q(Y(`code-block`,{size:g,language:ee,container:v}),C(GW.root,J&&!te&&GW.rootCorner,WW.width(_),Kre[v],S),w,T),...D,children:[de,W?(0,Z.jsx)(`div`,{id:q,inert:ie?!0:void 0,...{0:{className:`xrvj5dj x1tu4anv x1qn9uv2 x80gvsz xlr8y92`},1:{className:`xrvj5dj x1qn9uv2 x80gvsz xlr8y92 xihq33y`}}[!!ie|0],children:(0,Z.jsx)(`div`,{className:`xb3r6kr x2lwn1j`,children:fe})}):fe,J&&!te?(0,Z.jsxs)(`div`,{...{0:{className:`x78zum5 x6s0dn4 xzye2dw x1y8v6su x16j26i2 xlgwz2i`},1:{className:`x78zum5 x6s0dn4 xzye2dw x1y8v6su x16j26i2 x166xdbf`}}[g===`sm`|0],children:[le?d:null,ue]}):null]});return x?(0,Z.jsx)(Nc,{theme:x,children:pe}):pe}XW.displayName=`CodeBlock`,D(),vr();var eie={base:{kMv6JI:`x9m5x89`,kGuDYH:`xp03k98`,kLWn49:`x15bjb6t`,kWkggS:`xwmxj5m`,kg3NbH:`x7a5moj`,k8WAf4:`x1hp7d8q`,kaIpWk:`xx3sua9`,kHjlTd:`x1mzt3pk`,kTgw9:`x13faqbe`,$$css:!0}},tie={primary:{kMwMTN:`x1tgivj0`,$$css:!0},secondary:{kMwMTN:`xv1l7n4`,$$css:!0},inherit:{kMwMTN:`x1heor9g`,$$css:!0}},nie={inherit:{kGuDYH:`x1qlqyl8`,kLWn49:`x15bjb6t`,$$css:!0}};function ZW({children:e,color:t=`primary`,size:n,xstyle:r,className:i,style:a,ref:o,...s}){return(0,Z.jsx)(`code`,{ref:o,dir:`ltr`,...s,...Q(Y(`code`,{color:t,size:n}),C(eie.base,tie[t],n&&nie[n],r),i,a),children:e})}ZW.displayName=`Code`;function rie({marker:e,task:t,hasMarkerGutter:n=!1,isOutsideNumberColumns:r=!1,children:i}){let a=(0,$W.use)(tG),o=(0,$W.useMemo)(()=>a==null?null:{...a,marker:e,task:t,hasMarkerGutter:n,isOutsideNumberColumns:r},[a,e,t,n,r]);return o==null?i:(0,eG.jsx)(tG,{value:o,children:i})}function iie({edge:e,children:t}){let n=(0,$W.use)(tG),r=(0,$W.useMemo)(()=>n==null?null:{...n,edge:e},[n,e]);return r==null?t:(0,eG.jsx)(tG,{value:r,children:t})}function QW(){return{isStatic:!0}}var $W,eG,tG,nG,rG=o((()=>{$W=u(f(),1),Xf(),eG=mc(),tG=Uf(`ListContext`,1,null),tG.displayName=`ListContext`,nG=Uf(`ListStaticContext`,1,null),nG.displayName=`ListStaticContext`}));function aie(e){return e==null?{}:{[aG]:String(e)}}function iG(e){return e.getAttribute(aG)}var aG,oG=o((()=>{aG=`data-astryx-item-key`}));function oie(e){e.setAttribute(cG,``)}function sG(e){return e.hasAttribute(cG)}var cG,sie=o((()=>{cG=`data-astryx-leaving`}));function cie(e){let t={};return uG.set(e,t),e.setAttribute(lG,``),()=>{uG.get(e)===t&&(uG.delete(e),e.removeAttribute(lG))}}var lG,uG,dG,fG=o((()=>{lG=`data-astryx-travelling`,uG=new WeakMap,dG={row:{kY2c9j:`xvl8nft`,kGVxlE:`xvoib3p`,\"--_travelling-surface\":`x154w40m xayfdo3`,$$css:!0},raisedSwipeRow:{kY2c9j:`xvl8nft x1xytu5a x1fq76kf`,$$css:!0}}}));function lie(e){let t=e.parentElement;return t!=null&&(_G.get(t)?.has(e)??!1)}function pG(e,t,n){let r=0,i=e.length;for(;r>1;e[n].getBoundingClientRect().bottom>t?i=n:r=n+1}let a=r;for(i=e.length;r>1;e[t].getBoundingClientRect().tope.getAttribute(`style`));for(let t of e.getAnimations({subtree:!0}))try{t.commitStyles()}catch{}let r=[];t.forEach((e,t)=>{e.style.length>0&&r.push([e,e.style.cssText]);let i=n[t];e.getAttribute(`style`)!==i&&(i==null?e.removeAttribute(`style`):e.style.cssText=i)}),yG.set(e,r)}function hG(e){let t=[];for(let n of e.children)n instanceof HTMLElement&&(sG(n)||iG(n)!=null)&&t.push(n);return t}function die(e){oie(e),e.setAttribute(`aria-hidden`,`true`)}function fie(e){if(typeof e.getAnimations==`function`)for(let t of e.getAnimations({subtree:!0}))t.cancel();for(let[t,n]of yG.get(e)??[])t.style.cssText=n;yG.delete(e)}function pie(e,t,n){let r=n;for(let n=t.length-1;n>=0;n--){let i=t[n];(r==null?e.lastElementChild:r.previousElementSibling)!==i&&e.insertBefore(i,r),r=i}}function mie(e){let t=e.ownerDocument.defaultView;if(t==null||typeof t.DOMMatrix!=`function`)return null;let n=t.getComputedStyle(e).transform;if(n===``||n===`none`)return null;let r=new t.DOMMatrix(n);if(!r.is2D||r.a!==1||r.b!==0||r.c!==0||r.d!==1||r.e===0&&r.f===0)return null;let i=[...e.children].filter(e=>e instanceof t.HTMLElement||e instanceof t.SVGElement);return{view:t,row:e,x:r.e,y:r.f,children:i,transforms:i.map(e=>t.getComputedStyle(e).transform)}}function hie({view:e,row:t,x:n,y:r,children:i,transforms:a}){t.style.setProperty(`transform`,`none`),i.forEach((t,i)=>{let o=a[i],s=new e.DOMMatrix().translate(n,r),c=o===``||o===`none`?s:s.multiply(new e.DOMMatrix(o));t.style.setProperty(`transform`,c.toString())})}function gie(e,t){let{near:n,order:r,tops:i}=e;if(n==null)return;let a=[];for(let e=n[0];e<=n[1];e++){let n=r[e],o=i.get(n),s=t.get(n);o!=null&&s!=null&&a.push({element:s,from:o,to:s.getBoundingClientRect().top})}let o=a.map(()=>!1),s=-1/0;for(let e=0;ea[e].to,s=Math.max(s,a[e].to);let c=1/0;for(let e=a.length-1;e>=0;e--)o[e]||=co[t]),u=new Set;for(let e=0;er.to){let e=Math.abs(n.to-n.from)>Math.abs(r.to-r.from)?n:r;Math.abs(e.to-e.from)>=vG&&u.add(e.element)}}let d=[...u];d.length!==0&&queueMicrotask(()=>{for(let e of d){let t=typeof e.getAnimations==`function`?e.getAnimations().at(-1):void 0;if(t!=null){let n=cie(e);t.finished.then(n,n)}}})}function _ie(e,t){let n=(0,gG.useRef)(null),r=(0,gG.useCallback)(()=>{n.current=null;let r=e.current;if(r==null||t==null)return;let i=mG(r);if(i.size===0){let e=r.lastElementChild,a=e instanceof HTMLElement?e:r,o=yB(t,()=>a);o.measureBefore(),n.current={rows:i,order:[],tops:new Map,near:null,reported:new Set([a]),changes:[o],translations:[],sequence:hG(r)},_G.set(r,n.current.reported);return}let a=[...i.keys()],o=[...i.values()],s=r.ownerDocument.defaultView?.innerHeight??0,c=pG(o,-s,2*s),l=[],u=new Map;if(c!=null)for(let e=c[0];e<=c[1];e++){let t=mie(o[e]),{top:n}=o[e].getBoundingClientRect();u.set(a[e],n-(t?.y??0)),t!=null&&l.push(t)}let d=pG(o,0,s),f=[];if(d!=null)for(let e=d[0];e<=d[1];e++)f.push(o[e]);(d==null||d[1]!==o.length-1)&&f.push(o[o.length-1]);let p=f.map(e=>{let n=yB(t,()=>e);return n.measureBefore(),n});n.current={rows:i,order:a,tops:u,near:c,reported:new Set(f),changes:p,translations:l,sequence:hG(r)},_G.set(r,n.current.reported)},[t,e]);return b(()=>{let r=n.current;n.current=null;let i=e.current;if(i!=null&&_G.delete(i),r==null||i==null||t==null)return;let a=mG(i),o=[...a.keys()];if(o.length===r.order.length&&o.every((e,t)=>e===r.order[t]))return;let s=[...a.values()],c=new Set(s),l=new Map,u=[],d=0;for(let e of r.sequence){if(c.has(e)){d+=1;continue}if(!sG(e)){if(!r.reported.has(e))continue;die(e),u.push(e)}let t=s[d]??null;l.set(t,[...l.get(t)??[],e])}for(let[e,t]of l)pie(i,t,e);for(let e of u)fie(e);for(let e of r.changes)e.animate();let f=[];for(let e of r.translations)u.includes(e.row)&&(hie(e),f.push(e.row));f.length>0&&queueMicrotask(()=>{for(let e of f)aV(e)});for(let e of u)qB(t,e,()=>e.remove())||e.remove();let p=pG(s,0,i.ownerDocument.defaultView?.innerHeight??0);if(p!=null)for(let e=p[0];e<=p[1];e++){let n=s[e],i=iG(n);i!=null&&!r.rows.has(i)&&RB(t,n)}gie(r,a)}),r}var gG,_G,vG,yG,bG=o((()=>{gG=u(f(),1),x(),LV(),oG(),sie(),fG(),Xn(),_G=Jn(`list/list-layout-updates/reported-rows`,1),vG=.5,yG=Jn(`list/list-layout-updates/kept-styles`,1)}));function vie(e,t,n){let r=e,i=r?.[SG],a=nu(t);return{session:(0,xG.useMemo)(()=>i?.createSession(()=>a.current(),n)??null,[i,n,a]),options:r?.options??null}}function yie(e){b(()=>{e?.commit()})}var xG,SG,bie=o((()=>{xG=u(f(),1),au(),x(),Xn(),SG=Wn(`list/reorder-engine`,1)}));function CG({children:e,animatedLayout:t,reorderable:n,density:r=`balanced`,hasDividers:i=!1,edge:a,edgeCompensation:o,header:s,listStyle:c=`none`,start:l,xstyle:u,className:d,style:f,\"data-testid\":p,ref:m,...h}){let g=(0,wG.useId)(),_=(0,wG.useRef)(null),{session:v,options:y}=vie(n,()=>_.current,`${g}h`),b=_ie(_,t),x=(0,wG.useCallback)(()=>{v?.ownsCommit()!==!0&&b()},[b,v]);yie(v);let S=gx(_,m),w=c===`decimal`,T=w?`ol`:`ul`;OC(`List`,\"`edge` and the deprecated `edgeCompensation` are both set; `edge` wins. Remove `edgeCompensation`. `astryx upgrade` rewrites existing usage.\",a!=null&&o!=null);let E=a??(o===`inline`?`outset`:`padded`),D=E===`outset`||E===`bleed`,O=(0,wG.use)(nG),k=(0,wG.use)(tG),A=O!=null&&k?.staticMark!==O,j=(0,wG.useMemo)(()=>({density:r,hasDividers:i,edge:E,listStyle:c,animatedLayout:t,reorder:v&&{session:v,options:y},staticMark:O}),[r,i,E,c,t,v,y,O]),M=(0,TG.jsx)(T,{ref:S,...h,\"data-testid\":p,...s==null?null:{\"aria-labelledby\":g},...w&&l!=null&&l!==1?{start:l}:{},role:`list`,...E===`bleed`&&s==null?{\"data-container-corner\":``}:null,...Q(Y(`list`,{density:r,listStyle:c}),C(EG.list,A&&EG.noInlineClip,t!=null&&EG.animatedIsolation,w&&EG.numberColumns,i&&EG.withDividers,D&&EG.reachesContainerPadding,E===`bleed`&&s==null&&EG.bleedCorners,c!==`none`&&(l!=null&&l!==1?OG.counterStart(l-1):EG.withCounter),v?.listStyle,u),d,f),children:e}),N=t==null?null:(0,TG.jsx)(TH,{value:e,onBeforeChange:x}),{reorder:P}=j,F=P&&(0,TG.jsx)(P.session.Host,{reorder:P});return s==null?(0,TG.jsxs)(tG,{value:j,children:[N,M,F]}):(0,TG.jsxs)(tG,{value:j,children:[N,(0,TG.jsxs)(`div`,{...E===`bleed`?{\"data-container-corner\":``}:null,...{0:{className:`x78zum5 xdt5ytf`},1:{className:`x78zum5 xdt5ytf x916qr2 x1vx9r65 x1dt9b3t xjk82ok x1q2yvai xc60oqu`}}[E===`bleed`|0],children:[(0,TG.jsx)(`div`,{id:g,className:`x1p37lm5`,children:s}),M,F]})]})}var wG,TG,EG,DG,OG,kG=o((()=>{wG=u(f(),1),D(),rG(),bC(),vx(),bG(),EH(),vr(),MC(),bie(),TG=mc(),EG={list:{kogj98:`x1ghz6dp`,kZCmMZ:`x1c1uobl`,kH6xsr:`x3ct3a4`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`x1lsbc85`,kXHlph:`x101abm8`,kHBbk8:`xsmms64`,$$css:!0},noInlineClip:{kXHlph:`x1plvlek`,$$css:!0},animatedIsolation:{kHBbk8:`xc8icb0`,$$css:!0},numberColumns:{k1xSpc:`x78zum5 x1tx5i3l`,kumcoG:`x16lqc3j`,k1C7PZ:`xak3so`,$$css:!0},reachesContainerPadding:{keTefX:`xojxgvx`,k71WvV:`x1fcf3bl`,kzqmXN:`xx6qvi6`,$$css:!0},bleedCorners:{\"--_list-corner-start-start\":`x916qr2 xb8h2sp`,\"--_list-corner-start-end\":`x1vx9r65 x1d65wlh`,\"--_list-corner-end-start\":`x1dt9b3t xjk82ok`,\"--_list-corner-end-end\":`x1q2yvai xc60oqu`,$$css:!0},withDividers:{khm7nJ:`xxs79tx`,$$css:!0},withCounter:{kt6KFK:`xif0320`,$$css:!0}},DG={kt6KFK:`x1khind5`,$$css:!0},OG={counterStart:e=>[DG,{\"--x-counterReset\":`astryx-list ${e}`==null?void 0:`astryx-list ${e}`}]},CG.displayName=`List`}));Xf();var AG=Uf(`CheckboxListContext`,1,null);AG.displayName=`CheckboxListContext`,t_();var xie={childList:!0,subtree:!0};function Sie(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}function Cie(){let e=new Map;function t(){let t=[...e.keys()].sort(Sie),n=[...e.values()].some(e=>e.isChecked)?void 0:t.find(t=>e.get(t)?.isEnabled===!0);for(let e of t)e.required=e===n}return{register(n,r){return e.set(n,r),t(),()=>{e.delete(n),n.required=!1,t()}},observe(e){return Xg(e,xie,t)}}}vx(),kG(),Xx(),D(),bC(),vr();var jG=[];function MG({label:e,isLabelHidden:t=!1,description:n,isOptional:r=!1,isRequired:i=!1,status:a,value:o,onChange:s,changeAction:c,density:l=`balanced`,hasDividers:u=!1,isDisabled:d=!1,disabledMessage:f,isReadOnly:p=!1,children:m,ref:h,width:g,containerXstyle:_,containerClassName:v,containerStyle:y,controlXstyle:b,controlClassName:x,controlStyle:S,\"aria-labelledby\":w,\"aria-describedby\":T,...E}){let{rest:D,container:O}=sP(`CheckboxList`,E,{containerXstyle:_,containerClassName:v,containerStyle:y}),k=(0,X.useId)(),A=(0,X.useId)(),j=(0,X.useId)(),M=(0,X.useId)(),N=(0,X.useMemo)(()=>i?Cie():void 0,[i]),P=(0,X.useCallback)(e=>e!=null&&N!=null?N.observe(e):void 0,[N]),[,F]=(0,X.useTransition)(),I=o!==void 0,[L,R]=(0,X.useOptimistic)(o??jG),[z,B]=(0,X.useOptimistic)(jG,(e,t)=>e.includes(t)?e:[...e,t]),V=d&&!!f,H=Gx({placement:`above`,focusTrigger:`always`,isEnabled:V}),ee=(0,X.useCallback)((e,t)=>{s?.(e),c&&F(async()=>{R(e),t!==void 0&&B(t),await c(e)})},[s,c,F,R,B]),U=(0,X.useMemo)(()=>({value:I?L:void 0,onChange:I?ee:void 0,isDisabled:d,hasDisabledMessage:V,disabledMessageID:V?H.describedBy:void 0,isReadOnly:p,isInvalid:a?.type===`error`,loadingValues:z,requiredGroup:N}),[I,L,ee,d,V,H.describedBy,p,a?.type,z,N]);return(0,Z.jsxs)(LN,{label:e,isLabelHidden:t,description:n,inputID:k,labelID:A,isGroupLabel:!0,isOptional:r,isRequired:i,descriptionID:n?j:void 0,isDisabled:d,status:a?{type:a.type,message:a.message,messageID:a.message?M:void 0}:void 0,statusVariant:`detached`,width:g,xstyle:O.xstyle,...Q(Y(`checkbox-list`),{className:O.className,style:O.style}),children:[(0,Z.jsx)(AG,{value:U,children:(0,Z.jsx)(`div`,{...D,ref:gx(h,H.ref,P),...Q(C(b),x,S),role:`group`,\"aria-disabled\":d||D[`aria-disabled`],\"aria-labelledby\":QN(A,w),\"aria-describedby\":[T,n?j:null,a?.message?M:null,V?H.describedBy:null].filter(Boolean).join(` `)||void 0,children:(0,Z.jsx)(CG,{density:l,hasDividers:u,children:m})})}),V&&H.renderTooltip(f)]})}MG.displayName=`CheckboxList`;function wie(e,t=!1){let n=(0,NG.useCallback)(t=>{let n=e.current?.firstElementChild;n instanceof HTMLElement&&Object.assign(n.style,t?nS:rS)},[e]),r=(0,NG.useCallback)(e=>{if(t)return;let r=e.target;r instanceof HTMLElement&&!r.matches(`:focus-visible`)||n(!0)},[t,n]),i=(0,NG.useCallback)(()=>n(!1),[n]);return(0,NG.useMemo)(()=>({focusProps:{onFocus:r,onBlur:i}}),[r,i])}var NG,Tie=o((()=>{NG=u(f(),1),oS()}));function PG({state:e,size:t=`md`,isDisabled:n=!1,children:r,ref:i,className:a,style:o,xstyle:s,...c}){let l=e===`checked`,u=e===`indeterminate`,d=l||u;return(0,FG.jsx)(`span`,{...c,ref:i,\"aria-hidden\":`true`,...Q(Y(`checkbox-indicator`,{size:t,checked:l?`checked`:u?`indeterminate`:null,disabled:n?`disabled`:null}),C(IG.box,LG[t],d?IG.checked:IG.unchecked,n&&IG.disabled,n&&!d&&IG.disabledUnchecked,s),a,o),children:bO(r)?r:(0,FG.jsxs)(FG.Fragment,{children:[(0,FG.jsx)(`svg`,{viewBox:`0 0 10 10`,...Q(Y(`checkbox-indicator-check`,{size:t}),C(IG.checkmark,RG[t],l&&IG.checkmarkVisible)),children:(0,FG.jsx)(`path`,{d:`M8.5 2.5L4 7.5L1.5 5`,stroke:`currentColor`,strokeWidth:`1.5`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`})}),(0,FG.jsx)(`span`,{...Q(Y(`checkbox-indicator-dash`,{size:t}),C(IG.indeterminateMark,zG[t],u&&IG.indeterminateMarkVisible))})]})})}var FG,IG,LG,RG,zG,Eie=o((()=>{D(),xO(),bC(),vr(),FG=mc(),IG={box:{kB7OPa:`x9f619`,k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,kMzoRj:`x1litavf`,ksu8eU:`x1y0btm7`,kaIpWk:`xx3sua9`,k1ekBW:`xts7igz`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,$$css:!0},unchecked:{kMwMTN:`xqwr325`,kVAM5u:`xvy26l8 xilc7fp`,kWkggS:`x10xzikg xeultfy`,$$css:!0},checked:{kMwMTN:`x17wrial`,kVAM5u:`xad5do x1ozl1p1`,kWkggS:`x1ewilqj x17srpfb`,$$css:!0},disabled:{kSiTet:`xbyyjgo`,kVAM5u:`x14i3s5s x61roa7`,$$css:!0},disabledUnchecked:{kWkggS:`xwmxj5m xqxnq6d`,$$css:!0},checkmark:{k1xSpc:`x1s85apg`,kMwMTN:`x17wrial xs5hli`,$$css:!0},checkmarkVisible:{k1xSpc:`x1lliihq`,$$css:!0},indeterminateMark:{k1xSpc:`x1s85apg`,kWkggS:`x1azo05 xwvh9j7`,kaIpWk:`xjspbzw`,$$css:!0},indeterminateMarkVisible:{k1xSpc:`x1lliihq`,$$css:!0}},LG={sm:{kzqmXN:`xw4jnvo`,kZKoxP:`x1qx5ct2`,$$css:!0},md:{kzqmXN:`xvy4d1p`,kZKoxP:`xxk0z11`,$$css:!0}},RG={sm:{kzqmXN:`xcseyog`,kZKoxP:`xk0hz3e`,$$css:!0},md:{kzqmXN:`x81l6rl`,kZKoxP:`xf5mu3m`,$$css:!0}},zG={sm:{kzqmXN:`xntxx1p`,kZKoxP:`x36qwtl`,$$css:!0},md:{kzqmXN:`xntxx1p`,kZKoxP:`x36qwtl`,$$css:!0}},PG.displayName=`CheckboxIndicator`}));function BG({state:e,size:t=`md`,isDisabled:n=!1,children:r,ref:i,className:a,style:o,xstyle:s,...c}){let l=e===`checked`;return bO(r)?(0,VG.jsx)(`span`,{...c,ref:i,\"aria-hidden\":`true`,...Q(C(UG.slot,n?UG.disabled:UG.enabled,s),a,o),children:r}):l?(0,VG.jsx)(XT,{...c,\"aria-hidden\":`true`,icon:`check`,size:HG[t],color:n?`disabled`:`accent`,xstyle:s,className:a,style:o}):null}var VG,HG,UG,Die=o((()=>{D(),sE(),xO(),bC(),VG=mc(),HG={sm:`sm`,md:`sm`},UG={slot:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,kzqmXN:`xcdlrvm`,kZKoxP:`x1l36t39`,$$css:!0},enabled:{kMwMTN:`xqwr325`,$$css:!0},disabled:{kMwMTN:`xqa6c3m`,$$css:!0}},BG.displayName=`CheckIndicator`}));function WG({state:e,size:t=`md`,isDisabled:n=!1,children:r,ref:i,className:a,style:o,xstyle:s,...c}){let l=e!==`unchecked`;return(0,GG.jsx)(`span`,{...c,ref:i,\"aria-hidden\":`true`,...Q(Y(`radio-indicator`,{size:t,checked:l?`checked`:null,disabled:n?`disabled`:null}),C(KG.circle,qG[t],l?KG.checked:KG.unchecked,n&&KG.disabled,n&&!l&&KG.disabledUnchecked,s),a,o),children:bO(r)?r:l&&(0,GG.jsx)(`span`,{...Q(Y(`radio-indicator-dot`,{size:t}),C(KG.dot,JG[t]))})})}var GG,KG,qG,JG,Oie=o((()=>{D(),xO(),bC(),vr(),GG=mc(),KG={circle:{kB7OPa:`x9f619`,k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,kMzoRj:`x1litavf`,ksu8eU:`x1y0btm7`,kaIpWk:`x16rqkct`,k1ekBW:`xts7igz`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,$$css:!0},unchecked:{kVAM5u:`xvy26l8 xilc7fp`,kWkggS:`x10xzikg xeultfy`,$$css:!0},checked:{kVAM5u:`xad5do x1ozl1p1`,kWkggS:`x1ewilqj x17srpfb`,$$css:!0},disabled:{kSiTet:`xbyyjgo`,kVAM5u:`x14i3s5s x61roa7`,$$css:!0},disabledUnchecked:{kWkggS:`xwmxj5m xqxnq6d`,$$css:!0},dot:{kaIpWk:`x16rqkct`,kWkggS:`x1azo05 xwvh9j7`,$$css:!0}},qG={sm:{kzqmXN:`xw4jnvo`,kZKoxP:`x1qx5ct2`,$$css:!0},md:{kzqmXN:`xvy4d1p`,kZKoxP:`xxk0z11`,$$css:!0}},JG={sm:{kzqmXN:`xdczmg8 xc1fy2`,kZKoxP:`x1cgj10n x1drbojm`,$$css:!0},md:{kzqmXN:`x1p84mop x11cc87d`,kZKoxP:`x1hjxuft xgunu6i`,$$css:!0}},WG.displayName=`RadioIndicator`}));function kie(e,t){return uT(t)?.[e]??YG[e]}var YG,Aie=o((()=>{Eie(),Die(),Oie(),dT(),YG={check:BG,checkbox:PG,radio:WG}}));function jie(e){return kie(e,Hs())}var Mie=o((()=>{rc(),Aie()}));function Nie(){for(let e of[...XG.watchers])e()}function Pie(e){return XG.watchers.add(e),()=>{XG.watchers.delete(e)}}var XG,ZG=o((()=>{Xn(),XG=Kn(`utils/press-claim/state`,1,()=>({watchers:new Set}))}));function Fie(e,t){let n=Iv(t,e);if(n==null)return null;let r=Dd([e,n],t),i=performance.now(),a=n.ownerDocument.defaultView,o=!1,s=Pie(()=>{o=!0}),c=[],l=a==null?()=>{}:bu(a,`contextmenu`,e=>{c.push(e)}),u=()=>c.some(e=>e.defaultPrevented);return e=>{r(),s(),o?(e&&Vu(n.ownerDocument,{cancelsTouchEnd:!0}),l()):!e||performance.now()-i<500||u()?l():Iie(n,u,l)}}function Iie(e,t,n){QG.get(e)?.();let r=e.ownerDocument.defaultView;if(r==null){n();return}let i=null,a=bu(r,`touchend`,e=>{i??=e}),o=[a,bu(r,`pointerdown`,()=>{a(),n()}),n],s=null,c=()=>{for(let e of o)e();s?.(),s=null,QG.get(e)===c&&QG.delete(e)};QG.set(e,c),s=Gh(e,{onClicked:()=>{s=null,c()},onNoClick:()=>{if(s=null,c(),i?.defaultPrevented===!0||t())return;let n=e.querySelector(`input`);n!=null&&n.isConnected&&qh(n)}})}function Lie(){for(let e of[...QG.values()])e()}function Rie(){ey({start:Fie,endWaits:Lie})}var QG,zie=o((()=>{P_(),Vv(),Jh(),Xu(),Pu(),ZG(),Yy(),Zd(),QG=new Map})),$G,Bie=o((()=>{$G={\"@astryx.spinner.loading\":`Loading`}})),eK,tK=o((()=>{Xf(),eK=Uf(`CheckboxRowPressContext`,1,!1),eK.displayName=`CheckboxRowPressContext`}));function nK({id:e,label:t,isLabelHidden:n=!1,description:r,onChange:i,changeAction:a,isLoading:o=!1,value:s,isDisabled:c=!1,htmlName:l,disabledMessage:u,isReadOnly:d=!1,isOptional:f=!1,isRequired:p=!1,size:m=`md`,onFocus:h,onBlur:g,labelIcon:_,status:v,width:y,xstyle:b,className:x,style:S,ref:w,\"aria-describedby\":T,...E}){let D=gO(),O=(0,rK.use)(eK),k=!c&&!O,A=(0,rK.useId)(),j=e||A,M=(0,rK.useId)(),N=(0,rK.useId)(),[,P]=(0,rK.useTransition)(),[F,I]=(0,rK.useOptimistic)(s),L=o||F!==s,R=c&&!!u,z=(0,rK.useId)(),B=tx(),V=jie(`checkbox`),H=(0,rK.useRef)(null);lP(L,nT()(`@astryx.spinner.loading`),H);let{focusProps:ee}=wie(H),U=!n&&!c&&!d,te=(0,rK.useRef)(null),W=KD(U),G=(0,rK.useRef)(null),ne=gx(G,W),re=(0,rK.useRef)(null),ie=e=>{re.current=e.target===e.currentTarget?{x:e.clientX,y:e.clientY}:null},K=e=>{let t=re.current;if(re.current=null,t==null||e.detail===0||e.target!==e.currentTarget)return;let n=e.currentTarget.getBoundingClientRect();(t.xn.right||t.yn.bottom)&&te.current?.click()},q=F===`indeterminate`,ae=F===!0,oe=(0,rK.useCallback)(e=>{e&&(e.indeterminate=q)},[q]),se=[];T&&se.push(T),r&&se.push(M),v?.message&&se.push(N),R&&se.push(z);let ce=se.length>0?se.join(` `):void 0;return(0,iK.jsxs)(`div`,{...Q(Y(`checkbox-input`,{size:m}),C(y!=null&&sK.width(y),b),x,S),children:[(0,iK.jsxs)(`div`,{ref:ne,onPointerDown:U?ie:void 0,onClick:U?K:void 0,...k?D:void 0,...C(aK.container,n&&aK.containerLabelHidden,U&&aK.hitAreaHost,U&&$D.layer,!c&&lO,!c&&(O?aK.indicatorRowPressImage:mO.handDown),k&&sO.pressedAlpha),children:[(0,iK.jsxs)(`div`,{...c?void 0:Bv,...C(aK.checkboxWrapper,!c&&aK.indicatorPressOverlay,!c&&(O?aK.indicatorRowPressOverlay:[mO.activeFill,mO.image])),...ee,children:[(0,iK.jsx)(`input`,{...XN(E,c),ref:gx(w,oe,te),id:j,type:`checkbox`,name:c?void 0:l,checked:ae,\"aria-disabled\":c?`true`:void 0,form:c?``:void 0,onClick:c?void 0:E.onClick,readOnly:d,required:p,\"aria-required\":p?`true`:void 0,onChange:e=>{if(c||L||d){e.target.indeterminate=q;return}let t=e.target.checked;i?.(t,e),a&&!e.defaultPrevented&&P(async()=>{I(t),await a(t,e)})},onFocus:h,onBlur:g,\"aria-readonly\":d||void 0,\"aria-describedby\":ce,\"aria-invalid\":v?.type===`error`||!p&&void 0,\"aria-busy\":L||void 0,...C(aK.input,$L.centerInline(`-50%`),aK.inputCoarse,oK[m],c&&aK.inputDisabled)}),(0,iK.jsx)(`span`,{ref:H,className:`xjp7ctv`,children:(0,iK.jsx)(V,{state:q?`indeterminate`:ae?`checked`:`unchecked`,size:m,isDisabled:c,children:L?(0,iK.jsx)(mT,{size:`sm`,shade:`inherit`}):null})})]}),(0,iK.jsx)(`div`,{className:`x78zum5 xdt5ytf`,children:(0,iK.jsx)(vN,{...Y(`checkbox-label`),label:t,inputID:j,isLabelHidden:n,isDisabled:c,isOptional:f,isRequired:p,labelIcon:_,description:r,descriptionID:M})})]}),v?.message&&(0,iK.jsx)(kN,{type:v.type,message:v.message,id:N,variant:`detached`}),c&&u?(0,iK.jsxs)(iK.Fragment,{children:[B?(0,iK.jsx)(cE,{id:z,children:u}):null,(0,iK.jsx)(Vie,{message:u,messageID:B?void 0:z,rowRef:G,inputRef:te})]}):null]})}function Vie({message:e,messageID:t,rowRef:n,inputRef:r}){let i=Gx({placement:`above`,focusTrigger:`always`}),{interactionRef:a,positionRef:o}=i;return b(()=>(a(n.current),o(r.current),()=>{a(null),o(null)}),[a,o,n,r]),i.renderTooltip((0,iK.jsx)(`span`,{id:t,children:e}))}var rK,iK,aK,oK,sK,cK=o((()=>{rK=u(f(),1),D(),SN(),PN(),TT(),uE(),Xx(),ox(),bC(),eR(),ZN(),uO(),cO(),Tie(),dP(),vO(),Mie(),vr(),vx(),x(),XD(),Vv(),hO(),zie(),eO(),iT(),Bie(),tK(),iK=mc(),Ww($G),Rie(),aK={container:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kOIVth:`x1s448w1`,$$css:!0},containerLabelHidden:{kOIVth:`xxhr3t`,$$css:!0},hitAreaHost:{kVAEAm:`xrxqdxo`,$$css:!0},indicatorRowPressImage:{\"--_indicator-press-image\":`x1y1g3jp`,\"--_indicator-active-press\":`x1bl9l2n`,$$css:!0},checkboxWrapper:{kVAEAm:`x1n2onr6`,k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,kHBbk8:`xc8icb0`,$$css:!0},indicatorPressOverlay:{k5JduY:`x1s928wv xf7ekc6`,kwXMNM:`x1j6awrg`,kv0HGH:`xarstr8`,kUfP38:`xtb6wbx`,kloYau:`x2q1x1w`,$$css:!0},indicatorRowPressOverlay:{ks3ayO:`xyhc2n1`,kNctxI:`xlvbopx`,$$css:!0},input:{kVAEAm:`x10l6tqk`,k87sOh:`xwa60dl`,kogj98:`x1ghz6dp`,kmVPX3:`x1717udv`,kSiTet:`xg01cxk`,kkrTdU:`x1ypdohk x16khyan`,kY2c9j:`x1vjfegm`,$$css:!0},inputCoarse:{kjFi6P:`xkagaj0`,kHzOjL:`x80b3aj`,$$css:!0},inputDisabled:{kkrTdU:`xt0e3qv`,$$css:!0}},oK={sm:{kzqmXN:`xw4jnvo`,kZKoxP:`x1qx5ct2`,$$css:!0},md:{kzqmXN:`xvy4d1p`,kZKoxP:`xxk0z11`,$$css:!0}},sK={width:e=>[{kzqmXN:e==null?e:`x5lhr3w`,$$css:!0},{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]},nK.displayName=`CheckboxInput`}));function Hie(e){let t=(0,lK.useRef)(null);return(0,lK.useCallback)(n=>{if(n===null)return;let r=t.current;t.current=null;let i=document.activeElement===null||document.activeElement===document.body;r!==null&&r!==n&&!r.isConnected&&i&&n.focus();let a=mx(e)(n);return()=>{t.current=document.activeElement===n?n:null,a?.()}},[e])}var lK,Uie=o((()=>{lK=u(f(),1),hx()})),uK,dK=o((()=>{ys(),uK=_s(`ItemDescriptionContext`,1,null),uK.displayName=`ItemDescriptionContext`})),fK,pK,mK=o((()=>{ys(),fK=_s(`ItemLabelContext`,1,null),fK.displayName=`ItemLabelContext`,pK=_s(`ItemLabelNeededContext`,1,!1),pK.displayName=`ItemLabelNeededContext`})),hK,gK=o((()=>{ys(),hK=_s(`ItemListRowContext`,1,!1),hK.displayName=`ItemListRowContext`})),_K,vK=o((()=>{ys(),_K=_s(`ItemMarkerColumnsContext`,1,null),_K.displayName=`ItemMarkerColumnsContext`})),yK,bK=o((()=>{ys(),yK=_s(`ItemTrailingContext`,1,null),yK.displayName=`ItemTrailingContext`}));function Wie(e,t){if(e!==`_blank`)return{target:e,rel:t};let n=t?.split(/\\s+/).filter(Boolean)??[];for(let e of xK)n.includes(e)||n.push(e);return{target:e,rel:n.join(` `)}}var xK,Gie=o((()=>{xK=[`noopener`,`noreferrer`]})),SK,CK,wK,TK,Kie=o((()=>{SK={\"data-astryx-focus-owner\":``},CK={\"data-astryx-focus-owner\":`group`},wK={focusWithinOwner:{kMeerF:`x1k57tk5 xt6iir6`,k3XXqK:`x1t137rt xjop9y1`,kjBf7l:`x1sgrtkh`,kInvED:`x1wfwxd8 xxrcyt7`,$$css:!0},focusWithinOwnerOverlay:{k5JduY:`x1s928wv`,kwXMNM:`x1j6awrg`,kv0HGH:`xarstr8`,kloYau:`x2q1x1w`,kUfP38:`x1k48kgn`,kTgd1G:`xvyjxle`,kyCetj:`x1mrr29r x1bt9f48`,k8cdcH:`x1b33kpq`,kbVtqk:`x1ehzeq`,$$css:!0}},TK=wK.focusWithinOwner,wK.focusWithinOwnerOverlay}));function qie(e){return Object.freeze(Object.defineProperty({},DK,{value:e}))}function EK(e){return e[DK]??null}function Jie(e,t){let n=EK(e);return n==null||t==null?e:qie({...n,attach:(e,r)=>n.attach({...e,itemKey:t},r)})}var DK,OK=o((()=>{DK=Symbol.for(`@astryxdesign/core/swipe/host`)})),kK,Yie=o((()=>{kK={root:{kFalU9:`xge0x1e`,k3aq6I:`x1kncwj0`,$$css:!0}}})),AK,jK=o((()=>{od(),AK={viewportSize(){return typeof window>`u`?{width:0,height:0}:{width:window.innerWidth,height:window.innerHeight}},isRtl(e){return typeof window>`u`||!Qu(e)?!1:(e.ownerDocument.defaultView??window).getComputedStyle(e).direction===`rtl`},viewRect(e){if(!Qu(e))return null;let{left:t,top:n,width:r,height:i}=e.getBoundingClientRect();return{left:t,top:n,width:r,height:i}}}}));function Xie(e,t){return FK[e].includes(t)}function MK(e){return e===`ended`||e===`cancelled`||e===`failed`}function NK(e){return e===`began`||e===`changed`}var PK,FK,IK,LK,RK,zK,BK=o((()=>{jK(),PK=new Set([`began`,`changed`,`ended`,`cancelled`]),FK={possible:[`began`,`ended`,`failed`],began:[`changed`,`ended`,`cancelled`],changed:[`changed`,`ended`,`cancelled`],ended:[`possible`],cancelled:[`possible`],failed:[`possible`]},IK={panX:!0,panY:!0,pinchZoom:!0,doubleTapZoom:!0},LK={panX:!0,panY:!0,pinchZoom:!0,doubleTapZoom:!1},RK=1,zK=class{id=RK++;view=null;arena=null;pending=null;stateValue=`possible`;listeners=new Set;transitionListeners=new Set;failureRequirements=new Set;simultaneousWith=new Set;touches=new Map;seenTouchIds=new Set;lastLocation={x:0,y:0};constructor(e={}){this.options=e,this.name=e.name??this.constructor.name,this.isEnabled=e.isEnabled??!0,this.cancelsTouchesInView=e.cancelsTouchesInView??!0,this.selectionLock=e.selectionLock??null,this.delaysTouchesBegan=e.delaysTouchesBegan??!1,this.delaysTouchesEnded=e.delaysTouchesEnded??!0,this.allowedPointerTypes=e.allowedPointerTypes==null?null:new Set(e.allowedPointerTypes),this.allowedScrollTypes=new Set(e.allowedScrollTypes??this.defaultScrollTypes),this.requiresExclusiveTouchType=e.requiresExclusiveTouchType??!0}get isDiscrete(){return!1}get claimsTouches(){return this.options.claimsTouches??!0}get state(){return this.stateValue}get nativeTouchBehavior(){return IK}get acceptsTouchInput(){return this.allowedPointerTypes==null||this.allowedPointerTypes.has(`touch`)}get numberOfTouches(){return this.touches.size}get trackedTouches(){return[...this.touches.values()]}location(){if(this.touches.size===0)return this.lastLocation;let e=0,t=0;for(let n of this.touches.values())e+=n.x,t+=n.y;return this.lastLocation={x:e/this.touches.size,y:t/this.touches.size},this.lastLocation}get environment(){return this.arena?.environment??AK}requireToFail(e){return this.failureRequirements.add(e),this}recognizeSimultaneouslyWith(...e){for(let t of e)this.simultaneousWith.add(t),t.simultaneousWith.add(this);return this}requiresFailureOf(e){return this.failureRequirements.has(e)||this.options.shouldRequireFailureOf?.(this,e)===!0||e.options.shouldBeRequiredToFailBy?.(e,this)===!0}allowsSimultaneous(e){return this.simultaneousWith.has(e)||this.options.shouldRecognizeSimultaneously?.(this,e)===!0&&e.options.shouldRecognizeSimultaneously?.(e,this)===!0}shouldBegin(){return this.options.shouldBegin?.(this)??!0}keepsTouch(e){return!1}canPrevent(e){return!0}canBePrevented(e){return!0}isInvolved(){return this.touches.size>0||this.pending!=null}addListener(e){let t=e;return this.listeners.add(t),()=>{this.listeners.delete(t)}}addTransitionListener(e){let t=e;return this.transitionListeners.add(t),()=>{this.transitionListeners.delete(t)}}touchesBegan(e,t){}touchesMoved(e,t){}touchesEnded(e,t){}touchesCancelled(e,t){NK(this.state)?this.setState(`cancelled`):this.state===`possible`&&this.setState(`failed`)}touchesTakenByBrowser(e,t){return!this.claimsTouches||(this.touchesCancelled(e,t),!1)}touchBeganElsewhere(e,t){}reset(){}get defaultScrollTypes(){return[]}acceptsTouch(e){if(!this.isEnabled)return!1;if(e.scrollType!=null)return this.allowedScrollTypes.has(e.scrollType)&&(this.options.shouldReceiveTouch?.(this,e)??!0);if(this.allowedPointerTypes!=null&&!this.allowedPointerTypes.has(e.pointerType))return!1;if(this.requiresExclusiveTouchType){for(let t of this.touches.values())if(t.pointerType!==e.pointerType)return!1}return this.options.shouldReceiveTouch?.(this,e)??!0}setState(e){this.arena==null?this.applyState(e):this.arena.requestTransition(this,e)}setTimer(e,t){this.arena?.setTimer(this,e,t)}clearTimer(){this.arena?.clearTimer(this)}now(){return this.arena?.now()??0}cancelTouchesInView(){this.arena?.cancelTouchesInViewOf(this)}wantsTouch(e){return this.state!==`possible`&&!NK(this.state)||this.pending!=null?!1:this.acceptsTouch(e)}deliverBegan(e,t){for(let t of e)this.touches.set(t.id,t),this.seenTouchIds.add(t.id);this.location(),this.touchesBegan(e,t)}deliverBeganElsewhere(e,t){MK(this.state)||this.touchBeganElsewhere(e,t)}deliverMoved(e,t){let n=e.filter(e=>this.touches.has(e.id));n.length===0||MK(this.state)||(this.location(),this.touchesMoved(n,t))}deliverEnded(e,t){let n=e.filter(e=>this.touches.has(e.id));if(n.length!==0){this.location(),MK(this.state)||this.touchesEnded(n,t);for(let e of n)this.touches.delete(e.id)}}deliverCancelled(e,t){let n=e.filter(e=>this.touches.has(e.id));if(n.length!==0){MK(this.state)||this.touchesCancelled(n,t);for(let e of n)this.touches.delete(e.id)}}deliverTakenByBrowser(e,t){let n=e.filter(e=>this.touches.has(e.id));if(n.length!==0&&(MK(this.state)||!this.touchesTakenByBrowser(n,t)))for(let e of n)this.touches.delete(e.id)}onEnabledChange=null;setEnabled(e){let t=this.isEnabled!==e;this.isEnabled=e,t&&this.onEnabledChange?.(),!e&&(this.state!==`possible`||this.isInvolved())&&this.cancel()}cancel(){this.arena==null?NK(this.state)?this.applyState(`cancelled`):this.state===`possible`&&this.isInvolved()&&this.applyState(`failed`):this.arena.stop(this)}applyState(e){let t=this.stateValue;if((t!==e||e===`changed`)&&Xie(t,e)){this.stateValue=e,e!==`possible`&&(this.pending=null);for(let n of[...this.transitionListeners])n(this,t,e);if(PK.has(e))for(let e of[...this.listeners])e(this)}}resetToPossible(){this.clearTimer(),this.pending=null,this.touches.clear(),this.seenTouchIds.clear(),this.reset(),this.applyState(`possible`)}}}));function VK(e){return e}var HK=o((()=>{}));function Zie(e,t){for(let n of VK(e).seenTouchIds)if(VK(t).seenTouchIds.has(n))return!0;return!1}var UK,WK,Qie=o((()=>{BK(),jK(),HK(),UK={now:()=>typeof performance>`u`?Date.now():performance.now(),setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e)},WK=class{movingIds=new Set;records=new Map;active=[];timers=new Map;realTimer=null;realTimerDeadline=1/0;currentTime=null;latestTime=-1/0;depth=0;deferDepth=0;owesResolution=!1;constructor(e={}){this.options=e,this.clock=e.clock??UK,this.environment=e.environment??AK}now(){return this.currentTime??Math.max(this.latestTime,this.clock.now())}isClaimed(e){return this.records.get(e)?.isClaimed===!0}consumerOf(e){return this.records.get(e)?.consumer??null}getTouch(e){return this.records.get(e)?.touch}participantsOf(e){return this.records.get(e)?.participants??[]}get touches(){return[...this.records.values()].map(e=>e.touch)}get involvedRecognizers(){return this.active}began(e){e.length!==0&&this.run(e[0].time,()=>{let t=new Map,n=[];for(let r of e){if(this.records.has(r.id))continue;let e=this.clampTime(r.time),i={x:r.x,y:r.y,time:e},a={id:r.id,pointerType:r.pointerType,phase:`began`,x:r.x,y:r.y,time:e,startX:r.x,startY:r.y,startTime:e,samples:[...r.history??[],i],target:r.target,scroll:r.scroll??null,takenByBrowser:!1,...r.scrollType==null?{}:{scrollType:r.scrollType}},o=[];for(let[e,n]of r.recognizers.entries()){if(!VK(n).wantsTouch(a))continue;if(o.push(n),VK(n).arena=this,!this.active.includes(n)){let t=this.active.findIndex(t=>r.recognizers.indexOf(t)>e);t===-1?this.active.push(n):this.active.splice(t,0,n)}let i=t.get(n)??[];i.push(a),t.set(n,i)}let s={touch:a,participants:o,consumer:r.consumer??null,view:`none`,isLifted:!1,isClaimed:!1,suppressClick:!1,deferredClick:!1};this.records.set(r.id,s),n.push(s)}let r=this.context();for(let e of[...this.active]){let n=t.get(e);n!=null&&VK(e).deliverBegan(n,r)}for(let e of[...this.active]){let i=t.get(e),a=n.map(e=>e.touch).filter(e=>i==null||!i.includes(e));a.length>0&&e.numberOfTouches>0&&VK(e).deliverBeganElsewhere(a,r)}for(let e of n)this.deliverViewBegan(e)})}untrackedBegan(e){this.active.some(e=>e.numberOfTouches>0)&&this.run(e.time,()=>{let t=this.clampTime(e.time),n={id:e.id,pointerType:e.pointerType,phase:`began`,x:e.x,y:e.y,time:t,startX:e.x,startY:e.y,startTime:t,samples:[{x:e.x,y:e.y,time:t}],target:e.target,scroll:e.scroll??null,takenByBrowser:!1},r=this.context();for(let e of[...this.active])e.numberOfTouches>0&&VK(e).deliverBeganElsewhere([n],r)})}moved(e){e.length!==0&&this.run(e[0].time,()=>{let t=this.update(e,`moved`);if(t.length===0)return;let n=this.context(),r=this.movingIds;this.movingIds=new Set(t.map(e=>e.id));try{for(let e of[...this.active])VK(e).deliverMoved(t,n)}finally{this.movingIds=r}for(let e of t){let t=this.records.get(e.id);t?.view===`delivered`&&t.consumer?.touchMoved(e)}})}ended(e){let t=new Map;return e.length===0||this.run(e[0].time,()=>{let n=this.update(e,`ended`),r=this.context();for(let e of[...this.active])VK(e).deliverEnded(n,r);this.reviewPending();for(let e of n){let n=this.records.get(e.id);n!=null&&(n.isLifted=!0,t.set(e.id,this.resolveEnd(n)))}}),t}cancelled(e,t){this.run(t,()=>{let t=this.liveTouches(e);for(let e of t)e.phase=`cancelled`;let n=this.context();for(let e of[...this.active])VK(e).deliverCancelled(t,n);for(let e of t){let t=this.records.get(e.id);t!=null&&(t.isLifted=!0,t.suppressClick=!0,this.cancelView(t))}})}browserTookOver(e,t){this.run(t,()=>{let t=this.liveTouches(e).filter(e=>!e.takenByBrowser);if(t.length===0)return;for(let e of t)e.takenByBrowser=!0;let n=this.context();for(let e of[...this.active])VK(e).deliverTakenByBrowser(t,n);for(let e of t){let t=this.records.get(e.id);t!=null&&(t.suppressClick=!0,this.cancelView(t))}})}advanceTime(e){this.run(e,()=>{})}requestTransition(e,t){let n=e.state;t===`failed`?this.fail(e):(VK(e).pending==null||t!==`began`&&t!==`ended`)&&(n===`possible`&&(t===`began`||t===`ended`)?this.attemptRecognition(e,t):NK(n)&&(t===`changed`||t===`ended`)?this.apply(e,t):NK(n)&&t===`cancelled`&&this.apply(e,`cancelled`))}setTimer(e,t,n){this.timers.set(e,{deadline:t,callback:n}),this.scheduleRealTimer()}clearTimer(e){this.timers.delete(e)&&this.scheduleRealTimer()}cancelTouchesInViewOf(e){this.cancelViewTouchesOf(e)}deferResolution(e){this.deferDepth+=1;try{e()}finally{--this.deferDepth}this.deferDepth===0&&this.owesResolution&&queueMicrotask(()=>{this.owesResolution&&this.deferDepth===0&&this.run(this.lastEventTime(),()=>{})})}lastEventTime(){return Number.isFinite(this.latestTime)?this.latestTime:this.clock.now()}stop(e){let t=this.currentTime??(Number.isFinite(this.latestTime)?this.latestTime:this.clock.now());this.run(t,()=>{NK(e.state)?this.apply(e,`cancelled`):e.state===`possible`&&e.isInvolved()&&this.fail(e)})}attemptRecognition(e,t){if(!VK(e).shouldBegin()||this.isVetoedByConsumer(e)||this.isRefusedByBrowser(e)){this.fail(e);return}let n=!1;for(let t of this.active)if(t!==e&&VK(e).requiresFailureOf(t)&&t.state!==`failed`){if(t.state!==`possible`){this.fail(e);return}t.isInvolved()&&(n=!0)}if(n)VK(e).pending=t,this.claim(e);else{for(let t of this.active)if(t!==e&&(NK(t.state)||t.state===`ended`&&t.trackedTouches.length>0)&&this.conflicts(t,e)){this.fail(e);return}this.apply(e,t);for(let t of[...this.active])t!==e&&t.state===`possible`&&(VK(t).requiresFailureOf(e)||this.conflicts(e,t))&&this.fail(t);this.claim(e),e.claimsTouches&&e.cancelsTouchesInView&&this.cancelViewTouchesOf(e)}}conflicts(e,t){return!Zie(e,t)||VK(e).allowsSimultaneous(t)||!e.claimsTouches||!t.claimsTouches?!1:e.canPrevent(t)&&t.canBePrevented(e)}isRefusedByBrowser(e){let t=this.options.refusesClaim;return t==null||!e.claimsTouches?!1:e.trackedTouches.some(e=>e.phase!==`ended`&&e.phase!==`cancelled`&&t(e))}isVetoedByConsumer(e){for(let t of VK(e).seenTouchIds)if((this.records.get(t)?.consumer)?.allowsAncestorRecognizer?.(e)===!1)return!0;return!1}fail(e){MK(e.state)||(NK(e.state)?this.apply(e,`cancelled`):(VK(e).pending=null,this.apply(e,`failed`),this.reviewPending()))}releaseClaim(e,t=new Set){let n=[];for(let r of e.trackedTouches){let i=this.records.get(r.id);i!=null&&i.isClaimed&&!t.has(r.id)&&(this.active.some(t=>t!==e&&t.claimsTouches&&(NK(t.state)||t.state===`ended`||VK(t).pending!=null)&&t.trackedTouches.some(e=>e.id===r.id))||(i.isClaimed=!1,n.push(r.id)))}n.length>0&&this.options.onRelease?.(n)}apply(e,t){let n=e.state;VK(e).applyState(t),(e.state===t&&n!==t||t===`changed`&&n===`changed`)&&this.options.onTransition?.(e,n,t),MK(t)&&this.clearTimer(e),t===`cancelled`?this.releaseClaim(e,this.movingIds):t===`failed`&&this.releaseClaim(e)}reviewPending(){if(this.deferDepth>0){this.owesResolution=!0;return}let e=!0;for(;e;){e=!1;for(let t of[...this.active]){let n=VK(t).pending;n!=null&&t.state===`possible`&&(this.active.some(e=>e!==t&&VK(t).requiresFailureOf(e)&&e.state===`possible`&&e.isInvolved())||(VK(t).pending=null,this.attemptRecognition(t,n),e=!0))}}}claim(e){if(!e.claimsTouches)return;let t=[];for(let n of e.trackedTouches){let e=this.records.get(n.id);e==null||e.isLifted||e.isClaimed||e.touch.takenByBrowser||(e.isClaimed=!0,t.push(n.id))}t.length>0&&this.options.onClaim?.(t,e)}deliverViewBegan(e){e.consumer!=null&&e.view===`none`&&(e.suppressClick?e.view=`done`:this.beginDelayers(e)?e.view=`held`:(e.view=`delivered`,e.consumer.touchBegan(e.touch)))}resolveEnd(e){if(e.suppressClick)return`suppress`;let t=this.endDelayers(e);switch(e.view){case`delivered`:return t?(e.view=`endHeld`,e.deferredClick=!0,`defer`):(e.view=`done`,e.consumer?.touchEnded(e.touch),`allow`);case`held`:return this.beginDelayers(e)?(e.deferredClick=!0,`defer`):(e.view=`delivered`,e.consumer?.touchBegan(e.touch),this.resolveEnd(e));case`none`:case`endHeld`:case`done`:return t?(e.deferredClick=!0,`defer`):`allow`}}reviewHeld(){for(let e of this.records.values())e.view===`held`&&!this.beginDelayers(e)&&(e.suppressClick?e.view=`done`:(e.view=`delivered`,e.consumer?.touchBegan(e.touch),e.isLifted&&!this.endDelayers(e)?(e.view=`done`,e.consumer?.touchEnded(e.touch)):e.isLifted&&(e.view=`endHeld`))),e.view===`endHeld`&&!this.endDelayers(e)&&(e.view=`done`,e.suppressClick?e.consumer?.touchCancelled(e.touch):e.consumer?.touchEnded(e.touch)),e.deferredClick&&e.view!==`held`&&e.view!==`endHeld`&&!this.endDelayers(e)&&(e.deferredClick=!1,this.options.onDeferredClick?.(e.touch,!e.suppressClick))}beginDelayers(e){return e.participants.some(t=>t.delaysTouchesBegan&&t.state===`possible`&&t.isInvolved()&&VK(t).seenTouchIds.has(e.touch.id))}endDelayers(e){return e.participants.some(t=>t.delaysTouchesEnded&&t.state===`possible`&&t.isInvolved()&&VK(t).seenTouchIds.has(e.touch.id))}cancelViewTouchesOf(e){for(let t of VK(e).seenTouchIds){let e=this.records.get(t);e!=null&&(e.suppressClick=!0,this.cancelView(e))}}cancelView(e){(e.view===`delivered`||e.view===`endHeld`)&&e.consumer?.touchCancelled(e.touch),(e.view!==`none`||e.consumer!=null)&&(e.view=`done`)}context(){return{time:this.now(),allTouches:[...this.records.values()].filter(e=>!e.isLifted).map(e=>e.touch)}}liveTouches(e){let t=[];for(let n of e){let e=this.records.get(n);e!=null&&!e.isLifted&&t.push(e.touch)}return t}update(e,t){let n=[];for(let r of e){let e=this.records.get(r.id);if(e==null||e.isLifted)continue;let i=this.clampTime(r.time),a=e.touch;a.samples=[...(r.history??[]).filter(e=>e.time>a.time&&e.time0?this.owesResolution=!0:(this.owesResolution=!1,this.settle()))}finally{--this.depth,this.depth===0&&(this.currentTime=null)}}flushTimers(e){for(;;){let t=null;for(let n of this.timers)n[1].deadline<=e&&(t==null||n[1].deadlinee!==t);let n=t.state;VK(t).resetToPossible(),e=!0,n!==`possible`&&this.options.onTransition?.(t,n,`possible`)}e&&this.reviewHeld();let t=!1;for(let[e,n]of this.records)n.isLifted&&n.view!==`held`&&n.view!==`endHeld`&&!n.deferredClick&&(this.records.delete(e),t=!0);t&&this.records.size===0&&this.options.onIdle?.()}scheduleRealTimer(){let e=1/0;for(let t of this.timers.values())e=Math.min(e,t.deadline);if(e===this.realTimerDeadline||(this.realTimer!=null&&(this.clock.clearTimeout(this.realTimer),this.realTimer=null),this.realTimerDeadline=e,e===1/0))return;let t=Math.max(0,e-this.clock.now()),n=t=>{this.realTimer=null,this.realTimerDeadline=1/0,t&&this.clock.now()>e?(this.realTimerDeadline=e,this.realTimer=this.clock.setTimeout(()=>n(!1),0)):this.advanceTime(e)};this.realTimer=this.clock.setTimeout(()=>n(!0),t)}}}));function $ie(e){return e<=KK}var GK,KK,qK,JK,YK,XK,ZK,QK,$K,eq,tq,nq,rq,eae=o((()=>{GK=50,KK=1.5,qK=4,JK=.8,YK=1,XK=.25,ZK=64,QK=.15,$K=.5,eq=16,tq=1e3/60,nq=3,rq=class{gesture=0;phase=`finger`;last=-1/0;previous=0;sign=0;count=0;run=0;runStart=0;ratio=1;paces=[];slower=[];onPace=-1/0;paced=0;resumed=!1;joined=0;push(e,t,n,r=!1){let i=Math.abs(t),a=Math.sign(t),o=e-this.last,s=this.count>0&&$ie(o),c=this.frameMs(),l=null,u=null;if(this.count===0)l=this.gesture===0?`first`:`idle`;else if(this.phase===`finger`&&o>=n)l=`idle`;else if(this.phase===`momentum`){let t=Math.round((e-this.onPace)/c),n=o>=GK,d=!s&&i>=2&&i>this.previous*1.3+.5;a!==0&&this.sign!==0&&a!==this.sign?l=`reversal`:n||d?(r&&a===this.sign&&(n||o>=1.5*c)&&(u=this.glideSteps(i,Math.max(1,t),QK)),u??(l=n?`gap`:`jump`)):r&&this.resumed&&!s&&i>YK&&i>this.paced+$K&&(l=`jump`)}if(u==null&&l==null&&s&&r){if(this.phase===`momentum`)u=this.glideSteps(i,ZK);else if(this.run>0){let e=this.glideSteps(i,ZK);e!=null&&e>1&&Math.abs(i-this.glideSum(e))0?Math.max(1,Math.round(i/this.previous)):1),f=u!=null&&u>1,p=f?this.previous*this.ratio**d:i/d;l!=null&&(this.gesture+=1,this.phase=`finger`,this.count=0,this.run=0,this.ratio=1,this.resumed=!1,this.paces=[],this.slower=[]);let m=l===`jump`?this.joined:0,h=l==null&&u!=null&&!s;h&&(this.resumed=!0),this.joined=h?t:s&&l==null&&this.joined!==0?this.joined+t:0,s||(this.paced=i);let g=!1,_=!1;return this.phase===`finger`&&this.count>=3&&i>0&&(_=f?this.ratio<=.995:p<=this.previous*.995&&p>=this.previous*.5,_?(this.run===0&&(this.runStart=this.previous),this.run+=1):this.run=0,this.run>=qK&&p<=this.runStart*JK&&(this.phase=`momentum`,g=!0)),d===1&&this.count>0&&this.previous>0&&p>0&&(this.ratio=Math.min(1,Math.max(.5,p/this.previous))),!s&&l==null&&o=.5*t&&e<=1.5*t;this.paces.length1.5*t?[...this.slower,e]:[],this.slower.length>=nq&&(this.paces=this.slower,this.slower=[]))}frameMs(){if(this.paces.length===0)return eq;let e=[...this.paces].sort((e,t)=>e-t),t=e.length>>1,n=e.length%2==1?e[t]:(e[t-1]+e[t])/2;return Math.min(n,tq)}glideSum(e){let t=this.previous*this.ratio,n=0;for(let r=0;re>0).map(t=>Math.abs(e-Math.max(1,Math.round(e/t))*t)))}glideSteps(e,t,n=XK){if(this.previous<=0||e<=0)return null;let r=this.previous*this.ratio;if(e<=r+YK)return 1;let i=r;for(let a=2;a<=Math.min(t,ZK);a++)if(r*=this.ratio,i+=r,Math.abs(e-i)<=Math.max(YK,i*n))return a;return null}end(){this.count=0}}}));function tae(e){let t=!0,n=!0,r=!0,i=!0;for(let a of e){if(!VK(a).acceptsTouchInput||!a.claimsTouches)continue;let e=a.nativeTouchBehavior;t&&=e.panX,n&&=e.panY,r&&=e.pinchZoom,i&&=e.doubleTapZoom}return{panX:t,panY:n,pinchZoom:r,doubleTapZoom:i}}function nae(e){let t=tae(e);if(t.panX&&t.panY&&t.pinchZoom&&t.doubleTapZoom)return null;if(t.panX&&t.panY&&t.pinchZoom)return`manipulation`;let n=[];return t.panX&&n.push(`pan-x`),t.panY&&n.push(`pan-y`),t.pinchZoom&&n.push(`pinch-zoom`),n.length===0?`none`:n.join(` `)}function iq(e){let t={},n=nae(e);return n!=null&&(t.touchAction=n),t}function aq(e){let t=e.trim().split(/\\s+/).filter(e=>e!==``),n=new Set;t.length===0&&t.push(`auto`);for(let e of t)e===`auto`?(sq.forEach(e=>n.add(e)),n.add(`double-tap-zoom`)):e===`manipulation`?sq.forEach(e=>n.add(e)):e===`pan-x`?n.add(`pan-left`).add(`pan-right`):e===`pan-y`?n.add(`pan-up`).add(`pan-down`):sq.includes(e)&&n.add(e);return n}function oq(e,t){let n=aq(t),r=new Set([...aq(e)].filter(e=>n.has(e)));if(sq.every(e=>r.has(e)))return r.has(`double-tap-zoom`)?`auto`:`manipulation`;let i=[];for(let[e,t,n]of[[`pan-x`,`pan-left`,`pan-right`],[`pan-y`,`pan-up`,`pan-down`]])r.has(t)&&r.has(n)?i.push(e):r.has(t)?i.push(t):r.has(n)&&i.push(n);return r.has(`pinch-zoom`)&&i.push(`pinch-zoom`),i.length===0?`none`:i.join(` `)}var sq,rae=o((()=>{HK(),sq=[`pan-left`,`pan-right`,`pan-up`,`pan-down`,`pinch-zoom`]}));function iae(e){let t=fq.get(e);if(t==null){let n=e.nodeType===9?e:e.ownerDocument,r,i,a=n?.defaultView?.CSSStyleSheet;if(typeof a==`function`&&`replaceSync`in a.prototype&&`adoptedStyleSheets`in e){let t=new a;e.adoptedStyleSheets=[...e.adoptedStyleSheets,t],r=e=>t.replaceSync(e),i=()=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(e=>e!==t)}}else{let t=n?.createElement(`style`),a=e.nodeType===9?n?.head??n?.documentElement:e;t!=null&&a!=null&&(a.append(t),r=e=>{t.textContent=e},i=()=>t.remove())}if(r==null||i==null)return null;t={values:new Set,marked:new Set,css:``,write:r,remove:i},fq.set(e,t)}return t}function aae(e,t){let n=e.getRootNode(),r=e.isConnected&&(n.nodeType===9||`host`in n)?iae(n):null;if(r==null)return!1;r.values.has(t)||(r.values.add(t),r.css+=`:where([${uq}=\"${t}\"]){touch-action:${t}}`,r.write(`@layer ${dq}{${r.css}}`)),e.getAttribute(`data-astryx-touch-action`)!==t&&e.setAttribute(uq,t);let i=pq.get(e);return i!=null&&i!==n&&cq(e,i),r.marked.add(e),pq.set(e,n),!0}function cq(e,t){let n=fq.get(t);n!=null&&(n.marked.delete(e),n.marked.size===0&&(n.remove(),fq.delete(t)))}function lq(e){e.removeAttribute(uq);let t=pq.get(e);t!=null&&(pq.delete(e),cq(e,t))}var uq,dq,fq,pq,oae=o((()=>{uq=`data-astryx-touch-action`,dq=`reset`,fq=new WeakMap,pq=new WeakMap}));function sae(e){return Mq.has(e.trim().toLowerCase())}function cae(e,t){if(e!=null&&typeof e.requestAnimationFrame==`function`){let n=e.requestAnimationFrame(t);return()=>e.cancelAnimationFrame(n)}let n=setTimeout(t,0);return()=>clearTimeout(n)}function mq(e){return e.claimsTouches&&VK(e).acceptsTouchInput&&VK(e).family!==`tap`}function lae(e){let t=e.allowedPointerTypes;return t==null||t.has(`touch`)||t.has(`pen`)}function uae(e){return VK(e).family===`pan`}function hq(e){return e.kind===`screenEdgePan`?e:null}function dae(e){return Dq(e.changedTouches).some(e=>e.touchType===`stylus`)}function gq(e,t){return e.target===t.target&&Math.abs(e.x-t.x)<=1&&Math.abs(e.y-t.y)<=1}function _q(e){return e===`touch`||e===`mouse`||e===`pen`}function vq(e,t=e.target){return t===e.target?e.composedPath()[0]??t:t}function yq(e,t,n){return e===`pinch`||t!==`continuous`?Iq:n?Rq:Lq}function bq(e,t){return Math.sign(e)*Math.max(0,Math.abs(e)-Math.abs(t)/2)}function xq(e,t,n){e.readSpan<=0||(e.speedX=Sq(e.speedX,(t-e.readFromX)/e.readSpan,e.priorSpeedX),e.speedY=Sq(e.speedY,(n-e.readFromY)/e.readSpan,e.priorSpeedY))}function Sq(e,t,n){let r=Math.sign(t)*Math.min(Math.abs(t),Math.abs(n));return r*e>=0&&Math.abs(r)>Math.abs(e)?r:e}function Cq(e,t,n){return n===0||(t-e)*Math.sign(n)>0?t:e}function wq(e,t){return e.deltaMode===1?{dx:e.deltaX*zq,dy:e.deltaY*zq}:e.deltaMode===2?{dx:e.deltaX*(t?.innerWidth??0),dy:e.deltaY*(t?.innerHeight??0)}:{dx:e.deltaX,dy:e.deltaY}}function Tq(e){if(e.deltaMode!==0||e.shiftKey)return`discrete`;let t=e=>{let t=Math.abs(e-Math.round(e));return t>0&&t<.01};if(t(e.deltaX)||t(e.deltaY))return`discrete`;let n=e;if(typeof n.wheelDeltaY!=`number`||typeof n.wheelDeltaX!=`number`)return`discrete`;let r=(e,t)=>e===0?t===0:Math.abs(Math.abs(t)-3*Math.abs(e))<=Math.max(1.5,.05*Math.abs(e)*3);if(!r(e.deltaY,n.wheelDeltaY)||!r(e.deltaX,n.wheelDeltaX))return`discrete`;let i=(e,t)=>t!==0&&t%120==0&&e%40==0;return i(e.deltaY,n.wheelDeltaY)||i(e.deltaX,n.wheelDeltaX)?`discrete`:`continuous`}function fae(e){return e.scrollEdge===!0}function pae(e,t,n){return(VK(e).classify?.({x:t,y:n})??`begin`)===`begin`}function Eq(e,t){let n=e.timeStamp;return n>0xe8d4a51000&&t!=null&&t.timeOrigin>0?n-t.timeOrigin:n}function mae(e){let t=e.defaultView;return t==null||t===globalThis?UK:{...UK,now:()=>Ov(e)?.now()??UK.now()}}function Dq(e){return e==null?[]:Array.from(e)}function Oq(e){for(let t of e.values())if(t!==`allow`)return!0;return!1}function kq(e,t){return typeof e.getCoalescedEvents==`function`?e.getCoalescedEvents().slice(0,-1).map(e=>({x:e.clientX,y:e.clientY,time:Eq(e,t)})):[]}function Aq(e){let t=Dk.get(e);return t??(t=new Vq(e),Dk.set(e,t)),t}var jq,Mq,Nq,Pq,Fq,Iq,Lq,Rq,zq,Bq,Vq,Hq=o((()=>{Rk(),MP(),B_(),Qie(),Kk(),Td(),os(),eae(),AA(),rae(),oae(),HK(),Xu(),jv(),Pu(),Gv(),Zd(),ds(),Ok(),od(),jq={touchAction:`touch-action`,WebkitTouchCallout:`-webkit-touch-callout`,WebkitUserSelect:`-webkit-user-select`,userSelect:`user-select`},Mq=new Set([`initial`,`inherit`,`unset`,`revert`,`revert-layer`]),Nq={capture:!0,passive:!0},Pq=500,Fq=8,Iq=100,Lq=180,Rq=220,zq=40,Bq=100,Vq=class{registry=new Map;stopWatchingMovers=null;stopBlockingForMovers=null;pendingCallerReads=new Set;isCallerReadScheduled=!1;cancelCallerRead=null;lockedBy=new Map;pressSelections=new Map;selectingContacts=new Set;dragHolds=new Set;claimHolds=new Map;retargeted=new Map;touchIds=new Map;cancelledFingers=new Set;cancelledPointers=new Map;touchTargets=new Map;watched=new Map;blockingFingers=new Set;claimingFingers=new Set;processed=new WeakSet;pointerIds=new Map;pointerKinds=new Map;layoutWatched=new Set;layoutObserver=null;lastPenLift=null;driftedPens=new Set;judgedUncancelable=new Set;fingerPointers=new Map;pendingPointers=new Map;liftStamps=new Map;claimedLifts=[];claimedLiftTimer=null;get timing(){return Ov(this.doc)}unpairedTouches=new Map;lastFed=new Map;pointerFed=new Set;lastTouch=null;ownedScrolls=new Map;ownScrollCalls=0;ownScrollFrames=new Map;lastScroll=null;touchGates=new Set;retainers=0;fingerListeners=new Set;fingerTargets=[];nextId=1;wheel=null;stopWheelLatch=null;segmenter=new rq;wheelSegment=null;wheelsSeen=new WeakSet;isInstalled=!1;isCoarse=!1;stopWatchingPointer=null;unsubscribers=[];armedElements=new Map;isArmedPress=!1;isClaimingInstalled=!1;claimingUnsubscribers=[];usesTouchEvents=!0;constructor(e,t={}){this.doc=e,this.inputMode=t.inputMode??`auto`,this.presentedHitTesting=t.presentedHitTesting??`auto`;let n={viewportSize:()=>({width:e.defaultView?.innerWidth??0,height:e.defaultView?.innerHeight??0}),isRtl:e=>Qu(e)&&Lk(e),viewRect:e=>{if(!Qu(e))return null;let{left:t,top:n,width:r,height:i}=e.getBoundingClientRect();return{left:t,top:n,width:r,height:i}}};this.clock=t.clock??mae(e),this.arena=new WK({clock:this.clock,environment:n,onDeferredClick:(e,t)=>this.replayClick(e,t),onIdle:()=>this.releaseArmedPress(),onTransition:t.onTransition,onClaim:(e,t)=>this.lockClaimedDrags(e,t),onRelease:e=>this.releaseClaimedDrags(e),refusesClaim:e=>this.selectingContacts.has(e.id)&&(e.x!==e.startX||e.y!==e.startY)});let r=e.defaultView;this.followsPointer=t.isPrimaryPointerCoarse==null,this.isPrimaryPointerCoarse=t.isPrimaryPointerCoarse??(()=>ss(r))}attach(e,t,n={}){let r=this.registrationFor(e);n.manageStyle===!1?(r.unstyled.add(t),r.recognizers.length===0&&(r.manageStyle=!1)):r.manageStyle=!0;let i=n.actionGroup===!0;i&&(r.actionGroupAsks+=1,r.actionGroup=!0),t.view=e,r.recognizers.push(t),t.onEnabledChange=()=>{this.refresh(e,r),this.syncListeners()};let a=hq(t);return a!=null&&(a.onTouchBehaviorChange=()=>{this.refresh(e,r),this.syncLayoutWatch()}),this.refresh(e,r),this.syncListeners(),()=>{t.onEnabledChange=null,i&&(--r.actionGroupAsks,r.actionGroup=r.actionGroupAsks>0),a!=null&&(a.onTouchBehaviorChange=null);let n=r.recognizers.indexOf(t);n>=0&&r.recognizers.splice(n,1),r.unstyled.delete(t),(t.state!==`possible`||t.isInvolved())&&t.cancel();let o=this.wheel;o!=null&&o.takers.includes(t)&&!this.wheelHasTaker(o)&&this.endWheel(o.last),this.refresh(e,r),this.syncListeners(),this.cleanup(e,r)}}syncLayoutWatch(){let e=new Set,t=!1;for(let[n,r]of this.registry)for(let i of r.recognizers){let r=hq(i);r!=null&&r.isEnabled&&(e.add(n),t||=r.watchesViewport)}t&&e.add(this.doc.documentElement);for(let t of[...this.layoutWatched])e.has(t)||(this.layoutObserver?.unobserve(t),this.layoutWatched.delete(t));if(e.size===0){this.layoutObserver?.disconnect(),this.layoutObserver=null;return}let n=this.doc.defaultView;if(this.layoutObserver==null&&n!=null&&typeof n.ResizeObserver==`function`){this.layoutObserver=new n.ResizeObserver(this.onLayoutChange);for(let e of this.layoutWatched)this.layoutObserver.observe(e)}for(let t of e)this.layoutWatched.has(t)||(this.layoutObserver?.observe(t),this.layoutWatched.add(t))}onLayoutChange=()=>{for(let e of this.registry.values())for(let t of e.recognizers){let e=hq(t);e!=null&&e.isEnabled&&e.layoutChanged()}};attachConsumer(e,t,n={}){let r=this.registrationFor(e);return r.consumer=t,this.refresh(e,r),this.syncListeners(),()=>{r.consumer===t&&(r.consumer=null),this.refresh(e,r),this.syncListeners(),this.cleanup(e,r)}}get document(){return this.doc}isTouchClaimed(e){let t=this.touchIds.get(e);return t!=null&&this.arena.isClaimed(t)}presentedRect(e){let t=e.getBoundingClientRect();if(!this.hitTestsLayout())return t;let{x:n,y:r}=CP(e);return n===0&&r===0?t:{left:t.left+n,top:t.top+r,right:t.right+n,bottom:t.bottom+r}}hitTestsLayout(){return this.presentedHitTesting===`always`||this.presentedHitTesting===`auto`&&rs(this.doc.defaultView)}presentedTarget(e,t,n,r){if(!this.hitTestsLayout())return e;let i=SP().filter(e=>{if(!e.isConnected||e.ownerDocument!==this.doc)return!1;let{x:t,y:n}=CP(e);return Math.abs(t)>=.5||Math.abs(n)>=.5});if(i.length===0)return e;EP(i);let a=this.drawnAt(t,n),o=(this.doc.defaultView?.performance.now()??r)-r;if(o>0&&o<1e3){let e=e=>{let t=CP(e,r);return Math.abs(t.x)>=.5||Math.abs(t.y)>=.5?t:null},o=a,s=o==null?void 0:i.find(e=>xd(e,o)),c=!1;for(let r of i){let i=e(r);if(i==null)continue;let o=this.drawnAt(t-i.x,n-i.y);if(o!=null&&xd(r,o)){a=o,c=!0;break}}!c&&s!=null&&e(s)!=null&&(a=this.drawnBeneath(t,n,i))}if(a==null||a===e)return e;let s=a,c=Zu(e)?e:null;return i.some(e=>xd(e,s)||c!=null&&xd(e,c))?s:e}drawnBeneath(e,t,n){return typeof this.doc.elementsFromPoint==`function`?this.doc.elementsFromPoint(e,t).find(e=>!n.some(t=>xd(t,e)))??null:null}drawnAt(e,t){let n=this.doc.elementFromPoint(e,t);for(;n?.shadowRoot!=null;){let r=n.shadowRoot.elementFromPoint(e,t);if(r==null||r===n)break;n=r}return n}browserTook(e,t){for(let t of e)this.retargeted.delete(t);this.arena.browserTookOver(e,t)}clickRetargeted(e,t,n,r){let i=this.doc.defaultView;Qu(e)&&e.isConnected&&i!=null&&(Vu(this.doc,{takesLateMouse:r===`touch`}),td(e)&&e.matches(`input, textarea, select, [contenteditable]`)&&e.focus(),Wu(()=>e.dispatchEvent(new i.MouseEvent(`click`,{bubbles:!0,cancelable:!0,composed:!0,detail:1,clientX:t,clientY:n}))))}update(e){this.followsPointer||(this.isCoarse=this.isPrimaryPointerCoarse());let t=this.registry.get(e);t!=null&&this.refresh(e,t),this.syncListeners()}pointerIdOf(e){let t=typeof e==`number`?e:e.id;for(let[e,n]of this.fingerPointers)if(n===t)return e;for(let[e,n]of this.pointerIds)if(n===t)return e;return null}isScrollBraking(e,t=R_.scrollBrake.value){let n=this.lastScroll;return n!=null&&this.arena.now()-n.time{e&&(e=!1,--this.retainers,this.uninstallIfIdle())}}onFingersChange(e){return this.fingerListeners.add(e),()=>{this.fingerListeners.delete(e)}}isFingerDownIn(e){return this.fingerTargets.some(t=>xd(e,t))}isPenDownIn(e){return this.arena.touches.some(t=>t.pointerType===`pen`&&t.phase!==`ended`&&t.phase!==`cancelled`&&t.target instanceof Node&&xd(e,t.target))}lastPenLiftIn(e){let t=this.lastPenLift;return t!=null&&t.target instanceof Node&&xd(e,t.target)?t.time:-1/0}registrationFor(e){this.watchPointer();let t=this.registry.get(e);return t??(t={recognizers:[],consumer:null,hasTouchEndListener:!1,hasTouchMoveListener:!1,hasWheelListener:!1,savedStyle:new Map,authorTouchAction:null,manageStyle:!0,unstyled:new Set,actionGroup:!1,actionGroupAsks:0},this.registry.set(e,t)),t}needsInput(){return this.registry.size>0||this.retainers>0}refresh(e,t){t.manageStyle&&td(e)&&this.applyStyle(e,t),this.syncTouchMoveListener(e,t)}syncTouchMoveListener(e,t){let n=this.readsFingersFromPointerEvents()&&(this.isCoarse||this.sendsTouchEvents())&&t.recognizers.some(e=>e.isEnabled&&VK(e).acceptsTouchInput);n&&!t.hasTouchEndListener?(e.addEventListener(`touchend`,this.onClaimedTouchEnd,{passive:!1}),t.hasTouchEndListener=!0):!n&&t.hasTouchEndListener&&(e.removeEventListener(`touchend`,this.onClaimedTouchEnd),t.hasTouchEndListener=!1);let r=t.recognizers.some(e=>e.isEnabled&&mq(e))||t.consumer?.keepsTouch!=null&&t.consumer.isEnabled?.()!==!1&&(this.isCoarse||this.isArmedPress);r&&!t.hasTouchMoveListener?(e.addEventListener(`touchmove`,this.onBlockingTouchMove,{passive:!1}),t.hasTouchMoveListener=!0):!r&&t.hasTouchMoveListener&&(e.removeEventListener(`touchmove`,this.onBlockingTouchMove),t.hasTouchMoveListener=!1);let i=t.recognizers.some(e=>e.isEnabled&&e.claimsTouches&&e.allowedScrollTypes.size>0&&(VK(e).family===`pan`||VK(e).family===`pinch`));i&&!t.hasWheelListener?(e.addEventListener(`wheel`,this.onWheel,{passive:!1}),t.hasWheelListener=!0):!i&&t.hasWheelListener&&(e.removeEventListener(`wheel`,this.onWheel),t.hasWheelListener=!1)}applyStyle(e,t){let n=t.recognizers.filter(e=>e.isEnabled&&!t.unstyled.has(e)),r=n.length>0?iq(n):{};r.touchAction==null&&t.consumer?.keepsTouch!=null&&(r={...r,touchAction:`manipulation`});for(let n of Object.keys(jq)){let i=jq[n],a=r[n];if(n===`touchAction`&&(a=this.touchActionToWrite(e,t,a)),a!=null)t.savedStyle.has(i)||t.savedStyle.set(i,e.style.getPropertyValue(i)),e.style.setProperty(i,a);else if(t.savedStyle.has(i)){let n=t.savedStyle.get(i)??``;t.savedStyle.delete(i),n===``?e.style.removeProperty(i):e.style.setProperty(i,n)}}}touchActionToWrite(e,t,n){if(n==null){lq(e),t.authorTouchAction=null;return}let r=jq.touchAction,i=t.savedStyle.has(r)?t.savedStyle.get(r)??``:e.style.getPropertyValue(r);if(i!==``&&!sae(i))return lq(e),oq(n,i);if(!aae(e,n)){this.readCallerTouchActionInNextFrame(e);return}let a=t.authorTouchAction;if(a==null||a.derived!==n){this.readCallerTouchActionInNextFrame(e);return}if(a.author==null)return;let o=oq(n,a.author);return o===a.author?void 0:o}readCallerTouchActionInNextFrame(e){this.pendingCallerReads.add(e),this.isCallerReadScheduled||(this.isCallerReadScheduled=!0,this.cancelCallerRead=cae(this.doc.defaultView,()=>{this.isCallerReadScheduled=!1,this.cancelCallerRead=null;let e=[];for(let t of this.pendingCallerReads){let n=this.registry.get(t);n!=null&&e.push([t,n])}this.pendingCallerReads.clear();let t=this.doc.defaultView;for(let[n,r]of e){let e=n.getAttribute(uq);if(e==null||t==null)continue;let i=t.getComputedStyle(n).touchAction||`auto`;r.authorTouchAction={derived:e,author:i===e?null:i}}for(let[t,n]of e)this.applyStyle(t,n)}))}cleanup(e,t){t.recognizers.length>0||t.consumer!=null?this.syncListeners():(t.hasTouchEndListener&&=(e.removeEventListener(`touchend`,this.onClaimedTouchEnd),!1),t.hasTouchMoveListener&&e.removeEventListener(`touchmove`,this.onBlockingTouchMove),t.hasWheelListener&&e.removeEventListener(`wheel`,this.onWheel),this.registry.delete(e),this.uninstallIfIdle())}syncListeners(){this.syncLayoutWatch(),this.syncArmed(),this.shouldListen()?(this.install(),this.syncClaimingListeners()):this.uninstall(),this.syncMoverBlocking()}syncMoverBlocking(){let e=this.isInstalled&&this.hitTestsLayout();e&&this.stopWatchingMovers==null?this.stopWatchingMovers=bP(()=>this.syncMoverBlocking()):!e&&this.stopWatchingMovers!=null&&(this.stopWatchingMovers(),this.stopWatchingMovers=null);let t=e&&SP().some(e=>this.hasClaimingRecognizerAround(e));if(t===(this.stopBlockingForMovers!=null))return;let n=this.doc.defaultView;t&&n!=null?this.stopBlockingForMovers=bu(n,`touchmove`,this.onBlockingTouchMove,{cancels:!0}):t||(this.stopBlockingForMovers?.(),this.stopBlockingForMovers=null)}hasClaimingRecognizerAround(e){if(!e.isConnected||e.ownerDocument!==this.doc)return!1;for(let[t,n]of this.registry)if((xd(e,t)||xd(t,e))&&n.recognizers.some(e=>e.isEnabled&&mq(e)))return!0;return!1}syncArmed(){let e=new Set;if(!this.isCoarse)for(let[t,n]of this.registry){let r=n.consumer;(n.recognizers.some(e=>e.isEnabled&&(e.allowedPointerTypes==null||e.allowedPointerTypes.size>0))||r!=null&&r.isEnabled?.()!==!1)&&e.add(t)}for(let[t,n]of this.armedElements)e.has(t)||(n(),this.armedElements.delete(t));for(let t of e)this.armedElements.has(t)||(t.addEventListener(`pointerdown`,this.onArmedPress,Nq),this.armedElements.set(t,()=>{t.removeEventListener(`pointerdown`,this.onArmedPress,Nq)}));e.size===0&&this.isArmedPress&&(this.isArmedPress=!1,this.syncKeptPresses())}onArmedPress=e=>{let t=e;this.isInstalled||!_q(t.pointerType)||t.pointerType!==`touch`&&!Wv(t)||(this.isArmedPress=!0,this.syncKeptPresses(),this.install(),t.pointerType!==`mouse`&&this.syncClaimingListeners(),this.onPointerDown(t))};syncKeptPresses(){for(let[e,t]of this.registry)t.consumer?.keepsTouch!=null&&this.syncTouchMoveListener(e,t)}dropCancelledLifts(e){let t=e.pointerType===`touch`&&e.isPrimary===!1;for(let[n,r]of[...this.cancelledPointers])n!==e.pointerId&&t&&r===`touch`||this.cancelledPointers.delete(n)}releaseArmedPress(){this.isArmedPress&&queueMicrotask(()=>{this.isArmedPress&&this.arena.touches.length===0&&this.cancelledPointers.size===0&&(this.isArmedPress=!1,this.syncKeptPresses(),this.syncListeners())})}uninstallIfIdle(){this.syncListeners(),this.registry.size===0&&this.retainers===0&&(this.uninstall(),this.stopWatchingPointer?.(),this.stopWatchingPointer=null,this.releaseWhenIdle())}releaseWhenIdle(){queueMicrotask(()=>{if(!(this.registry.size>0||this.retainers>0)){this.cancelledFingers.clear(),this.cancelledPointers.clear(),this.clearClaimedLifts(),this.cancelCallerRead?.(),this.cancelCallerRead=null,this.isCallerReadScheduled=!1,this.pendingCallerReads.clear();for(let e of this.ownScrollFrames.values())e();this.ownScrollFrames.clear(),this.ownedScrolls.clear();for(let e of[...this.dragHolds])e({isCancel:!0});this.pressSelections.clear(),this.selectingContacts.clear()}})}watchPointer(){if(this.stopWatchingPointer!=null)return;let e=this.doc.defaultView;this.isCoarse=this.isPrimaryPointerCoarse(),this.stopWatchingPointer=this.followsPointer?us(e,e=>this.pointerChanged(e)):()=>{}}pointerChanged(e){if(e!==this.isCoarse){this.isCoarse=e,e||this.cancelEverything(this.arena.now());for(let[e,t]of this.registry)this.refresh(e,t);this.syncListeners()}}hasClaimer(){for(let e of this.registry.values()){let t=e.consumer;if(t!=null&&t.isEnabled?.()!==!1||e.recognizers.some(e=>e.isEnabled&&e.claimsTouches&&lae(e)))return!0}return!1}syncClaimingListeners(){if(!this.isInstalled)return;let e=this.hasClaimer();if(e===this.isClaimingInstalled)return;let t=this.doc.defaultView;for(let e of this.claimingUnsubscribers.splice(0))e();t!=null&&(this.inputMode===`auto`&&this.claimingUnsubscribers.push(bu(t,`touchend`,this.onTouchEnd,{cancels:e})),e&&this.claimingUnsubscribers.push(bu(t,`contextmenu`,this.onContextMenu,{cancels:!0}))),this.isClaimingInstalled=e}shouldListen(){if(!this.needsInput())return!1;if(this.isCoarse&&this.retainers>0)return!0;let e=!1;for(let t of this.registry.values()){let n=t.consumer;if(n!=null&&n.isEnabled?.()!==!1||t.recognizers.some(e=>e.isEnabled)){e=!0;break}}return e&&(this.isCoarse||this.isArmedPress)}install(){if(this.watchPointer(),!this.needsInput()||this.isInstalled)return;let e=this.doc.defaultView;this.isInstalled=!0,this.usesTouchEvents=this.inputMode===`auto`&&e!=null&&`ontouchstart`in e,e!=null&&(this.unsubscribers=[...this.inputMode===`auto`?[bu(e,`touchstart`,this.onTouchStart),bu(e,`touchmove`,this.onTouchMove),bu(e,`touchcancel`,this.onTouchCancel)]:[],bu(e,`pointerdown`,this.onPointerDown),bu(e,`pointermove`,this.onPointerMove),bu(e,`pointerup`,this.onPointerUp),bu(e,`pointercancel`,this.onPointerCancel),bu(e,`scroll`,this.onScroll),bu(e,`visibilitychange`,this.onVisibilityChange),bu(e,`blur`,e=>{Zu(e.target)||this.onBlur()})],this.isClaimingInstalled=!1,this.claimingUnsubscribers=this.inputMode===`auto`?[bu(e,`touchend`,this.onTouchEnd)]:[])}uninstall(){if(this.isInstalled){this.isInstalled=!1,this.fingerTargets=[],this.isClaimingInstalled=!1;for(let e of[...this.unsubscribers.splice(0),...this.claimingUnsubscribers.splice(0)])e();this.cancelEverything(this.arena.now()),this.lastTouch=null,this.lastScroll=null}}participantsAt(e,t){let n=[],r=null,i=null;if(Zu(e)&&(Wte(e)||[...this.touchGates].some(t=>t(e))))return{recognizers:n,consumer:r,consumerElement:i};let a=t==null;for(let o=Zu(e)?e:null;o!=null;o=bd(o)){if(!Qu(o))continue;let e=this.registry.get(o);e!=null&&n.push(...e.recognizers),a||t==null||e?.consumer!=null&&(r=e.consumer,i=o,a=!0)}return{recognizers:n,consumer:r,consumerElement:i}}lockSelection(e,t,n,r,i){let a=(e,t)=>{let n=this.registry.get(e);return n?.manageStyle!==!1&&(t==null||n?.unstyled.has(t)!==!0)},o=new Map;for(let e of t){let t=e.selectionLock;if(t!=null&&Qu(e.view)&&a(e.view,e)){let n=o.get(t)??new Set;n.add(e.view),o.set(t,n)}}let s=r?.selectionLock;if(s!=null&&i!=null&&a(i)){let e=o.get(s)??new Set;e.add(i),o.set(s,e)}if(o.size>0){let t=[...o].map(([e,t])=>e(t,n));this.lockedBy.set(e,()=>{for(let e of t)e()})}}onWheel=e=>{let t=e;if(this.wheelsSeen.has(t))return;this.wheelsSeen.add(t);let n=Eq(t,this.timing),r=t.ctrlKey?`pinch`:`pan`,i=this.wheel;if(i!=null&&(i.kind!==r||n-i.last>=i.endMs)&&(this.endWheel(n),i=null),i!=null&&i.ids.length>0&&i.follow?.lifted!==!0&&!this.wheelHasTaker(i)){this.endWheel(i.last);let e=wq(t,this.doc.defaultView);i={kind:r,scrollType:Tq(t),ids:[],x:t.clientX,y:t.clientY,span:Bq,last:n,endMs:yq(r,Tq(t),Math.abs(e.dx)>Math.abs(e.dy)),timer:null,takers:[]},this.wheel=i}let{dx:a,dy:o}=wq(t,this.doc.defaultView),s=Math.abs(a)>Math.abs(o),c=null;if(r===`pan`?c=this.segmenter.push(n,s?a:o,s?Rq:Lq,Tq(t)===`continuous`):this.segmenter.end(),this.wheelSegment=c,c?.boundary!=null&&i!=null&&(this.endWheel(n),i=null),c!=null&&c.carried!==0&&(s?a+=c.carried:o+=c.carried),i??(i=this.beginWheel(t,r,a,o,n),this.wheel=i,i.ids.length>0&&this.latchWheel()),i.last=n,i.timer!=null&&this.clock.clearTimeout(i.timer),i.timer=this.clock.setTimeout(()=>{this.segmenter.end(),this.endWheel()},i.endMs),i.ids.length!==0){if(t.preventDefault(),i.kind===`pan`&&i.follow){let e=i.follow;if(e.lifted)return;if(this.wheelSegment?.liftNow===!0){this.followProvisionally(i,e,n),e.lifted=!0,this.arena.ended([{id:i.ids[0],x:i.x,y:i.y,time:n}]);return}if(this.wheelSegment?.decaying===!0){if(e.heldX+=a,e.heldY+=o,this.wheelSegment.bunched){let t=n-e.lastMove,r=e.speedX,i=e.speedY;xq(e,e.trueX-e.heldX,e.trueY-e.heldY),e.baseX+=(r-e.speedX)*t,e.baseY+=(i-e.speedY)*t}else e.readSpan=0;this.followProvisionally(i,e,n);return}let t=e.trueX-e.heldX,r=e.trueY-e.heldY,s=bq(i.x-t,a),c=bq(i.y-r,o),l=t-a,u=r-o,d=n-e.lastMove;this.wheelSegment?.bunched===!0?xq(e,l,u):d>0&&(e.priorSpeedX=e.speedX,e.priorSpeedY=e.speedY,e.readFromX=e.trueX,e.readFromY=e.trueY,e.readSpan=d,e.speedX=(l-e.trueX)/d,e.speedY=(u-e.trueY)/d),e.trueX=l,e.trueY=u,e.heldX=0,e.heldY=0,e.lastMove=n,i.x=l+s,i.y=u+c,e.baseX=i.x,e.baseY=i.y,this.arena.moved([{id:i.ids[0],x:i.x,y:i.y,time:n}])}else i.kind===`pan`?(i.x-=a,i.y-=o,this.arena.moved([{id:i.ids[0],x:i.x,y:i.y,time:n}])):(i.span*=Math.exp(-o/100),this.arena.moved(this.pinchContacts(i,n)))}};followProvisionally(e,t,n){let r=Math.max(0,n-t.lastMove),i=t.baseX+t.speedX*r,a=t.baseY+t.speedY*r;(i!==e.x||a!==e.y)&&(e.x=i,e.y=a,this.arena.moved([{id:e.ids[0],x:i,y:a,time:n}]))}beginWheel(e,t,n,r,i){let a=Tq(e),o=Math.abs(n)>Math.abs(r),s={kind:t,scrollType:a,ids:[],x:e.clientX,y:e.clientY,span:Bq,last:i,endMs:yq(t,a,o),timer:null,takers:[]};if(this.arena.touches.length>0||n===0&&r===0||e.defaultPrevented||!e.cancelable)return s;let c=vq(e),l=Wk(c,{readsTouchAction:!1}),u=[];for(let e=Zu(c)?c:null;e!=null;e=bd(e))if(Qu(e))for(let i of this.registry.get(e)?.recognizers??[])i.isEnabled&&i.claimsTouches&&i.allowedScrollTypes.has(a)&&VK(i).family===t&&(t!==`pan`||a===`continuous`)&&(t===`pan`&&(!pae(i,-n,-r)||this.scrollerTakes(c,e,n,r,o,this.keepsAxis(e,o))||fae(i)&&l.canScroll(-n,-r))||u.push(i));if(u.length===0)return s;let d={pointerType:`mouse`,target:c,scroll:l,scrollType:a,recognizers:u,consumer:null},f=t===`pan`?[this.nextId++]:[this.nextId++,this.nextId++],p={...s,ids:f,takers:u};return t===`pan`&&a===`continuous`&&(p.follow={lifted:!1,heldX:0,heldY:0,lastMove:i,trueX:s.x,trueY:s.y,baseX:s.x,baseY:s.y,speedX:0,speedY:0,readFromX:s.x,readFromY:s.y,readSpan:0,priorSpeedX:0,priorSpeedY:0}),this.arena.began(t===`pan`?[{...d,id:f[0],x:e.clientX,y:e.clientY,time:i}]:this.pinchContacts(p,i).map(e=>({...d,...e}))),f.every(e=>this.arena.participantsOf(e).length===0)?(this.arena.cancelled(f,i),s):p}scrollerTakes(e,t,n,r,i,a){for(let o=Zu(e)?e:null;o!=null&&!(o===t&&a);o=bd(o)){if(Qu(o)&&Uk(o,i?-n:0,i?0:-r))return!0;if(o===t)break}return!1}keepsAxis(e,t){let n=this.registry.get(e);if(n==null||!n.manageStyle)return!1;let r=n.recognizers.filter(e=>e.isEnabled&&!n.unstyled.has(e)),i=r.length>0?iq(r).touchAction:void 0;if(i==null)return!1;let a=V_(i);return t?!a.x:!a.y}pinchContacts(e,t){return[{id:e.ids[0],x:e.x-e.span/2,y:e.y,time:t},{id:e.ids[1],x:e.x+e.span/2,y:e.y,time:t}]}wheelHasTaker(e){return e.takers.some(e=>{let{state:t}=e;return e.isEnabled&&(t===`began`||t===`changed`||t===`possible`&&e.isInvolved())})}latchWheel(){let e=this.doc.defaultView;if(this.stopWheelLatch==null&&e!=null){let t=()=>{let e=this.dropDrivenWheel();e.length>0&&this.arena.cancelled(e,this.arena.now())},n=[bu(e,`wheel`,this.onWheel,{cancels:!0}),bu(e,`blur`,e=>{Zu(e.target)||t()}),bu(e,`visibilitychange`,()=>{this.doc.visibilityState===`hidden`&&t()})];this.stopWheelLatch=()=>{for(let e of n)e()}}}lockClaimedDrags(e,t){for(let n of e){if(this.claimHolds.has(n))continue;let e=this.arena.touches.find(e=>e.id===n);if(e==null||e.pointerType===`touch`||e.scrollType!=null||e.phase===`ended`||e.phase===`cancelled`)continue;let r=new Set;for(let e of this.arena.participantsOf(n))(e.state===`began`||e.state===`changed`)&&e.view?.nodeType===1&&r.add(e.view);if(t.view?.nodeType===1&&r.add(t.view),r.size===0)continue;let i=Od(r,this.doc.defaultView,this.pressSelections.get(n)??[],()=>{this.dragHolds.delete(i)});this.dragHolds.add(i),this.lockedBy.has(n)||this.lockedBy.set(n,i),this.claimHolds.set(n,i)}}releaseClaimedDrags(e){for(let t of e){let e=this.claimHolds.get(t);e!=null&&(this.claimHolds.delete(t),this.lockedBy.get(t)===e&&this.lockedBy.delete(t),e({isCancel:!0}))}}dropDrivenWheel(){let e=this.wheel;if(e==null||e.kind!==`pan`||e.ids.length===0||e.follow?.lifted===!0)return[];let t={...e,ids:[],takers:[]};return delete t.follow,this.wheel=t,this.stopWheelLatch?.(),this.stopWheelLatch=null,e.ids}endWheel(e){let t=this.wheel;if(this.stopWheelLatch?.(),this.stopWheelLatch=null,t==null||(this.wheel=null,t.timer!=null&&this.clock.clearTimeout(t.timer),t.ids.length===0||t.follow?.lifted))return;if(t.follow!=null){let e=t.follow,n=Cq(t.x,e.trueX-e.heldX,e.speedX),r=Cq(t.y,e.trueY-e.heldY,e.speedY);(n!==t.x||r!==t.y)&&(t.x=n,t.y=r,this.arena.moved([{id:t.ids[0],x:n,y:r,time:t.last}]))}let n=t.last+t.endMs,r=e==null?n:Math.max(t.last,Math.min(n,e));this.arena.ended(t.kind===`pan`?[{id:t.ids[0],x:t.x,y:t.y,time:r}]:this.pinchContacts(t,r))}noteSelectingPress(e,t,n,r){!this.lockedBy.has(e)&&Ad(this.doc,t,n,r)&&this.selectingContacts.add(e)}unlockSelection(e,t=!1){let n=this.lockedBy.get(e);n?.({isCancel:t});let r=this.claimHolds.get(e);r!=null&&r!==n&&r({isCancel:t}),this.lockedBy.delete(e),this.claimHolds.delete(e),this.pressSelections.delete(e),this.selectingContacts.delete(e)}addTouchGate(e){return this.touchGates.add(e),()=>{this.touchGates.delete(e)}}keepsPressBetween(e,t){for(let n=e instanceof Node?e:null;n!=null;n=bd(n)){if(!(n instanceof Element))continue;let e=this.registry.get(n)?.consumer;if(e?.keepsTouch!=null&&e.isEnabled?.()!==!1)return!0;if(n===t)break}return!1}fingersDown(){return this.fingerTargets.length}takeEvent(e){return!this.processed.has(e)&&(this.processed.add(e),!0)}onTouchStart=e=>{if(this.endWheel(Eq(e,this.timing)),this.noteFingersDown(e),!this.usesTouchEvents||!this.takeEvent(e))return;this.fingerTargets.length>1&&this.failUnclaimedLoneFingerPans();let t=Eq(e,this.timing),n=[],r=[],i=[],a=[];for(let o of Dq(e.changedTouches)){if(o.touchType===`stylus`)continue;this.cancelledFingers.delete(o.identifier);let s=this.forgetFinger(o.identifier);s!=null&&i.push(s);let c=Zu(o.target)?vq(e,o.target):vq(e),l=this.presentedTarget(c,o.clientX,o.clientY,e.timeStamp),{recognizers:u,consumer:d,consumerElement:f}=this.participantsAt(l,`touch`);if(u.length===0&&d==null){r.push({id:this.nextId++,x:o.clientX,y:o.clientY,time:t,pointerType:`touch`,target:l});continue}let p=this.nextId++;this.touchIds.set(o.identifier,p),Ed(`touch`)&&a.push({id:p,target:l,consumerElement:f}),this.watchTarget(o.identifier,c,u.some(e=>e.isEnabled&&mq(e))||d?.keepsTouch!=null&&d.isEnabled?.()!==!1,d!=null&&d.isEnabled?.()!==!1||u.some(e=>e.isEnabled&&e.claimsTouches)),this.lastFed.set(p,{x:o.clientX,y:o.clientY,time:t}),this.pairTouch(p,{x:o.clientX,y:o.clientY,target:c}),l!==c&&l!=null&&this.retargeted.set(p,{x:o.clientX,y:o.clientY,target:l}),n.push({id:p,x:o.clientX,y:o.clientY,time:t,pointerType:`touch`,target:l,scroll:Wk(l),recognizers:u,consumer:d})}i.length>0&&this.arena.cancelled(i,t),this.arena.began(n);for(let{id:e,target:t,consumerElement:n}of a)this.lockSelection(e,this.arena.participantsOf(e),t,this.arena.consumerOf(e)??null,n);for(let e of r)this.arena.untrackedBegan(e);this.fingerTargets.length>1&&!this.isFingerClaimed()&&this.failUnclaimedLoneFingerPans();let o=vq(e);Zu(o)&&(this.lastTouch={target:o,time:t})};onTouchMove=e=>{if(this.noteFingersDown(e),!this.usesTouchEvents||!this.takeEvent(e))return;this.dropFingersNotDown(e);let t=Eq(e,this.timing),n=[],r=[];for(let i of Dq(e.changedTouches)){let e=this.touchIds.get(i.identifier);e!=null&&(n.push(e),r.push({id:e,x:i.clientX,y:i.clientY,time:t}))}if(r.length!==0){if(!e.cancelable){let e=new Map(r.map(e=>[e.id,e])),i=n.filter(t=>{let n=this.arena.getTouch(t);if(n==null||n.takenByBrowser||this.arena.isClaimed(t)||n.scroll?.allowsNativePan===!1||this.judgedUncancelable.has(t))return!1;this.judgedUncancelable.add(t);let r=e.get(t);if(r==null||n.scroll==null)return!0;let i=r.x-n.startX,a=r.y-n.startY;return Math.abs(i)>=Math.abs(a)?n.scroll.canScroll(i,0):n.scroll.canScroll(0,a)});i.length>0&&this.browserTook(i,t)}this.feedMoves(r.filter(e=>!this.pointerFed.has(e.id)))}};onBlockingTouchMove=e=>{this.cancelIfClaimed(e)};pointerFingerAt(e){let t=null,n=1/0;for(let r of this.arena.touches){if(r.pointerType!==`touch`||r.phase===`ended`||r.phase===`cancelled`||!Zu(r.target)||!Zu(e.target)||!(xd(r.target,e.target)||xd(e.target,r.target)))continue;let i=Math.hypot(r.x-e.clientX,r.y-e.clientY);i{let t=e,n=Eq(t,this.timing);for(let e=this.claimedLifts.length-1;e>=0;e--)n-this.claimedLifts[e].time>Pq&&this.claimedLifts.splice(e,1);if(t.cancelable&&!t.defaultPrevented)for(let e of Dq(t.changedTouches)){let n=this.claimedLifts.findIndex(n=>gq(n,{x:e.clientX,y:e.clientY,target:vq(t,e.target)}));if(n>=0){this.claimedLifts.splice(n,1),this.claimedLifts.length===0&&this.clearClaimedLifts(),t.preventDefault();return}}};cancelIfClaimed(e){if(!e.cancelable||e.defaultPrevented)return;let t=Dq(e.changedTouches);for(let n of t){let t=this.touchIds.get(n.identifier)??(this.usesTouchEvents?void 0:this.pointerFingerAt(n));if(t!=null&&(this.arena.isClaimed(t)||this.arena.consumerOf(t)?.keepsTouch?.(t)===!0||e.touches.length===1&&this.arena.participantsOf(t).some(e=>VK(e).keepsTouch(t)))){e.preventDefault();return}}if(dae(e)){for(let t of this.pointerIds.values())if(this.arena.isClaimed(t)){e.preventDefault();return}}}onTouchEnd=e=>{if(this.releaseArmedPress(),this.noteFingersDown(e),!this.usesTouchEvents||!this.takeEvent(e))return;this.dropFingersNotDown(e);let t=Eq(e,this.timing),n=[],r=[],i=!1;for(let a of Dq(e.changedTouches)){if(this.cancelledFingers.delete(a.identifier)){i=!0;continue}let e=this.touchIds.get(a.identifier),o=e==null?void 0:this.retargeted.get(e),s=e==null?void 0:this.liftStamps.get(e),c=this.forgetFinger(a.identifier);c!=null&&(n.push({id:c,x:s?.x??a.clientX,y:s?.y??a.clientY,time:s?.time??t}),o!=null&&r.push({id:c,landed:o,x:a.clientX,y:a.clientY}))}n.sort((e,t)=>e.time-t.time);let a=vq(e);Zu(a)&&(this.lastTouch={target:a,time:n.length>0?Math.max(...n.map(e=>e.time)):t});let o=n.length>0?this.arena.ended(n):new Map,s=i||Oq(o);for(let e of r)this.clickRetargetedTap(e.landed,e,o.get(e.id),`touch`)&&(s=!0);s&&(e.cancelable&&e.preventDefault(),Vu(this.doc,{takesLateMouse:!0}))};clickRetargetedTap(e,t,n,r){return e==null||n!==`allow`||Math.hypot(t.x-e.x,t.y-e.y)>F_.allowableMovement.value?!1:(this.clickRetargeted(e.target,t.x,t.y,r),!0)}onTouchCancel=e=>{if(this.releaseArmedPress(),this.noteFingersDown(e),!this.usesTouchEvents||!this.takeEvent(e))return;let t=Dq(e.changedTouches),n=t.length>0?t.map(e=>e.identifier):[...this.touchIds.keys()];t.length===0&&this.cancelledFingers.clear();for(let e of n)this.cancelledFingers.delete(e);let r=[];for(let e of n){let t=this.forgetFinger(e);t!=null&&r.push(t)}r.length>0&&this.arena.cancelled(r,Eq(e,this.timing))};onTargetTouchMove=e=>{this.onTouchMove(e),this.cancelIfClaimed(e)};onTargetTouchMovePassive=e=>{this.onTouchMove(e)};onTargetTouchEnd=e=>{this.onTouchEnd(e)};onTargetTouchEndPassive=e=>{this.onTouchEnd(e)};onTargetTouchCancel=e=>{this.onTouchCancel(e)};dropFingersNotDown(e){if(e.touches==null||this.touchIds.size===0&&this.cancelledFingers.size===0)return;let t=new Set;for(let n of Dq(e.touches))t.add(n.identifier);for(let n of Dq(e.changedTouches))t.add(n.identifier);for(let e of[...this.cancelledFingers])t.has(e)||this.cancelledFingers.delete(e);let n=[...this.touchIds.keys()].filter(e=>!t.has(e)),r=[];for(let e of n){let t=this.forgetFinger(e);t!=null&&r.push(t)}r.length>0&&this.arena.cancelled(r,Eq(e,this.timing))}watchTarget(e,t,n,r){if(t==null||typeof t.addEventListener!=`function`)return;this.touchTargets.set(e,t);let i=this.watched.get(t);if(i==null){this.watched.set(t,{count:1,blocking:+!!n,claiming:+!!r}),n&&this.blockingFingers.add(e),r&&this.claimingFingers.add(e),t.addEventListener(`touchmove`,n?this.onTargetTouchMove:this.onTargetTouchMovePassive,{passive:!n}),t.addEventListener(`touchend`,r?this.onTargetTouchEnd:this.onTargetTouchEndPassive,{passive:!r}),t.addEventListener(`touchcancel`,this.onTargetTouchCancel,{passive:!0});return}let a=i.blocking>0,o=i.claiming>0;i.count+=1,n&&(i.blocking+=1,this.blockingFingers.add(e)),r&&(i.claiming+=1,this.claimingFingers.add(e)),this.swapTargetTouchMove(t,a,i.blocking>0),this.swapTargetTouchEnd(t,o,i.claiming>0)}unwatchTarget(e){let t=this.touchTargets.get(e);if(t==null)return;this.touchTargets.delete(e);let n=this.watched.get(t);if(n==null)return;let r=n.blocking>0,i=n.claiming>0;--n.count,this.blockingFingers.delete(e)&&--n.blocking,this.claimingFingers.delete(e)&&--n.claiming,n.count>0?(this.swapTargetTouchMove(t,r,n.blocking>0),this.swapTargetTouchEnd(t,i,n.claiming>0)):(this.watched.delete(t),t.removeEventListener(`touchmove`,r?this.onTargetTouchMove:this.onTargetTouchMovePassive),t.removeEventListener(`touchend`,i?this.onTargetTouchEnd:this.onTargetTouchEndPassive),t.removeEventListener(`touchcancel`,this.onTargetTouchCancel))}swapTargetTouchMove(e,t,n){t!==n&&(e.removeEventListener(`touchmove`,t?this.onTargetTouchMove:this.onTargetTouchMovePassive),e.addEventListener(`touchmove`,n?this.onTargetTouchMove:this.onTargetTouchMovePassive,{passive:!n}))}swapTargetTouchEnd(e,t,n){t!==n&&(e.removeEventListener(`touchend`,t?this.onTargetTouchEnd:this.onTargetTouchEndPassive),e.addEventListener(`touchend`,n?this.onTargetTouchEnd:this.onTargetTouchEndPassive,{passive:!n}))}forgetFinger(e){let t=this.touchIds.get(e);return this.touchIds.delete(e),this.unwatchTarget(e),t!=null&&this.forgetContact(t),t}pairTouch(e,t){for(let[n,r]of this.pendingPointers)if(gq(r,t)){this.pendingPointers.delete(n),this.fingerPointers.set(n,e),this.pointerFed.add(e);return}this.unpairedTouches.set(e,t)}pairPointer(e,t){for(let[n,r]of this.unpairedTouches)if(gq(r,t)){this.unpairedTouches.delete(n),this.fingerPointers.set(e,n),this.pointerFed.add(n);return}this.pendingPointers.set(e,t)}feedMoves(e){let t=e.filter(e=>{let t=this.lastFed.get(e.id);return t!=null&&e.time0&&this.arena.moved(t)}forgetContact(e){this.unlockSelection(e),this.retargeted.delete(e),this.lastFed.delete(e),this.pointerFed.delete(e),this.liftStamps.delete(e),this.judgedUncancelable.delete(e),this.unpairedTouches.delete(e);for(let[t,n]of this.fingerPointers)n===e&&this.fingerPointers.delete(t)}onPointerDown=e=>{if(this.endMissedMouseLift(e),this.endWheel(Eq(e,this.timing)),Uu(this.doc),!_q(e.pointerType))return;if(this.dropCancelledLifts(e),e.pointerType===`touch`&&this.usesTouchEvents){this.pairPointer(e.pointerId,{x:e.clientX,y:e.clientY,target:vq(e)});return}if(e.pointerType===`touch`&&e.isPrimary===!1&&this.failUnclaimedLoneFingerPans(),e.pointerType!==`touch`&&!Wv(e))return;let t=vq(e),n=this.presentedTarget(t,e.clientX,e.clientY,e.timeStamp),{recognizers:r,consumer:i,consumerElement:a}=this.participantsAt(n,e.pointerType);if(r.length===0&&i==null)return;let o=this.nextId++;this.pointerIds.set(e.pointerId,o),this.pointerKinds.set(e.pointerId,e.pointerType),n!==t&&n!=null&&this.retargeted.set(o,{x:e.clientX,y:e.clientY,target:n}),e.pointerType!==`touch`&&this.pressSelections.set(o,kd(this.doc.defaultView)),this.arena.began([{id:o,x:e.clientX,y:e.clientY,time:Eq(e,this.timing),pointerType:e.pointerType,target:n,scroll:Wk(n),recognizers:r,consumer:i}]),e.pointerType===`touch`&&e.isPrimary===!1&&!this.isFingerClaimed()&&this.failUnclaimedLoneFingerPans(),Ed(e.pointerType)&&this.lockSelection(o,this.arena.participantsOf(o),n,this.arena.consumerOf(o)??null,a),e.pointerType!==`touch`&&this.noteSelectingPress(o,e.clientX,e.clientY,t)};onPointerMove=e=>{if(this.endMissedMouseLift(e))return;if(e.pointerType===`touch`&&this.usesTouchEvents){let t=this.fingerPointers.get(e.pointerId);t!=null&&this.feedMoves([{id:t,x:e.clientX,y:e.clientY,time:Eq(e,this.timing),history:kq(e,this.timing)}]);return}let t=this.pointerIds.get(e.pointerId);t!=null&&(e.pointerType===`pen`&&this.notePenDrift(t,e.clientX,e.clientY,Eq(e,this.timing)),this.arena.moved([{id:t,x:e.clientX,y:e.clientY,time:Eq(e,this.timing),history:kq(e,this.timing)}]))};endMissedMouseLift(e){if(e.pointerType!==`mouse`||e.type!==`pointerdown`&&e.buttons&1)return!1;let t=this.pointerIds.get(e.pointerId),n=t==null?void 0:this.arena.getTouch(t);return t==null||n==null?!1:(this.releaseArmedPress(),this.pointerIds.delete(e.pointerId),this.pointerKinds.delete(e.pointerId),this.unlockSelection(t),this.retargeted.delete(t),this.arena.ended([{id:t,x:n.x,y:n.y,time:Eq(e,this.timing)}]),!0)}onPointerUp=e=>{if(this.releaseArmedPress(),e.pointerType===`touch`&&this.usesTouchEvents){let t=this.fingerPointers.get(e.pointerId);t!=null&&this.pointerFed.has(t)&&this.liftStamps.set(t,{x:e.clientX,y:e.clientY,time:Eq(e,this.timing)}),this.fingerPointers.delete(e.pointerId),this.pendingPointers.delete(e.pointerId);return}let t=this.pointerIds.get(e.pointerId);if(t==null){this.cancelledPointers.delete(e.pointerId)&&this.refuseCancelledLift(e);return}this.pointerIds.delete(e.pointerId),this.pointerKinds.delete(e.pointerId);let n=this.claimHolds.get(t);this.unlockSelection(t);let r=this.arena.getTouch(t)?.target,i=e.pointerType===`pen`&&this.isPenHold(t,Eq(e,this.timing));this.driftedPens.delete(t);let a=this.arena.ended([{id:t,x:e.clientX,y:e.clientY,time:Eq(e,this.timing)}]);n?.keepLiftSelection(),i&&(this.lastPenLift={target:r,time:this.arena.now()});let o=this.retargeted.get(t);this.retargeted.delete(t);let s=this.clickRetargetedTap(o,{x:e.clientX,y:e.clientY},a.get(t),e.pointerType);!s&&Oq(a)&&Vu(this.doc,{takesLateMouse:e.pointerType===`touch`}),e.pointerType===`touch`&&(s||Oq(a))&&this.noteClaimedLift(e)};noteClaimedLift(e){this.readsFingersFromPointerEvents()&&(this.isCoarse||this.sendsTouchEvents())&&(this.claimedLifts.push({x:e.clientX,y:e.clientY,target:vq(e),time:Eq(e,this.timing)}),this.claimedLifts.length>Fq&&this.claimedLifts.shift(),this.armClaimedLiftTimer())}armClaimedLiftTimer(){if(this.claimedLiftTimer!=null||this.claimedLifts.length===0)return;let e=this.claimedLifts[0].time+Pq;this.claimedLiftTimer=this.clock.setTimeout(()=>{this.claimedLiftTimer=null;let e=this.clock.now();for(let t=this.claimedLifts.length-1;t>=0;t--)e-this.claimedLifts[t].time>=Pq&&this.claimedLifts.splice(t,1);this.armClaimedLiftTimer()},Math.max(0,e-this.clock.now()))}clearClaimedLifts(){this.claimedLifts.length=0,this.claimedLiftTimer!=null&&(this.clock.clearTimeout(this.claimedLiftTimer),this.claimedLiftTimer=null)}onPointerCancel=e=>{if(this.releaseArmedPress(),e.pointerType===`touch`&&this.usesTouchEvents){let t=this.fingerPointers.get(e.pointerId)??this.touchForCancelledPointer(e);this.fingerPointers.delete(e.pointerId),this.pendingPointers.delete(e.pointerId),t!=null&&(this.pointerFed.delete(t),this.browserTook([t],Eq(e,this.timing)));return}this.cancelledPointers.delete(e.pointerId);let t=this.pointerIds.get(e.pointerId);if(t!=null){this.pointerIds.delete(e.pointerId),this.pointerKinds.delete(e.pointerId),this.unlockSelection(t,!0),this.retargeted.delete(t);let n=this.arena.getTouch(t)?.target,r=e.pointerType===`pen`&&this.isPenHold(t,Eq(e,this.timing));this.driftedPens.delete(t),this.arena.cancelled([t],Eq(e,this.timing)),r&&(this.lastPenLift={target:n,time:this.arena.now()})}};isPenHold(e,t){let n=this.arena.getTouch(e);return n!=null&&!this.driftedPens.has(e)&&t-n.startTime>=I_.minimumPressDuration.value}notePenDrift(e,t,n,r){let i=this.arena.getTouch(e);i!=null&&r-i.startTimeI_.allowableMovement.value&&this.driftedPens.add(e)}touchForCancelledPointer(e){let t=null,n=1/0;for(let r of this.arena.touches){if(r.pointerType!==`touch`||r.phase===`ended`||r.phase===`cancelled`||r.target!==vq(e))continue;let i=Math.hypot(r.x-e.clientX,r.y-e.clientY);in.dispatchEvent(new r.MouseEvent(`click`,{bubbles:!0,cancelable:!0,composed:!0,detail:1,clientX:e.x,clientY:e.y})))}onContextMenu=e=>{for(let t of this.arena.touches)if(this.arena.isClaimed(t.id)||this.arena.consumerOf(t.id)?.holdsContextMenu?.(t.id)===!0){e.preventDefault();return}};ownScroll(e){let t=++this.ownScrollCalls;this.ownedScrolls.set(e,t);let n=this.doc.defaultView;if(n==null)return;this.ownScrollFrames.get(e)?.();let r=0,i=n.requestAnimationFrame(()=>{r=n.requestAnimationFrame(()=>{this.ownScrollFrames.delete(e),this.ownedScrolls.get(e)===t&&this.ownedScrolls.delete(e)})});this.ownScrollFrames.set(e,()=>{n.cancelAnimationFrame(i),r!==0&&n.cancelAnimationFrame(r)})}isOwnScroll(e){return this.ownedScrolls.has(e)}onScroll=e=>{let t=Eq(e,this.timing),n=e.target===this.doc?this.doc:e.target;if(!Zu(n)||this.ownedScrolls.has(n))return;let r=this.lastTouch;r!=null&&t-r.time=R_.slop.value&&i.push(e.id);i.length>0&&this.browserTook(i,t)};noteFingersDown(e){let t=[];for(let n of Dq(e.touches))n.touchType!==`stylus`&&Zu(n.target)&&t.push(n.target);this.fingerTargets=t;for(let e of[...this.fingerListeners])e()}failUnclaimedLoneFingerPans(){for(let e of[...this.arena.involvedRecognizers])uae(e)&&e.state===`possible`&&e.maximumNumberOfTouches===1&&e.trackedTouches.length>0&&e.trackedTouches.every(e=>e.pointerType===`touch`&&!this.arena.isClaimed(e.id))&&e.cancel()}isFingerClaimed(){return this.arena.touches.some(e=>e.pointerType===`touch`&&this.arena.isClaimed(e.id))}onVisibilityChange=()=>{this.doc.visibilityState===`hidden`&&(this.cancelEverything(this.arena.now()),this.releaseArmedPress())};onBlur=()=>{this.cancelEverything(this.arena.now()),this.releaseArmedPress()};sendsTouchEvents(){let e=this.doc.defaultView;return e!=null&&`ontouchstart`in e}readsFingersFromPointerEvents(){let e=this.doc.defaultView;return this.inputMode===`pointer-events`||e!=null&&!(`ontouchstart`in e)}refuseCancelledLift(e){Vu(this.doc,{takesLateMouse:e.pointerType===`touch`}),e.pointerType===`touch`&&this.noteClaimedLift(e)}cancelEverything(e){for(let[e,t]of this.pointerKinds)t!==`mouse`&&this.cancelledPointers.set(e,t);let t=[...this.pointerIds.values()];for(let e of t)this.unlockSelection(e,!0);for(let e of[...this.touchIds.keys()]){this.cancelledFingers.add(e);let n=this.forgetFinger(e);n!=null&&t.push(n)}this.pointerIds.clear(),this.pointerKinds.clear(),this.driftedPens.clear(),this.retargeted.clear(),this.fingerPointers.clear(),this.pendingPointers.clear(),this.unpairedTouches.clear(),this.lastFed.clear(),this.pointerFed.clear(),this.liftStamps.clear(),t.push(...this.dropDrivenWheel()),t.length>0&&this.arena.cancelled(t,e)}}}));function Uq(e,t){let n=0,r=0,i=0;for(let a of e)t?.has(a.id)||(n+=a.x,r+=a.y,i+=1);return i===0?{x:0,y:0}:{x:n/i,y:r/i}}function hae(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Wq(e){return Math.hypot(e.x-e.startX,e.y-e.startY)}var Gq=o((()=>{})),Kq=o((()=>{})),qq,Jq,Yq,Xq=o((()=>{B_(),Gq(),BK(),Kq(),qR(),qq={x:0,y:0},Jq={left:{x:-1,y:0},right:{x:1,y:0},up:{x:0,y:-1},down:{x:0,y:1}},Yq=class extends zK{get kind(){return`pan`}get family(){return`pan`}lockedAxis=null;travelAtBegan=qq;releaseTime=void 0;origin=qq;adjust=qq;raw=qq;offset=qq;firstMove=null;constructor(e={}){super(e),this.minimumNumberOfTouches=e.minimumNumberOfTouches??1,this.maximumNumberOfTouches=e.maximumNumberOfTouches??1/0;let{hysteresis:t}=e;this.hysteresisFor=typeof t==`function`?t:null,this.hysteresis=typeof t==`number`?t:L_.hysteresis.value,this.direction=e.direction??`any`,this.axisRatio=e.axisRatio??1,this.lockAxis=e.lockAxis??!1,this.scrollEdge=e.scrollEdge??!1,this.firstMoveDecides=e.firstMoveDecides??!1,this.tracker=new KR}translation(){return this.locked({x:this.raw.x+this.offset.x,y:this.raw.y+this.offset.y})}setDirection(e){this.direction=e}setTranslation(e){this.offset={x:e.x-this.raw.x,y:e.y-this.raw.y}}totalTranslation(){return this.raw}velocity(){return this.locked(this.tracker.velocity(this.releaseTime))}scrollVelocity(){return this.locked(this.tracker.scrollVelocity(this.releaseTime??this.tracker.lastSample?.time??0))}get nativeTouchBehavior(){if(this.scrollEdge||Jq[this.direction]!=null)return IK;let e=this.direction===`horizontal`||this.direction===`left`||this.direction===`right`;return{panX:this.direction===`vertical`||this.direction===`up`||this.direction===`down`,panY:e,pinchZoom:!0,doubleTapZoom:!1}}acceptsTouch(e){return NK(this.state)&&this.numberOfTouches>=this.maximumNumberOfTouches?!1:super.acceptsTouch(e)}touchesBegan(e,t){if(this.numberOfTouches===e.length){let n=e[0];this.hysteresisFor!=null&&n!=null&&(this.hysteresis=this.hysteresisFor(n)),this.origin=Uq(this.touches.values()),this.adjust=qq,this.raw=qq,this.offset=qq,this.tracker.reset(),this.tracker.add(this.origin.x,this.origin.y,t.time)}else this.rebase(new Set(e.map(e=>e.id)),`added`);this.state===`possible`&&this.numberOfTouches>this.maximumNumberOfTouches&&this.setState(`failed`)}touchesMoved(e,t){if(this.track(t.time),this.state===`possible`){if(this.firstMoveDecides&&this.firstMove==null&&(this.raw.x!==0||this.raw.y!==0)&&(this.firstMove=this.classify(this.raw),this.firstMove!==`begin`)){this.setState(`failed`);return}this.tryBegin()}else NK(this.state)&&this.setState(`changed`)}touchesEnded(e,t){let n=this.numberOfTouches-e.length;if(NK(this.state)){if(ne.id)),`removed`)}else n===0||ne.id)),`removed`)}reset(){this.lockedAxis=null,this.travelAtBegan=qq,this.origin=qq,this.adjust=qq,this.raw=qq,this.offset=qq,this.releaseTime=void 0,this.firstMove=null,this.tracker.reset()}classify(e){if(this.direction===`any`)return`begin`;let t=this.direction===`horizontal`||this.direction===`left`||this.direction===`right`,n=t?e.x:e.y,r=Math.abs(t?e.y:e.x),i=Math.abs(n);if(i>this.axisRatio*r){let e=Jq[this.direction],t=e==null?0:e.x+e.y;return t===0||Math.sign(n)===t?`begin`:`fail`}return r*Math.min(1,this.axisRatio)>i?`fail`:`wait`}tryBegin(){let e=this.numberOfTouches;if(ethis.maximumNumberOfTouches){this.setState(`failed`);return}let t=this.raw;if(Math.max(Math.abs(t.x),Math.abs(t.y))=Math.abs(t.y)?`x`:`y`),this.startFromHere(),this.setState(`began`))}startFromHere(){let e=this.hysteresis,t={x:Math.sign(this.raw.x)*Math.min(Math.abs(this.raw.x),e),y:Math.sign(this.raw.y)*Math.min(Math.abs(this.raw.y),e)};this.travelAtBegan=t,this.offset={x:-t.x,y:-t.y}}keepsTouch(e){let t=this.touches.get(e);if(!this.scrollEdge&&!this.firstMoveDecides||this.state!==`possible`||this.touches.size!==1||t==null||t.pointerType!==`touch`||t.takenByBrowser)return!1;if(this.firstMoveDecides)return this.firstMove===`begin`;let n=this.raw;return this.travelAlongAxis(n)>=5&&this.classify(n)===`begin`&&!this.nativeCanScroll(n.x,n.y)}travelAlongAxis(e){if(this.direction===`any`)return Math.max(Math.abs(e.x),Math.abs(e.y));let t=this.direction===`horizontal`||this.direction===`left`||this.direction===`right`;return Math.abs(t?e.x:e.y)}nativeCanScroll(e,t){for(let n of this.touches.values())if(n.scroll?.canScroll(e,t)===!0)return!0;return!1}track(e){let t=Uq(this.touches.values()),n={x:t.x+this.adjust.x,y:t.y+this.adjust.y};this.tracker.add(n.x,n.y,e),this.raw={x:n.x-this.origin.x,y:n.y-this.origin.y}}rebase(e,t){let n=Uq(this.touches.values()),r=Uq(this.touches.values(),e),[i,a]=t===`added`?[r,n]:[n,r];this.adjust={x:this.adjust.x+i.x-a.x,y:this.adjust.y+i.y-a.y}}locked(e){return this.lockedAxis===`x`?{x:e.x,y:0}:this.lockedAxis===`y`?{x:0,y:e.y}:e}}}));function Zq(e,t){let{axis:n,onPan:r}=t,i=new Yq({name:`pan`,...t.recognizer,direction:n===`x`?`horizontal`:n===`y`?`vertical`:`any`}),a=e=>n===`x`?{x:e.x,y:0}:n===`y`?{x:0,y:e.y}:{x:e.x,y:e.y},o=`touch`;i.addListener(()=>{let e=i.state;if(e===`began`||e===`changed`||e===`ended`||e===`cancelled`){if(e===`began`){let e=i.trackedTouches[0];o=e==null?`touch`:e.scrollType==null?e.pointerType:`scroll`}r({state:e,translation:a(i.translation()),totalTranslation:a(i.totalTranslation()),velocity:e===`cancelled`?{...Qq}:a(i.velocity()),input:o})}});let s=Aq(e.ownerDocument).attach(e,i);return{destroy(){let e=s;s=null,e?.()}}}var Qq,$q=o((()=>{Hq(),Xq(),Qq={x:0,y:0}}));function eJ(e){let t=e*1e3;return t/(1+t)}function tJ(e,t){let n=0;for(let r=1;r=r){let r=-1;if(n>0)r=e.findIndex(e=>e>t+i);else for(let n=e.length-1;n>=0&&r===-1;--n)e[n]0?r>d:r0?e.length-1:0;if(n>0){let n=e.findIndex(e=>e>=t-i);r=n===-1?r:n}else for(let n=e.length-1;n>=0;--n)if(e[n]<=t+i){r=n;break}(n>0?r>d:r{gR()}));function iJ({curve:e,parts:t,requestFrame:n,onPass:r,onFinish:i}){let a=Math.min(oJ,Math.max(0,e.settleTime(xF.x)*1e3)),o=fF(),s=!1,c=r==null,l=t=>e.value(t/1e3),u=Math.ceil(a/1e3*aJ),d=[];for(let e=0;e<=u;e+=1)d.push(Math.min(a,e/aJ*1e3));let f=[...d],p=new Set(t.flatMap(e=>e.bends??[]));for(let e of p)for(let t=0;t=0)){for(let t=0;t<24;t+=1){let t=(n+r)/2;(l(n)-e)*(l(t)-e)<=0?r=t:n=t}f.push((n+r)/2)}}f.sort((e,t)=>e-t);let m=f.map((t,n)=>n===f.length-1?e.to:l(t)),h=f.map(e=>a===0?1:e/a),g=a===0?[]:t.filter(e=>typeof e.element.animate==`function`).map(t=>{let n=t.offset(e.to),r=t.element.animate(m.map((e,r)=>({offset:h[r],translate:`${t.offset(e)-n}px 0px`})),{duration:a,easing:`linear`,fill:`backwards`});return r.startTime=o,r}),_=()=>Math.min(a,Math.max(0,fF()-o))/1e3,v=()=>e.value(_()),y=()=>{let e=v();s=!0;for(let e of g)e.cancel();return e},b=()=>{if(s)return;let t=_();if(!(!c&&r!=null&&(e.value(t)-r.offset)*r.direction>=0&&(c=!0,r.call(),s))){if(t*1e3>=a){s=!0;for(let e of g)e.cancel();i()}else n(b)}};return n(b),{presented:v,velocity:()=>e.velocity(_()),stop:y}}var aJ,oJ,sJ=o((()=>{GF(),aJ=120,oJ=3e3}));function cJ(e){typeof requestAnimationFrame==`function`?requestAnimationFrame(()=>e()):setTimeout(e,16)}function lJ(e,t){if(t!=null){let n=Number.parseFloat(e.style.getPropertyValue(t));return{x:Number.isFinite(n)?n:0,y:0}}let[n=0,r=0]=e.style.getPropertyValue(`translate`).trim().split(/\\s+/).map(e=>Number.parseFloat(e)).map(e=>Number.isFinite(e)?e:0);return{x:n,y:r}}function uJ(e){let t=e.filter(e=>Number.isFinite(e));return t.length,e.length,t.sort((e,t)=>e-t)}function dJ(e,t){let{axis:n,onSettle:r,model:i}=t;t.customProperty;let a=t.flickThreshold??1008,o=uJ(t.snapPoints),s=lJ(e,t.customProperty?.name),c=gF(e,{initial:s,...t.customProperty==null?{}:{customProperty:t.customProperty}}),l=o.length===0?0:nJ({points:o,position:s[n],velocity:0,flickThreshold:a}).index,u=0,d=null,f=!1,p=null,m=null,h=null,g=()=>m?.presented()??c.get(n),_=()=>{if(m==null)return;let e=m.stop();m=null,h=null,c.set({[n]:e},{promote:!1})},v=(i,a)=>{qF(),l=i;let s=++u,d={turn:s,options:a,passed:!1};p=d;let{velocity:v}=a,y=a.spring??kI.settle,b=a.touchRelease===!0,{compositorParts:x}=t;if(x!=null&&c.reducedMotion({touchRelease:b})===`off`){let t=v!=null&&v!==0?v:m?.velocity()??c.getVelocity(n),b=g();_();let S=o[i],C=ym(vm(VP(e,y)),{from:b,to:S,velocity:t}),{onPass:w}=a,T=()=>{if(f||s!==u)return;c.stop(),c.set({[n]:S},{promote:!1});let e=()=>{m=null,h=null,p===d&&(p=null),s===u&&!f&&r(l)};m=iJ({curve:C,parts:x(),requestFrame:cJ,...w==null?{}:{onPass:{...w,call:()=>{d.passed=!0,w.call()}}},onFinish:e}),h=e};return a.start===`next-frame`?cJ(T):T(),null}_();let S=c.animate({[n]:o[i]},{spring:y,...v!=null&&v!==0?{velocity:{[n]:v}}:{}},{touchRelease:b,...a.start==null?{}:{start:a.start}}),C=!1;S.finished.then(e=>{C=!0,p===d&&(p=null),e&&s===u&&!f&&r(l)});let{onPass:w}=a;if(w!=null&&typeof requestAnimationFrame==`function`){let{direction:e}=w,t=r=>{f||s!==u||((c.get(n,r)-w.offset)*e>=0?(d.passed=!0,w.call()):C||requestAnimationFrame(t))};requestAnimationFrame(t)}return S},y=(e,t)=>{e!=null&&v(e.index,{velocity:e.velocity,spring:e.spring,touchRelease:t})},b=Zq(e,{axis:n,recognizer:t.pan,onPan:({state:e,translation:t,totalTranslation:r,velocity:s,input:p})=>{if(f||o.length===0)return;let m={translation:t[n],total:r[n],input:p};if(e===`began`&&(d={start:g(),startIndex:l,input:p,caught:!1},i?.begin?.({start:d.start,...m})===!1)){d=null;return}if(d==null)return;let h={start:d.start,...m,input:d.input};if(e===`began`||e===`changed`){let e=i?.move==null?{offset:d.start+m.translation}:i.move(h);if(e==null)return;d.caught||(d.caught=!0,u+=1,_()),e.spring==null?c.set({[n]:e.offset}):(qF(),c.animate({[n]:e.offset},{spring:e.spring},{at:fJ()}));return}let{startIndex:b,start:x}=d;d=null;let S=h.input===`touch`;if(e===`cancelled`){i?.cancel==null?v(b,{velocity:0,touchRelease:S}):y(i.cancel(h),S);return}let C=s[n];if(i?.release!=null){y(i.release({...h,velocity:C}),S);return}let{index:w}=nJ({points:o,position:g(),velocity:C,flickThreshold:a,start:x});v(w,{velocity:C,touchRelease:S})}});return{settleTo(e,t={}){return f?null:!Number.isInteger(e)||e<0||e>=o.length?(`${e}${o.length}`,null):(d=null,v(e,{velocity:0,...t}))},setSnapPoints(e){if(f)return;let t=(d==null||!d.caught)&&p?.turn===u?p:null,n=t==null?null:o[l],r=d==null?null:o[d.startIndex];if(o=uJ(e),o.length===0){u+=1,d=null,_(),c.stop(),l=0;return}let i=e=>nJ({points:o,position:e,velocity:0,flickThreshold:a}).index;if(t!=null&&n!=null){let{onPass:e,...a}=t.options;v(i(n),{...a,...t.passed?{}:{onPass:e},velocity:0}),d!=null&&(d.startIndex=i(r??d.start))}else l=i(r??g()),d!=null&&(d.startIndex=l)},snapPoints(){return o},animator:c,position:g,finishSettle(){let e=h;m!=null&&e!=null&&(m.stop(),e())},destroy(){f||(f=!0,b.destroy(),_(),c.stop(),c.dispose())}}}var fJ,pJ,mJ=o((()=>{$q(),GF(),GP(),rJ(),Cm(),jI(),sc(),sJ(),fJ=()=>performance.now(),pJ=1008}));function hJ(e){let t=0,n=0,r=0;for(let i of e)t+=i.x,n+=i.y,r+=1;return r===0?{x:0,y:0}:{x:t/r,y:n/r}}var gJ,_J,vJ=o((()=>{B_(),Gq(),BK(),gJ=F_,_J=class extends zK{get kind(){return`tap`}get family(){return`tap`}tapCount=0;isTapInProgress=!1;maxTouchesThisTap=0;firstTapLocation=null;tapStarts=new Map;tapLifts=new Map;constructor(e={}){super(e),this.numberOfTapsRequired=e.numberOfTapsRequired??1,this.numberOfTouchesRequired=e.numberOfTouchesRequired??1,this.allowableMovement=e.allowableMovement??gJ.allowableMovement.value,this.maximumIntervalBetweenTaps=e.maximumIntervalBetweenTaps??gJ.maximumIntervalBetweenTaps.value,this.allowableSeparation=e.allowableSeparation??gJ.allowableSeparation.value,this.maximumTapDuration=e.maximumTapDuration??gJ.maximumTapDuration.value}get isDiscrete(){return!0}get nativeTouchBehavior(){return LK}get completedTaps(){return this.tapCount}isInvolved(){return super.isInvolved()||this.tapCount>0}touchesBegan(e,t){this.isTapInProgress||(this.isTapInProgress=!0,this.tapStarts.clear(),this.tapLifts.clear(),this.maxTouchesThisTap=0,this.clearTimer(),Number.isFinite(this.maximumTapDuration)&&this.setTimer(t.time+this.maximumTapDuration,()=>{this.setState(`failed`)}));for(let t of e)this.tapStarts.set(t.id,{x:t.startX,y:t.startY});this.maxTouchesThisTap=Math.max(this.maxTouchesThisTap,this.numberOfTouches),(this.numberOfTouches>this.numberOfTouchesRequired||this.firstTapLocation!=null&&this.tapStarts.size===this.numberOfTouchesRequired&&hae(hJ(this.tapStarts.values()),this.firstTapLocation)>this.allowableSeparation)&&this.setState(`failed`)}touchesMoved(e){e.some(e=>Wq(e)>this.allowableMovement)&&this.setState(`failed`)}touchesEnded(e,t){if(e.some(e=>Wq(e)>this.allowableMovement))this.setState(`failed`);else{for(let t of e)this.tapLifts.set(t.id,{x:t.x,y:t.y});this.numberOfTouches-e.length>0||(this.isTapInProgress=!1,this.clearTimer(),this.maxTouchesThisTap===this.numberOfTouchesRequired?(this.tapCount+=1,this.firstTapLocation??=hJ(this.tapLifts.values()),this.tapCount>=this.numberOfTapsRequired?this.setState(`ended`):this.setTimer(t.time+this.maximumIntervalBetweenTaps,()=>{this.setState(`failed`)})):this.setState(`failed`))}}reset(){this.tapCount=0,this.isTapInProgress=!1,this.maxTouchesThisTap=0,this.firstTapLocation=null,this.tapStarts.clear(),this.tapLifts.clear()}}}));function yJ(e){CJ.syncingDepth+=1;try{return e()}finally{--CJ.syncingDepth}}function bJ(){return CJ.syncingDepth>0}function xJ(){let e=(0,SJ.useRef)(!1);return b(()=>(e.current=!1,()=>{e.current=!0}),[]),e}var SJ,CJ,wJ=o((()=>{SJ=u(f(),1),x(),Xn(),CJ=Kn(`gestures/gesture-sync/state`,1,()=>({syncingDepth:0}))}));function TJ(e,t){let{arena:n}=VK(e);n==null?t():n.deferResolution(t)}function EJ(e,t,n,r={}){let[i]=(0,DJ.useState)(t),a=(0,DJ.useRef)(n);b(()=>{a.current=n});let{isEnabled:o=!0,manageStyle:s=!0,perEventPointer:c=!1,actionGroup:l=!1}=r,u=xJ();return(0,DJ.useEffect)(()=>i.addListener(e=>{!u.current&&!bJ()&&a.current?.(e)}),[i,u]),b(()=>{yJ(()=>{TJ(i,()=>{i.setEnabled(o)})})},[i,o]),pP(e,e=>{if(!o)return()=>{};let t=Aq(e.ownerDocument).attach(e,i,{manageStyle:s,perEventPointer:c,actionGroup:l});return()=>{yJ(()=>TJ(i,t))}},`${s}:${c}:${o}:${l}`),i}var DJ,OJ=o((()=>{DJ=u(f(),1),x(),Hq(),gP(),wJ(),HK()})),kJ,AJ=o((()=>{kJ={claim:8,hysteresis:25,tracking:{mass:2,stiffness:200,damping:100},settle:{mass:2,stiffness:200,damping:100},openFraction:.5,releaseVelocity:48,confirmInset:29,confirmFraction:.69,slideOutOvershoot:24}}));function jJ({travel:e,velocity:t,openWidth:n,isConfirmed:r,wasConfirmed:i,behavior:a}){return r?`perform`:a===`commit`||i?`closed`:t>=kJ.releaseVelocity?`open`:t<=-kJ.releaseVelocity?`closed`:e>=kJ.openFraction*n?`open`:`closed`}function MJ(e,t){let n=t-kJ.confirmInset;return Math.max(e,e+(n-e)*kJ.confirmFraction)}function NJ(e){return e-kJ.confirmInset}function PJ(e){return e.phase===`resting`||e.phase===`settling`&&e.landing===`resting`}function FJ(e,t){return e*t>0?`leading`:`trailing`}function IJ(e,t){return e===`leading`?t:t===1?-1:1}function LJ(e,t){let n=e.leadMotion;if(n==null)return e.lead;let r=(t-n.start)/1e3;return re-t)}function VJ(e,t){let n=IJ(e.side,e.inlineSign),r=t===`rest`?0:t===`open`?n*e.openWidth:n*zJ(e);return BJ(e).indexOf(r)}function HJ(e,t){let n=BJ(e)[t]??0;return n===0?`rest`:Math.abs(n)===e.openWidth?`open`:`out`}function UJ(){let e=new Map,t=new Map;return{entries:e,entryRef:n=>{let r=t.get(n);return r??(r=t=>{t==null?e.delete(n):e.set(n,t)},t.set(n,r)),r},outer:null,window:null}}function WJ(e){let t=e.outer?.offsetWidth??0;for(let n of e.entries.values())t+=n.offsetWidth;return t}function GJ(e,t,n){let r=e.ownerDocument.defaultView;if(r==null)return()=>{};let i=[bu(r,`pointerdown`,t=>{t.target instanceof Node&&!e.contains(t.target)&&n(`next-frame`)}),bu(r,`scroll`,i=>{let{target:a}=i;if(!(a===r.document||a instanceof Element&&a.contains(e)))return;let o=t();(o==null?null:e.querySelector(`[data-swipe-panel=\"${o}\"]`))?.contains(r.document.activeElement)!==!0&&n()})];return()=>{for(let e of i)e()}}function KJ(e){let t=e.querySelectorAll(`button, a[href], input, [tabindex]:not([tabindex=\"-1\"])`);for(let e of t)if(e.closest(`[data-swipe-panel]`)==null){e.focus();return}let n=e.ownerDocument.activeElement,r=e.ownerDocument.defaultView;r!=null&&n instanceof r.HTMLElement&&n.blur()}function qJ({behavior:e,sides:t,fireOutermost:n,canConfirm:r}){let i=nu({behavior:e,canConfirm:r,fireOutermost:n,sides:t}),[a,o]=(0,JJ.useState)(rY),s=(0,JJ.useRef)(a),c=(0,JJ.useRef)(null),l=(0,JJ.useRef)(null),u=(0,JJ.useRef)(null),d=(0,JJ.useCallback)(e=>{let t=PJ(s.current),n=PJ(e);if(s.current=e,o(e),t!==n){let e=v.current;u.current?.(),u.current=null,e!=null&&(wv(e,n),n&&(u.current=GJ(e,()=>c.current?.side,e=>l.current?.(e))))}},[]),[f]=(0,JJ.useState)(()=>({leading:UJ(),trailing:UJ()})),p=(0,JJ.useRef)(null),m=(0,JJ.useRef)(null),h=(0,JJ.useRef)(null),g=(0,JJ.useRef)(null),_=(0,JJ.useCallback)(()=>PJ(s.current),[]),v=(0,JJ.useRef)(null),[y]=(0,JJ.useState)(()=>{let e=e=>({entry:t=>e.entryRef(t),outer:t=>{e.outer=t},panel:t=>{t?.parentElement!=null&&(v.current=t.parentElement),e.window=t}});return{leading:e(f.leading),trailing:e(f.trailing)}}),x=(0,JJ.useCallback)(()=>h.current?.position()??0,[]),S=(0,JJ.useCallback)(e=>Math.max(0,x()*IJ(e.side,e.inlineSign)),[x]),C=e=>{let t=c.current,n=s.current;if(t==null||n.side!==t.side||n.cover!==i.current.sides[t.side]-1||!i.current.canConfirm(t.side))return 0;let r=e*IJ(t.side,t.inlineSign),a=MJ(t.openWidth,t.rowWidth),o=NJ(t.rowWidth);return o<=a?+(r>=o):Math.min(1,Math.max(0,(r-a)/(o-a)))},w=e=>e?void 0:kJ.settle,T=(0,JJ.useCallback)(e=>{let t=c.current;if(t==null)return;let n=HJ(t,e);n===`out`?s.current.phase===`settling`&&d({cover:s.current.cover,isArmed:!1,phase:`held`,side:t.side}):d(n===`rest`?rY:{cover:null,isArmed:!1,phase:`resting`,side:t.side})},[d]),E=e=>{let t=[{element:e,offset:e=>e}];for(let e of[`leading`,`trailing`]){let n=f[e].window,r=n?.firstElementChild;if(n==null||!(r instanceof HTMLElement))continue;let i=(e,t)=>{let r=parseFloat(n.style.getPropertyValue(e));return Number.isNaN(r)?t:r},a=i(ZJ,0),o=i(QJ,1),s=i($J,0),l=i(eY,0),u=e=>a-o*Math.min(o*e,s),d=c.current,p=d==null||d.side!==e?[]:[o*MJ(d.openWidth,d.rowWidth),o*NJ(d.rowWidth)];t.push({element:n,offset:e=>-e},{element:r,offset:e=>e});let m=Array.from(r.children).filter(e=>e instanceof HTMLElement);m.forEach((e,n)=>{let r=n===m.length-1;t.push({element:e,offset:r?e=>u(e)+l*C(e):u,bends:r?[o*s,...p]:[o*s]})})}return t},D=(0,JJ.useCallback)((e,t,n,r={})=>{let i=h.current;if(i==null)return null;c.current=e,d({cover:r.cover??null,isArmed:!1,landing:n,phase:`settling`,side:e.side});let a=r.cause===`release`,o=`spring`in r?r.spring:kJ.settle;i.setSnapPoints(BJ(e));let s=VJ(e,t);return i.settleTo(s,{spring:o,touchRelease:a,...r.velocity==null?{}:{velocity:r.velocity},...r.onPass==null?{}:{onPass:r.onPass},...r.start==null?{}:{start:r.start}})},[d]),O=(0,JJ.useCallback)((e,t,n)=>{let r=IJ(e.side,e.inlineSign);D(e,`out`,`held`,{...n,onPass:{offset:r*e.rowWidth,direction:r,call:()=>{t()&&h.current?.finishSettle()}}})},[D]),k=(0,JJ.useCallback)((e,t,n={})=>{let r=i.current.sides[e.side]-1;O(e,()=>i.current.fireOutermost(e.side)?!0:(D(e,`rest`,`idle`,{cause:t,...n,cover:r}),!1),{cause:t,...n,cover:r})},[i,D,O]),A=(0,JJ.useCallback)(e=>{let t=c.current;if(!_()||t==null)return;let n=v.current;n!=null&&n.contains(n.ownerDocument.activeElement)&&KJ(n),D(t,`rest`,`idle`,e==null?{}:{start:e})},[_,D]);l.current??=A;let j=(0,JJ.useCallback)((e,t,n)=>{let r=c.current;if(!PJ(s.current)||r==null)return;let i=v.current;i!=null&&i.contains(i.ownerDocument.activeElement)&&KJ(i),t?O(r,()=>(e(),!0),{cause:`other`,start:`next-frame`,cover:n}):(e(),D(r,`rest`,`idle`,{start:`next-frame`,cover:n}))},[D,O]),M=e=>{let t=v.current;if(t==null)return!1;let n=Lk(t)?-1:1,r=Math.abs(e.start)>iY?e.start*n>0?`leading`:`trailing`:FJ(e.total,n),a={inlineSign:n,openWidth:WJ(f[r]),outerWidth:f[r].outer?.offsetWidth??0,rowWidth:t.clientWidth,side:r},o=IJ(r,n),l=f[r].window;l?.style.setProperty(ZJ,`${o*a.openWidth}px`),l?.style.setProperty(QJ,String(o)),l?.style.setProperty($J,`${a.openWidth}px`),l?.style.setProperty(eY,`${o*(a.openWidth-a.outerWidth)}px`),c.current=a,h.current?.setSnapPoints(BJ(a));let u=s.current,d=e.input!==`scroll`&&m.current===r||u.side===r&&(PJ(u)||u.cover===i.current.sides[r]-1);return p.current={baseTravel:0,canConfirm:i.current.canConfirm(r)&&(i.current.sides[r]<2||d),confirmAt:MJ(a.openWidth,a.rowWidth),isArmed:!1,isScroll:e.input===`scroll`,raw:0,held:0,lead:0,leadMotion:null,started:!1,startSign:1,wasConfirmed:!1,layout:a},!0},N=e=>{let t=p.current;if(t==null)return null;let{layout:n}=t,r=IJ(n.side,n.inlineSign);if(!t.started){if(!t.isScroll&&Math.abs(e.total)=t.confirmAt,l=c!==t.isArmed,u=MI(v.current),f=performance.now();if(l){let e=LJ(t,f),r=RJ(t,f);t.lead=c?Math.max(0,NJ(n.rowWidth)-s):0,t.leadMotion=t.isScroll||u!=null?null:{curve:ym(vm(VP(v.current,kJ.tracking)),{from:e,to:t.lead,velocity:r}),start:f},t.leadMotion!=null&&g.current==null&&(g.current=requestAnimationFrame(F)),t.isArmed=c,t.wasConfirmed||=c,d({cover:c?i.current.sides[n.side]-1:null,isArmed:c,phase:`dragging`,side:n.side})}let m=r*(t.isScroll?c?Math.max(o,NJ(n.rowWidth)):o:s+LJ(t,f));return u==null?t.isScroll&&l?{offset:m,spring:kJ.tracking}:{offset:m}:l?(t.dipUntil=f+u.duration,{offset:m,spring:kJ.tracking}):t.dipUntil!=null&&f{g.current!=null&&(cancelAnimationFrame(g.current),g.current=null)},F=()=>{g.current=null;let e=p.current,t=h.current;if(e?.leadMotion==null||t==null)return;let{layout:n,leadMotion:r}=e,i=performance.now(),a=IJ(n.side,n.inlineSign);t.animator.set({x:a*(e.held+LJ(e,i))}),(i-r.start)/1e3{let e=p.current;return p.current=null,P(),e!=null&&e.started&&D(e.layout,`rest`,`idle`,{cause:`release`,spring:w(e.isScroll)}),null},confirmOf:C,release:e=>{let t=p.current;if(p.current=null,P(),t==null||!t.started)return null;let{layout:n}=t,r=IJ(n.side,n.inlineSign),a=e.velocity*r,o=e.input===`touch`?`release`:`other`,{behavior:s}=i.current,c;if(t.isScroll){if(t.isArmed)c=`perform`;else{let{index:e}=nJ({points:s===`commit`?[0]:[0,n.openWidth],position:t.raw,velocity:a,flickThreshold:pJ,start:t.baseTravel});c=e===1?`open`:`closed`}}else c=jJ({behavior:s,isConfirmed:t.isArmed,openWidth:n.openWidth,travel:t.held,velocity:a,wasConfirmed:t.wasConfirmed});let l={velocity:e.velocity,spring:w(t.isScroll)};return c===`perform`?k(n,o,l):c===`open`?D(n,`open`,`resting`,{cause:o,...l}):D(n,`rest`,`idle`,{cause:o,...l}),null},settleParts:E,track:N});b(()=>{let e=v.current;if(e==null)return;let t=dJ(e,{axis:`x`,snapPoints:[0],customProperty:{name:YJ,syntax:``,companion:{name:XJ,syntax:``,map:e=>I.current.confirmOf(e)}},compositorParts:()=>I.current.settleParts(e),onSettle:T,pan:{allowedPointerTypes:[`touch`,`pen`],allowedScrollTypes:[`continuous`],hysteresis:kJ.claim,maximumNumberOfTouches:1,name:`Item.swipe`,selectionLock:Dd,shouldReceiveTouch:(e,t)=>{let n=s.current,{target:r}=t;return m.current=t.scrollType==null&&PJ(n)&&r instanceof Node&&f[n.side].outer?.contains(r)===!0?n.side:null,!0},shouldBegin:t=>{if(Aq(e.ownerDocument).fingersDown()>1||s.current.phase===`held`)return!1;let n=Lk(e)?-1:1;return Math.abs(x())>iY||i.current.sides[FJ(t.totalTranslation().x,n)]>0}},model:{begin:e=>I.current.begin(e),move:e=>I.current.track(e),release:e=>I.current.release(e),cancel:()=>I.current.cancel()}});return h.current=t,()=>{h.current=null,t.destroy(),e.style.removeProperty(YJ),e.style.removeProperty(XJ)}},[T,i,I,f,x]),EJ(v,()=>new _J({name:`item-swipe-dismiss`,allowedPointerTypes:[`touch`],shouldReceiveTouch:(e,t)=>_()&&!(t.target instanceof Element&&t.target.closest(`[data-swipe-panel]`)!=null)}),e=>{e.state===`ended`&&A(`next-frame`)});let L=(0,JJ.useCallback)(e=>{e.key===`Escape`&&_()&&(e.stopPropagation(),A(`next-frame`))},[A,_]);return b(()=>()=>{u.current?.(),u.current=null,g.current!=null&&(cancelAnimationFrame(g.current),g.current=null);let e=v.current;e!=null&&wv(e,!1)},[]),{activateEntry:j,close:A,onKeyDown:L,panelRefs:y,rootRef:v,state:a}}var JJ,YJ,XJ,ZJ,QJ,$J,eY,tY,nY,rY,iY,aY=o((()=>{JJ=u(f(),1),mJ(),Hq(),vJ(),OJ(),au(),x(),Rk(),NI(),GP(),rJ(),Cm(),AJ(),Dv(),Pu(),Zd(),YJ=`--_item-swipe-travel`,XJ=`--_item-swipe-confirm`,ZJ=`--_item-swipe-pin`,QJ=`--_item-swipe-sign`,$J=`--_item-swipe-open`,eY=`--_item-swipe-slide`,tY=kJ.claim,nY=.25,rY={cover:null,isArmed:!1,phase:`idle`,side:`leading`},iY=.5})),oY=c({default:()=>cY});function sY(e,t){let n=e=>e.map(e=>e.id??``).join(`\\0`);return`${n(e)}\\u0001${n(t)}`}function cY({onBridge:e,leading:t,trailing:n,behavior:r,itemKey:i}){let a=e=>{let r=e===`leading`?t:n;return r[r.length-1]},o=qJ({behavior:r,canConfirm:e=>{let t=a(e);return t!=null&&t.isDisabled!==!0},fireOutermost:e=>{let t=a(e);return t==null||t.isDisabled===!0?!1:(t.onActivate({id:t.id??``,itemKey:i}),t.hasRemoval===!0)},sides:{leading:t.length,trailing:n.length}}),{onKeyDown:s}=o;(0,lY.useEffect)(()=>(e?.({onKeyDown:s}),()=>e?.(null)),[e,s]);let c=sY(t,n),l=(0,lY.useRef)(c),{close:u}=o;(0,lY.useEffect)(()=>{l.current!==c&&(l.current=c,u())},[u,c]);let d=PJ(o.state),f=(e,t)=>{if(t.length===0)return null;let n=t[t.length-1],a=r===`commit`,s=d&&o.state.side===e&&!a,c=o.panelRefs[e],{cover:l}=o.state,u=o.state.side===e&&l!=null&&l{let s=t.variant??`accent`,l=t.id??t.label,d=t===n,f=d?c.outer:c.entry(l),p=(0,uY.jsxs)(uY.Fragment,{children:[t.icon,(0,uY.jsx)(`span`,{children:t.label})]}),m=[dY.swipeEntry,fY[s],t.isDisabled===!0&&dY.swipeEntryDisabled,u!=null&&r!==u&&dY.swipeEntryCovered,d&&dY.swipeOuterEntry,d&&(e===`leading`?dY.swipeOuterEntryLeading:dY.swipeOuterEntryTrailing)];return a?(0,uY.jsx)(`span`,{ref:f,...Q(Y(`item-swipe-action`,{variant:s}),C(...m)),children:p},l):(0,uY.jsx)(`button`,{ref:f,type:`button`,\"aria-disabled\":t.isDisabled===!0||void 0,onClick:()=>o.activateEntry(()=>{t.onActivate({id:t.id??``,itemKey:i})},t.hasRemoval===!0,r),...t.isDisabled===!0?YN():null,...Q(Y(`item-swipe-action`,{variant:s}),aS.focusVisible(...m)),children:p},l)};return(0,uY.jsx)(`div`,{ref:c.panel,\"data-swipe-panel\":e,inert:!s||void 0,\"aria-hidden\":a?!0:void 0,className:`x10l6tqk x10no89f x17y0mx6 x7giv3 x1pjcqnp x47corl x145au52`,children:(0,uY.jsx)(`div`,{...Q(Y(`item-swipe-panel`,{side:e}),C(dY.swipeTrack,e===`leading`?dY.swipeTrackLeading:dY.swipeTrackTrailing,u!=null&&dY.swipeTrackCovered,pY[(u==null?n:t[u]).variant??`accent`])),children:t.map((e,t)=>f(e,t))})},e)};return(0,uY.jsxs)(uY.Fragment,{children:[f(`leading`,t),f(`trailing`,n)]})}var lY,uY,dY,fY,pY,mY=o((()=>{lY=u(f(),1),D(),bC(),vr(),ZN(),oS(),aY(),uY=mc(),dY={swipeTrack:{kVAEAm:`x10l6tqk`,kYYq5F:`x10no89f`,kzqmXN:`x75ztot`,kVQacm:`x7giv3`,kaIpWk:`x1pjcqnp`,k1xSpc:`x78zum5`,kHBbk8:`xc8icb0`,kWkggS:`x10xzikg`,k3aq6I:`x1kncwj0`,kgeoSG:`x1cpjm7i`,kEoFBp:`x1hmns74`,kFcpXp:`xxx281p`,kxmVGU:`xy5mcqj`,k5QlbN:`x124lp2h`,km8f2m:`xkk1bqk`,$$css:!0},swipeTrackCovered:{k5QlbN:`xfbg1o9`,$$css:!0},swipeTrackLeading:{kt4wiu:`x1eu7cjg`,kXwgrk:`x15zctf7`,$$css:!0},swipeTrackTrailing:{kLqNvP:`x2hswfz`,$$css:!0},swipeEntry:{k3aq6I:`x1bdunyo`,kmuXW:`x2lah0s`,kfzvcC:`x67bb7w`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kOIVth:`xzye2dw`,k7Eaqz:`x187xtus`,kZKoxP:`x5yr21d`,kg3NbH:`xrrkdod`,kB7OPa:`x9f619`,kogj98:`x1ghz6dp`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kysU6D:`xjyslct`,kkrTdU:`x1ypdohk x16khyan`,kMv6JI:`x9ynric`,kGuDYH:`x141an7d`,k63SB2:`x1e4wzip`,kLWn49:`x1ltkj2j`,khDVqt:`xuxw1ft`,$$css:!0},swipeEntryCovered:{kSiTet:`xg01cxk`,$$css:!0},swipeEntryDisabled:{ku685b:`xj12m9j`,$$css:!0},swipeOuterEntry:{kVAEAm:`x1n2onr6`,k3aq6I:`xj2142y`,$$css:!0},swipeOuterEntryLeading:{k5JduY:`x1s928wv`,kwXMNM:`x1j6awrg`,kSy8m5:`xd54j2p`,kH8aOt:`x8m5ogj`,kkgrvl:`x1ng0ck5`,ks3ayO:`x1pvq41x`,kloYau:`x2q1x1w`,$$css:!0},swipeOuterEntryTrailing:{k5JduY:`x1s928wv`,kwXMNM:`x1j6awrg`,kSy8m5:`xd54j2p`,kc1e00:`x1qyz1mp`,kkgrvl:`x1ng0ck5`,ks3ayO:`x1pvq41x`,kloYau:`x2q1x1w`,$$css:!0}},fY={neutral:{kWkggS:`x17x4s8c`,kMwMTN:`x1tgivj0`,$$css:!0},accent:{kWkggS:`x1ewilqj`,kMwMTN:`x17wrial`,$$css:!0},destructive:{kWkggS:`x1pjz0fi`,kMwMTN:`x1m024r3`,kMzoRj:`xc342km x13rsnn2`,ksu8eU:`xng3xce xx61lck`,kVAM5u:`x1w1tqly`,$$css:!0}},pY={neutral:{kLkRvE:`xgpd5ji`,$$css:!0},accent:{kLkRvE:`x1tzqye7`,$$css:!0},destructive:{kLkRvE:`x177gpuc`,$$css:!0}},cY.displayName=`SwipeActionsLayer`}));function hY({swipe:e,swipeActions:t,isDisabled:n,isDelegate:r,isLinkRoot:i,role:a}){return e==null?t!=null&&((t.leading?.length??0)>0||(t.trailing?.length??0)>0)&&!n&&!r&&!i&&(a==null||xY.has(a)):EK(e)?.serves({role:a??void 0,isDisabled:n,isDelegate:r,isLinkRoot:i})??!1}function gY({as:e=`div`,marker:t,startContent:n,label:r,description:i,endContent:a,align:o=`center`,density:s=`balanced`,labelLines:c,descriptionLines:l,layout:u=`stacked`,onClick:d,interactiveRef:f,href:p,target:m,rel:h,isHighlighted:g=!1,isSelected:_=!1,isDisabled:v=!1,swipe:y,swipeActions:x,swipeBehavior:S,xstyle:w,className:T,style:E,ref:D,role:O,...k}){let A=gO(),j=(0,_Y.use)(_K),M=(0,_Y.use)(hK),N=nO(),P=v?`a`:N,F=(0,_Y.useRef)(null),I=(0,_Y.useRef)(null),L=Hie(F),R=f!=null,z=(0,_Y.useRef)(null),{onClick:B,onPointerDown:V}=rb({containerRef:z,interactiveRef:f??F,disabled:v});OC(`Item`,\"`interactiveRef` is mutually exclusive with `onClick`/`href`. In delegation mode the row only forwards clicks to the referenced control, so `onClick`/`href` are ignored. Drop one of them.\",R&&(d!=null||p!=null));let H=d!=null||p!=null||R,ee=g||_,{target:U,rel:te}=Wie(m,h),W=O!=null,G=typeof e!=`string`&&p!=null,ne=(d!=null||p!=null)&&!W&&!G,re=e=>eb(e,e.currentTarget,p==null?I.current:F.current),ie=(0,_Y.useRef)(null),K=(0,_Y.useCallback)(e=>{ie.current=e},[]),q=y==null?null:EK(y)?.attach({role:O,isDisabled:v,isDelegate:R,isLinkRoot:G},K)??null,ae=y==null?x:void 0,oe=ae?.leading??[],se=ae?.trailing??[],ce=hY({swipe:void 0,swipeActions:ae,isDisabled:v,isDelegate:R,isLinkRoot:G,role:O});OC(`Item`,'`swipeBehavior=\"commit\"` fires no entry on a side with two or more entries. Give a committing side one entry, or use `swipeBehavior=\"reveal\"`.',ce&&S===`commit`&&(oe.length>1||se.length>1)),OC(`Item`,\"`swipe` is set, so the deprecated `swipeActions` and `swipeBehavior` are ignored.\",y!=null&&(x!=null||S!=null));let le=G?{href:v?void 0:p,target:v?void 0:U,rel:v?void 0:te}:null,J=O!=null&&bY.has(O),ue=k[`aria-current`]??(_&&!J?!0:void 0),de=!W&&!G&&(R||p!=null||d!=null),fe=ue===!1||ue===`false`?void 0:ue;b(()=>{let e=f?.current;if(!R||!de||e==null||fe===void 0||e.hasAttribute(`aria-current`))return;let t=String(fe);return e.setAttribute(`aria-current`,t),()=>{e.getAttribute(`aria-current`)===t&&e.removeAttribute(`aria-current`)}});let pe=(0,_Y.useId)(),me=bO(i),he=(0,_Y.useId)(),ge=(0,_Y.use)(pK)&&bO(r)?he:null,_e=typeof r==`string`,ve=typeof i==`string`,ye=c==null?_e?SY.labelSingleTruncate:null:c===1?SY.labelSingleTruncate:SY.labelMultiTruncate,be=u===`inline`&&me,xe=l==null?ve||be?SY.descriptionSingleTruncate:null:l===1?SY.descriptionSingleTruncate:SY.descriptionMultiTruncate,Se=(0,vY.jsxs)(vY.Fragment,{children:[(0,vY.jsx)(`span`,{id:ge??void 0,...C(SY.label,be&&SY.inlineLabel,ye,c!=null&&c>1&&CY.lineClamp(c)),children:r}),me&&(0,vY.jsx)(`span`,{id:pe,...C(SY.description,be&&SY.inlineDescription,xe,l!=null&&l>1&&CY.lineClamp(l)),children:i})]}),Ce=M&&d==null&&p!=null&&!G,we=e=>{if(!v&&!e.target.closest(`button, a, input, select, textarea`)){if(Ce){let t=e.currentTarget,n=t.getBoundingClientRect(),r=e.clientXn.right||e.clientYn.bottom;e.detail>0&&(r||ss(t.ownerDocument.defaultView))&&B(e)}else d?.(e)}},Te=(0,_Y.use)(yK),Ee=(0,vY.jsxs)(vY.Fragment,{children:[bO(n)&&(0,vY.jsx)(`span`,{...{0:{className:`x3psx0u x78zum5`},1:{className:`x3psx0u x78zum5 x6s0dn4 x4jt1l0 xk9ib7f x1xb3ux x1899uy6 x1xcinxp`}}[o===`first-line`|0],children:n}),W||R?(0,vY.jsx)(`span`,{...{0:{className:`x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h`},2:{className:`x78zum5 x98rzlu xeuugli x1yc453h x1q0g3np x6s0dn4 x1lfs0n9`},1:{className:`x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h xbyyjgo`},3:{className:`x78zum5 x98rzlu xeuugli x1yc453h x1q0g3np x6s0dn4 x1lfs0n9 xbyyjgo`}}[!!be<<1|!!v],children:Se}):p!=null&&!G?(0,vY.jsx)(P,{ref:L,...v?{role:`link`,\"aria-disabled\":!0,tabIndex:0}:{href:p,target:U,rel:te},\"aria-current\":ue,...SK,...{0:{className:`xmper1u x16khyan x1heor9g x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h x1hl2dhg x1a2a7pz`},2:{className:`xmper1u x16khyan x1heor9g x78zum5 x98rzlu xeuugli x1yc453h x1hl2dhg x1a2a7pz x1q0g3np x6s0dn4 x1lfs0n9`},1:{className:`xmper1u x16khyan x1heor9g x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h x1hl2dhg x1a2a7pz xbyyjgo`},3:{className:`xmper1u x16khyan x1heor9g x78zum5 x98rzlu xeuugli x1yc453h x1hl2dhg x1a2a7pz x1q0g3np x6s0dn4 x1lfs0n9 xbyyjgo`}}[!!be<<1|!!v],children:Se}):d==null?(0,vY.jsx)(`span`,{...{0:{className:`x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h`},2:{className:`x78zum5 x98rzlu xeuugli x1yc453h x1q0g3np x6s0dn4 x1lfs0n9`},1:{className:`x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h xbyyjgo`},3:{className:`x78zum5 x98rzlu xeuugli x1yc453h x1q0g3np x6s0dn4 x1lfs0n9 xbyyjgo`}}[!!be<<1|!!v],children:Se}):(0,vY.jsx)(`button`,{ref:I,type:`button`,onClick:d,\"aria-current\":ue,\"aria-disabled\":v||void 0,...v?YN():null,...SK,...{0:{className:`xmper1u x16khyan x1heor9g x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h x1a2a7pz`},2:{className:`xmper1u x16khyan x1heor9g x78zum5 x98rzlu xeuugli x1yc453h x1a2a7pz x1q0g3np x6s0dn4 x1lfs0n9`},1:{className:`xmper1u x16khyan x1heor9g x78zum5 xdt5ytf x98rzlu xeuugli x1yc453h x1a2a7pz xbyyjgo`},3:{className:`xmper1u x16khyan x1heor9g x78zum5 x98rzlu xeuugli x1yc453h x1a2a7pz x1q0g3np x6s0dn4 x1lfs0n9 xbyyjgo`}}[!!be<<1|!!v],children:Se}),bO(a)&&(0,vY.jsx)(`span`,{...{0:{className:`x3psx0u x78zum5 xvc5jky`},2:{className:`x3psx0u x78zum5 xvc5jky x6s0dn4 x4jt1l0 xk9ib7f x1xb3ux x1899uy6 x1xcinxp`},1:{className:`x3psx0u x78zum5 xvc5jky xbyyjgo`},3:{className:`x3psx0u x78zum5 xvc5jky x6s0dn4 x4jt1l0 xk9ib7f x1xb3ux x1899uy6 x1xcinxp xbyyjgo`}}[(o===`first-line`)<<1|!!v],children:a}),Te]}),De=gx(D,z),Oe=R||Ce?De:D,ke=R?B:W?d:H?we:void 0,Ae=q!=null||ce?{onKeyDown:e=>ie.current?.onKeyDown(e)}:void 0;return(0,vY.jsxs)(e,{ref:Oe,...k,...Ae,...le,...R?{onPointerDown:EM(k.onPointerDown,V)}:ne&&!v?{onPointerDown:EM(k.onPointerDown,re)}:null,...R?{[ab]:`true`}:void 0,\"aria-selected\":J&&_||void 0,\"aria-current\":de?void 0:ue,\"aria-disabled\":v||void 0,...H?A:void 0,...Q(Y(`item`,{density:s,align:o,highlighted:g?`highlighted`:null,selected:_?`selected`:null,disabled:v?`disabled`:null}),C(R?iS.focusWithin:TK,SY.root,wY[s],o===`start`&&SY.alignStart,o===`first-line`&&SY.alignFirstLine,H&&SY.interactive,H&&(ee?sO.backgroundImage:sO.backgroundColor),H&&dO.cell,H&&ee&&(_?dO.cellOnImage:dO.cellOnImagePressOnly),G&&SY.linkRoot,g&&SY.highlighted,_&&SY.selected,v&&!W&&SY.disabled,q?.rootStyle,ce&&kK.root,w),T,E),role:O,onClick:ke,children:[(0,vY.jsx)(yK,{value:null,children:(0,vY.jsx)(uK,{value:me?pe:null,children:(0,vY.jsx)(fK,{value:ge,children:(0,vY.jsx)(pK,{value:!1,children:(0,vY.jsxs)(hK,{value:!1,children:[bO(t)&&t,bO(t)&&j===t?(0,vY.jsx)(`span`,{...CK,...{0:{className:`x78zum5 x98rzlu xeuugli x1h91t0o xkh2ocl x14kbac9`},1:{className:`x78zum5 x98rzlu xeuugli x1h91t0o x14kbac9 xoi2r2e`}}[o===`first-line`|0],children:Ee}):Ee]})})})})}),q?.layer,ce&&(0,vY.jsx)(_Y.Suspense,{fallback:null,children:(0,vY.jsx)(yY,{onBridge:K,leading:oe,trailing:se,behavior:S??`reveal`})})]})}var _Y,vY,yY,bY,xY,SY,CY,wY,TY=o((()=>{_Y=u(f(),1),D(),xO(),bC(),DM(),Uie(),dK(),mK(),gK(),vK(),bK(),vx(),x(),Gie(),iO(),cb(),MC(),vr(),oS(),Kie(),cO(),hO(),ds(),ZN(),vO(),OK(),Yie(),vY=mc(),rC(),yY=(0,_Y.lazy)(async()=>nC(()=>Promise.resolve().then(()=>(mY(),oY)),[])),bY=new Set([`option`,`tab`,`row`,`gridcell`,`columnheader`,`rowheader`,`treeitem`]),xY=new Set([`listitem`]),SY={root:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kOIVth:`x1txdalj`,\"--_item-inset-inline\":`xw1s368`,kg3NbH:`xaip428`,kVAEAm:`x1n2onr6`,kB7OPa:`x9f619`,k9WMMc:`x1yc453h`,kaIpWk:`xh6dtrn`,$$css:!0},alignStart:{kGNEyG:`x1cy8zhl`,$$css:!0},alignFirstLine:{kGNEyG:`x1pha0wt`,$$css:!0},interactive:{kkrTdU:`x1ypdohk x16khyan`,k1ekBW:`x15406qy`,kIyJzY:`xkvfbh3`,kAMwcw:`xlr8y92`,$$css:!0},highlighted:{kWkggS:`x1lmrjuc`,$$css:!0},selected:{kWkggS:`xgcxg3y`,$$css:!0},disabled:{kkrTdU:`xt0e3qv`,kfzvcC:`x47corl`,$$css:!0},linkRoot:{kMwMTN:`x1heor9g`,kybGjl:`x1hl2dhg`,$$css:!0},inlineLabel:{kmuXW:`x2lah0s`,$$css:!0},inlineDescription:{kmuXW:`xs83m0k`,k7Eaqz:`xeuugli`,$$css:!0},label:{kMwMTN:`x5tbw38`,kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,$$css:!0},labelSingleTruncate:{kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,$$css:!0},labelMultiTruncate:{kVQacm:`xb3r6kr`,k1xSpc:`x104kibb`,kgKLqz:`x1ua5tub`,$$css:!0},description:{kMwMTN:`x1gb3s7i`,kGuDYH:`x141an7d`,kLWn49:`x1ltkj2j`,$$css:!0},descriptionSingleTruncate:{kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,$$css:!0},descriptionMultiTruncate:{kVQacm:`xb3r6kr`,k1xSpc:`x104kibb`,kgKLqz:`x1ua5tub`,$$css:!0}},CY={lineClamp:e=>[{kJFfOR:e==null?e:`x1yhjpo9`,$$css:!0},{\"--x-WebkitLineClamp\":e??void 0}]},wY={compact:{k8WAf4:`xu0wf1k`,$$css:!0},balanced:{k8WAf4:`xce4md1`,$$css:!0},spacious:{k8WAf4:`x8o8v82`,\"--_item-inset-inline\":`x1ytau7y`,$$css:!0}},gY.displayName=`Item`}));function EY(e){if(e!=null)return()=>{lie(e)&&uie(e)}}function DY({label:e,description:t,startContent:n,endContent:r,onClick:i,interactiveRef:a,href:o,target:s,rel:c,isDisabled:l=!1,isSelected:u=!1,itemKey:d,align:f,xstyle:p,className:m,style:h,ref:g,..._}){let v=(0,OY.use)(tG),{swipe:y}=_,b=(0,OY.useMemo)(()=>y==null?void 0:Jie(y,d),[y,d]),x=(0,OY.useRef)(null),S=v!=null,w=v?.reorder,T=w!=null&&d!=null&&(w.options.isReorderable?.(d)??!0),E=T&&r==null,D=_[`aria-label`],O=_[`aria-labelledby`],k=E?f??`center`:void 0,A=w?.session.Handle,j=(0,OY.useMemo)(()=>T&&A!=null&&d!=null?(0,kY.jsx)(A,{label:e,itemKey:d,isDisabled:l,rowLabel:D,rowLabelledBy:O,rowAlign:k}):null,[A,T,l,d,e,k,D,O]),M=(i!=null||o!=null||a!=null)&&!l,N=gx(g,x,KD(M),EY),P=S&&M&&hY({swipe:_.swipe,swipeActions:_.swipeActions,isDisabled:l,isDelegate:a!=null,isLinkRoot:!1,role:_.role}),F=v?.density??`balanced`,I=v?.hasDividers??!1,L=v?.edge??`padded`,R=v?.listStyle??`none`,z=R!==`none`,B=R===`none`?null:v?.marker??R,V=B==null?void 0:v?.task,H=v?.hasMarkerGutter===!0,ee=R===`decimal`&&v?.isOutsideNumberColumns!==!0,U=(0,OY.useMemo)(()=>V==null?B===`disc`||B===`circle`||B===`square`?(0,kY.jsx)(`span`,{className:`xoi2r2e x9f619 x78zum5 x6s0dn4 xl56j7k x2lah0s x12xnipv x1233pnv`,children:(0,kY.jsx)(`span`,{...C(B===`disc`?jY.dot:B===`circle`?jY.circle:jY.square)})}):B==null?null:(0,kY.jsx)(`span`,{...C(jY.number,MY[B],H&&jY.gutterHang)}):(0,kY.jsx)(`span`,{className:`xqcrz7y x78zum5 x6s0dn4 x2lah0s xuhift9`,children:(0,kY.jsx)(nK,{size:`sm`,value:V.isChecked,label:V.label,isLabelHidden:!0,isReadOnly:!0})}),[V,B,H]),te=w&&!j?(0,kY.jsx)(w.session.RowName,{row:x,label:e}):null,W=(0,kY.jsx)(gY,{as:`li`,ref:N,marker:U,startContent:n,label:e,description:t,endContent:j!=null&&!E?(0,kY.jsxs)(kY.Fragment,{children:[r,j]}):r,onClick:i,interactiveRef:a,href:o,target:s,rel:c,isDisabled:l,isSelected:u,align:f,density:F,xstyle:[ee&&AY.numberColumns,R===`decimal`&&!ee&&AY.spanNumberColumns,z&&AY.withCounter,dG.row,I&&AY.withDivider,I&&NY.noRadius,I&&M&&dO.overDividers,M&&$D.layer,M&&S&&AY.bandRaised,P&&dG.raisedSwipeRow,L===`flush`&&AY.edgeFlush,L===`outset`&&AY.edgeOutset,L===`bleed`&&AY.edgeBleed,j&&w?.session.rowStyle,p],...Q(Y(`list-item`),{className:m,style:h}),...aie(d),..._,swipe:b}),G=(0,kY.jsx)(hK,{value:!0,children:W});return(0,kY.jsxs)(kY.Fragment,{children:[(0,kY.jsx)(yK,{value:E?j:null,children:(0,kY.jsx)(pK,{value:j!=null,children:ee?(0,kY.jsx)(_K,{value:U,children:G}):G})}),te]})}var OY,kY,AY,jY,MY,NY,PY=o((()=>{OY=u(f(),1),D(),rG(),cK(),bC(),hO(),TY(),gK(),vK(),mK(),bK(),OK(),vr(),vx(),bG(),oG(),fG(),XD(),eO(),kY=mc(),AY={numberColumns:{k1xSpc:`x78zum5 x1tx5i3l`,kumcoG:`x4w6khx`,kBCFzs:`x1osaytk`,$$css:!0},spanNumberColumns:{kBCFzs:`x1osaytk`,$$css:!0},withCounter:{kAmcRD:`xfrknyr`,$$css:!0},edgeFlush:{\"--_item-inset-inline\":`x1nwg5ib`,$$css:!0},edgeOutset:{keTefX:`xch736x`,k71WvV:`x2gtn1o`,$$css:!0},edgeBleed:{kZCmMZ:`xua885n`,kwRFfy:`x1pyz5s7`,kaIpWk:`x2u8bby`,krdFHd:`x1i0qwsa`,kfmiAY:`xn58dd1`,kVL7Gh:`xmitzzi`,kT0f0o:`x1gz0w9x`,$$css:!0},bandRaised:{kDVEDD:`xx13w5u`,$$css:!0},withDivider:{kt9PQ7:`x92x3c3`,kfdmCh:`x1q0q8m5`,kL6WhQ:`xw8gpjh`,kx8K5S:`x1t1lzn6`,kUOWJa:`x1tadims x1vz82uj`,$$css:!0}},jY={dot:{kzqmXN:`x1v4s8kt`,kZKoxP:`xols6we`,kaIpWk:`x16rqkct`,kWkggS:`x19aspcf`,$$css:!0},circle:{kzqmXN:`x1v4s8kt`,kZKoxP:`xols6we`,kaIpWk:`x16rqkct`,kMzoRj:`xmkeg23`,ksu8eU:`x1y0btm7`,kVAM5u:`xqcx1ss`,kWkggS:`xjbqb8w`,$$css:!0},square:{kzqmXN:`x1v4s8kt`,kZKoxP:`xols6we`,kWkggS:`x19aspcf`,$$css:!0},number:{kSGwAc:`xoi2r2e`,k1xSpc:`x78zum5`,kjj79g:`x13a6bvl`,kmuXW:`x2lah0s`,kMwMTN:`x1tgivj0`,kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,kcqcaj:`xss6m8b`,k7Eaqz:`x1x5mvkz`,kzqmXN:`x14atkfc`,khDVqt:`xuxw1ft`,$$css:!0},decimal:{kgeoSG:`xc2ndz5`,kkpA3r:`x1np0n6a`,$$css:!0},lowerAlpha:{kgeoSG:`x1mls8ih`,kkpA3r:`x1np0n6a`,$$css:!0},lowerRoman:{kgeoSG:`xdaf9gw`,kkpA3r:`x1np0n6a`,$$css:!0},gutterHang:{kzqmXN:`x12xnipv`,kkpA3r:`x46whw4`,kIuGQ2:`xtbmc8j`,$$css:!0}},MY={decimal:jY.decimal,\"lower-alpha\":jY.lowerAlpha,\"lower-roman\":jY.lowerRoman},NY={noRadius:{kaIpWk:`x2u8bby`,$$css:!0}},DY.displayName=`ListItem`}));cK(),tK(),hO(),cO(),PY(),rG(),dK(),vx(),vr(),iT(),Ww({\"@astryx.checkboxList.item.checkbox\":`Checkbox`});var FY={selected:{kWkggS:`xgcxg3y`,$$css:!0}},IY={type:`error`};function LY(e){let t=(0,X.use)(uK),n=(0,X.use)(AG);return(0,Z.jsx)(nK,{...e,\"aria-describedby\":QN(t??void 0,n?.disabledMessageID),status:n?.isInvalid?IY:void 0})}function RY({label:e,\"aria-label\":t,value:n,description:r,endContent:i,isDisabled:a=!1,isLoading:o=!1,isChecked:s,onCheck:c,ref:l,xstyle:u,className:d,style:f,onClick:p,align:m,...h}){let g=nT(),_=(0,X.use)(AG);if(_&&_.value!==void 0&&n===void 0)throw Error(\"CheckboxListItem requires a `value` prop when used inside CheckboxList with a value array.\");let v=typeof e!=`string`,y=(0,X.useId)(),b=v&&t==null,x=t??(v?g(`@astryx.checkboxList.item.checkbox`):e),S=((0,X.use)(tG)?.density??`balanced`)===`compact`?`sm`:`md`,C=(_?.isDisabled??!1)||a,w=_?.isReadOnly??!1,T=o||n!==void 0&&(_?.loadingValues?.includes(n)??!1),E=!1;_&&_.value!==void 0&&n!==void 0?E=_.value.includes(n):s!==void 0&&(E=s);let D=!w&&(_!=null||c!=null),O=(0,X.useRef)(null),k=D||p!=null,A=_?.requiredGroup,j=E===!0,M=!C&&!w,N=gx(O,(0,X.useCallback)(e=>e!=null&&A!=null?A.register(e,{isChecked:j,isEnabled:M}):void 0,[A,j,M])),P=k&&!C,F=w&&p!=null?e=>{p(e),e.stopPropagation()}:p,I=()=>{C||w||T||(_&&_.value!==void 0&&n!==void 0?_.value.includes(n)?_.onChange?.(_.value.filter(e=>e!==n),n):_.onChange?.([..._.value,n],n):c?.(E!==!0))},L=E===!0&&!C&&!w;return(0,Z.jsx)(DY,{...h,..._r({selected:L?`selected`:null}),ref:l,label:b?(0,Z.jsx)(`span`,{id:y,children:e}):e,description:r,endContent:i,align:m,isDisabled:C,interactiveRef:k?O:void 0,\"aria-busy\":T||void 0,xstyle:[P&&pO.checkboxRow,P&&sO.pressedAlpha,L&&FY.selected,u],className:d,style:f,startContent:(0,Z.jsx)(eK,{value:P,children:(0,Z.jsx)(LY,{ref:N,label:x,\"aria-labelledby\":b?y:void 0,isLabelHidden:!0,value:E,onChange:()=>I(),onClick:F,isDisabled:C,isReadOnly:w,isLoading:T,size:S})})})}RY.displayName=`CheckboxListItem`,D(),vr();var zY={root:{k2ei4v:`xtpqe59`,kVhnKS:`x1t7ytsu`,kGJrpR:`x14ydlgx`,kZCmMZ:`x1rey3nv`,kMwMTN:`xv1l7n4`,kHjlTd:`x1mzt3pk`,keTefX:`x1lziwak`,k71WvV:`x14z9mp`,keoZOQ:`xdj266r`,k1K539:`xat24cr`,$$css:!0}};function BY({children:e,cite:t,xstyle:n,className:r,style:i,ref:a,...o}){return(0,Z.jsxs)(`blockquote`,{ref:a,...Q(Y(`blockquote`),C(zY.root,n),r,i),...o,children:[e,bO(t)&&(0,Z.jsx)(`cite`,{className:`x1lliihq xtbrsbv x141an7d x1ltkj2j x1j61x8r`,children:t})]})}BY.displayName=`Blockquote`,CU(),bj(),ys();var VY=new WeakSet;function HY(e){VY.add(e)}function UY(e){return VY.has(e)}var WY={viewportHeight:0,scrollTop:0,scrollHeight:0,startOffset:0,isMeasured:!1,viewportWidth:0,scrollLeft:0,revision:0,layoutRevision:0};function GY(){let e={current:null},t={current:null},n={current:null},r=new Set,i=0,a=WY,o,s=null;function c(e){a=e;for(let e of r)e()}function l(n=!1,o=!1){if(r.size===0)return;let l=e.current,u=t.current;if(l==null||u==null||!l.isConnected)return;if(!n&&!o&&a.isMeasured&&s===l){let e=l.scrollTop,t=i>0?Math.abs(l.scrollLeft):a.scrollLeft;(e!==a.scrollTop||t!==a.scrollLeft)&&c({...a,scrollTop:e,scrollLeft:t});return}let d=l.clientHeight;if(d<=0)return;let f=l.scrollTop,p={viewportHeight:d,scrollTop:f,scrollHeight:l.scrollHeight,startOffset:u.getBoundingClientRect().top-l.getBoundingClientRect().top+f-l.clientTop,isMeasured:!0,viewportWidth:l.clientWidth,scrollLeft:i>0?Math.abs(l.scrollLeft):0,revision:a.revision+(n||o?1:0),layoutRevision:a.layoutRevision+ +!!o};s=l,(n||o||a.viewportHeight!==p.viewportHeight||a.scrollTop!==p.scrollTop||a.scrollHeight!==p.scrollHeight||a.startOffset!==p.startOffset||a.viewportWidth!==p.viewportWidth||a.scrollLeft!==p.scrollLeft||!a.isMeasured)&&c(p)}function u(){let t=e.current;t!=null&&r.size!==0&&o==null&&(o=bU(t,l),l(!0,!0))}function d(e){return r.add(e),u(),()=>{r.delete(e),r.size===0&&(o?.(),o=void 0)}}let f={subscribe:d,subscribeInline(e){i++;let t=d(e);return l(),()=>{i--,t()}},getSnapshot:()=>a,getServerSnapshot:()=>WY};function p(t){if(e.current===t)return;let n=e.current;if(o?.(),o=void 0,e.current=t,n!=null&&queueMicrotask(()=>{n.isConnected||HA(n)}),t!=null)return u(),()=>{e.current===t&&p(null)}}function m(e){t.current=e,l(!0,!0)}function h(e){n.current=e,l(!0,!0)}return{viewport:e,body:t,table:n,geometry:f,setViewport:p,setBody:m,setTable:h,refresh:l}}var KY=_s(`TableRuntimeContext`,1,null);function qY(e,t,n){let r=new Map,i=e.map((e,i)=>{if(!n){let n=t==null?i:typeof t==`function`?t(e):String(e[t]);return{key:n,reactKey:n,identityStatus:`valid`}}if(t==null)return{key:void 0,reactKey:`invalid:${i}`,identityStatus:`missing`};let a;try{a=typeof t==`function`?t(e):e[t]}catch{return{key:void 0,reactKey:`invalid:${i}`,identityStatus:`invalid`}}if(typeof a!=`string`&&(typeof a!=`number`||!Number.isFinite(a)))return{key:void 0,reactKey:`invalid:${i}`,identityStatus:`invalid`};let o=typeof t==`function`?a:String(a);return r.set(o,(r.get(o)??0)+1),{key:o,reactKey:`${typeof o==`number`?`n`:`s`}:${o}`,identityStatus:`valid`}});return n?i.map((e,t)=>e.key!=null&&(r.get(e.key)??0)>1?{...e,identityStatus:`duplicate`,reactKey:`duplicate:${t}`}:e):i}function JY(e){let t=e.find(e=>e.rowModel!==`flat`&&(e.rowModel!=null||e.transformBodyRow!=null||e.transformBodyCell!=null));return{rowModel:t?.rowModel??(t?`custom`:`flat`)}}function YY(e){return Number.isFinite(e)&&e>0}function XY(e){let{rowCount:t,rowHeight:n,viewportHeight:r,scrollTop:i,startOffset:a,isMeasured:o,focusIndex:s}=e,c=t*n;if(!Number.isSafeInteger(t)||t<0||!YY(n)||!YY(r)||!Number.isFinite(c)||!Number.isFinite(a+c)||!Number.isFinite(r/n)||!Number.isFinite(i)||e.scrollHeight!==void 0&&(!Number.isFinite(e.scrollHeight)||e.scrollHeight<0)||!Number.isFinite(a)||a<0)return null;if(t===0)return{segments:[],start:0,end:0,firstVisibleIndex:0,offset:0,totalHeight:0};let l=Math.max(a+c,e.scrollHeight??0),u=Math.max(0,l-r),d=Math.min(u,Math.max(0,i)),f=d-a,p=Math.min(c,Math.max(0,f)),m=Math.min(c,Math.max(0,d+r-a)),h=o?Math.min(t-1,Math.floor(p/n)):0,g=o?f<0?f:p-h*n:0,_=o?Math.max(0,h-4):0,v=o?Math.min(t,Math.max(h,Math.ceil(m/n))+4):Math.min(t,Math.ceil(r/n)+4);return{segments:ZY(t,n,_,v,s),start:_,end:v,firstVisibleIndex:h,offset:g,totalHeight:c}}function ZY(e,t,n,r,i){if(e===0)return[];let a=[{start:n,end:r}];i!==void 0&&Number.isInteger(i)&&i>=0&&i=r)&&(a.push({start:i,end:i+1}),a.sort((e,t)=>e.start-t.start));let o=[];for(let e of a){let t=o[o.length-1];t&&e.start<=t.end?t.end=Math.max(t.end,e.end):e.end>e.start&&o.push({...e})}let s=[],c=0;for(let e of o)e.start>c&&s.push({type:`gap`,start:c,end:e.start,height:(e.start-c)*t}),s.push({type:`rows`,...e}),c=e.end;return c[e,t])),l=c.get(t[r]);if(l===void 0)for(let e=r+1;e=0&&(l=c.get(t[e]),l===void 0);e--);let{offsets:u}=e,d=Math.max(0,s+(u?u[n.length]??0:n.length*a)+(e.trailingContentHeight??0)-o);if(u){let e=u[l??0]??0,t=l===void 0?0:u[l+1]-e,n=Math.min(1,Math.max(0,i));return Math.max(0,Math.min(d,s+e+n*t))}let f=l===void 0?Math.min(0,Math.max(-s,i)):Math.min(Math.max(-s,i),a);return Math.min(d,s+(l??0)*a+f)}var $Y;function eX(e,t){if($Y===void 0&&($Y=typeof OffscreenCanvas>`u`?null:new OffscreenCanvas(1,1).getContext(`2d`)),$Y!=null)return $Y.font=e,$Y.measureText(t).width}function tX(e){return Number.parseFloat(e)||0}x(),bj(),Hf();function nX({keyIndices:e,isActive:t,viewport:n,focusContainer:r}){let[i,a]=(0,X.useState)(),o=(0,X.useRef)(null);If(n,t);let s=i===void 0?void 0:e.get(i);i!==void 0&&s===void 0&&a(void 0);let c=(0,X.useCallback)((e,t)=>{o.current=BA(t??r.current)??o.current,a(e)},[r]),l=(0,X.useCallback)(()=>{o.current=null,a(void 0)},[]);return b(()=>{o.current!=null&&(i===void 0||s===void 0)&&(VA(o.current,n.current,null,{preventScroll:!0}),o.current=null)}),{focusIndex:s,onItemFocus:c,onItemBlur:l}}x();var rX=Object.freeze({viewportHeight:0,scrollTop:0,startOffset:0,isMeasured:!1}),iX=()=>rX,aX=()=>()=>{};function oX(e,t){e.scrollTop=t}function sX({items:e,keys:t,rowCount:n,pitch:r,isEligible:i,canWindow:a,geometry:o,viewport:s,focusContainer:c}){let l=(0,X.useSyncExternalStore)(a?o.subscribe:aX,a?o.getSnapshot:iX,a?o.getServerSnapshot:iX),[u,d]=(0,X.useState)(),f=(0,X.useMemo)(()=>{let e=new Map;if(i)for(let n=0;n=0?l:g!=null&&g.pitch===r?g.geometry:{viewportHeight:r?.viewportHeight??0,scrollTop:0,startOffset:0,isMeasured:!1},v=g!==void 0&&(g.items!==e||g.keys!==t||g.pitch.rowHeight!==r?.rowHeight||g.pitch.viewportHeight!==r?.viewportHeight),y=a&&v&&r&&g?QY({previousKeys:g.keys,keys:t,keyIndices:f,firstVisibleIndex:g.plan.firstVisibleIndex,offset:g.plan.offset<0?g.plan.offset:g.plan.offset/g.pitch.rowHeight*r.rowHeight,rowHeight:r.rowHeight,viewportHeight:_.viewportHeight,startOffset:_.startOffset,trailingContentHeight:Math.max(0,(g.geometry.scrollHeight??0)-g.geometry.startOffset-g.plan.totalHeight)}):void 0,x=u?.pending,S=u?.source===o&&x!==void 0&&x.snapshot.scrollTop===l.scrollTop&&(x.to!==l.scrollTop||x.snapshot===l),C=y??(S?x.to:void 0),w=C??_.scrollTop,T=a&&r?XY({rowCount:n,rowHeight:r.rowHeight,viewportHeight:_.viewportHeight,scrollTop:w,scrollHeight:_.scrollHeight,startOffset:_.startOffset,isMeasured:_.isMeasured,focusIndex:p}):null,E=T!==null,D=T?.start??0,O=T?.end??n,k=r?.rowHeight??0;T!==null&&r!==void 0?(u===void 0||u.source!==o||u.snapshot!==l||g===void 0||g.items!==e||g.keys!==t||g.pitch!==r)&&d({source:o,snapshot:l,window:{items:e,keys:t,pitch:r,geometry:{..._,scrollTop:w},plan:T},pending:y===void 0?S?x:void 0:{snapshot:l,to:y}}):u!==void 0&&d(void 0);let A=(0,X.useMemo)(()=>E?ZY(n,k,D,O,p):n===0?[]:[{type:`rows`,start:0,end:n}],[E,D,O,n,k,p]);return b(()=>{E&&r&&T&&C!==void 0&&s.current&&Math.abs(s.current.scrollTop-C)>.5&&oX(s.current,C)}),{segments:A,plan:T,isWindowed:E,snapshot:l,onItemFocus:m,onItemBlur:h}}Xn();var cX=Wn(`table/virtualization-capability`,1);function lX(e){if(typeof e==`object`&&e&&cX in e)return e[cX]}Xn();var uX=Wn(`table/columns-virtualization-capability`,1);function dX(e){return typeof e==`object`&&e&&uX in e?e[uX]:void 0}function fX(e){let t={};for(let n of Array.isArray(e)?e:e==null?[]:[e]){let e=dX(n);if(lX(n)!=null&&t.rows==null)t.rows=n;else if(e!=null&&t.columns==null)t.columns=e;else return{invalidReason:`virtualization is not a value from useTableRowsVirtualization or useTableColumnsVirtualization, or a virtualization list with at most one of each`}}return t}function pX(e){if(e.getAttribute(`aria-hidden`)===`true`)return;let t=e.getAttribute(`aria-colindex`);return t==null?e.cellIndex:Number(t)-1}function mX(e,t){return Array.from(e.cells).find(e=>pX(e)===t)}x(),MC();var hX=new Set,gX=new Map;function _X(e){return Math.round(e*100)/100}function vX(e,t){if(e.size!==t.size)return!1;for(let[n,r]of e){let e=t.get(n);if(e===void 0||Math.abs(e-r)>.5)return!1}return!0}function yX(e){let t=e.ownerDocument.defaultView;if(t==null)return;let n=e.ownerDocument.createTreeWalker(e,t.NodeFilter.SHOW_TEXT),r=null;for(let e=n.nextNode();e!=null;e=n.nextNode())if(e.textContent?.trim()){r=e.parentElement;break}if(r==null)return;let i=t.getComputedStyle(r);if(i.fontSize===``||i.fontFamily===``)return;let a=[i.fontStyle,i.fontWeight,i.fontSize].filter(e=>e!==``).concat(i.fontFamily).join(` `),o=i.letterSpacing===`normal`?0:tX(i.letterSpacing),s=0;for(let n=r;n!=null&&e.contains(n);n=n.parentElement){let e=n===r?i:t.getComputedStyle(n);s+=tX(e.paddingLeft)+tX(e.paddingRight)+tX(e.borderLeftWidth)+tX(e.borderRightWidth)}return{font:a,spacing:o,chrome:s}}function bX({font:e,spacing:t,chrome:n},r){let i=eX(e,r);if(i!==void 0&&i>0)return Math.ceil(i+t*r.length+n+1)}function xX(e){let t=e.ownerDocument.defaultView;if(t==null)return!1;let n=e.ownerDocument.createTreeWalker(e,t.NodeFilter.SHOW_TEXT),r=e.ownerDocument.createRange();if(typeof r.getBoundingClientRect!=`function`)return!1;for(let i=n.nextNode();i!=null;i=n.nextNode()){r.selectNodeContents(i);let n=r.getBoundingClientRect().width;if(!(n<=0))for(let r=i.parentElement;r!=null&&e.contains(r);r=r.parentElement){if(r.clientWidth<=0)continue;let e=t.getComputedStyle(r);if(n>r.clientWidth-(Number.parseFloat(e.paddingLeft)||0)-(Number.parseFloat(e.paddingRight)||0)+1)return!0}}return!1}var SX=.75,CX=.01;function wX(e,t){for(let n of Array.from(e.cells)){let e=pX(n);if(e!==void 0){if(t.has(e)&&xX(n))return`Mounted row-number content exceeds the column width.`;if(n.clientHeight>0&&n.scrollHeight>n.clientHeight+1)return`Mounted cell content exceeds the declared fixed height.`}}}function TX(e,t){let n=1/0,r=0,i=0,a=0;for(let o of e){let e=o.getBoundingClientRect().height;if(!(e>0))continue;let s=wX(o,t);if(s)return{reason:s};n=Math.min(n,e),r=Math.max(r,e),i+=e,a++}if(a!==0)return r-n>SX?{reason:`Mounted rows have different heights.`}:{pitch:i/a}}function EX(e,t,n,r,i,a,o,s){if(!e.isConnected||!t.isConnected||!n.isConnected||!n.contains(e)||!t.contains(n)||t.clientHeight<=0)return;let c=Array.from(e.rows).filter(e=>e.getAttribute(`aria-hidden`)!==`true`),l=s;for(let e of c){if(o.has(e))continue;let t=e.getBoundingClientRect().height;if(t>0&&Math.abs(t-r)>SX){let e=TX(c,a);if(e===void 0||`reason`in e||Math.abs(e.pitch-r)>SX)return e;for(let e of c)o.add(e);l=!0;break}let n=wX(e,a);if(n)return{reason:n};o.add(e)}if(l){let n=e.getBoundingClientRect().height;if(!YY(n))return;if(Math.abs(n-i)>1||t.scrollHeight>0&&i>t.scrollHeight+1){let e=TX(c,a);return e!==void 0&&(`reason`in e||Math.abs(e.pitch-r)>CX)?e:{reason:`The browser cannot represent the declared body extent or fixed row pitch.`}}}}function DX({capability:e,data:t,keys:n,isAdmitted:r,logicalPositionColumns:i=hX,viewport:a,body:o,table:s,geometry:c}){let[l,u]=(0,X.useState)(),d=lX(e),[f,p]=(0,X.useState)(),m=(0,X.useMemo)(()=>d!==void 0&&f?.declared===d?Object.freeze({...d,rowHeight:f.rowHeight}):d,[d,f]),h=(0,X.useMemo)(()=>m===void 0?void 0:{rowHeight:m.rowHeight,viewportHeight:m.initialViewportHeight},[m]),g=d!==void 0&&XY({rowCount:t.length,rowHeight:d.rowHeight,viewportHeight:d.initialViewportHeight,scrollTop:0,startOffset:0,isMeasured:!1})!==null,_=l?.data===t&&l.keys===n&&l.config===d,v=r&&g&&!_&&n.length===t.length&&t.length>0,[y,x]=(0,X.useState)(gX),S=(0,X.useRef)(new Map),C=(0,X.useRef)(null);kC(`Table`,`${l?.reason} Rendering all rows without fixed constraints.`,_),kC(`Table`,`Rows measure ${_X(m?.rowHeight??0)}px, not rowHeight ${_X(d?.rowHeight??0)}px. Windowing uses the measured height.`,m!==d);let{segments:w,plan:T,isWindowed:E,snapshot:D,onItemFocus:O,onItemBlur:k}=sX({items:t,keys:n,rowCount:t.length,pitch:h,isEligible:g&&r,canWindow:v,geometry:c,viewport:a,focusContainer:o}),A=T?.totalHeight??0,j=D.revision,M=D.layoutRevision;b(()=>{if(!E||!m||!o.current||!a.current||!s.current){C.current=null;return}let e=C.current;(e===null||e.data!==t||e.keys!==n||e.config!==m||e.logicalPositionColumns!==i)&&(e={data:t,keys:n,config:m,logicalPositionColumns:i,checkedRows:new WeakSet,layoutRevision:void 0,isPositionWidthMeasured:!1,totalHeight:NaN},C.current=e);let r=e.layoutRevision!==M;if((r||!e.isPositionWidthMeasured)&&i.size>0){let n=Array.from(o.current.rows).find(e=>e.getAttribute(`aria-hidden`)!==`true`);if(n){e.isPositionWidthMeasured=!0;let r=new Map;for(let e of i){let i=mX(n,e),a=i==null?S.current.get(e):yX(i);i!=null&&a!==void 0&&S.current.set(e,a);let o=a===void 0?y.get(e):bX(a,String(t.length));o!==void 0&&r.set(e,o)}if(!vX(y,r)){x(r);return}}}r&&(e.checkedRows=new WeakSet);let c=r||e.totalHeight!==A;e.layoutRevision=M,e.totalHeight=A;let l=EX(o.current,a.current,s.current,m.rowHeight,A,i,e.checkedRows,c);l!==void 0&&d!==void 0&&(`pitch`in l?p(Math.abs(l.pitch-d.rowHeight)({segments:w,logicalPositionWidths:N,isWindowed:E,isFixedHeight:E,onRowFocus:O,onRowBlur:k}),[w,N,E,O,k])}Xf();var OX=Uf(`TableContext`,1,null);OX.displayName=`TableContext`;var kX=new WeakMap,AX=new WeakMap;function jX(e,t){if(t.size===0)return e;let n=!1,r=e.map((e,r)=>{let i=t.get(r);return i===void 0||AX.get(e)==null||e.width?.type===`pixel`&&i<=e.width.value?e:(n=!0,{...e,width:{type:`pixel`,value:i}})});return n?r:e}function MX(e){return`--_table-logical-extra-${e}`}function NX(e){return AX.get(e)}function PX(e){return e.renderCell==null||kX.get(e)===!0}function FX(e){return e?.minWidth??(e==null?60:120)}function IX(e){let t=0,n=0,r=[];for(let i of e){let e=i.width;if(e?.type===`pixel`)n+=e.value;else{let n=e?.value??1;t+=n,r.push({proportion:n,minWidth:FX(e)})}}let i=0;if(t>0)for(let e of r){let n=e.minWidth*t/e.proportion;n>i&&(i=n)}return{totalProportion:t,pixelTotal:n,maxProportionalSpace:i}}function LX(e){let{totalProportion:t,maxProportionalSpace:n}=IX(e),r=new Map;for(let i of e){let e=i.width;if(e?.type===`pixel`)r.set(i.key,e.value);else{let a=e?.value??1;r.set(i.key,t>0?n*a/t:0)}}return r}var RX=/^[+-]?(?:\\d+\\.?\\d*|\\.\\d+)(?:px|r?em|r?lh|r?ex|r?ch|r?cap|r?ic|vw|vh|vi|vb|vmin|vmax|[sld]v(?:w|h|i|b|min|max)|cq(?:w|h|i|b|min|max)|cm|mm|q|in|pt|pc|%)$/i,zX=/^(?:calc|min|max|clamp|var)\\(/i,BX=/^[+-]?(?:0+\\.?0*|\\.0+)(?:[a-z]+|%)?$/i,VX=/^(\\d+(?:\\.\\d+)?)px$/i;function HX(e,t){let n=`${t}px`;if(e==null)return n;if(typeof e==`number`)return`${Math.max(e,t)}px`;let r=e.trim();if(r===``||BX.test(r))return n;let i=VX.exec(r);return i?`${Math.max(Number(i[1]),t)}px`:RX.test(r)||zX.test(r)?`max(${r}, ${n})`:n}function UX(e){let{totalProportion:t,pixelTotal:n,maxProportionalSpace:r}=IX(e),i=n+r,a=new Map;for(let n of e){let e=n.width,r={};if(e?.type===`pixel`)r.width=`${e.value}px`,r.minWidth=`${e.value}px`;else{let n=e?.value??1;t>0&&(r.width=`${n/t*100}%`),r.minWidth=`${FX(e)}px`}a.set(n.key,{style:r})}return{columns:a,tableMinWidth:i}}function WX(e=1,t){return{type:`proportional`,value:e,minWidth:t?.minWidth??120}}function GX(e){if(e.length===0)return e;let t=XL(e);return t.toUpperCase()+e.slice(t.length)}function KX(e){return e instanceof Date&&Number.isNaN(e.getTime())}function qX(e,t){let n=e[t];return n==null||KX(n)?``:n instanceof Date?n.toISOString():typeof n==`string`||typeof n==`number`||typeof n==`boolean`||typeof n==`bigint`?String(n):``}function JX(e){return e==null?0:typeof e==`string`?e.length:typeof e==`number`||typeof e==`boolean`?String(e).length:0}function YX(e){if(e==null||typeof e!=`string`&&typeof e!=`number`&&typeof e!=`boolean`)return 0;let t=String(e),n=0,r=0;for(let e=0;e<=t.length;e++)e===t.length||t[e]===` `||t[e]===`\t`||t[e]===`\n`?(r>n&&(n=r),r=0):r++;return n}var XX=8;function ZX(e){if(e.length===0)return[];let t=e[0],n=Object.keys(t),r=e.slice(0,Math.min(5,e.length));return n.map(e=>{let t=GX(e).length,n=t,i=t;for(let t of r){let r=JX(t[e]);r>n&&(n=r);let a=YX(t[e]);a>i&&(i=a)}return{key:e,headerLen:t,maxContentLen:n,maxWordLen:i}}).map(e=>{let t=e.maxContentLen<=6?1:e.maxContentLen<=15?2:3,n=Math.max(Math.max(e.headerLen,e.maxWordLen)*XX,60);return{key:e.key,header:GX(e.key),width:WX(t,{minWidth:n})}})}var QX={x139im0d:`x139im0d`,$$css:!0},$X={cell:{kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,ks0D6T:`x1m189uc`,$$css:!0}},eZ={cell:{kVQacm:`xb3r6kr`,kHjlTd:`x1mzt3pk`,kTgw9:`xh6pgkp`,$$css:!0}},tZ={cell:{kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xfl0izk`,kHjlTd:`x1mzt3pk`,kTgw9:`xh6pgkp`,$$css:!0}},nZ={compact:{kZCmMZ:`x5uh4xs`,\"--_table-edge-inline-end\":`x1w6xuo5 xi48f35`,kwRFfy:`xf9a2z1`,$$css:!0},balanced:{kZCmMZ:`x9bi00s`,\"--_table-edge-inline-end\":`x1w6xuo5 xzt5qtd`,kwRFfy:`xf9a2z1`,$$css:!0},spacious:{kZCmMZ:`x18c6q21`,\"--_table-edge-inline-end\":`x1w6xuo5 xty9e4x`,kwRFfy:`xf9a2z1`,$$css:!0}},rZ={cell:{kL6WhQ:`xw8gpjh x1lczva8`,k5JduY:`xjnv0ub`,kwXMNM:`x1ea2at`,kcktkL:`x15skwfs`,k8Iv0R:`x1f4wvdr`,k4zj60:`x2euz0u`,kHSQhd:`x9a7to`,kh0EW9:`x90dban`,kvRJ0G:`x8qyx5`,kloYau:`x1uwli9g`,$$css:!0},panelCell:{kL6WhQ:`x1gu98mf x1lczva8`,$$css:!0},row:{kVAEAm:`xjsxhw0`,$$css:!0}};Xf();var iZ={isBodyRow:!1,parity:null},aZ={isBodyRow:!0,parity:null},oZ={isBodyRow:!0,parity:`odd`},sZ={isBodyRow:!0,parity:`even`};function cZ(e){return e%2==0?oZ:sZ}var lZ=Uf(`TableRowPlacementContext`,1,iZ);lZ.displayName=`TableRowPlacementContext`,D(),vr();var uZ={row:{kWkggS:`xwmxj5m`,\"--table-row-overlay\":`xnrusv5`,$$css:!0},hover:{kWkggS:`xwmxj5m xoevpu5`,\"--table-row-overlay\":`xnrusv5 xc01ov8`,k1ekBW:`x15406qy`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,$$css:!0}},dZ={row:{kWkggS:`x189zj9d`,\"--table-row-overlay\":`xztvxw7`,$$css:!0}},fZ={row:{kWkggS:`xoevpu5`,\"--table-row-overlay\":`xc01ov8`,k1ekBW:`x15406qy`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,$$css:!0}},pZ={row:{kWkggS:`x189zj9d xoevpu5`,\"--table-row-overlay\":`xztvxw7 xc01ov8`,k1ekBW:`x15406qy`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,$$css:!0}};function mZ({children:e,xstyle:t,ref:n,isHeaderRow:r=!1,className:i,style:a,...o}){let s=(0,X.use)(OX),c=(0,X.use)(lZ);if(!s)return(0,Z.jsx)(`tr`,{ref:n,...o,...Q(Y(`table-row`),C(QX,t),i,a),children:e});let l=[];if(!r){let e=o[`data-table-logical-index`];e==null?s.isStriped&&s.hasHover?l.push(pZ.row):s.isStriped?l.push(dZ.row):s.hasHover&&l.push(fZ.row):s.isStriped&&Number(e)%2==1?l.push(s.hasHover?uZ.hover:uZ.row):s.hasHover&&l.push(fZ.row)}return(s.dividers===`rows`||s.dividers===`grid`)&&l.push(rZ.row),t&&l.push(...t),(0,Z.jsx)(`tr`,{ref:n,...o,...Q(Y(`table-row`,{parity:c.isBodyRow&&!r?c.parity:null,striped:s.isStriped&&!r?`striped`:null}),C(QX,...l),i,a),children:e})}mZ.displayName=`TableRow`;function hZ({orientation:e=`horizontal`,label:t,variant:n=`subtle`,isFullBleed:r=!1,xstyle:i,className:a,style:o,ref:s,\"aria-label\":c,\"aria-labelledby\":l,...u}){let d=e===`horizontal`,f=bO(t),p=(0,gZ.useId)(),m=l??(f&&c==null?p:void 0);return(0,_Z.jsxs)(`div`,{ref:s,...u,role:`separator`,\"aria-orientation\":e,\"aria-label\":c,\"aria-labelledby\":m,...Q(Y(`divider`,{variant:n,orientation:e}),C(d?vZ.horizontal:vZ.vertical,r&&(d?bZ.horizontal:bZ.vertical),i),a,o),children:[(0,_Z.jsx)(`div`,{...C(d?yZ.horizontalLine:yZ.verticalLine,yZ[n])}),f&&(0,_Z.jsx)(`div`,{id:p,...{0:{className:`x2lah0s xrrkdod x141an7d x1ltkj2j xv1l7n4`},1:{className:`x2lah0s x141an7d x1ltkj2j xv1l7n4 xnjsko4 x8o8v82`}}[!d|0],children:t}),f&&(0,_Z.jsx)(`div`,{...C(d?yZ.horizontalLine:yZ.verticalLine,yZ[n])})]})}var gZ,_Z,vZ,yZ,bZ,xZ=o((()=>{gZ=u(f(),1),D(),xO(),bC(),vr(),_Z=mc(),vZ={horizontal:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kzqmXN:`xh8yej3`,$$css:!0},vertical:{k1xSpc:`x3nfvp2`,kXwgrk:`xdt5ytf`,kGNEyG:`x6s0dn4`,kZKoxP:`x5yr21d`,$$css:!0}},yZ={horizontalLine:{kZKoxP:`xsyqizj`,kzQI83:`x1iyjqo2`,kmuXW:`xs83m0k`,$$css:!0},verticalLine:{kzqmXN:`xjk4fl7`,kzQI83:`x1iyjqo2`,kmuXW:`xs83m0k`,$$css:!0},subtle:{kWkggS:`x1m4xfpy`,$$css:!0},strong:{kWkggS:`x7njt3n`,$$css:!0}},bZ={horizontal:{keTefX:`xojxgvx`,k71WvV:`x1fcf3bl`,kzqmXN:`xx6qvi6`,$$css:!0},vertical:{keoZOQ:`x1sa9bsh`,k1K539:`x6h7pi7`,kZKoxP:`x12qplqi`,$$css:!0}},hZ.displayName=`Divider`})),SZ=o((()=>{}));function CZ(e){return{gesture:{phase:`idle`},effect:e}}function wZ(e){return e==null?{type:`clear`}:{type:`highlight`,row:e}}function TZ(e){return e!==`mouse`}function EZ(e){return e.x!=null&&e.y!=null}function DZ(e,t){return Math.hypot(t.x-e.x,t.y-e.y)>=IZ}function OZ(e,t){return t.row==null?t.isInMenu||t.isOnTrigger?CZ({type:`settle`,stray:!0,dismiss:!1}):CZ({type:`settle`,stray:!0,dismiss:e===`mouse`}):CZ({type:`act`,row:t.row})}function kZ(e,t){switch(e.phase){case`idle`:return MZ(e,t);case`triggerPress`:return NZ(e,t);case`open`:return PZ(e,t);case`tracking`:return FZ(e,t);case`withdrawn`:return jZ(e,t)}}function AZ(e,t,n=!1){return TZ(e)?{gesture:n?{phase:`withdrawn`,pointerType:e,fromTrigger:!0}:{phase:`withdrawn`,pointerType:e},effect:t==null?{type:`withdraw`}:{type:`withdraw`,clear:!0}}:CZ({type:`settle`,stray:!1,dismiss:!1})}function jZ(e,t){switch(t.type){case`up`:return CZ({type:`settle`,stray:e.fromTrigger!==!0,dismiss:!1});case`cancel`:return CZ({type:`settle`,stray:!1,dismiss:!1});case`down`:case`move`:case`opened`:case`withdraw`:return{gesture:e,effect:RZ}}}function MZ(e,t){return t.type===`down`?t.target===`menu`?{gesture:{phase:`tracking`,pointerType:t.pointerType,origin:`menu`,row:t.row},effect:wZ(t.row)}:t.pointerType===`mouse`?{gesture:{phase:`open`,pointerType:`mouse`,openedAt:t.time},effect:{type:`open`}}:{gesture:{phase:`triggerPress`,pointerType:t.pointerType,startedAt:t.time},effect:RZ}:{gesture:e,effect:RZ}}function NZ(e,t){switch(t.type){case`opened`:return{gesture:{phase:`open`,pointerType:e.pointerType,openedAt:t.time},effect:RZ};case`up`:return CZ({type:`settle`,stray:!1,dismiss:!1});case`cancel`:return CZ({type:`settle`,stray:!1,dismiss:!1});case`withdraw`:return AZ(e.pointerType,null,!0);case`down`:case`move`:return{gesture:e,effect:RZ}}}function PZ(e,t){switch(t.type){case`move`:if(TZ(e.pointerType)&&EZ(t)){let n=e.handoffFrom;return n==null?{gesture:{...e,handoffFrom:{x:t.x,y:t.y}},effect:RZ}:DZ(n,t)?{gesture:{phase:`tracking`,pointerType:e.pointerType,origin:`trigger`,row:t.row},effect:wZ(t.row)}:{gesture:e,effect:RZ}}return t.isInMenu?{gesture:{phase:`tracking`,pointerType:e.pointerType,origin:`trigger`,row:t.row},effect:wZ(t.row)}:{gesture:e,effect:RZ};case`up`:return TZ(e.pointerType)&&EZ(t)||!(t.time-e.openedAt>=300)?CZ({type:`settle`,stray:!0,dismiss:!1}):OZ(e.pointerType,t);case`cancel`:return CZ({type:`settle`,stray:!1,dismiss:!1});case`withdraw`:return AZ(e.pointerType,null);case`down`:case`opened`:return{gesture:e,effect:RZ}}}function FZ(e,t){switch(t.type){case`move`:return t.row===e.row?{gesture:e,effect:RZ}:{gesture:{...e,row:t.row},effect:wZ(t.row)};case`up`:return OZ(e.pointerType,t);case`cancel`:return CZ({type:`settle`,stray:!1,dismiss:!1,...e.row!=null&&TZ(e.pointerType)?{clear:!0}:{}});case`withdraw`:return AZ(e.pointerType,e.row);case`down`:case`opened`:return{gesture:e,effect:RZ}}}var IZ,LZ,RZ,zZ=o((()=>{SZ(),IZ=10,LZ={phase:`idle`},RZ={type:`none`}}));function BZ(e){let t=e,n=null,r=null,i=null,a=null,o=null,s=()=>{n!=null&&(clearTimeout(n),n=null),r=null,i=null,a=null},c=()=>{let e=r;e!=null&&(s(),Nie(),t.onLongPress({x:e.x,y:e.y}))},l=e=>{let t=e==null?void 0:kv(a,e.timeStamp);i!=null&&t!=null&&t>=i&&c()},u=(e,l,u)=>{if(t.disabled===!0)return;s();let d=t.delayMs??VZ;r={x:e.x,y:e.y},o=l??null;let f=u?.clock??null,p=u==null?null:u.at+d;a=f,i=p;let m=f==null||p==null?d:Math.min(d,Math.max(0,p-f.now())),h=e=>{n=null,e&&f!=null&&p!=null&&f.now()>p?n=setTimeout(()=>h(!1),0):c()};n=setTimeout(()=>h(!0),m)},d=e=>{let n=r;if(n==null)return!1;let i=o?.moveCancelPx??t.moveCancelPx??HZ;return Math.abs(e.x-n.x)>i||Math.abs(e.y-n.y)>i?(s(),!1):!0};return{start(e,t){u(e,t,void 0)},touchStart(e){if(t.disabled===!0)return;if(e.touches.length!==1){l(e),s();return}let n=e.touches[0],r=Ov(e),i=kv(r,e.timeStamp);u({x:n.clientX,y:n.clientY},void 0,r==null||i==null?void 0:{at:i,clock:r})},touchMove(e){if(r==null||(l(e),r==null))return;if(e.touches.length!==1){s();return}let t=e.touches[0];d({x:t.clientX,y:t.clientY})},touchEnd(e){l(e),s()},moveTo:d,cancel:s,isPending:()=>r!=null,setOptions(e){t=e}}}var VZ,HZ,UZ=o((()=>{P_(),jv(),ZG(),VZ=500,HZ=10}));function WZ(e){let{start:t,...n}=GZ(e),r=(0,KZ.useCallback)(e=>t(e),[t]);return{...n,start:r}}function GZ(e){let[t]=(0,KZ.useState)(()=>BZ(e));return b(()=>{t.setOptions(e)}),(0,KZ.useEffect)(()=>t.cancel,[t]),{onTouchStart:t.touchStart,onTouchMove:t.touchMove,onTouchEnd:t.touchEnd,onTouchCancel:t.touchEnd,start:t.start,moveTo:t.moveTo,cancel:t.cancel}}var KZ,qZ=o((()=>{KZ=u(f(),1),UZ(),x()}));function JZ(e){let{intervalMs:t,immediate:n=!1,catchUp:r=!1}=e,i=e.now??(()=>performance.now()),a=null,o=0,s=0,c=()=>{a!=null&&(clearInterval(a),a=null)},l=n=>{let a=e.step();if(a===0){c();return}let l=1;if(r&&n){let e=Math.floor((i()-o)/t);l=Math.max(1,Math.min(2,e-s)),s=Math.max(s+l,e)}e.apply(a*l)===0&&c()};return{update(){e.step()===0?c():a??(o=i(),s=0,a=setInterval(()=>l(!0),t),n&&l(!1))},stop:c,get isRunning(){return a!=null}}}var YZ=o((()=>{}));function XZ(e){e.setAttribute(eQ,``)}function ZZ(e){e.removeAttribute(eQ)}function QZ(e){e.style.setProperty(tQ,`transparent`)}function $Z(e){e.style.removeProperty(tQ)}var eQ,tQ,nQ,rQ,iQ=o((()=>{G(),eQ=`data-astryx-menu-press-lit`,tQ=`--_menu-row-active-paint`,k[`--color-overlay-pressed`],k[`--color-overlay-pressed`],nQ={row:{\"--_menu-row-focus-paint\":`x1ar3rj9`,\"--_menu-row-active-paint\":`xcukuoe`,$$css:!0}},rQ=nQ.row}));function aQ(){return CQ}function oQ(e,t){return t?{x:e.clientX,y:e.clientY}:{}}function sQ(e){return e===`mouse`||e===`touch`||e===`pen`?e:null}function cQ(e,t){if(e==null)return null;let n=Array.from(e);return n.some(e=>e.identifier===t)?t:n.length===1?n[0].identifier:null}function lQ(e){return e.matches(xQ)}function uQ(e){let t=e;for(;;){let e=t.parentElement?.closest(hQ)??dQ(t);if(e==null||e===t)return t;t=e}}function dQ(e){let t=e.getAttribute(gQ);if(!t)return null;let n=e.ownerDocument.getElementById(t);return n?.matches(hQ)===!0?n:null}function fQ(e,t){if(t.contains(e))return!0;let n=e.closest(hQ);return n!=null&&uQ(n)===t}function pQ(e){let{touchModel:t,...n}=e,r={...n,touchModel:n.longPressDelayMs===void 0?`uikit`:`pointer`,isInScrollView:G_},i=nu(r);If(r.menuRef);let a=(0,mQ.useRef)(LZ),o=(0,mQ.useRef)(null),s=(0,mQ.useRef)(null),c=(0,mQ.useRef)(null),l=(0,mQ.useRef)(null),u=(0,mQ.useRef)(`plain`),d=(0,mQ.useRef)(null),f=(0,mQ.useRef)(null),[p]=(0,mQ.useState)(()=>JZ({intervalMs:bQ,immediate:!0,step:()=>(f.current?.direction??0)*yQ,apply:e=>{let t=f.current;if(t==null)return 0;let n=t.scroller.scrollTop;t.scroller.scrollTop=n+e;let r=t.scroller.scrollTop-n;return r===0?(f.current=null,0):(t.reread(),r)}})),m=(0,mQ.useRef)(null),h=(0,mQ.useRef)(null),g=(0,mQ.useRef)(null),_=(0,mQ.useCallback)(()=>i.current.menuRef.current?.ownerDocument??i.current.triggerRef?.current?.ownerDocument??document,[i]),v=(0,mQ.useCallback)(e=>{let{menuRef:t,triggerRef:n,itemSelector:r,hitTest:a}=i.current,o=t.current,s=_(),c;if(a!=null)c=a(e.clientX,e.clientY);else if(typeof s.elementFromPoint==`function`){let t=o?.getRootNode(),n=t!=null&&t!==s&&typeof t.elementFromPoint==`function`?t:s;c=n.elementFromPoint(e.clientX,e.clientY),dA(c)&&typeof n.elementsFromPoint==`function`&&(c=n.elementsFromPoint(e.clientX,e.clientY).find(e=>!dA(e))??null)}else c=e.target instanceof Element?e.target:null;let l=o==null?null:uQ(o),u=l!=null&&c!=null&&fQ(c,l),d=n?.current??null,f=d!=null&&c!=null&&d.contains(c),p=null;return u&&c!=null&&(p=c.closest(r),p!=null&&!fQ(p,l)&&(p=null)),{row:p,isInMenu:u,isOnTrigger:f}},[_,i]),y=(0,mQ.useCallback)(()=>{p.stop(),f.current=null},[p]),b=(0,mQ.useRef)(null),x=(0,mQ.useRef)(null),S=(0,mQ.useCallback)(()=>{l.current?.cancel(),b.current!=null&&(ZZ(b.current),b.current=null),x.current!=null&&($Z(x.current),x.current=null),d.current?.(),d.current=null,y(),c.current?.(),c.current=null,o.current=null,m.current=null,a.current=LZ},[y]),C=(0,mQ.useCallback)(e=>{let t=a.current,n=t.phase!==`idle`&&t.pointerType!==`mouse`,r=n?e:null;b.current!==r&&(b.current!=null&&ZZ(b.current),b.current=r,r!=null&&XZ(r));let{onHighlight:o,menuRef:s}=i.current,c=n?s.current:null;if(x.current!==c&&(x.current!=null&&$Z(x.current),x.current=c,c!=null&&QZ(c)),o!=null){o(e);return}let l=e==null?s.current:lQ(e)?e:e.querySelector(SQ);l!=null&&l!==_().activeElement&&GA(l,{preventScroll:!0})},[_,i]),w=(0,mQ.useCallback)((e,t)=>{Wu(()=>{let{onActivate:n}=i.current;CQ=!0;try{if(n!=null){n(e,t);return}e.dispatchEvent(new MouseEvent(`click`,{bubbles:!0,cancelable:!0,composed:!0,detail:0,button:t.button,clientX:t.clientX,clientY:t.clientY,screenX:t.screenX,screenY:t.screenY,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,metaKey:t.metaKey}))}finally{CQ=!1}})},[i]),T=(0,mQ.useCallback)((e,t,n)=>{let r=_();switch(e.type){case`none`:return;case`open`:{let e=t.phase===`open`?t.pointerType:`mouse`;h.current=Sp(),(i.current.onTriggerPress?.(e)??!1)||S();return}case`highlight`:C(e.row);return;case`clear`:C(null);return;case`act`:S(),Vu(r,{staysInstalled:!0,cancelsTouchEnd:n?.pointerType===`touch`,touchIdentifier:s.current??void 0}),n!=null&&w(e.row,n);return;case`withdraw`:l.current?.cancel(),y(),d.current?.(),d.current=null,e.clear===!0&&C(null);return;case`settle`:e.clear===!0&&C(null),S(),e.stray&&Vu(r,{staysInstalled:!0,cancelsTouchEnd:n?.pointerType===`touch`,touchIdentifier:s.current??void 0}),e.dismiss&&i.current.onDismiss?.();return}},[w,S,_,C,i,y]),E=(0,mQ.useCallback)((e,t)=>{let n=kZ(a.current,e);a.current=n.gesture,T(n.effect,n.gesture,t)},[T]),D=nu(E),O=(0,mQ.useCallback)(()=>{let{getScroller:e,menuRef:t}=i.current;if(e!=null)return e();let n=t.current;return n==null?null:n.scrollHeight>n.clientHeight+1?n:null},[i]),k=(0,mQ.useCallback)(e=>{if(a.current.phase!==`tracking`){y();return}let t=O();if(t==null){y();return}let n=t.getBoundingClientRect();if(n.height<=0){y();return}let r=0;e.clientY<=n.top+24?r=-1:e.clientY>=n.bottom-24&&(r=1),r===0?y():f.current?.direction!==r&&(y(),f.current={scroller:t,direction:r,reread:()=>{let e=m.current;if(e!=null){let t=v(e);E({type:`move`,row:t.row,isInMenu:t.isInMenu,time:Date.now()},e)}}},p.update())},[p,O,v,E,y]),A=(0,mQ.useCallback)(e=>{c.current?.();let t=_(),n=t.defaultView;o.current=e,s.current=null;let r=null;n!=null&&(r=bu(n,`touchstart`,t=>{r?.(),r=null,s.current=cQ(t.changedTouches,e)}));let u=e=>{if(e.pointerId!==o.current)return;if(m.current=e,a.current.phase===`triggerPress`){l.current?.moveTo({x:e.clientX,y:e.clientY})===!1&&E({type:`cancel`});return}let t=v(e);E({type:`move`,row:t.row,isInMenu:t.isInMenu,time:Date.now(),...oQ(e,i.current.touchModel===`uikit`)},e),k(e)},d=e=>{if(e.pointerId!==o.current)return;let t=v(e);E({type:`up`,row:t.row,isInMenu:t.isInMenu,isOnTrigger:t.isOnTrigger,time:Date.now(),...oQ(e,i.current.touchModel===`uikit`)},e)},f=e=>{e.pointerId===o.current&&E({type:`cancel`})},p=e=>{a.current.phase===`withdrawn`?E({type:`cancel`}):e.pointerId!==o.current&&(g.current=e.pointerId,E({type:`cancel`}))},h=()=>{E({type:`withdraw`})};t.addEventListener(`pointermove`,u,!0),t.addEventListener(`pointerup`,d,!0),t.addEventListener(`pointercancel`,f,!0),t.addEventListener(`pointerdown`,p,!0),n?.addEventListener(`blur`,h),c.current=()=>{r?.(),t.removeEventListener(`pointermove`,u,!0),t.removeEventListener(`pointerup`,d,!0),t.removeEventListener(`pointercancel`,f,!0),t.removeEventListener(`pointerdown`,p,!0),n?.removeEventListener(`blur`,h)}},[_,i,v,E,k]),j=nu((0,mQ.useCallback)(()=>{d.current?.();let e=_(),t=e=>{e.cancelable&&e.preventDefault()};e.addEventListener(`touchmove`,t,{passive:!1,capture:!0}),d.current=()=>{e.removeEventListener(`touchmove`,t,!0)}},[_])),M=nu(A),N=(0,mQ.useRef)(null),[P]=(0,mQ.useState)(()=>({optionsRef:i,gestureRef:a,setTriggerGesture:e=>{h.current=e},setHoldDetectors:e=>{N.current=e,l.current=u.current===`scroller`?e.scroller:e.plain},startHold:(e,t,n)=>{u.current=e;let r=N.current;if(r==null)return;let i=e===`scroller`?r.scroller:r.plain;l.current=i,i.start(t,n)},setLastPointerEvent:e=>{m.current=e},takeIgnoredPointer:e=>e===g.current&&(g.current=null,!0),installTouchMovePreventer:()=>j.current(),step:(e,t)=>D.current(e,t),attach:e=>M.current(e)})),F=(0,mQ.useCallback)(e=>{let{menuRef:t,isEnabled:n=!0}=i.current,r=t.current;if(!n||r==null)return;if(e.pointerId===g.current){g.current=null;return}if(a.current.phase!==`idle`){E({type:`cancel`});return}let o=sQ(e.pointerType);if(o==null||o===`mouse`&&e.button!==0||e.target?.closest(hQ)!==r)return;o!==`mouse`&&e.preventDefault();let s=e.nativeEvent;A(s.pointerId),m.current=s;let c=v(s);E({type:`down`,target:`menu`,pointerType:o,row:c.row,time:Date.now()},s)},[A,i,v,E]),I=(0,mQ.useCallback)(()=>h.current!=null&&h.current===Sp(),[]),L=(0,mQ.useCallback)(()=>{S()},[S]);(0,mQ.useEffect)(()=>(Sp(),()=>{S()}),[S]);let R=(0,mQ.useMemo)(()=>({menuProps:{onPointerDown:F,[fv]:``},isTriggerClickFromPress:I,cancel:L}),[F,I,L]),z=P,B=(0,mQ.useCallback)(()=>{let e=z.gestureRef.current;e.phase===`triggerPress`&&(z.setTriggerGesture(Sp()),z.optionsRef.current.onTriggerPress?.(e.pointerType)??!1?(z.installTouchMovePreventer(),z.step({type:`opened`,time:Date.now()})):z.step({type:`cancel`}))},[z]),V=r.touchModel===`uikit`,H=r.longPressDelayMs??_Q,ee=GZ({onLongPress:B,delayMs:H}),U=GZ({onLongPress:B,delayMs:V?150:H,...V?{moveCancelPx:13}:{}});z.setHoldDetectors({plain:ee,scroller:U});let te=(0,mQ.useCallback)(e=>{let{isEnabled:t=!0}=z.optionsRef.current;if(z.takeIgnoredPointer(e.pointerId)||!t||z.gestureRef.current.phase!==`idle`)return;let n=sQ(e.pointerType);if(n==null||e.button!==0||n===`mouse`&&e.ctrlKey)return;let r=e.nativeEvent,i={type:`down`,target:`trigger`,pointerType:n,row:null,time:Date.now()},a=n!==`mouse`&&z.optionsRef.current.touchModel===`uikit`,o=a&&(z.optionsRef.current.isInScrollView?.(e.currentTarget)??!1);a&&!o?(e.preventDefault(),z.attach(r.pointerId),z.setLastPointerEvent(r),z.step(i,r),B()):(z.attach(r.pointerId),z.setLastPointerEvent(r),n!==`mouse`&&z.startHold(o?`scroller`:`plain`,{x:r.clientX,y:r.clientY},vQ),z.step(i,r))},[z,B]),W=(0,mQ.useCallback)(e=>{let t=z.gestureRef.current;t.phase!==`idle`&&t.pointerType!==`mouse`&&e.preventDefault()},[z]),G=(0,mQ.useMemo)(()=>({onPointerDown:te,onContextMenu:W}),[te,W]);return(0,mQ.useMemo)(()=>({...R,triggerProps:G}),[R,G])}var mQ,hQ,gQ,_Q,vQ,yQ,bQ,xQ,SQ,CQ,wQ=o((()=>{mQ=u(f(),1),Pp(),au(),AA(),zZ(),pv(),qZ(),P_(),N_(),J_(),YZ(),Pu(),bj(),Hf(),iQ(),Xu(),hQ=`[${fv}]`,gQ=`data-astryx-menu-press-surface`,_Q=500,vQ={moveCancelPx:13},yQ=6,bQ=16,xQ=`[tabindex], a[href], button, input, select, textarea, [contenteditable]`,SQ=`a[href], button, [tabindex]`,CQ=!1}));function TQ(e){return e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.button!==0}function EQ(e,t){e.dispatchEvent(new MouseEvent(`click`,{bubbles:!0,cancelable:!0,composed:!0,metaKey:t.metaKey,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey}))}function DQ(e){e.preventDefault()}var OQ,kQ,AQ,jQ,MQ=o((()=>{OQ=new Set([`menuitem`,`menuitemradio`,`menuitemcheckbox`]),kQ=[...OQ].map(e=>`[role=\"${e}\"]:not([aria-disabled=\"true\"])`).join(`,`),AQ=[...OQ].map(e=>`[role=\"${e}\"]`).join(`,`),jQ=`[role=\"menu\"]`}));function NQ(e){let t=e.cloneNode(!0);for(let e of t.querySelectorAll(`[aria-hidden=\"true\"]`))e.remove();for(let e of t.querySelectorAll(`img[alt], [aria-label]`)){let n=e.getAttribute(e.tagName===`IMG`?`alt`:`aria-label`)??``;e.replaceWith(t.ownerDocument.createTextNode(` ${n} `))}for(let e of t.querySelectorAll(`svg`)){let n=e.querySelector(`title`)?.textContent??``;e.replaceWith(t.ownerDocument.createTextNode(` ${n} `))}return(t.textContent??``).replace(/\\s+/g,` `).trim()}function PQ(e){if(e==null)return;let t=e.getAttribute(`aria-labelledby`);if(t!=null&&t.trim()!==``){let n=t.split(/\\s+/).map(t=>e.ownerDocument.getElementById(t)).filter(e=>e!=null).map(NQ).join(` `).trim();if(n!==``)return n}let n=e.getAttribute(`aria-label`)?.trim();if(n)return n;let r=(`labels`in e?Array.from(e.labels??[]):[]).map(NQ).join(` `).trim();if(r!==``)return r;if(e instanceof HTMLInputElement&&[`button`,`submit`,`reset`].includes(e.getAttribute(`type`)??``)){let t=e.value.trim();if(t!==``)return t}let i=NQ(e);return i===``?e.getAttribute(`title`)?.trim()||void 0:i}var FQ=o((()=>{})),IQ=c({MenuBottomSheetActionList:()=>RQ});function LQ(e,t){return`item-${e.id??t}`}function RQ({items:e,onSelect:t,onOpenSubmenu:n}){let r=(0,zQ.useId)(),i=(0,zQ.useRef)(null),{ref:a,readModality:o}=Ff(),s=gx(i,a),c=pQ({menuRef:i,itemSelector:VQ}),l=(e,i,a=String(i))=>{let s=e.items!=null&&e.items.length>0,c=e.variant===`destructive`,l=!s&&e.href!=null,u=`${r}-label-${a}`,d=s&&typeof e.label!=`string`,f=r=>{if(l&&e.isDisabled)r.preventDefault();else if(o()===`pointer`&&r.currentTarget.blur(),s){let t=d?r.currentTarget.ownerDocument.getElementById(u):null;n(e,typeof e.label==`string`?e.label:t==null?void 0:NQ(t))}else l&&TQ(r)?t({...e,onClick:void 0},r):t(e,r)};return(0,BQ.jsx)(DY,{label:d?(0,BQ.jsx)(`span`,{id:u,children:e.label}):e.label,description:e.description,startContent:e.icon?eE(e.icon,{size:`sm`,color:c?`error`:`secondary`}):void 0,endContent:s?(0,BQ.jsx)(XT,{icon:`chevronRight`,size:`sm`,color:`secondary`,xstyle:$L.mirror}):e.endContent,isDisabled:e.isDisabled,href:l?e.href:void 0,target:l?e.target:void 0,rel:l?e.rel:void 0,onClick:l?void 0:f,onClickCapture:l?f:void 0,xstyle:c&&HQ.destructiveAction},LQ(e,i))};return(0,BQ.jsx)(CG,{ref:s,density:`spacious`,tabIndex:-1,xstyle:HQ.list,...c.menuProps,children:e.map((e,t)=>`type`in e&&e.type===`divider`?(0,BQ.jsx)(`li`,{role:`presentation`,className:`x3ct3a4`,children:(0,BQ.jsx)(hZ,{xstyle:HQ.divider})},`divider-${t}`):`type`in e&&e.type===`section`?(0,BQ.jsx)(`li`,{className:`x3ct3a4`,children:(0,BQ.jsxs)(`div`,{role:`group`,\"aria-label\":e.title,className:`x78zum5 xdt5ytf xzye2dw`,children:[e.title&&(0,BQ.jsx)(NC,{level:4,xstyle:HQ.sectionHeading,children:e.title}),(0,BQ.jsx)(CG,{density:`spacious`,children:e.items.map((e,n)=>l(e,n,`${t}-${n}`))})]})},`section-${e.id??t}`):l(e,t))})}var zQ,BQ,VQ,HQ,UQ=o((()=>{zQ=u(f(),1),xZ(),RC(),sE(),kG(),PY(),wQ(),vx(),eR(),Hf(),MQ(),FQ(),BQ=mc(),VQ=`button:not(:disabled), a[href]`,HQ={list:{k7VYTy:`xpdipgo`,kfSwDN:`x87ps6o`,$$css:!0},destructiveAction:{\"--_item-label-color\":`x1pa1ci1`,\"--_item-description-color\":`x1dj2fx0`,kMwMTN:`x1wj83wy`,$$css:!0},divider:{kqGvvJ:`xsq74q5`,$$css:!0},sectionHeading:{kg3NbH:`xrrkdod`,$$css:!0}},RQ.displayName=`MenuBottomSheetActionList`}));function WQ(e,t){if(typeof e==`number`)return Number.isFinite(e)&&e>0&&e<=1?e*t:null;let n=QQ.exec(e.trim());if(n===null)return null;let r=Number.parseFloat(n[1]);return r>0?n[2].toLowerCase()===`%`?r/100*t:r:null}function GQ(e){return WQ(e,1)!==null}function KQ(e,t){let n=[];for(let r of e){let e=WQ(r,t);e!==null&&n.push(e)}return n}function qQ(e,t,n=48){let r=[0,...t.filter(t=>t>0&&te-t)].sort((e,t)=>e-t),i=[];for(let e of r){let t=i[i.length-1];(t===void 0||e-t>=n)&&i.push(e)}return i}function JQ(e,t){return t.reduce((t,n)=>Math.abs(n-e)=o?s:1-(1-s)*((e-a)/(o-a))}function ZQ(e,t,n,r){let i=t;if(n>0){let e=t.filter(e=>e>=r);e.length>0&&(i=e)}else if(n<0){let e=t.filter(e=>e<=r);e.length>0&&(i=e)}return JQ(e,i)}var QQ,$Q,e$=o((()=>{QQ=/^(\\d+(?:\\.\\d+)?|\\.\\d+)(px|%)$/i,$Q=.3})),t$,n$=o((()=>{t$={release:{fastSpeed:1008,projectionSeconds:.1,minProjectionSpeed:250,detentTolerance:1}}}));function r$(e){return e.syntheticTouch===!0}function i$(e){return e.touchType===`stylus`?`pen`:`touch`}function a$(){typeof navigator<`u`&&typeof navigator.vibrate==`function`&&(C$()||navigator.vibrate(8))}function o$(e,t){let n=t[0],r=Math.abs(e-n);for(let i of t){let t=Math.abs(e-i);t=k$)return e;let i=r/k$,a=1-i*i;return e+(n-e)*a}function s$(e,t,n){return Math.max(0,e-t-n)}function c$(e,t){return`${Math.max(0,e-Math.max(0,t))}px`}function l$(e){return e>0?`${e}px`:void 0}function u$(e){let t=Number.parseFloat(getComputedStyle(e).paddingBlockEnd);return Number.isFinite(t)?t:0}function d$(e){if(!e)return 0;let t=u$(e);return Math.max(0,e.scrollHeight-e.clientHeight-t)-e.scrollTop}function f$(e){if(e.scrollHeight-e.clientHeight<=1)return!1;let{overflowY:t}=getComputedStyle(e);return t===`auto`||t===`scroll`}function p$(e,t){for(let n=e instanceof Element?e:null;n!=null&&n!==t;n=n.parentElement)if(n.localName===`dialog`)return!0;return!1}function m$(e,t){let n=[];for(let r=e instanceof Element?e:null;r!=null&&r!==t;r=r.parentElement)r instanceof HTMLElement&&f$(r)&&n.push(r);return n.push(t),n}function h$(e){return e.scrollTop<=0}function g$(e){return e.scrollTop+e.clientHeight>=e.scrollHeight-1}function _$(e){return e.every(h$)}function v$(e){return e.every(g$)}function y$(e){return e.some(e=>e.scrollHeight-e.clientHeight>1)}function b$(e){let t=e.map(e=>e.style.overscrollBehaviorY);for(let t of e)t.style.overscrollBehaviorY=`none`;return()=>{e.forEach((e,n)=>{e.style.overscrollBehaviorY=t[n]})}}function x$(e){e?.releaseContentHold!=null&&(e.releaseContentHold(),e.releaseContentHold=null)}function S$(e,t,n){return Math.max(0,e-n-t)}function C$(){return typeof window>`u`||!window.matchMedia?!1:window.matchMedia(`(prefers-reduced-motion: reduce)`).matches}function w$({isOpen:e,isOpenRequested:t=e,canDismiss:n=!0,offscreenBlockEndInset:r=0,onDismiss:i,snapHeights:a,onSnap:o,onTravelStart:s,onScrimOpacity:c,hasFixedHeight:l=!1}){let[u,d]=(0,T$.useState)(0),[f,p]=(0,T$.useState)(0),[m,h]=(0,T$.useState)(!1),[g,_]=(0,T$.useState)(null),[v,y]=(0,T$.useState)(0);g!=null&&(g.pending?t?(_(null),y(e=>e+1)):_({...g,pending:!1}):t&&_(null));let b=g!=null&&!g.pending&&!t,x=b&&g.isTouch,S=b?g.exit:null,[C,w]=(0,T$.useState)(!1),[T,E]=(0,T$.useState)(0),[D,O]=(0,T$.useState)(0),[k,A]=(0,T$.useState)(0),j=(0,T$.useRef)(0),M=(0,T$.useRef)(0),[N,P]=(0,T$.useState)(null),[F,I]=(0,T$.useState)(!1),L=(0,T$.useRef)(0),R=(0,T$.useRef)(null),z=(0,T$.useRef)(null),B=(0,T$.useRef)(r);B.current=Math.max(0,r);let V=(0,T$.useCallback)(e=>{let t=Math.max(0,e);j.current=t,A(t)},[]),H=(0,T$.useCallback)(e=>{let t=Math.max(0,e);Math.abs(t-L.current)>.5&&(L.current=t,O(t))},[]),ee=(0,T$.useCallback)(()=>{I(!0),R.current=null,P(null);let e=z.current;z.current=null,e!=null&&H(e)},[H]),U=(0,T$.useCallback)((e,t,n,r,i,a,o)=>{let s=s$(e,n,a);o&&Math.abs(r-t)>.5&&!C$()?(z.current=s,R.current=i,P(i)):(z.current=null,R.current=null,P(null),I(Math.abs(i-n)>.5),H(s))},[H]),te=(0,T$.useRef)(0);m||(te.current=f);let W=(0,T$.useRef)(e);W.current=e;let G=nu(a),ne=(0,T$.useRef)(s);ne.current=s;let re=(0,T$.useRef)(i),ie=(0,T$.useRef)(n),K=(0,T$.useRef)(o),q=(0,T$.useRef)(c),ae=(0,T$.useRef)(l);(0,T$.useEffect)(()=>{re.current=i,ie.current=n,K.current=o,q.current=c,ae.current=l});let oe=(0,T$.useRef)(null);(0,T$.useLayoutEffect)(()=>{let e=oe.current;v!==0&&e!=null&&(oe.current=null,q.current?.(e))},[v]);let se=(0,T$.useRef)(null),ce=(0,T$.useRef)(0),le=(0,T$.useRef)(null),J=(0,T$.useRef)(null),ue=(0,T$.useRef)(null);(0,T$.useLayoutEffect)(()=>{if(!F)return;le.current?.offsetHeight;let e=requestAnimationFrame(()=>{I(!1)});return()=>cancelAnimationFrame(e)},[F]);let de=(0,T$.useCallback)(e=>{e<=0||!W.current||te.current>0||(ce.current=e,E(t=>t===e?t:e))},[]),fe=(0,T$.useCallback)(e=>{if(ue.current?.disconnect(),ue.current=null,le.current=e,!e||typeof ResizeObserver>`u`){e&&de(e.getBoundingClientRect().height);return}let t=new ResizeObserver(e=>{let t=e[0];if(t){let e=t.borderBoxSize?.[0]?.blockSize;de(e??t.target.getBoundingClientRect().height)}});t.observe(e),ue.current=t},[de]);(0,T$.useEffect)(()=>()=>ue.current?.disconnect(),[]),(0,T$.useEffect)(()=>{e&&(d(0),p(0),h(!1),w(!1),I(!1),V(0),M.current=0,L.current=0,R.current=null,z.current=null,O(0),P(null))},[e,V]);let pe=(0,T$.useCallback)(()=>ce.current>0?ce.current:le.current?.getBoundingClientRect().height??0,[]),me=(0,T$.useCallback)(e=>{let t=S$(e,0,B.current),n=qQ(t,G.current?.()??[]);return{offsets:n,peekOffset:YQ(n,t)}},[G]),he=(0,T$.useCallback)(()=>{let e=le.current;if(!e)return ce.current;let t=e.style.height;if(t===``)return e.getBoundingClientRect().height;e.style.height=``;let n=e.getBoundingClientRect().height;return e.style.height=t,n},[]),ge=(0,T$.useCallback)(()=>{if(!W.current||se.current!=null||R.current!=null)return;let e=he();if(e<=0)return;let{offsets:t,peekOffset:n}=me(e),r=Math.min(M.current,t.length-1),i=t[r],a=i===n?0:i,o=j.current;if(e===ce.current&&Math.abs(i-te.current)<=.5&&Math.abs(a-o)<=.5)return;ce.current=e,E(e),M.current=r,U(o,i,a,i,o,d$(J.current),!1),V(a),p(i),K.current?.(S$(e,i,B.current));let s=t[t.length-1],c=S$(e,s,B.current);q.current?.(XQ(i,t,s+c*O$,n))},[he,U,V,me]);(0,T$.useEffect)(()=>{if(e&&typeof window<`u`)return window.addEventListener(`resize`,ge),window.addEventListener(`orientationchange`,ge),()=>{window.removeEventListener(`resize`,ge),window.removeEventListener(`orientationchange`,ge)}},[e,ge]);let _e=(0,T$.useRef)(!1);(0,T$.useLayoutEffect)(()=>{_e.current?ge():_e.current=!0},[ge,a]);let ve=(0,T$.useCallback)((e,t)=>{let n=le.current;if(n==null)return;let r=e-t;n.style.transform=r===0?``:`translateY(${r}px)`},[]),ye=(0,T$.useCallback)((e,t)=>{let n=le.current;n!=null&&e>0&&!ae.current&&(n.style.height=c$(e,t));let r=J.current;r!=null&&(r.style.paddingBlockEnd=l$(L.current)??``)},[]),be=(0,T$.useCallback)(e=>{let t=se.current;if(t==null)return;se.current=null,e?.hasPointerCapture?.(t.pointerId)&&e.releasePointerCapture(t.pointerId),d(t.baseOffset),h(!1),w(!1),U(t.baseLayoutOffset,t.baseOffset,t.baseLayoutOffset,t.renderedOffset,t.layoutOffset,t.naturalEndGap,!0);let{offsets:n,peekOffset:r}=me(t.height),i=n[n.length-1],a=i+S$(t.height,i,B.current)*O$;q.current?.(XQ(t.baseOffset,n,a,r))},[U,me]);(0,T$.useEffect)(()=>{if(!e)return;let t=()=>be(),n=()=>{document.visibilityState===`hidden`&&be()};return window.addEventListener(`blur`,t),document.addEventListener(`visibilitychange`,n),()=>{window.removeEventListener(`blur`,t),document.removeEventListener(`visibilitychange`,n)}},[be,e]);let xe=(0,T$.useCallback)((e,t,n,r,i,a,o,s,c,l,u)=>{let{offsets:d,peekOffset:f}=me(n),m=d[d.length-1],h=S$(n,m,B.current),g=m+h*O$,v=i>D$?e+t*E$:e,y=e=>{let t=e===f?0:e;U(o,e,t,s,c,l,!0),V(t),M.current=Math.max(0,d.indexOf(e)),p(e),K.current?.(S$(n,e,B.current)),q.current?.(XQ(e,d,g,f)),e!==a&&a$()},b=e=>{ie.current?(U(o,a,o,o,o,l,!1),oe.current=XQ(a,d,g,f),_({isTouch:u,pending:!0,exit:e}),re.current()):y(m)};if(u){let{fastSpeed:r,minProjectionSpeed:o,projectionSeconds:s,detentTolerance:c}=t$.release,l=[...d,m+h],{index:u}=nJ({points:l,position:e,velocity:t*1e3,flickThreshold:i>M$?r:1/0,tolerance:c,flickPastProjection:!0,projection:{seconds:s,minSpeed:o},start:a});u===l.length-1?b({distance:Math.max(0,n-e),velocity:t*1e3}):y(l[u])}else r>0&&v>g?b(null):y(ZQ(Math.min(Math.max(v,0),m),d,r,a))},[U,V,me]),Se=(0,T$.useCallback)((e,t,n,r=new KR)=>{let i=e.currentTarget,a=r$(e);a||i.setPointerCapture?.(e.pointerId);let o=n??e.clientY,s=d$(J.current),c=j.current;r.add(0,e.clientY,e.timeStamp),se.current={syntheticTouch:a,pointerType:e.pointerType,pointerId:e.pointerId,startCoord:o,tracker:r,height:t,reserve:B.current,baseOffset:f,baseLayoutOffset:c,renderedOffset:f,layoutOffset:c,naturalEndGap:s,hasTraveled:!1},H(s$(c,c,s)),d(f),h(!0)},[f,H]),Ce=(0,T$.useCallback)(e=>{e.button===0&&e.isPrimary&&(e.preventDefault(),Se(e,pe()))},[Se,pe]),we=(0,T$.useCallback)(e=>{se.current!=null&&(e.preventDefault(),be(e.currentTarget))},[be]),Te=(0,T$.useCallback)(e=>{se.current?.syntheticTouch||se.current?.pointerId===e.pointerId&&be()},[be]),Ee=(0,T$.useCallback)(e=>{let t=se.current;if(!t||t.pointerId!==e.pointerId||t.syntheticTouch&&!r$(e))return;let n=e.clientY-t.startCoord;t.tracker.add(0,e.clientY,e.timeStamp);let{offsets:r,peekOffset:i}=me(t.height),a=t.baseOffset+n,o=r[r.length-1],s;s=a<0?t.pointerType===`touch`?Math.max(-t.reserve,_R(a,t.height-t.reserve,M_.rubberBand.coefficient)):Math.max(-48,a*A$):a>o?a:o$(a,r);let c=s{let t=se.current;if(!t||t.pointerId!==e.pointerId||t.syntheticTouch&&!r$(e))return;let n=e.currentTarget,r=e.clientY-t.startCoord,i=Math.max(0,t.baseOffset+r),a=r===0?0:r>0?1:-1;t.tracker.lastSample?.y!==e.clientY&&t.tracker.add(0,e.clientY,e.timeStamp);let o=t.tracker.velocity(e.timeStamp).y/1e3;se.current=null,t.syntheticTouch||n.releasePointerCapture?.(e.pointerId),h(!1),w(!1),xe(i,o,t.height||1,a,Math.abs(r),t.baseOffset,t.baseLayoutOffset,t.renderedOffset,t.layoutOffset,t.naturalEndGap,t.pointerType===`touch`)},[xe]),Oe=(0,T$.useRef)(null),ke=(0,T$.useCallback)(e=>{if(e.button!==0||!e.isPrimary)return;let t=e.currentTarget;if(p$(e.target,t)){Oe.current=null;return}let n=m$(e.target,t);if(!_$(n)){Oe.current=null;return}let r=new KR;r.add(0,e.clientY,e.timeStamp),Oe.current={pointerId:e.pointerId,startCoord:e.clientY,scrollers:n,tracker:r}},[]),Ae=(0,T$.useCallback)(e=>{if(se.current){Ee(e);return}let t=Oe.current;if(!t||t.pointerId!==e.pointerId)return;let n=e.clientY-t.startCoord;t.tracker.add(0,e.clientY,e.timeStamp),n>M$&&_$(t.scrollers)?(Oe.current=null,Se(e,pe(),t.startCoord,t.tracker),Ee(e)):n<0&&(Oe.current=null)},[Se,Ee,pe]),je=(0,T$.useCallback)(e=>{Oe.current=null,se.current?.syntheticTouch||se.current&&De(e)},[De]),Me=(0,T$.useRef)(null),Ne=(0,T$.useRef)(null),Pe=(0,T$.useCallback)(e=>{x$(Me.current),Me.current=null,Oe.current=null,be(e)},[be]),Fe=(0,T$.useRef)(Se),Ie=(0,T$.useRef)(be),Le=(0,T$.useRef)(Pe),Re=(0,T$.useRef)(Ee),ze=(0,T$.useRef)(De),Be=(0,T$.useRef)(pe);(0,T$.useEffect)(()=>{Fe.current=Se,Ie.current=be,Le.current=Pe,Re.current=Ee,ze.current=De,Be.current=pe});let Ve=(0,T$.useCallback)(e=>{let t=(e,t,n)=>({syntheticTouch:!0,pointerId:e.identifier,pointerType:i$(e),clientY:e.clientY,timeStamp:n.timeStamp,currentTarget:t,setPointerCapture:()=>{},releasePointerCapture:()=>{}}),n=e=>{let t=e.currentTarget;if(e.touches.length>1){Le.current(t);return}Oe.current=null;let n=e.changedTouches[0];if(x$(Me.current),!n||p$(e.target,t)){Me.current=null;return}let r=m$(e.target,t),i=_$(r),a=v$(r)&&(te.current>0||!y$(r)),o=new KR;o.add(0,n.clientY,e.timeStamp),Me.current={id:n.identifier,startX:n.clientX,startY:n.clientY,scrollers:r,top:i,bottom:a,contentEndY:null,promotedAtContentEnd:!1,releaseContentHold:null,tracker:o}},r=e=>{let n=e.currentTarget;if(e.touches.length>1){Le.current(n);return}let r=Me.current;if(se.current){let i=[...e.changedTouches].find(e=>e.identifier===se.current?.pointerId);if(!i)return;if(r?.promotedAtContentEnd&&r.contentEndY!=null){if(i.clientY>=r.contentEndY){r.contentEndY=null,r.promotedAtContentEnd=!1,x$(r),Ie.current(n);return}Re.current(t(i,n,e));return}e.preventDefault(),Re.current(t(i,n,e));return}if(!r)return;let i=[...e.changedTouches].find(e=>e.identifier===r.id);if(!i)return;let a=i.clientY-r.startY;r.tracker.add(0,i.clientY,e.timeStamp);let o=r.top&&a>0&&_$(r.scrollers),s=r.bottom&&a<0&&v$(r.scrollers),c=Math.abs(i.clientX-r.startX),l=Math.abs(a)>c;if((o||s)&&Math.abs(a)>=5&&l&&e.cancelable&&e.preventDefault(),o&&l&&a>M$||s&&l&&a<-8)e.cancelable&&e.preventDefault(),x$(r),Me.current=null,Fe.current(t(i,n,e),Be.current(),r.startY,r.tracker),Re.current(t(i,n,e));else{if(Math.max(Math.abs(a),c)>M$&&(r.top||r.bottom)){if(!l){x$(r),Me.current=null;return}r.top=!1,r.bottom=!1}r.top&&a<=-5&&!v$(r.scrollers)&&(r.top=!1),r.bottom&&a>=5&&!_$(r.scrollers)&&(r.bottom=!1),v$(r.scrollers)?r.contentEndY==null?(r.contentEndY=i.clientY,r.releaseContentHold??=b$(r.scrollers)):r.contentEndY-i.clientY>=j$&&(r.promotedAtContentEnd=!0,Fe.current(t(i,n,e),Be.current(),r.contentEndY,r.tracker),Re.current(t(i,n,e))):(r.contentEndY=null,x$(r))}},i=e=>{x$(Me.current),Me.current=null;let n=se.current?.pointerId;if(n==null)return;let r=[...e.changedTouches].find(e=>e.identifier===n),i=e.currentTarget;r?ze.current(t(r,i,e)):e.touches.length===0&&Ie.current(i)},a=J.current;if(a&&Ne.current){let e=Ne.current;a.removeEventListener(`touchstart`,e.start),a.removeEventListener(`touchmove`,e.move),a.removeEventListener(`touchend`,e.end),a.removeEventListener(`touchcancel`,e.end)}J.current=e,e?(e.addEventListener(`touchstart`,n,{passive:!0}),e.addEventListener(`touchmove`,r,{passive:!1}),e.addEventListener(`touchend`,i,{passive:!0}),e.addEventListener(`touchcancel`,i,{passive:!0}),Ne.current={start:n,move:r,end:i}):Ne.current=null},[]),He=(0,T$.useCallback)(e=>{if(L.current<=0)return;let t=u$(e),n=Math.max(0,e.scrollHeight-e.clientHeight-t),r=Math.max(0,e.scrollTop-n);r{se.current==null&&R.current==null&&He(e.currentTarget)},[He]),We=(0,T$.useCallback)(e=>{e.isPrimary?Ce(e):Pe(e.currentTarget)},[Ce,Pe]),Ge=(0,T$.useCallback)(e=>{e.isPrimary?ke(e):Pe(e.currentTarget)},[ke,Pe]),Ke=(0,T$.useCallback)(e=>{e.touches.length>1&&Pe(e.currentTarget)},[Pe]),qe=(0,T$.useCallback)(e=>{let t=se.current;t?.pointerId!==e.pointerId||t.syntheticTouch||be(e.currentTarget)},[be]),Je=m?u:f;return{sheetRef:fe,contentProps:(0,T$.useMemo)(()=>({style:{transform:Je===0?void 0:`translateY(${Je}px)`,transition:e&&(m||F)?`none`:void 0,touchAction:`pinch-zoom`,overscrollBehavior:`contain`}}),[Je,m,e,F]),handleProps:(0,T$.useMemo)(()=>({style:{touchAction:`pinch-zoom`,cursor:`grab`},onContextMenu:we,onLostPointerCapture:Te,onPointerDown:We,onPointerMove:Ee,onPointerUp:De,onPointerCancel:qe,onTouchStart:Ke,onTouchMove:Ke}),[De,we,qe,We,Ke,Te,Ee]),bodyProps:(0,T$.useMemo)(()=>({ref:Ve,onContextMenu:we,onLostPointerCapture:Te,onPointerDown:Ge,onPointerMove:Ae,onPointerUp:je,onPointerCancel:je,onScroll:Ue}),[Ve,je,Ge,Ae,Ue,we,Te]),bodyElementRef:J,dragOffset:u,settledOffset:f,isDragging:m,isTraveling:C,isDismissedByTouchDrag:x,dragExit:S,activeOffsetRef:te,sheetHeight:T,scrollPreservationInset:D,settlingLayoutOffset:N,settledLayoutOffset:k,completeScrollAreaSettle:ee}}var T$,E$,D$,O$,k$,A$,j$,M$,N$=o((()=>{T$=u(f(),1),au(),Kq(),qR(),rJ(),vR(),N_(),n$(),e$(),E$=.998/.0020000000000000018,D$=48,O$=.4,k$=40,A$=.35,j$=4,M$=8}));function P$(e){return Math.max(t1,Math.ceil(e*n1))}function F$(e){return Array.isArray(e)?e.some(F$):typeof e==`object`&&!!e}function I$(){return typeof Element<`u`&&typeof Element.prototype.animate==`function`}function L$(e,t){let n=e.ownerDocument.defaultView?.innerHeight??0,r=Math.max(0,n-e.getBoundingClientRect().top);return HP(e,kI.sheetDismissSwipe,{from:0,to:t.distance,velocity:t.velocity,epsilon:xF.y},Math.min(t.distance,r))}function R$(e){let t=e.closest(`dialog`),n=e.ownerDocument;if(t==null||typeof n.getAnimations!=`function`)return;let r=n.getAnimations().filter(e=>{let n=e.effect;return n?.target===t&&e.transitionProperty===`opacity`&&Number(n.getKeyframes().at(-1)?.opacity)===0}),i=r.filter(e=>e.effect.pseudoElement===`::backdrop`);return(i.length>0?i:r.filter(e=>!e.effect.pseudoElement)).at(-1)}function z$(){return typeof window>`u`?0:window.innerHeight}function B$(){s1=z$();for(let e of c1)e()}function V$(e){return c1.add(e),l1??(l1=bu(window,`resize`,B$),s1=z$(),e()),()=>{c1.delete(e),c1.size===0&&(l1?.(),l1=null,s1=null)}}function H$(){return l1==null?z$():(s1??=z$(),s1)}function U$(){return 0}function W$(){return()=>{}}function G$(e){let t=``;for(let n of e??[])t+=`${typeof n}:${n}|`;return t}function K$(e,t){return e?t:{...t,ref:void 0}}function q$(e){return e.kind===`open`?e.entering?`entering`:null:e.kind===`retained`?e.motion===`covered`?null:e.motion:e.kind===`exiting`?`exiting`:null}function J$(e,t,n){if(e==null)return n(),()=>{};let r=!1,i=null,a=0,o=()=>{r||(r=!0,i!=null&&clearTimeout(i),e.removeEventListener(`transitionend`,s),e.removeEventListener(`transitioncancel`,s),n())},s=n=>{n.target===e&&n.propertyName===t&&(n.type===`transitioncancel`&&Y$(e,t)?i!=null&&(clearTimeout(i),i=setTimeout(o,a)):o())};e.addEventListener(`transitionend`,s),e.addEventListener(`transitioncancel`,s);let c=getComputedStyle(e);if(e.style.transition.trim()===`none`||c.transition.trim()===`none`)return o(),()=>{};let l=c.transitionProperty.split(`,`).map(e=>e.trim()),u=c.transitionDuration.split(`,`).map(X$),d=c.transitionDelay.split(`,`).map(X$),f=!1,p=l.reduce((e,n,r)=>{if(n!==t&&n!==`all`)return e;let i=u[r%u.length],a=d[r%d.length];return i==null||a==null?(f=!0,e):Math.max(e,i+a)},0);return f?()=>{e.removeEventListener(`transitionend`,s),e.removeEventListener(`transitioncancel`,s)}:p<=0?(o(),()=>{}):(a=p+a1,i=setTimeout(o,a),()=>{i!=null&&clearTimeout(i),e.removeEventListener(`transitionend`,s),e.removeEventListener(`transitioncancel`,s)})}function Y$(e,t){return(e.getAnimations?.()??[]).some(e=>e.transitionProperty===t&&(e.playState===`running`||e.playState===`paused`))}function X$(e){let t=e.trim();if(!/^-?(?:\\d+|\\d*\\.\\d+)(?:ms|s)$/.test(t))return null;let n=Number.parseFloat(e);return t.endsWith(`ms`)?n:n*1e3}function Z$({ref:e,state:t,isOpenRequested:n,height:r,label:i,children:a,padding:o,snapPoints:s,className:c,style:l,tabIndex:u,xstyle:d,isEntrySettled:f=!1,onEntrySettled:p,onTransitionEnd:m,isSwipeDismissAllowed:h=!0,isPageScrollLocked:g=!1,onDismiss:_,onScrimOpacity:v,onScrimFade:y,onElementChange:b,handleRef:x,onMotionStart:S,onMotionComplete:w,...T}){let E=(0,Q$.useRef)(null),D=(0,Q$.useRef)(null),O=nu(S),k=nu(w),A=nu(y),j=(0,Q$.useRef)(null),M=(0,Q$.useRef)(null),N=t.kind===`open`&&t.entering,[P,F]=(0,Q$.useState)({kind:t.kind,isEntering:N,isReactivated:!1});(P.kind!==t.kind||P.isEntering!==N)&&F({kind:t.kind,isEntering:N,isReactivated:N&&P.kind===`retained`});let I=P.isReactivated,L=t.kind===`open`,R=t.kind!==`hidden`,z=t.kind===`retained`,B=z||t.kind===`exiting`,V=t.kind===`exiting`,H=z&&t.motion===`fading`,ee=ps(`(prefers-reduced-motion: reduce)`),U=z&&!ee?t.alignmentOffset:0,te=G$(s),[W,G]=(0,Q$.useState)({key:te,points:s});W.key!==te&&G({key:te,points:s});let{snapHeights:ne,ignoredSnapPointsWarning:re}=(0,Q$.useMemo)(()=>{let{key:e,points:t}=W;if(e===``)return{snapHeights:void 0,ignoredSnapPointsWarning:``};let n=(t??[]).filter(e=>!GQ(e));return{snapHeights:()=>KQ(t??[],z$()),ignoredSnapPointsWarning:n.length===0?``:`snapPoints ignored ${JSON.stringify(n)}. A snap point is a viewport fraction above 0 and up to 1 (0.5 is half the screen), a px length ('320px'), or a percentage ('50%').`}},[W]);OC(`BottomSheet`,re,re!==``);let ie=l?.height,K=o1.some(e=>l?.[e]!=null)||F$(d)||c!=null&&c!==``,q=ps(`(any-pointer: coarse)`),ae=R&&q&&!K,oe=(0,Q$.useSyncExternalStore)(ae?V$:W$,ae?H$:U$,U$),se=oe>0?P$(oe):t1,{contentProps:ce,handleProps:le,bodyProps:J,bodyElementRef:ue,sheetRef:de,dragOffset:fe,settledOffset:pe,isDragging:me,isDismissedByTouchDrag:he,dragExit:ge,sheetHeight:_e,scrollPreservationInset:ve,settlingLayoutOffset:ye,settledLayoutOffset:be,completeScrollAreaSettle:xe}=w$({isOpen:L,isOpenRequested:n??L,canDismiss:h,offscreenBlockEndInset:se,onDismiss:_,snapHeights:ne,onTravelStart:()=>{D.current?.(E.current??void 0)},onScrimOpacity:v,hasFixedHeight:ie!=null}),{getViewportProps:Se,getContentProps:Ce}=NU({axis:`both`,keyboardAccess:{owner:`contentOrViewport`,label:i},overscroll:`contain`,stickyContainment:`always`}),we=(0,Q$.useRef)(R),Te=(0,Q$.useCallback)(e=>{de(we.current?e:null),E.current=e,b?.(e)},[b,de]),Ee=(0,Q$.useRef)(null);(0,Q$.useLayoutEffect)(()=>{if(we.current===R)return;we.current=R,de(R?E.current:null);let e=Ee.current;!R&&e!=null&&(Ee.current=null,cF(e).set({y:0}))},[R,de]);let De=AL(E,{move:`ride`,inset:!0,offset:r1,isEnabled:r===`tall`&&R,isExpanded:pe===0,isOpen:L,isPageScrollLocked:g}),Oe=De.inset;D.current=De.dismiss,(0,Q$.useImperativeHandle)(e,()=>E.current,[]);let ke=q$(t),Ae=ps(`(prefers-reduced-motion: reduce) and (pointer: coarse)`)||ee&&he,je=ge!=null&&!Ae&&!ee&&I$()?ge:null;(0,Q$.useLayoutEffect)(()=>{let e=E.current;if(je==null||e==null)return;let t=t=>{A.current?.(e,t)};return t(L$(e,je)),()=>{t(null)}},[A,je]),(0,Q$.useLayoutEffect)(()=>{if(ke==null)return;j.current!==ke&&(j.current=null),M.current=null;let e=()=>{j.current===ke?k.current?.(ke):M.current=ke};if(ke===`entering`&&I){e();return}let t=E.current;if(ke===`exiting`&&je!=null&&t!=null){Ee.current=t;let n=cF(t).animate({y:je.distance},{spring:kI.sheetDismissSwipe,velocity:{y:je.velocity}}),r=!0,i=!1,a=null;return n.started.then(e=>{let n=i=>{if(a=null,!r)return;let o=R$(t);o==null?i>0&&(a=requestAnimationFrame(()=>n(i-1))):o.startTime=e};n(i1)}),n.finished.then(()=>{i=!0,A.current?.(t,null),r&&e()}),()=>{r=!1,a!=null&&cancelAnimationFrame(a),i||n.retarget({y:0})}}let n=Ae&&ke===`exiting`;return J$(E.current,ke===`fading`||n?`opacity`:`transform`,e)},[ke,Ae,je,I,k,A]),(0,Q$.useLayoutEffect)(()=>{if(ye!=null)return J$(E.current,`transform`,xe)},[xe,ye]),(0,Q$.useEffect)(()=>{if(ke!=null)return O.current?.(ke),j.current=ke,M.current===ke&&(M.current=null,k.current?.(ke)),()=>{j.current===ke&&(j.current=null),M.current===ke&&(M.current=null)}},[ke,k,O]);let Me=o==null,Ne=o??4,Pe=hM[Ne],Fe=typeof r==`string`&&r in e1?e1[r]:typeof r==`number`?`${r}px`:r,Ie=_e>0,Le=ce.style.transform,Re;if(Ie){let e=me?fe0||me||ye!=null?c$(_e,e):void 0,Le=t===0?void 0:`translateY(${t}px)`}let ze=U>0?[Le,`translateY(${U}px)`].filter(Boolean).join(` `):Le,Be=L?Le:z?ze:void 0,Ve=l?.transform,He=L||z||V?Re:void 0,Ue=l$(ve);(0,Q$.useLayoutEffect)(()=>{if(me)return;let e=E.current;e!=null&&(Ve==null&&(!R||ge==null||V&&je==null&&!Ae)&&(e.style.transform=Be??``),ie??(e.style.height=He??``));let t=ue.current;t!=null&&(t.style.paddingBlockEnd=Ue??``)});let We={transition:ce.style.transition,touchAction:ce.style.touchAction,overscrollBehavior:ce.style.overscrollBehavior,height:He};return(0,$$.jsxs)(`div`,{...T,ref:Te,tabIndex:u??-1,onTransitionEnd:e=>{m?.(e),f&&e.target===e.currentTarget&&p?.()},...Q(Y(`bottom-sheet`),C(Hp.reset,Wp.reset,f1.sheet,Kg.reset,r===`hug`?f1.hugHeight:f1.budget,V&&f1.sheetClosing,V&&Ae&&f1.sheetClosingCrossFade,H&&f1.sheetFading,B&&f1.sheetInactive,f&&f1.sheetSettled,d),c,{\"--_sheet-budget\":Fe,\"--_sheet-reserve\":`${se}px`,...L?We:z||V?{height:He}:{},...l}),children:[(0,$$.jsx)(`div`,{ref:x,...Q(Y(`bottom-sheet-handle`),{className:`x10l6tqk x13vifvy x1o0tod xtijo5x x1vjfegm x78zum5 x6s0dn4 xl56j7k xvpftlf xafqdz2 x1so62im x1j4r261 x1jm3nie x16khyan x1cpjm7i x1oke5ut x34npju xmwhqxd x1hw15nc`}),...le,\"aria-hidden\":`true`}),(0,$$.jsx)(`div`,{...K$(R,Se({...J,...Q(C(iS.focusVisible,f1.body,r===`tall`&&f1.tallKeyboardBody),Ue==null?{}:{style:{paddingBlockEnd:Ue}})})),children:(0,$$.jsx)(`div`,{...K$(R,Ce(C(f1.content,r===`tall`&&f1.tallKeyboardContent,r===`tall`&&Oe>0&&f1.keyboardInset(Oe),...Bj(Me?{useThemeDefault:`bottom-sheet`}:{paddingInnerX:Pe,paddingInnerY:Pe,paddingOuterX:Pe,paddingOuterY:Pe}),!Me&&Ne!==4&&pM[Ne],!Me&&Ne!==4&&gM[Ne],!Me&&u1[Ne],!Me&&Ne!==4&&vM[Ne],f1.clearsGrabBar))),children:(0,$$.jsx)(Wf,{children:(0,$$.jsx)(kM,{value:`bottom-sheet`,children:a})})})})]})}var Q$,$$,e1,t1,n1,r1,i1,a1,o1,s1,c1,l1,u1,d1,f1,p1=o((()=>{Q$=u(f(),1),au(),D(),MC(),gs(),HU(),G(),bC(),vr(),AM(),oS(),Up(),Gp(),Xf(),dM(),TM(),Pu(),e$(),GF(),GP(),jI(),PL(),N$(),$$=mc(),e1={hug:`92dvh`,capped:`62dvh`,tall:`92dvh`},t1=48,n1=.4,r1=48,i1=3,a1=50,j[`--spacing-6`],o1=[`height`,`minHeight`,`maxHeight`,`blockSize`,`minBlockSize`,`maxBlockSize`],s1=null,c1=new Set,l1=null,u1={0:{\"--container-padding-block-start\":`x1hkkx89`,$$css:!0},1:{\"--container-padding-block-start\":`x1vy0k3q`,$$css:!0},2:{\"--container-padding-block-start\":`x1rr17ng`,$$css:!0},3:{\"--container-padding-block-start\":`xk3zy2s`,$$css:!0},4:{\"--container-padding-block-start\":`xp5lzm3`,$$css:!0},5:{\"--container-padding-block-start\":`xlhad5c`,$$css:!0},6:{\"--container-padding-block-start\":`xqk0106`,$$css:!0},8:{\"--container-padding-block-start\":`x1qqmacf`,$$css:!0},10:{\"--container-padding-block-start\":`x213oh1`,$$css:!0},\"0.5\":{\"--container-padding-block-start\":`xoq6zsc`,$$css:!0},\"1.5\":{\"--container-padding-block-start\":`xmc9d48`,$$css:!0}},d1={k4zj60:`x1ipgmjk`,$$css:!0},f1={sheet:{kfzvcC:`x67bb7w`,kB7OPa:`x9f619`,kVAEAm:`x1n2onr6`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kAzted:`x2lwn1j`,kzqmXN:`xh8yej3`,ks0D6T:`x11gisft`,kWkggS:`x10xzikg`,kMwMTN:`x1tgivj0`,kEafiO:`x11xkdxz`,kPef9Z:`x13fuv20`,kLZC3w:`x1pc3f07`,k2ei4v:`xgbv0en`,kVhnKS:`x1t7ytsu`,kGJrpR:`x1j92z86`,ke9TFa:`xw8tdv1`,k8ry5P:`x18b5jzi`,kBCPoo:`x1gejf6u`,krdFHd:`x81l70g`,kfmiAY:`x7hs6f1`,kGVxlE:`x1kcpxr7`,kI3sdo:`x1a2a7pz`,kVQacm:`xb3r6kr`,kGO01o:`x5559hn`,k1K539:`xgwt18o`,k3aq6I:`xnn1q72 xhbqy3z xspp5ug`,kSiTet:`x1hc1fzr x1igigxu xgo67oj`,k1ekBW:`xwcsmn1`,kIyJzY:`x80gvsz xzg1mie x1qzunnh`,kAMwcw:`xlr8y92`,k6sLGO:`x1q1rmc8`,\"--_sheet-scrim-opacity\":`xnvc5mv`,\"--_sheet-scrim-duration\":`x1jx3mzq`,\"--_sheet-scrim-easing\":`x1pfqsku`,$$css:!0},sheetSettled:{kIyJzY:`xpvlhck`,$$css:!0},sheetClosing:{k3aq6I:`x1weeur4 x1oe9tb1`,kSiTet:`x1m67veq`,kAMwcw:`x1j6inz x1s1rlkj`,$$css:!0},sheetClosingCrossFade:{k3aq6I:`xnn1q72`,kSiTet:`xg01cxk`,kIyJzY:`x8uwg2f`,$$css:!0},sheetFading:{kSiTet:`xg01cxk`,$$css:!0},sheetInactive:{kfzvcC:`x47corl`,$$css:!0},body:{kzQI83:`x1iyjqo2`,kAzted:`x2lwn1j`,kB7OPa:`x9f619`,kFalU9:`xge0x1e`,kInvED:`x1wfwxd8 x1nw7mhf`,kWkggS:`x10xzikg`,kGO01o:`x18d9i69`,$$css:!0},clearsGrabBar:{kLKAdn:`x1bwh7i5`,$$css:!0},content:{k1xSpc:`xufnvkl`,kB7OPa:`x9f619`,kZKoxP:`x5yr21d`,kAzted:`x1lh6h5t`,$$css:!0},tallKeyboardBody:{kFlMNQ:`xrw9175`,$$css:!0},tallKeyboardContent:{k5JduY:`x1s928wv`,kc3QkE:`xhkezso`,k4zj60:`x1gmr53x`,kloYau:`x2q1x1w`,$$css:!0},keyboardInset:e=>[d1,{\"--x-nsbhg8\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],budget:{kZKoxP:`x1fqcpoh`,$$css:!0},hugHeight:{kZKoxP:`xg7h5cd`,kskxy:`xkche18`,$$css:!0}},Z$.displayName=`BottomSheetPanel`}));function m1(){return(0,h1.jsx)(`div`,{className:`xixxii4 x17y0mx6 x1ey2m1c x1kpxq89 x10xzikg xhtitgo x47corl x1cb67k9 xt2iwb0`,\"data-sheet-edge-tint\":``,\"aria-hidden\":`true`})}var h1,g1=o((()=>{h1=mc()})),_1,v1,y1,b1=o((()=>{ys(),_1=_s(`BottomSheetHostContext`,1,null),_1.displayName=`BottomSheetHostContext`,v1={isOpen:!0},y1={isOpen:!1}}));function x1(){return{shape:w0,entries:[],shownOrder:new WeakMap,listenedDocuments:new WeakMap,batchOpened:[],batchClosed:[],batchActor:null,batchPair:null,lastPress:new WeakMap,pendingDrops:[],pendingReplaceFocus:null,closingTogether:new Map,rankByKey:new WeakMap,currentBatch:0,nextSeq:0,isBatchDirty:!1,isSealScheduled:!1,focusToKeep:new WeakMap,deferredTopLayer:new WeakMap}}function S1(){return $.isBatchDirty=!0,C1(),{batch:$.currentBatch,seq:$.nextSeq++}}function C1(){$.isSealScheduled||typeof queueMicrotask!=`function`||($.isSealScheduled=!0,queueMicrotask(()=>{$.isSealScheduled=!1,w1()}))}function w1(){g0(),T1(),$.isBatchDirty&&($.currentBatch+=1,$.isBatchDirty=!1),$.batchOpened=[],$.batchClosed=[],$.batchActor=null,$.batchPair=null}function T1(){if($.batchOpened.length>0)return;let e=$.batchClosed.filter(e=>e.isModal&&e.replace==null&&e.replacing==null);if(e.length<2)return;let t=new Map;for(let n of e){let e=t.get(n.doc)??[];e.push(n),t.set(n.doc,e)}for(let[e,n]of t){if(n.length<2)continue;let t=I1(e,!0);if(t.some(e=>e.isOpen))continue;let r=t.filter(e=>n.includes(e)),i=r[0],a={members:r,pending:new Set(r),returnTarget:i.getReturnTarget?.()??null};for(let e of r)$.closingTogether.set(e,a)}}function E1(e){let t=$.entries.find(t=>t.key===e);return t!=null&&$.closingTogether.has(t)}function D1(e){if(e.pending.size>0||e.reported)return;e.reported=!0;let t=e.returnTarget;t!=null&&t.isConnected&&KA(t)}function O1(e){let t=$.entries.find(t=>t.key===e),n=t==null?void 0:$.closingTogether.get(t);t!=null&&n!=null&&k1(t,n)}function k1(e,t){$.closingTogether.delete(e),t.pending.delete(e),D1(t)}function A1(e){if($.listenedDocuments.has(e))return;let t=t=>{t.target instanceof Element&&$.lastPress.set(e,{target:new WeakRef(t.target),at:Date.now()})};e.addEventListener(`pointerdown`,t,!0),e.addEventListener(`click`,t,!0),e.addEventListener(`keydown`,t,!0),$.listenedDocuments.set(e,()=>{e.removeEventListener(`pointerdown`,t,!0),e.removeEventListener(`click`,t,!0),e.removeEventListener(`keydown`,t,!0),$.lastPress.delete(e)})}function j1(e){if($.entries.some(t=>t.doc===e))return;let t=$.listenedDocuments.get(e);t!=null&&($.listenedDocuments.delete(e),t())}function M1(e,t){let n=$.lastPress.get(e),r=n?.target.deref();return n!=null&&r!=null&&r.isConnected&&Date.now()-n.at<=T0&&!N1(r,t)?r:e.activeElement}function N1(e,t){let n=$.entries.find(n=>{let r=n.getElement();return n.doc===t.doc&&r!=null&&r.contains(e)});return n==null||n===t?!1:!n.isOpen||n.replace!=null}function P1(e,t){$.batchOpened.length===0&&$.batchClosed.length===0&&($.batchActor=M1(e.doc,e)),(t===`opened`?$.batchOpened:$.batchClosed).push(e)}function F1(e,t){if(e.rank.batch!==t.rank.batch)return e.rank.batch-t.rank.batch;let n=e.getTreeAnchor?.()??e.getElement(),r=t.getTreeAnchor?.()??t.getElement();if(n!=null&&r!=null&&n!==r){let e=n.compareDocumentPosition(r);if(e&Node.DOCUMENT_POSITION_FOLLOWING)return-1;if(e&Node.DOCUMENT_POSITION_PRECEDING)return 1}return e.rank.seq-t.rank.seq}function I1(e,t){return $.entries.filter(n=>n.doc===e&&n.isModal===t).sort(F1)}function L1(e){return I1(e.doc,e.isModal)}function R1(e,t){let n=$.shownOrder.get(e);return n==null?[]:t?n.modal:n.nonModal}function z1(e,t,n){let r=$.shownOrder.get(e)??{modal:[],nonModal:[]};t?r.modal=n:r.nonModal=n,$.shownOrder.set(e,r)}function B1(e,t){return e.isStacked===t.isStacked&&e.isTop===t.isTop&&e.isCovered===t.isCovered&&e.depth===t.depth&&e.ownsScrim===t.ownsScrim&&e.isScrimHandoff===t.isScrimHandoff&&e.isBlocked===t.isBlocked&&e.isScrimTakenOver===t.isScrimTakenOver&&e.replacedMotion===t.replacedMotion&&e.alignmentOffset===t.alignmentOffset&&e.isReplacing===t.isReplacing}function V1(e,t){let n=[];if(!t){for(let t of e){let e={...b0,replacedMotion:t.replace?.motion??null,alignmentOffset:t.replace?.alignmentOffset??0,isReplacing:t.replacing!=null};B1(t.view,e)||(t.view=e,n.push(t))}for(let e of n)e.onView(e.view);return}let r=e.filter(e=>e.isOpen),i=r[r.length-1]??null,a=e.find(e=>e.isOpen||e.replace!=null)??null;e.forEach((t,r)=>{let o=0;for(let n=r+1;n0,c=t.getElement(),l=c!=null&&e.some(e=>{let n=e.getElement();return e!==t&&n!=null&&c.contains(n)}),u=t===a,d=u&&t.isOpen&&e.slice(0,r).some(e=>!e.isOpen),f={isStacked:e.length>1,isTop:t===i,isCovered:s,depth:o,ownsScrim:u,isScrimHandoff:d,isBlocked:s&&!l,isScrimTakenOver:!t.isOpen&&a!=null&&a!==t,replacedMotion:t.replace?.motion??null,alignmentOffset:t.replace?.alignmentOffset??0,isReplacing:t.replacing!=null};B1(t.view,f)||(t.view=f,n.push(t))});for(let e of n)e.onView(e.view)}function H1(e){let t=e.ownerDocument,n=t.activeElement;if(n instanceof HTMLElement&&n!==t.body){let r=n.closest(`dialog`);r!=null&&r!==e&&!r.contains(e)&&!e.contains(r)&&K1(r)&&$.focusToKeep.set(t,n),n.blur()}e.showModal()}function U1(e){e.style.setProperty(`--_sheet-scrim-duration`,`0s`),e.style.setProperty(`--_sheet-scrim-opacity`,`0`),H1(e),typeof getComputedStyle==`function`&&getComputedStyle(e,`::backdrop`).opacity,e.style.removeProperty(`--_sheet-scrim-duration`)}function W1(e,t,n){e!=null&&(!e.open||e.style.getPropertyValue(`--_sheet-scrim-opacity`)===t?e.style.setProperty(`--_sheet-scrim-opacity`,t):(e.style.setProperty(`--_sheet-scrim-duration`,`0s`),e.style.setProperty(`--_sheet-scrim-opacity`,t),G1(n),n.frame=requestAnimationFrame(()=>{n.frame=requestAnimationFrame(()=>{n.frame=null,e.style.removeProperty(`--_sheet-scrim-duration`)})})))}function G1(e){e.frame!=null&&(cancelAnimationFrame(e.frame),e.frame=null)}function K1(e){if(e==null)return!1;if(e.open)return!0;try{return e.matches(`:popover-open`)}catch{return!1}}function q1(e){let t=[];for(let n of Array.from(e.ownerDocument.querySelectorAll(`dialog[open]`)))n===e||n.contains(e)||n.hasAttribute(`inert`)||n.getAttribute(`aria-hidden`)===`true`||$.entries.some(e=>!e.isOpen&&e.getElement()===n)||Q1(n)&&t.push(n);return t}function J1(e,t,n){let r=e.ownerDocument,i=$.deferredTopLayer.get(r);if(i??(i={deferred:new Map,blockers:new WeakSet,removals:null,stopListeningForClose:null},$.deferredTopLayer.set(r,i)),i.stopListeningForClose==null){let e=()=>{X1(r)};r.addEventListener(`close`,e,!0),i.stopListeningForClose=()=>{r.removeEventListener(`close`,e,!0)}}i.deferred.set(e,t);for(let e of n)i.blockers.add(e);if(i.removals==null&&typeof MutationObserver==`function`){let{blockers:e}=i,t=new MutationObserver(t=>{t.some(t=>Y1(t,e))&&X1(r)});t.observe(r,{childList:!0,subtree:!0}),i.removals=t}}function Y1(e,t){for(let n of Array.from(e.removedNodes))if(n instanceof Element&&(n instanceof HTMLDialogElement?[n]:Array.from(n.querySelectorAll(`dialog`))).some(e=>t.has(e)))return!0;return!1}function X1(e){let t=$.deferredTopLayer.get(e);if(t==null||t.deferred.size===0)return;let{deferred:n}=t;for(let[r,i]of Array.from(n)){if(!r.isConnected||!r.open){n.delete(r);continue}let a=q1(r);if(a.length>0){for(let e of a)t.blockers.add(e);continue}n.delete(r);let o=e.activeElement;r.close(),$1(r,i),e.activeElement!==o&&o instanceof HTMLElement&&o.isConnected&&o.focus({preventScroll:!0})}n.size===0&&Z1(t)}function Z1(e){e.removals?.disconnect(),e.removals=null,e.stopListeningForClose?.(),e.stopListeningForClose=null}function Q1(e){return rd(e)||e.getAttribute(`aria-modal`)===`true`}function $1(e,t){if(typeof e.showPopover!=`function`){e.show();return}let n=q1(e);if(n.length>0){e.show(),J1(e,t,n);return}let r=e.ownerDocument,i=t?.hasAttribute(`autofocus`)??!1;t!=null&&!i&&t.setAttribute(`autofocus`,``);try{e.showPopover()}finally{t!=null&&!i&&t.removeAttribute(`autofocus`)}aA(),t!=null&&r.activeElement===t&&!t0(e)&&e0(t)?.focus({preventScroll:!0})}function e0(e){let t=e.querySelectorAll(`a[href], area[href], button, input, select, textarea, iframe, summary, [contenteditable]:not([contenteditable=\"false\"]), [tabindex]`);for(let n of Array.from(t))if(!(n===e||n.tabIndex<0)&&!(n.disabled===!0||n.closest(`[inert]`)!=null||n.getAttribute(`type`)===`hidden`||n.hidden||typeof n.checkVisibility==`function`&&!n.checkVisibility()))return n;return null}function t0(e){if(E0!=null)return E0;let t=e.ownerDocument,n=t.activeElement,r=t.createElement(`dialog`);r.setAttribute(`aria-hidden`,`true`),r.style.cssText=`position:fixed;inset:auto;opacity:0;pointer-events:none`;let i=t.createElement(`div`);i.tabIndex=-1;let a=t.createElement(`button`);a.type=`button`,i.appendChild(a),r.appendChild(i),e.appendChild(r);try{r.show(),E0=t.activeElement===i,r.close()}catch{E0=!0}finally{r.remove(),t.activeElement!==n&&n instanceof HTMLElement&&n.isConnected&&n.focus({preventScroll:!0})}return E0}function n0(e){let t=$.deferredTopLayer.get(e.ownerDocument);if(t!=null&&t.deferred.delete(e)&&t.deferred.size===0&&Z1(t),e.hasAttribute(`popover`)&&typeof e.hidePopover==`function`)try{e.hidePopover()}catch{}e.open&&e.close()}function r0(e){if(e==null||!K1(e))return;let t=e.ownerDocument,n=t.activeElement;n0(e),t.activeElement!==n&&n instanceof HTMLElement&&n.isConnected&&n.focus({preventScroll:!0})}function i0(){if($.batchOpened.length!==1||$.batchClosed.length!==1){a0();return}let[e]=$.batchOpened,[t]=$.batchClosed;if($.batchPair!=null&&$.batchPair.replaced===t||t===e||t.replaceable==null||e.replaceable==null||t.doc!==e.doc||t.isModal!==e.isModal||t.replace?.replacer===e||!e.isOpen||t.isOpen)return;let n=t.getElement(),r=e.getElement();if(n==null||r==null||n.contains(r)||r.contains(n)||L1(t).some(n=>n!==e&&n!==t&&n.isOpen&&F1(n,t)>0))return;let i=$.batchActor;(i==null||i===t.doc.body||n.contains(i))&&(t.replacing!=null&&t.replacing!==e&&s0(t.replacing),t.replace!=null&&(t.replace.replacer.replacing=null),e.replace!=null&&(e.replace=null),t.replace={replacer:e,motion:`covered`,alignmentOffset:0,isAlignmentComplete:!1,isEnteringComplete:!1},e.replacing=t,$.batchPair={replaced:t,replacer:e,replacerOpener:e.replaceable.getOpener()},$.lastPress.delete(e.doc),e.replaceable.setOpener(t.replaceable.getOpener()),$.pendingReplaceFocus=e)}function a0(){let e=$.batchPair;if(e==null)return;$.batchPair=null;let{replaced:t,replacer:n,replacerOpener:r}=e;t.replace?.replacer===n&&(t.replace=null),n.replacing===t&&(n.replacing=null),n.replaceable?.setOpener(r),$.pendingReplaceFocus===n&&($.pendingReplaceFocus=null)}function o0(){let e=$.pendingReplaceFocus;if(e==null)return;let t=e.getElement();t!=null&&K1(t)&&($.pendingReplaceFocus=null,e.focus(`replace`))}function s0(e){let t=e.replace;if(t==null)return;let{replacer:n}=t;e.replace=null,n.replacing===e&&(n.replacing=null),e.hide(),e.replaceable?.finish()}function c0(e){let t=e.getBoundingClientRect().top,n=e.ownerDocument.defaultView;if(n==null||typeof n.DOMMatrixReadOnly!=`function`)return t;let{transform:r}=n.getComputedStyle(e);return r===``||r===`none`?t:t-new n.DOMMatrixReadOnly(r).m42}function l0(e,t){return e==null||t==null?0:Math.max(0,c0(e)-t.getBoundingClientRect().top)}function u0(e,t,n){let r=$.entries.find(t=>t.key===e);if(r==null)return;if(n===`entering`){let e=r.replacing,n=e?.replace??null;if(e==null||n==null||n.replacer!==r)return;if(t===`start`){if(n.motion!==`covered`)return;let t=l0(r.replaceable?.getPanel()??null,e.replaceable?.getPanel()??null);if(t>x0&&(n.motion=`aligning`,n.alignmentOffset=t,n.isAlignmentComplete=!1),r.isEnteringInPlace)r.isEnteringInPlace=!1,n.isEnteringComplete=!0,n.motion!==`aligning`&&(n.motion=`fading`);else if(n.motion===`covered`)return}else{if(n.isEnteringComplete=!0,n.motion===`aligning`&&!n.isAlignmentComplete)return;n.motion=`fading`}p0(r.doc,r.isModal);return}let i=r.replace;i!=null&&t===`complete`&&(n===`aligning`&&i.motion===`aligning`?(i.isEnteringComplete?i.motion=`fading`:i.isAlignmentComplete=!0,p0(r.doc,r.isModal)):n===`fading`&&i.motion===`fading`&&(s0(r),p0(r.doc,r.isModal)))}function d0(e,t,n){let r=R1(e,t),i=n.filter(e=>{let t=e.getElement();return t!=null&&t.isConnected}),a=0,o=0;for(;a=0;--e)s.has(r[e])||r[e].hide();for(let e of c){let t=l!=null&&e.getElement()?.contains(l)?l:null,n=t?.hasAttribute(`autofocus`)??!1;t!=null&&!n&&t.setAttribute(`autofocus`,``),e.show(),t!=null&&!n&&t.removeAttribute(`autofocus`),u=!0}if(z1(e,t,i),!u)return;if(c.some(e=>r.includes(e))&&aA(),l!=null&&l.isConnected){e.activeElement!==l&&l.focus({preventScroll:!0});return}let d=i.filter(e=>e.isOpen);d[d.length-1]?.focus(`open`)}function f0(e,t){let n=$.focusToKeep.get(e);$.focusToKeep.delete(e);let r=e.activeElement,i=n!=null&&n.isConnected?n:r instanceof HTMLElement&&r!==e.body?r:null;if(i==null)return null;for(let e of t){let t=e.getElement();if(e.isOpen&&t!=null&&t.contains(i))return i}return null}function p0(e,t){i0(),$.batchOpened.length>0&&$.batchClosed.length>0&&g0();let n=I1(e,t);V1(n,t),d0(e,t,n),$.focusToKeep.delete(e),o0(),X1(e)}function m0(e,t,n=!0){let{key:r}=e,i=$.rankByKey.get(r),a;i!=null&&!i.isClosed&&(i.detachedBatch==null||i.detachedBatch===$.currentBatch)?(a={batch:i.batch,seq:i.seq},i.detachedBatch=null):(a=S1(),$.rankByKey.set(r,{...a,isClosed:!t,detachedBatch:null}));let o=e.getElement()?.ownerDocument??document;A1(o);let s={...e,rank:a,isOpen:t,doc:o,isModal:n,view:b0,replace:null,replacing:null,isEnteringInPlace:!1};return $.entries.push(s),t&&a.batch===$.currentBatch&&$.isBatchDirty&&P1(s,`opened`),p0(s.doc,s.isModal),()=>{let e=$.entries.indexOf(s);if(e===-1)return;$.entries.splice(e,1),j1(s.doc),z1(s.doc,s.isModal,R1(s.doc,s.isModal).filter(e=>e!==s)),$.batchOpened=$.batchOpened.filter(e=>e!==s),$.batchClosed=$.batchClosed.filter(e=>e!==s),$.pendingDrops=$.pendingDrops.filter(e=>e!==s),$.pendingReplaceFocus===s&&($.pendingReplaceFocus=null),($.batchPair?.replaced===s||$.batchPair?.replacer===s)&&($.batchPair=null);let t=$.closingTogether.get(s);s.replace!=null&&(s.replace.replacer.replacing=null,s.replace=null),s.replacing!=null&&(s.replacing.replace=null,s.replacing=null),s.hide(),t!=null&&k1(s,t);let n=$.rankByKey.get(r);n!=null&&(n.detachedBatch=$.currentBatch,$.isBatchDirty=!0,C1()),s.view=b0,s.onView(s.view),p0(s.doc,s.isModal)}}function h0(e,t){let n=$.entries.find(t=>t.key===e);if(n==null||n.isOpen===t)return;n.isOpen=t;let r=$.rankByKey.get(e);if(t){if($.closingTogether.has(n)){let e=$.closingTogether.get(n);$.closingTogether.delete(n),e?.pending.delete(n)}n.rank=S1(),$.rankByKey.set(e,{...n.rank,isClosed:!1,detachedBatch:null}),P1(n,`opened`),n.replace!=null&&(n.replace.replacer.replacing=null,n.replace=null,n.isEnteringInPlace=!0)}else r!=null&&(r.isClosed=!0),$.isBatchDirty=!0,C1(),P1(n,`closed`),n.isEnteringInPlace=!1,n.replacing!=null&&$.pendingDrops.push(n.replacing);p0(n.doc,n.isModal)}function g0(){if($.pendingDrops.length===0)return;let e=$.pendingDrops;$.pendingDrops=[];for(let t of e){let e=t.replace?.replacer;e!=null&&!e.isOpen&&s0(t)}}function _0(e){let t=$.entries.find(t=>t.key===e);if(t==null)return null;let n=L1(t);for(let e=n.indexOf(t)-1;e>=0;--e){let t=n[e],r=t.getElement();if(t.isOpen&&r!=null)return{element:r,focus:()=>t.focus(`reveal`)}}return null}function v0(e){let t=e.closest(`dialog`);for(let n of e.querySelectorAll(`[data-autofocus]`))if(!(n.closest(`dialog`)!==t||n.closest(`[inert]`)!=null||typeof n.checkVisibility==`function`&&!n.checkVisibility())&&(n.focus({preventScroll:!0}),n.ownerDocument.activeElement===n))return!0;return!1}function y0(e,t,n){if(e==null)return;let r=e.closest(`dialog`);if(r!=null&&(r.hasAttribute(`inert`)||r.getAttribute(`aria-hidden`)===`true`))return;let i=e.ownerDocument.activeElement,a=i!=null&&e.contains(i)&&i.closest(`dialog`)===e.closest(`dialog`);a&&(t===`reveal`||t===`replace`&&i!==e)||(t===`reveal`?GA(e):a&&i?.hasAttribute(`data-autofocus`)===!0||v0(e)||!a&&(n||t===`replace`)&&e.focus({preventScroll:!0}))}var b0,x0,S0,C0,w0,$,T0,E0,D0=o((()=>{lA(),bj(),od(),Xn(),b0={isStacked:!1,isTop:!1,isCovered:!1,depth:0,ownsScrim:!1,isScrimHandoff:!1,isBlocked:!1,isScrimTakenOver:!1,replacedMotion:null,alignmentOffset:0,isReplacing:!1},x0=1,S0=8,C0=Symbol.for(`astryx.bottomSheetStack.v${S0}`),w0=S0,$=Gn(C0,x1,e=>e?.shape===w0),T0=1e3,E0=null})),O0,k0=o((()=>{ys(),O0=_s(`BottomSheetSwitcherContext`,1,null),O0.displayName=`BottomSheetSwitcherContext`})),A0,j0=o((()=>{ys(),A0=_s(`BottomSheetEscapeContext`,1,!0),A0.displayName=`BottomSheetEscapeContext`}));function M0(e){return[e.isStacked&&U0.positionerStackMotion,e.depth===1&&U0.positionerReceded1,e.depth>=2&&U0.positionerReceded2]}function N0(e,t){if(e.isStacked)return t?e.isTop?`top`:`covered`:e.replacedMotion==null?`exiting`:`replaced`}function P0(e){return e.isStacked&&!e.ownsScrim?`0`:`1`}function F0(e,t,n){if(e==null)return;let r=e.style.getPropertyValue(`--_sheet-scrim-duration`);t==null?(n.current!=null&&r===n.current&&(e.style.removeProperty(`--_sheet-scrim-duration`),e.style.removeProperty(`--_sheet-scrim-easing`)),n.current=null):r!==`0s`&&(n.current=`${t.durationMs}ms`,e.style.setProperty(`--_sheet-scrim-duration`,n.current),e.style.setProperty(`--_sheet-scrim-easing`,t.easing))}function I0(e,t){switch(e){case`active`:return{kind:`open`,entering:!1};case`entering`:return{kind:`open`,entering:!0};case`covered`:case`aligning`:case`fading`:return{kind:`retained`,motion:e,alignmentOffset:t};case`exiting`:return{kind:`exiting`};case`hidden`:return{kind:`hidden`}}}function L0(e,t){y0(e,`open`,t)}function R0({ref:e,isOpen:t,onOpenChange:n,label:r,children:i,height:a=`capped`,snapPoints:o,hasScrim:s=!0,finalFocusRef:c,purpose:l=`info`,xstyle:u,...d}){let f=(0,V0.useRef)(null),p=(0,V0.useRef)(null),m=(0,V0.useRef)(null),h=(0,V0.useRef)(!1),g=nu(c),_=(0,V0.use)(_1)?.isOpen??!0,v=tx(),y=t&&_&&!v,[b,x]=hk(t,y,!1),S=b&&y;Mj(f,y&&s);let[w,T]=(0,V0.useState)(y);y&&!w&&T(!0);let E=y||w,D=(0,V0.useRef)({}),[O,k]=(0,V0.useState)(b0),A=(0,V0.useRef)(y);(0,V0.useInsertionEffect)(()=>{A.current=y},[y]);let j=!y&&w&&O.replacedMotion!=null,[M,N]=(0,V0.useState)(!1),[P,F]=(0,V0.useState)(y);P!==y&&(F(y),N(!1));let I=y?{kind:`open`,entering:O.isReplacing}:j?{kind:`retained`,motion:O.replacedMotion??`covered`,alignmentOffset:O.alignmentOffset}:w?M?{kind:`exiting`}:{kind:`open`,entering:!1}:{kind:`hidden`},L=(0,V0.use)(A0),R=(0,V0.useCallback)(()=>{y&&l!==`required`&&L&&n(!1)},[L,y,n,l]),z=(0,V0.useCallback)(()=>{l===`info`&&n(!1)},[n,l]),B=(0,V0.useCallback)(e=>{p.current=e},[]),V=(0,V0.useRef)(O),H=(0,V0.useRef)({frame:null});(0,V0.useEffect)(()=>()=>G1(H.current),[]);let ee=(0,V0.useCallback)(e=>W1(f.current,e,H.current),[]),U=(0,V0.useCallback)(e=>{let t=V.current;(!t.isStacked||t.ownsScrim)&&f.current?.style.setProperty(`--_sheet-scrim-opacity`,String(e))},[]),te=(0,V0.useRef)(null),W=(0,V0.useCallback)((e,t)=>{let n=V.current;(!n.isStacked||n.ownsScrim)&&F0(e.closest(`dialog`),t,te)},[]);(0,V0.useLayoutEffect)(()=>{if(!E)return;let e=D.current,t=f.current,n=t==null?null:qA(t,{keepRestingFocus:!0}),r=()=>g.current?.current??m.current,i=m0({key:e,getElement:()=>f.current,show:()=>{let e=f.current;e==null||K1(e)||(m.current??=document.activeElement,s?(e.style.setProperty(`--_sheet-scrim-opacity`,P0(V.current)),e.showModal()):$1(e,p.current))},hide:()=>r0(f.current),focus:e=>y0(p.current,e,s),getReturnTarget:r,onView:e=>{V.current=e,k(e),A.current||e.replacedMotion!=null?ee(P0(e)):e.isScrimTakenOver&&ee(`0`)},replaceable:{getPanel:()=>p.current,getOpener:()=>m.current,setOpener:e=>{m.current=e},finish:()=>{m.current=null,T(!1)}}},A.current,s);return()=>{if(n!=null&&K1(t)){let t=r(),i=s?_0(e):null;n(()=>{(i==null||i.element.isConnected)&&(i!=null&&(t==null||!i.element.contains(t))?i.focus():t!=null&&t.isConnected&&KA(t))})}i()}},[g,s,E,ee]),(0,V0.useLayoutEffect)(()=>{if(!y){let e=f.current;h.current=e!=null&&e.contains(e.ownerDocument.activeElement)}E&&h0(D.current,y),y||N(!0)},[s,y,E]);let G=oA(f,y&&s,O.isTop,`bottom-sheet`);(0,V0.useEffect)(()=>{w1()}),(0,V0.useLayoutEffect)(()=>{let e=f.current;e!=null&&s&&(y||j?e.style.setProperty(`--_sheet-scrim-opacity`,P0(V.current)):w&&e.style.setProperty(`--_sheet-scrim-opacity`,`0`))},[s,y,w,j]);let ne=(0,V0.useCallback)(e=>{u0(D.current,`start`,e)},[]),re=(0,V0.useCallback)(e=>{if(u0(D.current,`complete`,e),e!==`exiting`||y)return;if(s&&V.current.depth>0){r0(f.current),T(!1),m.current=null;return}if(s&&E1(D.current)){r0(f.current),T(!1),m.current=null,O1(D.current);return}let t=f.current;t!=null&&n0(t),T(!1);let n=s?_0(D.current):null,r=c?.current??(s||h.current?m.current:null);n!=null&&(r==null||!n.element.contains(r))?n.focus():r!=null&&KA(r),m.current=null},[c,s,y]),{ref:ie}=Ff(),K=gx(f,ie);Yk(E&&s),OC(`BottomSheet`,\"requires a non-empty `label` for an accessible name; the open sheet has no built-in heading to derive one from.\",y&&!r);let{shouldDismissOnCloseRequest:q}=Bx({isActive:E,escapeBehavior:y&&l!==`required`&&L?`close`:`block`,onDismiss:R,getContainer:()=>f.current,isPresent:()=>K1(f.current)&&!V.current.isCovered&&V.current.replacedMotion==null}),ae=(0,V0.useCallback)(e=>{e.target===e.currentTarget&&(e.preventDefault(),q()&&R())},[R,q]),oe=(0,V0.useCallback)(e=>{s&&e.target===e.currentTarget&&z()},[z,s]),se=!y&&w,ce=se&&j||O.isBlocked,le=se&&!j&&M;return(0,V0.useLayoutEffect)(()=>{let e=f.current;if(le&&e!=null)return hA(e,{until:new Promise(()=>{}),scope:`layer`,focus:`kept-inside`})},[le]),(0,H0.jsxs)(`dialog`,{...C(U0.dialog,E&&U0.dialogOpen,E&&U0.dialogPanelHost,...M0(O),s&&U0.scrim,s&&S&&U0.scrimSettled,s&&se&&U0.scrimClosing,!s&&U0.dialogNonModal),ref:K,popover:s?void 0:`manual`,\"aria-label\":r,\"aria-hidden\":ce?`true`:void 0,\"aria-modal\":s&&y?`true`:void 0,role:l===`required`?`alertdialog`:void 0,inert:ce?!0:void 0,\"data-sheet-stack\":s?N0(O,y):void 0,\"data-sheet-stack-depth\":s&&O.depth>0?O.depth:void 0,onCancel:ae,...rp({onClick:oe}),children:[(0,H0.jsx)(Z$,{...d,ref:e,state:I,isEntrySettled:S,onEntrySettled:x,isOpenRequested:y,height:a,label:r,snapPoints:o,isSwipeDismissAllowed:l===`info`,isPageScrollLocked:E&&s,xstyle:u,onDismiss:z,onScrimOpacity:U,onScrimFade:W,onElementChange:B,handleRef:G,onMotionStart:ne,onMotionComplete:re,children:(0,H0.jsx)(UM,{dialogRef:f,isOpen:y&&s,children:(0,H0.jsx)(xx,{children:(0,H0.jsx)(A0,{value:!0,children:(0,H0.jsx)(_1,{value:y?v1:y1,children:i})})})})}),E&&(0,H0.jsx)(m1,{})]})}function z0({switcher:e,ref:t,sheetId:n,label:r,children:i,height:a=`capped`,snapPoints:o,purpose:s=`info`,xstyle:c,...l}){let{activeSheet:u,hasScrim:d,onActiveSheetChange:f,getSheetPhase:p,getSheetAlignmentOffset:m,hostSheet:h,isScrimOwner:g,isFlowClosing:_,registerSheetElement:v,registerSheetDialog:y,registerSheetPurpose:b,onBeforeSheetPresent:x,onBeforeSheetShow:S,isCoveredInTopLayer:w,onSheetEnterStart:T,onSheetTransitionComplete:E,onSheetScrimOpacityChange:D,stackView:O,dialogProps:k,onDialogCancel:A,onDialogClick:j,onDialogKeyDown:M,settledSheet:N,releaseSettledSheet:P}=e,F=typeof n==`string`&&n.length>0,I=F?p(n):`hidden`,L=I0(I,F?m(n):0),R=I===`active`||I===`entering`,z=I===`covered`||I===`aligning`||I===`fading`||I===`exiting`,B=I!==`hidden`,V=F&&B&&N===n,H=I===`active`||I===`entering`,ee=F&&g(n),U=z||d&&O.isBlocked,te=F&&h===n,W=(0,V0.useRef)(null),G=(0,V0.useRef)(null),ne=(0,V0.useRef)(null),re=(0,V0.useRef)(I),ie=re.current,K=(0,V0.useRef)(!1);(0,V0.useLayoutEffect)(()=>{re.current=I},[I]);let q=(0,V0.useCallback)(()=>{s===`info`&&F&&u===n&&f(null)},[u,F,f,s,n]),ae=(0,V0.useCallback)(e=>{ne.current=e,F&&v(n,e)},[F,v,n]),oe=(0,V0.useCallback)(e=>{W.current=e,F&&y(n,e)},[F,y,n]),se=(0,V0.useCallback)(e=>{e===`entering`&&F&&T(n)},[F,T,n]),ce=(0,V0.useCallback)(e=>{F&&E({sheetId:n,phase:e})},[F,E,n]),le=(0,V0.useCallback)(e=>{F&&D(n,e)},[F,D,n]),J=(0,V0.useRef)(null),ue=(0,V0.useCallback)((e,t)=>{F0(e.closest(`dialog`),t,J)},[]);(0,V0.useLayoutEffect)(()=>{if(F)return b(n,s),()=>b(n,null)},[F,s,b,n]),(0,V0.useLayoutEffect)(()=>{let e=W.current;if(e==null||!F)return;if(!B){e.open&&e.close(),G.current=null;return}let t=d?`modal`:`non-modal`;e.open&&G.current!==t&&e.close(),e.open&&d&&R&&w(n)&&e.close(),e.open||(d?(x(n),ee?H1(e):U1(e)):(S(),e.show())),G.current=t},[d,F,w,R,B,x,S,ee,n]),(0,V0.useLayoutEffect)(()=>()=>{let e=W.current;e?.open&&e.close()},[]),(0,V0.useEffect)(()=>{if(R){let e=ie===`active`||ie===`entering`;K.current&&e||L0(ne.current,d),K.current=!0}else I===`hidden`&&(K.current=!1)},[d,R,I,ie]),OC(`BottomSheet`,\"requires a non-empty `label` for an accessible name; the open sheet has no built-in heading to derive one from.\",R&&!r);let{className:de,style:fe,xstyle:pe,\"aria-label\":me,\"aria-labelledby\":he,id:ge,\"data-testid\":_e,...ve}=k,ye=Q(C(U0.dialog,B&&U0.dialogOpen,d&&U0.scrim,d&&V&&U0.scrimSettled,d&&ee&&_&&U0.scrimClosing,!d&&U0.dialogNonModalItem,!d&&H&&U0.dialogNonModalItemTop,pe),de,fe);return(0,H0.jsxs)(`dialog`,{...ve,...ye,id:te?ge:void 0,\"data-testid\":te?_e:void 0,ref:oe,\"aria-label\":me??(he==null?r:void 0),\"aria-labelledby\":he,\"aria-modal\":d&&R?`true`:void 0,\"aria-hidden\":U?`true`:void 0,inert:U?!0:void 0,\"data-sheet-stack\":d&&B?N0(O,u!=null):void 0,\"data-sheet-stack-depth\":d&&B&&O.depth>0?O.depth:void 0,role:s===`required`?`alertdialog`:ve.role,onCancel:A,onKeyDown:M,...rp({...ve,onClick:j}),children:[(0,H0.jsx)(`div`,{...C(U0.positioner,!B&&U0.positionerHidden,H&&U0.positionerTop,...d?M0(O):[]),hidden:!B,\"aria-hidden\":U?`true`:void 0,inert:U?!0:void 0,children:(0,H0.jsx)(Z$,{...l,ref:t,state:L,isEntrySettled:V,onEntrySettled:P,isOpenRequested:F&&u===n,height:a,label:r,snapPoints:o,isSwipeDismissAllowed:s===`info`,isPageScrollLocked:d,xstyle:c,onDismiss:q,onScrimOpacity:le,onScrimFade:ue,onElementChange:ae,onMotionStart:se,onMotionComplete:ce,children:(0,H0.jsx)(O0,{value:null,children:(0,H0.jsx)(UM,{dialogRef:W,isOpen:B&&d,children:(0,H0.jsx)(xx,{children:(0,H0.jsx)(A0,{value:!0,children:(0,H0.jsx)(_1,{value:R?v1:y1,children:i})})})})})})}),B&&(0,H0.jsx)(m1,{})]})}function B0(e){let t=(0,V0.use)(O0),n=e.sheetId,r=typeof n==`string`&&n.length>0;return OC(`BottomSheet`,\"requires a non-empty `sheetId` when nested in BottomSheetSwitcher; standalone `isOpen` / `onOpenChange` props are ignored there.\",t!=null&&!r),OC(`BottomSheet`,\"`sheetId` only works inside BottomSheetSwitcher. Use `isOpen` and `onOpenChange` for a standalone sheet.\",t==null&&n!=null),t==null?(0,H0.jsx)(R0,{...e}):(0,H0.jsx)(z0,{...e,switcher:t})}var V0,H0,U0,W0=o((()=>{V0=u(f(),1),au(),ox(),_k(),D(),MC(),Qk(),vx(),AA(),bC(),Tx(),KM(),lA(),Ux(),Lj(),bj(),Hf(),p1(),g1(),b1(),D0(),k0(),j0(),op(),H0=mc(),U0={dialog:{kVAEAm:`xixxii4`,kpwlN0:`x10a8y8t`,kzqmXN:`x1o6l61p`,kZKoxP:`xtdtrs8`,ks0D6T:`x1x1rfll`,kskxy:`x7ab17h`,kogj98:`x1ghz6dp`,kmVPX3:`x1717udv`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kWkggS:`xjbqb8w`,kVQacm:`x1rea2x4`,k1xSpc:`x1s85apg`,kI3sdo:`x1a2a7pz`,$$css:!0},dialogOpen:{k1xSpc:`x1lliihq`,$$css:!0},dialogPanelHost:{k1xSpc:`x78zum5`,kjj79g:`xl56j7k`,kGNEyG:`xuk3077`,$$css:!0},dialogNonModal:{kfzvcC:`x47corl`,kzqmXN:`xh8yej3`,kZKoxP:`x5yr21d`,$$css:!0},dialogNonModalItem:{kfzvcC:`x47corl`,kzqmXN:`xh8yej3`,kZKoxP:`x5yr21d`,$$css:!0},dialogNonModalItemTop:{kY2c9j:`x1vjfegm`,$$css:!0},scrim:{kGyWv1:`xnixb3f`,k5sjJv:`xni466t xxiuuzi`,kND0Po:`xc0dz0a`,k9an0g:`x10buo38`,kb4ib:`x15h3t91`,kwHxkk:`x142juwg`,k4oj2o:`x15l12jy`,$$css:!0},scrimSettled:{k9an0g:`x108qnu8`,$$css:!0},scrimClosing:{kb4ib:`x1w553ls`,$$css:!0},positioner:{kVAEAm:`x10l6tqk`,kkqhue:`x17y0mx6`,krVfgx:`x1ey2m1c`,k1xSpc:`x78zum5`,kjj79g:`xl56j7k`,kfzvcC:`x47corl`,$$css:!0},positionerHidden:{k1xSpc:`x1s85apg`,$$css:!0},positionerTop:{kY2c9j:`x1vjfegm`,$$css:!0},positionerStackMotion:{k3nNDw:`x1fpg8nb`,k1ekBW:`x11xpdln`,kIyJzY:`x80gvsz`,kAMwcw:`xlr8y92`,k6CgDc:`xzg1mie`,$$css:!0},positionerReceded1:{k3aq6I:`xfkfg1k`,$$css:!0},positionerReceded2:{k3aq6I:`xdo3dbm`,$$css:!0}},B0.displayName=`BottomSheet`})),G0=c({MenuBottomSheet:()=>K0});function K0({finalFocusRef:e,isOpen:t,onOpenChange:n,label:r,children:i}){let[a,o]=(0,q0.useState)(t);t&&!a&&o(!0);let s=(0,q0.useRef)(null);return(0,q0.useEffect)(()=>{if(t||!a)return;let e=s.current?.closest(`dialog`);if(e==null||!e.open){o(!1);return}let n=()=>o(!1);return e.addEventListener(`close`,n),()=>e.removeEventListener(`close`,n)},[a,t]),a?(0,J0.jsx)(B0,{ref:s,finalFocusRef:e,isOpen:t,onOpenChange:n,label:r,height:`hug`,padding:0,purpose:`info`,children:i}):null}var q0,J0,Y0=o((()=>{q0=u(f(),1),W0(),J0=mc(),K0.displayName=`MenuBottomSheet`}));ox(),XS(),rC();var X0=YS(async()=>nC(()=>Promise.resolve().then(()=>(UQ(),IQ)),void 0)),Z0=X0.load;async function Q0(){try{return await Z0(),{isLoaded:!0}}catch(e){return{isLoaded:!1,error:e}}}var $0=async()=>nC(()=>Promise.resolve().then(()=>(Y0(),G0)),void 0),e2=(0,X.lazy)(async()=>{let[e]=await Promise.all([$0(),Z0().catch(()=>void 0)]);return{default:e.MenuBottomSheet}}),t2=(0,X.lazy)(async()=>$0().then(e=>({default:e.MenuBottomSheet}))),n2=(0,X.lazy)(async()=>Z0().then(e=>({default:e.MenuBottomSheetActionList})));function r2(e){return tx()?null:(0,X.createElement)(X.Suspense,{fallback:null},(0,X.createElement)(e2,e))}function i2(e){return tx()?null:(0,X.createElement)(X.Suspense,{fallback:null},(0,X.createElement)(t2,e))}function a2(e){let[t]=(0,X.useState)(()=>X0.loaded()?.MenuBottomSheetActionList??null);return tx()?null:(0,X.createElement)(X.Suspense,{fallback:null},(0,X.createElement)(t??n2,e))}var o2={content:{kB7OPa:`x9f619`,kLKAdn:`xexx8yu`,kGO01o:`x18d9i69`,kg3NbH:`x7a5moj`,\"--container-padding-inline-start\":`x1cvlban`,\"--container-padding-inline-end\":`x2oyxnl`,\"--container-padding-block-start\":`x1047aw6`,\"--container-padding-block-end\":`xax9j7h`,$$css:!0},headingAlone:{k1K539:`x1p37lm5`,$$css:!0}};Xf(),ys();var s2=Uf(`DropdownMenuSurfaceContext`,1,null);s2.displayName=`DropdownMenuSurfaceContext`;var c2=Uf(`DropdownMenuRootOpenContext`,1,null);c2.displayName=`DropdownMenuRootOpenContext`;function l2(){return(0,X.use)(c2)!==!1}var u2=Uf(`DropdownMenuContext`,1,null);u2.displayName=`DropdownMenuContext`;function d2(){return(0,X.use)(u2)}var f2=_s(`DropdownMenuRadioGroupContext`,1,null);f2.displayName=`DropdownMenuRadioGroupContext`,bj();function p2(e,t){if(t||e.pointerType!==`mouse`)return;let n=e.currentTarget;n!==n.ownerDocument.activeElement&&GA(n,{preventScroll:!0})}var m2={root:{krdFHd:`xprhdup x13kg4je`,kfmiAY:`xexjgc1 x7vg3tk`,kVL7Gh:`xx92llm xb6b8hi`,kT0f0o:`x4b9gmp x1v34wvp`,$$css:!0}};sE(),TY(),iO(),oS(),iQ(),MQ(),vr(),vO();var h2={root:{kB7OPa:`x9f619`,kzqmXN:`xh8yej3`,k8WAf4:`xce4md1`,kg3NbH:`xf314gf`,kMv6JI:`x9ynric`,kGuDYH:`xcr08ib`,kLWn49:`x1kq96og`,kMwMTN:`x1tgivj0`,kWkggS:`xjbqb8w x1p2z2pi x17hk9mh`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kkrTdU:`x1ypdohk x16khyan`,k9WMMc:`x1yc453h`,kInvED:`x1c097ug`,$$css:!0},disabled:{kSiTet:`xbyyjgo`,kkrTdU:`xt0e3qv`,$$css:!0},destructive:{kMwMTN:`x1wj83wy`,\"--_item-label-color\":`x1pa1ci1`,\"--_item-description-color\":`x1dj2fx0`,$$css:!0}},g2={sm:{k8WAf4:`xu0wf1k`,kg3NbH:`xf314gf`,$$css:!0},md:{k8WAf4:`x1vofgu7`,$$css:!0},lg:{$$css:!0}};function _2({icon:e,label:t,description:n,onClick:r,href:i,target:a,rel:o,isDisabled:s=!1,endContent:c,hasCloseOnSelect:l=!0,variant:u=`default`,xstyle:d,className:f,style:p,ref:m,onPointerMove:h,onAuxClick:g,..._}){let v=d2(),y=v?.menuSize??`md`,b=gO(),x=(0,X.useCallback)(e=>{s?e.preventDefault():(i!=null&&TQ(e)||r?.(e),l&&v?.closeMenu())},[s,i,r,l,v]),S=(0,X.useCallback)(e=>{s?e.preventDefault():i!=null&&e.button===1&&l&&v?.closeMenu()},[s,i,l,v]),C=(0,X.useCallback)(e=>p2(e,s),[s]),w=u===`destructive`,T=nO();return(0,Z.jsx)(gY,{..._,onMouseDown:_C(_.onMouseDown,s?DQ:void 0),ref:m,as:i==null?void 0:T,role:`menuitem`,tabIndex:-1,onPointerMove:_C(C,h),...b,startContent:e?eE(e,{size:`sm`,color:w?`error`:`secondary`}):void 0,label:t,description:n,endContent:c,onClick:x,onAuxClick:_C(S,g),href:i,target:a,rel:o,draggable:i==null&&void 0,isDisabled:s,xstyle:[iS.focusVisible,h2.root,m2.root,rQ,g2[y],w&&h2.destructive,s&&h2.disabled,d],...Q(Y(`dropdown-menu-item`,{size:y,variant:w?`destructive`:null}),{className:f,style:p})})}_2.displayName=`DropdownMenuItem`,xZ(),vr();var v2={divider:{kqGvvJ:`xsq74q5`,$$css:!0}},y2=Y(`dropdown-menu-divider`).className;function b2({xstyle:e,className:t,style:n,ref:r,...i}){return(0,Z.jsx)(hZ,{...i,ref:r,xstyle:[v2.divider,e],className:t?`${y2} ${t}`:y2,style:n})}b2.displayName=`DropdownMenuDivider`,Lj();function x2(e){return e==null?[]:eA(e).filter(t=>t.tabIndex>=0&&!S2(t,e))}function S2(e,t){if(typeof window>`u`||!window.getComputedStyle)return!1;for(let n=e.parentElement;n!=null&&n!==t.parentElement;n=n.parentElement)if(window.getComputedStyle(n).display===`none`)return!0;return!1}function C2(e){return e.focus(),e.ownerDocument.activeElement===e}function w2(e,t,n,r,i=!1){if(t==null)return;e.preventDefault(),e.stopPropagation();let a=document.activeElement,o=wj([...x2(n),t,...x2(r)],a);if(o.length===1){i&&t.focus();return}let s=o.indexOf(t),c=t.contains(a)?s:o.findIndex(e=>e===a||e.contains(a));c<0&&(c=s);let l=e.shiftKey?-1:1,u=o[(c+l+o.length)%o.length];C2(u)||t.focus()}Rk(),x(),bj();var T2=new Set([`text`,`search`,`url`,`tel`,`email`,`password`,`number`]);function E2(e,t){let n=e.parentElement?.closest(`[hidden],[inert]`);return n!=null&&n!==t&&t.contains(n)}function D2(e){if(e.isContentEditable)return e;let t=e.closest(`[contenteditable]`);return t&&t.getAttribute(`contenteditable`)!==`false`?t:null}function O2(e,t){if(!(e instanceof HTMLElement))return!1;let n=D2(e);if(n){let e=typeof window<`u`?window.getSelection():null;return e&&e.rangeCount>0&&!e.isCollapsed?!0:(n.textContent??``).length>0}let r=e.tagName===`TEXTAREA`,i=e.tagName===`INPUT`&&T2.has(e.type);if(!r&&!i)return!1;let{selectionStart:a,selectionEnd:o,value:s}=e;return a!==o||a==null?!0:t===`ArrowLeft`||t===`ArrowUp`||t===`Home`?a>0:t===`ArrowRight`||t===`ArrowDown`||t===`End`?a{let e=p.current;if(!e)return[];let r=Array.from(e.querySelectorAll(t)).filter(t=>!E2(t,e));return n?r.filter(t=>t.closest(n)===e):r},[t,n]),g=(0,X.useCallback)(e=>{let t=p.current;if(!t||!n)return!0;let r=e.target;return!r||r.closest(n)===t},[n]),_=(0,X.useCallback)((e,t,n,r,i=m)=>{let a=e.length;if(a===0)return-1;let o=t;for(let t=0;t=a){if(!r)return-1;o=(o+a)%a}let t=e[o];if(t&&!i(t))return o;o+=n}return-1},[m]),v=(0,X.useCallback)(e=>!f&&m(e),[f,m]),y=(0,X.useCallback)(()=>{let e=h(),t=document.activeElement;return e.findIndex(e=>e===t||e.contains(t))},[h]),x=(0,X.useCallback)((e,t)=>{e.getAttribute(`tabindex`)!==String(t)&&e.setAttribute(`tabindex`,String(t))},[]),S=(0,X.useCallback)(()=>{let e=p.current;if(e!=null&&l!=null){let[t,...n]=l(e);t!=null&&x(t,0);for(let e of n)x(e,-1);return}let t=h(),n=t.filter(e=>!m(e));if(n.length===0)return;let r=n.find(e=>e.getAttribute(`tabindex`)===`0`)??n[0];for(let e of t)x(e,e===r?0:-1)},[h,m,x,l]);b(()=>{c&&S()});let C=(0,X.useCallback)((e,t)=>{let n=e[t];if(n){if(c){let t=p.current,r=t!=null&&l!=null?[...e,...l(t)]:e;for(let e of r)x(e,e===n?0:-1)}d?GA(n):n.focus()}},[c,x,d,l]),w=(0,X.useCallback)(e=>{let t=h();if(t.length===0)return;let n=Math.max(0,Math.min(e,t.length-1));C(t,n)},[h,C]),T=(0,X.useCallback)(()=>{let e=h(),t=_(e,0,1,!1);return t!==-1&&(C(e,t),!0)},[h,_,C]),E=(0,X.useCallback)(()=>{let e=h(),t=_(e,e.length-1,-1,!1);return t!==-1&&(C(e,t),!0)},[h,_,C]),D=(0,X.useCallback)(e=>{let t=p.current,n=h();if(!t||n.length===0)return;let r=y(),i=n.map((e,t)=>v(e)?-1:t).filter(e=>e!==-1);if(i.length===0)return;let a=()=>{let r=t.getBoundingClientRect(),a=i.filter(e=>{let t=n[e].getBoundingClientRect();return t.top>=r.top-1&&t.bottom<=r.bottom+1});return a.length===0?-1:e===1?a[a.length-1]:a[0]},o=t=>r===-1||(e===1?t>r:t{let r=t.getBoundingClientRect(),i=n[e].getBoundingClientRect();return i.height>0&&i.top>=r.top-1&&i.bottom<=r.bottom+1}).length),o=i.indexOf(r),c=o===-1?e===1?-1:i.length:o;s=i[Math.max(0,Math.min(i.length-1,c+e*a))]}s!==-1&&s!==r&&C(n,s)},[h,y,v,C,T]),O=(0,X.useCallback)(()=>{c&&S()},[c,S]);return{listRef:p,handleKeyDown:(0,X.useCallback)(e=>{if(e.ctrlKey||e.metaKey||e.altKey||!g(e))return;if(e.key===`Escape`){i&&(e.preventDefault(),i());return}let t=a===`horizontal`||a===`both`,n=a===`vertical`||a===`both`,c=[],d=[];if(t){let t=e.key===`ArrowLeft`||e.key===`ArrowRight`?Lk(p.current):!1;c.push(t?`ArrowLeft`:`ArrowRight`),d.push(t?`ArrowRight`:`ArrowLeft`)}n&&(c.push(`ArrowDown`),d.push(`ArrowUp`));let f=c.includes(e.key),m=d.includes(e.key),b=o&&e.key===`Home`,x=o&&e.key===`End`,S=s&&e.key===`PageDown`,w=s&&e.key===`PageUp`;if(!f&&!m&&!b&&!x&&!S&&!w||u&&(O2(e.target,e.key)||O2(document.activeElement,e.key)))return;let T=y(),E=h(),O=T===-1?0:T+1,k=T===-1?E.length-1:T-1,A=document.activeElement;if(T===-1&&l!=null&&A!=null&&p.current?.contains(A)){let e=E.findIndex(e=>(A.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)!==0);O=e===-1?E.length:e,k=O-1}if(S)D(1);else if(w)D(-1);else{let e;e=f?_(E,O,1,r,v):m?_(E,k,-1,r,v):b?_(E,0,1,!1,v):_(E,E.length-1,-1,!1,v),e!==-1&&C(E,e)}e.preventDefault()},[y,h,r,a,o,s,u,_,v,C,D,i,g,l]),handleFocus:O,focusItem:w,focusFirst:T,focusLast:E,ownsEvent:g,getItems:h}}x(),gs(),bj();var M2=500,N2=300,P2=8;function F2(e,t,n){return(e.x-n.x)*(t.y-n.y)-(t.x-n.x)*(e.y-n.y)}function I2(e,t,n,r){let i=F2(e,t,n),a=F2(e,n,r),o=F2(e,r,t);return!((i<0||a<0||o<0)&&(i>0||a>0||o>0))}function L2(e,t,n){let r=P2,i,a;if(t.x<=n.left)i={x:n.left,y:n.top-r},a={x:n.left,y:n.bottom+r};else if(t.x>=n.right)i={x:n.right,y:n.top-r},a={x:n.right,y:n.bottom+r};else if(t.y<=n.top)i={x:n.left-r,y:n.top},a={x:n.right+r,y:n.top};else if(t.y>=n.bottom)i={x:n.left-r,y:n.bottom},a={x:n.right+r,y:n.bottom};else return!1;return I2(e,t,i,a)}function R2(e){let{show:t,hide:n,isOpen:r,isEnabled:i,showDelay:a=150,hideDelay:o=200,clickGuardMs:s=M2,itemSelector:c,popoverId:l,ownsFocus:u=!0,flyoutRef:d}=e,f=ps(`(hover: hover)`),p=(0,X.useRef)(null),m=(0,X.useRef)(null),h=(0,X.useRef)(null),g=(0,X.useRef)(null),_=(0,X.useRef)(!1),v=(0,X.useRef)(0),y=(0,X.useRef)(0),x=(0,X.useRef)(r),S=(0,X.useCallback)(()=>{p.current&&=(clearTimeout(p.current),null),m.current&&=(clearTimeout(m.current),null),g.current?.(),g.current=null},[]);b(()=>{let e=x.current;x.current=r,e&&!r&&(S(),_.current=!1,y.current=0,v.current=Date.now())},[r,S]);let C=(0,X.useRef)(()=>{}),{listRef:w,handleKeyDown:T,focusFirst:E}=k2({itemSelector:c,onEscape:()=>C.current()}),D=(0,X.useCallback)(()=>{let e=w.current?.contains(document.activeElement)??!1;n();let t=h.current;e&&t!=null&&GA(t)},[n,w]),O=(0,X.useCallback)(e=>{e.defaultPrevented||T(e)},[T]);(0,X.useEffect)(()=>{C.current=()=>{S(),D()}},[S,D]),(0,X.useEffect)(()=>()=>S(),[S]),(0,X.useEffect)(()=>{i||S()},[i,S]);let k=(0,X.useCallback)(()=>{E()||w.current?.focus()},[E,w]),A=(0,X.useCallback)(()=>{u?(t({skipAutoFocus:!0}),k()):t()},[u,t,k]),j=(0,X.useCallback)(()=>s>0&&y.current>0&&Date.now()-y.current{l&&e?.preventDefault(),S(),e!=null&&e.detail===0?(v.current=0,_.current=!1,y.current=0,r?u&&k():A()):r?j()?u&&k():D():(v.current=0,_.current=!1,y.current=0,A())},[l,S,r,u,j,A,k,D]),N=(0,X.useCallback)(()=>{if(!f||v.current>0&&Date.now()-v.current{y.current=Date.now(),t({skipAutoFocus:!0})};a>0?p.current=setTimeout(e,a):e()},[f,r,S,t,a]),P=(0,X.useCallback)(e=>{if(v.current=0,!_.current)return;S();let t=null,i=!1,a=()=>!1,s=()=>{m.current&&clearTimeout(m.current),m.current=setTimeout(()=>{i&&t!=null&&a(t)?s():n()},o)};s();let c=d?.current??w.current,l=e==null?null:{x:e.clientX,y:e.clientY};if(c==null||l==null||!r)return;let u=c.getBoundingClientRect();if(u.width<=0||u.height<=0)return;let f=c.ownerDocument;a=e=>L2(e,l,u),i=!0,t=l;let p=e=>{let n={x:e.clientX,y:e.clientY};t=n,a(n)?s():(i=!1,g.current?.(),g.current=null)};f.addEventListener(`pointermove`,p,!0),g.current=()=>{f.removeEventListener(`pointermove`,p,!0)}},[S,n,o,r,w,d]),F=(0,X.useCallback)(()=>{S()},[S]),I=(0,X.useCallback)(e=>{h.current=e},[]),L=(0,X.useCallback)(()=>{},[]),R=(0,X.useCallback)(e=>{},[]),z=(0,X.useCallback)(e=>{},[]);return i?{triggerProps:{onClick:M,onMouseEnter:N,onMouseLeave:P,...l?{popoverTarget:l}:null},contentProps:{onMouseEnter:F,onMouseLeave:P,onKeyDown:O},menuRef:w,focusFirst:E,focusMenu:k,confirmHoverOpen:j,close:D,setTriggerEl:I}:{triggerProps:{onClick:L,onMouseEnter:L,onMouseLeave:L},contentProps:{onMouseEnter:L,onMouseLeave:L,onKeyDown:z},menuRef:w,focusFirst:E,focusMenu:k,confirmHoverOpen:j,close:D,setTriggerEl:R}}var z2=/[\\u0300-\\u036f]/g,B2={đ:`d`,Đ:`d`,ł:`l`,Ł:`l`,ø:`o`,Ø:`o`,ħ:`h`,Ħ:`h`,ŧ:`t`,Ŧ:`t`,ƀ:`b`,Ƀ:`b`,ı:`i`},V2=/[đĐłŁøØħĦŧŦƀɃı]/g,H2=/[đĐłŁøØħĦŧŦƀɃıİ]/;function U2(e){return e.normalize(`NFD`).replace(z2,``).replace(V2,e=>B2[e]??e).normalize(`NFC`).toLowerCase()}function W2(e,t){return e.length===0&&t!==` `&&U2(t).length===0?null:e.length>0&&e.split(``).every(e=>U2(e)===U2(t))?t:e+t}function G2(e){return e.normalize(`NFC`).replace(/I/g,`ı`).replace(/İ/g,`i`).toLowerCase()}function K2(e){return H2.test(e)||/[\\u0300-\\u036f]/.test(e.normalize(`NFD`))}function q2(e,t,n=!1){let r=e.trim();if(n)return G2(r).startsWith(G2(t));let i=U2(t);return i.length!==0&&U2(r).startsWith(i)}function J2(e,t,n){let r=K2(n)?[!0,!1]:[!1];for(let i of r)for(let r of e){let e=t(r);if(e!=null&&q2(e,n,i))return r}return-1}function Y2(e){return e.metaKey?!0:e.ctrlKey&&e.getModifierState?.(`AltGraph`)!==!0}function X2(e){return e.key.length===1&&!Y2(e)&&!Z2(e)&&e.key!==` `}function Z2(e){return e.isComposing===!0||e.nativeEvent?.isComposing===!0}function Q2(e){let{getItemLabels:t,onMatch:n,getCurrentIndex:r,resetMs:i=750,isDisabled:a}=e,o=(0,X.useRef)(``),s=(0,X.useRef)(void 0),c=(0,X.useCallback)(()=>{o.current=``,s.current&&=(clearTimeout(s.current),void 0)},[]);(0,X.useEffect)(()=>c,[c]);let l=(0,X.useCallback)(()=>{s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{o.current=``,s.current=void 0},i)},[i]);return{onKeyDown:(0,X.useCallback)(e=>{let i=e.key===` `&&!Y2(e)&&!Z2(e)&&o.current.length>0;if(!X2(e)&&!i)return!1;let s=W2(o.current,e.key);if(s==null)return!1;let c=t();if(c.length===0)return!1;o.current=s,l();let u=r?.()??-1,d=c.length,f=u>=0,p=f?u:0,m=f&&s.length===1?1:0,h=[];for(let e=0;ec[e],s);return g>=0&&n(g),!0},[t,n,r,l,a]),reset:c}}x();function $2(e,t,n,r){let i=(0,X.useRef)(null);b(()=>{i.current=r===void 0?null:t});let[a,o]=(0,X.useState)(null),s=(0,X.useCallback)(()=>{let t=e.current;if(!t)return;let n=t.scrollHeight>t.clientHeight+1;o(e=>e!=null&&e.hasOverflow===n&&Object.is(e.content,i.current)?e:{content:i.current,hasOverflow:n})},[e]);return b(()=>{if(!n)return;let t=e.current;if(!t)return;s();let r=typeof ResizeObserver>`u`?null:new ResizeObserver(s),i=typeof MutationObserver>`u`?null:new MutationObserver(s);return r?.observe(t),i?.observe(t,{childList:!0,characterData:!0,subtree:!0}),t.addEventListener(`load`,s,!0),window.addEventListener(`resize`,s),window.visualViewport?.addEventListener(`resize`,s),()=>{r?.disconnect(),i?.disconnect(),t.removeEventListener(`load`,s,!0),window.removeEventListener(`resize`,s),window.visualViewport?.removeEventListener(`resize`,s)}},[n,s,e]),b(()=>{n&&s()},[t,n,s]),r===void 0?a?.hasOverflow??!1:a!=null&&Object.is(a.content,t)?a.hasOverflow:r}var e4=new Set([`auto`,`contain`,`fit-content`,`inherit`,`initial`,`max-content`,`min-content`,`revert`,`revert-layer`,`stretch`,`unset`]);function t4(e){let t=e.trim().toLowerCase();return e4.has(t)||t.startsWith(`fit-content(`)}function n4(e,t){return`min(${typeof e==`number`?`${e}px`:e.trim()}, ${t})`}function r4(e,t){return typeof e==`string`&&t4(e)?{property:`inlineSize`,value:e.trim()}:{property:`minWidth`,value:n4(e,t)}}D(),sE(),TT(),TY(),j_(),bx(),dP(),wQ(),qp(),G(),Ox(),eR(),FQ(),oS(),iQ(),Hf(),vx(),MC(),vr(),MQ(),iT(),Ww({\"@astryx.dropdownMenu.back\":`Back`,\"@astryx.dropdownMenu.backTo\":`Back to {parent}`,\"@astryx.spinner.loading\":`Loading`}),`${Kp.maxBlockSize}`,`${Kp.maxBlockSizeFallback}`;var i4={root:{kB7OPa:`x9f619`,kzqmXN:`xh8yej3`,k8WAf4:`xce4md1`,kg3NbH:`xf314gf`,kMv6JI:`x9ynric`,kGuDYH:`xcr08ib`,kLWn49:`x1kq96og`,kMwMTN:`x1tgivj0`,kWkggS:`xjbqb8w x1p2z2pi`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kkrTdU:`x1ypdohk x16khyan`,k9WMMc:`x1yc453h`,kInvED:`x1c097ug`,$$css:!0},open:{kWkggS:`x1lmrjuc`,$$css:!0},disabled:{kSiTet:`xbyyjgo`,kkrTdU:`xt0e3qv`,$$css:!0}},a4={sm:{k8WAf4:`xu0wf1k`,kg3NbH:`xf314gf`,$$css:!0},md:{k8WAf4:`x1vofgu7`,$$css:!0},lg:{$$css:!0}},o4={kzqmXN:`x1uyokj7`,$$css:!0},s4={menu:{kB7OPa:`x9f619`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`x1lsbc85`,ks0D6T:`xc0b1yq`,kskxy:`x1uh1i8a`,\"--_dropdown-menu-radius\":`x1fcsqxe`,\"--_dropdown-menu-radius-top-left\":`xe8oyoz`,\"--_dropdown-menu-radius-top-right\":`x1u9pls2`,\"--_dropdown-menu-radius-bottom-right\":`x1vzu1ru`,\"--_dropdown-menu-radius-bottom-left\":`x1hdoyrq`,\"--_dropdown-menu-radius-start-start\":`xt5si22`,\"--_dropdown-menu-radius-start-end\":`xqi0wir`,\"--_dropdown-menu-radius-end-start\":`xix9rv`,\"--_dropdown-menu-radius-end-end\":`xoofv4m`,\"--_dropdown-menu-padding\":`xgory14`,kmVPX3:`x9epnlk`,kaIpWk:`x1n97fys`,kWkggS:`x1prclbq`,kGVxlE:`x1i5ehqx`,kMzoRj:`x13rsnn2`,ksu8eU:`xx61lck`,kVAM5u:`x1w1tqly`,kSiTet:`x1hc1fzr`,k1ekBW:`x19991ni`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,k7VYTy:`xpdipgo`,kfSwDN:`x87ps6o`,$$css:!0},scrollable:{kORKVm:`x1odjw0f`,kXHlph:`x6ikm8r`,kZeWKH:`xish69e`,$$css:!0},touchPinchZoom:{kFalU9:`x1j4r261`,$$css:!0},touchPanYPinchZoom:{kFalU9:`xge0x1e`,kZeWKH:`xish69e`,$$css:!0},popoverViewport:{kB7OPa:`x9f619`,kskxy:`x1uh1i8a`,$$css:!0},popover:{k7Eaqz:`x1b27s9g`,$$css:!0},popoverCustomWidth:e=>[{k7Eaqz:e==null?e:`xkj4a21`,$$css:!0},{\"--x-minWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],popoverCustomIntrinsicWidth:e=>[o4,{\"--x-inlineSize\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]},c4={kskxy:`x1jols5v`,$$css:!0},l4={viewMaxHeight:e=>[c4,{\"--x-maxHeight\":(e=>typeof e==`number`?e+`px`:e??void 0)(`min(${e}, ${Kp.maxBlockSize})`)}]},u4={frame:{kB7OPa:`x9f619`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kskxy:`x1uh1i8a`,\"--_dropdown-menu-radius\":`x1fcsqxe`,\"--_dropdown-menu-radius-top-left\":`xe8oyoz`,\"--_dropdown-menu-radius-top-right\":`x1u9pls2`,\"--_dropdown-menu-radius-bottom-right\":`x1vzu1ru`,\"--_dropdown-menu-radius-bottom-left\":`x1hdoyrq`,\"--_dropdown-menu-radius-start-start\":`xt5si22`,\"--_dropdown-menu-radius-start-end\":`xqi0wir`,\"--_dropdown-menu-radius-end-start\":`xix9rv`,\"--_dropdown-menu-radius-end-end\":`xoofv4m`,\"--_dropdown-menu-padding\":`xgory14`,kaIpWk:`x1n97fys`,$$css:!0},flyoutSurface:{ks0D6T:`xc0b1yq`,kWkggS:`x1prclbq`,kGVxlE:`x1i5ehqx`,kSiTet:`x1hc1fzr`,k1ekBW:`x19991ni`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,$$css:!0},menu:{kB7OPa:`x9f619`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`x1lsbc85`,kzQI83:`x1iyjqo2`,kmuXW:`xs83m0k`,kAzted:`x2lwn1j`,kmVPX3:`x9epnlk`,kI3sdo:`x1a2a7pz`,k7VYTy:`xpdipgo`,kfSwDN:`x87ps6o`,$$css:!0},hidden:{k1xSpc:`x1s85apg`,$$css:!0}};function d4(e){if(e==null)return;let t=e.ownerDocument,n=e.querySelectorAll(`[aria-expanded=\"true\"][aria-controls]`);for(let e of[...n].reverse()){let n=t.getElementById(e.getAttribute(`aria-controls`)??``);if(n?.getAttribute(`data-astryx-submenu-regions`)!==`flyout`)continue;let r=n.closest(`[popover]`);if(r!=null){if(typeof r.hidePopover==`function`)r.matches(`:popover-open`)&&r.hidePopover();else if(r.style.display===`block`){r.style.display=`none`;let e=new Event(`toggle`,{bubbles:!1});Object.defineProperty(e,\"newState\",{value:`closed`,configurable:!0}),r.dispatchEvent(e)}}}}function f4(e){let{icon:t,label:n,description:r,isDisabled:i=!1,hasSpinner:a=!1,menuWidth:o,onOpenChange:s,presentation:c=`adaptive`,delay:l=150,hideDelay:u=200,header:d,footer:f,children:p,xstyle:m,className:h,style:g,\"data-testid\":_,menuDataTestId:v,ref:y,id:b,onMouseEnter:x,onMouseLeave:S,onPointerMove:w,onClick:T,onKeyDown:E,...D}=e,O=nT(),k=d2(),A=(0,X.use)(s2),M=k?.menuSize??`md`,N=!i,P=bO(d)||bO(f),F=A!=null,I=P&&F,L=A?.host.getElement()??null;OC(`DropdownMenuSubMenu`,`header and footer show only inside a DropdownMenu; this menu has no place outside its rows for them, so they are not rendered.`,P&&!F);let R=(0,X.useId)(),z=(0,X.useRef)(null),B=(0,X.useRef)(null),V=(0,X.useRef)(null),[H,ee]=(0,X.useState)(!1),U=(0,X.useId)(),te=(0,X.useId)(),W=b??te,G=(0,X.useRef)(null),ne=k?.drillIn,re=ne!=null&&(c===`drill-in`||c===`adaptive`&&ne.isCompactTouch)?ne:null,ie=re!=null,K=(0,X.useId)(),q=re?.viewStack.includes(K)===!0,ae=q&&re?.viewStack.at(-1)===K,oe=typeof n==`string`?n:void 0,se=(0,X.useId)(),ce=oe==null&&bO(n),le=ce?(0,Z.jsx)(`span`,{id:se,children:n}):n,J=oe==null?ce?se:W:void 0,[ue,de]=(0,X.useState)(),fe=k?.menuLabel,pe=fe==null?O(`@astryx.dropdownMenu.back`):O(`@astryx.dropdownMenu.backTo`,{parent:fe}),[me,he]=(0,X.useState)(!1),ge=ie?q:me,_e=(0,X.useRef)(!1),ve=(0,X.useRef)(!1),ye=y_({mode:`context`,lightDismiss:!1,onShow:(0,X.useCallback)(()=>{ve.current=!1,he(!0),s?.(!0)},[s]),onHide:(0,X.useCallback)(()=>{ve.current=!1,d4(G.current?.ownerDocument.getElementById(U)??null),he(!1),s?.(!1)},[s,U])}),be=(0,X.useCallback)(()=>{N&&ye.show()},[N,ye]),xe=(0,X.useCallback)(()=>{I&&_e.current?ve.current=!0:ye.hide()},[ye,I]),Se=(0,X.useCallback)(()=>{_e.current=!0},[]),Ce=(0,X.useCallback)(e=>{if(_e.current=!1,!ve.current)return;let t=e.relatedTarget;t instanceof Node&&e.currentTarget.contains(t)||setTimeout(()=>{!_e.current&&ve.current&&G.current?.isConnected===!0&&(ve.current=!1,ye.hide())},0)},[ye]),we=(0,X.useCallback)(()=>{ve.current=!1},[]),{listRef:Te,handleKeyDown:Ee,focusFirst:De,focusItem:Oe,ownsEvent:ke,getItems:Ae}=j2({itemSelector:AQ,reachesDisabledItems:!0,boundarySelector:jQ,wrap:!0,hasPaging:!0,onEscape:()=>Be({focusTrigger:!0})}),je=$2(Te,p,ge&&(!ie||I)),Me=Q2({getItemLabels:()=>Ae().map(e=>e.textContent),onMatch:Oe,getCurrentIndex:()=>Ae().findIndex(e=>e===document.activeElement||e.contains(document.activeElement))}),Ne=l2();lP(a&&Ne,O(`@astryx.spinner.loading`),G);let{triggerProps:Pe,contentProps:Fe,confirmHoverOpen:Ie}=R2({show:be,hide:xe,isOpen:me,isEnabled:N&&!ie&&Ne,showDelay:l,hideDelay:u,flyoutRef:I?z:Te}),Le=(0,X.useRef)(null),Re=(0,X.useRef)(!1),ze=(0,X.useCallback)(e=>{if(N){if(re!=null){if(ce){let e=G.current?.ownerDocument.getElementById(se);de(e==null?void 0:NQ(e))}Le.current=e?.focusFirst?`first`:`container`,re.push(K),s?.(!0)}else ye.show(),e?.focusFirst&&(De()||Te.current?.focus())}},[N,re,K,s,ye,De,Te,ce,se]),Be=(0,X.useCallback)(e=>{re==null?(ye.hide(),e?.focusTrigger!==!1&&G.current?.focus()):q&&(Re.current=e?.focusTrigger!==!1,re.pop(),s?.(!1))},[re,q,s,ye]);(0,X.useEffect)(()=>{if(!ae||re?.host==null)return;let e=Le.current;if(e==null)return;Le.current=null;let t=Ae(),n=e===`first`?t.find((e,t)=>t>0&&e.getAttribute(`aria-disabled`)!==`true`)??t[0]:null;n==null?Te.current?.focus({preventScroll:!0}):n.focus({preventScroll:!0})},[ae,re?.host,Ae,Te]),(0,X.useEffect)(()=>{!q&&Re.current&&(Re.current=!1,G.current?.focus({preventScroll:!0}))},[q]);let Ve=ye.ref,He=gx((0,X.useCallback)(e=>{G.current=e,Ve(e)},[Ve]),y),Ue=(0,X.useCallback)(e=>{if(i)e.preventDefault();else if(ie){let t=e.detail>0||aQ();ze({focusFirst:!t})}else if(me){if(Ie()){De()||Te.current?.focus();return}Be({focusTrigger:!0})}else ze({focusFirst:!0})},[i,ie,me,ze,Be,Ie,De,Te]),We=(0,X.useCallback)(e=>{_C(Ue,T)(e)},[Ue,T]),Ge=(0,X.useCallback)(e=>{if(i)return;let t=typeof window<`u`&&G.current&&window.getComputedStyle(G.current).direction===`rtl`?`ArrowLeft`:`ArrowRight`;(e.key===t||e.key===`Enter`||e.key===` `)&&(e.preventDefault(),e.stopPropagation(),ze({focusFirst:!0}))},[i,ze]),Ke=(0,X.useCallback)(e=>p2(e,i),[i]),qe=(0,X.useCallback)(e=>{if(e.key===`Tab`){if(I){w2(e,Te.current,B.current,V.current,!ke(e));return}Be({focusTrigger:!1});return}if(!ke(e))return;if(e.key===`Escape`){e.preventDefault(),e.stopPropagation(),Be({focusTrigger:!0});return}if(e.key===`Enter`||e.key===` `){if(e.preventDefault(),e.repeat)return;let t=document.activeElement;t&&OQ.has(t.getAttribute(`role`)??``)&&EQ(t,e);return}let t=typeof window<`u`&&Te.current&&window.getComputedStyle(Te.current).direction===`rtl`?`ArrowRight`:`ArrowLeft`;e.key===t?(e.preventDefault(),Be({focusTrigger:!0})):Me.onKeyDown(e)?e.preventDefault():Ee(e)},[ke,Be,Ee,Me,Te,I]),Je=(0,X.useCallback)(e=>{e.key===`Tab`?w2(e,Te.current,B.current,V.current):e.key===`Escape`&&!e.defaultPrevented&&!Ex(e.nativeEvent)&&(e.preventDefault(),e.stopPropagation(),Be({focusTrigger:!0}))},[Te,Be]),Ye=(0,X.useMemo)(()=>({menuSize:M,closeMenu:()=>{Be({focusTrigger:!1}),k?.closeMenu()},drillIn:ne,menuLabel:oe??ue}),[M,Be,k,ne,oe,ue]),Xe=pQ({menuRef:Te,itemSelector:kQ,onDismiss:Ye.closeMenu}),Ze=a?(0,Z.jsx)(`span`,{className:`x78zum5 x6s0dn4`,children:(0,Z.jsx)(mT,{size:`sm`,\"aria-hidden\":`true`})}):(0,Z.jsx)(`span`,{className:`x78zum5 x6s0dn4`,children:(0,Z.jsx)(XT,{icon:`chevronRight`,size:`sm`,color:`secondary`,xstyle:$L.mirror,...Y(`dropdown-menu-indicator-icon`)})}),Qe=o?r4(o,Kp.maxInlineSizeFallback):null,$e=Qe?Qe.property===`inlineSize`?s4.popoverCustomIntrinsicWidth(Qe.value):s4.popoverCustomWidth(Qe.value):s4.popover,et=(0,Z.jsx)(u2,{value:Ye,children:(0,Z.jsxs)(s2,{value:A,children:[ie&&(0,Z.jsx)(_2,{icon:(0,Z.jsx)(XT,{icon:`chevronLeft`,size:`sm`,color:`secondary`,xstyle:$L.mirror}),label:pe,hasCloseOnSelect:!1,onClick:()=>Be({focusTrigger:!0})}),p]})}),tt=(0,Z.jsx)(c2,{value:Ne&&ge,children:et}),nt=I&&A!=null?{[gQ]:A.ownerId}:void 0,rt=(e,t,n)=>(0,Z.jsxs)(`div`,{ref:z,id:R,role:`dialog`,\"aria-modal\":`true`,\"data-astryx-submenu-regions\":n,...t,...n===`flyout`?{onFocus:Se,onBlur:Ce,onPointerEnter:we}:void 0,...n===`flyout`?Q(Y(`dropdown-menu`,{presentation:`popover`}),C(u4.frame,u4.flyoutSurface,yx.end)):C(u4.frame,A?.menuMaxHeight!=null&&l4.viewMaxHeight(A.menuMaxHeight),t.hidden===!0&&u4.hidden),children:[bO(d)&&(0,Z.jsx)(`div`,{ref:B,onKeyDown:Je,className:`x2lah0s x9epnlk`,children:d}),e,bO(f)&&(0,Z.jsx)(`div`,{ref:V,onKeyDown:Je,className:`x2lah0s x9epnlk`,children:f})]}),it=e=>I&&L!=null?(0,wS.createPortal)(e,L):e,at=e=>{I&&e.target===e.currentTarget&&ee(Lf(e.currentTarget)===`keyboard`)},ot=e=>{I&&e.target===e.currentTarget&&ee(!1)};return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(gY,{...D,onMouseDown:_C(D.onMouseDown,i?DQ:void 0),ref:He,id:W,role:`menuitem`,tabIndex:-1,\"aria-haspopup\":I?`dialog`:`menu`,\"aria-expanded\":ge,\"aria-controls\":ge?I?R:U:void 0,\"aria-disabled\":i||void 0,\"data-testid\":_,onMouseEnter:_C(Pe.onMouseEnter,x),onMouseLeave:_C(Pe.onMouseLeave,S),onPointerMove:_C(Ke,w),startContent:t?eE(t,{size:`sm`,color:`secondary`}):void 0,label:le,description:r,endContent:Ze,onClick:We,onKeyDown:_C(Ge,E),isDisabled:i,xstyle:[iS.focusVisible,i4.root,m2.root,rQ,a4[M],ge&&i4.open,i&&i4.disabled,m],...Q(Y(`dropdown-menu-item`,{size:M}),{className:h,style:g})}),re==null?it(ye.render(I?rt((0,Z.jsx)(`div`,{ref:Te,id:U,role:`menu`,tabIndex:0,\"aria-labelledby\":W,onKeyDown:qe,onFocus:at,onBlur:ot,\"data-testid\":v,...Xe.menuProps,...nt,...C(u4.menu,je?s4.touchPanYPinchZoom:s4.touchPinchZoom,je&&s4.scrollable,H&&iS.focusVisible),children:tt}),{\"aria-labelledby\":W,onMouseEnter:Fe.onMouseEnter,onMouseLeave:Fe.onMouseLeave},`flyout`):(0,Z.jsx)(`div`,{ref:Te,id:U,role:`menu`,tabIndex:je?0:-1,\"aria-labelledby\":W,onKeyDown:qe,onMouseEnter:Fe.onMouseEnter,onMouseLeave:Fe.onMouseLeave,\"data-testid\":v,...Xe.menuProps,...Q(Y(`dropdown-menu`,{presentation:`popover`}),C(s4.menu,je?s4.touchPanYPinchZoom:s4.touchPinchZoom,je&&s4.scrollable,yx.end)),children:tt}),{placement:`end`,alignment:`start`,offset:j[`--spacing-1`],xstyle:[s4.popoverViewport,$e]})):q&&re.host!=null&&(I?(0,wS.createPortal)(rt((0,Z.jsx)(`div`,{ref:Te,id:U,role:`menu`,tabIndex:0,\"aria-label\":oe,\"aria-labelledby\":J,onKeyDown:qe,onFocus:at,onBlur:ot,\"data-testid\":v,...Xe.menuProps,...nt,...C(u4.menu,je&&s4.scrollable,je?s4.touchPanYPinchZoom:s4.touchPinchZoom,H&&iS.focusVisible),children:tt}),{\"aria-label\":oe,\"aria-labelledby\":J,hidden:!ae,inert:!ae},`view`),L??re.host):(0,wS.createPortal)((0,Z.jsx)(`div`,{ref:Te,id:U,role:`menu`,tabIndex:-1,\"aria-label\":oe,\"aria-labelledby\":J,hidden:!ae,inert:!ae,onKeyDown:qe,\"data-testid\":v,...Xe.menuProps,...{0:{className:`x78zum5 xdt5ytf x1lsbc85 x1a2a7pz xpdipgo x87ps6o`},1:{className:`xdt5ytf x1lsbc85 x1a2a7pz xpdipgo x87ps6o x1s85apg`}}[!ae|0],children:tt}),re.host))]})}f4.displayName=`DropdownMenuSubMenu`,vr();function p4(e,t){return`item-${e.id??t}`}function m4(e,t){return`section-${e.id??t}`}function h4(e,t){let{items:n,id:r,...i}=e;return(0,Z.jsx)(_2,{...i},p4(e,t))}function g4(e,t){return e.items&&e.items.length>0?(0,Z.jsx)(f4,{icon:e.icon,label:e.label,isDisabled:e.isDisabled,children:_4(e.items)},p4(e,t)):h4(e,t)}function _4(e){let t=[];for(let n=0;n0&&a([]));let u=(0,X.useCallback)(e=>{a(t=>t.includes(e)?t:[...t,e])},[]),d=(0,X.useCallback)(()=>{a(e=>e.length===0?e:e.slice(0,-1))},[]),f=(0,X.useMemo)(()=>({isCompactTouch:n,viewStack:i,host:o,push:u,pop:d}),[n,i,o,u,d]),p=i.length>0;return{drillIn:f,isDrilled:p,wrapContent:(0,X.useCallback)(e=>(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`div`,{hidden:p,inert:p,...{0:{className:`xjp7ctv`},1:{className:`x1s85apg`}}[!!p|0],children:e}),(0,Z.jsx)(`div`,{ref:s,className:`xjp7ctv`})]}),[p])}}ds(),Fv();var b4=()=>()=>{},x4=()=>!1;function S4(e){let t=e===`adaptive`,n=Mv().coarsePointerQuery,r=(0,X.useCallback)(e=>t?ls(window,n,e):b4(),[t,n]),i=(0,X.useCallback)(()=>t&&cs(window,n),[t,n]),a=(0,X.useSyncExternalStore)(r,i,x4);return t?a?`bottom-sheet`:`popover`:e}D(),RC(),sE(),j_(),Tx(),Ux(),Pp(),nv(),MQ(),wQ(),qZ(),bx(),eR(),vr(),vx(),iT(),Ww({\"@astryx.contextMenu.label\":`Context menu`,\"@astryx.dropdownMenu.back\":`Back`});var C4={trigger:{kVAEAm:`x1n2onr6`,k7VYTy:`xpdipgo`,kO7zv1:`x1winvzj`,kfSwDN:`x87ps6o`,$$css:!0},menu:{kB7OPa:`x9f619`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`x1lsbc85`,kskxy:`x1uh1i8a`,kORKVm:`x1odjw0f`,\"--_dropdown-menu-radius\":`x1fcsqxe`,\"--_dropdown-menu-radius-top-left\":`xe8oyoz`,\"--_dropdown-menu-radius-top-right\":`x1u9pls2`,\"--_dropdown-menu-radius-bottom-right\":`x1vzu1ru`,\"--_dropdown-menu-radius-bottom-left\":`x1hdoyrq`,\"--_dropdown-menu-radius-start-start\":`xt5si22`,\"--_dropdown-menu-radius-start-end\":`xqi0wir`,\"--_dropdown-menu-radius-end-start\":`xix9rv`,\"--_dropdown-menu-radius-end-end\":`xoofv4m`,\"--_dropdown-menu-padding\":`xgory14`,kmVPX3:`x9epnlk`,kaIpWk:`x1n97fys`,kWkggS:`x1prclbq`,kGVxlE:`x1i5ehqx`,kMzoRj:`x13rsnn2`,ksu8eU:`xx61lck`,kVAM5u:`x1w1tqly`,kSiTet:`x1hc1fzr`,k1ekBW:`x19991ni`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,kfSwDN:`x87ps6o`,k7VYTy:`xpdipgo`,$$css:!0},touchPinchZoom:{kFalU9:`x1j4r261`,$$css:!0},touchPanYPinchZoom:{kFalU9:`xge0x1e`,kZeWKH:`xish69e`,$$css:!0},popover:{k7Eaqz:`x5w4yej`,$$css:!0},popoverCustomWidth:e=>[{k7Eaqz:(typeof e==`number`?`${e}px`:e)==null?typeof e==`number`?`${e}px`:e:`xkj4a21`,$$css:!0},{\"--x-minWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(typeof e==`number`?`${e}px`:e)}],sheetMenu:{kB7OPa:`x9f619`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`x1lsbc85`,kzqmXN:`xh8yej3`,\"--_dropdown-menu-radius\":`x1fcsqxe`,\"--_dropdown-menu-radius-top-left\":`xe8oyoz`,\"--_dropdown-menu-radius-top-right\":`x1u9pls2`,\"--_dropdown-menu-radius-bottom-right\":`x1vzu1ru`,\"--_dropdown-menu-radius-bottom-left\":`x1hdoyrq`,\"--_dropdown-menu-radius-start-start\":`xt5si22`,\"--_dropdown-menu-radius-start-end\":`xqi0wir`,\"--_dropdown-menu-radius-end-start\":`xix9rv`,\"--_dropdown-menu-radius-end-end\":`xoofv4m`,\"--_dropdown-menu-padding\":`xgory14`,kmVPX3:`x9epnlk`,kaIpWk:`x1n97fys`,kWkggS:`x10xzikg`,kI3sdo:`x1a2a7pz`,kfSwDN:`x87ps6o`,$$css:!0},sheetMenuInset:{kLKAdn:`xfsso4q`,kGO01o:`xy143xn`,kg3NbH:`x1xd259c`,\"--container-padding-block-start\":`xnsckjb`,\"--container-padding-block-end\":`x57a7ii`,\"--container-padding-inline-start\":`x1v11cex`,\"--container-padding-inline-end\":`x58lb0f`,$$css:!0},sheetRootHeading:{keTefX:`x6i7dpz`,$$css:!0},sheetViewHeading:{kI3sdo:`x1a2a7pz`,$$css:!0}};function w4(e,t){return e>t-1&&e<=t?Math.max(t-1,0):e}function T4({children:e,menuWidth:t,size:n=`md`,label:r,isDisabled:i=!1,onOpenChange:a,presentation:o=`popover`,triggerAs:s=`div`,ref:c,className:l,style:u,xstyle:d,triggerXstyle:f,onContextMenu:p,onTouchStart:m,onTouchMove:h,onTouchEnd:g,onTouchCancel:_,\"data-testid\":v,...y}){let b=nT(),x=r??b(`@astryx.contextMenu.label`),S=b(`@astryx.dropdownMenu.back`),w=S4(o)===`bottom-sheet`,{items:T,menuContent:E,...D}=y,O=T??[],k=E,A=w&&T!==void 0;(0,X.useEffect)(()=>{A&&Q0()},[A]);let j=(0,X.useId)(),M=(0,X.useRef)({x:0,y:0}),N=(0,X.useRef)(null),P=(0,X.useRef)(null),F=(0,X.useRef)(null),I=(0,X.useRef)(null),[L,R]=(0,X.useState)(!1),z=(0,X.useRef)(!1),B=(0,X.useRef)(()=>{}),[V,H]=(0,X.useState)([]),[ee,U]=(0,X.useState)([]),te=V.at(-1),W=te?.items??O,G=te?.label??x,ne=typeof G==`string`?G:ee.at(-1)||x,re=(0,X.useCallback)(e=>{e||(H([]),U([])),R(e),a?.(e)},[a]),ie=b_({mode:`context`,lazyMount:!0,keepsMountAfterShow:!0,onHide:(0,X.useCallback)(()=>{R(!1),a?.(!1);let e=F.current;F.current=null,e&&document.contains(e)&&e.focus()},[a]),onShow:(0,X.useCallback)(()=>{R(!0),a?.(!0),z.current&&(z.current=!1,requestAnimationFrame(()=>B.current()))},[a]),lightDismiss:!1}),K=(0,X.useCallback)(()=>{w?re(!1):ie.hide()},[ie,re,w]),q=(0,X.useCallback)((e,t)=>{e.isDisabled||(e.onClick?.(t),e.hasCloseOnSelect!==!1&&K())},[K]),ae=(0,X.useCallback)(e=>{e&&L&&V.length>0&&e.focus({preventScroll:!0})},[L,V.length]),{listRef:oe,handleKeyDown:se,focusFirst:ce,focusItem:le,ownsEvent:J,getItems:ue}=j2({itemSelector:AQ,reachesDisabledItems:!0,boundarySelector:jQ,wrap:!0,hasPaging:!0,focusFollowsLastInput:!0});B.current=ce,Bx({isActive:L&&!w,onDismiss:K,getContainer:()=>oe.current});let de=Q2({getItemLabels:()=>ue().map(e=>e.textContent),onMatch:le,getCurrentIndex:()=>ue().findIndex(e=>e===document.activeElement||e.contains(document.activeElement))});(0,X.useEffect)(()=>{if(!L||w)return;let e=oe.current?.getRootNode(),t=e instanceof ShadowRoot?e:null,n=new WeakSet,r=e=>{let t=oe.current;n.has(e)||(n.add(e),Sp()!==I.current&&t&&!t.contains(e.target)&&(Y_(t.ownerDocument),K()))};return document.addEventListener(`mousedown`,r),t?.addEventListener(`mousedown`,r),()=>{document.removeEventListener(`mousedown`,r),t?.removeEventListener(`mousedown`,r)}},[L,K,oe,w]);let fe=(0,X.useCallback)(e=>{if(!J(e))e.key===`Tab`&&K();else if(e.key===`Enter`||e.key===` `){if(e.preventDefault(),e.repeat)return;let t=document.activeElement;t&&OQ.has(t.getAttribute(`role`)??``)&&EQ(t,e)}else e.key===`Tab`?K():de.onKeyDown(e)?e.preventDefault():se(e)},[se,K,de,J]),pe=(0,X.useCallback)(()=>{let e=N.current?.offsetParent;return(e instanceof HTMLElement?e:P.current)?.getBoundingClientRect()},[]),me=(0,X.useCallback)((e,t,n)=>{let r=pe(),i=r?w4(e,r.width):e,a=r?w4(t,r.height):t;M.current={x:i,y:a};let o=N.current;o&&(o.style.left=`${i}px`,o.style.top=`${a}px`),F.current=document.activeElement instanceof HTMLElement?document.activeElement:n,w?re(!0):(z.current=!0,ie.show())},[pe,ie,re,w]),he=(0,X.useCallback)(e=>{if(i)return;e.preventDefault();let t=pe(),n=e.clientX===0&&e.clientY===0&&e.detail===0,r=P.current?.getBoundingClientRect(),a=0,o=t?.height??0;t&&n&&r?(a=r.left-t.left,o=r.bottom-t.top):t&&!n&&(a=e.clientX-t.left,o=e.clientY-t.top),I.current=e.nativeEvent.pointerType===`touch`?Sp():null,me(a,o,e.currentTarget)},[i,me,pe]),{onTouchStart:ge,onTouchMove:_e,onTouchEnd:ve,onTouchCancel:ye}=WZ({disabled:i,onLongPress:(0,X.useCallback)(e=>{let t=pe();I.current=Sp(),me(t?e.x-t.left:e.x,t?e.y-t.top:e.y,P.current)},[me,pe])}),be=(0,X.useCallback)(e=>{he(e),p?.(e)},[he,p]),xe=(0,X.useCallback)(e=>{ge(e),m?.(e)},[ge,m]),Se=(0,X.useCallback)(e=>{_e(e),h?.(e)},[_e,h]),Ce=(0,X.useCallback)(e=>{ve(e),g?.(e)},[ve,g]),we=(0,X.useCallback)(e=>{ye(e),_?.(e)},[ye,_]),Te=t?C4.popoverCustomWidth(t):C4.popover,{drillIn:Ee,wrapContent:De}=y4(L&&!w),Oe=(0,X.useMemo)(()=>({closeMenu:K,menuSize:n,drillIn:Ee,menuLabel:x}),[K,n,Ee,x]),ke=De(T===void 0?k:_4(O)),Ae=$2(oe,ke,L&&!w),je=pQ({menuRef:oe,itemSelector:kQ,onDismiss:K,isEnabled:!w}),Me=(0,Z.jsx)(`div`,{ref:oe,id:j,role:`menu`,\"data-autofocus\":w?``:void 0,tabIndex:w?0:-1,\"aria-label\":x,onKeyDown:fe,onContextMenu:e=>e.preventDefault(),...je.menuProps,...Q(Y(`context-menu`),C(w?[C4.sheetMenu,o2.content,C4.sheetMenuInset]:C4.menu,!w&&(Ae?C4.touchPanYPinchZoom:C4.touchPinchZoom),d),l,u),children:(0,Z.jsx)(u2,{value:Oe,children:(0,Z.jsx)(c2,{value:L,children:ke})})}),Ne=(0,Z.jsx)(NC,{ref:ae,level:3,tabIndex:-1,xstyle:[C4.sheetViewHeading,V.length===0&&[C4.sheetRootHeading,o2.headingAlone]],children:G}),Pe=T===void 0?Me:(0,Z.jsxs)(`div`,{ref:oe,\"data-autofocus\":``,tabIndex:0,...Q(Y(`context-menu`),C(C4.sheetMenu,o2.content,C4.sheetMenuInset,d),l,u),children:[V.length>0?(0,Z.jsxs)(`div`,{className:`x78zum5 x1q0g3np x6s0dn4 xzye2dw x1p37lm5`,children:[(0,Z.jsx)(IO,{label:S,variant:`ghost`,size:`sm`,icon:(0,Z.jsx)(XT,{icon:`chevronLeft`,size:`sm`,xstyle:$L.mirror}),isIconOnly:!0,onClick:()=>{H(e=>e.slice(0,-1)),U(e=>e.slice(0,-1))}}),Ne]}):Ne,(0,Z.jsx)(a2,{items:W,onSelect:q,onOpenSubmenu:(e,t)=>{H(t=>[...t,e]),U(e=>[...e,t])}})]}),Fe=s===`div`?`div`:`span`,Ie=A?r2:i2;return(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(Fe,{ref:gx(c,P),...D,onContextMenu:be,onTouchStart:xe,onTouchMove:Se,onTouchEnd:Ce,onTouchCancel:we,\"data-testid\":v,...C(C4.trigger,...f?Array.isArray(f)?f:[f]:[]),children:[e,(0,Z.jsx)(`span`,{ref:gx(N,ie.ref),\"aria-hidden\":`true`,...Q({className:`x10l6tqk x1i1rx1s xjm9jq1 x47corl`},{style:{left:`${M.current.x}px`,top:`${M.current.y}px`}})})]}),w?(0,Z.jsx)(Ie,{isOpen:L,onOpenChange:re,label:ne,children:Pe}):ie.render((0,Z.jsx)(xx,{children:Me}),{placement:`below`,alignment:`start`,xstyle:[Te,yx.below]})]})}T4.displayName=`ContextMenu`,sE();function E4(e){let t=[],n=new Map;for(let r of e){let e=r.group??`__ungrouped__`,i=n.get(e);i||(i=[],n.set(e,i),t.push(e)),i.push(r)}let r=[];return t.forEach((e,t)=>{t>0&&r.push({type:`divider`});for(let t of n.get(e)??[])r.push({label:typeof t.label==`string`?t.label:t.id,icon:t.checked?(0,Z.jsx)(XT,{icon:`check`,size:`xsm`,\"aria-hidden\":!0}):t.icon,isDisabled:t.disabled,onClick:t.onSelect,variant:t.variant})}),r}function D4({element:e,getActions:t,triggerXstyle:n}){let[r,i]=(0,X.useState)(null);return(0,Z.jsx)(T4,{items:r??[],triggerXstyle:n,onOpenChange:e=>{i(e?E4(t()):null)},children:e})}function O4(e){return typeof e==`function`||Array.isArray(e)&&e.length>0}function k4(e,t,n){return typeof t==`function`?(0,Z.jsx)(D4,{element:e,getActions:t,triggerXstyle:n}):O4(t)?(0,Z.jsx)(T4,{items:E4(t),triggerXstyle:n,children:e}):e}function A4(e,t,n){let r=[];return(e.dividers===`rows`||e.dividers===`grid`)&&r.push(t),(e.dividers===`columns`||e.dividers===`grid`)&&r.push(n),r}function j4(e,t){return t?Array.isArray(t)?[...e,...t]:[...e,t]:e}function M4(){return(0,X.use)(OX)}D(),vr();var N4={compact:{k8WAf4:`xu0wf1k`,kg3NbH:`xf314gf`,kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,kB7OPa:`x9f619`,$$css:!0},balanced:{k8WAf4:`xce4md1`,kg3NbH:`xrrkdod`,kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,kB7OPa:`x9f619`,$$css:!0},spacious:{k8WAf4:`x8o8v82`,kg3NbH:`x1pzlopt`,kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,kB7OPa:`x9f619`,$$css:!0}},P4={compact:{kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,kB7OPa:`x9f619`,$$css:!0},balanced:{kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,kB7OPa:`x9f619`,$$css:!0},spacious:{kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,kB7OPa:`x9f619`,$$css:!0}},F4={compact:{k8WAf4:`xu0wf1k`,kg3NbH:`xf314gf`,$$css:!0},balanced:{k8WAf4:`xce4md1`,kg3NbH:`xrrkdod`,$$css:!0},spacious:{k8WAf4:`x8o8v82`,kg3NbH:`x1pzlopt`,$$css:!0}},I4={fill:{k1xSpc:`x1lliihq`,kB7OPa:`x9f619`,kZKoxP:`x5yr21d`,kzqmXN:`xh8yej3`,$$css:!0}},L4={cell:{kZKoxP:`x5yr21d`,$$css:!0}},R4={cell:{\"--_table-row-divider-width\":`x6ivs5n x1gxz47l`,kt9PQ7:`x92x3c3 x1tnk5uh x1bougdg`,kfdmCh:`x1q0q8m5`,kL6WhQ:`xw8gpjh`,$$css:!0}},z4={cell:{ke9TFa:`xw8tdv1 x1qlsc9e`,k8ry5P:`x18b5jzi`,kBCPoo:`x1gejf6u`,$$css:!0}},B4={middle:{kXLuUW:`xxymvpz`,$$css:!0},top:{kXLuUW:`x16dsc37`,$$css:!0},bottom:{kXLuUW:`x3ajldb`,$$css:!0}};function V4({children:e,xstyle:t,ref:n,className:r,style:i,contextMenuActions:a,...o}){let s=M4(),c=O4(a),l=s?[c?P4[s.density]:N4[s.density],s.textOverflow===`truncate`?$X.cell:eZ.cell,nZ[s.density],B4[s.verticalAlign],...A4(s,R4.cell,z4.cell),...c?[L4.cell]:[],rZ.cell]:[],u=k4(e,a,c&&s?[I4.fill,F4[s.density]]:c?I4.fill:void 0);return(0,Z.jsx)(`td`,{ref:n,...o,...Q(Y(`table-cell`,{density:s?.density}),C(...j4(l,t)),r,i),children:u})}V4.displayName=`TableCell`,D(),vr(),vx(),vC(),gC();var H4={compact:{k8WAf4:`xu0wf1k`,\"--_table-header-inline\":`x52ukts`,kg3NbH:`xlz1w5s`,\"--_table-header-end-room\":`x1lpvlbs`,kGuDYH:`xcr08ib`,kLWn49:`x1kq96og`,kB7OPa:`x9f619`,$$css:!0},balanced:{k8WAf4:`xce4md1`,\"--_table-header-inline\":`x1k2i0l5`,kg3NbH:`xlz1w5s`,\"--_table-header-end-room\":`x1lpvlbs`,kGuDYH:`xcr08ib`,kLWn49:`x1kq96og`,kB7OPa:`x9f619`,$$css:!0},spacious:{k8WAf4:`x8o8v82`,\"--_table-header-inline\":`xv6sed3`,kg3NbH:`xlz1w5s`,\"--_table-header-end-room\":`x1lpvlbs`,kGuDYH:`xcr08ib`,kLWn49:`x1kq96og`,kB7OPa:`x9f619`,$$css:!0}},U4={cell:{k63SB2:`x2mo6ok`,kMwMTN:`xv1l7n4`,k9WMMc:`x1yc453h`,$$css:!0}},W4={cell:{\"--_table-row-divider-width\":`x6ivs5n`,kt9PQ7:`x92x3c3`,kfdmCh:`x1q0q8m5`,kL6WhQ:`xw8gpjh`,$$css:!0}},G4={unpositioned:{kVAEAm:`x1uhb9sk`,$$css:!0}},K4={cell:{kVAEAm:`x1n2onr6`,$$css:!0}},q4={cell:{ke9TFa:`xw8tdv1 x1qlsc9e`,k8ry5P:`x18b5jzi`,kBCPoo:`x1gejf6u`,$$css:!0}};function J4({children:e,xstyle:t,ref:n,className:r,style:i,contextMenuActions:a,...o}){let s=M4(),c=s?.textOverflow===`truncate`,l=(0,X.useRef)(null),u=gx(n,l),d=dC({anchorRef:l,isEnabled:c}),f=O4(a),p=[];s&&(p.push(U4.cell,H4[s.density],W4.cell,c?$X.cell:tZ.cell,nZ[s.density]),(s.dividers===`columns`||s.dividers===`grid`)&&p.push(q4.cell),f&&p.push(K4.cell));let m=k4(e,a,s&&f?G4.unpositioned:void 0);return(0,Z.jsxs)(`th`,{ref:u,...o,...Q(Y(`table-header-cell`,{density:s?.density}),C(...j4(p,t)),r,i),onFocus:_C(o.onFocus,d.onFocus),onBlur:_C(o.onBlur,d.onBlur),onPointerDown:_C(o.onPointerDown,d.onPointerDown),children:[m,d.cutText!=null&&d.Tooltip?(0,Z.jsx)(d.Tooltip,{anchorRef:l,content:d.cutText,onHide:d.hide}):null]})}J4.displayName=`TableHeaderCell`,D(),vr();function Y4({ref:e,children:t,xstyle:n,className:r,style:i,...a}){return(0,Z.jsx)(`thead`,{ref:e,...Q(Y(`table-header`),C(n),r,i),...a,children:t})}Y4.displayName=`TableHeader`,D(),vr();function X4({ref:e,children:t,xstyle:n,className:r,style:i,...a}){return(0,Z.jsx)(`tbody`,{ref:e,...Q(Y(`table-body`),C(n),r,i),...a,children:(0,Z.jsx)(lZ,{value:aZ,children:t})})}X4.displayName=`TableBody`;var Z4={next:new WeakMap};function Q4(e){let t=Z4;for(let n of e){let e=t.next.get(n);e===void 0&&(e={next:new WeakMap},t.next.set(n,e)),t=e}return t.array??=e.slice(),t.array}sc();var $4=new WeakSet,e3=new WeakSet,t3=new WeakSet,n3=new WeakMap,r3=null;function i3(e,t){let n=r3;r3=e;try{return t()}finally{r3=n}}function a3(e,t){r3!==e&&(`${t}`,`${t}`)}function o3(e){return e3.has(e)}function s3(e){return t3.has(e)&&!$4.has(e)}function c3(e,t){if($4.has(e))return t;let n=n3.get(t);n??(n=new WeakMap,n3.set(t,n));let r=n.get(e);if(r!=null)return r;let i=Object.freeze({...t.render,get logicalRowCount(){return a3(e,`render.logicalRowCount`),t3.add(e),t.render.logicalRowCount}}),a=Object.freeze({...t,render:i,get logicalIndex(){return a3(e,`logicalIndex`),e3.add(e),t.logicalIndex},get logicalRowCount(){return a3(e,`logicalRowCount`),t3.add(e),t.logicalRowCount}});return n.set(e,a),a}px();function l3(e){let t=(0,X.useRef)(null);return cx(t,!0,``,{skipFirstRender:!0}),(0,Z.jsx)(`div`,{ref:t,...e})}D(),xO(),bC(),vr();var u3={container:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,k9WMMc:`x2b8uid`,kOIVth:`x18g69wz`,k8WAf4:`xmfvnks`,kg3NbH:`xm7rs69`,$$css:!0},containerCompact:{kOIVth:`x1txdalj`,k8WAf4:`x1na6nto`,kg3NbH:`x1pzlopt`,$$css:!0}};function d3({title:e,description:t,icon:n,actions:r,headingLevel:i=3,isCompact:a=!1,xstyle:o,className:s,style:c,ref:l,...u}){let d=`h${i}`;return(0,Z.jsxs)(`div`,{ref:l,...u,...Q(Y(`empty-state`,{variant:a?`compact`:null}),C(u3.container,a&&u3.containerCompact,o),s,c),children:[bO(n)&&(0,Z.jsx)(`div`,{\"aria-hidden\":`true`,children:n}),(0,Z.jsxs)(l3,{className:`x78zum5 xdt5ytf x6s0dn4 xxc7z9f`,children:[(0,X.createElement)(d,Q(Y(`empty-state-title`,{variant:a?`compact`:null}),{0:{className:`x1ghz6dp xjb2p0i x18juvz8 x2mo6ok xf74fhv x1tgivj0`},1:{className:`x1ghz6dp xjb2p0i x2mo6ok x1tgivj0 xcr08ib x1kq96og`}}[!!a|0]),e),bO(t)&&(0,Z.jsx)(`div`,{...Q(Y(`empty-state-description`,{variant:a?`compact`:null}),{0:{className:`x1ghz6dp xjb2p0i xjm74w1 x1sodnla xw6l6zx xv1l7n4`},1:{className:`x1ghz6dp xjb2p0i x1sodnla xv1l7n4 x141an7d x1ltkj2j`}}[!!a|0]),children:t})]}),bO(r)&&(0,Z.jsx)(`div`,{...{0:{className:`x78zum5 x1q0g3np x6s0dn4 x1txdalj xcsaf9d`},1:{className:`x78zum5 x6s0dn4 x1txdalj xcsaf9d xdt5ytf`}}[!!a|0],children:r})]})}d3.displayName=`EmptyState`,xO(),DM(),D(),vx(),sc(),MC(),DC(),vr(),iT(),Ww({\"@astryx.table.noData\":`No data`});var f3={kmVPX3:`x1717udv`,kMzoRj:`xc342km`,kLWn49:`x14ju556`,$$css:!0},p3={spacer:e=>[f3,{kZKoxP:e==null?e:`x16ye13r`,$$css:!0},{\"--x-height\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],fixedRow:e=>[{kZKoxP:e==null?e:`x16ye13r`,$$css:!0},{\"--x-height\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],table:{kzqmXN:`xh8yej3`,kLvRdT:`x1mwwwfo`,kheTzg:`x1gukg7c`,kPzzVL:`x140o2bo`,\"--_table-cell-word-break\":`xmorb0d`,\"--_table-header-white-space\":`xya44xs`,$$css:!0},tableAutoLayout:{kPzzVL:`x1drmoe9`,kTgw9:`x1lldw8n`,\"--_table-cell-word-break\":`x1f03rzy`,\"--_table-header-white-space\":`xghcpuh`,$$css:!0}};function m3(e,t,n,...r){return e.reduce((e,n,i)=>{let a=t(n);if(!a)return e;try{return a(e,...r)}catch(t){return oc(`Table`,`Plugin at index ${i} threw in transform:`,t),e}},n)}function h3(e,t,n,r,...i){return m3(e,e=>{let n=t(e);return n==null?void 0:(t,...i)=>i3(e,()=>n(t,...i,c3(e,r)))},n,...i)}var g3=[];function _3({item:e,column:t,columnIndex:n,columns:r,plugins:i,context:a,textOverflow:o,CellComponent:s,hasLogicalPosition:c,hasColumnPosition:l}){let u=l?{\"aria-colindex\":n+1}:{};t.align&&(u.style={textAlign:t.align});let d=h3(i,e=>e.transformBodyCell,{htmlProps:u,xstyle:[],columnIndex:n,columns:r},a,t,e,n,r),f=!t.renderCell,p=null;if(!d.isContentSuppressed){let n=c?NX(t):void 0;p=n==null?f?qX(e,t.key):t.renderCell?.(e)??null:n(a.logicalIndex)}let m;return m=f&&o===`truncate`&&typeof p==`string`&&p.length>0?(0,Z.jsx)(CC,{type:`body`,maxLines:1,children:p}):p,(0,Z.jsx)(s,{...d.htmlProps,contextMenuActions:d.contextMenuActions,xstyle:d.xstyle,children:m})}var v3=(0,X.memo)(_3);function y3({item:e,rowIndex:t,rowKey:n,columns:r,plugins:i,textOverflow:a,RowComponent:o,CellComponent:s,ariaRowIndex:c,contextIdentity:l,renderContext:u,rowHeight:d,columnLayout:f,onRowFocus:p,onRowBlur:m}){let h=(0,X.useMemo)(()=>Object.freeze({key:l.key,identityStatus:l.identityStatus,kind:u.rowModel===`flat`?`product`:`unknown`,logicalIndex:t,logicalRowCount:u.logicalRowCount,headerRowCount:u.headerRowCount,render:u}),[l,t,u]),g=(t,n)=>(0,Z.jsx)(v3,{item:e,column:t,columnIndex:n,columns:r,plugins:i,context:h,textOverflow:a,CellComponent:s,hasLogicalPosition:d!=null,hasColumnPosition:f!=null},t.key),_=f==null?r.map(g):f.mapColumns(r,g),v=h3(i,e=>e.transformBodyRow,{htmlProps:c==null?{}:{\"aria-rowindex\":c},xstyle:[],children:(0,Z.jsx)(Z.Fragment,{children:_})},h,e,t),y=v.htmlProps,b=(0,Z.jsx)(o,{ref:v.ref,...y,\"data-table-logical-index\":d==null?void 0:t,\"data-table-final-row\":d==null?void 0:t===(h?.logicalRowCount??0)-1?`true`:`false`,onFocus:p==null?y.onFocus:e=>{if(y.onFocus?.(e),h?.key!=null){let t=e.currentTarget.ownerDocument.defaultView,n=t!=null&&e.target instanceof t.HTMLElement?e.target:e.currentTarget;p(h.key,n)}},onBlur:m==null?y.onBlur:e=>{y.onBlur?.(e),(e.relatedTarget!=null||e.currentTarget.ownerDocument.hasFocus())&&!e.currentTarget.contains(e.relatedTarget)&&m()},xstyle:d==null?v.xstyle:[...v.xstyle,p3.fixedRow(d)],children:v.children},n);return(0,Z.jsxs)(Z.Fragment,{children:[b,v.afterRow||null]})}function b3(e,t){if(e.contextIdentity.key!==t.contextIdentity.key||e.contextIdentity.identityStatus!==t.contextIdentity.identityStatus||e.renderContext!==t.renderContext&&(e.rowHeight!=null||t.rowHeight!=null||e.plugins.some(s3)||e.renderContext.mode!==t.renderContext.mode||e.renderContext.rowModel!==t.renderContext.rowModel||e.renderContext.headerRowCount!==t.renderContext.headerRowCount||e.renderContext.viewport!==t.renderContext.viewport)||e.rowHeight!==t.rowHeight||e.columnLayout!==t.columnLayout||e.onRowFocus!==t.onRowFocus||e.onRowBlur!==t.onRowBlur||e.rowKey!==t.rowKey||e.rowIndex!==t.rowIndex&&(e.rowHeight!=null||t.rowHeight!=null||t.plugins.some(e=>e.transformBodyRow!=null||o3(e))))return!1;let n=e.renderContext,r=t.renderContext;if(n!==r&&(n.mode!==r.mode||n.rowModel!==r.rowModel||n.headerRowCount!==r.headerRowCount||n.viewport!==r.viewport||n.logicalRowCount!==r.logicalRowCount&&t.plugins.some(s3))||e.ariaRowIndex!==t.ariaRowIndex||e.columns!==t.columns||e.plugins!==t.plugins||e.textOverflow!==t.textOverflow||e.RowComponent!==t.RowComponent||e.CellComponent!==t.CellComponent)return!1;if(e.item===t.item)return!0;let i=e.item,a=t.item,o=Object.keys(a);if(Object.keys(i).length!==o.length)return!1;for(let e of o)if(i[e]!==a[e])return!1;return!0}var x3=(0,X.memo)(y3,b3);function S3({data:e,columns:t,idKey:n,plugins:r,children:i,textOverflow:a,virtualization:o,scrollWrapper:s,emptyState:c,rowIndexStart:l,rowCount:u,xstyle:d,className:f,style:p,ref:m,...h}){let g=nT(),_=r??g3,v=(0,X.useMemo)(()=>GY(),[]),y=(0,X.useMemo)(()=>JY(_),[_]),b=i?`children`:`data`,x=o!=null,S=e?.length??0,w=(0,X.useMemo)(()=>x&&S>0?qY(e??[],n,!0):[],[e,S,n,x]),T=x?w:qY(e??[],n,!1),E=(0,X.useMemo)(()=>T.map((e,t)=>e.key??t),[T]),D=l!=null||u!=null,O=l??1,k=D?u??-1:void 0,A=mZ,j=V4,M=J4,N=Q4(m3(_,e=>e.transformColumns,t??(e?ZX(e):[]))),P=+(b===`data`&&N.length>0),{rows:F,columns:I,invalidReason:L}=(0,X.useMemo)(()=>fX(o),[o]),R=lX(F),z=(0,X.useMemo)(()=>{if(b!==`data`)return`windowing requires data mode`;if(s==null)return`windowing requires the Table scroll wrapper`;if(!UY(s))return`windowing requires the Table-owned scroll wrapper`;if(y.rowModel!==`flat`)return`structural body modifiers must declare rowModel: 'flat' to admit windowing`;if(!T.every(e=>e.identityStatus===`valid`))return`explicit unique valid row identity is required`;if(a===`wrap`)return`explicit wrapped content is not fixed-height`},[b,s,y.rowModel,T,a]),B=N.every(PX),V=L??(R==null?void 0:z??(l!=null||u!=null?`legacy row offsets or counts conflict with windowed metadata`:B?!Number.isFinite(R.rowHeight)||R.rowHeight<=0||!Number.isFinite(R.initialViewportHeight)||R.initialViewportHeight<=0?`row and viewport geometry must be positive finite CSS pixels`:void 0:`a custom cell renderer has no fixed-height admission`)),H=R!=null&&V===void 0;kC(`Table`,`Windowing disabled: ${V}. Rendering all rows.`,V!=null);let ee=(0,X.useMemo)(()=>new Set(N.flatMap((e,t)=>NX(e)==null?[]:[t])),[N]),U=DX({capability:F,data:e??[],keys:E,isAdmitted:H,logicalPositionColumns:ee,viewport:v.viewport,body:v.body,table:v.table,geometry:v.geometry}),te=(0,X.useMemo)(()=>Object.freeze({mode:b,rowModel:y.rowModel,logicalRowCount:e?.length??0,headerRowCount:P,viewport:v.viewport}),[b,y,e?.length,P,v]),W=(0,X.useMemo)(()=>{let e=_.flatMap(e=>e.renderState?[e.renderState]:[]),t=t=>+!!e.some(e=>t(e).isLoading)|(e.some(e=>t(e).hasMore===!0)?2:0);return{subscribe(t){let n=e.map(e=>e.subscribe(t));return()=>n.forEach(e=>e())},getSnapshot:()=>t(e=>e.getSnapshot()),getServerSnapshot:()=>t(e=>e.getServerSnapshot())}},[_]),G=(0,X.useSyncExternalStore)(W.subscribe,W.getSnapshot,W.getServerSnapshot),ne=b===`data`&&y.rowModel===`flat`&&s!=null&&UY(s),re=ne&&(G&1)==1,ie=ne&&(G&2)==2,K=(0,X.useMemo)(()=>jX(N,U.logicalPositionWidths),[N,U.logicalPositionWidths]),q=UX(K),ae={};if(K!==N){let e=LX(N),t=LX(K);K.forEach((n,r)=>{let i=(t.get(n.key)??0)-(e.get(n.key)??0);i>0&&(ae[MX(r)]=`${i}px`)})}let oe=m3(_,e=>e.transformTable,{htmlProps:{},xstyle:i?[p3.table,p3.tableAutoLayout]:[p3.table]}),se={...oe.htmlProps.style,...p},ce=a??(U.isWindowed||I!=null?`truncate`:`wrap`),le=(0,X.useId)(),J=gx(m,v.setTable),ue=e!=null&&e.length>0,de=(t,n)=>{let r=(e,n)=>{let r=e.header??e.key,i={\"data-column-key\":e.key,scope:`col`,...t==null?null:{\"aria-colindex\":n+1}};e.align&&(i.style={textAlign:e.align});let a=m3(_,e=>e.transformHeaderCell,{htmlProps:i,xstyle:[],content:r,columnIndex:n,columns:N},e,n,N),o=t==null?q.columns.get(e.key)?.style??{}:t.widthOf(n),s=a.htmlProps.style,c={...a.htmlProps,style:s?{...o,...s}:o},l=a.content??r,u=typeof l==`string`&&l.length>0?{title:l}:{},{before:d,after:f,overlay:p,below:m}=a,h=d!=null||f!=null||p!=null||m!=null,g=bO(f)?(0,Z.jsxs)(`div`,{className:`x3nfvp2 x6s0dn4 xzye2dw xeuugli x1t6qtqz`,children:[(0,Z.jsx)(`span`,{className:`x6hwqpo xeuugli xb3r6kr xlyipyv`,children:l}),f]}):l,v=bO(p)&&c[`aria-label`]==null&&c[`aria-labelledby`]==null,y=`${le}-label-${n}`,b=`${le}-below-${n}`,x=bO(m),S=h?v?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(`span`,{id:y,children:[d,g]}),p,x&&(0,Z.jsx)(`div`,{id:b,children:m})]}):(0,Z.jsxs)(Z.Fragment,{children:[d,g,p,m]}):l,C=v?{\"aria-labelledby\":x?`${y} ${b}`:y}:{};return(0,Z.jsx)(M,{...c,...C,...u,contextMenuActions:a.contextMenuActions,xstyle:a.xstyle,children:S},e.key)},a=t==null?N.map(r):t.mapColumns(N,r),o=m3(_,e=>e.transformHeaderRow,{htmlProps:{},xstyle:[],children:(0,Z.jsx)(Z.Fragment,{children:a})}),s=t?.cellCount??N.length,l=N.length>0,u={...q.tableMinWidth>0?{...se,minWidth:HX(se.minWidth,q.tableMinWidth)}:se,...ae};return(0,Z.jsx)(`table`,{ref:J,...U.isWindowed?{\"aria-rowcount\":ie?-1:P+(e?.length??0)}:k==null?null:{\"aria-rowcount\":k},...t==null?null:{\"aria-colcount\":N.length},...oe.htmlProps,...Q(Y(`table`),C(...oe.xstyle,d),[oe.htmlProps.className,f].filter(Boolean).join(` `)||void 0,u),...h,...n&&{onFocus:EM(oe.htmlProps.onFocus,h.onFocus,n.onFocus),onBlur:EM(oe.htmlProps.onBlur,h.onBlur,n.onBlur),onPointerDown:EM(oe.htmlProps.onPointerDown,h.onPointerDown,n.onPointerDown),onContextMenu:EM(oe.htmlProps.onContextMenu,h.onContextMenu,n.onContextMenu)},children:i||(0,Z.jsxs)(Z.Fragment,{children:[l&&(0,Z.jsx)(Y4,{children:(0,Z.jsx)(A,{...o.htmlProps,\"aria-rowindex\":U.isWindowed?1:o.htmlProps[`aria-rowindex`],isHeaderRow:!0,xstyle:o.xstyle,children:o.children})}),(0,Z.jsx)(X4,{ref:v.setBody,children:ue?U.segments.flatMap(n=>{if(n.type===`gap`)return[(0,Z.jsx)(`tr`,{\"aria-hidden\":`true`,children:(0,Z.jsx)(`td`,{colSpan:s,...C(p3.spacer(n.height))})},`gap:${n.start}:${n.end}`)];let r=[];for(let i=n.start;ie.transformScrollWrapper,{htmlProps:{},xstyle:[]},te):null,he=gx(v.setViewport,me?.htmlProps.ref);s&&me&&(pe=(0,Z.jsx)(s,{htmlProps:{...me.htmlProps,ref:he},xstyle:me.xstyle,beforeTable:me.beforeTable,afterTable:me.afterTable,children:pe}));for(let e=_.length-1;e>=0;e--){let t=_[e];if(t.transformTableContext)try{pe=t.transformTableContext(pe)}catch(e){oc(`Table`,`Plugin threw in transformTableContext:`,e)}}let ge=(0,X.use)(OX),_e=(0,X.useMemo)(()=>ge==null?null:{...ge,textOverflow:ce},[ge,ce]),ve=(0,X.useMemo)(()=>({...v,viewportHeight:U.isWindowed?R?.initialViewportHeight:void 0,isLoadingAdmitted:ne}),[v,U.isWindowed,R?.initialViewportHeight,ne]);return(0,Z.jsx)(KY,{value:ve,children:_e==null?pe:(0,Z.jsx)(OX,{value:_e,children:pe})})}var C3=S3;C3.displayName=`BaseTable`,sc();var w3=[`columnSettings`,`sort`,`tree`,`selection`,`pagination`],T3=new Map(w3.map((e,t)=>[e,t]));function E3(e){let t=w3.length;return e.sort(([e],[n])=>(T3.get(e)??t)-(T3.get(n)??t))}var D3=new Set([`rowModel`,`renderState`]),O3=new Set([`transformColumns`,`transformTable`,`transformHeaderRow`,`transformHeaderCell`,`transformBodyRow`,`transformBodyCell`,`transformScrollWrapper`,`transformTableContext`]);function k3(e,t){let n=Object.keys(t);for(let t of n)!O3.has(t)&&!D3.has(t)&&`${e}${t}${[...D3,...O3].join(`, `)}`;for(let r of n)if(O3.has(r)){let n=t[r];n!=null&&typeof n!=`function`&&`${e}${r}`}!n.some(e=>O3.has(e)&&typeof t[e]==`function`)&&t.renderState==null&&`${e}`}function A3(e,t){let n=Q4(j3(e,t)),r=(0,X.useRef)(null);return(0,X.useEffect)(()=>{if(r.current!==n&&(r.current=n,t))for(let[e,n]of Object.entries(t))k3(e,n)},[n,t]),n}function j3(e,t){let n=t?E3(Object.entries(t)).map(([,e])=>e):[];return[...e,...n]}hx(),D(),oS(),HU(),vr(),iT(),ys(),Ww({\"@astryx.table.label\":`Table`});var M3={base:{kMv6JI:`xjb2p0i`,kMwMTN:`x1tgivj0`,$$css:!0}},N3={overflow:`visible`},P3={blockViewport:{\"--_table-bleed-block-start\":`x1vhegpj x83pvvj`,\"--_table-bleed-block-end\":`x1jo0iki x17gwsw7`,kZKoxP:`xzymg9v`,kAzted:`x2lwn1j`,$$css:!0},base:{kXHlph:`xw2csxc`,kuHK5b:`x5lxg6s`,$$css:!0},containerBleed:{keTefX:`xojxgvx`,k71WvV:`x1fcf3bl`,kzqmXN:`xx6qvi6`,keoZOQ:`xxlrtwf`,k1K539:`x1ddsecl`,krdFHd:`x15mokao x1pf40mn`,kfmiAY:`x1ga7v0g x3s3gbr`,kVL7Gh:`xbiv7yw xr4wx9`,kT0f0o:`x16uus16 x5vugwh`,$$css:!0},focusRingInset:{kInvED:`xyk55c9`,$$css:!0}},F3=_s(`TableNameContext`,1,null);F3.displayName=`TableNameContext`;function I3({children:e,htmlProps:t,xstyle:n,beforeTable:r,afterTable:i}){let a=nT(),o=(0,X.use)(F3),s=o?.labelledBy,c=s==null?o?.label??a(`@astryx.table.label`):void 0,l=(0,X.use)(KY),u=l?.viewportHeight!=null,{getViewportProps:d,getContentProps:f,state:p}=NU({axis:u?`both`:`inline`,keyboardAccess:{owner:`content`},overscroll:`contain`}),{ref:m,className:h,style:g,..._}=t??{},v=(0,X.useMemo)(()=>mx(m,l?.setViewport),[m,l?.setViewport]),y=d({role:`group`,\"aria-label\":c,\"aria-labelledby\":_[`aria-label`]==null?s:void 0,...p.inline.isScrollable||p.block.isScrollable?{tabIndex:0}:{},\"data-container-corner\":``,..._,ref:v,...Q(Y(`table-scroll-wrapper`),C(P3.base,P3.containerBleed,iS.focusVisible,P3.focusRingInset,u&&P3.blockViewport,GU(p.inline),...n??[]),h,g)});return u&&(y.style={...y.style,overscrollBehaviorY:`auto`}),(0,Z.jsx)(`div`,{...y,children:(0,Z.jsxs)(`div`,{...f({style:N3}),children:[r,e,i]})})}function L3(){return{transformTable(e){return{...e,xstyle:[...e.xstyle,M3.base]}}}}HY(I3);function R3({density:e=`balanced`,dividers:t=`rows`,isStriped:n=!1,hasHover:r=!1,verticalAlign:i=`middle`,textOverflow:a,virtualization:o,plugins:s,columns:c,data:l,ref:u,...d}){let f=a??(o==null?`wrap`:`truncate`),p=(0,X.useMemo)(()=>L3(),[]),m=A3((0,X.useMemo)(()=>[p],[p]),s),h=(0,X.useMemo)(()=>({density:e,dividers:t,isStriped:n,hasHover:r,verticalAlign:i,textOverflow:f}),[e,t,n,r,i,f]),g=d[`aria-label`],_=d[`aria-labelledby`],v=(0,X.useMemo)(()=>({label:g,labelledBy:_}),[g,_]);return(0,Z.jsx)(OX,{value:h,children:(0,Z.jsx)(lZ,{value:iZ,children:(0,Z.jsx)(F3,{value:v,children:(0,Z.jsx)(C3,{ref:u,data:l,columns:c,plugins:m,textOverflow:a,virtualization:o,scrollWrapper:I3,...d})})})})}var z3=R3;z3.displayName=`Table`,gs(),rc();var gae=50,_ae=8;function vae(e){let t=e.match(/^([\\d.]+)ms$/);if(t)return parseFloat(t[1]);let n=e.match(/^([\\d.]+)s$/);return n?parseFloat(n[1])*1e3:null}var yae={natural:10,fast:4,instant:1/0},B3=typeof Intl.Segmenter==`function`?new Intl.Segmenter(void 0,{granularity:`grapheme`}):null;function bae(e){return e>=56320&&e<=57343}function xae(e,t){return t<=0||t>=e.length?t:B3?B3.segment(e).containing(t)?.index??t:bae(e.charCodeAt(t))?t-1:t}function Sae(e,t,n){let r=n?.speed??`natural`,i=yae[r],{token:a}=Ws(),o=(0,X.useMemo)(()=>{if(r===`instant`)return 0;let e=vae(a(`--duration-fast-min`));if(e==null)return r===`fast`?_ae:gae;let t=r===`fast`?e/20:e/10;return Math.max(4,Math.round(t))},[a,r]),[s,c]=(0,X.useState)({epoch:0,len:0}),[l,u]=(0,X.useState)({epoch:0,len:0}),d=l.epoch===s.epoch?l.len:s.len,f=(0,X.useRef)(e),p=(0,X.useRef)(0),m=(0,X.useRef)(null);f.current=e,e.length===0&&d!==0&&c(e=>({epoch:e.epoch+1,len:0}));let[h,g]=(0,X.useState)(t);t!==h&&(g(t),!t&&e.length>0&&c(t=>({epoch:t.epoch+1,len:e.length})));let _=ps(`(prefers-reduced-motion: reduce)`);return(0,X.useEffect)(()=>{if(!t||r===`instant`||_)return;function e(t){if(t-p.current>=o){p.current=t;let e=f.current;u(t=>{let n=t.epoch===s.epoch?t.len:s.len;return n>=e.length?t:{epoch:s.epoch,len:Math.min(n+i,e.length)}})}m.current=requestAnimationFrame(e)}return m.current=requestAnimationFrame(e),()=>{m.current!==null&&(cancelAnimationFrame(m.current),m.current=null)}},[t,i,o,r,_,s]),!t||r===`instant`||_?e:e.slice(0,xae(e,d))}function Cae(e,t,n){if(e.length===0||t>e[e.length-1]){let r=[...e,t];for(;r.length>n;)r.shift();return r}return e}function wae(e,t,n,r){let i=t+e.length;if(n.length===0)return null;let a=n[0];if(i<=a)return null;let o=[],s=t;s=i||l<=s)continue;let u=Math.max(c,s),d=Math.min(l,i);u>=d||(o.push({key:`fade-${r}-b${c}`,text:e.slice(u-t,d-t),fading:!0}),s=d)}return o.length>0?o:null}D(),dv(),vr(),sE(),iT(),Ww({\"@astryx.citation.label\":`Citation {number}: {title}`});var V3={label:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kOIVth:`xzye2dw`,kXLuUW:`xxymvpz`,kZKoxP:`x1grt7ep`,kGuDYH:`x141an7d`,k63SB2:`xv8on6e`,kLWn49:`x1ltkj2j`,kMwMTN:`xv1l7n4`,kaIpWk:`xh6dtrn`,kMzoRj:`x1litavf`,ksu8eU:`x1y0btm7`,kVAM5u:`x14i3s5s`,kg3NbH:`xf314gf`,keTefX:`xladpz9`,kybGjl:`x1hl2dhg`,k1ekBW:`x1eaenvl`,kIyJzY:`x2rcmwa`,kAMwcw:`xlr8y92`,ks0D6T:`x55n99s`,kVQacm:`xb3r6kr`,$$css:!0},labelWithIcon:{kZCmMZ:`x138rykx`,$$css:!0},labelInteractive:{kkrTdU:`x1ypdohk x16khyan`,$$css:!0},labelHover:{kWkggS:`xoevpu5`,kMwMTN:`xv1l7n4 xo5jvnm`,$$css:!0},number:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kXLuUW:`x1v0h343`,kGuDYH:`x141an7d`,k63SB2:`x2mo6ok`,kLWn49:`x1ltkj2j`,kMwMTN:`xv1l7n4`,kWkggS:`xgcxg3y`,kaIpWk:`xjspbzw`,k7Eaqz:`x16asifk`,kZKoxP:`x1grt7ep`,kg3NbH:`x7a5moj`,kybGjl:`x1hl2dhg`,k1ekBW:`x15406qy`,kIyJzY:`x2rcmwa`,kAMwcw:`xlr8y92`,$$css:!0},numberInteractive:{kkrTdU:`x1ypdohk x16khyan`,$$css:!0},numberHover:{kWkggS:`xgcxg3y xoevpu5`,$$css:!0}};function H3({ref:e,source:t,number:n,variant:r=`label`,xstyle:i,className:a,style:o,\"data-testid\":s,...c}){let l=nT(),u=t.title??String(n),d=t.url!=null&&lv(t.url)?t.url:void 0,f=t.icon!=null&&typeof t.icon!=`string`?t.icon:null,p=t.src??(typeof t.icon==`string`?t.icon:void 0),m=f!=null||p!=null,h=d?`a`:`span`,g=d?`doc-noteref`:`group`,_=d?{href:d,target:`_blank`,rel:`noopener noreferrer`,title:u}:{title:u},v=e;return r===`number`?(0,Z.jsx)(h,{...c,ref:v,role:g,\"aria-label\":l(`@astryx.citation.label`,{number:n,title:u}),\"data-testid\":s,..._,...Q(Y(`citation`,{variant:r}),C(V3.number,d!=null&&V3.numberHover,d!=null&&V3.numberInteractive,i),a,o),children:n}):(0,Z.jsxs)(h,{...c,ref:v,role:g,\"aria-label\":l(`@astryx.citation.label`,{number:n,title:u}),\"data-testid\":s,..._,...Q(Y(`citation`,{variant:r}),C(V3.label,m&&V3.labelWithIcon,d!=null&&V3.labelHover,d!=null&&V3.labelInteractive,i),a,o),children:[m&&(0,Z.jsx)(`span`,{\"aria-hidden\":`true`,className:`x3nfvp2 x6s0dn4 xl56j7k x12xnipv x6b6gus xjspbzw x10xzikg x1litavf x1y0btm7 x14i3s5s xb3r6kr x2lah0s`,children:f==null?(0,Z.jsx)(`img`,{src:p,alt:``,className:`x1ad1g3v x9gl9lo`}):eE(f,{size:`sm`})}),(0,Z.jsx)(`span`,{className:`xb3r6kr xlyipyv xuxw1ft xeuugli`,children:u})]})}H3.displayName=`Citation`,dv();var U3=/^data:/i;function W3(e){let t=cv(e);return t!==null&&!U3.test(t)}function G3(e){return cv(e)??e}function Tae(e){let t=cv(e);return t===null||t===``||U3.test(t)?null:t}sc();var Eae=Symbol.for(`@astryxdesign/core/markdown/protocol/transform-plugin-name/v1`),Dae=Symbol.for(`@astryxdesign/core/markdown/protocol/transform-has-renderer/v1`),Oae=Symbol.for(`@astryxdesign/core/markdown/protocol/transform-source-unchanged/v1`),kae=Symbol(`MarkdownTransformClaim`),Aae=Symbol(`MarkdownSourceLines`),K3=Symbol(`MarkdownTransformTrusted`);function jae(e){return Object.defineProperty(e,K3,{configurable:!1,enumerable:!1,value:!0,writable:!1}),e}var q3=`@astryxdesign/core/MarkdownPluginEntry`,J3=Symbol.for(q3);function Y3(e){typeof e==`object`&&e&&Object.getPrototypeOf(e)===Object.prototype||X3(`entries must come from a compatible createMarkdownPlugin()`);let t=e,n=t[J3],r=n?.definition;return Reflect.ownKeys(t).length===3&&typeof t.name==`string`&&t.apiVersion===1&&Object.isFrozen(t)&&typeof n==`object`&&n&&Object.getPrototypeOf(n)===Object.prototype&&Reflect.ownKeys(n).length===3&&Object.isFrozen(n)&&n.kind===q3&&n.apiVersion===1&&typeof r==`object`&&r&&Object.isFrozen(r)&&r.name===t.name&&r.apiVersion===t.apiVersion||X3(`entries must come from a compatible createMarkdownPlugin()`),r}function X3(e){throw Error(`Markdown plugin: ${e}`)}var Z3=new WeakMap;function Q3(e,t,n){let r=e.get(t);r==null?e.set(t,[n]):r.push(n)}function $3(e){let t=e,n=Y3(e);if(n.transform==null)return e;let r=Object.freeze({...n,transform:void 0});return Object.freeze({name:t.name,apiVersion:t.apiVersion,[J3]:Object.freeze({kind:q3,apiVersion:1,definition:r})})}function e6(e){if(e.length===0)return;let t=Z3.get(e);if(t!=null)return t;let n=new Set,r=new Map,i=new Map,a=[],o=new Map,s=[],c=[],l=[],u=!1;for(let t of e){let e=Y3(t),d=t;if(n.has(e.name)&&X3(`duplicate name \"${e.name}\"`),n.add(e.name),c.push(d),e.transform!=null&&a.push({pluginName:e.name,transform:e.transform,claims:e.transform[kae],trusted:e.transform[K3]===!0}),e.renderers!=null)for(let[t,n]of Object.entries(e.renderers))o.set(`${e.name}\\0${t}`,{pluginName:e.name,renderer:n});if(e[Aae]===!0&&(u=!0,l.push($3(t)),s.push(`${e.name}\\0${e.apiVersion}\\0source-lines`)),`syntax`in e&&e.syntax!=null){l.push($3(t)),s.push(`${e.name}\\0${e.apiVersion}\\0${e.parseKey}`);for(let t of e.syntax.inline??[]){let n={pluginName:e.name,display:`inline`,contribution:t};for(let e of new Set(t.startsWith.map(e=>e[0])))Q3(r,e,n)}for(let t of e.syntax.block??[]){let n={pluginName:e.name,display:`block`,contribution:t};for(let e of new Set(t.startsWith.map(e=>e[0])))Q3(i,e,n)}}}let d={entries:c,syntaxEntries:l,inlineByFirstCharacter:r,blockByFirstCharacter:i,transforms:a,hasUntrustedTransform:a.some(e=>!e.trusted),syntaxIdentity:s.join(`\u0001`),renderers:o,sourceLines:u};return Z3.set(e,d),d}function t6(e,t=new Set){if(e==null||typeof e==`boolean`||typeof e==`string`)return!0;if(typeof e==`number`)return Number.isFinite(e);if(typeof e!=`object`||t.has(e))return!1;t.add(e);let n;return n=Array.isArray(e)?e.every(e=>t6(e,t)):Object.getPrototypeOf(e)===Object.prototype&&Object.values(e).every(e=>t6(e,t)),t.delete(e),n}function n6(e){if(typeof e==`object`&&e&&!Object.isFrozen(e)){for(let t of Object.values(e))n6(t);Object.freeze(e)}return e}function r6(e){let t=e?.start.offset,n=e?.end.offset;if(t!=null&&n!=null)return`${t}:${n}`;let r=e?.start.line,i=e?.end.line;return r==null||i==null?null:`line ${r}:${i}`}function Mae(e){let t=[[e.start?.offset,e.end?.offset,0],[e.start?.line,e.end?.line,1]],n=!1;for(let[e,r,i]of t)if(e!==void 0||r!==void 0){if(!Number.isInteger(e)||!Number.isInteger(r)||e{if(e.type===`code`){let n=Object.getOwnPropertySymbols(e).map(t=>[t,Object.getOwnPropertyDescriptor(e,t)]).filter(e=>e[1]?.enumerable===!0);if(n.length>0){let r=i6(e);t.set(r,[...t.get(r)??[],{descriptors:n}])}}if(`children`in e&&Array.isArray(e.children))for(let t of e.children)typeof t==`object`&&t&&n(t)};return n(e),t}function Pae(e){let t=e=>{if(Array.isArray(e)){let n=e,r=null;for(let e=0;e{let t=e;if(e.type===`code`){let r=i6(e),i=n.get(r)?.shift(),a=i?.descriptors.some(([t,n])=>{let r=Object.getOwnPropertyDescriptor(e,t);return r==null||r.value!==n.value||r.get!==n.get||r.set!==n.set||r.enumerable!==n.enumerable||r.configurable!==n.configurable||r.writable!==n.writable});if(i!=null&&a===!0){let n={...e};for(let[e,t]of i.descriptors)Object.defineProperty(n,e,t);t=n}}if(`children`in t&&Array.isArray(t.children)){let e=t.children,n=e.map(e=>r(e));n.some((t,n)=>t!==e[n])&&(t={...t,children:n})}return t};return r(t)}function Iae(e){let t=new Map,n=e=>{let r=r6(e.position);if(r!=null){let n=e,i={type:e.type,startLine:e.position?.start.line,endLine:e.position?.end.line,depth:n.depth,ordered:n.ordered,start:n.start,delimiter:n.delimiter,plugin:n.plugin,name:n.name,display:n.display};t.set(r,[...t.get(r)??[],i])}if(`children`in e&&Array.isArray(e.children))for(let t of e.children)typeof t==`object`&&t&&n(t)};return n(e),t}function o6(e){return JSON.stringify([e.plugin,e.name,e.display,e.data,e.source,r6(e.position)])}function Lae(e){let t=new Map,n=e=>{if(e.type===`extension`){let n=o6(e),r=t.get(n);t.set(n,{plugin:String(e.plugin),count:(r?.count??0)+1})}if(`children`in e&&Array.isArray(e.children))for(let t of e.children)typeof t==`object`&&t&&n(t)};return n(e),t}var s6=Symbol(`MarkdownSourceHeading`);function Rae(e){let t=new Set,n=e=>{if(e.type===`heading`&&!(s6 in e)&&Object.defineProperty(e,s6,{configurable:!1,enumerable:!0,value:Object.freeze({depth:e.depth}),writable:!1}),e.type===`heading`&&t.add(e[s6]),`children`in e&&Array.isArray(e.children))for(let t of e.children)typeof t==`object`&&t&&n(t)};return n(e),t}var zae=new Set([`text`,`strong`,`emphasis`,`delete`,`inlineCode`,`inlineMath`,`break`,`link`,`image`,`citation`]),Bae=new Set([`heading`,`paragraph`,`code`,`math`,`blockquote`,`list`,`table`,`thematicBreak`,`image`]),c6=new Set([`heading`,`paragraph`,`strong`,`emphasis`,`delete`,`link`,`tableCell`]),l6=new Set([`root`,`blockquote`,`listItem`]),Vae=new Set([...c6,...l6,`list`,`table`,`tableRow`]);function Hae(e,t,n,r,i,a,o,s){if(typeof e!=`object`||!e)return!1;let c=new Set,l=new Set,u=0,d=(e,s,f)=>{if(typeof e!=`object`||!e||c.has(e)||++u>1e5)return!1;c.add(e);let p=e,m=p.type;if(typeof m!=`string`||p.data!==void 0&&!t6(p.data))return!1;if(s!=null){let e=m===`extension`?p.display:void 0,t=zae.has(m)||e===`inline`,n=Bae.has(m)||e===`block`;if(c6.has(s)&&!t||l6.has(s)&&!n||f&&m===`link`||s===`list`&&m!==`listItem`||s===`table`&&m!==`tableRow`||s===`tableRow`&&m!==`tableCell`)return!1}let h=p.position,g=r6(h);if(h!=null&&!Mae(h))return!1;if(g!=null){let e=r.get(g)??[],t=e.findIndex(e=>e.type===m&&e.startLine===h?.start?.line&&e.endLine===h?.end?.line&&e.depth===p.depth&&e.ordered===p.ordered&&e.start===p.start&&e.delimiter===p.delimiter&&e.plugin===p.plugin&&e.name===p.name&&e.display===p.display);if(t<0)return!1;e.splice(t,1)}if(m!==`extension`&&p.source!==void 0)return!1;switch(m){case`root`:if(s!=null)return!1;break;case`heading`:{if(![1,2,3,4,5,6].includes(p.depth))return!1;let e=p[s6];if(e!=null&&(!i.has(e)||e.depth!==p.depth||l.has(e)))return!1;e!=null&&l.add(e);break}case`text`:case`inlineCode`:case`inlineMath`:case`math`:if(typeof p.value!=`string`)return!1;break;case`code`:if(typeof p.value!=`string`||p.lang!==null&&typeof p.lang!=`string`||p.meta!==void 0&&typeof p.meta!=`string`)return!1;break;case`link`:if(typeof p.url!=`string`||!W3(p.url))return!1;break;case`image`:if(typeof p.url!=`string`||!W3(p.url)||typeof p.alt!=`string`)return!1;break;case`citation`:if(typeof p.sourceId!=`string`)return!1;break;case`list`:if(typeof p.ordered!=`boolean`||p.start!=null&&!Number.isFinite(p.start)||p.delimiter!=null&&p.delimiter!==`.`&&p.delimiter!==`)`)return!1;break;case`table`:if(!Array.isArray(p.align)||!p.align.every(e=>e===null||e===`left`||e===`center`||e===`right`))return!1;break;case`extension`:{if(typeof p.plugin!=`string`||!t.has(p.plugin)||typeof p.name!=`string`||p.display!==`inline`&&p.display!==`block`||!t6(p.data)||!n.has(`${p.plugin}\\0${p.name}`))return!1;let e=o6(p),r=o.get(e);if(r!=null&&r.count>0)r.count--;else if(p.plugin!==a||p.source!==void 0||p.position!==void 0)return!1;break}case`strong`:case`emphasis`:case`delete`:case`break`:case`paragraph`:case`blockquote`:case`listItem`:case`tableRow`:case`tableCell`:case`thematicBreak`:break;default:return!1}if(Vae.has(m)){if(!Array.isArray(p.children))return!1;for(let e of p.children)if(!d(e,m,f||m===`link`))return!1}else if(`children`in p)return!1;return!0},f=e;return d(f,null,!1)&&f.type===`root`&&Array.from(o.values()).every(e=>e.plugin===a||e.count===0)&&(s===`block`||f.children.length===1&&f.children[0]?.type===`paragraph`)}function u6(e){if(typeof e==`object`&&e){if(Array.isArray(e))for(let t=0;te.name)),o=new Set(t.renderers.keys()),!0),s=d6(s),d=!1);try{let l={source:n,isFinal:r,display:i,report(t){m6(e.pluginName,`transform`,t)},[Eae]:e.pluginName,[Dae]:n=>t.renderers.has(`${e.pluginName}\\u0000${n}`),[Oae]:!u},f=e.transform(s,l);if(typeof f==`object`&&f&&typeof f.then==`function`)throw Promise.resolve(f).catch(()=>{}),TypeError(`Async Markdown transforms are not supported`);if(f===s)continue;if(e.trusted){u=!0,d=!0,s=f;continue}let p=Iae(s),m=Lae(s);if(!Hae(f,a,o,p,c,e.pluginName,m,i))throw TypeError(`Transform returned an invalid Markdown document`);u=!0,s=d6(Fae(s,Pae(f)))}catch(t){m6(e.pluginName,`transform`,t)}}return d?t.hasUntrustedTransform?d6(s):p6(e,s):s}function g6(e,t){return e?.renderers.get(`${t.plugin}\\0${t.name}`)?.renderer}function _6(e,t){let n=g6(e,t);if(n==null)return t.source??``;try{return n.toText(t)}catch(e){return m6(t.plugin,`render`,e),t.source??``}}var Uae=`AElig=c6 AMP=26 Aacute=c1 Abreve=102 Acirc=c2 Acy=410 Afr=1d504 Agrave=c0 Alpha=391 Amacr=100 And=2a53 Aogon=104 Aopf=1d538 ApplyFunction=2061 Aring=c5 Ascr=1d49c Assign=2254 Atilde=c3 Auml=c4 Backslash=2216 Barv=2ae7 Barwed=2306 Bcy=411 Because=2235 Bernoullis=212c Beta=392 Bfr=1d505 Bopf=1d539 Breve=2d8 Bscr=212c Bumpeq=224e CHcy=427 COPY=a9 Cacute=106 Cap=22d2 CapitalDifferentialD=2145 Cayleys=212d Ccaron=10c Ccedil=c7 Ccirc=108 Cconint=2230 Cdot=10a Cedilla=b8 CenterDot=b7 Cfr=212d Chi=3a7 CircleDot=2299 CircleMinus=2296 CirclePlus=2295 CircleTimes=2297 ClockwiseContourIntegral=2232 CloseCurlyDoubleQuote=201d CloseCurlyQuote=2019 Colon=2237 Colone=2a74 Congruent=2261 Conint=222f ContourIntegral=222e Copf=2102 Coproduct=2210 CounterClockwiseContourIntegral=2233 Cross=2a2f Cscr=1d49e Cup=22d3 CupCap=224d DD=2145 DDotrahd=2911 DJcy=402 DScy=405 DZcy=40f Dagger=2021 Darr=21a1 Dashv=2ae4 Dcaron=10e Dcy=414 Del=2207 Delta=394 Dfr=1d507 DiacriticalAcute=b4 DiacriticalDot=2d9 DiacriticalDoubleAcute=2dd DiacriticalGrave=60 DiacriticalTilde=2dc Diamond=22c4 DifferentialD=2146 Dopf=1d53b Dot=a8 DotDot=20dc DotEqual=2250 DoubleContourIntegral=222f DoubleDot=a8 DoubleDownArrow=21d3 DoubleLeftArrow=21d0 DoubleLeftRightArrow=21d4 DoubleLeftTee=2ae4 DoubleLongLeftArrow=27f8 DoubleLongLeftRightArrow=27fa DoubleLongRightArrow=27f9 DoubleRightArrow=21d2 DoubleRightTee=22a8 DoubleUpArrow=21d1 DoubleUpDownArrow=21d5 DoubleVerticalBar=2225 DownArrow=2193 DownArrowBar=2913 DownArrowUpArrow=21f5 DownBreve=311 DownLeftRightVector=2950 DownLeftTeeVector=295e DownLeftVector=21bd DownLeftVectorBar=2956 DownRightTeeVector=295f DownRightVector=21c1 DownRightVectorBar=2957 DownTee=22a4 DownTeeArrow=21a7 Downarrow=21d3 Dscr=1d49f Dstrok=110 ENG=14a ETH=d0 Eacute=c9 Ecaron=11a Ecirc=ca Ecy=42d Edot=116 Efr=1d508 Egrave=c8 Element=2208 Emacr=112 EmptySmallSquare=25fb EmptyVerySmallSquare=25ab Eogon=118 Eopf=1d53c Epsilon=395 Equal=2a75 EqualTilde=2242 Equilibrium=21cc Escr=2130 Esim=2a73 Eta=397 Euml=cb Exists=2203 ExponentialE=2147 Fcy=424 Ffr=1d509 FilledSmallSquare=25fc FilledVerySmallSquare=25aa Fopf=1d53d ForAll=2200 Fouriertrf=2131 Fscr=2131 GJcy=403 GT=3e Gamma=393 Gammad=3dc Gbreve=11e Gcedil=122 Gcirc=11c Gcy=413 Gdot=120 Gfr=1d50a Gg=22d9 Gopf=1d53e GreaterEqual=2265 GreaterEqualLess=22db GreaterFullEqual=2267 GreaterGreater=2aa2 GreaterLess=2277 GreaterSlantEqual=2a7e GreaterTilde=2273 Gscr=1d4a2 Gt=226b HARDcy=42a Hacek=2c7 Hat=5e Hcirc=124 Hfr=210c HilbertSpace=210b Hopf=210d HorizontalLine=2500 Hscr=210b Hstrok=126 HumpDownHump=224e HumpEqual=224f IEcy=415 IJlig=132 IOcy=401 Iacute=cd Icirc=ce Icy=418 Idot=130 Ifr=2111 Igrave=cc Im=2111 Imacr=12a ImaginaryI=2148 Implies=21d2 Int=222c Integral=222b Intersection=22c2 InvisibleComma=2063 InvisibleTimes=2062 Iogon=12e Iopf=1d540 Iota=399 Iscr=2110 Itilde=128 Iukcy=406 Iuml=cf Jcirc=134 Jcy=419 Jfr=1d50d Jopf=1d541 Jscr=1d4a5 Jsercy=408 Jukcy=404 KHcy=425 KJcy=40c Kappa=39a Kcedil=136 Kcy=41a Kfr=1d50e Kopf=1d542 Kscr=1d4a6 LJcy=409 LT=3c Lacute=139 Lambda=39b Lang=27ea Laplacetrf=2112 Larr=219e Lcaron=13d Lcedil=13b Lcy=41b LeftAngleBracket=27e8 LeftArrow=2190 LeftArrowBar=21e4 LeftArrowRightArrow=21c6 LeftCeiling=2308 LeftDoubleBracket=27e6 LeftDownTeeVector=2961 LeftDownVector=21c3 LeftDownVectorBar=2959 LeftFloor=230a LeftRightArrow=2194 LeftRightVector=294e LeftTee=22a3 LeftTeeArrow=21a4 LeftTeeVector=295a LeftTriangle=22b2 LeftTriangleBar=29cf LeftTriangleEqual=22b4 LeftUpDownVector=2951 LeftUpTeeVector=2960 LeftUpVector=21bf LeftUpVectorBar=2958 LeftVector=21bc LeftVectorBar=2952 Leftarrow=21d0 Leftrightarrow=21d4 LessEqualGreater=22da LessFullEqual=2266 LessGreater=2276 LessLess=2aa1 LessSlantEqual=2a7d LessTilde=2272 Lfr=1d50f Ll=22d8 Lleftarrow=21da Lmidot=13f LongLeftArrow=27f5 LongLeftRightArrow=27f7 LongRightArrow=27f6 Longleftarrow=27f8 Longleftrightarrow=27fa Longrightarrow=27f9 Lopf=1d543 LowerLeftArrow=2199 LowerRightArrow=2198 Lscr=2112 Lsh=21b0 Lstrok=141 Lt=226a Map=2905 Mcy=41c MediumSpace=205f Mellintrf=2133 Mfr=1d510 MinusPlus=2213 Mopf=1d544 Mscr=2133 Mu=39c NJcy=40a Nacute=143 Ncaron=147 Ncedil=145 Ncy=41d NegativeMediumSpace=200b NegativeThickSpace=200b NegativeThinSpace=200b NegativeVeryThinSpace=200b NestedGreaterGreater=226b NestedLessLess=226a NewLine=a Nfr=1d511 NoBreak=2060 NonBreakingSpace=a0 Nopf=2115 Not=2aec NotCongruent=2262 NotCupCap=226d NotDoubleVerticalBar=2226 NotElement=2209 NotEqual=2260 NotEqualTilde=2242,338 NotExists=2204 NotGreater=226f NotGreaterEqual=2271 NotGreaterFullEqual=2267,338 NotGreaterGreater=226b,338 NotGreaterLess=2279 NotGreaterSlantEqual=2a7e,338 NotGreaterTilde=2275 NotHumpDownHump=224e,338 NotHumpEqual=224f,338 NotLeftTriangle=22ea NotLeftTriangleBar=29cf,338 NotLeftTriangleEqual=22ec NotLess=226e NotLessEqual=2270 NotLessGreater=2278 NotLessLess=226a,338 NotLessSlantEqual=2a7d,338 NotLessTilde=2274 NotNestedGreaterGreater=2aa2,338 NotNestedLessLess=2aa1,338 NotPrecedes=2280 NotPrecedesEqual=2aaf,338 NotPrecedesSlantEqual=22e0 NotReverseElement=220c NotRightTriangle=22eb NotRightTriangleBar=29d0,338 NotRightTriangleEqual=22ed NotSquareSubset=228f,338 NotSquareSubsetEqual=22e2 NotSquareSuperset=2290,338 NotSquareSupersetEqual=22e3 NotSubset=2282,20d2 NotSubsetEqual=2288 NotSucceeds=2281 NotSucceedsEqual=2ab0,338 NotSucceedsSlantEqual=22e1 NotSucceedsTilde=227f,338 NotSuperset=2283,20d2 NotSupersetEqual=2289 NotTilde=2241 NotTildeEqual=2244 NotTildeFullEqual=2247 NotTildeTilde=2249 NotVerticalBar=2224 Nscr=1d4a9 Ntilde=d1 Nu=39d OElig=152 Oacute=d3 Ocirc=d4 Ocy=41e Odblac=150 Ofr=1d512 Ograve=d2 Omacr=14c Omega=3a9 Omicron=39f Oopf=1d546 OpenCurlyDoubleQuote=201c OpenCurlyQuote=2018 Or=2a54 Oscr=1d4aa Oslash=d8 Otilde=d5 Otimes=2a37 Ouml=d6 OverBar=203e OverBrace=23de OverBracket=23b4 OverParenthesis=23dc PartialD=2202 Pcy=41f Pfr=1d513 Phi=3a6 Pi=3a0 PlusMinus=b1 Poincareplane=210c Popf=2119 Pr=2abb Precedes=227a PrecedesEqual=2aaf PrecedesSlantEqual=227c PrecedesTilde=227e Prime=2033 Product=220f Proportion=2237 Proportional=221d Pscr=1d4ab Psi=3a8 QUOT=22 Qfr=1d514 Qopf=211a Qscr=1d4ac RBarr=2910 REG=ae Racute=154 Rang=27eb Rarr=21a0 Rarrtl=2916 Rcaron=158 Rcedil=156 Rcy=420 Re=211c ReverseElement=220b ReverseEquilibrium=21cb ReverseUpEquilibrium=296f Rfr=211c Rho=3a1 RightAngleBracket=27e9 RightArrow=2192 RightArrowBar=21e5 RightArrowLeftArrow=21c4 RightCeiling=2309 RightDoubleBracket=27e7 RightDownTeeVector=295d RightDownVector=21c2 RightDownVectorBar=2955 RightFloor=230b RightTee=22a2 RightTeeArrow=21a6 RightTeeVector=295b RightTriangle=22b3 RightTriangleBar=29d0 RightTriangleEqual=22b5 RightUpDownVector=294f RightUpTeeVector=295c RightUpVector=21be RightUpVectorBar=2954 RightVector=21c0 RightVectorBar=2953 Rightarrow=21d2 Ropf=211d RoundImplies=2970 Rrightarrow=21db Rscr=211b Rsh=21b1 RuleDelayed=29f4 SHCHcy=429 SHcy=428 SOFTcy=42c Sacute=15a Sc=2abc Scaron=160 Scedil=15e Scirc=15c Scy=421 Sfr=1d516 ShortDownArrow=2193 ShortLeftArrow=2190 ShortRightArrow=2192 ShortUpArrow=2191 Sigma=3a3 SmallCircle=2218 Sopf=1d54a Sqrt=221a Square=25a1 SquareIntersection=2293 SquareSubset=228f SquareSubsetEqual=2291 SquareSuperset=2290 SquareSupersetEqual=2292 SquareUnion=2294 Sscr=1d4ae Star=22c6 Sub=22d0 Subset=22d0 SubsetEqual=2286 Succeeds=227b SucceedsEqual=2ab0 SucceedsSlantEqual=227d SucceedsTilde=227f SuchThat=220b Sum=2211 Sup=22d1 Superset=2283 SupersetEqual=2287 Supset=22d1 THORN=de TRADE=2122 TSHcy=40b TScy=426 Tab=9 Tau=3a4 Tcaron=164 Tcedil=162 Tcy=422 Tfr=1d517 Therefore=2234 Theta=398 ThickSpace=205f,200a ThinSpace=2009 Tilde=223c TildeEqual=2243 TildeFullEqual=2245 TildeTilde=2248 Topf=1d54b TripleDot=20db Tscr=1d4af Tstrok=166 Uacute=da Uarr=219f Uarrocir=2949 Ubrcy=40e Ubreve=16c Ucirc=db Ucy=423 Udblac=170 Ufr=1d518 Ugrave=d9 Umacr=16a UnderBar=5f UnderBrace=23df UnderBracket=23b5 UnderParenthesis=23dd Union=22c3 UnionPlus=228e Uogon=172 Uopf=1d54c UpArrow=2191 UpArrowBar=2912 UpArrowDownArrow=21c5 UpDownArrow=2195 UpEquilibrium=296e UpTee=22a5 UpTeeArrow=21a5 Uparrow=21d1 Updownarrow=21d5 UpperLeftArrow=2196 UpperRightArrow=2197 Upsi=3d2 Upsilon=3a5 Uring=16e Uscr=1d4b0 Utilde=168 Uuml=dc VDash=22ab Vbar=2aeb Vcy=412 Vdash=22a9 Vdashl=2ae6 Vee=22c1 Verbar=2016 Vert=2016 VerticalBar=2223 VerticalLine=7c VerticalSeparator=2758 VerticalTilde=2240 VeryThinSpace=200a Vfr=1d519 Vopf=1d54d Vscr=1d4b1 Vvdash=22aa Wcirc=174 Wedge=22c0 Wfr=1d51a Wopf=1d54e Wscr=1d4b2 Xfr=1d51b Xi=39e Xopf=1d54f Xscr=1d4b3 YAcy=42f YIcy=407 YUcy=42e Yacute=dd Ycirc=176 Ycy=42b Yfr=1d51c Yopf=1d550 Yscr=1d4b4 Yuml=178 ZHcy=416 Zacute=179 Zcaron=17d Zcy=417 Zdot=17b ZeroWidthSpace=200b Zeta=396 Zfr=2128 Zopf=2124 Zscr=1d4b5 aacute=e1 abreve=103 ac=223e acE=223e,333 acd=223f acirc=e2 acute=b4 acy=430 aelig=e6 af=2061 afr=1d51e agrave=e0 alefsym=2135 aleph=2135 alpha=3b1 amacr=101 amalg=2a3f amp=26 and=2227 andand=2a55 andd=2a5c andslope=2a58 andv=2a5a ang=2220 ange=29a4 angle=2220 angmsd=2221 angmsdaa=29a8 angmsdab=29a9 angmsdac=29aa angmsdad=29ab angmsdae=29ac angmsdaf=29ad angmsdag=29ae angmsdah=29af angrt=221f angrtvb=22be angrtvbd=299d angsph=2222 angst=c5 angzarr=237c aogon=105 aopf=1d552 ap=2248 apE=2a70 apacir=2a6f ape=224a apid=224b apos=27 approx=2248 approxeq=224a aring=e5 ascr=1d4b6 ast=2a asymp=2248 asympeq=224d atilde=e3 auml=e4 awconint=2233 awint=2a11 bNot=2aed backcong=224c backepsilon=3f6 backprime=2035 backsim=223d backsimeq=22cd barvee=22bd barwed=2305 barwedge=2305 bbrk=23b5 bbrktbrk=23b6 bcong=224c bcy=431 bdquo=201e becaus=2235 because=2235 bemptyv=29b0 bepsi=3f6 bernou=212c beta=3b2 beth=2136 between=226c bfr=1d51f bigcap=22c2 bigcirc=25ef bigcup=22c3 bigodot=2a00 bigoplus=2a01 bigotimes=2a02 bigsqcup=2a06 bigstar=2605 bigtriangledown=25bd bigtriangleup=25b3 biguplus=2a04 bigvee=22c1 bigwedge=22c0 bkarow=290d blacklozenge=29eb blacksquare=25aa blacktriangle=25b4 blacktriangledown=25be blacktriangleleft=25c2 blacktriangleright=25b8 blank=2423 blk12=2592 blk14=2591 blk34=2593 block=2588 bne=3d,20e5 bnequiv=2261,20e5 bnot=2310 bopf=1d553 bot=22a5 bottom=22a5 bowtie=22c8 boxDL=2557 boxDR=2554 boxDl=2556 boxDr=2553 boxH=2550 boxHD=2566 boxHU=2569 boxHd=2564 boxHu=2567 boxUL=255d boxUR=255a boxUl=255c boxUr=2559 boxV=2551 boxVH=256c boxVL=2563 boxVR=2560 boxVh=256b boxVl=2562 boxVr=255f boxbox=29c9 boxdL=2555 boxdR=2552 boxdl=2510 boxdr=250c boxh=2500 boxhD=2565 boxhU=2568 boxhd=252c boxhu=2534 boxminus=229f boxplus=229e boxtimes=22a0 boxuL=255b boxuR=2558 boxul=2518 boxur=2514 boxv=2502 boxvH=256a boxvL=2561 boxvR=255e boxvh=253c boxvl=2524 boxvr=251c bprime=2035 breve=2d8 brvbar=a6 bscr=1d4b7 bsemi=204f bsim=223d bsime=22cd bsol=5c bsolb=29c5 bsolhsub=27c8 bull=2022 bullet=2022 bump=224e bumpE=2aae bumpe=224f bumpeq=224f cacute=107 cap=2229 capand=2a44 capbrcup=2a49 capcap=2a4b capcup=2a47 capdot=2a40 caps=2229,fe00 caret=2041 caron=2c7 ccaps=2a4d ccaron=10d ccedil=e7 ccirc=109 ccups=2a4c ccupssm=2a50 cdot=10b cedil=b8 cemptyv=29b2 cent=a2 centerdot=b7 cfr=1d520 chcy=447 check=2713 checkmark=2713 chi=3c7 cir=25cb cirE=29c3 circ=2c6 circeq=2257 circlearrowleft=21ba circlearrowright=21bb circledR=ae circledS=24c8 circledast=229b circledcirc=229a circleddash=229d cire=2257 cirfnint=2a10 cirmid=2aef cirscir=29c2 clubs=2663 clubsuit=2663 colon=3a colone=2254 coloneq=2254 comma=2c commat=40 comp=2201 compfn=2218 complement=2201 complexes=2102 cong=2245 congdot=2a6d conint=222e copf=1d554 coprod=2210 copy=a9 copysr=2117 crarr=21b5 cross=2717 cscr=1d4b8 csub=2acf csube=2ad1 csup=2ad0 csupe=2ad2 ctdot=22ef cudarrl=2938 cudarrr=2935 cuepr=22de cuesc=22df cularr=21b6 cularrp=293d cup=222a cupbrcap=2a48 cupcap=2a46 cupcup=2a4a cupdot=228d cupor=2a45 cups=222a,fe00 curarr=21b7 curarrm=293c curlyeqprec=22de curlyeqsucc=22df curlyvee=22ce curlywedge=22cf curren=a4 curvearrowleft=21b6 curvearrowright=21b7 cuvee=22ce cuwed=22cf cwconint=2232 cwint=2231 cylcty=232d dArr=21d3 dHar=2965 dagger=2020 daleth=2138 darr=2193 dash=2010 dashv=22a3 dbkarow=290f dblac=2dd dcaron=10f dcy=434 dd=2146 ddagger=2021 ddarr=21ca ddotseq=2a77 deg=b0 delta=3b4 demptyv=29b1 dfisht=297f dfr=1d521 dharl=21c3 dharr=21c2 diam=22c4 diamond=22c4 diamondsuit=2666 diams=2666 die=a8 digamma=3dd disin=22f2 div=f7 divide=f7 divideontimes=22c7 divonx=22c7 djcy=452 dlcorn=231e dlcrop=230d dollar=24 dopf=1d555 dot=2d9 doteq=2250 doteqdot=2251 dotminus=2238 dotplus=2214 dotsquare=22a1 doublebarwedge=2306 downarrow=2193 downdownarrows=21ca downharpoonleft=21c3 downharpoonright=21c2 drbkarow=2910 drcorn=231f drcrop=230c dscr=1d4b9 dscy=455 dsol=29f6 dstrok=111 dtdot=22f1 dtri=25bf dtrif=25be duarr=21f5 duhar=296f dwangle=29a6 dzcy=45f dzigrarr=27ff eDDot=2a77 eDot=2251 eacute=e9 easter=2a6e ecaron=11b ecir=2256 ecirc=ea ecolon=2255 ecy=44d edot=117 ee=2147 efDot=2252 efr=1d522 eg=2a9a egrave=e8 egs=2a96 egsdot=2a98 el=2a99 elinters=23e7 ell=2113 els=2a95 elsdot=2a97 emacr=113 empty=2205 emptyset=2205 emptyv=2205 emsp=2003 emsp13=2004 emsp14=2005 eng=14b ensp=2002 eogon=119 eopf=1d556 epar=22d5 eparsl=29e3 eplus=2a71 epsi=3b5 epsilon=3b5 epsiv=3f5 eqcirc=2256 eqcolon=2255 eqsim=2242 eqslantgtr=2a96 eqslantless=2a95 equals=3d equest=225f equiv=2261 equivDD=2a78 eqvparsl=29e5 erDot=2253 erarr=2971 escr=212f esdot=2250 esim=2242 eta=3b7 eth=f0 euml=eb euro=20ac excl=21 exist=2203 expectation=2130 exponentiale=2147 fallingdotseq=2252 fcy=444 female=2640 ffilig=fb03 fflig=fb00 ffllig=fb04 ffr=1d523 filig=fb01 fjlig=66,6a flat=266d fllig=fb02 fltns=25b1 fnof=192 fopf=1d557 forall=2200 fork=22d4 forkv=2ad9 fpartint=2a0d frac12=bd frac13=2153 frac14=bc frac15=2155 frac16=2159 frac18=215b frac23=2154 frac25=2156 frac34=be frac35=2157 frac38=215c frac45=2158 frac56=215a frac58=215d frac78=215e frasl=2044 frown=2322 fscr=1d4bb gE=2267 gEl=2a8c gacute=1f5 gamma=3b3 gammad=3dd gap=2a86 gbreve=11f gcirc=11d gcy=433 gdot=121 ge=2265 gel=22db geq=2265 geqq=2267 geqslant=2a7e ges=2a7e gescc=2aa9 gesdot=2a80 gesdoto=2a82 gesdotol=2a84 gesl=22db,fe00 gesles=2a94 gfr=1d524 gg=226b ggg=22d9 gimel=2137 gjcy=453 gl=2277 glE=2a92 gla=2aa5 glj=2aa4 gnE=2269 gnap=2a8a gnapprox=2a8a gne=2a88 gneq=2a88 gneqq=2269 gnsim=22e7 gopf=1d558 grave=60 gscr=210a gsim=2273 gsime=2a8e gsiml=2a90 gt=3e gtcc=2aa7 gtcir=2a7a gtdot=22d7 gtlPar=2995 gtquest=2a7c gtrapprox=2a86 gtrarr=2978 gtrdot=22d7 gtreqless=22db gtreqqless=2a8c gtrless=2277 gtrsim=2273 gvertneqq=2269,fe00 gvnE=2269,fe00 hArr=21d4 hairsp=200a half=bd hamilt=210b hardcy=44a harr=2194 harrcir=2948 harrw=21ad hbar=210f hcirc=125 hearts=2665 heartsuit=2665 hellip=2026 hercon=22b9 hfr=1d525 hksearow=2925 hkswarow=2926 hoarr=21ff homtht=223b hookleftarrow=21a9 hookrightarrow=21aa hopf=1d559 horbar=2015 hscr=1d4bd hslash=210f hstrok=127 hybull=2043 hyphen=2010 iacute=ed ic=2063 icirc=ee icy=438 iecy=435 iexcl=a1 iff=21d4 ifr=1d526 igrave=ec ii=2148 iiiint=2a0c iiint=222d iinfin=29dc iiota=2129 ijlig=133 imacr=12b image=2111 imagline=2110 imagpart=2111 imath=131 imof=22b7 imped=1b5 in=2208 incare=2105 infin=221e infintie=29dd inodot=131 int=222b intcal=22ba integers=2124 intercal=22ba intlarhk=2a17 intprod=2a3c iocy=451 iogon=12f iopf=1d55a iota=3b9 iprod=2a3c iquest=bf iscr=1d4be isin=2208 isinE=22f9 isindot=22f5 isins=22f4 isinsv=22f3 isinv=2208 it=2062 itilde=129 iukcy=456 iuml=ef jcirc=135 jcy=439 jfr=1d527 jmath=237 jopf=1d55b jscr=1d4bf jsercy=458 jukcy=454 kappa=3ba kappav=3f0 kcedil=137 kcy=43a kfr=1d528 kgreen=138 khcy=445 kjcy=45c kopf=1d55c kscr=1d4c0 lAarr=21da lArr=21d0 lAtail=291b lBarr=290e lE=2266 lEg=2a8b lHar=2962 lacute=13a laemptyv=29b4 lagran=2112 lambda=3bb lang=27e8 langd=2991 langle=27e8 lap=2a85 laquo=ab larr=2190 larrb=21e4 larrbfs=291f larrfs=291d larrhk=21a9 larrlp=21ab larrpl=2939 larrsim=2973 larrtl=21a2 lat=2aab latail=2919 late=2aad lates=2aad,fe00 lbarr=290c lbbrk=2772 lbrace=7b lbrack=5b lbrke=298b lbrksld=298f lbrkslu=298d lcaron=13e lcedil=13c lceil=2308 lcub=7b lcy=43b ldca=2936 ldquo=201c ldquor=201e ldrdhar=2967 ldrushar=294b ldsh=21b2 le=2264 leftarrow=2190 leftarrowtail=21a2 leftharpoondown=21bd leftharpoonup=21bc leftleftarrows=21c7 leftrightarrow=2194 leftrightarrows=21c6 leftrightharpoons=21cb leftrightsquigarrow=21ad leftthreetimes=22cb leg=22da leq=2264 leqq=2266 leqslant=2a7d les=2a7d lescc=2aa8 lesdot=2a7f lesdoto=2a81 lesdotor=2a83 lesg=22da,fe00 lesges=2a93 lessapprox=2a85 lessdot=22d6 lesseqgtr=22da lesseqqgtr=2a8b lessgtr=2276 lesssim=2272 lfisht=297c lfloor=230a lfr=1d529 lg=2276 lgE=2a91 lhard=21bd lharu=21bc lharul=296a lhblk=2584 ljcy=459 ll=226a llarr=21c7 llcorner=231e llhard=296b lltri=25fa lmidot=140 lmoust=23b0 lmoustache=23b0 lnE=2268 lnap=2a89 lnapprox=2a89 lne=2a87 lneq=2a87 lneqq=2268 lnsim=22e6 loang=27ec loarr=21fd lobrk=27e6 longleftarrow=27f5 longleftrightarrow=27f7 longmapsto=27fc longrightarrow=27f6 looparrowleft=21ab looparrowright=21ac lopar=2985 lopf=1d55d loplus=2a2d lotimes=2a34 lowast=2217 lowbar=5f loz=25ca lozenge=25ca lozf=29eb lpar=28 lparlt=2993 lrarr=21c6 lrcorner=231f lrhar=21cb lrhard=296d lrm=200e lrtri=22bf lsaquo=2039 lscr=1d4c1 lsh=21b0 lsim=2272 lsime=2a8d lsimg=2a8f lsqb=5b lsquo=2018 lsquor=201a lstrok=142 lt=3c ltcc=2aa6 ltcir=2a79 ltdot=22d6 lthree=22cb ltimes=22c9 ltlarr=2976 ltquest=2a7b ltrPar=2996 ltri=25c3 ltrie=22b4 ltrif=25c2 lurdshar=294a luruhar=2966 lvertneqq=2268,fe00 lvnE=2268,fe00 mDDot=223a macr=af male=2642 malt=2720 maltese=2720 map=21a6 mapsto=21a6 mapstodown=21a7 mapstoleft=21a4 mapstoup=21a5 marker=25ae mcomma=2a29 mcy=43c mdash=2014 measuredangle=2221 mfr=1d52a mho=2127 micro=b5 mid=2223 midast=2a midcir=2af0 middot=b7 minus=2212 minusb=229f minusd=2238 minusdu=2a2a mlcp=2adb mldr=2026 mnplus=2213 models=22a7 mopf=1d55e mp=2213 mscr=1d4c2 mstpos=223e mu=3bc multimap=22b8 mumap=22b8 nGg=22d9,338 nGt=226b,20d2 nGtv=226b,338 nLeftarrow=21cd nLeftrightarrow=21ce nLl=22d8,338 nLt=226a,20d2 nLtv=226a,338 nRightarrow=21cf nVDash=22af nVdash=22ae nabla=2207 nacute=144 nang=2220,20d2 nap=2249 napE=2a70,338 napid=224b,338 napos=149 napprox=2249 natur=266e natural=266e naturals=2115 nbsp=a0 nbump=224e,338 nbumpe=224f,338 ncap=2a43 ncaron=148 ncedil=146 ncong=2247 ncongdot=2a6d,338 ncup=2a42 ncy=43d ndash=2013 ne=2260 neArr=21d7 nearhk=2924 nearr=2197 nearrow=2197 nedot=2250,338 nequiv=2262 nesear=2928 nesim=2242,338 nexist=2204 nexists=2204 nfr=1d52b ngE=2267,338 nge=2271 ngeq=2271 ngeqq=2267,338 ngeqslant=2a7e,338 nges=2a7e,338 ngsim=2275 ngt=226f ngtr=226f nhArr=21ce nharr=21ae nhpar=2af2 ni=220b nis=22fc nisd=22fa niv=220b njcy=45a nlArr=21cd nlE=2266,338 nlarr=219a nldr=2025 nle=2270 nleftarrow=219a nleftrightarrow=21ae nleq=2270 nleqq=2266,338 nleqslant=2a7d,338 nles=2a7d,338 nless=226e nlsim=2274 nlt=226e nltri=22ea nltrie=22ec nmid=2224 nopf=1d55f not=ac notin=2209 notinE=22f9,338 notindot=22f5,338 notinva=2209 notinvb=22f7 notinvc=22f6 notni=220c notniva=220c notnivb=22fe notnivc=22fd npar=2226 nparallel=2226 nparsl=2afd,20e5 npart=2202,338 npolint=2a14 npr=2280 nprcue=22e0 npre=2aaf,338 nprec=2280 npreceq=2aaf,338 nrArr=21cf nrarr=219b nrarrc=2933,338 nrarrw=219d,338 nrightarrow=219b nrtri=22eb nrtrie=22ed nsc=2281 nsccue=22e1 nsce=2ab0,338 nscr=1d4c3 nshortmid=2224 nshortparallel=2226 nsim=2241 nsime=2244 nsimeq=2244 nsmid=2224 nspar=2226 nsqsube=22e2 nsqsupe=22e3 nsub=2284 nsubE=2ac5,338 nsube=2288 nsubset=2282,20d2 nsubseteq=2288 nsubseteqq=2ac5,338 nsucc=2281 nsucceq=2ab0,338 nsup=2285 nsupE=2ac6,338 nsupe=2289 nsupset=2283,20d2 nsupseteq=2289 nsupseteqq=2ac6,338 ntgl=2279 ntilde=f1 ntlg=2278 ntriangleleft=22ea ntrianglelefteq=22ec ntriangleright=22eb ntrianglerighteq=22ed nu=3bd num=23 numero=2116 numsp=2007 nvDash=22ad nvHarr=2904 nvap=224d,20d2 nvdash=22ac nvge=2265,20d2 nvgt=3e,20d2 nvinfin=29de nvlArr=2902 nvle=2264,20d2 nvlt=3c,20d2 nvltrie=22b4,20d2 nvrArr=2903 nvrtrie=22b5,20d2 nvsim=223c,20d2 nwArr=21d6 nwarhk=2923 nwarr=2196 nwarrow=2196 nwnear=2927 oS=24c8 oacute=f3 oast=229b ocir=229a ocirc=f4 ocy=43e odash=229d odblac=151 odiv=2a38 odot=2299 odsold=29bc oelig=153 ofcir=29bf ofr=1d52c ogon=2db ograve=f2 ogt=29c1 ohbar=29b5 ohm=3a9 oint=222e olarr=21ba olcir=29be olcross=29bb oline=203e olt=29c0 omacr=14d omega=3c9 omicron=3bf omid=29b6 ominus=2296 oopf=1d560 opar=29b7 operp=29b9 oplus=2295 or=2228 orarr=21bb ord=2a5d order=2134 orderof=2134 ordf=aa ordm=ba origof=22b6 oror=2a56 orslope=2a57 orv=2a5b oscr=2134 oslash=f8 osol=2298 otilde=f5 otimes=2297 otimesas=2a36 ouml=f6 ovbar=233d par=2225 para=b6 parallel=2225 parsim=2af3 parsl=2afd part=2202 pcy=43f percnt=25 period=2e permil=2030 perp=22a5 pertenk=2031 pfr=1d52d phi=3c6 phiv=3d5 phmmat=2133 phone=260e pi=3c0 pitchfork=22d4 piv=3d6 planck=210f planckh=210e plankv=210f plus=2b plusacir=2a23 plusb=229e pluscir=2a22 plusdo=2214 plusdu=2a25 pluse=2a72 plusmn=b1 plussim=2a26 plustwo=2a27 pm=b1 pointint=2a15 popf=1d561 pound=a3 pr=227a prE=2ab3 prap=2ab7 prcue=227c pre=2aaf prec=227a precapprox=2ab7 preccurlyeq=227c preceq=2aaf precnapprox=2ab9 precneqq=2ab5 precnsim=22e8 precsim=227e prime=2032 primes=2119 prnE=2ab5 prnap=2ab9 prnsim=22e8 prod=220f profalar=232e profline=2312 profsurf=2313 prop=221d propto=221d prsim=227e prurel=22b0 pscr=1d4c5 psi=3c8 puncsp=2008 qfr=1d52e qint=2a0c qopf=1d562 qprime=2057 qscr=1d4c6 quaternions=210d quatint=2a16 quest=3f questeq=225f quot=22 rAarr=21db rArr=21d2 rAtail=291c rBarr=290f rHar=2964 race=223d,331 racute=155 radic=221a raemptyv=29b3 rang=27e9 rangd=2992 range=29a5 rangle=27e9 raquo=bb rarr=2192 rarrap=2975 rarrb=21e5 rarrbfs=2920 rarrc=2933 rarrfs=291e rarrhk=21aa rarrlp=21ac rarrpl=2945 rarrsim=2974 rarrtl=21a3 rarrw=219d ratail=291a ratio=2236 rationals=211a rbarr=290d rbbrk=2773 rbrace=7d rbrack=5d rbrke=298c rbrksld=298e rbrkslu=2990 rcaron=159 rcedil=157 rceil=2309 rcub=7d rcy=440 rdca=2937 rdldhar=2969 rdquo=201d rdquor=201d rdsh=21b3 real=211c realine=211b realpart=211c reals=211d rect=25ad reg=ae rfisht=297d rfloor=230b rfr=1d52f rhard=21c1 rharu=21c0 rharul=296c rho=3c1 rhov=3f1 rightarrow=2192 rightarrowtail=21a3 rightharpoondown=21c1 rightharpoonup=21c0 rightleftarrows=21c4 rightleftharpoons=21cc rightrightarrows=21c9 rightsquigarrow=219d rightthreetimes=22cc ring=2da risingdotseq=2253 rlarr=21c4 rlhar=21cc rlm=200f rmoust=23b1 rmoustache=23b1 rnmid=2aee roang=27ed roarr=21fe robrk=27e7 ropar=2986 ropf=1d563 roplus=2a2e rotimes=2a35 rpar=29 rpargt=2994 rppolint=2a12 rrarr=21c9 rsaquo=203a rscr=1d4c7 rsh=21b1 rsqb=5d rsquo=2019 rsquor=2019 rthree=22cc rtimes=22ca rtri=25b9 rtrie=22b5 rtrif=25b8 rtriltri=29ce ruluhar=2968 rx=211e sacute=15b sbquo=201a sc=227b scE=2ab4 scap=2ab8 scaron=161 sccue=227d sce=2ab0 scedil=15f scirc=15d scnE=2ab6 scnap=2aba scnsim=22e9 scpolint=2a13 scsim=227f scy=441 sdot=22c5 sdotb=22a1 sdote=2a66 seArr=21d8 searhk=2925 searr=2198 searrow=2198 sect=a7 semi=3b seswar=2929 setminus=2216 setmn=2216 sext=2736 sfr=1d530 sfrown=2322 sharp=266f shchcy=449 shcy=448 shortmid=2223 shortparallel=2225 shy=ad sigma=3c3 sigmaf=3c2 sigmav=3c2 sim=223c simdot=2a6a sime=2243 simeq=2243 simg=2a9e simgE=2aa0 siml=2a9d simlE=2a9f simne=2246 simplus=2a24 simrarr=2972 slarr=2190 smallsetminus=2216 smashp=2a33 smeparsl=29e4 smid=2223 smile=2323 smt=2aaa smte=2aac smtes=2aac,fe00 softcy=44c sol=2f solb=29c4 solbar=233f sopf=1d564 spades=2660 spadesuit=2660 spar=2225 sqcap=2293 sqcaps=2293,fe00 sqcup=2294 sqcups=2294,fe00 sqsub=228f sqsube=2291 sqsubset=228f sqsubseteq=2291 sqsup=2290 sqsupe=2292 sqsupset=2290 sqsupseteq=2292 squ=25a1 square=25a1 squarf=25aa squf=25aa srarr=2192 sscr=1d4c8 ssetmn=2216 ssmile=2323 sstarf=22c6 star=2606 starf=2605 straightepsilon=3f5 straightphi=3d5 strns=af sub=2282 subE=2ac5 subdot=2abd sube=2286 subedot=2ac3 submult=2ac1 subnE=2acb subne=228a subplus=2abf subrarr=2979 subset=2282 subseteq=2286 subseteqq=2ac5 subsetneq=228a subsetneqq=2acb subsim=2ac7 subsub=2ad5 subsup=2ad3 succ=227b succapprox=2ab8 succcurlyeq=227d succeq=2ab0 succnapprox=2aba succneqq=2ab6 succnsim=22e9 succsim=227f sum=2211 sung=266a sup=2283 sup1=b9 sup2=b2 sup3=b3 supE=2ac6 supdot=2abe supdsub=2ad8 supe=2287 supedot=2ac4 suphsol=27c9 suphsub=2ad7 suplarr=297b supmult=2ac2 supnE=2acc supne=228b supplus=2ac0 supset=2283 supseteq=2287 supseteqq=2ac6 supsetneq=228b supsetneqq=2acc supsim=2ac8 supsub=2ad4 supsup=2ad6 swArr=21d9 swarhk=2926 swarr=2199 swarrow=2199 swnwar=292a szlig=df target=2316 tau=3c4 tbrk=23b4 tcaron=165 tcedil=163 tcy=442 tdot=20db telrec=2315 tfr=1d531 there4=2234 therefore=2234 theta=3b8 thetasym=3d1 thetav=3d1 thickapprox=2248 thicksim=223c thinsp=2009 thkap=2248 thksim=223c thorn=fe tilde=2dc times=d7 timesb=22a0 timesbar=2a31 timesd=2a30 tint=222d toea=2928 top=22a4 topbot=2336 topcir=2af1 topf=1d565 topfork=2ada tosa=2929 tprime=2034 trade=2122 triangle=25b5 triangledown=25bf triangleleft=25c3 trianglelefteq=22b4 triangleq=225c triangleright=25b9 trianglerighteq=22b5 tridot=25ec trie=225c triminus=2a3a triplus=2a39 trisb=29cd tritime=2a3b trpezium=23e2 tscr=1d4c9 tscy=446 tshcy=45b tstrok=167 twixt=226c twoheadleftarrow=219e twoheadrightarrow=21a0 uArr=21d1 uHar=2963 uacute=fa uarr=2191 ubrcy=45e ubreve=16d ucirc=fb ucy=443 udarr=21c5 udblac=171 udhar=296e ufisht=297e ufr=1d532 ugrave=f9 uharl=21bf uharr=21be uhblk=2580 ulcorn=231c ulcorner=231c ulcrop=230f ultri=25f8 umacr=16b uml=a8 uogon=173 uopf=1d566 uparrow=2191 updownarrow=2195 upharpoonleft=21bf upharpoonright=21be uplus=228e upsi=3c5 upsih=3d2 upsilon=3c5 upuparrows=21c8 urcorn=231d urcorner=231d urcrop=230e uring=16f urtri=25f9 uscr=1d4ca utdot=22f0 utilde=169 utri=25b5 utrif=25b4 uuarr=21c8 uuml=fc uwangle=29a7 vArr=21d5 vBar=2ae8 vBarv=2ae9 vDash=22a8 vangrt=299c varepsilon=3f5 varkappa=3f0 varnothing=2205 varphi=3d5 varpi=3d6 varpropto=221d varr=2195 varrho=3f1 varsigma=3c2 varsubsetneq=228a,fe00 varsubsetneqq=2acb,fe00 varsupsetneq=228b,fe00 varsupsetneqq=2acc,fe00 vartheta=3d1 vartriangleleft=22b2 vartriangleright=22b3 vcy=432 vdash=22a2 vee=2228 veebar=22bb veeeq=225a vellip=22ee verbar=7c vert=7c vfr=1d533 vltri=22b2 vnsub=2282,20d2 vnsup=2283,20d2 vopf=1d567 vprop=221d vrtri=22b3 vscr=1d4cb vsubnE=2acb,fe00 vsubne=228a,fe00 vsupnE=2acc,fe00 vsupne=228b,fe00 vzigzag=299a wcirc=175 wedbar=2a5f wedge=2227 wedgeq=2259 weierp=2118 wfr=1d534 wopf=1d568 wp=2118 wr=2240 wreath=2240 wscr=1d4cc xcap=22c2 xcirc=25ef xcup=22c3 xdtri=25bd xfr=1d535 xhArr=27fa xharr=27f7 xi=3be xlArr=27f8 xlarr=27f5 xmap=27fc xnis=22fb xodot=2a00 xopf=1d569 xoplus=2a01 xotime=2a02 xrArr=27f9 xrarr=27f6 xscr=1d4cd xsqcup=2a06 xuplus=2a04 xutri=25b3 xvee=22c1 xwedge=22c0 yacute=fd yacy=44f ycirc=177 ycy=44b yen=a5 yfr=1d536 yicy=457 yopf=1d56a yscr=1d4ce yucy=44e yuml=ff zacute=17a zcaron=17e zcy=437 zdot=17c zeetrf=2128 zeta=3b6 zfr=1d537 zhcy=436 zigrarr=21dd zopf=1d56b zscr=1d4cf zwj=200d zwnj=200c`,v6;function Wae(e){if(v6===void 0){v6=new Map;for(let e of Uae.split(` `)){let t=e.indexOf(`=`),n=e.slice(t+1).split(`,`).map(e=>parseInt(e,16));v6.set(e.slice(0,t),String.fromCodePoint(...n))}}return v6.get(e)}var Gae=/^&(?:#[xX]([0-9a-fA-F]{1,6})|#([0-9]{1,7})|([A-Za-z][A-Za-z0-9]{0,31}));/;function y6(e,t){let n=Gae.exec(e.slice(t,t+40));if(n==null)return null;let[r,i,a,o]=n,s=t+r.length;if(o!=null){let e=Wae(o);return e===void 0?null:{value:e,end:s}}let c=i==null?parseInt(a??`0`,10):parseInt(i,16);return{value:c!==0&&c<=1114111&&(c<55296||c>57343)?String.fromCodePoint(c):`�`,end:s}}function b6(e){return e!=null&&/^[!-/:-@[-`{-~]$/.test(e)}function Kae(e){if(!e.includes(`\\\\`)&&!e.includes(`&`))return e;let t=``,n=0;for(;nS6(e,t,n))};break;case`emphasis`:i={type:`italic`,children:e.children.map(e=>S6(e,t,n))};break;case`delete`:i={type:`strikethrough`,children:e.children.map(e=>S6(e,t,n))};break;case`inlineCode`:i={type:`code`,content:e.value};break;case`inlineMath`:i={type:`math`,value:e.value};break;case`link`:i={type:`link`,href:e.url,children:e.children.map(e=>S6(e,t,n))};break;case`image`:i={type:`image`,src:e.url,alt:e.alt};break;case`citation`:i={type:`citation`,sourceId:e.sourceId};break;case`break`:i={type:`break`};break;case`extension`:i=x6(e,n)}return t.set(e,i),i}function C6(e,t,n){let r=t.get(e);if(r!=null)return r;let i={children:e.children.map(e=>S6(e,t,n))};return t.set(e,i),i}function Jae(e,t,n){let r=t.get(e);if(r!=null)return r;let i={checked:e.checked,children:e.children.map(e=>w6(e,t,n))};return t.set(e,i),i}function w6(e,t,n){let r=t.get(e);if(r!=null)return r;let i=n?qae(e.position):{},a;switch(e.type){case`heading`:a={type:`heading`,level:e.depth,children:e.children.map(e=>S6(e,t,n)),...i};break;case`paragraph`:a={type:`paragraph`,children:e.children.map(e=>S6(e,t,n)),...i};break;case`code`:a={type:`codeblock`,language:nU(e)??`plaintext`,content:e.value,...i};break;case`math`:a={type:`math`,value:e.value,...i};break;case`blockquote`:a={type:`blockquote`,children:e.children.map(e=>w6(e,t,n)),...i};break;case`list`:a={type:`list`,ordered:e.ordered,start:e.start,delimiter:e.delimiter,loose:e.spread,items:e.children.map(e=>Jae(e,t,n)),...i};break;case`table`:{let[r={type:`tableRow`,children:[]},...o]=e.children;a={type:`table`,headers:r.children.map(e=>C6(e,t,n)),alignments:[...e.align],rows:o.map(e=>e.children.map(e=>C6(e,t,n))),...i};break}case`thematicBreak`:a={type:`hr`,...i};break;case`image`:a={type:`image`,alt:e.alt,src:e.url,...i};break;case`extension`:a=x6(e,n)}return t.set(e,a),a}var Yae=100;function T6(e,t){return`${e}\\u0000${t}`}function E6(e){return{sourceIds:e.sourceIds,autolink:e.autolink,math:e.math,sourceRanges:e.sourceRanges,astPositions:e.astPositions??!0,plugins:e.plugins,isFinal:e.isFinal,allowBlockSyntax:e.allowBlockSyntax??!0,baseOffset:e.baseOffset,linkDefs:e.linkDefs,blockDepth:e.blockDepth??0,nestedParses:e.nestedParses,probing:e.probing,sourceLines:e.sourceLines,baseLine:e.baseLine,lineOrigin:e.lineOrigin}}var Xae=E6({isFinal:!0}),Zae=E6({isFinal:!1});function D6(e,t=!1){if(e==null)return t?Zae:Xae;if(typeof e.has==`function`)return E6({sourceIds:e,isFinal:!t});let n=e,r=n.plugins!=null&&n.plugins.length>0?e6(n.plugins):void 0;return E6({sourceIds:n.sourceIds,autolink:n.autolink,math:n.math===!0||void 0,sourceRanges:n.sourceRanges,plugins:r,isFinal:!t||n.isFinal===!0,sourceLines:r?.sourceLines===!0||void 0})}var Qae=/^ {0,3}\\[([^\\]^](?:\\\\.|[^\\]\\\\])*)\\]:[ \\t]*(?:<([^<>\\n]*)>|(\\S+))([ \\t]+(?:\"[^\"\\n]*\"|'[^'\\n]*'|\\([^()\\n]*\\)))?[ \\t]*$/,O6=999,$ae=/^ {0,3}(?:\"[^\"\\n]*\"|'[^'\\n]*'|\\([^()\\n]*\\))[ \\t]*$/;function k6(e){return e.trim().replace(/\\s+/g,` `).toLowerCase()}function A6(e){let t=e.endsWith(`\\r`)?e.slice(0,-1):e,n=0;for(;;){let e=/^ {0,3}> ?/.exec(t);if(e==null)return{content:t,quoteDepth:n};t=t.slice(e[0].length),n++}}function j6(e,t){let n=e;for(let e=0;e ?/.exec(n);if(e==null)return null;n=n.slice(e[0].length)}return n}function M6(e){let t=A6(e),n=/^( {0,9})(?:[-*+]|\\d+[.)]) +(.*)$/.exec(t.content);if(n!=null){let e=A6(/^\\[[ xX]\\] +(.*)$/.exec(n[2])?.[1]??n[2]);return e.content.trim()===`$$`?{outerQuoteDepth:t.quoteDepth,listBaseIndent:n[1].length,innerQuoteDepth:e.quoteDepth}:null}return t.content.trim()===`$$`?{outerQuoteDepth:t.quoteDepth,listBaseIndent:null,innerQuoteDepth:0}:null}function N6(e,t){let n=j6(e,t.outerQuoteDepth);if(n==null)return`outside`;if(t.listBaseIndent==null)return/^ {0,3}> ?/.test(n)?`outside`:n.trim()===`$$`?`close`:`inside`;if(n.length-n.trimStart().length<=t.listBaseIndent)return`outside`;let r=j6(n.trimStart(),t.innerQuoteDepth);return r==null||/^ {0,3}> ?/.test(r)?`outside`:r.trim()===`$$`?`close`:`inside`}function P6(e,t){let n=e[t].trim();if(n.length>4&&n.startsWith(`$$`)&&n.endsWith(`$$`)){let e=n.slice(2,-2);return e.trim()===``?null:{value:e,nextIndex:t+1,endLine:t}}if(n!==`$$`)return null;for(let n=t+1;nO6)return null;let n=k6(t[1]),r=t[2]==null?t[3]:t[2];return n===``||r==null?null:{label:n,destination:G3(K6(r)),hasTitle:t[4]!=null}}var F6=/^( {0,3})(`{3,}|~{3,})/;function I6(e,t){let n=/^ {0,3}(`{3,}|~{3,})[ \\t]*\\r?$/.exec(e);return n!=null&&n[1].startsWith(t[0])&&n[1].length>=t.length}function toe(e){if(f8(e))return null;let t=/^( {0,9})([-*+]|\\d+[.)]) /.exec(e);if(t==null)return null;let n=t[0].length,r=d8(e.slice(n));return{base:t[1].length,content:r>=4?n:n+r,ordered:t[2]!==`-`&&t[2]!==`*`&&t[2]!==`+`}}function L6(){let e=``,t=null,n=!1,r=``,i=!1,a=!1,o=e=>/^ {0,3}#{1,6}(?:[ \\t]|$)/.test(e)||f8(e),s=e=>{if(r!==``){I6(e,r)&&(r=``),i=!1;return}let t=F6.exec(e);t==null?i=e.trim()!==``&&!o(e):(r=t[2],i=!1)};return{get open(){return e!==``},read(c,l){let u=c[l];if(e!==``)return I6(u,e)?(e=``,`close`):`inside`;if(u.trim()===``)return n=t!=null,a=!1,null;let d=d8(u);if(t!=null&&(n?d>=t.content:d>t.base))return s(u.slice(Math.min(d,t.content))),null;let f=toe(u);if(f!=null&&!(a&&t==null&&f.ordered&&!/^ {0,9}0*1[.)]/.test(u)))return t=f,n=!1,r=``,a=!1,s(u.slice(f.content)),null;let p=F6.exec(u);return p==null?(t!=null&&!n&&i&&v8(c,l)||(t=null,a=!o(u)),null):(t=null,a=!1,e=p[2],`open`)}}}function R6(e,t=!1){let n=e.split(`\n`),r=new Map,i=Array(n.length).fill(!0),a=!0,o=L6();for(let e=0;en[e]).join(`\n`),lineMap:s}}function noe(e){return e==null||e.size===0?``:[...e].sort().join(`\\0`)}function z6(e){return e.size===0?``:[...e].sort((e,t)=>e[0]t[0])).map(([e,t])=>`${e}\\u0000${t}`).join(`\u0001`)}function B6(e){return e.plugins==null?e:{...e,plugins:void 0}}function roe(e,t,n,r,i,a){let o=a.openerClose(t);if(o===-1)return null;let s=e.slice(t+1,o);if(e[o+1]===`[`){let t=a.closingBracket(o+2);if(t!==-1){let a=e.slice(o+2,t),c=a===``?s:a,l=n.get(k6(c));if(l!=null&&W3(l))return{node:{type:`link`,url:l,children:r8(s,B6(r),i)},end:t+1}}}if(s.trim()===``)return null;let c=n.get(k6(s));return c==null||!W3(c)?null:{node:{type:`link`,url:c,children:r8(s,B6(r),i)},end:o+1}}var V6=0,ioe=10;function H6(e,t,n){if(V6>=ioe)return Kae(e);V6++;try{return iU(U6(r8(e,B6(t),n)))}finally{V6--}}function U6(e){return e.map(e=>{switch(e.type){case`break`:return{type:`text`,value:`\n`};case`strong`:case`emphasis`:case`delete`:case`link`:return{...e,children:U6(e.children)};case`text`:case`inlineCode`:case`inlineMath`:case`image`:case`citation`:case`extension`:return e}})}function aoe(e,t,n,r,i,a){let o=r.openerClose(t+1);if(o===-1)return null;let s=e.slice(t+2,o);if(e[o+1]===`[`){let t=r.closingBracket(o+2);if(t!==-1){let r=e.slice(o+2,t),c=r===``?s:r,l=n.get(k6(c));if(l!=null&&W3(l))return{node:{type:`image`,url:l,alt:H6(s,i,a)},end:t+1}}}if(s.trim()===``)return null;let c=n.get(k6(s));return c==null||!W3(c)?null:{node:{type:`image`,url:c,alt:H6(s,i,a)},end:o+1}}var ooe=/^\\s*(?:<((?:[^<>\\n\\\\]|\\\\.)*)>|([^\\s<]\\S*?))(?:\\s+(?:\"(?:[^\"\\\\]|\\\\.)*\"|'(?:[^'\\\\]|\\\\.)*'|\\((?:[^()\\\\]|\\\\.)*\\)))?\\s*$/s;function W6(e,t){let n=t+1;for(;e[n]===` `||e[n]===`\t`;)n++;if(e[n]!==`<`)return null;for(n++;n`)break}if(n>=e.length)return`refused`;for(n++;/\\s/.test(e[n]??``);)n++;let r=e[n];if(r===`\"`||r===`'`||r===`(`){let t=r===`(`?`)`:r;for(n++;n{if(n==null){n=new Map;for(let t=e.indexOf(\"`\");t!==-1;){let r=t;for(;e[r]===\"`\";)r++;let i=n.get(r-t);i==null?n.set(r-t,[t]):i.push(t),t=e.indexOf(\"`\",r)}}let i=n.get(r);if(i==null)return-1;let a=0,o=i.length;for(;a>1;i[e]{if(i==null){let t=new Uint8Array(e.length);for(let n=0;n=0;n--)i[n]=t[n]===1?n:i[n+1]}return t{if(o==null){o=new Int32Array(e.length).fill(-1);let t=[];for(let n=0;n{if(e[r+1]===`(`){let t=W6(e,r+1),n=t===`refused`?-1:t??s(r+1);if(n!==-1)return n+1}if(t==null||r-n-1>O6)return-1;let i=e.slice(n+1,r),o=e=>{let n=t.get(k6(e));return n!=null&&W3(n)};if(e[r+1]===`[`){let t=a(r+2);if(t!==-1&&t-r-2<=O6&&o(t===r+2?i:e.slice(r+2,t)))return t+1}return i.trim()!==``&&o(i)?r+1:-1},l=null;return{backtickCloser:r,closingBracket:a,closingParen:s,openerClose:t=>{if(l==null){l=new Map;let t=[],n=0;for(let i=0;i0){let e=t.length-1,r=t[e];t.pop();let a=r.image||e>=n;if(n=Math.min(n,e),!a)continue;let o=c(r.index,i);if(o===-1)continue;l.set(r.index,i),r.image||(n=t.length),i=o-1}}}return l.get(t)??-1}}}function q6(e,t,n){let r=e[e.length-1];r?.type===`text`&&t?.has(r)!==!0?e[e.length-1]={...r,value:r.value+n}:e.push({type:`text`,value:n})}var J6=RegExp(`^[\\\\t\\\\n\\\\f\\\\r\\\\p{Zs}]$`,`u`),Y6=RegExp(`^[\\\\p{P}\\\\p{S}]$`,`u`);function coe(e,t){if(t<=0)return;let n=e.charCodeAt(t-1);if(n>=56320&&n<=57343&&t>=2){let n=e.charCodeAt(t-2);if(n>=55296&&n<=56319)return e.slice(t-2,t)}return e[t-1]}function loe(e,t){if(t>=e.length)return;let n=e.codePointAt(t);return n==null?void 0:String.fromCodePoint(n)}function uoe(e,t,n,r){let i=coe(t,n),a=loe(t,r),o=i==null||J6.test(i),s=a==null||J6.test(a),c=i!=null&&Y6.test(i),l=a!=null&&Y6.test(a),u=!s&&(!l||o||c),d=!o&&(!c||s||l);return{node:{type:`text`,value:t.slice(n,r)},character:e,originalLength:r-n,length:r-n,canOpen:e===`*`?u:u&&(!d||c),canClose:e===`*`?d:d&&(!u||l)}}var doe=100;function foe(e,t){let n={node:{type:`text`,value:``},previous:null,next:null},r=n,i=new Map;for(let t of e){let e={node:t,previous:r,next:null};r.next=e,r=e,i.set(t,e)}let a=e=>{e.previous!=null&&(e.previous.next=e.next),e.next!=null&&(e.next.previous=e.previous)},o=t.map((e,t)=>({run:e,index:t,previous:null,next:null,depthAfter:0,canClose:e.canClose}));o.forEach((e,t)=>{e.previous=o[t-1]??null,e.next=o[t+1]??null});let s=e=>{e.previous!=null&&(e.previous.next=e.next,e.previous.depthAfter=Math.max(e.previous.depthAfter,e.depthAfter)),e.next!=null&&(e.next.previous=e.previous)},c=new Map,l=null,u=o[0]??null;for(;u!=null;){let e=u.run;if(!u.canClose||e.length===0){u=u.next;continue}let t=`${e.character}${+!!e.canOpen}${e.originalLength%3}`,n=c.get(t)??-1,r=u.previous;for(;r!=null&&r.index>n;){let t=r.run,n=(e.canOpen||t.canClose)&&(t.originalLength+e.originalLength)%3==0&&(t.originalLength%3!=0||e.originalLength%3!=0);if(t.character===e.character&&t.canOpen&&t.length>0&&!n)break;r=r.previous}if(r==null||r.index<=n){c.set(t,u.index-1);let n=u.next;e.canOpen||s(u),u=n;continue}let o=r.run,d=r.depthAfter;for(let e=r.next;e!=null&&e!==u;e=e.next)d=Math.max(d,e.depthAfter);if(r.next=u,u.previous=r,r.depthAfter=d,d>=doe){let t=u.next;s(r),u.canClose=!1,e.canOpen||s(u),u=t;continue}let f=i.get(o.node),p=i.get(e.node);if(f==null||p==null)break;let m=o.length>=2&&e.length>=2?2:1,h=[];for(let e=f.next;e!=null&&e!==p;e=e.next)h.push(e.node);let g;if(m===2)g={type:`strong`,children:h},l={node:g,opener:o,closer:e};else{let[t]=h;g=h.length===1&&t===l?.node&&l.opener===o&&l.closer===e&&t.type===`strong`?{type:`strong`,children:[{type:`emphasis`,children:t.children}]}:{type:`emphasis`,children:h}}let _={node:g,previous:f,next:p};if(f.next=_,p.previous=_,r.depthAfter=d+1,o.length-=m,e.length-=m,o.node.value=o.character.repeat(o.length),e.node.value=e.character.repeat(e.length),o.length===0&&(a(f),s(r)),e.length===0){a(p);let e=u.next;s(u),u=e}}let d=new Set(t.filter(e=>e.length>0).map(e=>e.node)),f=[],p=!1;for(let e=n.next;e!=null;e=e.next){let{node:t}=e,n=d.has(t),r=f[f.length-1];t.type===`text`&&r?.type===`text`&&(n||p)?(f[f.length-1]={...r,value:r.value+t.value},p=!0):(f.push(n?{type:`text`,value:t.value}:t),p=n)}return f}function X6(e,t){let n=0;for(let r=t-1;r>=0&&e[r]===`\\\\`;r--)n++;return n%2==1}function Z6(e,t){return e[t]===`$`&&e[t-1]!==`$`&&e[t+1]!==`$`&&e[t+1]!=null&&!/\\s/.test(e[t+1])&&!/\\d/.test(e[t-1]??``)&&!X6(e,t)}function Q6(e,t){if(!Z6(e,t))return-1;for(let n=t+1;ns||c.node.type!==`extension`||c.node.plugin!==o.pluginName||c.node.display!==n||c.node.name.trim()===``||!t6(c.node.data)||!r.plugins?.renderers.has(`${o.pluginName}\\0${c.node.name}`)){m6(o.pluginName,`syntax`,TypeError(`Tokenizer returned an invalid extension node`));continue}let{source:l,position:u,...d}=c.node,f=(r.baseOffset??0)+t,p=(r.baseOffset??0)+c.end;return{status:`match`,end:c.end,node:Object.freeze({...d,data:n6(c.node.data),source:e.slice(t,c.end),...r.sourceRanges&&n===`block`?{position:Object.freeze({start:Object.freeze({offset:f}),end:Object.freeze({offset:p})})}:null})}}return{status:`none`}}function hoe(e,t){return e[t]===`\n`?1:e[t]===`\\r`&&e[t+1]===`\n`?2:0}function t8(e,t){return goe(e,t)}function goe(e,t){let n=D6(t),r=n8(e,n);if((n.plugins?.transforms.length??0)===0)return r;let i=h6({type:`root`,children:[{type:`paragraph`,children:r}]},n.plugins,e,n.isFinal,`inline`).children[0];return i?.type===`paragraph`?[...i.children]:r}function n8(e,t,n=`default`){let r=r8(e,t,n);return t.autolink===`gfm`?u8(r):r}function r8(e,t,n=`default`){let r=[],i=null,a=null,o=soe(e,t.linkDefs),s=t.plugins!=null&&t.plugins.inlineByFirstCharacter.size>0?t.plugins.inlineByFirstCharacter:void 0,c=0;for(;c0){r.push({type:`break`}),c+=1+t;continue}if(b6(e[c+1])){r.push({type:`text`,value:e[c+1]}),c+=2;continue}}if(e[c]===\"`\"){let t=c;for(;e[t]===\"`\";)t++;let i=t-c,s=o.backtickCloser(t,i);if(s===-1){q6(r,a,e.slice(c,t)),c=t;continue}r.push({type:`inlineCode`,value:n===`tableCell`?e.slice(t,s).replace(/\\\\\\|/g,`|`):e.slice(t,s)}),c=s+i;continue}if(t.math&&e[c]===`$`){let t=Q6(e,c);if(t!==-1){r.push({type:`inlineMath`,value:e.slice(c+1,t)}),c=t+1;continue}}{let n=poe(e,c,t);if(n){r.push({type:`citation`,sourceId:n.sourceId}),c=n.end;continue}}if(e[c]===`!`&&e[c+1]===`[`){let i=o.openerClose(c+1);if(i!==-1&&e[i+1]===`(`){let a=W6(e,i+1),s=a===`refused`?-1:a??o.closingParen(i+1);if(s!==-1){let a=G3(K6(G6(e.slice(i+2,s))));W3(a)?r.push({type:`image`,url:a,alt:H6(e.slice(c+2,i),t,n)}):r.push({type:`text`,value:e.slice(c,s+1)}),c=s+1;continue}}}if(t.linkDefs!=null&&e[c]===`!`&&e[c+1]===`[`){let i=aoe(e,c,t.linkDefs,o,t,n);if(i){r.push(i.node),c=i.end;continue}}{let n=moe(e,c,t);if(n){r.push({type:`citation`,sourceId:n.sourceId}),c=n.end;continue}}if(e[c]===`[`){let i=o.openerClose(c);if(i!==-1&&e[i+1]===`(`){let a=W6(e,i+1),s=a===`refused`?-1:a??o.closingParen(i+1);if(s!==-1){let a=G3(K6(G6(e.slice(i+2,s))));W3(a)?r.push({type:`link`,url:a,children:r8(e.slice(c+1,i),B6(t),n)}):r.push({type:`text`,value:e.slice(c,s+1)}),c=s+1;continue}}}if(t.linkDefs!=null&&e[c]===`[`){let i=roe(e,c,t.linkDefs,t,n,o);if(i){r.push(i.node),c=i.end;continue}}if(e[c]===`*`||e[c]===`_`){let t=e[c],n=c+1;for(;e[n]===t;)n++;let o=uoe(t,e,c,n);if(o.canOpen||o.canClose){r.push(o.node),(i??=[]).push(o),(a??=new Set).add(o.node),c=n;continue}if(s?.has(t)!==!0){q6(r,a,e.slice(c,n)),c=n;continue}}if(e[c]===`~`&&e[c+1]===`~`){let i=e.indexOf(`~~`,c+2);if(i!==-1){r.push({type:`delete`,children:r8(e.slice(c+2,i),t,n)}),c=i+2;continue}}if(s!==void 0){let n=e8(e,c,`inline`,t);if(n.status===`match`){r.push(n.node),c=n.end;continue}if(n.status===`defer`)break}if(e[c]===`&`){let t=y6(e,c);if(t!=null){q6(r,a,t.value),c=t.end;continue}}let l=c+1;for(;l=2){n.length>0&&q6(r,a,n),r.push({type:`break`}),c=l+1;continue}}q6(r,a,u),c=l}return i==null?r:foe(r,i)}var i8=`[^\\\\s<]+`,_oe=`https?:\\\\/\\\\/`,voe=`[A-Za-z0-9._%+-]+`,a8=`[A-Za-z0-9-]+`,o8=`${a8}(?:\\\\.${a8})+`,yoe=`[a-zA-Z][a-zA-Z0-9+.-]*`,boe=`[^<>\\\\s]*`,xoe=RegExp(`${_oe}${i8}`,`g`),Soe=RegExp(`www\\\\.${i8}`,`g`),s8=new RegExp(o8,`y`),Coe=RegExp(`<(${yoe}:${boe})>`,`g`),woe=RegExp(`<(${voe}@${o8})>`,`g`),Toe=new Set(`?!.,:*_~`),Eoe=new Set(`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._%+-@`),Doe=new Set(`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._%+-`);function c8(e){let t=0,n=0;for(let r=0;r0;){let i=e[r-1];if(Toe.has(i))r--;else if(i===`)`&&n>t)n--,r--;else break}return e.slice(0,r)}var Ooe=new Set(`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789/=`);function l8(e){return e==null||!Ooe.has(e)}function koe(e){let t=[];{let n=new RegExp(Coe.source,`g`),r;for(;(r=n.exec(e))!==null;){let e=r[1];W3(e)&&t.push({start:r.index,end:r.index+r[0].length,href:e,display:e})}}{let n=new RegExp(woe.source,`g`),r;for(;(r=n.exec(e))!==null;){let e=r[1];t.push({start:r.index,end:r.index+r[0].length,href:`mailto:${e}`,display:e})}}{let n=new RegExp(xoe.source,`g`),r;for(;(r=n.exec(e))!==null;){let n=e[r.index-1];if(!l8(n)||e.slice(r.index-2,r.index)===`](`)continue;let i=c8(r[0]);i.length!==0&&t.push({start:r.index,end:r.index+i.length,href:i,display:i})}}{let n=new RegExp(Soe.source,`g`),r;for(;(r=n.exec(e))!==null;){let n=e[r.index-1];if(!l8(n)||e.slice(r.index-3,r.index)===`://`)continue;let i=c8(r[0]);i.length!==0&&t.push({start:r.index,end:r.index+i.length,href:`http://${i}`,display:i})}}{let n=0;for(let r=e.indexOf(`@`);r!==-1;r=e.indexOf(`@`,r+1)){let i=r;for(;i>n&&Doe.has(e[i-1]);)i--;if(i===r)continue;s8.lastIndex=r+1;let a=s8.exec(e);if(a===null)continue;let o=r+1+a[0].length;n=o;let s=e[i-1];if(s!=null&&Eoe.has(s)||e.slice(Math.max(0,i-7),i)===`mailto:`)continue;let c=e.slice(i,o);t.push({start:i,end:o,href:`mailto:${c}`,display:c})}}t.sort((e,t)=>e.start-t.start);let n=[],r=0;for(let e of t)e.start>=r&&(n.push(e),r=e.end);return n}function Aoe(e){let t=koe(e);if(t.length===0)return[{type:`text`,value:e}];let n=[],r=0;for(let i of t)i.start>r&&n.push({type:`text`,value:e.slice(r,i.start)}),n.push({type:`link`,url:G3(i.href),children:[{type:`text`,value:i.display}]}),r=i.end;return r=3}function joe(e){for(let t=0;te.trim()).filter(e=>e.length>0);return t.length>0&&t.every(e=>/^:?-+:?$/.test(e))}function m8(e){return{...e,allowBlockSyntax:!1,sourceRanges:!1,astPositions:!1,blockDepth:e.blockDepth+1,baseLine:void 0,lineOrigin:void 0}}function h8(e,t){return t==null?m8(e):{...m8(e),lineOrigin:t}}function g8(e){let t=e.length-e.trimStart().length;return t<=3?t:null}var _8=/^ {0,3}>/;function Moe(e){return e.replace(/^ {0,3}>[ \\t]?/,``)}function Noe(e){return!!(/^ {0,3}#{1,6} /.test(e)||F6.test(e)||f8(e)||_8.test(e)||/^ {0,9}[-*+] /.test(e)||/^ {0,9}0*1[.)] /.test(e)||e.includes(`|`))}function v8(e,t,n=!1){let r=e[t];return r==null||r.trim()===``||/^ {0,3}#{1,6} /.test(r)||F6.test(r)||f8(r)||_8.test(r)||/^ {0,9}[-*+] /.test(r)||(n?/^ {0,9}\\d+[.)] /.test(r):/^ {0,9}0*1[.)] /.test(r))?!1:!(r.includes(`|`)&&t+1t&&e[n-1]===` `;)n--;n>t&&e[n-1]===`|`&&n--;let r=e.slice(t,n),i=[],a=``;for(let e=0;e({type:`tableCell`,children:n8(e,n,`tableCell`)})),i=x8(e[t+1]).map(e=>{let t=e.trim(),n=t.startsWith(`:`),r=t.endsWith(`:`);return n&&r?`center`:r?`right`:n?`left`:null}),a=[],o=t+2;for(;o({type:`tableCell`,children:n8(e,n,`tableCell`)}))}),o++;return{node:{type:`table`,align:i,children:[{type:`tableRow`,children:r},...a]},nextIndex:o}}function S8(e,t,n){if(t.length===0)return e;let r=t.filter((e,t)=>e.trim()!==``&&!n.has(t)).map(d8),i=r.length===0?0:Math.min(...r);return`${e}\\n${t.map((e,t)=>e.trim()===``?``:e.slice(n.has(t)?d8(e):i)).join(`\n`)}`}function C8(e,t,n,r,i,a){let o=[],s=d8(e[t]),c=n?e[t].match(/^ *(\\d+)([.)]) /):null,l=c?c[2]:`.`,u=`\\\\${l}`,d=n?null:e[t].trimStart()[0],f=RegExp(n?`^ {${s}}\\\\d+${u} `:`^ {${s}}\\\\${d} `),p=c?parseInt(c[1],10):void 0,m=!1,h=t,g=e=>f.test(e)&&!f8(e);for(;h=4?l:l+d,p=c.match(/^\\[([ xX])\\] (.*)/),_,v;p?(_=p[1].toLowerCase()===`x`,v=p[2]):v=c,h++;let y=[],b=new Set,x=v8([v],0,!0)?!0:void 0;for(;hs)y.push(e[h]),x===!0&&!v8([e[h].trimStart()],0)&&(x=void 0),h++;else{if(i(h)||!v8(e,h,!0)||(x===void 0&&(x=b8(S8(v,y,b),r)),!x))break;b.add(y.length),y.push(e[h]),h++}for(;;){let t=h;for(;t=e.length||d8(e[t])=f;)y.push(e[h]),h++;m=!0}let S=S8(v,y,b);if(a==null)o.push({type:`listItem`,checked:_,children:T8(S,m8(r))});else{let e=[];for(let n=t;nh&&C=Yae){let n=e.trim();return n===``?[]:[{type:`paragraph`,children:n8(n,t)}]}let n=t.nestedParses==null?{...t,nestedParses:{map:null}}:t,{defs:r,cleaned:i,lineMap:a}=R6(e,n.math),o=n.linkDefs,s;s=r.size===0?o:o==null?r:new Map([...r,...o]);let c=s==null?n:{...n,linkDefs:s},l=i.split(`\n`),u=c.allowBlockSyntax!==!1&&(c.plugins?.blockByFirstCharacter.size??0)>0,d=[0];if(c.astPositions===!0||u){let e=0;for(let t=0;t{if(!u)return!1;let t=g8(l[e]);if(t==null)return!1;let n=d[e]+t,r=e8(i,n,`block`,c);return r.status!==`none`&&(f.set(n,r),!0)},m=[],h=Loe(c,a),g=c.astPositions===!0||h!=null?[]:null,_=g==null?null:[],v=0,y=(e,t)=>{m.push(e),g?.push(v),_?.push(t)},b=0;for(;b0&&l[l.length-1]===``&&d.pop(),b++,y(tU({type:`code`,lang:o,...u==null?{}:{meta:u},value:d.join(`\n`)},s),Math.min(b,l.length)-1);continue}if(c.math){let e=P6(l,b);if(e!=null){y({type:`math`,value:e.value},e.endLine),b=e.nextIndex;continue}}let n=e.match(/^ {0,3}(#{1,6}) +(.*)/);if(n){y({type:`heading`,depth:n[1].length,children:n8(n[2],c)}),b++;continue}if(f8(e)){y({type:`thematicBreak`}),b++;continue}let r=e.match(/^!\\[([^\\]]*)\\]\\(([^)]+)\\)/),a=r?G3(K6(G6(r[2]))):``;if(r&&e.trim()===r[0]&&W3(a)){y({type:`image`,alt:H6(r[1],c,`default`),url:a}),b++;continue}if(b+1h(v+t))))});continue}if(/^ {0,9}[-*+] /.test(e)){let e=C8(l,b,!1,c,p,h);y(e.node),b=e.nextIndex;continue}if(/^ {0,9}\\d+[.)] /.test(e)){let e=C8(l,b,!0,c,p,h);y(e.node),b=e.nextIndex;continue}if(u){let t=g8(e),n=t==null?d[b]:d[b]+t,r=f.get(n)??(t==null?{status:`none`}:e8(i,n,`block`,c));if(f.delete(n),r.status===`match`){let e=r.end,t=i.slice(d[b],e);if(el+u[i==null?e:i[e]];for(let i=0;ia&&r[o].trim()===``;)o--;let l;l=s==null?{start:{offset:d(a)},end:{offset:d(o)+r[o].length}}:c?{start:{offset:d(a),line:s(a)+1},end:{offset:d(o)+r[o].length,line:s(o)+1}}:{start:{line:s(a)+1},end:{line:s(o)+1}},e[i]=F8(e[i],{...e[i],position:l})}}function Loe(e,t){if(e.sourceLines!==!0)return null;let n=e=>t==null?e:t[e],r=e.lineOrigin;if(r!=null)return e=>r[n(e)];if(e.astPositions!==!0)return null;let i=e.baseLine??0;return e=>i+n(e)}var E8=new WeakMap;function D8(e){let{defs:t}=R6(e.settledText,e.math),n={settledEnd:e.settledText.length,settledEndLine:void 0,settledLinkDefs:new Map(t),tailLinkDefs:new Map,linkDefs:t,linkDefsKey:z6(t),settledAstBlocks:[],settledRevision:0,projectedRevision:-1,projectedSettledBlocks:[],projectionCache:new WeakMap,work:{splitCharacters:0,boundaryLines:0,definitionCharacters:0,renderedBlocks:0}};return E8.set(e,n),n}function O8(){let e={prevInput:``,settledText:``,settledBlocks:[],settledUpTo:0};return D8(e),e}function Roe(e,t=!1){let n=L6(),r=null,i=!1,a=-1,o=-1,s=-1;for(let c=0;c0&&c0&&a[o-1]===`!`?o-1:o;a=a.slice(0,e)}}let s=a.length;for(;s>0&&a[s-1]===\"`\";)s--;if(s0){let e=a.length-s;a.lastIndexOf(\"`\".repeat(e),s-1)===-1&&(a=a.slice(0,s))}for(s=a.length;s>0&&a[s-1]===`*`;)s--;if(s0){let e=a.length-s;e<=3&&a.lastIndexOf(`*`.repeat(e),s-1)===-1&&(a=a.slice(0,s))}{let e=0,t=[];for(;e3||t.push({pos:n,len:r}),e=n+r}let n=new Set;for(let e=0;e=0;e--)if(!n.has(e)){let n=t[e],r=a.slice(n.pos+n.len),i=r.length-r.trimEnd().length;a=i=2&&a.endsWith(`~~`))a.lastIndexOf(`~~`,a.length-3)===-1&&(a=a.slice(0,-2));else if(a.endsWith(`~`)){let e=a.length-2;e>=0&&a[e]!==`~`&&(a=a.slice(0,-1))}{let e=0,t=0,n=[];for(;;){let r=a.indexOf(`~~`,t);if(r===-1)break;n.push(r),e++,t=r+2}e%2==1&&(a=a.slice(0,n[n.length-1]))}return i+a}function A8(e){let t=e.split(`\n`),n=L6(),r=null,i=!1,a=-1;for(let e=0;e=0?t.slice(0,a).join(`\n`).trimEnd():e}function zoe(e){let t=e.split(`\n`);for(;t.length>0;){let e=t[t.length-1],n=e.trim();if(n===``)t.pop();else if(/^ {0,9}[-*+] $/.test(e)||/^ {0,9}\\d+[.)] $/.test(e))t.pop();else{if(joe(n)&&!p8(e)){let e=!1;for(let n=t.length-2;n>=1;n--)if(p8(t[n])&&t[n-1].includes(`|`)){e=!0;break}if(!e){t.pop();continue}}if(p8(e)&&(t.length<2||!t[t.length-2].includes(`|`)))t.pop();else break}}return t.join(`\n`)}function j8(e,t,n){return e.astPositions===!0?e.sourceLines===!0?{...e,baseOffset:t,baseLine:n}:{...e,baseOffset:t}:e}function M8(e,t=0,n=e.length){let r=0;for(let i=e.indexOf(`\n`,t);i!==-1&&i=0?u.slice(0,d).join(`\n`):``,h=s+m.length,g=e.slice(h),_=!1;if(m!==``){let{defs:e}=R6(m,n.math);for(let[t,n]of e)r.settledLinkDefs.has(t)||(r.settledLinkDefs.set(t,n),r.linkDefs.get(t)!==n&&(_=!0))}let{defs:v}=R6(g,n.math);Hoe(r.tailLinkDefs,v,r.settledLinkDefs)||(_=!0),r.tailLinkDefs=v,_&&(r.linkDefs=new Map([...v,...r.settledLinkDefs]),r.linkDefsKey=z6(r.linkDefs),i=!0),t.linkDefsKey=r.linkDefsKey;let y=r.linkDefs.size>0?{...n,linkDefs:r.linkDefs}:n;m!==``&&(t.settledText+=m,t.settledUpTo+=m.split(`\n`).length-1,s===0&&t.settledUpTo++,r.settledEnd=h,r.settledEndLine=n.sourceLines===!0?c+M8(m):void 0);let b=g.replace(/^(?:[ \\t]*\\r?\\n)+/,``).trimEnd(),x=b!==``&&/\\r(?:\\n[\\s]*)?$/.test(g)?`${b}\\r`:b,S=f?g.replace(/^(?:[ \\t]*\\r?\\n)+/,``):p?A8(x):zoe(x),C=n.sourceRanges===!0,w=0;if(i)r.settledAstBlocks=t.settledText?T8(t.settledText,y):[],w=r.settledAstBlocks.length,r.settledRevision++,r.projectedSettledBlocks=r.settledAstBlocks.map(e=>w6(e,r.projectionCache,C)),r.projectedRevision=r.settledRevision;else if(m!==``){let e=T8(m,j8(y,s,c)),t=r.settledAstBlocks.length-1,n=Voe(r.settledAstBlocks,e);w=e.length,r.settledRevision++;let i=e.map(e=>w6(e,r.projectionCache,C));if(n){let e=r.settledAstBlocks[t],n=w6(e,r.projectionCache,C);r.projectedSettledBlocks[t]=n,r.projectedSettledBlocks.push(...i.slice(1))}else r.projectedSettledBlocks.push(...i);r.projectedRevision=r.settledRevision}let T=S&&n.astPositions===!0?e.indexOf(S,r.settledEnd):-1,E=S?T8(S,T>=0?j8(y,T,n.sourceLines===!0?(r.settledEndLine??0)+M8(e,r.settledEnd,T):0):m8(y)):[];return t.prevInput=e,r.work={splitCharacters:l.length,boundaryLines:u.length,definitionCharacters:m.length+g.length,renderedBlocks:w+E.length},Boe(r.settledAstBlocks,E)}function Woe(e){return e.trim().toLowerCase().replace(/['\"]/g,``).replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``)}function Goe(e,t){let n=e||`section`,r=t.get(n)??0;return t.set(n,r+1),r===0?n:`${n}-${r}`}var Koe=new Set([`image`,`code`,`math`,`inlineMath`,`table`,`thematicBreak`,`citation`,`break`,`extension`]);function R8(e){if(Koe.has(e.type))return null;if(typeof e.value==`string`)return LH(e.value);for(let t of e.children??[]){let e=R8(t);if(e!=null)return e}return null}function z8(e){return R8(e)??void 0}function B8(e,t){return z8(e)??(t!=null&&t.around!==t.provider?t.provider:void 0)}function V8(e,t){if(t!=null)return{provider:t.provider,around:z8(e)??t.provider}}var qoe=Symbol.for(`@astryxdesign/core/markdown/semantic-fence/fence-proposal/v1`);function Joe(e){return e[qoe]}var H8=class extends X.Component{state={failed:!1,resetKey:this.props.resetKey,resetRenderer:this.props.resetRenderer};static getDerivedStateFromError(){return{failed:!0}}static getDerivedStateFromProps(e,t){return e.resetKey===t.resetKey&&e.resetRenderer===t.resetRenderer?null:{failed:!1,resetKey:e.resetKey,resetRenderer:e.resetRenderer}}componentDidCatch(e){m6(this.props.pluginName,`render`,e)}render(){return this.state.failed?this.props.fallback:this.props.children}};function U8(e,t,n,r){let i=g6(e,t);if(i==null)return n;let a;try{a=i.render({node:t})}catch(e){return m6(t.plugin,`render`,e),n}return(0,Z.jsx)(H8,{pluginName:t.plugin,resetKey:t,resetRenderer:i.render,fallback:n,children:(0,Z.jsx)(X.Suspense,{fallback:n,children:a})},r)}var Yoe=`heading-links`,W8=`@astryxdesign/core/MarkdownHeadingLinksConfig`,Xoe=Symbol.for(W8);jae(e=>e);var Zoe=RegExp(`[^\\\\p{Letter}\\\\p{Number}]+`,`gu`);function Qoe(e){return e.normalize(`NFKC`).trim().toLowerCase().replace(/['\"]/gu,``).replace(Zoe,`-`).replace(/^-+|-+$/gu,``)}function $oe(e,t){let n=e||`section`,r=t.get(n)??0,i=r===0?n:`${n}-${r}`;for(;t.has(i);)r++,i=`${n}-${r}`;return t.set(n,r+1),t.set(i,0),i}var ese=`https://astryx.invalid/`;function tse(e){try{return new URL(e,ese),!0}catch{return!1}}function nse(e){let t=Y3(e);if(t.name!==Yoe)return;let n=t[Xoe];if(!(typeof n!=`object`||!n||Object.getPrototypeOf(n)!==Object.prototype||Reflect.ownKeys(n).length!==4||!Object.isFrozen(n)||n.kind!==W8||n.apiVersion!==1||n.headingIdPrefix!==void 0&&typeof n.headingIdPrefix!=`string`||typeof n.permalinkBaseUrl!=`string`||n.permalinkBaseUrl.includes(`#`)||!tse(n.permalinkBaseUrl)||n.permalinkBaseUrl!==``&&Tae(n.permalinkBaseUrl)!==n.permalinkBaseUrl))return n}function rse(e){if(e!=null)for(let t of e.entries){let e=nse(t);if(e!=null)return e}}function ise(e,t){let n=rse(t);if(n==null)return;let r=new Map,i=new Map,a=new Map,o=new Map;return rU(e,`heading`,e=>{let s=iU(e.children,e=>_6(t,e)).trim(),c=$oe(Qoe(s),o),l=n.headingIdPrefix!=null&&n.headingIdPrefix!==``?`${n.headingIdPrefix}--${c}`:c;r.set(e,l),i.set(e,s),a.set(e,`${n.permalinkBaseUrl}#${l}`)}),{ids:r,labels:i,permalinkUrls:a}}function ase(e,t){let n=e.children.filter(e=>e.type===`heading`),r=ise(e,t);if(r!=null)return{...r,outline:n.map(e=>{let t=r.ids.get(e),n=r.labels.get(e);if(t==null||n==null)throw Error(`Heading-links projection omitted a root heading`);return{id:t,label:n,level:e.depth}})};let i=new Map,a=new Map,o=new Map,s=n.map(e=>{let n=iU(e.children,e=>_6(t,e)).trim(),r=Goe(Woe(n),o);return i.set(e,r),a.set(e,n),{id:r,label:n,level:e.depth}});return{ids:i,labels:a,permalinkUrls:new Map,outline:s}}G(),``+B[`--duration-fast`];var G8={container:{\"--_hover-delay\":`xhg274n`,\"--_reveal-opacity\":`xct0gwe x2xrgwu xi33vf3 xakbj2a`,\"--_reveal-position\":`xp0pj8v x1or4zte xoa21yc xe5pbq5`,\"--_reveal-delay\":`x1xiarpw xi1ebb6 x1mjsb9v x1humlf3`,\"--_reveal-delay-reduced\":`xdjmrzf xvd8mm8 x1z42dm x63b2yw`,\"--_conceal-opacity\":`x1kgmhs9 x1316hva`,\"--_fade-delay\":`x13l1x9d x14nxqze x1wfyzv7 x4pvm7e`,$$css:!0},stateInactive:{\"--_reveal-opacity\":`xct0gwe xfqgg65 xi33vf3 xakbj2a`,\"--_reveal-position\":`xp0pj8v x17ock8y xoa21yc xe5pbq5`,\"--_reveal-delay\":`x1xiarpw x1tx49wl x1mjsb9v x1humlf3`,\"--_reveal-delay-reduced\":`xdjmrzf xap96qf x1z42dm x63b2yw`,\"--_conceal-opacity\":`x1kgmhs9 xuzfaso`,\"--_fade-delay\":`x13l1x9d xq03417 x1wfyzv7 x4pvm7e`,$$css:!0},stateActive:{\"--_reveal-opacity\":`x5setjs x2xrgwu xi33vf3 xakbj2a`,\"--_reveal-position\":`x1r6s5ct x1or4zte xoa21yc xe5pbq5`,\"--_reveal-delay\":`x1dejzja x1t6fdr0 x1mjsb9v x1humlf3`,\"--_reveal-delay-reduced\":`xdjmrzf xap96qf x1z42dm x63b2yw`,\"--_conceal-opacity\":`x9pmotm x1316hva`,\"--_fade-delay\":`x13l1x9d xq03417 x1wfyzv7 x4pvm7e`,$$css:!0},hoverDelay:e=>[{\"--_hover-delay\":e==null?e:`x8xu23y`,$$css:!0},{\"--x---_hover-delay\":e??void 0}],reveal:{k1ekBW:`x1n1p2mu`,kIyJzY:`x1tw3moq xsr0bmt`,kAMwcw:`xlr8y92`,kzIqYQ:`xd00j3c`,kIr0Dl:`x1rq8cwj xwgk2z2`,kSiTet:`xgsobzw`,kVAEAm:`x1mf7ja4`,$$css:!0},revealLayoutPreserved:{k1ekBW:`x19991ni`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,kIr0Dl:`x4avkj2`,kSiTet:`xgsobzw`,$$css:!0},conceal:{k1ekBW:`x19991ni`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,kIr0Dl:`x4avkj2`,kSiTet:`x1wnsjo`,$$css:!0},concealLayoutPreserved:{k1ekBW:`x19991ni`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,kIr0Dl:`x4avkj2`,kSiTet:`x1wnsjo`,$$css:!0},contentShown:{kSiTet:`x1hc1fzr`,kVAEAm:`x1uhb9sk`,kIr0Dl:`x1ahifba`,$$css:!0},contentHidden:{kSiTet:`xg01cxk x1euntei`,kVAEAm:`x10l6tqk xo74pv5`,kIr0Dl:`x1ahifba`,$$css:!0},contentHiddenLayoutPreserved:{kSiTet:`xg01cxk x1euntei`,kIr0Dl:`x1ahifba`,$$css:!0}};D();var K8=Object.freeze({});function ose(e={}){let{isEnabled:t=!0}=e;return(0,X.useMemo)(()=>t?{getContainerProps:(e={})=>{let{forceState:t,hoverDelay:n=0}=e;return C(G8.container,n>0&&G8.hoverDelay(`${n}ms`),t===`inactive`&&G8.stateInactive,t===`active`&&G8.stateActive)},getContentRevealProps:(e={})=>{let{isRevealInverted:t=!1,isLayoutPreserved:n=!1,forceVisibility:r}=e;return C(t?n?G8.concealLayoutPreserved:G8.conceal:n?G8.revealLayoutPreserved:G8.reveal,r===`shown`&&G8.contentShown,r===`hidden`&&(n?G8.contentHiddenLayoutPreserved:G8.contentHidden))}}:{getContainerProps:()=>K8,getContentRevealProps:()=>K8},[t])}D(),sE(),eR(),iT(),Ww({\"@astryx.markdownHeadingLinks.copied\":`Link copied`,\"@astryx.markdownHeadingLinks.copy\":`Copy link to {heading}`,\"@astryx.markdownHeadingLinks.copyFailed\":`Failed to copy value to clipboard.`});var sse=1500,cse={start:`0`,center:`auto`},q8={proseWidth:e=>[{ks0D6T:e==null?e:`xf68679`,$$css:!0},{\"--x-maxWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],proseAlign:e=>[{kUOVxO:e==null?e:`xvlecxo`,$$css:!0},{\"--x-marginInline\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]},J8={row:{k1xSpc:`x78zum5`,kGNEyG:`xaz6w31`,k7Eaqz:`xeuugli`,ks0D6T:`x193iq5w`,kVQacm:`x1rea2x4`,kHBbk8:`xc8icb0`,$$css:!0},heading:{kUk6DE:`xkz0k9k`,k7Eaqz:`xeuugli`,kqGvvJ:`x10im51j`,$$css:!0},copyButton:{kVAEAm:`x10l6tqk`,k87sOh:`xwa60dl`,kzqmXN:`x1fvqzum x1c4064q`,kZKoxP:`x6k0iem x1d3wnk4`,k8WAf4:`xt970qd`,kg3NbH:`xnjsko4`,kMwMTN:`x1heor9g`,kMv6JI:`xjb2p0i`,kGuDYH:`x1qlqyl8`,k63SB2:`x1pd3egz`,kLWn49:`x15bjb6t`,$$css:!0}},lse=J8.heading;function use(e){return e.button===0&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey}function dse({children:e,headingId:t,headingLabel:n,permalinkUrl:r,contentWidth:i,contentAlign:a,headingTextStyle:o,blockSpacingStyle:s,dir:c}){let l=nT(),u=l(`@astryx.markdownHeadingLinks.copied`),d=l(`@astryx.markdownHeadingLinks.copyFailed`),f=l(`@astryx.markdownHeadingLinks.copy`,{heading:n||t}),{copy:p,isCopied:m,isFailed:h}=lU({announce:u,announceFailure:d,resetAfterMs:sse}),{getContainerProps:g,getContentRevealProps:_}=ose(),v=(0,X.useCallback)(e=>{use(e)&&p(new URL(r,window.location.href).href)},[p,r]);return(0,Z.jsxs)(`div`,{dir:c,...Q(g(),C(J8.row,o,s,i==null?null:q8.proseWidth(i),a===`start`?null:q8.proseAlign(cse[a]))),children:[e,(0,Z.jsxs)(`span`,{className:`x1n2onr6 x1rg5ohu x2lah0s x1vjfegm x1fvqzum x1c4064q x17lnmll xv1l7n4 xjb2p0i x1qlqyl8 x1pd3egz x15bjb6t`,children:[(0,Z.jsx)(`span`,{\"aria-hidden\":`true`,className:`xlshs6z`,children:`#`}),(0,Z.jsx)(IO,{type:`button`,variant:`ghost`,size:`sm`,label:h?d:m?u:f,icon:(0,Z.jsx)(`span`,{\"aria-hidden\":`true`,className:`x3nfvp2 x6s0dn4 xl56j7k x15vhz18 xlzyvqe`,children:h?(0,Z.jsx)(XT,{icon:`close`,size:`sm`,color:`inherit`}):m?(0,Z.jsx)(XT,{icon:`check`,size:`sm`,color:`inherit`}):`#`}),isIconOnly:!0,onClick:v,xstyle:[J8.copyButton,$L.centerInline(`-50%`)],..._({isLayoutPreserved:!0})})]})]})}UC();function fse(){return(0,X.use)(HC).direction}D(),kG(),PY(),rG(),x(),rc(),iO(),vr(),iT(),Ww({\"@astryx.markdown.taskList\":`Task list`});var pse=[`disc`,`circle`,`square`],mse=[`decimal`,`lower-alpha`,`lower-roman`];function Y8(e){let t=e.position?.start.line,n=e.position?.end.line;return t==null||n==null?void 0:{start:t,end:n}}function X8(e){return e==null?void 0:{\"data-source-line\":String(e.start),\"data-source-line-end\":String(e.end)}}var Z8={start:`0`,center:`auto`},Q8={start:null,center:`auto`},hse={k7Eaqz:`xkj4a21`,$$css:!0},$8={proseWidth:e=>[{ks0D6T:e==null?e:`xf68679`,$$css:!0},{\"--x-maxWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],proseAlign:e=>[{kUOVxO:e==null?e:`xvlecxo`,$$css:!0},{\"--x-marginInline\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],blockWidth:e=>[hse,{\"--x-minWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(`min(${e}, 100%)`)}],blockAlign:e=>[{kUOVxO:e==null?e:`xvlecxo`,$$css:!0},{\"--x-marginInline\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],cellMinWidth:e=>[{k7Eaqz:e==null?e:`xkj4a21`,$$css:!0},{\"--x-minWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]},e5={start:{k9WMMc:`x1yc453h`,$$css:!0},center:{k9WMMc:`x2b8uid`,$$css:!0},end:{k9WMMc:`xp4054r`,$$css:!0}},t5={cell:{kB7OPa:`x1afcbsf`,kVQacm:`x1rea2x4`,k8WAf4:`xce4md1`,kg3NbH:`xf314gf`,$$css:!0},headerCell:{kB7OPa:`x1afcbsf`,kVQacm:`x1rea2x4`,kHjlTd:`x1mzt3pk`,k8WAf4:`xce4md1`,kg3NbH:`xf314gf`,kg5iWk:`xbrixnn`,khDVqt:`xeaf4i8`,$$css:!0},code:{kTgw9:`x1lldw8n`,$$css:!0},ruleOnTableEnd:{ke9TFa:`x10w94by`,k2ei4v:`xgbv0en x19mtlqq`,kVhnKS:`x1t7ytsu`,kGJrpR:`x1j92z86`,$$css:!0},tableOuterEdge:{kMzoRj:`x1litavf`,ksu8eU:`x1y0btm7`,kVAM5u:`x14i3s5s`,$$css:!0}};function gse({children:e}){return(0,Z.jsx)(ZW,{xstyle:t5.code,children:e})}var n5={root:{kMv6JI:`x9ynric`,kMwMTN:`x1tgivj0`,kLWn49:`xw6l6zx`,kGuDYH:`xjm74w1`,kzqmXN:`xh8yej3`,ks0D6T:`x193iq5w`,k7Eaqz:`xeuugli`,kHjlTd:`x1mzt3pk`,$$css:!0},inlineRoot:{k1xSpc:`xt0psk2`,kzqmXN:`x14atkfc`,ks0D6T:`x1x1rfll`,kMv6JI:`xjb2p0i`,kMwMTN:`x1heor9g`,kLWn49:`x15bjb6t`,kGuDYH:`x1qlqyl8`,$$css:!0},headingBase:{kMv6JI:`x1g81bgm`,kMwMTN:`x1tgivj0`,$$css:!0},h1:{kGuDYH:`xcg7oai`,k63SB2:`x1v68xuy`,kLWn49:`xfmsba7`,$$css:!0},h2:{kGuDYH:`x1xvnhcw`,k63SB2:`x12yy4cs`,kLWn49:`x1cpk1wn`,$$css:!0},h3:{kGuDYH:`xii13ha`,k63SB2:`x1jcxfy8`,kLWn49:`xwjzt0u`,$$css:!0},h4:{kGuDYH:`x8tkxat`,k63SB2:`x2hcmsi`,kLWn49:`xqerer`,$$css:!0},h5:{kGuDYH:`xsgqta0`,k63SB2:`xno150v`,kLWn49:`xo3gurs`,$$css:!0},h6:{kGuDYH:`xw5ohdf`,k63SB2:`x1pw4frv`,kLWn49:`xeixjfn`,$$css:!0},spacingHeadingMajorDefault:{keoZOQ:`x13rv44w`,k1K539:`xep27e5`,$$css:!0},spacingHeadingMinorDefault:{keoZOQ:`x1s1qpeq`,k1K539:`x1p37lm5`,$$css:!0},spacingParagraphDefault:{keoZOQ:`xj6sv8s`,k1K539:`xep27e5`,$$css:!0},spacingCodeblockDefault:{keoZOQ:`x1s1qpeq`,k1K539:`xwh1t77`,$$css:!0},spacingBlockquoteDefault:{keoZOQ:`x1s1qpeq`,k1K539:`xwh1t77`,$$css:!0},spacingListDefault:{keoZOQ:`xj6sv8s`,k1K539:`xep27e5`,$$css:!0},spacingTableDefault:{keoZOQ:`x1s1qpeq`,k1K539:`xwh1t77`,$$css:!0},spacingHrDefault:{keoZOQ:`x13rv44w`,k1K539:`x4d5cxa`,$$css:!0},spacingImageDefault:{keoZOQ:`xj6sv8s`,k1K539:`xep27e5`,$$css:!0},spacingHeadingMajorCompact:{keoZOQ:`x1s1qpeq`,k1K539:`x1p37lm5`,$$css:!0},spacingHeadingMinorCompact:{keoZOQ:`xj6sv8s`,k1K539:`x14cgwvg`,$$css:!0},spacingParagraphCompact:{keoZOQ:`xcsaf9d`,k1K539:`x14cgwvg`,$$css:!0},spacingCodeblockCompact:{keoZOQ:`xtbrsbv`,k1K539:`x1p37lm5`,$$css:!0},spacingBlockquoteCompact:{keoZOQ:`xtbrsbv`,k1K539:`x1p37lm5`,$$css:!0},spacingListCompact:{keoZOQ:`xcsaf9d`,k1K539:`x14cgwvg`,$$css:!0},spacingTableCompact:{keoZOQ:`xtbrsbv`,k1K539:`x1p37lm5`,$$css:!0},spacingHrCompact:{keoZOQ:`xj6sv8s`,k1K539:`xep27e5`,$$css:!0},spacingImageCompact:{keoZOQ:`xtbrsbv`,k1K539:`x1p37lm5`,$$css:!0},noMarginBlockStart:{keoZOQ:`xdj266r`,$$css:!0},noMarginBlockEnd:{k1K539:`xat24cr`,$$css:!0},codeBlockWrapper:{ks0D6T:`x193iq5w`,$$css:!0},tableWrapper:{ks0D6T:`x193iq5w`,\"--container-padding-inline-start\":`xrhngw9`,\"--container-padding-inline-end\":`xjsfl84`,\"--container-padding-block-start\":`x1047aw6`,\"--container-padding-block-end\":`xax9j7h`,$$css:!0},hr:{kMzoRj:`xc342km`,kEafiO:`x11xkdxz`,kPef9Z:`x13fuv20`,kLZC3w:`x1pc3f07`,$$css:!0}};function r5(e){let t=e.match(/^([\\d.]+)ms$/);if(t)return parseFloat(t[1]);let n=e.match(/^([\\d.]+)s$/);return n?parseFloat(n[1])*1e3:null}function i5(e){let t=0;for(let n of e)switch(n.type){case`text`:t+=n.value.length;break;case`inlineCode`:t+=n.value.length;break;case`inlineMath`:t+=n.value.length;break;case`image`:t+=n.alt.length;break;case`strong`:case`emphasis`:case`delete`:case`link`:t+=i5(n.children);break;case`break`:t+=1;break;case`citation`:t+=1;break;case`extension`:t+=n.source?.length??0}return t}function a5(e){let t=0;for(let n of e)switch(n.type){case`heading`:case`paragraph`:t+=i5(n.children);break;case`code`:t+=n.value.length;break;case`math`:t+=n.value.length;break;case`blockquote`:t+=a5(n.children);break;case`list`:for(let e of n.children)t+=a5(e.children);break;case`table`:for(let e of n.children)for(let n of e.children)t+=i5(n.children);break;case`extension`:t+=n.source?.length??0;break;case`thematicBreak`:break;case`image`:t+=n.alt.length}return t}var o5={1:n5.h1,2:n5.h2,3:n5.h3,4:n5.h4,5:n5.h5,6:n5.h6};function _se(e,t){let n=[];for(let r of t){r.pattern.lastIndex=0;let t;for(;(t=r.pattern.exec(e))!==null;){let i;if(r.getEndIndex){let n=r.getEndIndex(e,t);if(n===!1)continue;i=n}else i=t.index+t[0].length;n.push({start:t.index,end:i,match:t,plugin:r})}}n.sort((e,t)=>e.start-t.start);let r=[],i=0;for(let e of n)e.start>=i&&(r.push(e),i=e.end);if(r.length===0)return[{type:`text`,content:e}];let a=[],o=0;for(let t=0;to&&a.push({type:`text`,content:e.slice(o,n.start)}),a.push({type:`plugin`,element:n.plugin.render(n.match,`plugin-${t}`),matchLength:n.end-n.start}),o=n.end}return oe.fading?(0,Z.jsx)(`span`,{className:`x1hc1fzr x19991ni x80gvsz x12w9bfk xlr8y92 x4itv7f`,children:e.text},e.key):(0,Z.jsx)(`span`,{children:e.text},e.key));return(0,Z.jsx)(`span`,{children:a},`wrap-${n}`)}function yse(e,t){let n=e.numberMap.get(t);return n??(n=e.nextNumber++,e.numberMap.set(t,n)),n}function c5(e,t,n,r,i,a=`a`,o,s,c){switch(e.type){case`text`:if(o&&o.length>0){let n=_se(e.value,o);if(n.length!==1||n[0].type!==`text`){let e=[];for(let i=0;ic5(e,t,n,r,i,a,o,s,c))},t);case`emphasis`:return(0,Z.jsx)(`em`,{children:e.children.map((e,t)=>c5(e,t,n,r,i,a,o,s,c))},t);case`delete`:return(0,Z.jsx)(`del`,{className:`xv1l7n4`,children:e.children.map((e,t)=>c5(e,t,n,r,i,a,o,s,c))},t);case`inlineCode`:{r.offset+=e.value.length;let n=s?.inlineCode;return n?(0,Z.jsx)(n,{children:e.value},t):(0,Z.jsx)(ZW,{children:e.value},t)}case`inlineMath`:{let n=s?.math;return n==null?s5(`$${e.value}$`,r,t):(r.offset+=e.value.length,(0,Z.jsx)(n,{value:e.value,display:`inline`},t))}case`link`:{let l=e.url;if(l===``)return(0,Z.jsx)(`span`,{children:e.children.map((e,t)=>c5(e,t,n,r,i,a,o,s,c))},t);let u=s?.link;if(u)return(0,Z.jsx)(u,{href:l,children:e.children.map((e,t)=>c5(e,t,n,r,i,a,o,s,c))},t);let d=l.startsWith(`https://`)||l.startsWith(`http://`);return(0,Z.jsx)(d?`a`:a,{href:l,onClick:n?e=>{n(l,e)===!1&&e.preventDefault()}:void 0,...d?{target:`_blank`,rel:`noopener noreferrer`}:{},className:`xjse4m1 x1bvjpef`,children:e.children.map((e,t)=>c5(e,t,n,r,i,a,o,s,c))},t)}case`image`:{let n=e.url;if(n===``)return(0,Z.jsxs)(`span`,{children:[`[`,e.alt,`]`]},t);let r=s?.image;return r?(0,Z.jsx)(r,{src:n,alt:e.alt},t):(0,Z.jsx)(`img`,{src:n,alt:e.alt,className:`x193iq5w xh6dtrn`},t)}case`extension`:return U8(c,e,s5(e.source??_6(c,e),r,t),t);case`break`:return r.offset+=1,(0,Z.jsx)(`br`,{},t);case`citation`:{if(r.offset+=1,!i)return(0,Z.jsxs)(`span`,{children:[`[`,e.sourceId,`]`]},t);let n=yse(i,e.sourceId),a=i.sources[e.sourceId]??{title:e.sourceId},o=i.style===`number`?`number`:`label`,c=s?.citation;return c?(0,Z.jsx)(c,{source:a,number:n,variant:o},t):(0,Z.jsx)(H3,{source:a,number:n,variant:o},t)}}}function bse(e,t){let n=t===`compact`;switch(e.type){case`heading`:return e.depth<=3?n?n5.spacingHeadingMajorCompact:n5.spacingHeadingMajorDefault:n?n5.spacingHeadingMinorCompact:n5.spacingHeadingMinorDefault;case`paragraph`:return n?n5.spacingParagraphCompact:n5.spacingParagraphDefault;case`code`:case`math`:return n?n5.spacingCodeblockCompact:n5.spacingCodeblockDefault;case`blockquote`:return n?n5.spacingBlockquoteCompact:n5.spacingBlockquoteDefault;case`list`:return n?n5.spacingListCompact:n5.spacingListDefault;case`table`:return n?n5.spacingTableCompact:n5.spacingTableDefault;case`extension`:return n?n5.spacingParagraphCompact:n5.spacingParagraphDefault;case`thematicBreak`:return n?n5.spacingHrCompact:n5.spacingHrDefault;case`image`:return n?n5.spacingImageCompact:n5.spacingImageDefault}}var xse=4,Sse=24,Cse=2,wse=20;function Tse(e){let[t,...n]=e.children;return t==null?[]:t.children.map((e,t)=>{let r=i5(e.children),i=r;for(let e of n){let n=e.children[t];if(n!=null){let e=i5(n.children);e>i&&(i=e)}}let a=Math.ceil(i/Cse);return Math.min(Sse,Math.max(xse,a,Math.min(r,wse)))})}function l5(e,t){return[e===`center`&&e5.center,e===`right`&&(t?e5.start:e5.end),e===`left`&&t&&e5.end,t&&t5.ruleOnTableEnd]}function u5(e,t,n,r,i,a,o,s,c,l,u=`a`,d,f,p,m,h,g,_=0,v){let y=Q8[l],b=y==null?null:$8.blockAlign(y),x=bse(e,r),S=t===0,w=t===n-1,T=p?.sourceLines===!0,E=T?Y8(e):void 0,D=X8(E),O=E==null?null:{sourceLines:E};switch(e.type){case`heading`:{let n=Math.min(e.depth+i-1,6),m=e.children.map((e,t)=>c5(e,t,a,o,s,u,d,f,p)),h=g?.ids.get(e),_=g?.labels.get(e)??``,y=g?.permalinkUrls.get(e),b=f?.heading;if(b)return(0,Z.jsx)(b,{level:n,id:h,...O,children:m},t);let T=`h${n}`;return y==null||h==null?(0,Z.jsx)(T,{id:h,dir:B8(e,v),...Q(Y(`markdown-heading`,{density:r,level:n}),C(n5.headingBase,o5[n],x,c==null?null:$8.proseWidth(c),l===`start`?null:$8.proseAlign(Z8[l]),S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd)),...D,children:m},t):(0,Z.jsx)(dse,{dir:B8(e,v),headingId:h,headingLabel:_,permalinkUrl:y,contentWidth:c,contentAlign:l,headingTextStyle:[n5.headingBase,o5[n]],blockSpacingStyle:[x,S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd],children:(0,Z.jsx)(T,{id:h,...Q(Y(`markdown-heading`,{density:r,level:n}),C(n5.headingBase,lse,o5[n])),...D,children:m})},t)}case`paragraph`:{let n=e.children.map((e,t)=>c5(e,t,a,o,s,u,d,f,p)),i=f?.paragraph;return i?(0,Z.jsx)(i,{...O,children:n},t):(0,Z.jsx)(`div`,{role:`paragraph`,dir:B8(e,v),...Q(Y(`markdown-paragraph`,{density:r}),C(x,c==null?null:$8.proseWidth(c),l===`start`?null:$8.proseAlign(Z8[l]),S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd)),...D,children:n},t)}case`code`:{o.offset+=e.value.length;let n=nU(e)??`plaintext`,i=PW(e.lang??n),a=i.isDiff,s=(a?i.language.match(/^\\w*/)?.[0]||`plaintext`:void 0)??n,l=aW(h,s)??s,u=f?.code,d=u?(0,Z.jsx)(u,{code:e.value,language:n,...O},t):(0,Z.jsx)(`div`,{...Q(Y(`markdown-codeblock`,{density:r}),C(x,n5.codeBlockWrapper,S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd)),...D,children:(0,Z.jsx)(XW,{code:e.value,language:l,isDiff:a,isCollapsible:!0,isWrapped:!0,xstyle:[c==null?void 0:$8.blockWidth(c),b]})},t),m=Joe(e);if(m==null)return d;let g=g6(p,m.node);if(g==null)return d;try{let e=g.render({node:m.node});return e==null||typeof e==`boolean`?d:(0,Z.jsx)(H8,{pluginName:m.node.plugin,resetKey:m.node,resetRenderer:g.render,fallback:d,children:(0,Z.jsx)(X.Suspense,{fallback:d,children:e})},t)}catch(e){return m6(m.node.plugin,`render`,e),d}}case`math`:{o.offset+=e.value.length;let n=f?.math;return n==null?(0,Z.jsx)(`div`,{role:`paragraph`,children:`$$${e.value}$$`},t):(0,Z.jsx)(n,{value:e.value,display:`block`,...O},t)}case`blockquote`:{let n=f?.blockquote;if(n){let y=e.children.map((t,n)=>u5(t,n,e.children.length,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v));return(0,Z.jsx)(n,{...O,children:y},t)}return(0,Z.jsx)(BY,{dir:B8(e,v),...Y(`markdown-blockquote`,{density:r}),...D,xstyle:[x,c==null?void 0:$8.proseWidth(c),l===`start`?void 0:$8.proseAlign(Z8[l]),S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd],children:e.children.map((t,n)=>u5(t,n,e.children.length,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,V8(e,v)))},t)}case`list`:if(e.children.length>0&&e.children.every(e=>e.checked!=null&&e.children.every(e=>e.type===`paragraph`))){let n=e.children.map((e,t)=>({item:e,key:`task-${t}`})).filter(({item:e})=>e.checked).map(({key:e})=>e);return(0,Z.jsx)(`div`,{...Q(Y(`markdown-list`,{density:r}),C(x,c==null?null:$8.proseWidth(c),l===`start`?null:$8.proseAlign(Z8[l]),S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd)),children:(0,Z.jsx)(nG,{value:QW(),children:(0,Z.jsx)(MG,{label:m(`@astryx.markdown.taskList`),isLabelHidden:!0,value:n,isReadOnly:!0,density:`compact`,children:(0,Z.jsx)(iie,{edge:`flush`,children:e.children.map((e,t)=>{let n=e.children[0],y=e.children.length===1&&n?.type===`paragraph`?(0,Z.jsx)(Z.Fragment,{children:n.children.map((e,t)=>c5(e,t,a,o,s,u,d,f,p))}):(0,Z.jsx)(Z.Fragment,{children:e.children.map((t,n)=>u5(t,n,e.children.length,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_+1,V8(e,v)))});return(0,Z.jsx)(RY,{value:`task-${t}`,label:y,dir:B8(e,v),...T?X8(Y8(e)):void 0},t)})})})})},t)}return(0,Z.jsx)(`div`,{...Q(Y(`markdown-list`,{density:r}),C(x,c==null?null:$8.proseWidth(c),l===`start`?null:$8.proseAlign(Z8[l]),S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd)),children:(0,Z.jsx)(nG,{value:QW(),children:(0,Z.jsx)(CG,{listStyle:e.ordered?`decimal`:`disc`,density:`compact`,edge:`flush`,start:e.ordered?e.start:void 0,children:e.children.map((t,n)=>{let y=t.children[0],b=t.children.length===1&&y?.type===`paragraph`?(0,Z.jsx)(Z.Fragment,{children:y.children.map((e,t)=>c5(e,t,a,o,s,u,d,f,p))}):(0,Z.jsx)(Z.Fragment,{children:t.children.map((e,n)=>u5(e,n,t.children.length,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_+1,V8(t,v)))}),x=t.children.find(e=>e.type===`paragraph`),S=t.checked==null?void 0:{isChecked:t.checked,label:x?.type===`paragraph`?iU(x.children,e=>_6(p,e)):m(`@astryx.markdown.taskList`)},C=B8(t,v),w=e.ordered&&C!=null&&v!=null&&C!==v.around;return(0,Z.jsx)(rie,{marker:(e.ordered?mse:pse)[_%3],task:S,hasMarkerGutter:e.ordered,isOutsideNumberColumns:w,children:(0,Z.jsx)(DY,{label:b,dir:C,...T?X8(Y8(t)):void 0})},n)})})})},t);case`table`:{let n=Tse(e),i=e=>{let t=B8(e,v);return t!=null&&v!=null&&t!==v.around},[m,...h]=e.children,g=f?.inlineCode==null?{...f,inlineCode:gse}:f;return(0,Z.jsx)(`div`,{...Q(Y(`markdown-table`,{density:r}),C(n5.tableWrapper,x,c==null?null:$8.blockWidth(c),Q8[l]==null?null:$8.blockAlign(Q8[l]),S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd)),...D,children:(0,Z.jsxs)(z3,{dividers:`grid`,textOverflow:`wrap`,xstyle:t5.tableOuterEdge,children:[(0,Z.jsx)(Y4,{children:(0,Z.jsx)(mZ,{children:m?.children.map((t,r)=>(0,Z.jsx)(J4,{dir:B8(t,v),xstyle:[t5.headerCell,$8.cellMinWidth(`${n[r]}ch`),...l5(e.align[r],i(t))],children:t.children.map((e,t)=>c5(e,t,a,o,s,u,d,g,p))},r))})}),(0,Z.jsx)(X4,{children:h.map((t,n)=>{let r=t.children.map((t,n)=>(0,Z.jsx)(V4,{dir:B8(t,v),xstyle:[t5.cell,...l5(e.align[n],i(t))],children:t.children.map((e,t)=>c5(e,t,a,o,s,u,d,g,p))},n));return(0,Z.jsx)(mZ,{children:r},n)})})]})},t)}case`extension`:{let n=U8(p,e,s5(e.source??_6(p,e),o,t));return(0,Z.jsx)(`div`,{...C(x,c==null?null:$8.proseWidth(c),l===`start`?null:$8.proseAlign(Z8[l]),S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd),children:n},t)}case`thematicBreak`:{let e=f?.hr;return e?(0,Z.jsx)(e,{...O},t):(0,Z.jsx)(`hr`,{...Q(Y(`markdown-hr`,{density:r}),C(n5.hr,x,S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd)),...D},t)}case`image`:{let n=e.url;if(n===``)return(0,Z.jsxs)(`div`,{...Q(Y(`markdown-image`,{density:r}),C(x,S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd)),...D,children:[`[`,e.alt,`]`]},t);let i=f?.image;return i?(0,Z.jsx)(i,{src:n,alt:e.alt,...O},t):(0,Z.jsx)(`div`,{...Q(Y(`markdown-image`,{density:r}),C(x,S&&n5.noMarginBlockStart,w&&n5.noMarginBlockEnd)),...D,children:(0,Z.jsx)(`img`,{src:n,alt:e.alt,className:`x193iq5w xh6dtrn`})},t)}}}function d5({ref:e,children:t,display:n=`block`,density:r=`default`,headingLevelStart:i=1,isStreaming:a=!1,onLinkClick:o,sources:s,citationStyle:c=`label`,contentWidth:l=680,contentAlign:u=`start`,components:d,plugins:f,inlinePlugins:p,autolink:m,codeLanguages:h,xstyle:g,className:_,style:v,id:y,\"data-testid\":x,...S}){let w=nT(),T=fse(),[E,D]=(0,X.useState)(h);iW(E,h)||D(h);let O=nO(),k=(0,X.useRef)(o);b(()=>{k.current=o});let A=o!=null,j=(0,X.useMemo)(()=>A?(e,t)=>k.current?.(e,t):void 0,[A]),M=(0,X.useMemo)(()=>s?new Set(Object.keys(s)):void 0,[s]),N=(0,X.useMemo)(()=>{if(f!=null)try{return e6(f)}catch(e){m6(`configuration`,`transform`,e);return}},[f]),P=vse(N),F=d?.math!=null,I=(0,X.useMemo)(()=>({sourceIds:M,autolink:m,plugins:P}),[M,m,P]),L=(0,X.useMemo)(()=>({sourceIds:M,autolink:m,math:!0,plugins:P}),[M,m,P]),R=Sae(t,a),z=(0,X.useRef)(O8()),B=(0,X.useRef)(m),V=(0,X.useRef)(F);(B.current!==m||V.current!==F)&&(z.current=O8(),B.current=m,V.current=F);let H=(0,X.useMemo)(()=>{if(n===`inline`)return[];if(a){if(R===``)return z.current=O8(),[];let e=k8(R,F?L:I);return(F?L8(e,z.current,L):L8(e,z.current,I)).children}return(F?w8(t,L):w8(t,I)).children},[n,R,t,a,F,L,I]),ee=a?k8(R,F?L:I):t,U=(0,X.useMemo)(()=>h6({type:`root`,children:H},N,ee,!a,`block`).children,[H,N,ee,a]),te=(0,X.useMemo)(()=>{if(n!==`inline`&&U.length!==0)return ase({type:`root`,children:U},N)},[n,U,N]),W=(0,X.useMemo)(()=>{if(n!==`inline`)return[];let e=a?k8(R,F?L:I):t;return F?t8(e,L):t8(e,I)},[n,R,t,a,F,L,I]),G=a?k8(R,F?L:I):t,ne=(0,X.useMemo)(()=>{if(n!==`inline`)return[];let e=h6({type:`root`,children:[{type:`paragraph`,children:W}]},N,G,!a,`inline`).children[0];return e?.type===`paragraph`?[...e.children]:W},[n,W,N,G,a]),{token:re}=Ws(),ie=(0,X.useMemo)(()=>{let e=r5(re(`--duration-fast-max`))??230,t=r5(re(`--duration-fast-min`)),n=t==null?50:Math.max(4,Math.round(t/10));return Math.min(Math.ceil(e/n),12)},[re]),K=(0,X.useRef)([]),q=(0,X.useRef)([]),ae=(0,X.useRef)([]),oe=R.length,se=(0,X.useMemo)(()=>{let e=n===`inline`?i5(q.current):a5(K.current),t=Cae(ae.current,e,ie);return ae.current=t,t},[n,oe,ie]),ce=l?typeof l==`number`?`${l}px`:l:null,le=(0,X.useMemo)(()=>{if(n===`inline`)return null;let e={offset:0,boundaries:se,active:a},t=s?{sources:s,numberMap:new Map,nextNumber:1,style:c}:null;return U.map((n,a)=>u5(n,a,U.length,r,i,j,e,t,ce,u,O,p,d,N,w,E,te,void 0,{provider:T,around:T}))},[n,U,se,a,s,c,r,i,j,ce,u,O,p,d,N,w,te,E,T]);if(n===`inline`){let t={offset:0,boundaries:se,active:a},n=s?{sources:s,numberMap:new Map,nextNumber:1,style:c}:null,i=(0,Z.jsx)(`span`,{ref:e,...S,id:y,\"data-testid\":x,...Q(Y(`markdown`,{density:r}),C(n5.root,n5.inlineRoot,g),_,v),children:ne.map((e,r)=>c5(e,r,j,t,n,O,p,d,N))});return q.current=ne,K.current=[],i}let J=(0,Z.jsx)(`div`,{ref:e,...S,id:y,role:`document`,\"data-testid\":x,...Q(Y(`markdown`,{density:r}),C(n5.root,g),_,v),children:le});return K.current=U,q.current=[],J}d5.displayName=`Markdown`;var f5=[`#2F6FDE`,`#F28C28`,`#1FA463`,`#C2389B`,`#E5484D`,`#7A5AF8`],p5=e=>e==null?`–`:Math.round(e)+`°`,Ese=(e,t)=>t===0?`Today`:new Date(e+`T12:00:00`).toLocaleDateString(void 0,{weekday:`short`}),Dse=e=>String(e).replace(/^https?:\\/\\//,``).replace(/\\/$/,``);function m5({kind:e,size:t}){let n=e=>(0,Z.jsx)(`path`,{d:`M11 `+(e+10)+`a6 6 0 0 1 1-12 8 8 0 0 1 15 2 5 5 0 0 1 0 10z`,fill:`#B8C0CC`}),r=[14,21,28];return(0,Z.jsxs)(`svg`,{viewBox:`0 0 40 40`,width:t,height:t,\"aria-hidden\":`true`,children:[e===`sun`&&(0,Z.jsx)(`circle`,{cx:20,cy:20,r:8,fill:`#F5A623`}),e===`partly`&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`circle`,{cx:15,cy:15,r:7,fill:`#F5A623`}),n(14)]}),e===`rain`&&(0,Z.jsxs)(Z.Fragment,{children:[n(10),r.map(e=>(0,Z.jsx)(`line`,{x1:e,y1:31,x2:e-2,y2:36,stroke:`#2F6FDE`,strokeWidth:2.4,strokeLinecap:`round`},e))]}),e===`snow`&&(0,Z.jsxs)(Z.Fragment,{children:[n(10),r.map(e=>(0,Z.jsx)(`circle`,{cx:e,cy:33,r:1.8,fill:`#7FA6D8`},e))]}),e===`storm`&&(0,Z.jsxs)(Z.Fragment,{children:[n(10),(0,Z.jsx)(`path`,{d:`M21 28l-4 6h4l-2 5 6-8h-4l2-3z`,fill:`#F5A623`})]}),![`sun`,`partly`,`rain`,`snow`,`storm`].includes(e)&&n(14)]})}function Ose({d:e}){let t=e.hours.map(e=>e.temp).filter(e=>e!=null),n=null;if(t.length>1){let r=Math.min(...t),i=Math.max(...t),a=e.hours.length,o=(e,t)=>[14+t*532/(a-1),56-(e.temp-r)/(i-r||1)*32];n=(0,Z.jsxs)(`svg`,{viewBox:`0 0 560 88`,className:`wline`,role:`img`,\"aria-label\":`Temperature over the next 24 hours`,children:[(0,Z.jsx)(`polyline`,{points:e.hours.map((e,t)=>o(e,t).join(`,`)).join(` `),fill:`none`,stroke:`currentColor`,strokeWidth:2}),e.hours.map((e,t)=>{let n=o(e,t);return(0,Z.jsxs)(`g`,{children:[(0,Z.jsx)(`text`,{x:n[0],y:n[1]-6,textAnchor:`middle`,fontSize:11,fill:`currentColor`,children:Math.round(e.temp)+`°`}),(0,Z.jsx)(`text`,{x:n[0],y:84,textAnchor:`middle`,fontSize:10,fill:`#888`,children:e.time})]},t)})]})}return(0,Z.jsxs)(`div`,{className:`wg wgw`,children:[(0,Z.jsxs)(`div`,{className:`wtop`,children:[(0,Z.jsxs)(`div`,{className:`wbig`,children:[(0,Z.jsx)(m5,{kind:e.now.icon,size:56}),(0,Z.jsx)(`span`,{className:`wtemp`,children:p5(e.now.temp)}),(0,Z.jsx)(`span`,{className:`wunit`,children:e.unit})]}),(0,Z.jsxs)(`div`,{className:`wmeta`,children:[(0,Z.jsx)(`span`,{children:e.now.sky}),(0,Z.jsx)(`span`,{children:`Feels like `+p5(e.now.feels)}),(0,Z.jsx)(`span`,{children:`Humidity `+(e.now.humidity==null?`–`:e.now.humidity+`%`)}),(0,Z.jsx)(`span`,{children:`Wind `+(e.now.wind==null?`–`:Math.round(e.now.wind)+` `+e.wind)})]}),(0,Z.jsx)(`div`,{className:`wplace`,children:e.place})]}),n,(0,Z.jsx)(`div`,{className:`wdays`,children:e.days.map((e,t)=>(0,Z.jsxs)(`div`,{className:`wday`,title:e.sky,children:[(0,Z.jsx)(`b`,{children:Ese(e.date,t)}),(0,Z.jsx)(m5,{kind:e.icon,size:30}),(0,Z.jsx)(`span`,{children:p5(e.high)+` / `+p5(e.low)}),(0,Z.jsx)(`em`,{children:e.rain==null?``:e.rain+`% rain`})]},e.date||t))})]})}function kse({d:e}){let[t,n]=(0,X.useState)({}),[r,i]=(0,X.useState)(-1),a=e.labels.length,o=t=>t==null?`–`:(Math.abs(t)>=1e3?t.toLocaleString():Math.round(t*100)/100)+(e.unit?` `+e.unit:``),s=[];e.series.forEach((e,n)=>{t[n]||e.values.forEach(e=>{e!=null&&s.push(e)})}),s.length||s.push(0,1);let c=Math.min(...s),l=Math.max(...s);e.type!==`line`&&(c=Math.min(0,c)),c===l&&(l=c+1);let u=(l-c)/4,d=10**Math.floor(Math.log10(u)),f=u/d,p=(f<=1?1:f<=2?2:f<=5?5:10)*d;c=Math.floor(c/p)*p,l=Math.ceil(l/p)*p;let m=e.type===`bar`,h=e=>m?46+(e+.5)*500/a:46+e*500/Math.max(1,a-1),g=e=>16+(l-e)/(l-c)*204,_=e.series.map((e,t)=>t).filter(e=>!t[e]),v=Math.max(3,500/a/(_.length+1)),y=Math.ceil(a/8),b=e=>{let t=e.currentTarget.getBoundingClientRect(),n=(e.clientX-t.left)/t.width*560,r=500/(m?a:Math.max(1,a-1));return Math.max(0,Math.min(a-1,Math.round(m?(n-46)/r-.5:(n-46)/r)))},x=g(Math.max(c,0));return(0,Z.jsxs)(`div`,{className:`wg wgchart`,children:[e.title&&(0,Z.jsx)(`div`,{className:`wtitle`,children:e.title+(e.unit?` (`+e.unit+`)`:``)}),(0,Z.jsxs)(`svg`,{viewBox:`0 0 560 250`,className:`wchart`,role:`img`,\"aria-label\":e.title||`Chart`,onPointerMove:e=>i(b(e)),onPointerDown:e=>i(b(e)),onPointerLeave:()=>i(-1),children:[[0,1,2,3,4].map(e=>{let t=c+(l-c)*e/4,n=g(t);return(0,Z.jsxs)(`g`,{children:[(0,Z.jsx)(`line`,{x1:46,y1:n,x2:546,y2:n,stroke:`currentColor`,strokeOpacity:.12}),(0,Z.jsx)(`text`,{x:40,y:n+4,textAnchor:`end`,fontSize:11,fill:`#888`,children:Math.abs(t)>=1e3?Math.round(t).toLocaleString():Math.round(t*10)/10})]},e)}),e.labels.map((e,t)=>t%y?null:(0,Z.jsx)(`text`,{x:h(t),y:241,textAnchor:`middle`,fontSize:11,fill:`#888`,children:e},t)),r>=0&&!m&&(0,Z.jsx)(`line`,{x1:h(r),y1:16,x2:h(r),y2:220,stroke:`currentColor`,strokeOpacity:.35,strokeDasharray:`3 3`}),_.map((t,n)=>{let i=e.series[t],o=f5[t%6];if(m)return(0,Z.jsx)(`g`,{children:i.values.map((e,t)=>{if(e==null)return null;let i=h(t)-v*_.length/2+n*v,a=g(0),s=g(e);return(0,Z.jsx)(`rect`,{x:i,y:Math.min(a,s),width:v*.88,height:Math.max(1,Math.abs(a-s)),fill:o,opacity:r===t||r<0?1:.45},t)})},t);let s=[];return i.values.forEach((e,t)=>{e!=null&&s.push([h(t),g(e)])}),s.length?(0,Z.jsxs)(`g`,{children:[e.type===`area`&&(0,Z.jsx)(`polygon`,{points:[[s[0][0],x],...s,[s[s.length-1][0],x]].map(e=>e.join(`,`)).join(` `),fill:o,fillOpacity:.2}),(0,Z.jsx)(`polyline`,{points:s.map(e=>e.join(`,`)).join(` `),fill:`none`,stroke:o,strokeWidth:2.4,strokeLinejoin:`round`,strokeLinecap:`round`}),i.values.map((e,t)=>e==null||!(r===t||a<=24)?null:(0,Z.jsx)(`circle`,{cx:h(t),cy:g(e),r:r===t?5:3,fill:r===t?o:`transparent`,stroke:o,strokeWidth:2},t))]},t):null})]}),r>=0&&(0,Z.jsxs)(`div`,{className:`wtipline`,children:[(0,Z.jsx)(`b`,{children:e.labels[r]}),e.series.map((e,n)=>t[n]?null:(0,Z.jsxs)(`span`,{children:[(0,Z.jsx)(`i`,{className:`wdt`,style:{background:f5[n%6]}}),(e.name||`Series `+(n+1))+`: `,(0,Z.jsx)(`b`,{children:o(e.values[r])})]},n))]}),(e.series.length>1||e.series[0].name)&&(0,Z.jsx)(`div`,{className:`wlegend`,children:e.series.map((r,i)=>(0,Z.jsx)(`button`,{type:`button`,className:`wlg`+(t[i]?` off`:``),style:{\"--c\":f5[i%6]},onClick:()=>n(t=>{let n={...t};return n[i]?delete n[i]:Object.keys(n).length{let t=/ready|running|ok|healthy/i.test(e.status),n=/error|fail|crash/i.test(e.status);return(0,Z.jsxs)(`li`,{children:[(0,Z.jsx)(`i`,{className:`wdot `+(t?`ok`:n?`bad`:`wait`)}),(0,Z.jsx)(`b`,{children:e.name}),(0,Z.jsx)(`span`,{children:[e.type,e.port?`:`+e.port:``].filter(Boolean).join(` `)}),(0,Z.jsx)(`em`,{children:e.status})]},e.name)})})]})}function jse({d:e}){let t=(e,t,n)=>(0,Z.jsx)(`a`,{href:e,target:`_blank`,rel:`noopener noreferrer`,className:n,children:t});return(0,Z.jsxs)(`div`,{className:`wg wgrow`,children:[(0,Z.jsx)(`div`,{className:`wtitle`,children:`Grow it · `+Dse(e.url)}),(0,Z.jsx)(`div`,{className:`gsec`,children:`Can AI search find it`}),e.check?(0,Z.jsxs)(`div`,{className:`gcheck`,children:[(0,Z.jsxs)(`div`,{className:`gscore`,children:[(0,Z.jsx)(`b`,{children:String(e.check.score)}),(0,Z.jsx)(`span`,{children:`/100 · `+e.check.grade})]}),(0,Z.jsxs)(`div`,{className:`gfix`,children:[e.check.fixes.length?e.check.fixes.map(e=>(0,Z.jsxs)(`p`,{children:[(0,Z.jsx)(`b`,{children:e.title+`: `}),e.summary]},e.title)):(0,Z.jsx)(`p`,{children:`ChatGPT, Claude, Perplexity and Google can read and cite this page.`}),t(e.check.report,`Full report on Citable`)]})]}):(0,Z.jsx)(`p`,{className:`gdim`,children:`The check did not answer this time. Try it on citable.flisk.si.`}),(0,Z.jsx)(`div`,{className:`gsec`,children:`Who would buy it`}),(0,Z.jsx)(`p`,{children:e.buyers}),e.pitch&&(0,Z.jsx)(`p`,{className:`gpitch`,children:e.pitch}),(0,Z.jsx)(`div`,{className:`gsec`,children:`Where to find them`}),(0,Z.jsx)(`ul`,{className:`gplaces`,children:e.places.map(e=>(0,Z.jsxs)(`li`,{children:[e.url?t(e.url,e.name):(0,Z.jsx)(`b`,{children:e.name}),e.why&&(0,Z.jsx)(`span`,{children:e.why})]},e.name))}),(0,Z.jsx)(`div`,{className:`gsec`,children:`Emails to send (`+e.emails.length+`)`}),e.emails.map((e,t)=>(0,Z.jsxs)(`div`,{className:`gmail`,children:[e.to&&(0,Z.jsx)(`div`,{className:`gto`,children:`To: `+e.to}),(0,Z.jsx)(`b`,{children:e.subject}),(0,Z.jsx)(`div`,{className:`gbody`,children:e.body}),(0,Z.jsxs)(`div`,{className:`gacts`,children:[(0,Z.jsx)(IO,{size:`sm`,variant:`primary`,label:`Open in Gmail`,href:`https://mail.google.com/mail/?view=cm&fs=1&su=`+encodeURIComponent(e.subject)+`&body=`+encodeURIComponent(e.body),target:`_blank`}),(0,Z.jsx)(IO,{size:`sm`,variant:`secondary`,label:`Mail app`,href:`mailto:?subject=`+encodeURIComponent(e.subject)+`&body=`+encodeURIComponent(e.body)}),(0,Z.jsx)(IO,{size:`sm`,variant:`ghost`,label:`Copy`,onClick:()=>navigator.clipboard&&navigator.clipboard.writeText(e.subject+`\n\n`+e.body).catch(()=>{})})]})]},t)),(0,Z.jsx)(`p`,{className:`gdim`,children:`Nothing is sent for you: add the address in Gmail and press Send yourself.`}),t(`https://grow.flisk.si/?url=`+encodeURIComponent(e.url),`Full plan on grow.flisk.si: posts and where to list it`)]})}var Mse={web:({d:e})=>(0,Z.jsx)(`div`,{className:`wg wgweb`,children:(0,Z.jsx)(`span`,{children:`Read `+e.host+(e.count?` (`+e.count+` items)`:``)})}),weather:Ose,chart:kse,services:Ase,grow:jse},Nse=class extends X.Component{constructor(e){super(e),this.state={bad:!1}}static getDerivedStateFromError(){return{bad:!0}}render(){return this.state.bad?null:this.props.children}};function Pse({w:e}){let t=Mse[e.kind];return!t||!e.data?null:(0,Z.jsx)(Nse,{children:(0,Z.jsx)(t,{d:e.data})})}async function Fse(e){let t=new URL(`../cfworker2browser/`,LO.pod).href,n=await import(t+`src/index.js`),r=URL.createObjectURL(new Blob([`import `+JSON.stringify(t+`src/worker-entry.js`)+`;`],{type:`text/javascript`}));return n.startWorker({code:e,entry:r})}var Ise=e=>{let t=[];return String(e||``).replace(/[\"']([/][A-Za-z0-9_\\-/.:]*)[\"']/g,(e,n)=>(n.length>1&&!t.includes(n)&&t.length<6&&t.push(n),e)),t};function Lse({ev:e}){let[t,n]=(0,X.useState)(`GET /`),[r,i]=(0,X.useState)(null),[a,o]=(0,X.useState)(!1),s=(0,X.useRef)(null);if(!LO.pod)return null;let c=Ise(e.code),l=async t=>{o(!0);let n=performance.now();try{let r=t.trim().split(/\\s+/),a=r.length>1?r[0].toUpperCase():`GET`,o=r.length>1?r[1]:r[0];s.current||=Fse(e.code);let c=await s.current,l={method:a};[`GET`,`HEAD`].includes(a)||(l.body=prompt(`Body to send (text, usually JSON)`,`{}`)??`{}`,l.headers={\"content-type\":`application/json`});let u=await c.fetch(`https://worker.local`+(o.startsWith(`/`)?o:`/`+o),l),d=await u.text();try{d=JSON.stringify(JSON.parse(d),null,2)}catch{}i({ok:u.ok,label:u.status+(u.statusText?` `+u.statusText:``),ms:Math.round(performance.now()-n),text:d.slice(0,4e3)})}catch(e){s.current=null,i({ok:!1,label:`Error`,ms:Math.round(performance.now()-n),text:`Could not run it: `+String(e&&e.message||e)})}o(!1)};return(0,Z.jsxs)(`div`,{className:`wcard`,children:[(0,Z.jsxs)(`div`,{className:`wctop`,children:[(0,Z.jsx)(`i`,{className:`wdot ok`}),(0,Z.jsx)(`b`,{children:`Live in this tab`}),(0,Z.jsx)(`span`,{children:`no deploy · no key · free`})]}),(0,Z.jsxs)(`div`,{className:`wcbody`,children:[(0,Z.jsxs)(`form`,{className:`wrow`,onSubmit:e=>{e.preventDefault(),l(t)},children:[(0,Z.jsx)(`input`,{value:t,onChange:e=>n(e.target.value),\"aria-label\":`Request: method and path`,spellCheck:!1}),(0,Z.jsx)(IO,{type:`submit`,label:`Send`,variant:`primary`,size:`sm`,isDisabled:a})]}),c.length>0&&(0,Z.jsx)(`div`,{className:`wchips`,children:c.map(e=>(0,Z.jsx)(`button`,{type:`button`,onClick:()=>{n(`GET `+e),l(`GET `+e)},children:e},e))}),r&&(0,Z.jsxs)(`div`,{className:`wrres`,children:[(0,Z.jsxs)(`div`,{className:`wrmeta`,children:[(0,Z.jsx)(`span`,{className:`wrst`+(r.ok?``:` bad`),children:r.label}),(0,Z.jsx)(`span`,{children:r.ms+` ms`}),(0,Z.jsx)(`button`,{type:`button`,onClick:()=>navigator.clipboard&&navigator.clipboard.writeText(r.text).catch(()=>{}),children:`Copy`})]}),(0,Z.jsx)(`pre`,{className:`wrout`,children:r.text})]})]})]})}var h5=e=>!!(LO.inf&&typeof navigator<`u`&&navigator.gpu&&e&&e.results&&e.results.length);function Rse(e,t,n){return new Promise(r=>{let i=LO.inf,a=document.createElement(`iframe`),o=!1,s=``;a.src=i+`/browser-model`,a.setAttribute(`allow`,`webgpu`),a.hidden=!0,a.title=`Browser model`;let c=e=>{window.removeEventListener(`message`,l),clearTimeout(u),clearInterval(f),a.remove(),r(e)},l=r=>{if(r.origin!==i||r.source!==a.contentWindow)return;let l=r.data||{};if(l.from===`flisk-browser-model`){if(l.ev===`ready`){if(o)return;if(o=!0,!l.webgpu){t(`This browser has no WebGPU`),c(!1);return}let n=l.models||[],r=(navigator.deviceMemory||4)>=8&&n.includes(`flisk-browser-chat`)?`flisk-browser-chat`:n.includes(`flisk-browser-chat-lite`)?`flisk-browser-chat-lite`:n[0];if(!r){t(`No browser model is available`),c(!1);return}let s=e.results.map((e,t)=>`[`+(t+1)+`] `+e.title+`: `+e.snippet).join(`\n`);a.contentWindow.postMessage({cmd:`generate`,id:`a1`,model:r,maxTokens:400,messages:[{role:`system`,content:`Answer the question using only the sources. Cite them as [1], [2]. Reply in the language of the question. Be short and exact. If the sources do not answer it, say so.`},{role:`user`,content:`Sources:\n`+s+`\n\nQuestion: `+e.question}]},i)}else l.ev===`progress`?t(`Loading the model in your browser: `+Math.round((l.progress||0)*100)+`%`):l.ev===`delta`?(s+=l.text,n(s),t(`Writing the answer…`)):l.ev===`done`?c(!0):l.ev===`error`&&(t(`The browser model could not run: `+l.error),c(!1))}},u=setTimeout(()=>{o||(t(`The browser model did not start`),c(!1))},2e4),d=()=>{if(!o)try{a.contentWindow.postMessage({cmd:`status`},i)}catch{}},f=setInterval(()=>{o?clearInterval(f):d()},700);a.addEventListener(`load`,d),window.addEventListener(`message`,l),document.body.appendChild(a)})}function zse({info:e}){let[t,n]=(0,X.useState)(`Write a better answer in my browser (free, about 0.4 GB once)`),[r,i]=(0,X.useState)(!1),[a,o]=(0,X.useState)(!1),[s,c]=(0,X.useState)(``),l=()=>{i(!0),Rse(e,n,c).then(e=>{e?(qO(`chat_browser_model`,`on`),o(!0)):i(!1)},()=>i(!1))};return(0,X.useEffect)(()=>{h5(e)&&KO(`chat_browser_model`)===`on`&&l()},[]),h5(e)?(0,Z.jsxs)(Z.Fragment,{children:[s&&(0,Z.jsx)(d5,{density:`compact`,children:s}),!a&&(0,Z.jsx)(`div`,{children:(0,Z.jsx)(IO,{label:t,variant:`secondary`,size:`sm`,isDisabled:r,onClick:l})})]}):null}var g5=e=>({task:e,steps:[],text:``,answer:null,status:`Working`,link:``,video:``,outs:[],sources:[],widgets:[],workers:[],error:null,needPod:!1,browser:null,model:``,podStarted:0,kept:null}),_5=(e,t)=>({...e,steps:[...e.steps,{status:`complete`,...t}]}),Bse=e=>Number(e||0).toLocaleString();function v5(e,t){switch(t.type){case`thinking`:return{...e,status:`Thinking, step `+t.step,text:``};case`sources`:return{...e,status:`Read `+t.sources.length+(t.sources.length>1?` sources`:` source`)+` on Wikipedia`};case`pod_starting`:return{..._5(e,{name:`computer`,target:`Starting a computer`}),status:`Starting a computer`,podStarted:Date.now()};case`pod_started`:return{...e,podStarted:0,status:`Computer ready on `+t.provider,node:t.provider};case`run`:return{..._5(e,{name:`run`,target:t.command,node:e.node}),status:`Running a command`};case`write`:return{..._5(e,{name:`write`,target:t.path+` (`+Bse(t.bytes)+` characters)`,node:e.node}),status:`Writing files`};case`read`:return _5(e,{name:`read`,target:t.path,node:e.node});case`publish`:return{..._5(e,{name:`publish`,target:t.path}),status:`Publishing`};case`worker`:return{..._5(e,{name:`worker`,target:`Running `+t.path+` as a Worker in this tab`}),workers:[...e.workers,t]};case`site`:return{..._5(e,{name:`site`,target:`Drawing a `+t.layout+` page: `+t.title}),status:`Publishing`};case`image_start`:return{..._5(e,{name:`image`,target:`Drawing the picture`}),status:`Drawing the picture`};case`photo`:return{..._5(e,{name:`image`,target:`Drawing the photo for the page`}),status:`Drawing the photo`};case`share`:return{..._5(e,{name:`share`,target:`Giving the running app a public link (port `+Number(t.port)+`)`}),status:`Sharing the app`};case`system_plan`:return{..._5(e,{name:`system`,target:`Building a system of `+t.services.length+` services: `+t.services.join(`, `)}),status:`Building a system`};case`system_start`:return _5(e,{name:`system`,target:`Starting all services with Flisk`});case`video_start`:return{..._5(e,{name:`video`,target:`Making a video: `+t.title+` (`+t.scenes+` scenes)`}),status:`Making a video`};case`note`:{let n=e.steps[e.steps.length-1];return n&&n.name===`note`&&n.target===t.text?e:_5(e,{name:`note`,target:t.text})}case`output`:{if(t.error)return{...e,outs:[...e.outs,{text:t.error,bad:!0}]};let n=[t.stdout,t.stderr,t.content].filter(Boolean).join(`\n`).replace(/\\n$/,``);return{...e,link:t.live||t.published||e.link,video:t.video||e.video,outs:n||t.exitCode>0?[...e.outs,{text:n,bad:t.exitCode>0}]:e.outs}}case`search`:return{..._5(e,{name:`search`,target:`Searching the web: `+t.query}),status:`Searching the web`};case`websources`:return{...e,sources:[...e.sources,...t.results||[]]};case`pod_stopped`:return _5(e,{name:`computer`,target:`Computer stopped`});case`pod_kept`:{let n=t.until?new Date(t.until).toLocaleTimeString([],{hour:`2-digit`,minute:`2-digit`}):`the provider stops it`;return{..._5(e,{name:`computer`,target:t.days?`Computer kept running for the live app: it sleeps when idle, wakes on a visit, deleted after `+Number(t.days)+` days`:`Computer kept running for the live app until `+n}),kept:{days:Number(t.days)||0,until:t.until||0}}}case`widget`:return{...e,widgets:[...e.widgets,t]};case`delta`:return{...e,text:e.text+t.text};case`retry`:return{...e,text:``};case`reroute`:return{..._5(e,{name:`model`,target:t.text}),status:t.text};case`model`:return{..._5(e,{name:`model`,target:`Answered by `+t.name}),model:t.name};case`answer`:return{...e,answer:t.text};case`needcomputer`:return{...e,needPod:!0};case`browseranswer`:return{...e,browser:t};case`error`:return{...e,error:{message:t.error,kind:t.kind||`other`}};case`file`:return t.error?{...e,outs:[...e.outs,{text:`Could not put `+t.path+` on the computer: `+t.error,bad:!0}]}:e;default:return e}}function Vse(e,t){let n=t&&(e===`key`||e===`model`||e===`limit`)?`other`:e;return n===`key`?[`setup-key`,`wolf`]:n===`model`?[`choose-model`,`wolf`]:n===`limit`?[`wolf`,`change-provider`]:n===`computer`?[`connect-computer`,`retry`]:n===`busy`?[`retry`,`openrouter`,`discord`]:[`retry`,`change-model`]}var Hse=e=>String(e[0]&&e[0].content||``).split(`\n`)[0].slice(0,80),y5=e=>e.answer===null?e.text:e.answer;function Use(e,t){let n=e[e.length-1];if(!n||n.old)return``;if(t)return(n.t.status||`Working`)+`…`;if(n.t.error)return``;let r=y5(n.t);return r?`Answer ready: `+r.slice(0,300):n.t.status===`Done`?`Done.`:``}var Wse=e=>[...new Set([...String(e||``).matchAll(/!\\[[^\\]]*\\]\\(((?:https?:\\/\\/|\\/)[^\\s)]+)\\)/g)].map(e=>e[1]))],Gse=e=>/^(1|true|talk)$/.test(new URLSearchParams(e||``).get(`voice`)||``);function Kse({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3`}))}var b5=X.forwardRef(Kse);function qse({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25`}))}var Jse=X.forwardRef(qse);function Yse({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M2.25 12.76c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.076-4.076a1.526 1.526 0 0 1 1.037-.443 48.282 48.282 0 0 0 5.68-.494c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z`}))}var Xse=X.forwardRef(Yse);function Zse({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a6.932 6.932 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.086.22-.128.332-.183.582-.495.644-.869l.214-1.28Z`}),X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z`}))}var x5=X.forwardRef(Zse);function Qse({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25`}))}var $se=X.forwardRef(Qse);function ece({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z`}))}var S5=X.forwardRef(ece);function tce({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z`}))}var nce=X.forwardRef(tce);function rce({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M12 18.75a6 6 0 0 0 6-6v-1.5m-6 7.5a6 6 0 0 1-6-6v-1.5m6 7.5v3.75m-3.75 0h7.5M12 15.75a3 3 0 0 1-3-3V4.5a3 3 0 1 1 6 0v8.25a3 3 0 0 1-3 3Z`}))}var C5=X.forwardRef(rce);function ice({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`m18.375 12.739-7.693 7.693a4.5 4.5 0 0 1-6.364-6.364l10.94-10.94A3 3 0 1 1 19.5 7.372L8.552 18.32m.009-.01-.01.01m5.699-9.941-7.81 7.81a1.5 1.5 0 0 0 2.112 2.13`}))}var ace=X.forwardRef(ice);function oce({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M12 4.5v15m7.5-7.5h-15`}))}var w5=X.forwardRef(oce);function sce({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z`}))}var T5=X.forwardRef(sce);function cce({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M19.114 5.636a9 9 0 0 1 0 12.728M16.463 8.288a5.25 5.25 0 0 1 0 7.424M6.75 8.25l4.72-4.72a.75.75 0 0 1 1.28.53v15.88a.75.75 0 0 1-1.28.53l-4.72-4.72H4.51c-.88 0-1.704-.507-1.938-1.354A9.009 9.009 0 0 1 2.25 12c0-.83.112-1.633.322-2.396C2.806 8.756 3.63 8.25 4.51 8.25H6.75Z`}))}var lce=X.forwardRef(cce);function uce({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z`}))}var E5=X.forwardRef(uce);function dce({title:e,titleId:t,...n},r){return X.createElement(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:1.5,stroke:`currentColor`,\"aria-hidden\":`true`,\"data-slot\":`icon`,ref:r,\"aria-labelledby\":t},n),e?X.createElement(`title`,{id:t},e):null,X.createElement(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0`}))}var fce=X.forwardRef(dce);qg();var pce=[Kg.reset,{root:{\"--layout-content-width\":`x1vpwbdg`,\"--layout-alignment-width\":`x479rhq`,\"--_layout-flush-block-start\":`xu9n9za`,\"--_layout-flush-block-end\":`xt8hc1d`,\"--container-max-height\":`x52i7cl`,$$css:!0}}.root];ys();var D5=_s(`AppShellMobileContext`,1,{isMobile:!1,isMobileNavOpen:!1,toggleMobileNav:()=>{},openMobileNav:()=>{},closeMobileNav:()=>{},isMobileNavEnabled:!1,hasAutoToggle:!0});D5.displayName=`AppShellMobileContext`;function O5(){return(0,X.use)(D5)}sE(),iT(),Ww({\"@astryx.mobileNav.toggle.open\":`Open navigation`});function k5({ref:e,children:t,label:n,\"data-testid\":r,xstyle:i,className:a,style:o,onClick:s,...c}){let l=nT(),u=n??l(`@astryx.mobileNav.toggle.open`),{isMobile:d,isMobileNavEnabled:f,isMobileNavOpen:p,mobileNavId:m,toggleMobileNav:h}=O5();return!d||!f?null:(0,Z.jsx)(IO,{...c,ref:e,variant:`ghost`,label:u,icon:t??(0,Z.jsx)(XT,{icon:`menu`,color:`inherit`}),onClick:_C(h,s),\"aria-expanded\":p,\"aria-controls\":m||void 0,\"data-testid\":r??`mobile-nav-toggle`,xstyle:i,className:a,style:o,isIconOnly:!0})}k5.displayName=`MobileNavToggle`;function mce({isOpen:e,presentation:t}){let[n,r]=(0,X.useState)(null),i=n;e&&n==null&&(i={value:t},r(i));let a=(0,X.useCallback)(()=>r(null),[]);return{presentation:i==null?null:i.value,isHeld:i!=null,release:a}}D(),sE(),RC(),Up(),Gp(),Xf(),op(),qg(),Tx(),KM(),Ux(),vr(),ds(),vx(),Rk(),ox(),Qk(),Lj(),iT(),Ww({\"@astryx.mobileNav.closeNavigation\":`Close navigation`,\"@astryx.mobileNav.navigation\":`Navigation`});var A5={dialog:{kVAEAm:`xixxii4`,kogj98:`x1ghz6dp`,kmVPX3:`x1717udv`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,ks0D6T:`x1x1rfll`,kskxy:`x7ab17h`,kpwlN0:`x10a8y8t`,kzqmXN:`xn9wirt`,kZKoxP:`xtdtrs8`,kWkggS:`xjbqb8w`,kVQacm:`x7giv3`,kZeWKH:`xish69e`,kFalU9:`x1j4r261`,kI3sdo:`x1a2a7pz`,k1xSpc:`x1s85apg`,k1ekBW:`xrgi2yo`,kIyJzY:`x80gvsz`,kzIqYQ:`xd00j3c`,$$css:!0},open:{k1xSpc:`x78zum5`,$$css:!0},backdrop:{kGyWv1:`xnixb3f`,k5sjJv:`xph5o2a`,kND0Po:`x167zut7`,k9an0g:`xft5bk6`,kb4ib:`x15h3t91`,kA5Tbj:`x1viac0w`,$$css:!0},backdropOpen:{k5sjJv:`xb3n6bw xxiuuzi`,$$css:!0},drawer:{kVAEAm:`x10l6tqk`,k87sOh:`x13vifvy`,krVfgx:`x1ey2m1c`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kWkggS:`x10xzikg`,kMwMTN:`x1tgivj0`,kB7OPa:`x9f619`,kVQacm:`xb3r6kr`,k1ekBW:`x11xpdln`,kIyJzY:`x80gvsz`,kAMwcw:`xlr8y92`,kI3sdo:`x1a2a7pz`,k6CgDc:`xzg1mie`,$$css:!0},drawerStart:{kLqNvP:`x1o0tod`,ke9TFa:`xw8tdv1`,k8ry5P:`x18b5jzi`,kBCPoo:`x1gejf6u`,k3aq6I:`x5i6ehr xttggg`,$$css:!0},drawerStartOpen:{k3aq6I:`xbryuvx x6mt36l x14gflnl`,$$css:!0},drawerEnd:{kt4wiu:`xtijo5x`,k2ei4v:`xgbv0en`,kVhnKS:`x1t7ytsu`,kGJrpR:`x1j92z86`,k3aq6I:`xumwmo6 x1df3fe5`,$$css:!0},drawerEndOpen:{k3aq6I:`xbryuvx x1yqmsfc x1lymnkk`,$$css:!0},headerText:{keTefX:`x11g1kdw`,$$css:!0}},hce={kzqmXN:`x5lhr3w`,ks0D6T:`x1jrhgas`,$$css:!0},gce={width:e=>[hce,{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(`${e}px`)}]},_ce=.6;function vce(e){let t=e.split(`,`).map(e=>{let t=e.trim(),n=Number.parseFloat(t);return Number.isFinite(n)?t.endsWith(`ms`)?n:t.endsWith(`s`)?n*1e3:null:null}).filter(e=>e!==null);return t.length?Math.min(...t):null}function yce(e){let t=cs(e.ownerDocument.defaultView,`(prefers-reduced-motion: reduce)`)?0:250,n=vce(window.getComputedStyle(e).transitionDuration);return n===null?t:n<=0?0:Math.min(t,n*_ce)}function j5(e,t){e.close();let n=t.current;t.current=null,n&&n!==document.body&&n.isConnected&&n.focus()}function M5({isOpen:e,onOpenChange:t,children:n,header:r,width:i=320,side:a=`auto`,label:o,\"data-testid\":s,xstyle:c,className:l,style:u,onClick:d,id:f,ref:p,...m}){let h=nT(),g=O5(),_=e??g.isMobileNavOpen,v=(0,X.useId)(),y=g.mobileNavId||v,b=(0,X.useMemo)(()=>t??(e=>{e?g.openMobileNav():g.closeMobileNav()}),[t,g]),x=(0,X.useRef)(null);Mj(x,_);let S=(0,X.useRef)(null),w=(0,X.useRef)(null),T=(0,X.useRef)(null),E=(0,X.useRef)(null),{isHeld:D,release:O}=mce({isOpen:_,presentation:!0});Yk(_);let[k,A]=(0,X.useState)(`end`),[j,M]=(0,X.useState)(!1),N=_&&a===`auto`;if(!tx()&&N!==j&&(M(N),N)){let e=document.activeElement,t=e!==null&&e!==document.body&&!x.current?.contains(e),n=[y,x.current?.id,f],r=t&&e?e:Array.from(document.querySelectorAll(`[aria-controls]`)).find(e=>(e.getAttribute(`aria-controls`)??``).split(/\\s+/).some(e=>e!==``&&n.includes(e)));if(r){let e=r.getBoundingClientRect(),t=e.left+e.width/2,n=window.innerWidth/2;A((Lk(r)?t>n:t{let e=x.current;if(e)return _?(T.current?.(),T.current=null,e.open||(E.current=document.activeElement,e.showModal()),T.current=jA(e,{entrance:S.current,capMs:550})):e.open?(T.current?.(),T.current=null,w.current=setTimeout(()=>{j5(e,E),O()},yce(e))):O(),()=>{w.current&&=(clearTimeout(w.current),null),T.current?.(),T.current=null}},[_,O]),(0,X.useEffect)(()=>{let e=x.current;return()=>{T.current?.(),T.current=null,e?.open&&j5(e,E)}},[]);let{shouldDismissOnCloseRequest:F}=Bx({isActive:_,onDismiss:()=>b(!1),getContainer:()=>x.current}),I=(0,X.useCallback)(e=>{e.target===e.currentTarget&&(e.preventDefault(),F()&&b(!1))},[b,F]),L=(0,X.useCallback)(e=>{e.target===e.currentTarget&&b(!1)},[b]),R=P===`start`,z=o??(typeof r==`string`?r:h(`@astryx.mobileNav.navigation`));return(0,Z.jsx)(`dialog`,{ref:gx(p,x),id:f??y,...Q(Y(`mobile-nav`,{side:P}),C(Hp.reset,Wp.reset,A5.dialog,Kg.reset,D&&A5.open,A5.backdrop,_&&A5.backdropOpen,c),l,u),...m,\"data-testid\":s,\"aria-label\":z,...rp({...m,onClick:_C(d,L)}),onCancel:I,children:(0,Z.jsx)(UM,{dialogRef:x,isOpen:_,children:(0,Z.jsx)(xx,{children:(0,Z.jsx)(Wf,{children:(0,Z.jsxs)(`div`,{ref:S,tabIndex:-1,...Q(Y(`mobile-nav-drawer`,{side:P}),C(A5.drawer,gce.width(i),R&&A5.drawerStart,R&&_&&A5.drawerStartOpen,!R&&A5.drawerEnd,!R&&_&&A5.drawerEndOpen)),children:[(0,Z.jsxs)(`div`,{...{0:{className:`x78zum5 x6s0dn4 x1qughib x3unnv6 xf314gf x2lah0s x92x3c3 x1q0q8m5 xw8gpjh`},1:{className:`x78zum5 x6s0dn4 x3unnv6 xf314gf x2lah0s x92x3c3 x1q0q8m5 xw8gpjh x13a6bvl`}}[!r|0],children:[typeof r==`string`?(0,Z.jsx)(NC,{level:2,xstyle:A5.headerText,children:r}):r??null,(0,Z.jsx)(IO,{variant:`ghost`,label:h(`@astryx.mobileNav.closeNavigation`),icon:(0,Z.jsx)(XT,{icon:`close`,color:`inherit`}),onClick:()=>b(!1),isIconOnly:!0})]}),(0,Z.jsx)(`nav`,{\"aria-labelledby\":m[`aria-labelledby`],\"aria-label\":z,className:`x98rzlu x1odjw0f x6ikm8r xish69e xge0x1e xf314gf xce4md1`,children:n})]})})})})})}M5.displayName=`MobileNav`,ys();var N5=_s(`SideNavRenderContext`,1,`default`);N5.displayName=`SideNavRenderContext`;function P5(){return(0,X.use)(N5)}LV(),ys();var F5=_s(`SideNavShellContext`,1,null);F5.displayName=`SideNavShellContext`;function bce(e){return Qz(()=>e()?.parentElement??null)}function xce(e,t,n,r){let i=QB(t,e,{edge:`inline-end`,shown:n?.width??null});return i==null?null:{hold:i,swap:i.swap,shown:n??{width:i.extent,labels:+!r,collapsed:+!!r}}}var I5=e=>Math.min(1,Math.max(0,e));function Sce(e){return Array.from(e.querySelectorAll(`*`)).filter(e=>Array.from(e.childNodes).some(e=>e.nodeType===3&&e.textContent?.trim()))}function Cce(e,t,n,r=null){let{shown:i}=e,a=!1,o=e=>a?i.labels*(1-I5(e/.4)):i.labels+(1-i.labels)*I5((e-.4)/.6),s=e=>a?i.collapsed+(1-i.collapsed)*I5((e-.7)/.3):i.collapsed*(1-I5(e/.6)),c=$B(e.hold,t,n,{edge:`inline-end`,rideWith:r,parts:(e,t)=>(a=e,e?{copyOpacity:e=>1-I5((e-.7)/.3),copyText:o,incoming:[{element:t,frames:e=>({opacity:s(e)})}]}:{copyOpacity:s,incoming:Sce(t).map(e=>({element:e,frames:e=>({opacity:o(e)})}))})});return{end:c.end,shown:()=>{let e=c.shown();return e==null?null:{width:e.extent,labels:o(e.progress),collapsed:s(e.progress)}}}}LV();function wce({containerRef:e}){return(0,X.useMemo)(()=>Qz(()=>e.current),[e])}ys();var L5=_s(`TopNavRenderContext`,1,`default`);L5.displayName=`TopNavRenderContext`;var R5=_s(`TopNavUnreadRegionContext`,1,null);R5.displayName=`TopNavUnreadRegionContext`,ys();var z5=_s(`TopNavMobileContentContext`,1,null);z5.displayName=`TopNavMobileContentContext`,Pn();function Tce(e,t,n){return e&&t!==`none`&&n===wn[t]?t:null}var B5={sm:{k1xSpc:`x1d592f6`,$$css:!0},md:{k1xSpc:`xgs58o8`,$$css:!0},lg:{k1xSpc:`xjzer9l`,$$css:!0},xl:{k1xSpc:`x1bwilkz`,$$css:!0},\"2xl\":{k1xSpc:`x1q9a9pi`,$$css:!0}},V5={sm:{krdFHd:`x183tx6i xctd0pb`,$$css:!0},md:{krdFHd:`x183tx6i xc4oep8`,$$css:!0},lg:{krdFHd:`x183tx6i x16174yq`,$$css:!0},xl:{krdFHd:`x183tx6i x5asj52`,$$css:!0},\"2xl\":{krdFHd:`x183tx6i xnnrhfx`,$$css:!0}},H5={sm:{k1xSpc:`x78zum5 x1d592f6`,$$css:!0},md:{k1xSpc:`x78zum5 xgs58o8`,$$css:!0},lg:{k1xSpc:`x78zum5 xjzer9l`,$$css:!0},xl:{k1xSpc:`x78zum5 x1bwilkz`,$$css:!0},\"2xl\":{k1xSpc:`x78zum5 x1q9a9pi`,$$css:!0}},U5={sm:{sideNav:B5.sm,corner:V5.sm,topNavRegion:H5.sm},md:{sideNav:B5.md,corner:V5.md,topNavRegion:H5.md},lg:{sideNav:B5.lg,corner:V5.lg,topNavRegion:H5.lg},xl:{sideNav:B5.xl,corner:V5.xl,topNavRegion:H5.xl},\"2xl\":{sideNav:B5[`2xl`],corner:V5[`2xl`],topNavRegion:H5[`2xl`]}};x(),ys(),Xn();var Ece=`astryx-app-shell-main`,W5=_s(`AppShellNestingContext`,1,!1);W5.displayName=`AppShellNestingContext`;var G5=Kn(`app-shell/use-app-shell-main-id/claims`,1,()=>({claims:[],listeners:new Set}));function Dce(e){return G5.listeners.add(e),()=>{G5.listeners.delete(e)}}function K5(){for(let e of G5.listeners)e()}function Oce(){let e=(0,X.useId)(),t=(0,X.use)(W5),[n]=(0,X.useState)(()=>({})),r=(0,X.useSyncExternalStore)(Dce,()=>G5.claims.length===0||G5.claims[0]===n,()=>!0);return b(()=>{if(!t)return G5.claims.push(n),K5(),()=>{G5.claims.splice(G5.claims.indexOf(n),1),K5()}},[n,t]),r&&!t?Ece:`astryx-app-shell-main-${e}`}D(),AM(),LV(),oS(),ox(),gs(),ds(),Qi(),vr(),rc(),Pn(),vx(),yU(),iT(),Ww({\"@astryx.appShell.mobileNavigation\":`Mobile navigation`,\"@astryx.appShell.skipToContent\":`Skip to content`});var q5=X.Activity!==void 0,kce=q5?({mode:e,children:t})=>(0,Z.jsx)(X.Activity,{mode:e,children:t}):({children:e})=>(0,Z.jsx)(Z.Fragment,{children:e}),Ace=50,J5={root:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kVAEAm:`x1n2onr6`,kVQacm:`x7giv3`,$$css:!0},variantWash:{kWkggS:`x1eiddq6`,$$css:!0},variantSurface:{kWkggS:`x10xzikg`,$$css:!0},variantSection:{kWkggS:`x10xzikg`,$$css:!0},variantElevated:{kWkggS:`x1eiddq6`,$$css:!0},rootFill:{kZKoxP:`xtdtrs8`,$$css:!0},rootAuto:{kAzted:`x1ov3xa9`,$$css:!0},skipLink:{kVAEAm:`x10l6tqk x1xrnuwo`,kzqmXN:`x1i1rx1s x1jqxupm`,kZKoxP:`xjm9jq1 x15cytp8`,k8WAf4:`xt970qd xh2mrf5`,kg3NbH:`xnjsko4 x1cf3d6k`,kogj98:`xkdpibf x1y5lnwp`,kVQacm:`xb3r6kr xomzh7y`,kz4h6p:`x1hyvwdk x1rsz1da`,khDVqt:`xuxw1ft x1hbpcn8`,kMzoRj:`xc342km`,k87sOh:`x13vifvy x1rw3289`,kLqNvP:`x1o0tod xodanix`,kWkggS:`x10xzikg`,kMwMTN:`xjse4m1`,kY2c9j:`x1q2oy4v`,kybGjl:`x1hl2dhg`,k63SB2:`x2mo6ok`,kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,$$css:!0},mainFocusTarget:{kI3sdo:`x1uvtmcs`,$$css:!0},mainElevatedCorner:{krdFHd:`x9a4xmf`,$$css:!0},mainScrollRegionInset:{kInvED:`x1wfwxd8 x1nw7mhf`,$$css:!0},elevatedBackdrop:{kVAEAm:`x10l6tqk`,kpwlN0:`x10a8y8t`,kWkggS:`x10xzikg`,krdFHd:`x183tx6i`,kfzvcC:`x47corl`,$$css:!0},contentBgSurface:{kWkggS:`x10xzikg`,$$css:!0},contentBgWash:{kWkggS:`x1eiddq6`,$$css:!0},contentBgTransparent:{kWkggS:`xjbqb8w`,kHBbk8:`xc8icb0`,$$css:!0},navAreaWash:{kWkggS:`x1eiddq6`,$$css:!0},navAreaSurface:{kWkggS:`x10xzikg`,$$css:!0},banner:{kmuXW:`x2lah0s`,$$css:!0},headerSticky:{kVAEAm:`x7wzq59`,k87sOh:`x13vifvy`,kY2c9j:`x1vjfegm`,$$css:!0},headerSafeAreaTop:{kLKAdn:`x1mrd0q`,$$css:!0},headerSafeAreaSides:{kZCmMZ:`xs5q72w xqbmqmu`,kwRFfy:`x180b3rg x17h5b6w`,$$css:!0},headerStickyBelowTopInset:{k87sOh:`xz44ai8`,$$css:!0},mainSafeAreaEnd:{kGO01o:`xvmia7e`,$$css:!0},panelAutoFill:{kUk6DE:`x98rzlu`,kVQacm:`xysyzu8`,$$css:!0}};function Y5(e,t){let n=e;for(;n.parentElement!=null&&!n.parentElement.contains(t);)n=n.parentElement;return n}function X5({variant:e=`elevated`,banner:t,children:n,contentPadding:r,\"data-testid\":i,height:a=`fill`,mobileNav:o,sideNav:s,topNav:c,xstyle:l,className:u,style:d,ref:f,...p}){let m=nT(),h=Us(),g=o===!1,_=o!=null&&o!==!1&&typeof o==`object`&&!(0,X.isValidElement)(o)?o:null,v=_?.breakpoint??`md`,y=o!=null&&o!==!1&&((0,X.isValidElement)(o)||typeof o==`string`)?o:null,b=_?.content??null,x=_?.hasToggle!==!1,S=_?.isOpen!==void 0,w=h?.__adaptations?.widthBreakpoints,T=v===`none`?null:w?.[v]??wn[v],E=Jt(T??0),D=T!=null&&_?.defaultIsMobile===!0,O=ps(E,D),k=!tx(),A=(0,X.useDeferredValue)(k?O?`mobile`:`wide`:`unread`),j=A===`unread`?D:A===`mobile`,[M,N]=(0,X.useState)(!1),P=_?.isOpen??M,[F,I]=(0,X.useState)(P);P&&!F&&I(!0),(0,X.useEffect)(()=>{if(!q5||P)return;let e=cs(window,`(prefers-reduced-motion: reduce)`)?0:250+Ace,t=setTimeout(()=>{I(!1)},e);return()=>clearTimeout(t)},[P]);let L=P||F,R=_?.onOpenChange,z=(0,X.useCallback)(e=>{S||N(e),R?.(e)},[S,R]),B=Oce(),V=(0,X.useCallback)(()=>{document.getElementById(B)?.focus()},[B]),[H,ee]=(0,X.useState)(!1),U=(0,X.useRef)(!1),te=(0,X.useCallback)(e=>{e.target===e.currentTarget&&(document.activeElement===e.currentTarget?U.current=!0:(U.current=!1,ee(!1)))},[]),W=a===`fill`,G=a===`auto`,[ne,re]=(0,X.useState)(!1),ie=W&&ne,K=(0,X.useRef)(null),q=(0,X.useRef)(null),ae=(0,X.useRef)(null),oe=(0,X.useRef)(ie),se=(0,X.useCallback)(()=>{let e=oe.current?K.current:null,t=ae.current;t?.node!==e&&(t?.release(),ae.current=e==null?null:{node:e,release:_U(e,e)})},[]),ce=(0,X.useCallback)(e=>{K.current=e;let t=W?e:null,n=q.current;n?.node!==t&&(n?.stop(),q.current=t==null?null:{node:t,stop:qL(t,re)},t??re(!1)),se()},[W,se]);(0,X.useEffect)(()=>{oe.current=ie,se()},[ie,se]);let le=bO(t),J=bO(c),ue=bO(s),de=!g&&(J||ue)&&y==null,fe=e===`section`,pe=e===`elevated`,me=e===`wash`||e===`elevated`?J5.navAreaWash:e===`surface`?J5.navAreaSurface:void 0,he=me??(G&&e===`section`?J5.navAreaSurface:void 0),ge=e===`wash`?J5.contentBgWash:e===`elevated`&&J&&ue&&!j?J5.contentBgTransparent:e===`surface`||e===`elevated`?J5.contentBgSurface:void 0,_e=me??J5.navAreaSurface,ve=(0,X.useRef)(null),ye=(0,X.useRef)(null);(0,X.useEffect)(()=>{if(!G||!ve.current||!ye.current)return;let e=ve.current,t=ye.current,n=()=>{let n=e.getBoundingClientRect().height;t.style.setProperty(`--_app-shell-header-height`,`${n}px`)};return qi(e,()=>n())},[G]);let be=ue&&!j,xe=Tce(A===`unread`,v,T),Se=be&&xe!=null?U5[xe]:void 0,Ce=y!=null,we=de&&b!=null&&j,Te=(0,X.useId)(),Ee=(0,X.useMemo)(()=>({isMobile:j,isMobileNavOpen:P,mobileNavId:Te,toggleMobileNav:()=>de&&z(!P),openMobileNav:()=>de&&z(!0),closeMobileNav:()=>z(!1),isMobileNavEnabled:de,hasAutoToggle:x}),[j,P,Te,z,de,x]),De=ue&&x?(0,Z.jsx)(N5,{value:`drawer-content`,children:s}):null,Oe=ue?(0,Z.jsx)(N5,{value:`drawer-content`,children:s}):null,ke=!g&&y==null,Ae=!j&&ke&&xe!=null?U5[xe].topNavRegion:null,je=J?j&&ke?(0,Z.jsx)(z5,{value:De,children:(0,Z.jsx)(L5,{value:`mobile-bar`,children:c})}):(0,Z.jsx)(R5,{value:Ae,children:c}):null,Me=J||le?(0,Z.jsxs)(tN,{padding:0,hasDivider:fe&&J,children:[le&&(0,Z.jsx)(`div`,{...C(J5.banner,me),children:t}),J&&je]}):void 0,Ne=bO(Me)?(0,Z.jsx)(`div`,{ref:ve,role:`banner`,...Q(Y(`app-shell-header`,{variant:e}),C(he,G&&J5.headerSticky,J5.headerSafeAreaTop,J5.headerSafeAreaSides)),children:Me}):void 0,Pe=(0,X.useRef)(null),Fe=(0,X.useRef)(null),Ie=gx(Fe,ce),Le=(0,X.useRef)(null),Re=wce({containerRef:ye}),ze=(0,X.useRef)(null),Be=(0,X.useRef)(null),Ve=(0,X.useMemo)(()=>({animatedLayout:Re,rail:()=>Pe.current,column:()=>Fe.current==null?null:Y5(Fe.current,Pe.current),landContent(){Fe.current!=null&&iV(Y5(Fe.current,Pe.current))},beforeRailChange(){let e=Fe.current;if(e==null)return;let t=oV(e),n=null;t.kind===`glide`&&(n=yB(Re,Pe),n.measureBefore());let r=1,i=0,a=Be.current;if(a!=null&&t.kind===`glide`){let n=Math.max(0,Wz(e.ownerDocument)-a.startedAt);if(n{};e.change?.animate();let n=Y5(t,Pe.current),r=t.getBoundingClientRect(),i=getComputedStyle(t).direction===`rtl`,a=i?e.before.right-r.right:e.before.left-r.left,o=[],s=Le.current??t,c=getComputedStyle(s).backgroundColor,l=!/^rgba\\(.*,\\s*0\\)$|^transparent$/.test(c),u=oV(t).kind===`glide`;if((i?a>0:a<0)&&u&&l&&o.push({element:s,frames:e=>({boxShadow:`${-a*(1-e)}px 0px 0px 0px ${c}`})}),e.swap==null||n.parentElement==null)return ZB(Re,o);!u&&l&&(e.swap.copy.style.backgroundColor=c);let{held:d,entering:f}=e;return Be.current={startedAt:Wz(t.ownerDocument),held:d,entering:f},XB(e.swap,{host:n.parentElement,copy:e=>({opacity:d*(1-e)}),rideWith:{element:n,travel:{x:a,y:0}},incoming:[...Array.from(t.children,e=>({element:e,frames:e=>({opacity:f+(1-f)*e})})),...o]})}}),[Re]),He=be?(0,Z.jsx)(jH,{ref:Pe,padding:0,hasDivider:fe,isScrollable:W,...Y(`app-shell-sidenav`,{variant:e}),xstyle:[me,G&&_e,G&&J5.panelAutoFill,Se?.sideNav],children:(0,Z.jsx)(F5,{value:Ve,children:s})}):void 0,Ue=He!=null&&G?(0,Z.jsx)(`div`,{className:`x2lah0s x7giv3 x7wzq59 xht72ud xpa73km x78zum5 xdt5ytf`,children:He}):He,We=pe&&J&&be;(0,X.useEffect)(()=>{if(!ie)return;let e=null,t=null,n,r=()=>{clearTimeout(n),n=setTimeout(()=>{e=null,t=null},0)},i=n=>{e=n.key===`Tab`?n:null,t=null,r()},a=()=>{e=null,t=null},o=e=>{t=e,r()},s=n=>{let r=e!=null&&e.eventPhase===0,i=t!=null&&t.eventPhase===0,a=r&&e?.defaultPrevented===!1,o=i;r&&(e=null),i&&(t=null);let s=K.current,c=n.target!=null&&n.target===s;if(U.current){if(U.current=!1,c&&!a)return;if(!c){ee(!1);return}}c&&ee(a||o&&s.matches(`:focus-visible`))};return document.addEventListener(`keydown`,i,!0),document.addEventListener(`pointerdown`,a,!0),document.addEventListener(`focusin`,s,!0),window.addEventListener(`focus`,o),()=>{document.removeEventListener(`keydown`,i,!0),document.removeEventListener(`pointerdown`,a,!0),document.removeEventListener(`focusin`,s,!0),window.removeEventListener(`focus`,o),clearTimeout(n)}},[ie]);let Ge=H,Ke=(0,Z.jsx)(dR,{ref:Ie,padding:r??0,role:`main`,id:B,tabIndex:ie?0:-1,isScrollable:W,onBlur:te,xstyle:[ge,Ge&&We&&J5.mainElevatedCorner,Ge?[iS.focusVisible,J5.mainScrollRegionInset]:J5.mainFocusTarget,J5.mainSafeAreaEnd],children:(0,Z.jsx)(W5,{value:!0,children:n})}),qe=(0,Z.jsxs)(`div`,{...{0:{className:`xjp7ctv`},1:{className:`x1n2onr6 x78zum5 x98rzlu x2lwn1j x5yr21d`}}[!!We|0],children:[We&&(0,Z.jsx)(`div`,{ref:Le,...C(J5.elevatedBackdrop,Se?.corner)}),Ke]}),Je=!g&&x&&j&&!J&&ue?(0,Z.jsx)(`div`,{role:Ne==null?`banner`:void 0,...Q(Y(`app-shell-header`,{variant:e}),C(he,G&&J5.headerSticky,J5.headerSafeAreaSides,Ne==null&&J5.headerSafeAreaTop,G&&Ne!=null&&J5.headerStickyBelowTopInset)),children:(0,Z.jsx)(tN,{padding:0,hasDivider:fe,children:(0,Z.jsxs)(`div`,{className:`x78zum5 x6s0dn4 x1k15mir xf314gf`,role:`navigation`,\"aria-label\":m(`@astryx.appShell.mobileNavigation`),children:[(0,Z.jsx)(N5,{value:`topbar`,children:s}),(0,Z.jsx)(k5,{})]})})}):void 0;return(0,Z.jsx)(D5,{value:Ee,children:(0,Z.jsx)(`div`,{...p,ref:gx(f,ye),\"data-testid\":i,...Q(Y(`app-shell`,{variant:e}),C(J5.root,pce,e===`wash`?J5.variantWash:e===`surface`?J5.variantSurface:e===`section`?J5.variantSection:J5.variantElevated,W?J5.rootFill:J5.rootAuto,l),u,d),children:(0,Z.jsx)(rR,{value:null,children:(0,Z.jsx)(aR,{value:iR,children:(0,Z.jsx)($M,{value:null,children:(0,Z.jsxs)(kM,{value:null,children:[(0,Z.jsx)(`a`,{href:`#${B}`,onClick:V,...aS.focusVisible(J5.skipLink),\"data-testid\":`skip-to-content`,children:m(`@astryx.appShell.skipToContent`)}),(0,Z.jsx)(lR,{height:a,padding:0,header:(0,Z.jsxs)(Z.Fragment,{children:[Ne,Je]}),start:Ue,content:qe}),Ce&&y,we&&b,j&&!g&&y==null&&!b&&(0,Z.jsxs)(kce,{mode:L?`visible`:`hidden`,children:[ue&&!J&&(0,Z.jsx)(N5,{value:`drawer`,children:s}),J&&(0,Z.jsx)(z5,{value:Oe,children:(0,Z.jsx)(L5,{value:`drawer`,children:c})})]})]})})})})})})}X5.displayName=`AppShell`,Pp(),nv(),Xu(),od();function jce(){}function Mce(e){let t=e.getRootNode();return Z_(e,t=>t.includes(e),jce,{pointerTypes:[`touch`],root:ed(t)?t:null,onPan:()=>Dp(e,{onRelease:()=>Vu(e.ownerDocument,{cancelsTouchEnd:!0})})})}function Nce(e){let t=e.current;return t==null||!t.isConnected?null:t}D(),j_(),x(),Lj(),au(),od(),bj(),Tx(),nA(),eR(),MC(),oS(),bC(),RA(),vr(),mM(),pr(),iT(),Ww({\"@astryx.popover.close\":`Close popover`});function Z5(e){try{e.focus()}catch{}return e.ownerDocument.activeElement===e}function Q5(e){let t=Bte(Array.from(e.querySelectorAll(tA)).filter(t=>t.closest(`[data-astryx-popover-fallback-close]`)==null&&!zte(t,e)));for(let e of t)if(Z5(e))return!0;return!1}var $5={surface:{kWkggS:`x1prclbq`,\"--_popover-radius\":`xiki222`,kaIpWk:`x11m9jtl`,kGVxlE:`x1i5ehqx`,kMzoRj:`x13rsnn2`,ksu8eU:`xx61lck`,kVAM5u:`x1w1tqly`,$$css:!0},unanchored:{k33iCy:`xlshs6z`,$$css:!0},contentWrapper:{kVAEAm:`x1n2onr6`,$$css:!0},closeButtonWrapper:{kVAEAm:`x10l6tqk`,krVfgx:`x1ey2m1c`,kY2c9j:`x1vjfegm`,kzqmXN:`x1i1rx1s x10okhzq`,kZKoxP:`xjm9jq1 x132qfvm`,kVQacm:`xb3r6kr x1dordxg`,kz4h6p:`x1hyvwdk x10wafsz`,kfzvcC:`x47corl xbt4iw`,kLKAdn:`xexx8yu x1kw28su`,$$css:!0}};function e7(e={}){let{anchorRef:t,onShow:n,onHide:r,onCloseStart:i,writesEntranceSide:a,onPlacedAfresh:o,xstyle:s,className:c,style:l,hasLightDismiss:u=!0,hasEscapeDismiss:d=!0,hasAutoFocus:f=!0,hasSurface:p=!0,padding:m,surfaceTarget:h,hasCloseButton:g=!0,closeButtonLabel:_,dialogLabel:v,role:y=`dialog`,isModal:x=!0,getRestoreFallback:S,restoreFocusTo:w,getOpener:T,ownsOutsidePan:E=!1,onOpenPendingChange:D}=e,O=nT(),k=_??O(`@astryx.popover.close`),A=(0,X.useRef)(null),j=nu(t),M=(0,X.useRef)(void 0),N=(0,X.useRef)(!1),P=(0,X.useRef)(!1),F=(0,X.useRef)(!1),I=(0,X.useRef)(null),L=(0,X.useCallback)(()=>{F.current=!0,n?.();let e=I.current;I.current=null,e?.()},[n]),R=(0,X.useRef)(null),z=(0,X.useRef)(()=>{}),B=nu(i),V=b_({mode:`context`,lightDismiss:u,onShow:L,onHide:r,onCloseStart:(0,X.useCallback)(()=>{z.current(),B.current?.()},[B]),watchesOutsidePans:u&&!E?Mce:void 0,writesEntranceSide:a,onPlacedAfresh:o,onOpenPendingChange:D,waitsForAnchor:t!=null}),H=(0,X.useRef)(null),ee=(0,X.useRef)(T);ee.current=T;let U=(0,X.useCallback)(()=>H.current,[]),{containerRef:te,focusFirst:W,returnFocus:G,moveFocusOut:ne}=Nj({isActive:V.isOpen,onEscape:d||u?V.hide:void 0,getRestoreTarget:U,getRestoreFallback:S,restoreFocusTo:w,getTrigger:()=>A.current,getAnchor:()=>M.current??null,layerId:V.id});ru(z,G);let re=(0,X.useCallback)(()=>{let e=te.current;if(!e)return;let t=e.ownerDocument.activeElement;t!=null&&t!==e&&e.contains(t)||Q5(e)||(y===`dialog`?Z5(e):W())},[te,W,y]);(0,X.useEffect)(()=>{if(!V.isOpen)N.current=!1,P.current=!1;else if(f&&!N.current){let e=requestAnimationFrame(()=>{let e=te.current?.ownerDocument??document;(!P.current||LA(e))&&re()});return()=>cancelAnimationFrame(e)}},[V.isOpen,f,re,te]);let ie=V.ref,[K,q]=(0,X.useState)(!1),ae=(0,X.useCallback)(e=>{A.current=e,j.current??ie(e)},[j,ie]);ru(R,()=>{let e=te.current,t=e?.ownerDocument.activeElement??null;if(e==null||t==null||!e.contains(t))return;let n=A.current;ne([td(n)&&UA(n)?n:null])});let oe=(0,X.useCallback)(()=>{let e=j.current;if(e==null)return;let t=Nce(e);t!==M.current&&(M.current=t,ie(t)),q(t==null),t??R.current?.()},[j,ie]);b(()=>{t==null?M.current!==void 0&&(M.current=void 0,q(!1),ie(A.current)):oe()}),b(()=>()=>{M.current!==void 0&&(ie(null),M.current=void 0)},[ie]);let se=(0,X.useCallback)(e=>{N.current=e?.skipAutoFocus??!1,F.current=!1;let t=(A.current?.ownerDocument??document).activeElement,n=ee.current?.()??t,r=n!=null&&te.current?.contains(n)===!0?H.current:n;H.current=r!=null&&!te.current?.contains(r)?r:null,I.current=()=>{let e=te.current;F.current&&f&&!N.current&&e!=null&&!e.contains(e.ownerDocument.activeElement)&&Q5(e)&&(P.current=!0)},oe(),V.show()},[V,f,te,oe]),ce=(0,X.useCallback)(()=>{V.isOpen?V.hide():se()},[V,se]),le={\"aria-haspopup\":y===`dialog`?`dialog`:`true`,\"aria-expanded\":V.isOpen,\"aria-controls\":V.id};OC(`usePopover`,'role=\"dialog\" without a `dialogLabel` renders an unnamed dialog. Pass `dialogLabel`, or use `role: \"none\"` for listbox/menu popups whose content already carries its own role.',y===`dialog`&&!v);let J=y===`dialog`&&V.isOpen,ue=(0,X.useCallback)((e,t)=>{let n=Y(`popover`),r=h!=null&&h!==`popover`?`${n.className} ${or(h)}`:n.className;return V.render((0,Z.jsx)(xx,{children:(0,Z.jsxs)(`div`,{ref:te,role:J?`dialog`:void 0,\"aria-modal\":J&&x?!0:void 0,\"aria-label\":J?v:void 0,tabIndex:y===`dialog`?-1:void 0,...Q({...n,className:r},aS.focusVisible($5.contentWrapper,p&&$5.surface,m!=null&&pM[m],s),c,l),children:[e,g&&(0,Z.jsx)(`div`,{\"data-astryx-popover-fallback-close\":``,...C($5.closeButtonWrapper,$L.centerInline(`100%`)),children:(0,Z.jsx)(IO,{variant:`secondary`,label:k,onClick:V.hide})})]})}),{...t,xstyle:[t?.xstyle,K&&$5.unanchored]})},[V,g,p,m,h,c,l,k,te,v,J,y,x,s,K]);return{triggerRef:ae,contentRef:te,anchorId:V.anchorId,show:se,hide:V.hide,toggle:ce,isOpen:V.isOpen,id:V.id,render:ue,triggerProps:le}}function t7(e={}){return e7(e)}function Pce(e={}){return e7(e)}function n7({readModality:e}){let[t,n]=(0,X.useState)(!1),r=(0,X.useCallback)(()=>{n(e()===`pointer`)},[e]),i=(0,X.useCallback)(()=>{n(!1)},[]);return{isFocusRingSuppressed:t,onFocusReturnTargetFocus:(0,X.useCallback)(()=>{e()===`keyboard`&&n(!1)},[e]),prepareFocusReturn:r,resetFocusReturn:i}}var r7={fits:{kFalU9:`x1j4r261`,$$css:!0},scrolls:{kFalU9:`xge0x1e`,kZeWKH:`xish69e`,$$css:!0}};au(),FQ(),D(),Pp(),od(),RC(),sE(),MQ(),x(),vx(),wQ(),bj(),MC(),qp(),bx(),G(),eR(),vr(),Hf(),oS(),iT(),Ww({\"@astryx.dropdownMenu.back\":`Back`,\"@astryx.dropdownMenu.label\":`Menu`}),`${Kp.maxBlockSize}`,`${Kp.maxBlockSizeFallback}`,`${k[`--color-overlay-pressed`]}${k[`--color-overlay-pressed`]}`;var Fce={kzqmXN:`x1uyokj7`,$$css:!0},i7={triggerOpen:{kKwaWg:`xpl5ynk`,$$css:!0},triggerPressable:{k7VYTy:`xpdipgo`,kfSwDN:`x87ps6o`,$$css:!0},dropdown:{kB7OPa:`x9f619`,k1xSpc:`x78zum5 x6ptruj`,kXwgrk:`xdt5ytf`,kOIVth:`x1lsbc85`,kI3sdo:`x1a2a7pz`,k7VYTy:`xpdipgo`,kfSwDN:`x87ps6o`,ks0D6T:`xc0b1yq`,kskxy:`x1uh1i8a`,\"--_dropdown-menu-radius\":`x1fcsqxe`,\"--_dropdown-menu-radius-top-left\":`xe8oyoz`,\"--_dropdown-menu-radius-top-right\":`x1u9pls2`,\"--_dropdown-menu-radius-bottom-right\":`x1vzu1ru`,\"--_dropdown-menu-radius-bottom-left\":`x1hdoyrq`,\"--_dropdown-menu-radius-start-start\":`xt5si22`,\"--_dropdown-menu-radius-start-end\":`xqi0wir`,\"--_dropdown-menu-radius-end-start\":`xix9rv`,\"--_dropdown-menu-radius-end-end\":`xoofv4m`,\"--_dropdown-menu-padding\":`xgory14`,kmVPX3:`x9epnlk`,kaIpWk:`x1n97fys`,kSiTet:`x1hc1fzr`,k1ekBW:`x19991ni`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,$$css:!0},scrollable:{kORKVm:`x1odjw0f`,kXHlph:`x6ikm8r`,kZeWKH:`xish69e`,$$css:!0},regionsFrame:{kB7OPa:`x9f619`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kskxy:`x1uh1i8a`,$$css:!0},menuInFrame:{kzQI83:`x1iyjqo2`,kmuXW:`xs83m0k`,kAzted:`x2lwn1j`,$$css:!0},popoverViewport:{kB7OPa:`x9f619`,kskxy:`x1uh1i8a`,$$css:!0},popoverMatchTrigger:{k7Eaqz:`xviorkc`,$$css:!0},popoverCustomWidth:e=>[{k7Eaqz:e==null?e:`xkj4a21`,$$css:!0},{\"--x-minWidth\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],popoverCustomIntrinsicWidth:e=>[Fce,{\"--x-inlineSize\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]},Ice={kskxy:`x1jols5v`,$$css:!0},Lce={kskxy:`xbmfmqd`,$$css:!0},a7={menuMaxHeight:e=>[Ice,{\"--x-maxHeight\":(e=>typeof e==`number`?e+`px`:e??void 0)(`min(${e}, ${Kp.maxBlockSize})`)}],popoverViewportMaxBlockSize:e=>[Lce,{\"--x-maxBlockSize\":(e=>typeof e==`number`?e+`px`:e??void 0)(`min(${e}, ${Kp.maxBlockSize})`)}]},o7={content:{kzqmXN:`xh8yej3`,$$css:!0},rootHeading:{keTefX:`x6i7dpz`,$$css:!0},viewHeading:{kI3sdo:`x1a2a7pz`,$$css:!0}},s7=`@astryx.dropdownMenu.label`;function Rce(e,t){if(e==null)return;let n=e.ownerDocument;e.setAttribute(`popovertarget`,t);let r=()=>{n.removeEventListener(`pointerup`,r,!0),n.removeEventListener(`pointercancel`,r,!0),n.defaultView?.setTimeout(()=>{e.removeAttribute(`popovertarget`)},0)};n.addEventListener(`pointerup`,r,!0),n.addEventListener(`pointercancel`,r,!0)}function c7(e,t){return typeof e==`string`&&e.trim()!==``?e:t}function zce({button:e,renderTrigger:t,isMenuOpen:n,onOpenChange:r,onClick:i,hasChevron:a=!0,items:o,presentation:s,menuWidth:c,menuMaxHeight:l,placement:u,alignment:d,header:f,footer:p,className:m,style:h,xstyle:g,\"data-testid\":_,...v}){let y=nT(),x=e??{label:y(s7)},S=y(`@astryx.dropdownMenu.back`),w=(0,X.useRef)(null),T=Ff(),E=gx(w,T.ref,x.ref),D=(0,X.useId)(),O=(0,X.useId)(),k=(0,X.useRef)(null),A=(0,X.useRef)(`pointer`),{isFocusRingSuppressed:j,onFocusReturnTargetFocus:M,prepareFocusReturn:N,resetFocusReturn:P}=n7(T),F=(0,X.useRef)(null),I=(0,X.useRef)(0),[L,R]=(0,X.useState)(!1),[z,B]=(0,X.useState)([]),[V,H]=(0,X.useState)([]),ee=n!==void 0,U=ee?n:L,[te,W]=(0,X.useState)(U);te!==U&&(W(U),!U&&z.length>0&&(B([]),H([]))),(0,X.useEffect)(()=>{Q0()},[]);let[G,ne]=(0,X.useState)(void 0);b(()=>{t!=null&&U&&ne(PQ(w.current))},[t,U]);let re=(t==null?void 0:c7(v[`aria-label`],G))??x.label,ie=z.at(-1),K=ie?.items??o,q=ie?.label??re,ae=typeof q==`string`?q:V.at(-1)??re,oe=(0,X.useCallback)(e=>{e?P():(B([]),H([]),N()),r?.(e),ee||R(e)},[ee,r,N,P]),se=(0,X.useCallback)((e,t)=>{e.isDisabled||(e.onClick?.(t),e.hasCloseOnSelect!==!1&&oe(!1))},[oe]),ce=x.isIconOnly===!0,le=x.endContent??(a&&!ce?(0,Z.jsx)(XT,{icon:`chevronDown`,size:`sm`,color:`inherit`}):void 0);(0,X.useEffect)(()=>{if(!U||A.current!==`keyboard`)return;let e=()=>k.current?.querySelector(`button:not(:disabled), a[href]`)??null,t=null,n=requestAnimationFrame(()=>{let r=e();r==null?(t=new MutationObserver(()=>{let r=e();r!=null&&(t?.disconnect(),t=null,n=requestAnimationFrame(()=>{r.focus({preventScroll:!0})}))}),t.observe(document.body,{childList:!0,subtree:!0})):r.focus({preventScroll:!0})});return()=>{cancelAnimationFrame(n),t?.disconnect()}},[ie,U]),(0,X.useEffect)(()=>{if(!U){I.current=0;return}if(z.length===I.current)return;I.current=z.length;let e=requestAnimationFrame(()=>{F.current?.focus({preventScroll:!0})});return()=>cancelAnimationFrame(e)},[U,z.length]);let J=()=>{A.current=`pointer`},ue=e=>{(e.key===`ArrowDown`||e.key===`Enter`||e.key===` `)&&(A.current=`keyboard`)},de=e=>{e.currentTarget.matches(`:disabled, [aria-disabled=\"true\"]`)||(i?.(),oe(!U))},fe=(0,Z.jsx)(NC,{ref:F,level:3,tabIndex:-1,xstyle:[o7.viewHeading,z.length===0&&[o7.rootHeading,o2.headingAlone]],children:q}),pe=T.ref,me=(0,X.useCallback)(e=>{w.current=e,pe(e)},[pe]);return(0,Z.jsxs)(Z.Fragment,{children:[t==null?(0,Z.jsx)(IO,{...x,ref:E,xstyle:[U&&i7.triggerOpen,x.xstyle,j&&iS.suppressed],tooltip:U?void 0:x.tooltip,endContent:le,onPointerDown:e=>{x.onPointerDown?.(e),J()},onKeyDown:e=>{x.onKeyDown?.(e),ue(e)},onFocus:e=>{x.onFocus?.(e),M()},onClick:de,\"aria-haspopup\":`dialog`,\"aria-expanded\":U,\"data-testid\":_}):t({ref:me,id:D,onClick:de,onClickCapture:()=>{},onPointerDown:J,onContextMenu:()=>{},onKeyDown:ue,onFocus:M,\"aria-haspopup\":`dialog`,\"aria-expanded\":U,\"aria-controls\":O}),(0,Z.jsx)(r2,{isOpen:U,onOpenChange:oe,finalFocusRef:w,label:ae,children:(0,Z.jsxs)(`div`,{ref:k,id:O,...v,...Q(Y(`dropdown-menu`,{presentation:`bottom-sheet`}),C(o7.content,o2.content,g),m,h),children:[z.length>0?(0,Z.jsxs)(`div`,{className:`x78zum5 x1q0g3np x6s0dn4 xzye2dw x1p37lm5`,children:[(0,Z.jsx)(IO,{label:S,variant:`ghost`,size:`sm`,icon:(0,Z.jsx)(XT,{icon:`chevronLeft`,size:`sm`,xstyle:$L.mirror}),isIconOnly:!0,onClick:()=>{B(e=>e.slice(0,-1)),H(e=>e.slice(0,-1))}}),fe]}):fe,bO(f)&&(0,Z.jsx)(`div`,{className:`xrrkdod xce4md1`,children:f}),(0,Z.jsx)(a2,{items:K,onSelect:se,onOpenSubmenu:(e,t)=>{B(t=>[...t,e]),H(e=>[...e,t])}}),bO(p)&&(0,Z.jsx)(`div`,{className:`xrrkdod xce4md1`,children:p})]})})]})}function Bce({button:e,renderTrigger:t,isMenuOpen:n,onOpenChange:r,menuWidth:i,menuMaxHeight:a,onClick:o,hasChevron:s=!0,placement:c=`below`,alignment:l=`start`,presentation:u,pressTouchModel:d=`uikit`,header:f,footer:p,className:m,style:h,xstyle:g,\"data-testid\":_,...v}){let y=nT(),x=e??{label:y(s7)},S=(`items`in v?v.items:void 0)??[],w=v.children,{items:T,children:E,...D}=v,O=(0,X.useId)(),k=(0,X.useId)(),A=x.size??`md`,M=(0,X.useRef)(null),[N,P]=(0,X.useState)(void 0),[F,I]=(0,X.useState)(!1),L=n!==void 0,R=L?n:F,z=(0,X.useRef)(!1),B=(0,X.useRef)(!1),V=(0,X.useRef)(!1),H=(0,X.useRef)(!1),ee=(0,X.useRef)(null),U=Ff(),{isFocusRingSuppressed:te,onFocusReturnTargetFocus:W,prepareFocusReturn:G,resetFocusReturn:ne}=n7(U),re=(0,X.useRef)(null),ie=(0,X.useRef)(null),K=(0,X.useMemo)(()=>bO(f)||bO(p),[f,p]),[q,ae]=(0,X.useState)(!1),oe=(0,X.useRef)(()=>{}),se=(0,X.useRef)(()=>{}),ce=(0,X.useRef)(null),le=(0,X.useRef)(null),J=(0,X.useRef)(()=>{}),ue=(0,X.useCallback)(()=>{let e=ee.current;if(!e)return;let t=[...e.querySelectorAll(`[popover]`)].reverse();for(let e of t)if(typeof e.hidePopover==`function`)e.matches(`:popover-open`)&&e.hidePopover();else if(e.style.display===`block`){e.style.display=`none`;let t=new Event(`toggle`,{bubbles:!1});Object.defineProperty(t,\"newState\",{value:`closed`,configurable:!0}),e.dispatchEvent(t)}},[]),de=(0,X.useCallback)(()=>{ce.current?.(),ce.current=null,ue(),H.current?H.current=!1:(oe.current(),V.current=!1,r?.(!1),L||I(!1))},[ue,L,r]),fe=(0,X.useCallback)(e=>{e===M.current&&G(),KA(e)},[G]),pe=(0,X.useRef)(!1),me=(0,X.useRef)(`keyboard`),he=(0,X.useRef)(!1),ge=(0,X.useRef)(!1),_e=(0,X.useCallback)(e=>{ge.current=e},[]),ve=(0,X.useCallback)(()=>{B.current=!1,V.current=!1,me.current=`keyboard`,pe.current=!1,he.current=!1},[]);b(()=>{t!=null&&K&&N==null&&P(PQ(M.current))},[t,K,N]);let ye=(0,X.useCallback)(()=>{z.current=!0,J.current(),se.current(),ne(),t!=null&&P(PQ(M.current)),B.current&&(B.current=!1,o?.()),r?.(!0),L||I(!0)},[L,o,r,t,ne]),be=t==null?typeof x.label==`string`?x.label:void 0:c7(D[`aria-label`],N),xe=Pce({restoreFocusTo:fe,onHide:de,onShow:ye,hasLightDismiss:!0,ownsOutsidePan:!0,hasCloseButton:!1,hasAutoFocus:!1,role:K?`dialog`:`none`,dialogLabel:K?be??y(s7):void 0,xstyle:yx[c],onOpenPendingChange:_e}),Se=(0,X.useCallback)(()=>{ge.current&&ve(),xe.hide()},[xe,ve]),{listRef:Ce,handleKeyDown:we,focusFirst:Te,focusLast:Ee,focusItem:De,ownsEvent:Oe,getItems:ke}=j2({itemSelector:AQ,reachesDisabledItems:!0,boundarySelector:jQ,wrap:!0,hasPaging:!0,onEscape:Se}),Ae=Q2({getItemLabels:()=>ke().map(e=>e.textContent),onMatch:De,getCurrentIndex:()=>ke().findIndex(e=>e===document.activeElement||e.contains(document.activeElement))}),je=(0,X.useRef)(L&&n===!0);b(()=>{L&&(n?(V.current=!1,xe.isOpen||(pe.current=!je.current,xe.show())):(je.current=!1,xe.isOpen?(H.current=V.current,V.current=!1,xe.hide()):ge.current&&!V.current&&(ve(),xe.hide())))},[n,L,xe,ve]),(0,X.useEffect)(()=>{xe.isOpen&&pe.current&&(pe.current=!1,requestAnimationFrame(()=>{let e=he.current?Ee:Te;he.current=!1;let t=me.current===`pointer`,n=Ce.current,r=n?.ownerDocument.activeElement;t&&r!=null&&r!==n&&n?.contains(r)===!0||!t&&e()||n?.focus(),me.current=`keyboard`}))},[xe.isOpen,Te,Ee,Ce]),ru(se,(0,X.useCallback)(()=>{ce.current?.();let e=d===`uikit`?Ce.current?.closest(`[popover]`):null;ce.current=e==null?null:jA(e,{entrance:xe.contentRef.current??e})},[Ce,d,xe.contentRef])),(0,X.useEffect)(()=>()=>{ce.current?.(),ce.current=null},[]);let Me=(0,X.useCallback)((e,t=!1)=>{w2(e,Ce.current,re.current,ie.current,t)},[Ce]),Ne=(0,X.useCallback)(e=>{if(!Oe(e))e.key===`Tab`&&(K?Me(e,!0):Se());else if(e.key===`Enter`||e.key===` `){if(e.preventDefault(),e.repeat)return;let t=document.activeElement;t&&OQ.has(t.getAttribute(`role`)??``)&&EQ(t,e)}else if(e.key===`Tab`){if(K){Me(e);return}Se()}else Ae.onKeyDown(e)?e.preventDefault():we(e)},[we,Se,Ae,Oe,K,Me]),Pe=(0,X.useCallback)(e=>{e.key===`Tab`&&Me(e)},[Me]),Fe=(0,X.useCallback)((e=`keyboard`,t=!1)=>M.current?.matches(`:disabled, [aria-disabled=\"true\"]`)===!0?(ve(),`refused`):(z.current=!1,B.current=t,V.current=L,me.current=e,pe.current=!0,xe.show(),z.current?`open`:ge.current?`pending`:(ve(),`refused`)),[L,xe,ve]),Ie=L?n===!0:xe.isOpen;ru(J,(0,X.useCallback)(()=>{let e=le.current;le.current=null,e!=null&&e.gesture===Sp()&&Ep()&&Rce(M.current,xe.id)},[xe.id]));let Le=(0,X.useCallback)(e=>{if(Ie)return e===`mouse`&&(o?.(),L?r?.(!1):xe.hide()),!1;M.current!=null&&GA(M.current,{preventScroll:!0}),le.current={gesture:Sp()};let t=Fe(`pointer`,!0)===`open`,n=Ce.current?.closest(`[popover]`);return t&&e===`mouse`&&td(n)&&Dp(n,{releaseTarget:M.current}),t},[Ie,L,Ce,o,r,Fe,xe]),Re=pQ({menuRef:Ce,triggerRef:M,itemSelector:kQ,onTriggerPress:Le,onDismiss:Se,longPressDelayMs:d===`pointer`?_Q:void 0});ru(oe,Re.cancel);let ze=(0,X.useCallback)(e=>{if(Re.isTriggerClickFromPress())return;let t=e.detail===0?`keyboard`:`pointer`;L?n?(o?.(),r?.(!1)):Fe(t,!0):xe.isOpen?(o?.(),xe.hide()):Fe(t,!0)},[Re,o,L,r,n,xe,Fe]),Be=(0,X.useCallback)(e=>{let t=e.currentTarget;t.hasAttribute(`popovertarget`)&&(e.preventDefault(),t.removeAttribute(`popovertarget`))},[]),Ve=(0,X.useCallback)(e=>{if(xe.isOpen)e.key===`ArrowDown`&&(e.preventDefault(),Te()||Ce.current?.focus());else if(e.key===`ArrowDown`||e.key===`ArrowUp`||e.key===`Enter`||e.key===` `){if(e.preventDefault(),e.repeat)return;he.current=e.key===`ArrowUp`,Fe()}},[xe.isOpen,Fe,Te,Ce]),He=x.isIconOnly===!0,Ue=x.endContent??(s&&!He?(0,Z.jsx)(XT,{icon:`chevronDown`,size:`sm`,color:`inherit`}):void 0),We=i?r4(i,Kp.maxInlineSizeFallback):null,Ge=We?We.property===`inlineSize`?i7.popoverCustomIntrinsicWidth(We.value):i7.popoverCustomWidth(We.value):i7.popoverMatchTrigger,{drillIn:Ke,wrapContent:qe}=y4(R),Je=(0,X.useRef)(null),[Ye,Xe]=(0,X.useState)(0),Ze=(0,X.useCallback)(e=>{Je.current=e,e!=null&&Xe(e=>e+1)},[]),Qe=(0,X.useMemo)(()=>({getElement:()=>Ye>0?Je.current:null}),[Ye]),$e=a==null?null:`${a}px`,et=(0,X.useMemo)(()=>({closeMenu:Se,menuSize:A,drillIn:Ke,menuLabel:be}),[Se,A,Ke,be]),tt=(0,X.useMemo)(()=>({host:Qe,ownerId:O,menuMaxHeight:$e??void 0}),[Qe,O,$e]),nt=qe(v.items===void 0?w:_4(S)),rt=$2(Ce,nt,xe.isOpen),it=(0,Z.jsx)(`div`,{ref:Ze,\"data-astryx-submenu-host\":``,className:`xjp7ctv`}),at=e=>K?(0,Z.jsxs)(`div`,{...C(i7.regionsFrame,$e!=null&&a7.menuMaxHeight($e)),children:[bO(f)&&(0,Z.jsx)(`div`,{ref:re,onKeyDown:Pe,className:`x2lah0s x9epnlk x6ptruj`,children:f}),e,bO(p)&&(0,Z.jsx)(`div`,{ref:ie,onKeyDown:Pe,className:`x2lah0s x9epnlk x6ptruj`,children:p}),it]}):(0,Z.jsxs)(Z.Fragment,{children:[e,it]}),ot=xe.triggerRef,st=U.ref,ct=(0,X.useCallback)(e=>{M.current=e,ot(e),st(e)},[ot,st]),lt=x.ref,ut=(0,X.useCallback)(e=>{ct(e),typeof lt==`function`?lt(e):lt&&(lt.current=e)},[ct,lt]),dt={ref:ct,id:k,onClick:ze,onClickCapture:Be,onPointerDown:Re.triggerProps.onPointerDown,onContextMenu:Re.triggerProps.onContextMenu,onKeyDown:Ve,onFocus:()=>{},\"aria-haspopup\":K?`dialog`:`menu`,\"aria-expanded\":R,\"aria-controls\":K?xe.id:O};return(0,Z.jsxs)(Z.Fragment,{children:[t==null?(0,Z.jsx)(IO,{...x,ref:ut,xstyle:[i7.triggerPressable,R&&i7.triggerOpen,x.xstyle,te&&iS.suppressed],tooltip:R?void 0:x.tooltip,endContent:Ue,onClick:ze,onClickCapture:e=>{x.onClickCapture?.(e),Be(e)},onKeyDown:Ve,onPointerDown:e=>{x.onPointerDown?.(e),Re.triggerProps.onPointerDown(e)},onContextMenu:e=>{x.onContextMenu?.(e),Re.triggerProps.onContextMenu(e)},onFocus:e=>{x.onFocus?.(e),W()},\"aria-haspopup\":K?`dialog`:`menu`,\"aria-expanded\":R,\"aria-controls\":K?xe.id:O,\"data-testid\":_}):t(dt),xe.render(at((0,Z.jsx)(`div`,{...D,ref:e=>{Ce.current=e,ee.current=e?.closest(`[popover]`)??null},id:O,role:`menu`,tabIndex:rt||K?0:-1,\"aria-label\":t==null?x.label:D[`aria-label`],\"aria-labelledby\":t!=null&&D[`aria-label`]==null?k:D[`aria-labelledby`],onKeyDown:Ne,onFocus:e=>{D.onFocus?.(e),e.target===e.currentTarget&&ae(Lf(e.currentTarget)===`keyboard`)},...Re.menuProps,...Q(Y(`dropdown-menu`,{presentation:`popover`}),C(i7.dropdown,$e!=null&&a7.menuMaxHeight($e),rt?r7.scrolls:r7.fits,rt&&i7.scrollable,K&&i7.menuInFrame,K&&q&&iS.focusVisible,g),m,h),children:(0,Z.jsx)(u2,{value:et,children:(0,Z.jsx)(s2,{value:tt,children:(0,Z.jsx)(c2,{value:R,children:nt})})})})),{placement:c,alignment:l,offset:j[`--spacing-1`],xstyle:[i7.popoverViewport,$e!=null&&a7.popoverViewportMaxBlockSize($e),Ge]})]})}function l7(e){let{onOpenChange:t}=e;OC(`DropdownMenu`,\"`button` and `renderTrigger` are mutually exclusive: the menu hangs off one control. `renderTrigger` wins; drop `button`.\",e.button!=null&&e.renderTrigger!=null);let n=S4(`items`in e?e.presentation??`popover`:`popover`),r=e.isMenuOpen!==void 0,[i,a]=(0,X.useState)(!1),o=r?e.isMenuOpen:i,s=(0,X.useCallback)(e=>{t?.(e),r||a(e)},[r,t]),c={...e,isMenuOpen:o,onOpenChange:s};return n===`bottom-sheet`&&`items`in e&&e.items!==void 0?(0,Z.jsx)(_E,{value:null,children:(0,Z.jsx)(zce,{...c,presentation:`bottom-sheet`})}):(0,Z.jsx)(_E,{value:null,children:(0,Z.jsx)(Bce,{...c,presentation:`popover`,pressTouchModel:e.presentation===`popover`?`pointer`:`uikit`})})}l7.displayName=`DropdownMenu`,pr(),iT(),vr(),Ww({\"@astryx.moreMenu.label\":`More options`});function u7({items:e,label:t,variant:n=`ghost`,size:r,icon:i,isDisabled:a=!1,placement:o,alignment:s,presentation:c,isMenuOpen:l,onOpenChange:u,xstyle:d,className:f,style:p,\"data-testid\":m,ref:h,...g}){let _=nT(),v=t??_(`@astryx.moreMenu.label`),y=pE(r,`md`),b=KU(`moreHorizontal`);return(0,Z.jsx)(l7,{className:f?`${or(`more-menu`)} ${f}`:or(`more-menu`),xstyle:d,style:p,isMenuOpen:l,onOpenChange:u,placement:o,alignment:s,presentation:c,button:{...hr(g),label:v,icon:i??b,variant:n,size:y,isDisabled:a,tooltip:v,isIconOnly:!0,ref:h},items:e,hasChevron:!1,\"data-testid\":m})}u7.displayName=`MoreMenu`,ys();var d7=_s(`SideNavCollapseContext`,1,{isCollapsed:!1,toggle:()=>{},isCollapsible:!1});d7.displayName=`SideNavCollapseContext`;function f7(){return(0,X.use)(d7)}ys();var p7=_s(`SideNavFocusTargetsContext`,1,null);p7.displayName=`SideNavFocusTargetsContext`,D(),sE(),eR(),vx(),iT(),Ww({\"@astryx.sideNavCollapseButton.collapseSidebar\":`Collapse sidebar`,\"@astryx.sideNavCollapseButton.expandSidebar\":`Expand sidebar`});var m7={chevronMirror:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,$$css:!0},chevron:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,k1ekBW:`x11xpdln`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,$$css:!0},chevronCollapsed:{k3aq6I:`x19jd1h0`,$$css:!0}};function h7({ref:e,collapsible:t,handleRef:n,label:r,size:i,children:a,onClick:o,...s}){let c=nT(),{isCollapsed:l,toggle:u,isCollapsible:d}=Vce(t,n),{isMobile:f}=O5(),p=(0,X.use)(p7),m=p!=null&&t==null&&n==null,h=gx(e,(0,X.useCallback)(e=>e==null||!m||p==null?void 0:p.registerToggle(e),[p,m]));return!d||f?null:(0,Z.jsx)(IO,{ref:h,label:r??c(l?`@astryx.sideNavCollapseButton.expandSidebar`:`@astryx.sideNavCollapseButton.collapseSidebar`),variant:`ghost`,size:i,...s,onClick:_C(o,u),icon:a??(0,Z.jsx)(`span`,{...C(m7.chevronMirror,$L.mirror),children:(0,Z.jsx)(XT,{icon:`chevronLeft`,size:`sm`,color:`inherit`,xstyle:[m7.chevron,l&&m7.chevronCollapsed]})}),isIconOnly:!0})}h7.displayName=`SideNavCollapseButton`;function Vce(e,t){let n=f7(),{isCollapsed:r,onCollapsedChange:i}=e??{},a=(0,X.useCallback)(()=>i?.(!r),[r,i]),o=(0,X.useCallback)(()=>{t?.current?.getCollapseState()?.toggle()},[t]);if(e!=null)return{isCollapsed:r??!1,toggle:a,isCollapsible:!0};if(t==null)return n;let s=t.current?.getCollapseState()??null;return{isCollapsed:s?.isCollapsed??!1,toggle:o,isCollapsible:s?.isCollapsible??!0}}D(),G(),oS(),eR(),vr(),MC(),au(),x(),vx(),Hf(),iT(),Ww({\"@astryx.resizable.collapsed\":`Collapsed`,\"@astryx.resizable.handle.label\":`Resize handle`});function Hce(e,t,n){if(e!==`auto`)return e;let r=t?`end`:`start`;return n?r===`start`?`end`:`start`:r}var g7={handle:{kVAEAm:`x1n2onr6`,kY2c9j:`xhtitgo`,kmuXW:`x2lah0s`,k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kWkggS:`x1m4xfpy`,k1ekBW:`x15406qy`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,$$css:!0},overlay:{kVAEAm:`x10l6tqk`,kY2c9j:`xhtitgo`,kWkggS:`xjbqb8w`,$$css:!0},overlayHorizontal:{kt4wiu:`xtijo5x`,k87sOh:`x13vifvy`,krVfgx:`x1ey2m1c`,kzqmXN:`xkhob8h`,$$css:!0},overlayVertical:{krVfgx:`x1ey2m1c`,kLqNvP:`x1o0tod`,kt4wiu:`xtijo5x`,kZKoxP:`x5kfih4`,$$css:!0},overlayHorizontalOnShortPane:{kzqmXN:`x1a4a7d3`,$$css:!0},overlayVerticalOnShortPane:{kZKoxP:`xcuarzx`,$$css:!0},horizontal:{kzqmXN:`x1i1rx1s`,kZKoxP:`x5yr21d`,kkrTdU:`xicojor x16khyan`,$$css:!0},vertical:{kZKoxP:`xjm9jq1`,kzqmXN:`xh8yej3`,kkrTdU:`xyozgr7 x16khyan`,$$css:!0},noDividerHorizontal:{kWkggS:`xjbqb8w`,kzqmXN:`xnalus7`,$$css:!0},noDividerVertical:{kWkggS:`xjbqb8w`,kZKoxP:`xqtp20y`,$$css:!0},handleHover:{kWkggS:`x1m4xfpy`,$$css:!0},handleActive:{kWkggS:`x7njt3n`,$$css:!0},disabled:{kkrTdU:`xt0e3qv`,kfzvcC:`x47corl`,$$css:!0},hitArea:{kVAEAm:`x10l6tqk`,kY2c9j:`x1vjfegm`,kFalU9:`x5ve5x3`,kfSwDN:`x87ps6o`,$$css:!0},hitAreaHorizontal:{kzqmXN:`x12xnipv`,k87sOh:`x13vifvy`,krVfgx:`x1ey2m1c`,kkrTdU:`xicojor x16khyan`,$$css:!0},hitAreaVertical:{kZKoxP:`x6b6gus`,kLqNvP:`x1o0tod`,kt4wiu:`xtijo5x`,kkrTdU:`xyozgr7 x16khyan`,$$css:!0},hitAreaCenteredY:{k87sOh:`xwa60dl`,k3aq6I:`x1cb1t30`,$$css:!0},hitAreaWithinHandleX:{kzqmXN:`x5wh7xo`,$$css:!0},hitAreaWithinHandleY:{kZKoxP:`x1tvnn7s`,$$css:!0},pill:{kVAEAm:`x10l6tqk`,kY2c9j:`xhtitgo`,kFalU9:`x5ve5x3`,kfSwDN:`x87ps6o`,kaIpWk:`xjspbzw`,kWkggS:`x1m4xfpy`,k1ekBW:`x1wbls7o`,kIyJzY:`xuedmi6`,kAMwcw:`xlr8y92`,k87sOh:`xwa60dl`,$$css:!0},pillGrabHorizontal:{kkrTdU:`xicojor x16khyan`,$$css:!0},pillGrabVertical:{kkrTdU:`xyozgr7 x16khyan`,$$css:!0},pillHorizontal:{kzqmXN:`x1g8rjiy`,kZKoxP:`x18to7ep`,$$css:!0},pillVertical:{kzqmXN:`xgc8j7m`,kZKoxP:`xuoj239`,$$css:!0},pillHidden:{kSiTet:`xg01cxk`,kfzvcC:`x47corl`,$$css:!0},pillVisible:{kSiTet:`x1hc1fzr`,$$css:!0},pillHover:{kSiTet:`x1hc1fzr`,kfzvcC:`x67bb7w`,kWkggS:`x1m4xfpy`,$$css:!0},pillActive:{kSiTet:`x1hc1fzr`,kfzvcC:`x67bb7w`,kWkggS:`x7njt3n`,$$css:!0},pillBridgeRight:{kgeoSG:`x1cpjm7i`,kEoFBp:`x1hmns74`,kGOzcv:`x1nc033x`,kSJ0CW:`x1682cnc x7my30s`,koaPKo:`x5ig7ga x3k25x4`,$$css:!0},pillBridgeLeft:{kgeoSG:`x1cpjm7i`,kEoFBp:`x1hmns74`,kGOzcv:`x1nc033x`,kSJ0CW:`x1vl71nl xnx00js`,koaPKo:`xtyp5od x17kcdp5`,$$css:!0},pillBridgeDown:{kgeoSG:`x1cpjm7i`,kEoFBp:`x1hmns74`,kpsdNU:`xm4btww`,k96MEf:`x1y3wzot`,k5Ofw7:`xxgnp13`,$$css:!0},pillBridgeUp:{kgeoSG:`x1cpjm7i`,kEoFBp:`x1hmns74`,kpsdNU:`xm4btww`,k96MEf:`x1phjwh8`,k5Ofw7:`xhq5o37`,$$css:!0}},Uce={kzqmXN:`x5lhr3w`,$$css:!0},Wce={kZKoxP:`x16ye13r`,$$css:!0},Gce={kLqNvP:`x1o0tod`,k3aq6I:`xsqj5wx`,$$css:!0},Kce={k87sOh:`x13vifvy`,k3aq6I:`xsqj5wx`,$$css:!0},_7={hitAreaLengthX:e=>[Uce,{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(`min(${j[`--spacing-4`]}, ${e}px)`)}],hitAreaLengthY:e=>[Wce,{\"--x-height\":(e=>typeof e==`number`?e+`px`:e??void 0)(`min(${j[`--spacing-4`]}, ${e}px)`)}],pillOffsetX:e=>[Gce,{\"--x-transform\":`translate(calc(${e} * (100% + ${j[`--spacing-1`]})), -50%)`==null?void 0:`translate(calc(${e} * (100% + ${j[`--spacing-1`]})), -50%)`}],pillOffsetY:e=>[Kce,{\"--x-transform\":`translate(-50%, calc(${e} * (100% + ${j[`--spacing-1`]})))`==null?void 0:`translate(-50%, calc(${e} * (100% + ${j[`--spacing-1`]})))`}]};function v7({direction:e=`horizontal`,position:t=`inline`,isReversed:n=!1,isDisabled:r=!1,hasDivider:i=!1,isAlwaysVisible:a=!0,pillPlacement:o=`auto`,label:s,resizable:c,children:l,xstyle:u,className:d,ref:f,...p}){let m=c==null?void 0:NR(c),h=nT(),g=s??h(`@astryx.resizable.handle.label`),_=(0,X.useRef)(null),[v,y]=(0,X.useState)(!1),[x,S]=(0,X.useState)(!1),w=e===`horizontal`,T=t===`overlay`,E=nu(m),D=(0,X.useRef)(void 0),O=nu({direction:e,isReversed:n,isDisabled:r}),[k,A]=(0,X.useState)(!1),[j]=(0,X.useState)(()=>$R(()=>_.current,{state(){let e=E.current;return{size:e?._size??0,isCollapsed:e?._isCollapsed??!1,minPx:e?._minSizePx??0,maxPx:e?._maxSizePx??1/0,snaps:e?._snaps??[],collapsedSize:e?._collapsedSize??0,collapsible:e?._collapsible??!1}},start:()=>{D.current=E.current,E.current?._onResizeStart()},move:e=>E.current?._onResizeMove(e),end:e=>{let t=E.current??D.current;D.current=void 0,t!=null&&IR(t,e??0)},cancel:()=>{let e=E.current??D.current;D.current=void 0,e?._onResizeCancel?.()},get collapse(){let e=E.current;return e?FR(e)?.collapse:void 0},get expand(){let e=E.current;return e?FR(e)?.expand:void 0}},()=>({...O.current,isDisabled:O.current.isDisabled||E.current==null}),e=>{A(e);let t=E.current;t!=null&&XV(t)?.setPointerDragging(e)})),M=m==null?null:j,N=m?._isCollapsed??!1,P=Hce(o,n,N),F=m?._size,I=N||F==null||F<=0?void 0:F,L=v||x,R=m?._direction;OC(`ResizeHandle`,`direction=\"${e}\" but its useResizable region is \"${R}\". They must match: the hook measures one axis and the handle drags the other.`,R!=null&&R!==e);let z=m!=null;(0,X.useEffect)(()=>{if(z)return()=>{j.interrupt()}},[z,j]);let{ref:B}=Ff(),[,V]=(0,X.useReducer)(e=>e+1,0),H=(0,X.useRef)(null),ee=(0,X.useCallback)(e=>{if(e==null)return;let t=VV(e);return()=>{t(),H.current=GV(H.current,null,null,!1,null)}},[]),U=m?._isCollapsed??!1;(0,X.useEffect)(()=>z?UV(V):void 0,[z]),b(()=>{let e=_.current,t=z&&e!=null?WV(e,n):null;H.current=GV(H.current,t,null,U,e)});let te=m?._size,W=m?._minSizePx,G=m?PR(m)??(m._maxSizePx===1/0?void 0:m._maxSizePx):void 0,ne=iH({direction:e,isDisabled:r,value:te==null||W==null?void 0:{size:te,minPx:W,maxPx:G,isCollapsed:N,collapsedText:h(`@astryx.resizable.collapsed`)}}),re={onPointerDown:e=>{r||M?.pointerDown(e)},onPointerMove:e=>M?.pointerMove(e),onPointerUp:e=>M?.pointerUp(e),onPointerCancel:e=>M?.pointerCancel(e),onLostPointerCapture:e=>M?.pointerCancel(e),onPointerEnter:()=>y(!0),onPointerLeave:()=>{k||y(!1)}};return(0,Z.jsxs)(`div`,{ref:gx(f,_,ee,B),role:`separator`,...ne,\"aria-label\":g,onDoubleClick:()=>{r||M?.doubleClick()},onFocus:()=>S(!0),onBlur:()=>S(!1),\"data-resizing\":k||void 0,...Q(Y(`resize-handle`),aS.focusVisible(g7.handle,T&&g7.overlay,T&&(w?g7.overlayHorizontal:g7.overlayVertical),T&&I!=null&&(w?g7.overlayHorizontalOnShortPane:g7.overlayVerticalOnShortPane),!T&&(w?g7.horizontal:g7.vertical),!T&&!i&&(w?g7.noDividerHorizontal:g7.noDividerVertical),!T&&i&&L&&!k&&g7.handleHover,!T&&i&&k&&g7.handleActive,r&&g7.disabled,u),d),...p,onKeyDown:e=>{p.onKeyDown?.(e),r||M?.keyDown(e)},children:[(0,Z.jsx)(`div`,{...C(g7.hitArea,w?g7.hitAreaHorizontal:g7.hitAreaVertical,w?$L.centerInline(`0px`):g7.hitAreaCenteredY,T&&(w?g7.hitAreaWithinHandleX:g7.hitAreaWithinHandleY),!T&&I!=null&&(w?_7.hitAreaLengthX(I):_7.hitAreaLengthY(I)),r&&g7.disabled),...re}),l??(0,Z.jsx)(`div`,{...Q(Y(`resize-handle-pill`),C(g7.pill,w?g7.pillHorizontal:g7.pillVertical,P===`center`?$L.centerInline(`-50%`):w?_7.pillOffsetX(P===`start`?-1:1):_7.pillOffsetY(P===`start`?-1:1),w?g7.pillGrabHorizontal:g7.pillGrabVertical,a?g7.pillVisible:g7.pillHidden,!a&&P!==`center`&&(w?P===`start`?g7.pillBridgeRight:g7.pillBridgeLeft:P===`start`?g7.pillBridgeDown:g7.pillBridgeUp),L&&!k&&g7.pillHover,k&&g7.pillActive,r&&g7.disabled)),...re})]})}v7.displayName=`ResizeHandle`,D(),vr(),MC(),vx(),EH(),Lj(),FQ(),bj(),Hf(),iT(),xO(),Ww({\"@astryx.sideNav.label\":`Side navigation`,\"@astryx.sideNav.resizeSidebar\":`Resize sidebar`});var qce=160;function Jce(e,t){let n=typeof e==`object`?e:{},r=typeof t==`object`?t:{},i=r.defaultIsCollapsed!==void 0||r.isCollapsed!==void 0||r.onCollapseChange!==void 0;return{isCollapsible:!!e||i,defaultIsCollapsed:(i?r.defaultIsCollapsed:n.defaultIsCollapsed)??!1,isCollapsed:i?r.isCollapsed:n.isCollapsed,onCollapsedChange:i?r.onCollapseChange:n.onCollapsedChange,conflict:Yce(n,r)}}function Yce(e,t){let n=[e.defaultIsCollapsed!==void 0&&`defaultIsCollapsed`,e.isCollapsed!==void 0&&`isCollapsed`,e.onCollapsedChange!==void 0&&`onCollapsedChange`].filter(e=>e!==!1),r=[t.defaultIsCollapsed!==void 0&&`defaultIsCollapsed`,t.isCollapsed!==void 0&&`isCollapsed`,t.onCollapseChange!==void 0&&`onCollapseChange`].filter(e=>e!==!1);return n.length===0||r.length===0?null:`${n.map(e=>`collapsible.${e}`).join(`, `)} and ${r.map(e=>`resizable.${e}`).join(`, `)} address the same collapse state. resizable wins; the collapsible ${n.length===1?`value is`:`values are`} ignored.`}function Xce(e,t){let n=typeof e==`object`?e:{},r=[n.defaultIsCollapsed!==void 0&&`defaultIsCollapsed`,n.isCollapsed!==void 0&&`isCollapsed`,n.onCollapsedChange!==void 0&&`onCollapsedChange`].filter(e=>e!==!1),i=t.props._collapsible??!1,a=[];return r.length>0&&a.push(`\\`collapsible\\` sets ${r.map(e=>`\\`${e}\\``).join(`, `)}, which the rail ignores: it follows the region.`),e!==void 0&&!!e!==i&&a.push(i?\"`collapsible` is false, but the region is collapsible, so the rail still collapses.\":\"`collapsible` turns collapse on, but the region is not collapsible, so the rail never collapses.\"),{isCollapsible:i,defaultIsCollapsed:t.isCollapsed,isCollapsed:void 0,onCollapsedChange:void 0,conflict:a.length===0?null:`\\`resizable\\` is useResizable's output, which owns the collapse state and decides whether the rail collapses. ${a.join(` `)}`}}var y7={root:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kZKoxP:`x5yr21d`,kzqmXN:`x1hfn5x7`,kWkggS:`xgcd1z6`,kB7OPa:`x9f619`,kVQacm:`xb3r6kr`,$$css:!0},rootCollapsed:{kzqmXN:`xhgvbfk`,$$css:!0},resizableHandle:{kInvED:`x1wfwxd8 x1l5jwag`,$$css:!0},topbar:{k1xSpc:`x78zum5`,kXwgrk:`x1q0g3np`,kGNEyG:`x6s0dn4`,kjj79g:`x1qughib`,kZKoxP:`xsdox4t`,kzqmXN:`xh8yej3`,kWkggS:`xgcd1z6`,kB7OPa:`x9f619`,kVQacm:`xb3r6kr`,$$css:!0}},b7=`sm`;function x7(e){let t=e?.timeline?.currentTime;return t==null?null:Number(t)}function S7({header:e,topContent:t,children:n,footer:r,footerIcons:i,collapsible:a,resizable:o=!1,xstyle:s,className:c,style:l,\"data-testid\":u,ref:d,handleRef:f,...p}){let m=nT(),h=a!==void 0&&a,g=(typeof h==`object`?h:{}).hasButton??!0,_=yH(o)?o:null,v=typeof o==`object`&&!yH(o)?o:{},y=!!o,b=_==null?Jce(h,!yH(o)&&o):Xce(a,_),{isCollapsible:x,onCollapsedChange:S}=b;OC(`SideNav`,b.conflict??``,b.conflict!=null);let w=(0,X.useRef)(null),T=(0,X.useId)(),E=p.id??T,{ref:D}=Ff(),O=(0,X.useRef)(null),k=(0,X.useRef)(null),A=(0,X.useRef)(!1),j=gx(d,w,D,(0,X.useCallback)(e=>{e!=null&&e!==k.current&&(k.current=e,O.current=x7(e.ownerDocument))},[])),M=(0,X.useRef)({isCollapsed:!1,toggle:()=>{},isCollapsible:x}),N=CH({defaultSize:v.defaultWidth??260,minSize:v.minWidth??180,maxSize:v.maxWidth??480,collapsible:x,collapsedSize:qce,autoSaveId:v.autoSaveId,defaultIsCollapsed:b.defaultIsCollapsed,isCollapsed:b.isCollapsed,onSizeChange:v.onWidthChange,onCollapseChange:S}),P=_??N,F=P.isCollapsed,I=(0,X.use)(F5),L=(0,X.useRef)(null),R=(0,X.useCallback)(()=>L.current??w.current,[]),z=(0,X.useMemo)(()=>bce(R),[R]),B=(0,X.useRef)(null),V=(0,X.useRef)(null),H=(0,X.useCallback)(e=>{let t=V.current,n=t?.rail.shown()??null;t?.rail.end(),t?.endContent(),V.current=null;let r=A.current;A.current=!1;let i=x7(w.current?.ownerDocument);if(!r&&(i==null||i===O.current)){B.current=null,I?.landContent();return}B.current=xce(I?.rail()??R(),I?.animatedLayout??z,n,e);let a=B.current;a!=null&&a.swap==null&&!e?I?.landContent():I?.beforeRailChange()},[I,z,R]);(0,X.useLayoutEffect)(()=>{let e=B.current;if(B.current=null,e==null)return;let t=I?.afterRailChange()??(()=>{});V.current={rail:Cce(e,I?.rail()??R(),I?.animatedLayout??z,I?.column()??null),endContent:t}},[F,I,z,R]),(0,X.useLayoutEffect)(()=>()=>{V.current?.rail.end(),V.current?.endContent()},[]);let ee=(0,X.useRef)(new Map),U=(0,X.useRef)(new Set),te=(0,X.useMemo)(()=>({registerRow:(e,t)=>(ee.current.set(e,t),()=>{ee.current.delete(e)}),registerToggle:e=>(U.current.add(e),()=>{U.current.delete(e)})}),[]),W=DH(F,e=>{let t=w.current,n=e?null:BA(t)??BA(L.current);if(n==null||t==null)return null;let r=T7(t,ee.current),i=-1;r.forEach((e,t)=>{e.contains(n.element)&&(i=t)});let a=null;if(i<0){let e=C7(t,r),i=e.findIndex(e=>e.contains(n.element));a=i<0?null:{name:w7(e[i])}}return{focus:n,outside:a,wasOnToggle:[...U.current].some(e=>e.contains(n.element)),isRowKept:i>=0&&ee.current.get(r[i])===!0,keptBefore:r.slice(0,Math.max(i,0)).filter(e=>ee.current.get(e)===!0).length}},(e,t)=>{let n=w.current;if(!t||n==null)return;let r=T7(n,ee.current),i=e=>e==null?void 0:eA(e)[0],a=[...U.current].find(e=>n.contains(e)),o;e.wasOnToggle?o=a:e.outside!=null&&(o=C7(n,r).find(t=>w7(t)===e.outside?.name));let s=e.isRowKept?i(r[e.keptBefore]):o??a??i(r[e.keptBefore-1])??i(r[e.keptBefore]);VA(e.focus,s)}),G=(0,X.useCallback)(e=>{W(e),H(e)},[W,H]),ne=(0,X.useCallback)(()=>{let e=!F;A.current=!0,M.current={...M.current,isCollapsed:e},e?P.collapse():P.expand()},[F,P]),re=y&&!F;M.current={isCollapsed:F,toggle:ne,isCollapsible:x};let ie={isCollapsed:F,toggle:ne,isCollapsible:x};(0,X.useImperativeHandle)(f,()=>({getCollapseState:()=>M.current}),[]);let K=P5();if(K===`topbar`)return(0,Z.jsxs)(`div`,{\"data-testid\":u,...Q(Y(`side-nav`,{mode:`topbar`}),C(y7.topbar,s),c,l),children:[e,(0,Z.jsx)(`div`,{className:`x78zum5 x6s0dn4 xzye2dw xvc5jky`,children:(0,Z.jsx)(mE,{value:b7,children:i})})]});let q=bO(r)||bO(i);if(K===`drawer`)return(0,Z.jsxs)(M5,{header:e,\"data-testid\":u,xstyle:s,className:c,style:l,...p,children:[t,n,q&&(0,Z.jsxs)(`div`,{className:`x78zum5 xdt5ytf xr1yuqi x1txdalj x1xye8es`,children:[r,bO(i)&&(0,Z.jsx)(`div`,{className:`x78zum5 x6s0dn4 xzye2dw`,children:(0,Z.jsx)(mE,{value:b7,children:i})})]})]});if(K===`drawer-content`)return(0,Z.jsxs)(Z.Fragment,{children:[t,n,q&&(0,Z.jsxs)(`div`,{className:`x78zum5 xdt5ytf xr1yuqi x1txdalj x1xye8es`,children:[r,bO(i)&&(0,Z.jsx)(`div`,{className:`x78zum5 x6s0dn4 xzye2dw`,children:(0,Z.jsx)(mE,{value:b7,children:i})})]})]});let ae=bO(e)||bO(t),oe=bO(r)||bO(i),se=x&&g,ce=y?{...l??{},width:F?void 0:P.size}:l,le=(0,Z.jsxs)(`nav`,{ref:j,role:`navigation`,\"aria-label\":m(`@astryx.sideNav.label`),\"data-testid\":u,...Q(Y(`side-nav`),C(y7.root,F&&y7.rootCollapsed,s),c,ce),...p,id:E,children:[ae&&(0,Z.jsxs)(`div`,{...{0:{className:`x78zum5 xdt5ytf x2lah0s x7wzq59 x13vifvy x1vjfegm xgcd1z6 x1xye8es x1wesfrj xf314gf x1txdalj`},1:{className:`x78zum5 xdt5ytf x2lah0s x7wzq59 x13vifvy x1vjfegm xgcd1z6 x1xye8es x1wesfrj xf314gf x1txdalj x6s0dn4`}}[!!F|0],children:[e,bO(t)&&(0,Z.jsx)(`div`,{children:t})]}),(0,Z.jsx)(`div`,{...{0:{className:`x98rzlu x1odjw0f x6ikm8r xf314gf x1xye8es x1wesfrj`},4:{className:`x98rzlu x1odjw0f x6ikm8r xf314gf x78zum5 xdt5ytf x6s0dn4 x1xye8es x1wesfrj`},2:{className:`x98rzlu x1odjw0f x6ikm8r xf314gf xfsso4q x1wesfrj`},6:{className:`x98rzlu x1odjw0f x6ikm8r xf314gf x78zum5 xdt5ytf x6s0dn4 xfsso4q x1wesfrj`},1:{className:`x98rzlu x1odjw0f x6ikm8r xf314gf x1xye8es xy143xn`},5:{className:`x98rzlu x1odjw0f x6ikm8r xf314gf x78zum5 xdt5ytf x6s0dn4 x1xye8es xy143xn`},3:{className:`x98rzlu x1odjw0f x6ikm8r xf314gf xfsso4q xy143xn`},7:{className:`x98rzlu x1odjw0f x6ikm8r xf314gf x78zum5 xdt5ytf x6s0dn4 xfsso4q xy143xn`}}[!!F<<2|!!ae<<1|!!oe],children:n}),(oe||se)&&(0,Z.jsxs)(`div`,{...{0:{className:`x78zum5 xdt5ytf x2lah0s xr1yuqi x7wzq59 x1ey2m1c xgcd1z6 x1txdalj xf314gf xfsso4q x1wesfrj`},1:{className:`x78zum5 xdt5ytf x2lah0s xr1yuqi x7wzq59 x1ey2m1c xgcd1z6 x1txdalj xf314gf x1wesfrj xexx8yu x6s0dn4`}}[!!F|0],children:[r,(se||bO(i))&&(0,Z.jsx)(`div`,{...{0:{className:`x78zum5 x6s0dn4 xzye2dw`},1:{className:`x78zum5 x6s0dn4 xzye2dw x3ieub6`}}[!!F|0],children:(0,Z.jsxs)(mE,{value:b7,children:[se&&(0,Z.jsx)(h7,{}),i]})})]})]}),J=y?(0,Z.jsxs)(`div`,{ref:L,className:`x1n2onr6 x78zum5 x2lah0s x5yr21d x7giv3`,children:[le,re&&(0,Z.jsx)(v7,{\"data-testid\":`astryx-sidenav-resize-handle`,direction:`horizontal`,position:`overlay`,pillPlacement:`end`,isAlwaysVisible:!1,xstyle:y7.resizableHandle,resizable:_??N.props,label:m(`@astryx.sideNav.resizeSidebar`),\"aria-controls\":E})]}):le,ue=(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(TH,{value:F,onBeforeChange:G}),J]});return x?(0,Z.jsx)(p7,{value:te,children:(0,Z.jsx)(d7,{value:ie,children:ue})}):ue}function C7(e,t){return eA(e).filter(e=>!t.some(t=>t.contains(e)))}function w7(e){return PQ(e)??``}function T7(e,t){return[...t.keys()].filter(t=>e.contains(t)&&t.closest(`[popover]`)==null).sort((e,t)=>e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}S7.displayName=`SideNav`;var E7={item:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kOIVth:`x1txdalj`,kzqmXN:`xh8yej3`,kAzted:`x1uogy3y`,kg3NbH:`xf314gf`,k8WAf4:`xt970qd`,kaIpWk:`xh6dtrn`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kWkggS:`xjbqb8w`,kMwMTN:`x1tgivj0`,kybGjl:`x1hl2dhg`,kkrTdU:`x1ypdohk x16khyan`,kMv6JI:`xjb2p0i`,kGuDYH:`xcr08ib`,k63SB2:`x1sodnla`,kLWn49:`x1kq96og`,k9WMMc:`x1yc453h`,kB7OPa:`x9f619`,$$css:!0},selected:{kWkggS:`x17x4s8c x1jzqe4`,kMwMTN:`x1k5gbb1`,k63SB2:`x1e4wzip`,kRL5z6:`xcu6dpe x1d42zcn`,kSReZ0:`xjtnuge x1vo6n7o`,kNWwhB:`x7qqc7o x1r4mieh`,kCVruK:`x1bev2v5`,kjMJ7V:`xf3x42i x1pjcgc3`,kSPMfz:`x524tya`,$$css:!0},disabled:{kMwMTN:`xnbbluu`,kkrTdU:`xt0e3qv`,kfzvcC:`x47corl`,$$css:!0},sm:{kAzted:`x1gdqauq`,kg3NbH:`x7a5moj`,$$css:!0},md:{kAzted:`x1uogy3y`,kg3NbH:`xf314gf`,$$css:!0},lg:{kAzted:`x1xf4nls`,kg3NbH:`xf314gf`,$$css:!0}};MQ();function Zce(e){let{closeMobileNav:t}=O5();return n=>e?(...e)=>{n?.(...e),Qce(e[0])||t()}:n}function Qce(e){let t=e;return t?.currentTarget?.hasAttribute?.(`href`)===!0&&TQ(t)&&!t.defaultPrevented}D(),G(),sE(),iO(),Xx(),oS(),cO(),vO(),vr(),ZN(),vx(),iT(),xO(),ys(),Ww({\"@astryx.sideNavItem.collapse\":`Collapse {label}`,\"@astryx.sideNavItem.expand\":`Expand {label}`,\"@astryx.sideNavItem.submenuLabel\":`{label} submenu`});var D7={root:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kzqmXN:`xh8yej3`,$$css:!0},itemCollapsed:{kjj79g:`xl56j7k`,kzqmXN:`x805d0l`,kZKoxP:`x1ueg155`,kg3NbH:`xnjsko4`,$$css:!0},itemCollapsedSm:{kzqmXN:`x1fvqzum`,kZKoxP:`x6k0iem`,$$css:!0},itemCollapsedLg:{kzqmXN:`x1m747yf`,kZKoxP:`xssyfek`,$$css:!0},expandChevron:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kzqmXN:`x1mtvzj0`,kZKoxP:`xvpftlf`,kGuDYH:`x1qlqyl8`,k1ekBW:`x11xpdln`,kIyJzY:`xuedmi6 x12w9bfk`,kAMwcw:`xlr8y92`,kmuXW:`x2lah0s`,$$css:!0},expandChevronInRow:{kZKoxP:`xt7dq6l`,$$css:!0},expandChevronExpanded:{k3aq6I:`x19jd1h0`,$$css:!0},expandToggle:{kzqmXN:`x1fvqzum`,kZKoxP:`x6k0iem`,k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,kmVPX3:`x1717udv`,kogj98:`x1ghz6dp`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kWkggS:`xjbqb8w`,kMwMTN:`x1heor9g`,kkrTdU:`x1ypdohk x16khyan`,kaIpWk:`xh6dtrn`,$$css:!0},splitAction:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kSGwAc:`xkh2ocl`,kOIVth:`x1txdalj`,kUk6DE:`x98rzlu`,k7Eaqz:`xeuugli`,kMwMTN:`x1heor9g`,kybGjl:`x1hl2dhg`,kmVPX3:`x1717udv`,kogj98:`x1ghz6dp`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kWkggS:`xjbqb8w`,kMv6JI:`xjb2p0i`,kGuDYH:`x1qlqyl8`,k63SB2:`x1pd3egz`,kLWn49:`x15bjb6t`,k9WMMc:`x1yc453h`,kkrTdU:`x1ypdohk x16khyan`,$$css:!0},popoverGap:{keTefX:`x11g1kdw`,k71WvV:`xnur1sd`,$$css:!0}},$ce={kZCmMZ:`xnvo3vl`,$$css:!0},ele={kZCmMZ:`xnvo3vl`,$$css:!0},tle={kZCmMZ:`xnvo3vl`,$$css:!0},O7={sm:e=>[$ce,{\"--x-paddingInlineStart\":(e=>typeof e==`number`?e+`px`:e??void 0)(`calc(${j[`--spacing-1`]} + ${e} * ${j[`--spacing-6`]})`)}],md:e=>[ele,{\"--x-paddingInlineStart\":(e=>typeof e==`number`?e+`px`:e??void 0)(`calc(${j[`--spacing-2`]} + ${e} * ${j[`--spacing-6`]})`)}],primary:e=>[tle,{\"--x-paddingInlineStart\":(e=>typeof e==`number`?e+`px`:e??void 0)(`calc(${e} * ${j[`--spacing-6`]})`)}]},k7=_s(`SideNavItemDepthContext`,1,0);k7.displayName=`SideNavItemDepthContext`;var nle=`sm`,rle={isCollapsed:!1,toggle:()=>{},isCollapsible:!1};function A7({href:e,as:t,isDisabled:n,onClick:r,ref:i,children:a,...o}){let s=nO(t);return e&&!n?(0,Z.jsx)(s,{ref:i,href:e,onClick:r,...o,children:a}):(0,Z.jsx)(`button`,{ref:i,type:`button`,onClick:r,...XN(o,!!n),...n?{\"aria-disabled\":!0,...YN()}:null,children:a})}function ile(...e){let t=e.filter(Boolean).join(` `);return t===``?void 0:t}function j7({as:e,label:t,icon:n,selectedIcon:r,isSelected:i=!1,isDisabled:a=!1,href:o,onClick:s,endContent:c,actions:l,children:u,collapsible:d,size:f=`md`,\"data-testid\":p,ref:m,xstyle:h,...g}){let _=gO(),v=nT(),{isCollapsed:y}=f7(),b=P5(),x=Zce(b===`drawer`||b===`drawer-content`),S=(0,X.useId)(),w=!!u,T=(0,X.use)(k7),E=t7({hasLightDismiss:!0,hasAutoFocus:!0,hasCloseButton:!1,dialogLabel:v(`@astryx.sideNavItem.submenuLabel`,{label:t})}),D=gx(m,E.triggerRef),O=y&&!w,k=Gx({placement:`end`,focusTrigger:`always`,isEnabled:O,isOpen:O?void 0:!1}),A=gx(m,k.ref),j=(0,X.use)(p7),M=!!n&&T===0,N=(0,X.useCallback)(e=>e==null||j==null?void 0:j.registerRow(e,M),[j,M]),P=gx(N,k.ref),F=(0,X.useMemo)(()=>typeof d==`object`?d:{},[d]),I=w&&d!==!1,L=F.isCollapsed,R=L!==void 0,[z,B]=(0,X.useState)(F.defaultIsCollapsed??!1),V=R?L:z,H=(0,X.useCallback)(()=>{let e=!V;R||B(e),F.onCollapsedChange?.(e)},[V,R,F]),ee=i&&r?r:n,U=I&&(!!o||!!s)&&!y,te=!!l,W=e=>{a?e.preventDefault():I&&!U&&!y?(e.preventDefault(),H()):x(s)?.(e)},G=e=>{e.preventDefault(),e.stopPropagation(),H()},{triggerProps:ne,contentProps:re}=R2({show:E.show,hide:E.hide,isOpen:E.isOpen,isEnabled:y&&w,clickGuardMs:0,ownsFocus:!1});if(y&&!n)return null;if(y){let n=ee&&eE(ee,{size:`sm`,color:i?`inherit`:a?`disabled`:`secondary`}),r={...Q(Y(`side-nav-item`,{size:f,selected:i?`selected`:null,disabled:a?`disabled`:null}),aS.focusVisible(E7.item,sO.backgroundColor,E7[f],D7.itemCollapsed,f===`sm`&&D7.itemCollapsedSm,f===`lg`&&D7.itemCollapsedLg,i&&E7.selected,a&&E7.disabled),g.className),..._},s=g[`aria-label`]!=null&&g[`aria-label`].trim()!==``?g[`aria-label`]:t;if(w)return(0,Z.jsxs)(`div`,{ref:N,...C(D7.root,h),children:[(0,Z.jsx)(`button`,{ref:D,type:`button`,...g,...ne,\"aria-label\":s,\"data-testid\":p,...E.triggerProps,...r,children:n}),E.render((0,Z.jsxs)(`div`,{className:`x1hviunn xu0wf1k x7a5moj xfb3i0g`,onMouseEnter:re.onMouseEnter,onMouseLeave:re.onMouseLeave,onClick:()=>E.hide(),children:[(0,Z.jsx)(`div`,{className:`xf314gf xu0wf1k x141an7d x2mo6ok xv1l7n4 x1ltkj2j`,children:t}),(0,Z.jsx)(d7,{value:rle,children:(0,Z.jsx)(k7,{value:0,children:u})})]}),{placement:`end`,alignment:`start`,xstyle:D7.popoverGap})]});let c=a,l={\"aria-current\":i?`page`:void 0,\"aria-describedby\":ile(g[`aria-describedby`],k.describedBy),\"aria-disabled\":a||void 0,\"aria-label\":s,\"data-testid\":p},d=(0,Z.jsx)(A7,{ref:c?m:A,href:o,as:e,isDisabled:a,onClick:W,...g,...l,...r,children:n});return(0,Z.jsxs)(`div`,{ref:c?P:N,...C(D7.root,h),children:[d,k.renderTooltip(t)]})}let ie=(0,Z.jsxs)(Z.Fragment,{children:[ee&&eE(ee,{size:`sm`,color:i?`inherit`:a?`disabled`:`secondary`}),!y&&(0,Z.jsx)(`span`,{className:`x98rzlu xeuugli xb3r6kr xlyipyv xuxw1ft`,children:t}),!y&&bO(c)&&(0,Z.jsx)(`span`,{className:`x2lah0s x78zum5 x6s0dn4`,children:c}),!y&&I&&!U&&(0,Z.jsx)(XT,{icon:`chevronDown`,size:`lg`,color:`inherit`,xstyle:[D7.expandChevron,D7.expandChevronInRow,!V&&D7.expandChevronExpanded]})]}),K=Y(`side-nav-item`,{size:f,selected:i?`selected`:null,disabled:a?`disabled`:null}),q=[E7.item,sO.backgroundColor,E7[f],i&&E7.selected,a&&E7.disabled],ae=T>0&&O7[f===`sm`?`sm`:`md`](T),oe=T>0&&O7.primary(T),se={className:g.className,style:g.style},ce={...Q(K,C(...q)),..._},le={...Q(K,Q(aS.focusVisible(...q,ae),se)),..._},J={...Q(K,aS.focusWithinFirstChild(...q)),..._},ue=U||te,de;if(ue){let n=U?{\"aria-current\":i?`page`:void 0}:{\"aria-current\":i?`page`:void 0,\"aria-disabled\":a||void 0,\"aria-expanded\":I?!V:void 0,\"aria-controls\":I?`${S}-children`:void 0};de=(0,Z.jsxs)(`div`,{\"data-testid\":p,...te?J:ce,children:[(0,Z.jsx)(A7,{ref:m,href:o,as:e,isDisabled:a,onClick:W,...g,...n,...Q(te?aS.suppressed(D7.splitAction,oe):aS.focusVisible(D7.splitAction,oe),se),children:ie}),U&&(0,Z.jsx)(`button`,{type:`button`,onClick:G,\"aria-label\":v(V?`@astryx.sideNavItem.expand`:`@astryx.sideNavItem.collapse`,{label:t}),\"aria-expanded\":!V,\"aria-controls\":`${S}-children`,..._,...aS.focusVisible(D7.expandToggle,sO.backgroundColor),children:(0,Z.jsx)(XT,{icon:`chevronDown`,size:`lg`,color:`inherit`,xstyle:[D7.expandChevron,!V&&D7.expandChevronExpanded]})}),te&&(0,Z.jsx)(`span`,{className:`x2lah0s x78zum5 x6s0dn4 xzye2dw x67bb7w`,children:(0,Z.jsx)(mE,{value:nle,children:l})})]})}else{let t={\"aria-current\":i?`page`:void 0,\"aria-disabled\":a||void 0,\"aria-expanded\":I?!V:void 0,\"aria-controls\":I?`${S}-children`:void 0,\"data-testid\":p};de=(0,Z.jsx)(A7,{ref:m,href:o,as:e,isDisabled:a,onClick:W,...g,...t,...le,children:ie})}return(0,Z.jsxs)(`div`,{ref:N,...C(D7.root,h),children:[de,w&&!y&&(0,Z.jsx)(`div`,{id:`${S}-children`,role:`group`,\"aria-labelledby\":`${S}-label`,\"aria-hidden\":V,inert:V?!0:void 0,...{0:{className:`xrvj5dj x1tu4anv x1rea2x4 x6kj92 xd00j3c x1eizr8u xsr0bmt xostmdb x1k6wr6r xlr8y92`},1:{className:`xrvj5dj x6kj92 xd00j3c x1eizr8u xsr0bmt xlr8y92 xihq33y xb3r6kr xf1rc6`}}[!!V|0],children:(0,Z.jsxs)(`div`,{className:`x2lwn1j`,children:[(0,Z.jsx)(`span`,{id:`${S}-label`,hidden:!0,children:t}),(0,Z.jsx)(k7,{value:T+1,children:u})]})})]})}j7.displayName=`SideNavItem`,D(),uE(),vr(),xO();var ale={root:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,k8WAf4:`xu0wf1k`,$$css:!0}};function M7({ref:e,title:t,subtitle:n,children:r,endContent:i,isHeaderHidden:a=!1,xstyle:o,className:s,style:c,\"data-testid\":l,...u}){let{isCollapsed:d}=f7(),f=`${(0,X.useId)()}-title`,p=(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(`span`,{className:`x78zum5 xdt5ytf x98rzlu xeuugli`,children:[(0,Z.jsx)(`span`,{id:f,className:`x141an7d x2mo6ok x1ltkj2j xv1l7n4 xb3r6kr xlyipyv xuxw1ft`,children:t}),n&&(0,Z.jsx)(`span`,{className:`x141an7d x1ltkj2j xv1l7n4 xb3r6kr xlyipyv xuxw1ft`,children:n})]}),bO(i)&&(0,Z.jsx)(`span`,{className:`x2lah0s x78zum5 x6s0dn4`,children:i})]}),m=a||d;return(0,Z.jsxs)(`div`,{ref:e,...Q(Y(`side-nav-section`),C(ale.root,o),s,c),...u,role:`group`,\"aria-labelledby\":f,\"data-testid\":l,children:[m?(0,Z.jsx)(cE,{as:`div`,children:p}):(0,Z.jsx)(`div`,{className:`x78zum5 x6s0dn4 x1txdalj xf314gf xu0wf1k xt0e3qv x87ps6o`,children:p}),(0,Z.jsx)(`div`,{className:`x78zum5 xdt5ytf x1lsbc85`,children:r})]})}M7.displayName=`SideNavSection`,Xf();var N7=Uf(`AvatarSizeContext`,1,36);N7.displayName=`AvatarSizeContext`,ys();var P7=_s(`AvatarStatusLabelContext`,1,null);P7.displayName=`AvatarStatusLabelContext`,Xf();var F7=Uf(`AvatarGroupContext`,1,null);F7.displayName=`AvatarGroupContext`;function ole(){return(0,X.use)(F7)}D(),vx(),vr(),oS(),Xx(),MC(),iO(),iT(),Ww({\"@astryx.avatar.nameWithStatus\":`{name}, {status}`});var I7=(1-1/Math.SQRT2)/2,sle=.4;function cle(e){if(typeof e==`number`)return e;switch(e){case`xsm`:return 20;case`sm`:return 24;case`md`:return 36;case`lg`:return 48;case`xl`:return 128}}var lle={circle:{\"--_avatar-radius\":`xeincmr`,$$css:!0},rounded:{\"--_avatar-radius\":`xdarwi0`,$$css:!0},square:{\"--_avatar-radius\":`x877142`,$$css:!0}},L7={wrapper:{kVAEAm:`x1n2onr6`,k1xSpc:`x3nfvp2`,kmuXW:`x2lah0s`,kaIpWk:`xbc78cj`,$$css:!0},fallback:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kzqmXN:`xh8yej3`,kZKoxP:`x5yr21d`,kWkggS:`x17x4s8c`,kMwMTN:`x1tgivj0`,kMv6JI:`x9ynric`,k63SB2:`x1e4wzip`,kP9fke:`xtvhhri`,$$css:!0},loneFallback:{kMwMTN:`x1tgivj0 x1xt8qih`,$$css:!0},status:{kVAEAm:`x10l6tqk`,$$css:!0},interactive:{kysU6D:`xjyslct`,kmVPX3:`x1717udv`,kogj98:`x1ghz6dp`,kMzoRj:`xc342km`,ksu8eU:`xng3xce`,kWkggS:`xjbqb8w`,kMwMTN:`x1heor9g`,kVVagm:`xln7xf2`,kybGjl:`x1hl2dhg`,kkrTdU:`x1ypdohk x16khyan`,kaIpWk:`xbc78cj`,$$css:!0}},ule={kgeoSG:`x1536ba8 x1q91k8u`,$$css:!0},dle={kGuDYH:`xdmh292`,$$css:!0},fle={krVfgx:`x1nqzi6q`,kt4wiu:`xqxgn94`,k3aq6I:`x4v1no5 xqgnvz5`,$$css:!0},R7={initials:e=>[ule,{\"--x-16m2d0h\":e??void 0,\"--x-flj70p\":`${e} / \"\"`==null?void 0:`${e} / \"\"`}],size:e=>[{kzqmXN:e==null?e:`x5lhr3w`,kZKoxP:e==null?e:`x16ye13r`,$$css:!0},{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(e),\"--x-height\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],fontSize:e=>[dle,{\"--x-fontSize\":(e=>typeof e==`number`?e+`px`:e??void 0)(`${e*sle}px`)}],statusPositionCircle:e=>[fle,{\"--x-bottom\":(e=>typeof e==`number`?e+`px`:e??void 0)(e*I7),\"--x-insetInlineEnd\":(e=>typeof e==`number`?e+`px`:e??void 0)(e*I7)}],statusPositionCorner:{krVfgx:`x1ey2m1c`,kt4wiu:`xtijo5x`,k3aq6I:`xv8yid9 x10fxb7p`,$$css:!0}},z7={ring:{kMzoRj:`xdh2fpr`,ksu8eU:`x1y0btm7`,kVAM5u:`x1touxvs`,kWkggS:`x10xzikg`,kB7OPa:`x1afcbsf`,$$css:!0},overlap:{keTefX:`x13hpdyo`,$$css:!0}},ple={\"--_avatar-group-overlap\":`xlz5hwt`,$$css:!0},mle={overlap:e=>[ple,{\"--x---_avatar-group-overlap\":`${e}px`==null?void 0:`${e}px`}]},hle=RegExp(`[\\\\p{L}\\\\p{N}\\\\p{Extended_Pictographic}\\\\p{Regional_Indicator}]`,`u`);function gle(e){let t=e.search(hle);return t===-1?``:XL(e.slice(t))}function _le(e){return`\"${e.replace(/[\\\\\"]/g,e=>`\\\\${e}`).replace(/\\n/g,`\\\\a `)}\"`}function vle(e){let t=e.trim().split(/\\s+/).map(gle).filter(e=>e!==``);return t.length===0?``:t.length===1?t[0].toUpperCase():(t[0]+t[t.length-1]).toUpperCase()}function B7(e){if(!(0,X.isValidElement)(e))return;let{label:t}=e.props;return typeof t==`string`&&t!==``?t:void 0}function V7(e){return typeof e==`string`&&e.trim()!==``?e:void 0}function H7(e){return e!=null&&e!==``?{role:`img`,\"aria-label\":e}:{role:`presentation`,\"aria-hidden\":`true`}}function U7(e,t,n){return t&&n?e(`@astryx.avatar.nameWithStatus`,{name:t,status:n}):t||n}function W7(e,t,n){n==null?e.removeAttribute(t):e.setAttribute(t,n)}function yle({size:e}){return(0,Z.jsx)(`svg`,{width:e*.6,height:e*.6,viewBox:`0 0 24 24`,fill:`currentColor`,\"aria-hidden\":`true`,children:(0,Z.jsx)(`path`,{d:`M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z`})})}function G7({alt:e,\"data-testid\":t,fallbackSrc:n,name:r,size:i=`md`,shape:a=`circle`,src:o,status:s,tooltip:c=!0,href:l,as:u,target:d,rel:f,onClick:p,xstyle:m,className:h,style:g,ref:_,...v}){let[y,b]=(0,X.useState)(void 0),[x,S]=(0,X.useState)(void 0),w=o&&y!==o,T=!w&&n&&x!==n,E=V7(r),D=V7(e),O=E?vle(E):``,k=!w&&!T&&O!==``,A=!w&&!T&&O===``,j=nT(),M=D||E,N=U7(j,M,B7(s)),P=H7(N),F=N?{\"aria-label\":N}:void 0,I=ole(),L=I?.size??i,R=I?.shape??a,z=(0,X.useMemo)(()=>cle(L),[L]),B=(c===!1?void 0:typeof c==`string`?c:E)?.trim(),V=B!=null&&B!==``,H=typeof c==`string`,ee=Gx({placement:`above`,isEnabled:V}),U=V&&H?{\"aria-describedby\":[v[`aria-describedby`],ee.describedBy].filter(Boolean).join(` `)||void 0}:null,te=l!=null,W=!te&&p!=null,G=te||W,ne=nO(u),re=V7(v[`aria-label`])??V7(v[`aria-labelledby`]);OC(`Avatar`,\"an interactive avatar (with `href` or `onClick`) needs a meaningful accessible name. Pass `alt` or `name`.\",G&&!M&&re==null);let ie=(0,X.useRef)({label:void 0,update:null}),{\"aria-hidden\":K,\"aria-label\":q,role:ae}=v,oe=(0,X.useCallback)(e=>{if(e==null)return;let t=ie.current;return t.update=()=>{let n=U7(j,M,V7(t.label)??B7(s));q??W7(e,`aria-label`,n),G||(ae??e.setAttribute(`role`,n?`img`:`presentation`),K??W7(e,`aria-hidden`,n?void 0:`true`))},t.update(),()=>{t.update=null}},[K,q,ae,G,M,s,j]),se=gx(_,V?ee.ref:void 0,oe),ce=(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(`div`,{className:`x78zum5 x6s0dn4 xl56j7k xh8yej3 x5yr21d xb3r6kr x87ps6o xbc78cj`,children:[w&&(0,Z.jsx)(`img`,{src:o,alt:``,onError:()=>b(o),className:`xh8yej3 x5yr21d xl1xv1r`}),T&&(0,Z.jsx)(`img`,{src:n,alt:``,onError:()=>S(n),className:`xh8yej3 x5yr21d xl1xv1r`}),k&&(0,Z.jsx)(`div`,{...Q(Y(`avatar-fallback`,{size:L}),C(L7.fallback,I==null&&L7.loneFallback,R7.fontSize(z),R7.initials(_le(O))))}),A&&(0,Z.jsx)(`div`,{...Q(Y(`avatar-fallback`,{size:L}),{0:{className:`x78zum5 x6s0dn4 xl56j7k xh8yej3 x5yr21d x17x4s8c x1tgivj0 x9ynric x1e4wzip xtvhhri`},1:{className:`x78zum5 x6s0dn4 xl56j7k xh8yej3 x5yr21d x17x4s8c x9ynric x1e4wzip xtvhhri x1tgivj0 x1xt8qih`}}[I==null|0]),children:(0,Z.jsx)(yle,{size:z})})]}),!!s&&(0,Z.jsx)(`div`,{...C(L7.status,R===`circle`?R7.statusPositionCircle(z):R7.statusPositionCorner),children:s})]}),le=Q(Y(`avatar`,{size:L,shape:R}),aS.focusVisible(L7.wrapper,R7.size(z),G&&L7.interactive,I&&z7.ring,I&&z7.overlap,I&&mle.overlap(-I.overlap),lle[R],m),h,g),J,ue=v;return J=te?(0,Z.jsx)(ne,{...F,...ue,...U,ref:se,href:l,target:d,rel:f,\"data-avatar-item\":``,\"data-testid\":t,onClick:p,...le,children:ce}):W?(0,Z.jsx)(`button`,{...F,...ue,...U,ref:se,type:`button`,\"data-avatar-item\":``,\"data-testid\":t,onClick:p,...le,children:ce}):(0,Z.jsx)(`div`,{...P,...v,ref:se,tabIndex:V&&!I?0:void 0,\"data-testid\":t,...U,...le,children:ce}),(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(N7,{value:z,children:(0,Z.jsx)(P7,{value:ie,children:J})}),V?ee.renderTooltip(B):null]})}G7.displayName=`Avatar`;function ble({isOpen:e,highlightedIndex:t,setHighlightedIndex:n,getOptionId:r,itemCount:i}){let a=(0,X.useRef)(null),o=(0,X.useRef)(t),s=(0,X.useRef)(null),c=(0,X.useRef)(null),l=(0,X.useRef)(n),u=(0,X.useRef)(null),d=(0,X.useCallback)(e=>{a.current=e.index,l.current(e.index),e.onHighlight?.()},[]),f=(0,X.useCallback)(()=>{c.current?.(),c.current=null},[]),p=(0,X.useCallback)(()=>{f();let e=s.current;s.current=null,e!=null&&d(e)},[d,f]),m=(0,X.useCallback)(()=>{if(s.current=null,c.current!=null)return;let e=e=>{let t=u.current;u.current={x:e.screenX,y:e.screenY},(t==null||t.x!==e.screenX||t.y!==e.screenY)&&p()},t={capture:!0,passive:!0};document.addEventListener(`pointermove`,e,t),document.addEventListener(`pointerdown`,p,t),c.current=()=>{document.removeEventListener(`pointermove`,e,t),document.removeEventListener(`pointerdown`,p,t)}},[p]),h=(0,X.useCallback)((e,t)=>{c.current==null?(a.current=e,n(e),t?.()):s.current={index:e,onHighlight:t}},[n]);return(0,X.useEffect)(()=>{l.current=n},[n]),(0,X.useEffect)(()=>f,[f]),(0,X.useEffect)(()=>{let n=o.current!==t;o.current=t;let i=n&&a.current===t;if(a.current=null,i)return;let c=e&&t>=0?document.getElementById(r(t)):null;c==null?(s.current=null,f()):(m(),c.scrollIntoView?.({block:`nearest`}))},[e,t,r,i,f,m]),h}nv(),dP(),G(),Ox(),vr(),iT(),Ww({\"@astryx.chatTriggerMenu.noResults\":`No results`,\"@astryx.chatTriggerMenu.searching\":`Searching…`,\"@astryx.chatTriggerMenu.suggestions\":`Suggestions`});var xle={popoverSurface:{k7Eaqz:`xfb3i0g`,$$css:!0}};function K7(e){let t=window.getSelection();if(!t||t.rangeCount===0)return null;let n=t.getRangeAt(0).startContainer;return n.nodeType===Node.TEXT_NODE&&e.contains(n)?n:null}function q7(e){let t=window.getSelection();if(!t||t.rangeCount===0)return null;let n=t.getRangeAt(0);if(!n.collapsed||!e.contains(n.startContainer))return null;let r=n.startContainer;return r.nodeType===Node.TEXT_NODE?(r.textContent??``).slice(0,n.startOffset):null}var J7=64;function Sle(e,t,n){return e?.hasMultiWordQuery===!0&&e.emptySearchText==null&&t.length===0&&!n}function Cle(e){return e===null||e===` `||e===`\t`||e===`\n`}function Y7(e,t){let n=null;for(let r=0;rJ7&&(n=null),!Cle(r>0?e[r-1]:null))continue;let a=t.find(e=>e.character===i);a&&(n&&a.character!==n.trigger.character||(n={trigger:a,triggerStart:r}))}if(!n)return null;let r=e.slice(n.triggerStart+1);return n.trigger.hasMultiWordQuery&&r.length>J7?null:{trigger:n.trigger,query:r,triggerStart:n.triggerStart}}function wle(e,t){let n=window.getSelection();if(!n||n.rangeCount===0)return;let r=n.getRangeAt(0),i=r.startContainer;if(i.nodeType!==Node.TEXT_NODE)return;let a=i.textContent??``,o=r.startOffset;i.textContent=a.slice(0,t)+a.slice(o);let s=document.createRange();s.setStart(i,t),s.collapse(!0),n.removeAllRanges(),n.addRange(s)}function Tle(e){let t=nT(),{triggers:n,editableRef:r,onInsertToken:i,onInsertText:a,onEmitChange:o,debounceMs:s=150}=e,c=(0,X.useId)(),[l,u]=(0,X.useState)({isActive:!1,activeTrigger:null,query:``,items:[],highlightedIndex:0,isLoading:!1,isHidden:!1}),d=l.isLoading&&!l.isHidden&&l.activeTrigger!==null,f=l.activeTrigger?.loadingText??t(`@astryx.chatTriggerMenu.searching`),p=lP(d,f,r),m=(0,X.useRef)(-1),h=(0,X.useRef)(null),g=(0,X.useRef)(0),_=(0,X.useRef)(null),v=(0,X.useRef)(null),y=(0,X.useRef)(!1),b=(0,X.useCallback)(()=>{v.current&&=(v.current.remove(),null)},[]),x=Q_(),S=t7({onShow:()=>{let e=r.current;e!=null&&x.start(e,t=>$_(t,e,S.id),()=>S.hide())},onHide:(0,X.useCallback)(()=>{x.stop(),y.current||(h.current&&=(clearTimeout(h.current),null),g.current++,b(),u(e=>({...e,isActive:!1,activeTrigger:null,query:``,items:[],highlightedIndex:0,isLoading:!1,isHidden:!1})))},[x,b]),hasLightDismiss:!1,hasCloseButton:!1,hasAutoFocus:!1,role:`none`}),{show:C,hide:w}=S;(0,X.useEffect)(()=>()=>{h.current&&clearTimeout(h.current),b()},[b]);let T=(0,X.useCallback)(()=>{h.current&&=(clearTimeout(h.current),null),g.current++;let e=l.activeTrigger;e?.searchSource&&e.searchSource.cancel?.(),b(),y.current=!1,_.current=null,S.hide(),m.current=-1,u(e=>({...e,isActive:!1,activeTrigger:null,query:``,items:[],highlightedIndex:0,isLoading:!1,isHidden:!1}))},[S,l.activeTrigger,b]),E=(0,X.useCallback)(()=>{let e=r.current;if(!e)return;let t=window.getSelection();if(!t||t.rangeCount===0){S.triggerRef(e);return}b();let n=t.getRangeAt(0).cloneRange();n.collapse(!0);let i=typeof n.getBoundingClientRect==`function`?n.getBoundingClientRect():null;if(!i||i.width===0&&i.height===0&&i.top===0&&i.left===0){S.triggerRef(e);return}let a=document.createElement(`span`);a.setAttribute(`aria-hidden`,`true`),a.setAttribute(`data-astryx-trigger-anchor`,``),a.style.position=`fixed`,a.style.left=`${i.left}px`,a.style.top=`${i.top}px`,a.style.width=`${Math.max(i.width,1)}px`,a.style.height=`${i.height}px`,a.style.pointerEvents=`none`,a.style.opacity=`0`,document.body.appendChild(a),v.current=a,S.triggerRef(a)},[r,S,b]),D=(0,X.useCallback)((e,t)=>{h.current&&=(clearTimeout(h.current),null);let i=++g.current,a=()=>{if(i!==g.current)return!1;let t=r.current,a=t?q7(t):null,o=a===null||!n?null:Y7(a,n);return o?.trigger.character!==e.character||o.triggerStart!==m.current?(T(),!1):!0},o=t=>{p();let n=Sle(e,t,!1);u(e=>({...e,items:t,highlightedIndex:t.length>0?0:-1,isLoading:!1,isHidden:n})),n&&!y.current?(y.current=!0,w()):!n&&y.current&&(y.current=!1,E(),C())},c=()=>{if(e.searchSource){e.searchSource.cancel?.();let n=e.searchSource.search(t);Array.isArray(n)||u(e=>({...e,isLoading:!0})),Promise.resolve(n).then(e=>{a()&&o(e)},()=>{a()&&o([])})}};e.searchSource&&(e.searchSource.search(``)instanceof Promise&&s>0?(u(e=>({...e,isLoading:!0})),h.current=setTimeout(c,s)):c())},[s,r,n,T,E,w,C,p]),O=(0,X.useCallback)(e=>{let t=l.activeTrigger;if(!t)return;let n=r.current;if(!n)return;b(),wle(n,m.current);let s=t.onSelect(e);typeof s==`string`?a(s):i(s),o(),T()},[l.activeTrigger,r,b,a,i,o,T]),k=(0,X.useCallback)(()=>{if(!n||n.length===0)return;let e=r.current;if(!e)return;let t=q7(e);if(t===null){_.current=null,l.isActive&&T();return}let i=Y7(t,n);if(!i){_.current=null,l.isActive&&T();return}let{trigger:a,query:o,triggerStart:s}=i,c=_.current;if(c&&c.character===a.character&&c.triggerStart===s&&c.textNode!==null&&c.textNode.isConnected&&c.textNode===K7(e)){if(o.startsWith(c.dismissedQuery))return;_.current=null}else _.current=null;!l.isActive||l.activeTrigger?.character!==a.character||m.current!==s?(m.current=s,y.current=!1,u(e=>({...e,isActive:!0,activeTrigger:a,query:o,highlightedIndex:0,isHidden:!1})),E(),D(a,o),S.show()):l.query!==o&&(u(e=>({...e,query:o,activeTrigger:a})),D(a,o))},[n,r,l.isActive,l.activeTrigger,l.query,T,E,D,S]),A=l.isActive&&!l.isHidden,M=(0,X.useCallback)(e=>{if(Ex(e.nativeEvent)||!A)return!1;if(e.key===`Escape`){e.preventDefault();let t=r.current,n=l.activeTrigger?{character:l.activeTrigger.character,triggerStart:m.current,dismissedQuery:l.query,textNode:t?K7(t):null}:null;return T(),_.current=n,!0}let t=!l.isLoading&&l.items.length>0;if(!t&&(e.key===`ArrowDown`||e.key===`ArrowUp`))return e.preventDefault(),!0;if(!t)return!1;switch(e.key){case`ArrowDown`:return e.preventDefault(),u(e=>({...e,highlightedIndex:e.highlightedIndex({...e,highlightedIndex:e.highlightedIndex>0?e.highlightedIndex-1:e.items.length-1})),!0;case`Enter`:case`Tab`:return l.highlightedIndex>=0&&l.highlightedIndex`${c}-option-${e}`,[c]),P=ble({isOpen:S.isOpen,highlightedIndex:l.highlightedIndex,setHighlightedIndex:e=>u(t=>({...t,highlightedIndex:e})),getOptionId:N}),F=(n?.length??0)>0?A?{role:`combobox`,\"aria-expanded\":!0,\"aria-controls\":c,\"aria-activedescendant\":l.highlightedIndex>=0?N(l.highlightedIndex):void 0,\"aria-haspopup\":`listbox`}:{role:`combobox`,\"aria-expanded\":!1,\"aria-haspopup\":`listbox`}:{role:`textbox`,\"aria-multiline\":`true`};return{state:l,handleInput:k,handleKeyDown:M,renderMenu:(0,X.useCallback)(()=>{let e=l.activeTrigger;if(!e||l.isHidden)return null;let n=e.emptySearchText??t(`@astryx.chatTriggerMenu.noResults`),r;if(l.isLoading)r=(0,Z.jsx)(`div`,{className:`x1b2ylru x2b8uid x141an7d x1ltkj2j xv1l7n4`,children:f});else if(l.items.length===0&&l.isActive)r=(0,Z.jsx)(`div`,{className:`x1b2ylru x2b8uid x141an7d x1ltkj2j xv1l7n4`,children:n});else{let t=hre(l.items),n=0;r=t.map(t=>{let r=t.items.map(t=>{let r=n++;return(0,Z.jsx)(`div`,{id:N(r),role:`option`,\"aria-selected\":r===l.highlightedIndex,tabIndex:-1,onMouseDown:e=>{e.preventDefault(),O(t)},onMouseEnter:()=>P(r),...{0:{className:`x9f619 x78zum5 x6s0dn4 xh8yej3 xlsj2fj xh6dtrn x1ypdohk x16khyan x1a2a7pz xjbqb8w xc342km xng3xce x1yc453h x9ynric xjm74w1 xw6l6zx x1tgivj0`},1:{className:`x9f619 x78zum5 x6s0dn4 xh8yej3 xlsj2fj xh6dtrn x1ypdohk x16khyan x1a2a7pz xc342km xng3xce x1yc453h x9ynric xjm74w1 xw6l6zx x1tgivj0 x1lmrjuc`}}[r===l.highlightedIndex|0],children:e.renderItem?e.renderItem(t):(0,Z.jsx)(`span`,{className:`x98rzlu xeuugli xb3r6kr xlyipyv xuxw1ft`,children:t.label})},t.id)});return t.heading?(0,Z.jsxs)(`div`,{role:`group`,\"aria-label\":t.heading,children:[(0,Z.jsx)(`div`,{\"aria-hidden\":`true`,className:`xf314gf x1xye8es xy143xn x141an7d x1ltkj2j xv1l7n4 x87ps6o`,children:t.heading}),r]},`group-${t.heading}`):r})}return S.render((0,Z.jsx)(`div`,{id:c,role:`listbox`,\"aria-label\":e.menuLabel??t(`@astryx.chatTriggerMenu.suggestions`),...Q(Y(`trigger-menu`),{className:`x9f619 x1xiyphd x1odjw0f x9epnlk xfb3i0g`}),children:r}),{placement:`above`,alignment:`start`,offset:j[`--spacing-1`],xstyle:xle.popoverSurface})},[S,c,l,O,N,P,t,f]),reset:T,ariaProps:F}}function Ele(e){let t=window.getSelection();if(!t||t.rangeCount===0)return null;let n=t.getRangeAt(0);return!e.contains(n.startContainer)||!e.contains(n.endContainer)?null:n.cloneRange()}function Dle(e){let t=window.getSelection();t&&(t.removeAllRanges(),t.addRange(e))}function X7(e,t){if(t.startContainer!==e)return;let n=t.startOffset,r=n>0?e.childNodes[n-1]:null;if(r&&r.nodeType===Node.TEXT_NODE){let e=r;t.setStart(e,e.nodeValue?.length??0),t.collapse(!0)}else if(r&&r.nodeType===Node.ELEMENT_NODE){let e=r;if(e.isContentEditable){let n=e;for(;n.lastChild;)if(n=n.lastChild,n.nodeType===Node.TEXT_NODE){let e=n;t.setStart(e,e.nodeValue?.length??0),t.collapse(!0);return}}}}function Ole(e,t){let n=window.getSelection();if(!n)return;let r=document.createRange();t?r.setStartAfter(t):r.setStart(e,0),r.collapse(!0),X7(e,r),n.removeAllRanges(),n.addRange(r)}function kle(e){let t=e;for(;t!=null&&t.nodeType===Node.TEXT_NODE&&t.textContent===``;)t=t.previousSibling;return t==null?!1:t.nodeName===`BR`||t.nodeType===Node.TEXT_NODE&&(t.textContent??``).endsWith(`\n`)}function Ale(e){for(let t=e;t!=null;t=t.nextSibling)if(t.nodeType!==Node.TEXT_NODE||t.textContent!==``)return!0;return!1}function jle(e,t,n){if(!Ale(n)&&kle(t)){let t=window.getSelection();if(!t)return;let n=document.createTextNode(``);e.append(n,document.createElement(`br`));let r=document.createRange();r.setStart(n,0),r.collapse(!0),t.removeAllRanges(),t.addRange(r)}else Ole(e,t)}function Z7(e){let t=window.getSelection();if(!t)return!1;let n=document.createRange();return n.selectNodeContents(e),n.collapse(!1),X7(e,n),t.removeAllRanges(),t.addRange(n),!0}function Q7(e){let t=window.getSelection();if(!t)return null;if(t.rangeCount>0){let n=t.getRangeAt(0);if(e.contains(n.startContainer))return t}let n=document.createRange();return n.selectNodeContents(e),n.collapse(!1),X7(e,n),t.removeAllRanges(),t.addRange(n),t}function Mle(e){let t=window.getSelection();if(!t||t.rangeCount===0)return!1;let n=t.getRangeAt(0);return $7(e,n.startContainer,n.startOffset,`start`)}function Nle(e){let t=window.getSelection();if(!t||t.rangeCount===0)return!1;let n=t.getRangeAt(0);return $7(e,n.endContainer,n.endOffset,`end`)}function $7(e,t,n,r){if(!e.contains(t)||!Ple(t,n,r))return!1;for(let n=t;n&&n!==e;){if(Fle(n,r))return!1;n=n.parentNode}return!0}function Ple(e,t,n){return e.nodeType===Node.TEXT_NODE||e.nodeType===Node.CDATA_SECTION_NODE?n===`start`?t===0:t===(e.nodeValue?.length??0):n===`start`?t===0:t===e.childNodes.length}function Fle(e,t){for(let n=t===`start`?e.previousSibling:e.nextSibling;n;n=t===`start`?n.previousSibling:n.nextSibling)if(n.nodeType===Node.ELEMENT_NODE||n.nodeType===Node.TEXT_NODE&&n.nodeValue!==``)return!0;return!1}function e9(e,t){let n=Q7(e);if(!n||n.rangeCount===0)return!1;let r=n.getRangeAt(0);r.deleteContents();let i=document.createTextNode(t);return r.insertNode(i),r.setStart(i,t.length),r.collapse(!0),n.removeAllRanges(),n.addRange(r),!0}function Ile(e){return`render`in e&&typeof e.render==`function`}function Lle(e){let t=e;for(;t;){if(t instanceof HTMLElement&&t.hasAttribute(`data-astryx-token`))return t;t=t.parentNode}return null}function Rle({editableRef:e,onEmitChange:t}){let[n,r]=(0,X.useState)([]),i=(0,X.useCallback)(t=>{let n=e.current;if(!n)return;let i=Q7(n);if(!i||i.rangeCount===0)return;let a=i.getRangeAt(0),o=document.createElement(`span`),s=`token-${Date.now()}-${Math.random().toString(36).slice(2,6)}`;o.setAttribute(`data-astryx-token`,``),o.setAttribute(`data-astryx-token-value`,t.value),o.setAttribute(`data-astryx-token-id`,s),o.contentEditable=`false`,o.style.display=`inline-flex`,o.style.alignItems=`center`,o.style.height=`1lh`,o.style.verticalAlign=`top`,a.deleteContents(),a.insertNode(o);let c=document.createTextNode(`\\xA0`);o.after(c);let l=document.createRange();return l.setStart(c,c.length),l.collapse(!0),i.removeAllRanges(),i.addRange(l),r(e=>[...e,{id:s,span:o,token:t}]),s},[e]),a=(0,X.useCallback)(e=>{if(e.key!==`Backspace`)return!1;let n=window.getSelection();if(!n||!n.isCollapsed||n.rangeCount===0)return!1;let{startContainer:r,startOffset:i}=n.getRangeAt(0);if(r.nodeType===Node.TEXT_NODE&&i===0&&r.previousSibling instanceof HTMLElement&&r.previousSibling.hasAttribute(`data-astryx-token`))return!1;if(r.nodeType===Node.TEXT_NODE&&r.textContent===`\\xA0`&&i<=1&&r.previousSibling instanceof HTMLElement&&r.previousSibling.hasAttribute(`data-astryx-token`)){e.preventDefault();let n=r.previousSibling,i=n.previousSibling,a=r.nextSibling,o=r.parentNode;return o&&(o.removeChild(r),o.removeChild(n),o instanceof HTMLElement&&jle(o,i,a)),t(),!0}return!1},[t]),o=(0,X.useCallback)(n=>{let r=e.current;if(!r)return!1;let i=Q7(r);if(!i||i.rangeCount===0)return!1;let a=Lle(i.getRangeAt(0).startContainer);if(a){n.preventDefault();let e=n.clipboardData.getData(`text/plain`),o=a.nextSibling,s=document.createRange();if(o&&o.nodeType===Node.TEXT_NODE){let e=o;s.setStart(e,e.nodeValue?.length??0)}else s.setStartAfter(a);return s.collapse(!0),i.removeAllRanges(),i.addRange(s),e9(r,e),t(),!0}return!1},[e,t]);return{tokenPortals:n,expandToken:(0,X.useCallback)(i=>{if(!e.current)return;let a=n.find(e=>e.id===i);if(!a)return;let{span:o}=a,s=o.getAttribute(`data-astryx-token-value`)??``,c=document.createTextNode(s),l=o.nextSibling;l?.nodeType===Node.TEXT_NODE&&l.textContent===`\\xA0`&&l.remove(),o.replaceWith(c);let u=window.getSelection();if(u){let e=document.createRange();e.setStart(c,c.length),e.collapse(!0),u.removeAllRanges(),u.addRange(e)}r(e=>e.filter(e=>e.id!==i)),t()},[e,n,t]),insertToken:i,handleKeyDown:a,handlePaste:o,cleanupPortals:(0,X.useCallback)(()=>{r(t=>t.filter(t=>e.current?.contains(t.span)))},[e])}}fu(),j_(),bb(),bx(),ov(),Ux(),G(),vr();var zle={container:{kWkggS:`x10xzikg`,\"--_hovercard-radius\":`xqwz7mz`,kaIpWk:`x7a53xk`,kGVxlE:`x14hfi27`,$$css:!0}};function t9(e){return e==null?typeof document>`u`?null:document:e.ownerDocument}function Ble(e={}){let{placement:t=`above`,alignment:n=`center`,delay:r=300,hideDelay:i=200,focusTrigger:a=`auto`,touchTrigger:o=`auto`,isEnabled:s=!0,label:c,isOpen:l,isDefaultOpen:u=!1,onShow:d,onHide:f}=e,{ref:p,anchorId:m,show:h,hide:g,isOpen:_,id:v,render:y}=y_({mode:`context`,lazyMount:!0,onShow:d,onHide:f}),b=zle.container,x=(0,X.useRef)(null),S=(0,X.useRef)(null),C=(0,X.useRef)(null),w=(0,X.useRef)(null),[T,E]=(0,X.useState)(0),D=(0,X.useRef)(!1),O=(0,X.useRef)(!1),k=(0,X.useCallback)(()=>{x.current&&=(clearTimeout(x.current),null),S.current&&=(clearTimeout(S.current),null)},[]),A=(0,X.useCallback)(()=>{k(),h()},[k,h]),M=(0,X.useCallback)(()=>{k(),D.current=!1,g()},[k,g]),N=(0,X.useCallback)(()=>{D.current=!1,g()},[g]),{isTouchPointerRef:P,isTouchInteraction:F,handlePointerEnter:I,handlePointerDown:L,clearTapOpen:R}=gb({touchTrigger:o,isEnabled:s,isControlled:l!==void 0,isOpen:_,layerId:v,triggerRef:C,show:A,hide:M}),z=(0,X.useCallback)(()=>{s&&l!==!1&&(k(),x.current=setTimeout(()=>{h()},r))},[s,l,k,h,r]),B=(0,X.useCallback)(()=>{l!==!0&&(k(),S.current=setTimeout(()=>{D.current||g()},i))},[l,k,g,i]),V=(0,X.useCallback)(()=>{P.current||z()},[P,z]),H=(0,X.useCallback)(()=>{P.current||B()},[P,B]),ee=(0,X.useCallback)(e=>{L(e)&&x.current&&(clearTimeout(x.current),x.current=null)},[L]),[U]=(0,X.useState)(du),te=(0,X.useCallback)(e=>{U.focusIn(e,a)&&s&&(F()||(O.current?O.current=!1:l!==!1&&(k(),h())))},[U,a,s,l,F,k,h]),W=(0,X.useCallback)(e=>{if(!U.focusOut(e,a))return;let t=e.relatedTarget;(t9(C.current)?.getElementById(v))?.contains(t)||B()},[U,a,v,B]);Vx({isActive:T>0,getContainer:()=>C.current,isPresent:()=>{let e=t9(C.current)?.getElementById(v);if(e==null)return!1;try{return e.matches(`:popover-open`)}catch{return _}},onDismiss:()=>{if(k(),R(),l!==void 0){f?.();return}let e=t9(C.current),t=(e?.getElementById(v))?.contains(e?.activeElement??null)??!1;N(),t&&(O.current=!0,C.current?.focus())}},T);let G=(0,X.useCallback)(e=>{C.current&&(C.current.removeEventListener(`mouseenter`,V),C.current.removeEventListener(`mouseleave`,H),C.current.removeEventListener(`focusin`,te),C.current.removeEventListener(`focusout`,W),C.current.removeEventListener(`pointerenter`,I),C.current.removeEventListener(`pointerdown`,ee)),e&&(e.addEventListener(`pointerenter`,I),e.addEventListener(`mouseenter`,V),e.addEventListener(`mouseleave`,H),e.addEventListener(`pointerdown`,ee),a!==`never`&&(e.addEventListener(`focusin`,te),e.addEventListener(`focusout`,W))),C.current=e,e!=null&&e.ownerDocument!==w.current&&(w.current=e.ownerDocument,E(e=>e+1))},[a,V,H,te,W,I,ee]),ne=(0,X.useCallback)(e=>{p(e),G(e)},[p,G]);return(0,X.useEffect)(()=>()=>{k()},[k]),(0,X.useEffect)(()=>{u&&h()},[]),(0,X.useEffect)(()=>{if(l!==void 0){if(l)k(),h();else{k();let e=t9(C.current),t=(e?.getElementById(v))?.contains(e?.activeElement??null)??!1;g(),t&&(O.current=!0,C.current?.focus())}}},[l,k,h,g,v]),{ref:ne,positionRef:p,interactionRef:G,anchorId:m,id:v,describedBy:v,isOpen:_,renderHoverCard:(0,X.useCallback)((e,r)=>{let i=r?.placement??t,a=Y(`hover-card`).className,o={placement:i,alignment:r?.alignment??n,offset:j[`--spacing-1`],role:c?`dialog`:`group`,\"aria-label\":c||void 0,xstyle:[b,yx[i],r?.xstyle],className:r?.className?`${a} ${r.className}`:a,style:r?.style,as:`div`};return y((0,Z.jsx)(`div`,{ref:rv,className:`x1lliihq x1vlblms xvmdzux x126nfab x1t818jl`,onMouseEnter:()=>{P.current||(D.current=!0,k())},onMouseLeave:()=>{P.current||(D.current=!1,B())},onBlur:e=>{let t=e.relatedTarget;e.currentTarget.contains(t)||C.current?.contains(t)||B()},children:e}),o)},[y,t,n,c,k,B,b,P]),show:h,hide:N}}function n9(...e){let t=e.filter(Boolean);return t.length>0?t.join(` `):void 0}var r9={haspopup:!1,expanded:!1},Vle=new Set([`application`,`button`,`combobox`,`gridcell`,`link`,`menuitem`,`menuitemcheckbox`,`menuitemradio`,`searchbox`,`slider`,`tab`,`textbox`,`treeitem`]),Hle=new Set([`application`,`button`,`checkbox`,`columnheader`,`combobox`,`gridcell`,`link`,`listbox`,`menuitem`,`menuitemcheckbox`,`menuitemradio`,`row`,`rowheader`,`switch`,`tab`,`treeitem`]),Ule=new Set([`button`,`submit`,`reset`,`image`]),Wle=new Set([`text`,`search`,`email`,`tel`,`url`]);function Gle(e){let t=e.getAttribute(`role`)?.trim().split(/\\s+/)[0];if(t)return{haspopup:Vle.has(t),expanded:Hle.has(t)};switch(e.tagName){case`BUTTON`:return{haspopup:!0,expanded:!0};case`SUMMARY`:return{haspopup:!1,expanded:!0};case`A`:case`AREA`:return e.hasAttribute(`href`)?{haspopup:!0,expanded:!0}:r9;case`INPUT`:{let t=e.type?.toLowerCase()??`text`;return Ule.has(t)?{haspopup:!0,expanded:!0}:Wle.has(t)?{haspopup:!0,expanded:!1}:r9}case`TEXTAREA`:return{haspopup:!0,expanded:!1};case`SELECT`:return{haspopup:!e.multiple&&e.size<=1,expanded:!0};default:return r9}}function i9(e,t,n){let r={},i=e.haspopup?`dialog`:t.haspopup;i!=null&&i!==``&&(r[`aria-haspopup`]=i);let a=n.isOpen&&n.id!=null?n9(t.controls,n.id):t.controls;a!=null&&a!==``&&(r[`aria-controls`]=a);let o=e.expanded?String(n.isOpen):t.expanded;return o!=null&&o!==``&&(r[`aria-expanded`]=o),r}function a9(e,t){for(let n of[`aria-haspopup`,`aria-controls`,`aria-expanded`]){let r=t[n];r==null?e.removeAttribute(n):e.setAttribute(n,String(r))}}xO(),t_(),x(),oS();var o9={wrapperInline:{k1xSpc:`xt0psk2`,$$css:!0},hoverIndication:{kMnn75:`xujl8zx`,kmVMDM:`xev0dqp`,k1TLXF:`xycaml9`,kcSHmL:`x11b3rvo`,$$css:!0}};function Kle(e){if(typeof e==`string`||typeof e==`number`)return!0;if(!Array.isArray(e))return!1;let t=!1;for(let n of e.flat(1/0))if(bO(n)){if(typeof n!=`string`&&typeof n!=`number`)return!1;t=!0}return t}function s9({children:e,content:t,placement:n=`above`,alignment:r=`center`,delay:i=300,hideDelay:a=200,focusTrigger:o=`auto`,touchTrigger:s=`auto`,isEnabled:c=!0,label:l,onOpenChange:u,hasHoverIndication:d=`auto`,isOpen:f,isDefaultOpen:p,xstyle:m,className:h,style:g}){let _=(0,X.useRef)(null),v=Kle(e),y=d===!0||d===`auto`&&v,x=Ble({placement:n,alignment:r,delay:i,hideDelay:a,focusTrigger:o,touchTrigger:s,isEnabled:c,label:l,isOpen:f,isDefaultOpen:p,onShow:(0,X.useCallback)(()=>{u?.(!0)},[u]),onHide:(0,X.useCallback)(()=>{u?.(!1)},[u])}),[S,C]=(0,X.useState)(0),w=(0,X.useRef)(null);b(()=>{let e=_.current;if(!(v||e==null))return w.current=e.firstElementChild,Xg(e,{childList:!0},()=>{let t=e.firstElementChild;t!==w.current&&(w.current=t,C(e=>e+1))})},[v]),b(()=>{if(v)return;let e=_.current;if(!e)return;let t=e.firstElementChild;if(!t)return;if(x.ref(t),l){let e={haspopup:t.getAttribute(`aria-haspopup`),controls:t.getAttribute(`aria-controls`),expanded:t.getAttribute(`aria-expanded`)};return a9(t,i9(Gle(t),e,{id:x.id,isOpen:x.isOpen})),()=>{x.ref(null),a9(t,i9(r9,e,{id:null,isOpen:!1}))}}let n=t.getAttribute(`aria-describedby`);return t.setAttribute(`aria-describedby`,n9(n,x.describedBy)??``),()=>{x.ref(null),n?t.setAttribute(`aria-describedby`,n):t.removeAttribute(`aria-describedby`)}},[v,l,x.ref,x.id,x.isOpen,x.describedBy,S]);let T=x.renderHoverCard(t,{xstyle:m,className:h,style:g});return v?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`span`,{ref:x.ref,tabIndex:0,...l?i9(r9,{},{id:x.id,isOpen:x.isOpen}):null,\"aria-describedby\":l?void 0:x.describedBy,...aS.focusVisible(o9.wrapperInline,y&&o9.hoverIndication),children:e}),T]}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`span`,{ref:_,className:`xjp7ctv`,children:e}),T]})}s9.displayName=`HoverCard`,qw(),Ww({\"@astryx.chat.pastedText.label\":`{lines, plural, =1 {{chars, plural, other {{chars} chars}}} other {{lines} lines, {chars, plural, other {{chars} chars}}}}`});function c9(e,t){return t(`@astryx.chat.pastedText.label`,{lines:e.split(`\n`).length,chars:e.length})}bb(),iT(),Ww({\"@astryx.chat.pastedText.expand\":`Expand`});function l9({text:e,onExpand:t}){let n=nT(),r=c9(e,n),i=db(`mousedown`),a=(0,Z.jsxs)(`div`,{className:`x78zum5 xdt5ytf x1txdalj x17fpy1y`,children:[(0,Z.jsx)(`div`,{className:`x9m5x89 x141an7d x1ltkj2j x1tgivj0 x126k92a x13faqbe x1xiyphd x1odjw0f`,children:e}),(0,Z.jsxs)(`div`,{className:`x78zum5 x6s0dn4 x1qughib x1txdalj`,children:[(0,Z.jsx)(`span`,{className:`x141an7d x1ltkj2j xv1l7n4`,children:r}),t&&(0,Z.jsx)(IO,{label:n(`@astryx.chat.pastedText.expand`),variant:`ghost`,size:`sm`,onClick:t})]})]});return(0,Z.jsx)(s9,{content:a,placement:`above`,alignment:`start`,hasHoverIndication:!1,children:(0,Z.jsx)(VH,{label:r,variant:`neutral`,...i})})}l9.displayName=`ChatPastedTextToken`,iT();function qle(e,t){return{value:e,label:c9(e,t),variant:`neutral`}}function Jle({inputRef:e,threshold:t=200,toToken:n}){let r=nT();return{onPaste:(0,X.useCallback)((i,a)=>{if(a.length<=t)return!1;let o=n?n(a):qle(a,r);return e.current?.insertToken(o),!0},[e,t,n,r])}}Xf(),ys();var u9=Uf(`ChatMessageContext`,1,null);u9.displayName=`ChatMessageContext`;function Yle(){return(0,X.use)(u9)}var d9=Uf(`ChatListContext`,1,null);d9.displayName=`ChatListContext`;function Xle(){return(0,X.use)(d9)}var f9=_s(`ChatComposerContext`,1,null);f9.displayName=`ChatComposerContext`;function p9(){return(0,X.use)(f9)}var m9=_s(`ChatLayoutContext`,1,null);m9.displayName=`ChatLayoutContext`;function Zle(){return(0,X.use)(m9)}TL(),ys();var h9=_s(`KeyboardSurfaceContext`,1,!1);function g9(e,t){t&&rL(e.ownerDocument.defaultView)?e.focus({preventScroll:!0}):e.focus()}D(),Ox(),vr(),ZN(),iT(),Ww({\"@astryx.chat.composer.placeholder\":`Type a message…`,\"@astryx.chat.composerInput.label\":`Message input`});var Qle=22,_9={root:{kVAEAm:`x1n2onr6`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kAzted:`xe0957l`,$$css:!0},disabled:{kSiTet:`xbyyjgo`,kfzvcC:`x47corl`,$$css:!0},tokenSpan:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kZKoxP:`xg2ss61`,kXLuUW:`x16dsc37`,$$css:!0}};function v9(e){let t=window.getSelection();if(!t)return;let n=document.createRange();n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n)}function y9(e){let t=``;for(let n of Array.from(e.childNodes))n.nodeType===Node.TEXT_NODE?t+=n.textContent??``:n instanceof HTMLElement&&(n.hasAttribute(`data-astryx-token`)?t+=n.getAttribute(`data-astryx-token-value`)??``:n.tagName===`BR`?t+=`\n`:t+=y9(n));return t}function b9(e){let t=nT(),n=p9(),r=e.value!==void 0,{ref:i,handleRef:a,value:o=n?.value,onChange:s,placeholder:c,maxRows:l=8,triggers:u,debounceMs:d=150,hasHistory:f=!0,label:p,isDisabled:m=n?.isDisabled??!1,onPaste:h,pasteAsToken:g,onFiles:_,onSubmit:v=n?.onSubmit,onKeyDown:y,enterKeyHint:b=`send`,xstyle:x,className:S,style:w,...T}=e,E=XN(T,m),D=p??t(`@astryx.chat.composerInput.label`),O=c??n?.placeholder??t(`@astryx.chat.composer.placeholder`),k=n?.onChange,A=(0,X.useCallback)(e=>{r?s?.(e):(k?.(e),s!==k&&s?.(e))},[k,r,s]),j=(0,X.useRef)(null),M=(0,X.useRef)(null),[N,P]=(0,X.useState)(!0),F=(0,X.useRef)([]),I=(0,X.useRef)(-1),L=(0,X.useRef)(``),R=(0,X.useRef)(void 0),z=(0,X.useRef)(()=>void 0),B=(0,X.useRef)(()=>{}),V=(0,X.useRef)(()=>{}),H=(0,X.use)(h9),ee=(0,X.useCallback)(()=>{let e=j.current;if(!e)return;let t=Ele(e);g9(e,H),t?Dle(t):Z7(e)},[H]),U=(0,X.useCallback)(()=>{let e=j.current;e&&(g9(e,H),Z7(e))},[H]),te={insertToken:e=>z.current(e),expandToken:e=>V.current(e),insertText:e=>B.current(e),focus:ee,getValue:()=>y9(j.current??document.createElement(`div`))};M.current=te,(0,X.useImperativeHandle)(a,()=>te);let W=n?.inputControlRef;(0,X.useEffect)(()=>{if(W)return W.current={focus:U},()=>{W.current=null}},[W,U]),(0,X.useEffect)(()=>{if(o===void 0||!j.current)return;if(o===R.current){R.current=void 0;return}let e=j.current;if(y9(e)!==o){R.current=void 0;let t=document.activeElement===e;e.textContent=o,t&&Z7(e),P(o.length===0)}else R.current=void 0},[o]);let G=(0,X.useRef)(null),ne=(0,X.useRef)(0),re=(0,X.useCallback)(()=>{if(m||!j.current)return;let e=y9(j.current),t=j.current.querySelector(`[data-astryx-token], [data-astryx-dictation-interim]`)!=null,n=e.trim().length===0&&!t,r=n?``:e;R.current=r,P(n),ne.current+=1,A?.(r),G.current?.()},[m,A]),ie=Rle({editableRef:j,onEmitChange:re});G.current=ie.cleanupPortals;let K=ie.handleKeyDown,q=Jle({inputRef:M}),ae=g===!1?null:g??q,oe=(0,X.useCallback)(e=>{let t=j.current;t&&e9(t,e)},[]),se=(0,X.useCallback)(e=>{oe(e),re()},[re,oe]),ce=ie.insertToken,le=(0,X.useCallback)(e=>{let t=ce(e);return t!=null&&re(),t},[re,ce]);z.current=m?()=>void 0:le,B.current=m?()=>{}:se,V.current=m?()=>{}:ie.expandToken;let J=Tle({triggers:u,editableRef:j,onInsertToken:ie.insertToken,onInsertText:oe,onEmitChange:re,debounceMs:d}),ue=m&&J.ariaProps.role===`combobox`?{...J.ariaProps,\"aria-expanded\":!1,\"aria-controls\":void 0,\"aria-activedescendant\":void 0}:J.ariaProps;(0,X.useEffect)(()=>{m&&J.state.isActive&&J.reset()},[m,J]);let de=(0,X.useCallback)(()=>{m||(re(),J.handleInput())},[m,re,J]),fe=(0,X.useCallback)(()=>{!m&&J.state.isActive&&J.handleInput()},[m,J]),pe=(0,X.useCallback)(e=>{if(m)(e.key===`Enter`||e.key===` `)&&e.preventDefault();else if(!J.handleKeyDown(e)&&(y?.(e),!e.defaultPrevented&&!K(e))){if(e.key===`Enter`&&!e.shiftKey){if(Ex(e.nativeEvent)||(e.preventDefault(),!j.current))return;let t=y9(j.current).trim();if(!t)return;f&&(F.current.push(t),I.current=-1,L.current=``),J.reset(),v?.(t),j.current.textContent=``,P(!0),A?.(``)}else if(f&&(e.key===`ArrowUp`||e.key===`ArrowDown`)){if(!j.current)return;let t=j.current;Q7(t);let n=window.getSelection()?.isCollapsed??!0,r=Mle(t),i=Nle(t),a=r&&(n||i),o=i&&(n||r);if(e.key===`ArrowUp`?!a:!o)return;let s=y9(t),c=F.current;if(c.length===0)return;if(e.key===`ArrowUp`){I.current===-1&&(L.current=s);let t=I.current===-1?c.length-1:Math.max(0,I.current-1);I.current=t,j.current.textContent=c[t],v9(j.current),re(),e.preventDefault()}else if(e.key===`ArrowDown`&&I.current!==-1){let t=I.current+1;t>=c.length?(I.current=-1,j.current.textContent=L.current,L.current&&v9(j.current)):(I.current=t,j.current.textContent=c[t],v9(j.current)),re(),e.preventDefault()}}}},[m,f,v,A,re,J,y,K]),me=(0,X.useCallback)(e=>{if(m){e.preventDefault();return}let t=j.current;if(!t||(Q7(t),ie.handlePaste(e)))return;let n=Array.from(e.clipboardData.files);if(n.length>0){e.preventDefault(),_?.(n);return}e.preventDefault();let r=e.clipboardData.getData(`text/plain`),i=ne.current;if(h?.(e,r)){ne.current===i&&re();return}let a=ne.current;ae?.onPaste(e,r)?ne.current===a&&re():(e9(t,r),re())},[m,_,h,re,ie,ae]),he=(0,X.useCallback)(e=>{Array.from(e.dataTransfer.types).includes(`Files`)&&e.preventDefault()},[]),ge=(0,X.useCallback)(e=>{if(m){e.preventDefault();return}let t=Array.from(e.dataTransfer.files);t.length!==0&&(e.preventDefault(),_?.(t))},[m,_]),_e=l*Qle;return(0,Z.jsxs)(`div`,{ref:i,...Q(Y(`chat-composer-input`),C(_9.root,m&&_9.disabled,x),S,w),...E,children:[N&&(0,Z.jsx)(`div`,{className:`x10l6tqk x13vifvy x1o0tod xtijo5x x47corl xv1l7n4 xjm74w1 xf9zqsd x19v9tvf x9ynric x87ps6o x7a5moj`,\"aria-hidden\":`true`,children:O}),(0,Z.jsx)(`div`,{ref:j,\"aria-label\":D,\"aria-describedby\":T[`aria-describedby`],tabIndex:0,contentEditable:!m,enterKeyHint:b,suppressContentEditableWarning:!0,onInput:de,onClick:fe,onKeyDown:pe,onPaste:me,onDragOver:he,onDrop:ge,...ue,\"aria-disabled\":m||void 0,...Q({className:`xe0957l x1a2a7pz x126k92a x13faqbe x1odjw0f xjm74w1 xf9zqsd x19v9tvf x9ynric x1tgivj0 xxugrtn x7a5moj`},{style:{maxHeight:`${_e}px`}})}),!m&&J.renderMenu(),ie.tokenPortals.filter(({span:e})=>e.isConnected).map(({id:e,span:t,token:n})=>(0,wS.createPortal)(Ile(n)?(0,Z.jsx)(`span`,{children:n.render()},e):n.value.length>(ae===null?1/0:200)?(0,Z.jsx)(l9,{text:n.value,onExpand:()=>V.current(e)},e):(0,Z.jsx)(VH,{label:n.label,variant:n.variant,icon:n.icon},e),t))]})}b9.displayName=`ChatComposerInput`,vr(),iT(),Ww({\"@astryx.chatSendButton.send\":`Send`,\"@astryx.chatSendButton.stop\":`Stop`});var $le={root:{\"--_button-radius\":`x1rjw8qi`,kaIpWk:`xy0xnkn`,kmuXW:`x2lah0s`,$$css:!0}};function x9(e){let t=nT(),n=p9(),{isStopShown:r=n?.isStopShown??!1,isDisabled:i=!(n?.canSend??!1),onSend:a,onStop:o=n?.onStop,onClick:s,sendIcon:c,stopIcon:l,size:u=`md`,xstyle:d,className:f,style:p,ref:m,...h}=e,g=a??(()=>n?.onSubmit(n.value)),_=KU(`stop`),v=KU(`arrowUp`);return(0,Z.jsx)(IO,{ref:m,label:t(r?`@astryx.chatSendButton.stop`:`@astryx.chatSendButton.send`),variant:r?`secondary`:`primary`,size:u,icon:r?l??_:c??v,isIconOnly:!0,isDisabled:!r&&i,onClick:_C(r?o:g,s),...h,...Q(Y(`chat-send-button`),{className:f},p),xstyle:[$le.root,d]})}x9.displayName=`ChatSendButton`,D(),sE(),vr(),px(),vx(),oS(),Hf(),iT(),Ww({\"@astryx.chat.composer.placeholder\":`Type a message…`});var S9={body:{kVAEAm:`x1n2onr6`,kY2c9j:`xhtitgo`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kmVPX3:`x18oj4ui`,kOIVth:`x1txdalj`,kaIpWk:`x1xunbrq`,kWkggS:`x1prclbq`,kkrTdU:`x1ed109x x16khyan`,k1ekBW:`x16mfhj0`,kAMwcw:`xlr8y92`,$$css:!0},compact:{\"--_chat-composer-padding\":`x18zce08`,kOIVth:`xzye2dw`,$$css:!0}},eue={low:{kGVxlE:`x1i5ehqx x1ymidup`,knuKkz:`xyavpck`,$$css:!0},none:{kMzoRj:`x1litavf`,ksu8eU:`x1y0btm7`,kVAM5u:`xvy26l8 x6q1khz`,kmVPX3:`x1b50gpf`,kGVxlE:`x1gnnqk1 x1xqjsvb xuihb5h`,$$css:!0}};function tue(e){return e instanceof HTMLElement&&e.matches(`textarea, [contenteditable=\"true\"], [role=\"textbox\"], [role=\"combobox\"][contenteditable], input:not([type]), input[type=\"text\"], input[type=\"search\"], input[type=\"email\"], input[type=\"url\"], input[type=\"tel\"], input[type=\"password\"]`)}function C9(e){let t=nT(),{ref:n,onSubmit:r,onStop:i,isStopShown:a=!1,value:o,onChange:s,placeholder:c,isDisabled:l=!1,density:u=`balanced`,elevation:d=`low`,drawer:f,headerActions:p,headerContext:m,input:h,footerActions:g,sendActions:_,sendButton:v,status:y,statusPosition:b=`bottom`,xstyle:x,className:S,style:w,...T}=e,E=c??t(`@astryx.chat.composer.placeholder`),[D,O]=(0,X.useState)(``),[k,A]=(0,X.useState)(!1),j=o!==void 0,M=j?o:D,N=(0,X.useCallback)(e=>{j||O(e),s?.(e)},[j,s]),P=(0,X.useCallback)(e=>{let t=e.trim();t&&!l&&(r(t),N(``))},[l,r,N]),F=M.trim().length>0&&!l,I=(0,X.useRef)(null),{ref:L,readModality:R}=Ff(),z=gx(I,L),B=(0,X.useRef)(null),V=(0,X.use)(h9),H=(0,X.useCallback)(e=>{if(e.target.closest(`button, a, [role=\"button\"], [contenteditable=\"true\"], [data-astryx-token]`))return;if(B.current){B.current.focus();return}let t=I.current?.querySelector(`[contenteditable=\"true\"], textarea`);t&&g9(t,V)},[V]),ee=(0,X.useCallback)(e=>{A(tue(e.target)&&R()===`keyboard`)},[R]),U=(0,X.useCallback)(e=>{e.currentTarget.contains(e.relatedTarget)||A(!1)},[]),te=(0,X.useRef)(null);cx(te,!!y?.message,y?.type??``,{skipFirstRender:!0,politeness:y?.type===`error`?`assertive`:`polite`});let W=y?(0,Z.jsxs)(`div`,{ref:te,...{0:{className:`x1n2onr6 x1ja2u2z x78zum5 x6s0dn4 x1txdalj x1pzlopt x141an7d x1ltkj2j x9ynric x1htvmrp xvpcij2 xckg3cf xkvxy4d x6k0y1c`},4:{className:`x1n2onr6 x1ja2u2z x78zum5 x6s0dn4 x1txdalj x1pzlopt x141an7d x1ltkj2j x9ynric x2gtn7z x9jihrk x1z0f2p2 xy7p8pm xzc3kxz`},2:{className:`x1n2onr6 x1ja2u2z x78zum5 x6s0dn4 x1txdalj x1pzlopt x141an7d x1ltkj2j x9ynric x1htvmrp xvpcij2 xckg3cf xkvxy4d x6k0y1c x1pritpl xl8t7bd xcthrzx x815t2r x3teovq xvr1dqx`},6:{className:`x1n2onr6 x1ja2u2z x78zum5 x6s0dn4 x1txdalj x1pzlopt x141an7d x1ltkj2j x9ynric x2gtn7z x9jihrk x1z0f2p2 xy7p8pm xzc3kxz x1pritpl xl8t7bd xcthrzx x815t2r x3teovq xvr1dqx`},1:{className:`x1n2onr6 x1ja2u2z x78zum5 x6s0dn4 x1txdalj x1pzlopt x141an7d x1ltkj2j x9ynric x1htvmrp xvpcij2 xckg3cf xkvxy4d x6k0y1c x24i8r5 xfy1f8t xcthrzx x815t2r x3teovq xvr1dqx`},5:{className:`x1n2onr6 x1ja2u2z x78zum5 x6s0dn4 x1txdalj x1pzlopt x141an7d x1ltkj2j x9ynric x2gtn7z x9jihrk x1z0f2p2 xy7p8pm xzc3kxz x24i8r5 xfy1f8t xcthrzx x815t2r x3teovq xvr1dqx`},3:{className:`x1n2onr6 x1ja2u2z x78zum5 x6s0dn4 x1txdalj x1pzlopt x141an7d x1ltkj2j x9ynric x1htvmrp xvpcij2 xckg3cf xkvxy4d x6k0y1c x24i8r5 xfy1f8t xcthrzx x815t2r x3teovq xvr1dqx`},7:{className:`x1n2onr6 x1ja2u2z x78zum5 x6s0dn4 x1txdalj x1pzlopt x141an7d x1ltkj2j x9ynric x2gtn7z x9jihrk x1z0f2p2 xy7p8pm xzc3kxz x24i8r5 xfy1f8t xcthrzx x815t2r x3teovq xvr1dqx`}}[(b===`top`)<<2|(y.type===`error`)<<1|y.type===`warning`],children:[(0,Z.jsx)(XT,{icon:y.type===`error`?`error`:`warning`,size:`md`,color:`inherit`}),y.message]}):null,G=(0,X.useMemo)(()=>({value:M,onChange:N,onSubmit:P,placeholder:E,isDisabled:l,isStopShown:a,canSend:F,onStop:i,inputControlRef:B}),[M,N,P,E,l,a,F,i]);return(0,Z.jsx)(f9,{value:G,children:(0,Z.jsxs)(`div`,{ref:n,...Q(Y(`chat-composer`,{density:u}),{0:{className:`x1n2onr6 x1ja2u2z xc8icb0 x78zum5 xdt5ytf xx161y6 xk0ittl xcw7vlg`},1:{className:`x1n2onr6 x1ja2u2z xc8icb0 x78zum5 xdt5ytf xx161y6 xk0ittl xcw7vlg x197sbye x47corl`}}[!!l|0],S,w),...T,children:[b===`top`&&W,f,(0,Z.jsxs)(`div`,{ref:z,onClick:H,onPointerDownCapture:()=>A(!1),onFocusCapture:ee,onBlurCapture:U,...C(S9.body,WN.textField,eue[d],k&&iS.focusWithin,u===`compact`&&S9.compact,x),children:[(p||m)&&(0,Z.jsxs)(`div`,{className:`x78zum5 x6s0dn4 x1qughib x1txdalj xe0p6wg`,children:[(0,Z.jsx)(`div`,{className:`x78zum5 x6s0dn4 xzye2dw`,children:p}),(0,Z.jsx)(`div`,{className:`x78zum5 x6s0dn4 x1txdalj xvc5jky x141an7d x1ltkj2j xv1l7n4`,children:m})]}),(0,Z.jsx)(`div`,{className:`x78zum5 xdt5ytf`,children:h??(0,Z.jsx)(b9,{})}),(0,Z.jsxs)(`div`,{className:`x78zum5 x6s0dn4 x1qughib x1txdalj x21xpn4`,children:[(0,Z.jsx)(`div`,{className:`x78zum5 x1a02dak x6s0dn4 xzye2dw xeuugli`,children:g}),(0,Z.jsxs)(`div`,{...{0:{className:`x78zum5 x6s0dn4 xzye2dw x2lah0s`},1:{className:`x78zum5 x6s0dn4 xzye2dw x2lah0s x67bb7w`}}[!!(l&&a)|0],children:[_,v??(0,Z.jsx)(x9,{})]})]})]}),b===`bottom`&&W]})})}C9.displayName=`ChatComposer`,D(),oS(),TT(),vr(),dP(),iT(),Ww({\"@astryx.spinner.loading\":`Loading`});var w9={root:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kUk6DE:`x98rzlu`,kAzted:`x2lwn1j`,$$css:!0},focusRingInset:{kInvED:`x1nw7mhf`,$$css:!0},inner:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kUk6DE:`x98rzlu`,kAzted:`x2lwn1j`,$$css:!0},gapCompact:{kOIVth:`x1txdalj`,k8WAf4:`xce4md1`,kg3NbH:`xrrkdod`,$$css:!0},gapBalanced:{kOIVth:`x18g69wz`,k8WAf4:`x1na6nto`,kg3NbH:`x1pzlopt`,$$css:!0},gapSpacious:{kOIVth:`x1qh66ti`,k8WAf4:`xq6koh6`,kg3NbH:`xm7rs69`,$$css:!0}},nue={0:{kOIVth:`xsn7fz1`,$$css:!0},1:{kOIVth:`xzye2dw`,$$css:!0},2:{kOIVth:`x1txdalj`,$$css:!0},3:{kOIVth:`xjcht0a`,$$css:!0},4:{kOIVth:`x18g69wz`,$$css:!0},5:{kOIVth:`x9mgr7n`,$$css:!0},6:{kOIVth:`x1qh66ti`,$$css:!0},8:{kOIVth:`x4t41sb`,$$css:!0},10:{kOIVth:`x3hoi3v`,$$css:!0},\"0.5\":{kOIVth:`x1lsbc85`,$$css:!0},\"1.5\":{kOIVth:`x1s4dlld`,$$css:!0}};function T9({children:e,emptyState:t,scrollToTopAction:n,density:r=`balanced`,gap:i,align:a=`bottom`,isStreaming:o=!1,xstyle:s,className:c,style:l,\"data-testid\":u,ref:d,...f}){let p=Zle(),m=(0,X.useRef)(null),h=(0,X.useRef)(null),[g,_]=(0,X.useTransition)();lP(g,nT()(`@astryx.spinner.loading`),h),(0,X.useEffect)(()=>{if(p?.contentRef&&h.current)return p.contentRef(h.current),()=>p.contentRef(null)},[p]);let v=e!=null&&e!==!1&&!(Array.isArray(e)&&e.length===0);(0,X.useEffect)(()=>{let e=p?.scrollContainerRef?.current;if(!n||!m.current)return;let t=new IntersectionObserver(e=>{e[0]?.isIntersecting&&_(async()=>{await n()})},{root:e??null,threshold:0});return t.observe(m.current),()=>t.disconnect()},[n,p]);let y=(0,X.useMemo)(()=>({density:r}),[r]),b=r===`compact`?w9.gapCompact:r===`spacious`?w9.gapSpacious:w9.gapBalanced,x=i==null?null:nue[i];return(0,Z.jsx)(d9,{value:y,children:(0,Z.jsx)(`div`,{...f,ref:d,role:`log`,\"aria-live\":`polite`,\"aria-busy\":o||void 0,tabIndex:0,\"data-testid\":u,...Q(Y(`chat-message-list`,{density:r}),C(w9.root,iS.focusVisible,w9.focusRingInset,s),c,l),children:(0,Z.jsxs)(`div`,{ref:h,...C(w9.inner,b,x),children:[n&&(0,Z.jsx)(`div`,{ref:m,\"aria-hidden\":!0}),g&&(0,Z.jsx)(`div`,{className:`x78zum5 xl56j7k x8o8v82`,children:(0,Z.jsx)(mT,{size:`md`,\"aria-hidden\":`true`})}),a===`bottom`&&(0,Z.jsx)(`div`,{className:`x98rzlu x2lwn1j`,\"aria-hidden\":!0}),v?e:bO(t)?(0,Z.jsx)(`div`,{className:`x78zum5 x6s0dn4 xl56j7k x98rzlu x2lwn1j`,children:t}):null]})})})}T9.displayName=`ChatMessageList`,D(),vr(),iT(),Ww({\"@astryx.chatMessage.messageFrom\":`Message from {sender}`});var E9={root:{k1xSpc:`x78zum5`,kGNEyG:`x1cy8zhl`,ks0D6T:`x193iq5w`,$$css:!0},rootGapCompact:{kOIVth:`x1s4dlld`,$$css:!0},rootGapBalanced:{kOIVth:`x1txdalj`,$$css:!0},rootGapSpacious:{kOIVth:`xjcht0a`,$$css:!0},rootAssistant:{kXwgrk:`x1q0g3np`,kjj79g:`x1nhvcw1`,$$css:!0},rootUser:{kXwgrk:`x15zctf7`,kjj79g:`x1nhvcw1`,$$css:!0},rootSystem:{kXwgrk:`x1q0g3np`,kjj79g:`xl56j7k`,$$css:!0},avatarOffset:{\"--_chat-avatar-offset\":`xwbd0jv x1p8rq6b`,$$css:!0},contentColumn:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kUk6DE:`x98rzlu`,k7Eaqz:`xeuugli`,$$css:!0},contentColumnSystem:{ks0D6T:`xq8v1hd`,kGNEyG:`x6s0dn4`,$$css:!0},contentColumnAssistant:{kGNEyG:`x1cy8zhl`,$$css:!0},contentColumnUser:{kGNEyG:`xuk3077`,$$css:!0},childrenWrap:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,k7Eaqz:`xeuugli`,kzqmXN:`xh8yej3`,$$css:!0},childrenAssistant:{kGNEyG:`x1cy8zhl`,$$css:!0},childrenUser:{kGNEyG:`xuk3077`,$$css:!0},childrenSystem:{kGNEyG:`x6s0dn4`,$$css:!0},childrenGapCompact:{kOIVth:`x1lsbc85`,$$css:!0},childrenGapBalanced:{kOIVth:`xzye2dw`,$$css:!0},childrenGapSpacious:{kOIVth:`x1s4dlld`,$$css:!0}};function D9({sender:e,children:t,avatar:n,name:r,metadata:i,density:a,xstyle:o,className:s,style:c,\"data-testid\":l,ref:u,...d}){let f=nT(),p=Xle(),m=a??p?.density??`balanced`,h=(0,X.useMemo)(()=>({sender:e,density:m}),[e,m]),g=m===`compact`?E9.rootGapCompact:m===`spacious`?E9.rootGapSpacious:E9.rootGapBalanced,_=m===`compact`?E9.childrenGapCompact:m===`spacious`?E9.childrenGapSpacious:E9.childrenGapBalanced,v=e===`system`?E9.rootSystem:e===`user`?E9.rootUser:E9.rootAssistant,y=e===`system`?E9.contentColumnSystem:e===`user`?E9.contentColumnUser:E9.contentColumnAssistant,b=e===`system`?E9.childrenSystem:e===`user`?E9.childrenUser:E9.childrenAssistant,x=e===`system`,S=!x&&bO(n),w=!x&&bO(r),T=!x&&bO(i),E=(0,X.useId)();return(0,Z.jsx)(u9,{value:h,children:(0,Z.jsxs)(`article`,{...d,ref:u,\"data-testid\":l,\"aria-label\":f(`@astryx.chatMessage.messageFrom`,{sender:e}),\"aria-labelledby\":w?E:void 0,...Q(Y(`chat-message`,{sender:e,density:m}),C(E9.avatarOffset,E9.root,v,S&&g,o),s,c),children:[S&&(0,Z.jsx)(`div`,{className:`xjl7jj x2lah0s xb1t4hs`,children:n}),(0,Z.jsxs)(`div`,{...C(E9.contentColumn,y),children:[w&&(0,Z.jsx)(`div`,{id:E,className:`xjl7jj x141an7d x2mo6ok xv1l7n4 x1ltkj2j x14cgwvg`,children:r}),(0,Z.jsx)(`div`,{...C(E9.childrenWrap,b,_),children:t}),T&&(0,Z.jsx)(`div`,{className:`xjl7jj`,children:i})]})]})})}D9.displayName=`ChatMessage`,D(),vr();var O9={content:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,ks0D6T:`xl6temz`,kaIpWk:`xashgol`,kMv6JI:`x9ynric`,kGuDYH:`xjm74w1`,kLWn49:`xw6l6zx`,kHjlTd:`x1mzt3pk`,kTgw9:`x13faqbe`,$$css:!0},radiusCompact:{kaIpWk:`x1hviunn`,$$css:!0},paddingCompact:{k8WAf4:`x8o8v82`,kg3NbH:`x1pzlopt`,$$css:!0},paddingBalanced:{k8WAf4:`x8o8v82`,kg3NbH:`x1pzlopt`,$$css:!0},paddingSpacious:{k8WAf4:`x1na6nto`,kg3NbH:`xzz68wx`,$$css:!0},paddingBlockNone:{k8WAf4:`xt970qd`,$$css:!0},metadataPaddingCompact:{kg3NbH:`x1pzlopt`,$$css:!0},metadataPaddingBalanced:{kg3NbH:`x1pzlopt`,$$css:!0},metadataPaddingSpacious:{kg3NbH:`xzz68wx`,$$css:!0},metadataReducedGap:{keoZOQ:`x1c40v9y`,$$css:!0},headerReducedGap:{k1K539:`xdrfirk`,$$css:!0},nameRow:{kZKoxP:`x1grt7ep`,k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,$$css:!0},alignEnd:{k9WMMc:`xp4054r`,$$css:!0},assistant:{kWkggS:`x17x4s8c`,kMwMTN:`x1tgivj0`,$$css:!0},user:{kWkggS:`x17x4s8c`,kMwMTN:`x1tgivj0`,$$css:!0},ghost:{kWkggS:`xjbqb8w`,kMwMTN:`x1tgivj0`,$$css:!0},groupFirstAssistant:{kVL7Gh:`xrfs2vl`,$$css:!0},groupMiddleAssistant:{krdFHd:`x3qb8m`,kVL7Gh:`xrfs2vl`,$$css:!0},groupLastAssistant:{krdFHd:`x3qb8m`,$$css:!0},groupFirstUser:{kT0f0o:`x1whkvtz`,$$css:!0},groupMiddleUser:{kfmiAY:`x126per9`,kT0f0o:`x1whkvtz`,$$css:!0},groupLastUser:{kfmiAY:`x126per9`,$$css:!0}},rue={ks0D6T:`x1x1rfll`,$$css:!0},iue={sizing:e=>[rue,{kzqmXN:e==null?e:`x5lhr3w`,$$css:!0},{\"--x-width\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}]};function k9({children:e,variant:t=`filled`,name:n,metadata:r,group:i,width:a,xstyle:o,className:s,style:c,\"data-testid\":l,ref:u,...d}){let f=Yle(),p=f?.sender??`assistant`,m=f?.density??`balanced`,h=m===`compact`?O9.paddingCompact:m===`spacious`?O9.paddingSpacious:O9.paddingBalanced,g=p===`user`,_=t===`ghost`?O9.ghost:g?O9.user:O9.assistant,v=i===`first`?g?O9.groupFirstUser:O9.groupFirstAssistant:i===`middle`?g?O9.groupMiddleUser:O9.groupMiddleAssistant:i===`last`?g?O9.groupLastUser:O9.groupLastAssistant:null,y=m===`compact`?O9.metadataPaddingCompact:m===`spacious`?O9.metadataPaddingSpacious:O9.metadataPaddingBalanced,b=bO(n),x=bO(r);return(0,Z.jsxs)(Z.Fragment,{children:[b&&(0,Z.jsx)(`div`,{\"data-chat-name\":!0,...C(y,O9.nameRow,O9.headerReducedGap,g&&O9.alignEnd),children:n}),(0,Z.jsx)(`div`,{...d,ref:u,\"data-testid\":l,...Q(Y(`chat-message-bubble`,{sender:p,variant:t,density:m}),C(O9.content,m===`compact`&&O9.radiusCompact,_,h,t===`ghost`&&O9.paddingBlockNone,v,a!=null&&iue.sizing(a),o),s,c),children:e}),x&&(0,Z.jsx)(`div`,{...C(y,O9.metadataReducedGap,g&&O9.alignEnd),children:r})]})}k9.displayName=`ChatMessageBubble`;var A9=`data-astryx-scroll-anchoring`,j9=`off`,M9=`rule`;function aue(e){if(e.head.querySelector(`[${A9}=\"${M9}\"]`)!=null)return;let t=e.createElement(`style`);t.setAttribute(A9,M9),t.textContent=`[${A9}=\"${j9}\"]{overflow-anchor:none !important}`,e.head.appendChild(t)}function oue(e,t){t?(aue(e.ownerDocument),e.setAttribute(A9,j9)):e.removeAttribute(A9)}function N9(e){let t=e.ownerDocument;return e===t.scrollingElement||e===t.documentElement}function sue(e){return N9(e)?0:e.getBoundingClientRect().top}function cue(e){return N9(e)?e.ownerDocument:e}gs(),Pu();var lue=1e3/60,P9=new WeakSet;function uue(e){return P9.has(e)}function F9(e,t){oue(e,t),t?P9.add(e):P9.delete(e)}function due({scrollRef:e,enabled:t=!0,lockThreshold:n=10,buttonThreshold:r=100,damping:i=.7,stiffness:a=.05,mass:o=1.25}){let[s,c]=(0,X.useState)(!1),[l,u]=(0,X.useState)(!0),d=(0,X.useRef)(!0),f=(0,X.useRef)(!0),p=(0,X.useRef)(0),m=(0,X.useRef)(void 0),h=(0,X.useRef)(!1),g=(0,X.useRef)(void 0),_=(0,X.useRef)(0),v=(0,X.useRef)(0),y=(0,X.useCallback)(t=>{d.current=t,u(t);let n=e.current;n!=null&&F9(n,t)},[e]),b=(0,X.useCallback)(()=>{let t=e.current;if(!t||!d.current||t.scrollHeight<=t.clientHeight){h.current=!1,g.current=void 0,p.current=0;return}let n=t.scrollHeight-t.clientHeight,r=Math.max(0,Math.min(n,m.current??t.scrollTop)),s=n-r;if(Math.abs(s)<.5&&Math.abs(p.current)<.1){t.scrollTop=n,h.current=!1,g.current=void 0,p.current=0;return}let c=performance.now(),l=g.current?(c-g.current)/lue:1;g.current=c,p.current=(i*p.current+a*s)/o,m.current=r+p.current*l,t.scrollTop=m.current,v.current=t.scrollTop,_.current=requestAnimationFrame(b)},[e,i,a,o]),x=(0,X.useCallback)(()=>{let t=e.current;t&&(cancelAnimationFrame(_.current),h.current=!1,p.current=0,g.current=void 0,t.scrollTop=t.scrollHeight-t.clientHeight,v.current=t.scrollTop)},[e]),S=ps(`(prefers-reduced-motion: reduce)`),C=(0,X.useCallback)(()=>{d.current&&(S?x():h.current||(h.current=!0,g.current=void 0,m.current=e.current?.scrollTop,_.current=requestAnimationFrame(b)))},[b,x,S,e]),w=(0,X.useCallback)(e=>{y(!0),c(!1),f.current=!1,e?.behavior===`instant`?x():C()},[y,C,x]),T=(0,X.useCallback)(t=>{let n=e.current;if(!n)return;let r=sue(n),i=t.getBoundingClientRect().top-r+n.scrollTop;n.scrollTo({top:i,behavior:`instant`}),v.current=n.scrollTop},[e]),E=(0,X.useCallback)(()=>{let t=e.current;if(!t)return;let n=t.getElementsByClassName(`astryx-chat-message`),r=n[n.length-1];r instanceof HTMLElement&&T(r)},[e,T]),D=(0,X.useCallback)(()=>{y(!0),c(!1),C()},[y,C]),O=(0,X.useCallback)(()=>{y(!1),h.current=!1},[y]),k=(0,X.useCallback)(()=>{if(!t||!d.current)return;let n=e.current;f.current&&n&&n.scrollHeight>n.clientHeight?(f.current=!1,x()):C()},[t,C,x,e]);return(0,X.useEffect)(()=>{let i=e.current;if(!i||!t)return;v.current=i.scrollTop,F9(i,d.current);let a=i.ownerDocument,o=N9(i),s=()=>o?i.clientHeight:i.offsetHeight,l=()=>{let{scrollTop:e,scrollHeight:t}=i,n=t-e-s();c(n>r);let a=e{i.scrollHeight-i.scrollTop-s()<=n&&y(!0)},p=cue(i),m=p===a?a.defaultView:null,g=[];if(m!=null){let e=e=>t=>{t.target===p&&e()};g.push(bu(m,`scroll`,e(l)),bu(m,`scrollend`,e(u)))}else i.addEventListener(`scroll`,l,{passive:!0}),i.addEventListener(`scrollend`,u);return requestAnimationFrame(()=>{i.scrollHeight>i.clientHeight&&(i.scrollTop=i.scrollHeight-i.clientHeight,v.current=i.scrollTop,f.current=!1)}),()=>{for(let e of g)e();i.removeEventListener(`scroll`,l),i.removeEventListener(`scrollend`,u),F9(i,!1)}},[e,t,n,r,y]),{isScrolledUp:s,isLocked:l,scrollToBottom:w,scrollToMessage:T,lock:D,unlock:O,scrollIfLocked:k,scrollToLastMessage:E}}Qi();function fue({isLocked:e,onResize:t}){let[n,r]=(0,X.useState)(!1),i=(0,X.useRef)(null),a=(0,X.useRef)(e),o=(0,X.useRef)(t);(0,X.useInsertionEffect)(()=>{a.current=e,o.current=t});let s=(0,X.useRef)(null),c=(0,X.useRef)(null),l=(0,X.useCallback)(e=>{let t=qi(e,()=>{o.current?.();let t=e.getElementsByClassName(`astryx-chat-message`),n=t.length>0?t[t.length-1]:null;n&&n!==i.current&&(i.current=n,a.current||r(!0))});c.current=t},[]),u=(0,X.useCallback)(()=>{c.current?.(),c.current=null},[]),d=(0,X.useCallback)(e=>{e!==s.current&&(u(),s.current=e,e&&l(e))},[l,u]);return(0,X.useEffect)(()=>()=>u(),[u]),{hasNewMessages:n,dismiss:(0,X.useCallback)(()=>{r(!1)},[]),contentRef:d}}D(),sE(),TT(),uE(),vr(),oS(),iT(),Ww({\"@astryx.chatToolCalls.error\":`Error: {message}`,\"@astryx.chatToolCalls.groupLabel\":`{count} tool calls`,\"@astryx.chatToolCalls.status.complete\":`Complete`,\"@astryx.chatToolCalls.status.error\":`Failed`,\"@astryx.chatToolCalls.status.pending\":`Pending`,\"@astryx.chatToolCalls.status.running\":`Running`});var I9={root:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,ks0D6T:`x193iq5w`,keoZOQ:`xtbrsbv`,$$css:!0},chevronTransition:{kmkexE:`x1ob6yzd x9kvfbb`,$$css:!0},chevronExpanded:{k3aq6I:`x19jd1h0`,$$css:!0},callRow:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kOIVth:`x1s4dlld`,kAzted:`xjwf9q1`,k8WAf4:`x13f7esw`,$$css:!0},callRowFocusInset:{kInvED:`x1nw7mhf`,$$css:!0},callRowClickable:{kkrTdU:`x1ypdohk x16khyan`,kaIpWk:`xh6dtrn`,kg3NbH:`x7a5moj`,kUOVxO:`xtedp8i`,k9dgf8:`xoevpu5`,$$css:!0},callRowToggle:{kkrTdU:`x1ypdohk x16khyan`,$$css:!0},statusIcon:{kVAEAm:`x1n2onr6`,k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kmuXW:`x2lah0s`,kzqmXN:`x1kky2od`,kZKoxP:`xlup9mm`,kaIpWk:`xjspbzw`,$$css:!0},nodePill:{kmuXW:`x2lah0s`,$$css:!0},colorPending:{kMwMTN:`xnbbluu`,$$css:!0},colorRunning:{kMwMTN:`xqwr325`,$$css:!0},colorComplete:{kMwMTN:`x1vau044`,$$css:!0},colorError:{kMwMTN:`xskb5cx`,$$css:!0}},L9={pending:`clock`,running:null,complete:`success`,error:`error`},R9={pending:I9.colorPending,running:I9.colorRunning,complete:I9.colorComplete,error:I9.colorError};function z9(e,t,n){if(t===`error`&&n!=null)return e(`@astryx.chatToolCalls.error`,{message:n});switch(t){case`pending`:return e(`@astryx.chatToolCalls.status.pending`);case`running`:return e(`@astryx.chatToolCalls.status.running`);case`complete`:return e(`@astryx.chatToolCalls.status.complete`);case`error`:return e(`@astryx.chatToolCalls.status.error`)}}function pue(e){return mre(e.key,()=>[e.name,e.status??`complete`,e.target??``,e.node??``,e.duration??``,e.additions?.toString()??``,e.deletions?.toString()??``,e.errorMessage??``].join(`\u001f`))}function B9({call:e,hasClippedFocusRing:t=!1}){let n=nT(),r=e.status??`complete`,i=e.resultDetail!=null,[a,o]=(0,X.useState)(!1),s=(0,X.useId)(),c=z9(n,r,e.errorMessage),l=i?()=>o(e=>!e):void 0,u=(0,Z.jsxs)(`div`,{role:i?`button`:void 0,tabIndex:i?0:void 0,\"aria-expanded\":i?a:void 0,\"aria-controls\":i&&a?s:void 0,onClick:l,onKeyDown:i?e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),l?.())}:void 0,...aS.focusVisible(I9.callRow,i&&I9.callRowClickable,i&&t&&I9.callRowFocusInset),children:[(0,Z.jsxs)(`span`,{title:r===`error`?e.errorMessage:void 0,...C(I9.statusIcon,R9[r]),children:[r===`running`||r===`pending`?(0,Z.jsx)(mT,{size:`sm`,shade:`subtle`,\"aria-hidden\":`true`}):(0,Z.jsx)(XT,{icon:L9[r]??`success`,size:`xsm`,color:`inherit`}),(0,Z.jsx)(cE,{children:c})]}),(0,Z.jsx)(`span`,{className:`x141an7d x1ltkj2j x9m5x89 x1e4wzip xv1l7n4 xuxw1ft xb3r6kr xlyipyv xs83m0k x13n9wmd`,children:e.name}),e.node!=null&&(0,Z.jsx)(VH,{label:e.node,variant:`neutral`,xstyle:I9.nodePill}),e.target!=null&&(0,Z.jsx)(`span`,{className:`x141an7d x1ltkj2j x9ynric xv1l7n4 xuxw1ft xb3r6kr xlyipyv x1g3ib7 xeuugli`,children:e.target}),(e.additions!=null||e.deletions!=null||e.stats!=null)&&(0,Z.jsxs)(`span`,{className:`x78zum5 x6s0dn4 xzye2dw x141an7d x1ltkj2j x9ynric xv1l7n4 x2lah0s`,children:[e.additions!=null&&(0,Z.jsxs)(`span`,{className:`x1caiuuo`,children:[`+`,e.additions]}),e.deletions!=null&&(0,Z.jsxs)(`span`,{className:`x1wj83wy`,children:[`-`,e.deletions]}),e.stats]}),e.duration!=null&&r===`complete`&&(0,Z.jsx)(`span`,{className:`x141an7d x1ltkj2j x9ynric xv1l7n4 xuxw1ft x2lah0s`,children:e.duration}),i&&(0,Z.jsx)(`span`,{className:`x3nfvp2 x6s0dn4 xl56j7k x2lah0s x6jxa94 x1v9usgg xv1l7n4 xvc5jky`,children:(0,Z.jsx)(XT,{icon:`chevronDown`,size:`xsm`,color:`inherit`,xstyle:[I9.chevronTransition,a&&I9.chevronExpanded]})})]});return i?(0,Z.jsxs)(`div`,{children:[u,a&&(0,Z.jsx)(`div`,{id:s,className:`x1f43n9v x1wesfrj`,children:e.resultDetail})]}):u}function V9(e){let t=nT(),{calls:n,label:r,isExpanded:i,defaultIsExpanded:a,onExpandedChange:o,xstyle:s,className:c,style:l,ref:u,...d}=e,[f,p]=(0,X.useState)(a??!1),m=(0,X.useId)(),h=i!==void 0,g=h?i:f,_=(0,X.useCallback)(()=>{let e=!g;h||p(e),o?.(e)},[g,h,o]);if(n.length===0)return null;if(n.length===1)return(0,Z.jsx)(`div`,{ref:u,...Q(Y(`chat-tool-calls`),C(I9.root,s),c,l),...d,children:(0,Z.jsx)(B9,{call:n[0]})});let v=n[n.length-1],y=v.status??`complete`,b=z9(t,y,v.errorMessage);return(0,Z.jsxs)(`div`,{ref:u,...Q(Y(`chat-tool-calls`),C(I9.root,s),c,l),...d,children:[(0,Z.jsxs)(`div`,{role:`button`,tabIndex:0,\"aria-expanded\":g,\"aria-controls\":m,onClick:_,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),_())},...aS.focusVisible(I9.callRow,I9.callRowToggle),children:[g?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(`span`,{className:`x3nfvp2 x6s0dn4 xl56j7k x2lah0s x1kky2od xlup9mm xv1l7n4`,children:(0,Z.jsx)(XT,{icon:`wrench`,size:`sm`,color:`inherit`})}),(0,Z.jsx)(`span`,{className:`x141an7d x1ltkj2j x9ynric x1e4wzip xv1l7n4`,children:r??t(`@astryx.chatToolCalls.groupLabel`,{count:n.length})})]}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(`span`,{...C(I9.statusIcon,R9[y]),children:[y===`running`||y===`pending`?(0,Z.jsx)(mT,{size:`sm`,shade:`subtle`,\"aria-hidden\":`true`}):(0,Z.jsx)(XT,{icon:L9[y]??`success`,size:`xsm`,color:`inherit`}),(0,Z.jsx)(cE,{children:b})]}),(0,Z.jsx)(`span`,{className:`x141an7d x1ltkj2j x9m5x89 x1e4wzip xv1l7n4 xuxw1ft xb3r6kr xlyipyv xs83m0k x13n9wmd`,children:v.name}),v.target!=null&&(0,Z.jsx)(`span`,{className:`x141an7d x1ltkj2j x9ynric xv1l7n4 xuxw1ft xb3r6kr xlyipyv x1g3ib7 xeuugli`,children:v.target})]}),(0,Z.jsx)(`span`,{className:`x3nfvp2 x6s0dn4 x1lsbc85 x141an7d x1ltkj2j x9ynric xv1l7n4 x2lah0s`,children:!g&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(XT,{icon:`wrench`,size:`xsm`,color:`inherit`}),n.length]})}),(0,Z.jsx)(`span`,{className:`x3nfvp2 x6s0dn4 xl56j7k x2lah0s x6jxa94 x1v9usgg xv1l7n4`,children:(0,Z.jsx)(XT,{icon:`chevronDown`,size:`xsm`,color:`inherit`,xstyle:[I9.chevronTransition,g&&I9.chevronExpanded]})})]}),(0,Z.jsx)(`div`,{id:m,inert:!g||void 0,...{0:{className:`xrvj5dj xihq33y xb0j27v x9kvfbb`},1:{className:`xrvj5dj xb0j27v x9kvfbb x1tu4anv`}}[!!g|0],children:(0,Z.jsx)(`div`,{className:`xb3r6kr x2lwn1j x7a5moj xtedp8i`,children:(0,Z.jsx)(`div`,{className:`x78zum5 xdt5ytf x7a5moj xtedp8i`,children:n.map(e=>(0,Z.jsx)(B9,{call:e,hasClippedFocusRing:!0},pue(e)))})})})]})}V9.displayName=`ChatToolCalls`,GF(),Of(),dm(),TL(),BI(),fd(),Hf(),bj(),ds(),Fv(),x();function mue(){let e=0,t=new Set;return{get:()=>e,set:n=>{if(n!==e){e=n;for(let e of t)e()}},subscribe:e=>(t.add(e),()=>{t.delete(e)})}}var hue=`[contenteditable=\"false\"], button, a, [role=\"button\"], [data-astryx-token]`;function gue(e){let t=e;t!=null&&t.nodeType!==1&&(t=t.parentNode);let n=t;if(n==null||typeof n.closest!=`function`)return null;let r=lf(n)?n:n.closest(`[contenteditable]:not([contenteditable=\"false\"])`);if(r==null||!lf(r))return null;let i=n.closest(hue);if(i!=null&&r.contains(i))return null;let a=r.ownerDocument.activeElement;return a===r||r.contains(a)?null:r}function _ue(e,t){t!==`keyboard`&&(e.style.setProperty(`outline`,`none`),e.addEventListener(`blur`,()=>e.style.removeProperty(`outline`),{once:!0})),WA(e,{preventScroll:!0},t)}function vue({rootRef:e,scrollRef:t,isSelfScrolling:n,scrollToBottom:r}){let i=H9(),a=H9(),o=(0,X.useRef)(null),[s]=(0,X.useState)(mue),c=(0,X.useSyncExternalStore)(s.subscribe,s.get,s.get),l=(0,X.useRef)(0),u=(0,X.useRef)(!1),d=(0,X.useRef)(0),f=(0,X.useRef)(null),p=(0,X.useRef)(null),m=(0,X.useRef)(!1),h=(0,X.useRef)(0),g=Nv(),_=If(o),v=g.isTouch;return b(()=>{let r=e.current,o=r?.ownerDocument.defaultView;if(r==null||o==null)return;let c=e=>{if(e<=0)return 0;let t=sd(o),i=n?r.getBoundingClientRect().bottom:t;return Math.max(0,i-(t-e))},g=()=>{let e=t.current;return e!=null&&uue(e)},_=()=>{if(u.current)return;let e=c(cf(o));Math.abs(e-l.current)<.5||(m.current=g(),h.current=t.current?.scrollTop??0,s.set(e))},y=v&&tm(o)===`chromium`?am(o).subscribe(e=>{let t=l.current-c(e.to),n=g();if(f.current=t,p.current=n?t:null,!e.animated){d.current+=1,u.current=!1,i.animator.set({y:t}),n&&a.animator.set({y:t}),_();return}let r={y:t};u.current=!0,d.current+=1;let o=d.current,s=[zI(i.animator,r,e)?.finished??Promise.resolve(!0)];n&&s.push(zI(a.animator,r,e)?.finished??Promise.resolve(!0)),Promise.all(s).then(async e=>{if(!e.every(Boolean)||o!==d.current)return;let t=i.animator.element;await Promise.all((t?.getAnimations?.()??[]).map(async e=>e.finished.catch(()=>void 0))),o===d.current&&(u.current=!1,_())}).catch(()=>void 0)}):void 0,b=cf(o),x=of(o,e=>{e.type===`viewport`&&e.height!==b&&(b=e.height,_())});return _(),()=>{x(),y?.(),u.current=!1}},[e,t,n,v,i.animator,a.animator,s]),b(()=>{let e=c-l.current;if(Math.abs(e)<.5)return;l.current=c;let n=f.current,o=p.current;f.current=null,p.current=null,n!=null&&i.animator.set({y:n+e});let s=t.current;if(s==null)return;o!=null&&a.animator.set({y:0}),m.current&&r({behavior:`instant`});let u=s.scrollTop-h.current;o!=null&&Math.abs(o+u)>=.5&&a.animator.set({y:o+u})},[c,t,i.animator,a.animator,r]),b(()=>{let e=o.current,t=e?.ownerDocument.defaultView??null;if(g.isTouch&&e!=null&&rL(t))return gf(e,{claim:gue,deliver:eL})},[g.isTouch]),b(()=>{let e=o.current,t=e?.ownerDocument.defaultView??null;if(!g.isTouch||e==null||!rL(t))return;let n=tL(t,t=>e.contains(t)),r=of(t,e=>{e.type===`viewport`&&n.report(e.height)});return()=>{r(),n.stop()}},[g.isTouch]),b(()=>{let e=o.current,t=e?.ownerDocument.defaultView??null;if(!g.isTouch||e==null||!rL(t))return;e.setAttribute(`role`,`group`);let n=df(e.ownerDocument,{isActive:()=>ss(t),claim:t=>uf(t,e),park:t=>{uf(t,e)!=null&&_ue(e,_())}});return()=>{n(),e.removeAttribute(`role`)}},[g.isTouch,_]),{lift:c,dockRef:i.ref,messagesRef:a.ref,composerRef:o}}function H9(){let[e]=(0,X.useState)(()=>{let e=gF(null);return{animator:e,ref:t=>e.attach(t)}});return e}D(),sE(),vr(),iT(),Ww({\"@astryx.chatLayoutScrollButton.scrollToBottom\":`Scroll to bottom`});var U9={wrapper:{k1xSpc:`x78zum5`,kjj79g:`xl56j7k`,kGO01o:`xvmdzux`,$$css:!0},button:{\"--radius-element\":`xnpej1e`,khDVqt:`xuxw1ft`,kg3NbH:`xf314gf`,$$css:!0},buttonWithLabel:{kwRFfy:`x1t818jl`,$$css:!0}};function W9({ref:e,isVisible:t,label:n,onClick:r,xstyle:i,className:a,style:o,...s}){let c=nT();return(0,Z.jsx)(`div`,{ref:e,...Q(C(U9.wrapper,i),a,o),...s,children:(0,Z.jsx)(`div`,{inert:!t,...Q(Y(`chat-layout-scroll-button`),{0:{className:`xawy1a7 xb3r6kr xjspbzw x1prclbq x14hfi27 x1ueg155 xrgg2z9 xlr8y92 x2rcmwa x12w9bfk xg01cxk x47corl xlshs6z x1jys5uj`},2:{className:`xawy1a7 xb3r6kr xjspbzw x1prclbq x14hfi27 x1ueg155 xrgg2z9 xlr8y92 x2rcmwa x12w9bfk x1hc1fzr x67bb7w xnpuxes x1jys5uj`},1:{className:`xawy1a7 xb3r6kr xjspbzw x1prclbq x14hfi27 x1ueg155 xrgg2z9 xlr8y92 x2rcmwa x12w9bfk xg01cxk x47corl xlshs6z x1ncir08`},3:{className:`xawy1a7 xb3r6kr xjspbzw x1prclbq x14hfi27 x1ueg155 xrgg2z9 xlr8y92 x2rcmwa x12w9bfk x1hc1fzr x67bb7w xnpuxes x1ncir08`}}[!!t<<1|!!n]),children:(0,Z.jsx)(IO,{label:n??c(`@astryx.chatLayoutScrollButton.scrollToBottom`),\"aria-label\":n??c(`@astryx.chatLayoutScrollButton.scrollToBottom`),icon:(0,Z.jsx)(XT,{icon:`chevronDown`,size:`md`}),variant:`ghost`,size:`md`,isIconOnly:!n,onClick:r,xstyle:[U9.button,n?U9.buttonWithLabel:null],children:n??void 0})})})}W9.displayName=`ChatLayoutScrollButton`,D(),G(),oS(),vr(),vx(),Qi(),iT(),Ww({\"@astryx.chatLayout.newMessages\":`New messages`});var yue={kGO01o:`xdz27ya`,$$css:!0},G9={root:{kVAEAm:`x1n2onr6`,k9g6sI:`x12h1iku`,kAzted:`x2lwn1j`,kUk6DE:`x98rzlu`,k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,$$css:!0},rootScrollable:{kORKVm:`x1odjw0f`,kXHlph:`x6ikm8r`,$$css:!0},messageArea:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kUOVxO:`xvueqy4`,kzQI83:`x1iyjqo2`,kmuXW:`x2lah0s`,kCS8Yb:`xdl72j9`,kGO01o:`xjpqqx5`,kzqmXN:`xh8yej3`,ks0D6T:`x193iq5w`,kg3NbH:`xnjsko4`,$$css:!0},messageAreaEndRoom:e=>[yue,{\"--x-paddingBlockEnd\":(e=>typeof e==`number`?e+`px`:e??void 0)(`calc(${j[`--spacing-6`]} + ${e}px)`)}],dockContainer:{krVfgx:`x1ey2m1c`,kLqNvP:`x1o0tod`,kt4wiu:`xtijo5x`,kY2c9j:`x1ja2u2z`,kHBbk8:`xc8icb0`,kfzvcC:`x47corl`,kmuXW:`x2lah0s`,$$css:!0},dockContainerFixed:{kVAEAm:`xixxii4`,$$css:!0},dockContainerSticky:{kVAEAm:`x7wzq59`,$$css:!0},dockLift:e=>[{krVfgx:e==null?e:`x1nqzi6q`,$$css:!0},{\"--x-bottom\":(e=>typeof e==`number`?e+`px`:e??void 0)(e)}],blurLayer:{kVAEAm:`x10l6tqk`,krVfgx:`x1ey2m1c`,kLqNvP:`x1o0tod`,kt4wiu:`xtijo5x`,kfzvcC:`x47corl`,k6WDB:`xvn2z4z`,keRtuK:`x67t5t6`,kZKoxP:`xpyat2d`,kX1K2I:`xw26lqc`,kAExgp:`x1bv1mxo`,$$css:!0},dock:{kVAEAm:`x1n2onr6`,kY2c9j:`x1vjfegm`,kfzvcC:`x67bb7w`,kg3NbH:`xrrkdod`,kGO01o:`xvmdzux`,$$css:!0},dockFocusRing:{kInvED:`x1nw7mhf`,$$css:!0},dockInner:{kUOVxO:`xvueqy4`,kzqmXN:`xh8yej3`,ks0D6T:`x193iq5w`,$$css:!0},messageAreaCompact:{ks0D6T:`x193iq5w`,kg3NbH:`xnjsko4`,$$css:!0},messageAreaBalanced:{ks0D6T:`x193iq5w`,kg3NbH:`xnjsko4`,$$css:!0},messageAreaSpacious:{ks0D6T:`x1ap80js`,kg3NbH:`x1pzlopt`,$$css:!0},blurLayerCompact:{kZKoxP:`xwzfr38`,kX1K2I:`xkm2don`,kAExgp:`xiy8rlo`,$$css:!0},blurLayerBalanced:{kZKoxP:`xpyat2d`,kX1K2I:`xw26lqc`,kAExgp:`x1bv1mxo`,$$css:!0},blurLayerSpacious:{kZKoxP:`x1wkxgih`,kX1K2I:`xr5yg4x`,kAExgp:`xo9xo30`,$$css:!0},dockCompact:{kg3NbH:`xf314gf`,kGO01o:`x1wesfrj`,$$css:!0},dockBalanced:{kg3NbH:`xrrkdod`,kGO01o:`xvmdzux`,$$css:!0},dockSpacious:{kg3NbH:`x1pzlopt`,kGO01o:`xvmdzux`,$$css:!0},dockInnerCompact:{ks0D6T:`x193iq5w`,$$css:!0},dockInnerBalanced:{ks0D6T:`x193iq5w`,$$css:!0},dockInnerSpacious:{ks0D6T:`x1ap80js`,$$css:!0}};function bue(e){return!(e==null||e===!1||Array.isArray(e)&&e.length===0)}function K9({children:e,composer:t,density:n=`balanced`,emptyState:r,scrollButton:i,scrollRef:a,xstyle:o,className:s,style:c,\"data-testid\":l,ref:u,...d}){let f=nT(),p=(0,X.useRef)(null),m=a??p,h=!a,g=due({scrollRef:m}),_=fue({isLocked:g.isLocked,onResize:g.scrollIfLocked}),v=vue({rootRef:p,scrollRef:m,isSelfScrolling:h,scrollToBottom:g.scrollToBottom}),[y,b]=(0,X.useState)(0),x=(0,X.useCallback)(e=>{if(!(e==null||h))return qi(e,t=>{let n=t.borderBoxSize?.[0]?.blockSize??e.getBoundingClientRect().height;b(Math.round(n))})},[h]),S=gx(v.dockRef,x),w=v.lift+(h?0:y),T=(0,Z.jsx)(W9,{isVisible:g.isScrolledUp||_.hasNewMessages,label:_.hasNewMessages?f(`@astryx.chatLayout.newMessages`):void 0,onClick:()=>{_.dismiss(),g.scrollToBottom()}}),E=(0,X.useMemo)(()=>({scrollContainerRef:m,contentRef:_.contentRef}),[m,_.contentRef]),D=!bue(e),O={compact:{messageArea:G9.messageAreaCompact,blurLayer:G9.blurLayerCompact,dock:G9.dockCompact,dockInner:G9.dockInnerCompact},balanced:{messageArea:G9.messageAreaBalanced,blurLayer:G9.blurLayerBalanced,dock:G9.dockBalanced,dockInner:G9.dockInnerBalanced},spacious:{messageArea:G9.messageAreaSpacious,blurLayer:G9.blurLayerSpacious,dock:G9.dockSpacious,dockInner:G9.dockInnerSpacious}}[n];return(0,Z.jsx)(m9,{value:E,children:(0,Z.jsxs)(`div`,{...d,ref:gx(u,p),\"data-testid\":l,...Q(Y(`chat-layout`,{density:n}),C(G9.root,h&&G9.rootScrollable,o),s,c),children:[(0,Z.jsx)(`div`,{ref:v.messagesRef,...C(G9.messageArea,O.messageArea,w>0&&G9.messageAreaEndRoom(w)),children:D&&r?(0,Z.jsx)(`div`,{className:`x78zum5 x6s0dn4 xl56j7k x98rzlu xz65tgg`,children:r}):e}),(0,Z.jsxs)(`div`,{ref:S,...C(G9.dockContainer,h?G9.dockContainerSticky:G9.dockContainerFixed,v.lift>0&&G9.dockLift(v.lift)),children:[i===void 0?T:i,(0,Z.jsx)(`div`,{...C(G9.blurLayer,O.blurLayer)}),(0,Z.jsx)(h9,{value:!0,children:(0,Z.jsx)(`div`,{ref:v.composerRef,...C(iS.focusVisible,G9.dock,O.dock,G9.dockFocusRing),children:(0,Z.jsx)(`div`,{...C(G9.dockInner,O.dockInner),children:t})})})]})]})})}K9.displayName=`ChatLayout`,DC(),RC(),sE();var q9=typeof matchMedia<`u`&&matchMedia(`(pointer: coarse)`).matches,J9={ask:[`chat`,`answer`],build:[`build`,`website`],search:[`search`,`answer`],video:[`create`,`video`],computer:[`computer`,`answer`]},xue=/\\.(txt|md|json|csv|js|mjs|ts|tsx|jsx|py|html|css|yml|yaml|toml|xml|sh|sql|go|rs|java|c|h|cpp|rb|php|log|env)$/i,Y9={id:`flisk-wolf-chat`,name:`Flisk Wolf`,provider:`flisk`,providerName:`Flisk`,description:``,free:!0,key:``,model:`flisk-wolf-chat`},Sue=e=>/[іїєґ]/i.test(e)?`uk`:/[ыэъё]/i.test(e)?`ru`:``;function Cue(e){return new Promise(t=>{if(e.size>5242880){t({error:e.name+` is bigger than 5 MB`});return}let n=new FileReader,r=xue.test(e.name)||(e.type||``).startsWith(`text/`);n.onload=()=>t({name:e.name,type:e.type,content:r?String(n.result):String(n.result).split(`,`)[1]||``,b64:!r}),n.onerror=()=>t({error:`Could not read `+e.name}),r?n.readAsText(e):n.readAsDataURL(e)})}async function wue(e){let t=(e,t)=>{let n=URL.createObjectURL(e),r=document.createElement(`a`);r.href=n,r.download=`flisk-picture.`+t,document.body.appendChild(r),r.click(),r.remove(),setTimeout(()=>URL.revokeObjectURL(n),1e3)};try{let n=await(await fetch(e)).blob();if(n.type.indexOf(`svg`)<0){t(n,(n.type.split(`/`)[1]||`jpg`).replace(`jpeg`,`jpg`));return}let r=URL.createObjectURL(n),i=new Image;i.onload=()=>{let e=document.createElement(`canvas`);e.width=e.height=1024,e.getContext(`2d`).drawImage(i,0,0,1024,1024),URL.revokeObjectURL(r),e.toBlob(e=>e?t(e,`png`):t(n,`svg`),`image/png`)},i.onerror=()=>t(n,`svg`),i.src=r}catch{window.open(e,`_blank`,`noopener`)}}var X9=e=>navigator.clipboard&&navigator.clipboard.writeText(e).catch(()=>{});function Tue({t:e,onAgain:t,onPick:n}){let r=y5(e),i=e.link?[e.link]:[],a=Wse(r);return(0,Z.jsxs)(Z.Fragment,{children:[e.steps.length>0&&(0,Z.jsx)(V9,{defaultIsExpanded:!0,calls:e.steps.map(e=>({name:e.name,target:e.target,status:e.status,duration:e.duration,node:e.node,errorMessage:e.errorMessage}))}),e.outs.length>0&&(0,Z.jsx)(`pre`,{style:{margin:0,padding:12,borderRadius:12,background:`var(--color-background-secondary, #8881)`,overflow:`auto`,maxHeight:220,fontSize:12},children:e.outs.map(e=>e.text).join(`\n`)}),r&&(0,Z.jsx)(k9,{variant:`ghost`,children:(0,Z.jsx)(d5,{density:`compact`,children:r})}),a.length>0&&(0,Z.jsx)(RL,{gap:2,wrap:`wrap`,children:a.map((e,t)=>(0,Z.jsx)(IO,{label:a.length>1?`Save picture `+(t+1):`Save picture`,variant:`secondary`,size:`sm`,icon:(0,Z.jsx)(XT,{icon:b5,size:`sm`}),onClick:()=>wue(e)},e))}),i.map(t=>{let n=typeof location<`u`&&t.startsWith(location.origin+`/s/`);return(0,Z.jsx)(nR,{children:(0,Z.jsxs)(zL,{gap:2,children:[(0,Z.jsxs)(RL,{gap:2,align:`center`,children:[(0,Z.jsx)(VH,{label:`Live`,variant:`success`}),(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,children:n?`Kept 7 days. Download the page to keep it.`:e.kept&&e.kept.days?`Kept `+e.kept.days+` days`:`Real link`})]}),(0,Z.jsx)(CC,{weight:`semibold`,style:{wordBreak:`break-all`},children:t}),(0,Z.jsxs)(RL,{gap:2,wrap:`wrap`,children:[(0,Z.jsx)(DS,{text:`Open the real thing in a new tab.`,children:(0,Z.jsx)(IO,{label:`Open`,variant:`primary`,href:t,target:`_blank`,icon:(0,Z.jsx)(XT,{icon:Jse,size:`sm`})})}),(0,Z.jsx)(IO,{label:`Copy link`,variant:`secondary`,onClick:()=>X9(t)}),n&&(0,Z.jsx)(IO,{label:`Download`,variant:`secondary`,href:t,download:`index.html`,icon:(0,Z.jsx)(XT,{icon:b5,size:`sm`})})]})]})},t)}),e.widgets.map((e,t)=>(0,Z.jsx)(Pse,{w:e},`w`+t)),e.workers.map((e,t)=>(0,Z.jsx)(Lse,{ev:e},`k`+t)),e.browser&&(0,Z.jsx)(zse,{info:e.browser}),e.video&&(0,Z.jsxs)(zL,{gap:2,children:[(0,Z.jsx)(`video`,{src:e.video,controls:!0,playsInline:!0,preload:`metadata`,style:{maxWidth:`100%`,borderRadius:12}}),(0,Z.jsxs)(RL,{gap:2,wrap:`wrap`,children:[(0,Z.jsx)(IO,{label:`Download mp4`,variant:`primary`,href:e.video,download:`flisk-video.mp4`,icon:(0,Z.jsx)(XT,{icon:b5,size:`sm`})}),(0,Z.jsx)(IO,{label:`Copy link`,variant:`secondary`,onClick:()=>X9(e.video)})]})]}),e.sources.length>0&&(0,Z.jsx)(RL,{gap:2,wrap:`wrap`,children:e.sources.slice(0,8).map((e,t)=>(0,Z.jsx)(IO,{label:`[`+(t+1)+`] `+e.title,size:`sm`,variant:`secondary`,href:e.url,target:`_blank`},e.url))}),e.error&&(0,Z.jsx)(Eue,{t:e,onPick:n}),e.needPod&&(0,Z.jsx)(nR,{children:(0,Z.jsxs)(zL,{gap:2,children:[(0,Z.jsx)(CC,{children:`This task needs a computer. Start one for it, or connect your own.`}),(0,Z.jsxs)(RL,{gap:2,children:[(0,Z.jsx)(IO,{label:`Start a computer and run it`,variant:`primary`,onClick:()=>t(!0)}),(0,Z.jsx)(IO,{label:`Connect my own`,variant:`secondary`,onClick:()=>n(`connect-computer`)})]})]})})]})}function Eue({t:e,onPick:t}){let n=Vse(e.error.kind,t.free),r={\"setup-key\":`Add my API key`,\"choose-model\":`Choose another model`,wolf:`Use Flisk Wolf (free)`,\"change-provider\":`Change the AI`,\"connect-computer\":`Connect a computer`,retry:`Try again`,openrouter:`Log in with OpenRouter, free`,discord:`Ask on Discord`,\"change-model\":`Change the AI`};return(0,Z.jsx)(nR,{role:`alert`,children:(0,Z.jsxs)(zL,{gap:2,children:[(0,Z.jsx)(CC,{weight:`semibold`,children:e.error.message}),(0,Z.jsx)(RL,{gap:2,wrap:`wrap`,children:n.map((e,n)=>(0,Z.jsx)(IO,{label:r[e],variant:n===0?`primary`:`secondary`,size:`sm`,onClick:()=>t(e)},e))})]})})}function Due({info:e,task:t,onPick:n}){return(0,Z.jsx)(nR,{role:`alert`,children:(0,Z.jsxs)(zL,{gap:2,children:[(0,Z.jsx)(NC,{level:4,children:`Daily limit reached`}),(0,Z.jsxs)(CC,{color:`secondary`,children:[e.error||`You used all `+(e.limit||``)+` free tasks today.`,` `,e.resetsIn?`It resets in `+e.resetsIn+`.`:``,` Use your own key for no limit, or wait.`]}),(0,Z.jsxs)(RL,{gap:2,wrap:`wrap`,children:[(0,Z.jsx)(IO,{label:`Log in with OpenRouter, free`,variant:`primary`,size:`sm`,onClick:()=>ik(t).catch(()=>{})}),(0,Z.jsx)(IO,{label:`Use my own key`,variant:`secondary`,size:`sm`,onClick:()=>n(`setup-key`)}),(0,Z.jsx)(IO,{label:`Copy my task`,variant:`ghost`,size:`sm`,onClick:()=>navigator.clipboard&&navigator.clipboard.writeText(t).catch(()=>{})}),(0,Z.jsx)(IO,{label:`Ask on Discord`,variant:`ghost`,size:`sm`,href:`https://discord.gg/flisk`,target:`_blank`})]})]})})}var Oue=[{label:`A coffee shop website`,prompt:`A one-page website for my coffee shop`},{label:`A wedding invite page`,prompt:`A wedding page with the date, the place and an RSVP form`},{label:`A bakery menu page`,prompt:`A menu page for my bakery with prices and opening hours`}],Z9={earth:`Earth`,light:`Light`,dark:`Dark`,system:`Same as your phone`},Q9=e=>e===`earth`?`light`:e===`light`?`dark`:e===`dark`?`system`:`earth`;function kue(e){let t=typeof matchMedia<`u`?matchMedia(`(max-width: `+e+`px)`):null,[n,r]=(0,X.useState)(()=>!!(t&&t.matches));return(0,X.useEffect)(()=>{if(!t)return;let e=()=>r(t.matches);return t.addEventListener(`change`,e),()=>t.removeEventListener(`change`,e)},[e]),n}function Aue({explain:e,onExplain:t,scheme:n,onLook:r,onModel:i}){let{isMobile:a}=O5(),o=LO.login&&LO.anon,s=!LO.login||LO.anon,c=kue(340);return a?(0,Z.jsxs)(RL,{gap:1,align:`center`,className:`chat-head-end`,children:[s&&!c&&(0,Z.jsx)(IO,{label:`Sign in`,size:`sm`,variant:`primary`,href:`/auth/start`}),LO.login&&!LO.anon&&!c&&(0,Z.jsx)(VH,{label:`@`+LO.login}),(0,Z.jsx)(u7,{label:`More: explain, look, AI model`,size:`sm`,presentation:`adaptive`,alignment:`end`,items:[...o?[{label:`You are a guest`,description:`Sign in with GitHub to keep your chats and get more free tasks`,isDisabled:!0},{type:`divider`}]:[],...s&&c?[{label:`Sign in with GitHub`,description:`Keep your chats and get more free tasks`,icon:S5,onClick:()=>{location.href=`/auth/start`}}]:[],{label:e?`Leave explain mode`:`Explain`,description:`Tap anything to read what it does, without running it`,icon:T5,onClick:t},{label:`Look: `+(Z9[n]||n),description:`Tap to switch to `+Z9[Q9(n)],icon:E5,onClick:r},{label:`AI model and keys`,description:`Flisk Wolf is free, or add your own key`,icon:x5,onClick:i}]})]}):(0,Z.jsxs)(RL,{gap:1,children:[LO.login?(0,Z.jsx)(DS,{text:`Free tasks run on Flisk Wolf. The count resets every day.`,children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(VH,{label:LO.anon?`Guest`:`@`+LO.login})})}):(0,Z.jsx)(IO,{label:`Sign in`,size:`sm`,variant:`primary`,href:`/auth/start`}),LO.anon&&(0,Z.jsx)(DS,{text:`Sign in with GitHub to keep your chats and get more free tasks.`,children:(0,Z.jsx)(IO,{label:`Sign in`,size:`sm`,variant:`secondary`,href:`/auth/start`})}),(0,Z.jsx)(DS,{passThrough:!0,text:`Explain mode: tap anything to read what it does, without running it. Needed on phones, which have no hover.`,children:(0,Z.jsx)(IO,{label:e?`Leave explain mode`:`Explain`,variant:e?`primary`:`ghost`,size:`sm`,icon:(0,Z.jsx)(XT,{icon:T5,size:`sm`}),onClick:t})}),(0,Z.jsx)(DS,{title:`Look of the page`,text:`Look: tap to switch between Earth, light, dark and the same as your phone.`,children:(0,Z.jsx)(IO,{label:`Look of the page: `+n,variant:`ghost`,size:`sm`,isIconOnly:!0,icon:(0,Z.jsx)(XT,{icon:E5,size:`sm`}),onClick:r})}),(0,Z.jsx)(DS,{title:`AI model and keys`,scene:`model`,text:`Choose the AI and add your own keys.`,children:(0,Z.jsx)(IO,{label:`AI model and keys`,variant:`ghost`,size:`sm`,isIconOnly:!0,icon:(0,Z.jsx)(XT,{icon:x5,size:`sm`}),onClick:i})})]})}function jue({scheme:e=`system`,setScheme:t=()=>{}}){let[n,r]=(0,X.useState)(()=>{try{let e=sessionStorage.getItem(`chat_model`),t=(LO.models||[]).find(t=>t.id===e);if(t)return t;if(e&&e.startsWith(`or:`))return{id:e,name:e.slice(3).split(`/`).pop(),provider:`openrouter`,providerName:`OpenRouter`,free:!1,key:`openrouter`,model:e.slice(3)}}catch{}return(LO.models||[]).find(e=>e.free)||Y9}),[i,a]=(0,X.useState)(LO.connected||[]),[o,s]=(0,X.useState)([]),[c,l]=(0,X.useState)(!1),[u,d]=(0,X.useState)(()=>{try{return Gse(location.search)}catch{return!1}});(0,X.useEffect)(()=>{if(!u)return;let e=e=>{d(!1),e.target&&e.target.closest&&e.target.closest(`[aria-label=\"Voice talk\"], .earth-talk`)||l(!0)};return document.addEventListener(`pointerdown`,e,{once:!0}),()=>document.removeEventListener(`pointerdown`,e)},[]);let[f,p]=(0,X.useState)(!1),[m,h]=(0,X.useState)(!1),[g,_]=(0,X.useState)(!1),[v,y]=(0,X.useState)(``),[b,x]=(0,X.useState)([]);(0,X.useEffect)(()=>{document.documentElement.classList.toggle(`chatting`,b.length>0)},[b.length]);let[S,C]=(0,X.useState)(!1),[w,T]=(0,X.useState)(``),[E,D]=(0,X.useState)([]),[O,k]=(0,X.useState)(null),[A,j]=(0,X.useState)(``),[M,N]=(0,X.useState)(ck),[P,F]=(0,X.useState)(()=>`c`+Date.now()),[I,L]=(0,X.useState)(``),R=(0,X.useRef)([]),z=(0,X.useRef)({text:``,n:0,busy:!1}),B=(0,X.useRef)(null),V=(0,X.useRef)(null),H={on:g,show:y};Mue(),(0,X.useEffect)(()=>{if(!S)return;let e=e=>{e.preventDefault(),e.returnValue=``};return window.addEventListener(`beforeunload`,e),()=>window.removeEventListener(`beforeunload`,e)},[S]);let ee=(0,X.useCallback)((e,t)=>{if(!R.current.length)return;let n=ck().filter(t=>t.id!==e);n.unshift({id:e,at:Date.now(),title:Hse(R.current),msgs:R.current.slice(-40),memo:z.current.text,memoN:z.current.n}),uk(n),N(n.slice(0,30))},[]),U=()=>{let e=n.free?`wolf`:n.key,t=n.free?n.model:n.model||YO(n.key);return{vision:!n.free&&(n.key!==`openrouter`||n.sees!==!1),ai:e,key:n.free?``:JO(n.key),model:t}},te=async()=>{let e=R.current,t=e.length-6,n=z.current;if(!(n.busy||t-n.n<6)){n.busy=!0;try{let r=await fetch(`/api/memo`,{method:`POST`,headers:{\"content-type\":`application/json`},body:JSON.stringify({memo:n.text,msgs:e.slice(n.n,t).map(e=>({role:e.role,content:e.content})),ai:U()})}),i=await r.json().catch(()=>({}));r.ok&&i.memo&&(n.text=i.memo,n.n=t)}catch{}n.busy=!1}},W=(0,X.useCallback)(async(e,t={})=>{if(S)return;$H(),await GO;let[n,r]=J9[t.mode||`ask`]||J9.build,i=t.files||[],a=t.reuse?-1:b.length,s=g5(e),c=n=>{s=n,x(n=>{let r=n.slice(),o=t.reuse?r.length-1:a;return r[o]={...r[o],task:e,files:i.map(e=>e.name),t:s},r})};x(n=>t.reuse?n:[...n,{task:e,files:i.map(e=>e.name),t:s}]),k(null),C(!0);let l=new AbortController;B.current=l;let u={mode:n,pod:!!t.pod,cat:r,task:e,history:R.current.slice(-6).map(e=>({role:e.role,content:e.content})),lang:e.length>3?Sue(e):``,memo:z.current.text,ui:``,providers:o,files:i,ai:U()},d;try{d=await XO(u,e=>c(v5(s,e)),l.signal)}catch(e){d={status:e.name===`AbortError`?0:-1},d.status===-1&&c({...s,error:{message:`Could not reach Chat. Check your connection and try again.`,kind:`busy`}})}if(C(!1),B.current=null,d.status===401){try{sessionStorage.setItem(`chat_pending`,String(e).slice(0,8e3)),i.length&&sessionStorage.setItem(`chat_pending_files`,JSON.stringify(i))}catch{}x(e=>e.slice(0,-1)),j(`Sign in with GitHub to run tasks.`);return}if(d.status===429){x(e=>e.slice(0,-1)),k({...d.body,task:e});return}if(d.status===409&&ZO()){if(C(!0),B.current=l,c({...s,status:`Starting a computer in this tab`}),await $O().then(()=>!0,()=>!1))try{d=await tk(u,e=>c(v5(s,e)),l.signal)}catch(e){d={status:e.name===`AbortError`?0:-1}}if(C(!1),B.current=null,d.status===-1){c({...s,error:{message:`The computer in this tab stopped before the task finished. Try again.`,kind:`busy`}});return}if(d.status===429){x(e=>e.slice(0,-1)),k({...d.body,task:e});return}}if(d.status===409){c({...s,needPod:!0});return}if(d.status&&d.status!==200){c({...s,error:{message:d.body&&d.body.error||`Something went wrong.`,kind:`other`}});return}t.reuse&&R.current.length&&R.current[R.current.length-2]?.content===e||R.current.push({role:`user`,content:e});let f=y5(s);f&&R.current.push({role:`assistant`,content:f.slice(0,4e3)}),ee(P),te()},[S,`ask`,b,o,n,P]),[G,ne]=(0,X.useState)(!1),re=(0,X.useRef)(null),ie=async()=>{if(re.current){re.current.stop();return}if(!LO.login){j(`Sign in with GitHub to use your voice.`);return}if(!navigator.mediaDevices||!window.MediaRecorder){j(`This browser cannot record. Try Chrome, Safari, Edge or Firefox.`);return}let e;try{e=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0}})}catch{j(`The microphone is blocked. Allow it for this site and try again.`);return}let t=[],n=new MediaRecorder(e),r=setTimeout(()=>{n.state!==`inactive`&&n.stop()},12e4);n.ondataavailable=e=>{e.data&&e.data.size&&t.push(e.data)},n.onstop=async()=>{clearTimeout(r),e.getTracks().forEach(e=>e.stop()),re.current=null,ne(!1);let i=new Blob(t,{type:n.mimeType||`audio/webm`});if(!(i.size<800))try{let e=await new Promise((e,t)=>{let n=new FileReader;n.onload=()=>e(String(n.result).split(`,`)[1]||``),n.onerror=()=>t(n.error),n.readAsDataURL(i)}),t=await fetch(`/api/transcribe`,{method:`POST`,headers:{\"content-type\":`application/json`},body:JSON.stringify({audio:e,type:i.type,part:!0})}),n=await t.json().catch(()=>({}));if(!t.ok)throw Error(n.error||`Voice answered `+t.status);let r=String(n.text||``).trim();r?T(e=>(e?e+` `:``)+r):j(`I did not catch that. Try again.`)}catch(e){j(String(e.message||e).slice(0,160))}},re.current={stop:()=>{n.state!==`inactive`&&n.stop()}},n.start(),ne(!0)},K=async e=>{let t=(e||``).trim();if(!t&&!E.length)return;let n=E;T(``),D([]),W(t,{files:n}).catch(()=>{})},q=e=>{e===`setup-key`||e===`choose-model`||e===`change-provider`||e===`change-model`?p(!0):e===`connect-computer`?h(!0):e===`wolf`?r((LO.models||[]).find(e=>e.free)||Y9):e===`openrouter`?ik(b.length?b[b.length-1].task:``).catch(()=>{}):e===`discord`?window.open(`https://discord.gg/flisk`,`_blank`,`noopener,noreferrer`):e===`retry`&&b.length&&W(b[b.length-1].task,{reuse:!0}).catch(()=>{})};q.free=n.free;let[ae,oe]=(0,X.useState)(!1),se=()=>{oe(!1),B.current&&B.current.abort(),R.current=[],z.current={text:``,n:0,busy:!1},x([]),F(`c`+Date.now()),k(null),C(!1)},ce=e=>{confirm(`Delete the chat \"`+(e.title||`Untitled`)+`\"? This cannot be undone.`)&&(N(lk(e.id)),e.id===P&&se(),j(`Chat deleted.`))},le=e=>{se(),R.current=e.msgs.slice(),z.current={text:e.memo||``,n:e.memoN||0,busy:!1},F(e.id);let t=[];for(let n=0;n{ak().then(e=>{e&&(e.error?j(`OpenRouter login failed: `+e.error):(j(`OpenRouter connected. Your key is saved in this browser.`),e.task&&T(e.task)))},()=>{});let e=``,t=[];try{e=sessionStorage.getItem(`chat_pending`)||``,t=JSON.parse(sessionStorage.getItem(`chat_pending_files`)||`[]`),sessionStorage.removeItem(`chat_pending`),sessionStorage.removeItem(`chat_pending_files`)}catch{}e&&LO.login?W(e,{files:Array.isArray(t)?t.slice(0,3):[]}).catch(()=>{}):e&&T(e)},[]),(0,X.useEffect)(()=>{try{sessionStorage.setItem(`chat_model`,n.id)}catch{}},[n]);let J=async e=>{let t=3-E.length,n=[];e.length>t&&j(`You can attach up to 3 files.`);let r=E.reduce((e,t)=>e+(t.size||0),0);for(let i of Array.from(e).slice(0,t)){if(r+i.size>5242880){j(`Attached files can be 5 MB in all`);continue}let e=await Cue(i);e.error?j(e.error):(n.push({...e,size:i.size}),r+=i.size)}n.length&&D(e=>[...e,...n])},ue=!!LO.login&&!!LO.anon,de=ue?Oue:(LO.cats||[]).slice(0,6);i.length&&i.join(`, `);let fe=o.length?o.map(e=>(LO.providerNames||{})[e]||e).join(` + `):`Fleet auto`,pe=M.filter(e=>!I||e.title.toLowerCase().includes(I.toLowerCase())),me=(0,Z.jsx)(S7,{collapsible:!0,header:(0,Z.jsxs)(RL,{gap:2,align:`center`,children:[(0,Z.jsx)(bS,{name:`wolf`,size:28}),(0,Z.jsx)(CC,{type:`emphasized`,children:`Flisk Chat`})]}),topContent:(0,Z.jsxs)(zL,{gap:2,children:[(0,Z.jsx)(DS,{title:`New chat`,scene:`model`,text:`Start a fresh chat. Your old chats stay in the list.`,children:(0,Z.jsx)(IO,{label:`New chat`,variant:`secondary`,icon:(0,Z.jsx)(XT,{icon:w5,size:`sm`}),isFullWidth:!0,onClick:se})}),(0,Z.jsx)(DS,{text:`Find an older chat by a word you remember.`,children:(0,Z.jsx)(IO,{label:I?`Clear search`:`Search your chats`,variant:`ghost`,icon:(0,Z.jsx)(XT,{icon:nce,size:`sm`}),isFullWidth:!0,onClick:()=>L(I?``:prompt(`Search your chats for:`)||``)})})]}),footer:(0,Z.jsxs)(RL,{gap:2,align:`center`,children:[(0,Z.jsx)(G7,{name:LO.login||`Guest`,size:`sm`}),(0,Z.jsx)(CC,{type:`supporting`,children:LO.login?`@`+LO.login:`Not signed in`})]}),children:(0,Z.jsxs)(M7,{title:`Your chats`,children:[pe.map(e=>(0,Z.jsx)(j7,{label:e.title||`Untitled`,icon:Xse,isSelected:e.id===P,onClick:()=>le(e),actions:(0,Z.jsx)(IO,{label:`Delete chat: `+(e.title||`Untitled`),variant:`ghost`,isIconOnly:!0,icon:(0,Z.jsx)(XT,{icon:fce,size:`sm`}),onClick:()=>ce(e)})},e.id)),!!LO.login&&!LO.anon&&(0,Z.jsx)(j7,{label:`Reviews of your pull requests`,href:`/reviews`}),!pe.length&&(0,Z.jsx)(CC,{type:`supporting`,color:`secondary`,style:{padding:8},children:`Nothing here yet. Your chats stay in this browser.`})]})}),he=(0,Z.jsx)(M5,{header:`Your chats`,children:(0,Z.jsx)(N5,{value:`drawer-content`,children:me})});return(0,Z.jsxs)(TS.Provider,{value:H,children:[(0,Z.jsxs)(`div`,{className:`vv-root`,children:[g&&(0,Z.jsx)(`div`,{className:`caption`,role:`status`,children:v||`Explain mode: tap any dashed control to read what it does. Nothing will run.`}),A&&(0,Z.jsxs)(`div`,{className:`caption`,role:`status`,onClick:()=>j(``),children:[A,` (tap to close)`]}),u&&(0,Z.jsx)(`div`,{className:`caption voice-note`,role:`status`,children:`Tap anywhere to start talking`}),(0,Z.jsx)(`div`,{className:`sr-only`,\"aria-live\":`polite`,\"aria-atomic\":`true`,\"data-testid\":`turn-status`,children:Use(b,S)}),b.length>0&&(0,Z.jsx)(`h1`,{className:`sr-only`,children:`Flisk Chat: `+String(b[0].task||`files`).slice(0,80)}),(0,Z.jsx)(`input`,{ref:V,type:`file`,multiple:!0,hidden:!0,onChange:e=>{J(e.target.files),e.target.value=``}}),(0,Z.jsx)(X5,{height:`fill`,mobileNav:{hasToggle:!1,isOpen:ae,onOpenChange:oe,content:he},topNav:(0,Z.jsxs)(RL,{gap:2,align:`center`,justify:`space-between`,wrap:`wrap`,className:`chat-head`,style:{padding:`var(--spacing-2) var(--spacing-3)`},children:[(0,Z.jsx)(RL,{gap:1,align:`center`,children:(0,Z.jsx)(k5,{})}),(0,Z.jsx)(Aue,{explain:g,onExplain:()=>{_(e=>!e),y(``)},scheme:e,onLook:()=>t(Q9(e)),onModel:()=>p(!0)})]}),sideNav:me,children:(0,Z.jsx)(`div`,{className:`earth-content`,style:{display:`flex`,flexDirection:`column`,height:`100%`,minHeight:0},children:(0,Z.jsx)(K9,{style:{flex:1,minHeight:0},density:`spacious`,composer:(0,Z.jsx)(C9,{className:`one-row`,value:w,onChange:T,onSubmit:K,onStop:()=>B.current&&B.current.abort(),isStopShown:S,isDisabled:!1,placeholder:`Ask or describe a site…`,input:(0,Z.jsx)(b9,{enterKeyHint:q9?`enter`:`send`,onKeyDown:e=>{q9&&e.key===`Enter`&&!e.shiftKey&&(e.preventDefault(),document.execCommand(`insertLineBreak`))}}),headerActions:(0,Z.jsxs)(RL,{gap:1,wrap:`wrap`,align:`center`,children:[(0,Z.jsx)(DS,{title:`The + menu`,text:`Everything extra lives here. The AI works out whether you want an answer, a website, a video or a picture, so there is no mode to pick.`,scenes:[{kind:`dictate`,label:`Dictate`,text:`Speak your task, it turns into text.`},{kind:`talk`,label:`Voice talk`,text:`Talk out loud with the Flisk Oracle.`},{kind:`attach`,label:`Attach files`,text:`Drop up to 3 files, 5 MB in all.`},{kind:`computers`,label:`Choose computers`,text:`Pick which of your computers may run it.`},{kind:`model`,label:`Choose AI model`,text:`Flisk Wolf is free, or use your own key.`}],children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(l7,{button:{label:`More`,variant:`ghost`,size:`sm`,isIconOnly:!0,icon:(0,Z.jsx)(XT,{icon:w5,size:`sm`})},items:[{label:`Dictate`,description:`Speak your task, it turns into text`,icon:C5,endContent:(0,Z.jsx)(CS,{kind:`dictate`}),onClick:ie},{label:`Voice talk`,description:`Talk out loud with the Flisk Oracle`,icon:lce,endContent:(0,Z.jsx)(CS,{kind:`talk`}),onClick:()=>l(!0)},{label:`Attach files`,description:`Up to 3 files, 5 MB in all`,icon:ace,endContent:(0,Z.jsx)(CS,{kind:`attach`}),onClick:()=>V.current&&V.current.click()},{label:`Choose computers`,description:`Which of your computers may run it`,icon:$se,endContent:(0,Z.jsx)(CS,{kind:`computers`}),onClick:()=>h(!0)},{label:`Choose AI model`,description:`Flisk Wolf is free; or use your own Claude, OpenAI or OpenRouter key`,icon:S5,endContent:(0,Z.jsx)(CS,{kind:`model`}),onClick:()=>p(!0)}]})})}),E.map((e,t)=>(0,Z.jsx)(DS,{title:`Attached file`,scene:`attach`,text:`Sent with your message: `+e.name+`.`,more:`Tap it to take it off again.`,children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(VH,{label:e.name,onClick:()=>D(E.filter((e,n)=>n!==t))})})},e.name+t)),G&&(0,Z.jsx)(DS,{title:`Listening`,scene:`dictate`,text:`Stops listening and writes what you said into the box.`,children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(IO,{label:`Stop and write what I said`,variant:`primary`,size:`sm`,icon:(0,Z.jsx)(XT,{icon:C5,size:`sm`}),onClick:ie})})})]}),footerActions:(0,Z.jsxs)(RL,{gap:1,children:[HH(n.provider)!==`wolf`&&(0,Z.jsx)(DS,{brand:HH(n.provider),title:`Which AI answers`,scene:`model`,text:`Which AI answers. Flisk Wolf is free; your own key is sent per request and never stored.`,more:`Tap to switch, paste your key, or pick a model. Claude and OpenAI use your own key, so you pay them directly.`,children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(IO,{label:n.name,variant:`ghost`,size:`sm`,icon:(0,Z.jsx)(bS,{name:HH(n.provider)}),onClick:()=>p(!0)})})}),o.length>0&&(0,Z.jsx)(DS,{brand:`fleet`,title:`Where your app runs`,scene:`computers`,text:`Where your app runs. Fleet picks the cheapest of your connected computers.`,more:`Tap to connect Daytona, Upstash, E2B or Isorun with a key.`,children:(0,Z.jsx)(`span`,{children:(0,Z.jsx)(IO,{label:fe,variant:`ghost`,size:`sm`,icon:(0,Z.jsx)(bS,{name:o[0]||`fleet`}),onClick:()=>h(!0)})})})]})}),children:(0,Z.jsxs)(T9,{children:[!b.length&&(0,Z.jsxs)(D9,{sender:`assistant`,avatar:(0,Z.jsx)(bS,{name:`wolf`,size:32}),children:[(0,Z.jsx)(k9,{variant:`ghost`,children:(0,Z.jsxs)(zL,{gap:1,children:[(0,Z.jsx)(NC,{level:1,className:`greet`,children:LO.login?ue?`Describe a website or app. Get a live link.`:`What shall we make today?`:`Make real websites and apps from a sentence`}),(0,Z.jsx)(d5,{density:`compact`,children:LO.login?ue?`Free, no sign-up. Pick an example or type your own.`:`Ask a question, or describe a website or app.`:`Flisk Chat makes them on a computer that is yours. Sign in with GitHub to start. You can look around first.`})]})}),!LO.login&&(0,Z.jsx)(k9,{variant:`ghost`,children:(0,Z.jsx)(IO,{label:`Sign in with GitHub`,variant:`primary`,href:`/auth/start`})}),(0,Z.jsx)(k9,{variant:`ghost`,children:(0,Z.jsx)(RL,{className:`chips`,gap:2,wrap:`wrap`,children:de.map(e=>(0,Z.jsx)(DS,{title:e.label,brand:`flisk`,text:`Tap to try: `+(e.prompt||e.label),more:`Flisk does the work and shows you the result in this chat.`,children:(0,Z.jsx)(IO,{label:e.label,variant:`secondary`,size:`sm`,onClick:()=>T(e.prompt||e.label)})},e.label||e.id))})})]}),b.map((e,t)=>(0,Z.jsxs)(`div`,{children:[(0,Z.jsx)(D9,{sender:`user`,children:(0,Z.jsxs)(k9,{children:[e.task,e.files&&e.files.length?`\n📎 `+e.files.join(`, `):``]})}),(0,Z.jsxs)(D9,{sender:`assistant`,avatar:(0,Z.jsx)(bS,{name:`wolf`,size:32}),children:[S&&t===b.length-1&&(0,Z.jsxs)(CC,{type:`supporting`,color:`secondary`,children:[e.t.status,`…`]}),(0,Z.jsx)(Tue,{t:e.t,onAgain:t=>W(e.task,{pod:!!t,reuse:!0}).catch(()=>{}),onPick:q})]})]},t)),O&&(0,Z.jsx)(D9,{sender:`assistant`,avatar:(0,Z.jsx)(bS,{name:`wolf`,size:32}),children:(0,Z.jsx)(Due,{info:O,task:O.task,onPick:q})})]})})})})]}),(0,Z.jsx)(XH,{open:f,onClose:()=>p(!1),models:LO.models||[],value:n,onUse:r}),(0,Z.jsx)(mk,{open:c,onClose:()=>l(!1),aiBlock:U,onBuild:e=>{W(e).catch(()=>{})},onKeep:e=>{let t=[];for(let n=0;n+1[...e,...t]),e.forEach(e=>R.current.push(e)),ee(P),te()}}),(0,Z.jsx)(ZH,{open:m,onClose:()=>h(!1),connected:i,onConnected:e=>a(t=>[...new Set([...t,e])]),picked:o,setPicked:s})]})}function Mue(){(0,X.useEffect)(()=>{let e=window.visualViewport;if(!e)return;let t=document.documentElement,n=()=>{t.style.setProperty(`--vv-h`,e.height+`px`),t.style.setProperty(`--vv-top`,e.offsetTop+`px`),t.dataset.keyboard=window.innerHeight-e.height>120?`open`:`closed`,e.offsetTop&&window.scrollTo(0,0)};return n(),e.addEventListener(`resize`,n),e.addEventListener(`scroll`,n),()=>{e.removeEventListener(`resize`,n),e.removeEventListener(`scroll`,n)}},[])}var $9=e=>{let t=document.documentElement;e===`earth`?(t.dataset.theme=`earth`,t.classList.add(`home`)):(delete t.dataset.theme,t.classList.remove(`home`))};function Nue(){let[e,t]=(0,X.useState)(()=>{try{return localStorage.getItem(`chat_scheme`)||((window.__BOOT__||{}).theme===`earth`?`earth`:`system`)}catch{return`system`}});return(0,X.useEffect)(()=>{document.documentElement.dataset.scheme=e,$9(e)},[]),(0,Z.jsx)(Ec,{theme:eu[tu],mode:e===`earth`?`dark`:e,children:(0,Z.jsx)(jue,{scheme:e,setScheme:e=>{t(e);try{localStorage.setItem(`chat_scheme`,e)}catch{}document.documentElement.dataset.scheme=e,$9(e)}})})}(0,Ql.createRoot)(document.getElementById(`root`)).render((0,Z.jsx)(Nue,{}));"; export const NEXT_CSS = "html,body{overscroll-behavior:none;-webkit-text-size-adjust:100%;height:100%;overflow:hidden}.vv-root{left:0;right:0;top:var(--vv-top,0);height:var(--vv-h,100dvh);flex-direction:column;display:flex;position:fixed}.vv-root>*{flex:1;min-height:0}.vv-root textarea,.vv-root input,.vv-root [contenteditable]{font-size:16px}:root[data-keyboard=closed] .vv-root{padding-bottom:env(safe-area-inset-bottom)}:root[data-keyboard=open] .vv-root{padding-bottom:0}.caption{z-index:50;left:8px;right:8px;top:calc(var(--vv-top,0px) + 8px);color:#fff;background:#1d3a8a;border-radius:12px;padding:12px 14px;font-size:15px;line-height:1.35;position:fixed;box-shadow:0 6px 24px #0006}html[data-scheme=earth] body{background:#000}html[data-scheme=earth] body:before{content:\"\";z-index:0;pointer-events:none;background:radial-gradient(circle at 72% 28%,#ffffff29,#fff0 38%),radial-gradient(circle at 70% 30%,#0000 34%,#000000f0 74%),url(https://unpkg.com/three-globe@2.45.6/example/img/earth-blue-marble.jpg) 30%/auto 100%,radial-gradient(circle at 68% 32%,#2a5f96,#0d2a4a 55%,#02060d);border-radius:50%;width:80vh;height:80vh;position:fixed;top:21vh;left:calc(90vw - 40vh);box-shadow:0 0 70px #6ea0ff38}@media (width<=860px){html[data-scheme=earth] body:before{width:68vh;height:68vh;top:65vh;left:calc(50vw - 34vh)}}html[data-scheme=earth] #root{z-index:1;position:relative}html[data-scheme=earth] .astryx-app-shell{background:0 0!important}html[data-scheme=earth] div:has(.earth-content){background:0 0!important}html[data-scheme=earth] .astryx-app-shell-header{background:#0000008c!important}html[data-scheme=earth] .astryx-app-shell .astryx-mobile-nav-drawer[class]{background:#0b0b0c!important}.earth-talk{z-index:50;color:#ededee;text-align:center;background:#000;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:24px;display:flex;position:fixed;inset:0}.earth-orb{aspect-ratio:1;background:radial-gradient(circle at 30% 28%,#ffffff2e,#fff0 40%),radial-gradient(circle at 32% 30%,#0000 40%,#000000eb 78%),url(https://unpkg.com/three-globe@2.45.6/example/img/earth-blue-marble.jpg) 45%/auto 100%,radial-gradient(circle at 35% 30%,#2a5f96,#0d2a4a 55%,#02060d);border-radius:50%;width:min(70vw,320px);animation:3s ease-in-out infinite orb;box-shadow:0 0 70px #5a96ff47}@keyframes orb{50%{transform:scale(1.06)}}@media (prefers-reduced-motion:reduce){.earth-orb{animation:none}}html[data-scheme=earth] .astryx-app-shell [class~=x10l6tqk]{background:0 0!important}.earthc{display:none}html[data-scheme=earth] .earthc{z-index:0;pointer-events:none;opacity:0;width:100vw;height:100vh;transition:opacity 1.2s;display:block;position:fixed;inset:0}html[data-scheme=earth].earthon .earthc{opacity:1}html[data-scheme=earth].earthon body:before{opacity:0}html[data-scheme=earth] body:before{transition:opacity 1.2s}html[data-scheme=earth] .astryx-app-shell [class~=x10l6tqk]{transition:background .6s;background:#00000080!important}html[data-scheme=earth].chatting .astryx-app-shell [class~=x10l6tqk]{background:#000000e6!important}html[data-scheme=earth] .earth-content{text-shadow:0 1px 3px #000,0 0 12px #000}html[data-scheme=earth] .chips button{color:#fff!important;background:#000000b8!important}html[data-scheme=earth] [role=menu],html[data-scheme=earth] [role=listbox]{max-height:min(70vh,420px);overflow:auto;background:#121214!important}.earth-talk .earth-orb{cursor:pointer;border:0;padding:0}.earth-talk.listening .earth-orb{box-shadow:0 0 60px #78b4ff80}.earth-talk.speaking .earth-orb{animation:.7s ease-in-out infinite alternate orb}.earth-talk.idle .earth-orb{filter:saturate(.55)brightness(.75)}.astryx-chat-composer-input,.astryx-chat-composer-input [contenteditable],.astryx-chat-composer-input textarea{appearance:none;box-shadow:none!important;background:0 0!important}@media (pointer:coarse){.earth-content button,.astryx-app-shell-header button{min-width:44px;min-height:44px}}.chat-head:has(.chat-head-end){gap:var(--spacing-1)!important;flex-wrap:nowrap!important}.chat-head .chat-head-end{flex-shrink:0}@media (width<=400px){.chat-head:has(.chat-head-end){padding-left:var(--spacing-2)!important;padding-right:var(--spacing-2)!important}.chat-head .astryx-segmented-control-item{padding-left:7px!important;padding-right:7px!important}.chat-head .chat-head-end a{padding-left:10px!important;padding-right:10px!important}}[role=dialog] .astryx-field,[role=dialog] input{min-width:0}.wg,.wcard{border:1px solid var(--color-border,#8883);border-radius:12px;max-width:640px;padding:12px 14px;font-size:14px}.wg svg{width:100%;height:auto;display:block}.wtitle{margin-bottom:8px;font-weight:600}.wsrc,.gdim{color:#888;margin-top:6px;font-size:12px}.wgweb{color:#888;padding:6px 12px;font-size:13px}.wtop{flex-wrap:wrap;align-items:center;gap:8px 18px;display:flex}.wbig{align-items:center;gap:6px;display:flex}.wtemp{font-size:40px;font-weight:600;line-height:1}.wunit{color:#888;align-self:flex-start}.wmeta{color:#888;flex-direction:column;font-size:13px;display:flex}.wmeta span:first-child{color:inherit;font-weight:500}.wplace{margin-left:auto;font-weight:600}.wline{margin:8px 0}.wdays{grid-template-columns:repeat(auto-fit,minmax(64px,1fr));gap:4px;display:grid}.wday{flex-direction:column;align-items:center;gap:2px;font-size:12px;display:flex}.wday em{color:#2f6fde;min-height:1em;font-size:11px;font-style:normal}.wtipline{flex-wrap:wrap;gap:4px 12px;margin-top:4px;font-size:12px;display:flex}.wdt{border-radius:50%;width:8px;height:8px;margin-right:4px;display:inline-block}.wlegend{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.wlg{font:inherit;border:1px solid var(--color-border,#8884);color:inherit;cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:6px;min-height:28px;padding:2px 10px 2px 8px;font-size:12px;display:inline-flex}.wlg:before{content:\"\";background:var(--c);border-radius:50%;width:8px;height:8px}.wlg.off{opacity:.45;text-decoration:line-through}.wsvc{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.wsvc li{align-items:center;gap:8px;display:flex}.wsvc span{color:#888;font-size:12px}.wsvc em{margin-left:auto;font-size:12px;font-style:normal}.wdot{background:#f5a623;border-radius:50%;flex:none;width:8px;height:8px;display:inline-block}.wdot.ok{background:#1fa463}.wdot.bad{background:#e5484d}.gsec{text-transform:uppercase;letter-spacing:.04em;color:#888;margin:12px 0 4px;font-size:12px}.gcheck{align-items:flex-start;gap:14px;display:flex}.gscore b{font-size:28px}.gscore span{color:#888;font-size:12px}.gfix p,.wgrow p{margin:0 0 6px}.gpitch{font-style:italic}.gplaces{margin:0;padding-left:18px}.gplaces span{color:#888;font-size:12px;display:block}.gmail{border-top:1px solid var(--color-border,#8883);margin-top:8px;padding-top:8px}.gto{color:#888;font-size:12px}.gbody{white-space:pre-wrap;margin:4px 0 8px}.gacts{flex-wrap:wrap;gap:6px;display:flex}.wctop{align-items:center;gap:8px;margin-bottom:8px;display:flex}.wctop span{color:#888;font-size:12px}.wrow{gap:8px;display:flex}.wrow input{border:1px solid var(--color-border,#8885);min-width:0;color:inherit;background:0 0;border-radius:8px;flex:1;padding:6px 10px;font:13px ui-monospace,monospace}.wchips{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.wchips button{border:1px solid var(--color-border,#8884);color:inherit;cursor:pointer;background:0 0;border-radius:999px;min-height:28px;padding:4px 10px;font:12px ui-monospace,monospace}.wrres{margin-top:10px}.wrmeta{color:#888;align-items:center;gap:10px;font-size:12px;display:flex}.wrmeta button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:none;margin-left:auto;text-decoration:underline}.wrst{color:#1fa463;font-weight:600}.wrst.bad{color:#e5484d}.wrout{background:var(--color-background-secondary,#8881);border-radius:8px;max-height:260px;margin:6px 0 0;padding:10px;font-size:12px;overflow:auto}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.greet{margin:0;font-size:1.15rem;line-height:1.35}.caption.voice-note{top:auto;bottom:calc(100vh - var(--vv-top,0px) - var(--vv-h,100vh) + 132px);white-space:nowrap;pointer-events:none;background:#111;font-weight:600;left:50%;right:auto;transform:translate(-50%)}.one-row>div{align-items:end;column-gap:var(--spacing-1,4px);grid-template-columns:auto minmax(0,1fr) auto auto;row-gap:0;padding:var(--spacing-1,4px) var(--spacing-2,8px)!important;display:grid!important}.one-row>div>div:first-child{grid-area:1/1;align-self:end}.one-row>div>div:nth-child(2){grid-area:1/2}.one-row>div>div:last-child{display:contents!important}.one-row>div>div:last-child>div:first-child{grid-area:1/3;align-self:end}.one-row>div>div:last-child>div:last-child{grid-area:1/4;align-self:end}.demo-wrap{flex:none;width:100px;height:30px;display:inline-block;position:relative}.demo{transform-origin:100%;color:currentColor;border-radius:var(--radius,4px);transition:transform .38s cubic-bezier(.2,.9,.2,1),box-shadow .38s;position:absolute;top:0;right:0;overflow:visible}.astryx-item:hover .demo,.astryx-item:focus-visible .demo,.astryx-item:focus-within .demo,.astryx-item[data-highlighted] .demo,.astryx-item[aria-selected=true] .demo{z-index:30;transform:scale(2.7);box-shadow:0 10px 30px -8px #00000059}.demo *{transform-box:fill-box}.demo .bg{fill:canvas;stroke:currentColor;stroke-opacity:.16}.demo path,.demo circle,.demo rect.zone{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round}.demo .cur{fill:currentColor;stroke:canvas;stroke-width:1px;opacity:0}.demo{--e:cubic-bezier(.34,1.56,.64,1)}.demo-dictate .cur{animation:5s cubic-bezier(.4,0,.2,1) infinite dc}@keyframes dc{0%{opacity:0;transform:translate(170px,48px)}4%{opacity:1}15%{transform:translate(25px,34px)}20%{transform:translate(25px,34px)scale(.85)}25%,52%{opacity:1;transform:translate(25px,34px)}62%,to{opacity:0;transform:translate(40px,48px)}}.demo-dictate .mic{animation:dmic 5s var(--e) infinite;transform-origin:50%}.demo-dictate .mic circle{fill:currentColor;fill-opacity:0}@keyframes dmic{0%,17%{transform:scale(1)}21%{transform:scale(.86)}27%,to{transform:scale(1)}}.demo-dictate .rip{opacity:0;transform-origin:50%;animation:2.2s ease-out 1s infinite drip}.demo-dictate .rip.r2{animation-delay:1.8s}@keyframes drip{0%{opacity:.5;transform:scale(1)}to{opacity:0;transform:scale(2.3)}}.demo-dictate .wv{fill:currentColor;stroke:none;transform-origin:50%;animation:5s ease-in-out infinite dwv;transform:scaleY(0)}@keyframes dwv{0%,20%{transform:scaleY(0)}24%{transform:scaleY(1)}28%{transform:scaleY(.4)}33%{transform:scaleY(1)}38%{transform:scaleY(.5)}43%{transform:scaleY(.95)}48%{transform:scaleY(.35)}52%{transform:scaleY(.8)}56%,to{transform:scaleY(0)}}.demo-dictate .ln{fill:currentColor;stroke:none;transform-origin:0;animation:5s steps(16,end) infinite dln;transform:scaleX(0)}.demo-dictate .l2{animation-delay:.18s}.demo-dictate .l3{animation-delay:.36s}@keyframes dln{0%,52%{opacity:.85;transform:scaleX(0)}68%,90%{opacity:.85;transform:scaleX(1)}97%,to{opacity:0;transform:scaleX(1)}}.demo-dictate .caret{fill:currentColor;stroke:none;opacity:0;animation:5s step-end infinite dcaret}@keyframes dcaret{0%,66%{opacity:0;transform:translate(0)}67%{opacity:1;transform:translate(90px)}72%{opacity:0}74%,78%{opacity:1;transform:translate(90px)}80%,84%{opacity:0}86%,90%{opacity:1}92%,to{opacity:0}}.demo-talk .you,.demo-talk .ai{fill:currentColor;stroke:none;transform-origin:50%;opacity:.35;transform:scaleY(.12)}.demo-talk .you{animation:5s ease-in-out infinite tyou}.demo-talk .ai{animation:5s ease-in-out infinite tai}@keyframes tyou{0%{opacity:.35;transform:scaleY(.12)}5%{opacity:1;transform:scaleY(1)}11%{transform:scaleY(.3)}17%{transform:scaleY(.9)}24%{transform:scaleY(.4)}31%{transform:scaleY(1)}38%{transform:scaleY(.45)}44%{opacity:1;transform:scaleY(.8)}49%,to{opacity:.35;transform:scaleY(.12)}}@keyframes tai{0%,50%{opacity:.35;transform:scaleY(.12)}55%{opacity:1;transform:scaleY(1)}61%{transform:scaleY(.35)}68%{transform:scaleY(.95)}75%{transform:scaleY(.4)}82%{transform:scaleY(.9)}89%{opacity:1;transform:scaleY(.5)}96%,to{opacity:.35;transform:scaleY(.12)}}.demo-talk .orb{fill:currentColor;stroke:none;transform-origin:50%;animation:torb 5s var(--e) infinite}@keyframes torb{0%{transform:scale(.85)}10%{transform:scale(1.1)}20%{transform:scale(.9)}35%{transform:scale(1.05)}49%{transform:scale(.85)}56%{transform:scale(1.25)}66%{transform:scale(.95)}78%{transform:scale(1.2)}90%{transform:scale(.95)}to{transform:scale(.85)}}.demo-talk .ri,.demo-talk .ro{opacity:0}.demo-talk .ri{animation:5s linear infinite tri}.demo-talk .ro{animation:5s linear infinite tro}.demo-talk .ri circle,.demo-talk .ro circle{transform-origin:50%;stroke-width:1.2px}.demo-talk .ri circle{animation:1.2s ease-in infinite rin}.demo-talk .ro circle{animation:1.2s ease-out infinite rout}.demo-talk .g2{animation-delay:.6s!important}@keyframes tri{0%,2%{opacity:0}6%,46%{opacity:.8}50%,to{opacity:0}}@keyframes tro{0%,52%{opacity:0}56%,92%{opacity:.8}96%,to{opacity:0}}@keyframes rin{0%{opacity:0;transform:scale(3)}to{opacity:.8;transform:scale(1.2)}}@keyframes rout{0%{opacity:.8;transform:scale(1.2)}to{opacity:0;transform:scale(3)}}.demo-talk .lab{opacity:.25}.demo-attach .fc{animation:5s cubic-bezier(.4,0,.2,1) infinite afc;transform:translate(14px,16px)}.demo-attach .cur{animation:5s cubic-bezier(.4,0,.2,1) infinite ac}@keyframes afc{0%{opacity:0;transform:translate(14px,24px)scale(.9)}6%{opacity:1;transform:translate(14px,16px)scale(1)}12%{transform:translate(14px,14px)scale(1.08)rotate(-3deg)}42%{transform:translate(132px,16px)scale(1.08)rotate(3deg)}48%{opacity:1;transform:translate(138px,20px)scale(.55)rotate(0)}54%,to{opacity:0;transform:translate(138px,20px)scale(.2)}}@keyframes ac{0%{opacity:0;transform:translate(24px,40px)}6%{opacity:1;transform:translate(28px,40px)}12%{transform:translate(28px,34px)scale(.9)}42%{transform:translate(146px,34px)scale(.9)}50%{opacity:1;transform:translate(150px,44px)scale(1)}60%,to{opacity:0;transform:translate(160px,52px)}}.demo-attach .zone{stroke-dasharray:4 4;stroke-opacity:.45;transform-origin:50%;animation:azone 5s var(--e) infinite}@keyframes azone{0%,28%{stroke-opacity:.35;transform:scale(1)}40%,48%{stroke-opacity:1;transform:scale(1.04)}56%,to{stroke-opacity:.35;transform:scale(1)}}.demo-attach .plus{stroke-opacity:.45;animation:5s infinite aplus}@keyframes aplus{0%,44%{opacity:1}50%,to{opacity:0}}.demo-attach .chip{opacity:0;transform-origin:50%;animation:achip 5s var(--e) infinite;stroke-width:1.4px}.demo-attach .chip path{stroke-width:1.4px}@keyframes achip{0%,50%{opacity:0;scale:.2}58%{opacity:1;scale:1}88%{opacity:1;scale:1}96%,to{opacity:0;scale:1}}.demo-attach .ok{opacity:0;transform-origin:50%;animation:aok 5s var(--e) infinite}.demo-attach .tk{stroke-dasharray:10;stroke-dashoffset:10px;animation:5s ease-out infinite atk}@keyframes aok{0%,70%{opacity:0;scale:0}76%,88%{opacity:1;scale:1}96%,to{opacity:0}}@keyframes atk{0%,74%{stroke-dashoffset:10px}82%,88%{stroke-dashoffset:0}96%,to{stroke-dashoffset:10px}}.demo-computers .task{transform-origin:50%;animation:5s cubic-bezier(.4,0,.2,1) infinite ctask}@keyframes ctask{0%{opacity:0;transform:translate(-14px)}8%,30%{opacity:1;transform:none}38%,to{opacity:.35}}.demo-computers .hub{transform-origin:50%;animation:chub 5s var(--e) infinite}@keyframes chub{0%,30%{stroke-opacity:.5;transform:scale(1)}38%{stroke-opacity:1;transform:scale(1.5)}46%,90%{stroke-opacity:1;transform:scale(1)}to{stroke-opacity:.5}}.demo-computers .pt{stroke-opacity:.2;stroke-dasharray:3 3}.demo-computers .q2{stroke-opacity:.2;stroke-dasharray:60;stroke-dashoffset:60px;animation:5s ease-out infinite cq2}@keyframes cq2{0%,40%{stroke-dashoffset:60px;stroke-opacity:.9}52%,90%{stroke-dashoffset:0;stroke-opacity:.9}to{stroke-opacity:.2;stroke-dashoffset:60px}}.demo-computers .card{stroke:currentColor;stroke-opacity:.35;stroke-width:1.2px;fill:none}.demo-computers .trk{fill:currentColor;stroke:none;opacity:.12}.demo-computers .bar{fill:currentColor;stroke:none;transform-origin:0;opacity:.8}.demo-computers .led{fill:currentColor;stroke:none;opacity:.25}.demo-computers .pc0 .bar{transform:scaleX(.92)}.demo-computers .pc0 .led{animation:5s step-end infinite cbusy}.demo-computers .pc0,.demo-computers .pc2{opacity:.55}.demo-computers .pc2 .bar{transform:scaleX(.18)}@keyframes cbusy{0%,55%{opacity:.25}60%,to{opacity:1}}.demo-computers .pc1 .bar{animation:5s cubic-bezier(.4,0,.2,1) infinite cwork;transform:scaleX(0)}.demo-computers .pc1 .led{animation:5s infinite cled}.demo-computers .pc1 .card{animation:5s infinite ccard}@keyframes cwork{0%,56%{transform:scaleX(0)}86%,92%{transform:scaleX(1)}to{opacity:0;transform:scaleX(1)}}@keyframes cled{0%,52%{opacity:.25}58%,92%{opacity:1}to{opacity:.25}}@keyframes ccard{0%,52%{stroke-opacity:.35;stroke-width:1.2px}60%,92%{stroke-opacity:1;stroke-width:2px}to{stroke-opacity:.35;stroke-width:1.2px}}.demo-computers .job{fill:currentColor;stroke:none;offset-path:path(\"M44 30L76 30L114 30\");offset-distance:0%;opacity:0;animation:5s cubic-bezier(.4,0,.2,1) infinite cjob}@keyframes cjob{0%,6%{offset-distance:0%;opacity:0}12%{offset-distance:0%;opacity:1}32%{offset-distance:46%;opacity:1}38%,44%{offset-distance:46%;opacity:1}58%{offset-distance:100%;opacity:1}62%,to{offset-distance:100%;opacity:0}}.demo-model .hl{fill:currentColor;fill-opacity:.1;stroke:currentColor;stroke-opacity:.5;stroke-width:1.2px;animation:mhl 5s var(--e) infinite}@keyframes mhl{0%,28%{transform:translate(0)}34%,62%{transform:translate(56px)}68%,96%{transform:translate(112px)}to{transform:translate(0)}}.demo-model .pill{opacity:.45}.demo-model .pill circle,.demo-model .pill rect{fill:currentColor;stroke:none}.demo-model .p0{animation:5s infinite mp0}.demo-model .p1{animation:5s infinite mp1}.demo-model .p2{animation:5s infinite mp2}@keyframes mp0{0%,30%{opacity:1}34%,96%{opacity:.4}to{opacity:1}}@keyframes mp1{0%,30%{opacity:.4}34%,64%{opacity:1}68%,to{opacity:.4}}@keyframes mp2{0%,64%{opacity:.4}68%,96%{opacity:1}to{opacity:.4}}.demo-model .tx{fill:currentColor;stroke:none;transform-origin:0;opacity:.8;transform:scaleX(0)}.demo-model .s0 .tx{animation:5s steps(14,end) infinite ms0}.demo-model .s1 .tx{animation:5s steps(14,end) infinite ms1}.demo-model .s2 .tx{animation:5s steps(14,end) infinite ms2}.demo-model .tx.b{animation-delay:.25s!important}.demo-model .tx.c{animation-delay:.5s!important}@keyframes ms0{0%{transform:scaleX(0)}22%,30%{transform:scaleX(1)}31%,to{transform:scaleX(0)}}@keyframes ms1{0%,34%{transform:scaleX(0)}56%,63%{transform:scaleX(1)}64%,to{transform:scaleX(0)}}@keyframes ms2{0%,68%{transform:scaleX(0)}90%,96%{transform:scaleX(1)}97%,to{transform:scaleX(0)}}.demo-model .spk{fill:currentColor;stroke:none;transform-origin:50%;animation:mspk 5s var(--e) infinite}@keyframes mspk{0%,28%{transform:rotate(0)scale(1)}34%{transform:rotate(90deg)scale(1.3)}40%,62%{transform:rotate(90deg)scale(1)}68%{transform:rotate(180deg)scale(1.3)}74%,96%{transform:rotate(180deg)scale(1)}to{transform:rotate(360deg)scale(1)}}@media (prefers-reduced-motion:reduce){.demo *{animation-iteration-count:1!important}.demo .ln,.demo .tx,.demo .bar,.demo .chip{opacity:.85;transform:none}.demo .wv,.demo .you,.demo .ai{transform:none}.demo .tk{stroke-dashoffset:0}.demo .ok{opacity:1}}html[data-scheme] .astryx-app-shell .one-row .astryx-chat-composer-input,html[data-scheme] .astryx-app-shell .one-row .astryx-chat-composer-input [class]{background:0 0!important}.one-row>div>div:first-child,.one-row>div>div:last-child>div{justify-content:center;align-items:center;min-height:32px;display:flex!important}.one-row .astryx-chat-composer-input{box-sizing:border-box;flex-direction:column;justify-content:center;min-height:32px;display:flex;padding-block:5px!important}@layer reset{:where(*),:where(*):before,:where(*):after{box-sizing:border-box;border:0 solid}:where(html){font-family:var(--font-family-body);-webkit-text-size-adjust:100%;tab-size:4;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;line-height:1.5}@media (prefers-color-scheme:dark){:where(html){--lightningcss-light: ;--lightningcss-dark:initial}}:where(body){line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0}:where(h1,h2,h3,h4,h5,h6){font-size:inherit;font-weight:inherit}:where(h1,h2,h3,h4,h5,h6,p,blockquote,figure,pre,dl,dd){margin:0}:where(a){color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}:where(b,strong){font-weight:bolder}:where(code,kbd,samp,pre){font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}:where(small){font-size:80%}:where(sub,sup){vertical-align:baseline;font-size:75%;line-height:0;position:relative}:where(sub){bottom:-.25em}:where(sup){top:-.5em}:where(ol,ul,menu){margin:0;padding:0;list-style:none}:where(img,svg,video,canvas,audio,iframe,embed,object){vertical-align:middle;display:block}:where(img,video){max-width:100%;height:auto}:where(button,input,optgroup,select,textarea){font:inherit;color:inherit;margin:0;padding:0}:where(button,[type=button],[type=reset],[type=submit]){appearance:button;background-color:#0000;background-image:none}:where(button,[role=button]){cursor:pointer}:where(:disabled,[aria-disabled=true]){cursor:default}:where(textarea){resize:vertical}:where(input,textarea)::placeholder{opacity:1;color:var(--color-text-secondary,var(--lightningcss-light,#445564)var(--lightningcss-dark,#b0b5bb))}:where([list])::-webkit-calendar-picker-indicator{line-height:1}:where([type=search])::-webkit-search-decoration{-webkit-appearance:none}:where([type=search])::-webkit-search-cancel-button{-webkit-appearance:none}:where(fieldset){margin:0;padding:0}:where(legend){padding:0}:where(table){text-indent:0;border-color:inherit;border-collapse:collapse}:where(hr){height:0;color:inherit;border-top-width:1px}:where(summary){display:list-item}:where(dialog){outline:none;padding:0}:where([hidden]:not([hidden=until-found i])){display:none}:where(html){-webkit-tap-highlight-color:transparent}:where(html[data-theme=light]){--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:where(html[data-theme=dark]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:where(html:not([data-theme])){--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:where(html:not([data-theme])){--lightningcss-light: ;--lightningcss-dark:initial}}:where([data-astryx-media=dark]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:where([data-astryx-media=light]){--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@scope([data-astryx-theme=neutral]) to ([data-astryx-theme]){:where(h1,h2,h3,h4,h5,h6){font-family:var(--font-family-heading);color:var(--color-text-primary)}:where(h1){font-size:var(--text-heading-1-size);font-weight:var(--text-heading-1-weight);line-height:var(--text-heading-1-leading)}:where(h2){font-size:var(--text-heading-2-size);font-weight:var(--text-heading-2-weight);line-height:var(--text-heading-2-leading)}:where(h3){font-size:var(--text-heading-3-size);font-weight:var(--text-heading-3-weight);line-height:var(--text-heading-3-leading)}:where(h4){font-size:var(--text-heading-4-size);font-weight:var(--text-heading-4-weight);line-height:var(--text-heading-4-leading)}:where(h5){font-size:var(--text-heading-5-size);font-weight:var(--text-heading-5-weight);line-height:var(--text-heading-5-leading)}:where(h6){font-size:var(--text-heading-6-size);font-weight:var(--text-heading-6-weight);line-height:var(--text-heading-6-leading)}:where(p){font-family:var(--font-family-body);font-size:var(--text-body-size);font-weight:var(--text-body-weight);line-height:var(--text-body-leading);color:var(--color-text-primary)}:where(small){font-size:var(--text-supporting-size);font-weight:var(--text-supporting-weight);line-height:var(--text-supporting-leading);color:var(--color-text-secondary)}:where(code,pre){font-family:var(--font-family-code);font-size:var(--text-code-size);line-height:var(--text-code-leading)}:where(hr){border:none;border-top:1px solid var(--color-border)}}}@layer astryx-base{@property --x---_avatar-group-overlap{syntax:\"*\";inherits:false}@property --x---_codeblock-gutter-width{syntax:\"*\";inherits:false}@property --x---_hover-delay{syntax:\"*\";inherits:false}@property --x---_layer-keyboard-inset-block-end{syntax:\"*\";inherits:false}@property --x---_layer-keyboard-max-block-size{syntax:\"*\";inherits:false}@property --x---_layer-keyboard-overflow{syntax:\"*\";inherits:false}@property --x---_tab-indicator-bottom{syntax:\"*\";inherits:false}@property --x---container-max-height{syntax:\"*\";inherits:false}@property --x---layout-alignment-width{syntax:\"*\";inherits:false}@property --x---layout-content-width{syntax:\"*\";inherits:false}@property --x-126w13d{syntax:\"*\";inherits:false}@property --x-1x09wtl{syntax:\"*\";inherits:false}@property --x-1xmrurk{syntax:\"*\";inherits:false}@property --x-4drmnv{syntax:\"*\";inherits:false}@property --x-animationDelay{syntax:\"*\";inherits:false}@property --x-aspectRatio{syntax:\"*\";inherits:false}@property --x-backgroundColor{syntax:\"*\";inherits:false}@property --x-borderWidth{syntax:\"*\";inherits:false}@property --x-bottom{syntax:\"*\";inherits:false}@property --x-bzn8up{syntax:\"*\";inherits:false}@property --x-color{syntax:\"*\";inherits:false}@property --x-counterReset{syntax:\"*\";inherits:false}@property --x-fontSize{syntax:\"*\";inherits:false}@property --x-fqzwsx{syntax:\"*\";inherits:false}@property --x-gap{syntax:\"*\";inherits:false}@property --x-ggj8vv{syntax:\"*\";inherits:false}@property --x-gridAutoRows{syntax:\"*\";inherits:false}@property --x-gridTemplateColumns{syntax:\"*\";inherits:false}@property --x-height{syntax:\"*\";inherits:false}@property --x-inlineSize{syntax:\"*\";inherits:false}@property --x-insetBlockStart{syntax:\"*\";inherits:false}@property --x-insetInlineEnd{syntax:\"*\";inherits:false}@property --x-insetInlineStart{syntax:\"*\";inherits:false}@property --x-marginBlock{syntax:\"*\";inherits:false}@property --x-marginBlockEnd{syntax:\"*\";inherits:false}@property --x-marginBlockStart{syntax:\"*\";inherits:false}@property --x-marginInline{syntax:\"*\";inherits:false}@property --x-marginInlineEnd{syntax:\"*\";inherits:false}@property --x-marginInlineStart{syntax:\"*\";inherits:false}@property --x-maxBlockSize{syntax:\"*\";inherits:false}@property --x-maxHeight{syntax:\"*\";inherits:false}@property --x-maxWidth{syntax:\"*\";inherits:false}@property --x-minHeight{syntax:\"*\";inherits:false}@property --x-minWidth{syntax:\"*\";inherits:false}@property --x-overflowX{syntax:\"*\";inherits:false}@property --x-overflowY{syntax:\"*\";inherits:false}@property --x-paddingBlock{syntax:\"*\";inherits:false}@property --x-paddingBlockEnd{syntax:\"*\";inherits:false}@property --x-paddingInline{syntax:\"*\";inherits:false}@property --x-paddingInlineEnd{syntax:\"*\";inherits:false}@property --x-paddingInlineStart{syntax:\"*\";inherits:false}@property --x-top{syntax:\"*\";inherits:false}@property --x-transform{syntax:\"*\";inherits:false}@property --x-WebkitLineClamp{syntax:\"*\";inherits:false}@property --x-width{syntax:\"*\";inherits:false}@property --x-16m2d0h{syntax:\"*\";inherits:true}@property --x-1dd27dc{syntax:\"*\";inherits:true}@property --x-flj70p{syntax:\"*\";inherits:true}@property --x-nsbhg8{syntax:\"*\";inherits:true}@property --x-owu7oy{syntax:\"*\";inherits:true}@property --astryx-press-alpha{syntax:\"\";inherits:true;initial-value:0}@keyframes x10jkm1t-B{0%{--astryx-press-alpha:1}to{--astryx-press-alpha:0}}@keyframes x1ofkhwi-B{0%{color:color-mix(in oklab,var(--color-text-primary),var(--color-text-secondary))}50%{color:var(--color-text-primary)}to{color:color-mix(in oklab,var(--color-text-primary),var(--color-text-secondary))}}@keyframes x188b6p3-B{0%{color:inherit}to{color:#0000}}@keyframes xuvekqa-B{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}@keyframes x1tut0r7-B{0%{opacity:.3;transform:rotateX(52deg)scale(.86)}50%{opacity:1;transform:rotateX(0)scale(1)}to{opacity:.3;transform:rotateX(-52deg)scale(.86)}}@keyframes x13kz0yu-B{0%,to{opacity:1}50%{opacity:.5}}@keyframes x132z07p-B{0%{opacity:.25}9.99%{opacity:.25}10%{opacity:.325}19.99%{opacity:.325}20%{opacity:.4}29.99%{opacity:.4}30%{opacity:.475}39.99%{opacity:.475}40%{opacity:.55}49.99%{opacity:.55}50%{opacity:.625}59.99%{opacity:.625}60%{opacity:.7}69.99%{opacity:.7}70%{opacity:.775}79.99%{opacity:.775}80%{opacity:.85}89.99%{opacity:.85}90%{opacity:.925}to{opacity:.925}}@keyframes x1jn504y-B{0%{opacity:1}to{opacity:0}}@keyframes x12p7u8f-B{0%{opacity:0;animation-timing-function:ease-in-out}to{opacity:1}}@keyframes x18re5ia-B{0%{opacity:0}to{opacity:1}}@keyframes xtut5q7-B{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@keyframes x1k48ry3-B{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes x11lauxq-B{0%{opacity:0;transform:translate(var(--dialog-dir-x,0px),var(--dialog-dir-y,16px)) scale(.95)}to{opacity:1;transform:translate(0)scale(1)}}@keyframes x12ghk8m-B{0%{opacity:0;transform:translate(calc(var(--_astryx-layer-enter-x,1) * min(var(--spacing-2),var(--_astryx-layer-enter-gap,var(--spacing-2)))),calc(var(--_astryx-layer-enter-y,0) * min(var(--spacing-2),var(--_astryx-layer-enter-gap,var(--spacing-2))))) scale(.95)}to{opacity:1;transform:translate(0)scale(1)}}@keyframes x1fbltco-B{0%{opacity:0;transform:translate(calc(var(--_astryx-layer-enter-x,0) * min(var(--spacing-2),var(--_astryx-layer-enter-gap,var(--spacing-2)))),calc(var(--_astryx-layer-enter-y,-1) * min(var(--spacing-2),var(--_astryx-layer-enter-gap,var(--spacing-2))))) scale(.95)}to{opacity:1;transform:translate(0)scale(1)}}@keyframes x1yqd01s-B{0%{opacity:0;transform:translate(calc(var(--_astryx-layer-enter-x,-1) * min(var(--spacing-2),var(--_astryx-layer-enter-gap,var(--spacing-2)))),calc(var(--_astryx-layer-enter-y,0) * min(var(--spacing-2),var(--_astryx-layer-enter-gap,var(--spacing-2))))) scale(.95)}to{opacity:1;transform:translate(0)scale(1)}}@keyframes xmqt0mh-B{0%{opacity:0;transform:translate(calc(var(--_astryx-layer-enter-x,0) * min(var(--spacing-2),var(--_astryx-layer-enter-gap,var(--spacing-2)))),calc(var(--_astryx-layer-enter-y,1) * min(var(--spacing-2),var(--_astryx-layer-enter-gap,var(--spacing-2))))) scale(.95)}to{opacity:1;transform:translate(0)scale(1)}}@keyframes x1b6yrix-B{0%{opacity:0;transform:translateY(var(--spacing-2))}to{opacity:1;transform:translateY(0)}}@keyframes xiylxmw-B{0%{opacity:0;transform:translateY(calc(-1 * var(--spacing-2)))}to{opacity:1;transform:translateY(0)}}@keyframes xml828b-B{0%{opacity:1}to{opacity:var(--_progress-bar-pulse-floor)}}@keyframes x11cqc53-B{0%{transform:rotate(0)}to{transform:rotate(36000deg)}}@keyframes x18sn2u9-B{0%{transform:rotateX(52deg)scale(.86)}50%{transform:rotateX(0)scale(1)}to{transform:rotateX(-52deg)scale(.86)}}@keyframes x1c2q33o-B{0%{transform:translate(100%)}to{transform:translate(-250%)}}@keyframes xr3m334-B{0%{transform:translate(-100%)}to{transform:translate(250%)}}@keyframes x1xhkexc-B{0%{opacity:0;width:0;margin-inline-end:0}to{width:14px;opacity:1;margin-inline-end:var(--spacing-1)}}:root,.x1v1du0q{--_chat-avatar-offset:0px}:root,.x1qqxm5o{--astryx-press-alpha:0}:root,.xafi2nm{--border-width:1px}:root,.xj0fimd{--color-accent:var(--lightningcss-light,#0064e0)var(--lightningcss-dark,#0171e3);--color-accent-muted:var(--lightningcss-light,#0082fb33)var(--lightningcss-dark,#0082fb3f);--color-on-accent:#fff;--color-neutral:var(--lightningcss-light,#0536591a)var(--lightningcss-dark,#dfe2e533);--color-background-surface:var(--lightningcss-light,#fff)var(--lightningcss-dark,#1f1f22);--color-background-body:var(--lightningcss-light,#f1f4f7)var(--lightningcss-dark,#111112);--color-overlay:var(--lightningcss-light,#01122866)var(--lightningcss-dark,#11111299);--color-overlay-hover:var(--lightningcss-light,#0536590c)var(--lightningcss-dark,#ffffff0c);--color-overlay-pressed:var(--lightningcss-light,#05365919)var(--lightningcss-dark,#ffffff19);--color-background-muted:var(--lightningcss-light,#0536590c)var(--lightningcss-dark,#1111127f);--color-text-primary:var(--lightningcss-light,#0a1317)var(--lightningcss-dark,#dfe2e5);--color-text-secondary:var(--lightningcss-light,#445564)var(--lightningcss-dark,#b0b5bb);--color-text-disabled:var(--lightningcss-light,#a4b0bc)var(--lightningcss-dark,#6f747c);--color-text-accent:var(--lightningcss-light,#0064e0)var(--lightningcss-dark,#3e9efb);--color-on-dark:#fff;--color-on-light:#000;--color-icon-accent:var(--lightningcss-light,#0064e0)var(--lightningcss-dark,#2694fe);--color-icon-primary:var(--lightningcss-light,#0a1317)var(--lightningcss-dark,#dfe2e5);--color-icon-secondary:var(--lightningcss-light,#4e606f)var(--lightningcss-dark,#aaafb5);--color-icon-disabled:var(--lightningcss-light,#a4b0bc)var(--lightningcss-dark,#6f747c);--color-background-card:var(--lightningcss-light,#fff)var(--lightningcss-dark,#1f1f22);--color-background-popover:var(--lightningcss-light,#fff)var(--lightningcss-dark,#28292c);--color-background-inverted:var(--lightningcss-light,#0a1317)var(--lightningcss-dark,#fff);--color-background-error-inverted:var(--lightningcss-light,#aa071e)var(--lightningcss-dark,#e3193b);--color-info:#0064e0;--color-info-muted:var(--lightningcss-light,#0082fb33)var(--lightningcss-dark,#0082fb3f);--color-on-info:#fff;--color-success:#0d8626;--color-success-muted:var(--lightningcss-light,#0b991f33)var(--lightningcss-dark,#0b991f3f);--color-on-success:#fff;--color-error:var(--lightningcss-light,#e3193b)var(--lightningcss-dark,#f5394f);--color-error-muted:var(--lightningcss-light,#e3193b33)var(--lightningcss-dark,#f5394f3f);--color-on-error:var(--lightningcss-light,#fff)var(--lightningcss-dark,#0a1317);--color-warning:var(--lightningcss-light,#e9af08)var(--lightningcss-dark,#f2c00b);--color-warning-muted:var(--lightningcss-light,#e2a40033)var(--lightningcss-dark,#e2a4003f);--color-on-warning:#0a1317;--color-text-info:var(--color-text-blue);--color-text-success:var(--color-text-green);--color-text-warning:var(--color-text-yellow);--color-text-error:var(--color-text-red);--color-icon-info:var(--color-text-info);--color-icon-success:var(--color-text-success);--color-icon-warning:var(--color-text-warning);--color-icon-error:var(--color-text-error);--color-border-info:var(--color-text-info);--color-border-success:var(--color-text-success);--color-border-warning:var(--color-text-warning);--color-border-error:var(--color-text-error);--color-on-info-muted:var(--color-text-blue);--color-on-success-muted:var(--color-text-green);--color-on-warning-muted:var(--color-text-yellow);--color-on-error-muted:var(--color-text-red);--color-border:var(--lightningcss-light,#05365919)var(--lightningcss-dark,#f2f4f619);--color-border-emphasized:var(--lightningcss-light,#ccd3db)var(--lightningcss-dark,#494d53);--color-skeleton:var(--lightningcss-light,#ccd3db)var(--lightningcss-dark,#5a5e66);--color-track:var(--lightningcss-light,#ccd3db)var(--lightningcss-dark,#5a5e66);--color-shadow:var(--lightningcss-light,#0536591a)var(--lightningcss-dark,#0000004d);--color-tint-hover:var(--lightningcss-light,#000)var(--lightningcss-dark,#fff);--color-background-blue:#0171e333;--color-border-blue:var(--lightningcss-light,#0064e0)var(--lightningcss-dark,#2694fe);--color-icon-blue:var(--lightningcss-light,#0064e0)var(--lightningcss-dark,#2694fe);--color-text-blue:var(--lightningcss-light,#042f97)var(--lightningcss-dark,#afd7ff);--color-background-cyan:#03a7d733;--color-border-cyan:var(--lightningcss-light,#089dd0)var(--lightningcss-dark,#0171a4);--color-icon-cyan:var(--lightningcss-light,#00acc1)var(--lightningcss-dark,#26c6da);--color-text-cyan:var(--lightningcss-light,#014975)var(--lightningcss-dark,#a1eef9);--color-background-gray:var(--lightningcss-light,#0a131733)var(--lightningcss-dark,#666a724c);--color-border-gray:var(--lightningcss-light,#647685)var(--lightningcss-dark,#748695);--color-icon-gray:var(--lightningcss-light,#4e606f)var(--lightningcss-dark,#aaafb5);--color-text-gray:var(--lightningcss-light,#0a1317)var(--lightningcss-dark,#e7eaed);--color-background-green:#24bb5e33;--color-border-green:var(--lightningcss-light,#0d8626)var(--lightningcss-dark,#0b991f);--color-icon-green:var(--lightningcss-light,#0d8626)var(--lightningcss-dark,#26a756);--color-text-green:var(--lightningcss-light,#09441f)var(--lightningcss-dark,#a5f690);--color-background-orange:#f2790233;--color-border-orange:var(--lightningcss-light,#eb6e00)var(--lightningcss-dark,#b34a01);--color-icon-orange:var(--lightningcss-light,#e9690b)var(--lightningcss-dark,#fb8c00);--color-text-orange:var(--lightningcss-light,#6b2203)var(--lightningcss-dark,#fdb876);--color-background-pink:#e638b333;--color-border-pink:var(--lightningcss-light,#f351c0)var(--lightningcss-dark,#c02294);--color-icon-pink:var(--lightningcss-light,#c2185b)var(--lightningcss-dark,#ec407a);--color-text-pink:var(--lightningcss-light,#650053)var(--lightningcss-dark,#feade3);--color-background-purple:#7952ff33;--color-border-purple:var(--lightningcss-light,#9081ff)var(--lightningcss-dark,#7340fe);--color-icon-purple:var(--lightningcss-light,#5b08d8)var(--lightningcss-dark,#7952ff);--color-text-purple:var(--lightningcss-light,#3e0697)var(--lightningcss-dark,#b3b0fe);--color-background-red:#e3193b33;--color-border-red:var(--lightningcss-light,#e3193b)var(--lightningcss-dark,#f5394f);--color-icon-red:var(--lightningcss-light,#d31130)var(--lightningcss-dark,#e3193b);--color-text-red:var(--lightningcss-light,#7b0210)var(--lightningcss-dark,#ffb2b8);--color-background-teal:#0db7af33;--color-border-teal:var(--lightningcss-light,#08a3a3)var(--lightningcss-dark,#08767d);--color-icon-teal:var(--lightningcss-light,#009688)var(--lightningcss-dark,#26a69a);--color-text-teal:var(--lightningcss-light,#083943)var(--lightningcss-dark,#40dccd);--color-background-yellow:#e2a40033;--color-border-yellow:var(--lightningcss-light,#c58600)var(--lightningcss-dark,#b47700);--color-icon-yellow:var(--lightningcss-light,#fbc02d)var(--lightningcss-dark,#ffee58);--color-text-yellow:var(--lightningcss-light,#753f07)var(--lightningcss-dark,#fbce03)}:root,.x7j7z01{--color-data-categorical-blue:#0171e3;--color-data-categorical-orange:#eb6e00;--color-data-categorical-purple:#6b1efd;--color-data-categorical-green:#0b991f;--color-data-categorical-pink:#f351c0;--color-data-categorical-cyan:#0171a4;--color-data-categorical-red:#f5394f;--color-data-categorical-teal:#08a3a3;--color-data-categorical-brown:#965e03;--color-data-categorical-indigo:#6f8aff;--color-data-neutral:var(--lightningcss-light,#8494a3)var(--lightningcss-dark,#8c939b);--color-data-blue-5:#02165e;--color-data-blue-4:#004cbc;--color-data-blue-3:#2694fe;--color-data-blue-2:#78beff;--color-data-blue-1:#dbecff;--color-data-shamrock-5:#0b603d;--color-data-shamrock-4:#138546;--color-data-shamrock-3:#24bb5e;--color-data-shamrock-2:#8ef7aa;--color-data-shamrock-1:#d6fee4;--color-data-orange-5:#a13f04;--color-data-orange-4:#d66100;--color-data-orange-3:#fd9537;--color-data-orange-2:#fdb876;--color-data-orange-1:#ffe6cf;--color-data-pink-5:#8e1073;--color-data-pink-4:#d123a1;--color-data-pink-3:#f989d3;--color-data-pink-2:#feade3;--color-data-pink-1:#fce3f4;--color-data-purple-5:#3e0697;--color-data-purple-4:#6b1efd;--color-data-purple-3:#9081ff;--color-data-purple-2:#b3b0fe;--color-data-purple-1:#e8e8fb;--color-data-red-5:#9d0519;--color-data-red-4:#d31130;--color-data-red-3:#fb7d87;--color-data-red-2:#ffb2b8;--color-data-red-1:#fee4e6;--color-data-teal-5:#08767d;--color-data-teal-4:#0c9293;--color-data-teal-3:#0db7af;--color-data-teal-2:#6ce6d8;--color-data-teal-1:#d7fcf8;--color-data-yellow-5:#8a5001;--color-data-yellow-4:#d69804;--color-data-yellow-3:#fbce03;--color-data-yellow-2:#fcec85;--color-data-yellow-1:#fdf6ba;--color-data-gray-5:var(--lightningcss-light,#25363f)var(--lightningcss-dark,#333338);--color-data-gray-4:var(--lightningcss-light,#5d6c7b)var(--lightningcss-dark,#666a72);--color-data-gray-3:var(--lightningcss-light,#afb9c4)var(--lightningcss-dark,#b2b8be);--color-data-gray-2:var(--lightningcss-light,#ccd3db)var(--lightningcss-dark,#d0d3d6);--color-data-gray-1:var(--lightningcss-light,#f1f4f7)var(--lightningcss-dark,#f2f4f6)}:root,.x14lkjui{--duration-fast-min:.13s;--duration-fast:.175s;--duration-fast-max:.23s;--duration-medium-min:.31s;--duration-medium:.41s;--duration-medium-max:.55s;--duration-slow-min:.73s;--duration-slow:.975s;--duration-slow-max:1.3s;--duration-exit:var(--duration-fast)}:root,.xf09i69{--ease-standard:cubic-bezier(.24, 1, .4, 1);--ease-entrance:cubic-bezier(.24, 1, .4, 1);--ease-move:cubic-bezier(.24, 1, .4, 1);--ease-exit:cubic-bezier(.3, 0, .6, .6)}:root,.xzxs3qz{--focus-outline-width:2px;--focus-outline-style:solid;--focus-outline-color:var(--color-accent);--focus-outline-offset:3px}:root,.x5tdzeq{--font-family-body:-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif;--font-family-code:\"SF Mono\", Monaco, Consolas, monospace;--font-family-heading:-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif}:root,.x1q1ms06{--font-size-4xs:.375rem;--font-size-3xs:.4375rem;--font-size-2xs:.5rem;--font-size-xs:.625rem;--font-size-sm:.75rem;--font-size-base:.875rem;--font-size-lg:1.0625rem;--font-size-xl:1.25rem;--font-size-2xl:1.5rem;--font-size-3xl:1.8125rem;--font-size-4xl:2.1875rem;--font-size-5xl:2.625rem}:root,.x1ccmotb{--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700}:root,.xrw1vgx{--radius-none:0px;--radius-inner:4px;--radius-element:8px;--radius-container:12px;--radius-page:28px;--radius-chat:var(--radius-container);--radius-full:9999px}:root,.xua8qm3{--shadow-low:0px 1px 1px var(--lightningcss-light,#0000001a)var(--lightningcss-dark,#0003), 0px 2px 8px var(--lightningcss-light,#0000001a)var(--lightningcss-dark,#0003);--shadow-med:0px 1px 2px var(--lightningcss-light,#0000001a)var(--lightningcss-dark,#0003), 0px 2px 12px var(--lightningcss-light,#0000001a)var(--lightningcss-dark,#0003);--shadow-high:0px 2px 2px var(--lightningcss-light,#0000001a)var(--lightningcss-dark,#0003), 0px 8px 24px var(--lightningcss-light,#0000001a)var(--lightningcss-dark,#0000004d);--shadow-inset-hover:inset 0px 0px 0px 2px var(--lightningcss-light,#05365926)var(--lightningcss-dark,#dfe2e533);--shadow-inset-selected:inset 0px 0px 0px 2px #0171e380;--shadow-inset-success:inset 0px 0px 0px 2px #26a7564d;--shadow-inset-warning:inset 0px 0px 0px 2px #e2a4004d;--shadow-inset-error:inset 0px 0px 0px 2px #e3193b4d}:root,.xkgjyic{--size-element-sm:28px;--size-element-md:32px;--size-element-lg:36px}:root,.x1kvdh9l{--spacing-0:0rem;--spacing-0-5:.125rem;--spacing-1:.25rem;--spacing-1-5:.375rem;--spacing-2:.5rem;--spacing-3:.75rem;--spacing-4:1rem;--spacing-5:1.25rem;--spacing-6:1.5rem;--spacing-7:1.75rem;--spacing-8:2rem;--spacing-9:2.25rem;--spacing-10:2.5rem;--spacing-11:2.75rem;--spacing-12:3rem}:root,.x1etlgq0{--text-heading-1-size:var(--font-size-2xl);--text-heading-1-weight:var(--font-weight-semibold);--text-heading-1-leading:1.3333;--text-heading-2-size:var(--font-size-xl);--text-heading-2-weight:var(--font-weight-semibold);--text-heading-2-leading:1.4;--text-heading-3-size:var(--font-size-lg);--text-heading-3-weight:var(--font-weight-semibold);--text-heading-3-leading:1.4118;--text-heading-4-size:var(--font-size-base);--text-heading-4-weight:var(--font-weight-semibold);--text-heading-4-leading:1.4286;--text-heading-5-size:var(--font-size-sm);--text-heading-5-weight:var(--font-weight-semibold);--text-heading-5-leading:1.6667;--text-heading-6-size:var(--font-size-xs);--text-heading-6-weight:var(--font-weight-semibold);--text-heading-6-leading:1.6;--text-body-size:var(--font-size-base);--text-body-weight:var(--font-weight-normal);--text-body-leading:1.4286;--text-large-size:var(--font-size-lg);--text-large-weight:var(--font-weight-semibold);--text-large-leading:1.4118;--text-label-size:var(--font-size-base);--text-label-weight:var(--font-weight-medium);--text-label-leading:1.4286;--text-code-size:var(--font-size-base);--text-code-weight:var(--font-weight-normal);--text-code-leading:1.4286;--text-supporting-size:var(--font-size-sm);--text-supporting-weight:var(--font-weight-normal);--text-supporting-leading:1.6667;--text-display-1-size:var(--font-size-5xl);--text-display-1-weight:var(--font-weight-normal);--text-display-1-leading:1.2381;--text-display-2-size:var(--font-size-4xl);--text-display-2-weight:var(--font-weight-normal);--text-display-2-leading:1.2571;--text-display-3-size:var(--font-size-3xl);--text-display-3-weight:var(--font-weight-normal);--text-display-3-leading:1.2414}.x1e3mt4b{--_astryx-reduced-motion:1}.x5ujdhh{--_astryx-text-overflow-wrap:anywhere}.x1c9qq8g{--_astryx-text-overflow-wrap:initial}.xlz5hwt{--_avatar-group-overlap:var(--x---_avatar-group-overlap)}.xdarwi0{--_avatar-radius:var(--radius-element)}.xeincmr{--_avatar-radius:var(--radius-full)}.x877142{--_avatar-radius:var(--radius-none)}.x1kbggj7{--_button-fill:var(--color-accent)}.x1wai0k{--_button-fill:var(--color-error)}.xysjls1{--_button-on-fill:var(--color-on-accent)}.x9lj7b4{--_button-on-fill:var(--color-on-error)}.xh8ntw8{--_button-radius:calc(var(--radius-element) - var(--spacing-1))}.xcw7vlg{--_button-radius:max(var(--radius-element),calc(var(--_chat-composer-radius) - var(--_chat-composer-padding)))}.x1rjw8qi{--_button-radius:var(--radius-full)}.xw28qpl{--_card-elevation:0 0 transparent}.xnpe7fx{--_card-elevation:var(--shadow-high)}.x1nn8khe{--_card-elevation:var(--shadow-low)}.x1ovzxg0{--_card-elevation:var(--shadow-med)}.x2kkz0m{--_card-radius:var(--radius-container)}.x19py3nq{--_card-radius-bottom-left:initial}.xkl5mm8{--_card-radius-bottom-right:initial}.xdnta9e{--_card-radius-end-end:initial}.xcbdnlk{--_card-radius-end-start:initial}.x195ugj0{--_card-radius-start-end:initial}.x6fxh76{--_card-radius-start-start:initial}.x1gjg4y{--_card-radius-top-left:initial}.x1ur0lmo{--_card-radius-top-right:initial}.xr9ms2c{--_card-ring:inset 0 0 0 2px var(--color-accent)}.xgwwt2v{--_card-ring:inset 0 0 0 2px var(--color-border-blue)}.xcdi0x3{--_card-ring:inset 0 0 0 2px var(--color-border-cyan)}.x1m1zkwp{--_card-ring:inset 0 0 0 2px var(--color-border-gray)}.x1485227{--_card-ring:inset 0 0 0 2px var(--color-border-green)}.x1cclxpp{--_card-ring:inset 0 0 0 2px var(--color-border-orange)}.xzs6dn4{--_card-ring:inset 0 0 0 2px var(--color-border-pink)}.x9zgi83{--_card-ring:inset 0 0 0 2px var(--color-border-purple)}.xo8718j{--_card-ring:inset 0 0 0 2px var(--color-border-red)}.xp4e5fy{--_card-ring:inset 0 0 0 2px var(--color-border-teal)}.x1glw7ee{--_card-ring:inset 0 0 0 2px var(--color-border-yellow)}.x3zsw4j{--_card-ring:inset 0 0 0 2px var(--selectable-card-ring-color)}.xwbd0jv{--_chat-avatar-offset:0px}.x18zce08{--_chat-composer-padding:var(--spacing-2)}.xk0ittl{--_chat-composer-padding:var(--spacing-3)}.xx161y6{--_chat-composer-radius:var(--radius-chat)}.x1ectg7s{--_checkbox-row-press-paint:none}.xbuxdmv{--_codeblock-direction:ltr}.xtk08jq{--_codeblock-gutter-width:var(--x---_codeblock-gutter-width)}.x9pmotm{--_conceal-opacity:0}.x1kgmhs9{--_conceal-opacity:1}.x1t5kaiv{--_container-bleed-block-end:0px}.x19rxvyz{--_container-bleed-block-start:0px}.x137k1ec{--_container-corner-end-end:var(--_container-host-radius-end-end,var(--_container-host-radius-bottom-right,var(--_container-host-radius)))}.xp1ds82{--_container-corner-end-start:var(--_container-host-radius-end-start,var(--_container-host-radius-bottom-left,var(--_container-host-radius)))}.xmq3u8m{--_container-corner-start-end:var(--_container-host-radius-start-end,var(--_container-host-radius-top-right,var(--_container-host-radius)))}.xyglmdk{--_container-corner-start-start:var(--_container-host-radius-start-start,var(--_container-host-radius-top-left,var(--_container-host-radius)))}.x1as34vp{--_container-host-radius:var(--_card-radius)}.x16uw05s{--_container-host-radius:var(--_dialog-radius)}.xprenbh{--_container-host-radius-bottom-left:var(--_card-radius-bottom-left)}.x1cr5oa{--_container-host-radius-bottom-left:var(--_dialog-radius-bottom-left)}.xjxkvnp{--_container-host-radius-bottom-right:var(--_card-radius-bottom-right)}.xzxjxqs{--_container-host-radius-bottom-right:var(--_dialog-radius-bottom-right)}.x1buvt6y{--_container-host-radius-end-end:var(--_card-radius-end-end)}.x1sgv71z{--_container-host-radius-end-end:var(--_dialog-radius-end-end)}.x1xfe2ni{--_container-host-radius-end-start:var(--_card-radius-end-start)}.x1o7ryb1{--_container-host-radius-end-start:var(--_dialog-radius-end-start)}.x1wyi48l{--_container-host-radius-start-end:var(--_card-radius-start-end)}.x1fxna2m{--_container-host-radius-start-end:var(--_dialog-radius-start-end)}.x1fiew8m{--_container-host-radius-start-start:var(--_card-radius-start-start)}.xmj80jq{--_container-host-radius-start-start:var(--_dialog-radius-start-start)}.xspp1mx{--_container-host-radius-top-left:var(--_card-radius-top-left)}.xf2u9b1{--_container-host-radius-top-left:var(--_dialog-radius-top-left)}.x1tkjg3g{--_container-host-radius-top-right:var(--_card-radius-top-right)}.xochy8w{--_container-host-radius-top-right:var(--_dialog-radius-top-right)}.x19f99yv{--_dialog-header-end-offset:0px}.x1189i8c{--_dialog-header-end-offset:calc(-1 * var(--spacing-2))}.xze4tu6{--_dialog-header-title-offset:calc(var(--size-element-md) / 2 - var(--spacing-2) - var(--text-heading-2-size) * var(--text-heading-2-leading) / 2)}.x1fg9z59{--_dialog-radius:0px}.xvuvksw{--_dialog-radius:var(--radius-container)}.xv2r9mv{--_dialog-radius-bottom-left:initial}.x4ydc98{--_dialog-radius-bottom-right:initial}.x1e9su33{--_dialog-radius-end-end:initial}.xr78w03{--_dialog-radius-end-start:initial}.x19o6w7e{--_dialog-radius-start-end:initial}.xos9d3l{--_dialog-radius-start-start:initial}.x1y3jq2x{--_dialog-radius-top-left:initial}.xlpx7ml{--_dialog-radius-top-right:initial}.x1ca8az1{--_drawer-header-end-offset:0px}.x1y7uour{--_drawer-header-end-offset:calc(-1 * var(--spacing-2))}.xnqc24x{--_drawer-header-title-offset:calc(var(--size-element-md) / 2 - var(--spacing-2) - var(--text-heading-2-size) * var(--text-heading-2-leading) / 2)}.xgory14{--_dropdown-menu-padding:var(--spacing-1)}.x1fcsqxe{--_dropdown-menu-radius:var(--radius-container)}.x1hdoyrq{--_dropdown-menu-radius-bottom-left:initial}.x1vzu1ru{--_dropdown-menu-radius-bottom-right:initial}.xoofv4m{--_dropdown-menu-radius-end-end:initial}.xix9rv{--_dropdown-menu-radius-end-start:initial}.xqi0wir{--_dropdown-menu-radius-start-end:initial}.xt5si22{--_dropdown-menu-radius-start-start:initial}.xe8oyoz{--_dropdown-menu-radius-top-left:initial}.x1u9pls2{--_dropdown-menu-radius-top-right:initial}.x13l1x9d{--_fade-delay:0s}.x1832zxr{--_field-radius:var(--radius-element)}.x19nvjgn{--_field-status-overlap:calc(var(--size-element-md) / 2)}.x17wzz1v{--_focus-outline:none}.xgzxwq1{--_focus-outline-offset:0}.xhg274n{--_hover-delay:0s}.x8xu23y{--_hover-delay:var(--x---_hover-delay)}.xqwz7mz{--_hovercard-radius:var(--radius-container)}.x1bl9l2n{--_indicator-active-press:transparent}.x1y1g3jp{--_indicator-press-image:var(--_checkbox-row-press-paint,none)}.x1dj2fx0{--_item-description-color:var(--color-text-error)}.x1nwg5ib{--_item-inset-inline:0px}.xw1s368{--_item-inset-inline:var(--spacing-2)}.x1ytau7y{--_item-inset-inline:var(--spacing-3)}.x1pa1ci1{--_item-label-color:var(--color-text-error)}.xihxjaz{--_layer-keyboard-inset-block-end:var(--x---_layer-keyboard-inset-block-end)}.x1ex41ac{--_layer-keyboard-max-block-size:var(--x---_layer-keyboard-max-block-size)}.xypflj0{--_layer-keyboard-overflow:var(--x---_layer-keyboard-overflow)}.xt8hc1d{--_layout-flush-block-end:initial}.xu9n9za{--_layout-flush-block-start:initial}.x1q2yvai{--_list-corner-end-end:0px}.x1dt9b3t{--_list-corner-end-start:0px}.x1vx9r65{--_list-corner-start-end:0px}.x916qr2{--_list-corner-start-start:0px}.xiki222{--_popover-radius:var(--radius-container)}.x1bs45cr{--_power-search-sheet-hit-content:none}.x1o3f7l6{--_power-search-sheet-hit-inset:0px}.x1s9pv7w{--_press-overlay:transparent}.xz2mauf{--_press-paint:color-mix(in srgb,var(--color-overlay-pressed) calc(var(--astryx-press-alpha) * 100%),transparent)}.x1l7afqf{--_press-paint-image:linear-gradient(var(--_press-paint),var(--_press-paint))}.x1dejzja{--_reveal-delay:0s,0s}.x1xiarpw{--_reveal-delay:0s,var(--duration-fast)}.xdjmrzf{--_reveal-delay-reduced:0s,0s}.xct0gwe{--_reveal-opacity:0}.x5setjs{--_reveal-opacity:1}.xp0pj8v{--_reveal-position:absolute}.x1r6s5ct{--_reveal-position:static}.x1gp58cs{--_scroll-fade-end-0:0px}.xahoihe{--_scroll-fade-end-0:var(--_scroll-fade-inset,0px)}.x1jgx951{--_scroll-fade-end-1:0px}.x7o13q4{--_scroll-fade-end-1:calc(var(--_scroll-fade-inset,0px) + var(--_scroll-fade-length,var(--spacing-8)))}.xo7xqjc{--_scroll-fade-inset:calc(var(--spacing-1) - 1px)}.xitir5h{--_scroll-fade-length:var(--spacing-6)}.xd0mkop{--_scroll-fade-start-0:0px}.xd3ajef{--_scroll-fade-start-0:var(--_scroll-fade-inset,0px)}.x1frk09p{--_scroll-fade-start-1:0px}.x1ecr8xl{--_scroll-fade-start-1:calc(var(--_scroll-fade-inset,0px) + var(--_scroll-fade-length,var(--spacing-8)))}.x1f17rg1{--_section-padding-propagated:initial}.x2ccaqq{--_section-padding-propagated:var(--spacing-0-5)}.x7mo41q{--_section-padding-propagated:var(--spacing-0)}.xxa843v{--_section-padding-propagated:var(--spacing-1-5)}.x1j3iakl{--_section-padding-propagated:var(--spacing-1)}.x4h2jfd{--_section-padding-propagated:var(--spacing-10)}.xezgk69{--_section-padding-propagated:var(--spacing-2)}.x1wtz8uf{--_section-padding-propagated:var(--spacing-3)}.x5wdj8h{--_section-padding-propagated:var(--spacing-4)}.xgjndll{--_section-padding-propagated:var(--spacing-5)}.x15i4jqh{--_section-padding-propagated:var(--spacing-6)}.xmb9lpv{--_section-padding-propagated:var(--spacing-8)}.x18jk3ff{--_segmented-control-padding:var(--spacing-0-5)}.x9icjy1{--_segmented-control-radius:var(--radius-element)}.x1jx3mzq{--_sheet-scrim-duration:initial}.x1pfqsku{--_sheet-scrim-easing:initial}.xnvc5mv{--_sheet-scrim-opacity:initial}.x69vvuq{--_spinner-box-size:calc(var(--_spinner-ring-diameter) + var(--_spinner-ring-stroke) * 2)}.x2lq4xu{--_spinner-ring-diameter:var(--spinner-diameter)}.x10qssua{--_spinner-ring-stroke:var(--spinner-stroke-width)}.xficto1{--_tab-indicator-bottom:calc(-1 * (var(--spacing-1) + var(--border-width)))}.xbrl7fg{--_tab-indicator-bottom:var(--x---_tab-indicator-bottom)}.x78b515{--_tab-strip-bleed:0px}.x1jo0iki{--_table-bleed-block-end:0px}.x1vhegpj{--_table-bleed-block-start:0px}.xmorb0d{--_table-cell-word-break:break-word}.x1f03rzy{--_table-cell-word-break:normal}.x1w6xuo5{--_table-edge-inline-end:initial}.x6hwqpo{--_table-header-end-room:0px}.x1lpvlbs{--_table-header-end-room:var(--_table-edge-inline-end,var(--_table-header-inline))}.x52ukts{--_table-header-inline:var(--spacing-2)}.x1k2i0l5{--_table-header-inline:var(--spacing-3)}.xv6sed3{--_table-header-inline:var(--spacing-4)}.xya44xs{--_table-header-white-space:normal}.xghcpuh{--_table-header-white-space:nowrap}.xfips5p{--_table-row-divider-width:0px}.x3zcg35{--_table-row-divider-width:var(--_table-panel-divider-width,var(--border-width))}.x6ivs5n{--_table-row-divider-width:var(--border-width)}.x1kdpo6e{--_textarea-inline-padding:var(--spacing-2)}.x1ur4yav{--_thumbnail-hit-inset:0px}.x87gnkx{--_toast-slide-y:calc(-1 * var(--spacing-2))}.x1heqljd{--_toast-slide-y:var(--spacing-2)}.x70muob{--_tree-focus-z:auto}.x16bblx1{--button-focus-offset:var(--focus-outline-offset)}.x1v15ycx{--button-icon-only-aspect:1 / 1}.x1mtvhk1{--color-syntax-background:transparent}.xyur9ww{--color-text-primary:var(--color-on-error-muted)}.x1lheorj{--color-text-primary:var(--color-on-info-muted)}.xul3f6w{--color-text-primary:var(--color-on-success-muted)}.xtlqn95{--color-text-primary:var(--color-on-warning-muted)}.x1q2p8vm{--container-corner-end-end:0px}.x102ry9{--container-corner-end-start:0px}.x1os27km{--container-corner-start-end:0px}.xcfde6v{--container-corner-start-start:0px}.x52i7cl{--container-max-height:initial}.x18nyedi{--container-max-height:var(--x---container-max-height)}.xax9j7h{--container-padding-block-end:0px}.x165zlxo{--container-padding-block-end:var(--_layout-flush-block-end,var(--layout-padding-inner-y,var(--spacing-4)))}.x1of45zw{--container-padding-block-end:var(--astryx-bottom-sheet-padding-block-end,var(--astryx-bottom-sheet-padding,var(--spacing-4)))}.x1omyuck{--container-padding-block-end:var(--astryx-card-padding-block-end,var(--astryx-card-padding,var(--spacing-4)))}.x1gvthzm{--container-padding-block-end:var(--astryx-dialog-padding-block-end,var(--astryx-dialog-padding,var(--spacing-4)))}.x1g5mqay{--container-padding-block-end:var(--astryx-drawer-padding-block-end,var(--astryx-drawer-padding,var(--spacing-4)))}.xek4msv{--container-padding-block-end:var(--astryx-section-padding-block-end,var(--_section-padding-propagated,var(--astryx-section-padding,var(--spacing-4))))}.xi9ns85{--container-padding-block-end:var(--layout-padding-inner-y,var(--spacing-4))}.xfsxxt8{--container-padding-block-end:var(--layout-padding-own-outer-y,var(--layout-padding-outer-y,var(--spacing-4)))}.x1cao3zv{--container-padding-block-end:var(--spacing-0-5)}.xkunwnr{--container-padding-block-end:var(--spacing-0)}.xv53x8y{--container-padding-block-end:var(--spacing-1-5)}.x57a7ii{--container-padding-block-end:var(--spacing-1)}.x15vxphk{--container-padding-block-end:var(--spacing-10)}.x4bg2x9{--container-padding-block-end:var(--spacing-11)}.x186mjxr{--container-padding-block-end:var(--spacing-12)}.x1lsgcmx{--container-padding-block-end:var(--spacing-2)}.x1q3ppug{--container-padding-block-end:var(--spacing-3)}.x4hfsld{--container-padding-block-end:var(--spacing-4)}.xbib2ws{--container-padding-block-end:var(--spacing-5)}.x1q8d17g{--container-padding-block-end:var(--spacing-6)}.x1yqogew{--container-padding-block-end:var(--spacing-7)}.x8lgq76{--container-padding-block-end:var(--spacing-8)}.x1f7f9rt{--container-padding-block-end:var(--spacing-9)}.x1047aw6{--container-padding-block-start:0px}.x1hx5klf{--container-padding-block-start:max(calc(var(--astryx-bottom-sheet-padding-block-start,var(--astryx-bottom-sheet-padding,var(--spacing-4))) - var(--spacing-6)),0px)}.xoq6zsc{--container-padding-block-start:max(calc(var(--spacing-0-5) - var(--spacing-6)),0px)}.x1hkkx89{--container-padding-block-start:max(calc(var(--spacing-0) - var(--spacing-6)),0px)}.xmc9d48{--container-padding-block-start:max(calc(var(--spacing-1-5) - var(--spacing-6)),0px)}.x1vy0k3q{--container-padding-block-start:max(calc(var(--spacing-1) - var(--spacing-6)),0px)}.x213oh1{--container-padding-block-start:max(calc(var(--spacing-10) - var(--spacing-6)),0px)}.x1rr17ng{--container-padding-block-start:max(calc(var(--spacing-2) - var(--spacing-6)),0px)}.xk3zy2s{--container-padding-block-start:max(calc(var(--spacing-3) - var(--spacing-6)),0px)}.xp5lzm3{--container-padding-block-start:max(calc(var(--spacing-4) - var(--spacing-6)),0px)}.xlhad5c{--container-padding-block-start:max(calc(var(--spacing-5) - var(--spacing-6)),0px)}.xqk0106{--container-padding-block-start:max(calc(var(--spacing-6) - var(--spacing-6)),0px)}.x1qqmacf{--container-padding-block-start:max(calc(var(--spacing-8) - var(--spacing-6)),0px)}.xzrhu1o{--container-padding-block-start:var(--_layout-flush-block-start,var(--layout-padding-inner-y,var(--spacing-4)))}.x1rqz8me{--container-padding-block-start:var(--astryx-card-padding-block-start,var(--astryx-card-padding,var(--spacing-4)))}.x1g2kccc{--container-padding-block-start:var(--astryx-dialog-padding-block-start,var(--astryx-dialog-padding,var(--spacing-4)))}.x18184ib{--container-padding-block-start:var(--astryx-drawer-padding-block-start,var(--astryx-drawer-padding,var(--spacing-4)))}.xnw7zt4{--container-padding-block-start:var(--astryx-section-padding-block-start,var(--_section-padding-propagated,var(--astryx-section-padding,var(--spacing-4))))}.xjmgx01{--container-padding-block-start:var(--layout-padding-inner-y,var(--spacing-4))}.x186o6qk{--container-padding-block-start:var(--layout-padding-own-outer-y,var(--layout-padding-outer-y,var(--spacing-4)))}.xvdf9ev{--container-padding-block-start:var(--spacing-0-5)}.x1i3qcxz{--container-padding-block-start:var(--spacing-0)}.x1kbx601{--container-padding-block-start:var(--spacing-1-5)}.xnsckjb{--container-padding-block-start:var(--spacing-1)}.x17h9kl7{--container-padding-block-start:var(--spacing-10)}.x1rdjxae{--container-padding-block-start:var(--spacing-11)}.xecwdl6{--container-padding-block-start:var(--spacing-12)}.xa8b4fq{--container-padding-block-start:var(--spacing-2)}.x11k4f5r{--container-padding-block-start:var(--spacing-3)}.xm01sq8{--container-padding-block-start:var(--spacing-4)}.xp8wdkl{--container-padding-block-start:var(--spacing-5)}.x1hmud4d{--container-padding-block-start:var(--spacing-6)}.x1c00sag{--container-padding-block-start:var(--spacing-7)}.xfv60at{--container-padding-block-start:var(--spacing-8)}.x14fzdu7{--container-padding-block-start:var(--spacing-9)}.xjsfl84{--container-padding-inline-end:0px}.x58lb0f{--container-padding-inline-end:calc(var(--spacing-1) + var(--spacing-1))}.x1ui7op6{--container-padding-inline-end:var(--astryx-bottom-sheet-padding-inline-end,var(--astryx-bottom-sheet-padding-inline,var(--astryx-bottom-sheet-padding,var(--spacing-4))))}.x1ihxwbr{--container-padding-inline-end:var(--astryx-card-padding-inline-end,var(--astryx-card-padding-inline,var(--astryx-card-padding,var(--spacing-4))))}.x11h1f2o{--container-padding-inline-end:var(--astryx-dialog-padding-inline-end,var(--astryx-dialog-padding-inline,var(--astryx-dialog-padding,var(--spacing-4))))}.xlsqznw{--container-padding-inline-end:var(--astryx-drawer-padding-inline-end,var(--astryx-drawer-padding-inline,var(--astryx-drawer-padding,var(--spacing-4))))}.xu1wldr{--container-padding-inline-end:var(--astryx-section-padding-inline-end,var(--astryx-section-padding-inline,var(--_section-padding-propagated,var(--astryx-section-padding,var(--spacing-4)))))}.xikqloz{--container-padding-inline-end:var(--layout-padding-inner-x,var(--spacing-4))}.xhq06x6{--container-padding-inline-end:var(--layout-padding-own-outer-x,var(--layout-padding-outer-x,var(--spacing-4)))}.x1wz3t3y{--container-padding-inline-end:var(--spacing-0-5)}.x91ghl5{--container-padding-inline-end:var(--spacing-0)}.xntetml{--container-padding-inline-end:var(--spacing-1-5)}.x2oyxnl{--container-padding-inline-end:var(--spacing-1)}.xx5lg5w{--container-padding-inline-end:var(--spacing-10)}.x1nmgbqg{--container-padding-inline-end:var(--spacing-11)}.x1wsfsk2{--container-padding-inline-end:var(--spacing-12)}.xcas3b9{--container-padding-inline-end:var(--spacing-2)}.xu0ipoa{--container-padding-inline-end:var(--spacing-3)}.xs0pscg{--container-padding-inline-end:var(--spacing-4)}.xgkj7vj{--container-padding-inline-end:var(--spacing-5)}.x94cj42{--container-padding-inline-end:var(--spacing-6)}.x11tj35w{--container-padding-inline-end:var(--spacing-7)}.x1b9k1pi{--container-padding-inline-end:var(--spacing-8)}.x19w02kr{--container-padding-inline-end:var(--spacing-9)}.xrhngw9{--container-padding-inline-start:0px}.x1v11cex{--container-padding-inline-start:calc(var(--spacing-1) + var(--spacing-1))}.xv7mus7{--container-padding-inline-start:var(--astryx-bottom-sheet-padding-inline-start,var(--astryx-bottom-sheet-padding-inline,var(--astryx-bottom-sheet-padding,var(--spacing-4))))}.xjmlhfd{--container-padding-inline-start:var(--astryx-card-padding-inline-start,var(--astryx-card-padding-inline,var(--astryx-card-padding,var(--spacing-4))))}.x1tewnwq{--container-padding-inline-start:var(--astryx-dialog-padding-inline-start,var(--astryx-dialog-padding-inline,var(--astryx-dialog-padding,var(--spacing-4))))}.x1mndvw9{--container-padding-inline-start:var(--astryx-drawer-padding-inline-start,var(--astryx-drawer-padding-inline,var(--astryx-drawer-padding,var(--spacing-4))))}.x19lemt0{--container-padding-inline-start:var(--astryx-section-padding-inline-start,var(--astryx-section-padding-inline,var(--_section-padding-propagated,var(--astryx-section-padding,var(--spacing-4)))))}.x408pgh{--container-padding-inline-start:var(--layout-padding-inner-x,var(--spacing-4))}.xt2a87w{--container-padding-inline-start:var(--layout-padding-own-outer-x,var(--layout-padding-outer-x,var(--spacing-4)))}.x14ws0sr{--container-padding-inline-start:var(--spacing-0-5)}.x1gu2k80{--container-padding-inline-start:var(--spacing-0)}.x176g23i{--container-padding-inline-start:var(--spacing-1-5)}.x1cvlban{--container-padding-inline-start:var(--spacing-1)}.xserb3f{--container-padding-inline-start:var(--spacing-10)}.xziclwo{--container-padding-inline-start:var(--spacing-11)}.x1iiwihq{--container-padding-inline-start:var(--spacing-12)}.x1xlrr2o{--container-padding-inline-start:var(--spacing-2)}.xfdwxua{--container-padding-inline-start:var(--spacing-3)}.x1dlhslv{--container-padding-inline-start:var(--spacing-4)}.x1s81nki{--container-padding-inline-start:var(--spacing-5)}.x1ep0dkj{--container-padding-inline-start:var(--spacing-6)}.x157xojc{--container-padding-inline-start:var(--spacing-7)}.xw1diwv{--container-padding-inline-start:var(--spacing-8)}.xraca2a{--container-padding-inline-start:var(--spacing-9)}.xd9j5qm{--indicator-color:var(--resize-hint,transparent)}.x19kr0ht{--layout-alignment-width:100cqi}.x479rhq{--layout-alignment-width:initial}.x1b1nz06{--layout-alignment-width:var(--x---layout-alignment-width)}.x1vpwbdg{--layout-content-width:initial}.x4906uf{--layout-content-width:var(--x---layout-content-width)}.x1qfll2g{--layout-padding-inner-x:initial}.xp9icaw{--layout-padding-inner-x:var(--astryx-bottom-sheet-padding-inline-start,var(--astryx-bottom-sheet-padding-inline,var(--astryx-bottom-sheet-padding,var(--spacing-4))))}.x4poyjn{--layout-padding-inner-x:var(--astryx-card-padding-inline-start,var(--astryx-card-padding-inline,var(--astryx-card-padding,var(--spacing-4))))}.x2so38{--layout-padding-inner-x:var(--astryx-dialog-padding-inline-start,var(--astryx-dialog-padding-inline,var(--astryx-dialog-padding,var(--spacing-4))))}.x1qbr0dm{--layout-padding-inner-x:var(--astryx-drawer-padding-inline-start,var(--astryx-drawer-padding-inline,var(--astryx-drawer-padding,var(--spacing-4))))}.x1v3gmnx{--layout-padding-inner-x:var(--astryx-section-padding-inline-start,var(--astryx-section-padding-inline,var(--_section-padding-propagated,var(--astryx-section-padding,var(--spacing-4)))))}.xlriy2h{--layout-padding-inner-x:var(--spacing-0-5)}.xj1bl4l{--layout-padding-inner-x:var(--spacing-0)}.xd38f90{--layout-padding-inner-x:var(--spacing-1-5)}.x6uuyak{--layout-padding-inner-x:var(--spacing-1)}.x1vf4qco{--layout-padding-inner-x:var(--spacing-10)}.xsmamsf{--layout-padding-inner-x:var(--spacing-11)}.x2xk2xj{--layout-padding-inner-x:var(--spacing-12)}.xxqksqd{--layout-padding-inner-x:var(--spacing-2)}.x1fyui2f{--layout-padding-inner-x:var(--spacing-3)}.x1i2ajwi{--layout-padding-inner-x:var(--spacing-4)}.x1tac27u{--layout-padding-inner-x:var(--spacing-5)}.x1ntgf3t{--layout-padding-inner-x:var(--spacing-6)}.xhjd9tl{--layout-padding-inner-x:var(--spacing-7)}.xn7c84u{--layout-padding-inner-x:var(--spacing-8)}.xeqkbsz{--layout-padding-inner-x:var(--spacing-9)}.xyvxpqs{--layout-padding-inner-y:initial}.x10u54dy{--layout-padding-inner-y:var(--astryx-bottom-sheet-padding-block-start,var(--astryx-bottom-sheet-padding,var(--spacing-4)))}.x1u1kw4e{--layout-padding-inner-y:var(--astryx-card-padding-block-start,var(--astryx-card-padding,var(--spacing-4)))}.xinu7xd{--layout-padding-inner-y:var(--astryx-dialog-padding-block-start,var(--astryx-dialog-padding,var(--spacing-4)))}.x1ek71mq{--layout-padding-inner-y:var(--astryx-drawer-padding-block-start,var(--astryx-drawer-padding,var(--spacing-4)))}.x15yx5hm{--layout-padding-inner-y:var(--astryx-section-padding-block-start,var(--_section-padding-propagated,var(--astryx-section-padding,var(--spacing-4))))}.x180h0y5{--layout-padding-inner-y:var(--spacing-0-5)}.xwuefyo{--layout-padding-inner-y:var(--spacing-0)}.x1g8jpzm{--layout-padding-inner-y:var(--spacing-1-5)}.xmpug6m{--layout-padding-inner-y:var(--spacing-1)}.x18gbwmk{--layout-padding-inner-y:var(--spacing-10)}.x14zymzj{--layout-padding-inner-y:var(--spacing-11)}.xzfpkx9{--layout-padding-inner-y:var(--spacing-12)}.x1lksgje{--layout-padding-inner-y:var(--spacing-2)}.x4j7gld{--layout-padding-inner-y:var(--spacing-3)}.x1s3ehtl{--layout-padding-inner-y:var(--spacing-4)}.x1rj5eim{--layout-padding-inner-y:var(--spacing-5)}.x1ftgg6u{--layout-padding-inner-y:var(--spacing-6)}.x1ho74vh{--layout-padding-inner-y:var(--spacing-7)}.xm2cs6f{--layout-padding-inner-y:var(--spacing-8)}.x1vsq92b{--layout-padding-inner-y:var(--spacing-9)}.xdt8ak2{--layout-padding-outer-x:initial}.x11ixy8q{--layout-padding-outer-x:var(--astryx-bottom-sheet-padding-inline-start,var(--astryx-bottom-sheet-padding-inline,var(--astryx-bottom-sheet-padding,var(--spacing-4))))}.x14rzhog{--layout-padding-outer-x:var(--astryx-card-padding-inline-start,var(--astryx-card-padding-inline,var(--astryx-card-padding,var(--spacing-4))))}.x1hsjncj{--layout-padding-outer-x:var(--astryx-dialog-padding-inline-start,var(--astryx-dialog-padding-inline,var(--astryx-dialog-padding,var(--spacing-4))))}.x18e7m0u{--layout-padding-outer-x:var(--astryx-drawer-padding-inline-start,var(--astryx-drawer-padding-inline,var(--astryx-drawer-padding,var(--spacing-4))))}.x15i0zw9{--layout-padding-outer-x:var(--astryx-section-padding-inline-start,var(--astryx-section-padding-inline,var(--_section-padding-propagated,var(--astryx-section-padding,var(--spacing-4)))))}.xihiwg7{--layout-padding-outer-x:var(--spacing-0-5)}.xswhm3q{--layout-padding-outer-x:var(--spacing-0)}.x1u93lgd{--layout-padding-outer-x:var(--spacing-1-5)}.xc96xmq{--layout-padding-outer-x:var(--spacing-1)}.x1jdf5a4{--layout-padding-outer-x:var(--spacing-10)}.x1hct0t0{--layout-padding-outer-x:var(--spacing-11)}.x11cyqoe{--layout-padding-outer-x:var(--spacing-12)}.x15dxnc0{--layout-padding-outer-x:var(--spacing-2)}.xadgj3j{--layout-padding-outer-x:var(--spacing-3)}.x1v56qcf{--layout-padding-outer-x:var(--spacing-4)}.x1nzs0gl{--layout-padding-outer-x:var(--spacing-5)}.x1c3n52a{--layout-padding-outer-x:var(--spacing-6)}.x1gfiokx{--layout-padding-outer-x:var(--spacing-7)}.x1t3kfz{--layout-padding-outer-x:var(--spacing-8)}.xzr4qsh{--layout-padding-outer-x:var(--spacing-9)}.x1rs4lu4{--layout-padding-outer-y:initial}.x1iwhsh0{--layout-padding-outer-y:var(--astryx-bottom-sheet-padding-block-start,var(--astryx-bottom-sheet-padding,var(--spacing-4)))}.xjej9fs{--layout-padding-outer-y:var(--astryx-card-padding-block-start,var(--astryx-card-padding,var(--spacing-4)))}.x1pui4bz{--layout-padding-outer-y:var(--astryx-dialog-padding-block-start,var(--astryx-dialog-padding,var(--spacing-4)))}.xc006j{--layout-padding-outer-y:var(--astryx-drawer-padding-block-start,var(--astryx-drawer-padding,var(--spacing-4)))}.x1vw4zgg{--layout-padding-outer-y:var(--astryx-section-padding-block-start,var(--_section-padding-propagated,var(--astryx-section-padding,var(--spacing-4))))}.x1vj96e0{--layout-padding-outer-y:var(--spacing-0-5)}.x1mzf5mb{--layout-padding-outer-y:var(--spacing-0)}.xd3dqby{--layout-padding-outer-y:var(--spacing-1-5)}.x1gpfxoh{--layout-padding-outer-y:var(--spacing-1)}.x26l4wa{--layout-padding-outer-y:var(--spacing-10)}.x10zktp0{--layout-padding-outer-y:var(--spacing-11)}.x1yz3n6a{--layout-padding-outer-y:var(--spacing-12)}.x10pz7y9{--layout-padding-outer-y:var(--spacing-2)}.x1p6yq3h{--layout-padding-outer-y:var(--spacing-3)}.xx738ci{--layout-padding-outer-y:var(--spacing-4)}.x6yxws5{--layout-padding-outer-y:var(--spacing-5)}.x180vrwl{--layout-padding-outer-y:var(--spacing-6)}.x1q6rme1{--layout-padding-outer-y:var(--spacing-7)}.xid7e43{--layout-padding-outer-y:var(--spacing-8)}.x1t5kicu{--layout-padding-outer-y:var(--spacing-9)}.xbjcssu{--layout-padding-own-outer-x:0px}.x1vii845{--layout-padding-own-outer-x:initial}.x1ftjo2o{--layout-padding-own-outer-x:var(--spacing-0-5)}.xhcsosl{--layout-padding-own-outer-x:var(--spacing-0)}.x1k4nu17{--layout-padding-own-outer-x:var(--spacing-1-5)}.x14y473{--layout-padding-own-outer-x:var(--spacing-1)}.xczqutc{--layout-padding-own-outer-x:var(--spacing-10)}.x18c6olm{--layout-padding-own-outer-x:var(--spacing-2)}.x1cfn5ow{--layout-padding-own-outer-x:var(--spacing-3)}.xh30wjg{--layout-padding-own-outer-x:var(--spacing-4)}.xse87af{--layout-padding-own-outer-x:var(--spacing-5)}.xznoj5s{--layout-padding-own-outer-x:var(--spacing-6)}.xtjvahm{--layout-padding-own-outer-x:var(--spacing-8)}.x1bz2q72{--layout-padding-own-outer-y:0px}.xojybgt{--layout-padding-own-outer-y:initial}.x1b6unwa{--layout-padding-own-outer-y:var(--spacing-0-5)}.xe1wva8{--layout-padding-own-outer-y:var(--spacing-0)}.x1g16mdy{--layout-padding-own-outer-y:var(--spacing-1-5)}.x1nxw61z{--layout-padding-own-outer-y:var(--spacing-1)}.xaqnhag{--layout-padding-own-outer-y:var(--spacing-10)}.xm4vj23{--layout-padding-own-outer-y:var(--spacing-2)}.x69uvy7{--layout-padding-own-outer-y:var(--spacing-3)}.x139ridu{--layout-padding-own-outer-y:var(--spacing-4)}.x1cq2jmq{--layout-padding-own-outer-y:var(--spacing-5)}.x1ir1f5p{--layout-padding-own-outer-y:var(--spacing-6)}.xhbsdkj{--layout-padding-own-outer-y:var(--spacing-8)}.xnpej1e{--radius-element:var(--radius-full)}.x1tnip43{--resize-hint:transparent}.x11rj6l1{--selectable-card-ring-color:var(--color-accent)}.xkce8z9{--separator-display:flex}.x7o5821{--spinner-arc-fraction:.375}.x1uzk0gl{--spinner-color:currentColor}.xt1b8mc{--spinner-color:var(--color-accent)}.x13u6jys{--spinner-color:var(--color-on-dark)}.x1jevo6s{--spinner-color:var(--color-text-secondary)}.x11wm0hx{--spinner-diameter:10px}.x15pu9g6{--spinner-diameter:14px}.x1w424tr{--spinner-diameter:18px}.x1orj1z9{--spinner-diameter:28px}.xls98ul{--spinner-stroke-width:2px}.xr0wkrm{--spinner-stroke-width:3px}.x7y2bof{--spinner-stroke-width:4px}.xbfzqbu{--spinner-track-color:currentColor}.x1ufpcf6{--spinner-track-color:var(--color-on-dark)}.xspt9s2{--spinner-track-color:var(--color-track)}.x152dxt4{--step-connector-gap:0px}.x5letbq{--step-connector-gap:inherit}.x1qkaldv{--step-connector-gap:initial}.xnrusv5{--table-row-overlay:var(--color-background-muted)}.xpa4xmd{--tree-list-indent:var(--spacing-4)}.x1xbi2jf{--tree-list-row-gap:var(--spacing-0-5)}.x1gxz47l.x1gxz47l:where(.x139im0d:last-child *){--_table-row-divider-width:0px}.x1b9k41a[data-astryx-press=fading],.x1u7ooqu[data-astryx-press=on]{--_checkbox-row-press-paint:var(--_press-paint-image)}.x1wfyzv7:focus-within{--_fade-delay:0s}.xqih627:focus-visible{--_focus-outline:var(--focus-outline-width) var(--focus-outline-style) var(--focus-outline-color)}.xqchwus:focus-visible{--_focus-outline-offset:var(--focus-outline-offset)}.x51rtne.x51rtne:where(:has(~.x1sz7nw1:not([data-divider]))){--_layout-flush-block-end:0px}.x1akq5vd.x1akq5vd:where(.xo0ftvq:not([data-divider])~*){--_layout-flush-block-start:0px}.x19rtxe:active:not([data-astryx-press=on],[data-astryx-press=fading]):not(:has(button:not([aria-readonly=true]):active,a:not([aria-readonly=true]):active,input:not([type=radio],[aria-readonly=true]):active,select:not([aria-readonly=true]):active,textarea:not([aria-readonly=true]):active,[role=button]:not([aria-readonly=true]):active,[role=link]:not([aria-readonly=true]):active,[role=checkbox]:not([aria-readonly=true]):active,[role=radio]:not([aria-readonly=true]):active,[role=switch]:not([aria-readonly=true]):active,[role=tab]:not([aria-readonly=true]):active,[role=menuitem]:not([aria-readonly=true]):active,[role=option]:not([aria-readonly=true]):active,[role=combobox]:not([aria-readonly=true]):active,[role=listbox]:not([aria-readonly=true]):active,[role=slider]:not([aria-readonly=true]):active,[role=spinbutton]:not([aria-readonly=true]):active,[data-pressable-container]:not([aria-readonly=true]):active)){--_radio-row-press:var(--color-overlay-pressed)}.x1mjsb9v:focus-within{--_reveal-delay:0s,0s}.x1z42dm:focus-within{--_reveal-delay-reduced:0s,0s}.xi33vf3:focus-within{--_reveal-opacity:1}.xoa21yc:focus-within{--_reveal-position:static}.xayfdo3:not([data-astryx-travelling]:not([aria-selected=true],[aria-current=true],[data-selected])){--_travelling-surface:initial}.x1sk5w8o:focus-visible{--_tree-focus-z:2}.x11woleg:focus-visible{--indicator-color:var(--color-accent)}.x1i79oho.x1i79oho:hover:where(:not(:disabled,[aria-disabled=true])){--indicator-color:var(--resize-hint-gate,var(--color-accent))}.x1p8rq6b:has([data-chat-name]){--_chat-avatar-offset:var(--spacing-5)}.x1506i8g:has(>[data-container-corner]:last-child){--_container-bleed-block-end:var(--container-padding-block-end,0px)}.xlimi1b:has(>[data-container-corner]:first-child){--_container-bleed-block-start:var(--container-padding-block-start,0px)}.x1qs65gq:has(>[data-size=lg]){--_field-status-overlap:calc(var(--size-element-lg) / 2)}.xlumz0n:has(>[data-size=sm]){--_field-status-overlap:calc(var(--size-element-sm) / 2)}.x158n88w:has(:focus-visible){--_tab-strip-bleed:calc(var(--focus-outline-width) + var(--focus-outline-offset))}.x1jkigeo:has(>[data-container-corner]:last-child){--container-corner-end-end:var(--_container-corner-end-end,0px)}.xcwbja2:has(>[data-container-corner]:last-child){--container-corner-end-start:var(--_container-corner-end-start,0px)}.x18wmv1g:has(>[data-container-corner]:first-child){--container-corner-start-end:var(--_container-corner-start-end,0px)}.x1jxik6w:has(>[data-container-corner]:first-child){--container-corner-start-start:var(--_container-corner-start-start,0px)}.xyet88l:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){--_codeblock-direction:rtl}.x135ma50:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){--_container-corner-end-end:var(--_container-host-radius-end-end,var(--_container-host-radius-bottom-left,var(--_container-host-radius)))}.x1pmdxx9:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){--_container-corner-end-start:var(--_container-host-radius-end-start,var(--_container-host-radius-bottom-right,var(--_container-host-radius)))}.x5rr2qb:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){--_container-corner-start-end:var(--_container-host-radius-start-end,var(--_container-host-radius-top-left,var(--_container-host-radius)))}.xo6h1o1:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){--_container-corner-start-start:var(--_container-host-radius-start-start,var(--_container-host-radius-top-right,var(--_container-host-radius)))}.x1d65wlh:first-child{--_list-corner-start-end:max(0px,var(--container-corner-start-end,0px) - var(--container-padding-block-start,0px))}.xb8h2sp:first-child{--_list-corner-start-start:max(0px,var(--container-corner-start-start,0px) - var(--container-padding-block-start,0px))}.x83pvvj:first-child{--_table-bleed-block-start:var(--_container-bleed-block-start,0px)}.x1ibt0lz:first-child{--separator-display:none}.xc60oqu:last-child{--_list-corner-end-end:max(0px,var(--container-corner-end-end,0px) - var(--container-padding-block-end,0px))}.xjk82ok:last-child{--_list-corner-end-start:max(0px,var(--container-corner-end-start,0px) - var(--container-padding-block-end,0px))}.x17gwsw7:last-child{--_table-bleed-block-end:var(--_container-bleed-block-end,0px)}.xi48f35:last-child{--_table-edge-inline-end:max(var(--container-padding-inline-end,var(--spacing-2)),var(--spacing-2))}.xzt5qtd:last-child{--_table-edge-inline-end:max(var(--container-padding-inline-end,var(--spacing-3)),var(--spacing-2))}.xty9e4x:last-child{--_table-edge-inline-end:max(var(--container-padding-inline-end,var(--spacing-4)),var(--spacing-2))}.xztvxw7:nth-child(2n of :not([data-expansion-panel])){--table-row-overlay:var(--color-background-muted)}.x3z1glp:has(>[data-container-corner]:last-child):has(>* [data-container-corner]){--_container-bleed-block-end:0px}.x1o1bq0k:has(>[data-container-corner]:first-child):has(>* [data-container-corner]){--_container-bleed-block-start:0px}.xrfh3k4:has(>[data-container-corner]:last-child):has(>* [data-container-corner]){--container-corner-end-end:0px}.xpl7j7d:has(>[data-container-corner]:last-child):has(>* [data-container-corner]){--container-corner-end-start:0px}.x1fj5z48:has(>[data-container-corner]:first-child):has(>* [data-container-corner]){--container-corner-start-end:0px}.x1x9b3rp:has(>[data-container-corner]:first-child):has(>* [data-container-corner]){--container-corner-start-start:0px}@media (pointer:coarse){.x4pvm7e.x4pvm7e{--_fade-delay:0s}.x73lxwv.x73lxwv{--_power-search-sheet-hit-content:\"\"}.xhx5icg.xhx5icg{--_power-search-sheet-hit-inset:min(0px,calc((100% - 44px) / 2))}.x1humlf3.x1humlf3{--_reveal-delay:0s,0s}.x63b2yw.x63b2yw{--_reveal-delay-reduced:0s,0s}.xakbj2a.xakbj2a{--_reveal-opacity:1}.xe5pbq5.xe5pbq5{--_reveal-position:static}.x1h9khjt.x1h9khjt{--_thumbnail-hit-inset:-2px}}@media (hover:hover){.x1m110vg.x1m110vg{--resize-hint:transparent}}.xb8awce.xb8awce:active:where(:not(:disabled,[aria-disabled=true])){--_press-overlay:var(--color-overlay-pressed)}@media (hover:hover){.x1316hva.x1316hva.x1316hva:hover:where(:not(:disabled,[aria-disabled=true])){--_conceal-opacity:0}.xuzfaso.xuzfaso.xuzfaso:hover:where(:not(:disabled,[aria-disabled=true])){--_conceal-opacity:1}.xq03417.xq03417.xq03417:hover:where(:not(:disabled,[aria-disabled=true])){--_fade-delay:0s}.x14nxqze.x14nxqze.x14nxqze:hover:where(:not(:disabled,[aria-disabled=true])){--_fade-delay:var(--_hover-delay,0s)}}@media (pointer:coarse){.xkwazwr.xkwazwr:active:not([data-astryx-press=on],[data-astryx-press=fading]):not(:has(button:not([aria-readonly=true]):active,a:not([aria-readonly=true]):active,input:not([type=radio],[aria-readonly=true]):active,select:not([aria-readonly=true]):active,textarea:not([aria-readonly=true]):active,[role=button]:not([aria-readonly=true]):active,[role=link]:not([aria-readonly=true]):active,[role=checkbox]:not([aria-readonly=true]):active,[role=radio]:not([aria-readonly=true]):active,[role=switch]:not([aria-readonly=true]):active,[role=tab]:not([aria-readonly=true]):active,[role=menuitem]:not([aria-readonly=true]):active,[role=option]:not([aria-readonly=true]):active,[role=combobox]:not([aria-readonly=true]):active,[role=listbox]:not([aria-readonly=true]):active,[role=slider]:not([aria-readonly=true]):active,[role=spinbutton]:not([aria-readonly=true]):active,[data-pressable-container]:not([aria-readonly=true]):active)){--_radio-row-press:transparent}}@media (hover:hover){.x1t6fdr0.x1t6fdr0.x1t6fdr0:hover:where(:not(:disabled,[aria-disabled=true])){--_reveal-delay:0s,0s}.x1tx49wl.x1tx49wl.x1tx49wl:hover:where(:not(:disabled,[aria-disabled=true])){--_reveal-delay:0s,var(--duration-fast)}.xi1ebb6.xi1ebb6.xi1ebb6:hover:where(:not(:disabled,[aria-disabled=true])){--_reveal-delay:var(--_hover-delay,0s),var(--_hover-delay,0s)}.xap96qf.xap96qf.xap96qf:hover:where(:not(:disabled,[aria-disabled=true])){--_reveal-delay-reduced:0s,0s}.xvd8mm8.xvd8mm8.xvd8mm8:hover:where(:not(:disabled,[aria-disabled=true])){--_reveal-delay-reduced:var(--_hover-delay,0s),var(--_hover-delay,0s)}.xfqgg65.xfqgg65.xfqgg65:hover:where(:not(:disabled,[aria-disabled=true])){--_reveal-opacity:0}.x2xrgwu.x2xrgwu.x2xrgwu:hover:where(:not(:disabled,[aria-disabled=true])){--_reveal-opacity:1}.x17ock8y.x17ock8y.x17ock8y:hover:where(:not(:disabled,[aria-disabled=true])){--_reveal-position:absolute}.x1or4zte.x1or4zte.x1or4zte:hover:where(:not(:disabled,[aria-disabled=true])){--_reveal-position:static}.x1o1xfy8.x1o1xfy8.x1o1xfy8:hover:where(:not(:disabled,[aria-disabled=true])){--resize-hint:var(--resize-hint-gate,var(--color-border))}.xc01ov8.xc01ov8.xc01ov8:hover:where(:not(:disabled,[aria-disabled=true])){--table-row-overlay:var(--color-overlay-hover)}.xmfmiv1.xmfmiv1.xmfmiv1:hover:where(:not(:disabled,[aria-disabled=true])):where(:not(:disabled,[aria-disabled=true])){--_press-overlay:var(--color-overlay-hover)}}@media (pointer:coarse){.x1a5qima.x1a5qima.x1a5qima:active:where(:not(:disabled,[aria-disabled=true])){--_press-overlay:transparent}}@media (hover:hover){.x1hn5ov8.x1hn5ov8.x1hn5ov8:active:where(:not(:disabled,[aria-disabled=true])){--_press-overlay:var(--color-overlay-pressed)}}.xln7xf2:not(#\\#){font:inherit}.x15r89dc:not(#\\#){grid-area:1/1}.x10a8y8t:not(#\\#){inset:0}.xh3736h:not(#\\#){inset:unset}.xkdpibf:not(#\\#){margin:-1px}.x1ghz6dp:not(#\\#){margin:0}.xkib98w:not(#\\#){margin:8px}.x1bpp3o7:not(#\\#){margin:auto}.xkz33jb:not(#\\#){margin:calc(-1 * calc(var(--spacing-1) - 1px))}.x1717udv:not(#\\#){padding:0}.x1tamke2:not(#\\#){padding:16px}.x1i3ajwb:not(#\\#){padding:2px}.xfawy5m:not(#\\#){padding:4px}.x1b50gpf:not(#\\#){padding:calc(var(--_chat-composer-padding) - var(--border-width))}.x2tfcv5:not(#\\#){padding:calc(var(--spacing-1) - 1px)}.x18oj4ui:not(#\\#){padding:var(--_chat-composer-padding)}.xpoxszi:not(#\\#){padding:var(--_segmented-control-padding)}.x12nba7r:not(#\\#){padding:var(--spacing-0-5)}.xtozwh:not(#\\#){padding:var(--spacing-1) var(--spacing-2)}.x9epnlk:not(#\\#){padding:var(--spacing-1)}.x15nmkw0:not(#\\#){padding:var(--spacing-2) 0}.xlsj2fj:not(#\\#){padding:var(--spacing-2)}.x1b2ylru:not(#\\#){padding:var(--spacing-3)}.x1shk3sm:not(#\\#){padding:var(--spacing-4)}.x1y5lnwp:focus:not(#\\#){margin:0}@media (pointer:coarse){.xng8syq.xng8syq:not(#\\#){padding:0}}.xg8s4dl:not(#\\#):not(#\\#){animation-range:cover}.x9r1u3d:not(#\\#):not(#\\#){border-color:#0000}.xad5do:not(#\\#):not(#\\#){border-color:var(--color-accent)}.x1touxvs:not(#\\#):not(#\\#){border-color:var(--color-background-surface)}.xlee4gx:not(#\\#):not(#\\#){border-color:var(--color-border-blue)}.xb1xfl:not(#\\#):not(#\\#){border-color:var(--color-border-cyan)}.xvy26l8:not(#\\#):not(#\\#){border-color:var(--color-border-emphasized)}.xw4o254:not(#\\#):not(#\\#){border-color:var(--color-border-error)}.x1w9ec3u:not(#\\#):not(#\\#){border-color:var(--color-border-gray)}.xy90a9n:not(#\\#):not(#\\#){border-color:var(--color-border-green)}.xloqurj:not(#\\#):not(#\\#){border-color:var(--color-border-orange)}.x1czkbn8:not(#\\#):not(#\\#){border-color:var(--color-border-pink)}.xq98wne:not(#\\#):not(#\\#){border-color:var(--color-border-purple)}.xjqgoec:not(#\\#):not(#\\#){border-color:var(--color-border-red)}.x1cu78b5:not(#\\#):not(#\\#){border-color:var(--color-border-success)}.x1r9gxr1:not(#\\#):not(#\\#){border-color:var(--color-border-teal)}.xrwcrn0:not(#\\#):not(#\\#){border-color:var(--color-border-warning)}.x1kpnwn1:not(#\\#):not(#\\#){border-color:var(--color-border-yellow)}.x14i3s5s:not(#\\#):not(#\\#){border-color:var(--color-border)}.xqcx1ss:not(#\\#):not(#\\#){border-color:var(--color-text-primary)}.x2u8bby:not(#\\#):not(#\\#){border-radius:0}.x1nj7uno:not(#\\#):not(#\\#){border-radius:1px}.x12oqio5:not(#\\#):not(#\\#){border-radius:4px}.x16rqkct:not(#\\#):not(#\\#){border-radius:50%}.xur7f20:not(#\\#):not(#\\#){border-radius:8px}.x1pjcqnp:not(#\\#):not(#\\#){border-radius:inherit}.xc910v0:not(#\\#):not(#\\#){border-radius:max(0px,calc(var(--_segmented-control-radius) - var(--_segmented-control-padding)))}.xbc78cj:not(#\\#):not(#\\#){border-radius:var(--_avatar-radius)}.x1vf2byn:not(#\\#):not(#\\#){border-radius:var(--_banner-radius,var(--radius-container))}.x1jxw6zd:not(#\\#):not(#\\#){border-radius:var(--_button-radius,var(--radius-element))}.xy0xnkn:not(#\\#):not(#\\#){border-radius:var(--_button-radius,var(--radius-full))}.x153u1i6:not(#\\#):not(#\\#){border-radius:var(--_card-radius)}.x1xunbrq:not(#\\#):not(#\\#){border-radius:var(--_chat-composer-radius)}.xuacgfc:not(#\\#):not(#\\#){border-radius:var(--_dialog-radius)}.x1n97fys:not(#\\#):not(#\\#){border-radius:var(--_dropdown-menu-radius)}.xvdfih8:not(#\\#):not(#\\#){border-radius:var(--_field-radius)}.x7a53xk:not(#\\#):not(#\\#){border-radius:var(--_hovercard-radius)}.x11m9jtl:not(#\\#):not(#\\#){border-radius:var(--_popover-radius)}.x1hapoqb:not(#\\#):not(#\\#){border-radius:var(--_segmented-control-radius)}.xashgol:not(#\\#):not(#\\#){border-radius:var(--radius-chat)}.x1hviunn:not(#\\#):not(#\\#){border-radius:var(--radius-container)}.xh6dtrn:not(#\\#):not(#\\#){border-radius:var(--radius-element)}.xjspbzw:not(#\\#):not(#\\#){border-radius:var(--radius-full)}.xx3sua9:not(#\\#):not(#\\#){border-radius:var(--radius-inner)}.xwksslw:not(#\\#):not(#\\#){border-radius:var(--radius-none)}.xbsl7fq:not(#\\#):not(#\\#){border-style:dashed}.xng3xce:not(#\\#):not(#\\#){border-style:none}.x1y0btm7:not(#\\#):not(#\\#){border-style:solid}.xc342km:not(#\\#):not(#\\#){border-width:0}.xmkeg23:not(#\\#):not(#\\#){border-width:1px}.xdh2fpr:not(#\\#):not(#\\#){border-width:2px}.x1litavf:not(#\\#):not(#\\#){border-width:var(--border-width)}.x1mw0n95:not(#\\#):not(#\\#){border-width:var(--x-borderWidth)}.x1somy94:not(#\\#):not(#\\#){flex:0 0 0}.x3psx0u:not(#\\#):not(#\\#){flex:none}.xkz0k9k:not(#\\#):not(#\\#){flex:0 auto}.x1cqoux5:not(#\\#):not(#\\#){flex:1 1 0}.x845mor:not(#\\#):not(#\\#){flex:1}.xfoc8du:not(#\\#):not(#\\#){flex:40px}.x12lumcd:not(#\\#):not(#\\#){flex:auto}.x98rzlu:not(#\\#):not(#\\#){flex:1}.x1okw0bk:not(#\\#):not(#\\#){flex:none}.xxhr3t:not(#\\#):not(#\\#){gap:0}.x1jnr06f:not(#\\#):not(#\\#){gap:4px}.x14kbac9:not(#\\#):not(#\\#){gap:inherit}.x1s448w1:not(#\\#):not(#\\#){gap:var(--_checkbox-input-gap,var(--spacing-2))}.x1ht6rs:not(#\\#):not(#\\#){gap:var(--_switch-field-gap,var(--spacing-2))}.x1lsbc85:not(#\\#):not(#\\#){gap:var(--spacing-0-5)}.xsn7fz1:not(#\\#):not(#\\#){gap:var(--spacing-0)}.x1s4dlld:not(#\\#):not(#\\#){gap:var(--spacing-1-5)}.xzye2dw:not(#\\#):not(#\\#){gap:var(--spacing-1)}.x3hoi3v:not(#\\#):not(#\\#){gap:var(--spacing-10)}.xpec5dj:not(#\\#):not(#\\#){gap:var(--spacing-2) var(--spacing-4)}.x1txdalj:not(#\\#):not(#\\#){gap:var(--spacing-2)}.xlaq8a2:not(#\\#):not(#\\#){gap:var(--spacing-3) var(--spacing-4)}.xjcht0a:not(#\\#):not(#\\#){gap:var(--spacing-3)}.x18g69wz:not(#\\#):not(#\\#){gap:var(--spacing-4)}.x9mgr7n:not(#\\#):not(#\\#){gap:var(--spacing-5)}.x1qh66ti:not(#\\#):not(#\\#){gap:var(--spacing-6)}.x4t41sb:not(#\\#):not(#\\#){gap:var(--spacing-8)}.x1pidvrl:not(#\\#):not(#\\#){gap:var(--x-gap)}.x1osaytk:not(#\\#):not(#\\#){grid-column:1/-1}.xgkxs2y:not(#\\#):not(#\\#){grid-column:1}.x623te4:not(#\\#):not(#\\#){grid-column:span 2}.xa1s216:not(#\\#):not(#\\#){grid-row:1/span 2}.x1ms6mhf:not(#\\#):not(#\\#){grid-row:1}.x7sv70a:not(#\\#):not(#\\#){grid-row:2}.x10no89f:not(#\\#):not(#\\#){inset-block:0}.x17y0mx6:not(#\\#):not(#\\#){inset-inline:0}.xe8uvvx:not(#\\#):not(#\\#){list-style:none}.x1r8ssgc:not(#\\#):not(#\\#){margin-block:-7px}.x10im51j:not(#\\#):not(#\\#){margin-block:0}.x81ka23:not(#\\#):not(#\\#){margin-block:calc(-1 * (var(--spacing-3) - var(--spacing-2)))}.xjn4mhx:not(#\\#):not(#\\#){margin-block:calc(0px - min(var(--_dialog-header-title-offset),var(--_dialog-header-end-offset),0px))}.xdhkkay:not(#\\#):not(#\\#){margin-block:calc(0px - min(var(--_drawer-header-title-offset),var(--_drawer-header-end-offset),0px))}.xlzjpy3:not(#\\#):not(#\\#){margin-block:calc(var(--_dialog-header-end-offset) - min(var(--_dialog-header-title-offset),var(--_dialog-header-end-offset),0px))}.x1om7iy4:not(#\\#):not(#\\#){margin-block:calc(var(--_dialog-header-title-offset) - min(var(--_dialog-header-title-offset),var(--_dialog-header-end-offset),0px))}.xrei3je:not(#\\#):not(#\\#){margin-block:calc(var(--_drawer-header-end-offset) - min(var(--_drawer-header-title-offset),var(--_drawer-header-end-offset),0px))}.xriqd3n:not(#\\#):not(#\\#){margin-block:calc(var(--_drawer-header-title-offset) - min(var(--_drawer-header-title-offset),var(--_drawer-header-end-offset),0px))}.x10qot8m:not(#\\#):not(#\\#){margin-block:min(var(--_dialog-header-title-offset),var(--_dialog-header-end-offset),0px)}.x76yscr:not(#\\#):not(#\\#){margin-block:min(var(--_drawer-header-title-offset),var(--_drawer-header-end-offset),0px)}.xsq74q5:not(#\\#):not(#\\#){margin-block:var(--spacing-1)}.x1g06x3t:not(#\\#):not(#\\#){margin-block:var(--spacing-2)}.x1oqu0vw:not(#\\#):not(#\\#){margin-block:var(--x-marginBlock)}.xvueqy4:not(#\\#):not(#\\#){margin-inline:auto}.xi5l473:not(#\\#):not(#\\#){margin-inline:calc(-1 * (var(--_tab-strip-bleed)))}.xtedp8i:not(#\\#):not(#\\#){margin-inline:calc(-1 * var(--spacing-1))}.x1ng9b9t:not(#\\#):not(#\\#){margin-inline:calc(-1 * var(--spacing-4))}.xhrcg97:not(#\\#):not(#\\#){margin-inline:var(--spacing-1)}.x16j26i2:not(#\\#):not(#\\#){margin-inline:var(--spacing-2)}.xam6yil:not(#\\#):not(#\\#){margin-inline:var(--spacing-3)}.xvlecxo:not(#\\#):not(#\\#){margin-inline:var(--x-marginInline)}.x1a2a7pz:not(#\\#):not(#\\#){outline:none}.xaw4jrz:not(#\\#):not(#\\#){outline:var(--_focus-outline,none)}.xysyzu8:not(#\\#):not(#\\#){overflow:auto}.x7giv3:not(#\\#):not(#\\#){overflow:clip}.xb3r6kr:not(#\\#):not(#\\#){overflow:hidden}.x1r0phfj:not(#\\#):not(#\\#){overflow:var(--_layer-keyboard-overflow,visible)}.x1rea2x4:not(#\\#):not(#\\#){overflow:visible}.xish69e:not(#\\#):not(#\\#){overscroll-behavior:contain}.xt970qd:not(#\\#):not(#\\#){padding-block:0}.x1uameg1:not(#\\#):not(#\\#){padding-block:118px}.xsmncjp:not(#\\#):not(#\\#){padding-block:calc((var(--size-element-lg) - max(min(var(--spacing-5),max(var(--size-element-lg) - 2 * var(--border-width),1.5em)),20px,1rem) - 2 * var(--border-width)) / 2)}.xj646f7:not(#\\#):not(#\\#){padding-block:calc((var(--size-element-md) - max(min(var(--spacing-5),max(var(--size-element-md) - 2 * var(--border-width),1.5em)),20px,1rem) - 2 * var(--border-width)) / 2)}.x9ccq01:not(#\\#):not(#\\#){padding-block:calc((var(--size-element-sm) - max(min(var(--spacing-5),max(var(--size-element-sm) - 2 * var(--border-width),1.5em)),20px,1rem) - 2 * var(--border-width)) / 2)}.x1x7cmac:not(#\\#):not(#\\#){padding-block:calc(var(--spacing-1) - 1px)}.xwo4yc8:not(#\\#):not(#\\#){padding-block:calc(var(--tree-list-row-gap,0px) / 2)}.x13f7esw:not(#\\#):not(#\\#){padding-block:var(--spacing-0-5)}.x1hp7d8q:not(#\\#):not(#\\#){padding-block:var(--spacing-0)}.x1vofgu7:not(#\\#):not(#\\#){padding-block:var(--spacing-1-5)}.xu0wf1k:not(#\\#):not(#\\#){padding-block:var(--spacing-1)}.xce4md1:not(#\\#):not(#\\#){padding-block:var(--spacing-2)}.x8o8v82:not(#\\#):not(#\\#){padding-block:var(--spacing-3)}.x1na6nto:not(#\\#):not(#\\#){padding-block:var(--spacing-4)}.xq6koh6:not(#\\#):not(#\\#){padding-block:var(--spacing-6)}.xmfvnks:not(#\\#):not(#\\#){padding-block:var(--spacing-8)}.x1giekp1:not(#\\#):not(#\\#){padding-block:var(--x-paddingBlock)}.xnjsko4:not(#\\#):not(#\\#){padding-inline:0}.xx2oswg:not(#\\#):not(#\\#){padding-inline:calc(var(--spacing-1) - 1px)}.x2hg6jq:not(#\\#):not(#\\#){padding-inline:calc(var(--spacing-1) + var(--border-width))}.x1xd259c:not(#\\#):not(#\\#){padding-inline:calc(var(--spacing-1) + var(--spacing-1))}.xaip428:not(#\\#):not(#\\#){padding-inline:var(--_item-inset-inline)}.x1kpkw9v:not(#\\#):not(#\\#){padding-inline:var(--_tab-strip-bleed)}.xlz1w5s:not(#\\#):not(#\\#){padding-inline:var(--_table-header-inline)}.x1w6f3ag:not(#\\#):not(#\\#){padding-inline:var(--_textarea-inline-padding)}.xkjnx3w:not(#\\#):not(#\\#){padding-inline:var(--spacing-0-5)}.x17a0aqu:not(#\\#):not(#\\#){padding-inline:var(--spacing-0)}.x4ezzuc:not(#\\#):not(#\\#){padding-inline:var(--spacing-1-5)}.x7a5moj:not(#\\#):not(#\\#){padding-inline:var(--spacing-1)}.xixulwi:not(#\\#):not(#\\#){padding-inline:var(--spacing-10)}.xf314gf:not(#\\#):not(#\\#){padding-inline:var(--spacing-2)}.xrrkdod:not(#\\#):not(#\\#){padding-inline:var(--spacing-3)}.x1pzlopt:not(#\\#):not(#\\#){padding-inline:var(--spacing-4)}.xzz68wx:not(#\\#):not(#\\#){padding-inline:var(--spacing-5)}.xm7rs69:not(#\\#):not(#\\#){padding-inline:var(--spacing-6)}.x6xnjw4:not(#\\#):not(#\\#){padding-inline:var(--spacing-8)}.x30g6up:not(#\\#):not(#\\#){padding-inline:var(--x-paddingInline)}.x1ku5rj1:not(#\\#):not(#\\#){place-items:center}.x18himy5:not(#\\#):not(#\\#){scroll-padding-inline:calc(calc(var(--spacing-1) - 1px) + var(--spacing-6))}.x1kek0pe:not(#\\#):not(#\\#){scroll-padding-inline:calc(var(--_scroll-fade-inset,0px) + var(--_scroll-fade-length,var(--spacing-8)))}.x1xif8ns:not(#\\#):not(#\\#){scroll-padding-inline:calc(var(--_tab-strip-bleed) + var(--spacing-8))}.xdf8p4l:not(#\\#):not(#\\#){scroll-padding-inline:var(--spacing-0-5)}.x9lgdif:not(#\\#):not(#\\#){scroll-padding-inline:var(--spacing-0)}.x1w8vatw:not(#\\#):not(#\\#){scroll-padding-inline:var(--spacing-1-5)}.x1u2972t:not(#\\#):not(#\\#){scroll-padding-inline:var(--spacing-1)}.xw959t8:not(#\\#):not(#\\#){scroll-padding-inline:var(--spacing-10)}.x1mfb6cv:not(#\\#):not(#\\#){scroll-padding-inline:var(--spacing-2)}.xpnzzb2:not(#\\#):not(#\\#){scroll-padding-inline:var(--spacing-3)}.x3m3szd:not(#\\#):not(#\\#){scroll-padding-inline:var(--spacing-4)}.x1vx7sv0:not(#\\#):not(#\\#){scroll-padding-inline:var(--spacing-5)}.x1mvw9yj:not(#\\#):not(#\\#){scroll-padding-inline:var(--spacing-6)}.x1xn2tv3:not(#\\#):not(#\\#){scroll-padding-inline:var(--spacing-8)}.xhfbhpw:not(#\\#):not(#\\#){scroll-snap-type:x mandatory}.x168l2et:not(#\\#):not(#\\#){scroll-snap-type:y mandatory}.xmqliwb:not(#\\#):not(#\\#){text-decoration:line-through}.x1hl2dhg:not(#\\#):not(#\\#){text-decoration:none}.x1bvjpef:not(#\\#):not(#\\#){text-decoration:underline}.xb0j27v:not(#\\#):not(#\\#){transition:grid-template-rows var(--duration-medium) var(--ease-standard)}.x1ob6yzd:not(#\\#):not(#\\#){transition:transform var(--duration-fast) var(--ease-standard)}.x1hn17kp.x1hn17kp:where(.x7rrw3w:focus-visible~*):not(#\\#):not(#\\#){outline:var(--focus-outline-width) var(--focus-outline-style) var(--focus-outline-color)}.x6q1khz:focus-within:not(#\\#):not(#\\#),.xujr3tv:focus-visible:not(#\\#):not(#\\#){border-color:var(--color-accent)}.x1kaqvcv:focus-within:not(#\\#):not(#\\#){border-color:var(--color-border-error)}.x1lbxt8w:focus-within:not(#\\#):not(#\\#){border-color:var(--color-border-success)}.x1pl5oko:focus-within:not(#\\#):not(#\\#){border-color:var(--color-border-warning)}.x1dordxg:focus-within:not(#\\#):not(#\\#),.x1odnnbo[data-zoom-dismissing]:not(#\\#):not(#\\#),.xrta9n2:focus-visible:not(#\\#):not(#\\#){overflow:visible}.x16it14f:has(>[aria-disabled=true]:focus-visible):not(#\\#):not(#\\#){border-color:var(--color-accent)}.x1ta6xgg:has(input[aria-disabled=true]:focus-visible):not(#\\#):not(#\\#){border-color:var(--color-accent)}.x2uiyk:has(input:focus):not(#\\#):not(#\\#){border-color:var(--color-accent)}.xb0m1lw:has(>div>.astryx-layout-content):not(#\\#):not(#\\#){margin-inline:0}.x16s19ga:has(:focus-visible):not(#\\#):not(#\\#){outline:var(--focus-outline-width) var(--focus-outline-style) var(--focus-outline-color)}.x7l34b8:has([data-zoom-dismissing]):not(#\\#):not(#\\#){overflow:visible}.x1q9bidn:placeholder-shown:not(#\\#):not(#\\#){flex:1 1 0}.xfpexjq:focus:not(#\\#):not(#\\#){border-color:var(--color-border-error)}.x1p6lex4:focus:not(#\\#):not(#\\#){border-color:var(--color-border-success)}.xy8f8gr:focus:not(#\\#):not(#\\#){border-color:var(--color-border-warning)}.x1uvtmcs:focus:not(#\\#):not(#\\#){outline:none}.xomzh7y:focus:not(#\\#):not(#\\#){overflow:visible}.xh2mrf5:focus:not(#\\#):not(#\\#){padding-block:var(--spacing-2)}.x1cf3d6k:focus:not(#\\#):not(#\\#){padding-inline:var(--spacing-4)}@media (forced-colors:active){.x1ylmb6m.x1ylmb6m:not(#\\#):not(#\\#){border-color:buttontext}.x1w1tqly.x1w1tqly:not(#\\#):not(#\\#){border-color:canvastext}.xmnqt3w.xmnqt3w:not(#\\#):not(#\\#){border-color:graytext}.xx61lck.xx61lck:not(#\\#):not(#\\#){border-style:solid}.x13rsnn2.x13rsnn2:not(#\\#):not(#\\#){border-width:1px}}@media (width<=480px){.x1a1jff.x1a1jff:not(#\\#):not(#\\#){gap:var(--spacing-4)}}@media (pointer:coarse){.x1s6gw0t.x1s6gw0t:not(#\\#):not(#\\#){inset-block:0}.xfmjvo4.xfmjvo4:not(#\\#):not(#\\#){margin-block:auto}.x10epi6d.x10epi6d:not(#\\#):not(#\\#){scroll-padding-inline:calc(var(--_scroll-fade-inset,0px) + var(--_scroll-fade-length,var(--spacing-8)))}}@media (prefers-reduced-motion:reduce){.x9kvfbb.x9kvfbb:not(#\\#):not(#\\#){transition:none}}@media (hover:hover){.x1ozl1p1.x1ozl1p1.x1ozl1p1:where(.x1odsvnm:hover *):not(#\\#):not(#\\#){border-color:color-mix(in srgb,var(--color-accent),var(--color-tint-hover) 15%)}.xilc7fp.xilc7fp.xilc7fp:where(.x1odsvnm:hover *):not(#\\#):not(#\\#){border-color:color-mix(in srgb,var(--color-border-emphasized),var(--color-tint-hover) 20%)}.x61roa7.x61roa7.x61roa7:where(.x1odsvnm:hover *):not(#\\#):not(#\\#){border-color:var(--color-border)}}@media (forced-colors:active){.xa1vkld.xa1vkld:focus-visible:not(#\\#):not(#\\#),.xohk9ji.xohk9ji:focus-within:not(#\\#):not(#\\#){border-color:highlight}}@media (hover:hover){.x1xwh4np.x1xwh4np.x1xwh4np:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#){border-color:var(--color-border-emphasized)}.x13nosk6.x13nosk6.x13nosk6:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#){text-decoration:underline}}@media (forced-colors:active){.xa99h4j.xa99h4j:has(input[aria-disabled=true]:focus-visible):not(#\\#):not(#\\#){border-color:highlight}.xq9p6t4.xq9p6t4:has(input:focus):not(#\\#):not(#\\#){border-color:highlight}.xqgemzk.xqgemzk:has(>[aria-disabled=true]:focus-visible):not(#\\#):not(#\\#){border-color:highlight}}.x1lugfcp:not(#\\#):not(#\\#):not(#\\#){-webkit-appearance:none}.x67t5t6:not(#\\#):not(#\\#):not(#\\#){-webkit-backdrop-filter:blur(12px)}.x1ua5tub:not(#\\#):not(#\\#):not(#\\#){-webkit-box-orient:vertical}.x1yhjpo9:not(#\\#):not(#\\#):not(#\\#){-webkit-line-clamp:var(--x-WebkitLineClamp)}.xiy8rlo:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(#0000,#000 24px)}.x1bv1mxo:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(#0000,#000 36px)}.xo9xo30:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(#0000,#000 48px)}.xt2iwb0:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(#0000,#0000)}.x5lxg6s:not(#\\#):not(#\\#):not(#\\#){-webkit-overflow-scrolling:touch}.x1i10hfl:not(#\\#):not(#\\#):not(#\\#){-webkit-tap-highlight-color:transparent}.xg7jpbn:not(#\\#):not(#\\#):not(#\\#){-webkit-text-fill-color:transparent}.xpdipgo:not(#\\#):not(#\\#):not(#\\#){-webkit-touch-callout:none}.x1winvzj:not(#\\#):not(#\\#):not(#\\#){-webkit-user-select:none}.x8gbvx8:not(#\\#):not(#\\#):not(#\\#){align-content:flex-start}.x1pha0wt:not(#\\#):not(#\\#):not(#\\#){align-items:baseline}.x6s0dn4:not(#\\#):not(#\\#):not(#\\#){align-items:center}.xpqajaz:not(#\\#):not(#\\#):not(#\\#){align-items:end}.xuk3077:not(#\\#):not(#\\#):not(#\\#){align-items:flex-end}.x1cy8zhl:not(#\\#):not(#\\#):not(#\\#){align-items:flex-start}.x1h91t0o:not(#\\#):not(#\\#):not(#\\#){align-items:inherit}.xaz6w31:not(#\\#):not(#\\#):not(#\\#){align-items:last baseline}.x7a106z:not(#\\#):not(#\\#):not(#\\#){align-items:start}.x1qjc9v5:not(#\\#):not(#\\#):not(#\\#){align-items:stretch}.xoi2r2e:not(#\\#):not(#\\#):not(#\\#){align-self:baseline}.xamitd3:not(#\\#):not(#\\#):not(#\\#){align-self:center}.xpvyfi4:not(#\\#):not(#\\#):not(#\\#){align-self:flex-end}.xqcrz7y:not(#\\#):not(#\\#):not(#\\#){align-self:flex-start}.x1y8v6su:not(#\\#):not(#\\#):not(#\\#){align-self:start}.xkh2ocl:not(#\\#):not(#\\#):not(#\\#){align-self:stretch}.x7dpabl:not(#\\#):not(#\\#):not(#\\#){anchor-name:--outline-active}.x17yabm6:not(#\\#):not(#\\#):not(#\\#){animation-delay:var(--duration-medium-min)}.xvo38ju:not(#\\#):not(#\\#):not(#\\#){animation-delay:var(--x-animationDelay)}.xpz12be:not(#\\#):not(#\\#):not(#\\#){animation-direction:alternate}.xmg6eyc:not(#\\#):not(#\\#):not(#\\#){animation-duration:1.5s}.xjlvqhv:not(#\\#):not(#\\#):not(#\\#){animation-duration:1ms}.x1c74tu6:not(#\\#):not(#\\#):not(#\\#){animation-duration:2s}.xwms9i0:not(#\\#):not(#\\#):not(#\\#){animation-duration:auto}.xidn0ey:not(#\\#):not(#\\#):not(#\\#){animation-duration:calc(var(--_astryx-pre-tempo-duration-slow-min,var(--duration-slow-min)) * 100)}.xbs46m1:not(#\\#):not(#\\#):not(#\\#){animation-duration:var(--_astryx-pre-tempo-duration-medium-max,var(--duration-medium-max))}.x9uej1z:not(#\\#):not(#\\#):not(#\\#){animation-duration:var(--duration-fast-max)}.xb2rp9n:not(#\\#):not(#\\#):not(#\\#){animation-duration:var(--duration-fast)}.xqgcaz:not(#\\#):not(#\\#):not(#\\#){animation-duration:var(--duration-medium-max)}.x12wqnr7:not(#\\#):not(#\\#):not(#\\#){animation-duration:var(--duration-medium)}.xskzprw:not(#\\#):not(#\\#):not(#\\#){animation-fill-mode:backwards}.x1u6ievf:not(#\\#):not(#\\#):not(#\\#){animation-fill-mode:both}.x10e4vud:not(#\\#):not(#\\#):not(#\\#){animation-fill-mode:forwards}.xa4qsjk:not(#\\#):not(#\\#):not(#\\#){animation-iteration-count:infinite}.x1a5igra:not(#\\#):not(#\\#):not(#\\#){animation-name:none}.x129v4ae:not(#\\#):not(#\\#):not(#\\#){animation-name:x11cqc53-B}.x1ewfqum:not(#\\#):not(#\\#):not(#\\#){animation-name:x11lauxq-B}.x1qqotkc:not(#\\#):not(#\\#):not(#\\#){animation-name:x12ghk8m-B}.x1xko2in:not(#\\#):not(#\\#):not(#\\#){animation-name:x132z07p-B}.xcx56e2:not(#\\#):not(#\\#):not(#\\#){animation-name:x13kz0yu-B}.x1ffowhz:not(#\\#):not(#\\#):not(#\\#){animation-name:x188b6p3-B}.xqcmdr3:not(#\\#):not(#\\#):not(#\\#){animation-name:x18re5ia-B}.x1dvww92:not(#\\#):not(#\\#):not(#\\#){animation-name:x1b6yrix-B}.x1d5jn3a:not(#\\#):not(#\\#):not(#\\#){animation-name:x1fbltco-B}.x97zbip:not(#\\#):not(#\\#):not(#\\#){animation-name:x1k48ry3-B}.x1gbn2au:not(#\\#):not(#\\#):not(#\\#){animation-name:x1xhkexc-B}.xyzx0um:not(#\\#):not(#\\#):not(#\\#){animation-name:x1yqd01s-B}.x1srr2gu:not(#\\#):not(#\\#):not(#\\#){animation-name:xiylxmw-B}.xksu0ym:not(#\\#):not(#\\#):not(#\\#){animation-name:xmqt0mh-B}.xozk8ic:not(#\\#):not(#\\#):not(#\\#){animation-name:xr3m334-B}.x1mta51n:not(#\\#):not(#\\#):not(#\\#){animation-name:xtut5q7-B}.x190lv1:not(#\\#):not(#\\#):not(#\\#){animation-timeline:view(y)}.x4hg4is:not(#\\#):not(#\\#):not(#\\#){animation-timing-function:ease-in-out}.x1esw782:not(#\\#):not(#\\#):not(#\\#){animation-timing-function:linear}.x128ha8g:not(#\\#):not(#\\#):not(#\\#){animation-timing-function:var(--ease-standard)}.xjyslct:not(#\\#):not(#\\#):not(#\\#){appearance:none}.x1plog1:not(#\\#):not(#\\#):not(#\\#){aspect-ratio:1}.xioom0i:not(#\\#):not(#\\#):not(#\\#){aspect-ratio:var(--button-icon-only-aspect)}.x10y9f9r:not(#\\#):not(#\\#):not(#\\#){aspect-ratio:var(--x-aspectRatio)}.xvn2z4z:not(#\\#):not(#\\#):not(#\\#){-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.xlp1x4z:not(#\\#):not(#\\#):not(#\\#){backface-visibility:hidden}.xx83zyx:not(#\\#):not(#\\#):not(#\\#){background-clip:padding-box}.x1ap9wa5:not(#\\#):not(#\\#):not(#\\#){background-color:color-mix(in srgb,var(--color-on-light) 75%,transparent)}.xphgbls:not(#\\#):not(#\\#):not(#\\#){background-color:color-mix(in srgb,var(--color-on-light) 90%,transparent)}.x1rkw3yq:not(#\\#):not(#\\#):not(#\\#){background-color:#fff9}.xgcd1z6:not(#\\#):not(#\\#):not(#\\#){background-color:inherit}.xcpsgoo:not(#\\#):not(#\\#):not(#\\#){background-color:#00000080}.xjbqb8w:not(#\\#):not(#\\#):not(#\\#){background-color:#0000}.xxqga8b:not(#\\#):not(#\\#):not(#\\#){background-color:var(--_button-on-fill,var(--color-neutral))}.xgcxg3y:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-accent-muted)}.x1ewilqj:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-accent)}.x1o0wnni:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-background-blue)}.x1eiddq6:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-background-body)}.x1de1mus:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-background-card)}.x1rgj867:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-background-cyan)}.x1l5t2a3:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-background-error-inverted)}.xspzpui:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-background-gray)}.x1sqjeoo:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-background-green)}.xenstv7:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-background-inverted)}.xwmxj5m:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-background-muted)}.x1e9xt6e:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-background-orange)}.xnpoty2:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-background-pink)}.x1prclbq:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-background-popover)}.x16i6n6f:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-background-purple)}.x1cibrc5:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-background-red)}.x10xzikg:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-background-surface)}.x1jtji5o:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-background-teal)}.x1bo7t0x:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-background-yellow)}.x7njt3n:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-border-emphasized)}.x1m4xfpy:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-border)}.x1pritpl:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-error-muted)}.x1pjz0fi:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-error)}.xa2dwd4:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-icon-error)}.xowkcby:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-icon-primary)}.x1q5y3ey:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-icon-secondary)}.x14en1nb:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-icon-success)}.xzud2hm:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-icon-warning)}.xjeheca:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-info-muted)}.xcc0xtb:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-info)}.x17x4s8c:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-neutral)}.x1azo05:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-on-accent)}.x1lmrjuc:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-overlay-hover)}.xi89dp7:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-overlay-pressed)}.x1u4601x:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-overlay)}.xprdx6m:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-skeleton)}.xu13z74:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-success-muted)}.xdsz4j9:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-success)}.xjqijk9:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-syntax-added)}.xzyc27v:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-syntax-background)}.x11ds9ch:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-syntax-diff-header)}.xv48ua2:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-syntax-removed)}.x1q1zeae:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-text-error)}.x19aspcf:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-text-primary)}.xdomwnj:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-text-secondary)}.xnqi5zy:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-text-success)}.x1glq4pb:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-text-warning)}.xdsb6cv:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-track)}.x24i8r5:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-warning-muted)}.x1q8g9m5:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-warning)}.x1fd97le:not(#\\#):not(#\\#):not(#\\#){background-color:var(--table-sticky-background,var(--color-background-card))}.xl8spv7:not(#\\#):not(#\\#):not(#\\#){background-color:var(--x-backgroundColor)}.xafqdz2:not(#\\#):not(#\\#):not(#\\#){background-image:linear-gradient(to bottom,var(--color-background-surface) 60%,transparent)}.x1vrk509:not(#\\#):not(#\\#):not(#\\#){background-image:linear-gradient(var(--color-background-muted),var(--color-background-muted))}.x14bno8m:not(#\\#):not(#\\#):not(#\\#){background-image:linear-gradient(var(--color-neutral),var(--color-neutral))}.xpl5ynk:not(#\\#):not(#\\#):not(#\\#){background-image:linear-gradient(var(--color-overlay-pressed),var(--color-overlay-pressed))}.x18o3ruo:not(#\\#):not(#\\#):not(#\\#){background-image:none}.x1mwwwfo:not(#\\#):not(#\\#):not(#\\#){border-collapse:collapse}.x16uus16:not(#\\#):not(#\\#):not(#\\#){border-end-end-radius:0}.x4b9gmp:not(#\\#):not(#\\#):not(#\\#){border-end-end-radius:max(0px,calc(var(--_dropdown-menu-radius-end-end,var(--_dropdown-menu-radius-bottom-right,var(--_dropdown-menu-radius,var(--spacing-2)))) - var(--_dropdown-menu-padding,var(--spacing-1))))}.x1eprgri:not(#\\#):not(#\\#):not(#\\#){border-end-end-radius:var(--_banner-radius,var(--radius-container))}.x6k0y1c:not(#\\#):not(#\\#):not(#\\#){border-end-end-radius:var(--_chat-composer-radius)}.xoao14b:not(#\\#):not(#\\#):not(#\\#){border-end-end-radius:var(--_field-radius)}.x14i3lts:not(#\\#):not(#\\#):not(#\\#){border-end-end-radius:var(--radius-element)}.x1dgc8on:not(#\\#):not(#\\#):not(#\\#){border-end-end-radius:var(--radius-full)}.x1whkvtz:not(#\\#):not(#\\#):not(#\\#){border-end-end-radius:var(--radius-inner)}.xbiv7yw:not(#\\#):not(#\\#):not(#\\#){border-end-start-radius:0}.xx92llm:not(#\\#):not(#\\#):not(#\\#){border-end-start-radius:max(0px,calc(var(--_dropdown-menu-radius-end-start,var(--_dropdown-menu-radius-bottom-left,var(--_dropdown-menu-radius,var(--spacing-2)))) - var(--_dropdown-menu-padding,var(--spacing-1))))}.x1k5g1gk:not(#\\#):not(#\\#):not(#\\#){border-end-start-radius:var(--_banner-radius,var(--radius-container))}.xkvxy4d:not(#\\#):not(#\\#):not(#\\#){border-end-start-radius:var(--_chat-composer-radius)}.xquck67:not(#\\#):not(#\\#):not(#\\#){border-end-start-radius:var(--radius-element)}.x1wc3881:not(#\\#):not(#\\#):not(#\\#){border-end-start-radius:var(--radius-full)}.xrfs2vl:not(#\\#):not(#\\#):not(#\\#){border-end-start-radius:var(--radius-inner)}.xl0t3rv:not(#\\#):not(#\\#):not(#\\#){border-inline-end-color:var(--color-border-emphasized)}.x1gejf6u:not(#\\#):not(#\\#):not(#\\#){border-inline-end-color:var(--color-border)}.x18b5jzi:not(#\\#):not(#\\#):not(#\\#){border-inline-end-style:solid}.x10w94by:not(#\\#):not(#\\#):not(#\\#){border-inline-end-width:0}.x1lun4ml:not(#\\#):not(#\\#):not(#\\#){border-inline-end-width:1px}.xw8tdv1:not(#\\#):not(#\\#):not(#\\#){border-inline-end-width:var(--border-width)}.x14ydlgx:not(#\\#):not(#\\#):not(#\\#){border-inline-start-color:var(--color-border-emphasized)}.x1j92z86:not(#\\#):not(#\\#):not(#\\#){border-inline-start-color:var(--color-border)}.xrvmtm5:not(#\\#):not(#\\#):not(#\\#){border-inline-start-color:var(--color-on-accent)}.x1t7ytsu:not(#\\#):not(#\\#):not(#\\#){border-inline-start-style:solid}.xpilrb4:not(#\\#):not(#\\#):not(#\\#){border-inline-start-width:1px}.xgbv0en:not(#\\#):not(#\\#):not(#\\#){border-inline-start-width:var(--border-width)}.xtpqe59:not(#\\#):not(#\\#):not(#\\#){border-inline-start-width:var(--spacing-0-5)}.x1gukg7c:not(#\\#):not(#\\#):not(#\\#){border-spacing:0}.x1ga7v0g:not(#\\#):not(#\\#):not(#\\#){border-start-end-radius:0}.xexjgc1:not(#\\#):not(#\\#):not(#\\#){border-start-end-radius:max(0px,calc(var(--_dropdown-menu-radius-start-end,var(--_dropdown-menu-radius-top-right,var(--_dropdown-menu-radius,var(--spacing-2)))) - var(--_dropdown-menu-padding,var(--spacing-1))))}.x13nour3:not(#\\#):not(#\\#):not(#\\#){border-start-end-radius:var(--_banner-radius,var(--radius-container))}.x1g4d2dx:not(#\\#):not(#\\#):not(#\\#){border-start-end-radius:var(--_chat-composer-radius,var(--radius-chat))}.xzc3kxz:not(#\\#):not(#\\#):not(#\\#){border-start-end-radius:var(--_chat-composer-radius)}.x1g2gkjz:not(#\\#):not(#\\#):not(#\\#){border-start-end-radius:var(--_field-radius)}.x7hs6f1:not(#\\#):not(#\\#):not(#\\#){border-start-end-radius:var(--radius-container)}.xxbepff:not(#\\#):not(#\\#):not(#\\#){border-start-end-radius:var(--radius-element)}.x8agd5o:not(#\\#):not(#\\#):not(#\\#){border-start-end-radius:var(--radius-full)}.x126per9:not(#\\#):not(#\\#):not(#\\#){border-start-end-radius:var(--radius-inner)}.x15mokao:not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:0}.xprhdup:not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:max(0px,calc(var(--_dropdown-menu-radius-start-start,var(--_dropdown-menu-radius-top-left,var(--_dropdown-menu-radius,var(--spacing-2)))) - var(--_dropdown-menu-padding,var(--spacing-1))))}.xwxb7qi:not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:var(--_banner-radius,var(--radius-container))}.x1o6cj39:not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:var(--_chat-composer-radius,var(--radius-chat))}.xy7p8pm:not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:var(--_chat-composer-radius)}.x81l70g:not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:var(--radius-container)}.x15mvfev:not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:var(--radius-element)}.x19415el:not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:var(--radius-full)}.x3qb8m:not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:var(--radius-inner)}.x183tx6i:not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:var(--radius-page)}.x1lp15jv:not(#\\#):not(#\\#):not(#\\#){box-shadow:inset 0 0 0 1px var(--color-border-emphasized)}.x1er153n:not(#\\#):not(#\\#):not(#\\#){box-shadow:inset 0 0 0 1px var(--color-border)}.x1iobdd1:not(#\\#):not(#\\#):not(#\\#){box-shadow:inset 0 0 0 1px var(--color-text-primary)}.x1gnnqk1:not(#\\#):not(#\\#):not(#\\#){box-shadow:none}.x1p8z4y0:not(#\\#):not(#\\#):not(#\\#){box-shadow:var(--_card-ring,0 0 transparent),var(--_card-elevation,0 0 transparent)}.x1a8j72w:not(#\\#):not(#\\#):not(#\\#){box-shadow:var(--_travelling-surface,none)}.x1kcpxr7:not(#\\#):not(#\\#):not(#\\#){box-shadow:var(--shadow-high)}.x1i5ehqx:not(#\\#):not(#\\#):not(#\\#){box-shadow:var(--shadow-low)}.x14hfi27:not(#\\#):not(#\\#):not(#\\#){box-shadow:var(--shadow-med)}.x9f619:not(#\\#):not(#\\#):not(#\\#){box-sizing:border-box}.x1afcbsf:not(#\\#):not(#\\#):not(#\\#){box-sizing:content-box}.xbuiw85:not(#\\#):not(#\\#):not(#\\#){caret-color:#0000}.xxugrtn:not(#\\#):not(#\\#):not(#\\#){caret-color:var(--color-accent)}.xzpqnlu:not(#\\#):not(#\\#):not(#\\#){clip:rect(0,0,0,0)}.x13hy1yx:not(#\\#):not(#\\#):not(#\\#){clip-path:inset(0 0 0 max(0px,min(var(--step-connector-gap,0px),var(--spacing-2))))}.x1yxrbr4:not(#\\#):not(#\\#):not(#\\#){clip-path:inset(0 0 max(0px,min(var(--step-connector-gap,0px),var(--spacing-2))) 0)}.x17qoqre:not(#\\#):not(#\\#):not(#\\#){clip-path:inset(0 max(0px,min(var(--step-connector-gap,0px),var(--spacing-2))) 0 0)}.x1hyvwdk:not(#\\#):not(#\\#):not(#\\#){clip-path:inset(50%)}.x1eyou77:not(#\\#):not(#\\#):not(#\\#){clip-path:inset(max(0px,min(var(--step-connector-gap,0px),var(--spacing-2))) 0 0 0)}.xj8ax7g:not(#\\#):not(#\\#):not(#\\#){color:red}.x1heor9g:not(#\\#):not(#\\#):not(#\\#){color:inherit}.x19co3pv:not(#\\#):not(#\\#):not(#\\#){color:#0000}.xzfxgs9:not(#\\#):not(#\\#):not(#\\#){color:var(--_button-fill,var(--color-text-primary))}.x1gb3s7i:not(#\\#):not(#\\#):not(#\\#){color:var(--_item-description-color,var(--color-text-secondary))}.x5tbw38:not(#\\#):not(#\\#):not(#\\#){color:var(--_item-label-color,var(--color-text-primary))}.xqwr325:not(#\\#):not(#\\#):not(#\\#){color:var(--color-accent)}.xrkvqaz:not(#\\#):not(#\\#):not(#\\#){color:var(--color-background-surface)}.x1fns2mt:not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-blue)}.x157w0xa:not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-cyan)}.xqa6c3m:not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-disabled)}.xskb5cx:not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-error)}.x1eyinzz:not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-gray)}.xmxeech:not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-green)}.x1gc9m53:not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-info)}.xxu74a4:not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-orange)}.x1kxxfg5:not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-pink)}.xtbr613:not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-primary)}.xzdw94u:not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-purple)}.xeffzf7:not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-red)}.xv9yike:not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-secondary)}.x1vau044:not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-success)}.x1f3zxcb:not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-teal)}.x4z9hng:not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-warning)}.x1g6zdft:not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-yellow)}.x17wrial:not(#\\#):not(#\\#):not(#\\#){color:var(--color-on-accent)}.x9e3rv5:not(#\\#):not(#\\#):not(#\\#){color:var(--color-on-dark)}.xl8t7bd:not(#\\#):not(#\\#):not(#\\#){color:var(--color-on-error-muted)}.x1m024r3:not(#\\#):not(#\\#):not(#\\#){color:var(--color-on-error)}.x1w9aomi:not(#\\#):not(#\\#):not(#\\#){color:var(--color-on-info-muted)}.x1jxcxwi:not(#\\#):not(#\\#):not(#\\#){color:var(--color-on-info)}.xvchut:not(#\\#):not(#\\#):not(#\\#){color:var(--color-on-success-muted)}.xri61p4:not(#\\#):not(#\\#):not(#\\#){color:var(--color-on-success)}.xfy1f8t:not(#\\#):not(#\\#):not(#\\#){color:var(--color-on-warning-muted)}.xrebv38:not(#\\#):not(#\\#):not(#\\#){color:var(--color-on-warning)}.x1wxerb0:not(#\\#):not(#\\#):not(#\\#){color:var(--color-syntax-added-marker)}.x1mjzq1q:not(#\\#):not(#\\#):not(#\\#){color:var(--color-syntax-comment)}.xt5rlkq:not(#\\#):not(#\\#):not(#\\#){color:var(--color-syntax-punctuation)}.x103bwea:not(#\\#):not(#\\#):not(#\\#){color:var(--color-syntax-removed-marker)}.xdfisg:not(#\\#):not(#\\#):not(#\\#){color:var(--color-syntax-variable)}.xjse4m1:not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-accent)}.x1vvqiwl:not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-blue)}.x1txnczv:not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-cyan)}.xnbbluu:not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-disabled)}.x1wj83wy:not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-error)}.xru1t7f:not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-gray)}.xltfdvo:not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-green)}.xm47u9q:not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-orange)}.xiuofww:not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-pink)}.x1tgivj0:not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-primary)}.x1m9wyeb:not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-purple)}.x1joocv1:not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-red)}.xv1l7n4:not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-secondary)}.x1caiuuo:not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-success)}.x9x0lbs:not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-teal)}.xdhq94a:not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-yellow)}.x14rh7hd:not(#\\#):not(#\\#):not(#\\#){color:var(--x-color)}.xntwwlm:not(#\\#):not(#\\#):not(#\\#){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.x108lcm5:not(#\\#):not(#\\#):not(#\\#){--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){.x108lcm5:not(#\\#):not(#\\#):not(#\\#){--lightningcss-light: ;--lightningcss-dark:initial}}.x19aimcq:not(#\\#):not(#\\#):not(#\\#){--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.x1o1pmfc:not(#\\#):not(#\\#):not(#\\#){column-gap:0}.xf5zn4v:not(#\\#):not(#\\#):not(#\\#){column-gap:calc(var(--spacing-3) + var(--border-width) + var(--spacing-4))}.x1kihgfc:not(#\\#):not(#\\#):not(#\\#){column-gap:var(--spacing-0-5)}.x1o57wo1:not(#\\#):not(#\\#):not(#\\#){column-gap:var(--spacing-0)}.x1thn6ci:not(#\\#):not(#\\#):not(#\\#){column-gap:var(--spacing-1-5)}.x1lfs0n9:not(#\\#):not(#\\#):not(#\\#){column-gap:var(--spacing-1)}.x1p37tyl:not(#\\#):not(#\\#):not(#\\#){column-gap:var(--spacing-10)}.xak3so:not(#\\#):not(#\\#):not(#\\#){column-gap:var(--spacing-2)}.xewh9hi:not(#\\#):not(#\\#):not(#\\#){column-gap:var(--spacing-3)}.xty4p9g:not(#\\#):not(#\\#):not(#\\#){column-gap:var(--spacing-4)}.x1eqhezk:not(#\\#):not(#\\#):not(#\\#){column-gap:var(--spacing-5)}.x3qlgwd:not(#\\#):not(#\\#):not(#\\#){column-gap:var(--spacing-6)}.xicv188:not(#\\#):not(#\\#):not(#\\#){column-gap:var(--spacing-8)}.xawy1a7:not(#\\#):not(#\\#):not(#\\#){contain:layout style}.x12h1iku:not(#\\#):not(#\\#):not(#\\#){container-type:inline-size}.xpqogu8:not(#\\#):not(#\\#):not(#\\#){container-type:size}.xb5mbof:not(#\\#):not(#\\#):not(#\\#){content-visibility:auto}.xdps06:not(#\\#):not(#\\#):not(#\\#){content-visibility:hidden}.xfrknyr:not(#\\#):not(#\\#):not(#\\#){counter-increment:astryx-list}.xif0320:not(#\\#):not(#\\#):not(#\\#){counter-reset:astryx-list}.x1khind5:not(#\\#):not(#\\#):not(#\\#){counter-reset:var(--x-counterReset)}.xicojor:not(#\\#):not(#\\#):not(#\\#){cursor:col-resize}.xt0e3qv:not(#\\#):not(#\\#):not(#\\#){cursor:default}.x7eptgl:not(#\\#):not(#\\#):not(#\\#){cursor:ew-resize}.x1jm3nie:not(#\\#):not(#\\#):not(#\\#){cursor:grab}.xmper1u:not(#\\#):not(#\\#):not(#\\#){cursor:inherit}.x1ypdohk:not(#\\#):not(#\\#):not(#\\#){cursor:pointer}.xyozgr7:not(#\\#):not(#\\#):not(#\\#){cursor:row-resize}.x1ed109x:not(#\\#):not(#\\#):not(#\\#){cursor:text}.x129wrhd:not(#\\#):not(#\\#):not(#\\#){direction:var(--_codeblock-direction)}.x104kibb:not(#\\#):not(#\\#):not(#\\#){display:-webkit-box}.x1lliihq:not(#\\#):not(#\\#):not(#\\#){display:block}.xjp7ctv:not(#\\#):not(#\\#):not(#\\#){display:contents}.x78zum5:not(#\\#):not(#\\#):not(#\\#){display:flex}.xufnvkl:not(#\\#):not(#\\#):not(#\\#){display:flow-root}.xrvj5dj:not(#\\#):not(#\\#):not(#\\#){display:grid}.x1rg5ohu:not(#\\#):not(#\\#):not(#\\#){display:inline-block}.x3nfvp2:not(#\\#):not(#\\#):not(#\\#){display:inline-flex}.xwz0xwf:not(#\\#):not(#\\#):not(#\\#){display:inline-grid}.xt0psk2:not(#\\#):not(#\\#):not(#\\#){display:inline}.x1s85apg:not(#\\#):not(#\\#):not(#\\#){display:none}.x11ke7fs:not(#\\#):not(#\\#):not(#\\#){display:var(--separator-display)}.xbh8q5q:not(#\\#):not(#\\#):not(#\\#){fill:none}.xj12m9j:not(#\\#):not(#\\#):not(#\\#){filter:opacity(.5)}.x1r8uery:not(#\\#):not(#\\#):not(#\\#){flex-basis:0}.x1t1x2f9:not(#\\#):not(#\\#):not(#\\#){flex-basis:0%}.x1l7klhg:not(#\\#):not(#\\#):not(#\\#){flex-basis:100%}.xrjwirl:not(#\\#):not(#\\#):not(#\\#){flex-basis:196px}.xjpgo6f:not(#\\#):not(#\\#):not(#\\#){flex-basis:200px}.xchdapg:not(#\\#):not(#\\#):not(#\\#){flex-basis:300px}.xgualba:not(#\\#):not(#\\#):not(#\\#){flex-basis:8rem}.xdl72j9:not(#\\#):not(#\\#):not(#\\#){flex-basis:auto}.x1rnznto:not(#\\#):not(#\\#):not(#\\#){flex-basis:min-content}.x3ieub6:not(#\\#):not(#\\#):not(#\\#){flex-direction:column-reverse}.xdt5ytf:not(#\\#):not(#\\#):not(#\\#){flex-direction:column}.x1beo9mf:not(#\\#):not(#\\#):not(#\\#){flex-direction:inherit}.x15zctf7:not(#\\#):not(#\\#):not(#\\#){flex-direction:row-reverse}.x1q0g3np:not(#\\#):not(#\\#):not(#\\#){flex-direction:row}.x1c4vz4f:not(#\\#):not(#\\#):not(#\\#){flex-grow:0}.x1iyjqo2:not(#\\#):not(#\\#):not(#\\#){flex-grow:1}.x1ui36gj:not(#\\#):not(#\\#):not(#\\#){flex-grow:1000}.xq3h3fj:not(#\\#):not(#\\#):not(#\\#){flex-grow:1000000}.xgyuaek:not(#\\#):not(#\\#):not(#\\#){flex-grow:2}.x2lah0s:not(#\\#):not(#\\#):not(#\\#){flex-shrink:0}.xs83m0k:not(#\\#):not(#\\#):not(#\\#){flex-shrink:1}.x1g3ib7:not(#\\#):not(#\\#):not(#\\#){flex-shrink:10}.x1vdjht5:not(#\\#):not(#\\#):not(#\\#){flex-shrink:1000000}.x18qz0cn:not(#\\#):not(#\\#):not(#\\#){flex-wrap:inherit}.xozqiw3:not(#\\#):not(#\\#):not(#\\#){flex-wrap:nowrap}.x8hhl5t:not(#\\#):not(#\\#):not(#\\#){flex-wrap:wrap-reverse}.x1a02dak:not(#\\#):not(#\\#):not(#\\#){flex-wrap:wrap}.x18mqm2i:not(#\\#):not(#\\#):not(#\\#){float:right}.xjb2p0i:not(#\\#):not(#\\#):not(#\\#){font-family:inherit}.x9ynric:not(#\\#):not(#\\#):not(#\\#){font-family:var(--font-family-body)}.x9m5x89:not(#\\#):not(#\\#):not(#\\#){font-family:var(--font-family-code)}.x1g81bgm:not(#\\#):not(#\\#):not(#\\#){font-family:var(--font-family-heading)}.xboafo0:not(#\\#):not(#\\#):not(#\\#){font-size:.75rem}.x1603h9y:not(#\\#):not(#\\#):not(#\\#){font-size:1.25rem}.xngnso2:not(#\\#):not(#\\#):not(#\\#){font-size:1.5rem}.x1k6wstc:not(#\\#):not(#\\#):not(#\\#){font-size:10px}.xfifm61:not(#\\#):not(#\\#):not(#\\#){font-size:12px}.xif65rj:not(#\\#):not(#\\#):not(#\\#){font-size:14px}.x1jchvi3:not(#\\#):not(#\\#):not(#\\#){font-size:1rem}.x1qlqyl8:not(#\\#):not(#\\#):not(#\\#){font-size:inherit}.x1uq1jy3:not(#\\#):not(#\\#):not(#\\#){font-size:min(var(--_icon-width,.75rem),var(--_icon-height,.75rem))}.xhhwgqx:not(#\\#):not(#\\#):not(#\\#){font-size:min(var(--_icon-width,1.25rem),var(--_icon-height,1.25rem))}.x14nqahd:not(#\\#):not(#\\#):not(#\\#){font-size:min(var(--_icon-width,1.5rem),var(--_icon-height,1.5rem))}.x1qzu985:not(#\\#):not(#\\#):not(#\\#){font-size:min(var(--_icon-width,1rem),var(--_icon-height,1rem))}.xhs0kqb:not(#\\#):not(#\\#):not(#\\#){font-size:var(--font-size-2xl)}.x16a80zy:not(#\\#):not(#\\#):not(#\\#){font-size:var(--font-size-2xs)}.x10srzze:not(#\\#):not(#\\#):not(#\\#){font-size:var(--font-size-3xl)}.x10p7juq:not(#\\#):not(#\\#):not(#\\#){font-size:var(--font-size-3xs)}.xqcvi3d:not(#\\#):not(#\\#):not(#\\#){font-size:var(--font-size-4xl)}.xxc45ev:not(#\\#):not(#\\#):not(#\\#){font-size:var(--font-size-4xs)}.x1j29vfg:not(#\\#):not(#\\#):not(#\\#){font-size:var(--font-size-base)}.xc7cgfe:not(#\\#):not(#\\#):not(#\\#){font-size:var(--font-size-lg)}.x1eqnyfr:not(#\\#):not(#\\#):not(#\\#){font-size:var(--font-size-sm)}.x1wqms48:not(#\\#):not(#\\#):not(#\\#){font-size:var(--font-size-xl)}.x51wmvv:not(#\\#):not(#\\#):not(#\\#){font-size:var(--font-size-xs)}.xho7bvi:not(#\\#):not(#\\#):not(#\\#){font-size:var(--spacing-4)}.xjm74w1:not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-body-size)}.xp03k98:not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-code-size)}.xsub3ws:not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-display-1-size)}.x1yego12:not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-display-2-size)}.xlgnzhf:not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-display-3-size)}.xcg7oai:not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-heading-1-size)}.x1xvnhcw:not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-heading-2-size)}.xii13ha:not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-heading-3-size)}.x8tkxat:not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-heading-4-size)}.xsgqta0:not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-heading-5-size)}.xw5ohdf:not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-heading-6-size)}.xcr08ib:not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-label-size)}.x18juvz8:not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-large-size)}.x141an7d:not(#\\#):not(#\\#):not(#\\#){font-size:var(--text-supporting-size)}.xdmh292:not(#\\#):not(#\\#):not(#\\#){font-size:var(--x-fontSize)}.x1j61x8r:not(#\\#):not(#\\#):not(#\\#){font-style:normal}.xss6m8b:not(#\\#):not(#\\#):not(#\\#){font-variant-numeric:tabular-nums}.xk50ysn:not(#\\#):not(#\\#):not(#\\#){font-weight:500}.x1s688f:not(#\\#):not(#\\#):not(#\\#){font-weight:600}.x1pd3egz:not(#\\#):not(#\\#):not(#\\#){font-weight:inherit}.x1lvx875:not(#\\#):not(#\\#):not(#\\#){font-weight:var(--font-weight-bold)}.x1e4wzip:not(#\\#):not(#\\#):not(#\\#){font-weight:var(--font-weight-medium)}.x1sodnla:not(#\\#):not(#\\#):not(#\\#){font-weight:var(--font-weight-normal)}.x2mo6ok:not(#\\#):not(#\\#):not(#\\#){font-weight:var(--font-weight-semibold)}.xxovm9e:not(#\\#):not(#\\#):not(#\\#){font-weight:var(--text-body-weight)}.xx3eeay:not(#\\#):not(#\\#):not(#\\#){font-weight:var(--text-code-weight)}.x1txul5o:not(#\\#):not(#\\#):not(#\\#){font-weight:var(--text-display-1-weight)}.x1y36c3f:not(#\\#):not(#\\#):not(#\\#){font-weight:var(--text-display-2-weight)}.x1on40hk:not(#\\#):not(#\\#):not(#\\#){font-weight:var(--text-display-3-weight)}.x1v68xuy:not(#\\#):not(#\\#):not(#\\#){font-weight:var(--text-heading-1-weight)}.x12yy4cs:not(#\\#):not(#\\#):not(#\\#){font-weight:var(--text-heading-2-weight)}.x1jcxfy8:not(#\\#):not(#\\#):not(#\\#){font-weight:var(--text-heading-3-weight)}.x2hcmsi:not(#\\#):not(#\\#):not(#\\#){font-weight:var(--text-heading-4-weight)}.xno150v:not(#\\#):not(#\\#):not(#\\#){font-weight:var(--text-heading-5-weight)}.x1pw4frv:not(#\\#):not(#\\#):not(#\\#){font-weight:var(--text-heading-6-weight)}.xmhvcl5:not(#\\#):not(#\\#):not(#\\#){font-weight:var(--text-label-weight)}.x149oux8:not(#\\#):not(#\\#):not(#\\#){font-weight:var(--text-large-weight)}.xv8on6e:not(#\\#):not(#\\#):not(#\\#){font-weight:var(--text-supporting-weight)}.x1kzknox:not(#\\#):not(#\\#):not(#\\#){forced-color-adjust:none}.xu6a5m6:not(#\\#):not(#\\#):not(#\\#){grid-auto-columns:1fr}.x1mt1orb:not(#\\#):not(#\\#):not(#\\#){grid-auto-flow:column}.xhij9v2:not(#\\#):not(#\\#):not(#\\#){grid-auto-rows:var(--x-gridAutoRows)}.xcrlgei:not(#\\#):not(#\\#):not(#\\#){grid-column-start:1}.x1agbcgv:not(#\\#):not(#\\#):not(#\\#){grid-row-start:1}.x1ftzfwy:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:100%}.xrnahuw:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:1ch 1fr}.x52fmzj:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:1fr auto}.x1y6fwsi:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:1fr}.x1g3yg12:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:auto 1fr auto}.x1pmbctz:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:auto 1fr}.x1rkzygb:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:auto minmax(0,1fr)}.x1ul6qxn:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:auto minmax(calc(var(--spacing-7) + var(--spacing-1)),1fr)}.xozlodm:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:auto minmax(min-content,1fr)}.x1cehzfw:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:auto repeat(7,minmax(min-content,1fr))}.x16lqc3j:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:max-content minmax(0,1fr)}.xju1xpo:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:minmax(0,1fr) auto}.x1mkdm3x:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:minmax(0,1fr)}.x4jvqsr:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:minmax(calc(var(--spacing-7) + var(--spacing-1)),1fr)}.x1njc046:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:minmax(min-content,1fr)}.x1mzazjb:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:repeat(7,1fr)}.xfx17su:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:repeat(7,minmax(min-content,1fr))}.x189bvgu:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.x4w6khx:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:subgrid}.x1xx4m37:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:var(--_codeblock-gutter-width) 1fr}.x1v9b7p9:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:var(--_codeblock-gutter-width) auto 1fr}.xqketvx:not(#\\#):not(#\\#):not(#\\#){grid-template-columns:var(--x-gridTemplateColumns)}.xihq33y:not(#\\#):not(#\\#):not(#\\#){grid-template-rows:0fr}.x1tu4anv:not(#\\#):not(#\\#):not(#\\#){grid-template-rows:1fr}.x1sx1omo:not(#\\#):not(#\\#):not(#\\#){grid-template-rows:minmax(0,1fr) auto}.x5o4joa:not(#\\#):not(#\\#):not(#\\#){grid-template-rows:minmax(0,1fr)}.xy8nx85:not(#\\#):not(#\\#):not(#\\#){grid-template-rows:repeat(6,1fr)}.x1clt5hq:not(#\\#):not(#\\#):not(#\\#){grid-template-rows:subgrid}.xxydokm:not(#\\#):not(#\\#):not(#\\#){-webkit-hyphens:manual;hyphens:manual}.xtijo5x:not(#\\#):not(#\\#):not(#\\#){inset-inline-end:0}.x1eu7cjg:not(#\\#):not(#\\#):not(#\\#){inset-inline-end:100%}.xz03a8w:not(#\\#):not(#\\#):not(#\\#){inset-inline-end:2px}.xt5bzs0:not(#\\#):not(#\\#):not(#\\#){inset-inline-end:anchor(inside)}.x1rmahmk:not(#\\#):not(#\\#):not(#\\#){inset-inline-end:anchor(outside)}.x1woyocn:not(#\\#):not(#\\#):not(#\\#){inset-inline-end:auto}.x1sii5lc:not(#\\#):not(#\\#):not(#\\#){inset-inline-end:max(calc(var(--spacing-4) + max(var(--astryx-layer-inset-inline-start,0px), var(--astryx-layer-inset-inline-end,0px))),anchor(inside));inset-inline-end:max(calc(max(var(--spacing-4), env(safe-area-inset-left,0px), env(safe-area-inset-right,0px)) + max(var(--astryx-layer-inset-inline-start,0px), var(--astryx-layer-inset-inline-end,0px))),anchor(inside))}.x13oyzgk:not(#\\#):not(#\\#):not(#\\#){inset-inline-end:var(--_textarea-inline-padding)}.xu9ngte:not(#\\#):not(#\\#):not(#\\#){inset-inline-end:var(--astryx-layer-inset-inline-end,0px)}.xy3asu9:not(#\\#):not(#\\#):not(#\\#){inset-inline-end:var(--spacing-1)}.x72tfeb:not(#\\#):not(#\\#):not(#\\#){inset-inline-end:var(--spacing-2)}.x1mcfs9z:not(#\\#):not(#\\#):not(#\\#){inset-inline-end:var(--spacing-3)}.xqxgn94:not(#\\#):not(#\\#):not(#\\#){inset-inline-end:var(--x-insetInlineEnd)}.x1o0tod:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:0}.x2hswfz:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:100%}.x9p6ekw:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:14px}.xaoy8p5:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:2px}.xbudbmw:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:50%}.x1hirqua:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:anchor(inside)}.xgn968y:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:anchor(outside)}.xhi6v0a:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:auto}.xmt1zuk:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:calc(-1 * (var(--spacing-1) - 1px))}.x94kg92:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:calc(50% - 10px)}.xxlu9r6:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:calc(var(--_slider-progress) * (100cqi - 20px))}.xjlsgp1:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:max(calc(var(--spacing-4) + max(var(--astryx-layer-inset-inline-start,0px), var(--astryx-layer-inset-inline-end,0px))),anchor(inside));inset-inline-start:max(calc(max(var(--spacing-4), env(safe-area-inset-left,0px), env(safe-area-inset-right,0px)) + max(var(--astryx-layer-inset-inline-start,0px), var(--astryx-layer-inset-inline-end,0px))),anchor(inside))}.x1kiyvbf:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:var(--_textarea-inline-padding)}.xsrzrpt:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:var(--astryx-layer-inset-inline-start,0px)}.x1mzz43t:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:var(--spacing-1)}.x1ybfrjj:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:var(--spacing-3)}.x1lxsm33:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:var(--x-insetInlineStart)}.xc8icb0:not(#\\#):not(#\\#):not(#\\#){isolation:isolate}.xl56j7k:not(#\\#):not(#\\#):not(#\\#){justify-content:center}.x13a6bvl:not(#\\#):not(#\\#):not(#\\#){justify-content:flex-end}.x1nhvcw1:not(#\\#):not(#\\#):not(#\\#){justify-content:flex-start}.xarpa2k:not(#\\#):not(#\\#):not(#\\#){justify-content:inherit}.x1l1ennw:not(#\\#):not(#\\#):not(#\\#){justify-content:space-around}.x1qughib:not(#\\#):not(#\\#):not(#\\#){justify-content:space-between}.xaw8158:not(#\\#):not(#\\#):not(#\\#){justify-content:space-evenly}.xlqzeqv:not(#\\#):not(#\\#):not(#\\#){justify-content:start}.x1o2pa38:not(#\\#):not(#\\#):not(#\\#){justify-items:center}.x4xo5sw:not(#\\#):not(#\\#):not(#\\#){justify-items:end}.x619ttb:not(#\\#):not(#\\#):not(#\\#){justify-items:start}.xl4xnwh:not(#\\#):not(#\\#):not(#\\#){justify-items:stretch}.x7v7x1q:not(#\\#):not(#\\#):not(#\\#){justify-self:center}.x1lqcxt8:not(#\\#):not(#\\#):not(#\\#){justify-self:start}.x1i21sxh:not(#\\#):not(#\\#):not(#\\#){letter-spacing:normal}.x14ju556:not(#\\#):not(#\\#):not(#\\#){line-height:0}.xo5v014:not(#\\#):not(#\\#):not(#\\#){line-height:1}.x19v9tvf:not(#\\#):not(#\\#):not(#\\#){line-height:22px}.x15bjb6t:not(#\\#):not(#\\#):not(#\\#){line-height:inherit}.xkwxim8:not(#\\#):not(#\\#):not(#\\#){line-height:max(min(var(--spacing-5),max(var(--size-element-lg) - 2 * var(--border-width),1.5em)),20px,1rem)}.xe5am2i:not(#\\#):not(#\\#):not(#\\#){line-height:max(min(var(--spacing-5),max(var(--size-element-md) - 2 * var(--border-width),1.5em)),20px,1rem)}.x1j3cc6x:not(#\\#):not(#\\#):not(#\\#){line-height:max(min(var(--spacing-5),max(var(--size-element-sm) - 2 * var(--border-width),1.5em)),20px,1rem)}.x8vohu:not(#\\#):not(#\\#):not(#\\#){line-height:max(var(--spacing-5),20px,1rem)}.x1ojctns:not(#\\#):not(#\\#):not(#\\#){line-height:var(--spacing-4)}.x7acx1w:not(#\\#):not(#\\#):not(#\\#){line-height:var(--spacing-5)}.xw6l6zx:not(#\\#):not(#\\#):not(#\\#){line-height:var(--text-body-leading)}.x17iicif:not(#\\#):not(#\\#):not(#\\#){line-height:var(--text-code-leading)}.x112ttwr:not(#\\#):not(#\\#):not(#\\#){line-height:var(--text-display-1-leading)}.xh0iwvy:not(#\\#):not(#\\#):not(#\\#){line-height:var(--text-display-2-leading)}.x1ujwuaq:not(#\\#):not(#\\#):not(#\\#){line-height:var(--text-display-3-leading)}.xfmsba7:not(#\\#):not(#\\#):not(#\\#){line-height:var(--text-heading-1-leading)}.x1cpk1wn:not(#\\#):not(#\\#):not(#\\#){line-height:var(--text-heading-2-leading)}.xwjzt0u:not(#\\#):not(#\\#):not(#\\#){line-height:var(--text-heading-3-leading)}.xqerer:not(#\\#):not(#\\#):not(#\\#){line-height:var(--text-heading-4-leading)}.xo3gurs:not(#\\#):not(#\\#):not(#\\#){line-height:var(--text-heading-5-leading)}.xeixjfn:not(#\\#):not(#\\#):not(#\\#){line-height:var(--text-heading-6-leading)}.x1kq96og:not(#\\#):not(#\\#):not(#\\#){line-height:var(--text-label-leading)}.xf74fhv:not(#\\#):not(#\\#):not(#\\#){line-height:var(--text-large-leading)}.x1ltkj2j:not(#\\#):not(#\\#):not(#\\#){line-height:var(--text-supporting-leading)}.x3ct3a4:not(#\\#):not(#\\#):not(#\\#){list-style-type:none}.x14z9mp:not(#\\#):not(#\\#):not(#\\#){margin-inline-end:0}.x11t971q:not(#\\#):not(#\\#):not(#\\#){margin-inline-end:auto}.xewm6nw:not(#\\#):not(#\\#):not(#\\#){margin-inline-end:calc(-1 * min(8px,var(--_item-inset-inline,8px)))}.x10xtbk5:not(#\\#):not(#\\#):not(#\\#){margin-inline-end:calc(-1 * var(--border-width))}.x1fcf3bl:not(#\\#):not(#\\#):not(#\\#){margin-inline-end:calc(-1 * var(--container-padding-inline-end,0px))}.x1kpg4um:not(#\\#):not(#\\#):not(#\\#){margin-inline-end:calc(-1 * var(--layout-padding-inner-x,var(--spacing-4)))}.xkd40ry:not(#\\#):not(#\\#):not(#\\#){margin-inline-end:calc(-1 * var(--spacing-1))}.x3kzqx6:not(#\\#):not(#\\#):not(#\\#){margin-inline-end:calc(-1 * var(--spacing-2))}.x144kxal:not(#\\#):not(#\\#):not(#\\#){margin-inline-end:calc(calc(var(--spacing-4) + max(var(--astryx-layer-inset-inline-start,0px), var(--astryx-layer-inset-inline-end,0px))));margin-inline-end:calc(calc(max(var(--spacing-4), env(safe-area-inset-left,0px), env(safe-area-inset-right,0px)) + max(var(--astryx-layer-inset-inline-start,0px), var(--astryx-layer-inset-inline-end,0px))))}.xa3ewmy:not(#\\#):not(#\\#):not(#\\#){margin-inline-end:calc(max(var(--spacing-4), env(safe-area-inset-left,0px), env(safe-area-inset-right,0px)) + max(var(--astryx-layer-inset-inline-start,0px), var(--astryx-layer-inset-inline-end,0px)))}.x1cjqn1m:not(#\\#):not(#\\#):not(#\\#){margin-inline-end:calc(var(--focus-outline-offset) + var(--focus-outline-width))}.xmequkd:not(#\\#):not(#\\#):not(#\\#){margin-inline-end:calc(var(--spacing-1) * -1)}.xhg1dim:not(#\\#):not(#\\#):not(#\\#){margin-inline-end:calc(var(--spacing-2) - calc(var(--spacing-1) - 1px))}.x2gtn1o:not(#\\#):not(#\\#):not(#\\#){margin-inline-end:max(var(--container-padding-inline-end,0px) - var(--_item-inset-inline),0px)}.xnur1sd:not(#\\#):not(#\\#):not(#\\#){margin-inline-end:var(--spacing-1)}.x1pezmd8:not(#\\#):not(#\\#):not(#\\#){margin-inline-end:var(--spacing-2)}.x1c9tiao:not(#\\#):not(#\\#):not(#\\#){margin-inline-end:var(--x-marginInlineEnd)}.x1qfufaz:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:-8px}.x1lziwak:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:0}.xvc5jky:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:auto}.xd10s4z:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:calc(-1 * var(--border-width))}.xojxgvx:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:calc(-1 * var(--container-padding-inline-start,0px))}.x1wim8z0:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:calc(-1 * var(--layout-padding-inner-x,var(--spacing-4)))}.x547jwd:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:calc(-1 * var(--spacing-1))}.x1s1akpx:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:calc(-1 * var(--spacing-2))}.x6n8pbd:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:calc((40px - min(var(--spacing-6),40px)) / 2 - var(--spacing-2))}.xs69w1r:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:calc((40px - min(var(--spacing-6),40px)) / 2 - var(--spacing-3))}.x1idpjx9:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:calc((40px - min(var(--spacing-6),40px)) / 2 - var(--spacing-4))}.xpdk1p0:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:calc(calc(var(--spacing-4) + max(var(--astryx-layer-inset-inline-start,0px), var(--astryx-layer-inset-inline-end,0px))));margin-inline-start:calc(calc(max(var(--spacing-4), env(safe-area-inset-left,0px), env(safe-area-inset-right,0px)) + max(var(--astryx-layer-inset-inline-start,0px), var(--astryx-layer-inset-inline-end,0px))))}.x1cytvie:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:calc(max(var(--spacing-4), env(safe-area-inset-left,0px), env(safe-area-inset-right,0px)) + max(var(--astryx-layer-inset-inline-start,0px), var(--astryx-layer-inset-inline-end,0px)))}.x1nsdspy:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:calc(var(--focus-outline-offset) + var(--focus-outline-width))}.x1hyfu7y:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:calc(var(--spacing-1) - 1px)}.x1xrm450:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:calc(var(--spacing-2) - var(--spacing-1) + 1px)}.x6w1cxl:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:calc(var(--spacing-3) + var(--border-width) + var(--spacing-4))}.xch736x:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:max(var(--container-padding-inline-start,0px) - var(--_item-inset-inline),0px)}.x13hpdyo:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:var(--_avatar-group-overlap)}.x1furv9r:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:var(--border-width)}.xladpz9:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:var(--spacing-0-5)}.x17lnmll:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:var(--spacing-1-5)}.x11g1kdw:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:var(--spacing-1)}.x6i7dpz:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:var(--spacing-3)}.x1l10yog:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:var(--spacing-6)}.x4lel18:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:var(--x-marginInlineStart)}.xsshixw:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(#000000b3,#000 50%,#000000b3);mask-image:linear-gradient(#000000b3,#000 50%,#000000b3)}.xkm2don:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(#0000,#000 24px);mask-image:linear-gradient(#0000,#000 24px)}.xw26lqc:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(#0000,#000 36px);mask-image:linear-gradient(#0000,#000 36px)}.xr5yg4x:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(#0000,#000 48px);mask-image:linear-gradient(#0000,#000 48px)}.xtdd0ob:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(to left,transparent 0%,#0000004d 2px,black var(--spacing-1));mask-image:linear-gradient(to left,transparent 0%,#0000004d 2px,black var(--spacing-1))}.xoj6v2h:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(to left,transparent var(--_tab-strip-bleed),black calc(var(--_tab-strip-bleed) + var(--spacing-8)));mask-image:linear-gradient(to left,transparent var(--_tab-strip-bleed),black calc(var(--_tab-strip-bleed) + var(--spacing-8)))}.x1b5cd1y:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(to right,transparent 0%,#0000004d 2px,black var(--spacing-1),black calc(100% - var(--spacing-1)),#0000004d calc(100% - 2px),transparent 100%);mask-image:linear-gradient(to right,transparent 0%,#0000004d 2px,black var(--spacing-1),black calc(100% - var(--spacing-1)),#0000004d calc(100% - 2px),transparent 100%)}.x1ujl4f5:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(to right,transparent 0%,#0000004d 2px,black var(--spacing-1));mask-image:linear-gradient(to right,transparent 0%,#0000004d 2px,black var(--spacing-1))}.x1qwgxuj:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(to right,transparent var(--_scroll-fade-start-0),black var(--_scroll-fade-start-1),black calc(100% - var(--_scroll-fade-end-1)),transparent calc(100% - var(--_scroll-fade-end-0)));mask-image:linear-gradient(to right,transparent var(--_scroll-fade-start-0),black var(--_scroll-fade-start-1),black calc(100% - var(--_scroll-fade-end-1)),transparent calc(100% - var(--_scroll-fade-end-0)))}.xq05pg6:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(to right,transparent var(--_tab-strip-bleed),black calc(var(--_tab-strip-bleed) + var(--spacing-8)),black calc(100% - calc(var(--_tab-strip-bleed) + var(--spacing-8))),transparent calc(100% - var(--_tab-strip-bleed)));mask-image:linear-gradient(to right,transparent var(--_tab-strip-bleed),black calc(var(--_tab-strip-bleed) + var(--spacing-8)),black calc(100% - calc(var(--_tab-strip-bleed) + var(--spacing-8))),transparent calc(100% - var(--_tab-strip-bleed)))}.x1hua2o0:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(to right,transparent var(--_tab-strip-bleed),black calc(var(--_tab-strip-bleed) + var(--spacing-8)));mask-image:linear-gradient(to right,transparent var(--_tab-strip-bleed),black calc(var(--_tab-strip-bleed) + var(--spacing-8)))}.x1cb67k9:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(#0000,#0000);mask-image:linear-gradient(#0000,#0000)}.xw4ya9i:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:none;mask-image:none}.x19kjcj4:not(#\\#):not(#\\#):not(#\\#){object-fit:contain}.xl1xv1r:not(#\\#):not(#\\#):not(#\\#){object-fit:cover}.x1xyvc85:not(#\\#):not(#\\#):not(#\\#){opacity:.15}.xvpkmg4:not(#\\#):not(#\\#):not(#\\#){opacity:.25}.xuzhngd:not(#\\#):not(#\\#):not(#\\#){opacity:.3}.x3onkmb:not(#\\#):not(#\\#):not(#\\#){opacity:.35}.xbyyjgo:not(#\\#):not(#\\#):not(#\\#){opacity:.5}.x197sbye:not(#\\#):not(#\\#):not(#\\#){opacity:.6}.xg01cxk:not(#\\#):not(#\\#):not(#\\#){opacity:0}.x1hc1fzr:not(#\\#):not(#\\#):not(#\\#){opacity:1}.x1wnsjo:not(#\\#):not(#\\#):not(#\\#){opacity:var(--_conceal-opacity,1)}.xgsobzw:not(#\\#):not(#\\#):not(#\\#){opacity:var(--_reveal-opacity,1)}.x1i7u4iq:not(#\\#):not(#\\#):not(#\\#){opacity:var(--_toast-swipe-opacity,1)}.x1clqncf:not(#\\#):not(#\\#):not(#\\#){order:-1}.x1g77sc7:not(#\\#):not(#\\#):not(#\\#){order:0}.x19bwoy8:not(#\\#):not(#\\#):not(#\\#){outline-color:var(--focus-outline-color)}.x1wfwxd8:not(#\\#):not(#\\#):not(#\\#){outline-offset:0}.x1c097ug:not(#\\#):not(#\\#):not(#\\#){outline-offset:calc(-1 * var(--focus-outline-width))}.x1kvmbwa:not(#\\#):not(#\\#):not(#\\#){outline-offset:var(--_focus-outline-offset,0)}.x1eqjuhu:not(#\\#):not(#\\#):not(#\\#){outline-offset:var(--focus-outline-offset)}.x1t137rt:not(#\\#):not(#\\#):not(#\\#){outline-style:none}.x9ssot5:not(#\\#):not(#\\#):not(#\\#){outline-style:var(--focus-outline-style)}.x1k57tk5:not(#\\#):not(#\\#):not(#\\#){outline-width:0}.xak0ai5:not(#\\#):not(#\\#):not(#\\#){outline-width:var(--focus-outline-width)}.x9y5y3v:not(#\\#):not(#\\#):not(#\\#){overflow-clip-margin:1px}.xbs6e5j:not(#\\#):not(#\\#):not(#\\#){overflow-clip-margin:2px}.xj0a0fe:not(#\\#):not(#\\#):not(#\\#){overflow-wrap:anywhere}.x1mzt3pk:not(#\\#):not(#\\#):not(#\\#){overflow-wrap:break-word}.x1h4wwuj:not(#\\#):not(#\\#):not(#\\#){overflow-wrap:normal}.xh015us:not(#\\#):not(#\\#):not(#\\#){overflow-wrap:var(--_astryx-text-overflow-wrap,break-word)}.xyri2b:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:0}.xx0flbe:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:calc(calc(var(--spacing-1) - 1px) + var(--_tokenizer-end-lane-reserve,0px))}.xtvv6yu:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:calc(var(--_tab-strip-bleed,0px) + max(var(--container-padding-inline-end,0px) - var(--spacing-3),0px))}.x1g2apga:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:calc(var(--_textarea-inline-padding) + var(--spacing-12))}.xp2dy4z:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:calc(var(--_textarea-inline-padding) + var(--spacing-6))}.x12frdag:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:calc(var(--container-padding-inline-end) - var(--border-width))}.x180b3rg:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:env(safe-area-inset-right,0px)}.x1ahicqp:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:max(var(--container-padding-inline-end,0px),calc((100cqi - var(--layout-alignment-width)) / 2 + var(--container-padding-inline-end,0px)))}.xy07wb4:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:max(var(--container-padding-inline-end,0px),calc(100cqi - var(--layout-alignment-width) + var(--container-padding-inline-end,0px)))}.x1pyz5s7:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:max(var(--container-padding-inline-end,0px),var(--_item-inset-inline))}.x1g0rcpp:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:max(var(--spacing-4),env(safe-area-inset-right,0px))}.x1p6hqjl:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--_tokenizer-end-lane-reserve,0px)}.x1by8st6:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--astryx-dialog-padding-inline-end,var(--astryx-dialog-padding-inline,var(--astryx-dialog-padding,max(var(--spacing-4),env(safe-area-inset-right,0px)))))}.x17sfb9:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--astryx-number-input-padding-inline-end,var(--astryx-number-input-padding-inline,var(--astryx-number-input-padding,var(--spacing-2))))}.x64h4k7:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--container-padding-inline-end)}.x1peupej:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--layout-padding-inner-x,var(--spacing-4))}.x19eyx77:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--layout-padding-own-outer-x,var(--layout-padding-outer-x,var(--spacing-4)))}.x1le3yxw:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--spacing-0-5)}.x1s0aq8i:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--spacing-0)}.x17hk9do:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--spacing-1-5)}.x1nryj5t:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--spacing-1)}.x160ivqr:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--spacing-10)}.x1djylfy:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--spacing-2)}.x1t818jl:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--spacing-3)}.xnjyzlh:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--spacing-4)}.xdbrk9v:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--spacing-5)}.x1we12cn:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--spacing-6)}.x1q91b2g:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--spacing-8)}.x120eax6:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--x-paddingInlineEnd)}.x1c1uobl:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:0}.x12t6xex:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:calc(-1 * var(--_avatar-group-overlap))}.x1f43n9v:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:calc(16px + var(--spacing-1-5))}.x8oor0o:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:calc(40px + var(--spacing-2))}.xir64ve:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:calc(40px + var(--spacing-3))}.x19picz4:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:calc(40px + var(--spacing-4))}.xwb75os:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:calc(var(--_tab-strip-bleed,0px) + max(var(--container-padding-inline-start,0px) - var(--spacing-3),0px))}.x1b6te9z:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:calc(var(--_textarea-inline-padding) + var(--spacing-6))}.xs19ii7:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:calc(var(--container-padding-inline-start) - var(--border-width))}.x2a0j69:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:calc(var(--spacing-2) - var(--spacing-1) + 1px)}.xs5q72w:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:env(safe-area-inset-left,0px)}.xhlv5e7:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:max(var(--container-padding-inline-start,0px),calc((100cqi - var(--layout-alignment-width)) / 2 + var(--container-padding-inline-start,0px)))}.xxjme2g:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:max(var(--container-padding-inline-start,0px),calc(100cqi - var(--layout-alignment-width) + var(--container-padding-inline-start,0px)))}.xua885n:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:max(var(--container-padding-inline-start,0px),var(--_item-inset-inline))}.xf4btlh:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:max(var(--spacing-4),env(safe-area-inset-left,0px))}.xw2xrtw:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--_tree-indent,0px)}.xqmdmw:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--astryx-dialog-padding-inline-start,var(--astryx-dialog-padding-inline,var(--astryx-dialog-padding,max(var(--spacing-4),env(safe-area-inset-left,0px)))))}.x1jni19p:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--astryx-number-input-padding-inline-start,var(--astryx-number-input-padding-inline,var(--astryx-number-input-padding,var(--spacing-2))))}.x1c35znw:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--container-padding-inline-start)}.xwjyata:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--layout-padding-inner-x,var(--spacing-4))}.xaku5ci:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--layout-padding-own-outer-x,var(--layout-padding-outer-x,var(--spacing-4)))}.x138rykx:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--spacing-0-5)}.x18gyask:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--spacing-0)}.xfti1ec:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--spacing-1-5)}.x1vsv5vr:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--spacing-1)}.xqp078j:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--spacing-10)}.xc8afjc:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--spacing-11)}.x19b7t93:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--spacing-12)}.x12gdq22:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--spacing-2)}.x126nfab:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--spacing-3)}.x1rey3nv:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--spacing-4)}.x1blguxw:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--spacing-5)}.x31w388:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--spacing-6)}.xchaq28:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--spacing-7)}.x1j3hnjz:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--spacing-8)}.xnvo3vl:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--x-paddingInlineStart)}.x201tam:not(#\\#):not(#\\#):not(#\\#){perspective:520px}.x67bb7w:not(#\\#):not(#\\#):not(#\\#){pointer-events:auto}.x47corl:not(#\\#):not(#\\#):not(#\\#){pointer-events:none}.x10l6tqk:not(#\\#):not(#\\#):not(#\\#){position:absolute}.xixxii4:not(#\\#):not(#\\#):not(#\\#){position:fixed}.x1n2onr6:not(#\\#):not(#\\#):not(#\\#){position:relative}.x1uhb9sk:not(#\\#):not(#\\#):not(#\\#){position:static}.x7wzq59:not(#\\#):not(#\\#):not(#\\#){position:sticky}.x1mf7ja4:not(#\\#):not(#\\#):not(#\\#){position:var(--_reveal-position,static)}.x1tsffl5:not(#\\#):not(#\\#):not(#\\#){position-anchor:--outline-active}.xio8zfp:not(#\\#):not(#\\#):not(#\\#){r:calc(var(--_spinner-ring-diameter) / 2)}.xtt52l0:not(#\\#):not(#\\#):not(#\\#){resize:none}.x288g5:not(#\\#):not(#\\#):not(#\\#){resize:vertical}.xxs79tx:not(#\\#):not(#\\#):not(#\\#){row-gap:0}.xajebq8:not(#\\#):not(#\\#):not(#\\#){row-gap:calc(var(--spacing-1) - 1px)}.x1tw44j4:not(#\\#):not(#\\#):not(#\\#){row-gap:var(--spacing-0-5)}.x6yxi7o:not(#\\#):not(#\\#):not(#\\#){row-gap:var(--spacing-0)}.xhq53yo:not(#\\#):not(#\\#):not(#\\#){row-gap:var(--spacing-1-5)}.x1ngg2t4:not(#\\#):not(#\\#):not(#\\#){row-gap:var(--spacing-1)}.x1xpicb7:not(#\\#):not(#\\#):not(#\\#){row-gap:var(--spacing-10)}.x1x7z4sm:not(#\\#):not(#\\#):not(#\\#){row-gap:var(--spacing-2)}.x4olc9o:not(#\\#):not(#\\#):not(#\\#){row-gap:var(--spacing-3)}.xtx9w7w:not(#\\#):not(#\\#):not(#\\#){row-gap:var(--spacing-4)}.x1iu6piu:not(#\\#):not(#\\#):not(#\\#){row-gap:var(--spacing-5)}.xczp1bk:not(#\\#):not(#\\#):not(#\\#){row-gap:var(--spacing-6)}.xgx0vcf:not(#\\#):not(#\\#):not(#\\#){row-gap:var(--spacing-8)}.xkcv6ua:not(#\\#):not(#\\#):not(#\\#){scroll-behavior:smooth}.xrw9175:not(#\\#):not(#\\#):not(#\\#){scroll-padding-block-end:48px}.x1hdbdi8:not(#\\#):not(#\\#):not(#\\#){scroll-snap-align:center}.x1bhewko:not(#\\#):not(#\\#):not(#\\#){scroll-snap-align:start}.x19jbwzc:not(#\\#):not(#\\#):not(#\\#){scrollbar-color:var(--color-neutral) transparent}.x1rohswg:not(#\\#):not(#\\#):not(#\\#){scrollbar-width:none}.xx1nm32:not(#\\#):not(#\\#):not(#\\#){shape-outside:inset(calc(100% - 1lh + .5px) 0 0 0)}.xtve3lm:not(#\\#):not(#\\#):not(#\\#){stroke:var(--spinner-color)}.xalkhop:not(#\\#):not(#\\#):not(#\\#){stroke:var(--spinner-track-color)}.xdv9ggb:not(#\\#):not(#\\#):not(#\\#){stroke-dasharray:calc(var(--_spinner-ring-diameter) * 3.14159 * var(--spinner-arc-fraction)) calc(var(--_spinner-ring-diameter) * 3.14159 * (1 - var(--spinner-arc-fraction)))}.x1owpc8m:not(#\\#):not(#\\#):not(#\\#){stroke-linecap:round}.x7bo2k:not(#\\#):not(#\\#):not(#\\#){stroke-opacity:.3}.x1smxkh6:not(#\\#):not(#\\#):not(#\\#){stroke-opacity:.302}.x1g350g8:not(#\\#):not(#\\#):not(#\\#){stroke-opacity:1}.xgw3ha0:not(#\\#):not(#\\#):not(#\\#){stroke-width:var(--_spinner-ring-stroke)}.xeq4nuv:not(#\\#):not(#\\#):not(#\\#){tab-size:2}.x1drmoe9:not(#\\#):not(#\\#):not(#\\#){table-layout:auto}.x140o2bo:not(#\\#):not(#\\#):not(#\\#){table-layout:fixed}.x2b8uid:not(#\\#):not(#\\#):not(#\\#){text-align:center}.xp4054r:not(#\\#):not(#\\#):not(#\\#){text-align:end}.x16tdsg8:not(#\\#):not(#\\#):not(#\\#){text-align:inherit}.x1yc453h:not(#\\#):not(#\\#):not(#\\#){text-align:start}.x7ssn7h:not(#\\#):not(#\\#):not(#\\#){text-align-last:auto}.x1b2iylo:not(#\\#):not(#\\#):not(#\\#){text-box-edge:cap alphabetic}.xwgcxoh:not(#\\#):not(#\\#):not(#\\#){text-box-trim:trim-both}.xycaml9:not(#\\#):not(#\\#):not(#\\#){-webkit-text-decoration-color:var(--color-border-emphasized);text-decoration-color:var(--color-border-emphasized)}.xujl8zx:not(#\\#):not(#\\#):not(#\\#){text-decoration-line:underline}.xev0dqp:not(#\\#):not(#\\#):not(#\\#){text-decoration-style:dashed}.xzugeeo:not(#\\#):not(#\\#):not(#\\#){text-indent:0}.xbrixnn:not(#\\#):not(#\\#):not(#\\#){text-overflow:clip}.xlyipyv:not(#\\#):not(#\\#):not(#\\#){text-overflow:ellipsis}.x19pm5ym:not(#\\#):not(#\\#):not(#\\#){text-shadow:none}.x6mezaz:not(#\\#):not(#\\#):not(#\\#){text-transform:none}.xtvhhri:not(#\\#):not(#\\#):not(#\\#){text-transform:uppercase}.xrys4gj:not(#\\#):not(#\\#):not(#\\#){text-underline-offset:2px}.x11b3rvo:not(#\\#):not(#\\#):not(#\\#){text-underline-offset:var(--spacing-0-5)}.x1w2vvpw:not(#\\#):not(#\\#):not(#\\#){text-wrap:balance}.xebhuq6:not(#\\#):not(#\\#):not(#\\#){text-wrap:nowrap}.x1fzhlzt:not(#\\#):not(#\\#):not(#\\#){text-wrap:pretty}.xk4td0m:not(#\\#):not(#\\#):not(#\\#){text-wrap:wrap}.x5ve5x3:not(#\\#):not(#\\#):not(#\\#){touch-action:none}.x1bblx7b:not(#\\#):not(#\\#):not(#\\#){touch-action:pan-x}.xge0x1e:not(#\\#):not(#\\#):not(#\\#){touch-action:pan-y pinch-zoom}.xx69xxh:not(#\\#):not(#\\#):not(#\\#){touch-action:pan-y}.x1j4r261:not(#\\#):not(#\\#):not(#\\#){touch-action:pinch-zoom}.x1c071of:not(#\\#):not(#\\#):not(#\\#){transform:none}.x9tu13d:not(#\\#):not(#\\#):not(#\\#){transform:rotate(-90deg)}.x7p49u4:not(#\\#):not(#\\#):not(#\\#){transform:rotate(0)}.x19jd1h0:not(#\\#):not(#\\#):not(#\\#){transform:rotate(180deg)}.x1iffjtl:not(#\\#):not(#\\#):not(#\\#){transform:rotate(90deg)}.x3oybdh:not(#\\#):not(#\\#):not(#\\#){transform:scale(1)}.x11lhmoz:not(#\\#):not(#\\#):not(#\\#){transform:translate(-50%,-50%)}.x1m9mm8y:not(#\\#):not(#\\#):not(#\\#){transform:translate(-50%,50%)}.xv8yid9:not(#\\#):not(#\\#):not(#\\#){transform:translate(25%,25%)}.x4v1no5:not(#\\#):not(#\\#):not(#\\#){transform:translate(50%,50%)}.x145au52:not(#\\#):not(#\\#):not(#\\#){transform:translate3d(calc(-1 * var(--_item-swipe-travel,0px)),0,0)}.xj2142y:not(#\\#):not(#\\#):not(#\\#){transform:translate3d(calc(calc(var(--_item-swipe-pin,0px) - var(--_item-swipe-sign,1) * min(var(--_item-swipe-sign,1) * var(--_item-swipe-travel,0px),var(--_item-swipe-open,0px))) + var(--_item-swipe-slide,0px) * var(--_item-swipe-confirm,0)),0,0)}.x1bdunyo:not(#\\#):not(#\\#):not(#\\#){transform:translate3d(calc(var(--_item-swipe-pin,0px) - var(--_item-swipe-sign,1) * min(var(--_item-swipe-sign,1) * var(--_item-swipe-travel,0px),var(--_item-swipe-open,0px))),0,0)}.x1kncwj0:not(#\\#):not(#\\#):not(#\\#){transform:translate3d(var(--_item-swipe-travel,0px),0,0)}.x5i6ehr:not(#\\#):not(#\\#):not(#\\#){transform:translate(-100%)}.xuuh30:not(#\\#):not(#\\#):not(#\\#){transform:translate(-50%)}.xbryuvx:not(#\\#):not(#\\#):not(#\\#){transform:translate(0)}.xumwmo6:not(#\\#):not(#\\#):not(#\\#){transform:translate(100%)}.x1gpo2fo:not(#\\#):not(#\\#):not(#\\#){transform:translate(calc(100cqi - 50cqb - 50%))}.x1qqjn1x:not(#\\#):not(#\\#):not(#\\#){transform:translate(calc(50cqb - 50%))}.x8mk83g:not(#\\#):not(#\\#):not(#\\#){transform:translateX(calc(var(--_progress-bar-fill,0%) - 100%))}.x105ttfm:not(#\\#):not(#\\#):not(#\\#){transform:translateY(-100%)}.x19xzu86:not(#\\#):not(#\\#):not(#\\#){transform:translateY(-3px)scale(.985)}.x1bvilyr:not(#\\#):not(#\\#):not(#\\#){transform:translateY(-4px)}.x1cb1t30:not(#\\#):not(#\\#):not(#\\#){transform:translateY(-50%)}.xp0htlv:not(#\\#):not(#\\#):not(#\\#){transform:translateY(-6px)scale(.97)}.xnn1q72:not(#\\#):not(#\\#):not(#\\#){transform:translateY(0)}.x1weeur4:not(#\\#):not(#\\#):not(#\\#){transform:translateY(100%)}.x131p8rn:not(#\\#):not(#\\#):not(#\\#){transform:translateY(50%)}.xfkfg1k:not(#\\#):not(#\\#):not(#\\#){transform:translateY(calc(-1 * var(--spacing-2))) scale(.96)}.xdo3dbm:not(#\\#):not(#\\#):not(#\\#){transform:translateY(calc(-2 * var(--spacing-2))) scale(.92)}.x149p1fo:not(#\\#):not(#\\#):not(#\\#){transform:translateY(var(--_toast-swipe-exit-y,var(--_toast-swipe-y,var(--_toast-slide-y,var(--spacing-2))))) scale(var(--_toast-swipe-scale,1))}.x1qk3xlt:not(#\\#):not(#\\#):not(#\\#){transform:translateY(var(--_toast-swipe-y,0px)) scale(var(--_toast-swipe-scale,1))}.xsqj5wx:not(#\\#):not(#\\#):not(#\\#){transform:var(--x-transform)}.x1764fhq:not(#\\#):not(#\\#):not(#\\#){transform-box:fill-box}.x1hj3fc7:not(#\\#):not(#\\#):not(#\\#){transform-origin:0 0}.x1fpg8nb:not(#\\#):not(#\\#):not(#\\#){transform-origin:50% 0}.x1g0ag68:not(#\\#):not(#\\#):not(#\\#){transform-origin:50%}.x9r0mi6:not(#\\#):not(#\\#):not(#\\#){transform-origin:var(--_astryx-layer-enter-origin,50% 50%)}.x1oyok0e:not(#\\#):not(#\\#):not(#\\#){transform-style:preserve-3d}.xd00j3c:not(#\\#):not(#\\#):not(#\\#){transition-behavior:allow-discrete}.x5h36tt:not(#\\#):not(#\\#):not(#\\#){transition-delay:.15s}.xf1rc6:not(#\\#):not(#\\#):not(#\\#){transition-delay:0s,0s}.xostmdb:not(#\\#):not(#\\#):not(#\\#){transition-delay:0s,var(--duration-medium)}.x1ahifba:not(#\\#):not(#\\#):not(#\\#){transition-delay:0s}.x4avkj2:not(#\\#):not(#\\#):not(#\\#){transition-delay:var(--_fade-delay,0s)}.x1rq8cwj:not(#\\#):not(#\\#):not(#\\#){transition-delay:var(--_reveal-delay,0s,0s)}.x10b1n17:not(#\\#):not(#\\#):not(#\\#){transition-delay:var(--duration-fast)}.x8uwg2f:not(#\\#):not(#\\#):not(#\\#){transition-duration:10ms,.2s}.xpvlhck:not(#\\#):not(#\\#):not(#\\#){transition-duration:10ms}.x11bq7d0:not(#\\#):not(#\\#):not(#\\#){transition-duration:60ms}.xx6bhzk:not(#\\#):not(#\\#):not(#\\#){transition-duration:.15s}.xjd9b36:not(#\\#):not(#\\#):not(#\\#){transition-duration:1ms}.x2rcmwa:not(#\\#):not(#\\#):not(#\\#){transition-duration:var(--duration-fast-max)}.xkvfbh3:not(#\\#):not(#\\#):not(#\\#){transition-duration:var(--duration-fast-min)}.x1tw3moq:not(#\\#):not(#\\#):not(#\\#){transition-duration:var(--duration-fast),0s}.xuedmi6:not(#\\#):not(#\\#):not(#\\#){transition-duration:var(--duration-fast)}.xgneliz:not(#\\#):not(#\\#):not(#\\#){transition-duration:var(--duration-medium-min)}.x1eizr8u:not(#\\#):not(#\\#):not(#\\#){transition-duration:var(--duration-medium),0s}.x80gvsz:not(#\\#):not(#\\#):not(#\\#){transition-duration:var(--duration-medium)}.x1eaenvl:not(#\\#):not(#\\#):not(#\\#){transition-property:background-color,border-color,color}.xts7igz:not(#\\#):not(#\\#):not(#\\#){transition-property:background-color,border-color}.x106061f:not(#\\#):not(#\\#):not(#\\#){transition-property:background-color,box-shadow}.xzo0q3i:not(#\\#):not(#\\#):not(#\\#){transition-property:background-color,color,border-color}.xs2xxs2:not(#\\#):not(#\\#):not(#\\#){transition-property:background-color,color}.x1e8aii2:not(#\\#):not(#\\#):not(#\\#){transition-property:background-color,opacity}.x15406qy:not(#\\#):not(#\\#):not(#\\#){transition-property:background-color}.xrafxwg:not(#\\#):not(#\\#):not(#\\#){transition-property:background-image,background-color,color,opacity,transform}.x12qzo2w:not(#\\#):not(#\\#):not(#\\#){transition-property:background-image}.x1tv3a4w:not(#\\#):not(#\\#):not(#\\#){transition-property:border-color,box-shadow,background-color}.x12zzom9:not(#\\#):not(#\\#):not(#\\#){transition-property:border-color,box-shadow}.xshfolx:not(#\\#):not(#\\#):not(#\\#){transition-property:border-color}.x16mfhj0:not(#\\#):not(#\\#):not(#\\#){transition-property:box-shadow,border-color}.xkdsq27:not(#\\#):not(#\\#):not(#\\#){transition-property:box-shadow}.x1vix5yk:not(#\\#):not(#\\#):not(#\\#){transition-property:color,background-color,box-shadow}.x1gbuem2:not(#\\#):not(#\\#):not(#\\#){transition-property:color,background-color}.x1jbe559:not(#\\#):not(#\\#):not(#\\#){transition-property:color,font-weight}.x1mpt4pi:not(#\\#):not(#\\#):not(#\\#){transition-property:color,-webkit-text-decoration,text-decoration}.xt3l3uh:not(#\\#):not(#\\#):not(#\\#){transition-property:color}.xrgi2yo:not(#\\#):not(#\\#):not(#\\#){transition-property:display}.x6kj92:not(#\\#):not(#\\#):not(#\\#){transition-property:grid-template-rows,overflow}.xjshnde:not(#\\#):not(#\\#):not(#\\#){transition-property:grid-template-rows,padding}.x1qn9uv2:not(#\\#):not(#\\#):not(#\\#){transition-property:grid-template-rows}.x157bb6t:not(#\\#):not(#\\#):not(#\\#){transition-property:-webkit-mask-image,mask-image}.x13b0p5u:not(#\\#):not(#\\#):not(#\\#){transition-property:none}.x1wbls7o:not(#\\#):not(#\\#):not(#\\#){transition-property:opacity,background-color,transform}.xnpjden:not(#\\#):not(#\\#):not(#\\#){transition-property:opacity,background-color}.xsm4mo9:not(#\\#):not(#\\#):not(#\\#){transition-property:opacity,display,overlay}.x1n1p2mu:not(#\\#):not(#\\#):not(#\\#){transition-property:opacity,position}.xrgg2z9:not(#\\#):not(#\\#):not(#\\#){transition-property:opacity,transform,max-width,visibility}.x4bbghf:not(#\\#):not(#\\#):not(#\\#){transition-property:opacity,transform,overlay,display}.x6o7n8i:not(#\\#):not(#\\#):not(#\\#){transition-property:opacity,transform}.xxup5nn:not(#\\#):not(#\\#):not(#\\#){transition-property:opacity,visibility,transform}.x1jl3cmp:not(#\\#):not(#\\#):not(#\\#){transition-property:opacity,visibility}.x19991ni:not(#\\#):not(#\\#):not(#\\#){transition-property:opacity}.x1xuz8iz:not(#\\#):not(#\\#):not(#\\#){transition-property:top,height}.x18dpk69:not(#\\#):not(#\\#):not(#\\#){transition-property:transform,background-color}.xwcsmn1:not(#\\#):not(#\\#):not(#\\#){transition-property:transform,opacity}.xh3q6i0:not(#\\#):not(#\\#):not(#\\#){transition-property:transform,width,height}.x11xpdln:not(#\\#):not(#\\#):not(#\\#){transition-property:transform}.x74b7sa:not(#\\#):not(#\\#):not(#\\#){transition-property:visibility}.x9lcvmn:not(#\\#):not(#\\#):not(#\\#){transition-timing-function:ease-out}.xwji4o3:not(#\\#):not(#\\#):not(#\\#){transition-timing-function:ease}.xcj1dhv:not(#\\#):not(#\\#):not(#\\#){transition-timing-function:linear}.x1j6inz:not(#\\#):not(#\\#):not(#\\#){transition-timing-function:var(--ease-exit)}.xlr8y92:not(#\\#):not(#\\#):not(#\\#){transition-timing-function:var(--ease-standard)}.x3sa99s:not(#\\#):not(#\\#):not(#\\#){translate:0 -50%}.x1p0n03b:not(#\\#):not(#\\#):not(#\\#){translate:0 calc(-10px - var(--_slider-fill-start) * (100cqb - 20px))}.x18n2uh1:not(#\\#):not(#\\#):not(#\\#){translate:0 calc(100cqb - (var(--_slider-fill-end) - var(--_slider-fill-start)) * (100cqb - 20px))}.x1hj1i93:not(#\\#):not(#\\#):not(#\\#){translate:0 calc(100cqb - 10px - var(--_slider-fill-end) * (100cqb - 20px))}.xqt2767:not(#\\#):not(#\\#):not(#\\#){translate:0 calc(var(--_slider-progress) * (20px - 100cqb))}.xhvvmt5:not(#\\#):not(#\\#):not(#\\#){translate:calc((var(--_slider-fill-end) - var(--_slider-fill-start)) * (100cqi - 20px) - 100cqi) 0}.x80n2h1:not(#\\#):not(#\\#):not(#\\#){translate:calc(10px + var(--_slider-fill-end) * (100cqi - 20px) - 100cqi) 0}.xwj4vw1:not(#\\#):not(#\\#):not(#\\#){translate:calc(10px + var(--_slider-fill-start) * (100cqi - 20px)) 0}.x1kfzoes:not(#\\#):not(#\\#):not(#\\#){translate:calc(var(--_slider-progress) * (100cqi - 20px)) 0}.x4ej8vm:not(#\\#):not(#\\#):not(#\\#){unicode-bidi:isolate}.x87ps6o:not(#\\#):not(#\\#):not(#\\#){-webkit-user-select:none;user-select:none}.x3ajldb:not(#\\#):not(#\\#):not(#\\#){vertical-align:bottom}.xxymvpz:not(#\\#):not(#\\#):not(#\\#){vertical-align:middle}.x1v0h343:not(#\\#):not(#\\#):not(#\\#){vertical-align:super}.x16dsc37:not(#\\#):not(#\\#):not(#\\#){vertical-align:top}.xlshs6z:not(#\\#):not(#\\#):not(#\\#){visibility:hidden}.xnpuxes:not(#\\#):not(#\\#):not(#\\#){visibility:visible}.xeaf4i8:not(#\\#):not(#\\#):not(#\\#){white-space:normal}.xuxw1ft:not(#\\#):not(#\\#):not(#\\#){white-space:nowrap}.x126k92a:not(#\\#):not(#\\#):not(#\\#){white-space:pre-wrap}.x1sdyfia:not(#\\#):not(#\\#):not(#\\#){white-space:pre}.xfl0izk:not(#\\#):not(#\\#):not(#\\#){white-space:var(--_table-header-white-space,normal)}.x1q1rmc8:not(#\\#):not(#\\#):not(#\\#){will-change:transform,opacity}.x1so62im:not(#\\#):not(#\\#):not(#\\#){will-change:transform}.x1yn0g08:not(#\\#):not(#\\#):not(#\\#){word-break:break-all}.x13faqbe:not(#\\#):not(#\\#):not(#\\#){word-break:break-word}.x1lldw8n:not(#\\#):not(#\\#):not(#\\#){word-break:normal}.xh6pgkp:not(#\\#):not(#\\#):not(#\\#){word-break:var(--_table-cell-word-break,normal)}.xp3md9m:not(#\\#):not(#\\#):not(#\\#){word-spacing:normal}.x8knxv4:not(#\\#):not(#\\#):not(#\\#){z-index:-1}.x1ja2u2z:not(#\\#):not(#\\#):not(#\\#){z-index:0}.x1vjfegm:not(#\\#):not(#\\#):not(#\\#){z-index:1}.xfo81ep:not(#\\#):not(#\\#):not(#\\#){z-index:1000}.xhtitgo:not(#\\#):not(#\\#):not(#\\#){z-index:2}.xzkaem6:not(#\\#):not(#\\#):not(#\\#){z-index:3}.x6cuj84:not(#\\#):not(#\\#):not(#\\#){z-index:500}.x1q2oy4v:not(#\\#):not(#\\#):not(#\\#){z-index:9999}.x6tapwc:not(#\\#):not(#\\#):not(#\\#){z-index:var(--_tree-focus-z,auto)}.x1qwhovg[data-astryx-press=on]:not(#\\#):not(#\\#):not(#\\#),.x858ff1[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#){--_indicator-active-press:transparent}.x189o2zt[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#),.x1dueop1[data-astryx-press=on]:not(#\\#):not(#\\#):not(#\\#){--_indicator-press-image:var(--_press-paint-image)}.xcukuoe[data-astryx-menu-press-lit]:not(#\\#):not(#\\#):not(#\\#){--_menu-row-active-paint:var(--color-overlay-pressed)}.x1ar3rj9[data-astryx-menu-press-lit]:not(#\\#):not(#\\#):not(#\\#){--_menu-row-focus-paint:var(--color-overlay-pressed)}.x154w40m[data-astryx-travelling]:not([aria-selected=true],[aria-current=true],[data-selected]):not(#\\#):not(#\\#):not(#\\#){--_travelling-surface:inset 0 0 0 100vmax var(--color-background-surface)}.x11z29ks[data-astryx-press=on]:not(#\\#):not(#\\#):not(#\\#),.xli5ek3[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#){--astryx-press-alpha:1}.x1v2claj.x1v2claj:where(.x84s7jz:focus-within *):not(#\\#):not(#\\#):not(#\\#){opacity:1}.x3730vf.x3730vf:where(.x84s7jz:focus-within *):not(#\\#):not(#\\#):not(#\\#){pointer-events:auto}.xuqivmr.xuqivmr:where(.x84s7jz:focus-within *):not(#\\#):not(#\\#):not(#\\#){transform:translateY(0)}.x7v6acp.x7v6acp:where(.x84s7jz:focus-within *):not(#\\#):not(#\\#):not(#\\#){visibility:visible}.x5um2zc.x5um2zc:where(.x1twag4g:first-child *):not(#\\#):not(#\\#):not(#\\#),.x1se5z8o.x1se5z8o:where(.x1twag4g:last-child *):not(#\\#):not(#\\#):not(#\\#){visibility:hidden}.x6ipy2d.x6ipy2d:where(.x1u3b27q:active *):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-overlay-pressed)}@supports (animation-timeline:view()){.x1trhrh1.x1trhrh1:not(#\\#):not(#\\#):not(#\\#){animation-name:x18sn2u9-B}.xssvwzl.xssvwzl:not(#\\#):not(#\\#):not(#\\#){animation-name:x1ofkhwi-B}.x1iu2jvn.x1iu2jvn:not(#\\#):not(#\\#):not(#\\#){animation-name:x1tut0r7-B}}@supports (container-type:scroll-state){.xafyuhj.xafyuhj:not(#\\#):not(#\\#):not(#\\#){container-type:scroll-state}}@supports (grid-template-columns:subgrid){.x1tx5i3l.x1tx5i3l:not(#\\#):not(#\\#):not(#\\#){display:grid}}.xa7ti9.xa7ti9:where(.x7rrw3w:focus-visible~*):not(#\\#):not(#\\#):not(#\\#){outline-offset:var(--focus-outline-offset)}.xixcm9l:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){animation-name:x12ghk8m-B}.xfd3fxj:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){animation-name:x1c2q33o-B}.x1g7o29q:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){animation-name:x1yqd01s-B}.x1spg45b.x1spg45b:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-accent)}.x1wsdtp1[aria-pressed=true]:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-overlay-pressed)}.x1vl4g35:active:not([data-astryx-press=on]):not(#\\#):not(#\\#):not(#\\#){background-size:0 0}.xz46atp.xz46atp:where(.astryx-input-group>[data-astryx-input-group-item]):not(:nth-last-child(1 of :not([popover]):not(template):not(dialog))):not(#\\#):not(#\\#):not(#\\#){border-end-end-radius:0}.x1y3chn8.x1y3chn8:where(.astryx-input-group>[data-astryx-input-group-item]):not(:first-child):not(#\\#):not(#\\#):not(#\\#){border-end-start-radius:0}.x1lsh8a1.x1lsh8a1:where(.astryx-input-group>[data-astryx-input-group-item]):not(:nth-last-child(1 of :not([popover]):not(template):not(dialog))):not(#\\#):not(#\\#):not(#\\#){border-start-end-radius:0}.x132ell6.x132ell6:where(.astryx-input-group>[data-astryx-input-group-item]):not(:first-child):not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:0}.x9a4xmf:focus-visible:not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:var(--radius-page)}.x68aypm:focus-visible:not(#\\#):not(#\\#):not(#\\#),.xuihb5h:focus-within:not(#\\#):not(#\\#):not(#\\#){box-shadow:inset 0 0 0 2px var(--color-accent-muted)}.x15ysqaf:focus-within:not(#\\#):not(#\\#):not(#\\#){box-shadow:none}.xyavpck:focus-within:not(#\\#):not(#\\#):not(#\\#){box-shadow:var(--shadow-med)}.xfnbp2s:focus-visible:not(#\\#):not(#\\#):not(#\\#){clip:auto}.x153f7d5:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){clip-path:inset(0 0 0 max(0px,min(var(--step-connector-gap,0px),var(--spacing-2))))}.x7cmjge:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){clip-path:inset(0 max(0px,min(var(--step-connector-gap,0px),var(--spacing-2))) 0 0)}.x10wafsz:focus-within:not(#\\#):not(#\\#):not(#\\#){clip-path:none}.xx1nkik[aria-disabled=true]:not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-disabled)}.xy5bzlh.xy5bzlh:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-primary)}.x1io8s0o[aria-pressed=true]:not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-secondary)}.x9o1np9.x9o1np9:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-primary)}.x16khyan:is(:disabled,[aria-disabled=true]):not(#\\#):not(#\\#):not(#\\#),.xvivl9a[aria-disabled=true]:not(#\\#):not(#\\#):not(#\\#){cursor:default}.x1594u6p:is([data-astryx-reordering] *):not(#\\#):not(#\\#):not(#\\#),.x5qf8wv[data-zoom-dragging]:not(#\\#):not(#\\#):not(#\\#){cursor:grabbing}.x1kjnscg[data-lightbox-over-photo]:not(#\\#):not(#\\#):not(#\\#){cursor:zoom-in}.x1y40yee:popover-open:not(#\\#):not(#\\#):not(#\\#){display:flex}.xl3jo06:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){float:left}.x1vjmz92[aria-pressed=true]:not(#\\#):not(#\\#):not(#\\#){forced-color-adjust:none}.x14ej1m0:placeholder-shown:focus:not(:read-only):not(#\\#):not(#\\#):not(#\\#){margin-inline-end:-2px}.x1rq9t4t:placeholder-shown:is(:not(:focus),:read-only):not(#\\#):not(#\\#):not(#\\#){margin-inline-start:calc(-1 * var(--spacing-1))}.x17xqekc:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(to left,transparent 0%,#0000004d 2px,black var(--spacing-1));mask-image:linear-gradient(to left,transparent 0%,#0000004d 2px,black var(--spacing-1))}.x1nwey30:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(to left,transparent var(--_tab-strip-bleed),black calc(var(--_tab-strip-bleed) + var(--spacing-8)));mask-image:linear-gradient(to left,transparent var(--_tab-strip-bleed),black calc(var(--_tab-strip-bleed) + var(--spacing-8)))}.x8ulde1:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(to right,transparent 0%,#0000004d 2px,black var(--spacing-1));mask-image:linear-gradient(to right,transparent 0%,#0000004d 2px,black var(--spacing-1))}.x1rxa4r8:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(to right,transparent var(--_tab-strip-bleed),black calc(var(--_tab-strip-bleed) + var(--spacing-8)));mask-image:linear-gradient(to right,transparent var(--_tab-strip-bleed),black calc(var(--_tab-strip-bleed) + var(--spacing-8)))}.x1f22jp:focus-visible:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:none;mask-image:none}.x16lv2iq:not([stylex-hack])>:is(img,video):not(#\\#):not(#\\#):not(#\\#){object-fit:contain}.x492jj3:not([stylex-hack])>:is(img,video):not(#\\#):not(#\\#):not(#\\#){object-fit:cover}.x1euntei:focus-within:not(#\\#):not(#\\#):not(#\\#),.x25t5g8:focus-visible:not(#\\#):not(#\\#):not(#\\#),.xof6bs:is(th:hover *):not(#\\#):not(#\\#):not(#\\#){opacity:1}.xofkqq2:popover-open:not(#\\#):not(#\\#):not(#\\#){opacity:1}.x1e0x2sz:focus-visible:not(#\\#):not(#\\#):not(#\\#){outline-color:var(--color-error)}.xx47ajj:focus-visible:not(#\\#):not(#\\#):not(#\\#){outline-color:var(--focus-outline-color)}.x7s97pk:focus-visible:not(#\\#):not(#\\#):not(#\\#){outline-offset:2px}.xyk55c9:focus-visible:not(#\\#):not(#\\#):not(#\\#){outline-offset:calc(-1 * (var(--focus-outline-width) + var(--border-width)))}.x1nw7mhf:focus-visible:not(#\\#):not(#\\#):not(#\\#){outline-offset:calc(-1 * var(--focus-outline-width))}.x1l5jwag:focus-visible:not(#\\#):not(#\\#):not(#\\#){outline-offset:calc(0px - var(--focus-outline-width))}.x13aywxo:focus-visible:not(#\\#):not(#\\#):not(#\\#){outline-offset:var(--button-focus-offset)}.x1vwwbsn:focus-visible:not(#\\#):not(#\\#):not(#\\#){outline-offset:var(--focus-outline-offset)}.x1jhp3zv:focus-visible:not(#\\#):not(#\\#):not(#\\#){outline-style:var(--focus-outline-style)}.x1vidyx5:focus-visible:not(#\\#):not(#\\#):not(#\\#){outline-width:var(--focus-outline-width)}.x17h5b6w:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){padding-inline-end:env(safe-area-inset-left,0px)}.x1n6uwha:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){padding-inline-end:max(var(--spacing-4),env(safe-area-inset-left,0px))}.xtjjor6:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--astryx-dialog-padding-inline-end,var(--astryx-dialog-padding-inline,var(--astryx-dialog-padding,max(var(--spacing-4),env(safe-area-inset-left,0px)))))}.x1jwxvv4:placeholder-shown:is(:not(:focus),:read-only):not(#\\#):not(#\\#):not(#\\#){padding-inline-start:0}.xqbmqmu:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){padding-inline-start:env(safe-area-inset-right,0px)}.x19efkpl:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){padding-inline-start:max(var(--spacing-4),env(safe-area-inset-right,0px))}.x1i7f2ot:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){padding-inline-start:var(--astryx-dialog-padding-inline-start,var(--astryx-dialog-padding-inline,var(--astryx-dialog-padding,max(var(--spacing-4),env(safe-area-inset-right,0px)))))}.xbt4iw:focus-within:not(#\\#):not(#\\#):not(#\\#){pointer-events:auto}.xs5wpqw:focus-visible:not(#\\#):not(#\\#):not(#\\#){position:relative}.xo74pv5:focus-within:not(#\\#):not(#\\#):not(#\\#){position:static}.x1g2qjg4:active:not(:has([aria-expanded=true])):not(#\\#):not(#\\#):not(#\\#){transform:scale(.98)}.x1u44piu.x1u44piu:active:where(:not(:disabled,[aria-disabled=true],[aria-expanded=true][aria-haspopup]:not([aria-haspopup=false]))):not(#\\#):not(#\\#):not(#\\#){transform:scale(.98)}.xaafvuh:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){transform:scaleX(-1)rotate(0)}.x1nxqau:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){transform:scaleX(-1)rotate(90deg)}.xgtlewx:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){transform:scaleX(-1)}.x10fxb7p:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){transform:translate(-25%,25%)}.xqgnvz5:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){transform:translate(-50%,50%)}.xoffwj3:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){transform:translate(50%,-50%)}.x1df3fe5:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){transform:translate(-100%)}.xttggg:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){transform:translate(100%)}.x1nyx83j:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){transform:translate(50%)}.x1pcv4gy:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){transform:translate(calc(-100cqi + 50cqb + 50%))}.x820w0f:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){transform:translate(calc(-50cqb + 50%))}.x9cjr8z:popover-open:not(#\\#):not(#\\#):not(#\\#){transform:translateY(0)}.x1c34a00[data-zoom-dismissing]:not(#\\#):not(#\\#):not(#\\#){z-index:1}.x1pc0aet:focus-within:not(#\\#):not(#\\#):not(#\\#),.xf5goe6.xf5goe6:where(.astryx-input-group>[data-astryx-input-group-item]):focus-visible:not(#\\#):not(#\\#):not(#\\#){z-index:2}.x151j4nw:has(input[aria-disabled=true]:focus-visible):not(#\\#):not(#\\#):not(#\\#){box-shadow:inset 0 0 0 2px var(--color-accent-muted)}.xwmge8v:has(>[aria-disabled=true]:focus-visible):not(#\\#):not(#\\#):not(#\\#){box-shadow:inset 0 0 0 2px var(--color-accent-muted)}.xxsos93:has(input:focus):not(#\\#):not(#\\#):not(#\\#){box-shadow:inset 0 0 0 2px var(--color-accent-muted)}.x1btxeh5:has(input:focus-visible):not(#\\#):not(#\\#):not(#\\#){box-shadow:inset 0 0 0 2px var(--color-accent)}.xsw3flo:has(>div>.astryx-layout-content):not(#\\#):not(#\\#):not(#\\#){container-type:inline-size}.x6ptruj:has(~[data-astryx-submenu-host]>[data-astryx-submenu-regions=view]:not([hidden])):not(#\\#):not(#\\#):not(#\\#){display:none}.x57zk0b:has(>.astryx-overflow-list):not(#\\#):not(#\\#):not(#\\#){flex-basis:0%}.xrcub7i:has(>[data-astryx-edge-comp]:first-child):not(#\\#):not(#\\#):not(#\\#){flex-basis:var(--x-1x09wtl)}.xwycnqi:has(>[data-astryx-edge-comp]:first-child):has(>[data-astryx-edge-comp]:last-child):not(#\\#):not(#\\#):not(#\\#){flex-basis:var(--x-bzn8up)}.x4k7xt0:has(>[data-astryx-edge-comp]:last-child):not(#\\#):not(#\\#):not(#\\#){flex-basis:var(--x-ggj8vv)}.x870v7t:has(>.astryx-overflow-list):not(#\\#):not(#\\#):not(#\\#){flex-grow:1}.x1uad18n:has(>.astryx-overflow-list):not(#\\#):not(#\\#):not(#\\#){flex-grow:1000000}.x6npk1m:has(>.astryx-overflow-list):not(#\\#):not(#\\#):not(#\\#){flex-wrap:nowrap}.x92e2el:has(>[data-astryx-edge-comp]:last-child):not(#\\#):not(#\\#):not(#\\#){margin-inline-end:var(--x-4drmnv)}.x1kftj4p:has(>[data-astryx-edge-comp]:first-child):not(#\\#):not(#\\#):not(#\\#){margin-inline-start:var(--x-126w13d)}.x1sgrtkh:has(>[data-astryx-focus-owner]:focus-visible,>[data-astryx-focus-owner=group]>[data-astryx-focus-owner]:focus-visible):not(#\\#):not(#\\#):not(#\\#){outline-color:var(--focus-outline-color)}.x1uy843r:has(:focus-visible):not(#\\#):not(#\\#):not(#\\#){outline-color:var(--focus-outline-color)}.x4jz7i8:has(>[role=combobox]:focus-visible):not(#\\#):not(#\\#):not(#\\#){outline-color:var(--focus-outline-color)}.xf6o5tz:has(:focus-visible:not([data-astryx-own-ring])):not(#\\#):not(#\\#):not(#\\#){outline-color:var(--focus-outline-color)}.xobxmqy:has(>:first-child:focus-visible):not(#\\#):not(#\\#):not(#\\#){outline-color:var(--focus-outline-color)}.x1fz9cfn:has(>[role=combobox]:focus-visible):not(#\\#):not(#\\#):not(#\\#){outline-offset:var(--focus-outline-offset)}.x1jumodi:has(:focus-visible):not(#\\#):not(#\\#):not(#\\#){outline-offset:var(--focus-outline-offset)}.x2vr5qc:has(>:first-child:focus-visible):not(#\\#):not(#\\#):not(#\\#){outline-offset:var(--focus-outline-offset)}.x7dehhw:has(:focus-visible:not([data-astryx-own-ring])):not(#\\#):not(#\\#):not(#\\#){outline-offset:var(--focus-outline-offset)}.xxrcyt7:has(>[data-astryx-focus-owner]:focus-visible,>[data-astryx-focus-owner=group]>[data-astryx-focus-owner]:focus-visible):not(#\\#):not(#\\#):not(#\\#){outline-offset:var(--focus-outline-offset)}.x151uj7h:has(>[role=combobox]:focus-visible):not(#\\#):not(#\\#):not(#\\#){outline-style:var(--focus-outline-style)}.x1kcvfb1:has(:focus-visible:not([data-astryx-own-ring])):not(#\\#):not(#\\#):not(#\\#){outline-style:var(--focus-outline-style)}.xciu248:has(:focus-visible):not(#\\#):not(#\\#):not(#\\#){outline-style:var(--focus-outline-style)}.xfd04fr:has(>:first-child:focus-visible):not(#\\#):not(#\\#):not(#\\#){outline-style:var(--focus-outline-style)}.xjop9y1:has(>[data-astryx-focus-owner]:focus-visible,>[data-astryx-focus-owner=group]>[data-astryx-focus-owner]:focus-visible):not(#\\#):not(#\\#):not(#\\#){outline-style:var(--focus-outline-style)}.x11j6mr8:has(:focus-visible):not(#\\#):not(#\\#):not(#\\#){outline-width:var(--focus-outline-width)}.x1f8uy6n:has(:focus-visible:not([data-astryx-own-ring])):not(#\\#):not(#\\#):not(#\\#){outline-width:var(--focus-outline-width)}.x1ufq04b:has(>[role=combobox]:focus-visible):not(#\\#):not(#\\#):not(#\\#){outline-width:var(--focus-outline-width)}.xmmisi4:has(>:first-child:focus-visible):not(#\\#):not(#\\#):not(#\\#){outline-width:var(--focus-outline-width)}.xt6iir6:has(>[data-astryx-focus-owner]:focus-visible,>[data-astryx-focus-owner=group]>[data-astryx-focus-owner]:focus-visible):not(#\\#):not(#\\#):not(#\\#){outline-width:var(--focus-outline-width)}.xxdn8bs:has(>div>.astryx-layout-content):not(#\\#):not(#\\#):not(#\\#){padding-inline-end:max(0px,calc((100% - var(--layout-content-width)) / 2))}.xmnmr5y:has(.astryx-nav-icon):not(#\\#):not(#\\#):not(#\\#){padding-inline-start:0}.x1vvd0s7:has(>div>.astryx-layout-content):not(#\\#):not(#\\#):not(#\\#){padding-inline-start:max(0px,calc((100% - var(--layout-content-width)) / 2))}.xhu4vej:has([aria-expanded=true]):not(#\\#):not(#\\#):not(#\\#){transition-property:background-image,background-color,color,opacity}.x3x83r7:has(:focus-visible):not(#\\#):not(#\\#):not(#\\#){z-index:2}.x1v34wvp:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):not(#\\#):not(#\\#):not(#\\#){border-end-end-radius:max(0px,calc(var(--_dropdown-menu-radius-end-end,var(--_dropdown-menu-radius-bottom-left,var(--_dropdown-menu-radius,var(--spacing-2)))) - var(--_dropdown-menu-padding,var(--spacing-1))))}.xb6b8hi:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):not(#\\#):not(#\\#):not(#\\#){border-end-start-radius:max(0px,calc(var(--_dropdown-menu-radius-end-start,var(--_dropdown-menu-radius-bottom-right,var(--_dropdown-menu-radius,var(--spacing-2)))) - var(--_dropdown-menu-padding,var(--spacing-1))))}.x7vg3tk:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):not(#\\#):not(#\\#):not(#\\#){border-start-end-radius:max(0px,calc(var(--_dropdown-menu-radius-start-end,var(--_dropdown-menu-radius-top-left,var(--_dropdown-menu-radius,var(--spacing-2)))) - var(--_dropdown-menu-padding,var(--spacing-1))))}.x13kg4je:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:max(0px,calc(var(--_dropdown-menu-radius-start-start,var(--_dropdown-menu-radius-top-right,var(--_dropdown-menu-radius,var(--spacing-2)))) - var(--_dropdown-menu-padding,var(--spacing-1))))}.xiw03rd:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(to left,transparent var(--_scroll-fade-start-0),black var(--_scroll-fade-start-1),black calc(100% - var(--_scroll-fade-end-1)),transparent calc(100% - var(--_scroll-fade-end-0)));mask-image:linear-gradient(to left,transparent var(--_scroll-fade-start-0),black var(--_scroll-fade-start-1),black calc(100% - var(--_scroll-fade-end-1)),transparent calc(100% - var(--_scroll-fade-end-0)))}.xbw113y:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):not(#\\#):not(#\\#):not(#\\#){transform:translate(-100%)}.x1eqdj8u:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):not(#\\#):not(#\\#):not(#\\#){transform:translate(100%)}.x13s8k5t:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):not(#\\#):not(#\\#):not(#\\#){transform:translateX(calc(100% - var(--_progress-bar-fill,0%)))}.x8re4u:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):not(#\\#):not(#\\#):not(#\\#){translate:calc(-10px - var(--_slider-fill-start) * (100cqi - 20px)) 0}.x1pq48qv:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):not(#\\#):not(#\\#):not(#\\#){translate:calc(100cqi - (var(--_slider-fill-end) - var(--_slider-fill-start)) * (100cqi - 20px)) 0}.x107x6cy:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):not(#\\#):not(#\\#):not(#\\#){translate:calc(100cqi - 10px - var(--_slider-fill-end) * (100cqi - 20px)) 0}.xis8qvo:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):not(#\\#):not(#\\#):not(#\\#){translate:calc(var(--_slider-progress) * (20px - 100cqi)) 0}.x1xrp5p4:first-child:not(#\\#):not(#\\#):not(#\\#){border-end-start-radius:var(--radius-element)}.xyf0ibl:first-child:not(#\\#):not(#\\#):not(#\\#){border-inline-start-style:none}.x1pjv70x:first-child:not(#\\#):not(#\\#):not(#\\#){border-inline-start-width:0}.xn58dd1:first-child:not(#\\#):not(#\\#):not(#\\#){border-start-end-radius:var(--_list-corner-start-end,0px)}.x3s3gbr:first-child:not(#\\#):not(#\\#):not(#\\#){border-start-end-radius:var(--container-corner-start-end,0px)}.x2qxyot:first-child:not(#\\#):not(#\\#):not(#\\#){border-start-end-radius:var(--radius-element)}.x1i0qwsa:first-child:not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:var(--_list-corner-start-start,0px)}.x1pf40mn:first-child:not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:var(--container-corner-start-start,0px)}.x8eehn2:first-child:not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:var(--radius-element)}.x1pwwqoy:first-child:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:0}.x5uh4xs:first-child:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:max(var(--container-padding-inline-start,var(--spacing-2)),var(--spacing-2))}.x9bi00s:first-child:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:max(var(--container-padding-inline-start,var(--spacing-3)),var(--spacing-2))}.x18c6q21:first-child:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:max(var(--container-padding-inline-start,var(--spacing-4)),var(--spacing-2))}.x1gz0w9x:last-child:not(#\\#):not(#\\#):not(#\\#){border-end-end-radius:var(--_list-corner-end-end,0px)}.x5vugwh:last-child:not(#\\#):not(#\\#):not(#\\#){border-end-end-radius:var(--container-corner-end-end,0px)}.x747jw7:last-child:not(#\\#):not(#\\#):not(#\\#){border-end-end-radius:var(--radius-element)}.xmitzzi:last-child:not(#\\#):not(#\\#):not(#\\#){border-end-start-radius:var(--_list-corner-end-start,0px)}.xr4wx9:last-child:not(#\\#):not(#\\#):not(#\\#){border-end-start-radius:var(--container-corner-end-start,0px)}.x1qlsc9e:last-child:not(#\\#):not(#\\#):not(#\\#){border-inline-end-width:0}.x19mtlqq:last-child:not(#\\#):not(#\\#):not(#\\#){border-inline-start-width:0}.x11xp8u1:last-child:not(#\\#):not(#\\#):not(#\\#){border-start-end-radius:var(--radius-element)}.xf9a2z1:last-child:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--_table-edge-inline-end)}.x189zj9d:nth-child(2n of :not([data-expansion-panel])):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-background-muted)}.x1qa286i:nth-last-child(1 of :not([popover]):not(template):not(dialog)):not(#\\#):not(#\\#):not(#\\#){border-end-end-radius:var(--radius-element)}.x1muvjzw:nth-last-child(1 of :not([popover]):not(template):not(dialog)):not(#\\#):not(#\\#):not(#\\#){border-end-start-radius:var(--radius-element)}.x1ursdma:nth-last-child(1 of :not([popover]):not(template):not(dialog)):not(#\\#):not(#\\#):not(#\\#){border-start-end-radius:var(--radius-element)}.xjl7jj:empty:not(#\\#):not(#\\#):not(#\\#){display:none}.x1e0d1ib:empty:not(#\\#):not(#\\#):not(#\\#){padding-inline-start:0}.x1yc0pmc:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):focus-visible:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:none;mask-image:none}.x1p2z2pi:focus:not(#\\#):not(#\\#):not(#\\#){background-color:var(--_menu-row-focus-paint,var(--color-overlay-hover))}.x1c52tdz:focus:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-overlay-hover)}.x1rsz1da:focus:not(#\\#):not(#\\#):not(#\\#){clip-path:none}.xb52w99:focus:not(#\\#):not(#\\#):not(#\\#){display:flex}.xodanix:focus:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:var(--spacing-2)}.x1xrnuwo:focus:not(#\\#):not(#\\#):not(#\\#){position:fixed}.xv7k90b:focus:not(#\\#):not(#\\#):not(#\\#){position:relative}.x1hbpcn8:focus:not(#\\#):not(#\\#):not(#\\#){white-space:normal}.xjtnuge:active:not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-neutral)}.xuqm82a:active:not(#\\#):not(#\\#):not(#\\#){background-image:none}.x1pdlv7q:active:not(#\\#):not(#\\#):not(#\\#){transform:none}@media (pointer:coarse){.xe52lmr.xe52lmr:not(#\\#):not(#\\#):not(#\\#){-webkit-tap-highlight-color:transparent}}@media (width<=480px){.x1q32nj3.x1q32nj3:not(#\\#):not(#\\#):not(#\\#){align-items:stretch}}@media (prefers-reduced-motion:reduce){.x14q22ui.x14q22ui:not(#\\#):not(#\\#):not(#\\#){animation-delay:0s}.x4q6aw4.x4q6aw4:not(#\\#):not(#\\#):not(#\\#){animation-direction:alternate}}@media (prefers-reduced-motion:reduce) and (pointer:coarse){.x1jq6yc9.x1jq6yc9:not(#\\#):not(#\\#):not(#\\#){animation-duration:.2s}.x10got5w.x10got5w:not(#\\#):not(#\\#):not(#\\#){animation-duration:.2s}}@media (prefers-reduced-motion:reduce){.x14hxw50.x14hxw50:not(#\\#):not(#\\#):not(#\\#){animation-duration:300s}.x1p2ibn3.x1p2ibn3:not(#\\#):not(#\\#):not(#\\#){animation-duration:var(--_progress-bar-pulse)}}@media ((prefers-reduced-motion:reduce) and (not (pointer:coarse)) and (not (prefers-reduced-motion:reduce))) or ((prefers-reduced-motion:reduce) and (not (pointer:coarse)) and (not (pointer:coarse))){.x2g3n7u.x2g3n7u:not(#\\#):not(#\\#):not(#\\#){animation-name:none}}@media (prefers-reduced-motion:reduce) and (not (pointer:coarse)){.xtuz6mp.xtuz6mp:not(#\\#):not(#\\#):not(#\\#){animation-name:none}}@media (prefers-reduced-motion:reduce){.x1aquc0h.x1aquc0h:not(#\\#):not(#\\#):not(#\\#){animation-name:none}}@media (prefers-reduced-motion:reduce) and (pointer:coarse){.xaqowwx.xaqowwx:not(#\\#):not(#\\#):not(#\\#){animation-name:x12p7u8f-B}}@media ((prefers-reduced-motion:reduce) and (pointer:coarse) and (not (prefers-reduced-motion:reduce))) or ((prefers-reduced-motion:reduce) and (pointer:coarse) and ((pointer:coarse))){.x6mpr79.x6mpr79:not(#\\#):not(#\\#):not(#\\#){animation-name:x18re5ia-B}}@media (prefers-reduced-motion:reduce){.xfqa98z.xfqa98z:not(#\\#):not(#\\#):not(#\\#){animation-name:xml828b-B}}@media (prefers-reduced-motion:reduce) and (pointer:coarse){.xr5m3f0.xr5m3f0:not(#\\#):not(#\\#):not(#\\#){animation-timing-function:ease-in-out}}@media (prefers-reduced-motion:reduce){.x10xcq22.x10xcq22:not(#\\#):not(#\\#):not(#\\#){animation-timing-function:var(--_progress-bar-pulse-curve)}}@media (forced-colors:active){.x9yvj25.x9yvj25:not(#\\#):not(#\\#):not(#\\#){background-color:canvas}.xwvh9j7.xwvh9j7:not(#\\#):not(#\\#):not(#\\#){background-color:canvastext}}@media (prefers-contrast:more) and (not (forced-colors:active)){.x1j0df82.x1j0df82:not(#\\#):not(#\\#):not(#\\#){background-color:color-mix(in srgb,var(--color-skeleton),var(--color-text-primary) 30%)}}@media (forced-colors:active){.x1o55y2u.x1o55y2u:not(#\\#):not(#\\#):not(#\\#){background-color:graytext}.x1jzqe4.x1jzqe4:not(#\\#):not(#\\#):not(#\\#){background-color:highlight}.x1sir5s4.x1sir5s4:not(#\\#):not(#\\#):not(#\\#){background-color:highlighttext}}@media (hover:hover){.x150ydqw.x150ydqw:not(#\\#):not(#\\#):not(#\\#){background-color:#0000}}@media (forced-colors:active){.xhdp0qd.xhdp0qd:not(#\\#):not(#\\#):not(#\\#){border-inline-end-color:buttontext}.x1x0u81l.x1x0u81l:not(#\\#):not(#\\#):not(#\\#){border-inline-end-color:canvastext}.xf1j0q2.xf1j0q2:not(#\\#):not(#\\#):not(#\\#){border-inline-end-style:solid}.xmzn1mo.xmzn1mo:not(#\\#):not(#\\#):not(#\\#){border-inline-end-width:1px}.x1hbxdp3.x1hbxdp3:not(#\\#):not(#\\#):not(#\\#){border-inline-start-color:buttontext}.xjslfuv.xjslfuv:not(#\\#):not(#\\#):not(#\\#){border-inline-start-color:canvastext}.x1gbqego.x1gbqego:not(#\\#):not(#\\#):not(#\\#){border-inline-start-style:solid}.xjg5lhu.xjg5lhu:not(#\\#):not(#\\#):not(#\\#){border-inline-start-width:1px}}@media not all and (width>=1024px){.x16174yq.x16174yq:not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:0}}@media not all and (width>=1280px){.x5asj52.x5asj52:not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:0}}@media not all and (width>=1536px){.xnnrhfx.xnnrhfx:not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:0}}@media not all and (width>=640px){.xctd0pb.xctd0pb:not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:0}}@media not all and (width>=768px){.xc4oep8.xc4oep8:not(#\\#):not(#\\#):not(#\\#){border-start-start-radius:0}}@media (hover:none) and (update:slow){.xgrch5n.xgrch5n:not(#\\#):not(#\\#):not(#\\#){color:#00f}}@media (forced-colors:active){.xs5hli.xs5hli:not(#\\#):not(#\\#):not(#\\#){color:canvastext}.x1xt8qih.x1xt8qih:not(#\\#):not(#\\#):not(#\\#){color:currentColor}.x1bhcspo.x1bhcspo:not(#\\#):not(#\\#):not(#\\#){color:graytext}.x1k5gbb1.x1k5gbb1:not(#\\#):not(#\\#):not(#\\#){color:highlighttext}}@media (hover:hover) and (update:fast){.xx9zy8s.xx9zy8s:not(#\\#):not(#\\#):not(#\\#){color:red}}@media (width<=480px){.xedohl4.xedohl4:not(#\\#):not(#\\#):not(#\\#){display:flex}}@media (hover:hover){.xqwu39o.xqwu39o:not(#\\#):not(#\\#):not(#\\#){display:flex}}@media (pointer:coarse){.xhj50sb.xhj50sb:not(#\\#):not(#\\#):not(#\\#){display:none}}@media not all and (width>=1024px){.xjzer9l.xjzer9l:not(#\\#):not(#\\#):not(#\\#){display:none}}@media not all and (width>=1280px){.x1bwilkz.x1bwilkz:not(#\\#):not(#\\#):not(#\\#){display:none}}@media not all and (width>=1536px){.x1q9a9pi.x1q9a9pi:not(#\\#):not(#\\#):not(#\\#){display:none}}@media not all and (width>=640px){.x1d592f6.x1d592f6:not(#\\#):not(#\\#):not(#\\#){display:none}}@media not all and (width>=768px){.xgs58o8.xgs58o8:not(#\\#):not(#\\#):not(#\\#){display:none}}@media (width<=480px){.x1rpgqan.x1rpgqan:not(#\\#):not(#\\#):not(#\\#){flex-direction:column}}@media (pointer:coarse){.x16m5fjt.x16m5fjt:not(#\\#):not(#\\#):not(#\\#){inset-inline-end:calc(50cqb - var(--_switch-thumb-width,16px) / 2)}.xwqqzpe.xwqqzpe:not(#\\#):not(#\\#):not(#\\#){inset-inline-end:calc(50cqb - var(--_switch-thumb-width,20px) / 2)}.xskqmzm.xskqmzm:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:auto}.x1mhib4p.x1mhib4p:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:calc(50cqb - var(--_switch-thumb-width,14px) / 2)}.x1nnvw05.x1nnvw05:not(#\\#):not(#\\#):not(#\\#){inset-inline-start:calc(50cqb - var(--_switch-thumb-width,16px) / 2)}.xsmms64.xsmms64:not(#\\#):not(#\\#):not(#\\#){isolation:isolate}.x1jymrmb.x1jymrmb:not(#\\#):not(#\\#):not(#\\#){margin-inline-start:auto}.x24kw6c.x24kw6c:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(to right,transparent var(--_scroll-fade-start-0),black var(--_scroll-fade-start-1),black calc(100% - var(--_scroll-fade-end-1)),transparent calc(100% - var(--_scroll-fade-end-0)));mask-image:linear-gradient(to right,transparent var(--_scroll-fade-start-0),black var(--_scroll-fade-start-1),black calc(100% - var(--_scroll-fade-end-1)),transparent calc(100% - var(--_scroll-fade-end-0)))}}@media (forced-colors:active){.x1fww0mx.x1fww0mx:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:none;mask-image:none}}@media (hover:none) and (update:slow){.x60ulxu.x60ulxu:not(#\\#):not(#\\#):not(#\\#){opacity:.5}}@media (hover:hover) and (update:fast){.xb7mq82.xb7mq82:not(#\\#):not(#\\#):not(#\\#){opacity:0}}@media (pointer:coarse){.x17di44q.x17di44q:not(#\\#):not(#\\#):not(#\\#){opacity:0}}@media (prefers-reduced-motion:reduce) and (pointer:coarse){.x1m67veq.x1m67veq:not(#\\#):not(#\\#):not(#\\#){opacity:0}}@media (forced-colors:active){.x1tbh5bv.x1tbh5bv:not(#\\#):not(#\\#):not(#\\#){opacity:1}}@media (pointer:coarse){.xozvky.xozvky:not(#\\#):not(#\\#):not(#\\#){order:1}}@media (forced-colors:active){.x3teovq.x3teovq:not(#\\#):not(#\\#):not(#\\#){outline-color:canvastext}.xryqv0t.xryqv0t:not(#\\#):not(#\\#):not(#\\#){outline-color:graytext}.x1x84bn5.x1x84bn5:not(#\\#):not(#\\#):not(#\\#){outline-color:highlight}.xvr1dqx.xvr1dqx:not(#\\#):not(#\\#):not(#\\#){outline-offset:-1px}.x815t2r.x815t2r:not(#\\#):not(#\\#):not(#\\#){outline-style:solid}.xcthrzx.xcthrzx:not(#\\#):not(#\\#):not(#\\#){outline-width:1px}.x1xvue0r.x1xvue0r:not(#\\#):not(#\\#):not(#\\#){outline-width:var(--border-width)}}@media (pointer:coarse){.x1r3kph8.x1r3kph8:not(#\\#):not(#\\#):not(#\\#){padding-inline-end:var(--astryx-number-input-padding-inline-end,var(--astryx-number-input-padding-inline,var(--astryx-number-input-padding,var(--spacing-2))))}.x1bjav06.x1bjav06:not(#\\#):not(#\\#):not(#\\#){pointer-events:none}.x8imsj1.x8imsj1:not(#\\#):not(#\\#):not(#\\#){position:absolute}.xrxqdxo.xrxqdxo:not(#\\#):not(#\\#):not(#\\#){position:relative}}@media (prefers-reduced-motion:reduce){.xg83hb1.xg83hb1:not(#\\#):not(#\\#):not(#\\#){scroll-behavior:auto}}@media (forced-colors:active){.xrih18v.xrih18v:not(#\\#):not(#\\#):not(#\\#){scrollbar-color:auto}}@media (pointer:coarse) and (not (forced-colors:active)){.xk8rjfv.xk8rjfv:not(#\\#):not(#\\#):not(#\\#){scrollbar-color:auto}}@media (forced-colors:active){.xlpb0hg.xlpb0hg:not(#\\#):not(#\\#):not(#\\#){scrollbar-width:thin}}@media (pointer:coarse){.x1xekgvp.x1xekgvp:not(#\\#):not(#\\#):not(#\\#){touch-action:manipulation}}@media (forced-colors:active){.x10rjfdt.x10rjfdt:not(#\\#):not(#\\#):not(#\\#){transform:none}}@media (pointer:coarse){.xhyyqqw.xhyyqqw:not(#\\#):not(#\\#):not(#\\#){transform:none}}@media (prefers-reduced-motion:reduce){.xuupxpy.xuupxpy:not(#\\#):not(#\\#):not(#\\#){transform:none}}@media (pointer:coarse){.x1xdvw9q.x1xdvw9q:not(#\\#):not(#\\#):not(#\\#){transform:translate(calc(-50% + (var(--astryx-hit-inset-right,0px) - var(--astryx-hit-inset-left,0px)) / 2),calc(-50% + (var(--astryx-hit-inset-bottom,0px) - var(--astryx-hit-inset-top,0px)) / 2))}}@media (pointer:coarse) and (not (forced-colors:active)){.x1ayxeub.x1ayxeub:not(#\\#):not(#\\#):not(#\\#){transform:translateX(calc(max(var(--_progress-bar-fill,0%),var(--_progress-bar-min,0px)) - 100% + var(--_progress-bar-flip,0) * .01px))}}@media (prefers-reduced-motion:reduce){.x1oe9tb1.x1oe9tb1:not(#\\#):not(#\\#):not(#\\#){transform:translateY(0)}.x1k6wr6r.x1k6wr6r:not(#\\#):not(#\\#):not(#\\#){transition-delay:0s,0s}.xwgk2z2.xwgk2z2:not(#\\#):not(#\\#):not(#\\#){transition-delay:var(--_reveal-delay-reduced,0s,0s)}.xsagj69.xsagj69:not(#\\#):not(#\\#):not(#\\#){transition-duration:.01ms}.xzg1mie.xzg1mie:not(#\\#):not(#\\#):not(#\\#){transition-duration:10ms}}@media ((prefers-reduced-motion:reduce) and (pointer:coarse) and (not (prefers-reduced-motion:reduce))) or ((prefers-reduced-motion:reduce) and (pointer:coarse) and ((pointer:coarse))){.xh0ie4q.xh0ie4q:not(#\\#):not(#\\#):not(#\\#){transition-duration:.2s}}@media (prefers-reduced-motion:reduce){.xsr0bmt.xsr0bmt:not(#\\#):not(#\\#):not(#\\#){transition-duration:0s,0s}}@media ((pointer:coarse) and (not (prefers-reduced-motion:reduce)) and (not (prefers-reduced-motion:reduce))) or ((pointer:coarse) and (not (prefers-reduced-motion:reduce)) and ((pointer:coarse))) or ((pointer:coarse) and (not (pointer:coarse)) and (not (prefers-reduced-motion:reduce))) or ((pointer:coarse) and (not (pointer:coarse)) and ((pointer:coarse))){.xouc37c.xouc37c:not(#\\#):not(#\\#):not(#\\#){transition-duration:0s}}@media ((prefers-reduced-motion:reduce) and (not (pointer:coarse)) and (not (prefers-reduced-motion:reduce))) or ((prefers-reduced-motion:reduce) and (not (pointer:coarse)) and (not (pointer:coarse))){.xo2sced.xo2sced:not(#\\#):not(#\\#):not(#\\#){transition-duration:0s}}@media ((prefers-reduced-motion:reduce) and (pointer:coarse) and (not (prefers-reduced-motion:reduce))) or ((prefers-reduced-motion:reduce) and (pointer:coarse) and ((pointer:coarse))){.xzwa1y6.xzwa1y6:not(#\\#):not(#\\#):not(#\\#){transition-duration:0s}}@media (pointer:coarse){.xzyh0sv.xzyh0sv:not(#\\#):not(#\\#):not(#\\#){transition-duration:0s}}@media (prefers-reduced-motion:reduce) and (not (pointer:coarse)){.xuh6ohu.xuh6ohu:not(#\\#):not(#\\#):not(#\\#){transition-duration:0s}}@media (prefers-reduced-motion:reduce) and (pointer:coarse){.x1r9o9eb.x1r9o9eb:not(#\\#):not(#\\#):not(#\\#){transition-duration:0s}}@media (prefers-reduced-motion:reduce){.x12w9bfk.x12w9bfk:not(#\\#):not(#\\#):not(#\\#){transition-duration:0s}}@media ((prefers-reduced-motion:reduce) and (pointer:coarse) and (not (prefers-reduced-motion:reduce))) or ((prefers-reduced-motion:reduce) and (pointer:coarse) and ((pointer:coarse))){.x7jh41u.x7jh41u:not(#\\#):not(#\\#):not(#\\#){transition-duration:.2s}}@media ((pointer:coarse) and (not (prefers-reduced-motion:reduce)) and (not (prefers-reduced-motion:reduce))) or ((pointer:coarse) and (not (prefers-reduced-motion:reduce)) and (not (pointer:coarse))) or ((pointer:coarse) and ((pointer:coarse)) and (not (prefers-reduced-motion:reduce))) or ((pointer:coarse) and ((pointer:coarse)) and (not (pointer:coarse))){.x1k32oa2.x1k32oa2:not(#\\#):not(#\\#):not(#\\#){transition-duration:calc(var(--_progress-bar-move,0s) * var(--_astryx-motion-tempo,1))}}@media (prefers-reduced-motion:reduce) and (pointer:coarse){.x18etpvv.x18etpvv:not(#\\#):not(#\\#):not(#\\#){transition-duration:min(var(--duration-exit),.2s)}}@media (pointer:coarse){.xiz4dsw.xiz4dsw:not(#\\#):not(#\\#):not(#\\#){transition-property:none}}@media (prefers-reduced-motion:reduce){.x4wkmsb.x4wkmsb:not(#\\#):not(#\\#):not(#\\#){transition-property:none}.x3ya4ca.x3ya4ca:not(#\\#):not(#\\#):not(#\\#){transition-property:opacity,overlay,display}}@media (prefers-reduced-motion:reduce) and (pointer:coarse){.x1xcegdw.x1xcegdw:not(#\\#):not(#\\#):not(#\\#){transition-property:opacity}}@media (forced-colors:active){.x18hto2h.x18hto2h:not(#\\#):not(#\\#):not(#\\#){transition-property:width}}@media (pointer:coarse){.x1s1rlkj.x1s1rlkj:not(#\\#):not(#\\#):not(#\\#){transition-timing-function:cubic-bezier(.3,0,.6,.6)}}@media (prefers-reduced-motion:reduce) and (pointer:coarse){.x19dgjhz.x19dgjhz:not(#\\#):not(#\\#):not(#\\#),.x15tucas.x15tucas:not(#\\#):not(#\\#):not(#\\#){transition-timing-function:ease-in-out}}@media (pointer:coarse){.x1itqrb8.x1itqrb8:not(#\\#):not(#\\#):not(#\\#){transition-timing-function:var(--_progress-bar-curve,linear)}}@media (prefers-reduced-motion:reduce) and (pointer:coarse){.xro0fum.xro0fum:not(#\\#):not(#\\#):not(#\\#){transition-timing-function:var(--ease-exit)}}@media (forced-colors:active){.x1mfxj9n.x1mfxj9n:not(#\\#):not(#\\#):not(#\\#){will-change:auto}}@media (pointer:coarse){.x1xytu5a.x1xytu5a:not(#\\#):not(#\\#):not(#\\#){z-index:1}.x1e8ofxz.x1e8ofxz:not(#\\#):not(#\\#):not(#\\#){z-index:2}}.x1anq1lc.x1anq1lc:active:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-overlay-pressed)}.xzmimnh.xzmimnh:active:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){background-image:linear-gradient(var(--color-overlay-pressed),var(--color-overlay-pressed)),linear-gradient(var(--color-neutral),var(--color-neutral))}.x7uyq82.x7uyq82:active:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){background-image:linear-gradient(var(--color-overlay-pressed),var(--color-overlay-pressed))}@media (hover:hover) and (forced-colors:none){.xcgwt1n.xcgwt1n.xcgwt1n:where(.x1iwu4tg:hover *):not(#\\#):not(#\\#):not(#\\#){background-color:color-mix(in srgb,var(--color-accent),var(--color-tint-hover) 15%)}}@media (hover:hover){.x17srpfb.x17srpfb.x17srpfb:where(.x1odsvnm:hover *):not(#\\#):not(#\\#):not(#\\#){background-color:color-mix(in srgb,var(--color-accent),var(--color-tint-hover) 15%)}}@media (hover:hover) and (forced-colors:none){.x1a8ae7b.x1a8ae7b.x1a8ae7b:where(.x1iwu4tg:hover *):not(#\\#):not(#\\#):not(#\\#){background-color:color-mix(in srgb,var(--color-background-gray),var(--color-tint-hover) 5%)}}@media (hover:hover){.xeultfy.xeultfy.xeultfy:where(.x1odsvnm:hover *):not(#\\#):not(#\\#):not(#\\#){background-color:color-mix(in srgb,var(--color-background-surface),var(--color-tint-hover) 5%)}.xqxnq6d.xqxnq6d.xqxnq6d:where(.x1odsvnm:hover *):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-background-muted)}.x1pe4z86.x1pe4z86.x1pe4z86:where(.x-default-marker:hover *):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-icon-primary)}.x1a1zr74.x1a1zr74.x1a1zr74:where(.x1u3b27q:hover *):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-overlay-hover)}.x1t9gxa6.x1t9gxa6.x1t9gxa6:where(.x-default-marker:hover *):not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-primary)}.xcwhr9z.xcwhr9z.xcwhr9z:where(.x84s7jz:hover *):not(#\\#):not(#\\#):not(#\\#){opacity:1}.x8ydxbz.x8ydxbz.x8ydxbz:where(.x84s7jz:hover *):not(#\\#):not(#\\#):not(#\\#){pointer-events:auto}.x17hxqr7.x17hxqr7.x17hxqr7:where(.x84s7jz:hover *):not(#\\#):not(#\\#):not(#\\#){transform:translateY(0)}.xneequu.xneequu.xneequu:where(.x84s7jz:hover *):not(#\\#):not(#\\#):not(#\\#){visibility:visible}}@media (pointer:coarse){.x1brxl7n.x1brxl7n.x1brxl7n:where(.x1u3b27q:active *):not(#\\#):not(#\\#):not(#\\#){background-color:#0000}}@media (hover:hover) and (not (pointer:coarse)){.xvy5t78.xvy5t78.xvy5t78:where(.x1u3b27q:active *):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-overlay-pressed)}}@media (forced-colors:none){.x1xm682w.x1xm682w.x1xm682w:where(.x1iwu4tg:active *):not(#\\#):not(#\\#):not(#\\#){background-image:linear-gradient(var(--color-overlay-pressed),var(--color-overlay-pressed))}}@supports (animation-timeline:view()){@media (prefers-reduced-motion:reduce){.x1pljy2o.x1pljy2o.x1pljy2o:not(#\\#):not(#\\#):not(#\\#){animation-name:none}.xk3h8ob.xk3h8ob.xk3h8ob:not(#\\#):not(#\\#):not(#\\#){animation-name:xuvekqa-B}}}@supports (-webkit-touch-callout:none){@media (pointer:coarse){.xf9zqsd.xf9zqsd.xf9zqsd:not(#\\#):not(#\\#):not(#\\#){font-size:max(1rem,var(--text-body-size))}.x1w61h2b.x1w61h2b.x1w61h2b:not(#\\#):not(#\\#):not(#\\#){font-size:max(1rem,var(--text-label-size))}}}@media (prefers-reduced-motion:reduce){.x1a94pi7.x1a94pi7:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){animation-name:xml828b-B}}@media (hover:hover){.xvxo0qp.xvxo0qp.xvxo0qp:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){background-color:color-mix(in srgb,var(--color-accent),var(--color-tint-hover) 15%)}}@media (forced-colors:active){.xjzh4q2.xjzh4q2[aria-pressed=true]:not(#\\#):not(#\\#):not(#\\#){background-color:highlight}}@media (hover:hover){.x1pfkqlk.x1pfkqlk.x1pfkqlk:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){background-color:#0000}.x17hk9mh.x17hk9mh.x17hk9mh:active:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){background-color:var(--_menu-row-active-paint,var(--color-overlay-pressed))}.xcu6dpe.xcu6dpe.xcu6dpe:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-neutral)}.xoevpu5.xoevpu5.xoevpu5:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-overlay-hover)}.xmvprkv.xmvprkv.xmvprkv:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){background-image:linear-gradient(var(--color-overlay-hover),var(--color-overlay-hover))}.x1bm8j9m.x1bm8j9m.x1bm8j9m:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){background-image:none}}@media (pointer:coarse){.x1xp12g4.x1xp12g4.x1xp12g4:where(.x1u3b27q[data-astryx-press=fading] *):not(#\\#):not(#\\#):not(#\\#),.x80uhwv.x80uhwv.x80uhwv:where(.x1u3b27q[data-astryx-press=on] *):not(#\\#):not(#\\#):not(#\\#){background-image:var(--_press-paint-image)}}@media (hover:hover){.x1telqz2.x1telqz2.x1telqz2:hover:not(:focus-within):where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#),.x1v5wwkd.x1v5wwkd.x1v5wwkd:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--color-accent) 20%,transparent)}.x1xqjsvb.x1xqjsvb.x1xqjsvb:hover:not(:focus-within):where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--color-border-emphasized) 30%,transparent)}.x1s17dad.x1s17dad.x1s17dad:hover:not(:focus-within):where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){box-shadow:none}.x1bgmis8.x1bgmis8.x1bgmis8:hover:not(:focus-within):where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){box-shadow:var(--shadow-inset-error)}.x8wp45d.x8wp45d.x8wp45d:hover:not(:focus-within):where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){box-shadow:var(--shadow-inset-success)}.x9156jc.x9156jc.x9156jc:hover:not(:focus-within):where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){box-shadow:var(--shadow-inset-warning)}.x1ymidup.x1ymidup.x1ymidup:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){box-shadow:var(--shadow-med)}.xcunlro.xcunlro.xcunlro:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){color:color-mix(in srgb,var(--color-text-primary),var(--color-tint-hover) 15%)}.x7jm8ul.x7jm8ul.x7jm8ul:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){color:color-mix(in srgb,var(--color-text-secondary),var(--color-tint-hover) 15%)}}@media (forced-colors:active){.xhp0glu.xhp0glu[aria-pressed=true]:not(#\\#):not(#\\#):not(#\\#){color:highlighttext}}@media (hover:hover){.x10ue8fs.x10ue8fs.x10ue8fs:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){color:var(--color-icon-primary)}.xo5jvnm.xo5jvnm.xo5jvnm:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){color:var(--color-text-primary)}.xg8kd7y.xg8kd7y.xg8kd7y:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){color:var(--link-hover-color,color-mix(in srgb,var(--color-text-accent),var(--color-tint-hover) 15%))}}@media (pointer:coarse){.xrqzsdu.xrqzsdu:is([data-astryx-press=on],[data-astryx-press=fading]):not(#\\#):not(#\\#):not(#\\#){isolation:auto}.xif6eam.xif6eam:is([data-astryx-press=on],[data-astryx-press=fading]):not(#\\#):not(#\\#):not(#\\#){isolation:isolate}.x3eit0z.x3eit0z:focus-visible:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:none;mask-image:none}.x1pxz8w1.x1pxz8w1:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#){transform:none}}@media ((pointer:coarse) and (not (prefers-reduced-motion:reduce)) and (not (prefers-reduced-motion:reduce))) or ((pointer:coarse) and (not (prefers-reduced-motion:reduce)) and ((pointer:coarse))) or ((pointer:coarse) and (not (pointer:coarse)) and (not (prefers-reduced-motion:reduce))) or ((pointer:coarse) and (not (pointer:coarse)) and ((pointer:coarse))){.x1pcrg6r.x1pcrg6r.x1pcrg6r:active:where(:not(:disabled,[aria-disabled=true],[aria-expanded=true][aria-haspopup]:not([aria-haspopup=false]))):not(#\\#):not(#\\#):not(#\\#){transform:scale(1)}}@media ((prefers-reduced-motion:reduce) and (pointer:coarse) and (not (prefers-reduced-motion:reduce))) or ((prefers-reduced-motion:reduce) and (pointer:coarse) and ((pointer:coarse))){.xhr8rl2.xhr8rl2.xhr8rl2:active:where(:not(:disabled,[aria-disabled=true],[aria-expanded=true][aria-haspopup]:not([aria-haspopup=false]))):not(#\\#):not(#\\#):not(#\\#){transform:scale(1)}}@media (pointer:coarse){.x182m0z6.x182m0z6:active:not(:has([aria-expanded=true])):not(#\\#):not(#\\#):not(#\\#){transform:scale(1)}}@media (prefers-reduced-motion:reduce) and (not (pointer:coarse)){.x1ua7476.x1ua7476.x1ua7476:active:where(:not(:disabled,[aria-disabled=true],[aria-expanded=true][aria-haspopup]:not([aria-haspopup=false]))):not(#\\#):not(#\\#):not(#\\#){transform:scale(1)}}@media (pointer:coarse){.x1mrddfy.x1mrddfy:is([data-astryx-press=on],[data-astryx-press=fading]):not(#\\#):not(#\\#):not(#\\#){will-change:transform}}.x1gmmbal.x1gmmbal:active:not(:first-child):where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){box-shadow:0 calc(-1 * var(--border-width)) 0 0 var(--color-overlay-pressed),var(--_travelling-surface,0 0 transparent)}@media (pointer:coarse){.x130plbu.x130plbu:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:linear-gradient(to left,transparent var(--_scroll-fade-start-0),black var(--_scroll-fade-start-1),black calc(100% - var(--_scroll-fade-end-1)),transparent calc(100% - var(--_scroll-fade-end-0)));mask-image:linear-gradient(to left,transparent var(--_scroll-fade-start-0),black var(--_scroll-fade-start-1),black calc(100% - var(--_scroll-fade-end-1)),transparent calc(100% - var(--_scroll-fade-end-0)))}}@media (forced-colors:active){.xjml3p3.xjml3p3:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:none;mask-image:none}.x1xwfpud.x1xwfpud:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):not(#\\#):not(#\\#):not(#\\#){transform:none}}@media (pointer:coarse) and (not (forced-colors:active)){.x1rvio82.x1rvio82:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):not(#\\#):not(#\\#):not(#\\#){transform:translateX(calc(min(calc(100% - var(--_progress-bar-fill,0%)),calc(100% - var(--_progress-bar-min,0px))) - var(--_progress-bar-flip,0) * .01px))}}@media (forced-colors:active){.x1jd14un.x1jd14un:first-child:not(#\\#):not(#\\#):not(#\\#){border-inline-start-style:solid}.xnvtw6h.xnvtw6h:first-child:not(#\\#):not(#\\#):not(#\\#){border-inline-start-width:1px}.xcy1b24.xcy1b24:nth-last-child(1 of :not([popover]):not(template):not(dialog)):not(#\\#):not(#\\#):not(#\\#){border-inline-end-color:buttontext}.x1nw5ucf.x1nw5ucf:nth-last-child(1 of :not([popover]):not(template):not(dialog)):not(#\\#):not(#\\#):not(#\\#){border-inline-end-color:canvastext}.x1nzwmfm.x1nzwmfm:nth-last-child(1 of :not([popover]):not(template):not(dialog)):not(#\\#):not(#\\#):not(#\\#){border-inline-end-style:solid}.x1s1fdp0.x1s1fdp0:nth-last-child(1 of :not([popover]):not(template):not(dialog)):not(#\\#):not(#\\#):not(#\\#){border-inline-end-width:1px}}@media (pointer:coarse){.x465lc8.x465lc8:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):focus-visible:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:none;mask-image:none}}@container (width<=399px){.x1alyx8p.x1alyx8p:not(#\\#):not(#\\#):not(#\\#){flex-wrap:wrap}}@media (forced-colors:active){.x1vo6n7o.x1vo6n7o:active:not(#\\#):not(#\\#):not(#\\#){background-color:highlight}}@media (hover:hover){.x1otsd3y.x1otsd3y.x1otsd3y:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){background-image:linear-gradient(var(--color-overlay-hover),var(--color-overlay-hover)),linear-gradient(var(--color-neutral),var(--color-neutral))}}@media (pointer:coarse){@media (forced-colors:active){.xn6jknh.xn6jknh.xn6jknh:not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:none;mask-image:none}}}@media (prefers-reduced-motion:reduce){@media (pointer:coarse){.x1qzunnh.x1qzunnh.x1qzunnh:not(#\\#):not(#\\#):not(#\\#){transition-duration:10ms,.2s}}}@media (forced-colors:active){@media ((pointer:coarse) and (not (prefers-reduced-motion:reduce)) and (not (prefers-reduced-motion:reduce))) or ((pointer:coarse) and (not (prefers-reduced-motion:reduce)) and (not (pointer:coarse))) or ((pointer:coarse) and ((pointer:coarse)) and (not (prefers-reduced-motion:reduce))) or ((pointer:coarse) and ((pointer:coarse)) and (not (pointer:coarse))){.x11y4s09.x11y4s09.x11y4s09:not(#\\#):not(#\\#):not(#\\#){transition-duration:0s}}}@media (pointer:coarse){.x1s5nr2v.x1s5nr2v.x1s5nr2v:active:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){background-color:#0000}}@media (hover:hover){.xprvw0a.xprvw0a.xprvw0a:active:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-overlay-pressed)}}@media (pointer:coarse){.xvbnuu.xvbnuu.xvbnuu:active:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){background-image:linear-gradient(var(--color-neutral),var(--color-neutral))}}@media (hover:hover){.xo3fi6e.xo3fi6e.xo3fi6e:active:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){background-image:linear-gradient(var(--color-overlay-pressed),var(--color-overlay-pressed)),linear-gradient(var(--color-neutral),var(--color-neutral))}.xetgvay.xetgvay.xetgvay:active:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){background-image:linear-gradient(var(--color-overlay-pressed),var(--color-overlay-pressed))}}@media (pointer:coarse){.x3f84ok.x3f84ok.x3f84ok:active:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){background-image:none}}@media (hover:hover){.xv3779j.xv3779j.xv3779j:hover:not(:first-child):where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){box-shadow:0 calc(-1 * var(--border-width)) 0 0 var(--color-overlay-hover),var(--_travelling-surface,0 0 transparent)}}@media (pointer:coarse){@media (forced-colors:none){.xowtp19.xowtp19.xowtp19.xowtp19:where(.x1iwu4tg:active *):not(#\\#):not(#\\#):not(#\\#){background-image:none}}}@media (hover:hover){@media (forced-colors:active){.x1d42zcn.x1d42zcn.x1d42zcn.x1d42zcn:hover:where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){background-color:highlight}}.xrpmvov.xrpmvov.xrpmvov:active:not(:first-child):where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){box-shadow:0 calc(-1 * var(--border-width)) 0 0 var(--color-overlay-pressed),var(--_travelling-surface,0 0 transparent)}}@media (pointer:coarse){.xnwmnb6.xnwmnb6.xnwmnb6:active:not(:first-child):where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#){box-shadow:var(--_travelling-surface,none)}@media (forced-colors:active){.x1o7cvts.x1o7cvts.x1o7cvts:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):not(#\\#):not(#\\#):not(#\\#){-webkit-mask-image:none;mask-image:none}}}.x1gu98mf:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-color:var(--_table-panel-divider-color,var(--color-border))}.xib2hle:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-color:var(--color-border-emphasized)}.xw8gpjh:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-color:var(--color-border)}.x1q0q8m5:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-style:solid}.xytfs1h:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-style:var(--_table-panel-divider-style,solid)}.x1qhh985:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-width:0}.xso031l:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-width:1px}.xlxy82:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-width:2px}.xkm11vt:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-width:var(--_table-panel-divider-width,var(--border-width))}.x92x3c3:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-width:var(--border-width)}.x1mly77v:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-top-color:var(--color-border-emphasized)}.x1pc3f07:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-top-color:var(--color-border)}.x11npmm7:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-top-color:var(--color-on-accent)}.x13fuv20:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-top-style:solid}.x178xt8z:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-top-width:1px}.x11xkdxz:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-top-width:var(--border-width)}.x1ey2m1c:not(#\\#):not(#\\#):not(#\\#):not(#\\#){bottom:0}.x1c7jfne:not(#\\#):not(#\\#):not(#\\#):not(#\\#){bottom:2px}.xdd4er5:not(#\\#):not(#\\#):not(#\\#):not(#\\#){bottom:auto}.xbmjlmh:not(#\\#):not(#\\#):not(#\\#):not(#\\#){bottom:calc(anchor(inside) + var(--_astryx-layer-lift,0px))}.x1dkbz8d:not(#\\#):not(#\\#):not(#\\#):not(#\\#){bottom:calc(anchor(outside) + var(--_astryx-layer-lift,0px))}.x1lalo65:not(#\\#):not(#\\#):not(#\\#):not(#\\#){bottom:calc(max(calc(var(--spacing-4) + max(var(--astryx-layer-inset-block-start,0px), var(--astryx-layer-inset-block-end,0px))),anchor(inside)) + var(--_astryx-layer-lift,0px));bottom:calc(max(calc(max(var(--spacing-4), env(safe-area-inset-top,0px), env(safe-area-inset-bottom,0px)) + max(var(--astryx-layer-inset-block-start,0px), var(--astryx-layer-inset-block-end,0px))),anchor(inside)) + var(--_astryx-layer-lift,0px))}.x1ihzn68:not(#\\#):not(#\\#):not(#\\#):not(#\\#){bottom:calc(var(--_astryx-layer-lift,0px))}.x9lp3we:not(#\\#):not(#\\#):not(#\\#):not(#\\#){bottom:calc(var(--_slider-progress) * (100cqb - 20px))}.xyi47jn:not(#\\#):not(#\\#):not(#\\#):not(#\\#){bottom:var(--_tab-indicator-bottom,-1px)}.xvxfwfv:not(#\\#):not(#\\#):not(#\\#):not(#\\#){bottom:var(--astryx-layer-inset-block-end,0px)}.x112dmjn:not(#\\#):not(#\\#):not(#\\#):not(#\\#){bottom:var(--spacing-1)}.x1nqzi6q:not(#\\#):not(#\\#):not(#\\#):not(#\\#){bottom:var(--x-bottom)}.xvle69y:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:.75rem}.xqtp20y:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:0}.xmll18r:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:1.25rem}.xam5rvr:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:1.5rem}.x5yr21d:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:100%}.xtdtrs8:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:100dvh}.xpyat2d:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:100px}.x1gvbg2u:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:100dvh}.x1wkxgih:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:120px}.x1kpxq89:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:12px}.xhjk10j:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:140px}.x1v9usgg:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:14px}.x1ymw6g:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:160px}.xlup9mm:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:16px}.xmix8c7:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:18px}.xlzyvqe:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:1em}.xg2ss61:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:1lh}.xjm9jq1:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:1px}.x1l36t39:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:1rem}.x1qx5ct2:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:20px}.x1u5z0ei:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:240px}.xxk0z11:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:24px}.x1fgtraw:not(#\\#):not(#\\#):not(#\\#):not(#\\#),.x6hpsvf:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:28px}.x36qwtl:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:2px}.x10w6t97:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:32px}.xuoj239:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:3px}.x1vqgdyp:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:40px}.xsdox4t:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:48px}.xqu0tyb:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:4px}.xols6we:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:6px}.xwzfr38:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:80px}.xdk7pt:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:8px}.x1qjb5ga:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:anchor-size(--outline-active height,0px)}.xt7dq6l:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:auto}.x1hjxuft:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc((100% + 2 * var(--border-width)) * 10 / 24)}.xk0hz3e:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc((100% + 2 * var(--border-width)) * 12 / 20)}.xf5mu3m:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc((100% + 2 * var(--border-width)) * 14 / 24)}.x1cgj10n:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc((100% + 2 * var(--border-width)) * 8 / 20)}.xuk38ov:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(100% - var(--tree-list-row-gap,0px) / 2)}.xs02d24:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(100% + 1px)}.xzymg9v:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(100% + var(--_table-bleed-block-start) + var(--_table-bleed-block-end))}.x12qplqi:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(100% + var(--container-padding-block-start,0px) + var(--container-padding-block-end,0px))}.xpa73km:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(100dvh - var(--_app-shell-header-height,0px))}.xuhift9:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(1em * var(--text-body-leading))}.xlgwz2i:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(2 * var(--spacing-3) + var(--text-code-size) * var(--text-code-leading))}.x166xdbf:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(2 * var(--spacing-3) + var(--text-supporting-size) * var(--text-code-leading))}.xw1wawg:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:36px}.xm8gem:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:264px}.x1fqcpoh:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--_sheet-budget) + var(--_sheet-reserve,48px))}.x1uiybsj:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--size-element-lg) - 4px)}.x102lyln:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--size-element-lg) - 8px)}.x184gfjb:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--size-element-md) - 4px)}.xrmxcn7:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--size-element-md) - 8px)}.x1u5rhrp:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--size-element-md) + var(--spacing-1))}.xzj98nu:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--size-element-sm) - 4px)}.xzydfjl:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--size-element-sm) - 8px)}.xdvjn3b:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--spacing-2) + 2lh)}.xdya1qv:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--table-resize-height,100%) - var(--table-resize-offset,0px))}.x1mutkkf:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--text-body-size) * var(--text-body-leading));height:1lh}.x1q370uo:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--text-body-size) * var(--text-body-leading))}.x14o5nre:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(var(--text-supporting-size) * var(--text-supporting-leading))}.xg7h5cd:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:fit-content}.xbswrv2:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:max(var(--size-element-lg),1lh)}.xyh7n01:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:max(var(--size-element-lg),calc(var(--text-body-size) * var(--text-body-leading) + 2 * var(--border-width)))}.x11l75t8:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:max(var(--size-element-md),1lh)}.x1qa3r4f:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:max(var(--size-element-md),calc(var(--text-body-size) * var(--text-body-leading) + 2 * var(--border-width)))}.x7xd7g3:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:max(var(--size-element-sm),1lh)}.x1ij70fj:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:max(var(--size-element-sm),calc(var(--text-body-size) * var(--text-body-leading) + 2 * var(--border-width)))}.xcuarzx:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:min(var(--resize-handle-hit-area,16px),50%)}.x1tvnn7s:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:min(var(--spacing-4),100%)}.xsbjeu0:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:min(var(--spacing-6),40px)}.x89eeu2:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--_icon-height,.75rem)}.x1jxzzob:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--_icon-height,1.25rem)}.xol4r8t:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--_icon-height,1.5rem)}.x14eyxzr:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--_icon-height,1rem)}.xhovv34:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--_progressbar-mark-height,8px)}.x7yyq19:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--_spinner-box-size)}.xic3na1:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--_switch-thumb-height,14px)}.xpg3hxr:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--_switch-thumb-height,16px)}.xnu8iqd:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--_switch-thumb-height,20px)}.xsyqizj:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--border-width)}.x5kfih4:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--resize-handle-hit-area,16px)}.xssyfek:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--size-element-lg)}.x1ueg155:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--size-element-md)}.x6k0iem:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--size-element-sm)}.x1b2l0oc:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--spacing-0-5)}.xcenk2v:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--spacing-1-5)}.x11c6zpc:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--spacing-1)}.x1k15mir:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--spacing-12)}.xoqw5ej:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--spacing-2)}.x9gl9lo:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--spacing-3)}.x6b6gus:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--spacing-4)}.x1grt7ep:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--spacing-5)}.xvpftlf:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--spacing-6)}.x18to7ep:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--spacing-8)}.x1seg80s:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--text-large-size)}.x15rwvks:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--text-supporting-size)}.x16ye13r:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:var(--x-height)}.x1nrll8i:not(#\\#):not(#\\#):not(#\\#):not(#\\#){left:50%}.x1jyxor1:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:-1px}.xat24cr:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:0}.xlgak1e:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:calc(-1 * (max(var(--_tab-strip-bleed),calc(-1 * var(--_tab-indicator-bottom,-1px)))))}.x15m7wne:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:calc(-1 * var(--_chat-composer-radius,var(--radius-chat)))}.x1z0f2p2:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:calc(-1 * var(--_chat-composer-radius))}.xgwt18o:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:calc(-1 * var(--_sheet-reserve,48px))}.x13i4uq0:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:calc(-1 * var(--astryx-number-input-padding-block-end,var(--astryx-number-input-padding,var(--spacing-1))))}.xmtqr6q:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:calc(-1 * var(--border-width))}.x6h7pi7:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:calc(-1 * var(--container-padding-block-end,0px))}.xdrfirk:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:calc(-1 * var(--spacing-1-5))}.x3z50q0:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:calc(calc(var(--spacing-4) + max(var(--astryx-layer-inset-block-start,0px), var(--astryx-layer-inset-block-end,0px))));margin-bottom:calc(calc(max(var(--spacing-4), env(safe-area-inset-top,0px), env(safe-area-inset-bottom,0px)) + max(var(--astryx-layer-inset-block-start,0px), var(--astryx-layer-inset-block-end,0px))))}.x119uzjn:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:calc(max(var(--spacing-4), env(safe-area-inset-top,0px), env(safe-area-inset-bottom,0px)) + max(var(--astryx-layer-inset-block-start,0px), var(--astryx-layer-inset-block-end,0px)))}.xlstkdb:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:var(--spacing-0-5)}.x14cgwvg:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:var(--spacing-1)}.x1p37lm5:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:var(--spacing-2)}.xep27e5:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:var(--spacing-3)}.xwh1t77:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:var(--spacing-4)}.x4d5cxa:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:var(--spacing-6)}.xlm3tn6:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:var(--x-marginBlockEnd)}.xdj266r:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:0}.xr1yuqi:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:auto}.xmqyaqf:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:calc(-1 * (var(--_tab-strip-bleed)))}.xvyqdj1:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:calc(-1 * anchor-size(height) - 8px)}.xckg3cf:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:calc(-1 * var(--_chat-composer-radius))}.x3dbumh:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:calc(-1 * var(--_field-status-overlap,var(--spacing-1-5)))}.x5j3pgv:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:calc(-1 * var(--astryx-number-input-padding-block-start,var(--astryx-number-input-padding,var(--spacing-1))))}.x1sa9bsh:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:calc(-1 * var(--container-padding-block-start,0px))}.x1c40v9y:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:calc(-1 * var(--spacing-1-5))}.x1ajqlyv:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:calc(-1 * var(--spacing-2))}.x17ugjqu:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:calc(-1 * var(--spacing-6))}.x1233pnv:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:calc((1em * var(--text-body-leading) - 6px) / 2)}.x5a2k6a:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:calc((var(--text-body-leading) - 28px) / 2)}.x1j6tnbc:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:calc(calc(var(--spacing-4) + max(var(--astryx-layer-inset-block-start,0px), var(--astryx-layer-inset-block-end,0px))));margin-top:calc(calc(max(var(--spacing-4), env(safe-area-inset-top,0px), env(safe-area-inset-bottom,0px)) + max(var(--astryx-layer-inset-block-start,0px), var(--astryx-layer-inset-block-end,0px))))}.x1lhixnp:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:calc(max(var(--spacing-4), env(safe-area-inset-top,0px), env(safe-area-inset-bottom,0px)) + max(var(--astryx-layer-inset-block-start,0px), var(--astryx-layer-inset-block-end,0px)))}.xb1t4hs:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:var(--_chat-avatar-offset)}.xjc2qm6:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:var(--spacing-0-5)}.xcsaf9d:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:var(--spacing-1)}.xtbrsbv:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:var(--spacing-2)}.xj6sv8s:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:var(--spacing-3)}.x1s1qpeq:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:var(--spacing-4)}.x13rv44w:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:var(--spacing-6)}.x1vhfslr:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:var(--x-marginBlockStart)}.x5rbrar:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-height:-webkit-fill-available;max-height:stretch}.xmz0i5r:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-height:100%}.x1wj9ous:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-height:100dvh}.x18s7i0i:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-height:176px}.x1xiyphd:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-height:240px}.xuyqlj2:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-height:300px}.x9szg3b:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-height:calc(60dvh - var(--spacing-3) - env(safe-area-inset-bottom,0px))}.xkche18:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-height:calc(92dvh + var(--_sheet-reserve,48px))}.x3v4n1:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-height:calc(min(calc(100vh - var(--spacing-4) - var(--spacing-4) - var(--astryx-layer-inset-block-start,0px) - var(--astryx-layer-inset-block-end,0px)), var(--_layer-keyboard-max-block-size,100vh)));max-height:calc(min(calc(100dvb - calc(max(var(--spacing-4), env(safe-area-inset-top,0px)) + var(--astryx-layer-inset-block-start,0px)) - calc(max(var(--spacing-4), env(safe-area-inset-bottom,0px)) + var(--astryx-layer-inset-block-end,0px))), var(--_layer-keyboard-max-block-size,100dvb)))}.x1uh1i8a:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-height:min(300px,min(calc(100vh - var(--spacing-4) - var(--spacing-4) - var(--astryx-layer-inset-block-start,0px) - var(--astryx-layer-inset-block-end,0px)), var(--_layer-keyboard-max-block-size,100vh)));max-height:min(300px,min(calc(100dvb - calc(max(var(--spacing-4), env(safe-area-inset-top,0px)) + var(--astryx-layer-inset-block-start,0px)) - calc(max(var(--spacing-4), env(safe-area-inset-bottom,0px)) + var(--astryx-layer-inset-block-end,0px))), var(--_layer-keyboard-max-block-size,100dvb)))}.xa1agwl:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-height:min(480px,min(calc(100vh - var(--spacing-4) - var(--spacing-4) - var(--astryx-layer-inset-block-start,0px) - var(--astryx-layer-inset-block-end,0px)), var(--_layer-keyboard-max-block-size,100vh)));max-height:min(480px,min(calc(100dvb - calc(max(var(--spacing-4), env(safe-area-inset-top,0px)) + var(--astryx-layer-inset-block-start,0px)) - calc(max(var(--spacing-4), env(safe-area-inset-bottom,0px)) + var(--astryx-layer-inset-block-end,0px))), var(--_layer-keyboard-max-block-size,100dvb)))}.x7ab17h:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-height:none}.xenllk4:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-height:var(--container-max-height,none)}.xbmfmqd:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-height:var(--x-maxBlockSize)}.x1jols5v:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-height:var(--x-maxHeight)}.x1m189uc:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:0}.x193iq5w:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:100%}.xlbgzzq:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:100dvw}.x55n99s:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:15em}.x1ncir08:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:200px}.xw5ewwj:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:300px}.xxc7z9f:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:360px}.x1j9u4d2:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:400px}.x17fpy1y:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:480px}.xrlsmeg:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:600px}.x11gisft:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:640px}.x1ap80js:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:800px}.x1jrhgas:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:85vw}.xq8v1hd:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:90%}.x1t6qtqz:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:calc(100% + var(--_table-header-end-room,0px))}.x1rfgw7b:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:calc(100% + var(--container-padding-inline-start,0px) + var(--container-padding-inline-end,0px))}.xc0b1yq:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:calc(calc(100vw - var(--spacing-4) - var(--spacing-4) - var(--astryx-layer-inset-inline-start,0px) - var(--astryx-layer-inset-inline-end,0px)));max-width:calc(calc(100vi - calc(max(var(--spacing-4), env(safe-area-inset-left,0px)) + var(--astryx-layer-inset-inline-start,0px)) - calc(max(var(--spacing-4), env(safe-area-inset-right,0px)) + var(--astryx-layer-inset-inline-end,0px))))}.x1t8xbu:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:max-content}.xl6temz:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:max(80%,280px)}.x1m1aaou:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:min(960px,calc(100dvw - var(--spacing-4)))}.x1x1rfll:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:none}.xjl2t3p:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:var(--layout-content-width,none)}.x1jys5uj:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:var(--size-element-md)}.xf68679:not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:var(--x-maxWidth)}.x2lwn1j:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:0}.x1us19tq:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:100%}.x1ov3xa9:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:100dvh}.xg6iff7:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:100vh}.x1tn5z8q:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:1lh}.xz65tgg:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:200px}.xisnujt:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:20px}.xe0957l:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:22px}.xjwf9q1:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:24px}.xe0p6wg:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:28px}.x21xpn4:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:32px}.x1dg37ty:not(#\\#):not(#\\#):not(#\\#):not(#\\#),.x1gg8mnh:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:44px}.x1lh6h5t:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:fit-content}.x1xf4nls:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:var(--size-element-lg)}.x1uogy3y:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:var(--size-element-md)}.x1gdqauq:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:var(--size-element-sm)}.x3unnv6:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:var(--spacing-12)}.x175cymr:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:var(--spacing-2)}.ximsjs8:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:var(--spacing-7)}.xkoleio:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:var(--spacing-8)}.x82snj4:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:var(--x-minHeight)}.x9qo7ot:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:fit-content}.xeuugli:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:0}.xgqtt45:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:100%}.x1i9suas:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:120px}.x1d77m7x:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:140px}.x1b27s9g:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:160px;min-width:min(160px,calc(100vw - var(--spacing-4) - var(--spacing-4) - var(--astryx-layer-inset-inline-start,0px) - var(--astryx-layer-inset-inline-end,0px)));min-width:min(160px,calc(100vi - calc(max(var(--spacing-4), env(safe-area-inset-left,0px)) + var(--astryx-layer-inset-inline-start,0px)) - calc(max(var(--spacing-4), env(safe-area-inset-right,0px)) + var(--astryx-layer-inset-inline-end,0px))))}.x5w4yej:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:160px}.xfb3i0g:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:180px}.xgomdpo:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:1rem}.x1jzhcrs:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:200px}.xt4ypqs:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:20px}.x12rczxh:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:220px}.xlm99nl:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:240px}.x1u2d2a2:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:280px}.x1fns5xo:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:40px}.x1tutbut:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:44px}.x900493:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:48px}.x13n9wmd:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:4ch}.xfvyar9:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:60px}.x187xtus:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:72px}.xviorkc:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:anchor-size(width);min-width:min(anchor-size(width),calc(100vw - var(--spacing-4) - var(--spacing-4) - var(--astryx-layer-inset-inline-start,0px) - var(--astryx-layer-inset-inline-end,0px)));min-width:min(anchor-size(width),calc(100vi - calc(max(var(--spacing-4), env(safe-area-inset-left,0px)) + var(--astryx-layer-inset-inline-start,0px)) - calc(max(var(--spacing-4), env(safe-area-inset-right,0px)) + var(--astryx-layer-inset-inline-end,0px))))}.xrzjruh:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:anchor-size(width)}.x15x72sd:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:auto}.x8wyhu6:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:calc(anchor-size(width) + 16px)}.x1pshirs:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:fit-content}.xk8lq53:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:max-content}.xg3bzn3:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:min(400px,calc(100vw - var(--spacing-4) - var(--spacing-4) - var(--astryx-layer-inset-inline-start,0px) - var(--astryx-layer-inset-inline-end,0px)));min-width:min(400px,calc(100vi - calc(max(var(--spacing-4), env(safe-area-inset-left,0px)) + var(--astryx-layer-inset-inline-start,0px)) - calc(max(var(--spacing-4), env(safe-area-inset-right,0px)) + var(--astryx-layer-inset-inline-end,0px))))}.x17ydmr0:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:var(--size-element-md)}.x1nkkqge:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:var(--size-element-sm)}.x18ki04u:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:var(--spacing-2)}.x1x5mvkz:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:var(--spacing-4)}.x16asifk:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:var(--spacing-5)}.xy8csz5:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:var(--spacing-7)}.xkj4a21:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:var(--x-minWidth)}.xw2csxc:not(#\\#):not(#\\#):not(#\\#):not(#\\#){overflow-x:auto}.x101abm8:not(#\\#):not(#\\#):not(#\\#):not(#\\#){overflow-x:clip}.x6ikm8r:not(#\\#):not(#\\#):not(#\\#):not(#\\#){overflow-x:hidden}.xyto64x:not(#\\#):not(#\\#):not(#\\#):not(#\\#){overflow-x:var(--x-overflowX)}.x1plvlek:not(#\\#):not(#\\#):not(#\\#):not(#\\#){overflow-x:visible}.x1odjw0f:not(#\\#):not(#\\#):not(#\\#):not(#\\#){overflow-y:auto}.x10wlt62:not(#\\#):not(#\\#):not(#\\#):not(#\\#){overflow-y:hidden}.x4ncuvb:not(#\\#):not(#\\#):not(#\\#):not(#\\#){overflow-y:var(--x-overflowY)}.x7p5m3t:not(#\\#):not(#\\#):not(#\\#):not(#\\#){overscroll-behavior-x:contain}.x1e4zzel:not(#\\#):not(#\\#):not(#\\#):not(#\\#){overscroll-behavior-y:contain}.x18d9i69:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:0}.xivesfc:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:1lh}.x1j85h84:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:1px}.x112e6ql:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:calc(4px + var(--text-supporting-size) * var(--text-supporting-leading))}.x5559hn:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:calc(env(safe-area-inset-bottom,0px) + var(--_sheet-reserve,48px))}.x9jihrk:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:calc(var(--_chat-composer-padding) + var(--_chat-composer-radius))}.xvmia7e:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:calc(var(--container-padding-block-end,0px) + env(safe-area-inset-bottom,0px))}.xbv1mwh:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:calc(var(--container-padding-block-end) - var(--border-width))}.x6h9hlj:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:calc(var(--spacing-3) + env(safe-area-inset-bottom,0px))}.xpi83pv:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:calc(var(--spacing-3) + var(--_chat-composer-radius,var(--radius-chat)))}.x1cactam:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:calc(var(--spacing-4) + env(safe-area-inset-bottom,0px))}.xwhchk8:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:max(var(--_tab-strip-bleed),calc(-1 * var(--_tab-indicator-bottom,-1px)))}.xvpcij2:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--_chat-composer-padding)}.x12g7ifj:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--_layout-flush-block-end,var(--layout-padding-inner-y,var(--spacing-4)))}.x1rgxemn:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--astryx-dialog-padding-block-end,var(--astryx-dialog-padding,max(var(--spacing-4),env(safe-area-inset-bottom,0px))))}.x3jnfsm:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--astryx-number-input-padding-block-end,var(--astryx-number-input-padding,var(--spacing-1)))}.xc1wllq:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--container-padding-block-end)}.xg476vw:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--layout-padding-inner-y,var(--spacing-4))}.x1363qu6:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--layout-padding-own-outer-y,var(--layout-padding-outer-y,var(--spacing-4)))}.xij103a:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--spacing-0-5)}.x1l20ajd:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--spacing-0)}.x1opdxmq:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--spacing-1-5)}.xy143xn:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--spacing-1)}.x2izi54:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--spacing-10)}.x1wesfrj:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--spacing-2)}.xvmdzux:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--spacing-3)}.x1awphl8:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--spacing-4)}.x1hk98q:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--spacing-5)}.xjpqqx5:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--spacing-6)}.xekm6fs:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--spacing-7)}.x2oz4g1:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--spacing-8)}.xdz27ya:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:var(--x-paddingBlockEnd)}.xexx8yu:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:0}.x1htvmrp:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:calc(var(--_chat-composer-padding) + var(--_chat-composer-radius))}.xdgtoc0:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:calc(var(--_field-status-overlap,var(--spacing-1-5)) + var(--spacing-2))}.x1enrzb7:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:calc(var(--border-width) + var(--spacing-1))}.x1bwh7i5:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:calc(var(--container-padding-block-start,0px) + var(--spacing-6))}.x1nex4ik:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:calc(var(--container-padding-block-start) - var(--border-width))}.x1mrd0q:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:env(safe-area-inset-top,0px)}.x1vjezoa:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:max(var(--spacing-4),env(safe-area-inset-top,0px))}.x2gtn7z:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--_chat-composer-padding)}.x1q01h0h:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--_layout-flush-block-start,var(--layout-padding-inner-y,var(--spacing-4)))}.xlr2r7p:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--_tab-strip-bleed)}.x15ld1ci:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--astryx-dialog-padding-block-start,var(--astryx-dialog-padding,max(var(--spacing-4),env(safe-area-inset-top,0px))))}.x4kswst:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--astryx-number-input-padding-block-start,var(--astryx-number-input-padding,var(--spacing-1)))}.x14m0hsi:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--container-padding-block-start)}.xqty4a:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--layout-padding-inner-y,var(--spacing-4))}.xuqi0w:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--layout-padding-own-outer-y,var(--layout-padding-outer-y,var(--spacing-4)))}.xbx876j:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--spacing-0-5)}.x1ydh6w3:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--spacing-0)}.x1kwdpsa:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--spacing-1-5)}.xfsso4q:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--spacing-1)}.xk6660b:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--spacing-10)}.x1xye8es:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--spacing-2)}.x1vlblms:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--spacing-3)}.x1oa1p4a:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--spacing-4)}.xx7rijo:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--spacing-5)}.x1adxfkp:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--spacing-6)}.xoxd1wu:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--spacing-8)}.x13vifvy:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:0}.xuivejd:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:14px}.xs7f9wi:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:2px}.xwa60dl:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:50%}.x1ltwjim:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:anchor(--outline-active top,0px)}.xs7zcsv:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:calc(0px - var(--_astryx-layer-lift,0px))}.x7rbydg:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:calc(50% - 14px)}.xsf42hv:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:calc(50% - 10px)}.x2tnmsz:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:calc(anchor(inside) - var(--_astryx-layer-lift,0px))}.x11qqqwi:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:calc(anchor(outside) - var(--_astryx-layer-lift,0px))}.x1pex6sq:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:calc(max(calc(var(--spacing-4) + max(var(--astryx-layer-inset-block-start,0px), var(--astryx-layer-inset-block-end,0px))),anchor(inside)) - var(--_astryx-layer-lift,0px));top:calc(max(calc(max(var(--spacing-4), env(safe-area-inset-top,0px), env(safe-area-inset-bottom,0px)) + max(var(--astryx-layer-inset-block-start,0px), var(--astryx-layer-inset-block-end,0px))),anchor(inside)) - var(--_astryx-layer-lift,0px))}.x1oysc8t:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:calc(var(--size-element-lg) / 2 - 1px)}.xkmsrut:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:calc(var(--size-element-md) / 2 - 1px)}.x1968x6z:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:calc(var(--size-element-sm) / 2 - 1px)}.xz44ai8:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:env(safe-area-inset-top,0px)}.xht72ud:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:var(--_app-shell-header-height,0px)}.xawarol:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:var(--astryx-layer-inset-block-start,0px)}.x8d4r5l:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:var(--spacing-1)}.xctzyg:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:var(--spacing-2)}.xyx6v2t:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:var(--spacing-3)}.x5mnzd7:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:var(--x-insetBlockStart)}.xjbys53:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:var(--x-top)}.x1jw3ynk:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:.75rem}.xnalus7:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:0}.xwqq7k2:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:1.25rem}.xp8d6y2:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:1.5rem}.xh8yej3:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:100%}.x1o6l61p:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:100dvw}.xn9wirt:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:100vw}.x6jxa94:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:14px}.x1kky2od:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:16px}.xzjbwwf:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:180px}.x1xp8n7a:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:18px}.x15vhz18:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:1em}.x1i1rx1s:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:1px}.xcdlrvm:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:1rem}.x75ztot:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:200%}.x1oysuqx:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:200px}.xw4jnvo:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:20px}.xafpxmx:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:240px}.xvy4d1p:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:24px}.x1hfn5x7:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:260px}.xgd8bvy:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:28px}.xfo62xy:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:2px}.x1td3qas:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:32px}.x1g8rjiy:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:3px}.xz84dc7:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:40%}.x1l2rt3b:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:400px}.x100vrsf:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:40px}.x51ohtg:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:4px}.x1fu8urw:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:64px}.x1v4s8kt:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:6px}.x1xc55vz:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:8px}.x1xgy17j:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:anchor-size(width)}.x14atkfc:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:auto}.x1p84mop:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:calc((100% + 2 * var(--border-width)) * 10 / 24)}.xcseyog:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:calc((100% + 2 * var(--border-width)) * 12 / 20)}.x81l6rl:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:calc((100% + 2 * var(--border-width)) * 14 / 24)}.xdczmg8:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:calc((100% + 2 * var(--border-width)) * 8 / 20)}.xntxx1p:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:calc((100% + 2 * var(--border-width)) / 2)}.xx6qvi6:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:calc(100% + var(--container-padding-inline-start,0px) + var(--container-padding-inline-end,0px))}.x1y2t9nm:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:36px}.xeq5yr9:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:fit-content}.xezivpi:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:max-content}.x1a4a7d3:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:min(var(--resize-handle-hit-area,16px),50%)}.x5wh7xo:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:min(var(--spacing-4),100%)}.x17cz0of:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:min(var(--spacing-6),40px)}.x13u0t82:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--_icon-width,.75rem)}.x1vvatio:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--_icon-width,1.25rem)}.x1gbskz6:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--_icon-width,1.5rem)}.xomy6nw:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--_icon-width,1rem)}.x63cpjl:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--_progressbar-mark-width,2px)}.x6v0vjy:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--_spinner-box-size)}.xyrsh3w:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--_switch-thumb-width,14px)}.xhxthyc:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--_switch-thumb-width,16px)}.x1adlmfu:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--_switch-thumb-width,20px)}.xjk4fl7:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--border-width)}.xkhob8h:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--resize-handle-hit-area,16px)}.x1m747yf:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--size-element-lg)}.x805d0l:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--size-element-md)}.x1fvqzum:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--size-element-sm)}.x1wu31ai:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--spacing-1-5)}.xx9zwd3:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--spacing-1)}.xhgvbfk:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--spacing-12)}.x1f0dxl5:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--spacing-2)}.x1ad1g3v:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--spacing-3)}.x12xnipv:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--spacing-4)}.xfyiiit:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--spacing-5)}.x1mtvzj0:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--spacing-6)}.xgc8j7m:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--spacing-8)}.xta46cu:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--text-large-size)}.x5livx5:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--text-supporting-size)}.x11ymkkh:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--x-1xmrurk)}.x1uyokj7:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--x-inlineSize)}.x5lhr3w:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--x-width)}.x1wp2rvj.x1wp2rvj:where(.x139im0d:last-child *):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-width:0}@supports (width:round(1px, 1px)){.xgunu6i.xgunu6i:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:round(calc((100% + 2 * var(--border-width)) * 10 / 24),1px)}.x1drbojm.x1drbojm:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:round(calc((100% + 2 * var(--border-width)) * 8 / 20),1px)}.x11cc87d.x11cc87d:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:round(calc((100% + 2 * var(--border-width)) * 10 / 24),1px)}.xc1fy2.xc1fy2:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:round(calc((100% + 2 * var(--border-width)) * 8 / 20),1px)}}.x1bougdg.x1bougdg:where(.x139im0d[data-table-final-row=true] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#),.x1tnk5uh.x1tnk5uh:where(.x139im0d:last-child:not([data-table-final-row=false]) *):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-width:0}.x1m6kvgq:not([stylex-hack])>:not(#\\#):not(#\\#):not(#\\#):not(#\\#),.x1y436bp.x1y436bp:where(.astryx-input-group>[data-astryx-input-group-item]):not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:100%}.x132qfvm:focus-within:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:auto}.xcfsnm0:placeholder-shown:is(:not(:focus),:read-only):not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:0}.x1hag6py:placeholder-shown:focus:not(:read-only):not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:calc(calc(var(--spacing-2) - var(--spacing-1) + 1px) + 2px)}.x1kw28su:focus-within:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-top:var(--spacing-1)}.xyz6fim:not([stylex-hack])>:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:100%}.x10okhzq:focus-within:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:auto}.xzzx6db:has([role=radio]:not([aria-label])):not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:100%}.xnpzo02:has(>div>.astryx-layout-content):not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:none}.xpgkkid:has(>.astryx-layout-content):not(#\\#):not(#\\#):not(#\\#):not(#\\#){max-width:none}.xmzx3xy:has([role=radio]:not([aria-label])):not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:0}.xzv2tkz:has(>.astryx-overflow-list):not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:0}.x1d9v4yf:first-child:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-top-style:none}.x1g31smg:first-child:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-top-width:0}.xxlrtwf:first-child:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:calc(-1 * var(--_container-bleed-block-start,0px))}.xkibk3:first-child:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:calc(-1 * var(--container-padding-block-start,0px))}.x1vjq31q:first-child:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:0}.x1t1lzn6:last-child:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-width:0}.x1ddsecl:last-child:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:calc(-1 * var(--_container-bleed-block-end,0px))}.xlayyun:last-child:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-bottom:calc(-1 * var(--container-padding-block-end,0px))}.xup0pd7:last-child:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:0}.x15cytp8:focus:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:auto}.x65r4up:focus:not(#\\#):not(#\\#):not(#\\#):not(#\\#){margin-top:var(--spacing-3)}.x1rw3289:focus:not(#\\#):not(#\\#):not(#\\#):not(#\\#){top:var(--spacing-2)}.x1jqxupm:focus:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:auto}.xjkv29o:focus:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:fit-content}@media (forced-colors:active){.xaj2e6u.xaj2e6u:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-color:buttontext}.xszdk7l.xszdk7l:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-color:canvastext}.xe3zi7u.xe3zi7u:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-style:solid}.x15anc7y.x15anc7y:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-width:1px}.xnvbotg.xnvbotg:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-top-color:buttontext}.x19dwuzr.x19dwuzr:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-top-color:canvastext}.x4z998w.x4z998w:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-top-style:solid}.x1lym3mf.x1lym3mf:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-top-width:1px}}@media (any-pointer:coarse){.x1d3wnk4.x1d3wnk4:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:24px}}@media (pointer:coarse){.xgjkl26.xgjkl26:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(100% + var(--astryx-hit-inset-top,0px) + var(--astryx-hit-inset-bottom,0px))}.x80b3aj.x80b3aj:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:24px}.x17aqpur.x17aqpur:not(#\\#):not(#\\#):not(#\\#):not(#\\#),.xygd9yz.xygd9yz:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-height:44px}.xkagaj0.xkagaj0:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:24px}.x1xrq5m.x1xrq5m:not(#\\#):not(#\\#):not(#\\#):not(#\\#),.xngvp7v.xngvp7v:not(#\\#):not(#\\#):not(#\\#):not(#\\#){min-width:44px}.x1m8shh.x1m8shh:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:calc(2px + var(--text-supporting-size) * var(--text-supporting-leading))}.x5eatbt.x5eatbt:not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:calc(var(--spacing-4) + max(env(safe-area-inset-bottom,0px),34px))}}@media (width<=640px){.xci7e5a.xci7e5a:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--x-fqzwsx)}}@media (prefers-reduced-motion:reduce){.xie2s74.xie2s74:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:100%}}@media (any-pointer:coarse){.x1c4064q.x1c4064q:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:24px}}@media (pointer:coarse){.x1uj43hb.x1uj43hb:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:calc(100% + var(--astryx-hit-inset-left,0px) + var(--astryx-hit-inset-right,0px))}}@media (forced-colors:active){.xtyencx.xtyencx:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:var(--_progress-bar-fill,0%)}}@supports (-webkit-touch-callout:none){@media (pointer:coarse){.x9w4715.x9w4715.x9w4715:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:calc(max(1rem,var(--text-body-size)) * var(--text-body-leading));height:1lh}.x15q4o07.x15q4o07.x15q4o07:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:max(var(--size-element-lg),calc(max(1rem,var(--text-body-size)) * var(--text-body-leading) + 2 * var(--border-width)))}.xdt6twq.xdt6twq.xdt6twq:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:max(var(--size-element-md),calc(max(1rem,var(--text-body-size)) * var(--text-body-leading) + 2 * var(--border-width)))}.xa40s40.xa40s40.xa40s40:not(#\\#):not(#\\#):not(#\\#):not(#\\#){height:max(var(--size-element-sm),calc(max(1rem,var(--text-body-size)) * var(--text-body-leading) + 2 * var(--border-width)))}}}@media (forced-colors:active){.xz5oem8.xz5oem8:first-child:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-top-style:solid}.x1qvjua.x1qvjua:first-child:not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-top-width:1px}.xlkh95r.xlkh95r:nth-last-child(1 of :not([popover]):not(template):not(dialog)):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-color:buttontext}.x2ab8f3.x2ab8f3:nth-last-child(1 of :not([popover]):not(template):not(dialog)):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-color:canvastext}.xoqbfsn.xoqbfsn:nth-last-child(1 of :not([popover]):not(template):not(dialog)):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-style:solid}.x12u9vjp.x12u9vjp:nth-last-child(1 of :not([popover]):not(template):not(dialog)):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-width:1px}}@media (pointer:coarse){@media (forced-colors:active){.x1j61smm.x1j61smm.x1j61smm:not(#\\#):not(#\\#):not(#\\#):not(#\\#){width:calc(max(var(--_progress-bar-fill,0%),var(--_progress-bar-min,0px)) + var(--_progress-bar-flip,0) * .01px)}}}.x1tadims:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{--_hit-border-bottom:var(--border-width)}.x1vz82uj:last-child:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{--_hit-border-bottom:0px}.xem8lmn[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){animation-duration:var(--duration-exit)}.xziyay6[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){animation-fill-mode:both}.x14e4jsf[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){animation-name:x10jkm1t-B}.x1t1ddl7[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){animation-timing-function:var(--ease-exit)}.x7qqc7o[data-astryx-press=on]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#),.xf3x42i[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:var(--color-neutral)}.x1bev2v5[data-astryx-press=on]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#),.x524tya[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-image:none}.xvoib3p[data-astryx-travelling]:not([aria-selected=true],[aria-current=true],[data-selected]):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){box-shadow:inset 0 0 0 100vmax var(--color-background-surface)}@starting-style{.x1sopeo2.x1sopeo2:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){grid-template-rows:0fr}}.xramuyw:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{inset:-4px}.xarstr8:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.xxx281p:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{inset:0}.xl7hj2y:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{inset:var(--_power-search-sheet-hit-inset)}.xeu5z55:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{inset:var(--_thumbnail-hit-inset)}@starting-style{.x4itv7f.x4itv7f:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){opacity:0}}@starting-style{.x1igigxu.x1igigxu:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){opacity:1}}.xjsxhw0[data-astryx-row-gliding]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){position:relative}.x1ylxtyb[data-astryx-press=on]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){transform:none}.x11q126q[data-astryx-press=on]:not([aria-expanded=true][aria-haspopup]:not([aria-haspopup=false])):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){transform:scale(.98)}.x5euuyh[data-astryx-press=on]:not(:has([aria-expanded=true])):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){transform:scale(.98)}@starting-style{.x6mt36l.x6mt36l:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){transform:translate(-100%)}}@starting-style{.x1yqmsfc.x1yqmsfc:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){transform:translate(100%)}}@starting-style{.xub2912.xub2912:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){transform:translateY(-100%)}}@starting-style{.x12p7p72.x12p7p72:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){transform:translateY(-4px)}}@starting-style{.xhbqy3z.xhbqy3z:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){transform:translateY(100%)}}@starting-style{.x6s140c.x6s140c:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){transform:translateY(var(--_toast-slide-y,var(--spacing-2)))}}.xrkqygm[aria-expanded=true][aria-haspopup]:not([aria-haspopup=false]):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){transition-property:background-image,background-color,color,opacity}.xvl8nft[data-astryx-travelling]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){z-index:2}.x13ugjdw.x13ugjdw:where(:not(:disabled,[aria-disabled=true]))[data-astryx-press=on]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#),.xl8sb5e.xl8sb5e:where(:not(:disabled,[aria-disabled=true]))[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:#0000}.x1qxwyo6.x1qxwyo6:where(:not(:disabled,[aria-disabled=true]))[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#),.x5rw36h.x5rw36h:where(:not(:disabled,[aria-disabled=true]))[data-astryx-press=on]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-image:var(--_press-paint-image),linear-gradient(var(--color-neutral),var(--color-neutral))}.x7ngsy6.x7ngsy6:where(:not(:disabled,[aria-disabled=true]))[data-astryx-press=on]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#),.xubczrd.xubczrd:where(:not(:disabled,[aria-disabled=true]))[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-image:var(--_press-paint-image)}@starting-style{.x1lymnkk.x1lymnkk:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){transform:translate(-100%)}}@starting-style{.x14gflnl.x14gflnl:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){transform:translate(100%)}}@starting-style{.xrxqmjf.xrxqmjf:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){transform:translate(-100%)}}@starting-style{.x1r0dqvm.x1r0dqvm:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){transform:translate(100%)}}.x1smloqv.x1smloqv:not(:first-child):where(:not(:disabled,[aria-disabled=true]))[data-astryx-press=on]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#),.x1spxf8v.x1spxf8v:not(:first-child):where(:not(:disabled,[aria-disabled=true]))[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){box-shadow:0 calc(-1 * var(--border-width)) 0 0 var(--_press-paint),var(--_travelling-surface,0 0 transparent)}@media (prefers-reduced-motion:reduce){.xogcwkh.xogcwkh[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){animation-duration:min(var(--duration-exit),.2s)}}@media (pointer:coarse){.x6su2wr.x6su2wr[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){animation-name:none}}@media (prefers-reduced-motion:reduce) and (not (pointer:coarse)) and (not (pointer:coarse)){.xxsp3er.xxsp3er[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){animation-name:none}}@media (forced-colors:active){.x1pjcgc3.x1pjcgc3[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#),.x1r4mieh.x1r4mieh[data-astryx-press=on]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-color:highlight}}@media (pointer:coarse){.x1ukc1h5.x1ukc1h5:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.xg52tuh.xg52tuh:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{inset:calc((var(--astryx-hit-inset-top,0px) + var(--_hit-border-top,0px)) * -1) calc((var(--astryx-hit-inset-right,0px) + var(--_hit-border-right,0px)) * -1) calc((var(--astryx-hit-inset-bottom,0px) + var(--_hit-border-bottom,0px)) * -1) calc((var(--astryx-hit-inset-left,0px) + var(--_hit-border-left,0px)) * -1)}}@starting-style{@media (prefers-reduced-motion:reduce) and (pointer:coarse){.xgo67oj.xgo67oj.xgo67oj:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){opacity:0}}}@media ((prefers-reduced-motion:reduce) and (pointer:coarse) and (not (prefers-reduced-motion:reduce))) or ((prefers-reduced-motion:reduce) and (pointer:coarse) and ((pointer:coarse))){.x7208gc.x7208gc[data-astryx-press=on]:not([aria-expanded=true][aria-haspopup]:not([aria-haspopup=false])):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){transform:scale(1)}}@media (prefers-reduced-motion:reduce) and (not (pointer:coarse)){.x6cxksl.x6cxksl[data-astryx-press=on]:not([aria-expanded=true][aria-haspopup]:not([aria-haspopup=false])):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){transform:scale(1)}}@starting-style{@media (prefers-reduced-motion:reduce){.xspp5ug.xspp5ug.xspp5ug:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){transform:translateY(0)}}}@media (pointer:coarse){.x1fq76kf.x1fq76kf[data-astryx-travelling]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){z-index:2}.x10ogxw0.x10ogxw0.x10ogxw0:where(:not(:disabled,[aria-disabled=true]))[data-astryx-press=on]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#),.x18xnkjv.x18xnkjv.x18xnkjv:where(:not(:disabled,[aria-disabled=true]))[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){background-image:none}.xrkptjy.xrkptjy:is([data-astryx-press=on],[data-astryx-press=fading]):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{inset:0}.xmo6azi.xmo6azi.xmo6azi:not(:first-child):where(:not(:disabled,[aria-disabled=true]))[data-astryx-press=on]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#),.xvofup6.xvofup6.xvofup6:not(:first-child):where(:not(:disabled,[aria-disabled=true]))[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){box-shadow:var(--_travelling-surface,none)}}.xgw21jv:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-position:bottom}.x1d269y:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-position:var(--_segmented-after-background-position,0% 0%)}.xkyjh71:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-position:var(--_segmented-lens-background-position,0% 0%)}.x1lczva8[data-astryx-cell-gliding]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){border-bottom-color:#0000}.x1eypnu7:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before,.xgad8h8:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-radius:1px}.x2coff9:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-radius:50%}.x1k48kgn:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.xxyica1:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-radius:inherit}.xmwhqxd:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-radius:var(--radius-full)}.xtb6wbx:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-radius:var(--radius-inner)}.x17gn2l9:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{grid-column:1}.x1nc033x:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before,.xd54j2p:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{inset-block:0}.xm4btww:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{inset-inline:0}.xpsyfx0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::-webkit-date-and-time-value{margin-block:0}.x1qqcexc:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::-webkit-date-and-time-value{margin-inline:0}.x1xb3ux:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{overflow:hidden}.x1x4c3m6:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::-webkit-date-and-time-value{padding-block:0}.xtbxizx:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::-webkit-datetime-edit{padding-block:0}@starting-style{.x5rzir7.x5rzir7:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#){padding-bottom:0}}.xkqr7wz:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::-webkit-date-and-time-value{padding-inline:0}.xslb4at:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::-webkit-datetime-edit{padding-inline:0}.xvtkv6q:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{transition:background-color .15s,width .15s}.x17s1k9h:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{transition:opacity .15s}@media (pointer:coarse){.x1kec4ew.x1kec4ew:is([data-astryx-press=on],[data-astryx-press=fading]):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-radius:inherit}}.xt64kwx:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{-webkit-backdrop-filter:var(--_segmented-after-webkit-backdrop-filter,none)}.x1icymkt:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{-webkit-backdrop-filter:var(--_segmented-lens-webkit-backdrop-filter,none)}.x19ds33d:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{align-self:start}.x1yso5bx:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::backdrop{-webkit-backdrop-filter:var(--_lightbox-backdrop-filter,blur(2px));backdrop-filter:var(--_lightbox-backdrop-filter,blur(2px))}.xc4c6yy:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{-webkit-backdrop-filter:var(--_segmented-after-backdrop-filter,none);backdrop-filter:var(--_segmented-after-backdrop-filter,none)}.x11t1reg:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{-webkit-backdrop-filter:var(--_segmented-lens-backdrop-filter,none);backdrop-filter:var(--_segmented-lens-backdrop-filter,none)}.x1iobno9:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-clip:border-box}.x54l34w:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-clip:var(--_segmented-after-background-clip,border-box)}.xtojb3y:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-clip:var(--_segmented-lens-background-clip,border-box)}.x15h7rrt:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-color:currentColor}.x1pvq41x:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-color:inherit}.xyhc2n1:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-color:#0000}.x1l0fnur:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-color:var(--_press-overlay)}.xnbhnmn:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-color:var(--_radio-row-press,transparent)}.x1wb6yj0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-color:var(--_segmented-after-background-color,transparent)}.x1nk0e2p:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-color:var(--_segmented-lens-background-color,transparent)}.x1uc2128:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-color:var(--_switch-fade-fill,transparent)}.x1tzqye7:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before,.xs88s87:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-color:var(--color-accent)}.x1hw15nc:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-color:var(--color-border)}.x177gpuc:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-color:var(--color-error)}.xgpd5ji:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-color:var(--color-neutral)}.xnixb3f:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::backdrop{background-color:var(--color-overlay)}.x1i3206j:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-color:var(--indicator-color,transparent)}.x1uvfo0n:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-color:var(--table-row-overlay,transparent)}.xccdyz0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-image:linear-gradient(to left,var(--color-shadow),transparent)}.x1ppu1g5:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-image:linear-gradient(to right,var(--color-shadow),transparent)}.x1xm21za:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-image:linear-gradient(var(--table-sticky-background,var(--color-background-card)),var(--table-sticky-background,var(--color-background-card)))}.xlvbopx:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-image:var(--_checkbox-row-press-paint,none)}.x10e6nnj:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-image:var(--_segmented-after-background-image,none)}.x19ph129:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-image:var(--_segmented-lens-background-image,none)}.xjnwjuh:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-origin:border-box}.x17as9s2:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-origin:var(--_segmented-after-background-origin,padding-box)}.x1mz0nwo:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-origin:var(--_segmented-lens-background-origin,padding-box)}.xgaypha:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-repeat:no-repeat}.x19crzk3:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-repeat:var(--_segmented-after-background-repeat,repeat)}.xzr6j9d:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-repeat:var(--_segmented-lens-background-repeat,repeat)}.x1e2fbwo:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-size:100% var(--_table-row-divider-app-width,var(--_table-row-divider-width,0px))}.x1pxrrzi:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-size:var(--_segmented-after-background-size,auto)}.xai7mxl:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-size:var(--_segmented-lens-background-size,auto)}.xnnzo76:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-inline-start-color:var(--color-border)}.xvsnedh:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-inline-start-style:solid}.x1p96cux:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-inline-start-width:var(--border-width)}.xeu7nsz:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{box-shadow:0 -6px,0 6px}.x1tmynux:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{box-shadow:var(--_segmented-after-box-shadow,none)}.x19rx9s5:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{box-shadow:var(--_segmented-lens-box-shadow,none)}.xoca22b:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{box-shadow:var(--shadow-low)}.xtql2tq:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before,.xx38sju:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{box-sizing:border-box}.x147exv5:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{color:var(--color-syntax-added-marker)}.xtkarl4:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{color:var(--color-syntax-punctuation)}.x16hy5kr:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{color:var(--color-syntax-removed-marker)}.xnf3u0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::placeholder{color:var(--color-text-disabled)}.xeyghm5:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::placeholder{color:var(--color-text-secondary)}.x1cpjm7i:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before,.x1s928wv:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{content:\"\"}.x4jt1l0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{content:\"​\";content:\"​\" / \"\"}.x1jidjzq:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{content:\" \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \\a  \"}.x46gnpd:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{content:attr(data-line)}.x1mls8ih:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{content:counter(astryx-list, lower-alpha) \".\"}.xdaf9gw:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{content:counter(astryx-list, lower-roman) \".\"}.xc2ndz5:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{content:counter(astryx-list) \".\"}.x1oocgs0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{content:var(--_power-search-sheet-hit-content)}.x1536ba8:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{content:var(--x-16m2d0h)}.x1fgarty:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before,.xhkezso:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{display:block}.x1h1zc6f:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{display:none}.xolhmmf:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::-webkit-calendar-picker-indicator{display:none}.xtbmc8j:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{flex-shrink:0}.x3nzp0f:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{font-family:var(--font-family-code)}.x1899uy6:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{font-size:var(--text-body-size)}.x13rwrtk:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before,.xwnwc82:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{forced-color-adjust:none}.xekda60:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{inset-inline-end:-2px}.x1unh1gc:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.xtyp5od:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{inset-inline-end:0}.x8m5ogj:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{inset-inline-end:100%}.x5ig7ga:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{inset-inline-end:calc(-1 * var(--spacing-1) - 1px)}.x1s13ptm:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{inset-inline-end:var(--_slider-hit-end)}.xvw6utc:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{inset-inline-start:-2px}.x1682cnc:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before,.x1iygr5g:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{inset-inline-start:0}.x1qyz1mp:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{inset-inline-start:100%}.x1vl71nl:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{inset-inline-start:calc(-1 * var(--spacing-1) - 1px)}.x1km86hw:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{inset-inline-start:calc(var(--spacing-4) + var(--_codeblock-gutter-width) + var(--spacing-3))}.xu2wnl0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{inset-inline-start:var(--_slider-hit-start)}.xmdev28:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{inset-inline-start:var(--astryx-reorder-line-start,0px)}.x15bqym3:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::-webkit-datetime-edit{line-height:inherit}.x1f74mqm:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::-webkit-date-and-time-value{line-height:inherit}.x1xcinxp:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{line-height:var(--text-body-leading)}.x46whw4:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{margin-inline-start:0}.x1np0n6a:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{margin-inline-start:calc(-1 * var(--_item-inset-inline))}.x124lp2h:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before,.xmf22ne:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.xph5o2a:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::backdrop{opacity:0}.xb3n6bw:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::backdrop,.xfbg1o9:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{opacity:1}.xni466t:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::backdrop{opacity:var(--_sheet-scrim-opacity,1)}.x1c2idit:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{opacity:var(--table-sticky-shadow-end,0)}.x1sggmfs:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{opacity:var(--table-sticky-shadow-start,0)}.x1mrr29r:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{outline-style:none}.x2q1x1w:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.xkk1bqk:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{pointer-events:none}.x1hmns74:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before,.x1j6awrg:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{position:absolute}.x1wnbjh8:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{text-align:end}.x9rmy9g:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::-webkit-date-and-time-value{text-align:start}.x1e8txe:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{transform:scaleX(0)}.xp1ps4y:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{transform:scaleX(1)}.xb5f74o:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{transform:scaleY(0)}.xd30wvy:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{transform:scaleY(1)}.xvs0bi2:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{transform:translate(-100%)}.x1qyefdi:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{transform:translate(100%)}.x1xm9zrc:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before,.x8ihlwz:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{transform-origin:50%}.x1fgylwi:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{transform-origin:top}.xgu12d:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{transform-origin:0}.x142juwg:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::backdrop{transition-behavior:allow-discrete}.xizoc3:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{transition-delay:var(--x-owu7oy)}.x108qnu8:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::backdrop{transition-duration:10ms}.x10buo38:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::backdrop{transition-duration:var(--_sheet-scrim-duration,var(--duration-medium))}.x1y1nw7a:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before,.x97pup0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{transition-duration:var(--duration-fast)}.xft5bk6:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::backdrop,.xuhr57t:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{transition-duration:var(--duration-medium)}.x196sc62:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{transition-duration:var(--x-1dd27dc)}.x1ywzrc5:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.xxcwgru:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{transition-property:background-color}.xc0dz0a:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::backdrop{transition-property:opacity,display}.x167zut7:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::backdrop{transition-property:opacity}.x1hu8v7x:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{transition-property:transform}.xyt8op7:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{transition-timing-function:linear}.x1w553ls:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::backdrop{transition-timing-function:var(--_sheet-scrim-easing,linear)}.x15h3t91:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::backdrop,.x1dlmc9c:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.xa5v58t:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{transition-timing-function:var(--ease-standard)}.x1wyoj89:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{translate:0 var(--astryx-reorder-line-y,0px)}.x1rbqspl:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{-webkit-user-select:none;user-select:none}.x1631zco:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{visibility:var(--_segmented-after-visibility,hidden)}.x1e91tbo:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{visibility:var(--_segmented-lens-visibility,hidden)}.x1y8idqa:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{will-change:var(--astryx-motion-will-change-after,auto)}.x8ifjc1:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::backdrop{will-change:var(--astryx-motion-will-change-backdrop,auto)}.xwrs98t:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{will-change:var(--astryx-motion-will-change-before,auto)}.xi4xitw:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.xy5mcqj:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{z-index:-1}.x1r0yslu:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{z-index:0}.x12maryy:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{z-index:1}.x1jg531d:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{z-index:2}@supports (content:\"a\" / \"\"){.x1q91k8u.x1q91k8u:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{content:var(--x-flj70p)}}.xur6jaf.xur6jaf:where(.x1odsvnm:active:not([data-astryx-press=on],[data-astryx-press=fading]) *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-color:var(--color-overlay-pressed)}.xk7vujl:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-image:linear-gradient(to left,var(--color-shadow),transparent)}.xlptwl5:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-image:linear-gradient(to right,var(--color-shadow),transparent)}.x178sc5r.x178sc5r:where(.x1odsvnm[data-astryx-press=on] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.x1d4iov5.x1d4iov5:where(.x1odsvnm[data-astryx-press=fading] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-image:var(--_press-paint-image)}.xf7ekc6.xf7ekc6:where(:has(.x1lrrceh:is(*))):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{content:none}.x3k25x4:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{inset-inline-end:0}.x17kcdp5:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{inset-inline-end:calc(-1 * var(--spacing-1) - 1px)}.xnx00js:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{inset-inline-start:0}.x7my30s:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{inset-inline-start:calc(-1 * var(--spacing-1) - 1px)}.x1c108yo:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{transform:translate(-100%)}.x12ayhd5:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{transform:translate(100%)}.xdq8fwl:is([dir=rtl] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{transform-origin:100%}.x1b33kpq:has(>[data-astryx-focus-owner]:focus-visible):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{outline-color:var(--focus-outline-color)}.x1ehzeq:has(>[data-astryx-focus-owner]:focus-visible):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{outline-offset:calc(-1 * var(--focus-outline-width))}.x1bt9f48:has(>[data-astryx-focus-owner]:focus-visible):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{outline-style:var(--focus-outline-style)}.xvyjxle:has(>[data-astryx-focus-owner]:focus-visible):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{outline-width:var(--focus-outline-width)}@media (forced-colors:active){.xhgk897.xhgk897:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-color:highlight}}@media (forced-colors:none){.x1my3e5g.x1my3e5g:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-color:var(--color-overlay-pressed)}}@media (pointer:coarse){.x1c440c0.x1c440c0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.x1la2cvp.x1la2cvp:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{clip-path:polygon(evenodd,0 0,100% 0,100% 100%,0 100%,0 0,var(--astryx-hit-inset-left,0px) var(--astryx-hit-inset-top,0px),calc(100% - var(--astryx-hit-inset-right,0px)) var(--astryx-hit-inset-top,0px),calc(100% - var(--astryx-hit-inset-right,0px)) calc(100% - var(--astryx-hit-inset-bottom,0px)),var(--astryx-hit-inset-left,0px) calc(100% - var(--astryx-hit-inset-bottom,0px)),var(--astryx-hit-inset-left,0px) var(--astryx-hit-inset-top,0px))}.x1fjtqre.x1fjtqre:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.xrfab51.xrfab51:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{content:\"\"}.x1ep27e9.x1ep27e9:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{display:block}.x7b72wb.x7b72wb:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.xjupvsi.xjupvsi:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{position:absolute}}@media (prefers-reduced-motion:reduce){.xhhm9v0.xhhm9v0:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{transition-delay:0s}.x1viac0w.x1viac0w:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::backdrop{transition-duration:10ms}}@media ((prefers-reduced-motion:reduce) and (not (pointer:coarse)) and (not (prefers-reduced-motion:reduce))) or ((prefers-reduced-motion:reduce) and (not (pointer:coarse)) and (not (pointer:coarse))){.x12t15ek.x12t15ek:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{transition-duration:0s}}@media (prefers-reduced-motion:reduce){.x13sdc92.x13sdc92:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{transition-duration:0s}}@media (prefers-reduced-motion:reduce) and (pointer:coarse){.x1ntmb8i.x1ntmb8i:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{transition-duration:min(var(--duration-exit),.2s)}}@media (prefers-reduced-motion:reduce){.x15l12jy.x15l12jy:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::backdrop{transition-duration:var(--_sheet-scrim-duration,10ms)}}@media (prefers-reduced-motion:reduce) and (pointer:coarse){.x1l4pwez.x1l4pwez:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{transition-property:opacity}.xszhkds.xszhkds:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{transition-timing-function:var(--ease-exit)}}@media (pointer:coarse){.x177mwkx.x177mwkx:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{will-change:var(--astryx-motion-will-change-after,auto)}.xx13w5u.xx13w5u:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{z-index:1}.xs8z9ty.xs8z9ty.xs8z9ty:where(.x1iwu4tg[data-astryx-press=fading] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{animation-duration:var(--duration-exit)}.xq2jpp1.xq2jpp1.xq2jpp1:where(.x1iwu4tg[data-astryx-press=fading] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{animation-fill-mode:both}.xxhzo2e.xxhzo2e.xxhzo2e:where(.x1iwu4tg[data-astryx-press=fading] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{animation-name:x1jn504y-B}.x15baseh.x15baseh.x15baseh:where(.x1iwu4tg[data-astryx-press=fading] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{animation-timing-function:var(--ease-exit)}.xtawv5c.xtawv5c.xtawv5c:where(.x1odsvnm:active:not([data-astryx-press=on],[data-astryx-press=fading]) *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-color:#0000}.x1dn949c.x1dn949c:is([data-astryx-press=on],[data-astryx-press=fading]):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-color:var(--color-overlay-pressed)}.x15cra4q.x15cra4q.x15cra4q:where(.x1iwu4tg[data-astryx-press=fading] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before,.xpxppvc.xpxppvc.xpxppvc:where(.x1iwu4tg[data-astryx-press=on] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{content:\"\"}.x1ccaw7f.x1ccaw7f.x1ccaw7f:where(.x1iwu4tg[data-astryx-press=fading] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{opacity:0}.x2huugr.x2huugr.x2huugr:where(.x1iwu4tg[data-astryx-press=on] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{opacity:1}.x13r5q6d.x13r5q6d:is([data-astryx-press=on],[data-astryx-press=fading]):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{pointer-events:none}.x1ukh9kf.x1ukh9kf:is([data-astryx-press=on],[data-astryx-press=fading]):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{position:absolute}.xjscm90.xjscm90:is([data-astryx-press=on],[data-astryx-press=fading]):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{z-index:-1}.x1ocadqd.x1ocadqd.x1ocadqd:is([data-astryx-press=on],[data-astryx-press=fading]):where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{content:\"\"}.x1995whq.x1995whq.x1995whq:is([data-astryx-press=on],[data-astryx-press=fading]):where(:not(:disabled,[aria-disabled=true])):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{content:none}}@media (prefers-reduced-motion:reduce) and (pointer:coarse){@media (pointer:coarse){.x1e7l4zx.x1e7l4zx.x1e7l4zx.x1e7l4zx:where(.x1iwu4tg[data-astryx-press=fading] *):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{animation-duration:min(var(--duration-exit),.2s)}}}.xp6skj9:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-bottom-color:inherit}.x1tqw9ds:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-bottom-color:var(--_segmented-after-border-bottom-color,currentcolor)}.xg5vybf:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-bottom-color:var(--_segmented-lens-border-bottom-color,currentcolor)}.xk12vn8:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-bottom-left-radius:var(--_segmented-after-border-bottom-left-radius,0px)}.x1gp8cmm:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-bottom-left-radius:var(--_segmented-lens-border-bottom-left-radius,0px)}.x1icybqf:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-bottom-right-radius:var(--_segmented-after-border-bottom-right-radius,0px)}.x1rj83xg:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-bottom-right-radius:var(--_segmented-lens-border-bottom-right-radius,0px)}.xp41i57:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-bottom-style:inherit}.xe87dmk:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-bottom-style:var(--_segmented-after-border-bottom-style,none)}.xjmzqq9:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-bottom-style:var(--_segmented-lens-border-bottom-style,none)}.x11at6vl:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-bottom-width:var(--_segmented-after-border-bottom-width,0px)}.xaki043:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-bottom-width:var(--_segmented-lens-border-bottom-width,0px)}.xhyqk6q:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-bottom-width:var(--_table-row-divider-app-width,var(--_table-row-divider-width,0px))}.x1pgdhoo:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-left-color:var(--_segmented-after-border-left-color,currentcolor)}.x1j47n5p:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-left-color:var(--_segmented-lens-border-left-color,currentcolor)}.x3sz45y:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-left-style:var(--_segmented-after-border-left-style,none)}.xymdich:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-left-style:var(--_segmented-lens-border-left-style,none)}.x1t5rpqk:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-left-width:var(--_segmented-after-border-left-width,0px)}.x131tjkd:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-left-width:var(--_segmented-lens-border-left-width,0px)}.xa4st9h:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-right-color:var(--_segmented-after-border-right-color,currentcolor)}.x1whvb6r:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-right-color:var(--_segmented-lens-border-right-color,currentcolor)}.x1tili5q:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-right-style:var(--_segmented-after-border-right-style,none)}.x1rimih4:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-right-style:var(--_segmented-lens-border-right-style,none)}.x1n4cxts:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-right-width:var(--_segmented-after-border-right-width,0px)}.xu7nluz:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-right-width:var(--_segmented-lens-border-right-width,0px)}.x18pjm2d:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-top-color:var(--_segmented-after-border-top-color,currentcolor)}.x1l1ofoh:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-top-color:var(--_segmented-lens-border-top-color,currentcolor)}.x13ob3d2:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-top-left-radius:var(--_segmented-after-border-top-left-radius,0px)}.x1gz1ewn:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-top-left-radius:var(--_segmented-lens-border-top-left-radius,0px)}.xbn9yse:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-top-right-radius:var(--_segmented-after-border-top-right-radius,0px)}.xirquxt:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-top-right-radius:var(--_segmented-lens-border-top-right-radius,0px)}.x1ff385h:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-top-style:var(--_segmented-after-border-top-style,none)}.x10hoewy:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-top-style:var(--_segmented-lens-border-top-style,none)}.xsbnptc:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-top-width:var(--_segmented-after-border-top-width,0px)}.x267z7u:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-top-width:var(--_segmented-lens-border-top-width,0px)}.xe80sof:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{bottom:-2px}.x1xrz1ek:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.xhq5o37:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{bottom:0}.xxgnp13:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{bottom:calc(-1 * var(--spacing-1) - 1px)}.x17wid7s:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{bottom:var(--_slider-hit-bottom)}.x1gmr53x:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{height:0}.x3cntg4:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.xuuc98b:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{height:2px}.x1fv2pxm:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{height:var(--_segmented-after-height,0px)}.xlxjeq7:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{height:var(--_segmented-lens-height,0px)}.x34npju:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{height:var(--spacing-1)}.x1ipgmjk:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{height:var(--x-nsbhg8)}.x1ggeerv:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{left:var(--_segmented-after-left,0px)}.x1h6x5ug:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{left:var(--_segmented-lens-left,0px)}.x3dkws7:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{margin-bottom:calc(-1 * var(--_table-row-divider-app-width,var(--_table-row-divider-width,0px)))}.xec4aax:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::-webkit-date-and-time-value{min-height:0}.x51xajf:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{top:-2px}.x1m1drc7:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.x1y3wzot:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{top:0}.x1phjwh8:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{top:calc(-1 * var(--spacing-1) - 1px)}.x3g43gi:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{top:var(--_segmented-after-top,0px)}.x319kzk:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{top:var(--_segmented-lens-top,0px)}.xw5uirw:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{top:var(--_slider-hit-top)}.xk9ib7f:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before,.xkj6t0a:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{width:0}.x1ng0ck5:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{width:100vw}.x1j6c3ea:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{width:20px}.xzkji8o:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{width:6px}.x1l8h5kv:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{width:var(--_segmented-after-width,0px)}.xj84cd:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{width:var(--_segmented-lens-width,0px)}.x1fooi66:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{width:var(--astryx-reorder-line-size,0px)}.xi8c0p9:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{width:var(--indicator-width,1px)}.x1oke5ut:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{width:var(--size-element-lg)}@media (pointer:coarse){.x1rj2gwv.x1rj2gwv:is([data-astryx-press=on],[data-astryx-press=fading]):not(:last-child):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{bottom:calc(-1 * var(--border-width))}.x1v1ro1q.x1v1ro1q:is([data-astryx-press=on],[data-astryx-press=fading]):not(:first-child):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{top:calc(-1 * var(--border-width))}}.x15skwfs[data-astryx-cell-gliding=line]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{inset-inline:0}.x1l0866b[data-astryx-press=on]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.x7bosnz[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-color:#0000}.x1rd1oi2[data-astryx-press=on]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.xlif165[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{background-image:var(--_press-paint-image)}.xbirrqu[data-astryx-cell-gliding]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{background-size:100% var(--_table-row-glide-width,var(--_table-row-divider-app-width,var(--_table-row-divider-width,0px)))}.xjnv0ub[data-astryx-cell-gliding=line]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{content:\"\"}.x1mh6n7o[data-astryx-reorder-line]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{display:block}@starting-style{.xxiuuzi.xxiuuzi:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#)::backdrop{opacity:0}}.x1uwli9g[data-astryx-cell-gliding=line]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{pointer-events:none}.x1ea2at[data-astryx-cell-gliding=line]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{position:absolute}.x15tr235[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.x1xg7wox[data-astryx-press=on]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{transition-property:none}@media (pointer:coarse){.x1osot8d.x1osot8d[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{animation-duration:var(--duration-exit)}.x1dn5vsf.x1dn5vsf[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{animation-fill-mode:both}.x10t12yn.x10t12yn[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{animation-timing-function:var(--ease-exit)}.xr9xsjc.xr9xsjc[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{opacity:0}.xw7rim2.xw7rim2[data-astryx-press=on]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{opacity:1}.x1bxn267.x1bxn267.x1bxn267:where(:not(:disabled,[aria-disabled=true]))[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{animation-name:x1jn504y-B}}@media (prefers-reduced-motion:reduce){@media (pointer:coarse){.xbkwwzw.xbkwwzw.xbkwwzw[data-astryx-press=fading]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{animation-duration:min(var(--duration-exit),.2s)}}}.x3mysge[data-astryx-table-pinned=carry]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-bottom-color:var(--_table-row-divider-app-color,var(--color-border))}.x8qyx5[data-astryx-cell-gliding=line]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after,.xvlxne[data-astryx-cell-gliding]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-bottom-color:var(--_table-row-glide-color,var(--color-border))}.x1806tya[data-astryx-table-pinned=carry]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-bottom-style:var(--_table-row-divider-app-style,solid)}.x3gzqiz[data-astryx-cell-gliding]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before,.x90dban[data-astryx-cell-gliding=line]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-bottom-style:var(--_table-row-glide-style,solid)}.x9a7to[data-astryx-cell-gliding=line]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{border-bottom-width:var(--_table-row-glide-width,0px)}.xbbwlr6[data-astryx-cell-gliding]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{border-bottom-width:var(--_table-row-glide-width,var(--_table-row-divider-app-width,var(--_table-row-divider-width,0px)))}.x1f4wvdr[data-astryx-cell-gliding=line]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{bottom:calc(-1 * var(--_table-row-glide-offset,0px))}.x2euz0u[data-astryx-cell-gliding=line]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):after{height:0}.x54l71j[data-astryx-cell-gliding]:not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):not(#\\#):before{margin-bottom:calc(-1 * var(--_table-row-glide-width,var(--_table-row-divider-app-width,var(--_table-row-divider-width,0px))))}}@layer astryx-theme{html[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@scope([data-astryx-theme=neutral]) to ([data-astryx-theme]){:scope{--_scaled-font-size-4xs:min(calc(.375rem * var(--_dynamic-type-caption2,1)), var(--_scaled-font-size-3xs));--font-size-4xs:var(--_scaled-font-size-4xs);--_scaled-font-size-3xs:min(calc(.4375rem * var(--_dynamic-type-caption2,1)), var(--_scaled-font-size-2xs));--font-size-3xs:var(--_scaled-font-size-3xs);--_scaled-font-size-2xs:min(calc(.5rem * var(--_dynamic-type-caption2,1)), var(--_scaled-font-size-xs));--font-size-2xs:var(--_scaled-font-size-2xs);--_scaled-font-size-xs:min(calc(.625rem * var(--_dynamic-type-caption1,1)), var(--_scaled-font-size-sm));--font-size-xs:var(--_scaled-font-size-xs);--_scaled-font-size-sm:min(calc(.75rem * var(--_dynamic-type-footnote,1)), var(--_scaled-font-size-base));--font-size-sm:var(--_scaled-font-size-sm);--_scaled-font-size-base:min(calc(.875rem * var(--_dynamic-type-body,1)), var(--_scaled-font-size-lg));--font-size-base:var(--_scaled-font-size-base);--_scaled-font-size-lg:min(calc(1.0625rem * var(--_dynamic-type-title3,1)), var(--_scaled-font-size-xl));--font-size-lg:var(--_scaled-font-size-lg);--_scaled-font-size-xl:min(calc(1.25rem * var(--_dynamic-type-title2,1)), var(--_scaled-font-size-2xl));--font-size-xl:var(--_scaled-font-size-xl);--_scaled-font-size-2xl:min(calc(1.5rem * var(--_dynamic-type-title1,1)), var(--_scaled-font-size-3xl));--font-size-2xl:var(--_scaled-font-size-2xl);--_scaled-font-size-3xl:min(calc(1.8125rem * var(--_dynamic-type-title1,1)), var(--_scaled-font-size-4xl));--font-size-3xl:var(--_scaled-font-size-3xl);--_scaled-font-size-4xl:min(calc(2.1875rem * var(--_dynamic-type-large-title,1)), var(--_scaled-font-size-5xl));--font-size-4xl:var(--_scaled-font-size-4xl);--_scaled-font-size-5xl:calc(2.625rem * var(--_dynamic-type-large-title,1));--font-size-5xl:var(--_scaled-font-size-5xl);--text-heading-1-size:var(--font-size-2xl);--text-heading-1-weight:var(--font-weight-semibold);--text-heading-1-leading:1.3333;--text-heading-2-size:var(--font-size-xl);--text-heading-2-weight:var(--font-weight-semibold);--text-heading-2-leading:1.4;--text-heading-3-size:var(--font-size-lg);--text-heading-3-weight:var(--font-weight-bold);--text-heading-3-leading:1.4118;--text-heading-4-size:var(--font-size-base);--text-heading-4-weight:var(--font-weight-bold);--text-heading-4-leading:1.4286;--text-heading-5-size:var(--font-size-sm);--text-heading-5-weight:var(--font-weight-semibold);--text-heading-5-leading:1.6667;--text-heading-6-size:var(--font-size-xs);--text-heading-6-weight:var(--font-weight-semibold);--text-heading-6-leading:1.6;--text-body-size:var(--font-size-base);--text-body-weight:var(--font-weight-normal);--text-body-leading:1.4286;--text-large-size:var(--font-size-lg);--text-large-weight:var(--font-weight-semibold);--text-large-leading:1.4118;--text-label-size:var(--font-size-base);--text-label-weight:var(--font-weight-medium);--text-label-leading:1.4286;--text-code-size:var(--font-size-base);--text-code-weight:var(--font-weight-normal);--text-code-leading:1.4286;--text-supporting-size:var(--font-size-sm);--text-supporting-weight:var(--font-weight-normal);--text-supporting-leading:1.6667;--text-display-1-size:var(--font-size-5xl);--text-display-1-weight:var(--font-weight-normal);--text-display-1-leading:1.2381;--text-display-2-size:var(--font-size-4xl);--text-display-2-weight:var(--font-weight-normal);--text-display-2-leading:1.2571;--text-display-3-size:var(--font-size-3xl);--text-display-3-weight:var(--font-weight-normal);--text-display-3-leading:1.3793;--duration-fast-min:95ms;--duration-fast:.125s;--duration-fast-max:.165s;--duration-medium-min:.225s;--duration-medium:.3s;--duration-medium-max:.4s;--duration-slow-min:.525s;--duration-slow:.7s;--duration-slow-max:.935s;--_astryx-pre-tempo-duration-fast-min:95ms;--_astryx-pre-tempo-duration-fast:.125s;--_astryx-pre-tempo-duration-fast-max:.165s;--_astryx-pre-tempo-duration-medium-min:.225s;--_astryx-pre-tempo-duration-medium:.3s;--_astryx-pre-tempo-duration-medium-max:.4s;--_astryx-pre-tempo-duration-slow-min:.525s;--_astryx-pre-tempo-duration-slow:.7s;--_astryx-pre-tempo-duration-slow-max:.935s;--_astryx-motion-tempo:1;--font-family-body:Figtree, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif;--font-family-heading:Figtree, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif;--font-family-code:ui-monospace, \"SF Mono\", Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--color-syntax-keyword:var(--lightningcss-light,#6b187c)var(--lightningcss-dark,#efa8ff);--color-syntax-string:var(--lightningcss-light,#0b5615)var(--lightningcss-dark,#a4d6a3);--color-syntax-comment:var(--lightningcss-light,#525252)var(--lightningcss-dark,#b9b9b9);--color-syntax-number:var(--lightningcss-light,#733100)var(--lightningcss-dark,#ffb37e);--color-syntax-function:var(--lightningcss-light,#00458c)var(--lightningcss-dark,#a1caff);--color-syntax-type:var(--lightningcss-light,#6b187c)var(--lightningcss-dark,#efa8ff);--color-syntax-variable:var(--lightningcss-light,#111)var(--lightningcss-dark,#e2e2e2);--color-syntax-operator:var(--lightningcss-light,#525252)var(--lightningcss-dark,#b9b9b9);--color-syntax-constant:var(--lightningcss-light,#733100)var(--lightningcss-dark,#ffb37e);--color-syntax-tag:var(--lightningcss-light,#8a0011)var(--lightningcss-dark,#ffaea7);--color-syntax-attribute:var(--lightningcss-light,#584400)var(--lightningcss-dark,#eec448);--color-syntax-property:var(--lightningcss-light,#005348)var(--lightningcss-dark,#90d7c8);--color-syntax-punctuation:var(--lightningcss-light,#525252)var(--lightningcss-dark,#b9b9b9);--color-syntax-background:var(--lightningcss-light,#fff)var(--lightningcss-dark,#111);--color-syntax-added:color-mix(in srgb, var(--color-success-muted) 25%, transparent);--color-syntax-removed:color-mix(in srgb, var(--color-error-muted) 25%, transparent);--color-syntax-diff-header:transparent;--color-syntax-added-marker:var(--color-syntax-punctuation);--color-syntax-removed-marker:var(--color-syntax-punctuation);--color-background-surface:var(--lightningcss-light,#fff)var(--lightningcss-dark,#262626);--color-background-body:var(--lightningcss-light,#f1f1f1)var(--lightningcss-dark,#1b1b1b);--color-background-card:var(--lightningcss-light,#fff)var(--lightningcss-dark,#1b1b1b);--color-background-popover:var(--lightningcss-light,#fff)var(--lightningcss-dark,#1b1b1b);--color-background-muted:var(--lightningcss-light,#f1f1f1)var(--lightningcss-dark,#1b1b1b);--color-accent:var(--lightningcss-light,#1b1b1b)var(--lightningcss-dark,#f1f1f1);--color-accent-muted:var(--lightningcss-light,#d4d4d4)var(--lightningcss-dark,#474747);--color-neutral:var(--lightningcss-light,#0000000f)var(--lightningcss-dark,#ffffff1a);--color-overlay:var(--lightningcss-light,#00000080)var(--lightningcss-dark,#000c);--color-overlay-hover:var(--lightningcss-light,#0000000d)var(--lightningcss-dark,#ffffff0d);--color-overlay-pressed:var(--lightningcss-light,#0000001a)var(--lightningcss-dark,#ffffff1a);--color-text-primary:var(--lightningcss-light,#000)var(--lightningcss-dark,#fff);--color-text-secondary:var(--lightningcss-light,#474747)var(--lightningcss-dark,#9e9e9e);--color-text-disabled:var(--lightningcss-light,#919191)var(--lightningcss-dark,#525252);--color-text-accent:var(--lightningcss-light,#1b1b1b)var(--lightningcss-dark,#f1f1f1);--color-on-dark:#fff;--color-on-light:#111;--color-on-accent:var(--lightningcss-light,#fff)var(--lightningcss-dark,#111);--color-on-success:var(--lightningcss-light,#fff)var(--lightningcss-dark,#111);--color-on-error:var(--lightningcss-light,#fff)var(--lightningcss-dark,#111);--color-on-warning:#111;--color-info:var(--lightningcss-light,#0074e2)var(--lightningcss-dark,#6d9cfe);--color-info-muted:var(--lightningcss-light,#b9d7ff)var(--lightningcss-dark,#88bcff3d);--color-on-info:var(--lightningcss-light,#fff)var(--lightningcss-dark,#111);--color-text-info:var(--lightningcss-light,#0067ce)var(--lightningcss-dark,#a1caff);--color-text-success:var(--lightningcss-light,#2f7d33)var(--lightningcss-dark,#90ca90);--color-text-warning:var(--lightningcss-light,#836700)var(--lightningcss-dark,#eec448);--color-text-error:var(--lightningcss-light,#c0262c)var(--lightningcss-dark,#ffaea7);--color-on-info-muted:var(--lightningcss-light,#003978)var(--lightningcss-dark,#a1caff);--color-on-success-muted:var(--lightningcss-light,#00490b)var(--lightningcss-dark,#90ca90);--color-on-warning-muted:var(--lightningcss-light,#4b3900)var(--lightningcss-dark,#eec448);--color-on-error-muted:var(--lightningcss-light,#76000c)var(--lightningcss-dark,#ffaea7);--color-icon-accent:var(--lightningcss-light,#1b1b1b)var(--lightningcss-dark,#f1f1f1);--color-icon-primary:var(--lightningcss-light,#000)var(--lightningcss-dark,#fff);--color-icon-secondary:var(--lightningcss-light,#6a6a6a)var(--lightningcss-dark,#9e9e9e);--color-icon-disabled:var(--lightningcss-light,#919191)var(--lightningcss-dark,#525252);--color-success:var(--lightningcss-light,#198100)var(--lightningcss-dark,#64af4c);--color-warning:#ffce2f;--color-error:var(--lightningcss-light,#c9303a)var(--lightningcss-dark,#ff705d);--color-success-muted:var(--lightningcss-light,#bce0bb)var(--lightningcss-dark,#90ca903d);--color-error-muted:var(--lightningcss-light,#ffc4be)var(--lightningcss-dark,#ff98903d);--color-warning-muted:var(--lightningcss-light,#fae19e)var(--lightningcss-dark,#e2b6233d);--color-border:var(--lightningcss-light,#00000014)var(--lightningcss-dark,#ffffff1a);--color-border-emphasized:var(--lightningcss-light,#d4d4d4)var(--lightningcss-dark,#525252);--color-skeleton:var(--lightningcss-light,#d4d4d4)var(--lightningcss-dark,#525252);--color-shadow:var(--lightningcss-light,#0000001a)var(--lightningcss-dark,#0000004d);--color-tint-hover:var(--lightningcss-light,#000)var(--lightningcss-dark,#fff);--color-background-red:var(--lightningcss-light,#ffc4be)var(--lightningcss-dark,#5b2b28);--color-border-red:var(--lightningcss-light,#ffaea7)var(--lightningcss-dark,#fa6762);--color-icon-red:var(--lightningcss-light,#76000c)var(--lightningcss-dark,#ff9890);--color-text-red:var(--lightningcss-light,#76000c)var(--lightningcss-dark,#ffaea7);--color-background-orange:var(--lightningcss-light,#ffc7a1)var(--lightningcss-dark,#503424);--color-border-orange:var(--lightningcss-light,#ffc7a1)var(--lightningcss-dark,#df843f);--color-icon-orange:var(--lightningcss-light,#622700)var(--lightningcss-dark,#ff9e55);--color-text-orange:var(--lightningcss-light,#622700)var(--lightningcss-dark,#ffb37e);--color-background-yellow:var(--lightningcss-light,#fae19e)var(--lightningcss-dark,#453a1c);--color-border-yellow:var(--lightningcss-light,#e3c36c)var(--lightningcss-dark,#c29900);--color-icon-yellow:var(--lightningcss-light,#4b3900)var(--lightningcss-dark,#e2b623);--color-text-yellow:var(--lightningcss-light,#4b3900)var(--lightningcss-dark,#eec448);--color-background-green:var(--lightningcss-light,#bce0bb)var(--lightningcss-dark,#2b422b);--color-border-green:var(--lightningcss-light,#aad4a9)var(--lightningcss-dark,#6ab26b);--color-icon-green:var(--lightningcss-light,#00490b)var(--lightningcss-dark,#90ca90);--color-text-green:var(--lightningcss-light,#00490b)var(--lightningcss-dark,#90ca90);--color-background-teal:var(--lightningcss-light,#a9e2d6)var(--lightningcss-dark,#28413c);--color-border-teal:var(--lightningcss-light,#90d7c8)var(--lightningcss-dark,#4fb1a0);--color-icon-teal:var(--lightningcss-light,#00463d)var(--lightningcss-dark,#81c9bb);--color-text-teal:var(--lightningcss-light,#00463d)var(--lightningcss-dark,#90d7c8);--color-background-cyan:var(--lightningcss-light,#9ae2f4)var(--lightningcss-dark,#274046);--color-border-cyan:var(--lightningcss-light,#85d5e9)var(--lightningcss-dark,#49adc4);--color-icon-cyan:var(--lightningcss-light,#004351)var(--lightningcss-dark,#71c7dd);--color-text-cyan:var(--lightningcss-light,#004351)var(--lightningcss-dark,#85d5e9);--color-background-blue:var(--lightningcss-light,#b9d7ff)var(--lightningcss-dark,#253c5a);--color-border-blue:var(--lightningcss-light,#a1caff)var(--lightningcss-dark,#5aa0f8);--color-icon-blue:var(--lightningcss-light,#003978)var(--lightningcss-dark,#88bcff);--color-text-blue:var(--lightningcss-light,#003978)var(--lightningcss-dark,#a1caff);--color-background-purple:var(--lightningcss-light,#f7d5ff)var(--lightningcss-dark,#4a2f51);--color-border-purple:var(--lightningcss-light,#f3bfff)var(--lightningcss-dark,#d885eb);--color-icon-purple:var(--lightningcss-light,#5c0e6c)var(--lightningcss-dark,#e496f6);--color-text-purple:var(--lightningcss-light,#5c0e6c)var(--lightningcss-dark,#eaacf8);--color-background-pink:var(--lightningcss-light,#ffc0d7)var(--lightningcss-dark,#572b3d);--color-border-pink:var(--lightningcss-light,#ffc0d7)var(--lightningcss-dark,#fc78b1);--color-icon-pink:var(--lightningcss-light,#70003f)var(--lightningcss-dark,#fd92bd);--color-text-pink:var(--lightningcss-light,#70003f)var(--lightningcss-dark,#ffa9ca);--color-background-gray:var(--lightningcss-light,#e2e2e2)var(--lightningcss-dark,#303030);--color-border-gray:var(--lightningcss-light,#d4d4d4)var(--lightningcss-dark,#262626);--color-icon-gray:var(--lightningcss-light,#474747)var(--lightningcss-dark,#9e9e9e);--color-text-gray:var(--lightningcss-light,#1b1b1b)var(--lightningcss-dark,#d4d4d4);--radius-none:0px;--radius-inner:.375rem;--radius-element:.625rem;--radius-container:.75rem;--radius-page:1.75rem;--radius-chat:28px;--radius-full:9999px;--shadow-low:0 2px 4px var(--lightningcss-light,oklch(0% 0 0/.05))var(--lightningcss-dark,oklch(0% 0 0/.25)), 0 4px 8px var(--lightningcss-light,oklch(0% 0 0/.1))var(--lightningcss-dark,oklch(0% 0 0/.4)), inset 0 0 0 1px var(--lightningcss-light,#0000)var(--lightningcss-dark,oklch(100% 0 0/.08));--shadow-med:0 2px 4px var(--lightningcss-light,oklch(0% 0 0/.05))var(--lightningcss-dark,oklch(0% 0 0/.35)), 0 4px 12px var(--lightningcss-light,oklch(0% 0 0/.1))var(--lightningcss-dark,oklch(0% 0 0/.5)), inset 0 0 0 1px var(--lightningcss-light,#0000)var(--lightningcss-dark,oklch(100% 0 0/.12));--shadow-high:0 4px 6px var(--lightningcss-light,oklch(0% 0 0/.1))var(--lightningcss-dark,oklch(0% 0 0/.5)), 0 12px 24px var(--lightningcss-light,oklch(0% 0 0/.15))var(--lightningcss-dark,oklch(0% 0 0/.7)), inset 0 0 0 1px var(--lightningcss-light,#0000)var(--lightningcss-dark,oklch(100% 0 0/.15));--shadow-inset-hover:inset 0px 0px 0px 2px #0074e24d;--shadow-inset-selected:inset 0px 0px 0px 2px #0074e280;--shadow-inset-success:inset 0px 0px 0px 2px #2f7d334d;--shadow-inset-warning:inset 0px 0px 0px 2px #f8d36a4d;--shadow-inset-error:inset 0px 0px 0px 2px #de47454d;--color-icon-info:var(--color-text-info);--color-icon-success:var(--color-text-success);--color-icon-warning:var(--color-text-warning);--color-icon-error:var(--color-text-error);--color-border-info:var(--color-text-info);--color-border-success:var(--color-text-success);--color-border-warning:var(--color-text-warning);--color-border-error:var(--color-text-error);--duration-exit:var(--duration-fast);--astryx-theme-neutral-color-status-fill-accent:var(--lightningcss-light,#0074e2)var(--lightningcss-dark,#6d9cfe);font-family:var(--font-family-body)}.astryx-heading[data-level=\"1\"]{font-family:var(--font-family-heading);font-size:var(--text-heading-1-size);font-weight:var(--text-heading-1-weight);line-height:var(--text-heading-1-leading)}.astryx-heading[data-level=\"2\"]{font-family:var(--font-family-heading);font-size:var(--text-heading-2-size);font-weight:var(--text-heading-2-weight);line-height:var(--text-heading-2-leading)}.astryx-heading[data-level=\"3\"]{font-family:var(--font-family-heading);font-size:var(--text-heading-3-size);font-weight:var(--text-heading-3-weight);line-height:var(--text-heading-3-leading)}.astryx-heading[data-level=\"4\"]{font-family:var(--font-family-heading);font-size:var(--text-heading-4-size);font-weight:var(--text-heading-4-weight);line-height:var(--text-heading-4-leading)}.astryx-heading[data-level=\"5\"]{font-family:var(--font-family-heading);font-size:var(--text-heading-5-size);font-weight:var(--text-heading-5-weight);line-height:var(--text-heading-5-leading)}.astryx-heading[data-level=\"6\"]{font-family:var(--font-family-heading);font-size:var(--text-heading-6-size);font-weight:var(--text-heading-6-weight);line-height:var(--text-heading-6-leading)}.astryx-heading[data-type=display-1]{font-family:var(--font-family-heading);font-size:var(--text-display-1-size);line-height:var(--text-display-1-leading)}.astryx-heading[data-type=display-2]{font-family:var(--font-family-heading);font-size:var(--text-display-2-size);line-height:var(--text-display-2-leading)}.astryx-heading[data-type=display-3]{font-family:var(--font-family-heading);font-size:var(--text-display-3-size);line-height:var(--text-display-3-leading)}.astryx-text[data-type=body]{font-family:var(--font-family-body);font-size:var(--text-body-size);line-height:var(--text-body-leading)}.astryx-text[data-type=large]{font-family:var(--font-family-body);font-size:var(--text-large-size);line-height:var(--text-large-leading)}.astryx-text[data-type=label]{font-family:var(--font-family-body);font-size:var(--text-label-size);line-height:var(--text-label-leading)}.astryx-text[data-type=code]{font-family:var(--font-family-code);font-size:var(--text-code-size);line-height:var(--text-code-leading)}.astryx-text[data-type=supporting]{font-family:var(--font-family-body);font-size:var(--text-supporting-size);line-height:var(--text-supporting-leading)}.astryx-text[data-type=display-1]{font-family:var(--font-family-heading);font-size:var(--text-display-1-size);line-height:var(--text-display-1-leading)}.astryx-text[data-type=display-2]{font-family:var(--font-family-heading);font-size:var(--text-display-2-size);line-height:var(--text-display-2-leading)}.astryx-text[data-type=display-3]{font-family:var(--font-family-heading);font-size:var(--text-display-3-size);line-height:var(--text-display-3-leading)}.astryx-item[data-selected=selected],.astryx-tree-list-item[data-selected=selected],.astryx-file-input[data-mode=dropzone],.astryx-citation[data-variant=number]{--color-text-secondary:var(--lightningcss-light,#474747)var(--lightningcss-dark,#c6c6c6)}.astryx-button[data-variant=destructive]{background-color:var(--color-error-muted);color:var(--color-on-error-muted)}.astryx-badge[data-variant=neutral]{background-color:var(--color-background-gray);color:var(--color-text-gray)}.astryx-badge[data-variant=red]{background-color:var(--color-background-red);color:var(--color-text-red)}.astryx-badge[data-variant=orange]{background-color:var(--color-background-orange);color:var(--color-text-orange)}.astryx-badge[data-variant=yellow]{background-color:var(--color-background-yellow);color:var(--color-text-yellow)}.astryx-badge[data-variant=green]{background-color:var(--color-background-green);color:var(--color-text-green)}.astryx-badge[data-variant=teal]{background-color:var(--color-background-teal);color:var(--color-text-teal)}.astryx-badge[data-variant=cyan]{background-color:var(--color-background-cyan);color:var(--color-text-cyan)}.astryx-badge[data-variant=blue]{background-color:var(--color-background-blue);color:var(--color-text-blue)}.astryx-badge[data-variant=purple]{background-color:var(--color-background-purple);color:var(--color-text-purple)}.astryx-badge[data-variant=pink]{background-color:var(--color-background-pink);color:var(--color-text-pink)}.astryx-badge[data-variant=gray]{background-color:var(--color-background-gray);color:var(--color-text-gray)}.astryx-segmented-control{padding:var(--spacing-1);--_segmented-control-padding:var(--spacing-1)}.astryx-segmented-control-item{--color-text-secondary:var(--lightningcss-light,#474747)var(--lightningcss-dark,#c6c6c6)}.astryx-segmented-control-item[data-size=sm]{height:calc(var(--size-element-sm) - 8px)}.astryx-segmented-control-item[data-size=md]{height:calc(var(--size-element-md) - 8px)}.astryx-segmented-control-item[data-size=lg]{height:calc(var(--size-element-lg) - 8px)}.astryx-segmented-control-item[data-selected=selected]{box-shadow:none}.astryx-switch{--color-background-gray:var(--color-border-emphasized)}.astryx-progress-bar{--color-background-muted:var(--color-border-emphasized)}.astryx-progress-bar-fill[data-variant=neutral],.astryx-progress-bar-fill[data-variant=disabled]{background-color:var(--lightningcss-light,var(--color-text-secondary))var(--lightningcss-dark,#b9b9b9)}.astryx-card{--astryx-card-padding:var(--spacing-3)}.astryx-card[data-variant=blue],.astryx-card[data-variant=cyan],.astryx-card[data-variant=green],.astryx-card[data-variant=orange],.astryx-card[data-variant=pink],.astryx-card[data-variant=purple],.astryx-card[data-variant=red],.astryx-card[data-variant=teal],.astryx-card[data-variant=yellow]{--color-text-secondary:var(--lightningcss-light,#474747)var(--lightningcss-dark,#b9b9b9)}.astryx-section{--astryx-section-padding:var(--spacing-3)}.astryx-text[data-color=primary],.astryx-heading[data-color=primary]{color:var(--color-text-primary)}.astryx-text[data-color=secondary],.astryx-heading[data-color=secondary]{color:var(--color-text-secondary)}.astryx-text[data-color=disabled],.astryx-heading[data-color=disabled]{color:var(--color-text-disabled)}.astryx-text[data-color=placeholder],.astryx-heading[data-color=placeholder]{color:var(--color-text-secondary)}.astryx-text[data-color=accent],.astryx-heading[data-color=accent]{color:var(--color-text-accent)}.astryx-text[data-color=inherit],.astryx-heading[data-color=inherit]{color:inherit}.astryx-text[data-size=\"4xs\"]{font-size:var(--font-size-4xs)}.astryx-text[data-size=\"3xs\"]{font-size:var(--font-size-3xs)}.astryx-text[data-size=\"2xs\"]{font-size:var(--font-size-2xs)}.astryx-text[data-size=xsm]{font-size:var(--font-size-xs)}.astryx-text[data-size=sm]{font-size:var(--font-size-sm)}.astryx-text[data-size=base]{font-size:var(--font-size-base)}.astryx-text[data-size=lg]{font-size:var(--font-size-lg)}.astryx-text[data-size=xl]{font-size:var(--font-size-xl)}.astryx-text[data-size=\"2xl\"]{font-size:var(--font-size-2xl)}.astryx-text[data-size=\"3xl\"]{font-size:var(--font-size-3xl)}.astryx-text[data-size=\"4xl\"]{font-size:var(--font-size-4xl)}.astryx-heading[data-weight=normal]{font-weight:var(--font-weight-normal)}.astryx-heading[data-weight=medium]{font-weight:var(--font-weight-medium)}.astryx-heading[data-weight=semibold]{font-weight:var(--font-weight-semibold)}.astryx-heading[data-weight=bold]{font-weight:var(--font-weight-bold)}}@media (width<1024px) and (pointer:coarse){@scope([data-astryx-theme=neutral]) to ([data-astryx-theme]){:scope{--_scaled-font-size-4xs:min(calc(.4375rem * var(--_dynamic-type-caption2,1)), var(--_scaled-font-size-3xs));--font-size-4xs:var(--_scaled-font-size-4xs);--_scaled-font-size-3xs:min(calc(.5rem * var(--_dynamic-type-caption2,1)), var(--_scaled-font-size-2xs));--font-size-3xs:var(--_scaled-font-size-3xs);--_scaled-font-size-2xs:min(calc(.625rem * var(--_dynamic-type-caption2,1)), var(--_scaled-font-size-xs));--font-size-2xs:var(--_scaled-font-size-2xs);--_scaled-font-size-xs:min(calc(.75rem * var(--_dynamic-type-caption1,1)), var(--_scaled-font-size-sm));--font-size-xs:var(--_scaled-font-size-xs);--_scaled-font-size-sm:min(calc(.875rem * var(--_dynamic-type-footnote,1)), var(--_scaled-font-size-base));--font-size-sm:var(--_scaled-font-size-sm);--_scaled-font-size-base:min(calc(1rem * var(--_dynamic-type-body,1)), var(--_scaled-font-size-lg));--font-size-base:var(--_scaled-font-size-base);--_scaled-font-size-lg:min(calc(1.1875rem * var(--_dynamic-type-title3,1)), var(--_scaled-font-size-xl));--font-size-lg:var(--_scaled-font-size-lg);--_scaled-font-size-xl:min(calc(1.375rem * var(--_dynamic-type-title2,1)), var(--_scaled-font-size-2xl));--font-size-xl:var(--_scaled-font-size-xl);--_scaled-font-size-2xl:min(calc(1.625rem * var(--_dynamic-type-title1,1)), var(--_scaled-font-size-3xl));--font-size-2xl:var(--_scaled-font-size-2xl);--_scaled-font-size-3xl:min(calc(1.875rem * var(--_dynamic-type-title1,1)), var(--_scaled-font-size-4xl));--font-size-3xl:var(--_scaled-font-size-3xl);--_scaled-font-size-4xl:min(calc(2.25rem * var(--_dynamic-type-large-title,1)), var(--_scaled-font-size-5xl));--font-size-4xl:var(--_scaled-font-size-4xl);--_scaled-font-size-5xl:calc(2.625rem * var(--_dynamic-type-large-title,1));--font-size-5xl:var(--_scaled-font-size-5xl);--text-heading-1-size:var(--font-size-2xl);--text-heading-1-weight:var(--font-weight-semibold);--text-heading-1-leading:1.3846;--text-heading-2-size:var(--font-size-xl);--text-heading-2-weight:var(--font-weight-semibold);--text-heading-2-leading:1.4545;--text-heading-3-size:var(--font-size-lg);--text-heading-3-weight:var(--font-weight-bold);--text-heading-3-leading:1.4737;--text-heading-4-size:var(--font-size-base);--text-heading-4-weight:var(--font-weight-bold);--text-heading-4-leading:1.5;--text-heading-5-size:var(--font-size-sm);--text-heading-5-weight:var(--font-weight-semibold);--text-heading-5-leading:1.4286;--text-heading-6-size:var(--font-size-xs);--text-heading-6-weight:var(--font-weight-semibold);--text-heading-6-leading:1.6667;--text-body-size:var(--font-size-base);--text-body-weight:var(--font-weight-normal);--text-body-leading:1.5;--text-large-size:var(--font-size-lg);--text-large-weight:var(--font-weight-semibold);--text-large-leading:1.4737;--text-label-size:var(--font-size-base);--text-label-weight:var(--font-weight-medium);--text-label-leading:1.5;--text-code-size:var(--font-size-base);--text-code-weight:var(--font-weight-normal);--text-code-leading:1.5;--text-supporting-size:var(--font-size-sm);--text-supporting-weight:var(--font-weight-normal);--text-supporting-leading:1.4286;--text-display-1-size:var(--font-size-5xl);--text-display-1-weight:var(--font-weight-normal);--text-display-1-leading:1.2381;--text-display-2-size:var(--font-size-4xl);--text-display-2-weight:var(--font-weight-normal);--text-display-2-leading:1.2222;--text-display-3-size:var(--font-size-3xl);--text-display-3-weight:var(--font-weight-normal);--text-display-3-leading:1.4667;--font-family-body:Figtree, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif;--font-family-heading:Figtree, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif;--font-family-code:ui-monospace, \"SF Mono\", Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace}}}@scope([data-astryx-theme=neutral]) to ([data-astryx-theme]){[data-astryx-media=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-text-primary:var(--color-on-dark);--color-icon-primary:var(--color-on-dark);--color-accent:var(--color-on-dark)}[data-astryx-media=light],:where(:scope[data-theme=dark]) [data-astryx-media-dark-page=light],:where(:scope:not([data-theme=light],[data-theme=dark]):not(:is([data-theme=light],[data-theme=dark]) *):where(html[data-astryx-scheme=dark] *)) [data-astryx-media-dark-page=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-text-primary:var(--color-on-light);--color-icon-primary:var(--color-on-light);--color-accent:var(--color-on-light)}@media (prefers-color-scheme:dark){:where(:scope:not([data-theme=light],[data-theme=dark]):not(:is([data-theme=light],[data-theme=dark]) *):where(html:not([data-astryx-scheme]) *)) [data-astryx-media-dark-page=light],:where(:is([data-theme=light],[data-theme=dark]) :scope:not([data-theme=light],[data-theme=dark])) [data-astryx-media-dark-page=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-text-primary:var(--color-on-light);--color-icon-primary:var(--color-on-light);--color-accent:var(--color-on-light)}}}}@font-face{font-family:Figtree;font-style:normal;font-display:fallback;font-weight:400;src:url(/_app/font.11dfd3b82f28.woff2)format(\"woff2\");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Figtree;font-style:normal;font-display:fallback;font-weight:400;src:url(/_app/font.162dec42e5b2.woff2)format(\"woff2\");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Figtree;font-style:normal;font-display:fallback;font-weight:500;src:url(/_app/font.453f1e15e1b8.woff2)format(\"woff2\");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Figtree;font-style:normal;font-display:fallback;font-weight:500;src:url(/_app/font.320f708515dd.woff2)format(\"woff2\");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Figtree;font-style:normal;font-display:fallback;font-weight:600;src:url(/_app/font.f4a8d9421270.woff2)format(\"woff2\");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Figtree;font-style:normal;font-display:fallback;font-weight:600;src:url(/_app/font.5eadd76edfec.woff2)format(\"woff2\");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Figtree;font-style:normal;font-display:fallback;font-weight:700;src:url(/_app/font.dd63f196ca2d.woff2)format(\"woff2\");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Figtree;font-style:normal;font-display:fallback;font-weight:700;src:url(/_app/font.48749a4b71dd.woff2)format(\"woff2\");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}\n/*$vite$:1*/"; -export const NEXT_JS_PATH = "/_app/app.d77b85f22d67.js"; +export const NEXT_JS_PATH = "/_app/app.78eebf80270d.js"; export const NEXT_CSS_PATH = "/_app/app.a05e2f1dc78e.css"; // woff2 files, base64. export const NEXT_FONTS = {"/_app/font.11dfd3b82f28.woff2":"d09GMgABAAAAABgsABAAAAAAN4AAABfMAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoIYG41wHIFWBmA/U1RBVEgAhAwRCAq7QLEXC4J6AAE2AiQDhXAEIAWEXAeLSQwHG8YvM6MmnXWhCP6vCXKGrGXxCmyvqvD0zFR7T/umaS3qdPsqyj2ZXfUCeTxoNXYcp0DDi3HxKDESgyohoCQK/hYK17APR/v9jZ6Hv6jYnKL9Y5m663OXIySZJUjWyNl9LpECQItEsqlqKhEkaiJLqpUMiuB+nt/mn/seFs7GyCFGIQjGQ5v0kdImCyN6iktX5bLViUu3fVbtfrr9qGLRhzbLGXuPNNIho6S1+ZHKL4ESXxUAsJ+ADF3qlFhm/nW5FjPJ9cQsOUty4smPCiK+8hhZGbYOExOjy2hW4P/xD9Bz34839VKFy9UCN01T0OJks/lswmMY/wYguO9PEd1m79UTSLjANezUbS0fxvN4M+T6+hIM8YgXNYiQY0tUgvAh5E/5VpnpWUJyCZ12oWgZ8c0vs/Xzw7ZRvbYyX5p5r1MKhro/UkQKus6ODpsxYMM4Mre9fW9uEzW8EbJYgwII8P/fptnO09U3TWg8WgKDgtCPnXQ48VbeMmVaHH1pLH19zVqmpVmC8ZJhlkgKyYtUBSoGKupw6aTbNnz6nPR1ulRc1F10mGtJZaLUGe8Ts73aZ0VCrjQPkRUZy4RgjvCa/1776v8ZCBhXAJGAiYbYQxw5Q1y4QjzQID78ISFCIWHCIBEiIFFiIUxsCAcXkiQFwpMByZYDEZBASHKIUh5EQwcxKIAUMUHmmgcpVQGpUgup1wJp0w7p1Anp1gdZwAxZaBFkiWWQ5VZD1loH2WAEstUOyC67IXvthxx1FG7UGNxJp+CmTMEhCKiE2Dlq1JiTTkFANdHUsMGvCj24rn5vbwRXFEDxHSBg8FWfrY3AWP0xEPDWRR/QgNDJPH7cIIDS0vrTTYDKnjuECkSJEQMqYZiFwv1kHR4q5OXeg/bkNETJrbMpQHCESuhzh/IPXG9vHHsW/q8/+ol9o3/WTPjd7jSDa5q1s5jMH6WD+btpq9ggtVUtlWawXtZOjayalVIJjJo6mS4qS+fF1ZhFgp4fQLR8V3IswZAjvMJ3b5Qt26mGQ/HyTUe5pC9UU3gW2KdGKB4EfHpYlQfQqP1/6HKrCma9PZtibQhvWdIhPxMCYapXSb7RuGCdzqBwu+U3HL6RpSpJI2SCEVg8Ns09gTawvZKTQFu83XIYcqORXChLDtCKRDkUkNbFhH/sAmAPKmbBHTT4wR8BCAED4YgCEywkgkAaMsGHGLmQIw8G5KMAJZiHUlSgFvVoQUfbLnZAV0ntqSU1ntoIMtIIvEzGOdVj7Mn4eI5/9HT3ky8LfbZltOEBW8j6qTO/mdWycjaHCvK1zwfFb0AkFaiQXUDEtGYobsnJQK4hd6twSr4hHiHziex566R90yS1OdK1FdK98tK72n5/jVoE11OGVu/DCYOAcshdICBTMI6w6EaFKUABUQ0ucUIBUJxQTo/tdIlqeTjnAev2AweCwVHYdR7Pm/fP+yUgJCImQZKSkVNSyWNglK9AkWIlTOYqU65TjwUGDBbGe8K/1Tbb7egGFzPLWmLdCGx52NbByqhK1MDeIqJ9BXz3OIw7ZGctsaPEjhKvdiwV8Fo8iTaXvVO+DQ1z1CMce+JZS4dUoFiZhngKiAu2IpFCIFHMNc+7FlWpuepJTdRJ3dRDvdRHa2kdjyAVqUhFKlKRilSkIpWFPXoy7IURTnVqUova1KEe9YkgkgDRxBJHp+h0bNvrkqWARd9qCGzMm4IO7nee8oxugVjNhkh5ueijofm4xqeprB5cgfeXSBLCkZMROvbbY0ualTBRaunFYRpNsQdSOCocCGkwNEwrQs6UooUO8fRZtvF5kWaUzG4dFobcvQJgVHjJMRc3pjeHPAXWAYn/nulvClwhmv/Dz157UPLAH8BeQHydFWgOh7J3QYNAab3Atq/qdgTg528XQD4QGkpECxa+oDoLgoTFOmA5khRlgxgeapR4dsC+6ChCuPyS+fa6mldRxZUQUVZkyjTNr6KB3l3giN3elwfhFNwx5GfI7pD/6Rvo59++xebFAGpUbKy4pcZPljp95dX2YH47DfAS+sH++5z+sai4wiiaN53+/2XC9vrLB275XvD8L8CzX19/AXTbpbci/QYstMqIg0aNu+Wxv3yGgk/0r0b+BJfJhzOwV8BREaoSzkycFHMxl6t5vJTzVIamgodSvqr5qOKvlp8aQRoEqkfXJFSz2UK0CNMuQqco3WL0itYjVh+mBVgGxRvAZsa1CMdCSZZIsUyypXiWS7dKmpVSrZBtLZFNBDaQGCG0kdhmUtso7aKisZfOflr7UBhlWC3HOnI7kLaS2S7PbggqvgeAa4DYDiwDZVtBxSFQ9gaUnAJIGLzYDRET2BqOkIF1wJ5qhjZy5yRm1gHzcSwHSVmZuF/+cuU+HzsMO6JGcVp+WAnMx72jphINCQGLCxngkWPKET88ERrFJIwwhpdxA/Om8WgjmsWzxMc9GsmsriI2XcSxXJ6fkmSwVWZcSWK6QY/Hx3OD6fTCYU/UZmYavlUai47O5wwYFGUp6mOzzu3ktAxDxYjodSKG03bayjSXTuE49Ui0SXKtLxxGRSLkUKhJnpx3xyYYBHZPjkQa1Ol6Sk0aqFjv+ejYCCo8foWUEwXYNAUU1chhmJGoijoZ8JUwJNh3/zUtwkoGs3KLExNgDx/R3IahfE9v3sxeOPFi8hg8ZPEx+DfTho1s0+LZfgFOXA82JkKxdd0/22bs9E2bv1yI+dp1cjw/u5AGvXoXv8zTpJvsQQE1updJO3N87GNlsdLqq3vj9axsxt3NNr8pN9Jwtb5oy/fD8+TZ+aYBb8bUIpFXE6pHPrniLTcGzcDTwamv4bKoSPdNldT7KRkmACshWpbVXXplptBPbu/bx+9iHpewOsjuJJuFcDvHBNgiQPkuJNmlTH1eq0+9u6hblTamjwf16qsIRn8L4EUF+K2Rsef7pVWi7kdFZ+ENXQN/rBFtX9kt+sxaO99S8xx/HXSIb+++HBa3B6c9TTc/uXK9Z47jQWYusfhlOdrDuyN1qsChFmYdoKeXH3YUCnAdHpqsZPH6AqhjZD/w+96+2SXJ6KhYnmJek6SdaQnUcZ1o9t05kJVUgkFrLeIul+k3al+w0xJkIkiu0+mttv5vs80TodleoW62t99UU19kyW+ftm+WG21jD0J3Hj08DEkokGYWxRVF/q1C/X7et3hMkurWoiec4Y2TdDPxez9z2JTvYfmVuddyTPkZuo7ffk6xmaOADQLIqUnaHahM0GIT0iVKTvHjf21lu5PMfyePLvn7YHC0tWL7uudyzuht3q5JeS8+JB6lsRpJhQQEgUGw0QRY24XvYu97UZ8xve92sL67qydRp67NdeUEcPxy82r02ADb+wsEAmx+z2RfnTW/30/+Koe+fv3xPNUrmak+K3oXqxs+ueCfzW+oq+3mWOaZE8Bt5Xt6EvWuR11+DfjdhIymj8+PJs6F8fT78a8PyqVH9vN5LwpY77/9/+07Xe/Nvgcv95rt2d2++LDvfHYmY/v6hU+MOxnZ2NFbOdgLi6j8Zkn+/tpa4/6trrLsNmaxejEZnirONDDY0jYyZ1Cv5w+1k7IEQ6RImC4NH3EY2tlgsj4sGykw7KqqlPc0Yi8bVJqT7dEieWQpjzdZuVW7hWQzkKmSbMlvXoOhdA+lZuVQkoMiKMLCI08aApN195z0uz0Fpk2uhG1Ud7ukZH9NnbTyX3odryY8P/vocHy2kKsOjNEsIHMHDVqJeUCqEVYT6WVu49nXgmL1stUzYLIa4lfVSatesEoAFJv9mFxlG+O6Z2eFGxR+47+gI/8l3tu7RRQal8e/U/vVvU0nIHSB4T40whRBLTMt1bzZKffejMjbbZIpAUOy9Yunbp5nI03PuJfTbNi+qX1JbeAejLyYP1LjRBXXH5U/QRTqNzPnPbelVHGrOP9AbZ1x/zZnRcX2EsP+2lrDga3OMoW8ZY09Hd/cStbSbWR+ldbp+YMd5NTf99ZxaZcUTNYfRNXJaXOzxKrKp6Nh7r1ea1wdehbP3xF5djYqQysTrIYMSiv04zNHvl0M/L0oR6Apzk7maDIE7gqv31UsFpk4t7e2XVzGzBLdRgJDC3k5QlUOL+HDwIJnhW99Yw5BFNUngcTZi+957/iSjML0DEF6migrJ1N29EbSM65vRzszrNVUF1YJCqOOpJ8PGeznEEZTTTX8tvvroqfyaxnmuOYdEAg7VdfR625Ir2OlEHoWPOK6/jrcfSX6BPB16B3DRNrv3fIQ73Sn+mS8eB/312agRLwYKb0WuR6ZjwUjgD1/bvbFebr/RMD3VDBUk4pydfFKisQvyYjZWzIRyNDmBrAkRSnxtaACV9lkASqNjhfH2RjCBFqf5HhcxU4IJ5kqyO5QKrM68Bt3KdnC/zxDJ+RMDkfGjtUTRKxeweZwFJwMkv51Sy5QnYWAz+tUqngdFXwhYeSO5y5aFbj+jjExnGQKWJF6ioNdpF7IYrKl7GgDQcQYpGzwas/OyBYJ5vDRSSoLsi7zk9EoICUVIqJPv5yi6RSTySSHJ2JE/qqfPZO6N7bhg+3bxPSvwOWjBNizcip48NbXHNeIBEVkrJafPG5yCWFFNq9VppCW+xVZSORzjkv1DSy7rSk1JYgpZEdoieRIrYAVzyZZ0dpkIkZLskFiVXsML8Qlp+WzEipA66cGGUNpjRwmSww4EAMZ2Y9TlPcot6ltsGUL7Uvasi9oS7/w2b9djsJIxPK84W4nqgiPVTNVcjVEhwWe/D5GZ76tOH/7QRyx59+c6gBuwwruSP7ozj3Yx92dxCbHZRfzmMnpxvT5oe1Nj7ZezB+unjsnZXxZ6tikOuVEBkmVHrDykaSsecWVprmkXCk7VsfjyeFyNveWUHW8dwIkNnXhV924JDlTHZTIT/UCG7k19IrL4iAk3BnDtjFm//j5K6GHnGTllqhKmLn+WSM/vEOuXoyrTwmj7f8yl/hQICOezdcwADlLEbk4Oj83f6d658jECL18uIxX7g3JWbfz8GCNXZz9kr8fXpDPyEqoXIU5prdFSZO+2NZw2v9veWjRY+jikDkklorvUGnh0oNHoPWjxeveyRuuiaEGMi8UrTz6ZDi26beP9d/e3Ws/gPjByIYoydqsiqZYCdym951+y9tvgfr+2/H8o5kPneTTqw5d/k6iG8nL6ftKxsM2zKanbpy5iElOLM4eFmLiSGmmeg5r36C3HQRsp1lTUt9JnbwUK3ndL6Tun54LOJtpX9KWfsFnOO295AGgtKH9m7qG4Kduw1xlNsPp7nXmygaz2/yq0nDP3skJRxT/CLyxhQN46YEhA9Kl+HULMJCG+o8XdZvLkSg6njGCYy1NCsbFirnZREx01Gxl1K4ZBqyrzT7nz8o+9ntO/sf2fnbW8suflJZHhUdERYIiOTi5LtnFHUT82DXPgtd494ndPP4PzckNBixLypXC+se803blInC+HX/ZzFkJzh94Pfwm+138PM8HPivJimCx/Jjir1Xbf4CRdwzH+YIyiyPHKTwdep5d6Y8eR/m77nSAtQ/abv65Cf1TjcBzyVf3fXy2+XrYnf6uGka7pJgU1hYCKkw6xsKaLQ6bT7GWTMUMgMNuY/JZzBYPzRNm9GOR58yKoGWuPbhZOu4SLa5x5mPehk7ZYeeCZHi3TPrEY9BE/unwmUgDUfCIkADdp52CYJ2RW4x2O8bI0u1U8d+4clMfnhyGlXyYNBiu+gCR7lhhAiLFcQP1sEhcDMZNpjPOhiw+tAtBGBLccX9ZO4mJcp+6kEWnDXzKiNFeLOhmsb6l3Nm6oAhNWGdb4UsnKxrVTpYGp8HXJ50Hf8tx02zFU7udiyGu7gkfALktY84YhXkiuOajkaOP+g0K8wSz+ai1+qhUqHcb48NittisHws30reUm5zId7OMp55aGutH1WtZqFhj7Cd1s2yjTmyx+0v71wjmlBxPOwDMb7Bsgq3Hn5gfOmWFXUlwU5X50irbqRPLourwab8AbovvUVcyUVzxmBqnlzv/BI1r69hAodrUQzCyQqtpqi1d4AM69DO2OV2dCWGqq0zVVnQVnakl+7luYx+plpW2Kc5iaMtxK5/ZKWdxQqcTUaucr1zRmTYY7jZ2XzfLaN3O3qFOjLTzwObUGsPAJqxvmFxDdn4ws/W5Q8/mqQjVT1ia2pKVnOvs3l3jc8581G/6qI2pnXnmzHBFo3Wxp9vYHapluN1yeU1qGK+m+A6qhJCv737oXdXzm+u6mPnjvZ+J/ktPvgHdOYE8eupChbjFApucFWtrx49sYF1t+5hA7oSQYvjtWfmC+GeD9SnExMU8bEfOnMWgboVNu+PkJmrec7qYIC7hgEbgSknfzVtvcQhuBdyalYNuGPN06zWuZLoQxN/0w//uiRzJFet+QJ451RFYsPNJfRa3Zg4hriMxJVLiUlC0aXd46gIF2akJOVNwiW7HmrMQEYrFdYtu5gRKLpxKsFbWSVVhyEmnlXVqVdhVTTx1bfrEbPV5soGGp6JPBw5vMsDuBKYbthcW8nE2TcMlNo+Bi9mBg91hdx/J9HUQP866+78R3zZ8n+NeTOa04ZVO7t0bEAL7Ix9f9sOsYkGU43UkIHrPKqBfaA9JOnwnCxFEy1EXyCGHdcowqxqhMrIOR1+c2xO18RqQOsDTHVDUQ3PJ1kl19AsH3nJHw2H0OlvrnzBQUk6b2B02LS9+/FjAHc6PiwfRz1mo7TTK9IYhHEFzPjwEpEV9+uMYc90y/jvi+C+AR7+TqwF49eSWfn3lnD2bgXIYQICvqCVuqQr/Pvol4831v5Y3bJhDnIZVf6Ben2TS/zZVtZqp6mcg+XcsRe3izq3heIQJIwve5l7ALXFw0EuZ4EhCZjp2vMQeTF0dgVV9WpkGXClRiDSjozljgNetDPRcEVdFljjGEPZx6I2dvT68CTbKiFFZ2KHJNRaJAru77k8zhXfe2c0mlsvbCNsV/2hc9YVT7aZmF8DDKit1FYnpnZak4NbxwulDVT0q6eXZQIQRLjeVBnrcUfumKzhVi9/VlXhqxN3ndBDPZU0jk++M6Aw7gLdAAI2A9KalO7DmOyc0aojzjtpQ3e3QsBWco5YjBFyTCCdEgZAs4YdXt4JZpNQJwOmI5cJIQO5hjGtgYVyWG2GKWNvDdgKYw/aiFZS7SsHYBwKowYd8GFX44t7ARE0azMSAJMuIBxSwCDgwlcYwhlbco0LnYxFyrRmQUHGkxIjkQrMOgLolGlpqjzSDBtQWTIftVeHjoZkEAxoMoNGx+LQ2sIGMGWMzyt1wrGTD0rFfNn4wBCzJn0kme2qTy3gFtjxIy0faSNgqotYhkNVGlOiXcQAi0o0yayvl4re9wY46uzRW6TcNQYg2uRYg/VQeia85SZdOOsiC8oN2du75vv0aeG/+x2oFINxdzmA0tc2Ei7Bre9C+j+0IOTg6tcvPrs4udocj9kT9TovbmwAlWVLpjFdZs7l8ga1Y4ixXqlw1b/ozot7gbrZ42p1ur883GI7GAhPjHYIz74hE93K1lvIvjPZspQcDZYYOR9FyfhWIS5SflOq+V0a24px88ELIIhjS68pLyiqqVdagoTG4ethGb/u7SCt8W6f6rp6+gWHNBBJA1U5j6mR772syfgmdKpLIFCqNzmDaZ78DDjrksCOOOuZ4z3s5r+UoT+Hm1lflPDz6C+lYFx79t+tSRh3/JV5q/lgqT8XX9VLxH9UeyxKPoI6klk+EKpJDVFLXxJPzsaQhHVtyMnPcT7skklnCoTOYjrJXnp2LZSvNeVVwuXfSV0mjedhiaAM2wnO37rettcjrSrQYc89TUDZyJFEjq8QZK+O74OrWpavLD+cyQl9t01B7tMfdBXRN17boYg56PUG0nqLfY97I8EUM+Lklvvbll5m0hro/j/AYGg2sMdbAmtPXUM13pMPgfexifMAGRsJABMkUaJ8BMMBA5bSpxkeAyWW0DvsSZF3EfqZbfttK7zaGFN8KQuhAqiBp4m8VZSYHtQpaSPGrXN9q4t++0IZZ0WQmM2EG9xv35+8P7jceDB4MHso/FM2hXV7ZLbdT433ec2xkzSNs0DBH5m/aK+U9Z2xN46Zw+kn3vySHwQ6TS1nBeE/ZJNXglMgmFjDdcdD0dP/LPdem/3vW/Ov7/7/k6yo=","/_app/font.162dec42e5b2.woff2":"d09GMgABAAAAACx4ABAAAAAAX1wAACwYAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoEsG5woHIVcBmA/U1RBVEgAhQQRCAr4CN5LC4QSAAE2AiQDiCAEIAWEXAeITgwHG3lPRQdijwOA3GdqJEKPA7mopihKGGdD9n+dwMEYAvWBdpEQxWdYqTGONjasowdt0NnZ0o6qgqgoWNdUIrVrZ02IxI0cEdB0Hcjdj/C9cb5iCMLfGzBemjD+7UOMwNfy9AqVQDpCY5/kEj2/36Oz9/0gURNXQlBRBWZdXYWKHDCen+e3+ee+BwiPUmxgCjidoCLYhIUOa01Z2F+X7bLC77CaRbffjz08v82esXThzKkYIIJIxSfq/8+PoiQMDEBQMTBwUerFbrtyu1iFi77d9e7kImu7yKDCFrTq2fsP7kkAodEYg/EIgiAYj5CGYAhr/a8t9ERplErzfYQy2CIm/4Y5tyjPYM4biPXjX/9T53/3SvbLzD3WByoJp0dYYoFjBdj5L8vgtHK7FSBWXNR7/3N7tEbKdCiF1ChhrojN/f7tylRtf/n6EaT8ShFQhJxCH3Kbpk9Fme5vH+F+AepISTaAF5TgABAOeFIJpAOfTqBTjg/S46EznDItOqcyVyFN73HRuijKkEsXZWV4qv3U/v1vNrAXPqGCSkeeswG8bAmFqrFVlYDO1tXV+RJVq6bzHn/tQBEjkQiPQ5qBv2KFXKF4fuE+9Uq9EnmBxEicw8Rf65lJCx7FK4tZt1aoJfKu3+fnyF++wdLG0viNIMERCZlssKFe4eq6/+owPHcQ1VRLPH8zBYYFwJ0wLhAqhM4R4swZ4soTIiSBSIVCwoVDFOIg/SVAkgyEDJYJyVIEGWU0ZKxJkCmmQKaZBXnlFaRNG5xNO1y3HngANUAhIzIgCAL6Q8ja2LTHlzACBvI1BLbr614HYZ317aJzsJAA1asDAoOf+f2Cc3wPZA7ur1GpllMwEnvzQYOAXnfsTKVBoLCHEEA6PRHUCTCQ2B/rMSAgne0mZG+zQkh62BiDWg3rPJbZXfuCYczyTinzMmncEIxPXvyihBG2ZjIIEUQdROWYL9kyjIoohrmoq7a+4a++9K4XJB4heScrAvVVVkqXkDvTsQ4gsKstrRMrsPOi5jQdNBE0GisvLKf09A0SiWh/XZrUGVLVlBCiBsmVFeGBLUEUBPC3Vj988sYzyLYa6P1rpalkPavHnHgthuEuN4u612qN9Iod2S1pOZGrB642chWqrWp/z/ZwZIR7seo5BLgYQFFy7A5C/9sJaJuxJhNjKCIsBGcbRZCsCsjT0BNDXmVgpI50caqyoke9Ij12B5PSHaD6akDeKcYQOSEOkYi6i84cX7aUYhbJnBnq23cvX9YUe8yKA2legL3cC5HnicjBl8yPw86csniGjDXnPRW0KVQc4MDDmwCkKFATy2DSyCCXvDy8KRlxMpp2wVKZLzNl8m4s8paq0Zn9luV/Zi/E3cCEtTQ/N5vWbvom3z7mgMNwm8pmc1XZYnnkcD0VO/H+lZ3BEGtWgiO7NKKlnCoDkDRgKX5K6eHUv1+6ilFAy+6hK0dpZNSUqIwzqq0PwXqgXsQIMuEcKCi5U9Oqqm1SZMj1NUsqY6eMWT+5sdNmk61lgXEi6x5jwoTDUmHXUZCY19SjV1OeeU5GSnLkfEKeqcg8ydqcSyySK0VSWiR1la+h8jV1lNXzdc/rI4Y9hDl5jsE6r3FyoXrm+C0uDv7afjCQWiBnnjPMVzLPny9s+ZCC/wqW9F31SvRFPmCe6kXy2PAOGs8P17ry2Y843cjD7dhjxFZub83vlvnhKY/IEQBx4syDJy9+pGSKRbQ4LtgUhcZgcdyDzp9ExcT1SEjq1affoPo+Zs2w3jqPedaLcoyuBtAgQpjCkZBR2KGibfehrpyNnRMMgcLgCCQKjcHieFpHFTp1pbtMFGLieiQk9aavLZUByyCljRg1Zty6gycMUDdVDaOXqat9eaXaVyk8UHdYqnJS3a7snGAIFAZHIFFoDBbH0zpqr1NXustEISauR0JSb/raUhmwDFLaiFFjxlumaMJqa6ydWldbtdR1YevYOcEQKAyOQKLQGCyOR7eomLgeCUm9Ui1TMmG1NdZOyaBasZazdeycYAgUBkcgUWgMFsfTOirXOXQ9TJxzzjkv15cUDWSQ0kaMGjPeMlWaYprpZmRm7fEyqIbqn77STl36DBiUNmLUmHHrDoapzjrYOcEQKAyOQKLQGCyOpwMAGGOMMcaAAQAAgCAIgrCaWbAJI5MxYbU11t5fwlyZTujSZ8CgtBGjxoxbd5FDUdGHkHv1pKpa8eYv62HzEHXlBEOgMDgCiUJjsDieJ15fiIiIaKld69mn7uFrzve5UMXK66WOuhI2YecEQ6AwOAKJQmOwOJ6hRaukQ0xcj4SkXqlkPJmA1dZYO8VHr6vSOqm39VT1Y6ghqFZMRdaK2cDOCYZAYXAEEoXGYHE8ukXFxPVISOqV+ss53JCAftlahBt6dGrRBLHjxIufMBm6vaiAGXAM4FjAaYAzAecCzgOcD7gAcCHgCkAM3jH04BXduJOdEwyBwuAIJAqNweJ4dIuKieuRkNQrdVAEETvAECgMjkCi0Bgsjke3qJi4HglJvVKXOVxASyEiIiIiop+Ks0ccvC2EtobRY8GONqwOGHfCgUHX7PQPN+4Jt/Xfh3WlpAfBnn6Qn8FuUrO7bDIKO1ReM5KGh7tRjWLyA6edGB8aAYMnDaeHQPKUsWgcRM5KxwdB6FL1FtHnTAyNAdd5MQXsF4GM6VTW2VBZKlWlqDhgDTsEOoZLNDw/YHizbWpe8YXV6ItHKl2wRyWjRDIiKNu5kUMI5+NTqg0GWWodCEEUL3p3jQ8CDuFApHEaItfX28HDwF89R9/pEKT14UL02V+t5ThOnKLDecCOPdsSLUkMX3ftIx1FREQ3oXKcfKkQEkGnQryft3o3AKC27utMdEFBMUEsjXYJLKwjnualDvoMzoSOC3raiRwsHeqT9NB0CLdxQS35trtjwoHA0Byp0dG66m6hXbtUYE976TlGUDInq94NTgXOwP9bhi5RiTnzE373pYDuLS+A2wD5dRZgOhxSAhiNvlRmN7n0x2kXBcAkItPi8qAQSRTA4grsAO2izex1IE+aFqDRMm51Uhv/bttIgISLKZDCHKf0oiF5zavfkz07CCfhVMFHAVfgIRAJfARKQbzglFAkXC/cKOKInHt7MYSAjNI+Z9I0vw54N/6DwE3AX2PFz+ojwN4ACl0h+H9Lj6RH3G3Lk/z54RkAPrzr1epX21/lrqFLpS/zV7HlGy9uAwLWAwd5phWQW51sjlzZCh/W511yzzVv/PXQfbXqlPronEpnWZx3wXdffXPFAwiBjonNiTMXrvg8eBIQ8uIngFQgGXmvc2cqjco0+a0mCNSdDyTkBxlsyBOGwc5k7n7s4UZ2+qzXx5kspvZ/XDPVe6HBL6dd9so7r7330uMAvK3YLT89DQWe++GEk8Hgj0dKYgfHzXLbUUcccxUFhoSKzA4NgyN7Djh43LjjYhHppy9vYj4+8xUqSLAQSv7GiBEpika0WHG0BvZu7Zvo6BkkylbQv4nCAb6Um2S8CSaabgQDEkVuUHOnK1pgn7Bbr5q63v0E7b2lL5a3n3zayDPL/oGZc0+4u40s60MB6hTdnk7Yx3kkHcPiwDyFWgbOW6/c4McMiQS0qsuK0ZaKcnLFkLQg905o6VYWOrdOnvXY3kRkaPFDqN0dNU9iHTYTY+Fjv3h0RE7DeiJCjEZ8yM5TUH1MMb16PGM8pmO1YOIF4R0td23CNZzzQLpXD4SIlJqNh+vFLBH0FtnO+HZkxEmHYAXfPWryVKDyLNYvmecQHindUpSXKgn7JJpCmVcuYV4qmHyfsOVGoGSV856PMl9fkOkoC6jiSdvPuPMYitanKQpKxuYOJgdWVT81a38SdDGMDQYsdEV1ZetaGOtxnAySEsBz+L/ZTG77fqRjmIa+IhkSJNp/CNT/iRmWSIfjnibEOdphTsAZVpsDAmFOWTaUFfKv71Lpu47ZmJhOgRVuii9sNNV5jg+wz9sbKmgjeOkOoAU5WnIfGohomt3mPcKj3dEaCeHRsHHCB7X7w1wJuf7MkyTSQUIDY5zzMNBwDmYNkbLWw4F4MFyYyIZK8KGQU+K6iM1/MtJppZrdgAD9iQZeBIOaUbEyGpnoQmUr23gMAuxLSUNrnedWoVGItpjRauxSW17Ove/0UMscpKGC2Vp6jdlcFvdzphqjG5FJXlZ1ipv7Y8tmxhAKJYw974Yp20cokY1zFM/haRytc9UXnu5AiNJmi4ZKCQ36Eice8b+VJuZIL6E25MXz+hl17lsCkVrnS+xK9foN87ZTjV3sVM017SY4baP/pT7eT/XRXyifhWbp7wZTR3nhrSSKQ2WzQ3PJ7w0A12Gx2UR/iCUGdz6q35NBD7HSyvxlV6rS6Fn7CrwqeCstDblEgwUB8r2/8exGT1l9Kf4rMLbTQ8S1JtAM+f4DvAG3arppIFsqRlPO02lCA0wTUEFdcaDh1Hwv3byTfvqFhcrchFI9kUN9a0b0oGZd7DZHiID/YmSRO/cRog8qfzXP76BELx184xL+IwpTwIAycnuf5jxdC8NU2cJbdlwK9f5AIAm4nZpdTJs/Rjg1fwUEbYQ6+5fezFQ653P0SvQiNF85oKChhgG4f2Zw0PR0Ch8/LvuQI2vAcMMxNwmwXfGWgtvWcA3Vyi/uXOTchA/A0bOPwumi0GvMHHq6IceKCC6Z45ViEb5xOlCHk6ulevwmejbUNciia6mcz3+HazpNFprQOgw75Wf56+76Pa2rzheE3lJHqiY4dif1wwj3xMXIpQEZIRcgmF02wZtF5H7u2N3gjdDEu9whY/Qwwz2OpFT77aOH003GpdJHa/aPF9BPofdVbKVzXbChmaHo36BOEElxuvPs5G3Kqk4sKGr/CB3rnoFMJzRtJtF0d9ZiaBLdtZX/BmHo4+6mHz2z64K7KtPJ6GLi1r5rXelm3FtusQH2N+AzaSwN7khMm4MmycTXHoP0miHvJav7npxiiSq8AyYXXEOBhCbQrKSkprIgMaW5J19jhqHCfskcR0ZSbEoRc2JxIg0nLzJvrdQUX3IpU/6YWtZjtZEQV8Y29zNujI1ilIf30N5SyrjjLM02njjnYtUGAqHJuelsSOT1ZYR763tmfJshmx9EFiUdaaTCDL0PquJ28ovMQoZf2xV+4aj9Tgkb/N38zqxFc55xhH6TckzPt4HizvYwbdevvdZKZczdNBk3Gh/0KxV4u925M7Ia0AO+R8Q748VUdNqQ1XuhYmrLuWH7pzTPWc7Jm0ByEPbU1g9m/0fAamTNzVjXiGOOPOVcs2dvYQ0BETdWKv+HJsiIoazYkF1v+lBL0FLTpTRgwbx1rSTu8EOl/Xfv6n1jdVg6h6m0Vi4kVli6FJbDInprWoZ/sI30bStB5p2arMinfKL/mhayLFI9+VChtMWwWgMloysxYCCi0PYmf9v/ZjiUm9GNjh1PNpnaRe6GoY1wKJ7B/MdOCCESt2VK3zNobV+jt5+6Kykp8ucN+nvD2b4hkztjpNvjIluxGaI3OcTeP4KqkSvG82N5Ed92Sc1b1b+THJvY39jTcfgzAc5w8rU3U4O/6KvL4PZ30Ty5h3T66e9gnJuWsHpLxislWIQMKQut2UxiedhMVEkR+y99xr9GD6MBPb33eVXeM3RAkoEc+IcFRiAhSsMBQ2m8jYaQ8XCuw8RYiLmHaORh7CP+GUrWx//vanzn8ehE2xjb2OOKTfWLLXkZ8je1u2vGHt9UERtT88cQuzSp/BfpBdRlyOgP/c/piKtJYBYJOSdU2cEGND9g0Dj699o9jB7DtPWTqtwT9yDiixpdl7Oaq9odNPU2edtdv2c8gFyxedkIzxl3krvjrcmpu14Tj0e5nQJ9vDqg/Or7NwwtjbreZIHG6OsI/xGq6IpW95RXorVm3Js+roUNiYoeFc98lmG1mmJDBxtRQ/X0wpscmf+kgnyXnD30D4Z7Qruh9ZrucIZmMfrrruvvc/7e8ECxvIdpN+kf4Uq0n7HK7W5n+gyhp6PvYOOXaP171irPXCEbmqgEp0VsxMJgg7zfPhQgkFBzNFT7iKWG8vkLpEIXq1cxjTCB2Gi6uD4fXasfuLh8vDS9xcFipHcQOHgeU03W0YQBMMtMNFTFO2bQND1PcL/QiGTw5d1dzQnx5mB6ILYn3gJrUYVuEVGOE5rOv/zRKtvKyaF2qanXUJS5hHe9o7lSD2whuMJR5b11X3K4u6swtYv7Yib5fCalKy5KGZfVZteN8nBDf5aeT0ohyTbyWI3QBAS7H198LzuayaC24B8W0WuN85pR3MR/vxciT506+HZWpW515nwBZO9uUt58V68cdZQawtjKu7YdqIfq6Sh+6qF/HnrYtIXdAmj8uZbbsFbvE7YLGCrKnYp6+D+G3jixLjm5DtBOXPuQoz6SsbJf6IEHnyxd88TRoi8jpaDD8j6ZkEIBm1bO7jQam802fSAmw44xswhthyxBhLuWOmCGbZCJteJXgYUFPbsj4dlUKjS7KxJ3jMvavVeQQhNmCwqU1DjpnAwE4OkMSauCIhdqoYQ72oIZJeiwvB7f0RLc35sM7t/RGp/kpvStjS5GFDMaRTEX09qonwKJCtyBf2XKvh4rNEVsipvWtUEDNLC8gG4amC0HhDgsM3DiLPx0Yl3v1Lp5BYc45nshJ9SC3QUDRyKR2f4BZfZKDRj7hWHHSUTuQDXeKolvI0lMBv341CbKh/ZBlvjys0n/Ihneq65jgNkSlF8rD2QDyLVIh7Jze+jTTO2LMe5WFT9XXPJsys2VFGf37MOtFPCqyrlEawuEj/3EO/pL/E250MWXeuCnAl9ComYEaq4CHRYfakBSMrNpqncR8eJCrLVpWohEy4+Ja7EpG9D9MtiaCjotsdAhtSaYDR7W6cHmgsTe9vCR1EBodnd7IrEnEpxNpYJHdrXHWWZU5dlmeGqMzHKctKt1cwCenCDzd5hzdOa6gSvXAXF0LhKfm18QPdpbjqQGwrO723ukNhIyebgqwFVILzpDCDllmRJRBrvg6O5IomMm6J0dz3iPXBdsZ8lBxDYVidgnh1GSHqfgaSe5Ncpuyx7g6I/krNyQnfGJqw8yxxGnPt5htB/LcR+DcK8DbvbA14MssARXzbj6W74e+FZ7Oo2241e/ddSIe5zZbg6Jwi3XxWtNAu/Gq76irWujjhn8sGnp5MZAsFnViJU9nuzN9PbfVd1hEt1s+qOuN3fZMXfy99P1HYeKu5ctWFsc3Su6nRVb/TRyHVAXmFtXwrIdB7xVX7c5EV+7Q6/2WZFCtvhrt0JBarvWpTJYXGZ3Pemp4rcanajbaVS9UsUWJcoHh50Q1DaoA1+lL3FF3KU0yGJ51iDoKvejwUchRaBZYYACCstCjwYedVeO0noE1cH23yfP7Z2cBH78udbf26/RNHmJwMvX54K3mE+aA8eMtxqDb821H9Yc14DF7RNbyz+Pljxckvi9xRYrfLjm0RqQ7/3XjtgjzkedUWvaAJTuC7V3u+v6/xjA24KWmJdke7zt1+TjFtwqOVRPVAn8RKUCbzPIU2AQsJLzkCDVKMekvwjiVCXr8XNS8T5QfG5+qK3cTShlr2gIXlkUQhPxtWs63s6GY16SiXnCdzuOIOelkv06hI550dyx9GYhlUbsExxnnxhGSDzhgtYHtub7OtpJPak2ugSiLwO1r5nkTUMvi0VY3UUQVQAFtdm8AJv18rJBDYQmYOOEmzOuSsABUkkqm4IQ1BiklEqZSynKTJuiSiAsoEcRBwFm3hQ5Cr9L1kGMTK2mvUqAiWSVOcGqrZV6l0YJQNBr9K/i3MaJjxAKhTRned4smxc4G9IKSRmiEAXyF8wTBVCFTEkpG4MQJAlSSlBbQKad9nGGtY4NwXibBX5SDJ8mFO+Pvdlespz8J+k3iTZlY3u06bLLGc6WGYYJUk0qJD6DQeKnFWoVRcXva/KdjKCuQB1LfvrZCBYxuUk3U1Kdvdj3Z0G9TKndjm0/D5h3Ve6i5D3Vzid+cbIaVKyoyQ/rz4ZllnUYx2hWmf2coFBYfS7gfSzkGE+bDDwZqmzwQ3qRH1HIlaSi0a+HJH5SCXCLd8UWj1RvDitUCTDMzQuSRVxWhJCRYB5gWr2t4O6BhOgrfpZlbNXOG4B57ewreb+k7L2S0vfKvn9YC1Fnw9ZqZM2ixa5wk1fmZrzA940HTu4OTr/2YeLeJ5+Xxg/+mDzoSKtrskDbyuBYLyFRWQNQI+41GQPdaTDBwwuSPTirwAJHgnmXAazAjEUXpbd6ZHpLiO7uwu0FBdSIWzBLk/SI1JX0YpSGUjY1G42aYpQaO+nVbPwYgHfHz6ZLP58toEuth6JqCGplXNIaqFYz/aUB5rrohiyTF8iGtDZ7I6FQUJPl7ci3XBtruMLO97XiuTue5J0N9W4XrtWe9ZkdP8uXobmkXHmqljjvHyTe6k272CnVMTIvTwubisEvgHx1iQcxXg4qkSh/EXh++u4/qANDKoiIOyIjKuwPYjUP3y9VGOpLZvfwCmBFlUCuhH0CgEOkobVb5XB0KvVhi1Hq22zQB20WnS8qwzSsAqWsOjPlcMpD860u3l0iAwmbzBRmBADRKQ+DNYaJ8D7vvh3EjjrRloYlSXmNc9s+0AFzSKFK6m53z4lgsiOQ5zWrB3jnpZ+bj+44viNgheDOUz8PnX/5JeGdnopR39NHesiCzZdvBkQJduZX9vTzq853nfzxUk739MOXPwwm3i2umatG+iWLq2T38Zvf+DF4/KYTN4W+N0lntoMAp2hIjM/YxekmHLydyd/NOllfVf7IwU/Vn0hRF+06unO+/pBUfl7fo3Q7FUV3VvDbBL84VAS4skWOicW4QiHGJSfDgmFs8HKJX2x4VCJ5tUH4avL6GEQXeNdHsNlUSoeti/h8hF/YvGMvYwxRqslAQDUVIo3GIGkGo5P8Zwgec51u0Qjn3H+pn80CBc6vdCqZbYPbh/0r61e+3CS5OHZtsDBr56JKK57QGdvMkCV63ZbejU1wfScDGHStv+ZwASY6lwuJXD7OIl/aXussJotDPWao5qcXGqu+G/wV9lacYyrktm4l5NfpLazhXlcbbLdGejVg+AQK218KPTnDzJzW/vIRC4QFTaGVrHYLKpL6xDIsFMBczUFXA1EHMSv4oxNsU8nFW9HiemccMsVhlzWZMgFJARk1mDpWrsPahNdhsbjWoUvWbfj6V8pNkOw/M+8Whw39OIn2mcxJBLYkU0ackrtEIpdcLnK5GuQyrEEMpp2IiYA/ZTjDvYwzE0BewIyqbCGzHe088ZneZzBCwYQSxXqUxqDRUMrPTtS63m62h0ZULEV34CZzB0mr6LrTYtEpulbpc3rsWqPH5bR7XEatxw4WN9BdBjNz0KDGlGuB9qfOzD9nf/cE6eo1mxMoYulJmTBKhmXMtpUpGGVs/0ZmC/M11+kRdXOqc8bqlFE1n9leSmc+hFu/YS6d2qwPZUFLoYYzSKNOWNrNGjRaxiDDYKc0+h+MGpYZAggKBWRSfQBFDAGwsHxj0nH0oAguae59X49JwYCWWFBkJEcxjf33Eh7Cr/EnqKWRkYuNqBs3irZaXOq3zyyhzFD/JzC4VAiRyjvg0kNfVvET1SXcrYIybbHaU/15oyj5T/tNTZnsG155XU2x4K5ft/f4a8RZDb/hZbZCBvwrubkVFz4XmI82ObaH1/exR0FpYdX2T552ln0yXlZ/ii/YIygp3OdcWvbxV8iHM1TNZzfNqKA6L0mYHH43+LfQiOqr2wza4sDBnySCn6Zd8mdXaIzh3PYvX77QKHlM0WjxMbCNf5ovOM3nnxYIToHI8rsGGHB+cCSK1EPYYvBIIe136CA/RlN+DNL5HaS1/mNezetC4es1vFfrH6wdreCN1daO8SpGv0Zpm1pDO1CEcWjUrA3sLaz7aNoly67QQqHcyJcPX5A0vqYUm30sakIM1a2Qujhw8OPqd/hn+PzT62DBfeD0B3P+IFDELAdllZSX/1Du8gMQjxlfaeNeAbOXlC9/VYCxmFxesuWN7fq/a3semLG4LDeVIWTSdvC1srsd1Zz7Q0A/HH9UBltzoCHKWQAM8VJ58c4EZ+bAeTUMdIkOk5t2KFxND9JlUB/OIXGdqcNq0oRbdXeONT698n/XW7tubt+vLP8eSAzgdtV4hNlD2VfClItTGAf3OM2aUJvuCKAs/9/JzjjygN/31d88UF39wNdq/X3orH/AOtW57YGBzc9Ldw9ufvCL4/JS5LBNsvCsdsFZ8UeHrSUw0I+Zgw+FVz+yWrP6qUeOUSe8Lpu7SnMVYOlWoA511DvAhC64b6sZKPIpGQXISaK+wnbMIaltFHgRf4+5XnowFJYesErf819itkv3Nful+5ltcieYF/crnPS2QvqbKwX09u/939C+xIFwyMtMAoWj8sabF+hCS9NdSIWWcPYsbw9hPIblPX639sWja2k6pFtws6+U6Lx5NB5cHsmoAD4M53YeDBZa1p5xEjqYsKzC34+Jl3xIODPLIkGcR3M8XCo+9ntIL9NduycIIvlX7Gfc37kZ8D6+n/F852H2g8NjxldauVfehgze5MCc8dVW9tV3dklw5HOzuVffboXBBWB7V3TX09d60T1PNzzdfVK6E6Cl68yIT7cFO6AFIO71gi+9N0+A3e07jW7Y4DqZTKrXhvVn0N7Ovej4eltZqVu5OuSC6p7KRefa1CY4bjUOYLix3x49bGxVnvZ6VlVsKObX81otYd1MR/9lJq5lxtTfb5oJh8nwUZ8xt4jbSv4P35yu5JrsAW6DYUOQsStxSSOpVjXSRBPIZVra5bpmvYyPbSlvs03Pq6kWcxKhsr7Gfn7djX9KC9/MW71tAFZXyWUuWqzUeEVyTCWWuHDrC6Sm86Zt9WqXTa9rFbhgYTvk6whsv8kHvoKoDqM+7kRQrgOyQ3N1gUKqUN295dY/wtk44NVqCvANB4iVt/4bqPi3QbT+q4ubGMxMd/latQT/9YOvP0xLJHK7mH+n8SJd5G3WwF3hrj81yYK3Jz8ejwXqtHNCwdVfv7iJdfmV7vunY+ryz2vLH/5SoR4WCe6EXmCKPIHME2xdzF5miMcMl7EsZDyenSxzuSEah0pGGY1xcXbW0KxWtlgs6Cy/2qAOaclnnnzsqc5qrZM0m2FSW4N8fePvJYNhSBENXMbQV4bCHbNkIHA5feEQQwcg7DQUk1CUJAaZJFFjZLCit/6oCZLEGDu4ytGl13c7nPquLoPDrkyk0yFs3jkiQtgvv6GJ9/Ue17jF0q9O7YFKTpaUXijXgpb5mx9TUkc9Uw9cK3UfJdVhVWwKoZDpGLh6b8OnnoYG9uPB9zP7mDy/evgbaqrX8KrWVNdsAJlPfyL+gLj5AnEBN8WrG8As6uzK6N9OgevtKrdC9srkF5t2y1VqVq6gFUo5yyme4QH/MIVrqcygkGllUq1MYaBOBAM/hg1vWii6lqS8Hyj83hwgKMNiYovzDqriUw+0jfAa5VJSf8BVeBqXNiLKYLq739YqnpmlKxe5tUYLalTK2Puw5W2l3QmzRu2LKgc3jtPjYDa9eSpCzqZSxOxkxK/rktEelBD+wcYJ6k0tpHoy0KyebiUsQkSoQ74ihRgT7FQcXGK6y3TnlFQGVFxl6asVOziS22XTtrarrJZWpT1riH+RAYZ1ehQz7nqafPoqWW2AA+ENeO3jk12qx71B76WsZcCS6sOcS+8d7KxkgejDOTo9euCEP0E8Mf+BhMcJMJ1MbCJAQ6/P92PzsGbVD75hK0AmeV5JPDxbdF9x8b1Fxbun7J4idfHpB5wuV1y0B4wbQWwjZp483BVYF3P/P6Om7hs64AbPf5xB8JXQq/DH8ccMjscd+dfuJPaC+UIyRRLJ8+R5MOM57/zfr1r/LOS96cUa69CdDeKH2YuCotEzkfCR1WBF5jDu34dfvQf37ccBme6OpMGE6x/FnSJe3XGleC7rPa4qLX8yv32X9xcQ/TXX8fPc1cvleJOIVqlFlHnIFViTmFKrxLTdwSXxnzL/P8Xei2SyRUHPU2MFe8PYStGuEqmiysHlm34uysqX1T9JbaYufj38Y7E3CRZaheRr/86fBvybxbtz5WwpD5UDJdm/QP5TuNqCBJD3HhMlpe/dHuVzpSXPA6Scnk6ungYfzJmp3qkp0HPLgk15sTXTwU7G8n4K+O/guFbNCu4Xc7WQpFFcy4n3MwKwTVZ54VRF5amTVZUXtlZWbL1ws1AkFjaIRYANrdYP6JcWAlds0/XPVvNK12PLV/zMjyGqQW4UpaEA/Xbx2x84PpMvK3q+rIJMVGPMKXZj4Uel+B0cX8wt2e7O3V7C5R3bznXffuywt08/b3x/YHMhoJ9Ox51dpB0OpW0upjbmtEt17JYq9Ie+etMw987OxkJls17ZqHD93lHvULTVDfD77dKdQLjrHuWUe2XngXrxXr2erqXYbbnLU7ikcmpUzhhXFAYX9bYvr9+w3e7YJ9F2dNvWL9F1pnWH/tbbQdJU+2+h44KVomfzBM22MA+j8P8eS23fikLv6HhJEG21ydPkDJFl3ZPIedb++zJ0XLjSIQvWpm1bPNE9FyAmVcK4Z+3fUug4fYG0zTSzzWDas/Z3cdZ26qXN/mtzP9u82bZgvC2cYosW2eLeT0umANYPdoL/vzLZJV/qbt8T0r2+z/X90AN6sDx0xifHL+Y5HHegn93563g8EPfmku7RvKL7tFF8u4KJ3cWemYez1AxWC9jYO5tHcI03sqw5NMxNjeLcYe5cfVnmBv2OKtGXvOJwP9o3wWUztW1+iONTD26ssubUH9YDhnqCz39v7zFg2u/x+nkx/H5v1O3CYvj1YsbdV+fX+4Ug/A2APwADQLvvjLLaNK1YG61t7mgM6ZXu3BqZQf7zhqAV66PvM7GipnCkH8tG7Kp1/JM0jvbMGUkK8aRlWq1YG+0cQ3d/bzxMaMWmhuyBp5DYs331s5DWqFm1Mu0DlAek/TdgTOOYBVqjZnWW0QBPllkZyGBP0G0EmRIO+W6P9C4KbssVp2r1oKXfc6dbx8up8TQe8JBMSdC5NoANsk8SslpjNytDEFr5b34ISStvDCTZM8YDyI6z0MWXSUZCymYAbS6V4APwWV9wO5raKRLgtRziBLKtM8Q1muYBcmEkHId0WGpw+tB2PslmnCFeZ0WS6VYta2EeiBPnrQaLtUFzJ+AEWfToIG4iDV5Z2f2zULkSY8HVzL7dYTC6iXd9UpAH+N7VrsnB6QuHmoVcTj9qpe6jSA9FdE6xlCuGtsmLVgaJ5x4n0bTlrBHvtrDcK7/di065LYiSsqJAQLPwzJObzdls9R8qjn8CvHtD6HAAPp283HJ1t+/Dns1AXxhAwIiTBPTObvT4b4NPzU8+x+mP1SrYYbRzX/d5ZS2febdJxa358v+UtCHMAE9hayvfT4sNJd7R+yxHrpLnLA/s4M9jHrXHGaRRNpgK0lQhMXzPUM1Qfy5B9mEAxj7tQsFrRG81dMZ/Ga2rNNoJomUSaYuYL7D/iPvXd4ZXNpp2fYiBBhIEa1DvaBR/DJwKWp9oACmKrKYaAQg0C/bE7G0Jg/89rWe+o+sz6QbHE6dQfPQ479geKXoUzRT5absjdHb5Z+JMQWFWuBBonT0iT8c0FtDuY74KiMFvCH/TpO2nnlKK66g2xG8OljMIWAXJksKR81iat8BGiIdsCAAdJIOhSpVrB0FbfrTUz6kYcVt4NEJSD0FBfdrMpx7OkiBPSncya46V4ko0l8/zP6BXtB0GvE7mDV/dtOEgWYKsJuZ8mLMR9CJ7PRL7bFVei90URBZjb+DI6/sKtb79lBOB3l4gL3CsmwLjA5um1F3M7SW5xzcTh+iNAMdlDgHOxOQBRb3kwcqc1Bq74LxPuiuET4A7s9QTSLo08WlFzQSB5bTFUyuYG/GkBi5Y8HbgzEm2WrQ2jqi+MENMJUyB8bAeloGh8YIWTjmxQQ97o1MkcFnpaD7ZBuwWXwAagOXi7BZ0Fz+fq2SeA5RDGYlIkuRSTfgz+gBlIZD+YEARL4dBdqlzU4OsmO+uRwPwdCQ7ExFuhRMxrGATcVFqJ5JI7JhIxjVvIoWv1AksYUTLQgCDuYCLRghX3B5L4ABpQ6KGUTK24kH94sIS+V59Muesn3LEOLNAMS6LhFckU3pYhrknxiehqATG9MIZRCaLBKeymXJywyQoJraIaANCYmyk/kzOOkGkZNf9C0ourdtZg7rm8pzKIB49eTCW4m5n7xYkdNDHXmtMAwWRCHoI/QwSLaaKIUympQaKi+1YE/Wk9ICPv45vbUXRyKMNJ8Qo5D80ttI/JfMDegzUGYYvu8daSoXb1ZIn6wVVFYKcvMnpD8zWlFwNYs7Jd4t1vPkoIPZZo3885RnPkpDw48/qeS94kTz4WL6HXkjjlpf1etV2Z50T7Dud0FF+5e95XZ83mCip+uRXtpH6jUgNdz7kkP5waYSvkEZqMXV0CpTUmzJj/YqSbwou8yQ8OvDNXcNvrfU2WOew2W6j852AoJCtTFpsMmW+uVq1aRfxjfuY7bcnVRzHKJoj/P4N8/BbgKiIhghERwzERCzERvatqKjiSiqtrPJWVlFlVfGqrqba6uInqD4hi1b/aYt3osTw+CbhgK0PDyeRHCRyQI2lmCg4omtKyt4FF2nQMWTJESVGrTqXXHbFVcedUK4CGcELzTJLrLTCKgtl+2SRMnbxt9iWBGD56ZcSAkKeNjokV2xS1ASmSp0mbbr0GYIyZspsjTirPfLcY0+AuNgXjo0lViUKJob7VSodrNKq1ItGKAbT8cGAn1kQmKnRQhHVYC34c/bqZZLz08OJKz2zOk0Lp4gzBmvBmuPQTutfFRsw3r8G15DHCae74wcDhvuHaVEu/i5zayHjjDMHLWZkWsS4j4wSzghkc4Fs3ogzwmT+XnUOnHEgTCAjcB+B4MD9EJARCATuY53SKsRkNU037XywKjfOX7auvHh8ikSs8JlA4UDVdfxf5LHyf6crv/32Go1af3fMVpY7NpZePTGyiE+Lh8G0VmXEYaFF/9JQ68T/18PadnwiwyFomrjBXAa8KNM/2HPYTddYA12ot3IOqwE=","/_app/font.453f1e15e1b8.woff2":"d09GMgABAAAAABgMABAAAAAAN5gAABepAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoIYG41qHIFWBmA/U1RBVEQAhAwRCAq7NLEJC4J6AAE2AiQDhXAEIAWFBgeLSQwHG9gvsxEVYxwAw7gPE8H/5YAbQ6QPrZdwCEehJiW1U6JhugSR3eoN0206JTp/xSI0ODBUjovyRWtMi2WwzWqUfLJBXH4eXOGYPNP1lVmIv8eOkGSW5/sfg3bfzJoiapK8sQk8kdQ6Zxui/n+e31Z/7oNRBDMxaKFFQJuyiVJAGzCiJpjI/DvqjM58Z5qNdrcnNqqZSAfn9tpIN1NEh1konZJJO5rbr/5KoIlFEtn76GRLgS7aZo6o3f4Xt6HbPeVDbHdUcoQCCPDDtc+Z3Xy4eckRkFCtp8Ax+spbm7WtAkRHDUjAIJB/GLP9xw6RA63ZaIhz4IUzV03PEpJLMO1SLS0jXn6ZrZ//P1V1xefnPUKCUyDQteCJaW2H5C0VkSd5dIatg0cfiePnqVFyo/xE14oUlwalkall66XZfZiTPnr1lmQZMmXf04d1y7BEx1BNfO33MaTOl72t+sC2HjcTY0pTRERkZnf7t9fX/bdUYAIBpADDhPhACEiQAIGQEOGQSDEQsmQIBQVCQ4MwpEI4+BAhEURMApHJhuTJhygUQIqUQjR0EAMTxMIKsauG1KqDNHBBmrRC2vVA+vRDBg1Cho1BJiyDrOCGrLIGss4myBZbIdvthux1AHLIYchRxyGnnYYzbQbO/83DuewyHAQBUyBLnDZtRvRJI2AaJj1sp13KzBB41vH9nRAIDxiLGggM7syTezsh5eEXIfbstisA4UB2VP2mBgEmTGjsXgpEPoIhRCCtlwJ1PH94wS1rESLkab0NOV83IPjYNjceCALUsUUEVD/yN5r7lv1r/54f8zX71Lqdd+2FvBQPXjLPZRpPxg7D3th22ChXZ3NZRqkfrJM1QwOrYuWgxxJTlVxLFpHFCZ2SvCgWsXAIjBE0LAEeB4O7lY01A7JJb1e1tW6kqGw0DNfwfuSkkbciUT1tqmew13zYSbRfhOut4XilR4nEVCbZyMcRquFxNl9pYsQ9ZivqMH1H4XfUIKJog9lIjayeUJO5ix0urWOQ9ZQRJrtRo9KGfB3VIzdPPGAHptFyB6wFDPVDi4A+SER/DMZwjMYYjEUypiAVGchBHqahFDMxB+WoxkIsRR1asAKtWIV12IAubMV27MGBBYcsAda5YDVYAZaatQhkdznwaVZkDf/h+dAHOfOx6eFH+yt8ekGmtSdsBRuHwVg3a2VOVgPWmPHlovwDpIhAhEwByftEnt7jswlUvjaK6DmGcJZ7UG3Bh5eOfIpGxOJQYCkoOPMUke1gjE49EvJJydnbMBQImAR5GwjkMgwBlmFEGCs8yDR4jh88gHHPpb879KrvOPjPQunvlHoM/OfRQwjB4OAtqTweN6+fdaWgpKJWoEixEqU0tHQsylWwsqtUpVotB6dBIyZMWpoYr4ngXvvsd6AaChh/bcKqEbGTw2YN5oAm2QIxO6TqCnGJOJhgSERNWE9Yn8VlW4RCXCMuiFnLRzlnoLEEI5XyMTxq8g2FeK8zkVAJaeleRYqQIfbha43YgqhBpXZAFwzCMIzAKIzBFtjKPcAMZjCDGcxgBjOYwexhu6Es475yqAAr2KESqqAaaqEOHOAEFzRBC7TCCs0tZryuuayM+bBk2N77liVB8AE6zZ2a/bDScyFkep14Ykf3dZdndTnaIRB0wSZGRqAorvKZGedl2gBjyWjeH6bTZT5AoSLCAZEJE46jBUhdFlBS7sW2sxl8caQbvpTxYlmoO8oK7OnedI4hCsfRXueBc4HCf8P0zwVeELDcM7hLwwf0O74E7gHk1/IAy8FB0RfAQo620lKXntrcjwD85O1SKBISDu8xC0sUMADLA5mBvCA4NC0k566Jz/3dbiMJHlnAapE76sWEhRF2BJEmN0XRxJD6uDKZdyuupPV6fdEIh8cRyDeTD5P/SyquenVxEZ33A2iRpIYXUTIiT0n0MceZ1rxT0Y0JuIbr2L/f0ge5xwvwQw6b7/+toBf+oArn4FEEPnoI4MNbvvoekGaLbMRu3KQVNtrtpGlnvGbB3/7V6N+yfgUPP1EFHAsfVgT8CyWqQlLNT6UAtQLVCeMUyiGcS4gGUZpFahKjVbQW8TrEaZekS7Juich6UPSjGcQwjGUU04hUYzgm8CzFNYlvGRE3oRXEVpFYI91qMutk2SjTBhnWy7OFyk4K2xXYTWkHtV2K7aNxiJbBUSbHGR2DVy7bJvm2KnVAkb1K7KdzGILGotkAzwNyGXAqmHgJmHwHmPg56HkABYMbGC1EpM6gmRDOArbNnAqNVS1hamVYl8HJIC5EhLuTK2k4RBjhSPetgnCcfHAqsC7TKTkldAoIsQwTAvcsOs8qp9d01QujYlEPaIXFG3RRFaVSqsNTqlqZGCo3mgpp1511NYrzNVf0VTcqFnVlpf6LN0jsrq42483N85sGKRY7dRFRUPAMLeWWazdzQ5NyJVPcMSWNUxyL13YVK2+9FB9gtyMhnFGK3PNmrJkTJAKQROSUTjm7BQVJExF08T4ttuWM3DYiq2zIanQUWv3pNBSo/oRVX4E+YUO3Vz8yMSmUpDpZ5SrqppOWh1Auktef1mA8P+/0TjlFchE8xN6+rFy5OmiogndpiUhSHu+7lhN1HnPhqTCya6zwmfhEInmfLzO3ebxkLRscTGyfJrMsK7EqkqTI3/t5b8R1Fv7TGnpeMvcvpPw3Xb4Y12HN8Tzf/oy7SZKfXms41KbI/0z2w8Lh1Q3HD0oKnvkRKw+yBeEqIqbA0xLZFA9mJjawvnn86tdkY82kK1hexVICPtVcRc2GLPFGHgWPCI6XqLf+Uyxsl6T3DeRv32f9Ig/kmQH+aoQWXvDCqqJsrFDkRynSPn50podc31M21LwM51p9qofVP7Bi7u1uEi+bycCtMdSm/+/3ovwGsDpx8nLlOANnC14d9H5btImkE/pt8dajFdhQVfsQSJFsxhVnazd3SRY36mbbAlQ5R/IQiwfYZfGWoBQCh7qbjBQugJMatjUytlTk5+oCKs3HEpBP4+KH5o6Jv87QeifMZbLZ4uJLpT319k1bHGW6cPn4/dhOZ1JhVBp9m4jJxRK5NOTkAT9vI8C6V0u/LvAFLxyxLxNfPZusLLl48gdhiHzeFvi3t/YGHuBDzYachkirHnb5gF0gbw7YS99dvEewdAlWXjotWPQBwKX5QjGqvEsNuUJkTYWexxKbHm4zwJ4q7c449Qw39ClKjlJmfVqdSHaMe5LrtmkDcsLsHWfW70Wmb4n+YzZP03FEivqSr15J5Jvldv+qJV++RN5pw53Px3lWrZXgPitOHw3O3RqGrJTrlxmSzUODfLh4M2f/hJM/iDA1oWnm5uCntvL7sYgX+p2Iyst7MthkQ46XG+1+/MI2Y23ZWvCLud5SbltyLf1a2kP/GeIwT130v76J/mUTsILkPFBVcby19Vw9+6qc8gFelXF1BYMpzzImcws61Dkjen3uWKeqkGeg5udnVNDXVlYMCsDm+di531pxqKnRPdV+m3OgcjCtgq4ooFZLJM7rPekh0gZBJdHINf9KFhyuh3H1Vw6kWenyAprzvOd9K1/yANg8p+zK9ylWytdqO+wmtZ6sqjre0kaPq6E1s5Vanj+lTctdLGtlaAbVyhGDTjEyrNbm1otkdtKU0a8I7Po1m0rA5mlgjDAa0lfJGskCvFf7g3ar91LS9jY98C6JlR8VGbxXy6DPsSmLrFzOaw2/SOlGhcwSl5+hVsJMn0jNlC4bWczuwtDHbFDbAXtspm0wv7eW3GI2j2tDVLTD49gcnwABt9mjVG3RfWKufmfdXr3ehN2+7vnWkBoPVVpPtLZajx+oamx84IET+yudtqIcL6rLHe1UFxV1qfs7tE6fN9KtHvp3bOiIedQMNs/vBa2S7Lp8tabpp9PkrgMkn0DfTv/GHdRlTKpMo85dA5kkmT1Gwbm8uYb8synrhRJzppBbLHtXH/5Yy+cWi+vG2wZVjtR89Sc1if4GSXZeUZaYs/mRPqw+qrVTkSGzd4rBRAqTB19hagZoZOlhafqvuTn6g1dFb/ElFaIlzgRDu61NUcPIl0nP3DARbA5zTVsL/NTwmT3G/lkD1AQaRhXKYd0LDS+IOTotWyzWsdk68QuOF3Sq4XEFfHHruvMk5QjFcTDpmSTHh9db9iUcTAAc7cHunqvCq8LeB7vowKl6BneqirJd3fANydagL9I06qtW10rypYwtyabEEHMpOa2wWsprAQ0EWfmmQgZLz/o/mRXcqR6lUwqARirtU+QPaDTp1869ipLifuW7Fgq1gMXjqtkMbVoaQ1PI4fIKeVHlKfHy/mLwJamcctmAVifrd8pV6Sb+THSNx47pZ0yCRAvrN2oZIiJq2W+pHCWHphWL6VolB0LS1HJ1Sd4Ii5JJxV2KvAGNBv817lYUq5tUmZPly/HFVqNcpOBRDDTJw/LE17MjGAWbKCmPn4Hg2yJD6NDHlLLXvU8ZvEIqU5MjPmARSFTOXFl3iUbW48xTSSyCQ6bal8rz+7uzMtmpn1PKRCJK6a+pHEUqrVQkopcpOKD01ASt0aSmZVn4fCcYYmpAlVjQlpSrtGjxIFbL1U/ShA9f5K31Qqs6OjQqOiS6nBUVSuhLf398vQ+IeQZKDUOvM0Hqh8wzKzy1RxY+7L/65tvM3r3fq4oPNJ+SBwIeGJ5O6GeHPTUeUHhtuKK1WnZaVjmf5zTG1IKKXNAmyJm+vfLDVOUL5Br4l0+idujSZXq9CSik0p5nv23eQM/okp5H3VRU/u6AQ9eIxXRPAgYwfgsGhbfW/mUNR2zn6mM54mDwIt2YuOqGgfL0HoO9NCH+yMhv6tCyUkFxta6KWxKjO6qjPHuQwbyZGNJpqyL9/TiZK1CYKYCRSg1lRTEWo+Vg7cHNxs0kWgGFOESiFG/9S/KqOdncg9U5B+EOMi18vssQUwtKcuFYUqJWjdf6VHBh6r+60Z6xnpqRjrGO2uHqqhkbGh+CyVuROk+KxuZHjGGfJpd88rfrmPuIu/F3IZelfBlYxTG2WMOOwtjKBAOUf3HOWwF/HVmuvtlvTTp62IczP5hpnT8TXNNR2V3CMsnZCG34oUJJ2pbyF0p7lfPHbdWYZvv6LK2N3weEf3FPilyMcAtGLvJXZMRfwYe+6FP9z6hFQHZ0VGhUdDBWP0QvisGdTb8rz8GV8DOl0n533zI3XJc63N1d7sR6d0+XG8IjuCerc04Cply5FN8x4m4YcXfgVy2FZVJsYrnD+53wHYPfewzOCkTalPeY9oTvabTvE+zM5zUpsJMe9+v1uPjrv8bF/zoTHzfzq4dKo1OpdBpoBWR1ZXpgUJCqkHv0s8SE9DF1YMj3yYVVebAk0ywzw5GFjNWNxtUQ8Dp3s0O5GfxuhH/6HvWef0Dos+HRElV8wdVrZX/EMcNh/y2q67Mk6oSshHBXmhhIDg5arXjvYxbsucV8NZqcfH+bKXz3F56IiLURIR/MP+c3DCGZZoIZHGGrQMBk50yZJ91zTrnnvTTwcj4H6Fs9Q2fePedd96y3rakUKX8PWFbwgSBNFczBWNq6p9yJz9srYkEpRsw757YFVM+6Yd6+GAHgoGIPFqu9osEEMyXhaVM9xWC++/y4M3GSyz9vMcWadStHDWq4ifR5M8Nq3thnfSaLe+ClKHsajbOIz3lbJIIJKCic8au2SgtU+q+Nz+kRwA+YtINoHt3nrJs3yaVZIIjPWi208LbK9cZGlSvB/6PcOmdeyaOF19Jwz3u7+krG+bPzqhCe3DjduWfDdZ+OyJr2N5a5Z026T3Nb0+Sor54RaN49Z5M1FV8wz5vk3D7QdZ/bHYz5U0Q9IkY2weiZn43L3PnG7LmivszfANYMPFskAKzPz50DIcefsD4+b4PIJPJyjfHCmcIasyemxPYF3wOui19j28DZ4bEAnXMmufoxM3EVU9sy9S6/BxaarNffbK4vXORTHLAu2qOGKhPzcWj8WSck3FRenE7jVPeZzxhzJwlVPIfLL3DGql0mG2plQNVnUlolP28rL66Ia7vPvKn73M7Q/dLbjNkdRBy4ObdZMXIObsufO92I+M4wbueet8J9OTR1XpLbExUdQ4naPcOndu7TvrKmHcodjLPkMFs5vSQe6T7zCmNuO1Fyusrlz0wT/AJNBvLvY/f572ofrP5Dy5wf3vxJOv7c3a8RWI8fqIe7y9UUDzk49Wx5sIe3zl+dgY0t6GYDdRukGoXXykNrBNiN2g5TBqeidcff6pWAMU3WVguW9hl5vy5tlDf58g3A6+0ef4Gs0grhg+NWefjaSCY3ZdVWJg+fx37nAcDW8VS3uBzqbDzqa7/SfS2XgQ4EIF4FGq+tFmgYQ5n0X4eVwR9oA3Xjn+rvxIBCk2Vkyx/mB/qFbgTrZaPQZEMd171s1GzCqeuA7jp4bvThzXvlgS0zOfmuAEZhIbAFvKFm0EgAuwFbBsoqosBmVwDmYQvsjUVvjDXIv711uQj8m/1RPN1anqsb8gYrr9TNcfGymE+lGLL8Ux4skLndJfcE2dGP0XVTKZT943r0INJBMgdtkWkHNI9/oR3YTGivMuaukfNpAE8BDQsok3Mxw1lbSTz8mYRe/sLCFptTPsg7/++IoBeiMGyBvT/2WYQ1P0IXhp5NU77oOzEL3kAqWfZT+gJaNhwCivvp76mrDcr+jYDD/Qx49+70ZgA+XSooazw/WP1sHwYmwQACvn7mv2XS/+dz7/DRvX++XuGsOX6rum9iW/Ns1p/UdevY6vZim3+xwZJtbQnPd7LrG6CPv3YgvALA1+phQ3+QM9uIce0Dtm4kYNevIbZhOwmkydIh5I9hvkQ33H6d395V84EncUaEB3phQyM7y4BaG31oOlNIqUHCeN7fiirGr483qiEvYWMhoanyUhi+Uyx7z2MSJ7CEFOimQu+Tagp9/HuICHMTPZ8MXCYk65K41BKSYLhNRuxX8Qj18jPWQF7gp1OHgXwitprZwHgKwIXAV0CAhYG21Ne1o9PAeOhnNAt4AlgBmAsskENIGeQLAc9Lg6OEhzSFhjSys8RyE/wAPBoBZSPMECRmZQ9tnGzPOfH2ErFO2j7oJu1AEkUQzHhDQvhLaUYAFlnqz0MkI66bKETgANPRpUO9TsX61WvXwqGCS4smzfppuDi1GNChoPMS9M5zSVIm5qdeSuzWJxO/WZf0eC6dGnXp1K/Pma+jjwtPl15Nuqt25dzgS5Zz6dWnZZvEXYvwCAiIiF1n0dLRUp8Q6mCUTbiu7er1Jlie5E1KXHBEr0yJYvK8NCvg6lRV6n2wSysXh2dBbiB31JWeJ580M4+FJi3C4IAGPI5iST55+FltnNpyCp037zSCr7GbxILB0UEu3mkD/2P1AFRvcAajKbonBsMuRoJ9v8RMdHB0KtX9gc4u2EOG4gzzcPgI3JF4o/BHjxnr24Tjxk9IJpo4SfrkKSkkqb7vUVp6BmlmFtnU7JzcPJn5BYVFsqe5Xixnuh8p1VnZjJkKPA0oa7bCaFRRbN58ZCUeVKAxlWZxfeQlENOUyGkr6ao0et9laDBZ7IwdbpYeX1D5sB963C6uYiLNOpMrlKrsa41WV9XeUPWxn3zh0MeiFTusrG1s7ewdAEcnZxdXN3cPT6++6pt5Lkd4AoKt12U/SH6NO9YFyV9alzBy+td6Sf/5VNMZva6Xif/w9gRg7sacbL3gGxHZ0YyVtSE7HmMd/MgppzHHwmE3VQmLObiAOYV4RXEsJtYqFUVRts26rwBKHIKNL2hObdHavHpLUn+KfkLxnidjbEU9UCtYfk5rUlOY7Flxe/pxXLobaM44cDbicmHCfaRnlu5kyr2fqNtSu9913gr+JA7/6tRf+/DrTXpTPR6HeRxhHsJLeYiGn4FFT6SsfI5dD5asdNaOOtrk2vI5WtaytvbeJbEpMjiGNhyX0bG9GN9ZumSx1FrGuKG9xiK+saqxMtW7aq7ZOrqrsYsb+mrfX2ig38YXQE3AAAMIoifnKXaKnpyX6CV6jV1TMSxEk5zy9tbEltZw+2qhnrcwRvh37yW64oSQtK60nbPz/S9OMdhmejMzHF6TV8lVqOLZxgpmW/U0J9//UrvG/J/QWnJ9/4ur/m0CAAAA","/_app/font.320f708515dd.woff2":"d09GMgABAAAAACyoABAAAAAAX3AAACxHAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoEsG5wiHIVcBmA/U1RBVEQAhQQRCAr3eN5HC4QSAAE2AiQDiCAEIAWFBgeITgwHG5VPJezYK7gdxPcP6Y1pZlTYOEBCGNORCFs5OMUH//8xgYqMdQXS7T+qwiEUQdRRly4oKOrMinpITVBW2dOmmZP9Uj/lNbgWlhvGQptpHeor6rdyPXf+3Jwtos9mNHSdPpO1usEA9Re/TV/ChAeEUKCCz9X12PzPLNPgGMUNZtdMTck9Z4A7OSJRJ0/w4x76M3Pf2kgQE4Auxt28VWjE78L9ef7mn3Pfq6VJaW5OY6P0oT5EN35seNrUfxWlEjEiQILbBQgccHdw2HEHHgLxxqWpStpuq6yiqU2lYaKVWWU/E7H8NZ1Y+X/4A3fu+1sgLdGJZDAQSjH++7+2R2ukTPNSSI0SzhT1ncv+bvjfYU38O3gQI9aI5Bd8MPz/fsMSs81iuNl6xSBYBgPhsc8ujI3DHtp/Y+1k1mfF/omh+jqNUAkFBLct1/MomF5NPooYRBWuMzgBH3O4pom9rG5YQFYDVkUeCzMlEOkh7P1eXZVKai/UtxaIXg5Ah1KV2xpg904fk1M5PmCMgPO7MlXbX71OA0KyzVcEHQFH2JnWuKfk3HHcuQ5Flw53Dzz2Dy89lPGvgCEcAMIBwYHBCXACHClHmpVDDA/SgZQT6RRpOXYh5+ldtC6KMoXORVll+P/natrv2gy9KOsEOG4zLdtrs3agZQUbCkMN47CY4vmve8YH8sJwyVN4s0t3PmCA0Z/AaqKm+ciLnyNMgILn8waygYw0l917f1C7UdgNA4sCCwMPJKghamWQLKU0jDcE++6Lv9mXPDPbFkREgoikmS6/e26lp3YZm+/iMMk04b/N8RIarA+RUhg2uiznSVE/iILQAeB5hAnEgrgMIWPGkCkLyIoTJOUBefGCVEKhcJFQtHgoUR5UoBKqVQc1aIXatUMDDIVeeAF16ULp0Yvyz39UAAsYBjIAIQSWhhi6zGwztxFYloMk5PAj49JA56rz2xpABw2Y/QYQBHXlxS0NYPmAxIF/da2bAEYGzfbYg0JgMVadLiE4mPQgDpCRwBoOPh6a3vA8chzof1+HdvYaRGebToOxeYbZGnbSN3jqm6hEmMX8dbEYUvO8UYntMgnQEuQzutF0CIsQ/Iu/oUzn+/wve9aDbgGvEDvXCXyHeqwHxDmkTna4ffh2t60NuIqthtKTNohGiGrkxxOML067uu3aFlOeyXPKNjGhmY8ZxOOmMSlA8G8a33zwyhNoxTiUmMwINdNfjSYe25VQY0/TsNzC6OiUKtTIMMNmSpht0CHQE2s22AdWWe2KLSRMbYpVS8829Q2WFynrgb2GjqkdPDF3iptY2bL4QbFtWFQJ/W1R9VrbagIF9azct4zXtZKxvq3bDPhhq3Fn9WSCFOsZtx4xhnHXE9AkxaosoyneiampyR6tW+qB1PWwW/FIclaYs6yRZbJENyywWGGhjwEC7HBFigo/gkkkm1yKKXHV0qR6XscL7Bhbx6ax/nBNPG+wo/8siTL1O3aWLGOThd2qO0t3U7ZO74lV1qLMmb3mzlPmxT1aO581/kotfaJteIihaJDDXcDGBDC70ZamP+TF1GiPr22V38/Q5At//Fv4WRqxK97gtQKdT2044pDzok/Fhzk/EQRjXkkkOTnLzbrIV81Vw2sfbQbxRRiRn+4JT16IT5BjABT0xtp5S41EioY1LYvatKN0DBkMB6nhHhNtn2iHRDsr2nnRLuboiqu64+6G0O0HBiRIbkeKgkc2qDMlVMQbfKsraSkCzUwFDatJQ2X/CnZYcsrXYiYwTl1C8XR69Czefzicb8dvx5YxTlXHFR1sS2Vo4JzGv9vimwtOQa6QEWNiFmw4k5Knt5l3CxUmfBYtRqw48RKmgm+KlShVplyFSlWq1XVSjwyc/2CwMy67DtXNg9iQCCFCEaGJMIgwiWgRYRFhE5FQ0iM4BhhQwAAHAiiggQEWOOBBABEkkOFJe9ZefFNApdEZTBY7TpUXPyYwQCyRyrT92cP1ured5R45m2/+PvlLaXvSEXvCoqU8GAqDI1BoDBaHJxBJ5Pbk9Owlio4Kjc5gsthxqrz4MYEBYolU1nJDoVJrZq3Dl448HXswFAZHoNAYLA5PIJLIFCqNzmCy2LyWi0Kl1syW6rA5sjv2YCgMjkChMVgcnkAkkdsTPC8vj5m9oNEZTBZ7cR63ivwEBoglUlnL3QqVWpM2vx8NrSafy75lXjh8ASCWSGXa3rOFCjAUBkeg0BgsDk8gksgFMxMRERExMTMzs1JKqeOp7xyVXK5QqTXr4fL9PeOFwxcAYolUpt3rSOWtPxvDmkm+vQLGQpJqYCgMjkChMVgcnkAkkR+81YiIiMghF+fp83i8/aw7Qx9v5PZjbzif3r41Lt5jo7UuNLPxhlxeeZiMWfP7O1a7NvuGIz/HHgyFwREoNAaLwxOIJDKFSqMzmCw275cpRmZoYKkE5O2aMgWyOEFajNhw5ilXkeu48oFzgHOBy4ArgWuB64DrgRuAG4E7gEjcSu5v7h6UEYehMDgChcZgcXgCkUSmUGl0BpPF5vVABgEAAIpb8lheAOhMGJPiiAMBkVhTc+iLe2oMrhO7nAqe5zXXA7uvniJprVSwotS5wGdKYmIMTFXO0laNJlRoJiVaPb9+9tbDGAo6AiFk/W2hVtDjAXoAXTP5tBl/izCFyLdYEPwh9ryELmQdmSUz5QhBAckfOLh4smDjoQErZ1V3tSYkuhx88sAJuyxzQoYoctbQ+YRoDY74+pmzC4HGmwF0CGAJrqskOCjIAJJalRWQ9EyLgAWEYxooi62BlK8NFR+1ukcOZ8TIWEOMKMOMC+k2IfyiNisHs0FwJgswYCbMij4aSgWYAZZSxjQDAFa5rTjLBDNAJaGT1z6AWBRkoTIFLDEiDx4eLPoQDENpsiakJ1UUFDcsx8qkwumJdwXJKbq6qCnsGPrwosBx/IxzDmVc3KzyTnApcAX2nxkeEjhBe9OfOfsuE4yvPAOeAeSvTQMbo+B4bbA6kzZvdeulVW0IwG+JTMS8R0jQDT4SU2CkTsvyqFGgMMTqdsYVuk1PtX1ZovFpk1EZbot+LCpK7at7tCcHKZpiWb5YhSwGq4zFYxlYiOV9Vtale6xmWxuU5d7uxwosyflYYZsHSVGAGot9swpYxWMv/1Z9ATgBwMRpBf5/wH+n/47/epp+/bgNgGGf7v9056d3f1rzqf6TC5/UfVL78dSzm6gFCOwNnO4JDSBPu1kfub9tnqtv2+OOw1757b67zjjrkPd2OGG7I3ba5avPvtjnHsTBpU2XEWMmTAmJWbBkxYYzV1IycoqZ55p8XXDURT+dDoLfBASRtRMkSpIsy86TPwXZVWomfjqURm3YMX66BjvnmfN+2GqvF9546a3nHgbga0Pc8N3jMOGpbzbZnNnwywMHsgA2Guqm9dbZYD8mgsbCoIWNx5AefQYEzJjj02HNni07jiQ+cuBByY07Hy7qBfEXIESgYKEixM9wXWdKlSZdlEJlcxxWTPhUqVWTZi0Gqjafk0rXxKWJFy8Tw9l//wYDWRqArgyyC1jpSrDGrQCLBUD/C1AENW+YPAXyyYgqUvHiNkIaF4JeQQsO1AqwOLhQTqKHLxBWNJVkXAK4sVgCvtFsheDnohn4tjBlsNYpz7Xo7oTWp0ER76PQqN5EctpVI0/RnoHOpFWhbFoTN2oaxEZ0uEyrjYKpMHcDz4LiBIEgg9CWYOGYQuOMfydg184BBdW5mxDRWEuShL9f6Lk2iUlNX6hkX7eb0WUns/l3KwIT6fyRVbaul3Ov1+XSsL0twsCfKRH3Euiiv6Xi2+tW9mZMX2dm6sj777C+uSrmmBjCMFOpLEvZi9rttqJ35yfyLRCrCB073Dm6p8hFaa0PtxagU/jNP0F1/vI6rsooydEWElnngu9pb7ih7JYZkzPRmFv4RDxrhZ3qUUAJpmSy2B1k9Xn+maj/o6H+jyFuspQhof4VF0XY3sybEt51/N+5YxToGI3U6P7v7kiBoBtwS8B0kXvPZCZmwsB2mGYJW5t+kJFC6sAtzpriDiozjY3OHpGZpySRNxWkDQqlClA4/w9r2zKiw7oNYa3KkzF68/+5ufUOPXalVXrv3WFMEZ7MFm5tO6GJ1AZssL/WNGb6uuPqZtm3m7PYwT7HcNkNZma5vo1p2BL9hB4XVc0eb15m8XxPu6CFGBlsF1JyD8HY+njFo3iIX3nel5q/Z7JxwQxrWmqOg2ja3fKTVqVo+zfoj4Uu10kwfilME5DR3Oc6bxrYqfV9iuTdcXWSNfC3G+UH1uxgCcIWK9qml46oRz4pmJYa9iL3vBrNYBB2B5Z5rLmfx+g4Bhhbs3PuCI+NINUB2nbV57ry7t61BQ1LWmoG3sSsThd4hyAnetnuVcsNVbxjC0aMaEqcC6Qui1LEry160+83MxAEGUTMjbntSPoccuIheIp+bZniRkMl/BveG+TkJp/JGKCA/TJmJZ8xZcVUsKOd9l2DdENGC9HXZmWkZ9GscJi+4WmDkfhaaXoqPWrwXKbRbqufJo4JcUuGirCk9ZwtAhpw9eW9Verg6zEiR6TPENQUtMXEtQ1ud+OJE+Ihy+4L15vzLUGE62DH8xu3n2oUaYj0l0D6+X/780TfV898VKD3HIaRTEorReizBFPptkOUGrV8G4Ki3WcSrgRRRqJqddEeqq1TQxrMROikcCGBg5iTOjDaXNIN8hleCHsgeefgjpX0ToqD6dxk/EEkPdOfUEd7Llqd+XYeLDnp0zWWSd+8l+PCY7u7F455YQ/flmk/Id/fBx0jcD4I5MDVPPcjna6KK9dwYbpeHWzHsjNCao5/8rPJ9WWzJIhh6jLmSKmLN9J9eAoNjxy9pR+EmpK8mfEmySvcGmSlXLbrwpMquaZdMqsB762TVMOQANz+Ld1vvzB2WvyETlqbf+tAY5v06Trs3/Vz4m9xYSbTLFq1h58cvodJ79qDu1cnCW/PELjf6bqezLvdR5r9OQcOldTAwjBMwellGXWzxlTH7kItSW/KtA81ZUCtv7U8Ye3ZLnzgUUuKxl4f+swYGBxt+yUUDem4iNDwjRzh0knGBfvqbM9Tz/Lqqn6zIvsfyjcRpuUtgVt9QkLesOs+CpXm9hm65E0odnDp5HRNYkbSbeWS+km74+0XmJT2cK3TZTjF35CfQxn337tBasd9fcBYCdElmESgs1DTNtg6irLbYpSKCPxkKgMAkeJvKqSr6UQUH9KG4LZwScrZFV9HX4zEP5e6iMJwBsLB/SBVSyC+b9CcXrq7vHrNsdpV3hbmUyqZtKqfrpDUcipGiNH/LYhq+zJA6bHGTHtu8ebf6tWHC1d1pzmq7IPTCWGIQWx0rFRKE7o0hirEB+on0hpVgCX6nPQgALtZVC79E5M21ZJTs9Wbzg1d8fyfIaOyXc2LuTB7k3LMydkethfvS7u9Or50yalQ6BY9oQlH4+EwCftUsbYfx8iULg0TUPcUn8Rjk/wElLxxuNR7V0KYfOR3STPq8GvDnBx55je9Fr+p6k1S95lvMdyzxHz3pf5545numIR0BmRPgl16NDrH6MozwdvW7HRKZuhHYH8g0JX83GlyQ4UXwjDtfZEJBfM0MmL8SClN6HxlFcS4oRb4GImYcLLZwt2lGuy5O/6TpOMfa1R6f+H9Dt/zkkqqzpxgYt2hbMfJMTjj36fLcP2IVKlxYZoYZ5FPvL3qSvrDwnfDIu0sGZGMi4rPhq0WYgG8PUZoWZlcHS0dXd03q5zylJ3pW0EYo4mL8ZtzhSNs+457bfT3SroMugq/pJIv7EPeB4yNZr61PsgdZUL5RJejqr4PQ813n4q89i4ANSOu0qpF6q08gkxIJVuyGh8Uyy6AgbV1n+O2tGOScsXg1v9uFEWKq3l4IRYkBzviT7kv0JPpFRQLXN4YukNvv7a8qdhBbpC6jcidsd9QckZzloQ6ychfU1rpF6bqNkcRWogFy6N6U93X0PpflOokb6a8CbzbB0xzrqBOeoYmAmdd1wHPjT00kjBwsNI1g3PQx/ATTi8wBanF9NydsxN3NLejSsOEqjSxZhCc8HNQUqFJY5vLaDTCwkxiysFymTPBTOf3GfcTC/KWz8sHn99kw/M/0h1EWIIfXTX6ZUI1mSl6bCLAE7RproBdRUrFdabkbozJcR+33mCj077thPSir7qjGeUC8bZap8Pcnam3ecLZGUlDg0rLUAWzRaesII4rwlDoKZWmCaUGusOYviCsTYfSfu8t3B7Om7w2kXp7Yu0Gm2SE1zkzu3F/m4mCxYceJTLPn7+6DhVZV5OzZgPJJ3jqvY8P6WzWBV0ELXj8N/bVVZY91Z1//p/nX1Bt8WwBi+iTze/Vrgvak2nL+v8ACeYvmPNM71jfmjGw6MTkr3Hr1dJo6af2+LnJZZ0Xjmd9ROSCWPozZ6MYClkUEtcgpAsYKnThOgl2OLrfjBhUkM/k2BDcrftOrXVA1pVgHa3+UCJysqUlcvLuRL21X5agNkX4AquRKpVi7WjFsN9vHu1AHDKSA8PlEd6WysiAAsTS79YfjEaOrGiMHDkYq++vHFBHeDaMU6XTcapsWISnHgCIzmv1/qpLv9tAUaGhr7JfHeVZMe6Jehqp+qDqfhBLn47br7Kj7E/R+D6b/nXvWO/qsawX5+LYh8XxYgnYR2uZSCRONrd6Gh+FFkMLJwyf96nNtz2FfO8Aah8mCdvwEOoz16igOO08tcgJ4v7NO10glq7lD/Nrh2UcNv4U6cukoa99mrO0Lj/vdt4NfhFnUOraAur8TvE3aUL427mVccDH5z0oZt8Wuiperf1Oz6NsUKgIxNIpnUA7JjLo1wzfPjoMRIhakzKavgl/HW6SWYyfkj9WlVzuQcP2/IK6dN14cQnYTGs8Uhk91dISPXko0dgYjbxTByvrY84ANCXMIx2o09mJxvM04bcMd6FdHeceGBob2DAGeDWTde9nCdAaD1fG+EB4LA3Uj7eIlpYlE9GJ1lYot6MhuSvsP9nT4z+1M5KoRJsshuFIxDjcYkH2BjD9/ka5AoUnfSZuv1oWLQtrv/2ItUCmertV31BbDh/5K3RYa3cZK3x4xVYQB+mGvq1YK2Sst9lqUHPzNn12UGtzmUxe3LwJHOMHQ6O1JZD1rf2q9ZXVqzSeFcfbh4vG2v1kWMd5+0R1zb919esKwxq/ebgDxR2daBR+M1Q1/j+kM1XDqHfFN+cYnYdo85ct6FjSeCdnjYADeVHzZmCgQXG6TfLkeJLxbcD4vCtoUEpx6E1/zj8JcimuqV7ZOoDUiWD0vSRzCakzWZxGjWT8b392TX5Lh60cindowDe1H8Tp8Q9qQXIZOWKzDxHP1z6vkRA+sUZDiMWE5vm65wlkaKUN1v2BP3rX9q5eCwSMyeYf8B/x5vZogI9uHK6fYB9j1x1mnWXVTU02311yuAQs/qvuj8jAhYVPLRz4PfJn3dBT2ReywRzun/O6n1a6Lnv+3MsDksTZOacT7NsfD/AZLVbrd3ob/YlNKR2s5+8qDTAzg26G2lGllzUDL1gelQccfKFf+AhDmNGBjvDYGOi/f37YkevOkwl3swKMBfUGtKFhpL/2k6ejNX6nu4aIPoTuM48KuVG5GYu5vXO7ezcw8S6bpd/rhfs7bTjahBhWhdfNxaOUVWWTsUku768M5iVTHj+8k136z36A0HQBxb1z/PF0quBeSq6zN1ihPsIH9TdYYyGpXcLzaTRcn10iFcISNqHWsH3/AC7N3WuDRX1/9dhceJ/9zRCbgwllUlTM96nVfK9DIpU5ZPnhsmJrHw4W0JB6K9TvI6C+eiuiDcjvLUim47P99wYUzJDwB45n1uJZHM8PIoldwvVpNDyfXQJKaM4ui7nb5TJ2t8GOwL2nkwcc8tt1E9HsTMpKaxSPI5KfN25XdeWuc3nMvZ1WR0hqE3JdSiXXhYikErsIJfHyhIBBwzv9Qj12MWBF3bWg81405fKx75qyf9aDvtMxIqYn3H5vfjJd5sS/pZX+5SrdRmw7DTLeVpFZg++yPRdn/uPLHByBt0JzKKTQIfVmqMvlhbrrLYgupDgSSL0Yhvu6jAax6EO2R6Viu78XSWwirlul4nlsEmBPJ5dv9orUxpBcXg9IehIgTKyVZbaHfHOBcyY1A56rz12em3dN3s7LvX06dJab/59J3s/5ub+AMrJmd1cVZOUXZBbYlzU/a2GvVjzC8Tn/XGwh2Um+nwgA0RRmzrZ06tilqbanr7zu0HPgSwQ/tOqnNLDNxOYggw6B3BTQ8UMEpA+lOkAPIwmQYuzvacgU8s1NqeFFGI3TVXRu8YnVxrBcVk/Rv0ozsFZFhQUJNs3dnR3Vlv7uqa5u55vO8GtZEp5Xo+FRBXzgvw5Af/hm6pGb52kuBmvB3QoelvFOiCGwLV83YhfTsbmJVJC3l4hdRynuKdiRmb229eKGVN+zup7ZvRcLDgYV2jR21gWVh+aQsfQPmaJ/bGDkZeIE/iG1zaTiHyclmrjUXyjRZIAZmpZibrxGsv/r5otXlxQfG/4BzfK4FXgVkZC66MRxgv3MYb7gOjOzI5agTf9TKlXYgmxg+xuGKusUVrhWrotUaIXECp46VGHSUnUSRB2TmFFIoUUNJnH1At3fKzkqxKTVI1bd3zCb5iY9TnqICh1OHR6nxmlcjL14kMbGd/8COmmGkFzeQNJTwM5wjLLCZydnoqG9PeC9t37XHN10ZFPd1ZvgsfM3q0e6R7uTw+2j7anN53lydHDlIFj81Ox7p7s6Jzomus7///FZ3cOPjzwOVt3II9Jl3tiixXTxOYbrvemGE+uPrW/8USkV2l8Cjjg9Vkje6SisLCHBJ7vmHFiyf6Io98EH7XmqWy4I5rKfPjxf+6BE+oC2VombRJl35DEdrK8sBgd4YosM4/MxmYyPxZQUDUfQ6YjyJVjZMR7vwbKyB+9OzwGYRo4lsJMtLd6zMkFRwoGimRMZ01KodNjvl45Ej1ZLomzzK49EwI0Kr7esK+a//7mmSBpABLPYprNWbqrraqsuYM0sE/B2pEbqs+63EHUKi7NJU54wGcw196+sct9rDUXBcpouwnxyOsg7cj2fa3E59MKngiUV9ACdqtSrS35u4xW8mZgiOXNvJBfJLDVyKKDVGT26p5EYbDYnmpSg5YTda3yj8eWtka0ntL/fN4IymiRe6NW1UNzfYzlCK+G1WryEhWNl5EWz2f2jcW7Om8/Zs9mWGj1UC6MVK1oNQEhz1mgNCfowGmHvRBsadDbtCtYODXYLz2OlGo7PPaMYacQwZIWxvNFuNTa0lWMh4U1bWCjy4ZuLCbOnKRIajf0AQhU1bfH3iIo2oKT5uhXmsMFsS577WktqISi0Qo5iUDIgrYb87Vxumg01Wu3eF0TDNq0+bEelaEkTh90YbrIEN7pMCo0LNhpwWKPATWDZxehqrVFRD2ccqffatY3MnZ6v8PzSmhPzzsAuh93P0GizG+slRw3MJkRRmLMAJyoiuMI9kd2RWxVV3rLqGBy3ful60SEqf+OdAZ97z/8U+er4mtaGNHgtQ+3VSWpgq7jaq1OrPcpbbYXFNX/eKJ0itd8Ca0iRQE3CFo0frM4fGUYnTrOccCBSijkkoNvpW5QVja+BZdL52XQ5q1geJJdWrftZgBKOcv5B10/fbS7ym4yTXznAYxmQW3nWmbvrShFTVZQlXl1K1+UpiJJv+PwGuDjxpoYuvLcw9z9BdtZeR86Ozb1M/oeqMu7nngIxCG4/9vTyv7/jWF+SoHupoe2hCXAho/iRWxeceS9Zc1kDTGYTK+v2DmZ5wZc/Rn+2GCWY3z4xpnKWaR0OCA4Q4OkMCNEwYnpldlBohdkSFpy1dlgymSnXUrOif109yxf8TyYwUB6bnbGZydzCYA4xWQPAnH9/XXDuPU2jcZxvJJaCFzLclEUDkajHTaGQhrK4rKUnCktOlZbdWVK4pzRdQhQUwiUlcGEB8QbirlCq3BYEcVtUSk8FOJzB+nXmsGQyQ6EhQeyvq/sFgrflAgPpQSG7lhHVK7KCQusM42PmMIM5yHz125Js2Pbj4YyVQt0K9F9+od08EF4v2N6geq8y9SGMvg2bYzrCR/j0DdUJBEbe+lfwCSe1fKJzqvyC/vihvnu/4Lt/YWgoWp/diPr0ob9/P/8tzEnmMtjMZfLcrIfuuOqzm3Q4ahLBgvsjdEOr02dv1JYnzZAiHFWfbpO9UaQuLFQXFX71DShVsx7ec5VAjHo3YhD/fixcKGrbObRBZ0iFopoJsARPFKmo6fQDjKXPixnP07xe9H07SoBxMHnXZx1br8k+7NxybeE9kgL8FOxe9JD36mSYP2HOcwKifdJ18o4/u9Cqmvjas8jqbQ8vovQAlgUy7ZZUJtsC1gZq1p2lAHQ7IAkAEOAdJE/3WYHg7iD4oO5D97j4WDgiPhp7+2H1J+494sMBSnzEvVsKg+111TLYtVuaVCB1cu35pfpH17j4aCR8jLbbByBKzt97SxVe3tlpp+tIFrUsQqEMN1H86hO6D7U7l3eGVbfm8uXdMFwYuSxKsYCLcvmLv22KUksjtSxSi1xgmTRvQuZXfB68KImVuMhil5y/d54qvKyzE6GDaN2G+yLBqWAETNfdFwlMBSL3gQcDL375ioFtkzGDem/a8F4jDWDXZ+Vr8cs6BMkA61Ndey+7Lbv2X1ZfRiQPXAYXUtsD988CG1L/k2EfLPwl790RyI2q++xjK5FzjY3eHBtVmU2pI/beUbPurU85GEHKM2C95amoXA/XmvStKKZvjrcf1oYlZ12RHvpINmtWUaQ8pN5ZtWKN3hvepW9aAe0MhRrlj88uKMyL5nyycl9HMa4x+JzDs5v8mEFi5XERmZSH2fhg1lJTQqYNaMUse9P8BrTz+pJijpBf9rdVsWR8bN/vkr43/xjbv0rJKpRKMZ9AoQ3w5Q6FQIjglukoldfWypK+q1JGWDYTN6JLVIV37yfB9J9wTbm+wWrX19dAsO7FUm+GP0ORQWSsezxujoPiGBQqjYwThQ988JD2CodV/jS8fJXbYXTVUHGVk/XbCiz/LYQvEBdxmXcUwMudmURQba+OpH5Xudl/jujvIdXFiq1lLOjC9Lgbo+6FxsPMPe6jP3dWKnPxmCfzb+NDCnVbEwF3Lfas19XW6tZ5PLr1RhVFX4eG9dI6aV2Tk/qAUhY1Gn1/Ukq9IqyKX7bRX35VWKQ0IZC+AlUWlX63Fi14sj2il1cGVuPO9cEQvt48FLUGN0NBKI5AewaqFbpcwlqonLgLrxVB8cNxUW05ZOKuisM2S1KrrTbD2pRFLWblTcFmbfWjzndwWmV3ioo/OGTvthhWyJoOa3P2ZeecyVOBqrF1z3L9E5GVT4w8EZ4geDFu5Wrci6+uBE89xrslgXm89hneNcbu4HWqm6JF8eLicBG9kZ5aQPSDX/2/grqqp/xPEeX9vAdmpS1pes3i57u95F41qZARSoXMR8pUGr9M7lMo5YRf8WZJY7xy73XRHIkoSyTIEkmy8YPVVUM1qbesgeAmKhh/f28iNgRYefZ6foV1Ilx0Hdfop2M0Ir5V5XFkTmISvl0e7qppqYjxjj0WKfkfrtDov5AI6MN4ZiQn1WDSqMlaeddYb6AXrKWF1ifwky0t+Ml1iaC+Vuom0SD/G8O0jT6IKob9fsVICCnn3BR/G+I5POFa+dklpgump8d4XAF5vCD3RuEmN+XeDmsqkwqzqVKuidtTi9QfKJRmq277FerKsFhOxgHKCTJfXt1pftlf6//5KXgUHmm1jFp++mh5xyurQelnk77RFGSgl8hLSy6QoXswBKjVFHiljqKGqAClH7RrGAK9gNpGvTyR80ZOzuubZm9k63M+ys79cLNSbvYboKme3E3uumivKbCjKvZ379/dseTRKPjit9hfvX91x5PHIiBY4bvku6jBLmG0HUfJo2Ati2qlyJZnqGfAjuvMz2TXnX9nFb3jJ0rY+PcCsbWMfIudXTRl9Us5+AWwte8EVnUY23sQSxzBwEKaO9YJuv+dLfejcDC2QTCZTp3yF8y/yKg8kJwBqenJppuTW5fLHGK+W6HiuxwimQwTRVOl0I6YWIpxXhWJLnI479ytqSQC0D1gCSNy9CiKNGVNcdhfvQfT+n9bOsUWCC4G1wc/+upu5zIJCcZREfmpeqppGts7en2C6UQ/N3Jtk37uGdGUXy5r+0UvBi3TuycjvwDcntlQp37UmKzjH/TBKx+dqf9CJP/9pMPmr/b+sgvp/z9B9v0Kla/sLUG85Esu98uSuOA5bxm4i1f0/WRR8eT3RcXf31tcdO/3aQ6Xx+HwuMCnYKCV2mXLlyMO6fEPmCXaUXRZ5peljoQFzDMEoWAagf3F69F1227eUoM/IzMdIsQOvsWfBA454OSWQu8hQoFriw0lwA2QLSGwlD822i3W77Oqfpf19XuU1//r1LB/coCbWlJ/JmXoOsuDiK48nOjKvrJp+755l4b1zAWy0NcrxybDKlQZaathEyTfIDbyXWJTOpuG/TPBULTLW4hC3kkUsmxg7KeQO+FoG13vJdJ8fRH16oqdr4ddr7+V7n//Zcrd3ytza+n9PrivNpiuTZzB3SMV5zS4O1DN2a6fRgej75R5WE//f+OuVXbkZ/c/81IlU11lTIUou6KF/9mAhkVvlkGb3nfS4L6SoKdsDwQD7OSqTe8TTOjKZ+5h7x5xbjXmu7l71Dru0eu7x2zrHrtkpXHrA1kKFoP//yXCEviTLDWW6WS5sUI2VoKsIqsHrJlA4pdnK2tD72Da0syUi6vDlucJsozUSrejZR7BsiAvlZYF6vL2odvdonFITvsYxtwC83K8/LQYMO04pXbMz0s/rNxyFZc0Nnz5Lr1Hxg4usssjbkx9rCNmj4BYCvqLRfw3PPT9/eeCjR5sCtrDQv7nfrlWo/Dj/TTOF+fHyqPB6kEA/AOwDOirp5OTUbKedJGjlXo4T2l37pLsOzqmErkn+7r5AGQfk7imv+pWtKZm4lNRUu+cNs7gpzWVk9GkKbtF4vy5PlSQ9WqeKztvNJJMTW/tCMgFcoMcJV/guE9aQoAyYyE5AnKB3EgfFQh+LyEpA1mr7nfPgmwV0jPuH8DPJO6FK/xxPIYg/hMzQzOGP2EQBjA4V4vfeX4Ae5r93IJELgy8QfHDmi41DiJ2gzVI1FPBoJsBOVjUIAmlhpGgXvuSQbcFFUDoA4j7Lp59DeU+9sAnWcMQ5PDcS5KD3ScAuQntLU3mNDGpBIeCLVbblsazN4dfYuy9IwW2BYnzjX2JfYa6OiwZxgpBBp8k7bHH73bZ/DVSg5DQ4Fg23z7/DcjoHJ0E5HV2c6pzKunnlZ1NUyjqfNTwy5NEu0LW8uzdVdC9fepRWG8fewSnYWnrJZwqyu1zt2/GlJuOM6VuYUKgRn8wnbeocCXTP2sO9QHw7WMeVQD8ur6u702Ztou4cRRYEgEIGO9dJlhcOlP+Ly/Bt7u+eRtnaXJGWR/Erl3j22gtld3rnHG3opkSXqIoQRnOVKXvE5MDKSTrPkhAT6W51QYteJtld0nVIMn8daaBs6VPAteiMtqYoym/3LEMGPBm15NXgddTEov3GexxfrQOxGkV9oYxnEtpkJRERz3eeCFlcEAchIPtWCRZGUjQRLIVQv0QCERJsqp5NvJH28nsKfteiAWvRojXrhGbp8p1RkisUOaoGk/tFJHZJHRpyReS6+gTz/oa+lXwLCs1wB5inHxZuEKs+zEfOCYeP3X4Hc05K3jXnaA2PNvEvkG8quJcsVIquKXEbWENzIRgyAFHSIJISAZVX30yjzjm7FPLMCUkmUiQJo0VOWY2ZQzb/cXY7ufxpEYqOgI9TmDXrQ00gFw9m1qfyXxmFw5EZDk4VE0WqewI6OkvotykE4BD84WxfuX+bcfJTLr8R9Z9hTm6o1SVgMXxIO8yTBVPFnPJGColWnZX4Z6zSyqdFNc+fcfp+PTrT+HzTguFvyrZ/Nzpw3jGuWO51ZVppZKGUN/f9SSjECutXIKQnQJlpZPUS0yV5F1OvxFklWK3hRWQDoOgFdqgGabCWEhvOaoBqsrEPwdaDHPSnpUDD5j/+QZvBP4CA8BOeFkN+tJv5WWyDbVKmA6cNMlNQ0SX1tMTHAiyNKRjCrPZ0I0YsrWibUJ0wZ4jXo9iCeQQFpIq6VuC4udYXXoJBr41SzBJDF9Ch6co0CPSxfXxWEcRIJ1sUkodhHBwc+8JAAUIqSKcPNYOuHQ3zJjNyVBSaEws6oJWfbmUOWuMeGI1HUuPZQ6sIlApU8QaGBW4P1cwC7iSdpCyfXe9KV8Ox2uF6XHher7eMRtWrFmzIdQ+dEJ2gtoT3OEcbU5pQJV2WD7WLAi0b6Q2YyMTbXiZgFnUFU9bDPCm0BttTDE6AfrreMzcGG2ba8wvaFbojxauGotP+wz+ZEshOnNDY5U1JxDZEbFZr7mE0mOcpQFs7mIInFdiq1LbzGBHooy9jxyUu+CSyxw5cebiiquuuc41lPnvlldQuuGmSrfNtN0Obr5y52ELrHzHXVXuUfHhO2Kf+T9EdcCaec31VggXoVGkT6I0tWV8s2NKT/e16TAgc6FdfOZZyE742A6UYpAhhhpspWF2SvVNmnQZJsqUZTi1kUbIliNXni8OybfUMoamRtUS+HtWQBgtZCEbOchFHmqjDuqiXvoZZJhRxplkmlnm8RMkTJQ4iyyzyjqbbB2h0akr3CTZo+KQI326RMQ2o61mbZXTxtPGZCAwTjnTs8tuIbh4ChQJEOSMs/bYa5/9NtrkmOMYOGywTTDOZJNMMVqhD8Y4SisuxpoXKR3f/XCAJSsWZlujWHBkWJElT5Eyt9zzyDOvvFPlY5pQUz3w1EOPPKObiWmpWZpDReSuyTVWuZtCuchdsYI3XJ4LfafTlWp9kazTF7x7L6etohdE5l7JKyD6veQCU+8bMLdqurtlWcnc2kF6TPrisZTIjfrAvfSkr/2PyCDog1J9QEZlORIVORUXkITobAczIIESowgYG0pEjLZsym2qNCuT28UqJ8T565F6Q/dStNkfCOzywzFf6dm6n36l1rmhVGprV75Q0xRURTyAf54F000B8dYv+vrQ0/yHT7UeepGrkVVDF36s7NwNjDVp7ir9U9j//9g9FQA=","/_app/font.f4a8d9421270.woff2":"d09GMgABAAAAABhgABAAAAAAN6AAABf+AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoIYG41wHIFWBmA/U1RBVEQAhAwRCAq7KLB+C4J6AAE2AiQDhXAEIAWFFgeLSQwHG+MvRQdi2DgA2aCKQ/F/nUDHEAvuCehDA9BZaIixKsZANIJgA5lAnOncePcNG7qrHZXCubvtf9qZ3I6eXzGWd4v9UuD8VU4MXzyO/3x1w8luLCMkmeV5aD8/z52XZJmoiCBZtprU77quLVlgmCOa83/2LqThLsGKBG1IgIQQgWCWhGAaIwIeAkESvA60DhWjpUbrD2mh7/FeqaR92n4qTukTk4r+Uv/8wW/2PKEPAoEnKcRQeqE21/LwMcqF3D/bsrA5CmBs/mGeoAVCg3lopizXDc4tExPp5s4Qv5yz+B+4TugJVQLZZgRqN53yiLVdCwBiMfw/m2a7X1/ztPGGNitDwio2CL3sawMbu/KVl6Lj9ehGu6OvOSta090GDIE7FoRICumCioNUpQMgnwOMZUrA8pIuJVBRpUrf5PVc1F1UdCPZUK0hP/v7+b6BW+zQLg6NuREjjUiRt/x842v+ZyAwTgBSAMODUCE0JITBCeLKHeLJGxIgEMLBgQQLhnDxIQJiSAQJJEoMJE4SJJUUIpcByZILyVcIKaaEqJVC9MogFSoh1UwQMwukSSukXQekSxdkoSWQZXohK6yErLYWst5GyGZbINvshAzZC9lvGHLQYciIEbgx43BvmYKbNg2HIKA7xMGIMePeMgUBPfEUwTZvzVOB00Wnd7SAEwqgvoYDgcEvPLutBdh7Pwg+XxdWZeAOhEWlf79BgFarqVlIjkDlAiGANBpsqGGjo3B5KS8OAQVhVyCXyhyEomxhU4CgQQ1rLlD5Hd3i/m/ZU/vffu9H9rX1abP2zWb6AO3m6U7hWOwoDMeGYJvcUJtr6qXFwDpYC9SzamYEDRaZOVFYKcVZs0lMQSHIivmAe8wJaAkM0eAl/j49/snD0YjnUkObSyEZbzBcwKeRUSMsvEJM0uza+JI4zjLsw51qGQfsFADEBrqPR0IMLylVZlri6/UX2TD9hOBPVMUhf4MJGBJZ11KW5HFLenc4sBFIniQzKBDYxKQJMVpFUhigGSXU50N5iAn6zEVAKhJIRxd0RyZ6ow8GIBuDkIsCFGEkxmICJqMM0zETc7EQ1ajFUjRiJVajCS3YhK3YWdzNAZg7wHSYCKNHhkIqFgTZSILhb7xU8dnsfe60+NEe3afnxbPuha1gS6ErZmMWVsvKoTRWMh7KC6SQQEDOIi2ZJWnIJw2FFZRuDl3DTUeAWdNAoYDKK0fUmhFRG3KqBLmUnTxKXe6tRSv/YlJg6d4dDgR0ILeBQKZhaLAsRMCUooD0hIscUQDURwH94fBv9QsB/1qo/RZRzwF/v+2IgGBwFA5tx1Xz5nm75NIopMuQJVuOXPkKFFLT0CqlZ2BUpkKNWl0WWWa5nrx4Q5QP2W2Pva0QYujChLUiYkeHnRysBsyyAeKESDUV4qvGYVwgoZmwnrA+g5daJEK8G09hVqCq2lNoKs2iVVEN10zzEiHF3ZuIm4Rq/22yZAmAqEdTYRH45oiqaTXRstJ+friERbAYlsBm2ML5YAADGMAABjCAAQxgcLFat9T3hAa0UAp6MIARyqACKqEGasEEZmgAC6zQVopTrzGlUsa7xYCw69vVUHF52K7H1AmIS5+H0PTy/Hy5D1f7c6vO6QZOwJU3ogSgIZRAUU/HeQkGYBSVmGeHaTGNChRBCDgQCTDuBEKA1DRNrMKLodopvm/EhlKySimmQnngFAe7Lj6nkCTwvNHnwaVAwf/I9FcF3sMY/4ufPipo3vEl8CQgv84OjIdD2kMw2Ncm7+/ac+s7EIBfvt0f8oS4o/ATWLyAyhBKX2UknhqhEIcCk5Kn612LhSIA49csc9D7mR+3sMKLLaWs5Kc4VTFleW7Od7H73754CKfgtICfgOGA/1gs1tnXr4HIswE0NH6iJMUnS06KokptLLkxZmcC3sA3+/czOmRlfQ+lyjwvvP9Xv3r46ov/xl5NvjoI8NFz4MN7PvgekO5bWUxvqeVW2GCno8accNmMv/2s079l/cqf4DYtnBpVKRo9ghGpjCMDhgpOKs1Xy00Ndyauqnmp58nMmwVTAz/NfDVhsQpks0CAVhwdgnXhWijUYjyL8C0hsIxID6HlxHpJrBRhhSirxVgr2hpx1ku0QYIB8fql2kxhB7ltMuyUZrt0g7Ltlm+/AsUOUjqsxCEUGkk2ktoi115ZhuTYo9AwBNXXnAG6ALkOOBe0rwHdbgXtz0HzPMB3zKtdv8LI6jy8AkaxwfOEwCEtTWq+OQ+OJqJq6LmjG9NLUAnVdW5cg1LBocOxmPOcUlDKg3AeXgE8brBl0PBhOoVNMijlID2YTsG+PehUCpVwIlyWMSluhJBL82Q4En70gPmuFBYwHTkunhQW0J2c6BTKcdUsFxeGgMksZHgQVGoAPUUo4ODaeZr3lQvZw4uiRotabSGdr2Qj2UBo6CoDqX/jiWi0pKqqf24O9T14QA7cvx+hmrg7R/TPzkL1qsmBB/fE6lN50oGRg846ofEfLEuivrnLhyAMiAGlRicdeujgVaTpJFSN3Sx/wCEQA2bvviLGwEkKgdMxA3IGG9oVuHmKun/u5gc+2pM3yIFr3BUnsd65+zGTtSZCXwTXljNAi2qgNOxixiSyjzpKc3+O9tixebLrbiE9dSKPQDNw673Lw8XKl6NUYlhAlo7Q7+gnCAwnB6596M4ThEjxBz7a/ffTBx6P3M3QXBbll2n+quHFZkM3otVrdN0Z5GsHz3rkveH2CQJpx64S/bcB4RAXhKoey0kHAjkDkQHPSpRS7MtMspwsq3j18I1EuZGB60mdgSzFSGSmI2eoZYC6/33cDnn4LtE/w9McuJfh0An2iXrw1hSE816HLuRPar1TrlctWKB+SHMywnKSZgnX4aO4unlzhd5oRAyov60s9OAO3Sd9ObGaBbN6cvji1Wb7GTvLrnpqB89e2qyPHLWENKHcpb6rQ30X3ho0OQwCAtdLrxKXZ4GDrkOncyRuFVT0X0R972LOBfjbFzZNC3IgKfOrMZ6gXEuqdIRG1XZpdyEkTqrlp1QJeHgtwR69d7bNRD7evrtPAAqhf/Y2UOeV7gZod9/wzwd3OhcTHyntjr7nqnZmT2eDx5fuvHkzHeEEIlcNPksE9F4gB97w2o3MkPPKtaRKfbDCK+SlC68bkUeJ35UT+lJ1/9WQbYXnfQPSN/ro+iEDxrhAGjSkSleH1FrQMDTo0HTZcvhXu/tVqYjRN735xe+bnVUEqRt3vZaOtKoY0pDqiol7ih7MaNQgUn3lQylRKQlnHirUZ8gNyXcPudlZcVVXJ/RNXnvZr5zsf2JGM4D6iH74N/afGxsj+o8y2YGp8+TA2dFRcmCvLz84W44YUKEitOqvidNPhwSDx3LmjUI/zL2a+c4F+N9W91+9qO9eonrkPehY4XI73tZgzv+wHCRHTuwr2egDqkAMqBl97+V778evy1sHJ8/zS7w2n4JiPEyMW9y+aPbCx86/0NazorcH+kjTPmPpYYtl98T3Gk2K7nCjel0D3+Nq/oIweZ0soS03N6G9XpYmyGPfYJpj9hv0iyJAaf/cPFyq32+uw1jDOrO5sT5CHZQq42gjIwv35AofLaIeUjxtuvaFZ/+snn8L9XWNZuGVqIKkMnbhJje56YFLzKC0T1oSz3nWe15OscB20nLUWHa4oZEu3wBLsiVYLR0rSxRcyGAGZ7XIUtvyclLabbKceJ0wqtj9jXKvAmQsWrsxC5T2DlYlq6P6qJJKCVAeab/XDj6a4KwnaYdP6KIM32SHReU85ubQwIngtLiPOn6JCSlJi9f51eO0cT1DBkMTons3/yvWPZ55uyXJFkCPK4U7qj7vxwqV9oXtz5535K+r+zXErMQQVsa7QsRlK9pylBoNbfaqe1xP1h8w6I9YLPrD+43m+uHdLj2yz1DXoDDvsJ6TOCBNV+xkEl2c0hbZzD/4pZurlleB0v4kqzk2uVqWnlv/8THmykGsiDGvEmtex87HAyWZqfE9EEfG6r0VwplNreyPcmNtstxoAe/fMrUHvSBCkBtV3dPUnVbLk2W8tHJ+yo6MjZdGh3P559TuZZ5mqyIp3mCLhGpyvtTpUkjFDsxfsjAyfHtSsm7zuHQkTDJf+PrrX9yus8pruZnxDUeuF5Kq6uLKFgt8X/LAwrY8KIEyhnKpXLGo2N5hj+BlZfPCI3J43KyIS7/YesLL5fDp7fOdexx3OLZvp+yhdN07v2QzvhUHFPJ0cPVJ1nqbq5/u4EJo0/bvtjaF+G8sfEnqqwuzC+qLy3s03hFBZeIqzt9ZRYHx2VVxooZczNUskGQEc8qCe39iE2VpKrb/18Al8zvl8s78/Oq3rR3yvJzuDD+Zmfu3jMsPfcrJEImCMqS8UL6M/9DM9UvrygWcVNRK4zoLi+I6aqWKqELBkJvVbsFz1xcJmabgnSyFn5MfSzEYwvuJnSkWczJ/BidxXlZeSeLsD4kfmW2TSzvz82WdbfKctEZFSp9+UUFJZrzoDFSHZkoTSxeckT7jpMT6+63pAffZaJXrrud83dz3r3mRxg7OjJPsLhFFK2qT41qyC+Jaa1MV0SXifcW299SpXe1JKckhaxcohCKsa2cI7zJbIRL+KH0AqXYbfU0uLzxRLRbUFvvYIMlX6sjqTcrNdIDwvKw8mvi6sdIfWh/C3iI/s69fnZ9vV/cN7aYd4UU0CYzMj4m4LF9rYIlKC4I5fPwUu23buStrz9+8HrR682xy2tbusduB+NvosNJ4rsNutUPKwwZKRnceX5KkWl3zMQNtyR8NdHMRxjAj72MiNos7eRS2mQ8vs0StBQ6Z2yGXdebnSzvb5bm57SWWqUI+u67iulhc8pTPf8LJHH4flvIg5aHN8GWFMLJRVMT0EtHhP1Ki9D/9sJL/27Eg7q9Mr7h5v2e4FhZE5lYWG0R5PraDxtChxWy20ceZ+eQkefdLllCSpg0CCllYUpAzT1mp3Gfdt7Zy7b8cnEV0/8pTbZUwHjpPGrqjIWEH/E0mqsRCU5GPDRJ9ZY6s3k0yayG8Pfpfa5thLWhp1bRpWq/eIGt7XUcdbLjHPHQyVM97TjBpuya/+GvxLusO6+KfeIX8zMcQrHSUE+W7ShwV9DI453HJ9VFD7x724bzNPOd639WMlxaKXj7RrBekiUcopfjQ36KBmktYaXfkoeRMTCvvic1TiTNOPfsH0gzMSKZ353uP0kvQfSS6xGd/ICsZ41s3ytdknkidHxb3rb3jqrXw2+L2e1bcdo9Li6vvWdq6JqKyfUC2NTD/wzvYkHAQ5q2/t7ez6IY1NuQWUS8KrViM99zZXPuL6TcfXygcpmZH9VzMEcpCG3y3BgZu9a0PFciKOLCH5e/7pX/Al2RAAPllgP9phn8aJyiYH/AgKA5boDZEOzOc1YWSqReBrPQl6U4us4GFxTEyoMVUpVTBmzOJ67t068H5f8KtrRlbYd4dj98meY9/m9s+N093jl9m2rxrSXRffi0M3wveyWBzEhy01B8e+tGdqvdJIwvM+jgODt7jSz0SFrC9bps8R66PubvXeTi/fZSV9XQhMGKqKmD/KthUCOjmlDHTmHPSEeeUmcR0fgI4b5VxGaadky47J3xgjSZV0fnQHVLBWVC5ENCats5Rv8anDAolGI8e8065bQZoQnMa7HcSDLglOZ/5aOc16G+y80mbVUblmW6eqk+HO6b/GZCdmHDHmWxQSsM9DJk3XpWmjX3SdxI5HyeiYbtLNwHxSZdEHuiO4eEJPwiryDS1v9n4pEYBeFvF8vE1i+3uMefpON1ziE9YIoTwqkqJxRqVwsBJlFmnnFQyrXAxDc4p11Y5ky6E9abL2UzY3UljmHMiPOdI2NaYJ5jnnLDUOaLLGpOLRauMo5h2TlpljXoFqnkdp7aDa57cAMbUOaIZ0ZF0dP/4N8Zh8kJj4lyRyPweUPlonSxu2aqRzrWCjV9jVXzKBlFG5Gfr1MIFwhoTp6a49tu+AlwUP8fGxESdNgMtczrOfsEMTzW6Cu80/SVwnyXaPAfbGybeU53NgIOqu9kwCbsTJ50C2N3wTjdaijSPv8+YPFlI4ij2nfaE5aM1pV+tSqeskBKq+QFpeGc8rmsef03z5BpoPn2EMbFCqMDV2U1ykfNwa3DqbCPUYRfbWrtydE6Hr97MI7tLE52CiMat+8ToHHHPGjOS3aey5ljbMDYVDzSPv8qYXCoqTpNEcKIn/T3UgYD/Jdfu3yx4dvFJ94XkH67+FLv08OOvwXyOoLz02gOt8BarYDdmx73d6aEKsJ7ijZSgPAaZivD12VGtLYBt1Ap3PY0luuOdtwqgR6N3M5aGjXzKdB+Zb78+uDzgzWbj/QUy+xXyOfkGkhaamtH0hk22jKtQreRhC3tMAoWUWXVbAm5gihv4iUPtCZazQA8CiD4EaNm7GQs9BCoZj2EeMECcyL67hVUsFGrlsQ48yhE0R14dsDbWs1EzGiiXNG2sxzQLbe9g077lNmLf9snsMDRT/TUAY/MqgM3gnDoD3c7A5mAoUfMe2DHP2dkMu7KguTMoBd9yj0j78YJpVeBWmZN4p0/24BqyGGOlHEOYHQ9kzGsXW0COzvEydac51JUEIopAlc9OwtJQtHZqz/0FLcKPII+LIKd5CAOpAIUZRPbHjOayRaQ57fHsoM9XWBiyNdceFv6rJ2imhIRhM+z+1Auoj3yuKcyWuyAY5PDsxXPoJbpJSCqg691DQLFyv+d6TYVz0h8Nx38GvPvwknrAp6OdE8819F1+o0AHBhDwHTP/jYj+fwCPrXy+7l3lI7U7z/Gu/Xu41jSl9bvU9gsoO/oTF5TgsKQyn+BFBn4e9Js18Jk3mrWKEt0glSknjTVUUDY5A7fzllF2XE0gTYGdkzCgw/dlT/Td4ti5dKFtfonQSdGBPdqEWMmFwG0rdEIqM1qqBqs6e26LXv/t6l7cJeZznXO3zBwgxfC74tlCr/yQJYrVTVM69nI1StHrbCXh3cXui8R6Lg128UIXJRIm+sSIFYoAtVO+E5zwD1LfFX60n/FdFSXQE4CzgG97GFzX8qzPtabTQX3iO9QfeBEYBwwE+mYKPatQIaBLJFwaCqTj40zQ10R4oJYjgBci7W1EkLuNcQrVxkldrqUwbQc+FOaETY3fCtupmPLAhUmk65hlw5oEvfOstyFhz4i37xAROMiqWZUW2TpUadKghpZJA7N6HZRMmjWQs2pSK6N3AW3zTFjl8bn3bDrYtEtInDgrG5MWdaxadCTg+CfVzkSUVRuzqOdGJ0wvNZBtH1DD+FFZSRIVXniScN2JFShUIP2IkoeSqWad41mt0pbnUbPiKS3X0y7SxlQSZVNZqWQwVZWVRZxqZampJi6U6SwiWbM8Y1a8goZmDbzyTtVE1dQuFGdKPqtRrcbiQssl11pEXJ0bCQ3reQvr00n6H2tXYHJXaIZGxoX0qtcB07ho5v0SD2FpZR2/p5xs7Qrjyi2B+T3nziMhz0S8EmPy5tO3RfDlx19AEguwihaIjVOMoL7vhWAhuMXiCS0OXxgBIVEJxMJFkJQksvMWlyy6H8UpOosTL6EM/wfoKKnMIKisYKmksHI8I0cgy41C98AUiys/nlBBYoVJZErfVZxKozMqyWSlzuZw0+T1Qy/pBWkLRZUWS6QyefoKpUqdsUZbWV0/OYb7NrbCxWaL1WZ3uACubu4enl7ePr5+fdU3k/zp2XwbBJeD64kRYr+yet6uiP11t2tz4sSf95L+N6qmM+Ll9o7wH+MeAvJZRrsObvalhFQ/o1i9SC3GqCRm8oq7+z7LnHVxBvskn5yFORp3Qm4hxrXJTw9iyHuUc+/mkFIhqHgBcrK8zzDS0y+dpXxIfofBz+UsYz2opOkBPSpZH4liUNrRuLH6NN9LgzJvnI3BfBCTYQ7Wjp7QstZS1maiVt60fvq8B5w1kpyLUufl0PyZk66n5f0pv0leAN5EAP7sOuZ/HPNlH2LjGDOWJRdJRbTMVtVLqljFqrYbR8DMkba2ZaruMdqFWvc1281nnHBLFeMJNLUa4wLmVrMZ66bWC1uie6s9nkB728fpMuioXrwA0BowwACC6C35FrtFb8mP6CP6jD1TCkrc3NXSHt4Y8d0im9gxcNMgSOgClb+FL9E7HgpGT8GDOcKW5zehfGCCxZeQ08vnuZbIhqC8uF4/BpYslvI5tjy/B2O3/T/R2u/t91dX/xsPAwAA","/_app/font.5eadd76edfec.woff2":"d09GMgABAAAAAC0YABAAAAAAYEwAACy1AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoEsG5woHIYGBmA/U1RBVEQAhQQRCAr4eN85C4QUAAE2AiQDiCQEIAWFFgeIaAwHG2VQFezYEB4HCGWb7EiEjHEGIGabUVRxMrL/vyY3hgi2gVrVfiiyHZnEdipRjSxV01zdzW3B2FiV4VQohUePSQNHbBhOiEowTlfG9zWiLxAqzNd4ZIc9F47y0j3FLg9kYJ40d4737x9sPhszDUWCBjcrEPTQERr7JJegWovKqtlDlgBEikCiPYuOJAp3cQ74gSRBH9CcNZugCeJRIEaMkISIAREFkkBIgniwJAQJhQB1qJmf9nolPbHaeevnPavdXYXqtw////8H/zrXPi8fJAlqxAsdpYpHtGB1qfbyT/09O3efBNr8rCAwiQPCZpJdqq2q0LCS0GeyYsKJWQS6xpAR+50Z3+K7qsICFLGtEhOhMpeJdjTTBV5l3/2wNE0/NOkHGgALPw/Mz//ZTXggt7uzFwDXr+2H1kmJRsmkRojiX85M9u0N5mU76Sk/oddpSFNwdsG4KoD/vuen/V/Y9mF/Zaq2dzg9/aTjK0VAEXIK01uV1XnUqbaLMh1uH3jcH0A/AQX8PznEgAqAI4MCo0IE6ZQoOeT0IGUJVIqUQ8plDk3h3kVRhlzlouszQbVMqbpWGWmkjFQHoACMSJCslLdWj5WLp4Bks5ABsRE08yHXYyEHwgyIADQ2gcwc2aTpLN/7MPLsKEDhHDLOskZYusJUsYRDVTKWszgcECaq8gFqeSxEQlOax/BkdA1LUTVHJp2it5YNgSVYhnkQD/W91K1Oj7mI5w6y9ZRC59emgJIAwC0oGRAxEFipEOnSIXCyIai4EHxSCDk5hJIBwsQCUcIOUa4BookPoks3RK8BiEGDEMOmQ/zqV4innkJ77gW01/4PHYAkIBGJRAICgQD1ISI99dwLP9h3rSE2B9SUXzY3JOz5I9QLCSIAZeI+k5Xb/Wd/L1A+CXEg/t11j0KaM+CzQdJkrlUHb4geRpQkMCYVlRttjVHEMZCkKzzZspBAUOchPp+rEBF8CiOAVJ2rrIXq5F1xeqZ1LBpys2oO+pTOODVXYIvGA2fCKdQgLm0JqBjUYxR5pdDTGsiDuNsf/az4dczv+xLPF33UafEOUsc72G48W1vfSr6YA+Y2s8kQ/RDd2KE3T3W5K+PFND83fYXJEsaNAZ6FiS+FVYtDohCAv4371223/AhxWAKlvHGxVOl35IgHc6108faEyXb9oUeODAZYiI0QBAsTbMQZkOeuQ3l5s1tQdt51FYDxPtiii6E5oqDRFLFVWTPmqvJ7cFhkRQhaNKEJqhZXtGCmcXXIXoFyXQWISAhNArNg2yF/t225ZeASmSAqwmy38EZdywDW6A1D3u6oZZYQqE+sryPKg9UbwnIx1yVy40iu8EGIcjJLNFGTJtwkUJ3TjgHopiSGJJMUQiI5JI/wiZIUEh0pJ7WknrSQVuHvlKTT6AZr4gDgY6MhlwwqntfLVZGcagzxwOcv6MAV1aXXphud9igxoruj7LYP2tp9ad1+ar2fI/btb8G/iq7/UcfFQZkuAsQU58SKAlCeYH3R889webxXHtjv3vHtPsJ2s3OrfPelevf+wuPkJMWJHU0kPJaOA0NILpmSCkEhM5K0B0yOe+Sqn8vTqFOe3naVkCkKoKQRpvsoMnKoWKhLNYT2S+rGF1PlyVMCOhcRMghtqERyOgXaO0SEkxHhdET4PCKcjQjn8xpf+iouu3KEktiGFJlQUFku0fJJ+ST0NZqB+Uv7WksimichNYpJikgxTQRE+98K+n4t/cJEQeSib8Jv3M/z2s0P+/69wn2wpGHG08jONq8wzCyytuU/t9C/zvkEIg8iTbos2ehy8QkZUzQGRqa2EqWsbOzKJk2PadGqTbsOXj5+nbrZ53OZPP0v+VSfuegbiO59OxYCBwUHDScCTqQK40ThROPE4MTiMBV22lkXgZRgWnpGZlZ2Tm5eV33sc1/77qff/vrPLygsWlK6bGh4ZHRs7WQPfaOEdH+fb5ntazFcY7eeKuxaNvJ15gKggDQ6g8lic7g8V83H/NNX+a7LD379+ecLhCXal5TUSyYQjKBYww9Cpda0teMNg+1pcuYCoIA0OoPJYnO4PFe+/fj1558vEEoaHqFSa9r2yKNBnyZnLgAKSKMzmCw2h8tz1Xx8fNav1cTMzMzhqCQiLZlAMIJiDf8XKrWmtL37c+Ta2XxdsvgSSWUQjKCYdq2dQso4cwFQQBqdwWSxOVyeqxdsFkRERNSn5Uij0Wg0+/W4zBhxhBMqteb2jI+/T/ElksogGEExbTdZ9zph5/FoUH20IF3vPAAAAAAAAPDx8QEAAPCBT1YIRlDspZtuaXvdh8gPC2+bBl+n4swFQAFpdAaTxeZwea7q85dDLy+vjH++QChp+K9QqTVtZqDCltvS3y/o/q8ifD+TvY/I3wXK99eXwN8XLwKoF+oUvtauSQ0uRLQ0dLlk6nl8A6sRWAesB3YAu4H9wAHgIHAIOAycAsKEZzJza1/QISstHT0DEzOLYiVKWdnYlfNo0apNuw5ePoG1JCoAAJA5T+WgSwGg00eceC+rb+ZXHyF6Yp22CXUGcL+G0XA7U2cFryNlrnrIZ50V7ltnvTfZV//LhscXChyLU7/e7pP21dsyT7eb23IsTW4vUC7137jQc5K/G/1lUmueGh5U9YqcSo6+4VmptL+khWQMLaqapiY6QYpTmPxE9P3DhGuy3xclhXp7W9/szEinGe7f/OQdL/5sDZTSBkQYECDEQOyFyZ4eVZ5CQSywErio26KAxISBHqV0+P7aNDxW2bzmRp6fElvsFe/vS1Tv2MJ98FmaNO+MLKhPZ5jP5VsoZCiZ6kQFVUwfQ8qap9YIdIBwASr416z5eCDGxTRmiG40yhBFCkokcLRPQbkVRLaaC2iSBtJQrw53yBojKmzBd6lKQYMwRcq5g/xtyHlRKtSQEWbmWyIyfTUiQV719mD2pcc6onhGOz0NtgO7sPtqeFDgI/GdfqJPvihQvfYzcB0Qv2YY6AANkdkGrXPUpcbxv/whBMDhRqJIxooSEUEeVOBAOKa2aMpHiBJVPAthpRKRfc+3USgiEMUTUJrpqAlkSH6ufbGb+/EQdAQ6hvKDQqRkUWgUJkVFMVKOUmnUVdQ1tBRa+sQETVAIqex0PE5yKoCu+nyn4CnkQSu/VP8B5gIoyKOC/8f+z/2f89/z3/u3fzoO+PT9tOzTpk8tlfyX0x/bytbi6s/fAQKMAJb40TggrhntjrjYYi/XB95x2ZhbHrvmis987rS/veEjJ4S96S3/uOe+k65CYGDFS5QmXQYcsizZKKjocuXhExDK7xEtqsA5Z5z30KchUNg/wpbtlinnUKHGbtDYR7L9Ar8PoKMSFOJD43fXVF/42VkPHPOuX/3hN3/6xY0A3pjmW//5oSj4yb8OOxIKHrnuVNFwyHTfOWC/g94TBSVCjEjRYsVJlSRZChI8AqIENCwMOTiY7mCTEhGTUOHpoVVETU9Dx8DM3sNrvpqLW6Vizdp7edw74buZBvSZpN9kneLh8vlaXOgP84vYSJn4Apon1lS2BDEENLsN2vwLUKsB5L8bKkKllxFrjoCUw6EcojHovAvYUGvx4OaHOsbItAF1fVS69h8opjWHVH6k4J1WUnil+aYGmGmmhcXUzPxTHU2zi80gtLaF0Qq4T+1VR6HIpgiGxI0jRfDQxgE+WiB4NRtnIyISkgg1WERZjDCMGIEuJQSjeCSB1xIyDWnC08kPk0tToO/ZKaE0DLvZETsRsn1GZ9+nMqV4YhNoxfJWiwvjsCozOxZUFflOQtsqadUY5kl7nnYlmmjsSapneUsUCfVVvizyccqNjjRWr5cqbVrG0nGQvinW3Z2J3xoKds5UDWPaMiboME1Nnwt62y9cbj7PFdJphzZvuh9FQi0ly/L2QUDYS9H00+9waXp4pOhMiiQKJUjkSbD9C7FsNkrduEdrMdER3z/I1BaPPUMvqz1BklnBKiVBE1VJMMqnuTQ09vbjocIX1IuaZU/JMa5G/Cye/mSBlQ73mo4sG34hT1wNr9+czLeOSrUVqoioBp33AjYiWxOr9HzetzQwZMPVT95U2x7PlQPAQaOlId4888Z0YTYghvxjmU2gIFOdeN8vqbXqpfIdajbvGio2J6JyUB9URaeZrBYsOq0cto34rxBANZRz++60h03++17lpYD3Lo2wvX0ev21CxFhz2d4JVTox+d7pbmOs+SVhzWrCUz/K4YjH6RJBraJa62sFmykUa1yS9Bv9LCLqF9WnqdhEiCYwW3Clkw69HIhd6YlaFax1XuPbUqq1U9VktwSNa6nPC5gsOSvGke1luyh3aYStJZ+ITCyf6jV+0LVG8zp6qoX9Ysm7ImWsigEVB8oGAwaAn4EHTElV4z5qbaceatvYYDlasK2FfEJilC9gko+jIhd88ylSJ1mIoRI7CUWYB30uGKppun6t3yqu4oRf0Np4GMA+d672y7oJzz3XL7eLHDBVCMYMqlPb/xCbIO5kIzlnGufKHqgntC649aWv9kwx4BzGDOM/M7lGdM/Vpd81oxBY8jsXNsbKcUqEPtu9ost7qE9wLLx2HI7rkhn84Xf31Ei+YR98fXY7WJY3U0XejyKr2FTJejJv+8vlOIccBlyFWy/ZUvuqEYLwejoWTYBWGkrySaOKf2gQ9RPewmvgkDTjTgA21PLY6/dwsK2/l73LMNUgF0xwjRXiAiq74LY1L+UUmX94I1gePpXuDoAx7eL4AZkhE10JT6ibKoLOaUQkI9SPYMDMbU5qQxWyDJ2Z50dRjECdwyjdzx21VokYSrsADxxKzP1ojK3sJ3Ch6uRyfoYeyqsaZFWwJ39y9eHBjog4qkmdnAwkc7GMIu3+QzRMYAhwAZ3NDhY/0f/LsqMSb7Rv0tU2c8gQhRlsYWBgsoz2SqKbEgnNFK3Z7siF6GBLXNzxSuzm67yueuzC8POC7vc2NJCRZkRvFsLUDbwfetoxqsHpLHnutB8Pm6bMf8jBT3t/JhFj1XjLtof7oSpYe/Erup6uxtd8InolhqJC7aX8ybjIk0GoA8MeTDsR+vztWD4GUSeUUpNVoqgso+fYXhJVFxCqV9THLsvbS8eQWoq13uBdrTlkxmHLQpdzk3voQiK+S/1qCvdUMvrVKbZpvKDzVRLDHn7TX7C68/4I64C9WW/azjIV6/QDLpYvEvwSz03gIAuX44p2SwUsdpzR6mA2gNZyKeWjsYzrF5odfjgDXqvi+ZnfQYkzGKgxb3WaxdXR618voXYwGDmPLwdpQeyGl2MF5OKuXVdwZj+VHN7mde8OTHX03/of8vBZ7Dgaw7gRmnsjbKVNjsDcp7KRQyXOLf8CvvgnaVYDncR03mbAvNmU1aPcX5zahVLeWz65yOxVH4KnOW7EthNysJU+G02j+zYzPtqqq3SzySs6PGjgTM3/3NhPPRLdmH+k+8v0/GnqR77IeSyhPKNOXUBv8XOUqV03Q6PuFXWjI33MFMlu4St1Zyn/CCPF/Ef+zITEQnMo66rC0UEn6Ua3fies9s0iKy2vK/G0Bb7duJ1aSvY0d+CkJfmLfi/in2QQA0CMOweBOHRJeOFHdCEQi0Twa6/wQ7pYPLeHmru52na5Se6IV792FwJeapR8TiHUoYScXdxdThPP5Rp+Uau8T1IFjofNL/JlJVgbnC7UZSgBphkE9mEBEYhnzdPOaHG6v6xoaEoiEyq+D0LSD3o5Eg/6pz9Zz+UKTojNtlIqOrEJpBq1w4IrOVVOQLJZE+FTG+JC6leZJnr8lm1399vDdU2XAqruS/YFVK2veQu1x52ev4w5Nfkmsyzh6lDy2OxtoDj16kfYyn5xbYRqkNNr0R8NLk9II6SviRNh3yQ81En+wRTrzWi1Ku//6uKIVY6/s4h+uV5eemUPcMQ9uDJ7Qz+iDY36zc2u5iYJKjqIAdUYxAdNodaab6t1G6FygKkAhuTR4MXUX1mGkrcREW4afOcf8uVPKlyeCuYJ+UeTr2qpoFisWvOCYWVk+WM+Y4cecnpMVVegcTo8lLxfol2tW261HS+PTXVBDCUzCE4TiQBWcTlCyy9e9W17q/sYutVTT0S4j19XEypQP/WUb7FVL3dZZ8eP3WIxywhMRiyiI1QSwsI96dzfluggbdIUiq7bsbgSPMCVRCkibC2egaAcmnMjdjEYuFH4pWdjpb+uijiW3qHenVAh6ylfDGhfvfzBKqt0ZAgLXNH/OyvYtN/DTKkowdEh7Xr86ffntbsVM7zEiZW5y3wazVFFfX/aSs+edtbuoCTtRtyvMKOs5bg9F50+WUToOZ3bQ7NPF6MZ2hvnbmitYh8W1inkFnC6ql578Zgdb4/F3j90KOduIUWakC+A5EmmeN2+UT/wWXUjVVfi3z0Do9/ymXV2kkCw0KTqbIc+evXRx8qFtoUQmzE2Dfd4A4xHcg1HAik/9eBu/mrZz/SPzB4dgdgNY9EB1el0f/oXRYG3j0a3H9ma8o0mA1zhv4v9ucoqXR7X4mNLXSq1vLojz7zat1j+hC8yy7VTPSOiuQKhVqQKwixsx9aGmt2BQM3uLQ0dxmFhQ+XCTm76BXt2rt6rU/VbraoBv87As9G+wndyF9fXTckHV/hH3/aaum0+b9227bU+X5c/v5Kh0dGrxWJ6tUZXycj3gzq/2lT9v/zwD36iDH5vl0/kZmh1tESNOi3vVeQDV/hEoOB0hj/jC3WgY7NuD9SRtsvxdkDzWXIgmQFrsIG9DY27O7uM+iMQKArkVGoPNxbwzpjxOcW9Ok2/rVQ90KcrVdbmSSrSDjThypAGx4JlxeAKhygeSmi0RB7RmQgPh82/DWLZBHQq3oAnnJJiAl78zsIGcLLg7VTM+/ZGHN9MKoqc0sTGr+BQj+cYFJ+F7siYToOylgyucD8rg7mOo5KOrngkqH3KN+Isqkap6T8YbhhmVGUif3fcKkMvd2TywIuXPBwanliE9e+or9sTCNTt3tbg829Xf/k9W+u9nUafyuXSgpjWZDReKJTjOqDDX3zc4qGReXNHgN481usZe4H1sSq1u7e329ZQO4Rt9R3FndoCeSgeNRhdXerjjjStrHbs6pvk2LO8pqFL11oon1ThUExqL9IZ/E7i4yiyG3V5bzwr7lEWeY16pc+rMq5+1LhSpDHI5BaDchZUQXho0pzi3j3FYFBt37Bm1v0VIrVBPo8R2MSucHZ6SLIa13KI5zR6RiX2XquKOVMbrbaaomxtb21dqaWxuTnDLrAW9Pt1JqNpcEHe/xuSF7XqTFb/9X34OetQjvhoD6pnIc2OpoosGuUIKLDyOoIx79zySbTPrPI+nVXKYz9qrEyPK8vnWSWtI93Dhna2zvwqSP+7RCxXaqVCFvd0ZVpjhi9oLFTW94nhD+e1AC1wzQmN8a7peuOUinAonM8uLmEL80vZrOL8cChcYZwyU4/KsvN5/5zZo3OAQRyb9rP4HpzurYWb344Nbo5dGzuwJmJzxNClsWkr0KvQgPlf5XnVkuMvWI7Fz6peti89EflGJCDM5+vmHaOkZuc9X8sCTvea31d1M8df8fAztq61vKTMX9E0UkXIZzQKWugPih1UZUmLgt9pRSX7eCJzDr0xZ/RvGqbR4KZl/gq9h6OqxKnmK3k59qxWOs5bZOnwT+v3/X2yurW8xNpaXn3EtkghZ1Iec5Vah6Euum/yLHxJn147aLfrBvv1pYYuo3pW3ZQyp0XJPwWtHIu2oCb7lPYFXS3PJM8fAStWWp53CG0NhPtSNpbzJMZ2rSLkKFcMtmubO9jXGRaBgGa5xmG+R3mn5nQQWFj7oF4/aLen+yikt5UOm8k6H+uBjsXlPKeb+XyGWcvmcHXccR+LbBiyAhorzD1Y7lCEXiFGSTlvY0owHEBbFzny8B056ylGcgKZYlzHZP9NswgEdMttIGFL+tSaYHFJQW+Xxmxfuzp3QbEwuW2WOzmtWY/x5S63CJADS4WT0maDxaru79NZ2tnvUrW5uVTdZTbrHZpOrmY07edAxkKQ7NtY1VC1PKPK3A7izmNsJ/ssNusLXs6chjkbIe2y1J284SW39uofE+xcAy3HohBtcvKlxvYiRW9JmWJSu8YodQq2VvR9VKkZGihUFzEXZBvz+Lat9Uz2FzQjP+/BuQaacF/cfCtbWFAp4LVXEPugkKSNpYwWWi2RYBoPjsOF+rSH6C66TBQZNGKJoOufOWxxkH0kspdMGnp8Todj9rDzu3kN+OsYRTEpSHW6q4F39Wbh6nDf6tPnF4x9/SVj3orLRYZV2T0UBvV4Z4Tea2HxC11SprtcLqtu7IX+rCAUErTvZwoVVktkn+bggXRC87CNKyp0lxoR21L7ihZJx1pDet2g3a4dHNBbrQNgc41GSry2IAsE5Z5zuc/olnFpLRvSTzz2Pwr2YENER7/SLrWGGHStjiwv93aD02NjuJxnjNEC9GfDnRHWTY48qW2CJV1g3oaUWVQLLS46O9eWZ5r0snadTVngyJPY6TylDv4mtC0QfkhlHsSpdIDFvkazJCTY1+htUI/31f/cnCfu4jvwOH4cPMaKXJknxz3ce/sYrLt4nCL6vjm5vExs9VTU823Evp0NnI1TabQGYiL+2THs9z9T8kSGagaonxiUTT6hUd/BV9Rq8pk2xTOhu6hI5m7jmSR+rmKcKxyXcXtihBuXUflP88WvxU8gAlvuLCuNdnlcW4NbF3gWPKKjKZjhu2z3KhE8wBa4BXkdDmIfFJB0sZRRA4WDxmsNXPv68cCagdUDoa8ewzuHHk/qr++v751U1V816ekVHhzwhryAeR919MHcjnXt6+YefngSmRc80HcAll7C7zrGqWO/xOBjNpz46b+pG4Jrg1P/ZpdzLU8hxxWrxzRtcMYa4xrh5grUesy8ucTUmceteIOWmWcqKdXv3xMl3cHLOy5pluoUzARPGjk16y+N0gInFwosLJaZz2eZPZVnrq42Tc2YWbyyrC4abVr22AF0WOdIQ/HuQMBONbPB5To5Of35Nh13wGrlhtwUiawgGxr4Ewa+ZKts2S2dnqMnqjvCIKvNztarDDOmVAc7Z+Iyv7EyaaWkzqH0HVqnN19f2i1VNRWp9a3hoDN6/UyrD1Kxykbq66s+5ow3rzOUeq2IYbCRVBQPxV4uFpAOE2gZ24rea2fc0amqs4TadoHKLZcV2pibjTVqjba+Uwgd640NivNTP57dMXu9/OV5FtCx/CZyucrmzVlrouQUlJgLlJYSFe3YuD+DOWVOZ3bqmRP6lJzCZrncozGrO3sKgIO1tEoK6kiTTW7aMlOnX2mW+SlLC1x/FqdnVzetQ2+b5G8zmgy+QqXfoCvs6FUWt+bsIjKZpJ05zJ0kJpO4C2p5Fa2BW7W8VsjHVgwIi6pUGm3job8kDqlCUdkpKC7uFCgrFVKJ4+lBXbNapa4aEDpa1OVFQnG5Rs15JaZRdPfYOqlRwRMaC6RSQ4GQZ1BA6tniFklhPXHY5KYtN/r9SovMl72tUK5m1+QteAtVfr2+c1vOTowXdlcOaxe2KcxOWO7d6o1gl1qNo2w94bunhj52CWTnTdrpfzToY/7t+HfdFIx+ShguJknKZLwWrS7XUy4TS+wS8+i0NfVfikQOltBaWJRvYzH5tqJCgRWm4QaX2/YeJTgc+urB2hIeTLZWYVP801YdJKelZrzKIrxy1SU0zdFmcywVxSrO6bqFN8ZUNWqtLv7PMng3SeUQb3Wm924hkf9PSLyjppBVBEF55jMWK6QlN30pJ7NK8GkX8SmPhirSRg7vo7DvG2hMlA3PhaolD0/FC+8zitF5ts320I6mvXA6KetS9BFnxi5IyxSTyTlZyR8sLUsm/PWg4vc4ew3t/rluRkAoNpvlOrcD3k9SmMTZNXJBaiVbr8/hU7Ups7ha3pHkXJEdcRF/mc9kXxGwVS6boZRkJJNNJLKJnGkADW5vbXPsrrZFzgqetj4JPkqyOzUSRYW5zO40KyROja04qxdP8mRlO0j4pqz3iJk4XBaRlIDDxZ8w24ryRTaN2WzViPJtRbAtifpo1YncscRckRUqib8Ms9hXaFq2ymkzK4yS7Gq5IMXN0WuZ2b+TzSSykUyWkMkmeOPXsYbHtmAgPnNhZuYitKnZjUDpL7g1VHsLlvqaZiZ544fDiJ1TwGoMizsuYrOuq6KoJtl6I+q3aY+I7LYQvND3JTZ8k3EHSenLnLwYi8jck3DgU9QbWvSskkKFyKiRs9Yd8WYW9VodRr+swKOVCSqrxPOQDul3WQszH3lZmSYo885dUauKizrL2Ou25OUFkbyzRi5wy+sg/H2fUTnAP4cp/FuU7Ft51uqiW9mUW2oo6GnemDaw5KrEKBpYnMo9wSNWHDDMwL5TmZ1s3IM6ggNKesbcyb36NMYucn99umes0r12b1yZqAVIcCUbND3JdA2scAW3pnpA/ryF1wIvWphdZMue7GlZ2QLX2360Ls/dUVWdu92X98e+X6yrcre6nLnbrCvztLCxrY+vLV1ZGU5Xp1Tpqv/67pfGYturq6LUnysgd0qZcx4Lq5KCI2aCogGE8S67KdvqJp89KbcQRpKCVcLHc5jScjeZUmq2xbspAGXOskoyxWqyx7mE0CA3E1YkEjxga5gZ9xqAEu+ym7NLq8hlUuaax8KqxOAKMwGcbXM/8NaeqvXCq7bRPD6AcH/BrcGaWxijx8Phgt/U+i1W1bXhw+sPRCyyEMJjveTJ5lmrzt8rz1p/3nB+9urzqxf3uvPweTMFzkfCqafLCebLmKf9mKcO9b3/uGHmNNOhDq/poNPSar9nhyE0TX3QWyYarjWqKAZZ18lKnlTjKZR2mczSTr5qNSInew/oWnsJw6nZ/xHccpdoUUPHTJm9cpnM165Y7HIpFvnal8krc9xp3+QZNvRkmrRSi76S31aik7Lf4XM5dN0lmIhPGwVSl4ydpZdH9pcV7bhDov7JoJzNIhG6Rzc/5c77/P6cHStFCQS+sLiCI1ZUcfJL8tkck00nsQh5E3Iyu5XHd2fqFTkVkq6G2hVbK+DZQ+hVqXx6o8rrVRrEF6impOokoT03F+8LaAKQVquopvpHasjHNq4ULqBlPp2iT9puLSmwtrnqxSXZUW9VEI/9xeTcpmcGnxuSLMn2SomptbppXFTGiPXocS3lKHxeFSXrySJ98nJrcSFNixJbFvPjGvKxDi4vmkHue0aVuiTZq6RZYCXGNkfW2iKbbbfL5ggtps0+u5alc2TpbDS70m6FS5hXU1ho97RTqBBWigLnS0hvf3YXz5drpRKFjk/47/aIjXiyt1oudFVMt5hHnC7LyDRLhUOoGy4nFEeQ7FK2cUtLuW1KpVGoNqRsPpOXaxolUo9aK21qlGrUTVJJk1Yt8TRJOBZGr2Avl/zjEn3QqGzndmwTpc5LSVmXJoS2ydPfI9TubRk8FjrWsreW2EBwTa+oqJjhgtPH2DomS8dmjegZLJbGRljs0/rpmUw7gUUi0gl4CYEkB+cPj+ofQVvjqfpTdcrj1Q8mzsAwoeXnmuyMPbLK/HyXRJzvrBRK5W6hx8USoav96vyeMtHh1RfJWL9x2BMs5gSb87BkSXenRtvTdbbU06JVezy+7/XqznatFrIy9B1sjW6fL/sNvSBJqeezaMvu2VIumvgso6Cmv7WrqJZRoL3mpX6s4wtFyzn0z0vsKe60ho4imcTZJhieMeAZgAXYmgUN1t2BgHX3/IZqlZdvc1e3c/+I/oYmqdDl9Vut/IEKrYz+8d2/2rnF9poO4VtY3Ue6D6fqowv8QEb6JUKopKlkukHa1CLUqpsEsnrTJAx/MDdvhnj6haYLPo7DEYAqujf7s5mzHZ84Qg7kHdNy07Ke5Pgaftk+59OZQPltzDUuP2CNFxovpL7beLERprxsGm2CT5tdTo3WNVbSTDhdWi1M6jS3qunc/vSJjIyJ9Iw8pk6Hdz3xbYb0BzCpqXFl44qzb4uChVW+8e7xgM+/sxXuvl68jP3+XS3g1tRcrLkgqrhYkbp8V+MumEVq7m5u7P266WvY/RlVWvE76/9p5KvaehTLYRDkCi2M4TcYacQ/dfUpLIdeAAtDu8ydW827Npv928yAxRZXBmFS0ffK9xV32DWHMxbu2zFKfnQ2sn5jcBwaH4yFHo8tTBRYctn2fBHLWpwrQMwqyq+pZ+WXUdewWWup1L0s9p6AnL+TzgrALIVlL8a0zmto1DWtWgNbAi+jzbpEGv9sy8yWH38wa19gJPWwxZHf0NKe8ax1Ts4s2oXNESoJMNTjfwtG8BxXZKJIFhFrgM5J8pJIHZPWeOFPyawFs0ML4J5kYP7s0fkQrV0wGjVl6vy+ZEyJOtxD8DZPUkHP03E6Sauo1FUkP4enc9BhMyWT9HNm1s/YrCzsz1mZnso00Bk58mQzoCI3u7JemhifWFkuevt/VIppmikh6TK1vEKmgxhZi7oFor9Lv3eC/fReXMrWlIw0OtliiL5YGEfitsOPLzk4KRPTZ+/6ntrn2eeRuv7u2+I/qG4QoJ7/Oey9hn5ph35qk36uV7/yqbzW6LBJXRNuxRLJ0E2J8FIiCoD7fFm+UfK8bAe5/UKdw0ZNVBtx3OjkOE90fEL09EYlry2w/BjspnxspXxMMmViIK5wV9eLlxaVl2OVp8Mrzxsrrzby639g4okXKOl48UN4uXnI6KKRk58PmjtVeDZ6wO2jGKgHXj4NkOdlmdWGowVN/LodPBcvvluElxuHPFDvPakBaLxuD/qQkk4hePHiI8LLVUMauH0w6onhixfvsH26MOcZPx558uiLZ995zsVz3zzv9m3+Bah6sAX8/6O7re4H2mbbXbTDdjZtF2g37Yn2bjEpfuhuXwSgnm09CZx3yI5O0Xbfmh/UJqNi0/YV2zLbuxGckBN+jE/0nmmKj/TWXij61JRclDey5I39Z7avqH3v5rSu9ATHlfiKtWItuqxk27p6F+miz+tidlfP/++cTax49oPa/ncfs7Rk1q3Ceuo0ePA8gu/Xe9D8HFB/A+APQAOQD2+glEakpVJIOtTSZKzH38md4wJZJ6pCWlo29C6BmNxDyCL8VYXElMcrPC9XLA6a4/t7T9XSUilUdrKSfbTJqGizlFF0AbkvSIuM7sbCSjonXZHOSI/wxx7+olHQb3yJqLB0TrqS7YwC4NlcJQDRBa/3CYhBAZf8Hhp+oIX3+eNkWJgaZHxvFhumUUo0iYZpUKohXnd2AIMLeqqqks5JV3Z6RlThjbWweUU2vFJTRSD7SNiVAlu5SLgBXlB77CD7Yzku4krB+StOfi+b2lEM4FV7pYCY2RHUHjZ5cCCOcjq2s32h2IUIckwF4Jb909+LrBQl1biFS9wXU52P71OMpvvuUKSkDJUcC7XBTOn5x3+P1m9EQdFwrrXvmefmNu8NxAHxBPUtu6RPYtzw0YQJeYbWuMKuVLgv8dfQvl0BOdSzPAN52G4YJnVN3bkXGq+uffyeTZ50G2EK3w1RECDN+X9LX3Ni4X8xaPRtwLvPUD8A3zwSC57jMT62OwTUhQIIsGuLUdu4k/t/Fr495ehNHA1Qn2mfMbFTuXq8g2znmktY/L1y+e/TrIwLmKn8i9XOFRFpy7xLMcSwH5IEMXDP5ZqU3FMpRQ05EVhWKjrkT0vBnPFUneqTDJ7xerfirVB8fqxEu8+Krb7ZQS6DySExe8Q0nMUBbTEF143bQT0KAJdjHWYNglOmUcS5KSul8VIB2IQEueWT0GO7VnkY8X1eIrwWCWr35fNsPMmQTWiWQTpy7ze7koEPKh2oLuq+53q//IskTUKst5slphLAJHTkibrX43c5lcPXBb95WO0hWQHiWAQLoU5PNDX2GBjrICiprA3Kpmy5Ii50VgZ2ciVfnChbjxwBox4ptaK2GK4gen7k6hCajZpfeoiXH9dxrQWnhy9lyvCEh0BlyBXAD/iecF8TmcvG3A78xFxxuXqN2CXYQEFBP5ren5QbgokdEkGb9dhnoAy0hWJMUJsD4pGU+onpw2kBheLgSmncQ+3Z2JgBT6IvYT2JWUPokTVK6K1oskK/34/3C9bmE0wldVnMh4a1ANp5xcYQTgi4omsf0upeMcvw8XZY0mz404jJQRRwJZ6K+6R+vAjPFpVl+RDFlGyrvdrR8PatOtUFaIjhLfgXXMNwP7SRtT2Du13C9wxgIzFXGrOvQec8rN9hOGWEgGgAlaIY7UiIN6JqWk0drwtqsaXDnbT9ELzS+qEkRFQ/NK0v0iP8/SIRHe0XhWt2vwQyNpwkiXjyOUTDeAhAYxk6PcGFMySMwMmReZGgHi16lQj5drt1alOtw/Txt9xVeM9k6gV37HZmJx1xP6WYwhbEpnckpM8AFQGBoD4denkF9QrRgsUH1svDF9TPRzXlq4bzkvIq9us3oFO/WgoRPiEhUZ0qUKbcuIlZRIqdps/g+cS26G9dw5QoYWhh4yn6/WERH6rc3eCOaZJxh5pBgSLagm2dQelEsG1zp2DLaPt0eisOasXXtsJsgY6U+3Vp1yUp7jXbTenW92YlHCij3SpbRZ7maACgi/Oh4KxWx7Q5bqUcTO1Y7mDrcM4FF3Fw5eL50le+9o280LsdrrmXyLe+43PJKie8QewfEtIdEjNfdoXfVUoqBaN5T9FZdGoemBbdYycTsyCLu4r1SbHPpIO6tHRNyJDhImCQvUgJ7Mj49E7mNMU00021ywxvcvmXW6Uqi1SrMdOoWUbUqlOvwX2nNdpmu9TdKdWdEX8ek5CLRmKQWASDYJE4JB5JQBKRpJJLKbW00ssIFz5CxEiRyyyr7ChRo0WPIWzcE08jJ2Ys6GDHkSxRpixHRNiDZrdPLRAvSgpN3HIlecvb9LDiNPFQ0/rM597xrpPec8hhH/hQJAy6WAvNt8RiS83R7La5zogOnnnWlyfBfx44hYIq2xp7tdDFFxOChOUnSpwkabLkKVKmspzBMtf95Iabfm6MBV8ftFK/9KdFb3wklOiEYmF+bC+/O/iX3d86445CkVjuITI9+hL9yoW8Y6jXLxQ+jMTEYe98kz5+NDwoo52lry3rrOGof0zBIfzY+7ZFZyEmqdge8/qEgYoZBjFlwIhJAzUYCGEGAEadg1E/ihmAath+9wxQMQBUgAFADQAwwDs/wAAAAKhBpiKhXllKojbicXRC1EfO+eP/hf8O+wgCnwkI7lc+xG77Rx85Ty17/ugTUb705ajvoNhPUSXwJDvUHziLxEIFjiyPvU2j+v49A9F9u01w44ckCsv0ZehieWf2n7WRFIrkuBtFrqx3Auho9wdDpUmQ8aP8U03Mk2gZAAAA","/_app/font.dd63f196ca2d.woff2":"d09GMgABAAAAABgcABAAAAAAN0AAABe7AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoIYG41kHIFWBmA/U1RBVEQAhAwRCAq7HLBdC4J6AAE2AiQDhXAEIAWEUAeLSQwHG3AvBdzxsHEABl4ND8H/lwNtjBDxDys34RA2CZpkCEJUglIQiIIBG7rnpD30L43RM1O2okN9SomDgt3KxT/RuUrsJQX9/m08ni9Hu72w/lDefIAdIckszz/J9XXuq/49ENZ2JkeA0o2IGGY69fP8Nv/cByKCmQgqpY2JYoBRYDDRnoWFWUsrVqmLNGb/zQX6o9zc2lhUuEgJg9ttD2AJF7imG5nTTKg5Q+rnIvCwbVSvjc5HmrWvVq3lzMHD9G0AQCgymhY+ACDkb1RqT4dJxahEqDgb07PkJZdg2qVtaRnxpsHP34ACDAgjoAAC/n5qSf38/Me+1aVo5GvFM3Fq4fIeTVH20B7cANZlef9K8teP+zal2LspW2rRpjbUUC8FwNLhTtjRoAvg4SCAdABxh1Exl5VLaA7c3tv8qR/JySY9OEcYRRGKahzqLv76xtf+w0BgVAGkAMOCECBEZIgKVYgGbYguAwgFDWLOHEJHhzBZQqzZQRxwIE5cIG54EG8+EIEASJBQiEg4JNISiEQsJF4SJFkKJE0GJIsMkqcYUqoMUqECUqUWstwqSJ16SKNmSKtOyFrrIBtsgWyzE9JtF2SPfZAePXD69MMZNQZn3DgcBAGjIQp69Ok3agwCxmKJgG2/4+77Uz39mPPPpAoP6IsaEBjcaSeceyazyc8y/HKXFG2GxmO1+7hBgMEgpeURICFQh5CAtBBmUNOlDE/9OM0aCYoC9i/kdt2C4L3NNh4IItS0Cw+o7lJWk/cd8jL4OHdzncxI5zMV/CvyHMNhsS8H8Lp3F2zzboAOs4mLq1LDyoAUkGxIyy8RojFCDImf5BU3iRNrkREqGnq1QdVLdGFV8COYIOUT1CCvs6AWZ1/dilBRQxD8iZ/dQ0Ko+B8YBJC1NeyuXRgVHDVlFwsPSPVZAHnUHIVcZixw/0jFU6PStzVHc2oXexnwJUsJzALR1d2Wq8p8xBZX1wHIeiYyiO4W59mQqj+UrEbjCGCy2yGVVcHMUDbGnMXbFQEJSEJlVEdt1EcDNEQKmqEFMtEabdERXdEdPZGP/hiIoRiOEozBWEzEFEzDDJRhHhZjeetKUAAA2wtYYAbG9bqAYMscMIXg9hPgJd4e9RbW3zAL4THsmAPXT8uClg6pI8ugwltEZERKlgL+jPWK/xtApQAgpQwkyDSQXMOB8hhImeNAlYQEuQGkNIDUFFBIEAIwhTYCChoSBxyqBAKok4ilI00GAwWKmahTj2aDLcwhYAiZBQIZhyHCUoUEEwsPMhYmKcED6O8B9OeA/hLQ34I4Qsnn+GfAx7cfDhAMDp5C5Wm+tfp5vwR8+fEXIEiwEKFEwoSTiBYjVrwEiZIkSydVodpyK6zMTKuJ9ttst8POarAxytoMq0bEjgxbLkg6ZBk50JcFra4Qt2kcjDpEXTNsx7BdFFdsaoW4GM5ETEbg0qWngqiacQJqrpmiFeJVJSKatw8GSgQJQoGSr3eyamuRpBHLI1ZIrIJYFbFqYjXEaomtJbaOWABSkIIUpCAFKUhBCtLeUpok+yiaQwzEQjwkQCIkQTKkQDpIIQOyIAdkUOeqp0vdPC+xhHWrFNgee+2+mPoTvscdWfawShZBSE0dd9wZZ1/X+BYedzpVsB3eOKEgQm9HTlgSm921w5JMHL84TIFxBKBYIMEB4Q6jzVoLEB9nMGrpaTPW0v3EkCL4Cis5BVDXVyywW3zJORIn1lo7fQCcBRTtd0t/U+yhsviZdqwTANq7bgM3A/JfyYHFcJB7G0yPXMv3u+ikk88PgJ+57RddiDa8IIBFD/A0tkzWYxRY07JxUCzi82W7W6LCo1BZl/n2+DNaYcYq9nGNV4IiSmRSk5EVOV9G5Vr/162GcHgckXLVwvsW/kulUk/0RXReDKCZsYxtOOGGn5BEJCrSyHKu9Fci4BpcSv75kt6hvv8B3/las75s858LP2/97Ps59HMPwNf3A3x19Z0/AA1dK+uLt8wKdTpscUCfI/4z5a33wPcb6T/wM3hEDBwJglhE8UgSkSVRkkBFMlUptEhpSqctg4Y0erLpymJARl8OY/mM5KEqRFPEFEUxc2XoKjBVYavBUs1SLWvL2VrJxgp2VuGo56COk0Yumjlr4qaVhw7u2nG18baWn00ENgiwha+N/G0WbDuRbmEi7bHEPmJ74UXj6eRjnVA7BdkmxA7hdkFQXzQJ4HlALgZOAiMXglFHgpEfQHsAoGBwfVUmhLuOqyVGwgnAGr1LNUYGhqnNwLY6HAlKjUno8ZEVV7fQYXynO1dBNDjywNHAtvqWKylDXUCI6YlRoAmzg5eQUnzVJANklWTOZsPKePRuViYkBamRuuke8ZokGyZRV0VJupQpWhp4aqGvZK6ui6cWyjU1WZIYm6aqq6tY6+u3VNEhEQo9yqM7gVStSBINhs6yjh5eUlSFVVXMsIcdsZmeg730TKyDXglzc8jPz5Pz2VkHPXh5jhRmZsC6aXI+f8XODCfJKScOnCTJ9ubmkZ8rv0JkjhWtBx/SdEbdUUaFbHTf+fbzpoIU/R2+ZaRiJBJn0RzX0jEdrrmFxIS5y6NzXfe55q1O/41iRNU+W1jfkNkJGtxekeM1qhBhim7o3MNmdBBC3NlBco4YdMYK0ro/mokRvWhr/T4nxUsuZTNLNfcSNCM2tJGEYuTTQ+VJkui0/svQdc/6//RXnXex/+nSCY/vOj91OAsmnM0o4aaspdt8tMi8ct0xSdi9nyEFOSSpMMXWT33IqXAtSWKhFYMWk05MHXkRM3NtY/6sqiCevXQ/lQi8lXEtrSsy4U5uB/d/kcIUy+68MkbbqIoMHJmJvn+T89OCEwWolOhrx8bwvOmRc+T8gpFxSFhRm4JG7U26XRhbxLtGr7mwuaxoez+61PafZsdSqcVMPK4nT26JKXlhizMMt/nEv3N2eh5xiZOkzjh7M/5Ix6998++06rC+m/IkLmh7kvR7EUqdjX+KI05bLIVJ5H9H0wSQV9XNhimSmRJSs+jgoGfEVl7J9hDEMAbyqP1XNPSEU/gnXJ2pNJqRPvFqF1AFhZlfaG+EClu3fWpzCvk+xjhq64e6ZKJ3nCGFHtBLN/9eqqoaxMJgLvoyCVUHyPlhPdMzlW5a6qDNS6t65AT5Zx3+51Qis1AJl2YZ7uDBZrvfaCQdnX+fWCd5TlhRBYQ5Cz2zycaRVZaRXzAVhPvzJGGl5WvAAFFyOzPjNyTJnXanMhWSnLMwS4/W5Vlcu2cZxjRoNnk2pTRJS/4rUT1RHlXGZ2b8TZ0ZjR+bfiSnRxieis6RJwWQG0729d1VB/Rl96DyE729om6nEfbMvJ3rl7Q486FYeYwx8uiez2HkTzKcpO3oBLgoCWcm4/+2Mj1/gM2li2/6LXTPtZj3GO450rVi7yM78FsyK1r7+uPHH39yT4WnsMZTG74L13tcUc8nu+G/7z9xz9y14pNNq+oAuYclszsxbp9Mxt+ZrsTMoFpOYnzbClt8RSDF0nMpzyknIMBZlszzsgqg5iissOlITKp1BKH8bu6BuMSurMzEbn2LudErY+wjadO0CDs7GNP3V8w+BlytpMFSghX/noTyU8s5u4k1xF6X5bCO3FWTmLRPJhtV/UPL9cmliwUnC/1JOXw9miCDx80J8HfLzeL5OYYz7Pxt9+UyJCg5sqkzAIQTrfp+eq3yVqYfE/AfpQ+lXR/74kL5+drCYxXHMGr694RSq+/hLEqCisNfLc+d6GI/biIFhPJmbUxrhOnBWdl735T+XHiH3k7LAb0ucukuetlBrjWhfK1kdq5F3pJw+w4QZt29nPK/9JDsvB81v5YkJKjPDuvZTpbtS0zYl5PLa/ck5Mj2eBvKcuIfQWLWMp8UnkuOf4BrTiqP753G0/EAf5zS6bxrf6rra0saSkAox4cUc72lvv7B2Sf3qu9c85lgFcO/lC8zVTpnYuPj6lgOLmTnBINA22eFjcw/+fbqPgI7Bk14I17PWuRkJXJKryuo8pUyfAPVG1gji8zptKT9m5OgG6eTXhzg5ZFY7AhlZC0f5VGL8kaKobXY1tKd65m+siuplGlzlv25gxJZG1vqK2NGuu/c/r9QNSxNlFqSB3e9Ly+3Xn7JG5JUYlb6+tVEjbeO21gIBOY2NlwdTRv79Y8KqFnlC/PnT7V3Pmt61tJ8v/N++8VT6+ofNT6CRebnTV27yXvIXZ83soCxquZU1Sp287dkcJ0cnxYeHCGLSK3IH2ZTPYxLmXcSoxneQinXPhsCMe1aA5qfuVE+1fOOIRbKpxjrVgGbHFYt8K0QinzLKwVhobXBRv61Vjf3WdBLfrLZPzbSLQ7eXmZlHFAjgkUyIPV2LY+IdC2Tevs7CFnl5Ab5cpx/k8hSrYpGvaGjrXPdnmaR9obNXvSQLSXhkniXa/9sZkgOKRb4lItEgvIygVBQ4CdoSC7gh7rbszk3ym2CBbwE00N+V211LunqgD8YzHBj1E5YO+bMz/yyZJ038+HYN4VbO/pLPVxzQ8JcS6Re/o7htm1hDZNR3lVlnn6RZmZyJmuaZmYeeUORcDMN3OUNxIZghi1PbGcljTBqAMfKbcbUQm8CWEkiJDqWw+6Cv9CwAN186i1q+7tJ/GDA9XLK+9xDsvfWaDCUJCSA7VziPrnyhrq+E93yy9PUnQ1/5jatb0MOio9kKq2yqULqPrkLyxR8K0JY9h5L7KykED46yToges5N9yA7b5PeI2qQPSK+JD4BzMnCCoGgXCTil5cLhCLO+NS9lQlCq+mlr9nsX/V0i/pf+kfijcBdaEh8vdTWcZVthI4GUxE+wC8x/qRX5PiEY0bjaGr+0XgjUFMsdhGlLUmwizBavyfPIT3WyOg/bZXhzT5q5AOGPqY2Tn7xdCCQl0RFCt9HFkV2NXQtL1o+Sx02IlVN2aQVH+Lcjbm/eXulczs8J092H052j5G9s49Xjo8I79sYwobfej80ZfGz+XWZvGxek/mO1ckicyOh64qRj3anvYx4hqzzabPg3qv1nbHNsevvU/g2QgEbqCmfGJ/zu5I/sb7kwYjxhO7Pmu8tGE8YrK6Z053VrRleXXB9/iK1kdGz7530zb5sRnPpGZReguVzg1C63zLHkDB7fYfHD2FphFGrkXHLYBgbJmV7RCbNxsaVJsZVEOpHuWlqepNietaUXnG44lDXtqm0Dd44FLduWtUKFxzSW9vKWgNTW1tLWkHDxLy7wqkbVHntdcSW2rbVQ7yFaPWABgdcXVN1ba1KRrXxKuPgJMslysJOYFWjLzI29tSvsbITiC1grwE16Z0p9V0SlSp6RzV9JzINNTO3wCMyB4kFLSPBWU1ZJSYu6D8rc/OMWvOTr/avelyWmx+Q7Uv8SuDfKc+OltQO0PzfZvPq4M2gcEn35y6vJ6eVNWrVtHHvTIJCFc5aWRtZHYX9VxhXvenU+fsZ+Jl1BuRXyip0AUP81A36rlj569bSzGL4ds1FJ85u0dKK0lKr38iIjNOVsiitfa7+uYCtCAGjDOsn3yiH7FWOuRAYzweAipv045Erh8iVg45JvXHiygLItwmgpsnVUyAtCcpeN/1jNlAv6IE6zcOmTcEmgybIg0ejDzRgXAExXDhiApqIZqGV4Ca9AsgXjPUfVUPjIw2aBQZdMGlZmApmkNHc34XkGBzwkocmwAMxq2LCMLGyJpBmgmS0t4+4g9zRyPkg+IdIKeBp7irAD8Q1VopnGjo2bPyD8qkWTnAvMaZwLw72I18adojz3eLRYlCOObPJ8RRSlEZMWoFwuMP6SOVgzJQ9UZX6LKJQOaja3yODCjCGR5QDv5IIZzVKvd5BVPPQ8La2C4Y2JoydSOsRNVgco6z/W1QYOl4YPFKvbgBcGhgoI2ClStlRSPk4j6n+MZ20kGhhZfqFU2gQBg+JsIO/uQpG6GJuYLCPmIKCxqETv8OqFfVulCg0/j+A2hkoCQEAS/MG3+Pl9YAbeWWZ0dWqzFPwO1bmHS1rWckc71PC0AFUFffg6tMeUX6WxrRhg7+/y4q1HL+GvKPzsWVB/9MWDK1nwbHXIw2uodiHWAtZaxTdR+N6axipPywi650NZ+V47KURVdZWV+zIQGv3OFcFZY9/pD7HrC6fjgMD68sFdx+n/ykQhlalc872pVJHxjK+hwZA+WunZ8+HfZ38XDnh+f2ZJ6775Ke7AGsjgnq1VcWu5Fvs1nW35My3UPJrLCANrbcTgroTphvst0pOu8ZRINtdyYfOuti61nkdii63TE3R7CBWPNQa+8T3TfGRBwBftO39Lcj6LRlt1j6UHLEuV9GtqV50qw2NPFBj7O0x2Oc0KIHwNM+0vDgMfsIPfytznhw0HmQDC1xGgMs2U1M0NKCbqdoPm4IquAcEe18rxkBIdjnqvMFHEUF7u2UCKSGNO82iCOrSVkIaxSyMgvZtVXtuO8oW8rjksL/OOr8KQCjVUUCm8BafgpgukFuwP+BYlIKgVVFLTqbI6Xu71cdBjcWt659BJvXfu8asPahbXMfO+7rd/4KZgHvizq20S44Jsnqr8heCnBank/v8o8HxakyszSvNh3BsZu2Xu85M9xdhIbu5JfMJ8zKpA9hxoGEKuebEvkBlrWMPi2HylQ1F2B+0LkoWBn9FAm2TkgOZIjcqJuBHg5dT3HMTqCAvlLzNLcrFSdlNPKDxw0NAqb9k4Xsnkyfx/ificE8Bn93kfDIA382/e/Txzm6X2lEIAQYQ8JWY8XGVbxlJE49uXf/n6x/SnkHsFjzLXJITSs+5FSwiLPgJc/E1IShsKAwtdcGxEQBff7sFtLIQpR2EaAA8IiwaawognK/FvHAbCVefjLXNGsIGUV3tHwRrvGuIhauZ4u6rMIrSQan6qszkS8AyP5tVxYnu3F2wqT4eAvB9i5/vEDTK5hrz/lf0VovLEFfwiTPhuuuEglhuuDDfH2VpanF9/cVeYpfLKLkX2EA1B8I4x3JjD2s8X6Tl5QNfKLdQF3sNfHVwLj8xQa0QmA0A+8BfUDAVhgSs3ngI6As0TGt8DJgveWJjc55yNsNDwPMc4fg2I1ushcrxthCDBkoAnogmFUQMfQliiN4GcdwcD+JZ2GQq9JGaIIGZ2I1UuTCLIkuuiw517QTSzQnpEekhAfsqlC9VgWBl9Hbz5EgXI6MuS7aybnjZbJFS7uzMQu+OMhTIVKhAmTCSqC2VwTYNlMgSsNksZUpkxISqtTYECntFqWgoYTl6FVScvyjKnj2Ok7rzUkeIvqoewoQL48/DnMYTtWK+mZ62WklgHEOT45hRCWSMqWNGUPtCMhnShTZfeQlZYa5nTMUqp50lh9m+XBpb6fNh28mwr88llVtaKKiQqq6YmdlUs2Fae9i7cPyP9XlgeaeDIRzCIwVg+GkREZAiMENESvAMKyRERspIBSx92hdVruU6Vho1WWv5pl2HjS5bPXb6DRq6z8GocZMUHNNUzrRmzblYeOg7PSOTKyubm2Wr1m3acrdr3yEHz9GpB09nj7/4fXfL7S7AL7h55An8ERH8s3efP0J8Ffz7LzQQNB8KR4iiMWFx4YlkygOR6Uw2R5wvkBRLZdEVj/yIr4mpN8Q2W+1OV3yvPxhKHI0lTTyZwqG9ubpiuVpvtrv94Xg6X663++P5csc9S2G6Z3kLH8rB8375TxHSua38p+q2tUz679dtKfmzpmrUn7/dVdoPVefYvxeqw1KdjOAiUKYAXoYDtyOADCoe83CRBF13SQR2w6lhaEQIypFbESRftEYNuJNU34XhPmjSv0DKyZ61BaDsLBW7Rofss8yhMs0pozRjZXK2uhm4cEKaG79SuMftmjMO+BPttyeEKT2+FUbzCKoufj5JKnw3eJpJo8ikc0vJH8qvHakWLYzO8MqUFFP6Uky9/jhKfSAznMc473CHOHJP5nl8K5g/WUACEuQfKTRF7tgZc3ny5EkOQElapLNXz+k8+h15SO7fKENK0UIQWpHK04a0fkeXf3e6gX7+/AtD6EAGMuDgmeSTd/JM8sWzeFbvGvHQhiY9f+ylqpbWiJd5pZ7yeIvRvxMvkweNoJz0ynHjLve/U1yAbGKXMmOfzFnFqsBZmBED4uv13Fjuf7tzrPyHsvpu398bh8lNAA==","/_app/font.48749a4b71dd.woff2":"d09GMgABAAAAACxwABAAAAAAYAQAACwNAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoEsG5wcHIYGBmA/U1RBVEQAhQQRCAr5BN5xC4QUAAE2AiQDiCQEIAWEUAeIaAwHG8tPNezYK8DGAW8Q/L0zEiFsHIhAmKtRVFEuBP//5+RkDAcazOXK/hCVmBwm6UxYkZBRshQLHFblgqoMCytu27iUbCfVsGbU0LpoP9d/6aaNDwqaJH9nHqZI6HDd9NFATT9M/bV/2CvFvMLsLyKDGr/InHPTo2lbE3W88QgtfcTLQ7Q/+D8zex8Af1CJkRVCAxuERO3w/DZ7H1FRDExKJUUylQoRUMpotAEzF05XfUtXzvXdbRcpu1rF1eJudbvqbbdza+kfGoM27+95PccsJ6JoIxTPhJQssbDBVNB62zPj/yZSkcUaQfj5UxT1omtO2tfY9jW2R/b8nSgiPp1GqOQv87+uYEUn6I8euGgDedH75SuA/6m5HbFSojW2GghlprhO/R95KV/tFs9HhR72vqmL3oo3B3rxAVELOD2hLGXjA6ZtnfaAW+SPWBOWcp/jOc+4R3a5287kuxAqFw8HKppUBcz7ADr8/zbtbd/V89svyx881gc7KH3Ulo5PeuAOuIWipKf3ZnbmztNY5CTSjH1W3wp4Fk3/n7EdkLQ0DtpB7wYQqrEckD8gVAEsgaBM0aVo0jeAbVKUVZjnv+4ZH7AWw4cB2Jv9dOcTNVETYBMFIS+GTZRwhOIlPjBrLoN98VVkKpIN6Uk6XOGas+fbUP3/IKPD9EyJIsuYEh3Hd92x3DmW4XR2FdxCWvr/zhRg4gBwA5hUEAQIUhJIihQQNAIICROESwIiIwNRMICYWECsHCAFKkCqNIEEtYC06Qbp1QvSbwTkrrsgs2aFeeyJMC+8FBYASgBFOBQOIBAI0Bok3KzHnkivYQjQFp0TbPlKuxfEnXR4TxuIAweoc8IAASbsxKO72sDTITWA+zrYSyBZYMoQ2McWAjRl8gToRYuAAokGRMlFBpVkMeBQh3+YokERDjsFcme3QeDaRuFA3fpL4pqfLO+I0boiTzmDal4acYx68gmRDY82IhAHTMbQOBgCBoOeM4v30PtHPy1Q2J2+6SvgRVRP9wnSH/Z2r6uD8KeabBPSa1veuJqHsYHogmqBasRQX5SFN/IjF/VYW5k0fsyoZYQBJsKJkZ2bCAiAvz30j9/84BbIO/XQinqothv7QW1qQV8tBry5EN1p/yMqxxQUTqpwcepTQx/DUQ/KW0Yj7pRKM5SoiJTC8oBNQ4Z3zI0NI2aTDC66kBVDBCFFSUEpimzUV7yi54zVxD2XJnZbShUCSpWnasidoH/1+cpWySsqqExbfhY6yyjYSpe7C08v4psuW8cohwp7V9KELT3W5ybUyRSUrqqNEgR0QbKhLIxtzULBzp0eAjifUgRNoIkUTzMph3KpgiqpjhbQUlpOa2itaj5XUn+hRdSAiTAahkJ/7Am1qXYqPIgZe/wFd1qcgxXsPC18/VzrJWqi9WGm7BNm433ulXvKJt0K2Xd/iry0Ya0/6XUxYEbAgVjurCgRANQH0Cn8I6p/mvxfHLm3Sytp51oYfmTDv9iD/hlLMZXXOog7txQM0fhkEihkw1Iyw9e5SuMMGkv5YLZKfhxt5zZbj0E5YJLx8cFIycDSAGybGkR7mWpcmkIB9WHAEDK/V5g+YLjhYIZvU4N7V4P7UIM7pcGd0eDOcWgXXdKuuOrBxJdDwykMYJzbwwhItNGwHWEMzJftsigtko9CKkIVhVNEGg5S/6sKTHi08lF0BAjf2oL/kPng8W48oJ9/jnIfDbVorx/a3TZJtcJtoY2tvnRL/eOsz0A4IMlSZCCgYOHiq28n8jIwMq2s8tjYOeQ3Vd/UqFWnXoNGTZr5tRTSIwPttyEnXfA5SMt9VRQICgxKGBR4FC5CJISoUxqZyvQLgCFQGByBRKExWBxev9QXjV5GMllsDpfHT3BUlFiTUK5QqtSm51nGv41/e3tC5a9++Znyh9ROpVveQQ+MjgAYAoXBEUgUGoPF4fVLbdPoMfKYYLE5XB4/wVFRYk1CuUKpUlcz0hoZm6ymLdeUM78RAEOgMDgCiUJjsDi8PoPJYnO4PL6omoXWyNhk9Qi60k/4jQAYAoXBEUgUGoPF4fVLTdqujxkAAAAMCBKpOAnlCqVKXc1Xa2Rskml9u2X2CvdTWd+kC8QSuUKpUpvOkimGNAAwBAqDI5AoNAaLw+s3VAAAUVXhAwDgUFk+WvKq0RoZm1xvUH800AViiVyhVKlN38363Fhxf/a6wtKnz7CdkwAAAACQBAAg1AZgrlCq1Hencab1es7s7Rw/3FBKfg0AQ6AwOAKJQmOwOLz+Llw2OhwNNofL44uqeWmNjE1Wt5C3cThwr5+9drwV3kufIz9XvwDAECgMjkCi0BgsDq/PYLLYHC6PL/rnWSfgZrQKJHeZ46DdxoIsO0DBIlXuMK9ap+IgDuE4nIhTcRpOxxk4Excg9NeG89Kd1wTAECgMjkCi0BgsDq/PYLLYHC6PL5oZLQkAAGgIXCCpwPkLAE6DM0c8YjdzNi+yB0QuKTMRlRl0XtGMBvdAmU1X1ptvN7rc7TpG87ptcjbJ0hiIDxwuQqQoCPbOwzeEmXNSFrnJfeHRRx7Z2gEGvmxrbwVdv1xoAWj+qr2uBdQGtGJO0Te9rV3A+d08H+T90NfVBow/UUqdUqEsBTSeRtFICoewmQVSjFgaoi9egCR0pek2NZY55DH95YbPvG03frAl8ghRQYCAAJkW3fgRdRaMr7/EWoAH9fmJACSaaGEgiSBcqeoYq62zTUgg7Y4Tte2mIRbvy6p+5yDEwH7JkoUDMsBWjlqsayFMGph0ZdpkRHb0wVClSJVUi0fwUOC0Zu4YAwAQK6kiyRWpIjJIo+L0eu+DSTQIQQ8UoKFCx/5AizJUuCDs4hS30UktDHCIdT0wkA+GvCGMS0liSjsvP4Bn2kLCgbx6JYB14duPg4SxtW7/MuBYwAnE32q4XsBusUNfhr17I4DypjuAawHiV0OAwcJANfeA7gEZvuDcY5t7IAC830gZSh01BY9IwwINOOF7onM6JYEqqbLHZajBs+NTbS4iOJxYPArzvGoOSkiQJ0/vxm4dKAwehiC+IOKIGUQykUbMJhqJrw4hk9YN2TA0kZwy9wM6IOLLttvrKZhbA2HlmOdEDDHtTit+o+4BbACgQpUU8P+Cl8yXjBeP3+vtP3sA4LO/Plv12dbPajLZdx9+WpfWJtc+eR0EmA3Y7paHAHGN1sMQl7fc5+p93nbFjB/857qrTjrlQ7865hNHhbzhTX/701/edQ0kGlKseMlSpEJLk4GAiISChYOLh08wOzq1HGcdd859J4KAcq4ElsH5Cji5lHgVKudLXrPAQwNem/Z5Eva1P1xDTrvjjHte8467fvK9n33n2wD4wLAv/OtmEeC2fxx2JBh44BvvFwkOGfGlA/Y76D0RYOAQwkWKEiMJSoJEeBhYOHHIslBlYqD5HZ2EkIhYNrZWWipqeho6BmaO2d7axTy8CuWqVj/jw8YGf6zWrUOnLgP8TDM1uazOz43x1AYe9aVpIpzf2LWD6R3vRv6ANZ3476QlhmtL0I9B+GiyCk/ahJqcIMxUUoKF7gGtIYnF5j58FNZkGcNkkMJWCuTKlDVDupYaJNWs0vDtprwH7ibMMp0aWUazUG/laBoipQo83dTU6BnazCgpNDnAw7LT6ZHqMiK5g1MNGeDmo47Rok6OZqINZD9EICAqtTYW8wQR9G7mt+zGlEqcdABPRXCRySqvWk36JluDsKT0lGIbqhzmOa6CjQ83oQ2QSc4Rdi3rKnu+vV6G7eykqmP1VEbS7mX662UQU0digQXGqilMLthotFXczl9Iq6zyloWNBY4CP9PiQEspHy4lgPv4+LfJ2p8vZRlKcIpkoE7uPCCsXLHGos1gIk9ZiMaaoeY5w0l9rbATYicDQY7QgrziB/kVlv9bQS4CHMIB1koSdFNNDbKtBt58kX4x+HN7zyjRYo1Qi/9ykSoo2j/t/YDpTiAB/Tsy0UvU6DE5R3Z+OmQvEJuZ2NL/rLgnBzOGEVstYyDZ/27hRMHtlsRRbtqpJgoP/mPTLkoND5YhG2CmEcVQcP/szy2CR4d9VWR2x4/YapBL2ae9gK/vERdgcPBYMGbydzC26c5P2txTj+L6gLezD7v3cLPe2SEodVOGUt0s7T3ZQnvVGQVaYhFVN9PLPRIT57clzuF0NPc0PKU0XuvAzleTkNezEg7sDVQ5ol9y3Yl590WWR2/7SFIZn1szLcxq7rLm6bXc7F6Fp1PvQm0aN/wWWweF+qRbH5jCDPBZLXFZEMOYhyXTQMeNtCy83kyjCrvBFAWbHw5iyzbsx9aaZPeDm7mpkRrEI/PqLqvAN/enUhegfRUNdLuDi9mfNfAohlwm6+Tft+ms5in3IREFEh9FKB36iFzp/Nxr39/GyLwaLOfoynh/B5TadWRqR+VuxvqDh2FxC6lW3PN9kMuLv0wyBUoUr1sWh4f2uRTWHpbuf7Z0M5d7dKmTe+NA2BmjVtYXml7kgnbeWeOyQ6rUrvubtX9xidWs/u5dMduxhrzFSnjdA/+3Gc+EttUSZGTu07ZkSDzmk94Sbfj1ONcag9LZMPipqEJha5zx6cMQZuE7pra+d/bB7ye18yi2TePTsotkDOaB3Zy9416JznXEicLJLIN0WQFah0d0Wsx5H5i24VMDQXJL3+6QGdnZvXa9JbgPu6PoCC8dSCGRpQNmFuW8909fFM/B4zP8ygw7zflE9HBH01xWf0jYVc208cXJHNpbJy6AXOo3QiZqsty2nhAfv3fKa9c3ePpV48auCMhZIpczU6I0DmcIB+z6NraLoLhWcmDWTwr+dhPDmcOZk98lQYIypjHJRi9MtOUZtpuwuaL25jVRooTZ3D6iS3pP3YBs++su8AigkLuQL9CZOMhm1MEKXPmT+UxdYmN7LL+gQtrXfKcBDokzLbPVYJf29j7Iz61gXdQxvV2euMEBaN4aacM7BSNxv0Q69+uS93Q9yzUvyukmqmgfipK5O+H11DNtvVLlvZDL/mS24Krtj2lBoELQ3G7dEtnweYzPuRjfxfSeFA9VFNz+iMttX5tosVsPC6sztjq2X207t2hpxe/AcXkne88ttfUtdbOYfRy3YW7NsP76SMFVuYs03Rd3kwUnpaaN7Wh2LwqeYfNT28Ea7hEbLpBNe4frtHXgsNZuLT0xmXQgbopXDy3XGBlcohVLa0Wy6RFXivhX6KqCWIYGbTZ4P/u3xI8KSdOGmpYFJ35KO1jK5Cv0skFKqf0oBSUc74Qs4E6XCn4L1PBc3o2nyMo9570zJBjvbpvHybclq5ujuCQdTpKTOORNniOKDE3CK5wjmo0bT7XlW3l7p/MtADNTzbZeHw5hf0Q6AZVwIofNpGZ2Vv4G1qAWsZfvcjIs3SrV/qDNX9EGa6WW1Yv0RE+UX5E6v6uGwfImM3jRMzjo9i7v2Fb7HXsfPbouitqaeayMi1iUWX0ODtuweacNlO3QrBcv4fwOvgij4CgG+qmhGAq5nx2N1uHHqXwcj/z/nI7W4idffRu1zmJn+x7fSmcqzbIMvIuvmz6gdOqastsXsiIMvLVz5hXcTY8dYynPMBd1o/K+cNzA7YA4ZEg0wspPbxO2EE5ky7yuiPEHt+zWXGRYicvkCFTNjXtxLE7bKeuvvsI2iEtuO/JOTFpEWjxD1vYfN0Gt5bN3+8kNnPzyn2ajzm5vfBHbKdHCqq/imekKtMuN5RRxmYuSIdywtD8VRd0XfeC7WwmYRf7c8a4Az9G/0dW4E+TAwYVDms4JhZfspeBdM05tGubG5bRt9CRUfKPMlwhbJ2wkE7xFDH2fboepVqJnILy1X2IrPoKyg/40PqUF+wpmj5eO+2XxnDjxR4Lr4N4+yPuiT/IoNkf5l/8Z1+MVdDQZfH2mFpdCFQWNXR9UqMgid30cPlmzoLU60r4S1hd9/h/dy0z81tfcR/ndFNxOv4Do6rBqzZByvwvri7ddegD7NGG/RyEnv0406OLQJ2fXHdi8XXttz3bdF0lNcA9bz2iTqO1qbU1phws6b3S1xITd4zs9iutpCsHtyvXV+Nke8jaYV10l464ntUMUdmPtngbdKqHekYlcdRCQHRp0lyiGZbF6F17uYiVbCa24v8mQuO0WIT64Z21gt+7bwiWiNLZL9lrqcLmnWpoORRT2I92RK0IRtxnkkNKNVK6TbQ57cf2lORQ8X1QjW+VFtF0cMsYH8nvjCOIG8y6utq/1dWylMOxGTvoz4N4T564YsujwTjQ+6uYRP65c3+VPO9G593rGJTgQd9r1NPRjf/7Jp4ql9qUAkTSz3va6f13OVuKbaE48XfuC+bc5z7edYxsXjAHEihniKG9X+FD4IdHox9teFm/dlPgxGw3sob9zg6ycEj2DbsxFiN3ZWkVpE8e8eGBI0MFgfSFt7whwVEzmDmE1WIBs3FFROhUIlE5NVjTmDgsrypbP48L7LBlMVZVS7DebJYFqpZplJvrD53FWVlQOi4A9dDc4XVox2dRYsWO6NFg0v5jvIl0gOXk8kvOCi8QvBjJWvbU+giX/ou2hmVHhLsQQ4pB0dKMn/aOjUF6dhU9H5Qfho3AcWIsMTldUTgUCketNF9QGM936D9tN0X4dmqRvUCr8ZpM82KQ0igpoPBN3KkgrhKpdi1eZgf34MowRvSy0LMuYBeyuQitn0wkF4k7E4rfi07Z0f2kaftlJmZS+JC1tSfrdhQyxva7RX2JF+cS6Z+XdrGcF9IzyWMFnS/8QZ7qNiooMYA8tSYYlvZGVI5x/6AdC5h8ZShpxQZVXLnDC3I2hpb9cV11X/vyaWFN49drSPLr8zndgBTIwVVE+5Q9Gf3e5P7A76w34y85CRdOI1qeU+k1mmb9GqdPUKrVgNuEFXafs+706dbB7bNOiMUConBmumrl/0rHYyt5gIPL915+/em2Ja09bu2vvmrKKBcoKuajZmiv2V8pVGl+ONGA0Sf21OTFdoQ//k7asFr8weF5ntqbZZFT5g0rL4t8aF3Ff5fO1OaIB4AKhla3D3UhOcuTJgg+pFPWCdQx7flMlRqx9nlM8Xu1bKC5YX469ARO932Eyl5uwk9lud7G7qASfaMgyywJFsIBU8fmr0NQbTNbmD/egtq9+FBEbWfC4d4QQdSmdo5WJeoEUKSnHWri/t09kfarjo7R6Ho1kv1mGZjvELIe4bqxtwFBPM1hQ4/Q35l7CVUzSKX95amlKXadZnVPRKQJ3NV+Nske/1IDK2OL5BuOQ971l73Goej2Fw4lckbP9FnnNQwsMsk/JQ086JjYumACE1JkNl7EXsRtSZsD1yzMrVv2++PelS35Y9cOKL2bWLvp54mcQ/bzhUeHePb/u/nXvI+/zxn17/5/+H8xlPdo4uQu5Gzn5aAMd0BYMzQwsYAR/ZYEbyLLaAqsz4Kzpaz3GIOakdWd9V1FE09jrFfxmYIElD2NJRgq+laj6Dgez6TLSUgdAw4HwQnW8fi+LdAPZk4X1a20NgZH2lntvFdcUWO01juJpb7/wAQm/iirKNmU3R7ePjibkdeq1vQ6HvrdHb9e3GfXj1W06WzafIbzZy7HqleWE/cZvuClfpqYAE/AgRTbmZrh5NDQes9hGF5rqNbIel1PWW69pHKDWzTEY/9ZSyZ47DMZ3BsBA5g/qDX12h6G3X59vG7biTcOsW1PUzK4XDMbzDZnUfXdGWGnmIQeYQw6Y6nW6ZD2/JWYS2Om9yPHQaJhpsYMZP0Ai3kxJTrnBJ1Fr/2Uw5mwYpLVTpWmxWBTBgMpiHOmYbbAKxJ7K/AR0qyHazxrNE4q/3cHtThgDxjxNV4c2t49COE2lnFZTSNzTFOppDcAhi/9nQHC5J+AROl0l3nRt0mv8qkebkfiNjLThwPBygL2iKI7/gC3yX7/ykkm/TNYK+YsL2CJTfY4smJcv66pXm0QF3OX54x95NQM9KqOLTA5l0S+QyBTXzciIW7UgOzSOGLfSuEo3j1XvxI8DUf+WNGK7JgLoHo4/BNec+GX4tKUXdKUoZ7cdO3TE28T2jybiP6xCLW55dDCar0kYxxWWlwPuNeYUFaHxscMf7Ah9dYG4ffzT4OLF1RACiocj4doGC42tcosy3QVSSUl5W3fGOBAVl+DuaTQRSdzSTHiyT1tDXx6dn+PhsepBwa6zpk4UpL1Pr+91OHS9vXq7IyodtV6P3jaY2f0Pg/FyUSZ10UudtAEkvPpf97o4idxt9rxHe1+S2v2Sf4OOL1B1JjQSbl5iZ4om3wdpEtoYEzE94ik4Jj8zPlH3MKa26UzMxIFFwtPiuMjB6pvs/mMx2fDd7q16CtU9dyr8U6Z4OF7xTxVXtIDrTEnIigT/IfmetFl0h+hXIZkkTEz8ZOKmJdHtljpqPeU8J37d7hZBXQkefzo59tgr2njkNE5L4IiNZZlA8Xduji8osJiaudmlBjbZGnWd7VGrZYUNHKN0kCGYn0mfx6ePRNFT/OmMnSzeEsHfIALp8brsD1wdrsnxydGO0avEY/jogbOc2s794A/kRAoKmw/i+RKtOmKJHoEbJvIY4MrF/5YurgjWUu0E3j703+ImXbNurFHZrFy8+Xk+FnAFXSD6A9ir9yZLJ0omJo/cfw/aUbepfhOY/BqvTV7FDyDOI1NmX9F///e6VSVLStb9kKHj2PUMQPTN0h61TlbP0h+3gKtrYBsj6+twKMcOL96go/PNdpv2wJEIyS429zVxhUIhJCPZCdg7uMdahRm8s5SXm0U3c7lxpiWLZykpNh1FcEpwmRkZNDw+dURlAgOycGGFdSoQ4PYFFYWFYxSvorzDHLMyK2A2ZwU1xeWYlLSKmRbAPy7ACVSWFVczsnBydWNPCIga0ikmjek1v62qYWUKbtkjSsav14tWotfpCgNiY367TOnT6sz1N6uMJ3a9qhkAGKS6jqo3Xh6lBrs2k4X72Rm39Rgps4NpNvCYmN530pNGYrYNU78w6qvJIl0TP6dQLlPaadsMJUqNrizIA77l5lbJyXXHh3qHlitefhAPqEh+PcGp4Y5Qqy+RxFq1RKDWiQk5Xw3hGPNWjqCTDryuS3QqKqXSKo1FE2xXAibSUitUl6b1mZyk1cbWoMouaybsMNT9bE7KcBQvgdZPNVbr9IZGVXZAr1M1dihs3STV12TyFTWJlH+FTP7aASox6sLRvxswRYCP9PbylUXZGnXVoVmhUyyXFwZ5NnuQpyiUi0XO2UOaKk22qqiX7+2UmaQsnkkho/rnCOnPmiky/gk66ySf9zaL/hbAnN65bqNLawmqOxAn9XUPzcnp+SVLw9a9MXGf0DepFX4pqupJu+JXVXHVzzfpjyqwYuDgQDIqKw/nGlm4cmdRbwiMflIjEZ4ssI/91GqL/Lf38bLO2LzVIXABJSmQcmq0OrbPKRVL8rMMn07LrimYVErlWGSK+PeDTBLTopCzzKAP3b7RO/1WQlkNufivoIMDFhb44lBDR6bI+ITE5PfTUs7rGlDV43oSy+rJU7L+LCV/+2FerdaSG/9LMXgXpfJK11cmV7Tg0R+kxuz/K4OkTecWZKBpWRt1eN+5HBL1m5TEJSmoL5vKk92XfyVnadPdFHqiA8MAJcvN1HeRm+5RnR6ud5el463ANPgARdCmRE1Wpqy+nIB9icPcxcWvHClJwv/+f9lPqKLazPs3KlJX+oDJJNUXusD7KJlZSCyWchKL6EZDloCsTVzIzU07HJ/FM0OOvDu9mfTTPHqOx252YwAWC2EwEBYLgA69xdESt7liS265wOJPAh+jnG6NWOEyO51us0Ls1hQ48bhUTAYOn4FJxWHfxNxMSb6BQd9ITrlZm2tXCYR2jTXXrhEKHCqwM/7EI1mH42g8A3BmXyrOmi4RWZeV7XHkykwiUpGMk+ilGw0Mwu+YMAwWYBRNgoG37s7UrTPBcBzpXxKRi0XEFwrSOpV/Lqv5E7ziYXcQvKR/SFgJNrrIkfUn4ibKf0RcX89lmgcRz+1mzNarauos/KgVLtRLxOxvhRTy1n5Skq6jwGMOypW1OgnH4xX1QZXq68iR+xJyhJ4edjQ3XKeTiqaEgNqfqO/KjwjIVXVaKdftFU77VamvZQv+vo/k+59Eetge4+0PO/zvAzm+mp1NA6tuZjvk7aw3Bd9mpZcfsXwc+4Ev7oN2zRFzehnQtc7U3FKb346pEJa/fJvs3bUpnmMdEOdJMGjmJVA0YLdnwXu7eUByr5PdCe530lbE3hnV0bm2E1ytu2VbzdpVVMzaqWf11th3tnWsSY+btcO2lqMFB+rGuNq8tWnB7Skn5a37d+yvvCuVncVF17heNCBxK2ld9zhFqPajVmx2gBCPtOeayLaytHPvZn+IOIpqL+Lc66IpvVM7cp7ZEuOI+wJ43Hvv12bKRdrjCQHxN5j+IHA3DumwmEl5FWme9B8a2OrGr/T7Nvn6AbJuw+gVcGHsa3TVn0vFBZeOryVJfCNffC6RloPOTALnqjevPhdqmzecK7q7q86tIirgs2pwkx0eCy52/FseWC/Ezl3cYU6/DBw1zB82H2xoNB1cMHzUEPDtMfQOaw825ov7y41KUa74lbfcDJGqUikOmsxif6VSxXOQjyra/NiepPTjGKfEJZwoqx2V2ApXSBpqZRMul2yioWaFpJBSkLxbYt/SmqF2cP9yRlbpsvmUgt9omdE+8CJGXc2TeGS0j1N/WlT21HYam76WmLEQj5u1ju96mLXtg9srDk1Rn6P5QmsRU5pTzhTbRAyG0WnabOY/PfIATf4zk+nC6kWZNsFwRfnqPQVg7ldLUKnyG02q5mC2hX+FlIPyoXgoH2rj+lHtKIguk5VQlnbUE1YU+VhiAn693JxwNC9PaW8srBDmZdBOVaYv78mkvU3Cqq5ZEo0J9iJpbn1x1QOBk5pdU4DzqT9NpicRcOtzTYn9z3lDYaXYnm4+WUdYTqUxTpJwjmvmBBPKVvwvEqyMdoxLamokixz5kSvPPIdjEZ3Id3AE7VMKD59dolTGq8rNV/ALhYFzzozPTmxKYeEFAhYr9dVf5nnSp+cXyQV5Bf0m43CBM/YPmPLz+03DzgLOSCCazK5n2mzMekU2uHKOZCtoTh2d5Dp1pVhcrdaKKyslak3kLGjV5NXVxMyldALeO6y0iyt0rXmyGlrtTl5iPQrVk8QBwa7+16Prpltbp8JFmK5D+qKtQ+VF5YNWENrHMGbRDQw6XWekScFEaxbd0VBdjOLUMCz6PjoVQmPDgO3mg+YHoK7y/eb3mxT9vQW8COWGcDV3WYLsrdllIlGxXBYrZUJFRoRxmfzzuFT0DTnX2tltz11FPU7LvEilXMykXbIODPVbrcMDx70dHTZLW1vfOZtloNNqBXi0tilLb1g8SHnt8Cd3D1HSflvmSrpl4mWaeaU9dS3KMpJK+3yQOrmczcJQ02vR7mRnUkmjRiHxNHBG53W3dYNVyLKVFflTgQCu3hUVZRo/v6DY2s/97MokSWBXMv1mEyvoyBFSVu//eoBTVlAWEH6ENJ8zn+2db17AHk1O+RpbZQlaArkyX73AoK3hyiot49GM2Ew6WhC4FLzkpvvsoyBAHsr4bN62xk+cy5zoo/Z99umOKTIB+mHHthPzAOHuTOkSABH6y8HLacd4SkEw9KB1rBV8UubxWK0e0211F0Db58C21osHMWQM1noxQuyJaAtGlHAQ8lwK6C4Org2uOdM6gUX5/X/X/13b3zPVBv4Lz/ob/q4Z+GxtB15dw+WGS7yKyxX4NfuD+8HC1Na21pbeH1t/BMffydw88X/E9+j0UwUBBKs0T8iVFmSunqKm4H4UBDDMUqsQLO7ZYx6cNL+xzTywwwzikaaCNtA1env5KuH028eYM6Hx7ceIN85Elm8ZfwjK7s2M/zczEcezsuj5QhHdoVE8fi6bYRcJGfm5DBYTnFSqk5Dh6zVfH51fOAwx8IHeR8+3Eh9pJ9Vn1wmOVALgdKSmSc90DnTe+NxlfxGmai4L2f6Fj8rzigGv2Q4kEMi5DFTN/lgG6Y8eADZjxi0C4VYG4SJhfRHB14Kx5Ru7l4N/BZ3LNi5YBuKUK8YQS4eXLxxevhSxdfWCD+lSL5WnZw1hHGlpKswQi6d3U8EeLLHyPoF4v5JIdNwnEu47CDYyhYqzRAGFVFJDuSQ+Jra4NPc0i0JpGB6//uNPoUqb5EaA5HcZu0D4l6kvdqp/PReTMByfHHY/PdcWfpGVCc3Gs97xog+hEiJ8BDmG35fT3n/9lNdPPvl2ZmAjQYBWnjkiRN7rU9vvddaSe31s8F6fO5F8oQaQfktzLpkTn5hWsXiax+KpkqJXPq1nTfJx3UfT0k+UO+yQsmojjjmUTPQTRqGvMkp4h0m+MOEI4ukmJqBjTEB7cgoVPXUOlDtbevIU6rCnU+/F7MDDHne+F8/3Jl78QU3a3JNLrUc9+VTP0z2GuiUmgsTjWcpt2CNd5xJNzPPw9Glx8nHd7JTG0lJalXjRnfqWPPmQ6nm609BE9V2+0DQMvOgHgETS2ge0fcmTd9DzdLORkiq72mHiEv0qDFOaXRokRv9LzP8oseCzxNjbxKJ3EuNfJCaerbb4HQBrBbYD/3/fYBK+YzucnTzbxXY7e8Cm2N7Y9I8VmknAKPvCAFrZ0WyT3NUM29lVF18Ej9krWD/oDrIze5we7TvqFz4O7lJaRKDc8p4NzBQjFuFY4x+796a/rH3lT2xJUX16lffcgcrluo+4c3SscwkjoBrYD1v1UnD9z80dBQz65TRvljYt6wdlOWkY3Hsm2uvdc+9bhPQLgD8AWgP53BkI2TjbzAbZO53mo1zV0M6yA9numgG2efJgvQzEpnrafQT4P82M+mCu0mirT59uVLh7x4yQbWaD1fn0hvOoG7aZIxgJ5GWnUYY9vl8WMuwsu8mOsydwIq0YBwPHcakLsbPsZqfjZIBXdxsPiOnHN7ofA7HY4Cfd3wA/4FTuZ5dBQYYogGyTZ4zLSs+yWBZkSatb61gmAJMvmzNC9krXhxwZ4JWt0gCvEU+sPD5XDuSsnWMDMnM0AeWGGgi9vgXI6TmIwXjx5HeZYmdg79VovIoEeLt9EoDYPCG+hlxMxNxzYhrhnnkVcH5hHIEmrIZ0rCWmAJyEVC8r87iFKYCvXJQnEGjE1UOSgP83hrPQ4euN3JKFfadttZ4wGPiqqfvQAxtbf33RgHhJ+tX9aEhsfOHrhfD4ZoqHUXYxX17Enive300gp4aAHQdLYZGwkOhUtWJnRWdm8/LEfThB8u0VXbn5XgQIkBb9fGb93T/xyr8RYWG/AXz054xmAPjqvficq13q7OUdkAgwAAGUJ24E0Oytjv813F5+0/oKjjawk+p3HsKPl6dDsp59V1EwlL3zf5DPwQ5g4q9HyT/lSCDqKdeOf3/duo8OgdQ29mG7TykLv89JKG4qAtZ5UIaycvY1cZ+UDCa+1NXoyxWXn9Cb1FcQ5dsheUB0LhH58BhAW4qMoYoniJSXYmQJ8IASmHeCM6VlMCvF1GzZRQAZQEd43XMf5/7gnmTutyjXDI2M4SjMxk/zIZPfZ5MMVy8B3ecXr5RaG3Fu1DBFX6FN3/n14lKObwezRRaD6MQcqQW/2uM2Yi4pBaRsKUr78WaAGVvWBuFmwp5R5thIq8fMuFUH4AkrQA42SAMTaMAC4rMnbxNsGKTaJVQH3wqJbE8oAFcldAuk598r8gx3ruM0FI/ZcB0aY8f9A5hVcjfgT+wgXNMc5gQoO4WdnD02+yCA7prIgANhV3T1G/H6Rccx8bhYlt6HQPW1hXQ0oFkPxCMSmocfj6G1nFQrYV9L7qn0NkPELj8d6yZEOjYH8NKi1uJx+9SYpPQ/5bmLsiWYs4rPGJB9sChrknHaRcUQWgCsj69+6TJWxDgm+t4Tlx7seacsEgiFMAyt0A49MA7zoXD+2LaTziRvCsw7HIzdVoYBQG8AW+BHaAlgPNkj6rCKO/oJu0gAsBosXhEd1yxtqabYl/4U+lYFAdEGFIpg5DLIniq0294mothEZUfcVeJxEJzHx8Eg3DsujNz7x8FRbcTwa2zouAhkJcfGkSLbUE4n1YRQqYtQas2iEZ2sB2zVrlWNNlY9OriFX51iDVubNOvx+bJxh27ZeNieYcM1bOyjbXqcZLBbkFumuzQxc2BPhg3M25P6HHrtV7V6RdCl/OmqRMKfeEh8fMIwcb2B2Bjl58hXEF9Sk5zsRri7uZSh0JWDuqwSZkRhgt4CGlqmQSer7QKZqov0dHprqNpLPTARvZ7YNIRwZq9aXHXjgTwT+bcG1QvWFtrecb1BPI2rOgNM66HVSUIf42gDgOHOBQNn1HpNndetlYmmXpbf0TU467wLGJhY2C665LLPcQp71d/5byT0hS81+do6Rx0j8jcxyesBV7/iqmbXKGTLWap/Ug3ltxhop95qNxOzdhZ/yNVRl3zne6qsd12PPv3BQS9H4dz0OsKP7QC3QcNGDNlj1Bs8/uFVqMgyxUrMs8BC85UqU67CXz5UaYedkl7NqL8W8K9jvLQiIQQUBUVDSCgGioXioHgIVUKJJZVcSqmhw4QNF7600suIEDFS5ChRhTz0v9nIjFaWsKDHkCBeugxHwO1FNuWEJWJFSKSJGQvKm96ihxSjio+a1kmnvO0d73rPIYd95GPholFEWWqxFZZbaZFqvxl3XGSwTdgUR5x/3fM+IhKCDabV0MWFCF78BAkTJU6SNFnyFGVbzWCVb9z2rRvulPNId0RXQ18DsvcUP58v1vFFfEGUf2JLe12L122LZEeFIpmISu3Ib8U3racxov2UhuNaz7ntCvFOcyvTvsiPnxP+x/fJTvfxAz5mL8a75qXjaTu+baPS5u3qDzG6YQZstOM2yjngyOOA6yauPeKgLm96BxsGUHDgAADIAS70gEDNsDG+XhEyYZdolo4PM2xN/cA9p+6dFmW1Xw2DzovfLn5pjw3/Ylgx1OOFQoFkaK5Das7oau/v7YgS764nBWMivhzLZVG/jGhxw5/04Ue9I3t7nAEmdKT2Heiieo5vqW+6xKNCGfq3GQf1bp3BZvJy+7K2upYevuD9mJt4CKsAAAAA"}; diff --git a/test/composer-one-row.test.js b/test/composer-one-row.test.js index b1224c6..0fab38d 100644 --- a/test/composer-one-row.test.js +++ b/test/composer-one-row.test.js @@ -38,3 +38,8 @@ test('the Explain button itself still works while Explain mode is on', () => { test('what / serves includes the modal', () => { expect(built).toContain('peekGrow'); }); + +test('the placeholder fits one line on a 375px phone (24 characters or fewer)', () => { + const placeholder = app.match(/placeholder="([^"]+)"/)[1]; + expect([...placeholder].length).toBeLessThanOrEqual(24); +}); diff --git a/web/src/App.jsx b/web/src/App.jsx index 8767c80..a6e36d3 100644 --- a/web/src/App.jsx +++ b/web/src/App.jsx @@ -444,7 +444,7 @@ export default function App({scheme = 'system', setScheme = () => {}}) { ctl.current && ctl.current.abort()} isStopShown={busy} isDisabled={false} - placeholder="Ask anything, or describe what to make…" + placeholder="Ask or describe a site…" input={ { if (touch && e.key === 'Enter' && !e.shiftKey) { e.preventDefault(); document.execCommand('insertLineBreak'); } }} />}