From 24df30d0262b12df5dc93801ce6dbbc4ad418ab5 Mon Sep 17 00:00:00 2001 From: Sean Burton Date: Fri, 12 Jun 2026 13:24:03 +0100 Subject: [PATCH] chore: remove generated files from repo --- sphinx-ui/quantinuum_sphinx/static/.gitignore | 3 + .../static/injectNav.iife.js | 58 - .../static/styles/.gitignore | 3 + .../static/styles/quantinuum-ui-tailwind.css | 3796 ----------------- .../static/styles/quantinuum-ui-tokens.css | 81 - .../static/syncTheme.iife.js | 1 - 6 files changed, 6 insertions(+), 3936 deletions(-) create mode 100644 sphinx-ui/quantinuum_sphinx/static/.gitignore delete mode 100644 sphinx-ui/quantinuum_sphinx/static/injectNav.iife.js create mode 100644 sphinx-ui/quantinuum_sphinx/static/styles/.gitignore delete mode 100644 sphinx-ui/quantinuum_sphinx/static/styles/quantinuum-ui-tailwind.css delete mode 100644 sphinx-ui/quantinuum_sphinx/static/styles/quantinuum-ui-tokens.css delete mode 100644 sphinx-ui/quantinuum_sphinx/static/syncTheme.iife.js diff --git a/sphinx-ui/quantinuum_sphinx/static/.gitignore b/sphinx-ui/quantinuum_sphinx/static/.gitignore new file mode 100644 index 0000000..d58e7d7 --- /dev/null +++ b/sphinx-ui/quantinuum_sphinx/static/.gitignore @@ -0,0 +1,3 @@ +# Ignore generated files +injectNav.iife.js +syncTheme.iife.js diff --git a/sphinx-ui/quantinuum_sphinx/static/injectNav.iife.js b/sphinx-ui/quantinuum_sphinx/static/injectNav.iife.js deleted file mode 100644 index 74903e4..0000000 --- a/sphinx-ui/quantinuum_sphinx/static/injectNav.iife.js +++ /dev/null @@ -1,58 +0,0 @@ -(function(){var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),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,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=s((e=>{var t=Symbol.for(`react.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.provider`),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.iterator;function p(e){return typeof e!=`object`||!e?null:(e=f&&e[f]||e[`@@iterator`],typeof e==`function`?e:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`setState(...): 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`)},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function v(){}v.prototype=_.prototype;function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}var b=y.prototype=new v;b.constructor=y,h(b,_.prototype),b.isPureReactComponent=!0;var x=Array.isArray,S=Object.prototype.hasOwnProperty,C={current:null},ee={key:!0,ref:!0,__self:!0,__source:!0};function w(e,n,r){var i,a={},o=null,s=null;if(n!=null)for(i in n.ref!==void 0&&(s=n.ref),n.key!==void 0&&(o=``+n.key),n)S.call(n,i)&&!ee.hasOwnProperty(i)&&(a[i]=n[i]);var c=arguments.length-2;if(c===1)a.children=r;else if(1{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(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=typeof setTimeout==`function`?setTimeout:null,_=typeof clearTimeout==`function`?clearTimeout:null,v=typeof setImmediate<`u`?setImmediate:null;typeof navigator<`u`&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(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 b(e){if(h=!1,y(e),!m)if(n(c)!==null)m=!0,re(x);else{var t=n(l);t!==null&&ie(b,t.startTime-e)}}function x(t,i){m=!1,h&&(h=!1,_(ee),ee=-1),p=!0;var a=f;try{for(y(i),d=n(c);d!==null&&(!(d.expirationTime>i)||t&&!te());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=i);i=e.unstable_now(),typeof s==`function`?d.callback=s:d===n(c)&&r(c),y(i)}else r(c);d=n(c)}if(d!==null)var u=!0;else{var g=n(l);g!==null&&ie(b,g.startTime-i),u=!1}return u}finally{d=null,f=a,p=!1}}var S=!1,C=null,ee=-1,w=5,T=-1;function te(){return!(e.unstable_now()-Te||125o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(_(ee),ee=-1):h=!0,ie(b,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,re(x))),r},e.unstable_shouldYield=te,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(),n=m();function r(e){for(var t=`https://reactjs.org/docs/error-decoder.html?invariant=`+e,n=1;n`u`||window.document===void 0||window.document.createElement===void 0),l=Object.prototype.hasOwnProperty,u=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d={},p={};function h(e){return l.call(p,e)?!0:l.call(d,e)?!1:u.test(e)?p[e]=!0:(d[e]=!0,!1)}function g(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case`function`:case`symbol`:return!0;case`boolean`:return r?!1:n===null?(e=e.toLowerCase().slice(0,5),e!==`data-`&&e!==`aria-`):!n.acceptsBooleans;default:return!1}}function _(e,t,n,r){if(t==null||g(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function v(e,t,n,r,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var y={};`children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style`.split(` `).forEach(function(e){y[e]=new v(e,0,!1,e,null,!1,!1)}),[[`acceptCharset`,`accept-charset`],[`className`,`class`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`]].forEach(function(e){var t=e[0];y[t]=new v(t,1,!1,e[1],null,!1,!1)}),[`contentEditable`,`draggable`,`spellCheck`,`value`].forEach(function(e){y[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)}),[`autoReverse`,`externalResourcesRequired`,`focusable`,`preserveAlpha`].forEach(function(e){y[e]=new v(e,2,!1,e,null,!1,!1)}),`allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope`.split(` `).forEach(function(e){y[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)}),[`checked`,`multiple`,`muted`,`selected`].forEach(function(e){y[e]=new v(e,3,!0,e,null,!1,!1)}),[`capture`,`download`].forEach(function(e){y[e]=new v(e,4,!1,e,null,!1,!1)}),[`cols`,`rows`,`size`,`span`].forEach(function(e){y[e]=new v(e,6,!1,e,null,!1,!1)}),[`rowSpan`,`start`].forEach(function(e){y[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function x(e){return e[1].toUpperCase()}`accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height`.split(` `).forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,null,!1,!1)}),`xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type`.split(` `).forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,`http://www.w3.org/1999/xlink`,!1,!1)}),[`xml:base`,`xml:lang`,`xml:space`].forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,`http://www.w3.org/XML/1998/namespace`,!1,!1)}),[`tabIndex`,`crossOrigin`].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)}),y.xlinkHref=new v(`xlinkHref`,1,!1,`xlink:href`,`http://www.w3.org/1999/xlink`,!0,!1),[`src`,`href`,`action`,`formAction`].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)});function S(e,t,n,r){var i=y.hasOwnProperty(t)?y[t]:null;(i===null?r||!(2s||i[o]!==a[s]){var c=` -`+i[o].replace(` at new `,` at `);return e.displayName&&c.includes(``)&&(c=c.replace(``,e.displayName)),c}while(1<=o&&0<=s);break}}}finally{fe=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:``)?de(e):``}function me(e){switch(e.tag){case 5:return de(e.type);case 16:return de(`Lazy`);case 13:return de(`Suspense`);case 19:return de(`SuspenseList`);case 0:case 2:case 15:return e=pe(e.type,!1),e;case 11:return e=pe(e.type.render,!1),e;case 1:return e=pe(e.type,!0),e;default:return``}}function he(e){if(e==null)return null;if(typeof e==`function`)return e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case T:return`Fragment`;case w:return`Portal`;case E:return`Profiler`;case te:return`StrictMode`;case re:return`Suspense`;case ie:return`SuspenseList`}if(typeof e==`object`)switch(e.$$typeof){case O:return(e.displayName||`Context`)+`.Consumer`;case D:return(e._context.displayName||`Context`)+`.Provider`;case ne:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||``,e=e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case k:return t=e.displayName||null,t===null?he(e.type)||`Memo`:t;case ae:t=e._payload,e=e._init;try{return he(e(t))}catch{}}return null}function ge(e){var t=e.type;switch(e.tag){case 24:return`Cache`;case 9:return(t.displayName||`Context`)+`.Consumer`;case 10:return(t._context.displayName||`Context`)+`.Provider`;case 18:return`DehydratedFragment`;case 11:return e=t.render,e=e.displayName||e.name||``,t.displayName||(e===``?`ForwardRef`:`ForwardRef(`+e+`)`);case 7:return`Fragment`;case 5:return t;case 4:return`Portal`;case 3:return`Root`;case 6:return`Text`;case 16:return he(t);case 8:return t===te?`StrictMode`:`Mode`;case 22:return`Offscreen`;case 12:return`Profiler`;case 21:return`Scope`;case 13:return`Suspense`;case 19:return`SuspenseList`;case 25:return`TracingMarker`;case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t==`function`)return t.displayName||t.name||null;if(typeof t==`string`)return t}return null}function _e(e){switch(typeof e){case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function A(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function ve(e){var t=A(e)?`checked`:`value`,n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=``+e[t];if(!e.hasOwnProperty(t)&&n!==void 0&&typeof n.get==`function`&&typeof n.set==`function`){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ye(e){e._valueTracker||(e._valueTracker=ve(e))}function be(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=A(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function j(e){if(e=e||(typeof document<`u`?document:void 0),e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function xe(e,t){var n=t.checked;return le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Se(e,t){var n=t.defaultValue==null?``:t.defaultValue,r=t.checked==null?t.defaultChecked:t.checked;n=_e(t.value==null?n:t.value),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type===`checkbox`||t.type===`radio`?t.checked!=null:t.value!=null}}function Ce(e,t){t=t.checked,t!=null&&S(e,`checked`,t,!1)}function we(e,t){Ce(e,t);var n=_e(t.value),r=t.type;if(n!=null)r===`number`?(n===0&&e.value===``||e.value!=n)&&(e.value=``+n):e.value!==``+n&&(e.value=``+n);else if(r===`submit`||r===`reset`){e.removeAttribute(`value`);return}t.hasOwnProperty(`value`)?Ee(e,t.type,n):t.hasOwnProperty(`defaultValue`)&&Ee(e,t.type,_e(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Te(e,t,n){if(t.hasOwnProperty(`value`)||t.hasOwnProperty(`defaultValue`)){var r=t.type;if(!(r!==`submit`&&r!==`reset`||t.value!==void 0&&t.value!==null))return;t=``+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==``&&(e.name=``),e.defaultChecked=!!e._wrapperState.initialChecked,n!==``&&(e.name=n)}function Ee(e,t,n){(t!==`number`||j(e.ownerDocument)!==e)&&(n==null?e.defaultValue=``+e._wrapperState.initialValue:e.defaultValue!==``+n&&(e.defaultValue=``+n))}var De=Array.isArray;function Oe(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i`+t.valueOf().toString()+``,t=Fe.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ie(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Le={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Re=[`Webkit`,`ms`,`Moz`,`O`];Object.keys(Le).forEach(function(e){Re.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Le[t]=Le[e]})});function ze(e,t,n){return t==null||typeof t==`boolean`||t===``?``:n||typeof t!=`number`||t===0||Le.hasOwnProperty(e)&&Le[e]?(``+t).trim():t+`px`}function Be(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=n.indexOf(`--`)===0,i=ze(n,t[n],r);n===`float`&&(n=`cssFloat`),r?e.setProperty(n,i):e[n]=i}}var Ve=le({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function He(e,t){if(t){if(Ve[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(r(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(r(60));if(typeof t.dangerouslySetInnerHTML!=`object`||!(`__html`in t.dangerouslySetInnerHTML))throw Error(r(61))}if(t.style!=null&&typeof t.style!=`object`)throw Error(r(62))}}function Ue(e,t){if(e.indexOf(`-`)===-1)return typeof t.is==`string`;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var We=null;function Ge(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ke=null,qe=null,Je=null;function Ye(e){if(e=Ki(e)){if(typeof Ke!=`function`)throw Error(r(280));var t=e.stateNode;t&&(t=Ji(t),Ke(e.stateNode,e.type,t))}}function Xe(e){qe?Je?Je.push(e):Je=[e]:qe=e}function Ze(){if(qe){var e=qe,t=Je;if(Je=qe=null,Ye(e),t)for(e=0;e>>=0,e===0?32:31-(P(e)/Nt|0)|0}var Ft=64,It=4194304;function Lt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Rt(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s===0?(a&=o,a!==0&&(r=Lt(a))):r=Lt(s)}else o=n&~i,o===0?a!==0&&(r=Lt(a)):r=Lt(o);if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,a=t&-t,i>=a||i===16&&a&4194240))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Wt(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Mt(t),e[t]=n}function Gt(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=or),lr=` `,ur=!1;function dr(e,t){switch(e){case`keyup`:return ir.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function fr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var pr=!1;function mr(e,t){switch(e){case`compositionend`:return fr(t);case`keypress`:return t.which===32?(ur=!0,lr):null;case`textInput`:return e=t.data,e===lr&&ur?null:e;default:return null}}function hr(e,t){if(pr)return e===`compositionend`||!ar&&dr(e,t)?(e=kn(),On=Dn=En=null,pr=!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=Lr(n)}}function zr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?zr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Br(){for(var e=window,t=j();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=j(e.document)}return t}function Vr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}function Hr(e){var t=Br(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&zr(n.ownerDocument.documentElement,n)){if(r!==null&&Vr(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),`selectionStart`in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=Rr(n,a);var o=Rr(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus==`function`&&n.focus(),n=0;n=document.documentMode,Wr=null,Gr=null,Kr=null,qr=!1;function Jr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;qr||Wr==null||Wr!==j(r)||(r=Wr,`selectionStart`in r&&Vr(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}),Kr&&Ir(Kr,r)||(Kr=r,r=yi(Gr,`onSelect`),0Xi||(e.current=Yi[Xi],Yi[Xi]=null,Xi--)}function $i(e,t){Xi++,Yi[Xi]=e.current,e.current=t}var ea={},ta=Zi(ea),na=Zi(!1),ra=ea;function ia(e,t){var n=e.type.contextTypes;if(!n)return ea;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function aa(e){return e=e.childContextTypes,e!=null}function oa(){Qi(na),Qi(ta)}function sa(e,t,n){if(ta.current!==ea)throw Error(r(168));$i(ta,t),$i(na,n)}function ca(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!=`function`)return n;for(var a in i=i.getChildContext(),i)if(!(a in t))throw Error(r(108,ge(e)||`Unknown`,a));return le({},n,i)}function la(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ea,ra=ta.current,$i(ta,e),$i(na,na.current),!0}function ua(e,t,n){var i=e.stateNode;if(!i)throw Error(r(169));n?(e=ca(e,t,ra),i.__reactInternalMemoizedMergedChildContext=e,Qi(na),Qi(ta),$i(ta,e)):Qi(na),$i(na,n)}var da=null,fa=!1,pa=!1;function ma(e){da===null?da=[e]:da.push(e)}function ha(e){fa=!0,ma(e)}function ga(){if(!pa&&da!==null){pa=!0;var e=0,t=qt;try{var n=da;for(qt=1;e>=o,i-=o,wa=1<<32-Mt(t)+i|n<h?(g=d,d=null):g=d.sibling;var _=p(r,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(r,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(r,d),Ma&&Ea(r,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),Ma&&Ea(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 Ma&&Ea(a,g),u}for(h=i(a,h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.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)}),Ma&&Ea(a,g),u}function _(e,r,i,o){if(typeof i==`object`&&i&&i.type===T&&i.key===null&&(i=i.props.children),typeof i==`object`&&i){switch(i.$$typeof){case ee:a:{for(var c=i.key,l=r;l!==null;){if(l.key===c){if(c=i.type,c===T){if(l.tag===7){n(e,l.sibling),r=a(l,i.props.children),r.return=e,e=r;break a}}else if(l.elementType===c||typeof c==`object`&&c&&c.$$typeof===ae&&Ka(c)===l.type){n(e,l.sibling),r=a(l,i.props),r.ref=Wa(e,l,i),r.return=e,e=r;break a}n(e,l);break}else t(e,l);l=l.sibling}i.type===T?(r=uu(i.props.children,e.mode,o,i.key),r.return=e,e=r):(o=lu(i.type,i.key,i.props,null,e.mode,o),o.ref=Wa(e,r,i),o.return=e,e=o)}return s(e);case w:a:{for(l=i.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),r=a(r,i.children||[]),r.return=e,e=r;break a}else{n(e,r);break}else t(e,r);r=r.sibling}r=pu(i,e.mode,o),r.return=e,e=r}return s(e);case ae:return l=i._init,_(e,r,l(i._payload),o)}if(De(i))return h(e,r,i,o);if(ce(i))return g(e,r,i,o);Ga(e,i)}return typeof i==`string`&&i!==``||typeof i==`number`?(i=``+i,r!==null&&r.tag===6?(n(e,r.sibling),r=a(r,i),r.return=e,e=r):(n(e,r),r=fu(i,e.mode,o),r.return=e,e=r),s(e)):n(e,r)}return _}var Ja=qa(!0),Ya=qa(!1),Xa=Zi(null),Za=null,Qa=null,$a=null;function eo(){$a=Qa=Za=null}function to(e){var t=Xa.current;Qi(Xa),e._currentValue=t}function no(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function ro(e,t){Za=e,$a=Qa=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ks=!0),e.firstContext=null)}function io(e){var t=e._currentValue;if($a!==e)if(e={context:e,memoizedValue:t,next:null},Qa===null){if(Za===null)throw Error(r(308));Qa=e,Za.dependencies={lanes:0,firstContext:e}}else Qa=Qa.next=e;return t}var ao=null;function oo(e){ao===null?ao=[e]:ao.push(e)}function so(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,oo(t)):(n.next=i.next,i.next=n),t.interleaved=n,co(e,r)}function co(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var lo=!1;function uo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function fo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function po(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function mo(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,z&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,co(e,n)}return i=r.interleaved,i===null?(t.next=t,oo(r)):(t.next=i.next,i.next=t),r.interleaved=t,co(e,n)}function ho(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194240)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Kt(e,n)}}function go(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={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,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,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function _o(e,t,n,r){var i=e.updateQueue;lo=!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,p=s.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});a:{var m=e,h=s;switch(f=t,p=n,h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(p,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(p,d,f):m,f==null)break a;d=le({},d,f);break a;case 2:lo=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[s]:f.push(s))}else p={eventTime: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;f=s,s=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(1);if(u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);cl|=o,e.lanes=o,e.memoizedState=d}}function vo(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=No.transition;No.transition={};try{e(!1),t()}finally{qt=n,No.transition=r}}function bs(){return qo().memoizedState}function L(e,t,n){var r=Dl(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ss(e))Cs(t,n);else if(n=so(e,t,n,r),n!==null){var i=El();Ol(n,e,r,i),ws(n,t,r)}}function xs(e,t,n){var r=Dl(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ss(e))Cs(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,Fr(s,o)){var c=t.interleaved;c===null?(i.next=i,oo(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}n=so(e,t,i,r),n!==null&&(i=El(),Ol(n,e,r,i),ws(n,t,r))}}function Ss(e){var t=e.alternate;return e===Fo||t!==null&&t===Fo}function Cs(e,t){zo=Ro=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ws(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Kt(e,n)}}var Ts={readContext:io,useCallback:Ho,useContext:Ho,useEffect:Ho,useImperativeHandle:Ho,useInsertionEffect:Ho,useLayoutEffect:Ho,useMemo:Ho,useReducer:Ho,useRef:Ho,useState:Ho,useDebugValue:Ho,useDeferredValue:Ho,useTransition:Ho,useMutableSource:Ho,useSyncExternalStore:Ho,useId:Ho,unstable_isNewReconciler:!1},Es={readContext:io,useCallback:function(e,t){return Ko().memoizedState=[e,t===void 0?null:t],e},useContext:io,useEffect:ls,useImperativeHandle:function(e,t,n){return n=n==null?null:n.concat([e]),ss(4194308,4,ps.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ss(4194308,4,e,t)},useInsertionEffect:function(e,t){return ss(4,2,e,t)},useMemo:function(e,t){var n=Ko();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ko();return t=n===void 0?t:n(t),r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=L.bind(null,Fo,e),[r.memoizedState,e]},useRef:function(e){var t=Ko();return e={current:e},t.memoizedState=e},useState:is,useDebugValue:hs,useDeferredValue:function(e){return Ko().memoizedState=e},useTransition:function(){var e=is(!1),t=e[0];return e=ys.bind(null,e[1]),Ko().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=Fo,a=Ko();if(Ma){if(n===void 0)throw Error(r(407));n=n()}else{if(n=t(),tl===null)throw Error(r(349));Po&30||$o(i,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,ls(ts.bind(null,i,o,e),[e]),i.flags|=2048,as(9,es.bind(null,i,o,n,t),void 0,null),n},useId:function(){var e=Ko(),t=tl.identifierPrefix;if(Ma){var n=Ta,r=wa;n=(r&~(1<<32-Mt(r)-1)).toString(32)+n,t=`:`+t+`R`+n,n=Bo++,0<\/script>`,e=e.removeChild(e.firstChild)):typeof i.is==`string`?e=c.createElement(n,{is:i.is}):(e=c.createElement(n),n===`select`&&(c=e,i.multiple?c.multiple=!0:i.size&&(c.size=i.size))):e=c.createElementNS(e,n),e[zi]=t,e[Bi]=i,gc(e,t,!1,!1),t.stateNode=e;a:{switch(c=Ue(n,i),n){case`dialog`:I(`cancel`,e),I(`close`,e),o=i;break;case`iframe`:case`object`:case`embed`:I(`load`,e),o=i;break;case`video`:case`audio`:for(o=0;oml&&(t.flags|=128,i=!0,yc(s,!1),t.lanes=4194304)}else{if(!i)if(e=ko(c),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),yc(s,!0),s.tail===null&&s.tailMode===`hidden`&&!c.alternate&&!Ma)return bc(t),null}else 2*St()-s.renderingStartTime>ml&&n!==1073741824&&(t.flags|=128,i=!0,yc(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(n=s.last,n===null?t.child=c:n.sibling=c,s.last=c)}return s.tail===null?(bc(t),null):(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=St(),t.sibling=null,n=Oo.current,$i(Oo,i?n&1|2:n&1),t);case 22:case 23:return Rl(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?il&1073741824&&(bc(t),t.subtreeFlags&6&&(t.flags|=8192)):bc(t),null;case 24:return null;case 25:return null}throw Error(r(156,t.tag))}function Sc(e,t){switch(ka(t),t.tag){case 1:return aa(t.type)&&oa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return To(),Qi(na),Qi(ta),jo(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Do(t),null;case 13:if(Qi(Oo),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));Va()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Qi(Oo),null;case 4:return To(),null;case 10:return to(t.type._context),null;case 22:case 23:return Rl(),null;case 24:return null;default:return null}}var Cc=!1,wc=!1,Tc=typeof WeakSet==`function`?WeakSet:Set,R=null;function Ec(e,t){var n=e.ref;if(n!==null)if(typeof n==`function`)try{n(null)}catch(n){Ql(e,t,n)}else n.current=null}function Dc(e,t,n){try{n()}catch(n){Ql(e,t,n)}}var Oc=!1;function kc(e,t){if(Di=yn,e=Br(),Vr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Oi={focusedElem:e,selectionRange:n},yn=!1,R=t;R!==null;)if(t=R,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var g=h.memoizedProps,_=h.memoizedState,v=t.stateNode;v.__reactInternalSnapshotBeforeUpdate=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:ks(t.type,g),_)}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent=``:y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(e){Ql(t,t.return,e)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return h=Oc,Oc=!1,h}function Ac(e,t,n){var r=t.updateQueue;if(r=r===null?null:r.lastEffect,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&Dc(t,n,a)}i=i.next}while(i!==r)}}function jc(e,t){if(t=t.updateQueue,t=t===null?null:t.lastEffect,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Mc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t==`function`?t(e):t.current=e}}function Nc(e){var t=e.alternate;t!==null&&(e.alternate=null,Nc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[zi],delete t[Bi],delete t[Hi],delete t[Ui],delete t[Wi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Pc(e){return e.tag===5||e.tag===3||e.tag===4}function Fc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Pc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ic(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ei));else if(r!==4&&(e=e.child,e!==null))for(Ic(e,t,n),e=e.sibling;e!==null;)Ic(e,t,n),e=e.sibling}function Lc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Lc(e,t,n),e=e.sibling;e!==null;)Lc(e,t,n),e=e.sibling}var Rc=null,zc=!1;function Bc(e,t,n){for(n=n.child;n!==null;)Vc(e,t,n),n=n.sibling}function Vc(e,t,n){if(At&&typeof At.onCommitFiberUnmount==`function`)try{At.onCommitFiberUnmount(kt,n)}catch{}switch(n.tag){case 5:wc||Ec(n,t);case 6:var r=Rc,i=zc;Rc=null,Bc(e,t,n),Rc=r,zc=i,Rc!==null&&(zc?(e=Rc,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Rc.removeChild(n.stateNode));break;case 18:Rc!==null&&(zc?(e=Rc,n=n.stateNode,e.nodeType===8?Fi(e.parentNode,n):e.nodeType===1&&Fi(e,n),_n(e)):Fi(Rc,n.stateNode));break;case 4:r=Rc,i=zc,Rc=n.stateNode.containerInfo,zc=!0,Bc(e,t,n),Rc=r,zc=i;break;case 0:case 11:case 14:case 15:if(!wc&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&Dc(n,t,o),i=i.next}while(i!==r)}Bc(e,t,n);break;case 1:if(!wc&&(Ec(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Ql(n,t,e)}Bc(e,t,n);break;case 21:Bc(e,t,n);break;case 22:n.mode&1?(wc=(r=wc)||n.memoizedState!==null,Bc(e,t,n),wc=r):Bc(e,t,n);break;default:Bc(e,t,n)}}function Hc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Tc),t.forEach(function(t){var r=nu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function Uc(e,t){var n=t.deletions;if(n!==null)for(var i=0;ia&&(a=s),i&=~o}if(i=a,i=St()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Zc(i/1960))-i,10e?16:e,bl===null)var i=!1;else{if(e=bl,bl=null,xl=0,z&6)throw Error(r(331));var a=z;for(z|=4,R=e.current;R!==null;){var o=R,s=o.child;if(R.flags&16){var c=o.deletions;if(c!==null){for(var l=0;lSt()-pl?zl(e,0):ul|=n),kl(e,t)}function eu(e,t){t===0&&(e.mode&1?(t=It,It<<=1,!(It&130023424)&&(It=4194304)):t=1);var n=El();e=co(e,t),e!==null&&(Wt(e,t,n),kl(e,n))}function tu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),eu(e,n)}function nu(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(r(314))}i!==null&&i.delete(t),eu(e,n)}var B=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||na.current)Ks=!0;else{if((e.lanes&n)===0&&!(t.flags&128))return Ks=!1,hc(e,t,n);Ks=!!(e.flags&131072)}else Ks=!1,Ma&&t.flags&1048576&&Da(t,ba,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;pc(e,t),e=t.pendingProps;var a=ia(t,ta.current);ro(t,n),a=Wo(null,t,i,e,a,n);var o=Go();return t.flags|=1,typeof a==`object`&&a&&typeof a.render==`function`&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,aa(i)?(o=!0,la(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,uo(t),a.updater=js,t.stateNode=a,a._reactInternals=t,Fs(t,i,e,n),t=tc(null,t,i,!0,o,n)):(t.tag=0,Ma&&o&&Oa(t),qs(null,t,a,n),t=t.child),t;case 16:i=t.elementType;a:{switch(pc(e,t),e=t.pendingProps,a=i._init,i=a(i._payload),t.type=i,a=t.tag=su(i),e=ks(i,e),a){case 0:t=$s(null,t,i,e,n);break a;case 1:t=ec(null,t,i,e,n);break a;case 11:t=Js(null,t,i,e,n);break a;case 14:t=Ys(null,t,i,ks(i.type,e),n);break a}throw Error(r(306,i,``))}return t;case 0:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ks(i,a),$s(e,t,i,a,n);case 1:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ks(i,a),ec(e,t,i,a,n);case 3:a:{if(nc(t),e===null)throw Error(r(387));i=t.pendingProps,o=t.memoizedState,a=o.element,fo(e,t),_o(t,i,null,n);var s=t.memoizedState;if(i=s.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=Is(Error(r(423)),t),t=rc(e,t,i,n,a);break a}else if(i!==a){a=Is(Error(r(424)),t),t=rc(e,t,i,n,a);break a}else for(ja=Ii(t.stateNode.containerInfo.firstChild),Aa=t,Ma=!0,Na=null,n=Ya(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Va(),i===a){t=mc(e,t,n);break a}qs(e,t,i,n)}t=t.child}return t;case 5:return Eo(t),e===null&&La(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,s=a.children,ki(i,a)?s=null:o!==null&&ki(i,o)&&(t.flags|=32),Qs(e,t),qs(e,t,s,n),t.child;case 6:return e===null&&La(t),null;case 13:return oc(e,t,n);case 4:return wo(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Ja(t,null,i,n):qs(e,t,i,n),t.child;case 11:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ks(i,a),Js(e,t,i,a,n);case 7:return qs(e,t,t.pendingProps,n),t.child;case 8:return qs(e,t,t.pendingProps.children,n),t.child;case 12:return qs(e,t,t.pendingProps.children,n),t.child;case 10:a:{if(i=t.type._context,a=t.pendingProps,o=t.memoizedProps,s=a.value,$i(Xa,i._currentValue),i._currentValue=s,o!==null)if(Fr(o.value,s)){if(o.children===a.children&&!na.current){t=mc(e,t,n);break a}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){s=o.child;for(var l=c.firstContext;l!==null;){if(l.context===i){if(o.tag===1){l=po(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),no(o.return,n,t),c.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(r(341));s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),no(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}qs(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,i=t.pendingProps.children,ro(t,n),a=io(a),i=i(a),t.flags|=1,qs(e,t,i,n),t.child;case 14:return i=t.type,a=ks(i,t.pendingProps),a=ks(i.type,a),Ys(e,t,i,a,n);case 15:return Xs(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ks(i,a),pc(e,t),t.tag=1,aa(i)?(e=!0,la(t)):e=!1,ro(t,n),Ns(t,i,a),Fs(t,i,a,n),tc(null,t,i,!0,e,n);case 19:return fc(e,t,n);case 22:return Zs(e,t,n)}throw Error(r(156,t.tag))};function ru(e,t){return vt(e,t)}function iu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function au(e,t,n,r){return new iu(e,t,n,r)}function ou(e){return e=e.prototype,!(!e||!e.isReactComponent)}function su(e){if(typeof e==`function`)return+!!ou(e);if(e!=null){if(e=e.$$typeof,e===ne)return 11;if(e===k)return 14}return 2}function cu(e,t){var n=e.alternate;return n===null?(n=au(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function lu(e,t,n,i,a,o){var s=2;if(i=e,typeof e==`function`)ou(e)&&(s=1);else if(typeof e==`string`)s=5;else a:switch(e){case T:return uu(n.children,a,o,t);case te:s=8,a|=8;break;case E:return e=au(12,n,t,a|2),e.elementType=E,e.lanes=o,e;case re:return e=au(13,n,t,a),e.elementType=re,e.lanes=o,e;case ie:return e=au(19,n,t,a),e.elementType=ie,e.lanes=o,e;case oe:return du(n,a,o,t);default:if(typeof e==`object`&&e)switch(e.$$typeof){case D:s=10;break a;case O:s=9;break a;case ne:s=11;break a;case k:s=14;break a;case ae:s=16,i=null;break a}throw Error(r(130,e==null?e:typeof e,``))}return t=au(s,n,t,a),t.elementType=e,t.type=i,t.lanes=o,t}function uu(e,t,n,r){return e=au(7,e,r,t),e.lanes=n,e}function du(e,t,n,r){return e=au(22,e,r,t),e.elementType=oe,e.lanes=n,e.stateNode={isHidden:!1},e}function fu(e,t,n){return e=au(6,e,null,t),e.lanes=n,e}function pu(e,t,n){return t=au(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function mu(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ut(0),this.expirationTimes=Ut(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ut(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function hu(e,t,n,r,i,a,o,s,c){return e=new mu(e,t,n,s,c),t===1?(t=1,!0===a&&(t|=8)):t=0,a=au(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},uo(a),e}function gu(e,t,n){var r=3{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=g();e.createRoot=t.createRoot,e.hydrateRoot=t.hydrateRoot})),v=s((e=>{var t=f(),n=Symbol.for(`react.element`),r=Symbol.for(`react.fragment`),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,c={},l=null,u=null;for(s in r!==void 0&&(l=``+r),t.key!==void 0&&(l=``+t.key),t.ref!==void 0&&(u=t.ref),t)i.call(t,s)&&!o.hasOwnProperty(s)&&(c[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)c[s]===void 0&&(c[s]=t[s]);return{$$typeof:n,type:e,key:l,ref:u,props:c,_owner:a.current}}e.Fragment=r,e.jsx=s,e.jsxs=s})),y=s(((e,t)=>{t.exports=v()})),b,x,S=o((()=>{b=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),x=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim()})),C,ee=o((()=>{C={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`}})),w,T,te=o((()=>{w=u(f()),ee(),S(),T=(0,w.forwardRef)(({color:e=`currentColor`,size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>(0,w.createElement)(`svg`,{ref:c,...C,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:x(`lucide`,i),...s},[...o.map(([e,t])=>(0,w.createElement)(e,t)),...Array.isArray(a)?a:[a]]))})),E,D,O=o((()=>{E=u(f()),S(),te(),D=(e,t)=>{let n=(0,E.forwardRef)(({className:n,...r},i)=>(0,E.createElement)(T,{ref:i,iconNode:t,className:x(`lucide-${b(e)}`,n),...r}));return n.displayName=`${e}`,n}})),ne,re=o((()=>{O(),ne=D(`Check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]])})),ie,k=o((()=>{O(),ie=D(`ChevronRight`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]])})),ae,oe=o((()=>{O(),ae=D(`Circle`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]])})),se,ce=o((()=>{O(),se=D(`Computer`,[[`rect`,{width:`14`,height:`8`,x:`5`,y:`2`,rx:`2`,key:`wc9tft`}],[`rect`,{width:`20`,height:`8`,x:`2`,y:`14`,rx:`2`,key:`w68u3i`}],[`path`,{d:`M6 18h2`,key:`rwmk9e`}],[`path`,{d:`M12 18h6`,key:`aqd8w3`}]])})),le,ue=o((()=>{O(),le=D(`Cookie`,[[`path`,{d:`M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5`,key:`laymnq`}],[`path`,{d:`M8.5 8.5v.01`,key:`ue8clq`}],[`path`,{d:`M16 15.5v.01`,key:`14dtrp`}],[`path`,{d:`M12 12v.01`,key:`u5ubse`}],[`path`,{d:`M11 17v.01`,key:`1hyl5a`}],[`path`,{d:`M7 14v.01`,key:`uct60s`}]])})),de,fe=o((()=>{O(),de=D(`Menu`,[[`line`,{x1:`4`,x2:`20`,y1:`12`,y2:`12`,key:`1e0a9i`}],[`line`,{x1:`4`,x2:`20`,y1:`6`,y2:`6`,key:`1owob3`}],[`line`,{x1:`4`,x2:`20`,y1:`18`,y2:`18`,key:`yk5zj1`}]])})),pe,me=o((()=>{O(),pe=D(`Moon`,[[`path`,{d:`M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z`,key:`a7tn18`}]])})),he,ge=o((()=>{O(),he=D(`Sun`,[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`m17.66 17.66 1.41 1.41`,key:`ptbguv`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m6.34 17.66-1.41 1.41`,key:`1m8zz5`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}]])})),_e=o((()=>{O(),re(),k(),oe(),ce(),ue(),fe(),me(),ge(),te()}));function A(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`){var i=0;for(r=Object.getOwnPropertySymbols(e);i{ye=function(){return ye=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{}));function Se(...e){return t=>e.forEach((e=>function(e,t){typeof e==`function`?e(t):e!=null&&(e.current=t)}(e,t)))}function Ce(...e){return(0,we.useCallback)(Se(...e),e)}var we,Te=o((()=>{we=u(f(),1)}));function Ee(e){return(0,Oe.isValidElement)(e)&&e.type===je}function De(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{a(...e),i(...e)}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}var Oe,ke,Ae,je,Me=o((()=>{xe(),Oe=u(f(),1),Te(),ke=(0,Oe.forwardRef)(((e,t)=>{let{children:n,...r}=e,i=Oe.Children.toArray(n),a=i.find(Ee);if(a){let e=a.props.children,n=i.map((t=>t===a?Oe.Children.count(e)>1?Oe.Children.only(null):(0,Oe.isValidElement)(e)?e.props.children:null:t));return(0,Oe.createElement)(Ae,j({},r,{ref:t}),(0,Oe.isValidElement)(e)?(0,Oe.cloneElement)(e,void 0,n):null)}return(0,Oe.createElement)(Ae,j({},r,{ref:t}),n)})),ke.displayName=`Slot`,Ae=(0,Oe.forwardRef)(((e,t)=>{let{children:n,...r}=e;return(0,Oe.isValidElement)(n)?(0,Oe.cloneElement)(n,{...De(r,n.props),ref:t?Se(t,n.ref):n.ref}):Oe.Children.count(n)>1?Oe.Children.only(null):null})),Ae.displayName=`SlotClone`,je=({children:e})=>(0,Oe.createElement)(Oe.Fragment,null,e)}));function Ne(e,t){e&&(0,Fe.flushSync)((()=>e.dispatchEvent(t)))}var Pe,Fe,M,Ie=o((()=>{xe(),Pe=u(f(),1),Fe=u(g(),1),Me(),M=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`span`,`svg`,`ul`].reduce(((e,t)=>{let n=(0,Pe.forwardRef)(((e,n)=>{let{asChild:r,...i}=e,a=r?ke:t;return(0,Pe.useEffect)((()=>{window[Symbol.for(`radix-ui`)]=!0}),[]),(0,Pe.createElement)(a,j({},i,{ref:n}))}));return n.displayName=`Primitive.${t}`,{...e,[t]:n}}),{})}));function Le(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t{}));function Be(){let e,t,n=0,r=``;for(;n({cache:Ze(e.cacheSize),parseClassName:Qe(e),...He(e)}))(t.reduce(((e,t)=>t(e)),e())),r=n.cache.get,i=n.cache.set,a=o,o(s)};function o(e){let t=r(e);if(t)return t;let a=((e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,a=[],o=e.trim().split(et),s=``;for(let e=o.length-1;e>=0;--e){let t=o[e],{modifiers:c,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:d}=n(t),f=!!d,p=r(f?u.substring(0,d):u);if(!p){if(!f){s=t+(s.length>0?` `+s:s);continue}if(p=r(u),!p){s=t+(s.length>0?` `+s:s);continue}f=!1}let m=$e(c).join(`:`),h=l?m+`!`:m,g=h+p;if(a.includes(g))continue;a.push(g);let _=i(p,f);for(let e=0;e<_.length;++e){let t=_[e];a.push(h+t)}s=t+(s.length>0?` `+s:s)}return s})(e,n);return i(e,a),a}return function(){return a(Be.apply(null,arguments))}}var He,Ue,We,Ge,Ke,qe,Je,Ye,Xe,Ze,Qe,$e,et,tt,nt,rt,it,at,ot,st,ct,lt,ut,dt,ft,pt,mt,ht,gt,N,_t,vt,yt,bt,xt,St,Ct,wt,Tt,Et,Dt,Ot,kt,At,jt,Mt=o((()=>{He=e=>{let t=Ke(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{let n=e.split(`-`);return n[0]===``&&n.length!==1&&n.shift(),Ue(n,t)||Ge(e)},getConflictingClassGroupIds:(e,t)=>{let i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},Ue=(e,t)=>{if(e.length===0)return t.classGroupId;let n=e[0],r=t.nextPart.get(n),i=r?Ue(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;let a=e.join(`-`);return t.validators.find((({validator:e})=>e(a)))?.classGroupId},We=/^\[(.+)\]$/,Ge=e=>{if(We.test(e)){let t=We.exec(e)[1],n=t?.substring(0,t.indexOf(`:`));if(n)return`arbitrary..`+n}},Ke=e=>{let{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Xe(Object.entries(e.classGroups),n).forEach((([e,n])=>{qe(n,r,e,t)})),r},qe=(e,t,n,r)=>{e.forEach((e=>{if(typeof e!=`string`){if(typeof e==`function`)return Ye(e)?void qe(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,i])=>{qe(i,Je(t,e),n,r)}))}else (e===``?t:Je(t,e)).classGroupId=n}))},Je=(e,t)=>{let n=e;return t.split(`-`).forEach((e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n},Ye=e=>e.isThemeGetter,Xe=(e,t)=>t?e.map((([e,n])=>[e,n.map((e=>typeof e==`string`?t+e:typeof e==`object`?Object.fromEntries(Object.entries(e).map((([e,n])=>[t+e,n]))):e))])):e,Ze=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map,i=(i,a)=>{n.set(i,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return t===void 0?(t=r.get(e))===void 0?void 0:(i(e,t),t):t},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},Qe=e=>{let{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],a=t.length,o=e=>{let n=[],o,s=0,c=0;for(let l=0;lc?o-c:void 0}};return n?e=>n({className:e,parseClassName:o}):o},$e=e=>{if(e.length<=1)return e;let t=[],n=[];return e.forEach((e=>{e[0]===`[`?(t.push(...n.sort(),e),n=[]):n.push(e)})),t.push(...n.sort()),t},et=/\s+/,tt=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},rt=/^\[(?:([a-z-]+):)?(.+)\]$/i,it=/^\d+\/\d+$/,at=new Set([`px`,`full`,`screen`]),ot=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,st=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ct=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,lt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ut=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,dt=e=>pt(e)||at.has(e)||it.test(e),ft=e=>Tt(e,`length`,Et),pt=e=>!!e&&!Number.isNaN(Number(e)),mt=e=>Tt(e,`number`,pt),ht=e=>!!e&&Number.isInteger(Number(e)),gt=e=>e.endsWith(`%`)&&pt(e.slice(0,-1)),N=e=>rt.test(e),_t=e=>ot.test(e),vt=new Set([`length`,`size`,`percentage`]),yt=e=>Tt(e,vt,Dt),bt=e=>Tt(e,`position`,Dt),xt=new Set([`image`,`url`]),St=e=>Tt(e,xt,kt),Ct=e=>Tt(e,``,Ot),wt=()=>!0,Tt=(e,t,n)=>{let r=rt.exec(e);return!!r&&(r[1]?typeof t==`string`?r[1]===t:t.has(r[1]):n(r[2]))},Et=e=>st.test(e)&&!ct.test(e),Dt=()=>!1,Ot=e=>lt.test(e),kt=e=>ut.test(e),At=()=>{let e=nt(`colors`),t=nt(`spacing`),n=nt(`blur`),r=nt(`brightness`),i=nt(`borderColor`),a=nt(`borderRadius`),o=nt(`borderSpacing`),s=nt(`borderWidth`),c=nt(`contrast`),l=nt(`grayscale`),u=nt(`hueRotate`),d=nt(`invert`),f=nt(`gap`),p=nt(`gradientColorStops`),m=nt(`gradientColorStopPositions`),h=nt(`inset`),g=nt(`margin`),_=nt(`opacity`),v=nt(`padding`),y=nt(`saturate`),b=nt(`scale`),x=nt(`sepia`),S=nt(`skew`),C=nt(`space`),ee=nt(`translate`),w=()=>[`auto`,N,t],T=()=>[N,t],te=()=>[``,dt,ft],E=()=>[`auto`,pt,N],D=()=>[``,`0`,N],O=()=>[pt,N];return{cacheSize:500,separator:`:`,theme:{colors:[wt],spacing:[dt,ft],blur:[`none`,``,_t,N],brightness:O(),borderColor:[e],borderRadius:[`none`,``,`full`,_t,N],borderSpacing:T(),borderWidth:te(),contrast:O(),grayscale:D(),hueRotate:O(),invert:D(),gap:T(),gradientColorStops:[e],gradientColorStopPositions:[gt,ft],inset:w(),margin:w(),opacity:O(),padding:T(),saturate:O(),scale:O(),sepia:D(),skew:O(),space:T(),translate:T()},classGroups:{aspect:[{aspect:[`auto`,`square`,`video`,N]}],container:[`container`],columns:[{columns:[_t]}],"break-after":[{"break-after":[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`]}],"break-before":[{"break-before":[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`]}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:[`bottom`,`center`,`left`,`left-bottom`,`left-top`,`right`,`right-bottom`,`right-top`,`top`,N]}],overflow:[{overflow:[`auto`,`hidden`,`clip`,`visible`,`scroll`]}],"overflow-x":[{"overflow-x":[`auto`,`hidden`,`clip`,`visible`,`scroll`]}],"overflow-y":[{"overflow-y":[`auto`,`hidden`,`clip`,`visible`,`scroll`]}],overscroll:[{overscroll:[`auto`,`contain`,`none`]}],"overscroll-x":[{"overscroll-x":[`auto`,`contain`,`none`]}],"overscroll-y":[{"overscroll-y":[`auto`,`contain`,`none`]}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[`auto`,ht,N]}],basis:[{basis:w()}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`wrap`,`wrap-reverse`,`nowrap`]}],flex:[{flex:[`1`,`auto`,`initial`,`none`,N]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:[`first`,`last`,`none`,ht,N]}],"grid-cols":[{"grid-cols":[wt]}],"col-start-end":[{col:[`auto`,{span:[`full`,ht,N]},N]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[wt]}],"row-start-end":[{row:[`auto`,{span:[ht,N]},N]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":[`auto`,`min`,`max`,`fr`,N]}],"auto-rows":[{"auto-rows":[`auto`,`min`,`max`,`fr`,N]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:[`normal`,`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`]}],"justify-items":[{"justify-items":[`start`,`end`,`center`,`stretch`]}],"justify-self":[{"justify-self":[`auto`,`start`,`end`,`center`,`stretch`]}],"align-content":[{content:[`normal`,`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`]}],"align-items":[{items:[`start`,`end`,`center`,`baseline`,`stretch`]}],"align-self":[{self:[`auto`,`start`,`end`,`center`,`stretch`,`baseline`]}],"place-content":[{"place-content":[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`]}],"place-items":[{"place-items":[`start`,`end`,`center`,`baseline`,`stretch`]}],"place-self":[{"place-self":[`auto`,`start`,`end`,`center`,`stretch`]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[C]}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":[C]}],"space-y-reverse":[`space-y-reverse`],w:[{w:[`auto`,`min`,`max`,`fit`,`svw`,`lvw`,`dvw`,N,t]}],"min-w":[{"min-w":[N,t,`min`,`max`,`fit`]}],"max-w":[{"max-w":[N,t,`none`,`full`,`min`,`max`,`fit`,`prose`,{screen:[_t]},_t]}],h:[{h:[N,t,`auto`,`min`,`max`,`fit`,`svh`,`lvh`,`dvh`]}],"min-h":[{"min-h":[N,t,`min`,`max`,`fit`,`svh`,`lvh`,`dvh`]}],"max-h":[{"max-h":[N,t,`min`,`max`,`fit`,`svh`,`lvh`,`dvh`]}],size:[{size:[N,t,`auto`,`min`,`max`,`fit`]}],"font-size":[{text:[`base`,_t,ft]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`,mt]}],"font-family":[{font:[wt]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`,N]}],"line-clamp":[{"line-clamp":[`none`,pt,mt]}],leading:[{leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`,dt,N]}],"list-image":[{"list-image":[`none`,N]}],"list-style-type":[{list:[`none`,`disc`,`decimal`,N]}],"list-style-position":[{list:[`inside`,`outside`]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[_]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[_]}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[`solid`,`dashed`,`dotted`,`double`,`none`,`wavy`]}],"text-decoration-thickness":[{decoration:[`auto`,`from-font`,dt,ft]}],"underline-offset":[{"underline-offset":[`auto`,dt,N]}],"text-decoration-color":[{decoration:[e]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:T()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,N]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,N]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-opacity":[{"bg-opacity":[_]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:[`bottom`,`center`,`left`,`left-bottom`,`left-top`,`right`,`right-bottom`,`right-top`,`top`,bt]}],"bg-repeat":[{bg:[`no-repeat`,{repeat:[``,`x`,`y`,`round`,`space`]}]}],"bg-size":[{bg:[`auto`,`cover`,`contain`,yt]}],"bg-image":[{bg:[`none`,{"gradient-to":[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},St]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[_]}],"border-style":[{border:[`solid`,`dashed`,`dotted`,`double`,`none`,`hidden`]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":[`divide-y-reverse`],"divide-opacity":[{"divide-opacity":[_]}],"divide-style":[{divide:[`solid`,`dashed`,`dotted`,`double`,`none`]}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:[``,`solid`,`dashed`,`dotted`,`double`,`none`]}],"outline-offset":[{"outline-offset":[dt,N]}],"outline-w":[{outline:[dt,ft]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:te()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[_]}],"ring-offset-w":[{"ring-offset":[dt,ft]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:[``,`inner`,`none`,_t,Ct]}],"shadow-color":[{shadow:[wt]}],opacity:[{opacity:[_]}],"mix-blend":[{"mix-blend":[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`,`plus-lighter`,`plus-darker`]}],"bg-blend":[{"bg-blend":[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`]}],filter:[{filter:[``,`none`]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":[``,`none`,_t,N]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":[``,`none`]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[_]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[`none`,`all`,``,`colors`,`opacity`,`shadow`,`transform`,N]}],duration:[{duration:O()}],ease:[{ease:[`linear`,`in`,`out`,`in-out`,N]}],delay:[{delay:O()}],animate:[{animate:[`none`,`spin`,`ping`,`pulse`,`bounce`,N]}],transform:[{transform:[``,`gpu`,`none`]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[ht,N]}],"translate-x":[{"translate-x":[ee]}],"translate-y":[{"translate-y":[ee]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:[`center`,`top`,`top-right`,`right`,`bottom-right`,`bottom`,`bottom-left`,`left`,`top-left`,N]}],accent:[{accent:[`auto`,e]}],appearance:[{appearance:[`none`,`auto`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,N]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":[`none`,`auto`]}],resize:[{resize:[`none`,`y`,`x`,``]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,N]}],fill:[{fill:[e,`none`]}],"stroke-w":[{stroke:[dt,ft,mt]}],stroke:[{stroke:[e,`none`]}],sr:[`sr-only`,`not-sr-only`],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-s`,`border-w-e`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-s`,`border-color-e`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]}}},jt=Ve(At)}));function P(...e){return jt(Re(e))}var Nt=o((()=>{ze(),Mt()}));function Pt(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function Ft(...e){return t=>{let n=!1,r=e.map((e=>{let r=Pt(e,t);return n||typeof r!=`function`||(n=!0),r}));if(n)return()=>{for(let t=0;t{f()}));function Lt(e){return typeof e==`object`&&!!e&&`$$typeof`in e&&e.$$typeof===Ut&&`_payload`in e&&typeof(t=e._payload)==`object`&&t!==null&&`then`in t;var t}function Rt(e){let t=zt(e),n=Vt.forwardRef(((e,n)=>{let{children:r,...i}=e;Lt(r)&&typeof Wt==`function`&&(r=Wt(r._payload));let a=Vt.Children.toArray(r),o=a.find(Bt);if(o){let e=o.props.children,r=a.map((t=>t===o?Vt.Children.count(e)>1?Vt.Children.only(null):Vt.isValidElement(e)?e.props.children:null:t));return(0,Ht.jsx)(t,{...i,ref:n,children:Vt.isValidElement(e)?Vt.cloneElement(e,void 0,r):null})}return(0,Ht.jsx)(t,{...i,ref:n,children:r})}));return n.displayName=`${e}.Slot`,n}function zt(e){let t=Vt.forwardRef(((e,t)=>{let{children:n,...r}=e;if(Lt(n)&&typeof Wt==`function`&&(n=Wt(n._payload)),Vt.isValidElement(n)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(n),i=function(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}(r,n.props);return n.type!==Vt.Fragment&&(i.ref=t?Ft(t,e):e),Vt.cloneElement(n,i)}return Vt.Children.count(n)>1?Vt.Children.only(null):null}));return t.displayName=`${e}.SlotClone`,t}function Bt(e){return Vt.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===Kt}var Vt,Ht,Ut,Wt,Gt,Kt,qt=o((()=>{Vt=u(f(),1),It(),Ht=y(),Ut=Symbol.for(`react.lazy`),Wt=Vt.use,Gt=Rt(`Slot`),Kt=Symbol(`radix.slottable`)}));function Jt(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e))for(t=0;t{})),Zt,Qt,$t,en=o((()=>{Xt(),Zt=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,Qt=Yt,$t=(e,t)=>n=>{var r;if(t?.variants==null)return Qt(e,n?.class,n?.className);let{variants:i,defaultVariants:a}=t,o=Object.keys(i).map((e=>{let t=n?.[e],r=a?.[e];if(t===null)return null;let o=Zt(t)||Zt(r);return i[e][o]})),s=n&&Object.entries(n).reduce(((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e}),{});return Qt(e,o,t==null||(r=t.compoundVariants)==null?void 0:r.reduce(((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every((e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...a,...s}[t]):{...a,...s}[t]===n}))?[...e,n,r]:e}),[]),n?.class,n?.className)}})),tn,nn,rn,an,on=o((()=>{be(),tn=y(),qt(),en(),nn=u(f(),1),Nt(),rn=$t(`inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0`,{variants:{variant:{default:`bg-primary text-primary-foreground shadow hover:bg-primary/90`,destructive:`bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90`,outline:`border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground`,secondary:`bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80`,ghost:`hover:bg-accent hover:text-accent-foreground`,link:`text-primary underline-offset-4 hover:underline`},size:{default:`h-9 px-4 py-2`,sm:`h-8 rounded-md px-3 text-xs`,lg:`h-10 rounded-md px-8`,icon:`h-9 w-9`}},defaultVariants:{variant:`default`,size:`default`}}),an=nn.forwardRef(((e,t)=>{var{className:n,variant:r,size:i,asChild:a=!1}=e,o=A(e,[`className`,`variant`,`size`,`asChild`]);return(0,tn.jsx)(a?Gt:`button`,Object.assign({className:P(rn({variant:r,size:i,className:n})),ref:t},o))})),an.displayName=`Button`}));function F(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}var sn=o((()=>{}));function cn(e,t=[]){let n=[],r=()=>{let t=n.map((e=>(0,un.createContext)(e)));return function(n){let r=n?.[e]||t;return(0,un.useMemo)((()=>({[`__scope${e}`]:{...n,[e]:r}})),[n,r])}};return r.scopeName=e,[function(t,r){let i=(0,un.createContext)(r),a=n.length;function o(t){let{scope:n,children:r,...o}=t,s=n?.[e][a]||i,c=(0,un.useMemo)((()=>o),Object.values(o));return(0,un.createElement)(s.Provider,{value:c},r)}return n=[...n,r],o.displayName=t+`Provider`,[o,function(n,o){let s=(0,un.useContext)(o?.[e][a]||i);if(s)return s;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},ln(r,...t)]}function ln(...e){let t=e[0];if(e.length===1)return t;let n=()=>{let n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){let r=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return(0,un.useMemo)((()=>({[`__scope${t.scopeName}`]:r})),[r])}};return n.scopeName=t.scopeName,n}var un,dn=o((()=>{un=u(f(),1)}));function fn(e){let t=(0,pn.useRef)(e);return(0,pn.useEffect)((()=>{t.current=e})),(0,pn.useMemo)((()=>(...e)=>t.current?.call(t,...e)),[])}var pn,mn=o((()=>{pn=u(f(),1)}));function hn({prop:e,defaultProp:t,onChange:n=(()=>{})}){let[r,i]=function({defaultProp:e,onChange:t}){let n=(0,gn.useState)(e),[r]=n,i=(0,gn.useRef)(r),a=fn(t);return(0,gn.useEffect)((()=>{i.current!==r&&(a(r),i.current=r)}),[r,i,a]),n}({defaultProp:t,onChange:n}),a=e!==void 0,o=a?e:r,s=fn(n);return[o,(0,gn.useCallback)((t=>{if(a){let n=typeof t==`function`?t(e):t;n!==e&&s(n)}else i(t)}),[a,e,i,s])]}var gn,_n=o((()=>{gn=u(f(),1),mn()}));function vn(e){return(0,bn.isValidElement)(e)&&e.type===Cn}function yn(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{a(...e),i(...e)}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}var bn,xn,Sn,Cn,wn=o((()=>{xe(),bn=u(f(),1),Te(),xn=(0,bn.forwardRef)(((e,t)=>{let{children:n,...r}=e,i=bn.Children.toArray(n),a=i.find(vn);if(a){let e=a.props.children,n=i.map((t=>t===a?bn.Children.count(e)>1?bn.Children.only(null):(0,bn.isValidElement)(e)?e.props.children:null:t));return(0,bn.createElement)(Sn,j({},r,{ref:t}),(0,bn.isValidElement)(e)?(0,bn.cloneElement)(e,void 0,n):null)}return(0,bn.createElement)(Sn,j({},r,{ref:t}),n)})),xn.displayName=`Slot`,Sn=(0,bn.forwardRef)(((e,t)=>{let{children:n,...r}=e;return(0,bn.isValidElement)(n)?(0,bn.cloneElement)(n,{...yn(r,n.props),ref:t?Se(t,n.ref):n.ref}):bn.Children.count(n)>1?bn.Children.only(null):null})),Sn.displayName=`SlotClone`,Cn=({children:e})=>(0,bn.createElement)(bn.Fragment,null,e)}));function Tn(e){let t=e+`CollectionProvider`,[n,r]=cn(t),[i,a]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=e+`CollectionSlot`,s=e+`CollectionItemSlot`,c=`data-radix-collection-item`;return[{Provider:e=>{let{scope:t,children:n}=e,r=En.useRef(null),a=En.useRef(new Map).current;return En.createElement(i,{scope:t,itemMap:a,collectionRef:r},n)},Slot:En.forwardRef(((e,t)=>{let{scope:n,children:r}=e,i=Ce(t,a(o,n).collectionRef);return En.createElement(xn,{ref:i},r)})),ItemSlot:En.forwardRef(((e,t)=>{let{scope:n,children:r,...i}=e,o=En.useRef(null),l=Ce(t,o),u=a(s,n);return En.useEffect((()=>(u.itemMap.set(o,{ref:o,...i}),()=>{u.itemMap.delete(o)}))),En.createElement(xn,{[c]:``,ref:l},r)}))},function(t){let n=a(e+`CollectionConsumer`,t);return En.useCallback((()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${c}]`));return Array.from(n.itemMap.values()).sort(((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current)))}),[n.collectionRef,n.itemMap])},r]}var En,Dn=o((()=>{En=u(f(),1),dn(),Te(),wn()}));function On(e){let t=(0,kn.useContext)(An);return e||t||`ltr`}var kn,An,jn=o((()=>{kn=u(f(),1),An=(0,kn.createContext)(void 0)}));function Mn(e,t=globalThis==null?void 0:globalThis.document){let n=fn(e);(0,Nn.useEffect)((()=>{let e=e=>{e.key===`Escape`&&n(e)};return t.addEventListener(`keydown`,e),()=>t.removeEventListener(`keydown`,e)}),[n,t])}var Nn,Pn=o((()=>{Nn=u(f(),1),mn()}));function Fn(){let e=new CustomEvent(Rn);document.dispatchEvent(e)}function In(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Ne(i,a):i.dispatchEvent(a)}var Ln,Rn,zn,Bn,Vn,Hn,Un,Wn=o((()=>{xe(),Ln=u(f(),1),sn(),Ie(),Te(),mn(),Pn(),Rn=`dismissableLayer.update`,zn=`dismissableLayer.pointerDownOutside`,Bn=`dismissableLayer.focusOutside`,Hn=(0,Ln.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Un=(0,Ln.forwardRef)(((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:o,onDismiss:s,...c}=e,l=(0,Ln.useContext)(Hn),[u,d]=(0,Ln.useState)(null),f=u?.ownerDocument??(globalThis==null?void 0:globalThis.document),[,p]=(0,Ln.useState)({}),m=Ce(t,(e=>d(e))),h=Array.from(l.layers),[g]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),_=h.indexOf(g),v=u?h.indexOf(u):-1,y=l.layersWithOutsidePointerEventsDisabled.size>0,b=v>=_,x=function(e,t=globalThis==null?void 0:globalThis.document){let n=fn(e),r=(0,Ln.useRef)(!1),i=(0,Ln.useRef)((()=>{}));return(0,Ln.useEffect)((()=>{let e=e=>{if(e.target&&!r.current){let r={originalEvent:e};function a(){In(zn,n,r,{discrete:!0})}e.pointerType===`touch`?(t.removeEventListener(`click`,i.current),i.current=a,t.addEventListener(`click`,i.current,{once:!0})):a()}else t.removeEventListener(`click`,i.current);r.current=!1},a=window.setTimeout((()=>{t.addEventListener(`pointerdown`,e)}),0);return()=>{window.clearTimeout(a),t.removeEventListener(`pointerdown`,e),t.removeEventListener(`click`,i.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}((e=>{let t=e.target,n=[...l.branches].some((e=>e.contains(t)));b&&!n&&(i?.(e),o?.(e),e.defaultPrevented||s==null||s())}),f),S=function(e,t=globalThis==null?void 0:globalThis.document){let n=fn(e),r=(0,Ln.useRef)(!1);return(0,Ln.useEffect)((()=>{let e=e=>{e.target&&!r.current&&In(Bn,n,{originalEvent:e},{discrete:!1})};return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}((e=>{let t=e.target;[...l.branches].some((e=>e.contains(t)))||(a?.(e),o?.(e),e.defaultPrevented||s==null||s())}),f);return Mn((e=>{v===l.layers.size-1&&(r?.(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))}),f),(0,Ln.useEffect)((()=>{if(u)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(Vn=f.body.style.pointerEvents,f.body.style.pointerEvents=`none`),l.layersWithOutsidePointerEventsDisabled.add(u)),l.layers.add(u),Fn(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Vn)}}),[u,f,n,l]),(0,Ln.useEffect)((()=>()=>{u&&(l.layers.delete(u),l.layersWithOutsidePointerEventsDisabled.delete(u),Fn())}),[u,l]),(0,Ln.useEffect)((()=>{let e=()=>p({});return document.addEventListener(Rn,e),()=>document.removeEventListener(Rn,e)}),[]),(0,Ln.createElement)(M.div,j({},c,{ref:m,style:{pointerEvents:y?b?`auto`:`none`:void 0,...e.style},onFocusCapture:F(e.onFocusCapture,S.onFocusCapture),onBlurCapture:F(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:F(e.onPointerDownCapture,x.onPointerDownCapture)}))}))}));function Gn(){(0,qn.useEffect)((()=>{let e=document.querySelectorAll(`[data-radix-focus-guard]`);return document.body.insertAdjacentElement(`afterbegin`,e[0]??Kn()),document.body.insertAdjacentElement(`beforeend`,e[1]??Kn()),Jn++,()=>{Jn===1&&document.querySelectorAll(`[data-radix-focus-guard]`).forEach((e=>e.remove())),Jn--}}),[])}function Kn(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.cssText=`outline: none; opacity: 0; position: fixed; pointer-events: none`,e}var qn,Jn,Yn=o((()=>{qn=u(f(),1),Jn=0}));function Xn(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Zn(e,t){for(let n of e)if(!Qn(n,{upTo:t}))return n}function Qn(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}function $n(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&`select`in e}(e)&&t&&e.select()}}function er(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}var tr,nr,rr,ir,ar,or,sr=o((()=>{xe(),tr=u(f(),1),Te(),Ie(),mn(),nr=`focusScope.autoFocusOnMount`,rr=`focusScope.autoFocusOnUnmount`,ir={bubbles:!1,cancelable:!0},ar=(0,tr.forwardRef)(((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=e,[s,c]=(0,tr.useState)(null),l=fn(i),u=fn(a),d=(0,tr.useRef)(null),f=Ce(t,(e=>c(e))),p=(0,tr.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,tr.useEffect)((()=>{if(r){function e(e){if(p.paused||!s)return;let t=e.target;s.contains(t)?d.current=t:$n(d.current,{select:!0})}function t(e){if(p.paused||!s)return;let t=e.relatedTarget;t!==null&&(s.contains(t)||$n(d.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&$n(s)}document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}}),[r,s,p.paused]),(0,tr.useEffect)((()=>{if(s){or.add(p);let t=document.activeElement;if(!s.contains(t)){let n=new CustomEvent(nr,ir);s.addEventListener(nr,l),s.dispatchEvent(n),n.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if($n(r,{select:t}),document.activeElement!==n)return}((e=Xn(s),e.filter((e=>e.tagName!==`A`))),{select:!0}),document.activeElement===t&&$n(s))}return()=>{s.removeEventListener(nr,l),setTimeout((()=>{let e=new CustomEvent(rr,ir);s.addEventListener(rr,u),s.dispatchEvent(e),e.defaultPrevented||$n(t??document.body,{select:!0}),s.removeEventListener(rr,u),or.remove(p)}),0)}}var e}),[s,l,u,p]);let m=(0,tr.useCallback)((e=>{if(!n&&!r||p.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,a]=function(e){let t=Xn(e);return[Zn(t,e),Zn(t.reverse(),e)]}(t);r&&a?e.shiftKey||i!==a?e.shiftKey&&i===r&&(e.preventDefault(),n&&$n(a,{select:!0})):(e.preventDefault(),n&&$n(r,{select:!0})):i===t&&e.preventDefault()}}),[n,r,p.paused]);return(0,tr.createElement)(M.div,j({tabIndex:-1},o,{ref:f,onKeyDown:m}))})),or=function(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=er(e,t),e.unshift(t)},remove(t){var n;e=er(e,t),(n=e[0])==null||n.resume()}}}()})),cr,lr,ur=o((()=>{cr=u(f(),1),lr=globalThis!=null&&globalThis.document?cr.useLayoutEffect:()=>{}}));function dr(e){let[t,n]=fr.useState(pr());return lr((()=>{e||n((e=>e??String(mr++)))}),[e]),e||(t?`radix-${t}`:``)}var fr,pr,mr,hr=o((()=>{fr=u(f(),1),ur(),pr=fr.useId||(()=>{}),mr=0}));function gr(e,t,n){return Pr(e,Nr(t,n))}function _r(e,t){return typeof e==`function`?e(t):e}function vr(e){return e.split(`-`)[0]}function yr(e){return e.split(`-`)[1]}function br(e){return e===`x`?`y`:`x`}function xr(e){return e===`y`?`height`:`width`}function Sr(e){return[`top`,`bottom`].includes(vr(e))?`y`:`x`}function Cr(e){return br(Sr(e))}function wr(e,t,n){n===void 0&&(n=!1);let r=yr(e),i=Cr(e),a=xr(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Or(o)),[o,Or(o)]}function Tr(e){let t=Or(e);return[Er(e),t,Er(t)]}function Er(e){return e.replace(/start|end/g,(e=>zr[e]))}function Dr(e,t,n,r){let i=yr(e),a=function(e,t,n){let r=[`left`,`right`],i=[`right`,`left`],a=[`top`,`bottom`],o=[`bottom`,`top`];switch(e){case`top`:case`bottom`:return n?t?i:r:t?r:i;case`left`:case`right`:return t?a:o;default:return[]}}(vr(e),n===`start`,r);return i&&(a=a.map((e=>e+`-`+i)),t&&(a=a.concat(a.map(Er)))),a}function Or(e){return e.replace(/left|right|bottom|top/g,(e=>Rr[e]))}function kr(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ar(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:kr(e)}function jr(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}var Mr,Nr,Pr,Fr,Ir,Lr,Rr,zr,Br=o((()=>{Mr=[`top`,`right`,`bottom`,`left`],Nr=Math.min,Pr=Math.max,Fr=Math.round,Ir=Math.floor,Lr=e=>({x:e,y:e}),Rr={left:`right`,right:`left`,bottom:`top`,top:`bottom`},zr={start:`end`,end:`start`}}));function Vr(e,t,n){let{reference:r,floating:i}=e,a=Sr(t),o=Cr(t),s=xr(o),c=vr(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(yr(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1)}return p}async function Hr(e,t){var n;t===void 0&&(t={});let{x:r,y:i,platform:a,rects:o,elements:s,strategy:c}=e,{boundary:l=`clippingAncestors`,rootBoundary:u=`viewport`,elementContext:d=`floating`,altBoundary:f=!1,padding:p=0}=_r(t,e),m=Ar(p),h=s[f?d===`floating`?`reference`:`floating`:d],g=jr(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(h)))==null||n?h:h.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:l,rootBoundary:u,strategy:c})),_=d===`floating`?{...o.floating,x:r,y:i}:o.reference,v=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),y=await(a.isElement==null?void 0:a.isElement(v))&&await(a.getScale==null?void 0:a.getScale(v))||{x:1,y:1},b=jr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:_,offsetParent:v,strategy:c}):_);return{top:(g.top-b.top+m.top)/y.y,bottom:(b.bottom-g.bottom+m.bottom)/y.y,left:(g.left-b.left+m.left)/y.x,right:(b.right-g.right+m.right)/y.x}}function Ur(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Wr(e){return Mr.some((t=>e[t]>=0))}var Gr,Kr,qr,Jr,Yr,Xr,Zr,Qr,$r=o((()=>{Br(),Gr=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=a.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Vr(l,r,c),f=r,p={},m=0;for(let n=0;n({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=_r(e,t)||{};if(l==null)return{};let d=Ar(u),f={x:n,y:r},p=Cr(i),m=xr(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;C&&await(o.isElement==null?void 0:o.isElement(S))||(C=s.floating[y]||a.floating[m]);let ee=b/2-x/2,w=C/2-h[m]/2-1,T=Nr(d[_],w),te=Nr(d[v],w),E=T,D=C-h[m]-te,O=C/2-h[m]/2+ee,ne=gr(E,O,D),re=!c.arrow&&yr(i)!=null&&O!=ne&&a.reference[m]/2-(Oe<=0))){let e=(i.flip?.index||0)+1,t=b[e];if(t)return{data:{index:e,overflows:C},reset:{placement:t}};let n=C.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=C.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}},Jr=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n}=t,{strategy:r=`referenceHidden`,...i}=_r(e,t);switch(r){case`referenceHidden`:{let e=Ur(await Hr(t,{...i,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Wr(e)}}}case`escaped`:{let e=Ur(await Hr(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:Wr(e)}}}default:return{}}}}},Yr=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await async function(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=vr(n),s=yr(n),c=Sr(n)===`y`,l=[`left`,`top`].includes(o)?-1:1,u=a&&c?-1:1,d=_r(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&typeof m==`number`&&(p=s===`end`?-1*m:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},Xr=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=_r(e,t),l={x:n,y:r},u=await Hr(t,c),d=Sr(vr(i)),f=br(d),p=l[f],m=l[d];if(a){let e=f===`y`?`bottom`:`right`,t=p+u[f===`y`?`top`:`left`],n=p-u[e];p=gr(t,p,n)}if(o){let e=d===`y`?`bottom`:`right`,t=m+u[d===`y`?`top`:`left`],n=m-u[e];m=gr(t,m,n)}let h=s.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r}}}}},Zr=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=_r(e,t),u={x:n,y:r},d=Sr(i),f=br(d),p=u[f],m=u[d],h=_r(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;pn&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=[`top`,`left`].includes(vr(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);mr&&(m=r)}return{[f]:p,[d]:m}}}},Qr=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=(()=>{}),...s}=_r(e,t),c=await Hr(t,s),l=vr(n),u=yr(n),d=Sr(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c[m],_=f-c[h],v=!t.middlewareData.shift,y=g,b=_;if(d){let e=f-c.left-c.right;b=u||v?Nr(_,e):e}else{let e=p-c.top-c.bottom;y=u||v?Nr(g,e):e}if(v&&!u){let e=Pr(c.left,0),t=Pr(c.right,0),n=Pr(c.top,0),r=Pr(c.bottom,0);d?b=f-2*(e!==0||t!==0?e+t:Pr(c.left,c.right)):y=p-2*(n!==0||r!==0?n+r:Pr(c.top,c.bottom))}await o({...t,availableWidth:b,availableHeight:y});let x=await i.getDimensions(a.floating);return f!==x.width||p!==x.height?{reset:{rects:!0}}:{}}}}}));function ei(e){return ri(e)?(e.nodeName||``).toLowerCase():`#document`}function ti(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ni(e){return((ri(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function ri(e){return e instanceof Node||e instanceof ti(e).Node}function ii(e){return e instanceof Element||e instanceof ti(e).Element}function ai(e){return e instanceof HTMLElement||e instanceof ti(e).HTMLElement}function oi(e){return typeof ShadowRoot<`u`&&(e instanceof ShadowRoot||e instanceof ti(e).ShadowRoot)}function si(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=I(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&![`inline`,`contents`].includes(i)}function ci(e){return[`table`,`td`,`th`].includes(ei(e))}function li(e){let t=di(),n=I(e);return n.transform!==`none`||n.perspective!==`none`||!!n.containerType&&n.containerType!==`normal`||!t&&!!n.backdropFilter&&n.backdropFilter!==`none`||!t&&!!n.filter&&n.filter!==`none`||[`transform`,`perspective`,`filter`].some((e=>(n.willChange||``).includes(e)))||[`paint`,`layout`,`strict`,`content`].some((e=>(n.contain||``).includes(e)))}function ui(e){let t=mi(e);for(;ai(t)&&!fi(t);){if(li(t))return t;t=mi(t)}return null}function di(){return!(typeof CSS>`u`||!CSS.supports)&&CSS.supports(`-webkit-backdrop-filter`,`none`)}function fi(e){return[`html`,`body`,`#document`].includes(ei(e))}function I(e){return ti(e).getComputedStyle(e)}function pi(e){return ii(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function mi(e){if(ei(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||oi(e)&&e.host||ni(e);return oi(t)?t.host:t}function hi(e){let t=mi(e);return fi(t)?e.ownerDocument?e.ownerDocument.body:e.body:ai(t)&&si(t)?t:hi(t)}function gi(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=hi(e),i=r===e.ownerDocument?.body,a=ti(r);return i?t.concat(a,a.visualViewport||[],si(r)?r:[],a.frameElement&&n?gi(a.frameElement):[]):t.concat(r,gi(r,[],n))}var _i=o((()=>{}));function vi(e){let t=I(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=ai(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=Fr(n)!==a||Fr(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function yi(e){return ii(e)?e:e.contextElement}function bi(e){let t=yi(e);if(!ai(t))return Lr(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=vi(t),o=(a?Fr(n.width):n.width)/r,s=(a?Fr(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}function xi(e){let t=ti(e);return di()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Ai}function Si(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=yi(e),o=Lr(1);t&&(r?ii(r)&&(o=bi(r)):o=bi(e));let s=function(e,t,n){return t===void 0&&(t=!1),!(!n||t&&n!==ti(e))&&t}(a,n,r)?xi(a):Lr(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=ti(a),t=r&&ii(r)?ti(r):r,n=e.frameElement;for(;n&&r&&t!==e;){let e=bi(n),t=n.getBoundingClientRect(),r=I(n),i=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=i,l+=a,n=ti(n).frameElement}}return jr({width:u,height:d,x:c,y:l})}function Ci(e){return Si(ni(e)).left+pi(e).scrollLeft}function wi(e,t,n){let r;if(t===`viewport`)r=function(e,t){let n=ti(e),r=ni(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=di();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s,y:c}}(e,n);else if(t===`document`)r=function(e){let t=ni(e),n=pi(e),r=e.ownerDocument.body,i=Pr(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Pr(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+Ci(e),s=-n.scrollTop;return I(r).direction===`rtl`&&(o+=Pr(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}(ni(e));else if(ii(t))r=function(e,t){let n=Si(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=ai(e)?bi(e):Lr(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}(t,n);else{let n=xi(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return jr(r)}function Ti(e,t){let n=mi(e);return!(n===t||!ii(n)||fi(n))&&(I(n).position===`fixed`||Ti(n,t))}function Ei(e,t,n){let r=ai(t),i=ni(t),a=n===`fixed`,o=Si(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=Lr(0);if(r||!r&&!a)if((ei(t)!==`body`||si(i))&&(s=pi(t)),r){let e=Si(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&(c.x=Ci(i));return{x:o.left+s.scrollLeft-c.x,y:o.top+s.scrollTop-c.y,width:o.width,height:o.height}}function Di(e,t){return ai(e)&&I(e).position!==`fixed`?t?t(e):e.offsetParent:null}function Oi(e,t){let n=ti(e);if(!ai(e))return n;let r=Di(e,t);for(;r&&ci(r)&&I(r).position===`static`;)r=Di(r,t);return r&&(ei(r)===`html`||ei(r)===`body`&&I(r).position===`static`&&!li(r))?n:r||ui(e)||n}function ki(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=yi(e),u=i||a?[...l?gi(l):[],...gi(t)]:[];u.forEach((e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)}));let d=l&&s?function(e,t){let n,r=null,i=ni(e);function a(){clearTimeout(n),r&&r.disconnect(),r=null}return function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let{left:l,top:u,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;let p={rootMargin:-Ir(u)+`px `+-Ir(i.clientWidth-(l+d))+`px `+-Ir(i.clientHeight-(u+f))+`px `+-Ir(l)+`px`,threshold:Pr(0,Nr(1,c))||1},m=!0;function h(e){let t=e[0].intersectionRatio;if(t!==c){if(!m)return o();t?o(!1,t):n=setTimeout((()=>{o(!1,1e-7)}),100)}m=!1}try{r=new IntersectionObserver(h,{...p,root:i.ownerDocument})}catch{r=new IntersectionObserver(h,p)}r.observe(e)}(!0),a}(l,n):null,f,p=-1,m=null;o&&(m=new ResizeObserver((e=>{let[r]=e;r&&r.target===l&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{m&&m.observe(t)}))),n()})),l&&!c&&m.observe(l),m.observe(t));let h=c?Si(e):null;return c&&function t(){let r=Si(e);!h||r.x===h.x&&r.y===h.y&&r.width===h.width&&r.height===h.height||n(),h=r,f=requestAnimationFrame(t)}(),n(),()=>{u.forEach((e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)})),d&&d(),m&&m.disconnect(),m=null,c&&cancelAnimationFrame(f)}}var Ai,ji,Mi,Ni=o((()=>{$r(),Br(),_i(),Ai=Lr(0),ji={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e,i=ai(n),a=ni(n);if(n===a)return t;let o={scrollLeft:0,scrollTop:0},s=Lr(1),c=Lr(0);if((i||!i&&r!==`fixed`)&&((ei(n)!==`body`||si(a))&&(o=pi(n)),ai(n))){let e=Si(n);s=bi(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-o.scrollLeft*s.x+c.x,y:t.y*s.y-o.scrollTop*s.y+c.y}},getDocumentElement:ni,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?function(e,t){let n=t.get(e);if(n)return n;let r=gi(e,[],!1).filter((e=>ii(e)&&ei(e)!==`body`)),i=null,a=I(e).position===`fixed`,o=a?mi(e):e;for(;ii(o)&&!fi(o);){let t=I(o),n=li(o);n||t.position!==`fixed`||(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&[`absolute`,`fixed`].includes(i.position)||si(o)&&!n&&Ti(e,o))?r=r.filter((e=>e!==o)):i=t,o=mi(o)}return t.set(e,r),r}(t,this._c):[].concat(n),r],o=a[0],s=a.reduce(((e,n)=>{let r=wi(t,n,i);return e.top=Pr(r.top,e.top),e.right=Nr(r.right,e.right),e.bottom=Nr(r.bottom,e.bottom),e.left=Pr(r.left,e.left),e}),wi(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Oi,getElementRects:async function(e){let{reference:t,floating:n,strategy:r}=e,i=this.getOffsetParent||Oi,a=this.getDimensions;return{reference:Ei(t,await i(n),r),floating:{x:0,y:0,...await a(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return vi(e)},getScale:bi,isElement:ii,isRTL:function(e){return I(e).direction===`rtl`}},Mi=(e,t,n)=>{let r=new Map,i={platform:ji,...n},a={...i.platform,_c:r};return Gr(e,t,{...i,platform:a})}}));function Pi(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!=0;)if(!Pi(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!=0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!=0;){let n=i[r];if((n!==`_owner`||!e.$$typeof)&&!Pi(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function Fi(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Ii(e,t){let n=Fi(e);return Math.round(t*n)/n}function Li(e){let t=zi.useRef(e);return Ui((()=>{t.current=e})),t}function Ri(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:c,open:l}=e,[u,d]=zi.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=zi.useState(r);Pi(f,r)||p(r);let[m,h]=zi.useState(null),[g,_]=zi.useState(null),v=zi.useCallback((e=>{e!=S.current&&(S.current=e,h(e))}),[h]),y=zi.useCallback((e=>{e!==C.current&&(C.current=e,_(e))}),[_]),b=a||m,x=o||g,S=zi.useRef(null),C=zi.useRef(null),ee=zi.useRef(u),w=Li(c),T=Li(i),te=zi.useCallback((()=>{if(!S.current||!C.current)return;let e={placement:t,strategy:n,middleware:f};T.current&&(e.platform=T.current),Mi(S.current,C.current,e).then((e=>{let t={...e,isPositioned:!0};E.current&&!Pi(ee.current,t)&&(ee.current=t,Vi.flushSync((()=>{d(t)})))}))}),[f,t,n,T]);Ui((()=>{!1===l&&ee.current.isPositioned&&(ee.current.isPositioned=!1,d((e=>({...e,isPositioned:!1}))))}),[l]);let E=zi.useRef(!1);Ui((()=>(E.current=!0,()=>{E.current=!1})),[]),Ui((()=>{if(b&&(S.current=b),x&&(C.current=x),b&&x){if(w.current)return w.current(b,x,te);te()}}),[b,x,te,w]);let D=zi.useMemo((()=>({reference:S,floating:C,setReference:v,setFloating:y})),[v,y]),O=zi.useMemo((()=>({reference:b,floating:x})),[b,x]),ne=zi.useMemo((()=>{let e={position:n,left:0,top:0};if(!O.floating)return e;let t=Ii(O.floating,u.x),r=Ii(O.floating,u.y);return s?{...e,transform:`translate(`+t+`px, `+r+`px)`,...Fi(O.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}}),[n,s,O.floating,u.x,u.y]);return zi.useMemo((()=>({...u,update:te,refs:D,elements:O,floatingStyles:ne})),[u,te,D,O,ne])}var zi,Bi,Vi,Hi,Ui,Wi=o((()=>{Ni(),zi=u(f(),1),Bi=u(f(),1),Vi=u(g(),1),$r(),Hi=e=>({name:`arrow`,options:e,fn(t){let{element:n,padding:r}=typeof e==`function`?e(t):e;return n&&(i=n,{}.hasOwnProperty.call(i,`current`))?n.current==null?{}:Kr({element:n.current,padding:r}).fn(t):n?Kr({element:n,padding:r}).fn(t):{};var i}}),Ui=typeof document<`u`?Bi.useLayoutEffect:Bi.useEffect}));function Gi(e){let[t,n]=(0,Ki.useState)(void 0);return lr((()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver((t=>{if(!Array.isArray(t)||!t.length)return;let r=t[0],i,a;if(`borderBoxSize`in r){let e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})}));return t.observe(e,{box:`border-box`}),()=>t.unobserve(e)}n(void 0)}),[e]),t}var Ki,qi=o((()=>{Ki=u(f(),1),ur()}));function Ji(e){return e!==null}function Yi(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var Xi,Zi,Qi,$i,ea,ta,na,ra,ia,aa,oa,sa,ca,la,ua,da,fa=o((()=>{xe(),Xi=u(f(),1),Wi(),Te(),dn(),Ie(),mn(),ur(),qi(),Ni(),$r(),Zi=`Popper`,[Qi,$i]=cn(Zi),[ea,ta]=Qi(Zi),na=e=>{let{__scopePopper:t,children:n}=e,[r,i]=(0,Xi.useState)(null);return(0,Xi.createElement)(ea,{scope:t,anchor:r,onAnchorChange:i},n)},ra=(0,Xi.forwardRef)(((e,t)=>{let{__scopePopper:n,virtualRef:r,...i}=e,a=ta(`PopperAnchor`,n),o=(0,Xi.useRef)(null),s=Ce(t,o);return(0,Xi.useEffect)((()=>{a.onAnchorChange(r?.current||o.current)})),r?null:(0,Xi.createElement)(M.div,j({},i,{ref:s}))})),ia=`PopperContent`,[aa,oa]=Qi(ia),sa=(0,Xi.forwardRef)(((e,t)=>{var n;let{__scopePopper:r,side:i=`bottom`,sideOffset:a=0,align:o=`center`,alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f=`partial`,hideWhenDetached:p=!1,updatePositionStrategy:m=`optimized`,onPlaced:h,...g}=e,_=ta(ia,r),[v,y]=(0,Xi.useState)(null),b=Ce(t,(e=>y(e))),[x,S]=(0,Xi.useState)(null),C=Gi(x),ee=C?.width??0,w=C?.height??0,T=i+(o===`center`?``:`-`+o),te=typeof d==`number`?d:{top:0,right:0,bottom:0,left:0,...d},E=Array.isArray(u)?u:[u],D=E.length>0,O={padding:te,boundary:E.filter(Ji),altBoundary:D},{refs:ne,floatingStyles:re,placement:ie,isPositioned:k,middlewareData:ae}=Ri({strategy:`fixed`,placement:T,whileElementsMounted:(...e)=>ki(...e,{animationFrame:m===`always`}),elements:{reference:_.anchor},middleware:[Yr({mainAxis:a+w,alignmentAxis:s}),l&&Xr({mainAxis:!0,crossAxis:!1,limiter:f===`partial`?Zr():void 0,...O}),l&&qr({...O}),Qr({...O,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--radix-popper-available-width`,`${n}px`),o.setProperty(`--radix-popper-available-height`,`${r}px`),o.setProperty(`--radix-popper-anchor-width`,`${i}px`),o.setProperty(`--radix-popper-anchor-height`,`${a}px`)}}),x&&Hi({element:x,padding:c}),ca({arrowWidth:ee,arrowHeight:w}),p&&Jr({strategy:`referenceHidden`,...O})]}),[oe,se]=Yi(ie),ce=fn(h);lr((()=>{k&&ce?.()}),[k,ce]);let le=ae.arrow?.x,ue=ae.arrow?.y,de=ae.arrow?.centerOffset!==0,[fe,pe]=(0,Xi.useState)();return lr((()=>{v&&pe(window.getComputedStyle(v).zIndex)}),[v]),(0,Xi.createElement)(`div`,{ref:ne.setFloating,"data-radix-popper-content-wrapper":``,style:{...re,transform:k?re.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:fe,"--radix-popper-transform-origin":[ae.transformOrigin?.x,ae.transformOrigin?.y].join(` `)},dir:e.dir},(0,Xi.createElement)(aa,{scope:r,placedSide:oe,onArrowChange:S,arrowX:le,arrowY:ue,shouldHideArrow:de},(0,Xi.createElement)(M.div,j({"data-side":oe,"data-align":se},g,{ref:b,style:{...g.style,animation:k?void 0:`none`,opacity:(n=ae.hide)!=null&&n.referenceHidden?0:void 0}}))))})),ca=e=>({name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=Yi(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=-s+`px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=-s+`px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}}),la=na,ua=ra,da=sa})),pa,ma,ha,ga=o((()=>{xe(),pa=u(f(),1),ma=u(g(),1),Ie(),ha=(0,pa.forwardRef)(((e,t)=>{var n;let{container:r=globalThis==null||(n=globalThis.document)==null?void 0:n.body,...i}=e;return r?ma.createPortal((0,pa.createElement)(M.div,j({},i,{ref:t})),r):null}))}));function _a(e){return e?.animationName||`none`}var va,ya,ba,xa=o((()=>{va=u(f(),1),ya=u(g(),1),Te(),ur(),ba=e=>{let{present:t,children:n}=e,r=function(e){let[t,n]=(0,va.useState)(),r=(0,va.useRef)({}),i=(0,va.useRef)(e),a=(0,va.useRef)(`none`),[o,s]=function(e,t){return(0,va.useReducer)(((e,n)=>t[e][n]??e),e)}(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return(0,va.useEffect)((()=>{let e=_a(r.current);a.current=o===`mounted`?e:`none`}),[o]),lr((()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,o=_a(t);e?s(`MOUNT`):o===`none`||t?.display===`none`?s(`UNMOUNT`):s(n&&r!==o?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}}),[e,s]),lr((()=>{if(t){let e=e=>{let n=_a(r.current).includes(e.animationName);e.target===t&&n&&(0,ya.flushSync)((()=>s(`ANIMATION_END`)))},n=e=>{e.target===t&&(a.current=_a(r.current))};return t.addEventListener(`animationstart`,n),t.addEventListener(`animationcancel`,e),t.addEventListener(`animationend`,e),()=>{t.removeEventListener(`animationstart`,n),t.removeEventListener(`animationcancel`,e),t.removeEventListener(`animationend`,e)}}s(`ANIMATION_END`)}),[t,s]),{isPresent:[`mounted`,`unmountSuspended`].includes(o),ref:(0,va.useCallback)((e=>{e&&(r.current=getComputedStyle(e)),n(e)}),[])}}(t),i=typeof n==`function`?n({present:r.isPresent}):va.Children.only(n),a=Ce(r.ref,i.ref);return typeof n==`function`||r.isPresent?(0,va.cloneElement)(i,{ref:a}):null},ba.displayName=`Presence`}));function Sa(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}var Ca,wa,Ta,Ea,Da,Oa,ka,Aa,ja,Ma,Na,Pa,Fa,Ia,La,Ra,za,Ba=o((()=>{xe(),Ca=u(f(),1),sn(),Dn(),Te(),dn(),hr(),Ie(),mn(),_n(),jn(),wa=`rovingFocusGroup.onEntryFocus`,Ta={bubbles:!1,cancelable:!0},Ea=`RovingFocusGroup`,[Da,Oa,ka]=Tn(Ea),[Aa,ja]=cn(Ea,[ka]),[Ma,Na]=Aa(Ea),Pa=(0,Ca.forwardRef)(((e,t)=>(0,Ca.createElement)(Da.Provider,{scope:e.__scopeRovingFocusGroup},(0,Ca.createElement)(Da.Slot,{scope:e.__scopeRovingFocusGroup},(0,Ca.createElement)(Fa,j({},e,{ref:t})))))),Fa=(0,Ca.forwardRef)(((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:a,currentTabStopId:o,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:l,...u}=e,d=(0,Ca.useRef)(null),f=Ce(t,d),p=On(a),[m=null,h]=hn({prop:o,defaultProp:s,onChange:c}),[g,_]=(0,Ca.useState)(!1),v=fn(l),y=Oa(n),b=(0,Ca.useRef)(!1),[x,S]=(0,Ca.useState)(0);return(0,Ca.useEffect)((()=>{let e=d.current;if(e)return e.addEventListener(wa,v),()=>e.removeEventListener(wa,v)}),[v]),(0,Ca.createElement)(Ma,{scope:n,orientation:r,dir:p,loop:i,currentTabStopId:m,onItemFocus:(0,Ca.useCallback)((e=>h(e)),[h]),onItemShiftTab:(0,Ca.useCallback)((()=>_(!0)),[]),onFocusableItemAdd:(0,Ca.useCallback)((()=>S((e=>e+1))),[]),onFocusableItemRemove:(0,Ca.useCallback)((()=>S((e=>e-1))),[])},(0,Ca.createElement)(M.div,j({tabIndex:g||x===0?-1:0,"data-orientation":r},u,{ref:f,style:{outline:`none`,...e.style},onMouseDown:F(e.onMouseDown,(()=>{b.current=!0})),onFocus:F(e.onFocus,(e=>{let t=!b.current;if(e.target===e.currentTarget&&t&&!g){let t=new CustomEvent(wa,Ta);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=y().filter((e=>e.focusable));Sa([e.find((e=>e.active)),e.find((e=>e.id===m)),...e].filter(Boolean).map((e=>e.ref.current)))}}b.current=!1})),onBlur:F(e.onBlur,(()=>_(!1)))})))})),Ia=(0,Ca.forwardRef)(((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:a,...o}=e,s=dr(),c=a||s,l=Na(`RovingFocusGroupItem`,n),u=l.currentTabStopId===c,d=Oa(n),{onFocusableItemAdd:f,onFocusableItemRemove:p}=l;return(0,Ca.useEffect)((()=>{if(r)return f(),()=>p()}),[r,f,p]),(0,Ca.createElement)(Da.ItemSlot,{scope:n,id:c,focusable:r,active:i},(0,Ca.createElement)(M.span,j({tabIndex:u?0:-1,"data-orientation":l.orientation},o,{ref:t,onMouseDown:F(e.onMouseDown,(e=>{r?l.onItemFocus(c):e.preventDefault()})),onFocus:F(e.onFocus,(()=>l.onItemFocus(c))),onKeyDown:F(e.onKeyDown,(e=>{if(e.key===`Tab`&&e.shiftKey)return void l.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,n){let r=function(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}(e.key,n);return t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r)||t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)?void 0:La[r]}(e,l.orientation,l.dir);if(t!==void 0){e.preventDefault();let i=d().filter((e=>e.focusable)).map((e=>e.ref.current));if(t===`last`)i.reverse();else if(t===`prev`||t===`next`){t===`prev`&&i.reverse();let a=i.indexOf(e.currentTarget);i=l.loop?(r=a+1,(n=i).map(((e,t)=>n[(r+t)%n.length]))):i.slice(a+1)}setTimeout((()=>Sa(i)))}var n,r}))})))})),La={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`},Ra=Pa,za=Ia}));function Va(e){return(0,Ua.isValidElement)(e)&&e.type===Ka}function Ha(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{a(...e),i(...e)}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}var Ua,Wa,Ga,Ka,qa=o((()=>{xe(),Ua=u(f(),1),Te(),Wa=(0,Ua.forwardRef)(((e,t)=>{let{children:n,...r}=e,i=Ua.Children.toArray(n),a=i.find(Va);if(a){let e=a.props.children,n=i.map((t=>t===a?Ua.Children.count(e)>1?Ua.Children.only(null):(0,Ua.isValidElement)(e)?e.props.children:null:t));return(0,Ua.createElement)(Ga,j({},r,{ref:t}),(0,Ua.isValidElement)(e)?(0,Ua.cloneElement)(e,void 0,n):null)}return(0,Ua.createElement)(Ga,j({},r,{ref:t}),n)})),Wa.displayName=`Slot`,Ga=(0,Ua.forwardRef)(((e,t)=>{let{children:n,...r}=e;return(0,Ua.isValidElement)(n)?(0,Ua.cloneElement)(n,{...Ha(r,n.props),ref:t?Se(t,n.ref):n.ref}):Ua.Children.count(n)>1?Ua.Children.only(null):null})),Ga.displayName=`SlotClone`,Ka=({children:e})=>(0,Ua.createElement)(Ua.Fragment,null,e)})),Ja,Ya,Xa,Za,Qa,$a,eo,to=o((()=>{Ja=new WeakMap,Ya=new WeakMap,Xa={},Za=0,Qa=function(e){return e&&(e.host||Qa(e.parentNode))},$a=function(e,t,n,r){var i=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=Qa(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)})).filter((function(e){return!!e}))}(t,Array.isArray(e)?e:[e]);Xa[n]||(Xa[n]=new WeakMap);var a=Xa[n],o=[],s=new Set,c=new Set(i),l=function(e){e&&!s.has(e)&&(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){e&&!c.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(s.has(e))u(e);else{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(Ja.get(e)||0)+1,l=(a.get(e)||0)+1;Ja.set(e,c),a.set(e,l),o.push(e),c===1&&i&&Ya.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}}))};return u(t),s.clear(),Za++,function(){o.forEach((function(e){var t=Ja.get(e)-1,i=a.get(e)-1;Ja.set(e,t),a.set(e,i),t||(Ya.has(e)||e.removeAttribute(r),Ya.delete(e)),i||e.removeAttribute(n)})),--Za||(Ja=new WeakMap,Ja=new WeakMap,Ya=new WeakMap,Xa={})}},eo=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live]`))),$a(r,i,n,`aria-hidden`)):function(){return null}}})),no,ro,io,ao,oo=o((()=>{no=`right-scroll-bar-position`,ro=`width-before-scroll-bar`,io=`with-scroll-bars-hidden`,ao=`--removed-body-scroll-bar-size`}));function so(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}var co=o((()=>{}));function lo(e,t){var n=(0,uo.useState)((function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}}))[0];return n.callback=t,n.facade}var uo,fo=o((()=>{uo=u(f(),1)}));function po(e,t){return lo(t||null,(function(t){return e.forEach((function(e){return so(e,t)}))}))}var mo=o((()=>{co(),fo()})),ho=o((()=>{Object.prototype.toString.call(typeof process<`u`?process:0)}));function go(e){return e}function _o(e){e===void 0&&(e={});var t=function(e,t){t===void 0&&(t=go);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter((function(e){return e!==i}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}}(null);return t.options=ye({async:!0,ssr:!1},e),t}var vo=o((()=>{be()}));function yo(e,t){return e.useMedium(t),xo}var bo,xo,So=o((()=>{be(),bo=u(f(),1),xo=function(e){var t=e.sideCar,n=A(e,[`sideCar`]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error(`Sidecar medium not found`);return bo.createElement(r,ye({},n))},xo.isSideCarExport=!0})),Co,wo=o((()=>{f(),ho(),vo(),So(),Co=_o()})),To,Eo,Do,Oo=o((()=>{be(),To=u(f(),1),oo(),mo(),wo(),Eo=function(){},Do=To.forwardRef((function(e,t){var n=To.useRef(null),r=To.useState({onScrollCapture:Eo,onWheelCapture:Eo,onTouchMoveCapture:Eo}),i=r[0],a=r[1],o=e.forwardProps,s=e.children,c=e.className,l=e.removeScrollBar,u=e.enabled,d=e.shards,f=e.sideCar,p=e.noIsolation,m=e.inert,h=e.allowPinchZoom,g=e.as,_=g===void 0?`div`:g,v=A(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noIsolation`,`inert`,`allowPinchZoom`,`as`]),y=f,b=po([n,t]),x=ye(ye({},v),i);return To.createElement(To.Fragment,null,u&&To.createElement(y,{sideCar:Co,removeScrollBar:l,shards:d,noIsolation:p,inert:m,setCallbacks:a,allowPinchZoom:!!h,lockRef:n}),o?To.cloneElement(To.Children.only(s),ye(ye({},x),{ref:b})):To.createElement(_,ye({},x,{className:c,ref:b}),s))})),Do.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Do.classNames={fullWidth:ro,zeroRight:no}})),ko,Ao=o((()=>{ko=function(){if(typeof __webpack_nonce__<`u`)return __webpack_nonce__}})),jo,Mo=o((()=>{Ao(),jo=function(){var e=0,t=null;return{add:function(n){var r,i;e==0&&(t=function(){if(!document)return null;var e=document.createElement(`style`);e.type=`text/css`;var t=ko();return t&&e.setAttribute(`nonce`,t),e}())&&(i=n,(r=t).styleSheet?r.styleSheet.cssText=i:r.appendChild(document.createTextNode(i)),function(e){(document.head||document.getElementsByTagName(`head`)[0]).appendChild(e)}(t)),e++},remove:function(){!--e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}}})),No,Po,Fo=o((()=>{No=u(f(),1),Mo(),Po=function(){var e=jo();return function(t,n){No.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])}}})),Io,Lo=o((()=>{Fo(),Io=function(){var e=Po();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}}})),Ro,zo,Bo,Vo=o((()=>{Ro={left:0,top:0,right:0,gap:0},zo=function(e){return parseInt(e||``,10)||0},Bo=function(e){if(e===void 0&&(e=`margin`),typeof window>`u`)return Ro;var t=function(e){var t=window.getComputedStyle(document.body),n=t[e===`padding`?`paddingLeft`:`marginLeft`],r=t[e===`padding`?`paddingTop`:`marginTop`],i=t[e===`padding`?`paddingRight`:`marginRight`];return[zo(n),zo(r),zo(i)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}}})),Ho,Uo,Wo,Go,Ko=o((()=>{Ho=u(f(),1),Lo(),oo(),Vo(),Uo=Io(),Wo=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n=`margin`),` - .${io} { - overflow: hidden ${r}; - padding-right: ${s}px ${r}; - } - body { - overflow: hidden ${r}; - overscroll-behavior: contain; - ${[t&&`position: relative ${r};`,n===`margin`&&` - padding-left: ${i}px; - padding-top: ${a}px; - padding-right: ${o}px; - margin-left:0; - margin-top:0; - margin-right: ${s}px ${r}; - `,n===`padding`&&`padding-right: ${s}px ${r};`].filter(Boolean).join(``)} - } - - .${no} { - right: ${s}px ${r}; - } - - .${ro} { - margin-right: ${s}px ${r}; - } - - .${no} .${no} { - right: 0 ${r}; - } - - .${ro} .${ro} { - margin-right: 0 ${r}; - } - - body { - ${ao}: ${s}px; - } -`},Go=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?`margin`:r,a=Ho.useMemo((function(){return Bo(i)}),[i]);return Ho.createElement(Uo,{styles:Wo(a,!t,i,n?``:`!important`)})}})),qo,Jo,Yo,Xo=o((()=>{if(qo=!1,typeof window<`u`)try{Jo=Object.defineProperty({},`passive`,{get:function(){return qo=!0,!0}}),window.addEventListener(`test`,Jo,Jo),window.removeEventListener(`test`,Jo,Jo)}catch{qo=!1}Yo=!!qo&&{passive:!1}})),Zo,Qo,$o,es,ts,ns=o((()=>{Zo=function(e,t){var n=window.getComputedStyle(e);return n[t]!==`hidden`&&!(n.overflowY===n.overflowX&&!function(e){return e.tagName===`TEXTAREA`}(e)&&n[t]===`visible`)},Qo=function(e,t){var n=t;do{if(typeof ShadowRoot<`u`&&n instanceof ShadowRoot&&(n=n.host),$o(e,n)){var r=es(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},$o=function(e,t){return e===`v`?function(e){return Zo(e,`overflowY`)}(t):function(e){return Zo(e,`overflowX`)}(t)},es=function(e,t){return e===`v`?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},ts=function(e,t,n,r,i){var a=function(e,t){return e===`h`&&t===`rtl`?-1:1}(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,c=t.contains(s),l=!1,u=o>0,d=0,f=0;do{var p=es(e,s),m=p[0],h=p[1]-p[2]-a*m;(m||h)&&$o(e,s)&&(d+=h,f+=m),s=s.parentNode}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(u&&(i&&d===0||!i&&o>d)||!u&&(i&&f===0||!i&&-o>f))&&(l=!0),l}}));function rs(e){var t=is.useRef([]),n=is.useRef([0,0]),r=is.useRef(),i=is.useState(ls++)[0],a=is.useState((function(){return Io()}))[0],o=is.useRef(e);is.useEffect((function(){o.current=e}),[e]),is.useEffect((function(){if(e.inert){document.body.classList.add(`block-interactivity-${i}`);var t=ve([e.lockRef.current],(e.shards||[]).map(ss),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add(`allow-interactivity-${i}`)})),function(){document.body.classList.remove(`block-interactivity-${i}`),t.forEach((function(e){return e.classList.remove(`allow-interactivity-${i}`)}))}}}),[e.inert,e.lockRef.current,e.shards]);var s=is.useCallback((function(e,t){if(`touches`in e&&e.touches.length===2)return!o.current.allowPinchZoom;var i,a=as(e),s=n.current,c=`deltaX`in e?e.deltaX:s[0]-a[0],l=`deltaY`in e?e.deltaY:s[1]-a[1],u=e.target,d=Math.abs(c)>Math.abs(l)?`h`:`v`;if(`touches`in e&&d===`h`&&u.type===`range`)return!1;var f=Qo(d,u);if(!f)return!0;if(f?i=d:(i=d===`v`?`h`:`v`,f=Qo(d,u)),!f)return!1;if(!r.current&&`changedTouches`in e&&(c||l)&&(r.current=i),!i)return!0;var p=r.current||i;return ts(p,t,e,p===`h`?c:l,!0)}),[]),c=is.useCallback((function(e){var n=e;if(us.length&&us[us.length-1]===a){var r=`deltaY`in n?os(n):as(n),i=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,i=r,t[0]===i[0]&&t[1]===i[1]);var t,i}))[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var c=(o.current.shards||[]).map(ss).filter(Boolean).filter((function(e){return e.contains(n.target)}));(c.length>0?s(n,c[0]):!o.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),l=is.useCallback((function(e,n,r,i){var a={name:e,delta:n,target:r,should:i};t.current.push(a),setTimeout((function(){t.current=t.current.filter((function(e){return e!==a}))}),1)}),[]),u=is.useCallback((function(e){n.current=as(e),r.current=void 0}),[]),d=is.useCallback((function(t){l(t.type,os(t),t.target,s(t,e.lockRef.current))}),[]),f=is.useCallback((function(t){l(t.type,as(t),t.target,s(t,e.lockRef.current))}),[]);is.useEffect((function(){return us.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener(`wheel`,c,Yo),document.addEventListener(`touchmove`,c,Yo),document.addEventListener(`touchstart`,u,Yo),function(){us=us.filter((function(e){return e!==a})),document.removeEventListener(`wheel`,c,Yo),document.removeEventListener(`touchmove`,c,Yo),document.removeEventListener(`touchstart`,u,Yo)}}),[]);var p=e.removeScrollBar,m=e.inert;return is.createElement(is.Fragment,null,m?is.createElement(a,{styles:cs(i)}):null,p?is.createElement(Go,{gapMode:`margin`}):null)}var is,as,os,ss,cs,ls,us,ds=o((()=>{be(),is=u(f(),1),Ko(),Lo(),Xo(),ns(),as=function(e){return`changedTouches`in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},os=function(e){return[e.deltaX,e.deltaY]},ss=function(e){return e&&`current`in e?e.current:e},cs=function(e){return` - .block-interactivity-${e} {pointer-events: none;} - .allow-interactivity-${e} {pointer-events: all;} -`},ls=0,us=[]})),fs,ps=o((()=>{f(),ho(),So(),ds(),wo(),fs=yo(Co,rs)})),ms,hs,gs=o((()=>{be(),ms=u(f(),1),Oo(),ps(),hs=ms.forwardRef((function(e,t){return ms.createElement(Do,ye({},e,{ref:t,sideCar:fs}))})),hs.classNames=Do.classNames}));function _s(e){return e?`open`:`closed`}function vs(e){return e===`indeterminate`}function ys(e){return vs(e)?`indeterminate`:e?`checked`:`unchecked`}function bs(e){return t=>t.pointerType===`mouse`?e(t):void 0}var L,xs,Ss,Cs,ws,Ts,Es,Ds,Os,ks,As,js,Ms,Ns,Ps,Fs,Is,Ls,Rs,zs,Bs,Vs,Hs,Us,Ws,Gs,Ks,qs,Js,Ys,Xs,Zs,Qs,$s,ec,tc,nc,rc,ic,ac,oc,sc,cc,lc,uc,dc,fc,pc,mc,hc,gc,_c,vc,yc,bc,xc,Sc,Cc,wc,Tc,R,Ec,Dc,Oc,kc,Ac=o((()=>{xe(),L=u(f(),1),sn(),Dn(),Te(),dn(),jn(),Wn(),Yn(),sr(),hr(),fa(),ga(),xa(),Ie(),Ba(),qa(),mn(),to(),gs(),xs=[`Enter`,` `],Ss=[`ArrowUp`,`PageDown`,`End`],Cs=[`ArrowDown`,`PageUp`,`Home`,...Ss],ws={ltr:[...xs,`ArrowRight`],rtl:[...xs,`ArrowLeft`]},Ts={ltr:[`ArrowLeft`],rtl:[`ArrowRight`]},Es=`Menu`,[Ds,Os,ks]=Tn(Es),[As,js]=cn(Es,[ks,$i,ja]),Ms=$i(),Ns=ja(),[Ps,Fs]=As(Es),[Is,Ls]=As(Es),Rs=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:a,modal:o=!0}=e,s=Ms(t),[c,l]=(0,L.useState)(null),u=(0,L.useRef)(!1),d=fn(a),f=On(i);return(0,L.useEffect)((()=>{let e=()=>{u.current=!0,document.addEventListener(`pointerdown`,t,{capture:!0,once:!0}),document.addEventListener(`pointermove`,t,{capture:!0,once:!0})},t=()=>u.current=!1;return document.addEventListener(`keydown`,e,{capture:!0}),()=>{document.removeEventListener(`keydown`,e,{capture:!0}),document.removeEventListener(`pointerdown`,t,{capture:!0}),document.removeEventListener(`pointermove`,t,{capture:!0})}}),[]),(0,L.createElement)(la,s,(0,L.createElement)(Ps,{scope:t,open:n,onOpenChange:d,content:c,onContentChange:l},(0,L.createElement)(Is,{scope:t,onClose:(0,L.useCallback)((()=>d(!1)),[d]),isUsingKeyboardRef:u,dir:f,modal:o},r)))},zs=(0,L.forwardRef)(((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,L.createElement)(ua,j({},Ms(n),r,{ref:t}))})),Bs=`MenuPortal`,[Vs,Hs]=As(Bs,{forceMount:void 0}),Us=`MenuContent`,[Ws,Gs]=As(Us),Ks=(0,L.forwardRef)(((e,t)=>{let n=Hs(Us,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=Fs(Us,e.__scopeMenu),o=Ls(Us,e.__scopeMenu);return(0,L.createElement)(Ds.Provider,{scope:e.__scopeMenu},(0,L.createElement)(ba,{present:r||a.open},(0,L.createElement)(Ds.Slot,{scope:e.__scopeMenu},o.modal?(0,L.createElement)(qs,j({},i,{ref:t})):(0,L.createElement)(Js,j({},i,{ref:t})))))})),qs=(0,L.forwardRef)(((e,t)=>{let n=Fs(Us,e.__scopeMenu),r=(0,L.useRef)(null),i=Ce(t,r);return(0,L.useEffect)((()=>{let e=r.current;if(e)return eo(e)}),[]),(0,L.createElement)(Ys,j({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:F(e.onFocusOutside,(e=>e.preventDefault()),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))})),Js=(0,L.forwardRef)(((e,t)=>{let n=Fs(Us,e.__scopeMenu);return(0,L.createElement)(Ys,j({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))})),Ys=(0,L.forwardRef)(((e,t)=>{let{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEntryFocus:c,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:p,disableOutsideScroll:m,...h}=e,g=Fs(Us,n),_=Ls(Us,n),v=Ms(n),y=Ns(n),b=Os(n),[x,S]=(0,L.useState)(null),C=(0,L.useRef)(null),ee=Ce(t,C,g.onContentChange),w=(0,L.useRef)(0),T=(0,L.useRef)(``),te=(0,L.useRef)(0),E=(0,L.useRef)(null),D=(0,L.useRef)(`right`),O=(0,L.useRef)(0),ne=m?hs:L.Fragment,re=m?{as:Wa,allowPinchZoom:!0}:void 0,ie=e=>{let t=T.current+e,n=b().filter((e=>!e.disabled)),r=document.activeElement,i=n.find((e=>e.ref.current===r))?.textValue,a=function(e,t,n){let r=t.length>1&&Array.from(t).every((e=>e===t[0]))?t[0]:t,i=n?e.indexOf(n):-1,a=(o=e,s=Math.max(i,0),o.map(((e,t)=>o[(s+t)%o.length])));var o,s;r.length===1&&(a=a.filter((e=>e!==n)));let c=a.find((e=>e.toLowerCase().startsWith(r.toLowerCase())));return c===n?void 0:c}(n.map((e=>e.textValue)),t,i),o=n.find((e=>e.textValue===a))?.ref.current;(function e(t){T.current=t,window.clearTimeout(w.current),t!==``&&(w.current=window.setTimeout((()=>e(``)),1e3))})(t),o&&setTimeout((()=>o.focus()))};(0,L.useEffect)((()=>()=>window.clearTimeout(w.current)),[]),Gn();let k=(0,L.useCallback)((e=>D.current===E.current?.side&&function(e,t){return t?function(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;er!=l>r&&n<(c-o)*(r-s)/(l-s)+o&&(i=!i)}return i}({x:e.clientX,y:e.clientY},t):!1}(e,E.current?.area)),[]);return(0,L.createElement)(Ws,{scope:n,searchRef:T,onItemEnter:(0,L.useCallback)((e=>{k(e)&&e.preventDefault()}),[k]),onItemLeave:(0,L.useCallback)((e=>{var t;k(e)||((t=C.current)==null||t.focus(),S(null))}),[k]),onTriggerLeave:(0,L.useCallback)((e=>{k(e)&&e.preventDefault()}),[k]),pointerGraceTimerRef:te,onPointerGraceIntentChange:(0,L.useCallback)((e=>{E.current=e}),[])},(0,L.createElement)(ne,re,(0,L.createElement)(ar,{asChild:!0,trapped:i,onMountAutoFocus:F(a,(e=>{var t;e.preventDefault(),(t=C.current)==null||t.focus()})),onUnmountAutoFocus:o},(0,L.createElement)(Un,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:p},(0,L.createElement)(Ra,j({asChild:!0},y,{dir:_.dir,orientation:`vertical`,loop:r,currentTabStopId:x,onCurrentTabStopIdChange:S,onEntryFocus:F(c,(e=>{_.isUsingKeyboardRef.current||e.preventDefault()}))}),(0,L.createElement)(da,j({role:`menu`,"aria-orientation":`vertical`,"data-state":_s(g.open),"data-radix-menu-content":``,dir:_.dir},v,h,{ref:ee,style:{outline:`none`,...h.style},onKeyDown:F(h.onKeyDown,(e=>{let t=e.target.closest(`[data-radix-menu-content]`)===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=e.key.length===1;t&&(e.key===`Tab`&&e.preventDefault(),!n&&r&&ie(e.key));let i=C.current;if(e.target!==i||!Cs.includes(e.key))return;e.preventDefault();let a=b().filter((e=>!e.disabled)).map((e=>e.ref.current));Ss.includes(e.key)&&a.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(a)})),onBlur:F(e.onBlur,(e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(w.current),T.current=``)})),onPointerMove:F(e.onPointerMove,bs((e=>{let t=e.target,n=O.current!==e.clientX;e.currentTarget.contains(t)&&n&&(D.current=e.clientX>O.current?`right`:`left`,O.current=e.clientX)})))})))))))})),Xs=(0,L.forwardRef)(((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,L.createElement)(M.div,j({role:`group`},r,{ref:t}))})),Zs=(0,L.forwardRef)(((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,L.createElement)(M.div,j({},r,{ref:t}))})),Qs=`MenuItem`,$s=`menu.itemSelect`,ec=(0,L.forwardRef)(((e,t)=>{let{disabled:n=!1,onSelect:r,...i}=e,a=(0,L.useRef)(null),o=Ls(Qs,e.__scopeMenu),s=Gs(Qs,e.__scopeMenu),c=Ce(t,a),l=(0,L.useRef)(!1);return(0,L.createElement)(tc,j({},i,{ref:c,disabled:n,onClick:F(e.onClick,(()=>{let e=a.current;if(!n&&e){let t=new CustomEvent($s,{bubbles:!0,cancelable:!0});e.addEventListener($s,(e=>r?.(e)),{once:!0}),Ne(e,t),t.defaultPrevented?l.current=!1:o.onClose()}})),onPointerDown:t=>{var n;(n=e.onPointerDown)==null||n.call(e,t),l.current=!0},onPointerUp:F(e.onPointerUp,(e=>{var t;l.current||(t=e.currentTarget)==null||t.click()})),onKeyDown:F(e.onKeyDown,(e=>{let t=s.searchRef.current!==``;n||t&&e.key===` `||xs.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())}))}))})),tc=(0,L.forwardRef)(((e,t)=>{let{__scopeMenu:n,disabled:r=!1,textValue:i,...a}=e,o=Gs(Qs,n),s=Ns(n),c=(0,L.useRef)(null),l=Ce(t,c),[u,d]=(0,L.useState)(!1),[f,p]=(0,L.useState)(``);return(0,L.useEffect)((()=>{let e=c.current;e&&p((e.textContent??``).trim())}),[a.children]),(0,L.createElement)(Ds.ItemSlot,{scope:n,disabled:r,textValue:i??f},(0,L.createElement)(za,j({asChild:!0},s,{focusable:!r}),(0,L.createElement)(M.div,j({role:`menuitem`,"data-highlighted":u?``:void 0,"aria-disabled":r||void 0,"data-disabled":r?``:void 0},a,{ref:l,onPointerMove:F(e.onPointerMove,bs((e=>{r?o.onItemLeave(e):(o.onItemEnter(e),!e.defaultPrevented&&e.currentTarget.focus())}))),onPointerLeave:F(e.onPointerLeave,bs((e=>o.onItemLeave(e)))),onFocus:F(e.onFocus,(()=>d(!0))),onBlur:F(e.onBlur,(()=>d(!1)))}))))})),nc=(0,L.forwardRef)(((e,t)=>{let{checked:n=!1,onCheckedChange:r,...i}=e;return(0,L.createElement)(cc,{scope:e.__scopeMenu,checked:n},(0,L.createElement)(ec,j({role:`menuitemcheckbox`,"aria-checked":vs(n)?`mixed`:n},i,{ref:t,"data-state":ys(n),onSelect:F(i.onSelect,(()=>r?.(!!vs(n)||!n)),{checkForDefaultPrevented:!1})})))})),[rc,ic]=As(`MenuRadioGroup`,{value:void 0,onValueChange:()=>{}}),ac=(0,L.forwardRef)(((e,t)=>{let{value:n,onValueChange:r,...i}=e,a=fn(r);return(0,L.createElement)(rc,{scope:e.__scopeMenu,value:n,onValueChange:a},(0,L.createElement)(Xs,j({},i,{ref:t})))})),oc=(0,L.forwardRef)(((e,t)=>{let{value:n,...r}=e,i=ic(`MenuRadioItem`,e.__scopeMenu),a=n===i.value;return(0,L.createElement)(cc,{scope:e.__scopeMenu,checked:a},(0,L.createElement)(ec,j({role:`menuitemradio`,"aria-checked":a},r,{ref:t,"data-state":ys(a),onSelect:F(r.onSelect,(()=>i.onValueChange?.call(i,n)),{checkForDefaultPrevented:!1})})))})),sc=`MenuItemIndicator`,[cc,lc]=As(sc,{checked:!1}),uc=(0,L.forwardRef)(((e,t)=>{let{__scopeMenu:n,forceMount:r,...i}=e,a=lc(sc,n);return(0,L.createElement)(ba,{present:r||vs(a.checked)||!0===a.checked},(0,L.createElement)(M.span,j({},i,{ref:t,"data-state":ys(a.checked)})))})),dc=(0,L.forwardRef)(((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,L.createElement)(M.div,j({role:`separator`,"aria-orientation":`horizontal`},r,{ref:t}))})),fc=`MenuSub`,[pc,mc]=As(fc),hc=`MenuSubTrigger`,gc=(0,L.forwardRef)(((e,t)=>{let n=Fs(hc,e.__scopeMenu),r=Ls(hc,e.__scopeMenu),i=mc(hc,e.__scopeMenu),a=Gs(hc,e.__scopeMenu),o=(0,L.useRef)(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:c}=a,l={__scopeMenu:e.__scopeMenu},u=(0,L.useCallback)((()=>{o.current&&window.clearTimeout(o.current),o.current=null}),[]);return(0,L.useEffect)((()=>u),[u]),(0,L.useEffect)((()=>{let e=s.current;return()=>{window.clearTimeout(e),c(null)}}),[s,c]),(0,L.createElement)(zs,j({asChild:!0},l),(0,L.createElement)(tc,j({id:i.triggerId,"aria-haspopup":`menu`,"aria-expanded":n.open,"aria-controls":i.contentId,"data-state":_s(n.open)},e,{ref:Se(t,i.onTriggerChange),onClick:t=>{var r;(r=e.onClick)==null||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:F(e.onPointerMove,bs((t=>{a.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||o.current||(a.onPointerGraceIntentChange(null),o.current=window.setTimeout((()=>{n.onOpenChange(!0),u()}),100))}))),onPointerLeave:F(e.onPointerLeave,bs((e=>{u();let t=n.content?.getBoundingClientRect();if(t){let r=n.content?.dataset.side,i=r===`right`,o=i?-5:5,c=t[i?`left`:`right`],l=t[i?`right`:`left`];a.onPointerGraceIntentChange({area:[{x:e.clientX+o,y:e.clientY},{x:c,y:t.top},{x:l,y:t.top},{x:l,y:t.bottom},{x:c,y:t.bottom}],side:r}),window.clearTimeout(s.current),s.current=window.setTimeout((()=>a.onPointerGraceIntentChange(null)),300)}else{if(a.onTriggerLeave(e),e.defaultPrevented)return;a.onPointerGraceIntentChange(null)}}))),onKeyDown:F(e.onKeyDown,(t=>{let i=a.searchRef.current!==``;var o;e.disabled||i&&t.key===` `||ws[r.dir].includes(t.key)&&(n.onOpenChange(!0),(o=n.content)==null||o.focus(),t.preventDefault())}))})))})),_c=(0,L.forwardRef)(((e,t)=>{let n=Hs(Us,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=Fs(Us,e.__scopeMenu),o=Ls(Us,e.__scopeMenu),s=mc(`MenuSubContent`,e.__scopeMenu),c=(0,L.useRef)(null),l=Ce(t,c);return(0,L.createElement)(Ds.Provider,{scope:e.__scopeMenu},(0,L.createElement)(ba,{present:r||a.open},(0,L.createElement)(Ds.Slot,{scope:e.__scopeMenu},(0,L.createElement)(Ys,j({id:s.contentId,"aria-labelledby":s.triggerId},i,{ref:l,align:`start`,side:o.dir===`rtl`?`left`:`right`,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;o.isUsingKeyboardRef.current&&((t=c.current)==null||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:F(e.onFocusOutside,(e=>{e.target!==s.trigger&&a.onOpenChange(!1)})),onEscapeKeyDown:F(e.onEscapeKeyDown,(e=>{o.onClose(),e.preventDefault()})),onKeyDown:F(e.onKeyDown,(e=>{let t=e.currentTarget.contains(e.target),n=Ts[o.dir].includes(e.key);var r;t&&n&&(a.onOpenChange(!1),(r=s.trigger)==null||r.focus(),e.preventDefault())}))})))))})),vc=Rs,yc=zs,bc=Ks,xc=Xs,Sc=Zs,Cc=ec,wc=nc,Tc=ac,R=oc,Ec=uc,Dc=dc,Oc=gc,kc=_c})),jc,Mc,Nc,Pc,Fc,Ic,Lc,Rc,zc,Bc,Vc,Hc,Uc,Wc,Gc,Kc,qc,Jc,Yc,Xc,Zc,Qc,$c,el,z,tl,nl,rl,il,al=o((()=>{xe(),jc=u(f(),1),sn(),Te(),dn(),_n(),Ie(),Ac(),hr(),Mc=`DropdownMenu`,[Nc,Pc]=cn(Mc,[js]),Fc=js(),[Ic,Lc]=Nc(Mc),Rc=e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:a,onOpenChange:o,modal:s=!0}=e,c=Fc(t),l=(0,jc.useRef)(null),[u=!1,d]=hn({prop:i,defaultProp:a,onChange:o});return(0,jc.createElement)(Ic,{scope:t,triggerId:dr(),triggerRef:l,contentId:dr(),open:u,onOpenChange:d,onOpenToggle:(0,jc.useCallback)((()=>d((e=>!e))),[d]),modal:s},(0,jc.createElement)(vc,j({},c,{open:u,onOpenChange:d,dir:r,modal:s}),n))},zc=(0,jc.forwardRef)(((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,a=Lc(`DropdownMenuTrigger`,n);return(0,jc.createElement)(yc,j({asChild:!0},Fc(n)),(0,jc.createElement)(M.button,j({type:`button`,id:a.triggerId,"aria-haspopup":`menu`,"aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?`open`:`closed`,"data-disabled":r?``:void 0,disabled:r},i,{ref:Se(t,a.triggerRef),onPointerDown:F(e.onPointerDown,(e=>{r||e.button!==0||!1!==e.ctrlKey||(a.onOpenToggle(),a.open||e.preventDefault())})),onKeyDown:F(e.onKeyDown,(e=>{r||([`Enter`,` `].includes(e.key)&&a.onOpenToggle(),e.key===`ArrowDown`&&a.onOpenChange(!0),[`Enter`,` `,`ArrowDown`].includes(e.key)&&e.preventDefault())}))})))})),Bc=(0,jc.forwardRef)(((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,i=Lc(`DropdownMenuContent`,n),a=Fc(n),o=(0,jc.useRef)(!1);return(0,jc.createElement)(bc,j({id:i.contentId,"aria-labelledby":i.triggerId},a,r,{ref:t,onCloseAutoFocus:F(e.onCloseAutoFocus,(e=>{var t;o.current||(t=i.triggerRef.current)==null||t.focus(),o.current=!1,e.preventDefault()})),onInteractOutside:F(e.onInteractOutside,(e=>{let t=e.detail.originalEvent,n=t.button===0&&!0===t.ctrlKey,r=t.button===2||n;i.modal&&!r||(o.current=!0)})),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}}))})),(0,jc.forwardRef)(((e,t)=>{let{__scopeDropdownMenu:n,...r}=e;return(0,jc.createElement)(xc,j({},Fc(n),r,{ref:t}))})),Vc=(0,jc.forwardRef)(((e,t)=>{let{__scopeDropdownMenu:n,...r}=e;return(0,jc.createElement)(Sc,j({},Fc(n),r,{ref:t}))})),Hc=(0,jc.forwardRef)(((e,t)=>{let{__scopeDropdownMenu:n,...r}=e;return(0,jc.createElement)(Cc,j({},Fc(n),r,{ref:t}))})),Uc=(0,jc.forwardRef)(((e,t)=>{let{__scopeDropdownMenu:n,...r}=e;return(0,jc.createElement)(wc,j({},Fc(n),r,{ref:t}))})),(0,jc.forwardRef)(((e,t)=>{let{__scopeDropdownMenu:n,...r}=e;return(0,jc.createElement)(Tc,j({},Fc(n),r,{ref:t}))})),Wc=(0,jc.forwardRef)(((e,t)=>{let{__scopeDropdownMenu:n,...r}=e;return(0,jc.createElement)(R,j({},Fc(n),r,{ref:t}))})),Gc=(0,jc.forwardRef)(((e,t)=>{let{__scopeDropdownMenu:n,...r}=e;return(0,jc.createElement)(Ec,j({},Fc(n),r,{ref:t}))})),Kc=(0,jc.forwardRef)(((e,t)=>{let{__scopeDropdownMenu:n,...r}=e;return(0,jc.createElement)(Dc,j({},Fc(n),r,{ref:t}))})),qc=(0,jc.forwardRef)(((e,t)=>{let{__scopeDropdownMenu:n,...r}=e;return(0,jc.createElement)(Oc,j({},Fc(n),r,{ref:t}))})),Jc=(0,jc.forwardRef)(((e,t)=>{let{__scopeDropdownMenu:n,...r}=e;return(0,jc.createElement)(kc,j({},Fc(n),r,{ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}}))})),Yc=Rc,Xc=zc,Zc=Bc,Qc=Vc,$c=Hc,el=Uc,z=Wc,tl=Gc,nl=Kc,rl=qc,il=Jc})),ol,sl,cl,ll,ul,dl,fl,pl,ml,hl,gl,_l,vl,yl=o((()=>{be(),ol=y(),al(),_e(),sl=u(f(),1),Nt(),cl=Yc,ll=Xc,ul=sl.forwardRef(((e,t)=>{var{className:n,inset:r,children:i}=e,a=A(e,[`className`,`inset`,`children`]);return(0,ol.jsxs)(rl,Object.assign({ref:t,className:P(`flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0`,r&&`pl-8`,n)},a,{children:[i,(0,ol.jsx)(ie,{className:`ml-auto`})]}))})),ul.displayName=rl.displayName,dl=sl.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,ol.jsx)(il,Object.assign({ref:t,className:P(`z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2`,n)},r))})),dl.displayName=il.displayName,fl=sl.forwardRef(((e,t)=>{var{className:n,sideOffset:r=4}=e,i=A(e,[`className`,`sideOffset`]);return(0,ol.jsx)(Zc,Object.assign({ref:t,sideOffset:r,className:P(`z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md`,`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2`,n)},i))})),fl.displayName=Zc.displayName,pl=sl.forwardRef(((e,t)=>{var{className:n,inset:r}=e,i=A(e,[`className`,`inset`]);return(0,ol.jsx)($c,Object.assign({ref:t,className:P(`relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0 hover:cursor-pointer`,r&&`pl-8`,n)},i))})),pl.displayName=$c.displayName,ml=sl.forwardRef(((e,t)=>{var{className:n,children:r,checked:i}=e,a=A(e,[`className`,`children`,`checked`]);return(0,ol.jsxs)(el,Object.assign({ref:t,className:P(`relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,n),checked:i},a,{children:[(0,ol.jsx)(`span`,Object.assign({className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`},{children:(0,ol.jsx)(tl,{children:(0,ol.jsx)(ne,{className:`h-4 w-4`})})})),r]}))})),ml.displayName=el.displayName,hl=sl.forwardRef(((e,t)=>{var{className:n,children:r}=e,i=A(e,[`className`,`children`]);return(0,ol.jsxs)(z,Object.assign({ref:t,className:P(`relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,n)},i,{children:[(0,ol.jsx)(`span`,Object.assign({className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`},{children:(0,ol.jsx)(tl,{children:(0,ol.jsx)(ae,{className:`h-2 w-2 fill-current`})})})),r]}))})),hl.displayName=z.displayName,gl=sl.forwardRef(((e,t)=>{var{className:n,inset:r}=e,i=A(e,[`className`,`inset`]);return(0,ol.jsx)(Qc,Object.assign({ref:t,className:P(`px-2 py-1.5 text-sm font-semibold`,r&&`pl-8`,n)},i))})),gl.displayName=Qc.displayName,_l=sl.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,ol.jsx)(nl,Object.assign({ref:t,className:P(`-mx-1 my-1 h-px bg-muted`,n)},r))})),_l.displayName=nl.displayName,vl=e=>{var{className:t}=e,n=A(e,[`className`]);return(0,ol.jsx)(`span`,Object.assign({className:P(`ml-auto text-xs tracking-widest opacity-60`,t)},n))},vl.displayName=`DropdownMenuShortcut`})),bl,xl,Sl,Cl,wl,Tl=o((()=>{bl=`data-theme`,xl=e=>e===`system`&&(window==null?void 0:window.matchMedia)?.call(window,`(prefers-color-scheme: dark)`).matches||e===`dark`,Sl=()=>{let e=localStorage.getItem(bl),t=e!==null&&[`system`,`dark`,`light`].includes(e)?e:`light`;return{mode:t,isDark:xl(t)}},Cl=e=>{localStorage.setItem(bl,e),window.dispatchEvent(new Event(`storage`))},wl=e=>{let t=()=>{e(Sl())};return t(),window.addEventListener(`storage`,t),window.matchMedia(`(prefers-color-scheme: dark)`).addEventListener(`change`,t),()=>{window.removeEventListener(`storage`,t),window.matchMedia(`(prefers-color-scheme: dark)`).removeEventListener(`change`,t)}}})),El,Dl,Ol,kl=o((()=>{El=y(),_e(),Dl=u(f(),1),on(),Tl(),Ol=()=>{let[e,t]=Dl.useState(typeof window<`u`?Sl():{mode:`dark`,isDark:!0});return Dl.useEffect((()=>{wl((e=>t(e)))}),[]),{theme:e,setMode:e=>Cl(e)}},Dl.forwardRef((({theme:e,setMode:t},n)=>{let r={light:{icon:(0,El.jsx)(he,{className:`h-4 w-4`})},dark:{icon:(0,El.jsx)(pe,{className:`h-4 w-4`})},system:{icon:(0,El.jsx)(se,{className:`h-4 w-4`})}};return(0,El.jsx)(an,Object.assign({className:`aspect-square`,variant:`outline`,size:`icon`,"aria-label":`mode-${e.mode}`,onClick:()=>{e.mode===`dark`&&t(`light`),e.mode===`light`&&t(`system`),e.mode===`system`&&t(`dark`)},ref:n},{children:r[e.mode].icon}))}))}));function Al(e,t){if(e==null)return{};var n,r,i={},a=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}var jl,Ml,Nl,Pl,Fl,Il,Ll,Rl,zl,Bl,Vl,Hl=o((()=>{jl=u(f(),1),Ml=[`color`],(0,jl.forwardRef)((function(e,t){var n=e.color,r=n===void 0?`currentColor`:n,i=Al(e,Ml);return(0,jl.createElement)(`svg`,Object.assign({width:`15`,height:`15`,viewBox:`0 0 15 15`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},i,{ref:t}),(0,jl.createElement)(`path`,{d:`M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z`,fill:r,fillRule:`evenodd`,clipRule:`evenodd`}))})),Nl=[`color`],(0,jl.forwardRef)((function(e,t){var n=e.color,r=n===void 0?`currentColor`:n,i=Al(e,Nl);return(0,jl.createElement)(`svg`,Object.assign({width:`15`,height:`15`,viewBox:`0 0 15 15`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},i,{ref:t}),(0,jl.createElement)(`path`,{d:`M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z`,fill:r,fillRule:`evenodd`,clipRule:`evenodd`}))})),Pl=[`color`],Fl=(0,jl.forwardRef)((function(e,t){var n=e.color,r=n===void 0?`currentColor`:n,i=Al(e,Pl);return(0,jl.createElement)(`svg`,Object.assign({width:`15`,height:`15`,viewBox:`0 0 15 15`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},i,{ref:t}),(0,jl.createElement)(`path`,{d:`M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z`,fill:r,fillRule:`evenodd`,clipRule:`evenodd`}))})),Il=[`color`],(0,jl.forwardRef)((function(e,t){var n=e.color,r=n===void 0?`currentColor`:n,i=Al(e,Il);return(0,jl.createElement)(`svg`,Object.assign({width:`15`,height:`15`,viewBox:`0 0 15 15`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},i,{ref:t}),(0,jl.createElement)(`path`,{d:`M8.84182 3.13514C9.04327 3.32401 9.05348 3.64042 8.86462 3.84188L5.43521 7.49991L8.86462 11.1579C9.05348 11.3594 9.04327 11.6758 8.84182 11.8647C8.64036 12.0535 8.32394 12.0433 8.13508 11.8419L4.38508 7.84188C4.20477 7.64955 4.20477 7.35027 4.38508 7.15794L8.13508 3.15794C8.32394 2.95648 8.64036 2.94628 8.84182 3.13514Z`,fill:r,fillRule:`evenodd`,clipRule:`evenodd`}))})),Ll=[`color`],(0,jl.forwardRef)((function(e,t){var n=e.color,r=n===void 0?`currentColor`:n,i=Al(e,Ll);return(0,jl.createElement)(`svg`,Object.assign({width:`15`,height:`15`,viewBox:`0 0 15 15`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},i,{ref:t}),(0,jl.createElement)(`path`,{d:`M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z`,fill:r,fillRule:`evenodd`,clipRule:`evenodd`}))})),Rl=[`color`],(0,jl.forwardRef)((function(e,t){var n=e.color,r=n===void 0?`currentColor`:n,i=Al(e,Rl);return(0,jl.createElement)(`svg`,Object.assign({width:`15`,height:`15`,viewBox:`0 0 15 15`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},i,{ref:t}),(0,jl.createElement)(`path`,{d:`M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z`,fill:r,fillRule:`evenodd`,clipRule:`evenodd`}))})),zl=[`color`],Bl=(0,jl.forwardRef)((function(e,t){var n=e.color,r=n===void 0?`currentColor`:n,i=Al(e,zl);return(0,jl.createElement)(`svg`,Object.assign({width:`15`,height:`15`,viewBox:`0 0 15 15`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},i,{ref:t}),(0,jl.createElement)(`path`,{d:`M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z`,fill:r,fillRule:`evenodd`,clipRule:`evenodd`}))})),Vl=[`color`],(0,jl.forwardRef)((function(e,t){var n=e.color,r=n===void 0?`currentColor`:n,i=Al(e,Vl);return(0,jl.createElement)(`svg`,Object.assign({width:`15`,height:`15`,viewBox:`0 0 15 15`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},i,{ref:t}),(0,jl.createElement)(`path`,{d:`M3.625 7.5C3.625 8.12132 3.12132 8.625 2.5 8.625C1.87868 8.625 1.375 8.12132 1.375 7.5C1.375 6.87868 1.87868 6.375 2.5 6.375C3.12132 6.375 3.625 6.87868 3.625 7.5ZM8.625 7.5C8.625 8.12132 8.12132 8.625 7.5 8.625C6.87868 8.625 6.375 8.12132 6.375 7.5C6.375 6.87868 6.87868 6.375 7.5 6.375C8.12132 6.375 8.625 6.87868 8.625 7.5ZM12.5 8.625C13.1213 8.625 13.625 8.12132 13.625 7.5C13.625 6.87868 13.1213 6.375 12.5 6.375C11.8787 6.375 11.375 6.87868 11.375 7.5C11.375 8.12132 11.8787 8.625 12.5 8.625Z`,fill:r,fillRule:`evenodd`,clipRule:`evenodd`}))}))}));function Ul(e){let t=(0,Wl.useRef)({value:e,previous:e});return(0,Wl.useMemo)((()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous)),[e])}var Wl,Gl=o((()=>{Wl=u(f(),1)})),Kl,ql,Jl,Yl=o((()=>{xe(),Kl=u(f(),1),Ie(),ql=(0,Kl.forwardRef)(((e,t)=>(0,Kl.createElement)(M.span,j({},e,{ref:t,style:{position:`absolute`,border:0,width:1,height:1,padding:0,margin:-1,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,wordWrap:`normal`,...e.style}})))),Jl=ql}));function Xl(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Zl(e){let t=document.activeElement;return e.some((e=>e===t||(e.focus(),document.activeElement!==t)))}function Ql(e,t){let n=fn(t);lr((()=>{let t=0;if(e){let r=new ResizeObserver((()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)}));return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}}),[e,n])}function $l(e){return e?`open`:`closed`}function eu(e,t){return`${e}-trigger-${t}`}function tu(e,t){return`${e}-content-${t}`}function nu(e){return t=>t.pointerType===`mouse`?e(t):void 0}var B,ru,iu,au,ou,su,cu,lu,uu,du,fu,pu,mu,hu,gu,_u,vu,yu,bu,xu,Su,Cu,wu,Tu,Eu,Du,Ou,ku,Au,ju,Mu,Nu,Pu,Fu,Iu,Lu,Ru,zu,Bu,Vu,Hu,Uu,Wu,Gu,Ku,qu,Ju,Yu=o((()=>{xe(),B=u(f(),1),ru=u(g(),1),dn(),sn(),Ie(),_n(),Te(),jn(),xa(),hr(),Dn(),Wn(),Gl(),ur(),mn(),Yl(),iu=`NavigationMenu`,[au,ou,su]=Tn(iu),[cu,lu,uu]=Tn(iu),[du,fu]=cn(iu,[su,uu]),[pu,mu]=du(iu),[hu,gu]=du(iu),_u=(0,B.forwardRef)(((e,t)=>{let{__scopeNavigationMenu:n,value:r,onValueChange:i,defaultValue:a,delayDuration:o=200,skipDelayDuration:s=300,orientation:c=`horizontal`,dir:l,...u}=e,[d,f]=(0,B.useState)(null),p=Ce(t,(e=>f(e))),m=On(l),h=(0,B.useRef)(0),g=(0,B.useRef)(0),_=(0,B.useRef)(0),[v,y]=(0,B.useState)(!0),[b=``,x]=hn({prop:r,onChange:e=>{let t=s>0;e===``?(window.clearTimeout(_.current),_.current=window.setTimeout((()=>y(!0)),s)):(window.clearTimeout(_.current),t&&y(!1)),i?.(e)},defaultProp:a}),S=(0,B.useCallback)((()=>{window.clearTimeout(g.current),g.current=window.setTimeout((()=>x(``)),150)}),[x]),C=(0,B.useCallback)((e=>{window.clearTimeout(g.current),x(e)}),[x]),ee=(0,B.useCallback)((e=>{b===e?window.clearTimeout(g.current):h.current=window.setTimeout((()=>{window.clearTimeout(g.current),x(e)}),o)}),[b,x,o]);return(0,B.useEffect)((()=>()=>{window.clearTimeout(h.current),window.clearTimeout(g.current),window.clearTimeout(_.current)}),[]),(0,B.createElement)(vu,{scope:n,isRootMenu:!0,value:b,dir:m,orientation:c,rootNavigationMenu:d,onTriggerEnter:e=>{window.clearTimeout(h.current),v?ee(e):C(e)},onTriggerLeave:()=>{window.clearTimeout(h.current),S()},onContentEnter:()=>window.clearTimeout(g.current),onContentLeave:S,onItemSelect:e=>{x((t=>t===e?``:e))},onItemDismiss:()=>x(``)},(0,B.createElement)(M.nav,j({"aria-label":`Main`,"data-orientation":c,dir:m},u,{ref:p})))})),vu=e=>{let{scope:t,isRootMenu:n,rootNavigationMenu:r,dir:i,orientation:a,children:o,value:s,onItemSelect:c,onItemDismiss:l,onTriggerEnter:u,onTriggerLeave:d,onContentEnter:f,onContentLeave:p}=e,[m,h]=(0,B.useState)(null),[g,_]=(0,B.useState)(new Map),[v,y]=(0,B.useState)(null);return(0,B.createElement)(pu,{scope:t,isRootMenu:n,rootNavigationMenu:r,value:s,previousValue:Ul(s),baseId:dr(),dir:i,orientation:a,viewport:m,onViewportChange:h,indicatorTrack:v,onIndicatorTrackChange:y,onTriggerEnter:fn(u),onTriggerLeave:fn(d),onContentEnter:fn(f),onContentLeave:fn(p),onItemSelect:fn(c),onItemDismiss:fn(l),onViewportContentChange:(0,B.useCallback)(((e,t)=>{_((n=>(n.set(e,t),new Map(n))))}),[]),onViewportContentRemove:(0,B.useCallback)((e=>{_((t=>t.has(e)?(t.delete(e),new Map(t)):t))}),[])},(0,B.createElement)(au.Provider,{scope:t},(0,B.createElement)(hu,{scope:t,items:g},o)))},yu=(0,B.forwardRef)(((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=mu(`NavigationMenuList`,n),a=(0,B.createElement)(M.ul,j({"data-orientation":i.orientation},r,{ref:t}));return(0,B.createElement)(M.div,{style:{position:`relative`},ref:i.onIndicatorTrackChange},(0,B.createElement)(au.Slot,{scope:n},i.isRootMenu?(0,B.createElement)(Ru,{asChild:!0},a):a))})),[bu,xu]=du(`NavigationMenuItem`),Su=(0,B.forwardRef)(((e,t)=>{let{__scopeNavigationMenu:n,value:r,...i}=e,a=dr(),o=r||a||`LEGACY_REACT_AUTO_VALUE`,s=(0,B.useRef)(null),c=(0,B.useRef)(null),l=(0,B.useRef)(null),u=(0,B.useRef)((()=>{})),d=(0,B.useRef)(!1),f=(0,B.useCallback)(((e=`start`)=>{if(s.current){u.current();let t=Xl(s.current);t.length&&Zl(e===`start`?t:t.reverse())}}),[]),p=(0,B.useCallback)((()=>{if(s.current){let e=Xl(s.current);e.length&&(u.current=function(e){return e.forEach((e=>{e.dataset.tabindex=e.getAttribute(`tabindex`)||``,e.setAttribute(`tabindex`,`-1`)})),()=>{e.forEach((e=>{let t=e.dataset.tabindex;e.setAttribute(`tabindex`,t)}))}}(e))}}),[]);return(0,B.createElement)(bu,{scope:n,value:o,triggerRef:c,contentRef:s,focusProxyRef:l,wasEscapeCloseRef:d,onEntryKeyDown:f,onFocusProxyEnter:f,onRootContentClose:p,onContentFocusOutside:p},(0,B.createElement)(M.li,j({},i,{ref:t})))})),Cu=`NavigationMenuTrigger`,wu=(0,B.forwardRef)(((e,t)=>{let{__scopeNavigationMenu:n,disabled:r,...i}=e,a=mu(Cu,e.__scopeNavigationMenu),o=xu(Cu,e.__scopeNavigationMenu),s=(0,B.useRef)(null),c=Ce(s,o.triggerRef,t),l=eu(a.baseId,o.value),u=tu(a.baseId,o.value),d=(0,B.useRef)(!1),f=(0,B.useRef)(!1),p=o.value===a.value;return(0,B.createElement)(B.Fragment,null,(0,B.createElement)(au.ItemSlot,{scope:n,value:o.value},(0,B.createElement)(Bu,{asChild:!0},(0,B.createElement)(M.button,j({id:l,disabled:r,"data-disabled":r?``:void 0,"data-state":$l(p),"aria-expanded":p,"aria-controls":u},i,{ref:c,onPointerEnter:F(e.onPointerEnter,(()=>{f.current=!1,o.wasEscapeCloseRef.current=!1})),onPointerMove:F(e.onPointerMove,nu((()=>{r||f.current||o.wasEscapeCloseRef.current||d.current||(a.onTriggerEnter(o.value),d.current=!0)}))),onPointerLeave:F(e.onPointerLeave,nu((()=>{r||(a.onTriggerLeave(),d.current=!1)}))),onClick:F(e.onClick,(()=>{a.onItemSelect(o.value),f.current=p})),onKeyDown:F(e.onKeyDown,(e=>{let t={horizontal:`ArrowDown`,vertical:a.dir===`rtl`?`ArrowLeft`:`ArrowRight`}[a.orientation];p&&e.key===t&&(o.onEntryKeyDown(),e.preventDefault())}))})))),p&&(0,B.createElement)(B.Fragment,null,(0,B.createElement)(Jl,{"aria-hidden":!0,tabIndex:0,ref:o.focusProxyRef,onFocus:e=>{let t=o.contentRef.current,n=e.relatedTarget,r=n===s.current,i=t?.contains(n);!r&&i||o.onFocusProxyEnter(r?`start`:`end`)}}),a.viewport&&(0,B.createElement)(`span`,{"aria-owns":u})))})),Tu=`navigationMenu.linkSelect`,Eu=(0,B.forwardRef)(((e,t)=>{let{__scopeNavigationMenu:n,active:r,onSelect:i,...a}=e;return(0,B.createElement)(Bu,{asChild:!0},(0,B.createElement)(M.a,j({"data-active":r?``:void 0,"aria-current":r?`page`:void 0},a,{ref:t,onClick:F(e.onClick,(e=>{let t=e.target,n=new CustomEvent(Tu,{bubbles:!0,cancelable:!0});t.addEventListener(Tu,(e=>i?.(e)),{once:!0}),Ne(t,n),!n.defaultPrevented&&!e.metaKey&&Ne(t,new CustomEvent(Nu,{bubbles:!0,cancelable:!0}))}),{checkForDefaultPrevented:!1})})))})),Du=`NavigationMenuIndicator`,Ou=(0,B.forwardRef)(((e,t)=>{let{forceMount:n,...r}=e,i=mu(Du,e.__scopeNavigationMenu),a=!!i.value;return i.indicatorTrack?ru.createPortal((0,B.createElement)(ba,{present:n||a},(0,B.createElement)(ku,j({},r,{ref:t}))),i.indicatorTrack):null})),ku=(0,B.forwardRef)(((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=mu(Du,n),a=ou(n),[o,s]=(0,B.useState)(null),[c,l]=(0,B.useState)(null),u=i.orientation===`horizontal`,d=!!i.value;(0,B.useEffect)((()=>{let e=a().find((e=>e.value===i.value))?.ref.current;e&&s(e)}),[a,i.value]);let f=()=>{o&&l({size:u?o.offsetWidth:o.offsetHeight,offset:u?o.offsetLeft:o.offsetTop})};return Ql(o,f),Ql(i.indicatorTrack,f),c?(0,B.createElement)(M.div,j({"aria-hidden":!0,"data-state":d?`visible`:`hidden`,"data-orientation":i.orientation},r,{ref:t,style:{position:`absolute`,...u?{left:0,width:c.size+`px`,transform:`translateX(${c.offset}px)`}:{top:0,height:c.size+`px`,transform:`translateY(${c.offset}px)`},...r.style}})):null})),Au=`NavigationMenuContent`,ju=(0,B.forwardRef)(((e,t)=>{let{forceMount:n,...r}=e,i=mu(Au,e.__scopeNavigationMenu),a=xu(Au,e.__scopeNavigationMenu),o=Ce(a.contentRef,t),s=a.value===i.value,c={value:a.value,triggerRef:a.triggerRef,focusProxyRef:a.focusProxyRef,wasEscapeCloseRef:a.wasEscapeCloseRef,onContentFocusOutside:a.onContentFocusOutside,onRootContentClose:a.onRootContentClose,...r};return i.viewport?(0,B.createElement)(Mu,j({forceMount:n},c,{ref:o})):(0,B.createElement)(ba,{present:n||s},(0,B.createElement)(Pu,j({"data-state":$l(s)},c,{ref:o,onPointerEnter:F(e.onPointerEnter,i.onContentEnter),onPointerLeave:F(e.onPointerLeave,nu(i.onContentLeave)),style:{pointerEvents:!s&&i.isRootMenu?`none`:void 0,...c.style}})))})),Mu=(0,B.forwardRef)(((e,t)=>{let{onViewportContentChange:n,onViewportContentRemove:r}=mu(Au,e.__scopeNavigationMenu);return lr((()=>{n(e.value,{ref:t,...e})}),[e,t,n]),lr((()=>()=>r(e.value)),[e.value,r]),null})),Nu=`navigationMenu.rootContentDismiss`,Pu=(0,B.forwardRef)(((e,t)=>{let{__scopeNavigationMenu:n,value:r,triggerRef:i,focusProxyRef:a,wasEscapeCloseRef:o,onRootContentClose:s,onContentFocusOutside:c,...l}=e,u=mu(Au,n),d=(0,B.useRef)(null),f=Ce(d,t),p=eu(u.baseId,r),m=tu(u.baseId,r),h=ou(n),g=(0,B.useRef)(null),{onItemDismiss:_}=u;return(0,B.useEffect)((()=>{let e=d.current;if(u.isRootMenu&&e){let t=()=>{var t;_(),s(),e.contains(document.activeElement)&&((t=i.current)==null||t.focus())};return e.addEventListener(Nu,t),()=>e.removeEventListener(Nu,t)}}),[u.isRootMenu,e.value,i,_,s]),(0,B.createElement)(Ru,{asChild:!0},(0,B.createElement)(Un,j({id:m,"aria-labelledby":p,"data-motion":(0,B.useMemo)((()=>{let e=h().map((e=>e.value));u.dir===`rtl`&&e.reverse();let t=e.indexOf(u.value),n=e.indexOf(u.previousValue),i=r===u.value,a=n===e.indexOf(r);if(!i&&!a)return g.current;let o=(()=>{if(t!==n){if(i&&n!==-1)return t>n?`from-end`:`from-start`;if(a&&t!==-1)return t>n?`to-start`:`to-end`}return null})();return g.current=o,o}),[u.previousValue,u.value,u.dir,h,r]),"data-orientation":u.orientation},l,{ref:f,onDismiss:()=>{var e;let t=new Event(Nu,{bubbles:!0,cancelable:!0});(e=d.current)==null||e.dispatchEvent(t)},onFocusOutside:F(e.onFocusOutside,(e=>{var t;c();let n=e.target;(t=u.rootNavigationMenu)!=null&&t.contains(n)&&e.preventDefault()})),onPointerDownOutside:F(e.onPointerDownOutside,(e=>{let t=e.target,n=h().some((e=>e.ref.current?.contains(t))),r=u.isRootMenu&&u.viewport?.contains(t);(n||r||!u.isRootMenu)&&e.preventDefault()})),onKeyDown:F(e.onKeyDown,(e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if(e.key===`Tab`&&!t){let t=Xl(e.currentTarget),r=document.activeElement,i=t.findIndex((e=>e===r));var n;Zl(e.shiftKey?t.slice(0,i).reverse():t.slice(i+1,t.length))?e.preventDefault():(n=a.current)==null||n.focus()}})),onEscapeKeyDown:F(e.onEscapeKeyDown,(e=>{o.current=!0}))})))})),Fu=`NavigationMenuViewport`,Iu=(0,B.forwardRef)(((e,t)=>{let{forceMount:n,...r}=e,i=!!mu(Fu,e.__scopeNavigationMenu).value;return(0,B.createElement)(ba,{present:n||i},(0,B.createElement)(Lu,j({},r,{ref:t})))})),Lu=(0,B.forwardRef)(((e,t)=>{let{__scopeNavigationMenu:n,children:r,...i}=e,a=mu(Fu,n),o=Ce(t,a.onViewportChange),s=gu(Au,e.__scopeNavigationMenu),[c,l]=(0,B.useState)(null),[u,d]=(0,B.useState)(null),f=c?c?.width+`px`:void 0,p=c?c?.height+`px`:void 0,m=!!a.value,h=m?a.value:a.previousValue;return Ql(u,(()=>{u&&l({width:u.offsetWidth,height:u.offsetHeight})})),(0,B.createElement)(M.div,j({"data-state":$l(m),"data-orientation":a.orientation},i,{ref:o,style:{pointerEvents:!m&&a.isRootMenu?`none`:void 0,"--radix-navigation-menu-viewport-width":f,"--radix-navigation-menu-viewport-height":p,...i.style},onPointerEnter:F(e.onPointerEnter,a.onContentEnter),onPointerLeave:F(e.onPointerLeave,nu(a.onContentLeave))}),Array.from(s.items).map((([e,{ref:t,forceMount:n,...r}])=>{let i=h===e;return(0,B.createElement)(ba,{key:e,present:n||i},(0,B.createElement)(Pu,j({},r,{ref:Se(t,(e=>{i&&e&&d(e)}))})))})))})),Ru=(0,B.forwardRef)(((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=mu(`FocusGroup`,n);return(0,B.createElement)(cu.Provider,{scope:n},(0,B.createElement)(cu.Slot,{scope:n},(0,B.createElement)(M.div,j({dir:i.dir},r,{ref:t}))))})),zu=[`ArrowRight`,`ArrowLeft`,`ArrowUp`,`ArrowDown`],Bu=(0,B.forwardRef)(((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,i=lu(n),a=mu(`FocusGroupItem`,n);return(0,B.createElement)(cu.ItemSlot,{scope:n},(0,B.createElement)(M.button,j({},r,{ref:t,onKeyDown:F(e.onKeyDown,(e=>{if([`Home`,`End`,...zu].includes(e.key)){let t=i().map((e=>e.ref.current));if([a.dir===`rtl`?`ArrowRight`:`ArrowLeft`,`ArrowUp`,`End`].includes(e.key)&&t.reverse(),zu.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout((()=>Zl(t))),e.preventDefault()}}))})))})),Vu=_u,Hu=yu,Uu=Su,Wu=wu,Gu=Eu,Ku=Ou,qu=ju,Ju=Iu})),Xu,Zu,Qu,$u,ed,td,nd,rd,id,ad,od,sd=o((()=>{be(),Xu=y(),Hl(),Yu(),en(),Zu=u(f(),1),Nt(),Qu=Zu.forwardRef(((e,t)=>{var{className:n,children:r}=e,i=A(e,[`className`,`children`]);return(0,Xu.jsxs)(Vu,Object.assign({ref:t,className:P(`relative z-10 flex max-w-max flex-1 items-center justify-center`,n)},i,{children:[r,(0,Xu.jsx)(ad,{})]}))})),Qu.displayName=Vu.displayName,$u=Zu.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,Xu.jsx)(Hu,Object.assign({ref:t,className:P(`group flex flex-1 list-none items-center justify-center space-x-1`,n)},r))})),$u.displayName=Hu.displayName,ed=Uu,td=$t(`group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50`),nd=Zu.forwardRef(((e,t)=>{var{className:n,children:r}=e,i=A(e,[`className`,`children`]);return(0,Xu.jsxs)(Wu,Object.assign({ref:t,className:P(td(),`group`,n),onPointerMove:e=>e.preventDefault(),onPointerLeave:e=>e.preventDefault()},i,{children:[r,` `,(0,Xu.jsx)(Fl,{className:`relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180`,"aria-hidden":`true`})]}))})),nd.displayName=Wu.displayName,rd=Zu.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,Xu.jsx)(qu,Object.assign({ref:t,className:P(`left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto `,n),onPointerEnter:e=>e.preventDefault(),onPointerLeave:e=>e.preventDefault()},r))})),rd.displayName=qu.displayName,id=Gu,ad=Zu.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,Xu.jsx)(`div`,Object.assign({className:P(`absolute left-0 top-full flex justify-center`)},{children:(0,Xu.jsx)(Ju,Object.assign({className:P(`origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]`,n),ref:t},r))}))})),ad.displayName=Ju.displayName,od=Zu.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,Xu.jsx)(Ku,Object.assign({ref:t,className:P(`top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in`,n)},r,{children:(0,Xu.jsx)(`div`,{className:`relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md`})}))})),od.displayName=Ku.displayName})),cd,ld,V,ud,dd=o((()=>{(function(e){e.assertEqual=e=>{};function t(e){}e.assertIs=t;function n(e){throw Error()}e.assertNever=n,e.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},e.getValidEnumValues=t=>{let n=e.objectKeys(t).filter(e=>typeof t[t[e]]!=`number`),r={};for(let e of n)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys=typeof Object.keys==`function`?e=>Object.keys(e):e=>{let t=[];for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(let n of e)if(t(n))return n},e.isInteger=typeof Number.isInteger==`function`?e=>Number.isInteger(e):e=>typeof e==`number`&&Number.isFinite(e)&&Math.floor(e)===e;function r(e,t=` | `){return e.map(e=>typeof e==`string`?`'${e}'`:e).join(t)}e.joinValues=r,e.jsonStringifyReplacer=(e,t)=>typeof t==`bigint`?t.toString():t})(cd||(cd={})),(function(e){e.mergeShapes=(e,t)=>({...e,...t})})(ld||(ld={})),V=cd.arrayToEnum([`string`,`nan`,`number`,`integer`,`float`,`boolean`,`date`,`bigint`,`symbol`,`function`,`undefined`,`null`,`array`,`object`,`unknown`,`promise`,`void`,`never`,`map`,`set`]),ud=e=>{switch(typeof e){case`undefined`:return V.undefined;case`string`:return V.string;case`number`:return Number.isNaN(e)?V.nan:V.number;case`boolean`:return V.boolean;case`function`:return V.function;case`bigint`:return V.bigint;case`symbol`:return V.symbol;case`object`:return Array.isArray(e)?V.array:e===null?V.null:e.then&&typeof e.then==`function`&&e.catch&&typeof e.catch==`function`?V.promise:typeof Map<`u`&&e instanceof Map?V.map:typeof Set<`u`&&e instanceof Set?V.set:typeof Date<`u`&&e instanceof Date?V.date:V.object;default:return V.unknown}}})),H,fd,pd=o((()=>{dd(),H=cd.arrayToEnum([`invalid_type`,`invalid_literal`,`custom`,`invalid_union`,`invalid_union_discriminator`,`invalid_enum_value`,`unrecognized_keys`,`invalid_arguments`,`invalid_return_type`,`invalid_date`,`invalid_string`,`too_small`,`too_big`,`invalid_intersection_types`,`not_multiple_of`,`not_finite`]),fd=class e extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name=`ZodError`,this.issues=e}format(e){let t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(let i of e.issues)if(i.code===`invalid_union`)i.unionErrors.map(r);else if(i.code===`invalid_return_type`)r(i.returnTypeError);else if(i.code===`invalid_arguments`)r(i.argumentsError);else if(i.path.length===0)n._errors.push(t(i));else{let e=n,r=0;for(;re.message){let t={},n=[];for(let r of this.issues)if(r.path.length>0){let n=r.path[0];t[n]=t[n]||[],t[n].push(e(r))}else n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}},fd.create=e=>new fd(e)})),md,hd=o((()=>{pd(),dd(),md=(e,t)=>{let n;switch(e.code){case H.invalid_type:n=e.received===V.undefined?`Required`:`Expected ${e.expected}, received ${e.received}`;break;case H.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,cd.jsonStringifyReplacer)}`;break;case H.unrecognized_keys:n=`Unrecognized key(s) in object: ${cd.joinValues(e.keys,`, `)}`;break;case H.invalid_union:n=`Invalid input`;break;case H.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${cd.joinValues(e.options)}`;break;case H.invalid_enum_value:n=`Invalid enum value. Expected ${cd.joinValues(e.options)}, received '${e.received}'`;break;case H.invalid_arguments:n=`Invalid function arguments`;break;case H.invalid_return_type:n=`Invalid function return type`;break;case H.invalid_date:n=`Invalid date`;break;case H.invalid_string:typeof e.validation==`object`?`includes`in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position==`number`&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):`startsWith`in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:`endsWith`in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:cd.assertNever(e.validation):n=e.validation===`regex`?`Invalid`:`Invalid ${e.validation}`;break;case H.too_small:n=e.type===`array`?`Array must contain ${e.exact?`exactly`:e.inclusive?`at least`:`more than`} ${e.minimum} element(s)`:e.type===`string`?`String must contain ${e.exact?`exactly`:e.inclusive?`at least`:`over`} ${e.minimum} character(s)`:e.type===`number`||e.type===`bigint`?`Number must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${e.minimum}`:e.type===`date`?`Date must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${new Date(Number(e.minimum))}`:`Invalid input`;break;case H.too_big:n=e.type===`array`?`Array must contain ${e.exact?`exactly`:e.inclusive?`at most`:`less than`} ${e.maximum} element(s)`:e.type===`string`?`String must contain ${e.exact?`exactly`:e.inclusive?`at most`:`under`} ${e.maximum} character(s)`:e.type===`number`?`Number must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`:e.type===`bigint`?`BigInt must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`:e.type===`date`?`Date must be ${e.exact?`exactly`:e.inclusive?`smaller than or equal to`:`smaller than`} ${new Date(Number(e.maximum))}`:`Invalid input`;break;case H.custom:n=`Invalid input`;break;case H.invalid_intersection_types:n=`Intersection results could not be merged`;break;case H.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case H.not_finite:n=`Number must be finite`;break;default:n=t.defaultError,cd.assertNever(e)}return{message:n}}}));function gd(){return _d}var _d,vd=o((()=>{hd(),_d=md}));function U(e,t){let n=gd(),r=yd({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===md?void 0:md].filter(e=>!!e)});e.common.issues.push(r)}var yd,bd,W,xd,Sd,Cd,wd,Td,Ed,Dd=o((()=>{vd(),hd(),yd=e=>{let{data:t,path:n,errorMaps:r,issueData:i}=e,a=[...n,...i.path||[]],o={...i,path:a};if(i.message!==void 0)return{...i,path:a,message:i.message};let s=``,c=r.filter(e=>!!e).slice().reverse();for(let e of c)s=e(o,{data:t,defaultError:s}).message;return{...i,path:a,message:s}},bd=class e{constructor(){this.value=`valid`}dirty(){this.value===`valid`&&(this.value=`dirty`)}abort(){this.value!==`aborted`&&(this.value=`aborted`)}static mergeArray(e,t){let n=[];for(let r of t){if(r.status===`aborted`)return W;r.status===`dirty`&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(t,n){let r=[];for(let e of n){let t=await e.key,n=await e.value;r.push({key:t,value:n})}return e.mergeObjectSync(t,r)}static mergeObjectSync(e,t){let n={};for(let r of t){let{key:t,value:i}=r;if(t.status===`aborted`||i.status===`aborted`)return W;t.status===`dirty`&&e.dirty(),i.status===`dirty`&&e.dirty(),t.value!==`__proto__`&&(i.value!==void 0||r.alwaysSet)&&(n[t.value]=i.value)}return{status:e.value,value:n}}},W=Object.freeze({status:`aborted`}),xd=e=>({status:`dirty`,value:e}),Sd=e=>({status:`valid`,value:e}),Cd=e=>e.status===`aborted`,wd=e=>e.status===`dirty`,Td=e=>e.status===`valid`,Ed=e=>typeof Promise<`u`&&e instanceof Promise})),Od=o((()=>{})),G,kd=o((()=>{(function(e){e.errToObj=e=>typeof e==`string`?{message:e}:e||{},e.toString=e=>typeof e==`string`?e:e?.message})(G||(G={}))}));function K(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(t,i)=>{let{message:a}=e;return t.code===`invalid_enum_value`?{message:a??i.defaultError}:i.data===void 0?{message:a??r??i.defaultError}:t.code===`invalid_type`?{message:a??n??i.defaultError}:{message:i.defaultError}},description:i}}function Ad(e){let t=`[0-5]\\d`;e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision??(t=`${t}(\\.\\d+)?`);let n=e.precision?`+`:`?`;return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function jd(e){return RegExp(`^${Ad(e)}$`)}function Md(e){let t=`${af}T${Ad(e)}`,n=[];return n.push(e.local?`Z?`:`Z`),e.offset&&n.push(`([+-]\\d{2}:?\\d{2})`),t=`${t}(${n.join(`|`)})`,RegExp(`^${t}$`)}function Nd(e,t){return!!((t===`v4`||!t)&&Qd.test(e)||(t===`v6`||!t)&&ef.test(e))}function Pd(e,t){if(!qd.test(e))return!1;try{let[n]=e.split(`.`);if(!n)return!1;let r=n.replace(/-/g,`+`).replace(/_/g,`/`).padEnd(n.length+(4-n.length%4)%4,`=`),i=JSON.parse(atob(r));return!(typeof i!=`object`||!i||`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&i.alg!==t)}catch{return!1}}function Fd(e,t){return!!((t===`v4`||!t)&&$d.test(e)||(t===`v6`||!t)&&tf.test(e))}function Id(e,t){let n=(e.toString().split(`.`)[1]||``).length,r=(t.toString().split(`.`)[1]||``).length,i=n>r?n:r;return Number.parseInt(e.toFixed(i).replace(`.`,``))%Number.parseInt(t.toFixed(i).replace(`.`,``))/10**i}function Ld(e){if(e instanceof bf){let t={};for(let n in e.shape){let r=e.shape[n];t[n]=If.create(Ld(r))}return new bf({...e._def,shape:()=>t})}else if(e instanceof yf)return new yf({...e._def,type:Ld(e.element)});else if(e instanceof If)return If.create(Ld(e.unwrap()));else if(e instanceof Lf)return Lf.create(Ld(e.unwrap()));else if(e instanceof Tf)return Tf.create(e.items.map(e=>Ld(e)));else return e}function Rd(e,t){let n=ud(e),r=ud(t);if(e===t)return{valid:!0,data:e};if(n===V.object&&r===V.object){let n=cd.objectKeys(t),r=cd.objectKeys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=Rd(e[n],t[n]);if(!r.valid)return{valid:!1};i[n]=r.data}return{valid:!0,data:i}}else if(n===V.array&&r===V.array){if(e.length!==t.length)return{valid:!1};let n=[];for(let r=0;r{pd(),vd(),kd(),Dd(),dd(),Bd=class{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},Vd=(e,t)=>{if(Td(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error(`Validation failed but no issues detected.`);return{success:!1,get error(){if(this._error)return this._error;let t=new fd(e.common.issues);return this._error=t,this._error}}},q=class{get description(){return this._def.description}_getType(e){return ud(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:ud(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new bd,ctx:{common:e.parent.common,data:e.data,parsedType:ud(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(Ed(t))throw Error(`Synchronous parse encountered promise.`);return t}_parseAsync(e){let t=this._parse(e);return Promise.resolve(t)}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){let n={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:ud(e)};return Vd(n,this._parseSync({data:e,path:n.path,parent:n}))}"~validate"(e){let t={common:{issues:[],async:!!this[`~standard`].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:ud(e)};if(!this[`~standard`].async)try{let n=this._parseSync({data:e,path:[],parent:t});return Td(n)?{value:n.value}:{issues:t.common.issues}}catch(e){e?.message?.toLowerCase()?.includes(`encountered`)&&(this[`~standard`].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(e=>Td(e)?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:ud(e)},r=this._parse({data:e,path:n.path,parent:n});return Vd(n,await(Ed(r)?r:Promise.resolve(r)))}refine(e,t){let n=e=>typeof t==`string`||t===void 0?{message:t}:typeof t==`function`?t(e):t;return this._refinement((t,r)=>{let i=e(t),a=()=>r.addIssue({code:H.custom,...n(t)});return typeof Promise<`u`&&i instanceof Promise?i.then(e=>e?!0:(a(),!1)):i?!0:(a(),!1)})}refinement(e,t){return this._refinement((n,r)=>e(n)?!0:(r.addIssue(typeof t==`function`?t(n,r):t),!1))}_refinement(e){return new Ff({schema:this,typeName:J.ZodEffects,effect:{type:`refinement`,refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this[`~standard`]={version:1,vendor:`zod`,validate:e=>this[`~validate`](e)}}optional(){return If.create(this,this._def)}nullable(){return Lf.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return yf.create(this)}promise(){return Pf.create(this,this._def)}or(e){return xf.create([this,e],this._def)}and(e){return wf.create(this,e,this._def)}transform(e){return new Ff({...K(this._def),schema:this,typeName:J.ZodEffects,effect:{type:`transform`,transform:e}})}default(e){let t=typeof e==`function`?e:()=>e;return new Rf({...K(this._def),innerType:this,defaultValue:t,typeName:J.ZodDefault})}brand(){return new Vf({typeName:J.ZodBranded,type:this,...K(this._def)})}catch(e){let t=typeof e==`function`?e:()=>e;return new zf({...K(this._def),innerType:this,catchValue:t,typeName:J.ZodCatch})}describe(e){let t=this.constructor;return new t({...this._def,description:e})}pipe(e){return Hf.create(this,e)}readonly(){return Uf.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},Hd=/^c[^\s-]{8,}$/i,Ud=/^[0-9a-z]+$/,Wd=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Gd=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Kd=/^[a-z0-9_-]{21}$/i,qd=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Jd=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Yd=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Xd=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`,Qd=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,$d=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ef=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,tf=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,nf=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,rf=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,af=`((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))`,of=RegExp(`^${af}$`),sf=class e extends q{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==V.string){let t=this._getOrReturnCtx(e);return U(t,{code:H.invalid_type,expected:V.string,received:t.parsedType}),W}let t=new bd,n;for(let r of this._def.checks)if(r.kind===`min`)e.data.lengthr.value&&(n=this._getOrReturnCtx(e,n),U(n,{code:H.too_big,maximum:r.value,type:`string`,inclusive:!0,exact:!1,message:r.message}),t.dirty());else if(r.kind===`length`){let i=e.data.length>r.value,a=e.data.lengthe.test(t),{validation:t,code:H.invalid_string,...G.errToObj(n)})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}email(e){return this._addCheck({kind:`email`,...G.errToObj(e)})}url(e){return this._addCheck({kind:`url`,...G.errToObj(e)})}emoji(e){return this._addCheck({kind:`emoji`,...G.errToObj(e)})}uuid(e){return this._addCheck({kind:`uuid`,...G.errToObj(e)})}nanoid(e){return this._addCheck({kind:`nanoid`,...G.errToObj(e)})}cuid(e){return this._addCheck({kind:`cuid`,...G.errToObj(e)})}cuid2(e){return this._addCheck({kind:`cuid2`,...G.errToObj(e)})}ulid(e){return this._addCheck({kind:`ulid`,...G.errToObj(e)})}base64(e){return this._addCheck({kind:`base64`,...G.errToObj(e)})}base64url(e){return this._addCheck({kind:`base64url`,...G.errToObj(e)})}jwt(e){return this._addCheck({kind:`jwt`,...G.errToObj(e)})}ip(e){return this._addCheck({kind:`ip`,...G.errToObj(e)})}cidr(e){return this._addCheck({kind:`cidr`,...G.errToObj(e)})}datetime(e){return typeof e==`string`?this._addCheck({kind:`datetime`,precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:`datetime`,precision:e?.precision===void 0?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...G.errToObj(e?.message)})}date(e){return this._addCheck({kind:`date`,message:e})}time(e){return typeof e==`string`?this._addCheck({kind:`time`,precision:null,message:e}):this._addCheck({kind:`time`,precision:e?.precision===void 0?null:e?.precision,...G.errToObj(e?.message)})}duration(e){return this._addCheck({kind:`duration`,...G.errToObj(e)})}regex(e,t){return this._addCheck({kind:`regex`,regex:e,...G.errToObj(t)})}includes(e,t){return this._addCheck({kind:`includes`,value:e,position:t?.position,...G.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:`startsWith`,value:e,...G.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:`endsWith`,value:e,...G.errToObj(t)})}min(e,t){return this._addCheck({kind:`min`,value:e,...G.errToObj(t)})}max(e,t){return this._addCheck({kind:`max`,value:e,...G.errToObj(t)})}length(e,t){return this._addCheck({kind:`length`,value:e,...G.errToObj(t)})}nonempty(e){return this.min(1,G.errToObj(e))}trim(){return new e({...this._def,checks:[...this._def.checks,{kind:`trim`}]})}toLowerCase(){return new e({...this._def,checks:[...this._def.checks,{kind:`toLowerCase`}]})}toUpperCase(){return new e({...this._def,checks:[...this._def.checks,{kind:`toUpperCase`}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind===`datetime`)}get isDate(){return!!this._def.checks.find(e=>e.kind===`date`)}get isTime(){return!!this._def.checks.find(e=>e.kind===`time`)}get isDuration(){return!!this._def.checks.find(e=>e.kind===`duration`)}get isEmail(){return!!this._def.checks.find(e=>e.kind===`email`)}get isURL(){return!!this._def.checks.find(e=>e.kind===`url`)}get isEmoji(){return!!this._def.checks.find(e=>e.kind===`emoji`)}get isUUID(){return!!this._def.checks.find(e=>e.kind===`uuid`)}get isNANOID(){return!!this._def.checks.find(e=>e.kind===`nanoid`)}get isCUID(){return!!this._def.checks.find(e=>e.kind===`cuid`)}get isCUID2(){return!!this._def.checks.find(e=>e.kind===`cuid2`)}get isULID(){return!!this._def.checks.find(e=>e.kind===`ulid`)}get isIP(){return!!this._def.checks.find(e=>e.kind===`ip`)}get isCIDR(){return!!this._def.checks.find(e=>e.kind===`cidr`)}get isBase64(){return!!this._def.checks.find(e=>e.kind===`base64`)}get isBase64url(){return!!this._def.checks.find(e=>e.kind===`base64url`)}get minLength(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.valuenew sf({checks:[],typeName:J.ZodString,coerce:e?.coerce??!1,...K(e)}),cf=class e extends q{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==V.number){let t=this._getOrReturnCtx(e);return U(t,{code:H.invalid_type,expected:V.number,received:t.parsedType}),W}let t,n=new bd;for(let r of this._def.checks)r.kind===`int`?cd.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),U(t,{code:H.invalid_type,expected:`integer`,received:`float`,message:r.message}),n.dirty()):r.kind===`min`?(r.inclusive?e.datar.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),U(t,{code:H.too_big,maximum:r.value,type:`number`,inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):r.kind===`multipleOf`?Id(e.data,r.value)!==0&&(t=this._getOrReturnCtx(e,t),U(t,{code:H.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):r.kind===`finite`?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),U(t,{code:H.not_finite,message:r.message}),n.dirty()):cd.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit(`min`,e,!0,G.toString(t))}gt(e,t){return this.setLimit(`min`,e,!1,G.toString(t))}lte(e,t){return this.setLimit(`max`,e,!0,G.toString(t))}lt(e,t){return this.setLimit(`max`,e,!1,G.toString(t))}setLimit(t,n,r,i){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:G.toString(i)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}int(e){return this._addCheck({kind:`int`,message:G.toString(e)})}positive(e){return this._addCheck({kind:`min`,value:0,inclusive:!1,message:G.toString(e)})}negative(e){return this._addCheck({kind:`max`,value:0,inclusive:!1,message:G.toString(e)})}nonpositive(e){return this._addCheck({kind:`max`,value:0,inclusive:!0,message:G.toString(e)})}nonnegative(e){return this._addCheck({kind:`min`,value:0,inclusive:!0,message:G.toString(e)})}multipleOf(e,t){return this._addCheck({kind:`multipleOf`,value:e,message:G.toString(t)})}finite(e){return this._addCheck({kind:`finite`,message:G.toString(e)})}safe(e){return this._addCheck({kind:`min`,inclusive:!0,value:-(2**53-1),message:G.toString(e)})._addCheck({kind:`max`,inclusive:!0,value:2**53-1,message:G.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.valuee.kind===`int`||e.kind===`multipleOf`&&cd.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks)if(n.kind===`finite`||n.kind===`int`||n.kind===`multipleOf`)return!0;else n.kind===`min`?(t===null||n.value>t)&&(t=n.value):n.kind===`max`&&(e===null||n.valuenew cf({checks:[],typeName:J.ZodNumber,coerce:e?.coerce||!1,...K(e)}),lf=class e extends q{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==V.bigint)return this._getInvalidInput(e);let t,n=new bd;for(let r of this._def.checks)r.kind===`min`?(r.inclusive?e.datar.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),U(t,{code:H.too_big,type:`bigint`,maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):r.kind===`multipleOf`?e.data%r.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),U(t,{code:H.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):cd.assertNever(r);return{status:n.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return U(t,{code:H.invalid_type,expected:V.bigint,received:t.parsedType}),W}gte(e,t){return this.setLimit(`min`,e,!0,G.toString(t))}gt(e,t){return this.setLimit(`min`,e,!1,G.toString(t))}lte(e,t){return this.setLimit(`max`,e,!0,G.toString(t))}lt(e,t){return this.setLimit(`max`,e,!1,G.toString(t))}setLimit(t,n,r,i){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:G.toString(i)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}positive(e){return this._addCheck({kind:`min`,value:BigInt(0),inclusive:!1,message:G.toString(e)})}negative(e){return this._addCheck({kind:`max`,value:BigInt(0),inclusive:!1,message:G.toString(e)})}nonpositive(e){return this._addCheck({kind:`max`,value:BigInt(0),inclusive:!0,message:G.toString(e)})}nonnegative(e){return this._addCheck({kind:`min`,value:BigInt(0),inclusive:!0,message:G.toString(e)})}multipleOf(e,t){return this._addCheck({kind:`multipleOf`,value:e,message:G.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.valuenew lf({checks:[],typeName:J.ZodBigInt,coerce:e?.coerce??!1,...K(e)}),uf=class extends q{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==V.boolean){let t=this._getOrReturnCtx(e);return U(t,{code:H.invalid_type,expected:V.boolean,received:t.parsedType}),W}return Sd(e.data)}},uf.create=e=>new uf({typeName:J.ZodBoolean,coerce:e?.coerce||!1,...K(e)}),df=class e extends q{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==V.date){let t=this._getOrReturnCtx(e);return U(t,{code:H.invalid_type,expected:V.date,received:t.parsedType}),W}if(Number.isNaN(e.data.getTime()))return U(this._getOrReturnCtx(e),{code:H.invalid_date}),W;let t=new bd,n;for(let r of this._def.checks)r.kind===`min`?e.data.getTime()r.value&&(n=this._getOrReturnCtx(e,n),U(n,{code:H.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:`date`}),t.dirty()):cd.assertNever(r);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}min(e,t){return this._addCheck({kind:`min`,value:e.getTime(),message:G.toString(t)})}max(e,t){return this._addCheck({kind:`max`,value:e.getTime(),message:G.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e==null?null:new Date(e)}get maxDate(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.valuenew df({checks:[],coerce:e?.coerce||!1,typeName:J.ZodDate,...K(e)}),ff=class extends q{_parse(e){if(this._getType(e)!==V.symbol){let t=this._getOrReturnCtx(e);return U(t,{code:H.invalid_type,expected:V.symbol,received:t.parsedType}),W}return Sd(e.data)}},ff.create=e=>new ff({typeName:J.ZodSymbol,...K(e)}),pf=class extends q{_parse(e){if(this._getType(e)!==V.undefined){let t=this._getOrReturnCtx(e);return U(t,{code:H.invalid_type,expected:V.undefined,received:t.parsedType}),W}return Sd(e.data)}},pf.create=e=>new pf({typeName:J.ZodUndefined,...K(e)}),mf=class extends q{_parse(e){if(this._getType(e)!==V.null){let t=this._getOrReturnCtx(e);return U(t,{code:H.invalid_type,expected:V.null,received:t.parsedType}),W}return Sd(e.data)}},mf.create=e=>new mf({typeName:J.ZodNull,...K(e)}),hf=class extends q{constructor(){super(...arguments),this._any=!0}_parse(e){return Sd(e.data)}},hf.create=e=>new hf({typeName:J.ZodAny,...K(e)}),gf=class extends q{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Sd(e.data)}},gf.create=e=>new gf({typeName:J.ZodUnknown,...K(e)}),_f=class extends q{_parse(e){let t=this._getOrReturnCtx(e);return U(t,{code:H.invalid_type,expected:V.never,received:t.parsedType}),W}},_f.create=e=>new _f({typeName:J.ZodNever,...K(e)}),vf=class extends q{_parse(e){if(this._getType(e)!==V.undefined){let t=this._getOrReturnCtx(e);return U(t,{code:H.invalid_type,expected:V.void,received:t.parsedType}),W}return Sd(e.data)}},vf.create=e=>new vf({typeName:J.ZodVoid,...K(e)}),yf=class e extends q{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==V.array)return U(t,{code:H.invalid_type,expected:V.array,received:t.parsedType}),W;if(r.exactLength!==null){let e=t.data.length>r.exactLength.value,i=t.data.lengthr.maxLength.value&&(U(t,{code:H.too_big,maximum:r.maxLength.value,type:`array`,inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>r.type._parseAsync(new Bd(t,e,t.path,n)))).then(e=>bd.mergeArray(n,e));let i=[...t.data].map((e,n)=>r.type._parseSync(new Bd(t,e,t.path,n)));return bd.mergeArray(n,i)}get element(){return this._def.type}min(t,n){return new e({...this._def,minLength:{value:t,message:G.toString(n)}})}max(t,n){return new e({...this._def,maxLength:{value:t,message:G.toString(n)}})}length(t,n){return new e({...this._def,exactLength:{value:t,message:G.toString(n)}})}nonempty(e){return this.min(1,e)}},yf.create=(e,t)=>new yf({type:e,minLength:null,maxLength:null,exactLength:null,typeName:J.ZodArray,...K(t)}),bf=class e extends q{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),t=cd.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==V.object){let t=this._getOrReturnCtx(e);return U(t,{code:H.invalid_type,expected:V.object,received:t.parsedType}),W}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:i}=this._getCached(),a=[];if(!(this._def.catchall instanceof _f&&this._def.unknownKeys===`strip`))for(let e in n.data)i.includes(e)||a.push(e);let o=[];for(let e of i){let t=r[e],i=n.data[e];o.push({key:{status:`valid`,value:e},value:t._parse(new Bd(n,i,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof _f){let e=this._def.unknownKeys;if(e===`passthrough`)for(let e of a)o.push({key:{status:`valid`,value:e},value:{status:`valid`,value:n.data[e]}});else if(e===`strict`)a.length>0&&(U(n,{code:H.unrecognized_keys,keys:a}),t.dirty());else if(e!==`strip`)throw Error(`Internal ZodObject error: invalid unknownKeys value.`)}else{let e=this._def.catchall;for(let t of a){let r=n.data[t];o.push({key:{status:`valid`,value:t},value:e._parse(new Bd(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of o){let n=await t.key,r=await t.value;e.push({key:n,value:r,alwaysSet:t.alwaysSet})}return e}).then(e=>bd.mergeObjectSync(t,e)):bd.mergeObjectSync(t,o)}get shape(){return this._def.shape()}strict(t){return G.errToObj,new e({...this._def,unknownKeys:`strict`,...t===void 0?{}:{errorMap:(e,n)=>{let r=this._def.errorMap?.(e,n).message??n.defaultError;return e.code===`unrecognized_keys`?{message:G.errToObj(t).message??r}:{message:r}}}})}strip(){return new e({...this._def,unknownKeys:`strip`})}passthrough(){return new e({...this._def,unknownKeys:`passthrough`})}extend(t){return new e({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new e({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:J.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(t){return new e({...this._def,catchall:t})}pick(t){let n={};for(let e of cd.objectKeys(t))t[e]&&this.shape[e]&&(n[e]=this.shape[e]);return new e({...this._def,shape:()=>n})}omit(t){let n={};for(let e of cd.objectKeys(this.shape))t[e]||(n[e]=this.shape[e]);return new e({...this._def,shape:()=>n})}deepPartial(){return Ld(this)}partial(t){let n={};for(let e of cd.objectKeys(this.shape)){let r=this.shape[e];t&&!t[e]?n[e]=r:n[e]=r.optional()}return new e({...this._def,shape:()=>n})}required(t){let n={};for(let e of cd.objectKeys(this.shape))if(t&&!t[e])n[e]=this.shape[e];else{let t=this.shape[e];for(;t instanceof If;)t=t._def.innerType;n[e]=t}return new e({...this._def,shape:()=>n})}keyof(){return zd(cd.objectKeys(this.shape))}},bf.create=(e,t)=>new bf({shape:()=>e,unknownKeys:`strip`,catchall:_f.create(),typeName:J.ZodObject,...K(t)}),bf.strictCreate=(e,t)=>new bf({shape:()=>e,unknownKeys:`strict`,catchall:_f.create(),typeName:J.ZodObject,...K(t)}),bf.lazycreate=(e,t)=>new bf({shape:e,unknownKeys:`strip`,catchall:_f.create(),typeName:J.ZodObject,...K(t)}),xf=class extends q{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;function r(e){for(let t of e)if(t.result.status===`valid`)return t.result;for(let n of e)if(n.result.status===`dirty`)return t.common.issues.push(...n.ctx.common.issues),n.result;let n=e.map(e=>new fd(e.ctx.common.issues));return U(t,{code:H.invalid_union,unionErrors:n}),W}if(t.common.async)return Promise.all(n.map(async e=>{let n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(r);{let e,r=[];for(let i of n){let n={...t,common:{...t.common,issues:[]},parent:null},a=i._parseSync({data:t.data,path:t.path,parent:n});if(a.status===`valid`)return a;a.status===`dirty`&&!e&&(e={result:a,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=r.map(e=>new fd(e));return U(t,{code:H.invalid_union,unionErrors:i}),W}}get options(){return this._def.options}},xf.create=(e,t)=>new xf({options:e,typeName:J.ZodUnion,...K(t)}),Sf=e=>e instanceof Af?Sf(e.schema):e instanceof Ff?Sf(e.innerType()):e instanceof jf?[e.value]:e instanceof Mf?e.options:e instanceof Nf?cd.objectValues(e.enum):e instanceof Rf?Sf(e._def.innerType):e instanceof pf?[void 0]:e instanceof mf?[null]:e instanceof If?[void 0,...Sf(e.unwrap())]:e instanceof Lf?[null,...Sf(e.unwrap())]:e instanceof Vf||e instanceof Uf?Sf(e.unwrap()):e instanceof zf?Sf(e._def.innerType):[],Cf=class e extends q{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==V.object)return U(t,{code:H.invalid_type,expected:V.object,received:t.parsedType}),W;let n=this.discriminator,r=t.data[n],i=this.optionsMap.get(r);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):(U(t,{code:H.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),W)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){let i=new Map;for(let e of n){let n=Sf(e.shape[t]);if(!n.length)throw Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(let r of n){if(i.has(r))throw Error(`Discriminator property ${String(t)} has duplicate value ${String(r)}`);i.set(r,e)}}return new e({typeName:J.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:i,...K(r)})}},wf=class extends q{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(Cd(e)||Cd(r))return W;let i=Rd(e.value,r.value);return i.valid?((wd(e)||wd(r))&&t.dirty(),{status:t.value,value:i.data}):(U(n,{code:H.invalid_intersection_types}),W)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>r(e,t)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}},wf.create=(e,t,n)=>new wf({left:e,right:t,typeName:J.ZodIntersection,...K(n)}),Tf=class e extends q{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==V.array)return U(n,{code:H.invalid_type,expected:V.array,received:n.parsedType}),W;if(n.data.lengththis._def.items.length&&(U(n,{code:H.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:`array`}),t.dirty());let r=[...n.data].map((e,t)=>{let r=this._def.items[t]||this._def.rest;return r?r._parse(new Bd(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>bd.mergeArray(t,e)):bd.mergeArray(t,r)}get items(){return this._def.items}rest(t){return new e({...this._def,rest:t})}},Tf.create=(e,t)=>{if(!Array.isArray(e))throw Error(`You must pass an array of schemas to z.tuple([ ... ])`);return new Tf({items:e,typeName:J.ZodTuple,rest:null,...K(t)})},Ef=class e extends q{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==V.object)return U(n,{code:H.invalid_type,expected:V.object,received:n.parsedType}),W;let r=[],i=this._def.keyType,a=this._def.valueType;for(let e in n.data)r.push({key:i._parse(new Bd(n,e,n.path,e)),value:a._parse(new Bd(n,n.data[e],n.path,e)),alwaysSet:e in n.data});return n.common.async?bd.mergeObjectAsync(t,r):bd.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof q?new e({keyType:t,valueType:n,typeName:J.ZodRecord,...K(r)}):new e({keyType:sf.create(),valueType:t,typeName:J.ZodRecord,...K(n)})}},Df=class extends q{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==V.map)return U(n,{code:H.invalid_type,expected:V.map,received:n.parsedType}),W;let r=this._def.keyType,i=this._def.valueType,a=[...n.data.entries()].map(([e,t],a)=>({key:r._parse(new Bd(n,e,n.path,[a,`key`])),value:i._parse(new Bd(n,t,n.path,[a,`value`]))}));if(n.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let n of a){let r=await n.key,i=await n.value;if(r.status===`aborted`||i.status===`aborted`)return W;(r.status===`dirty`||i.status===`dirty`)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}})}else{let e=new Map;for(let n of a){let r=n.key,i=n.value;if(r.status===`aborted`||i.status===`aborted`)return W;(r.status===`dirty`||i.status===`dirty`)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}}}},Df.create=(e,t,n)=>new Df({valueType:t,keyType:e,typeName:J.ZodMap,...K(n)}),Of=class e extends q{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==V.set)return U(n,{code:H.invalid_type,expected:V.set,received:n.parsedType}),W;let r=this._def;r.minSize!==null&&n.data.sizer.maxSize.value&&(U(n,{code:H.too_big,maximum:r.maxSize.value,type:`set`,inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let i=this._def.valueType;function a(e){let n=new Set;for(let r of e){if(r.status===`aborted`)return W;r.status===`dirty`&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}let o=[...n.data.values()].map((e,t)=>i._parse(new Bd(n,e,n.path,t)));return n.common.async?Promise.all(o).then(e=>a(e)):a(o)}min(t,n){return new e({...this._def,minSize:{value:t,message:G.toString(n)}})}max(t,n){return new e({...this._def,maxSize:{value:t,message:G.toString(n)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}},Of.create=(e,t)=>new Of({valueType:e,minSize:null,maxSize:null,typeName:J.ZodSet,...K(t)}),kf=class e extends q{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==V.function)return U(t,{code:H.invalid_type,expected:V.function,received:t.parsedType}),W;function n(e,n){return yd({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,gd(),md].filter(e=>!!e),issueData:{code:H.invalid_arguments,argumentsError:n}})}function r(e,n){return yd({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,gd(),md].filter(e=>!!e),issueData:{code:H.invalid_return_type,returnTypeError:n}})}let i={errorMap:t.common.contextualErrorMap},a=t.data;if(this._def.returns instanceof Pf){let e=this;return Sd(async function(...t){let o=new fd([]),s=await e._def.args.parseAsync(t,i).catch(e=>{throw o.addIssue(n(t,e)),o}),c=await Reflect.apply(a,this,s);return await e._def.returns._def.type.parseAsync(c,i).catch(e=>{throw o.addIssue(r(c,e)),o})})}else{let e=this;return Sd(function(...t){let o=e._def.args.safeParse(t,i);if(!o.success)throw new fd([n(t,o.error)]);let s=Reflect.apply(a,this,o.data),c=e._def.returns.safeParse(s,i);if(!c.success)throw new fd([r(s,c.error)]);return c.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new e({...this._def,args:Tf.create(t).rest(gf.create())})}returns(t){return new e({...this._def,returns:t})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(t,n,r){return new e({args:t||Tf.create([]).rest(gf.create()),returns:n||gf.create(),typeName:J.ZodFunction,...K(r)})}},Af=class extends q{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}},Af.create=(e,t)=>new Af({getter:e,typeName:J.ZodLazy,...K(t)}),jf=class extends q{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return U(t,{received:t.data,code:H.invalid_literal,expected:this._def.value}),W}return{status:`valid`,value:e.data}}get value(){return this._def.value}},jf.create=(e,t)=>new jf({value:e,typeName:J.ZodLiteral,...K(t)}),Mf=class e extends q{_parse(e){if(typeof e.data!=`string`){let t=this._getOrReturnCtx(e),n=this._def.values;return U(t,{expected:cd.joinValues(n),received:t.parsedType,code:H.invalid_type}),W}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return U(t,{received:t.data,code:H.invalid_enum_value,options:n}),W}return Sd(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(t,n=this._def){return e.create(t,{...this._def,...n})}exclude(t,n=this._def){return e.create(this.options.filter(e=>!t.includes(e)),{...this._def,...n})}},Mf.create=zd,Nf=class extends q{_parse(e){let t=cd.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==V.string&&n.parsedType!==V.number){let e=cd.objectValues(t);return U(n,{expected:cd.joinValues(e),received:n.parsedType,code:H.invalid_type}),W}if(this._cache||(this._cache=new Set(cd.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let e=cd.objectValues(t);return U(n,{received:n.data,code:H.invalid_enum_value,options:e}),W}return Sd(e.data)}get enum(){return this._def.values}},Nf.create=(e,t)=>new Nf({values:e,typeName:J.ZodNativeEnum,...K(t)}),Pf=class extends q{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==V.promise&&t.common.async===!1?(U(t,{code:H.invalid_type,expected:V.promise,received:t.parsedType}),W):Sd((t.parsedType===V.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}},Pf.create=(e,t)=>new Pf({type:e,typeName:J.ZodPromise,...K(t)}),Ff=class extends q{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===J.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,i={addIssue:e=>{U(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),r.type===`preprocess`){let e=r.transform(n.data,i);if(n.common.async)return Promise.resolve(e).then(async e=>{if(t.value===`aborted`)return W;let r=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return r.status===`aborted`?W:r.status===`dirty`||t.value===`dirty`?xd(r.value):r});{if(t.value===`aborted`)return W;let r=this._def.schema._parseSync({data:e,path:n.path,parent:n});return r.status===`aborted`?W:r.status===`dirty`||t.value===`dirty`?xd(r.value):r}}if(r.type===`refinement`){let e=e=>{let t=r.refinement(e,i);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error(`Async refinement encountered during synchronous parse operation. Use .parseAsync instead.`);return e};if(n.common.async===!1){let r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return r.status===`aborted`?W:(r.status===`dirty`&&t.dirty(),e(r.value),{status:t.value,value:r.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>n.status===`aborted`?W:(n.status===`dirty`&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))))}if(r.type===`transform`)if(n.common.async===!1){let e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!Td(e))return W;let a=r.transform(e.value,i);if(a instanceof Promise)throw Error(`Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.`);return{status:t.value,value:a}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>Td(e)?Promise.resolve(r.transform(e.value,i)).then(e=>({status:t.value,value:e})):W);cd.assertNever(r)}},Ff.create=(e,t,n)=>new Ff({schema:e,typeName:J.ZodEffects,effect:t,...K(n)}),Ff.createWithPreprocess=(e,t,n)=>new Ff({schema:t,effect:{type:`preprocess`,transform:e},typeName:J.ZodEffects,...K(n)}),If=class extends q{_parse(e){return this._getType(e)===V.undefined?Sd(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}},If.create=(e,t)=>new If({innerType:e,typeName:J.ZodOptional,...K(t)}),Lf=class extends q{_parse(e){return this._getType(e)===V.null?Sd(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}},Lf.create=(e,t)=>new Lf({innerType:e,typeName:J.ZodNullable,...K(t)}),Rf=class extends q{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===V.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}},Rf.create=(e,t)=>new Rf({innerType:e,typeName:J.ZodDefault,defaultValue:typeof t.default==`function`?t.default:()=>t.default,...K(t)}),zf=class extends q{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return Ed(r)?r.then(e=>({status:`valid`,value:e.status===`valid`?e.value:this._def.catchValue({get error(){return new fd(n.common.issues)},input:n.data})})):{status:`valid`,value:r.status===`valid`?r.value:this._def.catchValue({get error(){return new fd(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}},zf.create=(e,t)=>new zf({innerType:e,typeName:J.ZodCatch,catchValue:typeof t.catch==`function`?t.catch:()=>t.catch,...K(t)}),Bf=class extends q{_parse(e){if(this._getType(e)!==V.nan){let t=this._getOrReturnCtx(e);return U(t,{code:H.invalid_type,expected:V.nan,received:t.parsedType}),W}return{status:`valid`,value:e.data}}},Bf.create=e=>new Bf({typeName:J.ZodNaN,...K(e)}),Vf=class extends q{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}},Hf=class e extends q{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return e.status===`aborted`?W:e.status===`dirty`?(t.dirty(),xd(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{let e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return e.status===`aborted`?W:e.status===`dirty`?(t.dirty(),{status:`dirty`,value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(t,n){return new e({in:t,out:n,typeName:J.ZodPipeline})}},Uf=class extends q{_parse(e){let t=this._def.innerType._parse(e),n=e=>(Td(e)&&(e.value=Object.freeze(e.value)),e);return Ed(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}},Uf.create=(e,t)=>new Uf({innerType:e,typeName:J.ZodReadonly,...K(t)}),bf.lazycreate,(function(e){e.ZodString=`ZodString`,e.ZodNumber=`ZodNumber`,e.ZodNaN=`ZodNaN`,e.ZodBigInt=`ZodBigInt`,e.ZodBoolean=`ZodBoolean`,e.ZodDate=`ZodDate`,e.ZodSymbol=`ZodSymbol`,e.ZodUndefined=`ZodUndefined`,e.ZodNull=`ZodNull`,e.ZodAny=`ZodAny`,e.ZodUnknown=`ZodUnknown`,e.ZodNever=`ZodNever`,e.ZodVoid=`ZodVoid`,e.ZodArray=`ZodArray`,e.ZodObject=`ZodObject`,e.ZodUnion=`ZodUnion`,e.ZodDiscriminatedUnion=`ZodDiscriminatedUnion`,e.ZodIntersection=`ZodIntersection`,e.ZodTuple=`ZodTuple`,e.ZodRecord=`ZodRecord`,e.ZodMap=`ZodMap`,e.ZodSet=`ZodSet`,e.ZodFunction=`ZodFunction`,e.ZodLazy=`ZodLazy`,e.ZodLiteral=`ZodLiteral`,e.ZodEnum=`ZodEnum`,e.ZodEffects=`ZodEffects`,e.ZodNativeEnum=`ZodNativeEnum`,e.ZodOptional=`ZodOptional`,e.ZodNullable=`ZodNullable`,e.ZodDefault=`ZodDefault`,e.ZodCatch=`ZodCatch`,e.ZodPromise=`ZodPromise`,e.ZodBranded=`ZodBranded`,e.ZodPipeline=`ZodPipeline`,e.ZodReadonly=`ZodReadonly`})(J||(J={})),Wf=sf.create,Gf=cf.create,Bf.create,lf.create,Kf=uf.create,df.create,ff.create,pf.create,mf.create,hf.create,gf.create,_f.create,vf.create,yf.create,qf=bf.create,bf.strictCreate,xf.create,Cf.create,wf.create,Tf.create,Ef.create,Df.create,Of.create,kf.create,Af.create,jf.create,Mf.create,Nf.create,Pf.create,Ff.create,If.create,Lf.create,Ff.createWithPreprocess,Hf.create})),Yf=o((()=>{vd(),Dd(),Od(),dd(),Jf(),pd()})),Xf=o((()=>{Yf(),Yf()}));function Zf(e){return e?`open`:`closed`}var Qf,$f,ep,tp,np,rp,ip,ap,op,sp,cp,lp,up,dp,fp=o((()=>{xe(),Qf=u(f(),1),sn(),dn(),_n(),ur(),Te(),Ie(),xa(),hr(),$f=`Collapsible`,[ep,tp]=cn($f),[np,rp]=ep($f),ip=(0,Qf.forwardRef)(((e,t)=>{let{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:a,onOpenChange:o,...s}=e,[c=!1,l]=hn({prop:r,defaultProp:i,onChange:o});return(0,Qf.createElement)(np,{scope:n,disabled:a,contentId:dr(),open:c,onOpenToggle:(0,Qf.useCallback)((()=>l((e=>!e))),[l])},(0,Qf.createElement)(M.div,j({"data-state":Zf(c),"data-disabled":a?``:void 0},s,{ref:t})))})),ap=(0,Qf.forwardRef)(((e,t)=>{let{__scopeCollapsible:n,...r}=e,i=rp(`CollapsibleTrigger`,n);return(0,Qf.createElement)(M.button,j({type:`button`,"aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":Zf(i.open),"data-disabled":i.disabled?``:void 0,disabled:i.disabled},r,{ref:t,onClick:F(e.onClick,i.onOpenToggle)}))})),op=`CollapsibleContent`,sp=(0,Qf.forwardRef)(((e,t)=>{let{forceMount:n,...r}=e,i=rp(op,e.__scopeCollapsible);return(0,Qf.createElement)(ba,{present:n||i.open},(({present:e})=>(0,Qf.createElement)(cp,j({},r,{ref:t,present:e}))))})),cp=(0,Qf.forwardRef)(((e,t)=>{let{__scopeCollapsible:n,present:r,children:i,...a}=e,o=rp(op,n),[s,c]=(0,Qf.useState)(r),l=(0,Qf.useRef)(null),u=Ce(t,l),d=(0,Qf.useRef)(0),f=d.current,p=(0,Qf.useRef)(0),m=p.current,h=o.open||s,g=(0,Qf.useRef)(h),_=(0,Qf.useRef)();return(0,Qf.useEffect)((()=>{let e=requestAnimationFrame((()=>g.current=!1));return()=>cancelAnimationFrame(e)}),[]),lr((()=>{let e=l.current;if(e){_.current=_.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration=`0s`,e.style.animationName=`none`;let t=e.getBoundingClientRect();d.current=t.height,p.current=t.width,g.current||(e.style.transitionDuration=_.current.transitionDuration,e.style.animationName=_.current.animationName),c(r)}}),[o.open,r]),(0,Qf.createElement)(M.div,j({"data-state":Zf(o.open),"data-disabled":o.disabled?``:void 0,id:o.contentId,hidden:!h},a,{ref:u,style:{"--radix-collapsible-content-height":f?`${f}px`:void 0,"--radix-collapsible-content-width":m?`${m}px`:void 0,...e.style}}),h&&i)})),lp=ip,up=ap,dp=sp}));function pp(e){return e?`open`:`closed`}var mp,hp,gp,_p,vp,yp,bp,xp,Sp,Cp,wp,Tp,Ep,Dp,Op,kp,Ap,jp,Mp,Np,Pp,Fp,Ip,Lp,Rp,zp,Bp,Vp,Hp,Up,Wp,Gp,Kp=o((()=>{xe(),mp=u(f(),1),dn(),Dn(),Te(),sn(),_n(),Ie(),fp(),hr(),jn(),hp=`Accordion`,gp=[`Home`,`End`,`ArrowDown`,`ArrowUp`,`ArrowLeft`,`ArrowRight`],[_p,vp,yp]=Tn(hp),[bp,xp]=cn(hp,[yp,tp]),Sp=tp(),Cp=mp.forwardRef(((e,t)=>{let{type:n,...r}=e,i=r,a=r;return mp.createElement(_p.Provider,{scope:e.__scopeAccordion},n===`multiple`?mp.createElement(kp,j({},a,{ref:t})):mp.createElement(Op,j({},i,{ref:t})))})),Cp.propTypes={type(e){let t=e.value||e.defaultValue;return e.type&&![`single`,`multiple`].includes(e.type)?Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):e.type===`multiple`&&typeof t==`string`?Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):e.type===`single`&&Array.isArray(t)?Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}},[wp,Tp]=bp(hp),[Ep,Dp]=bp(hp,{collapsible:!1}),Op=mp.forwardRef(((e,t)=>{let{value:n,defaultValue:r,onValueChange:i=(()=>{}),collapsible:a=!1,...o}=e,[s,c]=hn({prop:n,defaultProp:r,onChange:i});return mp.createElement(wp,{scope:e.__scopeAccordion,value:s?[s]:[],onItemOpen:c,onItemClose:mp.useCallback((()=>a&&c(``)),[a,c])},mp.createElement(Ep,{scope:e.__scopeAccordion,collapsible:a},mp.createElement(Mp,j({},o,{ref:t}))))})),kp=mp.forwardRef(((e,t)=>{let{value:n,defaultValue:r,onValueChange:i=(()=>{}),...a}=e,[o=[],s]=hn({prop:n,defaultProp:r,onChange:i}),c=mp.useCallback((e=>s(((t=[])=>[...t,e]))),[s]),l=mp.useCallback((e=>s(((t=[])=>t.filter((t=>t!==e))))),[s]);return mp.createElement(wp,{scope:e.__scopeAccordion,value:o,onItemOpen:c,onItemClose:l},mp.createElement(Ep,{scope:e.__scopeAccordion,collapsible:!0},mp.createElement(Mp,j({},a,{ref:t}))))})),[Ap,jp]=bp(hp),Mp=mp.forwardRef(((e,t)=>{let{__scopeAccordion:n,disabled:r,dir:i,orientation:a=`vertical`,...o}=e,s=Ce(mp.useRef(null),t),c=vp(n),l=On(i)===`ltr`,u=F(e.onKeyDown,(e=>{var t;if(!gp.includes(e.key))return;let n=e.target,r=c().filter((e=>{var t;return!((t=e.ref.current)!=null&&t.disabled)})),i=r.findIndex((e=>e.ref.current===n)),o=r.length;if(i===-1)return;e.preventDefault();let s=i,u=o-1,d=()=>{s=i+1,s>u&&(s=0)},f=()=>{s=i-1,s<0&&(s=u)};switch(e.key){case`Home`:s=0;break;case`End`:s=u;break;case`ArrowRight`:a===`horizontal`&&(l?d():f());break;case`ArrowDown`:a===`vertical`&&d();break;case`ArrowLeft`:a===`horizontal`&&(l?f():d());break;case`ArrowUp`:a===`vertical`&&f()}(t=r[s%o].ref.current)==null||t.focus()}));return mp.createElement(Ap,{scope:n,disabled:r,direction:i,orientation:a},mp.createElement(_p.Slot,{scope:n},mp.createElement(M.div,j({},o,{"data-orientation":a,ref:s,onKeyDown:r?void 0:u}))))})),Np=`AccordionItem`,[Pp,Fp]=bp(Np),Ip=mp.forwardRef(((e,t)=>{let{__scopeAccordion:n,value:r,...i}=e,a=jp(Np,n),o=Tp(Np,n),s=Sp(n),c=dr(),l=r&&o.value.includes(r)||!1,u=a.disabled||e.disabled;return mp.createElement(Pp,{scope:n,open:l,disabled:u,triggerId:c},mp.createElement(lp,j({"data-orientation":a.orientation,"data-state":pp(l)},s,i,{ref:t,disabled:u,open:l,onOpenChange:e=>{e?o.onItemOpen(r):o.onItemClose(r)}})))})),Lp=mp.forwardRef(((e,t)=>{let{__scopeAccordion:n,...r}=e,i=jp(hp,n),a=Fp(`AccordionHeader`,n);return mp.createElement(M.h3,j({"data-orientation":i.orientation,"data-state":pp(a.open),"data-disabled":a.disabled?``:void 0},r,{ref:t}))})),Rp=`AccordionTrigger`,zp=mp.forwardRef(((e,t)=>{let{__scopeAccordion:n,...r}=e,i=jp(hp,n),a=Fp(Rp,n),o=Dp(Rp,n),s=Sp(n);return mp.createElement(_p.ItemSlot,{scope:n},mp.createElement(up,j({"aria-disabled":a.open&&!o.collapsible||void 0,"data-orientation":i.orientation,id:a.triggerId},s,r,{ref:t})))})),Bp=mp.forwardRef(((e,t)=>{let{__scopeAccordion:n,...r}=e,i=jp(hp,n),a=Fp(`AccordionContent`,n),o=Sp(n);return mp.createElement(dp,j({role:`region`,"aria-labelledby":a.triggerId,"data-orientation":i.orientation},o,r,{ref:t,style:{"--radix-accordion-content-height":`var(--radix-collapsible-content-height)`,"--radix-accordion-content-width":`var(--radix-collapsible-content-width)`,...e.style}}))})),Vp=Cp,Hp=Ip,Up=Lp,Wp=zp,Gp=Bp})),qp,Jp,Yp,Xp,Zp,Qp,$p=o((()=>{be(),qp=y(),Jp=u(f(),1),Kp(),Hl(),Nt(),Yp=Vp,Xp=Jp.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,qp.jsx)(Hp,Object.assign({ref:t,className:P(`border-b`,n)},r))})),Xp.displayName=`AccordionItem`,Zp=Jp.forwardRef(((e,t)=>{var{className:n,children:r}=e,i=A(e,[`className`,`children`]);return(0,qp.jsx)(Up,Object.assign({className:`flex`},{children:(0,qp.jsxs)(Wp,Object.assign({ref:t,className:P(`flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180`,n)},i,{children:[r,(0,qp.jsx)(Fl,{className:`h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200`})]}))}))})),Zp.displayName=Wp.displayName,Qp=Jp.forwardRef(((e,t)=>{var{className:n,children:r}=e,i=A(e,[`className`,`children`]);return(0,qp.jsx)(Gp,Object.assign({ref:t,className:`overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down`},i,{children:(0,qp.jsx)(`div`,Object.assign({className:P(`pb-4 pt-0`,n)},{children:r}))}))})),Qp.displayName=Gp.displayName}));function em(e){return(0,nm.isValidElement)(e)&&e.type===am}function tm(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{a(...e),i(...e)}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}var nm,rm,im,am,om=o((()=>{xe(),nm=u(f(),1),Te(),rm=(0,nm.forwardRef)(((e,t)=>{let{children:n,...r}=e,i=nm.Children.toArray(n),a=i.find(em);if(a){let e=a.props.children,n=i.map((t=>t===a?nm.Children.count(e)>1?nm.Children.only(null):(0,nm.isValidElement)(e)?e.props.children:null:t));return(0,nm.createElement)(im,j({},r,{ref:t}),(0,nm.isValidElement)(e)?(0,nm.cloneElement)(e,void 0,n):null)}return(0,nm.createElement)(im,j({},r,{ref:t}),n)})),rm.displayName=`Slot`,im=(0,nm.forwardRef)(((e,t)=>{let{children:n,...r}=e;return(0,nm.isValidElement)(n)?(0,nm.cloneElement)(n,{...tm(r,n.props),ref:t?Se(t,n.ref):n.ref}):nm.Children.count(n)>1?nm.Children.only(null):null})),im.displayName=`SlotClone`,am=({children:e})=>(0,nm.createElement)(nm.Fragment,null,e)}));function sm(e){return e?`open`:`closed`}var Y,cm,lm,um,dm,fm,pm,mm,hm,gm,_m,vm,ym,bm,xm,Sm,Cm,wm,Tm,Em,Dm,Om,km,Am,jm,Mm,Nm,Pm,Fm,Im=o((()=>{xe(),Y=u(f(),1),sn(),Te(),dn(),hr(),_n(),Wn(),sr(),ga(),xa(),Ie(),Yn(),gs(),to(),om(),cm=`Dialog`,[lm,um]=cn(cm),[dm,fm]=lm(cm),pm=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!0}=e,s=(0,Y.useRef)(null),c=(0,Y.useRef)(null),[l=!1,u]=hn({prop:r,defaultProp:i,onChange:a});return(0,Y.createElement)(dm,{scope:t,triggerRef:s,contentRef:c,contentId:dr(),titleId:dr(),descriptionId:dr(),open:l,onOpenChange:u,onOpenToggle:(0,Y.useCallback)((()=>u((e=>!e))),[u]),modal:o},n)},(0,Y.forwardRef)(((e,t)=>{let{__scopeDialog:n,...r}=e,i=fm(`DialogTrigger`,n),a=Ce(t,i.triggerRef);return(0,Y.createElement)(M.button,j({type:`button`,"aria-haspopup":`dialog`,"aria-expanded":i.open,"aria-controls":i.contentId,"data-state":sm(i.open)},r,{ref:a,onClick:F(e.onClick,i.onOpenToggle)}))})),mm=`DialogPortal`,[hm,gm]=lm(mm,{forceMount:void 0}),_m=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=fm(mm,t);return(0,Y.createElement)(hm,{scope:t,forceMount:n},Y.Children.map(r,(e=>(0,Y.createElement)(ba,{present:n||a.open},(0,Y.createElement)(ha,{asChild:!0,container:i},e)))))},vm=`DialogOverlay`,ym=(0,Y.forwardRef)(((e,t)=>{let n=gm(vm,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=fm(vm,e.__scopeDialog);return a.modal?(0,Y.createElement)(ba,{present:r||a.open},(0,Y.createElement)(bm,j({},i,{ref:t}))):null})),bm=(0,Y.forwardRef)(((e,t)=>{let{__scopeDialog:n,...r}=e,i=fm(vm,n);return(0,Y.createElement)(hs,{as:rm,allowPinchZoom:!0,shards:[i.contentRef]},(0,Y.createElement)(M.div,j({"data-state":sm(i.open)},r,{ref:t,style:{pointerEvents:`auto`,...r.style}})))})),xm=`DialogContent`,Sm=(0,Y.forwardRef)(((e,t)=>{let n=gm(xm,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=fm(xm,e.__scopeDialog);return(0,Y.createElement)(ba,{present:r||a.open},a.modal?(0,Y.createElement)(Cm,j({},i,{ref:t})):(0,Y.createElement)(wm,j({},i,{ref:t})))})),Cm=(0,Y.forwardRef)(((e,t)=>{let n=fm(xm,e.__scopeDialog),r=(0,Y.useRef)(null),i=Ce(t,n.contentRef,r);return(0,Y.useEffect)((()=>{let e=r.current;if(e)return eo(e)}),[]),(0,Y.createElement)(Tm,j({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:F(e.onCloseAutoFocus,(e=>{var t;e.preventDefault(),(t=n.triggerRef.current)==null||t.focus()})),onPointerDownOutside:F(e.onPointerDownOutside,(e=>{let t=e.detail.originalEvent,n=t.button===0&&!0===t.ctrlKey;(t.button===2||n)&&e.preventDefault()})),onFocusOutside:F(e.onFocusOutside,(e=>e.preventDefault()))}))})),wm=(0,Y.forwardRef)(((e,t)=>{let n=fm(xm,e.__scopeDialog),r=(0,Y.useRef)(!1),i=(0,Y.useRef)(!1);return(0,Y.createElement)(Tm,j({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var a,o;((a=e.onCloseAutoFocus)==null||a.call(e,t),t.defaultPrevented)||(r.current||(o=n.triggerRef.current)==null||o.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{var a,o;(a=e.onInteractOutside)==null||a.call(e,t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let s=t.target;(o=n.triggerRef.current)!=null&&o.contains(s)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}}))})),Tm=(0,Y.forwardRef)(((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...o}=e,s=fm(xm,n),c=Ce(t,(0,Y.useRef)(null));return Gn(),(0,Y.createElement)(Y.Fragment,null,(0,Y.createElement)(ar,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a},(0,Y.createElement)(Un,j({role:`dialog`,id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":sm(s.open)},o,{ref:c,onDismiss:()=>s.onOpenChange(!1)}))),!1)})),Em=(0,Y.forwardRef)(((e,t)=>{let{__scopeDialog:n,...r}=e,i=fm(`DialogTitle`,n);return(0,Y.createElement)(M.h2,j({id:i.titleId},r,{ref:t}))})),Dm=(0,Y.forwardRef)(((e,t)=>{let{__scopeDialog:n,...r}=e,i=fm(`DialogDescription`,n);return(0,Y.createElement)(M.p,j({id:i.descriptionId},r,{ref:t}))})),Om=(0,Y.forwardRef)(((e,t)=>{let{__scopeDialog:n,...r}=e,i=fm(`DialogClose`,n);return(0,Y.createElement)(M.button,j({type:`button`},r,{ref:t,onClick:F(e.onClick,(()=>i.onOpenChange(!1)))}))})),km=pm,Am=_m,jm=ym,Mm=Sm,Nm=Em,Pm=Dm,Fm=Om})),Lm,Rm,zm,Bm,Vm,Hm,Um,Wm,Gm,Km,qm=o((()=>{be(),Lm=y(),Rm=u(f(),1),Im(),Hl(),Nt(),zm=km,Bm=Am,Vm=Rm.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,Lm.jsx)(Lm.Fragment,{children:(0,Lm.jsx)(jm,Object.assign({ref:t,className:P(`fixed`,`inset-0 z-50`,`bg-black/40`,`data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`,n)},r))})})),Vm.displayName=jm.displayName,Hm=Rm.forwardRef(((e,t)=>{var{className:n,children:r,isDismissable:i=!0,isBottomDialog:a=!1}=e,o=A(e,[`className`,`children`,`isDismissable`,`isBottomDialog`]);let s=[`max-w-lg`,`left-[50%] top-[50%]`,`translate-x-[-50%] translate-y-[-50%]`,`sm:rounded-lg`,`shadow-lg`,`data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0`,`data-[state=open]:zoom-in-95 data-[state=closed]:zoom-out-95`,`data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]`,`data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%]`].join(` `),c=[`left-0 bottom-0`,`w-full max-w-none`,`data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom`].join(` `);return(0,Lm.jsxs)(Bm,{children:[(0,Lm.jsx)(Vm,{}),(0,Lm.jsxs)(Mm,Object.assign({ref:t,className:P([`z-50`,`fixed`,`grid gap-4 p-6`,`border`,`bg-background`,`duration-200`,`data-[state=open]:animate-in data-[state=closed]:animate-out`],a?c:s,n),onInteractOutside:e=>{i||e.preventDefault()},onEscapeKeyDown:e=>{i||e.preventDefault()}},o,{children:[r,i&&(0,Lm.jsxs)(Fm,Object.assign({className:`absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground`},{children:[(0,Lm.jsx)(Bl,{className:`h-4 w-4`}),(0,Lm.jsx)(`span`,Object.assign({className:`sr-only`},{children:`Close`}))]}))]}))]})})),Hm.displayName=Mm.displayName,Um=e=>{var{className:t}=e,n=A(e,[`className`]);return(0,Lm.jsx)(`div`,Object.assign({className:P(`flex flex-col space-y-1.5 text-center sm:text-left`,t)},n))},Um.displayName=`DialogHeader`,Wm=e=>{var{className:t}=e,n=A(e,[`className`]);return(0,Lm.jsx)(`div`,Object.assign({className:P(`flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2`,t)},n))},Wm.displayName=`DialogFooter`,Gm=Rm.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,Lm.jsx)(Nm,Object.assign({ref:t,className:P(`text-lg font-semibold leading-none tracking-tight`,n)},r))})),Gm.displayName=Nm.displayName,Km=Rm.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,Lm.jsx)(Pm,Object.assign({ref:t,className:P(`text-sm text-muted-foreground`,n)},r))})),Km.displayName=Pm.displayName}));function Jm(e){if(e instanceof Date)return new Date(e);let t=typeof FileList<`u`&&e instanceof FileList;if(yh&&(e instanceof Blob||t))return e;let n=Array.isArray(e);if(!n&&!(hh(e)&&vh(e)))return e;let r=n?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=Jm(e[t]));return r}function Ym(e){let t=Nh(),{control:n=t,disabled:r,name:i,exact:a}=e||{},[o,s]=X.useState(n._formState),c=X.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return Fh(()=>n._subscribe({name:i,formState:c.current,exact:a,callback:e=>{!r&&s({...n._formState,...e})}}),[i,r,a]),X.useEffect(()=>{c.current.isValid&&n._setValid(!0)},[n]),X.useMemo(()=>Ph(o,n,c.current,!1),[o,n])}function Xm(e,t,n=new WeakSet){if(e===t)return!0;if(Rh(e)||Rh(t))return Object.is(e,t);if(fh(e)&&fh(t))return Object.is(e.getTime(),t.getTime());let r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;if(n.has(e)||n.has(t))return!0;n.add(e),n.add(t);for(let i of r){let r=e[i];if(!(i in t))return!1;if(i!==`ref`){let e=t[i];if(fh(r)&&fh(e)||(hh(r)||Array.isArray(r))&&(hh(e)||Array.isArray(e))?!Xm(r,e,n):!Object.is(r,e))return!1}}return!0}function Zm(e){let t=Nh(),{control:n=t,name:r,defaultValue:i,disabled:a,exact:o,compute:s}=e||{},c=X.useRef(i),l=X.useRef(s),u=X.useRef(void 0),d=X.useRef(n),f=X.useRef(r);l.current=s;let[p,m]=X.useState(()=>{let e=n._getWatch(r,c.current);return l.current?l.current(e):e}),h=X.useCallback(e=>{let t=Lh(r,n._names,e||n._formValues,!1,c.current);return l.current?l.current(t):t},[n._formValues,n._names,r]),g=X.useCallback(e=>{if(!a){let t=Lh(r,n._names,e||n._formValues,!1,c.current);if(l.current){let e=l.current(t);Xm(e,u.current)||(m(e),u.current=e)}else m(t)}},[n._formValues,n._names,a,r]);Fh(()=>((d.current!==n||!Xm(f.current,r))&&(d.current=n,f.current=r,g()),n._subscribe({name:r,formState:{values:!0},exact:o,callback:e=>{g(e.values)}})),[n,o,r,g]),X.useEffect(()=>n._removeUnmounted());let _=d.current!==n,v=f.current,y=X.useMemo(()=>{if(a)return null;let e=!_&&!Xm(v,r);return _||e?h():null},[a,_,r,v,h]);return y===null?p:y}function Qm(e){let t=Nh(),{name:n,disabled:r,control:i=t,shouldUnregister:a,defaultValue:o,exact:s=!0}=e,c=_h(i._names.array,n),l=Zm({control:i,name:n,defaultValue:X.useMemo(()=>Z(i._formValues,n,Z(i._defaultValues,n,o)),[i,n,o]),exact:s}),u=Ym({control:i,name:n,exact:s}),d=X.useRef(e),f=X.useRef(void 0),p=X.useRef(i.register(n,{...e.rules,value:l,...wh(e.disabled)?{disabled:e.disabled}:{}}));d.current=e;let m=X.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Z(u.errors,n)},isDirty:{enumerable:!0,get:()=>!!Z(u.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!Z(u.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!Z(u.validatingFields,n)},error:{enumerable:!0,get:()=>Z(u.errors,n)}}),[u,n]),h=X.useCallback(e=>p.current.onChange({target:{value:gh(e),name:n},type:Dh.CHANGE}),[n]),g=X.useCallback(()=>p.current.onBlur({target:{value:Z(i._formValues,n),name:n},type:Dh.BLUR}),[n,i._formValues]),_=X.useCallback(e=>{let t=Z(i._fields,n);t&&t._f&&e&&(t._f.ref={focus:()=>Th(e.focus)&&e.focus(),select:()=>Th(e.select)&&e.select(),setCustomValidity:t=>Th(e.setCustomValidity)&&e.setCustomValidity(t),reportValidity:()=>Th(e.reportValidity)&&e.reportValidity()})},[i._fields,n]),v=X.useMemo(()=>({name:n,value:l,...wh(r)||u.disabled?{disabled:u.disabled||r}:{},onChange:h,onBlur:g,ref:_}),[n,r,u.disabled,h,g,_,l]);return X.useEffect(()=>{let e=i._options.shouldUnregister||a,t=f.current;t&&t!==n&&!c&&i.unregister(t),i.register(n,{...d.current.rules,...wh(d.current.disabled)?{disabled:d.current.disabled}:{}});let r=(e,t)=>{let n=Z(i._fields,e);n&&n._f&&(n._f.mount=t)};if(r(n,!0),e){let e=Jm(Z(i._options.defaultValues,n,d.current.defaultValue));Eh(i._defaultValues,n,e),xh(Z(i._formValues,n))&&Eh(i._formValues,n,e)}return!c&&i.register(n),f.current=n,()=>{(c?e&&!i._state.action:e)?i.unregister(n):r(n,!1)}},[n,i,c,a]),X.useEffect(()=>{i._setDisabledField({disabled:r,name:n})},[r,n,i]),X.useMemo(()=>({field:v,formState:u,fieldState:m}),[v,u,m])}function $m(e,t){let n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],a=t[r];if(i&&hh(i)&&a){let e=$m(i,a);hh(e)&&(n[r]=e)}else e[r]&&(n[r]=a)}return n}function eh(e,t){let n=t.slice(0,-1).length,r=0;for(;re):dh(t)?ng(e.refs).value:rg(xh(t.value)?e.ref.value:t.value,e)}function sh(e,t,n){let r=Z(e,n);if(r||bh(n))return{error:r,name:n};let i=n.split(`.`);for(;i.length;){let r=i.join(`.`),a=Z(t,r),o=Z(e,r);if(a&&!Array.isArray(a)&&n!==r)return{name:n};if(o&&o.type)return{name:r,error:o};if(o&&o.root&&o.root.type)return{name:`${r}.root`,error:o.root};i.pop()}return{name:n}}function ch(e,t,n=`validate`){if(Ih(e)||Array.isArray(e)&&e.every(Ih)||wh(e)&&!e)return{type:n,message:Ih(e)?e:``,ref:t}}function lh(e={}){let t={...Cg,...e},n={submitCount:0,isDirty:!1,isReady:!1,isLoading:Th(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},r={},i=(hh(t.defaultValues)||hh(t.values))&&Jm(t.defaultValues||t.values)||{},a=t.shouldUnregister?{}:Jm(i),o={action:!1,mount:!1,watch:!1,keepIsValid:!1},s={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},c,l=0,u={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},d={...u},f={...d},p={array:Gh(),state:Gh()},m=t.criteriaMode===Oh.all,h=e=>t=>{clearTimeout(l),l=setTimeout(e,t)},g=async e=>{if(!o.keepIsValid&&!t.disabled&&(d.isValid||f.isValid||e)){let e;t.resolver?(e=Kh((await w()).errors),_()):e=await E({fields:r,onlyCheckValid:!0,eventType:Dh.VALID}),e!==n.isValid&&p.state.next({isValid:e})}},_=(e,r)=>{!t.disabled&&(d.isValidating||d.validatingFields||f.isValidating||f.validatingFields)&&((e||Array.from(s.mount)).forEach(e=>{e&&(r?Eh(n.validatingFields,e,r):nh(n.validatingFields,e))}),p.state.next({validatingFields:n.validatingFields,isValidating:!Kh(n.validatingFields)}))},v=e=>{let t=ah(i,a),r=og(e);Eh(n.dirtyFields,r,Z(t,r))},y=(e,i=[],s,c,l=!0,u=!0)=>{if(c&&s&&!t.disabled){if(o.action=!0,u&&Array.isArray(Z(r,e))){let t=s(Z(r,e),c.argA,c.argB);l&&Eh(r,e,t)}if(u&&Array.isArray(Z(n.errors,e))){let t=s(Z(n.errors,e),c.argA,c.argB);l&&Eh(n.errors,e,t),yg(n.errors,e)}if((d.touchedFields||f.touchedFields)&&u&&Array.isArray(Z(n.touchedFields,e))){let t=s(Z(n.touchedFields,e),c.argA,c.argB);l&&Eh(n.touchedFields,e,t)}(d.dirtyFields||f.dirtyFields)&&v(e),p.state.next({name:e,isDirty:O(e,i),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else Eh(a,e,i)},b=(e,t)=>{Eh(n.errors,e,t),p.state.next({errors:n.errors})},x=e=>{n.errors=e,p.state.next({errors:n.errors,isValid:!1})},S=(e,t,n,s)=>{let c=Z(r,e);if(c){let r=Z(a,e,xh(n)?Z(i,e):n);xh(r)||s&&s.defaultChecked||t?Eh(a,e,t?r:oh(c._f)):ie(e,r),o.mount&&!o.action&&g()}},C=(e,r,a,o,s)=>{let c=!1,l=!1,u={name:e};if(!t.disabled){if(!a||o){(d.isDirty||f.isDirty)&&(l=n.isDirty,n.isDirty=u.isDirty=O(),c=l!==u.isDirty);let t=Xm(Z(i,e),r);l=!!Z(n.dirtyFields,e),t?nh(n.dirtyFields,e):Eh(n.dirtyFields,e,!0),u.dirtyFields=n.dirtyFields,c=c||(d.dirtyFields||f.dirtyFields)&&l!==!t}if(a){let t=Z(n.touchedFields,e);t||(Eh(n.touchedFields,e,a),u.touchedFields=n.touchedFields,c=c||(d.touchedFields||f.touchedFields)&&t!==a)}c&&s&&p.state.next(u)}return c?u:{}},ee=(e,r,i,a)=>{let o=Z(n.errors,e),s=(d.isValid||f.isValid)&&wh(r)&&n.isValid!==r;if(t.delayError&&i?(c=h(()=>b(e,i)),c(t.delayError)):(clearTimeout(l),c=null,i?Eh(n.errors,e,i):nh(n.errors,e)),(i?!Xm(o,i):o)||!Kh(a)||s){let t={...a,...s&&wh(r)?{isValid:r}:{},errors:n.errors,name:e};n={...n,...t},p.state.next(t)}},w=async e=>(_(e,!0),await t.resolver(a,t.context,sg(e||s.mount,r,t.criteriaMode,t.shouldUseNativeValidation))),T=async e=>{let{errors:t}=await w(e);if(_(e),e)for(let r of e){let e=Z(t,r);e?Eh(n.errors,r,e):nh(n.errors,r)}else n.errors=t;return t},te=async({name:t,eventType:r})=>{if(e.validate){let i=await e.validate({formValues:a,formState:n,name:t,eventType:r});if(hh(i))for(let e in i)i[e]&&fe(`${Ah}.${e}`,{message:Ih(i.message)?i.message:``,type:kh.validate});else Ih(i)||!i?fe(Ah,{message:i||``,type:kh.validate}):de(Ah);return i}return!0},E=async({fields:r,onlyCheckValid:i,name:o,eventType:c,context:l={valid:!0,runRootValidation:!1}})=>{if(e.validate&&(l.runRootValidation=!0,!await te({name:o,eventType:c})&&(l.valid=!1,i)))return l.valid;for(let o in r){let u=r[o];if(u){let{_f:r,...f}=u;if(r){let o=s.array.has(r.name),c=u._f&&fg(u._f);c&&d.validatingFields&&_([r.name],!0);let f=await Sg(u,s.disabled,a,m,t.shouldUseNativeValidation&&!i,o);if(c&&d.validatingFields&&_([r.name]),f[r.name]&&(l.valid=!1,i)||(!i&&(Z(f,r.name)?o?bg(n.errors,f,r.name):Eh(n.errors,r.name,f[r.name]):nh(n.errors,r.name)),e.shouldUseNativeValidation&&f[r.name]))break}!Kh(f)&&await E({context:l,onlyCheckValid:i,fields:f,name:o,eventType:c})}}return l.valid},D=()=>{for(let e of s.unMount){let t=Z(r,e);t&&(t._f.refs?t._f.refs.every(e=>!Qh(e)):!Qh(t._f.ref))&&ge(e)}s.unMount=new Set},O=(e,n)=>!t.disabled&&(e&&n&&Eh(a,e,n),!Xm(le(),i)),ne=(e,t,n)=>Lh(e,s,{...o.mount?a:xh(t)?i:Ih(e)?{[e]:t}:t},n,t),re=e=>Sh(Z(o.mount?a:i,e,t.shouldUnregister?Z(i,e,[]):[])),ie=(e,t,n={})=>{let i=Z(r,e),o=t;if(i){let n=i._f;n&&(!n.disabled&&Eh(a,e,rg(t,n)),o=Jh(n.ref)&&ph(t)?``:t,Yh(n.ref)?[...n.ref.options].forEach(e=>e.selected=o.includes(e.value)):n.refs?dh(n.ref)?n.refs.forEach(e=>{(!e.defaultChecked||!e.disabled)&&(Array.isArray(o)?e.checked=!!o.find(t=>t===e.value):e.checked=o===e.value||!!o)}):n.refs.forEach(e=>e.checked=e.value===o):qh(n.ref)?n.ref.value=``:(n.ref.value=o,n.ref.type||p.state.next({name:e,values:Jm(a)})))}(n.shouldDirty||n.shouldTouch)&&C(e,o,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&ce(e)},k=(e,t,n)=>{for(let i in t){if(!t.hasOwnProperty(i))return;let a=t[i],o=e+`.`+i,c=Z(r,o);(s.array.has(e)||hh(a)||c&&!c._f)&&!fh(a)?k(o,a,n):ie(o,a,n)}},ae=(e,t,i={})=>{let c=Z(r,e),l=s.array.has(e),u=Jm(t),d=Xm(Z(a,e),u);if(Eh(a,e,u),l)p.array.next({name:e,values:Jm(a)}),i.shouldDirty&&(v(e),p.state.next({name:e,dirtyFields:n.dirtyFields,isDirty:O(e,u)}));else{let t=Array.isArray(u)&&!u.length||Kh(u);!c||c._f||ph(u)||t?ie(e,u,i):k(e,u,i)}d||(mg(e,s)?p.state.next({...n,name:e,values:Jm(a)}):p.state.next({name:o.mount?e:void 0,values:Jm(a)}))},oe=async i=>{o.mount=!0;let l=i.target,u=l.name,h=!0,v=Z(r,u),y=e=>{h=Number.isNaN(e)||fh(e)&&isNaN(e.getTime())||Xm(e,Z(a,u,e))},b=ug(t.mode),x=ug(t.reValidateMode);if(v){let o,S,T=l.type?oh(v._f):gh(i),D=i.type===Dh.BLUR||i.type===Dh.FOCUS_OUT,O=!pg(v._f)&&!e.validate&&!t.resolver&&!Z(n.errors,u)&&!v._f.deps||vg(D,Z(n.touchedFields,u),n.isSubmitted,x,b),ne=mg(u,s,D);Eh(a,u,T),D?(!l||!l.readOnly)&&(v._f.onBlur&&v._f.onBlur(i),c&&c(0)):v._f.onChange&&v._f.onChange(i);let re=C(u,T,D),ie=!Kh(re)||ne;if(!D&&p.state.next({name:u,type:i.type,values:Jm(a)}),O)return(d.isValid||f.isValid)&&(t.mode===`onBlur`?D&&g():D||g()),ie&&p.state.next({name:u,...ne?{}:re});if(!t.resolver&&e.validate&&await te({name:u,eventType:i.type}),!D&&ne&&p.state.next({...n}),t.resolver){let{errors:e}=await w([u]);if(_([u]),y(T),h){let t=sh(n.errors,r,u),i=sh(e,r,t.name||u);o=i.error,u=i.name,S=Kh(e)}}else _([u],!0),o=(await Sg(v,s.disabled,a,m,t.shouldUseNativeValidation))[u],_([u]),y(T),h&&(o?S=!1:(d.isValid||f.isValid)&&(S=await E({fields:r,onlyCheckValid:!0,name:u,eventType:i.type})));h&&(v._f.deps&&(!Array.isArray(v._f.deps)||v._f.deps.length>0)&&ce(v._f.deps),ee(u,S,o,re))}},se=(e,t)=>{if(Z(n.errors,t)&&e.focus)return e.focus(),1},ce=async(e,i={})=>{let a,o,c=Wh(e);if(t.resolver){let t=await T(xh(e)?e:c);a=Kh(t),o=e?!c.some(e=>Z(t,e)):a}else e?(o=(await Promise.all(c.map(async e=>{let t=Z(r,e);return await E({fields:t&&t._f?{[e]:t}:t,eventType:Dh.TRIGGER})}))).every(Boolean),!(!o&&!n.isValid)&&g()):o=a=await E({fields:r,name:e,eventType:Dh.TRIGGER});return p.state.next({...!Ih(e)||(d.isValid||f.isValid)&&a!==n.isValid?{}:{name:e},...t.resolver||!e?{isValid:a}:{},errors:n.errors}),i.shouldFocus&&!o&&hg(r,se,e?c:s.mount),o},le=(e,t)=>{let r={...o.mount?a:i};return t&&(r=$m(t.dirtyFields?n.dirtyFields:n.touchedFields,r)),xh(e)?r:Ih(e)?Z(r,e):e.map(e=>Z(r,e))},ue=(e,t)=>({invalid:!!Z((t||n).errors,e),isDirty:!!Z((t||n).dirtyFields,e),error:Z((t||n).errors,e),isValidating:!!Z(n.validatingFields,e),isTouched:!!Z((t||n).touchedFields,e)}),de=e=>{let t=e?Wh(e):void 0;t?.forEach(e=>nh(n.errors,e)),t?t.forEach(e=>{p.state.next({name:e,errors:n.errors})}):p.state.next({errors:{}})},fe=(e,t,i)=>{let a=(Z(r,e,{_f:{}})._f||{}).ref,{ref:o,message:s,type:c,...l}=Z(n.errors,e)||{};Eh(n.errors,e,{...l,...t,ref:a}),p.state.next({name:e,errors:n.errors,isValid:!1}),i&&i.shouldFocus&&a&&a.focus&&a.focus()},pe=(e,t)=>Th(e)?p.state.subscribe({next:n=>`values`in n&&e(n.values||ne(void 0,t),n)}):ne(e,t,!0),me=e=>p.state.subscribe({next:t=>{if(_g(e.name,t.name,e.exact)&&gg(t,e.formState||d,we,e.reRenderRoot)){let r={...a};e.callback({values:r,...n,...t,defaultValues:i})}}}).unsubscribe,he=e=>(o.mount=!0,f={...f,...e.formState},me({...e,formState:{...u,...e.formState}})),ge=(e,o={})=>{for(let c of e?Wh(e):s.mount)s.mount.delete(c),s.array.delete(c),o.keepValue||(nh(r,c),nh(a,c)),!o.keepError&&nh(n.errors,c),!o.keepDirty&&nh(n.dirtyFields,c),!o.keepTouched&&nh(n.touchedFields,c),!o.keepIsValidating&&nh(n.validatingFields,c),!t.shouldUnregister&&!o.keepDefaultValue&&nh(i,c);p.state.next({values:Jm(a)}),p.state.next({...n,...o.keepDirty?{isDirty:O()}:{}}),!o.keepIsValid&&g()},_e=({disabled:e,name:t})=>{if(wh(e)&&o.mount||e||s.disabled.has(t)){let n=s.disabled.has(t)!==!!e;e?s.disabled.add(t):s.disabled.delete(t),n&&o.mount&&!o.action&&g()}},A=(e,n={})=>{let a=Z(r,e),c=wh(n.disabled)||wh(t.disabled),l=!s.registerName.has(e)&&a&&a._f&&!a._f.mount;return Eh(r,e,{...a||{},_f:{...a&&a._f?a._f:{ref:{name:e}},name:e,mount:!0,...n}}),s.mount.add(e),a&&!l?_e({disabled:wh(n.disabled)?n.disabled:t.disabled,name:e}):S(e,!0,n.value),{...c?{disabled:n.disabled||t.disabled}:{},...t.progressive?{required:!!n.required,min:lg(n.min),max:lg(n.max),minLength:lg(n.minLength),maxLength:lg(n.maxLength),pattern:lg(n.pattern)}:{},name:e,onChange:oe,onBlur:oe,ref:c=>{if(c){s.registerName.add(e),A(e,n),s.registerName.delete(e),a=Z(r,e);let t=xh(c.value)&&c.querySelectorAll&&c.querySelectorAll(`input,select,textarea`)[0]||c,o=Zh(t),l=a._f.refs||[];if(o?l.find(e=>e===t):t===a._f.ref)return;Eh(r,e,{_f:{...a._f,...o?{refs:[...l.filter(Qh),t,...Array.isArray(Z(i,e))?[{}]:[]],ref:{type:t.type,name:e}}:{ref:t}}}),S(e,!1,void 0,t)}else a=Z(r,e,{}),a._f&&(a._f.mount=!1),(t.shouldUnregister||n.shouldUnregister)&&!(_h(s.array,e)&&o.action)&&s.unMount.add(e)}}},ve=()=>t.shouldFocusError&&hg(r,se,s.mount),ye=e=>{wh(e)&&(p.state.next({disabled:e}),hg(r,(t,n)=>{let i=Z(r,n);i&&(t.disabled=i._f.disabled||e,Array.isArray(i._f.refs)&&i._f.refs.forEach(t=>{t.disabled=i._f.disabled||e}))},0,!1))},be=(e,i)=>async o=>{let c;o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let l=Jm(a);if(p.state.next({isSubmitting:!0}),t.resolver){let{errors:e,values:t}=await w();_(),n.errors=e,l=Jm(t)}else await E({fields:r,eventType:Dh.SUBMIT});if(s.disabled.size)for(let e of s.disabled)nh(l,e);if(nh(n.errors,jh),Kh(n.errors)){p.state.next({errors:{}});try{await e(l,o)}catch(e){c=e}}else i&&await i({...n.errors},o),ve(),setTimeout(ve);if(p.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Kh(n.errors)&&!c,submitCount:n.submitCount+1,errors:n.errors}),c)throw c},j=(e,t={})=>{Z(r,e)&&(xh(t.defaultValue)?ae(e,Jm(Z(i,e))):(ae(e,t.defaultValue),Eh(i,e,Jm(t.defaultValue))),t.keepTouched||nh(n.touchedFields,e),t.keepDirty||(nh(n.dirtyFields,e),n.isDirty=t.defaultValue?O(e,Jm(Z(i,e))):O()),t.keepError||(nh(n.errors,e),d.isValid&&g()),p.state.next({...n}))},xe=(e,c={})=>{let l=e?Jm(e):i,u=Jm(l),f=Kh(e),m=f?i:u;if(c.keepDefaultValues||(i=l),!c.keepValues){if(c.keepDirtyValues){let e=new Set([...s.mount,...Object.keys(ah(i,a))]);for(let t of Array.from(e)){let e=Z(n.dirtyFields,t),r=Z(a,t),i=Z(m,t);e&&!xh(r)?Eh(m,t,r):!e&&!xh(i)&&ae(t,i)}}else{if(yh&&xh(e))for(let e of s.mount){let t=Z(r,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(Jh(e)){let t=e.closest(`form`);if(t){t.reset();break}}}}if(c.keepFieldsRef)for(let e of s.mount)ae(e,Z(m,e));else r={}}a=t.shouldUnregister?c.keepDefaultValues?Jm(i):{}:Jm(m),p.array.next({values:{...m}}),p.state.next({values:{...m}})}s={mount:c.keepDirtyValues?s.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:``},o.mount=!d.isValid||!!c.keepIsValid||!!c.keepDirtyValues||!t.shouldUnregister&&!Kh(m),o.watch=!!t.shouldUnregister,o.keepIsValid=!!c.keepIsValid,o.action=!1,c.keepErrors||(n.errors={}),p.state.next({submitCount:c.keepSubmitCount?n.submitCount:0,isDirty:f?!1:c.keepDirty?n.isDirty:!!(c.keepDefaultValues&&!Xm(e,i)),isSubmitted:c.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:f?{}:c.keepDirtyValues?c.keepDefaultValues&&a?ah(i,a):n.dirtyFields:c.keepDefaultValues&&e?ah(i,e):c.keepDirty?n.dirtyFields:{},touchedFields:c.keepTouched?n.touchedFields:{},errors:c.keepErrors?n.errors:{},isSubmitSuccessful:c.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:i})},Se=(e,n)=>xe(Th(e)?e(a):e,{...t.resetOptions,...n}),Ce=(e,t={})=>{let n=Z(r,e),i=n&&n._f;if(i){let e=i.refs?i.refs[0]:i.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&Th(e.select)&&e.select()})}},we=e=>{n={...n,...e}},Te={control:{register:A,unregister:ge,getFieldState:ue,handleSubmit:be,setError:fe,_subscribe:me,_runSchema:w,_updateIsValidating:_,_focusError:ve,_getWatch:ne,_getDirty:O,_setValid:g,_setFieldArray:y,_setDisabledField:_e,_setErrors:x,_getFieldArray:re,_reset:xe,_resetDefaultValues:()=>Th(t.defaultValues)&&t.defaultValues().then(e=>{Se(e,t.resetOptions),p.state.next({isLoading:!1})}),_removeUnmounted:D,_disableForm:ye,_subjects:p,_proxyFormState:d,get _fields(){return r},get _formValues(){return a},get _state(){return o},set _state(e){o=e},get _defaultValues(){return i},get _names(){return s},set _names(e){s=e},get _formState(){return n},get _options(){return t},set _options(e){t={...t,...e}}},subscribe:he,trigger:ce,register:A,handleSubmit:be,watch:pe,setValue:ae,getValues:le,reset:Se,resetField:j,clearErrors:de,unregister:ge,setError:fe,setFocus:Ce,getFieldState:ue};return{...Te,formControl:Te}}function uh(e={}){let t=X.useRef(void 0),n=X.useRef(void 0),[r,i]=X.useState({isDirty:!1,isValidating:!1,isLoading:Th(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:Th(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:r},e.defaultValues&&!Th(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:n,...i}=lh(e);t.current={...i,formState:r}}let a=t.current.control;return a._options=e,Fh(()=>{let e=a._subscribe({formState:a._proxyFormState,callback:()=>i({...a._formState}),reRenderRoot:!0});return i(e=>({...e,isReady:!0})),a._formState.isReady=!0,e},[a]),X.useEffect(()=>a._disableForm(e.disabled),[a,e.disabled]),X.useEffect(()=>{e.mode&&(a._options.mode=e.mode),e.reValidateMode&&(a._options.reValidateMode=e.reValidateMode)},[a,e.mode,e.reValidateMode]),X.useEffect(()=>{e.errors&&(a._setErrors(e.errors),a._focusError())},[a,e.errors]),X.useEffect(()=>{e.shouldUnregister&&a._subjects.state.next({values:a._getWatch()})},[a,e.shouldUnregister]),X.useEffect(()=>{if(a._proxyFormState.isDirty){let e=a._getDirty();e!==r.isDirty&&a._subjects.state.next({isDirty:e})}},[a,r.isDirty]),X.useEffect(()=>{e.values&&!Xm(e.values,n.current)?(a._reset(e.values,{keepFieldsRef:!0,...a._options.resetOptions}),a._options.resetOptions?.keepIsValid||a._setValid(),n.current=e.values,i(e=>({...e}))):a._resetDefaultValues()},[a,e.values]),X.useEffect(()=>{a._state.mount||(a._setValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()}),t.current.formState=X.useMemo(()=>Ph(r,a),[a,r]),t.current}var X,dh,fh,ph,mh,hh,gh,_h,vh,yh,bh,xh,Sh,Ch,Z,wh,Th,Eh,Dh,Oh,kh,Ah,jh,Mh,Nh,Ph,Fh,Ih,Lh,Rh,zh,Bh,Vh,Hh,Uh,Wh,Gh,Kh,qh,Jh,Yh,Xh,Zh,Qh,$h,eg,tg,ng,rg,ig,ag,og,sg,cg,lg,ug,dg,fg,pg,mg,hg,gg,_g,vg,yg,bg,xg,Sg,Cg,wg=o((()=>{X=u(f(),1),dh=e=>e.type===`checkbox`,fh=e=>e instanceof Date,ph=e=>e==null,mh=e=>typeof e==`object`,hh=e=>!ph(e)&&!Array.isArray(e)&&mh(e)&&!fh(e),gh=e=>hh(e)&&e.target?dh(e.target)?e.target.checked:e.target.value:e,_h=(e,t)=>t.split(`.`).some((t,n,r)=>!isNaN(Number(t))&&e.has(r.slice(0,n).join(`.`))),vh=e=>{let t=e.constructor&&e.constructor.prototype;return hh(t)&&t.hasOwnProperty(`isPrototypeOf`)},yh=typeof window<`u`&&window.HTMLElement!==void 0&&typeof document<`u`,bh=e=>/^\w*$/.test(e),xh=e=>e===void 0,Sh=e=>Array.isArray(e)?e.filter(Boolean):[],Ch=e=>Sh(e.replace(/["|']|\]/g,``).split(/\.|\[/)),Z=(e,t,n)=>{if(!t||!hh(e))return n;let r=(bh(t)?[t]:Ch(t)).reduce((e,t)=>ph(e)?void 0:e[t],e);return xh(r)||r===e?xh(e[t])?n:e[t]:r},wh=e=>typeof e==`boolean`,Th=e=>typeof e==`function`,Eh=(e,t,n)=>{let r=-1,i=bh(t)?[t]:Ch(t),a=i.length,o=a-1;for(;++rX.useContext(Mh),Ph=(e,t,n,r=!0)=>{let i={defaultValues:t._defaultValues};for(let a in e)Object.defineProperty(i,a,{get:()=>{let i=a;return t._proxyFormState[i]!==Oh.all&&(t._proxyFormState[i]=!r||Oh.all),n&&(n[i]=!0),e[i]}});return i},Fh=typeof window<`u`?X.useLayoutEffect:X.useEffect,Ih=e=>typeof e==`string`,Lh=(e,t,n,r,i)=>Ih(e)?(r&&t.watch.add(e),Z(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),Z(n,e))):(r&&(t.watchAll=!0),n),Rh=e=>ph(e)||!mh(e),zh=e=>e.render(Qm(e)),Bh=X.createContext(null),Bh.displayName=`HookFormContext`,Vh=()=>X.useContext(Bh),Hh=e=>{let{children:t,watch:n,getValues:r,getFieldState:i,setError:a,clearErrors:o,setValue:s,trigger:c,formState:l,resetField:u,reset:d,handleSubmit:f,unregister:p,control:m,register:h,setFocus:g,subscribe:_}=e,v=X.useMemo(()=>({watch:n,getValues:r,getFieldState:i,setError:a,clearErrors:o,setValue:s,trigger:c,formState:l,resetField:u,reset:d,handleSubmit:f,unregister:p,control:m,register:h,setFocus:g,subscribe:_}),[o,m,l,i,r,f,h,d,u,a,g,s,_,c,p,n]);return X.createElement(Bh.Provider,{value:v},X.createElement(Mh.Provider,{value:v.control},t))},Uh=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},Wh=e=>Array.isArray(e)?e:[e],Gh=()=>{let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},Kh=e=>hh(e)&&!Object.keys(e).length,qh=e=>e.type===`file`,Jh=e=>{if(!yh)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Yh=e=>e.type===`select-multiple`,Xh=e=>e.type===`radio`,Zh=e=>Xh(e)||dh(e),Qh=e=>Jh(e)&&e.isConnected,$h=e=>{for(let t in e)if(Th(e[t]))return!0;return!1},eg={value:!1,isValid:!1},tg={value:!0,isValid:!0},ng=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!xh(e[0].attributes.value)?xh(e[0].value)||e[0].value===``?tg:{value:e[0].value,isValid:!0}:tg:eg}return eg},rg=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>xh(e)?e:t?e===``?NaN:e&&+e:n&&Ih(e)?new Date(e):r?r(e):e,ig={isValid:!1,value:null},ag=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,ig):ig,og=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,sg=(e,t,n,r)=>{let i={};for(let n of e){let e=Z(t,n);e&&Eh(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},cg=e=>e instanceof RegExp,lg=e=>xh(e)?e:cg(e)?e.source:hh(e)?cg(e.value)?e.value.source:e.value:e,ug=e=>({isOnSubmit:!e||e===Oh.onSubmit,isOnBlur:e===Oh.onBlur,isOnChange:e===Oh.onChange,isOnAll:e===Oh.all,isOnTouch:e===Oh.onTouched}),dg=`AsyncFunction`,fg=e=>!!e&&!!e.validate&&!!(Th(e.validate)&&e.validate.constructor.name===dg||hh(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===dg)),pg=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),mg=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))),hg=(e,t,n,r)=>{for(let i of n||Object.keys(e)){let n=Z(e,i);if(n){let{_f:e,...a}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!r||e.ref&&t(e.ref,e.name)&&!r)return!0;if(hg(a,t))break}else if(hh(a)&&hg(a,t))break}}},gg=(e,t,n,r)=>{n(e);let{name:i,...a}=e;return Kh(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(e=>t[e]===(!r||Oh.all))},_g=(e,t,n)=>!e||!t||e===t||Wh(e).some(e=>e&&(n?e===t:e.startsWith(t)||t.startsWith(e))),vg=(e,t,n,r,i)=>i.isOnAll?!1:!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:(n?r.isOnChange:i.isOnChange)?e:!0,yg=(e,t)=>!Sh(Z(e,t)).length&&nh(e,t),bg=(e,t,n)=>{let r=Wh(Z(e,n));return Eh(r,jh,t[n]),Eh(e,n,r),e},xg=e=>hh(e)&&!cg(e)?e:{value:e,message:``},Sg=async(e,t,n,r,i,a)=>{let{ref:o,refs:s,required:c,maxLength:l,minLength:u,min:d,max:f,pattern:p,validate:m,name:h,valueAsNumber:g,mount:_}=e._f,v=Z(n,h);if(!_||t.has(h))return{};let y=s?s[0]:o,b=e=>{i&&y.reportValidity&&(y.setCustomValidity(wh(e)?``:e||``),y.reportValidity())},x={},S=Xh(o),C=dh(o),ee=S||C,w=(g||qh(o))&&xh(o.value)&&xh(v)||Jh(o)&&o.value===``||v===``||Array.isArray(v)&&!v.length,T=Uh.bind(null,h,r,x),te=(e,t,n,r=kh.maxLength,i=kh.minLength)=>{let a=e?t:n;x[h]={type:e?r:i,message:a,ref:o,...T(e?r:i,a)}};if(a?!Array.isArray(v)||!v.length:c&&(!ee&&(w||ph(v))||wh(v)&&!v||C&&!ng(s).isValid||S&&!ag(s).isValid)){let{value:e,message:t}=Ih(c)?{value:!!c,message:c}:xg(c);if(e&&(x[h]={type:kh.required,message:t,ref:y,...T(kh.required,t)},!r))return b(t),x}if(!w&&(!ph(d)||!ph(f))){let e,t,n=xg(f),i=xg(d);if(!ph(v)&&!isNaN(v)){let r=o.valueAsNumber||v&&+v;ph(n.value)||(e=r>n.value),ph(i.value)||(t=rnew Date(new Date().toDateString()+` `+e),s=o.type==`time`,c=o.type==`week`;Ih(n.value)&&v&&(e=s?a(v)>a(n.value):c?v>n.value:r>new Date(n.value)),Ih(i.value)&&v&&(t=s?a(v)+e.value,i=!ph(t.value)&&v.length<+t.value;if((n||i)&&(te(n,e.message,t.message),!r))return b(x[h].message),x}if(p&&!w&&Ih(v)){let{value:e,message:t}=xg(p);if(cg(e)&&!v.match(e)&&(x[h]={type:kh.pattern,message:t,ref:o,...T(kh.pattern,t)},!r))return b(t),x}if(m){if(Th(m)){let e=ch(await m(v,n),y);if(e&&(x[h]={...e,...T(kh.validate,e.message)},!r))return b(e.message),x}else if(hh(m)){let e={};for(let t in m){if(!Kh(e)&&!r)break;let i=ch(await m[t](v,n),y,t);i&&(e={...i,...T(t,i.message)},b(i.message),r&&(x[h]=e))}if(!Kh(e)&&(x[h]={ref:y,...e},!r))return x}}return b(!0),x},Cg={mode:Oh.onSubmit,reValidateMode:Oh.onChange,shouldFocusError:!0}})),Tg,Eg,Dg,Og=o((()=>{xe(),Tg=u(f(),1),Ie(),Eg=(0,Tg.forwardRef)(((e,t)=>(0,Tg.createElement)(M.label,j({},e,{ref:t,onMouseDown:t=>{var n;(n=e.onMouseDown)==null||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()}})))),Dg=Eg})),kg,Ag,jg,Mg,Ng=o((()=>{be(),kg=y(),Ag=u(f(),1),Og(),en(),Nt(),jg=$t(`text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70`),Mg=Ag.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,kg.jsx)(Dg,Object.assign({ref:t,className:P(jg(),n)},r))})),Mg.displayName=Dg.displayName})),Pg,Fg,Ig,Lg,Rg,zg,Bg,Vg,Hg,Ug,Wg,Gg,Kg=o((()=>{be(),Pg=y(),qt(),Fg=u(f(),1),wg(),Nt(),Ng(),Ig=Hh,Lg=Fg.createContext({}),Rg=e=>{var t=A(e,[]);return(0,Pg.jsx)(Lg.Provider,Object.assign({value:{name:t.name}},{children:(0,Pg.jsx)(zh,Object.assign({},t))}))},zg=()=>{let e=Fg.useContext(Lg),t=Fg.useContext(Bg),{getFieldState:n,formState:r}=Vh(),i=n(e.name,r);if(!e)throw Error(`useFormField should be used within `);let{id:a}=t;return Object.assign({id:a,name:e.name,formItemId:`${a}-form-item`,formDescriptionId:`${a}-form-item-description`,formMessageId:`${a}-form-item-message`},i)},Bg=Fg.createContext({}),Vg=Fg.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);let i=Fg.useId();return(0,Pg.jsx)(Bg.Provider,Object.assign({value:{id:i}},{children:(0,Pg.jsx)(`div`,Object.assign({ref:t,className:P(`space-y-2`,n)},r))}))})),Vg.displayName=`FormItem`,Hg=Fg.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);let{error:i,formItemId:a}=zg();return(0,Pg.jsx)(Mg,Object.assign({ref:t,className:P(i&&`text-destructive`,n),htmlFor:a},r))})),Hg.displayName=`FormLabel`,Ug=Fg.forwardRef(((e,t)=>{var n=A(e,[]);let{error:r,formItemId:i,formDescriptionId:a,formMessageId:o}=zg();return(0,Pg.jsx)(Gt,Object.assign({ref:t,id:i,"aria-describedby":r?`${a} ${o}`:`${a}`,"aria-invalid":!!r},n))})),Ug.displayName=`FormControl`,Wg=Fg.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);let{formDescriptionId:i}=zg();return(0,Pg.jsx)(`p`,Object.assign({ref:t,id:i,className:P(`text-[0.8rem] text-muted-foreground`,n)},r))})),Wg.displayName=`FormDescription`,Gg=Fg.forwardRef(((e,t)=>{var{className:n,children:r}=e,i=A(e,[`className`,`children`]);let{error:a,formMessageId:o}=zg(),s=a?String(a?.message):r;return s?(0,Pg.jsx)(`p`,Object.assign({ref:t,id:o,className:P(`text-[0.8rem] font-medium text-destructive`,n)},i,{children:s})):null})),Gg.displayName=`FormMessage`}));function qg(e){return e.label!==void 0}function Jg(...e){return e.filter(Boolean).join(` `)}function Yg(){if(typeof window>`u`||typeof document>`u`)return`ltr`;let e=document.documentElement.getAttribute(`dir`);return e!==`auto`&&e?e:window.getComputedStyle(document.documentElement).direction}function Xg(e,t){let n={};return[e,t].forEach(((e,t)=>{let r=t===1,i=r?`--mobile-offset`:`--offset`,a=r?`16px`:`24px`;function o(e){[`top`,`right`,`bottom`,`left`].forEach((t=>{n[`${i}-${t}`]=typeof e==`number`?`${e}px`:e}))}typeof e==`number`||typeof e==`string`?o(e):typeof e==`object`?[`top`,`right`,`bottom`,`left`].forEach((t=>{e[t]===void 0?n[`${i}-${t}`]=a:n[`${i}-${t}`]=typeof e[t]==`number`?`${e[t]}px`:e[t]})):o(a)})),n}var Q,Zg,Qg,$g,e_,t_,n_,r_,i_,a_,o_,s_,c_,l_,u_,d_,f_=o((()=>{Q=u(f(),1),Zg=u(g(),1),Qg=Array(12).fill(0),$g=({visible:e,className:t})=>Q.createElement(`div`,{className:[`sonner-loading-wrapper`,t].filter(Boolean).join(` `),"data-visible":e},Q.createElement(`div`,{className:`sonner-spinner`},Qg.map(((e,t)=>Q.createElement(`div`,{className:`sonner-loading-bar`,key:`spinner-bar-${t}`}))))),e_=Q.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`},Q.createElement(`path`,{fillRule:`evenodd`,d:`M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z`,clipRule:`evenodd`})),t_=Q.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,height:`20`,width:`20`},Q.createElement(`path`,{fillRule:`evenodd`,d:`M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z`,clipRule:`evenodd`})),n_=Q.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`},Q.createElement(`path`,{fillRule:`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z`,clipRule:`evenodd`})),r_=Q.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`},Q.createElement(`path`,{fillRule:`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z`,clipRule:`evenodd`})),i_=Q.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`},Q.createElement(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),Q.createElement(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})),a_=1,o_=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach((t=>t(e)))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{let{message:t,...n}=e,r=typeof e?.id==`number`||e.id?.length>0?e.id:a_++,i=this.toasts.find((e=>e.id===r)),a=e.dismissible===void 0||e.dismissible;return this.dismissedToasts.has(r)&&this.dismissedToasts.delete(r),i?this.toasts=this.toasts.map((n=>n.id===r?(this.publish({...n,...e,id:r,title:t}),{...n,...e,id:r,dismissible:a,title:t}):n)):this.addToast({title:t,...n,dismissible:a,id:r}),r},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach((e=>{this.subscribers.forEach((t=>t({id:e.id,dismiss:!0})))})),requestAnimationFrame((()=>this.subscribers.forEach((t=>t({id:e,dismiss:!0}))))),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:`error`}),this.success=(e,t)=>this.create({...t,type:`success`,message:e}),this.info=(e,t)=>this.create({...t,type:`info`,message:e}),this.warning=(e,t)=>this.create({...t,type:`warning`,message:e}),this.loading=(e,t)=>this.create({...t,type:`loading`,message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:`loading`,message:t.loading,description:typeof t.description==`function`?void 0:t.description}));let r=Promise.resolve(e instanceof Function?e():e),i,a=n!==void 0,o=r.then((async e=>{if(i=[`resolve`,e],Q.isValidElement(e))a=!1,this.create({id:n,type:`default`,message:e});else if(s_(e)&&!e.ok){a=!1;let r=typeof t.error==`function`?await t.error(`HTTP error! status: ${e.status}`):t.error,i=typeof t.description==`function`?await t.description(`HTTP error! status: ${e.status}`):t.description,o=typeof r==`object`?r:{message:r};this.create({id:n,type:`error`,description:i,...o})}else if(e instanceof Error){a=!1;let r=typeof t.error==`function`?await t.error(e):t.error,i=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`?r:{message:r};this.create({id:n,type:`error`,description:i,...o})}else if(t.success!==void 0){a=!1;let r=typeof t.success==`function`?await t.success(e):t.success,i=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`?r:{message:r};this.create({id:n,type:`success`,description:i,...o})}})).catch((async e=>{if(i=[`reject`,e],t.error!==void 0){a=!1;let r=typeof t.error==`function`?await t.error(e):t.error,i=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`?r:{message:r};this.create({id:n,type:`error`,description:i,...o})}})).finally((()=>{a&&(this.dismiss(n),n=void 0),t.finally==null||t.finally.call(t)})),s=()=>new Promise(((e,t)=>o.then((()=>i[0]===`reject`?t(i[1]):e(i[1]))).catch(t)));return typeof n!=`string`&&typeof n!=`number`?{unwrap:s}:Object.assign(n,{unwrap:s})},this.custom=(e,t)=>{let n=t?.id||a_++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter((e=>!this.dismissedToasts.has(e.id))),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},s_=e=>e&&typeof e==`object`&&`ok`in e&&typeof e.ok==`boolean`&&`status`in e&&typeof e.status==`number`,c_=(e,t)=>{let n=t?.id||a_++;return o_.addToast({title:e,...t,id:n}),n},Object.assign(c_,{success:o_.success,info:o_.info,warning:o_.warning,error:o_.error,custom:o_.custom,message:o_.message,promise:o_.promise,dismiss:o_.dismiss,loading:o_.loading},{getHistory:()=>o_.toasts,getToasts:()=>o_.getActiveToasts()}),(function(e){if(!e||typeof document>`u`)return;let t=document.head||document.getElementsByTagName(`head`)[0],n=document.createElement(`style`);n.type=`text/css`,t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))})(`[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}[data-sonner-toaster][data-lifted=true]{transform:translateY(-8px)}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}`),l_=3,u_=14,d_=e=>{var t,n,r,i,a,o,s,c,l;let{invert:u,toast:d,unstyled:f,interacting:p,setHeights:m,visibleToasts:h,heights:g,index:_,toasts:v,expanded:y,removeToast:b,defaultRichColors:x,closeButton:S,style:C,cancelButtonStyle:ee,actionButtonStyle:w,className:T=``,descriptionClassName:te=``,duration:E,position:D,gap:O,expandByDefault:ne,classNames:re,icons:ie,closeButtonAriaLabel:k=`Close toast`}=e,[ae,oe]=Q.useState(null),[se,ce]=Q.useState(null),[le,ue]=Q.useState(!1),[de,fe]=Q.useState(!1),[pe,me]=Q.useState(!1),[he,ge]=Q.useState(!1),[_e,A]=Q.useState(!1),[ve,ye]=Q.useState(0),[be,j]=Q.useState(0),xe=Q.useRef(d.duration||E||4e3),Se=Q.useRef(null),Ce=Q.useRef(null),we=_===0,Te=_+1<=h,Ee=d.type,De=!1!==d.dismissible,Oe=d.className||``,ke=d.descriptionClassName||``,Ae=Q.useMemo((()=>g.findIndex((e=>e.toastId===d.id))||0),[g,d.id]),je=Q.useMemo((()=>d.closeButton??S),[d.closeButton,S]),Me=Q.useMemo((()=>d.duration||E||4e3),[d.duration,E]),Ne=Q.useRef(0),Pe=Q.useRef(0),Fe=Q.useRef(0),M=Q.useRef(null),[Ie,Le]=D.split(`-`),Re=Q.useMemo((()=>g.reduce(((e,t,n)=>n>=Ae?e:e+t.height),0)),[g,Ae]),ze=(()=>{let[e,t]=Q.useState(document.hidden);return Q.useEffect((()=>{let e=()=>{t(document.hidden)};return document.addEventListener(`visibilitychange`,e),()=>window.removeEventListener(`visibilitychange`,e)}),[]),e})(),Be=d.invert||u,Ve=Ee===`loading`;Pe.current=Q.useMemo((()=>Ae*O+Re),[Ae,Re]),Q.useEffect((()=>{xe.current=Me}),[Me]),Q.useEffect((()=>{ue(!0)}),[]),Q.useEffect((()=>{let e=Ce.current;if(e){let t=e.getBoundingClientRect().height;return j(t),m((e=>[{toastId:d.id,height:t,position:d.position},...e])),()=>m((e=>e.filter((e=>e.toastId!==d.id))))}}),[m,d.id]),Q.useLayoutEffect((()=>{if(!le)return;let e=Ce.current,t=e.style.height;e.style.height=`auto`;let n=e.getBoundingClientRect().height;e.style.height=t,j(n),m((e=>e.find((e=>e.toastId===d.id))?e.map((e=>e.toastId===d.id?{...e,height:n}:e)):[{toastId:d.id,height:n,position:d.position},...e]))}),[le,d.title,d.description,m,d.id]);let He=Q.useCallback((()=>{fe(!0),ye(Pe.current),m((e=>e.filter((e=>e.toastId!==d.id)))),setTimeout((()=>{b(d)}),200)}),[d,b,m,Pe]);return Q.useEffect((()=>{if(d.promise&&Ee===`loading`||d.duration===1/0||d.type===`loading`)return;let e;return y||p||ze?(()=>{if(Fe.current{d.onAutoClose==null||d.onAutoClose.call(d,d),He()}),xe.current)),()=>clearTimeout(e)}),[y,p,d,Ee,ze,He]),Q.useEffect((()=>{d.delete&&He()}),[He,d.delete]),Q.createElement(`li`,{tabIndex:0,ref:Ce,className:Jg(T,Oe,re?.toast,d==null||(t=d.classNames)==null?void 0:t.toast,re?.default,re?.[Ee],d==null||(n=d.classNames)==null?void 0:n[Ee]),"data-sonner-toast":``,"data-rich-colors":d.richColors??x,"data-styled":!(d.jsx||d.unstyled||f),"data-mounted":le,"data-promise":!!d.promise,"data-swiped":_e,"data-removed":de,"data-visible":Te,"data-y-position":Ie,"data-x-position":Le,"data-index":_,"data-front":we,"data-swiping":pe,"data-dismissible":De,"data-type":Ee,"data-invert":Be,"data-swipe-out":he,"data-swipe-direction":se,"data-expanded":!!(y||ne&&le),style:{"--index":_,"--toasts-before":_,"--z-index":v.length-_,"--offset":`${de?ve:Pe.current}px`,"--initial-height":ne?`auto`:`${be}px`,...C,...d.style},onDragEnd:()=>{me(!1),oe(null),M.current=null},onPointerDown:e=>{!Ve&&De&&(Se.current=new Date,ye(Pe.current),e.target.setPointerCapture(e.pointerId),e.target.tagName!==`BUTTON`&&(me(!0),M.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{if(he||!De)return;M.current=null;let e=Number(Ce.current?.style.getPropertyValue(`--swipe-amount-x`).replace(`px`,``)||0),t=Number(Ce.current?.style.getPropertyValue(`--swipe-amount-y`).replace(`px`,``)||0),n=new Date().getTime()-Se.current?.getTime(),r=ae===`x`?e:t,i=Math.abs(r)/n;if(Math.abs(r)>=45||i>.11)return ye(Pe.current),d.onDismiss==null||d.onDismiss.call(d,d),ce(ae===`x`?e>0?`right`:`left`:t>0?`down`:`up`),He(),void ge(!0);var a,o;(a=Ce.current)==null||a.style.setProperty(`--swipe-amount-x`,`0px`),(o=Ce.current)==null||o.style.setProperty(`--swipe-amount-y`,`0px`),A(!1),me(!1),oe(null)},onPointerMove:t=>{var n,r;if(!M.current||!De||window.getSelection()?.toString().length>0)return;let i=t.clientY-M.current.y,a=t.clientX-M.current.x,o=e.swipeDirections??function(e){let[t,n]=e.split(`-`),r=[];return t&&r.push(t),n&&r.push(n),r}(D);!ae&&(Math.abs(a)>1||Math.abs(i)>1)&&oe(Math.abs(a)>Math.abs(i)?`x`:`y`);let s={x:0,y:0},c=e=>1/(1.5+Math.abs(e)/20);if(ae===`y`){if(o.includes(`top`)||o.includes(`bottom`))if(o.includes(`top`)&&i<0||o.includes(`bottom`)&&i>0)s.y=i;else{let e=i*c(i);s.y=Math.abs(e)0)s.x=a;else{let e=a*c(a);s.x=Math.abs(e)0||Math.abs(s.y)>0)&&A(!0),(n=Ce.current)==null||n.style.setProperty(`--swipe-amount-x`,`${s.x}px`),(r=Ce.current)==null||r.style.setProperty(`--swipe-amount-y`,`${s.y}px`)}},je&&!d.jsx&&Ee!==`loading`?Q.createElement(`button`,{"aria-label":k,"data-disabled":Ve,"data-close-button":!0,onClick:Ve||!De?()=>{}:()=>{He(),d.onDismiss==null||d.onDismiss.call(d,d)},className:Jg(re?.closeButton,d==null||(r=d.classNames)==null?void 0:r.closeButton)},ie?.close??i_):null,Ee||d.icon||d.promise?Q.createElement(`div`,{"data-icon":``,className:Jg(re?.icon,d==null||(i=d.classNames)==null?void 0:i.icon)},d.promise||d.type===`loading`&&!d.icon?d.icon||function(){var e,t;return ie?.loading?Q.createElement(`div`,{className:Jg(re?.loader,d==null||(t=d.classNames)==null?void 0:t.loader,`sonner-loader`),"data-visible":Ee===`loading`},ie.loading):Q.createElement($g,{className:Jg(re?.loader,d==null||(e=d.classNames)==null?void 0:e.loader),visible:Ee===`loading`})}():null,d.type===`loading`?null:d.icon||ie?.[Ee]||(e=>{switch(e){case`success`:return e_;case`info`:return n_;case`warning`:return t_;case`error`:return r_;default:return null}})(Ee)):null,Q.createElement(`div`,{"data-content":``,className:Jg(re?.content,d==null||(a=d.classNames)==null?void 0:a.content)},Q.createElement(`div`,{"data-title":``,className:Jg(re?.title,d==null||(o=d.classNames)==null?void 0:o.title)},d.jsx?d.jsx:typeof d.title==`function`?d.title():d.title),d.description?Q.createElement(`div`,{"data-description":``,className:Jg(te,ke,re?.description,d==null||(s=d.classNames)==null?void 0:s.description)},typeof d.description==`function`?d.description():d.description):null),Q.isValidElement(d.cancel)?d.cancel:d.cancel&&qg(d.cancel)?Q.createElement(`button`,{"data-button":!0,"data-cancel":!0,style:d.cancelButtonStyle||ee,onClick:e=>{qg(d.cancel)&&De&&(d.cancel.onClick==null||d.cancel.onClick.call(d.cancel,e),He())},className:Jg(re?.cancelButton,d==null||(c=d.classNames)==null?void 0:c.cancelButton)},d.cancel.label):null,Q.isValidElement(d.action)?d.action:d.action&&qg(d.action)?Q.createElement(`button`,{"data-button":!0,"data-action":!0,style:d.actionButtonStyle||w,onClick:e=>{qg(d.action)&&(d.action.onClick==null||d.action.onClick.call(d.action,e),e.defaultPrevented||He())},className:Jg(re?.actionButton,d==null||(l=d.classNames)==null?void 0:l.actionButton)},d.action.label):null)},Q.forwardRef((function(e,t){let{invert:n,position:r=`bottom-right`,hotkey:i=[`altKey`,`KeyT`],expand:a,closeButton:o,className:s,offset:c,mobileOffset:l,theme:u=`light`,richColors:d,duration:f,style:p,visibleToasts:m=l_,toastOptions:h,dir:g=Yg(),gap:_=u_,icons:v,containerAriaLabel:y=`Notifications`}=e,[b,x]=Q.useState([]),S=Q.useMemo((()=>Array.from(new Set([r].concat(b.filter((e=>e.position)).map((e=>e.position)))))),[b,r]),[C,ee]=Q.useState([]),[w,T]=Q.useState(!1),[te,E]=Q.useState(!1),[D,O]=Q.useState(u===`system`?typeof window<`u`&&window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`:u),ne=Q.useRef(null),re=i.join(`+`).replace(/Key/g,``).replace(/Digit/g,``),ie=Q.useRef(null),k=Q.useRef(!1),ae=Q.useCallback((e=>{x((t=>{var n;return(n=t.find((t=>t.id===e.id)))!=null&&n.delete||o_.dismiss(e.id),t.filter((({id:t})=>t!==e.id))}))}),[]);return Q.useEffect((()=>o_.subscribe((e=>{if(e.dismiss){let t=b.map((t=>t.id===e.id?{...t,delete:!0}:t));requestAnimationFrame((()=>{x(t)}))}else setTimeout((()=>{Zg.flushSync((()=>{x((t=>{let n=t.findIndex((t=>t.id===e.id));return n===-1?[e,...t]:[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]}))}))}))}))),[b]),Q.useEffect((()=>{if(u!==`system`)return void O(u);if(u===`system`&&(window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?O(`dark`):O(`light`)),typeof window>`u`)return;let e=window.matchMedia(`(prefers-color-scheme: dark)`);try{e.addEventListener(`change`,(({matches:e})=>{O(e?`dark`:`light`)}))}catch{e.addListener((({matches:e})=>{try{O(e?`dark`:`light`)}catch(e){console.error(e)}}))}}),[u]),Q.useEffect((()=>{b.length<=1&&T(!1)}),[b]),Q.useEffect((()=>{let e=e=>{var t;i.every((t=>e[t]||e.code===t))&&(T(!0),(t=ne.current)==null||t.focus()),e.code!==`Escape`||document.activeElement!==ne.current&&!ne.current?.contains(document.activeElement)||T(!1)};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)}),[i]),Q.useEffect((()=>{if(ne.current)return()=>{ie.current&&(ie.current.focus({preventScroll:!0}),ie.current=null,k.current=!1)}}),[ne.current]),Q.createElement(`section`,{ref:t,"aria-label":`${y} ${re}`,tabIndex:-1,"aria-live":`polite`,"aria-relevant":`additions text`,"aria-atomic":`false`,suppressHydrationWarning:!0},S.map(((t,r)=>{let[i,u]=t.split(`-`);return b.length?Q.createElement(`ol`,{key:t,dir:g===`auto`?Yg():g,tabIndex:-1,ref:ne,className:s,"data-sonner-toaster":!0,"data-sonner-theme":D,"data-y-position":i,"data-lifted":w&&b.length>1&&!a,"data-x-position":u,style:{"--front-toast-height":`${C[0]?.height||0}px`,"--width":`356px`,"--gap":`${_}px`,...p,...Xg(c,l)},onBlur:e=>{k.current&&!e.currentTarget.contains(e.relatedTarget)&&(k.current=!1,ie.current&&(ie.current.focus({preventScroll:!0}),ie.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||k.current||(k.current=!0,ie.current=e.relatedTarget)},onMouseEnter:()=>T(!0),onMouseMove:()=>T(!0),onMouseLeave:()=>{te||T(!1)},onDragEnd:()=>T(!1),onPointerDown:e=>{e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||E(!0)},onPointerUp:()=>E(!1)},b.filter((e=>!e.position&&r===0||e.position===t)).map(((r,i)=>Q.createElement(d_,{key:r.id,icons:v,index:i,toast:r,defaultRichColors:d,duration:h?.duration??f,className:h?.className,descriptionClassName:h?.descriptionClassName,invert:n,visibleToasts:m,closeButton:h?.closeButton??o,interacting:te,position:t,style:h?.style,unstyled:h?.unstyled,classNames:h?.classNames,cancelButtonStyle:h?.cancelButtonStyle,actionButtonStyle:h?.actionButtonStyle,closeButtonAriaLabel:h?.closeButtonAriaLabel,removeToast:ae,toasts:b.filter((e=>e.position==r.position)),heights:C.filter((e=>e.position==r.position)),setHeights:ee,expandByDefault:a,gap:_,expanded:w,swipeDirections:e.swipeDirections})))):null})))}))}));function p_(e){return e?`checked`:`unchecked`}var m_,h_,g_,__,v_,y_,b_,x_,S_,C_,w_,T_=o((()=>{xe(),m_=u(f(),1),sn(),Te(),dn(),_n(),Gl(),qi(),Ie(),h_=`Switch`,[g_,__]=cn(h_),[v_,y_]=g_(h_),b_=(0,m_.forwardRef)(((e,t)=>{let{__scopeSwitch:n,name:r,checked:i,defaultChecked:a,required:o,disabled:s,value:c=`on`,onCheckedChange:l,...u}=e,[d,f]=(0,m_.useState)(null),p=Ce(t,(e=>f(e))),m=(0,m_.useRef)(!1),h=!d||!!d.closest(`form`),[g=!1,_]=hn({prop:i,defaultProp:a,onChange:l});return(0,m_.createElement)(v_,{scope:n,checked:g,disabled:s},(0,m_.createElement)(M.button,j({type:`button`,role:`switch`,"aria-checked":g,"aria-required":o,"data-state":p_(g),"data-disabled":s?``:void 0,disabled:s,value:c},u,{ref:p,onClick:F(e.onClick,(e=>{_((e=>!e)),h&&(m.current=e.isPropagationStopped(),m.current||e.stopPropagation())}))})),h&&(0,m_.createElement)(S_,{control:d,bubbles:!m.current,name:r,value:c,checked:g,required:o,disabled:s,style:{transform:`translateX(-100%)`}}))})),x_=(0,m_.forwardRef)(((e,t)=>{let{__scopeSwitch:n,...r}=e,i=y_(`SwitchThumb`,n);return(0,m_.createElement)(M.span,j({"data-state":p_(i.checked),"data-disabled":i.disabled?``:void 0},r,{ref:t}))})),S_=e=>{let{control:t,checked:n,bubbles:r=!0,...i}=e,a=(0,m_.useRef)(null),o=Ul(n),s=Gi(t);return(0,m_.useEffect)((()=>{let e=a.current,t=window.HTMLInputElement.prototype,i=Object.getOwnPropertyDescriptor(t,`checked`).set;if(o!==n&&i){let t=new Event(`click`,{bubbles:r});i.call(e,n),e.dispatchEvent(t)}}),[o,n,r]),(0,m_.createElement)(`input`,j({type:`checkbox`,"aria-hidden":!0,defaultChecked:n},i,{tabIndex:-1,ref:a,style:{...e.style,...s,position:`absolute`,pointerEvents:`none`,opacity:0,margin:0}}))},C_=b_,w_=x_})),E_,D_,O_,k_=o((()=>{be(),E_=y(),D_=u(f(),1),T_(),Nt(),O_=D_.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,E_.jsx)(C_,Object.assign({className:P(`peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input`,n)},r,{ref:t},{children:(0,E_.jsx)(w_,{className:P(`pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0`)})}))})),O_.displayName=C_.displayName})),A_,j_,M_,N_,P_,F_,I_,L_,R_,z_,B_=o((()=>{be(),A_=y(),j_=u(f(),1),Nt(),M_=j_.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,A_.jsx)(`div`,Object.assign({className:`relative w-full overflow-auto`},{children:(0,A_.jsx)(`table`,Object.assign({ref:t,className:P(`w-full caption-bottom text-sm`,n)},r))}))})),M_.displayName=`Table`,N_=j_.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,A_.jsx)(`thead`,Object.assign({ref:t,className:P(`[&_tr]:border-b`,n)},r))})),N_.displayName=`TableHeader`,P_=j_.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,A_.jsx)(`tbody`,Object.assign({ref:t,className:P(`[&_tr:last-child]:border-0`,n)},r))})),P_.displayName=`TableBody`,F_=j_.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,A_.jsx)(`tfoot`,Object.assign({ref:t,className:P(`border-t bg-muted/50 font-medium [&>tr]:last:border-b-0`,n)},r))})),F_.displayName=`TableFooter`,I_=j_.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,A_.jsx)(`tr`,Object.assign({ref:t,className:P(`border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted`,n)},r))})),I_.displayName=`TableRow`,L_=j_.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,A_.jsx)(`th`,Object.assign({ref:t,className:P(`h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]`,n)},r))})),L_.displayName=`TableHead`,R_=j_.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,A_.jsx)(`td`,Object.assign({ref:t,className:P(`p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]`,n)},r))})),R_.displayName=`TableCell`,z_=j_.forwardRef(((e,t)=>{var{className:n}=e,r=A(e,[`className`]);return(0,A_.jsx)(`caption`,Object.assign({ref:t,className:P(`mt-4 text-sm text-muted-foreground`,n)},r))})),z_.displayName=`TableCaption`})),V_=o((()=>{be(),xe(),Ie(),Nt(),_e(),on(),yl(),kl(),sd(),Xf(),$p(),en(),dn(),mn(),ur(),Hl(),qt(),Te(),sn(),_n(),Gl(),qi(),xa(),oo(),mo(),ho(),vo(),So(),Ko(),Lo(),to(),qm(),Kg(),fa(),Wn(),Ng(),Yn(),sr(),hr(),ga(),gs(),Ba(),jn(),Dn(),Yl(),Im(),f_(),k_(),B_(),Tl()}));function H_(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`){var i=0;for(r=Object.getOwnPropertySymbols(e);i{var{variant:t=`logo`}=e,n=H_(e,[`variant`]);switch(t){default:case`logo`:return(0,$.jsxs)(`svg`,Object.assign({viewBox:`0 0 147 124`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},n,{children:[(0,$.jsx)(`path`,{d:`M23.1399 95.8288V95.8117H0V123.983L30.141 124L60.9526 92.6968L43.842 75.4136L23.1399 95.8288Z`,fill:`currentColor`}),(0,$.jsx)(`path`,{d:`M123.86 90.493V95.8288L26.6632 0H23.1399H0V33.0116V78.2723H23.1399V33.0116V28.8033L116.859 124H123.86H147V123.983V90.493V45.7334H123.86V90.493Z`,fill:`currentColor`}),(0,$.jsx)(`path`,{d:`M116.859 0L84.854 32.482L101.97 49.7651L123.86 28.1769V28.1883H147V0.0170838L116.859 0Z`,fill:`currentColor`})]}));case`favicon`:return(0,$.jsxs)(`svg`,Object.assign({width:`151`,height:`128`,viewBox:`0 0 151 128`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},n,{children:[(0,$.jsx)(`path`,{d:`M24.7471 96.8117H2H1V97.8117V125.983V126.982L1.99943 126.983L32.1405 127L32.5597 127L32.8537 126.701L63.6653 95.3982L64.3578 94.6947L63.6633 93.9932L46.5527 76.7101L45.8505 76.0008L45.1399 76.7016L24.7471 96.8117Z`,fill:`currentColor`,stroke:`white`,strokeWidth:`2`}),(0,$.jsx)(`path`,{d:`M26.1399 33.2445L118.146 126.702L118.44 127H118.859H125.86H149H150V126V125.983V92.493V47.7334V46.7334H149H125.86H124.86V47.7334V92.493V95.4386L29.3653 1.2879L29.0733 1H28.6632H25.1399H2H1V2V35.0116V80.2723V81.2723H2H25.1399H26.1399V80.2723V35.0116V33.2445Z`,fill:`currentColor`,stroke:`white`,strokeWidth:`2`}),(0,$.jsx)(`path`,{d:`M118.86 1L118.441 0.999763L118.147 1.29814L86.1417 33.7802L85.4484 34.4838L86.1435 35.1857L103.26 52.4688L103.962 53.1779L104.672 52.4771L126.259 31.1883H149H150V30.1883V2.01708V1.01765L149.001 1.01708L118.86 1Z`,fill:`currentColor`,stroke:`white`,strokeWidth:`2`})]}));case`horizontal`:return(0,$.jsx)(`svg`,Object.assign({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 1143.43 219.61`},n,{children:(0,$.jsxs)(`g`,{fill:`currentColor`,children:[(0,$.jsxs)(`g`,{children:[(0,$.jsx)(`polygon`,{points:`461.09 191.9 370.81 103.07 346.04 103.07 346.04 218 367.53 218 367.53 129.77 454.59 218.02 482.59 218 482.59 103.07 461.09 103.07 461.09 191.9`}),(0,$.jsx)(`path`,{d:`m961.14,157.44c0,21.78-17.72,39.5-39.5,39.5s-39.5-17.72-39.5-39.5v-54.37h-21.01v54.37c0,33.4,27.15,60.58,60.51,60.58s60.58-27.17,60.58-60.58v-54.37h-21.08v54.37Z`}),(0,$.jsx)(`path`,{d:`m820.75,103.07l-51.51,57.47,51.51,57.47h-27.46l-37.74-42.17-37.88,42.17h-27.47l51.51-57.47-51.51-57.47h27.47l37.88,42.08,37.74-42.08h27.46Z`}),(0,$.jsx)(`path`,{d:`m1121.41,156.54c5.91,2.3,10.59,5.55,13.97,9.75,4.03,5.07,6.05,11.17,6.05,18.3,0,3.72-.5,7.13-1.44,10.22-.93,2.93-2.45,5.78-4.54,8.64-3.45,4.51-8.21,8-14.26,10.46-9.15,3.88-21.89,5.78-38.24,5.71-11.09,0-21.32-1.59-30.68-4.67-9.87-3.09-17.36-7.61-22.47-13.47-1.51-1.66-2.66-3.25-3.46-4.83l17.07-11.73c.22.4.5.79.94,1.19,2.66,2.93,7.2,5.47,13.61,7.69,7.56,2.38,15.84,3.57,24.84,3.57,13.75,0,24.05-1.43,30.89-4.2,2.95-1.19,5.04-2.61,6.27-4.28.86-1.19,1.3-2.7,1.37-4.52,0-1.42-.36-2.69-1.08-3.72-1.22-1.35-3.1-2.54-5.69-3.56-4.9-1.82-15.19-3.65-30.97-5.47l-1.66-.16c-17.5-1.98-29.53-4.28-36.01-6.89-5.83-2.14-10.51-5.31-14.04-9.51-4.03-5.07-6.05-11.25-6.05-18.46,0-3.49.5-6.89,1.58-10.22,1.08-3.25,2.59-6.1,4.54-8.64,3.24-4.36,7.99-7.84,14.26-10.54,8.86-3.8,21.6-5.71,38.24-5.71,11.45,0,21.6,1.51,30.53,4.6,9.72,3.09,17.21,7.61,22.4,13.47.94,1.03,2.09,2.61,3.46,4.75l-17.21,11.73-.79-1.19c-2.52-3.01-7.06-5.55-13.61-7.61-7.42-2.46-15.7-3.73-24.84-3.73-13.9,0-24.2,1.43-30.97,4.2-3.03,1.35-5.11,2.78-6.19,4.28-.86,1.19-1.3,2.69-1.37,4.52,0,1.98.36,3.25,1.08,3.8.79,1.03,2.66,2.22,5.62,3.57,4.9,1.82,15.27,3.65,31.18,5.47l1.44.16c17.64,2.06,29.67,4.36,36.08,6.81l.14.24Z`}),(0,$.jsx)(`polygon`,{points:`647.56 124.49 647.56 103.07 554.44 103.07 533.01 103.07 533.01 124.49 533.01 150.39 533.01 171.81 533.01 196.59 533.01 217.61 533.01 218.02 647.56 218.02 647.56 196.59 554.44 196.59 554.44 171.81 647.56 171.81 647.56 150.39 554.44 150.39 554.44 124.49 647.56 124.49`})]}),(0,$.jsx)(`path`,{d:`m682.41,11.94h26.21v44.83h10.35V11.94h26.21V1.63h-62.76v10.31Zm-29.73,32.31L609.37,1.63h-11.89v55.15h10.31V14.44l41.77,42.34h13.43V1.63h-10.31v42.62ZM536.12,1.63l-28.17,55.15h11.56l4.19-8.26h38.7l4.17,8.26h11.6l-28.17-55.15h-13.89Zm-7.16,36.58l14.08-27.49,14.07,27.49h-28.16Zm-125.1,10.31h11.33l.22-.61c2.78-7.71,2.83-15.62.13-23.52-4.11-12.14-14.83-21.38-27.32-23.55-2.12-.38-4.29-.57-6.46-.57-9.56,0-18.53,3.71-25.27,10.45-6.74,6.74-10.45,15.73-10.45,25.3,0,19.33,15.74,35.34,35.09,35.7l1.58.03h33.89s.92,0,.92,0v-10.32h-35.88c-10.28,0-19.62-6.09-23.24-15.16-3.4-8.39-2.56-17.31,2.3-24.48,4.74-7.02,12.62-11.21,21.07-11.21,1.83,0,3.72.2,5.62.6,9.3,2,16.79,9.35,19.08,18.72,1.46,5.98.8,11.95-1.91,17.28l-.68,1.34Zm81.85-20.2c0,10.69-8.7,19.39-19.39,19.39s-19.39-8.7-19.39-19.39V1.63h-10.31v26.69c0,16.4,13.32,29.73,29.7,29.73s29.7-13.34,29.7-29.73V1.63h-10.31v26.69ZM1125.53,1.63l-25.89,47.15-26.16-47.15h-15.96v55.15h10.31V12.69l24.43,44.09h14.75l24.09-43.86v43.86h10.31V1.63h-15.9Zm-100.89,26.69c0,10.69-8.7,19.39-19.39,19.39s-19.39-8.7-19.39-19.39V1.63h-10.35v26.69c0,16.4,13.34,29.73,29.73,29.73s29.7-13.34,29.7-29.73V1.63h-10.31v26.69Zm-164.35,15.93L816.97,1.63h-11.89v55.15h10.31V14.44l41.77,42.34h13.43V1.63h-10.31v42.62Zm82.53-15.93c0,10.69-8.7,19.39-19.39,19.39s-19.39-8.7-19.39-19.39V1.63h-10.31v26.69c0,16.4,13.32,29.73,29.7,29.73s29.73-13.34,29.73-29.73V1.63h-10.35v26.69Zm-175.43,28.46h10.31V1.63h-10.31v55.15Z`}),(0,$.jsxs)(`g`,{children:[(0,$.jsx)(`polygon`,{points:`40.72 168.28 40.72 168.25 0 168.25 0 217.72 53.04 217.75 107.26 162.78 77.15 132.43 40.72 168.28`}),(0,$.jsx)(`polygon`,{points:`217.96 158.91 217.96 158.91 217.96 168.28 46.92 0 40.72 0 0 0 0 57.97 0 137.45 40.72 137.45 40.72 57.97 40.72 57.97 40.72 50.58 205.64 217.75 217.96 217.75 217.96 217.75 258.68 217.75 258.68 217.72 258.68 158.91 258.68 80.31 217.96 80.31 217.96 158.91`}),(0,$.jsx)(`polygon`,{points:`205.64 0 149.32 57.04 179.44 87.39 217.96 49.48 217.96 49.5 258.68 49.5 258.68 .03 205.64 0`})]})]})}));case`vertical`:return(0,$.jsx)(`svg`,{width:`187`,height:`185`,viewBox:`0 0 187 185`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:(0,$.jsxs)(`g`,{clipPath:`url(#clip0_3114_1826)`,children:[(0,$.jsx)(`path`,{d:`M27.0512 178.503L5.82355 157.675H0V184.622H5.05475V163.935L25.523 184.627L32.1036 184.622V157.675H27.0512V178.503Z`,fill:`currentColor`}),(0,$.jsx)(`path`,{d:`M144.615 170.423C144.615 175.53 140.449 179.685 135.329 179.685C130.208 179.685 126.042 175.53 126.042 170.423V157.675H121.103V170.423C121.103 178.254 127.486 184.627 135.329 184.627C143.172 184.627 149.571 178.257 149.571 170.423V157.675H144.615V170.423Z`,fill:`currentColor`}),(0,$.jsx)(`path`,{d:`M111.607 157.675L99.4963 171.15L111.607 184.625H105.151L96.2777 174.737L87.3719 184.625H80.9136L93.0238 171.15L80.9136 157.675H87.3719L96.2777 167.541L105.151 157.675H111.607Z`,fill:`currentColor`}),(0,$.jsx)(`path`,{d:`M182.293 170.212C183.683 170.751 184.783 171.513 185.578 172.498C186.525 173.687 187 175.117 187 176.789C187 177.661 186.882 178.461 186.661 179.185C186.443 179.872 186.085 180.54 185.594 181.211C184.783 182.268 183.664 183.087 182.241 183.663C180.09 184.573 177.095 185.019 173.251 185.002C170.644 185.002 168.239 184.63 166.038 183.907C163.717 183.183 161.957 182.123 160.755 180.749C160.4 180.36 160.13 179.987 159.942 179.617L163.955 176.866C164.007 176.96 164.072 177.051 164.176 177.145C164.801 177.832 165.869 178.428 167.376 178.948C169.153 179.506 171.1 179.785 173.216 179.785C176.448 179.785 178.87 179.45 180.478 178.801C181.172 178.522 181.663 178.189 181.952 177.797C182.154 177.518 182.258 177.164 182.274 176.737C182.274 176.404 182.19 176.106 182.02 175.865C181.734 175.548 181.292 175.269 180.683 175.03C179.531 174.604 177.111 174.174 173.401 173.748L173.011 173.71C168.897 173.246 166.069 172.707 164.545 172.095C163.174 171.593 162.074 170.85 161.244 169.865C160.297 168.676 159.822 167.227 159.822 165.537C159.822 164.718 159.939 163.921 160.193 163.14C160.447 162.378 160.802 161.71 161.261 161.114C162.022 160.092 163.139 159.276 164.613 158.643C166.696 157.752 169.691 157.304 173.604 157.304C176.296 157.304 178.682 157.658 180.781 158.383C183.067 159.107 184.828 160.167 186.048 161.541C186.269 161.783 186.539 162.153 186.861 162.655L182.815 165.405L182.629 165.126C182.037 164.42 180.969 163.825 179.43 163.342C177.685 162.765 175.738 162.467 173.59 162.467C170.322 162.467 167.9 162.803 166.308 163.452C165.596 163.769 165.107 164.104 164.853 164.456C164.651 164.735 164.547 165.086 164.531 165.515C164.531 165.98 164.616 166.277 164.785 166.406C164.971 166.648 165.41 166.927 166.106 167.243C167.258 167.67 169.696 168.099 173.437 168.526L173.775 168.564C177.923 169.047 180.751 169.586 182.258 170.16L182.291 170.217L182.293 170.212Z`,fill:`currentColor`}),(0,$.jsx)(`path`,{d:`M70.8912 162.697V157.675H48.9959H43.96V162.697V168.77V173.792V179.602V184.531V184.627H70.8912V179.602H48.9959V173.792H70.8912V168.77H48.9959V162.697H70.8912Z`,fill:`currentColor`}),(0,$.jsx)(`path`,{d:`M79.0845 136.307H85.2466V146.819H87.68V136.307H93.8421V133.89H79.0869V136.307H79.0845ZM72.0949 143.883L61.9101 133.89H59.1147V146.821H61.5387V136.894L71.359 146.821H74.5165V133.888H72.0925V143.881L72.0949 143.883ZM44.6887 133.89L38.0658 146.821H40.7836L41.7687 144.884H50.8673L51.8477 146.821H54.5749L47.952 133.89H44.6864H44.6887ZM43.0054 142.467L46.3156 136.021L49.6236 142.467H43.003H43.0054ZM13.5938 144.884H16.2575L16.3092 144.741C16.9628 142.934 16.9746 141.079 16.3398 139.227C15.3735 136.38 12.8532 134.214 9.91672 133.705C9.4183 133.616 8.90812 133.571 8.39794 133.571C6.15034 133.571 4.04145 134.441 2.45684 136.021C0.872239 137.602 0 139.71 0 141.953C0 146.486 3.70055 150.24 8.24983 150.324L8.62129 150.331H16.589H16.8053V147.911H8.36973C5.95285 147.911 3.75697 146.483 2.9059 144.357C2.10654 142.39 2.30403 140.298 3.44664 138.617C4.56103 136.971 6.41366 135.989 8.40029 135.989C8.83054 135.989 9.27488 136.035 9.72158 136.129C11.9081 136.598 13.669 138.321 14.2074 140.518C14.5506 141.921 14.3955 143.32 13.7583 144.57L13.5985 144.884H13.5938ZM32.8371 140.148C32.8371 142.655 30.7917 144.694 28.2784 144.694C25.7651 144.694 23.7197 142.655 23.7197 140.148V133.89H21.2958V140.148C21.2958 143.993 24.4274 147.119 28.2784 147.119C32.1294 147.119 35.261 143.991 35.261 140.148V133.89H32.8371V140.148ZM183.259 133.89L177.173 144.945L171.022 133.89H167.27V146.821H169.694V136.483L175.438 146.821H178.905L184.569 136.537V146.821H186.993V133.89H183.255H183.259ZM159.54 140.148C159.54 142.655 157.494 144.694 154.981 144.694C152.468 144.694 150.422 142.655 150.422 140.148V133.89H147.989V140.148C147.989 143.993 151.125 147.119 154.979 147.119C158.832 147.119 161.961 143.991 161.961 140.148V133.89H159.537V140.148H159.54ZM120.9 143.883L110.716 133.89H107.92V146.821H110.344V136.894L120.164 146.821H123.322V133.888H120.898V143.881L120.9 143.883ZM140.303 140.148C140.303 142.655 138.258 144.694 135.745 144.694C133.232 144.694 131.186 142.655 131.186 140.148V133.89H128.762V140.148C128.762 143.993 131.894 147.119 135.745 147.119C139.596 147.119 142.734 143.991 142.734 140.148V133.89H140.301V140.148H140.303ZM99.059 146.821H101.483V133.89H99.059V146.821Z`,fill:`currentColor`}),(0,$.jsx)(`path`,{d:`M43.941 93.8517V93.8376H21.1711V121.428L50.8296 121.447L81.1558 90.7895L64.3152 73.8607L43.941 93.8517Z`,fill:`currentColor`}),(0,$.jsx)(`path`,{d:`M143.059 88.6301V93.8517L47.4112 0H43.941H21.1711V32.3289V76.658H43.941V32.3289V28.2092L136.17 121.447L143.059 121.442V121.447H165.831V121.428V88.6301V44.7887H143.059V88.6301Z`,fill:`currentColor`}),(0,$.jsx)(`path`,{d:`M136.17 0L104.676 31.813L121.519 48.7418L143.059 27.5949V27.609H165.831V0.0187577L136.17 0Z`,fill:`currentColor`})]})})}},W_=e=>(0,$.jsx)(`svg`,Object.assign({},e,{id:`Layer_2`,"data-name":`Layer 2`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 604.37 121.65`,children:(0,$.jsx)(`g`,{id:`Layer_1-2`,"data-name":`Layer 1`,children:(0,$.jsxs)(`g`,{children:[(0,$.jsx)(`path`,{d:`M183.84,6.38h14.32v24.5h5.66V6.38h14.32V.74h-34.3v5.63h0ZM167.59,24.04L143.92.74h-6.5v30.14h5.63V7.74l22.83,23.14h7.34V.74h-5.63v23.29ZM103.89.74l-15.4,30.14h6.32l2.29-4.51h21.15l2.28,4.51h6.34L111.47.74h-7.59,0ZM99.97,20.74l7.7-15.02,7.69,15.02h-15.39,0ZM31.6,26.37h6.19l.12-.33c1.52-4.21,1.55-8.54.07-12.85C35.74,6.55,29.88,1.5,23.05.31c-1.16-.21-2.34-.31-3.53-.31-5.22,0-10.13,2.03-13.81,5.71C2.03,9.4,0,14.31,0,19.54c0,10.56,8.6,19.31,19.18,19.51l.86.02h19.03v-5.64h-19.61c-5.62,0-10.72-3.33-12.7-8.29-1.86-4.59-1.4-9.46,1.26-13.38,2.59-3.84,6.9-6.13,11.52-6.13,1,0,2.03.11,3.07.33,5.08,1.09,9.18,5.11,10.43,10.23.8,3.27.44,6.53-1.04,9.44l-.37.73h-.01ZM76.34,15.33c0,5.84-4.75,10.6-10.6,10.6s-10.6-4.75-10.6-10.6V.74h-5.63v14.59c0,8.96,7.28,16.25,16.23,16.25s16.23-7.29,16.23-16.25V.74h-5.63v14.59ZM426.03.74l-14.15,25.77-14.3-25.77h-8.72v30.14h5.63V6.79l13.35,24.1h8.06l13.17-23.97v23.97h5.63V.74h-8.69.01ZM370.89,15.33c0,5.84-4.75,10.6-10.6,10.6s-10.6-4.75-10.6-10.6V.74h-5.66v14.59c0,8.96,7.29,16.25,16.25,16.25s16.23-7.29,16.23-16.25V.74h-5.63v14.59h0ZM281.06,24.04L257.38.74h-6.5v30.14h5.63V7.74l22.83,23.14h7.34V.74h-5.63v23.29h0ZM326.17,15.33c0,5.84-4.75,10.6-10.6,10.6s-10.6-4.75-10.6-10.6V.74h-5.63v14.59c0,8.96,7.28,16.25,16.23,16.25s16.25-7.29,16.25-16.25V.74h-5.66v14.59h0ZM230.29,30.89h5.63V.74h-5.63v30.14Z`}),(0,$.jsxs)(`g`,{children:[(0,$.jsx)(`path`,{d:`M55.16,85.24c3.41,1.32,6.02,3.26,7.97,5.68,2.33,2.93,3.48,6.44,3.48,10.55,0,2.15-.29,4.11-.83,5.89-.53,1.69-1.41,3.33-2.62,4.98-1.99,2.6-4.73,4.61-8.21,6.03-5.28,2.24-12.62,3.34-22.04,3.28-6.39,0-12.29-.91-17.69-2.69-5.69-1.78-10.01-4.39-12.96-7.76-.87-.96-1.54-1.87-1.99-2.78l9.84-6.76c.12.23.29.46.55.69,1.54,1.69,4.15,3.15,7.85,4.43,4.36,1.37,9.13,2.06,14.33,2.06,7.93,0,13.87-.82,17.81-2.42,1.7-.69,2.91-1.5,3.62-2.47.5-.69.75-1.56.79-2.6,0-.82-.21-1.55-.62-2.15-.7-.78-1.78-1.46-3.28-2.06-2.83-1.05-8.76-2.1-17.85-3.15l-.96-.09c-10.08-1.15-17.02-2.47-20.76-3.97-3.36-1.24-6.06-3.06-8.09-5.48-2.33-2.93-3.48-6.49-3.48-10.64,0-2.01.29-3.97.91-5.89.62-1.87,1.49-3.52,2.62-4.98,1.87-2.52,4.61-4.52,8.23-6.08,5.11-2.19,12.46-3.28,22.04-3.28,6.6,0,12.46.87,17.6,2.65,5.61,1.78,9.92,4.39,12.91,7.77.55.59,1.2,1.5,1.99,2.74l-9.92,6.76-.46-.68c-1.46-1.74-4.06-3.19-7.85-4.39-4.27-1.41-9.05-2.15-14.33-2.15-8.01,0-13.95.82-17.85,2.42-1.75.78-2.95,1.6-3.57,2.47-.5.69-.75,1.55-.79,2.6,0,1.15.29,1.77.62,2.19.57.56,1.54,1.28,3.24,2.06,2.83,1.05,8.8,2.1,17.98,3.15l.83.09c10.17,1.19,17.11,2.52,20.79,3.93l.17.08v-.03Z`}),(0,$.jsx)(`polygon`,{points:`148.55 56.19 133.54 56.19 112.88 79.19 92.22 56.19 77.2 56.19 106.99 89.39 106.99 119.03 118.77 119.03 118.77 89.39 148.55 56.19`}),(0,$.jsx)(`path`,{d:`M214.61,85.24c3.41,1.32,6.02,3.26,7.97,5.68,2.33,2.93,3.48,6.44,3.48,10.55,0,2.15-.29,4.11-.83,5.89-.53,1.69-1.41,3.33-2.62,4.98-1.99,2.6-4.73,4.61-8.21,6.03-5.28,2.24-12.62,3.34-22.04,3.28-6.39,0-12.29-.91-17.69-2.69-5.69-1.78-10.01-4.39-12.96-7.76-.87-.96-1.54-1.87-1.99-2.78l9.84-6.76c.12.23.29.46.55.69,1.54,1.69,4.15,3.15,7.85,4.43,4.36,1.37,9.13,2.06,14.33,2.06,7.93,0,13.87-.82,17.81-2.42,1.7-.69,2.91-1.5,3.62-2.47.5-.69.75-1.56.79-2.6,0-.82-.21-1.55-.62-2.15-.7-.78-1.78-1.46-3.28-2.06-2.83-1.05-8.76-2.1-17.85-3.15l-.96-.09c-10.08-1.15-17.02-2.47-20.76-3.97-3.36-1.24-6.06-3.06-8.09-5.48-2.33-2.93-3.48-6.49-3.48-10.64,0-2.01.29-3.97.91-5.89.62-1.87,1.49-3.52,2.62-4.98,1.87-2.52,4.61-4.52,8.23-6.08,5.11-2.19,12.46-3.28,22.04-3.28,6.6,0,12.46.87,17.6,2.65,5.61,1.78,9.92,4.39,12.91,7.77.55.59,1.2,1.5,1.99,2.74l-9.92,6.76-.46-.68c-1.46-1.74-4.06-3.19-7.85-4.39-4.27-1.41-9.05-2.15-14.33-2.15-8.01,0-13.95.82-17.85,2.42-1.75.78-2.95,1.6-3.57,2.47-.5.69-.75,1.55-.79,2.6,0,1.15.29,1.77.62,2.19.57.56,1.54,1.28,3.24,2.06,2.83,1.05,8.8,2.1,17.98,3.15l.83.09c10.17,1.19,17.11,2.52,20.79,3.93l.17.08v-.03Z`}),(0,$.jsx)(`polygon`,{points:`241.81 67.94 271.67 67.94 271.67 119.03 283.46 119.03 283.46 67.94 313.32 67.94 313.32 56.19 241.81 56.19 241.81 67.94`}),(0,$.jsx)(`polygon`,{points:`394.85 67.87 394.85 56.14 343.88 56.14 332.15 56.14 332.15 67.87 332.15 82.04 332.15 93.78 332.15 107.34 332.15 118.84 332.15 119.06 394.85 119.06 394.85 107.34 343.88 107.34 343.88 93.78 394.85 93.78 394.85 82.04 343.88 82.04 343.88 67.87 394.85 67.87`}),(0,$.jsx)(`polygon`,{points:`497.13 56.14 467.6 109.94 437.76 56.14 419.55 56.14 419.55 119.06 431.32 119.06 431.32 68.76 459.2 119.06 476.03 119.06 503.51 69.02 503.51 119.06 515.27 119.06 515.27 56.14 497.13 56.14`}),(0,$.jsx)(`path`,{d:`M592.91,85.24c3.41,1.32,6.02,3.26,7.97,5.68,2.33,2.93,3.48,6.44,3.48,10.55,0,2.15-.29,4.11-.83,5.89-.53,1.69-1.41,3.33-2.62,4.98-1.99,2.6-4.73,4.61-8.21,6.03-5.28,2.24-12.62,3.34-22.04,3.28-6.39,0-12.29-.91-17.69-2.69-5.69-1.78-10.01-4.39-12.96-7.76-.87-.96-1.54-1.87-1.99-2.78l9.84-6.76c.12.23.29.46.55.69,1.54,1.69,4.15,3.15,7.85,4.43,4.36,1.37,9.13,2.06,14.33,2.06,7.93,0,13.87-.82,17.81-2.42,1.7-.69,2.91-1.5,3.62-2.47.5-.69.75-1.56.79-2.6,0-.82-.21-1.55-.62-2.15-.7-.78-1.78-1.46-3.28-2.06-2.83-1.05-8.76-2.1-17.85-3.15l-.96-.09c-10.08-1.15-17.02-2.47-20.76-3.97-3.36-1.24-6.06-3.06-8.09-5.48-2.33-2.93-3.48-6.49-3.48-10.64,0-2.01.29-3.97.91-5.89.62-1.87,1.49-3.52,2.62-4.98,1.87-2.52,4.61-4.52,8.23-6.08,5.11-2.19,12.46-3.28,22.04-3.28,6.6,0,12.46.87,17.6,2.65,5.61,1.78,9.92,4.39,12.91,7.77.55.59,1.2,1.5,1.99,2.74l-9.92,6.76-.46-.68c-1.46-1.74-4.06-3.19-7.85-4.39-4.27-1.41-9.05-2.15-14.33-2.15-8.01,0-13.95.82-17.85,2.42-1.75.78-2.95,1.6-3.57,2.47-.5.69-.75,1.55-.79,2.6,0,1.15.29,1.77.62,2.19.57.56,1.54,1.28,3.24,2.06,2.83,1.05,8.8,2.1,17.98,3.15l.83.09c10.17,1.19,17.11,2.52,20.79,3.93l.17.08v-.03Z`})]})]})})}));V_(),_e();let G_=e=>(0,$.jsxs)(cl,{children:[(0,$.jsx)(ll,{asChild:!0,children:(0,$.jsxs)(an,{variant:`outline`,className:`w-8 p-0 h-8`,children:[` `,(0,$.jsx)(de,{})]})}),(0,$.jsx)(fl,{className:`max-h-[80vh] overflow-y-auto ml-2`,children:e.navTextLinks.map(e=>(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(pl,{asChild:!0,children:(0,$.jsx)(`a`,{href:e.href,children:e.title})},e.title),e.dropDown.map(e=>(0,$.jsx)(pl,{className:`text-xs ml-2 text-muted-foreground last:mb-4`,asChild:!0,children:(0,$.jsx)(`a`,{href:e.href,children:e.title})},e.title))]}))})]});_e(),V_();let K_=()=>{let e=Ol();return(0,$.jsxs)(cl,{modal:!1,children:[(0,$.jsx)(ll,{asChild:!0,children:(0,$.jsxs)(an,{variant:`outline`,className:`aspect-square w-9 px-0`,"aria-label":`theme-selector`,children:[(0,$.jsx)(he,{className:`h-[1.15rem] w-[1.15rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0`}),(0,$.jsx)(pe,{className:`absolute h-[1.15rem] w-[1.15rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100`}),(0,$.jsx)(`span`,{className:`sr-only`,children:`Toggle theme`})]})}),(0,$.jsxs)(fl,{align:`end`,children:[(0,$.jsx)(`div`,{className:`text-muted-foreground mb-1 ml-2 mt-1 text-xs`,children:`Select Theme`}),(0,$.jsxs)(pl,{onClick:()=>e.setMode(`light`),children:[`Light`,e.theme.mode===`light`?(0,$.jsx)(ne,{className:`ml-auto aspect-square w-4`}):null]}),(0,$.jsxs)(pl,{onClick:()=>e.setMode(`dark`),children:[`Dark`,e.theme.mode===`dark`?(0,$.jsx)(ne,{className:`ml-auto aspect-square w-4`}):null]}),(0,$.jsxs)(pl,{onClick:()=>e.setMode(`system`),children:[`System`,e.theme.mode===`system`?(0,$.jsx)(ne,{className:`ml-auto aspect-square w-4`}):null]})]})]})};V_();let q_=e=>(0,$.jsx)(Qu,{className:`place-self-center sm:block`,children:(0,$.jsx)($u,{className:`hidden md:flex`,children:e.navTextLinks.map(e=>(0,$.jsxs)(ed,{children:[(0,$.jsx)(nd,{className:`hover:bg-black hover:text-white`,children:e.title}),(0,$.jsxs)(rd,{children:[e.description&&!e.href&&(0,$.jsx)(`p`,{className:`p-4 text-sm leading-tight text-muted-foreground py-2 hidden md:block lg:block`,children:e.description}),(0,$.jsxs)(`ul`,{className:`grid gap-3 p-4 md:w-[400px] lg:w-[500px] lg:grid-cols-[.75fr_1fr]`,children:[e.href&&(0,$.jsx)(`li`,{className:`row-span-4`,children:(0,$.jsx)(id,{asChild:!0,children:(0,$.jsxs)(`a`,{className:`flex h-full w-full select-none flex-col justify-end rounded-md bg-gradient-to-b from-muted/50 to-muted p-6 no-underline outline-none focus:shadow-md`,href:e.href,children:[e.logo,(0,$.jsx)(`p`,{className:`text-sm leading-tight text-muted-foreground py-6`,children:e.description})]})})}),e.dropDown&&e.dropDown.length>0&&e.dropDown.map(e=>(0,$.jsxs)(`li`,{children:[` `,(0,$.jsx)(id,{asChild:!0,children:(0,$.jsx)(`a`,{className:`block select-none space-y-1 rounded-md p-3 leading-none no-underline outline-none transition-colors hover:bg-black hover:text-white focus:bg-accent focus:text-accent-foreground`,href:e.href,children:(0,$.jsx)(`div`,{className:`text-sm font-medium leading-none`,children:e.title})})})]},e.title))]})]})]},e.title))})}),J_=()=>(0,$.jsxs)(`svg`,{version:`1.1`,id:`Layer_1`,xmlns:`http://www.w3.org/2000/svg`,xmlnsXlink:`http://www.w3.org/1999/xlink`,x:`0px`,y:`0px`,viewBox:`0 0 37.91 37.91`,xmlSpace:`preserve`,width:22,height:22,fill:`currentColor`,className:`text-foreground`,children:[(0,$.jsxs)(`g`,{children:[(0,$.jsx)(`g`,{children:(0,$.jsxs)(`g`,{children:[(0,$.jsx)(`g`,{children:(0,$.jsx)(`path`,{className:`st1`,d:`M35.06,18.99c0,2.06-0.37,4.06-1.1,5.95h-2.32c0.6-13.14-16.42-18.87-23.92-8.11 C6.5,12.76,7.83,8.17,10.96,5.38c0,0,0,0,0,0c1.14-1.04,2.5-1.84,3.95-2.33C24.93,0.12,35.22,8.73,35.06,18.99z`})}),(0,$.jsx)(`g`,{children:(0,$.jsx)(`path`,{className:`st1`,d:`M35.06,26.83v8.7H18.52c-0.21,0-0.4,0-0.59-0.02c-4.29-0.15-8.3-1.94-11.29-5.03 c-6.48-6.3-5.98-17.92,0.71-23.67C5,10.54,4.75,15.46,6.69,19.4c2.15,4.47,6.82,7.43,11.83,7.42 C18.52,26.83,35.06,26.83,35.06,26.83z`})})]})}),(0,$.jsx)(`g`,{children:(0,$.jsx)(`g`,{children:(0,$.jsx)(`path`,{className:`st1`,d:`M114.52,16.51h4.97v8.5h1.96v-8.5h4.97v-1.96h-11.9V16.51z M108.88,22.64l-8.21-8.08h-2.25v10.46h1.96v-8.03 l7.92,8.03l2.55,0V14.55h-1.96V22.64z M86.78,14.55l-5.34,10.46h2.19l0.79-1.57h7.34l0.79,1.57h2.2l-5.34-10.46H86.78z M85.42,21.49l2.67-5.21l2.67,5.21H85.42z M61.7,23.44h2.15l0.04-0.12c0.53-1.46,0.54-2.96,0.02-4.46 c-0.78-2.3-2.81-4.05-5.18-4.47c-0.4-0.07-0.81-0.11-1.23-0.11c-1.81,0-3.51,0.7-4.79,1.98c-1.28,1.28-1.98,2.98-1.98,4.8 c0,3.67,2.98,6.7,6.65,6.77l0.3,0.01l6.43,0h0.17v-1.96h-6.8c-1.95,0-3.72-1.16-4.41-2.88c-0.64-1.59-0.49-3.28,0.44-4.64 c0.9-1.33,2.39-2.13,3.99-2.13c0.35,0,0.7,0.04,1.07,0.11c1.76,0.38,3.18,1.77,3.62,3.55c0.28,1.13,0.15,2.27-0.36,3.28 L61.7,23.44z M77.22,19.61c0,2.03-1.65,3.68-3.68,3.68c-2.03,0-3.68-1.65-3.68-3.68v-5.06h-1.96v5.06c0,3.11,2.53,5.64,5.63,5.64 c3.11,0,5.63-2.53,5.63-5.64v-5.06h-1.96V19.61z M198.54,14.55l-4.91,8.94l-4.96-8.94h-3.03v10.46h1.96v-8.36l4.63,8.36h2.8 l4.57-8.32v8.32h1.96V14.55H198.54z M179.41,19.61c0,2.03-1.65,3.68-3.68,3.68c-2.03,0-3.68-1.65-3.68-3.68v-5.06h-1.96v5.06 c0,3.11,2.53,5.64,5.64,5.64c3.11,0,5.63-2.53,5.63-5.64v-5.06h-1.96V19.61z M148.25,22.64l-8.21-8.08h-2.25v10.46h1.96v-8.03 l7.92,8.03l2.55,0V14.55h-1.96V22.64z M163.9,19.61c0,2.03-1.65,3.68-3.68,3.68c-2.03,0-3.68-1.65-3.68-3.68v-5.06h-1.96v5.06 c0,3.11,2.53,5.64,5.63,5.64c3.11,0,5.64-2.53,5.64-5.64v-5.06h-1.96V19.61z M130.63,25.01h1.96V14.55h-1.96V25.01z`})})})]}),(0,$.jsx)(`script`,{id:`bw-fido2-page-script`})]}),Y_=()=>(0,$.jsxs)(`svg`,{version:`1.1`,id:`Layer_1`,xmlns:`http://www.w3.org/2000/svg`,xmlnsXlink:`http://www.w3.org/1999/xlink`,x:`0px`,y:`0px`,viewBox:`0 0 204.13 37.91`,xmlSpace:`preserve`,width:140,height:50,fill:`currentColor`,className:`text-foreground`,children:[(0,$.jsxs)(`g`,{children:[(0,$.jsx)(`g`,{children:(0,$.jsxs)(`g`,{children:[(0,$.jsx)(`g`,{children:(0,$.jsx)(`path`,{className:`st1`,d:`M35.06,18.99c0,2.06-0.37,4.06-1.1,5.95h-2.32c0.6-13.14-16.42-18.87-23.92-8.11 C6.5,12.76,7.83,8.17,10.96,5.38c0,0,0,0,0,0c1.14-1.04,2.5-1.84,3.95-2.33C24.93,0.12,35.22,8.73,35.06,18.99z`})}),(0,$.jsx)(`g`,{children:(0,$.jsx)(`path`,{className:`st1`,d:`M35.06,26.83v8.7H18.52c-0.21,0-0.4,0-0.59-0.02c-4.29-0.15-8.3-1.94-11.29-5.03 c-6.48-6.3-5.98-17.92,0.71-23.67C5,10.54,4.75,15.46,6.69,19.4c2.15,4.47,6.82,7.43,11.83,7.42 C18.52,26.83,35.06,26.83,35.06,26.83z`})})]})}),(0,$.jsx)(`g`,{children:(0,$.jsx)(`g`,{children:(0,$.jsx)(`path`,{className:`st1`,d:`M114.52,16.51h4.97v8.5h1.96v-8.5h4.97v-1.96h-11.9V16.51z M108.88,22.64l-8.21-8.08h-2.25v10.46h1.96v-8.03 l7.92,8.03l2.55,0V14.55h-1.96V22.64z M86.78,14.55l-5.34,10.46h2.19l0.79-1.57h7.34l0.79,1.57h2.2l-5.34-10.46H86.78z M85.42,21.49l2.67-5.21l2.67,5.21H85.42z M61.7,23.44h2.15l0.04-0.12c0.53-1.46,0.54-2.96,0.02-4.46 c-0.78-2.3-2.81-4.05-5.18-4.47c-0.4-0.07-0.81-0.11-1.23-0.11c-1.81,0-3.51,0.7-4.79,1.98c-1.28,1.28-1.98,2.98-1.98,4.8 c0,3.67,2.98,6.7,6.65,6.77l0.3,0.01l6.43,0h0.17v-1.96h-6.8c-1.95,0-3.72-1.16-4.41-2.88c-0.64-1.59-0.49-3.28,0.44-4.64 c0.9-1.33,2.39-2.13,3.99-2.13c0.35,0,0.7,0.04,1.07,0.11c1.76,0.38,3.18,1.77,3.62,3.55c0.28,1.13,0.15,2.27-0.36,3.28 L61.7,23.44z M77.22,19.61c0,2.03-1.65,3.68-3.68,3.68c-2.03,0-3.68-1.65-3.68-3.68v-5.06h-1.96v5.06c0,3.11,2.53,5.64,5.63,5.64 c3.11,0,5.63-2.53,5.63-5.64v-5.06h-1.96V19.61z M198.54,14.55l-4.91,8.94l-4.96-8.94h-3.03v10.46h1.96v-8.36l4.63,8.36h2.8 l4.57-8.32v8.32h1.96V14.55H198.54z M179.41,19.61c0,2.03-1.65,3.68-3.68,3.68c-2.03,0-3.68-1.65-3.68-3.68v-5.06h-1.96v5.06 c0,3.11,2.53,5.64,5.64,5.64c3.11,0,5.63-2.53,5.63-5.64v-5.06h-1.96V19.61z M148.25,22.64l-8.21-8.08h-2.25v10.46h1.96v-8.03 l7.92,8.03l2.55,0V14.55h-1.96V22.64z M163.9,19.61c0,2.03-1.65,3.68-3.68,3.68c-2.03,0-3.68-1.65-3.68-3.68v-5.06h-1.96v5.06 c0,3.11,2.53,5.64,5.63,5.64c3.11,0,5.64-2.53,5.64-5.64v-5.06h-1.96V19.61z M130.63,25.01h1.96V14.55h-1.96V25.01z`})})})]}),(0,$.jsx)(`script`,{id:`bw-fido2-page-script`})]});V_();let X_={navTextLinks:[{title:`Systems`,href:`/systems/index.html`,pathMatch:`somewhere`,logo:(0,$.jsx)(W_,{width:225,height:24}),description:`Quantinuum's QCCD ion-trap hardware, the world's highest peforming quantum computers.`,dropDown:[{title:`Guides`,href:`/systems/guides.html`},{title:`Getting Started`,href:`/systems/trainings/getting_started/getting_started_index.html`},{title:`Knowledge Articles`,href:`/systems/trainings/knowledge_articles/ka_index.html`},{title:`Support`,href:`/systems/support.html`}]},{title:`Nexus`,href:`/nexus/index.html`,pathMatch:`somewhere`,logo:(0,$.jsx)(U_,{variant:`horizontal`,className:`h-10 w-48 -mt-1`}),description:`Cloud platform connecting users with hardware and compilation services, alongside associated data.`,dropDown:[{title:`Guides`,href:`/nexus/guides.html`},{title:`Trainings`,href:`/nexus/trainings/getting_started.html`},{title:`API Reference`,href:`/nexus/api_index.html`},{title:`Support`,href:`/nexus/support_index.html`}]},{title:`Developer Suite`,href:``,pathMatch:``,logo:(0,$.jsx)($.Fragment,{}),description:`Developer tools empower users to build and experiment with quantum algorithms.`,dropDown:[{title:`Pytket`,href:`/tket/`},{title:`Guppy`,href:`/guppy/`},{title:`Selene`,href:`/selene/`},{title:`qnexus`,href:`https://docs.quantinuum.com/nexus/trainings/notebooks/basics/getting_started.html`},{title:`Q-NET`,href:`https://www.quantinuum.com/q-net#get-started`},{title:`Startup Partner Program`,href:`https://www.quantinuum.com/startup-partner-program#join`}]},{title:`Solutions`,href:``,pathMatch:``,logo:(0,$.jsx)($.Fragment,{}),description:`End-to-end Application Solutions leveraging Quantinuum Systems.`,dropDown:[{title:`InQuanto`,href:`/inquanto/`},{title:`Quantum Origin`,href:`/origin/`},{title:`λambeq`,href:`/lambeq/`}]}]},Z_=e=>(0,$.jsx)(`div`,{className:`bg-background text-foreground border-border sticky top-0 z-[100] w-full border-b shadow text-sm`,children:(0,$.jsxs)(`div`,{className:` bg-background px-3 md:px-4 flex h-12 items-center justify-between mx-auto max-w-[90rem]`,children:[(0,$.jsxs)(`div`,{className:`mr-4 flex items-center`,children:[(0,$.jsx)(`div`,{className:`block md:hidden mr-3`,children:(0,$.jsx)(G_,Object.assign({},X_))}),(0,$.jsxs)(`div`,{className:`whitespace-nowrap flex items-center gap-2`,children:[(0,$.jsxs)(`a`,{href:`/`,"aria-label":`Quantinuum Documentation`,title:`Quantinuum Documentation`,className:`hover:cursor-pointer hover:opacity-50 transition`,children:[(0,$.jsx)(`div`,{className:`hidden sm:block`,children:(0,$.jsx)(Y_,{})}),(0,$.jsx)(`div`,{className:`block sm:hidden`,children:(0,$.jsx)(J_,{})})]}),(0,$.jsx)(`div`,{className:`text-muted-foreground text-xs font-medium flex items-center gap-1.5`})]}),(0,$.jsx)(`a`,{href:`/`,className:`ml-4 mr-4 flex items-center space-x-2`,children:(0,$.jsx)(`span`,{className:`hidden font-bold`,children:`Quantinuum`})})]}),(0,$.jsxs)(`div`,{className:`flex items-center gap-5 mx-auto`,children:[(0,$.jsx)(q_,{activePath:e.activePath,navTextLinks:X_.navTextLinks}),e.enableModeSelector?(0,$.jsxs)($.Fragment,{children:[` `,(0,$.jsx)(`div`,{className:`w-px h-6 bg-muted-foreground/50`}),(0,$.jsx)(K_,{}),` `]}):null]}),(0,$.jsxs)(`div`,{className:`relative flex items-center gap-2`,children:[(0,$.jsx)(an,{variant:`secondary`,children:(0,$.jsx)(`a`,{href:`https://nexus.quantinuum.com/auth/login`,children:`Nexus Portal`})}),(0,$.jsx)(an,{variant:`secondary`,children:(0,$.jsx)(`a`,{href:`/product-updates`,children:`Platform Updates`})})]})]})});var Q_=s((e=>{function t(e){return e&&e.__esModule?e:{default:e}}e._=t})),$_=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),Object.defineProperty(e,`LoadableContext`,{enumerable:!0,get:function(){return t}});let t=Q_()._(f()).default.createContext(null)})),ev=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),Object.defineProperty(e,`default`,{enumerable:!0,get:function(){return p}});let t=Q_()._(f()),n=$_();function r(e){return e&&e.default?e.default:e}let i=[],a=[],o=!1;function s(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}function c(e,s){let c=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},s),u=null;function d(){if(!u){let t=new l(e,c);u={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return u.promise()}if(typeof window>`u`&&i.push(d),!o&&typeof window<`u`){let e=c.webpack&&typeof require.resolveWeak==`function`?c.webpack():c.modules;e&&a.push(t=>{for(let n of e)if(t.includes(n))return d()})}function f(){d();let e=t.default.useContext(n.LoadableContext);e&&Array.isArray(c.modules)&&c.modules.forEach(t=>{e(t)})}function p(e,n){f();let i=t.default.useSyncExternalStore(u.subscribe,u.getCurrentValue,u.getCurrentValue);return t.default.useImperativeHandle(n,()=>({retry:u.retry}),[]),t.default.useMemo(()=>i.loading||i.error?t.default.createElement(c.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:u.retry}):i.loaded?t.default.createElement(r(i.loaded),e):null,[e,i])}return p.preload=()=>d(),p.displayName=`LoadableComponent`,t.default.forwardRef(p)}var l=class{constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&(typeof t.delay==`number`&&(t.delay===0?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),typeof t.timeout==`number`&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}};function u(e){return c(s,e)}function d(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return d(e,t)})}u.preloadAll=()=>new Promise((e,t)=>{d(i).then(e,t)}),u.preloadReady=(e=[])=>new Promise(t=>{let n=()=>(o=!0,t());d(a,e).then(n,n)}),typeof window<`u`&&(window.__NEXT_PRELOADREADY=u.preloadReady);let p=u})),tv=s(((e,t)=>{Object.defineProperty(e,`__esModule`,{value:!0});function n(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}n(e,{default:function(){return l},noSSR:function(){return c}});let r=Q_(),i=y();f();let a=r._(ev()),o=typeof window>`u`;function s(e){return{default:e?.default||e}}function c(e,t){if(delete t.webpack,delete t.modules,!o)return e(t);let n=t.loading;return()=>(0,i.jsx)(n,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1})}function l(e,t){let n=a.default,r={loading:({error:e,isLoading:t,pastDelay:n})=>null};e instanceof Promise?r.loader=()=>e:typeof e==`function`?r.loader=e:typeof e==`object`&&(r={...r,...e}),r={...r,...t};let i=r.loader,o=()=>i==null?Promise.resolve(s(()=>null)):i().then(s);return r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),typeof r.ssr==`boolean`&&!r.ssr?(delete r.webpack,delete r.modules,c(n,r)):n({...r,loader:o})}(typeof e.default==`function`||typeof e.default==`object`&&e.default!==null)&&e.default.__esModule===void 0&&(Object.defineProperty(e.default,`__esModule`,{value:!0}),Object.assign(e.default,e),t.exports=e.default)})),nv=s(((e,t)=>{t.exports=tv()}));_e();function rv(e){var{onCookiesSettingsButtonClick:t}=e,n=H_(e,[`onCookiesSettingsButtonClick`]);return(0,$.jsxs)(`button`,Object.assign({},n,{onClick:t,type:`button`,"aria-label":`Cookie settings button`,"aria-haspopup":`dialog`,className:`group fixed left-2 bottom-2 z-modal h-8 max-w-8 hover:max-w-xs p-2 flex items-center overflow-hidden bg-muted rounded-full shadow-md cursor-pointer transition-all duration-300 ease-in-out`,children:[(0,$.jsx)(le,{className:`text-muted-foreground group-hover:text-foreground size-4 flex-shrink-0 ml-[1px]`}),(0,$.jsx)(`div`,{className:`whitespace-nowrap transition-all duration-300 ease-in-out max-w-0 group-hover:max-w-xs group-hover:text-foreground text-xs font-medium px-2`,children:`Cookie Settings`})]}))}var iv,av;(function(e){e.Lax=`lax`,e.Strict=`strict`,e.None=`none`})(iv||(iv={})),function(e){e.Essential=`Essential`,e.Analytics=`Analytics`}(av||(av={}));let ov=`cookies_consent`,sv=[{alwaysOn:!0,name:av.Essential,description:`Required for core functionality and security. Examples: sign-in and session management, fraud prevention, storing your cookie settings and basic preferences.`,cookies:[]},{alwaysOn:!1,name:av.Analytics,description:`Helps us understand how the site is used so we can improve content and performance. Data: pages visited, navigation events, device and browser details.`,cookies:[{name:`_ga`,description:`A first-party cookie set by Google Analytics to uniquely identify users on a website and track their activity anonymously for site analytics reports.`,expiry:`2 years`},{name:`_ga_`,description:`Used to persist session state for a specific website container, distinguishing users within a single visit and maintaining information across requests.`,expiry:`2 years`}]}];function cv({name:e,value:t=``,path:n=`/`,domain:r,expires:i,sameSite:a=iv.Lax}){if(!e)throw Error(`Cookie name is required`);let o=[];return o.push(`${e}=${encodeURIComponent(t)}`),n&&o.push(`Path=${n}`),r&&o.push(`Domain=${r}`),i&&o.push(`Expires=${i.toUTCString()}`),a&&o.push(`SameSite=${a}`),o.join(`; `)}function lv(e){let t=e.indexOf(`=`);return t>=0?e.slice(0,t).trim():e.trim()}function uv(e){let t=e.indexOf(`=`);return t>=0?decodeURIComponent(e.slice(t+1).trim()):``}function dv(e){if(function(e){return!e.trim()}(e))return new Map;let t=function(e){return e.split(/;\s*/)}(e).map(e=>[lv(e),uv(e)]);return new Map(t)}function fv(){return typeof document>`u`}function pv(e){if(!fv())return dv(document.cookie).get(e)||void 0}function mv(e){fv()||(document.cookie=cv(e))}function hv(e,t){fv()||mv({name:e,value:``,path:void 0,domain:void 0,expires:new Date(0)})}function gv(e,t,n){let r=n=>e(n,...t);return n===void 0?r:Object.assign(r,{lazy:n,lazyArgs:t})}function _v(e,t,n){let r=e.length-t.length;if(r===0)return e(...t);if(r===1)return gv(e,t,n);throw Error(`Wrong number of arguments`)}function vv(...e){return _v(yv,e)}function yv(e,t){let n={};for(let[r,i]of Object.entries(e))n[r]=t(i,r,e);return n}Xf();let bv={Essential:!0,Analytics:!1},xv=qf(vv(av,()=>Kf())),Sv=qf({consentVersion:Gf(),dateConsentWasGiven:Wf().datetime(),consentCategories:xv});function Cv(e){return Sv.safeParse(e).success}function wv(){let e=pv(ov);if(!e)return bv;try{let t=JSON.parse(e);return Cv(t)?t.consentCategories:(hv(ov),bv)}catch{return hv(ov),bv}}function Tv(e){let t=pv(ov);if(!t)return!1;try{let n=JSON.parse(t);return function(e,t){return e.consentVersion===t||(hv(`cookies_consent`),!1)}(n,e)&&Cv(n)}catch{return hv(ov),!1}}function Ev(e,t){return{consentVersion:t,dateConsentWasGiven:new Date().toISOString(),consentCategories:e}}function Dv(e,t){mv({name:ov,value:JSON.stringify(Ev(e,t)),path:`/`,sameSite:iv.Lax,expires:new Date(Date.now()+24*365*60*60*1e3)})}function Ov(e){Dv(vv(av,()=>!0),e)}function kv(e){Dv(vv(av,(e,t)=>t===av.Essential),e)}V_();var Av=u(f(),1);wg();let jv=({isOpen:e,onClose:t,acceptAll:n,saveConsent:r})=>{let i=uh({defaultValues:(a=sv,o=wv(),o||Object.fromEntries(a.map(e=>[e.name,e.alwaysOn])))});var a,o;return(0,$.jsx)(zm,{open:e,onOpenChange:e=>!e&&t(),children:(0,$.jsx)(Hm,{isDismissable:!0,className:`w-full max-w-[90vw] max-h-[90vh] sm:max-w-xl md:max-w-2xl sm:max-h-[80vh] px-5`,"aria-label":`Cookie settings dialog`,"aria-labelledby":`cookies-settings`,children:(0,$.jsxs)(`article`,{children:[(0,$.jsxs)(`header`,{className:`px-1 mb-5`,children:[(0,$.jsx)(`h2`,{className:`text-lg font-semibold mb-1.5`,children:`Manage Cookies Settings`}),(0,$.jsx)(`p`,{children:`Please choose whether this site may use optional cookies. Optional cookies help us measure usage and improve performance. We only set optional cookies with your consent. You can withdraw consent at any time in Cookie settings.`}),(0,$.jsx)(`a`,{className:`font-semibold hover:underline underline-offset-4 mt-1 block`,href:`https://www.quantinuum.com/cookie-notice`,target:`_blank`,rel:`noopener noreferrer`,children:`More information about our Cookie Notice`})]}),(0,$.jsx)(Ig,Object.assign({},i,{children:(0,$.jsxs)(`form`,{onSubmit:i.handleSubmit(e=>{r(e)}),children:[(0,$.jsx)(`div`,{className:`overflow-y-auto max-h-[40vh] px-1`,children:sv.map(e=>(0,$.jsx)(Rg,{name:e.name,render:({field:t})=>(0,$.jsx)(`section`,{"aria-labelledby":e.name.toLowerCase(),className:`mb-4 md:mb-5 last:mb-0`,children:(0,$.jsxs)(Vg,{children:[(0,$.jsxs)(`div`,{className:`flex items-center`,children:[(0,$.jsx)(Hg,{id:e.name.toLowerCase(),className:`text-lg font-normal`,children:e.name}),e.alwaysOn&&(0,$.jsx)(`span`,{className:`text-primary text-sm font-semibold ml-2`,children:`Always on`}),!e.alwaysOn&&(0,$.jsx)(Ug,{children:(0,$.jsx)(O_,{checked:t.value,disabled:e.alwaysOn,onCheckedChange:t.onChange,className:`mx-2`})})]}),(0,$.jsx)(Wg,{className:`text-sm text-foreground`,children:e.description}),e.cookies?.length>0&&(0,$.jsx)(Yp,{type:`single`,collapsible:!0,className:`w-full`,children:(0,$.jsxs)(Xp,{value:`${e.name}-cookies`,className:`border-b-0`,children:[(0,$.jsx)(Zp,{className:`font-semibold flex justify-start gap-3 p-0`,children:`Cookies Details`}),(0,$.jsx)(Qp,{className:`flex flex-col gap-2 pb-0 mt-8 md:mt-5`,children:(0,$.jsx)(`div`,{className:`md:border-[1px] md:rounded-md`,children:(0,$.jsx)(M_,{children:(0,$.jsx)(P_,{children:e.cookies.map(e=>(0,$.jsxs)(Av.Fragment,{children:[(0,$.jsxs)(I_,{className:`border-none`,children:[(0,$.jsx)(L_,{className:`pl-0 md:pl-3 pr-1 pt-1.5 md:pt-3 pb-1 w-1/5 align-top whitespace-nowrap`,children:`Cookie Name`}),(0,$.jsx)(R_,{className:`pl-1 pr-0 md:pr-3 pt-1.5 md:pt-3 pb-1 align-top font-medium`,children:e.name})]}),(0,$.jsxs)(I_,{className:`border-none`,children:[(0,$.jsx)(L_,{className:`pl-0 md:pl-3 pr-1 pt-1 pb-1 w-1/5 align-top whitespace-nowrap`,children:`Purpose`}),(0,$.jsx)(R_,{className:`pl-1 pr-0 md:pr-3 pt-1 pb-1 align-top`,children:e.description})]}),(0,$.jsxs)(I_,{children:[(0,$.jsx)(L_,{className:`pl-0 md:pl-3 pr-1 pt-1 pb-1.5 md:pb-3 w-1/5 align-top whitespace-nowrap`,children:`Expiry`}),(0,$.jsx)(R_,{className:`pl-1 pr-0 md:pr-3 pt-1 pb-1.5 md:pb-3 align-top`,children:e.expiry})]})]},e.name))})})})})]})})]})})},e.name))}),(0,$.jsxs)(`div`,{className:`flex flex-row-reverse sm:flex-row gap-4 mt-8 md:mt-10 px-1`,children:[(0,$.jsx)(an,{className:`flex-1 md:flex-initial`,type:`button`,onClick:n,children:`Accept All`}),(0,$.jsx)(an,{className:`flex-1 md:flex-initial`,type:`submit`,variant:`secondary`,children:`Save Settings`})]})]})}))]})})})},Mv=(0,Av.createContext)(null),Nv=()=>{let e=(0,Av.useContext)(Mv);if(!e)throw Error(`"useCookieConsent" hook was called outside of CookieConsentProvider`);return e};var Pv=c({CookieBanner:()=>Iv}),Fv,Iv,Lv=o((()=>{Fv=y(),V_(),Iv=({isOpen:e,onAccept:t,onReject:n,onSettings:r})=>(0,Fv.jsx)(zm,{open:e,children:(0,Fv.jsx)(Hm,{isDismissable:!1,isBottomDialog:!0,children:(0,Fv.jsxs)(`div`,{className:`max-w-5xl mx-auto`,"aria-label":`Cookie banner`,children:[(0,Fv.jsx)(`h3`,{className:`text-lg font-semibold capitalize`,children:`We value your privacy`}),(0,Fv.jsxs)(`div`,{className:`pt-1.5 flex flex-col md:flex-row gap-8`,children:[(0,Fv.jsxs)(`p`,{className:`text-base md:w-9/12`,children:[`We use essential cookies to ensure the website functions properly. With your permission, we’ll also use optional cookies to analyze site usage and improve the user experience. For details of how we use cookies and your personal data, please read our`,` `,(0,Fv.jsx)(`a`,{className:`font-semibold hover:underline underline-offset-4 underline`,href:`https://www.quantinuum.com/cookie-notice`,target:`_blank`,rel:`noopener noreferrer`,children:`Cookie Notice`}),` `,`and our`,` `,(0,Fv.jsx)(`a`,{className:`font-semibold hover:underline underline-offset-4 underline`,href:`https://www.quantinuum.com/privacy`,target:`_blank`,rel:`noopener noreferrer`,children:`Privacy Statement`}),`. By using our website, you agree to our`,` `,(0,Fv.jsx)(`a`,{className:`font-semibold hover:underline underline-offset-4 underline`,href:`https://www.quantinuum.com/terms-conditions`,target:`_blank`,rel:`noopener noreferrer`,children:`Terms & Conditions`}),`.`]}),(0,Fv.jsxs)(`div`,{className:`flex flex-col md:hidden`,children:[(0,Fv.jsxs)(`div`,{className:`flex mb-4 gap-4`,children:[(0,Fv.jsx)(an,{variant:`secondary`,className:`w-full`,onClick:n,children:`Required Only`}),(0,Fv.jsx)(an,{className:`w-full`,onClick:t,children:`Accept All`})]}),(0,Fv.jsx)(an,{className:`w-full`,variant:`outline`,onClick:r,children:`Manage Settings`})]}),(0,Fv.jsx)(`div`,{className:`hidden md:block w-3/12`,children:(0,Fv.jsxs)(`div`,{className:`flex flex-col gap-3`,children:[(0,Fv.jsx)(an,{className:`w-full`,onClick:t,children:`Accept All`}),(0,Fv.jsxs)(`div`,{className:`flex md:flex-col lg:flex-row gap-3`,children:[(0,Fv.jsx)(an,{variant:`secondary`,onClick:n,className:`flex-1`,children:`Required Only`}),(0,Fv.jsx)(an,{variant:`outline`,onClick:r,className:`flex-1`,children:`Settings`})]})]})})]})]})})})}));let Rv=(0,u(nv(),1).default)(()=>Promise.resolve().then(()=>(Lv(),Pv)).then(e=>e.CookieBanner),{ssr:!1});function zv(){let{isCookieBannerVisible:e,isCookieSettingsDialogVisible:t,acceptAll:n,rejectNonEssential:r,openSettings:i,saveConsent:a,closeCookieSettingsDialog:o,isConsentSet:s}=Nv();return t?(0,$.jsx)(jv,{isOpen:!0,acceptAll:n,saveConsent:a,onClose:o}):s?(0,$.jsx)(rv,{onCookiesSettingsButtonClick:i}):e?(0,$.jsx)(Rv,{isOpen:!0,onAccept:n,onReject:r,onSettings:i}):null}function Bv({category:e,fallback:t=null,children:n}){let{consent:r}=Nv();return r[e]?(0,$.jsx)($.Fragment,{children:n}):(0,$.jsx)($.Fragment,{children:t})}function Vv(e,t){switch(t.type){case`ACCEPT_ALL`:return Ov(t.version),Object.assign(Object.assign({},e),{consent:wv(),isCookieBannerVisible:!1,isCookieSettingsDialogVisible:!1,isConsentSet:!0});case`REJECT_NON_ESSENTIAL`:return kv(t.version),Object.assign(Object.assign({},e),{consent:wv(),isCookieBannerVisible:!1,isConsentSet:!0});case`OPEN_SETTINGS`:return Object.assign(Object.assign({},e),{isCookieBannerVisible:!1,isCookieSettingsDialogVisible:!0});case`SAVE_CONSENT`:return Dv(t.consent,t.version),Object.assign(Object.assign({},e),{consent:wv(),isCookieSettingsDialogVisible:!1,isConsentSet:!0});case`CLOSE_SETTINGS`:return Object.assign(Object.assign({},e),{isCookieSettingsDialogVisible:!1,isCookieBannerVisible:!e.isConsentSet});case`INITIALIZE`:{let n=Tv(t.version);return Object.assign(Object.assign({},e),{isConsentSet:n,isCookieBannerVisible:!n})}default:return e}}function Hv(e){let t=Tv(e);return{isCookieBannerVisible:!t,isCookieSettingsDialogVisible:!1,isConsentSet:t,consent:wv()}}let Uv=({children:e,version:t})=>{let[n,r]=(0,Av.useReducer)(Vv,t,Hv);return(0,$.jsx)(Mv.Provider,{value:{isCookieBannerVisible:n.isCookieBannerVisible,isCookieSettingsDialogVisible:n.isCookieSettingsDialogVisible,isConsentSet:n.isConsentSet,consent:n.consent,acceptAll:function(){r({type:`ACCEPT_ALL`,version:t})},rejectNonEssential:function(){r({type:`REJECT_NON_ESSENTIAL`,version:t})},openSettings:function(){r({type:`OPEN_SETTINGS`})},saveConsent:function(e){r({type:`SAVE_CONSENT`,consent:e,version:t})},closeCookieSettingsDialog:function(){r({type:`CLOSE_SETTINGS`})}},children:e})};var Wv=s(((e,t)=>{t.exports={id:`google-analytics`,description:`Install a Google Analytics tag on your website`,website:`https://analytics.google.com/analytics/web/`,scripts:[{url:`https://www.googletagmanager.com/gtag/js`,params:[`id`],strategy:`worker`,location:`head`,action:`append`},{code:"window.dataLayer=window.dataLayer||[];window.gtag=function gtag(){window.dataLayer.push(arguments);};gtag('js',new Date());gtag('config','${args.id}')",strategy:`worker`,location:`head`,action:`append`}]}})),Gv=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.formatData=e.createHtml=e.formatUrl=void 0;function t(e,t,n=!1){return t?Object.keys(e).filter(e=>n?!t.includes(e):t.includes(e)).reduce((t,n)=>(t[n]=e[n],t),{}):{}}function n(e,t,n,r){let i=r&&Object.keys(r).length>0?new URL(Object.values(r)[0],e):new URL(e);return t&&n&&t.forEach(e=>{n[e]&&i.searchParams.set(e,n[e])}),i.toString()}e.formatUrl=n;function r(e,t,r,i,a){if(!t)return`<${e}>`;let o=t.src?.url?Object.assign(Object.assign({},t),{src:n(t.src.url,t.src.params,i,a)}):t;return`<${e}${Object.keys(Object.assign(Object.assign({},o),r)).reduce((e,t)=>{let n=r?.[t],i=o[t],a=n??i,s=a===!0?t:`${t}="${a}"`;return a?e+` ${s}`:e},``)}>`}e.createHtml=r;function i(e,i){let a=t(i,e.scripts?.reduce((e,t)=>[...e,...Array.isArray(t.params)?t.params:[]],[])),o=t(i,e.html?.attributes.src?.params),s=t(i,[e.html?.attributes.src?.slugParam]),c=t(i,[...Object.keys(a),...Object.keys(o),...Object.keys(s)],!0);return Object.assign(Object.assign({},e),{html:e.html?r(e.html.element,e.html.attributes,c,o,s):null,scripts:e.scripts?e.scripts.map(e=>Object.assign(Object.assign({},e),{url:n(e.url,e.params,a)})):null})}e.formatData=i})),Kv=s((e=>{var t=e&&e.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n=t(e,[]);return(0,i.formatData)(r.default,n)}})),qv=s(((e,t)=>{t.exports={id:`google-maps-embed`,description:`Embed a Google Maps embed on your webpage`,website:`https://developers.google.com/maps/documentation/embed/get-started`,html:{element:`iframe`,attributes:{loading:`lazy`,src:{url:`https://www.google.com/maps/embed/v1/place`,slugParam:`mode`,params:[`key`,`q`,`center`,`zoom`,`maptype`,`language`,`region`]},referrerpolicy:`no-referrer-when-downgrade`,frameborder:`0`,style:`border:0`,allowfullscreen:!0,width:null,height:null}}}})),Jv=s((e=>{var t=e&&e.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n=t(e,[]);return(0,i.formatData)(r.default,n)}})),Yv=s(((e,t)=>{t.exports={id:`youtube-embed`,description:`Embed a YouTube embed on your webpage.`,website:`https://github.com/paulirish/lite-youtube-embed`,html:{element:`lite-youtube`,attributes:{videoid:null,playlabel:null}},stylesheets:[`https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.css`],scripts:[{url:`https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.js`,strategy:`idle`,location:`head`,action:`append`}]}})),Xv=s((e=>{var t=e&&e.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n=t(e,[]);return(0,i.formatData)(r.default,n)}})),Zv=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.YouTubeEmbed=e.GoogleMapsEmbed=e.GoogleAnalytics=void 0;var t=Kv();Object.defineProperty(e,`GoogleAnalytics`,{enumerable:!0,get:function(){return t.GoogleAnalytics}});var n=Jv();Object.defineProperty(e,`GoogleMapsEmbed`,{enumerable:!0,get:function(){return n.GoogleMapsEmbed}});var r=Xv();Object.defineProperty(e,`YouTubeEmbed`,{enumerable:!0,get:function(){return r.YouTubeEmbed}})})),Qv=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.default=r;let t=y(),n=f();function r({html:e,height:r=null,width:i=null,children:a,dataNtpc:o=``}){return(0,n.useEffect)(()=>{o&&performance.mark(`mark_feature_usage`,{detail:{feature:`next-third-parties-${o}`}})},[o]),(0,t.jsxs)(t.Fragment,{children:[a,e?(0,t.jsx)(`div`,{style:{height:r==null?`auto`:`${r}px`,width:i==null?`auto`:`${i}px`},"data-ntpc":o,dangerouslySetInnerHTML:{__html:e}}):null]})}})),$v=s((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.default=a;let n=y(),r=Zv(),i=t(Qv());function a(e){let{apiKey:t,...a}=e,o={...a,key:t},{html:s}=(0,r.GoogleMapsEmbed)(o);return(0,n.jsx)(i.default,{height:o.height||null,width:o.width||null,html:s,dataNtpc:`GoogleMapsEmbed`})}})),ey=s((e=>{function t(e){if(typeof WeakMap!=`function`)return null;var n=new WeakMap,r=new WeakMap;return(t=function(e){return e?r:n})(e)}function n(e,n){if(!n&&e&&e.__esModule)return e;if(e===null||typeof e!=`object`&&typeof e!=`function`)return{default:e};var r=t(n);if(r&&r.has(e))return r.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!==`default`&&Object.prototype.hasOwnProperty.call(e,o)){var s=a?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(i,o,s):i[o]=e[o]}return i.default=e,r&&r.set(e,i),i}e._=n})),ty=s((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),Object.defineProperty(e,`HeadManagerContext`,{enumerable:!0,get:function(){return t}});let t=Q_()._(f()).default.createContext({})})),ny=s(((e,t)=>{Object.defineProperty(e,`__esModule`,{value:!0}),Object.defineProperty(e,`setAttributesFromProps`,{enumerable:!0,get:function(){return a}});let n={acceptCharset:`accept-charset`,className:`class`,htmlFor:`for`,httpEquiv:`http-equiv`,noModule:`noModule`},r=[`onLoad`,`onReady`,`dangerouslySetInnerHTML`,`children`,`onError`,`strategy`,`stylesheets`];function i(e){return[`async`,`defer`,`noModule`].includes(e)}function a(e,t){for(let[a,o]of Object.entries(t)){if(!t.hasOwnProperty(a)||r.includes(a)||o===void 0)continue;let s=n[a]||a.toLowerCase();e.tagName===`SCRIPT`&&i(s)?e[s]=!!o:e.setAttribute(s,String(o)),(o===!1||e.tagName===`SCRIPT`&&i(s)&&(!o||o===`false`))&&(e.setAttribute(s,``),e.removeAttribute(s))}}(typeof e.default==`function`||typeof e.default==`object`&&e.default!==null)&&e.default.__esModule===void 0&&(Object.defineProperty(e.default,`__esModule`,{value:!0}),Object.assign(e.default,e),t.exports=e.default)})),ry=s(((e,t)=>{Object.defineProperty(e,`__esModule`,{value:!0});function n(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}n(e,{cancelIdleCallback:function(){return i},requestIdleCallback:function(){return r}});let r=typeof self<`u`&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},i=typeof self<`u`&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};(typeof e.default==`function`||typeof e.default==`object`&&e.default!==null)&&e.default.__esModule===void 0&&(Object.defineProperty(e.default,`__esModule`,{value:!0}),Object.assign(e.default,e),t.exports=e.default)})),iy=s(((e,t)=>{Object.defineProperty(e,`__esModule`,{value:!0});function n(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}n(e,{default:function(){return C},handleClientScriptLoad:function(){return _},initScriptLoader:function(){return x}});let r=Q_(),i=ey(),a=y(),o=r._(g()),s=i._(f()),c=ty(),l=ny(),u=ry(),d=new Map,p=new Set,m=e=>{if(o.default.preinit){e.forEach(e=>{o.default.preinit(e,{as:`style`})});return}if(typeof window<`u`){let t=document.head;e.forEach(e=>{let n=document.createElement(`link`);n.type=`text/css`,n.rel=`stylesheet`,n.href=e,t.appendChild(n)})}},h=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:i=null,dangerouslySetInnerHTML:a,children:o=``,strategy:s=`afterInteractive`,onError:c,stylesheets:u}=e,f=n||t;if(f&&p.has(f))return;if(d.has(t)){p.add(f),d.get(t).then(r,c);return}let h=()=>{i&&i(),p.add(f)},g=document.createElement(`script`),_=new Promise((e,t)=>{g.addEventListener(`load`,function(t){e(),r&&r.call(this,t),h()}),g.addEventListener(`error`,function(e){t(e)})}).catch(function(e){c&&c(e)});a?(g.innerHTML=a.__html||``,h()):o?(g.textContent=typeof o==`string`?o:Array.isArray(o)?o.join(``):``,h()):t&&(g.src=t,d.set(t,_)),(0,l.setAttributesFromProps)(g,e),s===`worker`&&g.setAttribute(`type`,`text/partytown`),g.setAttribute(`data-nscript`,s),u&&m(u),document.body.appendChild(g)};function _(e){let{strategy:t=`afterInteractive`}=e;t===`lazyOnload`?window.addEventListener(`load`,()=>{(0,u.requestIdleCallback)(()=>h(e))}):h(e)}function v(e){document.readyState===`complete`?(0,u.requestIdleCallback)(()=>h(e)):window.addEventListener(`load`,()=>{(0,u.requestIdleCallback)(()=>h(e))})}function b(){[...document.querySelectorAll(`[data-nscript="beforeInteractive"]`),...document.querySelectorAll(`[data-nscript="beforePageRender"]`)].forEach(e=>{let t=e.id||e.getAttribute(`src`);p.add(t)})}function x(e){e.forEach(_),b()}function S(e){let{id:t,src:n=``,onLoad:r=()=>{},onReady:i=null,strategy:l=`afterInteractive`,onError:u,stylesheets:d,...f}=e,{updateScripts:m,scripts:g,getIsSsr:_,appDir:y,nonce:b}=(0,s.useContext)(c.HeadManagerContext);b=f.nonce||b;let x=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let e=t||n;x.current||(i&&e&&p.has(e)&&i(),x.current=!0)},[i,t,n]);let S=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{S.current||(l===`afterInteractive`?h(e):l===`lazyOnload`&&v(e),S.current=!0)},[e,l]),(l===`beforeInteractive`||l===`worker`)&&(m?(g[l]=(g[l]||[]).concat([{id:t,src:n,onLoad:r,onReady:i,onError:u,...f,nonce:b}]),m(g)):_&&_()?p.add(t||n):_&&!_()&&h({...e,nonce:b})),y){if(d&&d.forEach(e=>{o.default.preinit(e,{as:`style`})}),l===`beforeInteractive`)return n?(o.default.preload(n,f.integrity?{as:`script`,integrity:f.integrity,nonce:b,crossOrigin:f.crossOrigin}:{as:`script`,nonce:b,crossOrigin:f.crossOrigin}),(0,a.jsx)(`script`,{nonce:b,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([n,{...f,id:t}])})`}})):(f.dangerouslySetInnerHTML&&(f.children=f.dangerouslySetInnerHTML.__html,delete f.dangerouslySetInnerHTML),(0,a.jsx)(`script`,{nonce:b,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([0,{...f,id:t}])})`}}));l===`afterInteractive`&&n&&o.default.preload(n,f.integrity?{as:`script`,integrity:f.integrity,nonce:b,crossOrigin:f.crossOrigin}:{as:`script`,nonce:b,crossOrigin:f.crossOrigin})}return null}Object.defineProperty(S,`__nextScript`,{value:!0});let C=S;(typeof e.default==`function`||typeof e.default==`object`&&e.default!==null)&&e.default.__esModule===void 0&&(Object.defineProperty(e.default,`__esModule`,{value:!0}),Object.assign(e.default,e),t.exports=e.default)})),ay=s(((e,t)=>{t.exports=iy()})),oy=s((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.default=s;let n=y(),r=t(ay()),i=Zv(),a=t(Qv()),o={server:`beforeInteractive`,client:`afterInteractive`,idle:`lazyOnload`,worker:`worker`};function s(e){let{html:t,scripts:s,stylesheets:c}=(0,i.YouTubeEmbed)(e);return(0,n.jsx)(a.default,{height:e.height||null,width:e.width||null,html:t,dataNtpc:`YouTubeEmbed`,children:s?.map(e=>(0,n.jsx)(r.default,{src:e.url,strategy:o[e.strategy],stylesheets:c},e.url))})}})),sy=s((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.sendGTMEvent=void 0,e.GoogleTagManager=o;let n=y(),r=f(),i=t(ay()),a=`dataLayer`;function o(e){let{gtmId:t,gtmScriptUrl:o,dataLayerName:s=`dataLayer`,auth:c,preview:l,dataLayer:u,nonce:d}=e;a=s;let f=new URL(o||`https://www.googletagmanager.com/gtm.js`);return t&&f.searchParams.set(`id`,t),s!==`dataLayer`&&f.searchParams.set(`l`,s),c&&f.searchParams.set(`gtm_auth`,c),l&&(f.searchParams.set(`gtm_preview`,l),f.searchParams.set(`gtm_cookies_win`,`x`)),(0,r.useEffect)(()=>{performance.mark(`mark_feature_usage`,{detail:{feature:`next-third-parties-gtm`}})},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.default,{id:`_next-gtm-init`,dangerouslySetInnerHTML:{__html:` - (function(w,l){ - w[l]=w[l]||[]; - w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'}); - ${u?`w[l].push(${JSON.stringify(u)})`:``} - })(window,'${s}');`},nonce:d}),(0,n.jsx)(i.default,{id:`_next-gtm`,"data-ntpc":`GTM`,src:f.href,nonce:d})]})}e.sendGTMEvent=(e,t)=>{let n=t||a;window[n]=window[n]||[],window[n].push(e)}})),cy=s((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.GoogleAnalytics=o,e.sendGAEvent=s;let n=y(),r=f(),i=t(ay()),a;function o(e){let{gaId:t,debugMode:o,dataLayerName:s=`dataLayer`,nonce:c}=e;return a===void 0&&(a=s),(0,r.useEffect)(()=>{performance.mark(`mark_feature_usage`,{detail:{feature:`next-third-parties-ga`}})},[]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.default,{id:`_next-ga-init`,dangerouslySetInnerHTML:{__html:` - window['${s}'] = window['${s}'] || []; - function gtag(){window['${s}'].push(arguments);} - gtag('js', new Date()); - - gtag('config', '${t}' ${o?`,{ 'debug_mode': true }`:``});`},nonce:c}),(0,n.jsx)(i.default,{id:`_next-ga`,src:`https://www.googletagmanager.com/gtag/js?id=${t}`,nonce:c})]})}function s(...e){if(a===void 0){console.warn(`@next/third-parties: GA has not been initialized`);return}window[a]?window[a].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${a} does not exist`)}})),ly=s((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.sendGAEvent=e.GoogleAnalytics=e.sendGTMEvent=e.GoogleTagManager=e.YouTubeEmbed=e.GoogleMapsEmbed=void 0;var n=$v();Object.defineProperty(e,`GoogleMapsEmbed`,{enumerable:!0,get:function(){return t(n).default}});var r=oy();Object.defineProperty(e,`YouTubeEmbed`,{enumerable:!0,get:function(){return t(r).default}});var i=sy();Object.defineProperty(e,`GoogleTagManager`,{enumerable:!0,get:function(){return i.GoogleTagManager}}),Object.defineProperty(e,`sendGTMEvent`,{enumerable:!0,get:function(){return i.sendGTMEvent}});var a=cy();Object.defineProperty(e,`GoogleAnalytics`,{enumerable:!0,get:function(){return a.GoogleAnalytics}}),Object.defineProperty(e,`sendGAEvent`,{enumerable:!0,get:function(){return a.sendGAEvent}})})),uy=_();ly();let dy=`use-tailwind`;(()=>{document.body.classList.add(dy);let e=document.querySelector(`.nexus-nav`);if(!e)return;let t=document.createElement(`div`);e.appendChild(t),(0,uy.createRoot)(t).render((0,$.jsx)(`div`,{className:dy,children:(0,$.jsx)(`div`,{className:`antialiased`,style:{fontFamily:`Inter, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"`},children:(0,$.jsxs)(Uv,{version:1,children:[(0,$.jsx)(Bv,{category:av.Analytics,fallback:null,children:``}),(0,$.jsx)(Z_,{activePath:`/`}),(0,$.jsx)(zv,{})]})})}))})()})(); diff --git a/sphinx-ui/quantinuum_sphinx/static/styles/.gitignore b/sphinx-ui/quantinuum_sphinx/static/styles/.gitignore new file mode 100644 index 0000000..16bf346 --- /dev/null +++ b/sphinx-ui/quantinuum_sphinx/static/styles/.gitignore @@ -0,0 +1,3 @@ +# Ignore generated files +quantinuum-ui-tailwind.css +quantinuum-ui-tokens.css diff --git a/sphinx-ui/quantinuum_sphinx/static/styles/quantinuum-ui-tailwind.css b/sphinx-ui/quantinuum_sphinx/static/styles/quantinuum-ui-tailwind.css deleted file mode 100644 index 2ce76b3..0000000 --- a/sphinx-ui/quantinuum_sphinx/static/styles/quantinuum-ui-tailwind.css +++ /dev/null @@ -1,3796 +0,0 @@ -.use-tailwind *, .use-tailwind ::before, .use-tailwind ::after { - --tw-border-spacing-x: 0; - --tw-border-spacing-y: 0; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-rotate: 0; - --tw-skew-x: 0; - --tw-skew-y: 0; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; - --tw-scroll-snap-strictness: proximity; - --tw-gradient-from-position: ; - --tw-gradient-via-position: ; - --tw-gradient-to-position: ; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-color: rgb(59 130 246 / 0.5); - --tw-ring-offset-shadow: 0 0 #0000; - --tw-ring-shadow: 0 0 #0000; - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; - --tw-contain-size: ; - --tw-contain-layout: ; - --tw-contain-paint: ; - --tw-contain-style: ; -} - -.use-tailwind ::backdrop { - --tw-border-spacing-x: 0; - --tw-border-spacing-y: 0; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-rotate: 0; - --tw-skew-x: 0; - --tw-skew-y: 0; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; - --tw-scroll-snap-strictness: proximity; - --tw-gradient-from-position: ; - --tw-gradient-via-position: ; - --tw-gradient-to-position: ; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-color: rgb(59 130 246 / 0.5); - --tw-ring-offset-shadow: 0 0 #0000; - --tw-ring-shadow: 0 0 #0000; - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; - --tw-contain-size: ; - --tw-contain-layout: ; - --tw-contain-paint: ; - --tw-contain-style: ; -} - -/* -! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com -*/ - -/* -1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) -2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) -*/ - -.use-tailwind *, -.use-tailwind ::before, -.use-tailwind ::after { - box-sizing: border-box; - /* 1 */ - border-width: 0; - /* 2 */ - border-style: solid; - /* 2 */ - border-color: #e5e7eb; - /* 2 */ -} - -.use-tailwind ::before, -.use-tailwind ::after { - --tw-content: ''; -} - -/* -1. Use a consistent sensible line-height in all browsers. -2. Prevent adjustments of font size after orientation changes in iOS. -3. Use a more readable tab size. -4. Use the user's configured `sans` font-family by default. -5. Use the user's configured `sans` font-feature-settings by default. -6. Use the user's configured `sans` font-variation-settings by default. -7. Disable tap highlights on iOS -*/ - -.use-tailwind html, -.use-tailwind :host { - line-height: 1.5; - /* 1 */ - -webkit-text-size-adjust: 100%; - /* 2 */ - -moz-tab-size: 4; - /* 3 */ - -o-tab-size: 4; - tab-size: 4; - /* 3 */ - font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; - /* 4 */ - font-feature-settings: normal; - /* 5 */ - font-variation-settings: normal; - /* 6 */ - -webkit-tap-highlight-color: transparent; - /* 7 */ -} - -/* -1. Remove the margin in all browsers. -2. Inherit line-height from `html` so users can set them as a class directly on the `html` element. -*/ - -.use-tailwind body { - margin: 0; - /* 1 */ - line-height: inherit; - /* 2 */ -} - -/* -1. Add the correct height in Firefox. -2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655) -3. Ensure horizontal rules are visible by default. -*/ - -.use-tailwind hr { - height: 0; - /* 1 */ - color: inherit; - /* 2 */ - border-top-width: 1px; - /* 3 */ -} - -/* -Add the correct text decoration in Chrome, Edge, and Safari. -*/ - -.use-tailwind abbr:where([title]) { - -webkit-text-decoration: underline dotted; - text-decoration: underline dotted; -} - -/* -Remove the default font size and weight for headings. -*/ - -.use-tailwind h1, -.use-tailwind h2, -.use-tailwind h3, -.use-tailwind h4, -.use-tailwind h5, -.use-tailwind h6 { - font-size: inherit; - font-weight: inherit; -} - -/* -Reset links to optimize for opt-in styling instead of opt-out. -*/ - -.use-tailwind a { - color: inherit; - text-decoration: inherit; -} - -/* -Add the correct font weight in Edge and Safari. -*/ - -.use-tailwind b, -.use-tailwind strong { - font-weight: bolder; -} - -/* -1. Use the user's configured `mono` font-family by default. -2. Use the user's configured `mono` font-feature-settings by default. -3. Use the user's configured `mono` font-variation-settings by default. -4. Correct the odd `em` font sizing in all browsers. -*/ - -.use-tailwind code, -.use-tailwind kbd, -.use-tailwind samp, -.use-tailwind pre { - font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; - /* 1 */ - font-feature-settings: normal; - /* 2 */ - font-variation-settings: normal; - /* 3 */ - font-size: 1em; - /* 4 */ -} - -/* -Add the correct font size in all browsers. -*/ - -.use-tailwind small { - font-size: 80%; -} - -/* -Prevent `sub` and `sup` elements from affecting the line height in all browsers. -*/ - -.use-tailwind sub, -.use-tailwind sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -.use-tailwind sub { - bottom: -0.25em; -} - -.use-tailwind sup { - top: -0.5em; -} - -/* -1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297) -2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016) -3. Remove gaps between table borders by default. -*/ - -.use-tailwind table { - text-indent: 0; - /* 1 */ - border-color: inherit; - /* 2 */ - border-collapse: collapse; - /* 3 */ -} - -/* -1. Change the font styles in all browsers. -2. Remove the margin in Firefox and Safari. -3. Remove default padding in all browsers. -*/ - -.use-tailwind button, -.use-tailwind input, -.use-tailwind optgroup, -.use-tailwind select, -.use-tailwind textarea { - font-family: inherit; - /* 1 */ - font-feature-settings: inherit; - /* 1 */ - font-variation-settings: inherit; - /* 1 */ - font-size: 100%; - /* 1 */ - font-weight: inherit; - /* 1 */ - line-height: inherit; - /* 1 */ - letter-spacing: inherit; - /* 1 */ - color: inherit; - /* 1 */ - margin: 0; - /* 2 */ - padding: 0; - /* 3 */ -} - -/* -Remove the inheritance of text transform in Edge and Firefox. -*/ - -.use-tailwind button, -.use-tailwind select { - text-transform: none; -} - -/* -1. Correct the inability to style clickable types in iOS and Safari. -2. Remove default button styles. -*/ - -.use-tailwind button, -.use-tailwind input:where([type='button']), -.use-tailwind input:where([type='reset']), -.use-tailwind input:where([type='submit']) { - -webkit-appearance: button; - /* 1 */ - background-color: transparent; - /* 2 */ - background-image: none; - /* 2 */ -} - -/* -Use the modern Firefox focus style for all focusable elements. -*/ - -.use-tailwind :-moz-focusring { - outline: auto; -} - -/* -Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737) -*/ - -.use-tailwind :-moz-ui-invalid { - box-shadow: none; -} - -/* -Add the correct vertical alignment in Chrome and Firefox. -*/ - -.use-tailwind progress { - vertical-align: baseline; -} - -/* -Correct the cursor style of increment and decrement buttons in Safari. -*/ - -.use-tailwind ::-webkit-inner-spin-button, -.use-tailwind ::-webkit-outer-spin-button { - height: auto; -} - -/* -1. Correct the odd appearance in Chrome and Safari. -2. Correct the outline style in Safari. -*/ - -.use-tailwind [type='search'] { - -webkit-appearance: textfield; - /* 1 */ - outline-offset: -2px; - /* 2 */ -} - -/* -Remove the inner padding in Chrome and Safari on macOS. -*/ - -.use-tailwind ::-webkit-search-decoration { - -webkit-appearance: none; -} - -/* -1. Correct the inability to style clickable types in iOS and Safari. -2. Change font properties to `inherit` in Safari. -*/ - -.use-tailwind ::-webkit-file-upload-button { - -webkit-appearance: button; - /* 1 */ - font: inherit; - /* 2 */ -} - -/* -Add the correct display in Chrome and Safari. -*/ - -.use-tailwind summary { - display: list-item; -} - -/* -Removes the default spacing and border for appropriate elements. -*/ - -.use-tailwind blockquote, -.use-tailwind dl, -.use-tailwind dd, -.use-tailwind h1, -.use-tailwind h2, -.use-tailwind h3, -.use-tailwind h4, -.use-tailwind h5, -.use-tailwind h6, -.use-tailwind hr, -.use-tailwind figure, -.use-tailwind p, -.use-tailwind pre { - margin: 0; -} - -.use-tailwind fieldset { - margin: 0; - padding: 0; -} - -.use-tailwind legend { - padding: 0; -} - -.use-tailwind ol, -.use-tailwind ul, -.use-tailwind menu { - list-style: none; - margin: 0; - padding: 0; -} - -/* -Reset default styling for dialogs. -*/ - -.use-tailwind dialog { - padding: 0; -} - -/* -Prevent resizing textareas horizontally by default. -*/ - -.use-tailwind textarea { - resize: vertical; -} - -/* -1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300) -2. Set the default placeholder color to the user's configured gray 400 color. -*/ - -.use-tailwind input::-moz-placeholder, .use-tailwind textarea::-moz-placeholder { - opacity: 1; - /* 1 */ - color: #9ca3af; - /* 2 */ -} - -.use-tailwind input::placeholder, -.use-tailwind textarea::placeholder { - opacity: 1; - /* 1 */ - color: #9ca3af; - /* 2 */ -} - -/* -Set the default cursor for buttons. -*/ - -.use-tailwind button, -.use-tailwind [role="button"] { - cursor: pointer; -} - -/* -Make sure disabled buttons don't get the pointer cursor. -*/ - -.use-tailwind :disabled { - cursor: default; -} - -/* -1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14) -2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210) - This can trigger a poorly considered lint error in some tools but is included by design. -*/ - -.use-tailwind img, -.use-tailwind svg, -.use-tailwind video, -.use-tailwind canvas, -.use-tailwind audio, -.use-tailwind iframe, -.use-tailwind embed, -.use-tailwind object { - display: block; - /* 1 */ - vertical-align: middle; - /* 2 */ -} - -/* -Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14) -*/ - -.use-tailwind img, -.use-tailwind video { - max-width: 100%; - height: auto; -} - -/* Make elements with the HTML hidden attribute stay hidden by default */ - -.use-tailwind [hidden]:where(:not([hidden="until-found"])) { - display: none; -} - -.use-tailwind * { - border-color: hsl(var(--border)); -} - -.use-tailwind body { - background-color: hsl(var(--background)); - font-size: 0.875rem; - line-height: 1.25rem; - color: hsl(var(--foreground)); - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.use-tailwind .container { - width: 100%; - margin-right: auto; - margin-left: auto; - padding-right: 2rem; - padding-left: 2rem; -} - -@media (min-width: 1400px) { - .use-tailwind .container { - max-width: 1400px; - } -} - -.use-tailwind .sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border-width: 0; -} - -.use-tailwind .pointer-events-none { - pointer-events: none; -} - -.use-tailwind .visible { - visibility: visible; -} - -.use-tailwind .invisible { - visibility: hidden; -} - -.use-tailwind .fixed { - position: fixed; -} - -.use-tailwind .absolute { - position: absolute; -} - -.use-tailwind .relative { - position: relative; -} - -.use-tailwind .sticky { - position: sticky; -} - -.use-tailwind .inset-0 { - inset: 0px; -} - -.use-tailwind .inset-x-0 { - left: 0px; - right: 0px; -} - -.use-tailwind .inset-y-0 { - top: 0px; - bottom: 0px; -} - -.use-tailwind .bottom-0 { - bottom: 0px; -} - -.use-tailwind .bottom-2 { - bottom: 0.5rem; -} - -.use-tailwind .left-0 { - left: 0px; -} - -.use-tailwind .left-1 { - left: 0.25rem; -} - -.use-tailwind .left-2 { - left: 0.5rem; -} - -.use-tailwind .left-\[50\%\] { - left: 50%; -} - -.use-tailwind .right-0 { - right: 0px; -} - -.use-tailwind .right-1 { - right: 0.25rem; -} - -.use-tailwind .right-2 { - right: 0.5rem; -} - -.use-tailwind .right-4 { - right: 1rem; -} - -.use-tailwind .top-0 { - top: 0px; -} - -.use-tailwind .top-4 { - top: 1rem; -} - -.use-tailwind .top-\[1px\] { - top: 1px; -} - -.use-tailwind .top-\[50\%\] { - top: 50%; -} - -.use-tailwind .top-\[60\%\] { - top: 60%; -} - -.use-tailwind .top-full { - top: 100%; -} - -.use-tailwind .z-10 { - z-index: 10; -} - -.use-tailwind .z-50 { - z-index: 50; -} - -.use-tailwind .z-\[100\] { - z-index: 100; -} - -.use-tailwind .z-\[1\] { - z-index: 1; -} - -.use-tailwind .order-first { - order: -9999; -} - -.use-tailwind .order-last { - order: 9999; -} - -.use-tailwind .row-span-4 { - grid-row: span 4 / span 4; -} - -.use-tailwind .-mx-1 { - margin-left: -0.25rem; - margin-right: -0.25rem; -} - -.use-tailwind .-my-4 { - margin-top: -1rem; - margin-bottom: -1rem; -} - -.use-tailwind .mx-0\.5 { - margin-left: 0.125rem; - margin-right: 0.125rem; -} - -.use-tailwind .mx-2 { - margin-left: 0.5rem; - margin-right: 0.5rem; -} - -.use-tailwind .mx-auto { - margin-left: auto; - margin-right: auto; -} - -.use-tailwind .my-1 { - margin-top: 0.25rem; - margin-bottom: 0.25rem; -} - -.use-tailwind .my-12 { - margin-top: 3rem; - margin-bottom: 3rem; -} - -.use-tailwind .my-2 { - margin-top: 0.5rem; - margin-bottom: 0.5rem; -} - -.use-tailwind .my-24 { - margin-top: 6rem; - margin-bottom: 6rem; -} - -.use-tailwind .my-4 { - margin-top: 1rem; - margin-bottom: 1rem; -} - -.use-tailwind .-mb-0\.5 { - margin-bottom: -0.125rem; -} - -.use-tailwind .-mt-1 { - margin-top: -0.25rem; -} - -.use-tailwind .-mt-4 { - margin-top: -1rem; -} - -.use-tailwind .mb-0 { - margin-bottom: 0px; -} - -.use-tailwind .mb-1 { - margin-bottom: 0.25rem; -} - -.use-tailwind .mb-1\.5 { - margin-bottom: 0.375rem; -} - -.use-tailwind .mb-12 { - margin-bottom: 3rem; -} - -.use-tailwind .mb-16 { - margin-bottom: 4rem; -} - -.use-tailwind .mb-24 { - margin-bottom: 6rem; -} - -.use-tailwind .mb-3 { - margin-bottom: 0.75rem; -} - -.use-tailwind .mb-4 { - margin-bottom: 1rem; -} - -.use-tailwind .mb-5 { - margin-bottom: 1.25rem; -} - -.use-tailwind .mb-6 { - margin-bottom: 1.5rem; -} - -.use-tailwind .mb-8 { - margin-bottom: 2rem; -} - -.use-tailwind .ml-1 { - margin-left: 0.25rem; -} - -.use-tailwind .ml-2 { - margin-left: 0.5rem; -} - -.use-tailwind .ml-4 { - margin-left: 1rem; -} - -.use-tailwind .ml-\[1px\] { - margin-left: 1px; -} - -.use-tailwind .ml-auto { - margin-left: auto; -} - -.use-tailwind .mr-10 { - margin-right: 2.5rem; -} - -.use-tailwind .mr-2 { - margin-right: 0.5rem; -} - -.use-tailwind .mr-3 { - margin-right: 0.75rem; -} - -.use-tailwind .mr-4 { - margin-right: 1rem; -} - -.use-tailwind .mt-0 { - margin-top: 0px; -} - -.use-tailwind .mt-1 { - margin-top: 0.25rem; -} - -.use-tailwind .mt-1\.5 { - margin-top: 0.375rem; -} - -.use-tailwind .mt-2 { - margin-top: 0.5rem; -} - -.use-tailwind .mt-3 { - margin-top: 0.75rem; -} - -.use-tailwind .mt-4 { - margin-top: 1rem; -} - -.use-tailwind .mt-5 { - margin-top: 1.25rem; -} - -.use-tailwind .mt-8 { - margin-top: 2rem; -} - -.use-tailwind .line-clamp-1 { - overflow: hidden; - display: -webkit-box; - -webkit-box-orient: vertical; - -webkit-line-clamp: 1; -} - -.use-tailwind .block { - display: block; -} - -.use-tailwind .inline-block { - display: inline-block; -} - -.use-tailwind .inline { - display: inline; -} - -.use-tailwind .flex { - display: flex; -} - -.use-tailwind .inline-flex { - display: inline-flex; -} - -.use-tailwind .table { - display: table; -} - -.use-tailwind .grid { - display: grid; -} - -.use-tailwind .hidden { - display: none; -} - -.use-tailwind .aspect-square { - aspect-ratio: 1 / 1; -} - -.use-tailwind .size-3\.5 { - width: 0.875rem; - height: 0.875rem; -} - -.use-tailwind .size-4 { - width: 1rem; - height: 1rem; -} - -.use-tailwind .size-5 { - width: 1.25rem; - height: 1.25rem; -} - -.use-tailwind .size-6 { - width: 1.5rem; - height: 1.5rem; -} - -.use-tailwind .size-8 { - width: 2rem; - height: 2rem; -} - -.use-tailwind .h-1\.5 { - height: 0.375rem; -} - -.use-tailwind .h-10 { - height: 2.5rem; -} - -.use-tailwind .h-12 { - height: 3rem; -} - -.use-tailwind .h-14 { - height: 3.5rem; -} - -.use-tailwind .h-2 { - height: 0.5rem; -} - -.use-tailwind .h-2\.5 { - height: 0.625rem; -} - -.use-tailwind .h-3 { - height: 0.75rem; -} - -.use-tailwind .h-3\.5 { - height: 0.875rem; -} - -.use-tailwind .h-4 { - height: 1rem; -} - -.use-tailwind .h-5 { - height: 1.25rem; -} - -.use-tailwind .h-6 { - height: 1.5rem; -} - -.use-tailwind .h-7 { - height: 1.75rem; -} - -.use-tailwind .h-8 { - height: 2rem; -} - -.use-tailwind .h-9 { - height: 2.25rem; -} - -.use-tailwind .h-\[1\.15rem\] { - height: 1.15rem; -} - -.use-tailwind .h-\[19rem\] { - height: 19rem; -} - -.use-tailwind .h-\[1px\] { - height: 1px; -} - -.use-tailwind .h-\[var\(--radix-navigation-menu-viewport-height\)\] { - height: var(--radix-navigation-menu-viewport-height); -} - -.use-tailwind .h-\[var\(--radix-select-trigger-height\)\] { - height: var(--radix-select-trigger-height); -} - -.use-tailwind .h-auto { - height: auto; -} - -.use-tailwind .h-full { - height: 100%; -} - -.use-tailwind .h-px { - height: 1px; -} - -.use-tailwind .max-h-96 { - max-height: 24rem; -} - -.use-tailwind .max-h-\[300px\] { - max-height: 300px; -} - -.use-tailwind .max-h-\[40vh\] { - max-height: 40vh; -} - -.use-tailwind .max-h-\[80vh\] { - max-height: 80vh; -} - -.use-tailwind .max-h-\[90vh\] { - max-height: 90vh; -} - -.use-tailwind .min-h-\[60px\] { - min-height: 60px; -} - -.use-tailwind .w-1\/5 { - width: 20%; -} - -.use-tailwind .w-10 { - width: 2.5rem; -} - -.use-tailwind .w-2 { - width: 0.5rem; -} - -.use-tailwind .w-2\.5 { - width: 0.625rem; -} - -.use-tailwind .w-3 { - width: 0.75rem; -} - -.use-tailwind .w-3\.5 { - width: 0.875rem; -} - -.use-tailwind .w-3\/12 { - width: 25%; -} - -.use-tailwind .w-3\/4 { - width: 75%; -} - -.use-tailwind .w-4 { - width: 1rem; -} - -.use-tailwind .w-48 { - width: 12rem; -} - -.use-tailwind .w-5 { - width: 1.25rem; -} - -.use-tailwind .w-6 { - width: 1.5rem; -} - -.use-tailwind .w-64 { - width: 16rem; -} - -.use-tailwind .w-7 { - width: 1.75rem; -} - -.use-tailwind .w-72 { - width: 18rem; -} - -.use-tailwind .w-8 { - width: 2rem; -} - -.use-tailwind .w-9 { - width: 2.25rem; -} - -.use-tailwind .w-9\/12 { - width: 75%; -} - -.use-tailwind .w-\[1\.15rem\] { - width: 1.15rem; -} - -.use-tailwind .w-\[1px\] { - width: 1px; -} - -.use-tailwind .w-\[calc\(100\%-1\.2rem\)\] { - width: calc(100% - 1.2rem); -} - -.use-tailwind .w-full { - width: 100%; -} - -.use-tailwind .w-max { - width: -moz-max-content; - width: max-content; -} - -.use-tailwind .w-px { - width: 1px; -} - -.use-tailwind .min-w-\[8rem\] { - min-width: 8rem; -} - -.use-tailwind .min-w-\[var\(--radix-select-trigger-width\)\] { - min-width: var(--radix-select-trigger-width); -} - -.use-tailwind .max-w-0 { - max-width: 0px; -} - -.use-tailwind .max-w-5xl { - max-width: 64rem; -} - -.use-tailwind .max-w-8 { - max-width: 2rem; -} - -.use-tailwind .max-w-\[24rem\] { - max-width: 24rem; -} - -.use-tailwind .max-w-\[90rem\] { - max-width: 90rem; -} - -.use-tailwind .max-w-\[90vw\] { - max-width: 90vw; -} - -.use-tailwind .max-w-lg { - max-width: 32rem; -} - -.use-tailwind .max-w-max { - max-width: -moz-max-content; - max-width: max-content; -} - -.use-tailwind .max-w-none { - max-width: none; -} - -.use-tailwind .max-w-sm { - max-width: 24rem; -} - -.use-tailwind .flex-1 { - flex: 1 1 0%; -} - -.use-tailwind .flex-initial { - flex: 0 1 auto; -} - -.use-tailwind .flex-shrink-0 { - flex-shrink: 0; -} - -.use-tailwind .shrink-0 { - flex-shrink: 0; -} - -.use-tailwind .flex-grow { - flex-grow: 1; -} - -.use-tailwind .caption-bottom { - caption-side: bottom; -} - -.use-tailwind .border-collapse { - border-collapse: collapse; -} - -.use-tailwind .-translate-y-1 { - --tw-translate-y: -0.25rem; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .translate-x-\[-50\%\] { - --tw-translate-x: -50%; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .translate-y-\[-50\%\] { - --tw-translate-y: -50%; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .rotate-0 { - --tw-rotate: 0deg; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .rotate-180 { - --tw-rotate: 180deg; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .rotate-45 { - --tw-rotate: 45deg; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .rotate-90 { - --tw-rotate: 90deg; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .scale-0 { - --tw-scale-x: 0; - --tw-scale-y: 0; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .scale-100 { - --tw-scale-x: 1; - --tw-scale-y: 1; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .transform { - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -@keyframes pulse { - 50% { - opacity: .5; - } -} - -.use-tailwind .animate-pulse { - animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; -} - -@keyframes slide-up { - from { - opacity: 0; - transform: translateY(50%); - } - - to { - opacity: 1; - transform: translateY(0); - } -} - -.use-tailwind .animate-slide-up { - animation: slide-up 0.6s ease-in; -} - -.use-tailwind .cursor-default { - cursor: default; -} - -.use-tailwind .cursor-pointer { - cursor: pointer; -} - -.use-tailwind .cursor-text { - cursor: text; -} - -.use-tailwind .touch-none { - touch-action: none; -} - -.use-tailwind .select-none { - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; -} - -.use-tailwind .resize-none { - resize: none; -} - -.use-tailwind .list-none { - list-style-type: none; -} - -.use-tailwind .grid-cols-1 { - grid-template-columns: repeat(1, minmax(0, 1fr)); -} - -.use-tailwind .flex-row { - flex-direction: row; -} - -.use-tailwind .flex-row-reverse { - flex-direction: row-reverse; -} - -.use-tailwind .flex-col { - flex-direction: column; -} - -.use-tailwind .flex-col-reverse { - flex-direction: column-reverse; -} - -.use-tailwind .flex-wrap { - flex-wrap: wrap; -} - -.use-tailwind .items-end { - align-items: flex-end; -} - -.use-tailwind .items-center { - align-items: center; -} - -.use-tailwind .items-stretch { - align-items: stretch; -} - -.use-tailwind .justify-start { - justify-content: flex-start; -} - -.use-tailwind .justify-end { - justify-content: flex-end; -} - -.use-tailwind .justify-center { - justify-content: center; -} - -.use-tailwind .justify-between { - justify-content: space-between; -} - -.use-tailwind .gap-1 { - gap: 0.25rem; -} - -.use-tailwind .gap-1\.5 { - gap: 0.375rem; -} - -.use-tailwind .gap-16 { - gap: 4rem; -} - -.use-tailwind .gap-2 { - gap: 0.5rem; -} - -.use-tailwind .gap-24 { - gap: 6rem; -} - -.use-tailwind .gap-3 { - gap: 0.75rem; -} - -.use-tailwind .gap-4 { - gap: 1rem; -} - -.use-tailwind .gap-5 { - gap: 1.25rem; -} - -.use-tailwind .gap-8 { - gap: 2rem; -} - -.use-tailwind .space-x-1 > :not([hidden]) ~ :not([hidden]) { - --tw-space-x-reverse: 0; - margin-right: calc(0.25rem * var(--tw-space-x-reverse)); - margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse))); -} - -.use-tailwind .space-x-2 > :not([hidden]) ~ :not([hidden]) { - --tw-space-x-reverse: 0; - margin-right: calc(0.5rem * var(--tw-space-x-reverse)); - margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse))); -} - -.use-tailwind .space-y-0 > :not([hidden]) ~ :not([hidden]) { - --tw-space-y-reverse: 0; - margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(0px * var(--tw-space-y-reverse)); -} - -.use-tailwind .space-y-1 > :not([hidden]) ~ :not([hidden]) { - --tw-space-y-reverse: 0; - margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(0.25rem * var(--tw-space-y-reverse)); -} - -.use-tailwind .space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { - --tw-space-y-reverse: 0; - margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(0.375rem * var(--tw-space-y-reverse)); -} - -.use-tailwind .space-y-2 > :not([hidden]) ~ :not([hidden]) { - --tw-space-y-reverse: 0; - margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(0.5rem * var(--tw-space-y-reverse)); -} - -.use-tailwind .space-y-4 > :not([hidden]) ~ :not([hidden]) { - --tw-space-y-reverse: 0; - margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(1rem * var(--tw-space-y-reverse)); -} - -.use-tailwind .place-self-center { - place-self: center; -} - -.use-tailwind .self-start { - align-self: flex-start; -} - -.use-tailwind .overflow-auto { - overflow: auto; -} - -.use-tailwind .overflow-hidden { - overflow: hidden; -} - -.use-tailwind .overflow-y-auto { - overflow-y: auto; -} - -.use-tailwind .overflow-x-hidden { - overflow-x: hidden; -} - -.use-tailwind .whitespace-nowrap { - white-space: nowrap; -} - -.use-tailwind .break-words { - overflow-wrap: break-word; -} - -.use-tailwind .rounded { - border-radius: 0.25rem; -} - -.use-tailwind .rounded-\[calc\(var\(--radius\)-5px\)\] { - border-radius: calc(var(--radius) - 5px); -} - -.use-tailwind .rounded-\[inherit\] { - border-radius: inherit; -} - -.use-tailwind .rounded-full { - border-radius: 9999px; -} - -.use-tailwind .rounded-lg { - border-radius: var(--radius); -} - -.use-tailwind .rounded-md { - border-radius: calc(var(--radius) - 2px); -} - -.use-tailwind .rounded-none { - border-radius: 0px; -} - -.use-tailwind .rounded-sm { - border-radius: calc(var(--radius) - 4px); -} - -.use-tailwind .rounded-xl { - border-radius: calc(var(--radius) + 4px); -} - -.use-tailwind .rounded-b { - border-bottom-right-radius: 0.25rem; - border-bottom-left-radius: 0.25rem; -} - -.use-tailwind .rounded-l-none { - border-top-left-radius: 0px; - border-bottom-left-radius: 0px; -} - -.use-tailwind .rounded-r-none { - border-top-right-radius: 0px; - border-bottom-right-radius: 0px; -} - -.use-tailwind .rounded-t-none { - border-top-left-radius: 0px; - border-top-right-radius: 0px; -} - -.use-tailwind .rounded-tl-sm { - border-top-left-radius: calc(var(--radius) - 4px); -} - -.use-tailwind .border { - border-width: 1px; -} - -.use-tailwind .border-0 { - border-width: 0px; -} - -.use-tailwind .border-2 { - border-width: 2px; -} - -.use-tailwind .border-y { - border-top-width: 1px; - border-bottom-width: 1px; -} - -.use-tailwind .border-b { - border-bottom-width: 1px; -} - -.use-tailwind .border-b-0 { - border-bottom-width: 0px; -} - -.use-tailwind .border-l { - border-left-width: 1px; -} - -.use-tailwind .border-l-0 { - border-left-width: 0px; -} - -.use-tailwind .border-r { - border-right-width: 1px; -} - -.use-tailwind .border-t { - border-top-width: 1px; -} - -.use-tailwind .border-t-0 { - border-top-width: 0px; -} - -.use-tailwind .border-none { - border-style: none; -} - -.use-tailwind .border-border { - border-color: hsl(var(--border)); -} - -.use-tailwind .border-destructive\/50 { - border-color: hsl(var(--destructive) / 0.5); -} - -.use-tailwind .border-input { - border-color: hsl(var(--input)); -} - -.use-tailwind .border-primary { - border-color: hsl(var(--primary)); -} - -.use-tailwind .border-transparent { - border-color: transparent; -} - -.use-tailwind .border-l-transparent { - border-left-color: transparent; -} - -.use-tailwind .border-t-transparent { - border-top-color: transparent; -} - -.use-tailwind .bg-accent { - background-color: hsl(var(--accent)); -} - -.use-tailwind .bg-background { - background-color: hsl(var(--background)); -} - -.use-tailwind .bg-black\/20 { - background-color: rgb(0 0 0 / 0.2); -} - -.use-tailwind .bg-black\/40 { - background-color: rgb(0 0 0 / 0.4); -} - -.use-tailwind .bg-border { - background-color: hsl(var(--border)); -} - -.use-tailwind .bg-card { - background-color: hsl(var(--card)); -} - -.use-tailwind .bg-destructive { - background-color: hsl(var(--destructive)); -} - -.use-tailwind .bg-destructive\/90 { - background-color: hsl(var(--destructive) / 0.9); -} - -.use-tailwind .bg-foreground { - background-color: hsl(var(--foreground)); -} - -.use-tailwind .bg-muted { - background-color: hsl(var(--muted)); -} - -.use-tailwind .bg-muted-foreground\/50 { - background-color: hsl(var(--muted-foreground) / 0.5); -} - -.use-tailwind .bg-muted\/50 { - background-color: hsl(var(--muted) / 0.5); -} - -.use-tailwind .bg-popover { - background-color: hsl(var(--popover)); -} - -.use-tailwind .bg-primary { - background-color: hsl(var(--primary)); -} - -.use-tailwind .bg-primary\/10 { - background-color: hsl(var(--primary) / 0.1); -} - -.use-tailwind .bg-primary\/20 { - background-color: hsl(var(--primary) / 0.2); -} - -.use-tailwind .bg-primary\/80 { - background-color: hsl(var(--primary) / 0.8); -} - -.use-tailwind .bg-primary\/90 { - background-color: hsl(var(--primary) / 0.9); -} - -.use-tailwind .bg-secondary { - background-color: hsl(var(--secondary)); -} - -.use-tailwind .bg-secondary\/80 { - background-color: hsl(var(--secondary) / 0.8); -} - -.use-tailwind .bg-transparent { - background-color: transparent; -} - -.use-tailwind .bg-gradient-to-b { - background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); -} - -.use-tailwind .bg-gradient-to-r { - background-image: linear-gradient(to right, var(--tw-gradient-stops)); -} - -.use-tailwind .from-muted\/50 { - --tw-gradient-from: hsl(var(--muted) / 0.5) var(--tw-gradient-from-position); - --tw-gradient-to: hsl(var(--muted) / 0) var(--tw-gradient-to-position); - --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); -} - -.use-tailwind .from-zinc-600 { - --tw-gradient-from: #52525b var(--tw-gradient-from-position); - --tw-gradient-to: rgb(82 82 91 / 0) var(--tw-gradient-to-position); - --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); -} - -.use-tailwind .to-muted { - --tw-gradient-to: hsl(var(--muted)) var(--tw-gradient-to-position); -} - -.use-tailwind .to-slate-600 { - --tw-gradient-to: #475569 var(--tw-gradient-to-position); -} - -.use-tailwind .fill-current { - fill: currentColor; -} - -.use-tailwind .p-0 { - padding: 0px; -} - -.use-tailwind .p-1 { - padding: 0.25rem; -} - -.use-tailwind .p-2 { - padding: 0.5rem; -} - -.use-tailwind .p-3 { - padding: 0.75rem; -} - -.use-tailwind .p-4 { - padding: 1rem; -} - -.use-tailwind .p-6 { - padding: 1.5rem; -} - -.use-tailwind .p-7 { - padding: 1.75rem; -} - -.use-tailwind .p-\[1px\] { - padding: 1px; -} - -.use-tailwind .px-0 { - padding-left: 0px; - padding-right: 0px; -} - -.use-tailwind .px-1 { - padding-left: 0.25rem; - padding-right: 0.25rem; -} - -.use-tailwind .px-2 { - padding-left: 0.5rem; - padding-right: 0.5rem; -} - -.use-tailwind .px-2\.5 { - padding-left: 0.625rem; - padding-right: 0.625rem; -} - -.use-tailwind .px-3 { - padding-left: 0.75rem; - padding-right: 0.75rem; -} - -.use-tailwind .px-4 { - padding-left: 1rem; - padding-right: 1rem; -} - -.use-tailwind .px-5 { - padding-left: 1.25rem; - padding-right: 1.25rem; -} - -.use-tailwind .px-6 { - padding-left: 1.5rem; - padding-right: 1.5rem; -} - -.use-tailwind .px-8 { - padding-left: 2rem; - padding-right: 2rem; -} - -.use-tailwind .py-0\.5 { - padding-top: 0.125rem; - padding-bottom: 0.125rem; -} - -.use-tailwind .py-1 { - padding-top: 0.25rem; - padding-bottom: 0.25rem; -} - -.use-tailwind .py-1\.5 { - padding-top: 0.375rem; - padding-bottom: 0.375rem; -} - -.use-tailwind .py-2 { - padding-top: 0.5rem; - padding-bottom: 0.5rem; -} - -.use-tailwind .py-3 { - padding-top: 0.75rem; - padding-bottom: 0.75rem; -} - -.use-tailwind .py-4 { - padding-top: 1rem; - padding-bottom: 1rem; -} - -.use-tailwind .py-6 { - padding-top: 1.5rem; - padding-bottom: 1.5rem; -} - -.use-tailwind .pb-0 { - padding-bottom: 0px; -} - -.use-tailwind .pb-1 { - padding-bottom: 0.25rem; -} - -.use-tailwind .pb-1\.5 { - padding-bottom: 0.375rem; -} - -.use-tailwind .pb-3 { - padding-bottom: 0.75rem; -} - -.use-tailwind .pb-4 { - padding-bottom: 1rem; -} - -.use-tailwind .pb-9 { - padding-bottom: 2.25rem; -} - -.use-tailwind .pl-0 { - padding-left: 0px; -} - -.use-tailwind .pl-1 { - padding-left: 0.25rem; -} - -.use-tailwind .pl-2 { - padding-left: 0.5rem; -} - -.use-tailwind .pl-2\.5 { - padding-left: 0.625rem; -} - -.use-tailwind .pl-3 { - padding-left: 0.75rem; -} - -.use-tailwind .pl-4 { - padding-left: 1rem; -} - -.use-tailwind .pl-7 { - padding-left: 1.75rem; -} - -.use-tailwind .pl-8 { - padding-left: 2rem; -} - -.use-tailwind .pr-0 { - padding-right: 0px; -} - -.use-tailwind .pr-1 { - padding-right: 0.25rem; -} - -.use-tailwind .pr-2 { - padding-right: 0.5rem; -} - -.use-tailwind .pr-2\.5 { - padding-right: 0.625rem; -} - -.use-tailwind .pr-3 { - padding-right: 0.75rem; -} - -.use-tailwind .pr-8 { - padding-right: 2rem; -} - -.use-tailwind .pt-0 { - padding-top: 0px; -} - -.use-tailwind .pt-1 { - padding-top: 0.25rem; -} - -.use-tailwind .pt-1\.5 { - padding-top: 0.375rem; -} - -.use-tailwind .pt-3 { - padding-top: 0.75rem; -} - -.use-tailwind .text-left { - text-align: left; -} - -.use-tailwind .text-center { - text-align: center; -} - -.use-tailwind .text-right { - text-align: right; -} - -.use-tailwind .align-top { - vertical-align: top; -} - -.use-tailwind .align-middle { - vertical-align: middle; -} - -.use-tailwind .font-mono { - font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; -} - -.use-tailwind .text-2xl { - font-size: 1.5rem; - line-height: 2rem; -} - -.use-tailwind .text-6xl { - font-size: 3.75rem; - line-height: 1; -} - -.use-tailwind .text-\[0\.675rem\] { - font-size: 0.675rem; -} - -.use-tailwind .text-\[0\.85rem\] { - font-size: 0.85rem; -} - -.use-tailwind .text-\[0\.8rem\] { - font-size: 0.8rem; -} - -.use-tailwind .text-\[1\.45rem\] { - font-size: 1.45rem; -} - -.use-tailwind .text-\[1\.4rem\] { - font-size: 1.4rem; -} - -.use-tailwind .text-\[1rem\] { - font-size: 1rem; -} - -.use-tailwind .text-base { - font-size: 1rem; - line-height: 1.5rem; -} - -.use-tailwind .text-lg { - font-size: 1.125rem; - line-height: 1.75rem; -} - -.use-tailwind .text-sm { - font-size: 0.875rem; - line-height: 1.25rem; -} - -.use-tailwind .text-xs { - font-size: 0.75rem; - line-height: 1rem; -} - -.use-tailwind .font-bold { - font-weight: 700; -} - -.use-tailwind .font-medium { - font-weight: 500; -} - -.use-tailwind .font-normal { - font-weight: 400; -} - -.use-tailwind .font-semibold { - font-weight: 600; -} - -.use-tailwind .uppercase { - text-transform: uppercase; -} - -.use-tailwind .capitalize { - text-transform: capitalize; -} - -.use-tailwind .leading-4 { - line-height: 1rem; -} - -.use-tailwind .leading-5 { - line-height: 1.25rem; -} - -.use-tailwind .leading-none { - line-height: 1; -} - -.use-tailwind .leading-tight { - line-height: 1.25; -} - -.use-tailwind .tracking-tight { - letter-spacing: -0.025em; -} - -.use-tailwind .tracking-tighter { - letter-spacing: -0.05em; -} - -.use-tailwind .tracking-wide { - letter-spacing: 0.025em; -} - -.use-tailwind .tracking-widest { - letter-spacing: 0.1em; -} - -.use-tailwind .text-\[\#16A34A\] { - --tw-text-opacity: 1; - color: rgb(22 163 74 / var(--tw-text-opacity, 1)); -} - -.use-tailwind .text-\[\#E7000B\] { - --tw-text-opacity: 1; - color: rgb(231 0 11 / var(--tw-text-opacity, 1)); -} - -.use-tailwind .text-accent-foreground { - color: hsl(var(--accent-foreground)); -} - -.use-tailwind .text-background { - color: hsl(var(--background)); -} - -.use-tailwind .text-blue-300 { - --tw-text-opacity: 1; - color: rgb(147 197 253 / var(--tw-text-opacity, 1)); -} - -.use-tailwind .text-blue-600 { - --tw-text-opacity: 1; - color: rgb(37 99 235 / var(--tw-text-opacity, 1)); -} - -.use-tailwind .text-card-foreground { - color: hsl(var(--card-foreground)); -} - -.use-tailwind .text-current { - color: currentColor; -} - -.use-tailwind .text-destructive { - color: hsl(var(--destructive)); -} - -.use-tailwind .text-destructive-foreground { - color: hsl(var(--destructive-foreground)); -} - -.use-tailwind .text-foreground { - color: hsl(var(--foreground)); -} - -.use-tailwind .text-muted-foreground { - color: hsl(var(--muted-foreground)); -} - -.use-tailwind .text-muted-foreground\/50 { - color: hsl(var(--muted-foreground) / 0.5); -} - -.use-tailwind .text-popover-foreground { - color: hsl(var(--popover-foreground)); -} - -.use-tailwind .text-primary { - color: hsl(var(--primary)); -} - -.use-tailwind .text-primary-foreground { - color: hsl(var(--primary-foreground)); -} - -.use-tailwind .text-secondary-foreground { - color: hsl(var(--secondary-foreground)); -} - -.use-tailwind .text-white { - --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity, 1)); -} - -.use-tailwind .underline { - text-decoration-line: underline; -} - -.use-tailwind .no-underline { - text-decoration-line: none; -} - -.use-tailwind .underline-offset-4 { - text-underline-offset: 4px; -} - -.use-tailwind .antialiased { - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.use-tailwind .accent-foreground { - accent-color: hsl(var(--foreground)); -} - -.use-tailwind .opacity-0 { - opacity: 0; -} - -.use-tailwind .opacity-100 { - opacity: 1; -} - -.use-tailwind .opacity-50 { - opacity: 0.5; -} - -.use-tailwind .opacity-60 { - opacity: 0.6; -} - -.use-tailwind .opacity-70 { - opacity: 0.7; -} - -.use-tailwind .shadow { - --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.use-tailwind .shadow-lg { - --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.use-tailwind .shadow-md { - --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.use-tailwind .shadow-none { - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.use-tailwind .shadow-sm { - --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); - --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.use-tailwind .outline-none { - outline: 2px solid transparent; - outline-offset: 2px; -} - -.use-tailwind .outline { - outline-style: solid; -} - -.use-tailwind .ring { - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); -} - -.use-tailwind .ring-0 { - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); -} - -.use-tailwind .ring-1 { - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); -} - -.use-tailwind .ring-ring { - --tw-ring-color: hsl(var(--ring)); -} - -.use-tailwind .ring-offset-2 { - --tw-ring-offset-width: 2px; -} - -.use-tailwind .ring-offset-background { - --tw-ring-offset-color: hsl(var(--background)); -} - -.use-tailwind .grayscale { - --tw-grayscale: grayscale(100%); - filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); -} - -.use-tailwind .transition { - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 150ms; -} - -.use-tailwind .transition-\[color\2c box-shadow\] { - transition-property: color,box-shadow; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 150ms; -} - -.use-tailwind .transition-all { - transition-property: all; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 150ms; -} - -.use-tailwind .transition-colors { - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 150ms; -} - -.use-tailwind .transition-opacity { - transition-property: opacity; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 150ms; -} - -.use-tailwind .transition-transform { - transition-property: transform; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 150ms; -} - -.use-tailwind .duration-1000 { - transition-duration: 1000ms; -} - -.use-tailwind .duration-200 { - transition-duration: 200ms; -} - -.use-tailwind .duration-300 { - transition-duration: 300ms; -} - -.use-tailwind .duration-500 { - transition-duration: 500ms; -} - -.use-tailwind .ease-in { - transition-timing-function: cubic-bezier(0.4, 0, 1, 1); -} - -.use-tailwind .ease-in-out { - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); -} - -.use-tailwind .ease-out { - transition-timing-function: cubic-bezier(0, 0, 0.2, 1); -} - -@keyframes enter { - from { - opacity: var(--tw-enter-opacity, 1); - transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0)); - } -} - -@keyframes exit { - to { - opacity: var(--tw-exit-opacity, 1); - transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0)); - } -} - -.use-tailwind .animate-in { - animation-name: enter; - animation-duration: 150ms; - --tw-enter-opacity: initial; - --tw-enter-scale: initial; - --tw-enter-rotate: initial; - --tw-enter-translate-x: initial; - --tw-enter-translate-y: initial; -} - -.use-tailwind .animate-out { - animation-name: exit; - animation-duration: 150ms; - --tw-exit-opacity: initial; - --tw-exit-scale: initial; - --tw-exit-rotate: initial; - --tw-exit-translate-x: initial; - --tw-exit-translate-y: initial; -} - -.use-tailwind .fade-in { - --tw-enter-opacity: 0; -} - -.use-tailwind .fade-in-0 { - --tw-enter-opacity: 0; -} - -.use-tailwind .zoom-in-95 { - --tw-enter-scale: .95; -} - -.use-tailwind .slide-in-from-bottom { - --tw-enter-translate-y: 100%; -} - -.use-tailwind .slide-in-from-top { - --tw-enter-translate-y: -100%; -} - -.use-tailwind .duration-1000 { - animation-duration: 1000ms; -} - -.use-tailwind .duration-200 { - animation-duration: 200ms; -} - -.use-tailwind .duration-300 { - animation-duration: 300ms; -} - -.use-tailwind .duration-500 { - animation-duration: 500ms; -} - -.use-tailwind .ease-in { - animation-timing-function: cubic-bezier(0.4, 0, 1, 1); -} - -.use-tailwind .ease-in-out { - animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); -} - -.use-tailwind .ease-out { - animation-timing-function: cubic-bezier(0, 0, 0.2, 1); -} - -.use-tailwind .file\:border-0::file-selector-button { - border-width: 0px; -} - -.use-tailwind .file\:bg-transparent::file-selector-button { - background-color: transparent; -} - -.use-tailwind .file\:text-sm::file-selector-button { - font-size: 0.875rem; - line-height: 1.25rem; -} - -.use-tailwind .file\:font-medium::file-selector-button { - font-weight: 500; -} - -.use-tailwind .placeholder\:text-muted-foreground::-moz-placeholder { - color: hsl(var(--muted-foreground)); -} - -.use-tailwind .placeholder\:text-muted-foreground::placeholder { - color: hsl(var(--muted-foreground)); -} - -.use-tailwind .first\:rounded-l-md:first-child { - border-top-left-radius: calc(var(--radius) - 2px); - border-bottom-left-radius: calc(var(--radius) - 2px); -} - -.use-tailwind .first\:border-l:first-child { - border-left-width: 1px; -} - -.use-tailwind .last\:mb-0:last-child { - margin-bottom: 0px; -} - -.use-tailwind .last\:mb-4:last-child { - margin-bottom: 1rem; -} - -.use-tailwind .last\:rounded-r-md:last-child { - border-top-right-radius: calc(var(--radius) - 2px); - border-bottom-right-radius: calc(var(--radius) - 2px); -} - -.use-tailwind .focus-within\:relative:focus-within { - position: relative; -} - -.use-tailwind .focus-within\:z-20:focus-within { - z-index: 20; -} - -.use-tailwind .hover\:max-w-xs:hover { - max-width: 20rem; -} - -.use-tailwind .hover\:cursor-pointer:hover { - cursor: pointer; -} - -.use-tailwind .hover\:bg-accent:hover { - background-color: hsl(var(--accent)); -} - -.use-tailwind .hover\:bg-background\/50:hover { - background-color: hsl(var(--background) / 0.5); -} - -.use-tailwind .hover\:bg-black:hover { - --tw-bg-opacity: 1; - background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1)); -} - -.use-tailwind .hover\:bg-destructive\/80:hover { - background-color: hsl(var(--destructive) / 0.8); -} - -.use-tailwind .hover\:bg-destructive\/90:hover { - background-color: hsl(var(--destructive) / 0.9); -} - -.use-tailwind .hover\:bg-muted:hover { - background-color: hsl(var(--muted)); -} - -.use-tailwind .hover\:bg-muted\/50:hover { - background-color: hsl(var(--muted) / 0.5); -} - -.use-tailwind .hover\:bg-primary:hover { - background-color: hsl(var(--primary)); -} - -.use-tailwind .hover\:bg-primary\/80:hover { - background-color: hsl(var(--primary) / 0.8); -} - -.use-tailwind .hover\:bg-primary\/90:hover { - background-color: hsl(var(--primary) / 0.9); -} - -.use-tailwind .hover\:bg-secondary\/80:hover { - background-color: hsl(var(--secondary) / 0.8); -} - -.use-tailwind .hover\:bg-transparent:hover { - background-color: transparent; -} - -.use-tailwind .hover\:text-accent-foreground:hover { - color: hsl(var(--accent-foreground)); -} - -.use-tailwind .hover\:text-foreground:hover { - color: hsl(var(--foreground)); -} - -.use-tailwind .hover\:text-foreground\/75:hover { - color: hsl(var(--foreground) / 0.75); -} - -.use-tailwind .hover\:text-muted-foreground:hover { - color: hsl(var(--muted-foreground)); -} - -.use-tailwind .hover\:text-primary-foreground:hover { - color: hsl(var(--primary-foreground)); -} - -.use-tailwind .hover\:text-white:hover { - --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity, 1)); -} - -.use-tailwind .hover\:underline:hover { - text-decoration-line: underline; -} - -.use-tailwind .hover\:opacity-100:hover { - opacity: 1; -} - -.use-tailwind .hover\:opacity-50:hover { - opacity: 0.5; -} - -.use-tailwind .hover\:opacity-75:hover { - opacity: 0.75; -} - -.use-tailwind .focus\:bg-accent:focus { - background-color: hsl(var(--accent)); -} - -.use-tailwind .focus\:bg-primary:focus { - background-color: hsl(var(--primary)); -} - -.use-tailwind .focus\:text-accent-foreground:focus { - color: hsl(var(--accent-foreground)); -} - -.use-tailwind .focus\:text-primary-foreground:focus { - color: hsl(var(--primary-foreground)); -} - -.use-tailwind .focus\:shadow-md:focus { - --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.use-tailwind .focus\:outline-none:focus { - outline: 2px solid transparent; - outline-offset: 2px; -} - -.use-tailwind .focus\:ring-1:focus { - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); -} - -.use-tailwind .focus\:ring-2:focus { - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); -} - -.use-tailwind .focus\:ring-ring:focus { - --tw-ring-color: hsl(var(--ring)); -} - -.use-tailwind .focus\:ring-offset-2:focus { - --tw-ring-offset-width: 2px; -} - -.use-tailwind .focus-visible\:outline-none:focus-visible { - outline: 2px solid transparent; - outline-offset: 2px; -} - -.use-tailwind .focus-visible\:ring-0:focus-visible { - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); -} - -.use-tailwind .focus-visible\:ring-1:focus-visible { - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); -} - -.use-tailwind .focus-visible\:ring-2:focus-visible { - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); -} - -.use-tailwind .focus-visible\:ring-ring:focus-visible { - --tw-ring-color: hsl(var(--ring)); -} - -.use-tailwind .focus-visible\:ring-offset-2:focus-visible { - --tw-ring-offset-width: 2px; -} - -.use-tailwind .focus-visible\:ring-offset-background:focus-visible { - --tw-ring-offset-color: hsl(var(--background)); -} - -.use-tailwind .disabled\:pointer-events-none:disabled { - pointer-events: none; -} - -.use-tailwind .disabled\:cursor-not-allowed:disabled { - cursor: not-allowed; -} - -.use-tailwind .disabled\:opacity-50:disabled { - opacity: 0.5; -} - -.use-tailwind .group:hover .group-hover\:max-w-xs { - max-width: 20rem; -} - -.use-tailwind .group:hover .group-hover\:text-foreground { - color: hsl(var(--foreground)); -} - -.use-tailwind .group.toaster .group-\[\.toaster\]\:border-border { - border-color: hsl(var(--border)); -} - -.use-tailwind .group.toast .group-\[\.toast\]\:bg-muted { - background-color: hsl(var(--muted)); -} - -.use-tailwind .group.toast .group-\[\.toast\]\:bg-primary { - background-color: hsl(var(--primary)); -} - -.use-tailwind .group.toaster .group-\[\.toaster\]\:bg-background { - background-color: hsl(var(--background)); -} - -.use-tailwind .group.toast .group-\[\.toast\]\:text-muted-foreground { - color: hsl(var(--muted-foreground)); -} - -.use-tailwind .group.toast .group-\[\.toast\]\:text-primary-foreground { - color: hsl(var(--primary-foreground)); -} - -.use-tailwind .group.toaster .group-\[\.toaster\]\:text-foreground { - color: hsl(var(--foreground)); -} - -.use-tailwind .group.toaster .group-\[\.toaster\]\:shadow-lg { - --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.use-tailwind .peer:disabled ~ .peer-disabled\:cursor-not-allowed { - cursor: not-allowed; -} - -.use-tailwind .peer:disabled ~ .peer-disabled\:opacity-70 { - opacity: 0.7; -} - -.use-tailwind .has-\[\>button\]\:ml-\[-0\.45rem\]:has(>button) { - margin-left: -0.45rem; -} - -.use-tailwind .has-\[\>button\]\:mr-\[-0\.4rem\]:has(>button) { - margin-right: -0.4rem; -} - -.use-tailwind .has-\[\>kbd\]\:ml-\[-0\.35rem\]:has(>kbd) { - margin-left: -0.35rem; -} - -.use-tailwind .has-\[\>kbd\]\:mr-\[-0\.35rem\]:has(>kbd) { - margin-right: -0.35rem; -} - -.use-tailwind .has-\[\>\[data-align\=block-end\]\]\:h-auto:has(>[data-align=block-end]) { - height: auto; -} - -.use-tailwind .has-\[\>\[data-align\=block-start\]\]\:h-auto:has(>[data-align=block-start]) { - height: auto; -} - -.use-tailwind .has-\[\>textarea\]\:h-auto:has(>textarea) { - height: auto; -} - -.use-tailwind .has-\[\>\[data-align\=block-end\]\]\:flex-col:has(>[data-align=block-end]) { - flex-direction: column; -} - -.use-tailwind .has-\[\>\[data-align\=block-start\]\]\:flex-col:has(>[data-align=block-start]) { - flex-direction: column; -} - -.use-tailwind .has-\[\[data-slot\]\[aria-invalid\=true\]\]\:border-destructive:has([data-slot][aria-invalid=true]) { - border-color: hsl(var(--destructive)); -} - -.use-tailwind .has-\[\>svg\]\:p-0:has(>svg) { - padding: 0px; -} - -.use-tailwind .has-\[\>svg\]\:px-2:has(>svg) { - padding-left: 0.5rem; - padding-right: 0.5rem; -} - -.use-tailwind .has-\[\>svg\]\:px-2\.5:has(>svg) { - padding-left: 0.625rem; - padding-right: 0.625rem; -} - -.use-tailwind .has-\[\:disabled\]\:opacity-50:has(:disabled) { - opacity: 0.5; -} - -.use-tailwind .has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-1:has([data-slot=input-group-control]:focus-visible) { - --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); - box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); -} - -.use-tailwind .has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-ring:has([data-slot=input-group-control]:focus-visible) { - --tw-ring-color: hsl(var(--ring)); -} - -.use-tailwind .has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/20:has([data-slot][aria-invalid=true]) { - --tw-ring-color: hsl(var(--destructive) / 0.2); -} - -.use-tailwind .group\/input-group:has(>input) .group-has-\[\>input\]\/input-group\:pb-2\.5 { - padding-bottom: 0.625rem; -} - -.use-tailwind .group\/input-group:has(>input) .group-has-\[\>input\]\/input-group\:pt-2\.5 { - padding-top: 0.625rem; -} - -.use-tailwind .aria-selected\:bg-accent[aria-selected="true"] { - background-color: hsl(var(--accent)); -} - -.use-tailwind .aria-selected\:bg-accent\/50[aria-selected="true"] { - background-color: hsl(var(--accent) / 0.5); -} - -.use-tailwind .aria-selected\:text-accent-foreground[aria-selected="true"] { - color: hsl(var(--accent-foreground)); -} - -.use-tailwind .aria-selected\:text-muted-foreground[aria-selected="true"] { - color: hsl(var(--muted-foreground)); -} - -.use-tailwind .aria-selected\:opacity-100[aria-selected="true"] { - opacity: 1; -} - -.use-tailwind .aria-selected\:opacity-30[aria-selected="true"] { - opacity: 0.3; -} - -.use-tailwind .data-\[disabled\=true\]\:pointer-events-none[data-disabled="true"] { - pointer-events: none; -} - -.use-tailwind .data-\[disabled\]\:pointer-events-none[data-disabled] { - pointer-events: none; -} - -.use-tailwind .data-\[side\=bottom\]\:translate-y-1[data-side="bottom"] { - --tw-translate-y: 0.25rem; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .data-\[side\=left\]\:-translate-x-1[data-side="left"] { - --tw-translate-x: -0.25rem; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .data-\[side\=right\]\:translate-x-1[data-side="right"] { - --tw-translate-x: 0.25rem; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .data-\[side\=top\]\:-translate-y-1[data-side="top"] { - --tw-translate-y: -0.25rem; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .data-\[state\=checked\]\:translate-x-4[data-state="checked"] { - --tw-translate-x: 1rem; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .data-\[state\=unchecked\]\:translate-x-0[data-state="unchecked"] { - --tw-translate-x: 0px; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -@keyframes accordion-up { - from { - height: var(--radix-accordion-content-height); - } - - to { - height: 0; - } -} - -.use-tailwind .data-\[state\=closed\]\:animate-accordion-up[data-state="closed"] { - animation: accordion-up 0.2s ease-out; -} - -@keyframes accordion-down { - from { - height: 0; - } - - to { - height: var(--radix-accordion-content-height); - } -} - -.use-tailwind .data-\[state\=open\]\:animate-accordion-down[data-state="open"] { - animation: accordion-down 0.2s ease-out; -} - -.use-tailwind .data-\[active\]\:bg-accent\/50[data-active] { - background-color: hsl(var(--accent) / 0.5); -} - -.use-tailwind .data-\[selected\=true\]\:bg-accent[data-selected="true"] { - background-color: hsl(var(--accent)); -} - -.use-tailwind .data-\[state\=active\]\:bg-background[data-state="active"] { - background-color: hsl(var(--background)); -} - -.use-tailwind .data-\[state\=checked\]\:bg-primary[data-state="checked"] { - background-color: hsl(var(--primary)); -} - -.use-tailwind .data-\[state\=on\]\:bg-accent[data-state="on"] { - background-color: hsl(var(--accent)); -} - -.use-tailwind .data-\[state\=open\]\:bg-accent[data-state="open"] { - background-color: hsl(var(--accent)); -} - -.use-tailwind .data-\[state\=open\]\:bg-accent\/50[data-state="open"] { - background-color: hsl(var(--accent) / 0.5); -} - -.use-tailwind .data-\[state\=open\]\:bg-secondary[data-state="open"] { - background-color: hsl(var(--secondary)); -} - -.use-tailwind .data-\[state\=selected\]\:bg-muted[data-state="selected"] { - background-color: hsl(var(--muted)); -} - -.use-tailwind .data-\[state\=unchecked\]\:bg-input[data-state="unchecked"] { - background-color: hsl(var(--input)); -} - -.use-tailwind .data-\[placeholder\]\:text-muted-foreground[data-placeholder] { - color: hsl(var(--muted-foreground)); -} - -.use-tailwind .data-\[selected\=true\]\:text-accent-foreground[data-selected="true"] { - color: hsl(var(--accent-foreground)); -} - -.use-tailwind .data-\[state\=active\]\:text-foreground[data-state="active"] { - color: hsl(var(--foreground)); -} - -.use-tailwind .data-\[state\=checked\]\:text-primary-foreground[data-state="checked"] { - color: hsl(var(--primary-foreground)); -} - -.use-tailwind .data-\[state\=on\]\:text-accent-foreground[data-state="on"] { - color: hsl(var(--accent-foreground)); -} - -.use-tailwind .data-\[state\=open\]\:text-muted-foreground[data-state="open"] { - color: hsl(var(--muted-foreground)); -} - -.use-tailwind .data-\[disabled\=true\]\:opacity-50[data-disabled="true"] { - opacity: 0.5; -} - -.use-tailwind .data-\[disabled\]\:opacity-50[data-disabled] { - opacity: 0.5; -} - -.use-tailwind .data-\[state\=active\]\:shadow[data-state="active"] { - --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - -.use-tailwind .data-\[state\=closed\]\:duration-300[data-state="closed"] { - transition-duration: 300ms; -} - -.use-tailwind .data-\[state\=open\]\:duration-500[data-state="open"] { - transition-duration: 500ms; -} - -.use-tailwind .data-\[motion\^\=from-\]\:animate-in[data-motion^="from-"] { - animation-name: enter; - animation-duration: 150ms; - --tw-enter-opacity: initial; - --tw-enter-scale: initial; - --tw-enter-rotate: initial; - --tw-enter-translate-x: initial; - --tw-enter-translate-y: initial; -} - -.use-tailwind .data-\[state\=open\]\:animate-in[data-state="open"] { - animation-name: enter; - animation-duration: 150ms; - --tw-enter-opacity: initial; - --tw-enter-scale: initial; - --tw-enter-rotate: initial; - --tw-enter-translate-x: initial; - --tw-enter-translate-y: initial; -} - -.use-tailwind .data-\[state\=visible\]\:animate-in[data-state="visible"] { - animation-name: enter; - animation-duration: 150ms; - --tw-enter-opacity: initial; - --tw-enter-scale: initial; - --tw-enter-rotate: initial; - --tw-enter-translate-x: initial; - --tw-enter-translate-y: initial; -} - -.use-tailwind .data-\[motion\^\=to-\]\:animate-out[data-motion^="to-"] { - animation-name: exit; - animation-duration: 150ms; - --tw-exit-opacity: initial; - --tw-exit-scale: initial; - --tw-exit-rotate: initial; - --tw-exit-translate-x: initial; - --tw-exit-translate-y: initial; -} - -.use-tailwind .data-\[state\=closed\]\:animate-out[data-state="closed"] { - animation-name: exit; - animation-duration: 150ms; - --tw-exit-opacity: initial; - --tw-exit-scale: initial; - --tw-exit-rotate: initial; - --tw-exit-translate-x: initial; - --tw-exit-translate-y: initial; -} - -.use-tailwind .data-\[state\=hidden\]\:animate-out[data-state="hidden"] { - animation-name: exit; - animation-duration: 150ms; - --tw-exit-opacity: initial; - --tw-exit-scale: initial; - --tw-exit-rotate: initial; - --tw-exit-translate-x: initial; - --tw-exit-translate-y: initial; -} - -.use-tailwind .data-\[motion\^\=from-\]\:fade-in[data-motion^="from-"] { - --tw-enter-opacity: 0; -} - -.use-tailwind .data-\[motion\^\=to-\]\:fade-out[data-motion^="to-"] { - --tw-exit-opacity: 0; -} - -.use-tailwind .data-\[state\=closed\]\:fade-out-0[data-state="closed"] { - --tw-exit-opacity: 0; -} - -.use-tailwind .data-\[state\=hidden\]\:fade-out[data-state="hidden"] { - --tw-exit-opacity: 0; -} - -.use-tailwind .data-\[state\=open\]\:fade-in-0[data-state="open"] { - --tw-enter-opacity: 0; -} - -.use-tailwind .data-\[state\=visible\]\:fade-in[data-state="visible"] { - --tw-enter-opacity: 0; -} - -.use-tailwind .data-\[state\=closed\]\:zoom-out-95[data-state="closed"] { - --tw-exit-scale: .95; -} - -.use-tailwind .data-\[state\=open\]\:zoom-in-90[data-state="open"] { - --tw-enter-scale: .9; -} - -.use-tailwind .data-\[state\=open\]\:zoom-in-95[data-state="open"] { - --tw-enter-scale: .95; -} - -.use-tailwind .data-\[motion\=from-end\]\:slide-in-from-right-52[data-motion="from-end"] { - --tw-enter-translate-x: 13rem; -} - -.use-tailwind .data-\[motion\=from-start\]\:slide-in-from-left-52[data-motion="from-start"] { - --tw-enter-translate-x: -13rem; -} - -.use-tailwind .data-\[motion\=to-end\]\:slide-out-to-right-52[data-motion="to-end"] { - --tw-exit-translate-x: 13rem; -} - -.use-tailwind .data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion="to-start"] { - --tw-exit-translate-x: -13rem; -} - -.use-tailwind .data-\[side\=bottom\]\:slide-in-from-top-2[data-side="bottom"] { - --tw-enter-translate-y: -0.5rem; -} - -.use-tailwind .data-\[side\=left\]\:slide-in-from-right-2[data-side="left"] { - --tw-enter-translate-x: 0.5rem; -} - -.use-tailwind .data-\[side\=right\]\:slide-in-from-left-2[data-side="right"] { - --tw-enter-translate-x: -0.5rem; -} - -.use-tailwind .data-\[side\=top\]\:slide-in-from-bottom-2[data-side="top"] { - --tw-enter-translate-y: 0.5rem; -} - -.use-tailwind .data-\[state\=closed\]\:slide-out-to-bottom[data-state="closed"] { - --tw-exit-translate-y: 100%; -} - -.use-tailwind .data-\[state\=closed\]\:slide-out-to-left[data-state="closed"] { - --tw-exit-translate-x: -100%; -} - -.use-tailwind .data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state="closed"] { - --tw-exit-translate-x: -50%; -} - -.use-tailwind .data-\[state\=closed\]\:slide-out-to-right[data-state="closed"] { - --tw-exit-translate-x: 100%; -} - -.use-tailwind .data-\[state\=closed\]\:slide-out-to-top[data-state="closed"] { - --tw-exit-translate-y: -100%; -} - -.use-tailwind .data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state="closed"] { - --tw-exit-translate-y: -48%; -} - -.use-tailwind .data-\[state\=open\]\:slide-in-from-bottom[data-state="open"] { - --tw-enter-translate-y: 100%; -} - -.use-tailwind .data-\[state\=open\]\:slide-in-from-left[data-state="open"] { - --tw-enter-translate-x: -100%; -} - -.use-tailwind .data-\[state\=open\]\:slide-in-from-left-1\/2[data-state="open"] { - --tw-enter-translate-x: -50%; -} - -.use-tailwind .data-\[state\=open\]\:slide-in-from-right[data-state="open"] { - --tw-enter-translate-x: 100%; -} - -.use-tailwind .data-\[state\=open\]\:slide-in-from-top[data-state="open"] { - --tw-enter-translate-y: -100%; -} - -.use-tailwind .data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state="open"] { - --tw-enter-translate-y: -48%; -} - -.use-tailwind .data-\[state\=closed\]\:duration-300[data-state="closed"] { - animation-duration: 300ms; -} - -.use-tailwind .data-\[state\=open\]\:duration-500[data-state="open"] { - animation-duration: 500ms; -} - -.use-tailwind .data-\[state\=inactive\]\:hover\:brightness-50:hover[data-state="inactive"] { - --tw-brightness: brightness(.5); - filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); -} - -.use-tailwind .group[data-state="open"] .group-data-\[state\=open\]\:rotate-180 { - --tw-rotate: 180deg; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .group\/input-group[data-disabled="true"] .group-data-\[disabled\=true\]\/input-group\:opacity-50 { - opacity: 0.5; -} - -.use-tailwind .dark\:-rotate-90:is([data-theme="dark"] *) { - --tw-rotate: -90deg; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .dark\:rotate-0:is([data-theme="dark"] *) { - --tw-rotate: 0deg; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .dark\:scale-0:is([data-theme="dark"] *) { - --tw-scale-x: 0; - --tw-scale-y: 0; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .dark\:scale-100:is([data-theme="dark"] *) { - --tw-scale-x: 1; - --tw-scale-y: 1; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .dark\:border-destructive:is([data-theme="dark"] *) { - border-color: hsl(var(--destructive)); -} - -.use-tailwind .dark\:bg-muted\/25:is([data-theme="dark"] *) { - background-color: hsl(var(--muted) / 0.25); -} - -.use-tailwind .dark\:bg-transparent:is([data-theme="dark"] *) { - background-color: transparent; -} - -.use-tailwind .dark\:from-zinc-600:is([data-theme="dark"] *) { - --tw-gradient-from: #52525b var(--tw-gradient-from-position); - --tw-gradient-to: rgb(82 82 91 / 0) var(--tw-gradient-to-position); - --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); -} - -.use-tailwind .dark\:to-slate-600:is([data-theme="dark"] *) { - --tw-gradient-to: #475569 var(--tw-gradient-to-position); -} - -.use-tailwind .dark\:text-\[\#4ADE80\]:is([data-theme="dark"] *) { - --tw-text-opacity: 1; - color: rgb(74 222 128 / var(--tw-text-opacity, 1)); -} - -.use-tailwind .dark\:text-\[\#FF6467\]:is([data-theme="dark"] *) { - --tw-text-opacity: 1; - color: rgb(255 100 103 / var(--tw-text-opacity, 1)); -} - -.use-tailwind .dark\:text-blue-300:is([data-theme="dark"] *) { - --tw-text-opacity: 1; - color: rgb(147 197 253 / var(--tw-text-opacity, 1)); -} - -.use-tailwind .dark\:text-foreground:is([data-theme="dark"] *) { - color: hsl(var(--foreground)); -} - -.use-tailwind .dark\:brightness-\[0\.91\]:is([data-theme="dark"] *) { - --tw-brightness: brightness(0.91); - filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); -} - -.use-tailwind .dark\:grayscale:is([data-theme="dark"] *) { - --tw-grayscale: grayscale(100%); - filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); -} - -.use-tailwind .dark\:invert:is([data-theme="dark"] *) { - --tw-invert: invert(100%); - filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); -} - -.use-tailwind .dark\:has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/40:has([data-slot][aria-invalid=true]):is([data-theme="dark"] *) { - --tw-ring-color: hsl(var(--destructive) / 0.4); -} - -.use-tailwind .data-\[state\=inactive\]\:dark\:hover\:brightness-150:hover:is([data-theme="dark"] *)[data-state="inactive"] { - --tw-brightness: brightness(1.5); - filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); -} - -@media (min-width: 640px) { - .use-tailwind .sm\:block { - display: block; - } - - .use-tailwind .sm\:hidden { - display: none; - } - - .use-tailwind .sm\:max-h-\[80vh\] { - max-height: 80vh; - } - - .use-tailwind .sm\:max-w-sm { - max-width: 24rem; - } - - .use-tailwind .sm\:max-w-xl { - max-width: 36rem; - } - - .use-tailwind .sm\:grid-cols-2 { - grid-template-columns: repeat(2, minmax(0, 1fr)); - } - - .use-tailwind .sm\:flex-row { - flex-direction: row; - } - - .use-tailwind .sm\:justify-end { - justify-content: flex-end; - } - - .use-tailwind .sm\:gap-2\.5 { - gap: 0.625rem; - } - - .use-tailwind .sm\:space-x-2 > :not([hidden]) ~ :not([hidden]) { - --tw-space-x-reverse: 0; - margin-right: calc(0.5rem * var(--tw-space-x-reverse)); - margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse))); - } - - .use-tailwind .sm\:space-x-4 > :not([hidden]) ~ :not([hidden]) { - --tw-space-x-reverse: 0; - margin-right: calc(1rem * var(--tw-space-x-reverse)); - margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse))); - } - - .use-tailwind .sm\:space-y-0 > :not([hidden]) ~ :not([hidden]) { - --tw-space-y-reverse: 0; - margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(0px * var(--tw-space-y-reverse)); - } - - .use-tailwind .sm\:rounded-lg { - border-radius: var(--radius); - } - - .use-tailwind .sm\:text-left { - text-align: left; - } -} - -@media (min-width: 768px) { - .use-tailwind .md\:absolute { - position: absolute; - } - - .use-tailwind .md\:mb-5 { - margin-bottom: 1.25rem; - } - - .use-tailwind .md\:mt-10 { - margin-top: 2.5rem; - } - - .use-tailwind .md\:mt-5 { - margin-top: 1.25rem; - } - - .use-tailwind .md\:mt-6 { - margin-top: 1.5rem; - } - - .use-tailwind .md\:block { - display: block; - } - - .use-tailwind .md\:flex { - display: flex; - } - - .use-tailwind .md\:hidden { - display: none; - } - - .use-tailwind .md\:h-\[14rem\] { - height: 14rem; - } - - .use-tailwind .md\:w-9\/12 { - width: 75%; - } - - .use-tailwind .md\:w-\[400px\] { - width: 400px; - } - - .use-tailwind .md\:w-\[var\(--radix-navigation-menu-viewport-width\)\] { - width: var(--radix-navigation-menu-viewport-width); - } - - .use-tailwind .md\:w-auto { - width: auto; - } - - .use-tailwind .md\:max-w-2xl { - max-width: 42rem; - } - - .use-tailwind .md\:flex-initial { - flex: 0 1 auto; - } - - .use-tailwind .md\:grid-cols-2 { - grid-template-columns: repeat(2, minmax(0, 1fr)); - } - - .use-tailwind .md\:grid-cols-3 { - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .use-tailwind .md\:grid-cols-4 { - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .use-tailwind .md\:flex-row { - flex-direction: row; - } - - .use-tailwind .md\:flex-col { - flex-direction: column; - } - - .use-tailwind .md\:items-start { - align-items: flex-start; - } - - .use-tailwind .md\:items-end { - align-items: flex-end; - } - - .use-tailwind .md\:justify-end { - justify-content: flex-end; - } - - .use-tailwind .md\:gap-24 { - gap: 6rem; - } - - .use-tailwind .md\:rounded-md { - border-radius: calc(var(--radius) - 2px); - } - - .use-tailwind .md\:rounded-bl-xl { - border-bottom-left-radius: calc(var(--radius) + 4px); - } - - .use-tailwind .md\:rounded-tr-xl { - border-top-right-radius: calc(var(--radius) + 4px); - } - - .use-tailwind .md\:border-\[1px\] { - border-width: 1px; - } - - .use-tailwind .md\:border-l-0 { - border-left-width: 0px; - } - - .use-tailwind .md\:border-r-0 { - border-right-width: 0px; - } - - .use-tailwind .md\:border-t { - border-top-width: 1px; - } - - .use-tailwind .md\:px-4 { - padding-left: 1rem; - padding-right: 1rem; - } - - .use-tailwind .md\:py-4 { - padding-top: 1rem; - padding-bottom: 1rem; - } - - .use-tailwind .md\:pb-3 { - padding-bottom: 0.75rem; - } - - .use-tailwind .md\:pl-3 { - padding-left: 0.75rem; - } - - .use-tailwind .md\:pr-3 { - padding-right: 0.75rem; - } - - .use-tailwind .md\:pt-3 { - padding-top: 0.75rem; - } - - .use-tailwind .md\:text-right { - text-align: right; - } -} - -@media (min-width: 1024px) { - .use-tailwind .lg\:mb-0 { - margin-bottom: 0px; - } - - .use-tailwind .lg\:block { - display: block; - } - - .use-tailwind .lg\:flex { - display: flex; - } - - .use-tailwind .lg\:w-\[500px\] { - width: 500px; - } - - .use-tailwind .lg\:grid-cols-\[\.75fr_1fr\] { - grid-template-columns: .75fr 1fr; - } - - .use-tailwind .lg\:flex-row { - flex-direction: row; - } - - .use-tailwind .lg\:text-right { - text-align: right; - } -} - -.use-tailwind .\[\&\:has\(\>\.day-range-end\)\]\:rounded-r-md:has(>.day-range-end) { - border-top-right-radius: calc(var(--radius) - 2px); - border-bottom-right-radius: calc(var(--radius) - 2px); -} - -.use-tailwind .\[\&\:has\(\>\.day-range-start\)\]\:rounded-l-md:has(>.day-range-start) { - border-top-left-radius: calc(var(--radius) - 2px); - border-bottom-left-radius: calc(var(--radius) - 2px); -} - -.use-tailwind .\[\&\:has\(\[aria-selected\]\)\]\:rounded-md:has([aria-selected]) { - border-radius: calc(var(--radius) - 2px); -} - -.use-tailwind .\[\&\:has\(\[aria-selected\]\)\]\:bg-accent:has([aria-selected]) { - background-color: hsl(var(--accent)); -} - -.use-tailwind .first\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-l-md:has([aria-selected]):first-child { - border-top-left-radius: calc(var(--radius) - 2px); - border-bottom-left-radius: calc(var(--radius) - 2px); -} - -.use-tailwind .last\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-r-md:has([aria-selected]):last-child { - border-top-right-radius: calc(var(--radius) - 2px); - border-bottom-right-radius: calc(var(--radius) - 2px); -} - -.use-tailwind .\[\&\:has\(\[aria-selected\]\.day-outside\)\]\:bg-accent\/50:has([aria-selected].day-outside) { - background-color: hsl(var(--accent) / 0.5); -} - -.use-tailwind .\[\&\:has\(\[aria-selected\]\.day-range-end\)\]\:rounded-r-md:has([aria-selected].day-range-end) { - border-top-right-radius: calc(var(--radius) - 2px); - border-bottom-right-radius: calc(var(--radius) - 2px); -} - -.use-tailwind .\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]) { - padding-right: 0px; -} - -.use-tailwind .\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox] { - --tw-translate-y: 2px; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .has-\[\>\[data-align\=block-end\]\]\:\[\&\>input\]\:pt-3>input:has(>[data-align=block-end]) { - padding-top: 0.75rem; -} - -.use-tailwind .has-\[\>\[data-align\=block-start\]\]\:\[\&\>input\]\:pb-3>input:has(>[data-align=block-start]) { - padding-bottom: 0.75rem; -} - -.use-tailwind .has-\[\>\[data-align\=inline-end\]\]\:\[\&\>input\]\:pr-2>input:has(>[data-align=inline-end]) { - padding-right: 0.5rem; -} - -.use-tailwind .has-\[\>\[data-align\=inline-start\]\]\:\[\&\>input\]\:pl-2>input:has(>[data-align=inline-start]) { - padding-left: 0.5rem; -} - -.use-tailwind .\[\&\>kbd\]\:rounded-\[calc\(var\(--radius\)-5px\)\]>kbd { - border-radius: calc(var(--radius) - 5px); -} - -.use-tailwind .\[\&\>span\]\:line-clamp-1>span { - overflow: hidden; - display: -webkit-box; - -webkit-box-orient: vertical; - -webkit-line-clamp: 1; -} - -.use-tailwind .\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div { - --tw-translate-y: -3px; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .\[\&\>svg\]\:absolute>svg { - position: absolute; -} - -.use-tailwind .\[\&\>svg\]\:left-4>svg { - left: 1rem; -} - -.use-tailwind .\[\&\>svg\]\:top-4>svg { - top: 1rem; -} - -.use-tailwind .\[\&\>svg\]\:size-3>svg { - width: 0.75rem; - height: 0.75rem; -} - -.use-tailwind .\[\&\>svg\]\:size-3\.5>svg { - width: 0.875rem; - height: 0.875rem; -} - -.use-tailwind .\[\&\>svg\]\:size-4>svg { - width: 1rem; - height: 1rem; -} - -.use-tailwind .\[\&\>svg\]\:shrink-0>svg { - flex-shrink: 0; -} - -.use-tailwind .\[\&\>svg\]\:text-destructive>svg { - color: hsl(var(--destructive)); -} - -.use-tailwind .\[\&\>svg\]\:text-foreground>svg { - color: hsl(var(--foreground)); -} - -.use-tailwind .\[\&\>svg\~\*\]\:pl-7>svg~* { - padding-left: 1.75rem; -} - -.use-tailwind .\[\&\>tr\]\:last\:border-b-0:last-child>tr { - border-bottom-width: 0px; -} - -.use-tailwind .\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg { - --tw-rotate: 180deg; - transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); -} - -.use-tailwind .\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading] { - padding-left: 0.5rem; - padding-right: 0.5rem; -} - -.use-tailwind .\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading] { - padding-top: 0.375rem; - padding-bottom: 0.375rem; -} - -.use-tailwind .\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading] { - font-size: 0.75rem; - line-height: 1rem; -} - -.use-tailwind .\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading] { - font-weight: 500; -} - -.use-tailwind .\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading] { - color: hsl(var(--muted-foreground)); -} - -.use-tailwind .\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden]) ~[cmdk-group] { - padding-top: 0px; -} - -.use-tailwind .\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group] { - padding-left: 0.5rem; - padding-right: 0.5rem; -} - -.use-tailwind .\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg { - height: 1.25rem; -} - -.use-tailwind .\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg { - width: 1.25rem; -} - -.use-tailwind .\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input] { - height: 3rem; -} - -.use-tailwind .\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item] { - padding-left: 0.5rem; - padding-right: 0.5rem; -} - -.use-tailwind .\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item] { - padding-top: 0.75rem; - padding-bottom: 0.75rem; -} - -.use-tailwind .\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg { - height: 1.25rem; -} - -.use-tailwind .\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg { - width: 1.25rem; -} - -.use-tailwind .\[\&_\[data-icon\]\]\:text-amber-600 [data-icon] { - --tw-text-opacity: 1; - color: rgb(217 119 6 / var(--tw-text-opacity, 1)); -} - -.use-tailwind .\[\&_\[data-icon\]\]\:text-destructive [data-icon] { - color: hsl(var(--destructive)); -} - -.use-tailwind .\[\&_\[data-icon\]\]\:text-green-600 [data-icon] { - --tw-text-opacity: 1; - color: rgb(22 163 74 / var(--tw-text-opacity, 1)); -} - -.use-tailwind .\[\&_\[data-icon\]\]\:text-muted-foreground [data-icon] { - color: hsl(var(--muted-foreground)); -} - -.use-tailwind .\[\&_\[data-icon\]\]\:dark\:text-amber-300:is([data-theme="dark"] *) [data-icon] { - --tw-text-opacity: 1; - color: rgb(252 211 77 / var(--tw-text-opacity, 1)); -} - -.use-tailwind .\[\&_\[data-icon\]\]\:dark\:text-green-300:is([data-theme="dark"] *) [data-icon] { - --tw-text-opacity: 1; - color: rgb(134 239 172 / var(--tw-text-opacity, 1)); -} - -.use-tailwind .\[\&_p\]\:leading-relaxed p { - line-height: 1.625; -} - -.use-tailwind .\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*='size-']) { - width: 1rem; - height: 1rem; -} - -.use-tailwind .\[\&_svg\]\:pointer-events-none svg { - pointer-events: none; -} - -.use-tailwind .\[\&_svg\]\:size-4 svg { - width: 1rem; - height: 1rem; -} - -.use-tailwind .\[\&_svg\]\:shrink-0 svg { - flex-shrink: 0; -} - -.use-tailwind .\[\&_tr\:last-child\]\:border-0 tr:last-child { - border-width: 0px; -} - -.use-tailwind .\[\&_tr\]\:border-b tr { - border-bottom-width: 1px; -} diff --git a/sphinx-ui/quantinuum_sphinx/static/styles/quantinuum-ui-tokens.css b/sphinx-ui/quantinuum_sphinx/static/styles/quantinuum-ui-tokens.css deleted file mode 100644 index c295d72..0000000 --- a/sphinx-ui/quantinuum_sphinx/static/styles/quantinuum-ui-tokens.css +++ /dev/null @@ -1,81 +0,0 @@ -:root { - color-scheme: light; - --background: 0 0% 100%; - --foreground: 240 10% 3.9%; - - --card: var(--background); - --card-foreground: 240 10% 3.9%; - - --popover: var(--background); - --popover-foreground: 240 10% 3.9%; - - --primary: 240 5.9% 10%; - --primary-foreground: 0 0% 98%; - - --secondary: 240 4.8% 95.9%; - --secondary-foreground: 240 5.9% 10%; - - --muted: 240 4.8% 95.9%; - --muted-foreground: 240 3.8% 44.0%; - - --accent: 240 4.8% 95.9%; - --accent-foreground: 240 5.9% 10%; - - --destructive: 0 72.22% 50.59%; - --destructive-foreground: 0 0% 98%; - - --border: 240 5.9% 88%; - --input: 240 5.9% 88%; - --ring: 240 10% 3.9%; - - --radius: 0.5rem; - - --sidebar-background: 0 0% 98%; - --sidebar-foreground: 240 5.3% 26.1%; - --sidebar-primary: 240 5.9% 10%; - --sidebar-primary-foreground: 0 0% 98%; - --sidebar-accent: 240 4.8% 95.9%; - --sidebar-accent-foreground: 240 5.9% 10%; - --sidebar-border: 220 13% 91%; - --sidebar-ring: 217.2 91.2% 59.8%; -} - -:root [data-theme="dark"] { - color-scheme: dark; - --background: 240 10% 7.9%; - --foreground: 0 0% 98%; - - --card: var(--background); - --card-foreground: 0 0% 98%; - - --popover: var(--background); - --popover-foreground: 0 0% 98%; - - --primary: 0 0% 98%; - --primary-foreground: 240 5.9% 10%; - - --secondary: 240 3.7% 15.9%; - --secondary-foreground: 0 0% 98%; - - --muted: 240 3.7% 15.9%; - --muted-foreground: 240 5% 64.9%; - - --accent: 240 3.7% 15.9%; - --accent-foreground: 0 0% 98%; - - --destructive: 0 84% 60%; - --destructive-foreground: 240 10% 3.9%; - - --border: 240 3.7% 16.9%; - --input: 240 3.7% 26.9%; - --ring: 240 4.9% 83.9%; - - --sidebar-background: 240 5.9% 10%; - --sidebar-foreground: 240 4.8% 95.9%; - --sidebar-primary: 224.3 76.3% 48%; - --sidebar-primary-foreground: 0 0% 100%; - --sidebar-accent: 240 3.7% 15.9%; - --sidebar-accent-foreground: 240 4.8% 95.9%; - --sidebar-border: 240 3.7% 15.9%; - --sidebar-ring: 217.2 91.2% 59.8%; -} diff --git a/sphinx-ui/quantinuum_sphinx/static/syncTheme.iife.js b/sphinx-ui/quantinuum_sphinx/static/syncTheme.iife.js deleted file mode 100644 index 6aa8677..0000000 --- a/sphinx-ui/quantinuum_sphinx/static/syncTheme.iife.js +++ /dev/null @@ -1 +0,0 @@ -(function(){let e=e=>e===`system`&&(window==null?void 0:window.matchMedia)?.call(window,`(prefers-color-scheme: dark)`).matches||e===`dark`,t=()=>{let t=localStorage.getItem(`data-theme`),n=t!==null&&[`system`,`dark`,`light`].includes(t)?t:`light`;return{mode:n,isDark:e(n)}};document.body.setAttribute(`data-theme`,t().isDark?`dark`:`light`),(e=>{let n=()=>{e(t())};return n(),window.addEventListener(`storage`,n),window.matchMedia(`(prefers-color-scheme: dark)`).addEventListener(`change`,n),()=>{window.removeEventListener(`storage`,n),window.matchMedia(`(prefers-color-scheme: dark)`).removeEventListener(`change`,n)}})(({isDark:e})=>{document.body.setAttribute(`data-theme`,e?`dark`:`light`)})})();