diff --git a/assets/index-CyT5jcon.js b/assets/index-CyT5jcon.js deleted file mode 100644 index b09cfd8..0000000 --- a/assets/index-CyT5jcon.js +++ /dev/null @@ -1,46 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const i of l.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}})();function uc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var cc={exports:{}},$l={},dc={exports:{}},X={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var vo=Symbol.for("react.element"),np=Symbol.for("react.portal"),rp=Symbol.for("react.fragment"),op=Symbol.for("react.strict_mode"),lp=Symbol.for("react.profiler"),ip=Symbol.for("react.provider"),ap=Symbol.for("react.context"),sp=Symbol.for("react.forward_ref"),up=Symbol.for("react.suspense"),cp=Symbol.for("react.memo"),dp=Symbol.for("react.lazy"),js=Symbol.iterator;function fp(e){return e===null||typeof e!="object"?null:(e=js&&e[js]||e["@@iterator"],typeof e=="function"?e:null)}var fc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},pc=Object.assign,mc={};function yr(e,t,n){this.props=e,this.context=t,this.refs=mc,this.updater=n||fc}yr.prototype.isReactComponent={};yr.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")};yr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function hc(){}hc.prototype=yr.prototype;function Ra(e,t,n){this.props=e,this.context=t,this.refs=mc,this.updater=n||fc}var Ma=Ra.prototype=new hc;Ma.constructor=Ra;pc(Ma,yr.prototype);Ma.isPureReactComponent=!0;var Fs=Array.isArray,gc=Object.prototype.hasOwnProperty,za={current:null},vc={key:!0,ref:!0,__self:!0,__source:!0};function yc(e,t,n){var r,o={},l=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(l=""+t.key),t)gc.call(t,r)&&!vc.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1>>1,I=S[$];if(0>>1;$o(W,M))Qo(_e,W)?(S[$]=_e,S[Q]=M,$=Q):(S[$]=W,S[U]=M,$=U);else if(Qo(_e,M))S[$]=_e,S[Q]=M,$=Q;else break e}}return P}function o(S,P){var M=S.sortIndex-P.sortIndex;return M!==0?M:S.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var u=[],s=[],g=1,m=null,h=3,w=!1,y=!1,v=!1,C=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(S){for(var P=n(s);P!==null;){if(P.callback===null)r(s);else if(P.startTime<=S)r(s),P.sortIndex=P.expirationTime,t(u,P);else break;P=n(s)}}function x(S){if(v=!1,f(S),!y)if(n(u)!==null)y=!0,B(k);else{var P=n(s);P!==null&&J(x,P.startTime-S)}}function k(S,P){y=!1,v&&(v=!1,d(D),D=-1),w=!0;var M=h;try{for(f(P),m=n(u);m!==null&&(!(m.expirationTime>P)||S&&!ee());){var $=m.callback;if(typeof $=="function"){m.callback=null,h=m.priorityLevel;var I=$(m.expirationTime<=P);P=e.unstable_now(),typeof I=="function"?m.callback=I:m===n(u)&&r(u),f(P)}else r(u);m=n(u)}if(m!==null)var Z=!0;else{var U=n(s);U!==null&&J(x,U.startTime-P),Z=!1}return Z}finally{m=null,h=M,w=!1}}var L=!1,R=null,D=-1,Y=5,F=-1;function ee(){return!(e.unstable_now()-FS||125$?(S.sortIndex=M,t(s,S),n(u)===null&&S===n(s)&&(v?(d(D),D=-1):v=!0,J(x,M-$))):(S.sortIndex=I,t(u,S),y||w||(y=!0,B(k))),S},e.unstable_shouldYield=ee,e.unstable_wrapCallback=function(S){var P=h;return function(){var M=h;h=P;try{return S.apply(this,arguments)}finally{h=M}}}})(Ec);kc.exports=Ec;var Ep=kc.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Cp=E,Je=Ep;function _(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zi=Object.prototype.hasOwnProperty,_p=/^[: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]*$/,Bs={},Hs={};function Np(e){return zi.call(Hs,e)?!0:zi.call(Bs,e)?!1:_p.test(e)?Hs[e]=!0:(Bs[e]=!0,!1)}function Tp(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?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Pp(e,t,n,r){if(t===null||typeof t>"u"||Tp(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Oe(e,t,n,r,o,l,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=i}var Re={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Re[e]=new Oe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Re[t]=new Oe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Re[e]=new Oe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Re[e]=new Oe(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){Re[e]=new Oe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Re[e]=new Oe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Re[e]=new Oe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Re[e]=new Oe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Re[e]=new Oe(e,5,!1,e.toLowerCase(),null,!1,!1)});var La=/[\-:]([a-z])/g;function ba(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(La,ba);Re[t]=new Oe(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(La,ba);Re[t]=new Oe(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(La,ba);Re[t]=new Oe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Re[e]=new Oe(e,1,!1,e.toLowerCase(),null,!1,!1)});Re.xlinkHref=new Oe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Re[e]=new Oe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ia(e,t,n,r){var o=Re.hasOwnProperty(t)?Re[t]:null;(o!==null?o.type!==0:r||!(2a||o[i]!==l[a]){var u=` -`+o[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=i&&0<=a);break}}}finally{ti=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?jr(e):""}function Rp(e){switch(e.tag){case 5:return jr(e.type);case 16:return jr("Lazy");case 13:return jr("Suspense");case 19:return jr("SuspenseList");case 0:case 2:case 15:return e=ni(e.type,!1),e;case 11:return e=ni(e.type.render,!1),e;case 1:return e=ni(e.type,!0),e;default:return""}}function Ii(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 Kn:return"Fragment";case Yn:return"Portal";case $i:return"Profiler";case Da:return"StrictMode";case Li:return"Suspense";case bi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Nc:return(e.displayName||"Context")+".Consumer";case _c:return(e._context.displayName||"Context")+".Provider";case Aa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Oa:return t=e.displayName||null,t!==null?t:Ii(e.type)||"Memo";case tn:t=e._payload,e=e._init;try{return Ii(e(t))}catch{}}return null}function Mp(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ii(t);case 8:return t===Da?"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 gn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Pc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function zp(e){var t=Pc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,l.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function To(e){e._valueTracker||(e._valueTracker=zp(e))}function Rc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Pc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function sl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Di(e,t){var n=t.checked;return pe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ws(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=gn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Mc(e,t){t=t.checked,t!=null&&Ia(e,"checked",t,!1)}function Ai(e,t){Mc(e,t);var n=gn(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")?Oi(e,t.type,n):t.hasOwnProperty("defaultValue")&&Oi(e,t.type,gn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ys(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 Oi(e,t,n){(t!=="number"||sl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Fr=Array.isArray;function lr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Po.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function qr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Hr={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},$p=["Webkit","ms","Moz","O"];Object.keys(Hr).forEach(function(e){$p.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Hr[t]=Hr[e]})});function bc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Hr.hasOwnProperty(e)&&Hr[e]?(""+t).trim():t+"px"}function Ic(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=bc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Lp=pe({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 Ui(e,t){if(t){if(Lp[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function Bi(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 Hi=null;function ja(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Vi=null,ir=null,ar=null;function Gs(e){if(e=xo(e)){if(typeof Vi!="function")throw Error(_(280));var t=e.stateNode;t&&(t=Al(t),Vi(e.stateNode,e.type,t))}}function Dc(e){ir?ar?ar.push(e):ar=[e]:ir=e}function Ac(){if(ir){var e=ir,t=ar;if(ar=ir=null,Gs(e),t)for(e=0;e>>=0,e===0?32:31-(Vp(e)/Wp|0)|0}var Ro=64,Mo=4194304;function Ur(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 fl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,l=e.pingedLanes,i=n&268435455;if(i!==0){var a=i&~o;a!==0?r=Ur(a):(l&=i,l!==0&&(r=Ur(l)))}else i=n&~o,i!==0?r=Ur(i):l!==0&&(r=Ur(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,l=t&-t,o>=l||o===16&&(l&4194240)!==0))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 yo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-St(t),e[t]=n}function Gp(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=Wr),ou=" ",lu=!1;function rd(e,t){switch(e){case"keyup":return Em.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function od(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Qn=!1;function _m(e,t){switch(e){case"compositionend":return od(t);case"keypress":return t.which!==32?null:(lu=!0,ou);case"textInput":return e=t.data,e===ou&&lu?null:e;default:return null}}function Nm(e,t){if(Qn)return e==="compositionend"||!Ka&&rd(e,t)?(e=td(),Xo=Va=ln=null,Qn=!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}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=uu(n)}}function sd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?sd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ud(){for(var e=window,t=sl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=sl(e.document)}return t}function Qa(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 Im(e){var t=ud(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sd(n.ownerDocument.documentElement,n)){if(r!==null&&Qa(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 o=n.textContent.length,l=Math.min(r.start,o);r=r.end===void 0?l:Math.min(r.end,o),!e.extend&&l>r&&(o=r,r=l,l=o),o=cu(n,l);var i=cu(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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,Gn=null,Xi=null,Kr=null,Zi=!1;function du(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Zi||Gn==null||Gn!==sl(r)||(r=Gn,"selectionStart"in r&&Qa(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&&lo(Kr,r)||(Kr=r,r=hl(Xi,"onSelect"),0Jn||(e.current=ra[Jn],ra[Jn]=null,Jn--)}function le(e,t){Jn++,ra[Jn]=e.current,e.current=t}var vn={},Le=xn(vn),He=xn(!1),$n=vn;function fr(e,t){var n=e.type.contextTypes;if(!n)return vn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},l;for(l in n)o[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ve(e){return e=e.childContextTypes,e!=null}function vl(){se(He),se(Le)}function yu(e,t,n){if(Le.current!==vn)throw Error(_(168));le(Le,t),le(He,n)}function yd(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(_(108,Mp(e)||"Unknown",o));return pe({},n,r)}function yl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||vn,$n=Le.current,le(Le,e),le(He,He.current),!0}function wu(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=yd(e,t,$n),r.__reactInternalMemoizedMergedChildContext=e,se(He),se(Le),le(Le,e)):se(He),le(He,n)}var jt=null,Ol=!1,gi=!1;function wd(e){jt===null?jt=[e]:jt.push(e)}function Km(e){Ol=!0,wd(e)}function Sn(){if(!gi&&jt!==null){gi=!0;var e=0,t=ne;try{var n=jt;for(ne=1;e>=i,o-=i,Ft=1<<32-St(t)+o|n<D?(Y=R,R=null):Y=R.sibling;var F=h(d,R,f[D],x);if(F===null){R===null&&(R=Y);break}e&&R&&F.alternate===null&&t(d,R),c=l(F,c,D),L===null?k=F:L.sibling=F,L=F,R=Y}if(D===f.length)return n(d,R),ue&&En(d,D),k;if(R===null){for(;DD?(Y=R,R=null):Y=R.sibling;var ee=h(d,R,F.value,x);if(ee===null){R===null&&(R=Y);break}e&&R&&ee.alternate===null&&t(d,R),c=l(ee,c,D),L===null?k=ee:L.sibling=ee,L=ee,R=Y}if(F.done)return n(d,R),ue&&En(d,D),k;if(R===null){for(;!F.done;D++,F=f.next())F=m(d,F.value,x),F!==null&&(c=l(F,c,D),L===null?k=F:L.sibling=F,L=F);return ue&&En(d,D),k}for(R=r(d,R);!F.done;D++,F=f.next())F=w(R,d,D,F.value,x),F!==null&&(e&&F.alternate!==null&&R.delete(F.key===null?D:F.key),c=l(F,c,D),L===null?k=F:L.sibling=F,L=F);return e&&R.forEach(function(V){return t(d,V)}),ue&&En(d,D),k}function C(d,c,f,x){if(typeof f=="object"&&f!==null&&f.type===Kn&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case No:e:{for(var k=f.key,L=c;L!==null;){if(L.key===k){if(k=f.type,k===Kn){if(L.tag===7){n(d,L.sibling),c=o(L,f.props.children),c.return=d,d=c;break e}}else if(L.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===tn&&ku(k)===L.type){n(d,L.sibling),c=o(L,f.props),c.ref=zr(d,L,f),c.return=d,d=c;break e}n(d,L);break}else t(d,L);L=L.sibling}f.type===Kn?(c=zn(f.props.children,d.mode,x,f.key),c.return=d,d=c):(x=ol(f.type,f.key,f.props,null,d.mode,x),x.ref=zr(d,c,f),x.return=d,d=x)}return i(d);case Yn:e:{for(L=f.key;c!==null;){if(c.key===L)if(c.tag===4&&c.stateNode.containerInfo===f.containerInfo&&c.stateNode.implementation===f.implementation){n(d,c.sibling),c=o(c,f.children||[]),c.return=d,d=c;break e}else{n(d,c);break}else t(d,c);c=c.sibling}c=Ci(f,d.mode,x),c.return=d,d=c}return i(d);case tn:return L=f._init,C(d,c,L(f._payload),x)}if(Fr(f))return y(d,c,f,x);if(Nr(f))return v(d,c,f,x);Ao(d,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,c!==null&&c.tag===6?(n(d,c.sibling),c=o(c,f),c.return=d,d=c):(n(d,c),c=Ei(f,d.mode,x),c.return=d,d=c),i(d)):n(d,c)}return C}var mr=Ed(!0),Cd=Ed(!1),Sl=xn(null),kl=null,tr=null,Ja=null;function qa(){Ja=tr=kl=null}function es(e){var t=Sl.current;se(Sl),e._currentValue=t}function ia(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ur(e,t){kl=e,Ja=tr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Be=!0),e.firstContext=null)}function ct(e){var t=e._currentValue;if(Ja!==e)if(e={context:e,memoizedValue:t,next:null},tr===null){if(kl===null)throw Error(_(308));tr=e,kl.dependencies={lanes:0,firstContext:e}}else tr=tr.next=e;return t}var Tn=null;function ts(e){Tn===null?Tn=[e]:Tn.push(e)}function _d(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,ts(t)):(n.next=o.next,o.next=n),t.interleaved=n,Wt(e,r)}function Wt(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 nn=!1;function ns(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Nd(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 Bt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function fn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,q&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Wt(e,n)}return o=r.interleaved,o===null?(t.next=t,ts(r)):(t.next=o.next,o.next=t),r.interleaved=t,Wt(e,n)}function Jo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ua(e,n)}}function Eu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,l=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};l===null?o=l=i:l=l.next=i,n=n.next}while(n!==null);l===null?o=l=t:l=l.next=t}else o=l=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:l,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 El(e,t,n,r){var o=e.updateQueue;nn=!1;var l=o.firstBaseUpdate,i=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var u=a,s=u.next;u.next=null,i===null?l=s:i.next=s,i=u;var g=e.alternate;g!==null&&(g=g.updateQueue,a=g.lastBaseUpdate,a!==i&&(a===null?g.firstBaseUpdate=s:a.next=s,g.lastBaseUpdate=u))}if(l!==null){var m=o.baseState;i=0,g=s=u=null,a=l;do{var h=a.lane,w=a.eventTime;if((r&h)===h){g!==null&&(g=g.next={eventTime:w,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var y=e,v=a;switch(h=t,w=n,v.tag){case 1:if(y=v.payload,typeof y=="function"){m=y.call(w,m,h);break e}m=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=v.payload,h=typeof y=="function"?y.call(w,m,h):y,h==null)break e;m=pe({},m,h);break e;case 2:nn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[a]:h.push(a))}else w={eventTime:w,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},g===null?(s=g=w,u=m):g=g.next=w,i|=h;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;h=a,a=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(g===null&&(u=m),o.baseState=u,o.firstBaseUpdate=s,o.lastBaseUpdate=g,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else l===null&&(o.shared.lanes=0);In|=i,e.lanes=i,e.memoizedState=m}}function Cu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=yi.transition;yi.transition={};try{e(!1),t()}finally{ne=n,yi.transition=r}}function Hd(){return dt().memoizedState}function Zm(e,t,n){var r=mn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Vd(e))Wd(t,n);else if(n=_d(e,t,n,r),n!==null){var o=Ie();kt(n,e,r,o),Yd(n,t,r)}}function Jm(e,t,n){var r=mn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Vd(e))Wd(t,o);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var i=t.lastRenderedState,a=l(i,n);if(o.hasEagerState=!0,o.eagerState=a,Et(a,i)){var u=t.interleaved;u===null?(o.next=o,ts(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}n=_d(e,t,o,r),n!==null&&(o=Ie(),kt(n,e,r,o),Yd(n,t,r))}}function Vd(e){var t=e.alternate;return e===fe||t!==null&&t===fe}function Wd(e,t){Qr=_l=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Yd(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ua(e,n)}}var Nl={readContext:ct,useCallback:Me,useContext:Me,useEffect:Me,useImperativeHandle:Me,useInsertionEffect:Me,useLayoutEffect:Me,useMemo:Me,useReducer:Me,useRef:Me,useState:Me,useDebugValue:Me,useDeferredValue:Me,useTransition:Me,useMutableSource:Me,useSyncExternalStore:Me,useId:Me,unstable_isNewReconciler:!1},qm={readContext:ct,useCallback:function(e,t){return Nt().memoizedState=[e,t===void 0?null:t],e},useContext:ct,useEffect:Nu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,el(4194308,4,Od.bind(null,t,e),n)},useLayoutEffect:function(e,t){return el(4194308,4,e,t)},useInsertionEffect:function(e,t){return el(4,2,e,t)},useMemo:function(e,t){var n=Nt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Nt();return t=n!==void 0?n(t):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=Zm.bind(null,fe,e),[r.memoizedState,e]},useRef:function(e){var t=Nt();return e={current:e},t.memoizedState=e},useState:_u,useDebugValue:cs,useDeferredValue:function(e){return Nt().memoizedState=e},useTransition:function(){var e=_u(!1),t=e[0];return e=Xm.bind(null,e[1]),Nt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=fe,o=Nt();if(ue){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),Ce===null)throw Error(_(349));bn&30||Md(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,Nu($d.bind(null,r,l,e),[e]),r.flags|=2048,mo(9,zd.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=Nt(),t=Ce.identifierPrefix;if(ue){var n=Ut,r=Ft;n=(r&~(1<<32-St(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=fo++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Tt]=t,e[so]=r,nf(e,t,!1,!1),t.stateNode=e;e:{switch(i=Bi(n,r),n){case"dialog":ae("cancel",e),ae("close",e),o=r;break;case"iframe":case"object":case"embed":ae("load",e),o=r;break;case"video":case"audio":for(o=0;ovr&&(t.flags|=128,r=!0,$r(l,!1),t.lanes=4194304)}else{if(!r)if(e=Cl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),$r(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!ue)return ze(t),null}else 2*ve()-l.renderingStartTime>vr&&n!==1073741824&&(t.flags|=128,r=!0,$r(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(n=l.last,n!==null?n.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=ve(),t.sibling=null,n=de.current,le(de,r?n&1|2:n&1),t):(ze(t),null);case 22:case 23:return gs(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ge&1073741824&&(ze(t),t.subtreeFlags&6&&(t.flags|=8192)):ze(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function ah(e,t){switch(Xa(t),t.tag){case 1:return Ve(t.type)&&vl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return hr(),se(He),se(Le),ls(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return os(t),null;case 13:if(se(de),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));pr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return se(de),null;case 4:return hr(),null;case 10:return es(t.type._context),null;case 22:case 23:return gs(),null;case 24:return null;default:return null}}var jo=!1,$e=!1,sh=typeof WeakSet=="function"?WeakSet:Set,j=null;function nr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){me(e,t,r)}else n.current=null}function ha(e,t,n){try{n()}catch(r){me(e,t,r)}}var Au=!1;function uh(e,t){if(Ji=pl,e=ud(),Qa(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var i=0,a=-1,u=-1,s=0,g=0,m=e,h=null;t:for(;;){for(var w;m!==n||o!==0&&m.nodeType!==3||(a=i+o),m!==l||r!==0&&m.nodeType!==3||(u=i+r),m.nodeType===3&&(i+=m.nodeValue.length),(w=m.firstChild)!==null;)h=m,m=w;for(;;){if(m===e)break t;if(h===n&&++s===o&&(a=i),h===l&&++g===r&&(u=i),(w=m.nextSibling)!==null)break;m=h,h=m.parentNode}m=w}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(qi={focusedElem:e,selectionRange:n},pl=!1,j=t;j!==null;)if(t=j,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,j=e;else for(;j!==null;){t=j;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var v=y.memoizedProps,C=y.memoizedState,d=t.stateNode,c=d.getSnapshotBeforeUpdate(t.elementType===t.type?v:yt(t.type,v),C);d.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var f=t.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(_(163))}}catch(x){me(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,j=e;break}j=t.return}return y=Au,Au=!1,y}function Gr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var l=o.destroy;o.destroy=void 0,l!==void 0&&ha(t,n,l)}o=o.next}while(o!==r)}}function Ul(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,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 ga(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 lf(e){var t=e.alternate;t!==null&&(e.alternate=null,lf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Tt],delete t[so],delete t[na],delete t[Wm],delete t[Ym])),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 af(e){return e.tag===5||e.tag===3||e.tag===4}function Ou(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||af(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function va(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=gl));else if(r!==4&&(e=e.child,e!==null))for(va(e,t,n),e=e.sibling;e!==null;)va(e,t,n),e=e.sibling}function ya(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(ya(e,t,n),e=e.sibling;e!==null;)ya(e,t,n),e=e.sibling}var Te=null,wt=!1;function Jt(e,t,n){for(n=n.child;n!==null;)sf(e,t,n),n=n.sibling}function sf(e,t,n){if(Pt&&typeof Pt.onCommitFiberUnmount=="function")try{Pt.onCommitFiberUnmount(Ll,n)}catch{}switch(n.tag){case 5:$e||nr(n,t);case 6:var r=Te,o=wt;Te=null,Jt(e,t,n),Te=r,wt=o,Te!==null&&(wt?(e=Te,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Te.removeChild(n.stateNode));break;case 18:Te!==null&&(wt?(e=Te,n=n.stateNode,e.nodeType===8?hi(e.parentNode,n):e.nodeType===1&&hi(e,n),ro(e)):hi(Te,n.stateNode));break;case 4:r=Te,o=wt,Te=n.stateNode.containerInfo,wt=!0,Jt(e,t,n),Te=r,wt=o;break;case 0:case 11:case 14:case 15:if(!$e&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var l=o,i=l.destroy;l=l.tag,i!==void 0&&(l&2||l&4)&&ha(n,t,i),o=o.next}while(o!==r)}Jt(e,t,n);break;case 1:if(!$e&&(nr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){me(n,t,a)}Jt(e,t,n);break;case 21:Jt(e,t,n);break;case 22:n.mode&1?($e=(r=$e)||n.memoizedState!==null,Jt(e,t,n),$e=r):Jt(e,t,n);break;default:Jt(e,t,n)}}function ju(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new sh),t.forEach(function(r){var o=yh.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function ht(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=i),r&=~l}if(r=o,r=ve()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*dh(r/1960))-r,10e?16:e,an===null)var r=!1;else{if(e=an,an=null,Rl=0,q&6)throw Error(_(331));var o=q;for(q|=4,j=e.current;j!==null;){var l=j,i=l.child;if(j.flags&16){var a=l.deletions;if(a!==null){for(var u=0;uve()-ms?Mn(e,0):ps|=n),We(e,t)}function gf(e,t){t===0&&(e.mode&1?(t=Mo,Mo<<=1,!(Mo&130023424)&&(Mo=4194304)):t=1);var n=Ie();e=Wt(e,t),e!==null&&(yo(e,t,n),We(e,n))}function vh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),gf(e,n)}function yh(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(_(314))}r!==null&&r.delete(t),gf(e,n)}var vf;vf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||He.current)Be=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Be=!1,lh(e,t,n);Be=!!(e.flags&131072)}else Be=!1,ue&&t.flags&1048576&&xd(t,xl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;tl(e,t),e=t.pendingProps;var o=fr(t,Le.current);ur(t,n),o=as(null,t,r,e,o,n);var l=ss();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ve(r)?(l=!0,yl(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,ns(t),o.updater=Fl,t.stateNode=o,o._reactInternals=t,sa(t,r,e,n),t=da(null,t,r,!0,l,n)):(t.tag=0,ue&&l&&Ga(t),be(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(tl(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=xh(r),e=yt(r,e),o){case 0:t=ca(null,t,r,e,n);break e;case 1:t=bu(null,t,r,e,n);break e;case 11:t=$u(null,t,r,e,n);break e;case 14:t=Lu(null,t,r,yt(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yt(r,o),ca(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yt(r,o),bu(e,t,r,o,n);case 3:e:{if(qd(t),e===null)throw Error(_(387));r=t.pendingProps,l=t.memoizedState,o=l.element,Nd(e,t),El(t,r,null,n);var i=t.memoizedState;if(r=i.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){o=gr(Error(_(423)),t),t=Iu(e,t,r,n,o);break e}else if(r!==o){o=gr(Error(_(424)),t),t=Iu(e,t,r,n,o);break e}else for(Xe=dn(t.stateNode.containerInfo.firstChild),Ze=t,ue=!0,xt=null,n=Cd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(pr(),r===o){t=Yt(e,t,n);break e}be(e,t,r,n)}t=t.child}return t;case 5:return Td(t),e===null&&la(t),r=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,i=o.children,ea(r,o)?i=null:l!==null&&ea(r,l)&&(t.flags|=32),Jd(e,t),be(e,t,i,n),t.child;case 6:return e===null&&la(t),null;case 13:return ef(e,t,n);case 4:return rs(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=mr(t,null,r,n):be(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yt(r,o),$u(e,t,r,o,n);case 7:return be(e,t,t.pendingProps,n),t.child;case 8:return be(e,t,t.pendingProps.children,n),t.child;case 12:return be(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value,le(Sl,r._currentValue),r._currentValue=i,l!==null)if(Et(l.value,i)){if(l.children===o.children&&!He.current){t=Yt(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var a=l.dependencies;if(a!==null){i=l.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(l.tag===1){u=Bt(-1,n&-n),u.tag=2;var s=l.updateQueue;if(s!==null){s=s.shared;var g=s.pending;g===null?u.next=u:(u.next=g.next,g.next=u),s.pending=u}}l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),ia(l.return,n,t),a.lanes|=n;break}u=u.next}}else if(l.tag===10)i=l.type===t.type?null:l.child;else if(l.tag===18){if(i=l.return,i===null)throw Error(_(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),ia(i,n,t),i=l.sibling}else i=l.child;if(i!==null)i.return=l;else for(i=l;i!==null;){if(i===t){i=null;break}if(l=i.sibling,l!==null){l.return=i.return,i=l;break}i=i.return}l=i}be(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,ur(t,n),o=ct(o),r=r(o),t.flags|=1,be(e,t,r,n),t.child;case 14:return r=t.type,o=yt(r,t.pendingProps),o=yt(r.type,o),Lu(e,t,r,o,n);case 15:return Xd(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yt(r,o),tl(e,t),t.tag=1,Ve(r)?(e=!0,yl(t)):e=!1,ur(t,n),Kd(t,r,o),sa(t,r,o,n),da(null,t,r,!0,e,n);case 19:return tf(e,t,n);case 22:return Zd(e,t,n)}throw Error(_(156,t.tag))};function yf(e,t){return Vc(e,t)}function wh(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 st(e,t,n,r){return new wh(e,t,n,r)}function ys(e){return e=e.prototype,!(!e||!e.isReactComponent)}function xh(e){if(typeof e=="function")return ys(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Aa)return 11;if(e===Oa)return 14}return 2}function hn(e,t){var n=e.alternate;return n===null?(n=st(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 ol(e,t,n,r,o,l){var i=2;if(r=e,typeof e=="function")ys(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Kn:return zn(n.children,o,l,t);case Da:i=8,o|=8;break;case $i:return e=st(12,n,t,o|2),e.elementType=$i,e.lanes=l,e;case Li:return e=st(13,n,t,o),e.elementType=Li,e.lanes=l,e;case bi:return e=st(19,n,t,o),e.elementType=bi,e.lanes=l,e;case Tc:return Hl(n,o,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case _c:i=10;break e;case Nc:i=9;break e;case Aa:i=11;break e;case Oa:i=14;break e;case tn:i=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=st(i,n,t,o),t.elementType=e,t.type=r,t.lanes=l,t}function zn(e,t,n,r){return e=st(7,e,r,t),e.lanes=n,e}function Hl(e,t,n,r){return e=st(22,e,r,t),e.elementType=Tc,e.lanes=n,e.stateNode={isHidden:!1},e}function Ei(e,t,n){return e=st(6,e,null,t),e.lanes=n,e}function Ci(e,t,n){return t=st(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Sh(e,t,n,r,o){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=oi(0),this.expirationTimes=oi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=oi(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ws(e,t,n,r,o,l,i,a,u){return e=new Sh(e,t,n,a,u),t===1?(t=1,l===!0&&(t|=8)):t=0,l=st(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ns(l),e}function kh(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(kf)}catch(e){console.error(e)}}kf(),Sc.exports=et;var Ef=Sc.exports;const Th=uc(Ef);var Ku=Ef;Mi.createRoot=Ku.createRoot,Mi.hydrateRoot=Ku.hydrateRoot;function Ye(){return Ye=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(n=>Ph(n,t))}function yn(...e){return E.useCallback(Cf(...e),e)}const go=E.forwardRef((e,t)=>{const{children:n,...r}=e,o=E.Children.toArray(n),l=o.find(Mh);if(l){const i=l.props.children,a=o.map(u=>u===l?E.Children.count(i)>1?E.Children.only(null):E.isValidElement(i)?i.props.children:null:u);return E.createElement(Ea,Ye({},r,{ref:t}),E.isValidElement(i)?E.cloneElement(i,void 0,a):null)}return E.createElement(Ea,Ye({},r,{ref:t}),n)});go.displayName="Slot";const Ea=E.forwardRef((e,t)=>{const{children:n,...r}=e;return E.isValidElement(n)?E.cloneElement(n,{...zh(r,n.props),ref:t?Cf(t,n.ref):n.ref}):E.Children.count(n)>1?E.Children.only(null):null});Ea.displayName="SlotClone";const Rh=({children:e})=>E.createElement(E.Fragment,null,e);function Mh(e){return E.isValidElement(e)&&e.type===Rh}function zh(e,t){const n={...t};for(const r in t){const o=e[r],l=t[r];/^on[A-Z]/.test(r)?o&&l?n[r]=(...a)=>{l(...a),o(...a)}:o&&(n[r]=o):r==="style"?n[r]={...o,...l}:r==="className"&&(n[r]=[o,l].filter(Boolean).join(" "))}return{...e,...n}}function _f(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;ttypeof e=="boolean"?"".concat(e):e===0?"0":e,Gu=$h,Lh=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Gu(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:l}=t,i=Object.keys(o).map(s=>{const g=n==null?void 0:n[s],m=l==null?void 0:l[s];if(g===null)return null;const h=Qu(g)||Qu(m);return o[s][h]}),a=n&&Object.entries(n).reduce((s,g)=>{let[m,h]=g;return h===void 0||(s[m]=h),s},{}),u=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((s,g)=>{let{class:m,className:h,...w}=g;return Object.entries(w).every(y=>{let[v,C]=y;return Array.isArray(C)?C.includes({...l,...a}[v]):{...l,...a}[v]===C})?[...s,m,h]:s},[]);return Gu(e,i,u,n==null?void 0:n.class,n==null?void 0:n.className)};function Nf(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;ta(l)))==null?void 0:i.classGroupId}const Xu=/^\[(.+)\]$/;function Dh(e){if(Xu.test(e)){const t=Xu.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function Ah(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return jh(Object.entries(e.classGroups),n).forEach(([l,i])=>{Ca(i,r,l,t)}),r}function Ca(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const l=o===""?t:Zu(t,o);l.classGroupId=n;return}if(typeof o=="function"){if(Oh(o)){Ca(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([l,i])=>{Ca(i,Zu(t,l),n,r)})})}function Zu(e,t){let n=e;return t.split(Es).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function Oh(e){return e.isThemeGetter}function jh(e,t){return t?e.map(([n,r])=>{const o=r.map(l=>typeof l=="string"?t+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([i,a])=>[t+i,a])):l);return[n,o]}):e}function Fh(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(l,i){n.set(l,i),t++,t>e&&(t=0,r=n,n=new Map)}return{get(l){let i=n.get(l);if(i!==void 0)return i;if((i=r.get(l))!==void 0)return o(l,i),i},set(l,i){n.has(l)?n.set(l,i):o(l,i)}}}const Pf="!";function Uh(e){const t=e.separator,n=t.length===1,r=t[0],o=t.length;return function(i){const a=[];let u=0,s=0,g;for(let v=0;vs?g-s:void 0;return{modifiers:a,hasImportantModifier:h,baseClassName:w,maybePostfixModifierPosition:y}}}function Bh(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function Hh(e){return{cache:Fh(e.cacheSize),splitModifiers:Uh(e),...Ih(e)}}const Vh=/\s+/;function Wh(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,l=new Set;return e.trim().split(Vh).map(i=>{const{modifiers:a,hasImportantModifier:u,baseClassName:s,maybePostfixModifierPosition:g}=n(i);let m=r(g?s.substring(0,g):s),h=!!g;if(!m){if(!g)return{isTailwindClass:!1,originalClassName:i};if(m=r(s),!m)return{isTailwindClass:!1,originalClassName:i};h=!1}const w=Bh(a).join(":");return{isTailwindClass:!0,modifierId:u?w+Pf:w,classGroupId:m,originalClassName:i,hasPostfixModifier:h}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:a,classGroupId:u,hasPostfixModifier:s}=i,g=a+u;return l.has(g)?!1:(l.add(g),o(u,s).forEach(m=>l.add(a+m)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function Yh(){let e=0,t,n,r="";for(;em(g),e());return n=Hh(s),r=n.cache.get,o=n.cache.set,l=a,a(u)}function a(u){const s=r(u);if(s)return s;const g=Wh(u,n);return o(u,g),g}return function(){return l(Yh.apply(null,arguments))}}function ie(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const Mf=/^\[(?:([a-z-]+):)?(.+)\]$/i,Qh=/^\d+\/\d+$/,Gh=new Set(["px","full","screen"]),Xh=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Zh=/\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$/,Jh=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,qh=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,e0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function At(e){return Rn(e)||Gh.has(e)||Qh.test(e)}function qt(e){return Sr(e,"length",s0)}function Rn(e){return!!e&&!Number.isNaN(Number(e))}function Bo(e){return Sr(e,"number",Rn)}function br(e){return!!e&&Number.isInteger(Number(e))}function t0(e){return e.endsWith("%")&&Rn(e.slice(0,-1))}function K(e){return Mf.test(e)}function en(e){return Xh.test(e)}const n0=new Set(["length","size","percentage"]);function r0(e){return Sr(e,n0,zf)}function o0(e){return Sr(e,"position",zf)}const l0=new Set(["image","url"]);function i0(e){return Sr(e,l0,c0)}function a0(e){return Sr(e,"",u0)}function Ir(){return!0}function Sr(e,t,n){const r=Mf.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function s0(e){return Zh.test(e)&&!Jh.test(e)}function zf(){return!1}function u0(e){return qh.test(e)}function c0(e){return e0.test(e)}function d0(){const e=ie("colors"),t=ie("spacing"),n=ie("blur"),r=ie("brightness"),o=ie("borderColor"),l=ie("borderRadius"),i=ie("borderSpacing"),a=ie("borderWidth"),u=ie("contrast"),s=ie("grayscale"),g=ie("hueRotate"),m=ie("invert"),h=ie("gap"),w=ie("gradientColorStops"),y=ie("gradientColorStopPositions"),v=ie("inset"),C=ie("margin"),d=ie("opacity"),c=ie("padding"),f=ie("saturate"),x=ie("scale"),k=ie("sepia"),L=ie("skew"),R=ie("space"),D=ie("translate"),Y=()=>["auto","contain","none"],F=()=>["auto","hidden","clip","visible","scroll"],ee=()=>["auto",K,t],V=()=>[K,t],re=()=>["",At,qt],N=()=>["auto",Rn,K],T=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],J=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],S=()=>["start","end","center","between","around","evenly","stretch"],P=()=>["","0",K],M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],$=()=>[Rn,Bo],I=()=>[Rn,K];return{cacheSize:500,separator:":",theme:{colors:[Ir],spacing:[At,qt],blur:["none","",en,K],brightness:$(),borderColor:[e],borderRadius:["none","","full",en,K],borderSpacing:V(),borderWidth:re(),contrast:$(),grayscale:P(),hueRotate:I(),invert:P(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[t0,qt],inset:ee(),margin:ee(),opacity:$(),padding:V(),saturate:$(),scale:$(),sepia:P(),skew:I(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",K]}],container:["container"],columns:[{columns:[en]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"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:[...T(),K]}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:Y()}],"overscroll-x":[{"overscroll-x":Y()}],"overscroll-y":[{"overscroll-y":Y()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",br,K]}],basis:[{basis:ee()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",K]}],grow:[{grow:P()}],shrink:[{shrink:P()}],order:[{order:["first","last","none",br,K]}],"grid-cols":[{"grid-cols":[Ir]}],"col-start-end":[{col:["auto",{span:["full",br,K]},K]}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":[Ir]}],"row-start-end":[{row:["auto",{span:[br,K]},K]}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",K]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",K]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...S()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...S(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...S(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[c]}],px:[{px:[c]}],py:[{py:[c]}],ps:[{ps:[c]}],pe:[{pe:[c]}],pt:[{pt:[c]}],pr:[{pr:[c]}],pb:[{pb:[c]}],pl:[{pl:[c]}],m:[{m:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[R]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[R]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",K,t]}],"min-w":[{"min-w":[K,t,"min","max","fit"]}],"max-w":[{"max-w":[K,t,"none","full","min","max","fit","prose",{screen:[en]},en]}],h:[{h:[K,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[K,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[K,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[K,t,"auto","min","max","fit"]}],"font-size":[{text:["base",en,qt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Bo]}],"font-family":[{font:[Ir]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",K]}],"line-clamp":[{"line-clamp":["none",Rn,Bo]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",At,K]}],"list-image":[{"list-image":["none",K]}],"list-style-type":[{list:["none","disc","decimal",K]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[d]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[d]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",At,qt]}],"underline-offset":[{"underline-offset":["auto",At,K]}],"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:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",K]}],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",K]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[d]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...T(),o0]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",r0]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},i0]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[d]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[d]}],"divide-style":[{divide:B()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[At,K]}],"outline-w":[{outline:[At,qt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[d]}],"ring-offset-w":[{"ring-offset":[At,qt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",en,a0]}],"shadow-color":[{shadow:[Ir]}],opacity:[{opacity:[d]}],"mix-blend":[{"mix-blend":[...J(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":J()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",en,K]}],grayscale:[{grayscale:[s]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[m]}],saturate:[{saturate:[f]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[s]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[d]}],"backdrop-saturate":[{"backdrop-saturate":[f]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",K]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",K]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",K]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[br,K]}],"translate-x":[{"translate-x":[D]}],"translate-y":[{"translate-y":[D]}],"skew-x":[{"skew-x":[L]}],"skew-y":[{"skew-y":[L]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",K]}],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",K]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"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",K]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[At,qt,Bo]}],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-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"]}}}const f0=Kh(d0);function $f(...e){return f0(bh(e))}const p0=Lh("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),ll=E.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},l)=>{const i=r?go:"button";return A.jsx(i,{className:$f(p0({variant:t,size:n,className:e})),ref:l,...o})});ll.displayName="Button";var{entries:Lf,setPrototypeOf:Ju,isFrozen:m0,getPrototypeOf:h0,getOwnPropertyDescriptor:g0}=Object,{freeze:De,seal:ft,create:bf}=Object,{apply:_a,construct:Na}=typeof Reflect<"u"&&Reflect;De||(De=function(e){return e});ft||(ft=function(e){return e});_a||(_a=function(e,t,n){return e.apply(t,n)});Na||(Na=function(e,t){return new e(...t)});var Ho=qe(Array.prototype.forEach),qu=qe(Array.prototype.pop),Dr=qe(Array.prototype.push),il=qe(String.prototype.toLowerCase),_i=qe(String.prototype.toString),ec=qe(String.prototype.match),Ar=qe(String.prototype.replace),v0=qe(String.prototype.indexOf),y0=qe(String.prototype.trim),gt=qe(Object.prototype.hasOwnProperty),Qe=qe(RegExp.prototype.test),Or=w0(TypeError);function qe(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o2&&arguments[2]!==void 0?arguments[2]:il;Ju&&Ju(e,null);let r=t.length;for(;r--;){let o=t[r];if(typeof o=="string"){let l=n(o);l!==o&&(m0(t)||(t[r]=l),o=l)}e[o]=!0}return e}function x0(e){for(let t=0;t/gm),_0=ft(/\${[\w\W]*}/gm),N0=ft(/^data-[\-\w.\u00B7-\uFFFF]/),T0=ft(/^aria-[\-\w]+$/),If=ft(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),P0=ft(/^(?:\w+script|data):/i),R0=ft(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Df=ft(/^html$/i),M0=ft(/^[a-z][a-z\d]*(-[a-z\d]+)+$/i),lc=Object.freeze({__proto__:null,MUSTACHE_EXPR:E0,ERB_EXPR:C0,TMPLIT_EXPR:_0,DATA_ATTR:N0,ARIA_ATTR:T0,IS_ALLOWED_URI:If,IS_SCRIPT_OR_DATA:P0,ATTR_WHITESPACE:R0,DOCTYPE_NAME:Df,CUSTOM_ELEMENT:M0}),z0=function(){return typeof window>"u"?null:window},$0=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let n=null,r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML(l){return l},createScriptURL(l){return l}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function Af(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:z0(),t=p=>Af(p);if(t.version="3.0.10",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;let{document:n}=e,r=n,o=r.currentScript,{DocumentFragment:l,HTMLTemplateElement:i,Node:a,Element:u,NodeFilter:s,NamedNodeMap:g=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:m,DOMParser:h,trustedTypes:w}=e,y=u.prototype,v=Vo(y,"cloneNode"),C=Vo(y,"nextSibling"),d=Vo(y,"childNodes"),c=Vo(y,"parentNode");if(typeof i=="function"){let p=n.createElement("template");p.content&&p.content.ownerDocument&&(n=p.content.ownerDocument)}let f,x="",{implementation:k,createNodeIterator:L,createDocumentFragment:R,getElementsByTagName:D}=n,{importNode:Y}=r,F={};t.isSupported=typeof Lf=="function"&&typeof c=="function"&&k&&k.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:ee,ERB_EXPR:V,TMPLIT_EXPR:re,DATA_ATTR:N,ARIA_ATTR:T,IS_SCRIPT_OR_DATA:B,ATTR_WHITESPACE:J,CUSTOM_ELEMENT:S}=lc,{IS_ALLOWED_URI:P}=lc,M=null,$=G({},[...tc,...Ni,...Ti,...Pi,...nc]),I=null,Z=G({},[...rc,...Ri,...oc,...Wo]),U=Object.seal(bf(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),W=null,Q=null,_e=!0,nt=!0,Qt=!1,pt=!0,Mt=!1,je=!1,kr=!1,Er=!1,we=!1,mt=!1,jn=!1,Eo=!0,kn=!1,Xl="user-content-",Fn=!0,zt=!1,Ke={},$t=null,Lt=G({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Cr=null,Co=G({},["audio","video","img","source","image","track"]),Un=null,_r=G({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Bn="http://www.w3.org/1998/Math/MathML",Gt="http://www.w3.org/2000/svg",ke="http://www.w3.org/1999/xhtml",Xt=ke,Hn=!1,H=null,he=G({},[Bn,Gt,ke],_i),oe=null,rt=["application/xhtml+xml","text/html"],ot="text/html",ce=null,Zt=null,Zf=n.createElement("form"),_s=function(p){return p instanceof RegExp||p instanceof Function},Zl=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Zt&&Zt===p)){if((!p||typeof p!="object")&&(p={}),p=_n(p),oe=rt.indexOf(p.PARSER_MEDIA_TYPE)===-1?ot:p.PARSER_MEDIA_TYPE,ce=oe==="application/xhtml+xml"?_i:il,M=gt(p,"ALLOWED_TAGS")?G({},p.ALLOWED_TAGS,ce):$,I=gt(p,"ALLOWED_ATTR")?G({},p.ALLOWED_ATTR,ce):Z,H=gt(p,"ALLOWED_NAMESPACES")?G({},p.ALLOWED_NAMESPACES,_i):he,Un=gt(p,"ADD_URI_SAFE_ATTR")?G(_n(_r),p.ADD_URI_SAFE_ATTR,ce):_r,Cr=gt(p,"ADD_DATA_URI_TAGS")?G(_n(Co),p.ADD_DATA_URI_TAGS,ce):Co,$t=gt(p,"FORBID_CONTENTS")?G({},p.FORBID_CONTENTS,ce):Lt,W=gt(p,"FORBID_TAGS")?G({},p.FORBID_TAGS,ce):{},Q=gt(p,"FORBID_ATTR")?G({},p.FORBID_ATTR,ce):{},Ke=gt(p,"USE_PROFILES")?p.USE_PROFILES:!1,_e=p.ALLOW_ARIA_ATTR!==!1,nt=p.ALLOW_DATA_ATTR!==!1,Qt=p.ALLOW_UNKNOWN_PROTOCOLS||!1,pt=p.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Mt=p.SAFE_FOR_TEMPLATES||!1,je=p.WHOLE_DOCUMENT||!1,we=p.RETURN_DOM||!1,mt=p.RETURN_DOM_FRAGMENT||!1,jn=p.RETURN_TRUSTED_TYPE||!1,Er=p.FORCE_BODY||!1,Eo=p.SANITIZE_DOM!==!1,kn=p.SANITIZE_NAMED_PROPS||!1,Fn=p.KEEP_CONTENT!==!1,zt=p.IN_PLACE||!1,P=p.ALLOWED_URI_REGEXP||If,Xt=p.NAMESPACE||ke,U=p.CUSTOM_ELEMENT_HANDLING||{},p.CUSTOM_ELEMENT_HANDLING&&_s(p.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(U.tagNameCheck=p.CUSTOM_ELEMENT_HANDLING.tagNameCheck),p.CUSTOM_ELEMENT_HANDLING&&_s(p.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(U.attributeNameCheck=p.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),p.CUSTOM_ELEMENT_HANDLING&&typeof p.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(U.allowCustomizedBuiltInElements=p.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Mt&&(nt=!1),mt&&(we=!0),Ke&&(M=G({},nc),I=[],Ke.html===!0&&(G(M,tc),G(I,rc)),Ke.svg===!0&&(G(M,Ni),G(I,Ri),G(I,Wo)),Ke.svgFilters===!0&&(G(M,Ti),G(I,Ri),G(I,Wo)),Ke.mathMl===!0&&(G(M,Pi),G(I,oc),G(I,Wo))),p.ADD_TAGS&&(M===$&&(M=_n(M)),G(M,p.ADD_TAGS,ce)),p.ADD_ATTR&&(I===Z&&(I=_n(I)),G(I,p.ADD_ATTR,ce)),p.ADD_URI_SAFE_ATTR&&G(Un,p.ADD_URI_SAFE_ATTR,ce),p.FORBID_CONTENTS&&($t===Lt&&($t=_n($t)),G($t,p.FORBID_CONTENTS,ce)),Fn&&(M["#text"]=!0),je&&G(M,["html","head","body"]),M.table&&(G(M,["tbody"]),delete W.tbody),p.TRUSTED_TYPES_POLICY){if(typeof p.TRUSTED_TYPES_POLICY.createHTML!="function")throw Or('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof p.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Or('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');f=p.TRUSTED_TYPES_POLICY,x=f.createHTML("")}else f===void 0&&(f=$0(w,o)),f!==null&&typeof x=="string"&&(x=f.createHTML(""));De&&De(p),Zt=p}},Ns=G({},["mi","mo","mn","ms","mtext"]),Ts=G({},["foreignobject","desc","title","annotation-xml"]),Jf=G({},["title","style","font","a","script"]),Ps=G({},[...Ni,...Ti,...S0]),Rs=G({},[...Pi,...k0]),qf=function(p){let O=c(p);(!O||!O.tagName)&&(O={namespaceURI:Xt,tagName:"template"});let b=il(p.tagName),te=il(O.tagName);return H[p.namespaceURI]?p.namespaceURI===Gt?O.namespaceURI===ke?b==="svg":O.namespaceURI===Bn?b==="svg"&&(te==="annotation-xml"||Ns[te]):!!Ps[b]:p.namespaceURI===Bn?O.namespaceURI===ke?b==="math":O.namespaceURI===Gt?b==="math"&&Ts[te]:!!Rs[b]:p.namespaceURI===ke?O.namespaceURI===Gt&&!Ts[te]||O.namespaceURI===Bn&&!Ns[te]?!1:!Rs[b]&&(Jf[b]||!Ps[b]):!!(oe==="application/xhtml+xml"&&H[p.namespaceURI]):!1},Vn=function(p){Dr(t.removed,{element:p});try{p.parentNode.removeChild(p)}catch{p.remove()}},Jl=function(p,O){try{Dr(t.removed,{attribute:O.getAttributeNode(p),from:O})}catch{Dr(t.removed,{attribute:null,from:O})}if(O.removeAttribute(p),p==="is"&&!I[p])if(we||mt)try{Vn(O)}catch{}else try{O.setAttribute(p,"")}catch{}},Ms=function(p){let O=null,b=null;if(Er)p=""+p;else{let ge=ec(p,/^[\r\n\t ]+/);b=ge&&ge[0]}oe==="application/xhtml+xml"&&Xt===ke&&(p=''+p+"");let te=f?f.createHTML(p):p;if(Xt===ke)try{O=new h().parseFromString(te,oe)}catch{}if(!O||!O.documentElement){O=k.createDocument(Xt,"template",null);try{O.documentElement.innerHTML=Hn?x:te}catch{}}let Ne=O.body||O.documentElement;return p&&b&&Ne.insertBefore(n.createTextNode(b),Ne.childNodes[0]||null),Xt===ke?D.call(O,je?"html":"body")[0]:je?O.documentElement:Ne},zs=function(p){return L.call(p.ownerDocument||p,p,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION,null)},ep=function(p){return p instanceof m&&(typeof p.nodeName!="string"||typeof p.textContent!="string"||typeof p.removeChild!="function"||!(p.attributes instanceof g)||typeof p.removeAttribute!="function"||typeof p.setAttribute!="function"||typeof p.namespaceURI!="string"||typeof p.insertBefore!="function"||typeof p.hasChildNodes!="function")},$s=function(p){return typeof a=="function"&&p instanceof a},bt=function(p,O,b){F[p]&&Ho(F[p],te=>{te.call(t,O,b,Zt)})},Ls=function(p){let O=null;if(bt("beforeSanitizeElements",p,null),ep(p))return Vn(p),!0;let b=ce(p.nodeName);if(bt("uponSanitizeElement",p,{tagName:b,allowedTags:M}),p.hasChildNodes()&&!$s(p.firstElementChild)&&Qe(/<[/\w]/g,p.innerHTML)&&Qe(/<[/\w]/g,p.textContent))return Vn(p),!0;if(!M[b]||W[b]){if(!W[b]&&Is(b)&&(U.tagNameCheck instanceof RegExp&&Qe(U.tagNameCheck,b)||U.tagNameCheck instanceof Function&&U.tagNameCheck(b)))return!1;if(Fn&&!$t[b]){let te=c(p)||p.parentNode,Ne=d(p)||p.childNodes;if(Ne&&te){let ge=Ne.length;for(let It=ge-1;It>=0;--It)te.insertBefore(v(Ne[It],!0),C(p))}}return Vn(p),!0}return p instanceof u&&!qf(p)||(b==="noscript"||b==="noembed"||b==="noframes")&&Qe(/<\/no(script|embed|frames)/i,p.innerHTML)?(Vn(p),!0):(Mt&&p.nodeType===3&&(O=p.textContent,Ho([ee,V,re],te=>{O=Ar(O,te," ")}),p.textContent!==O&&(Dr(t.removed,{element:p.cloneNode()}),p.textContent=O)),bt("afterSanitizeElements",p,null),!1)},bs=function(p,O,b){if(Eo&&(O==="id"||O==="name")&&(b in n||b in Zf))return!1;if(!(nt&&!Q[O]&&Qe(N,O))&&!(_e&&Qe(T,O))){if(!I[O]||Q[O]){if(!(Is(p)&&(U.tagNameCheck instanceof RegExp&&Qe(U.tagNameCheck,p)||U.tagNameCheck instanceof Function&&U.tagNameCheck(p))&&(U.attributeNameCheck instanceof RegExp&&Qe(U.attributeNameCheck,O)||U.attributeNameCheck instanceof Function&&U.attributeNameCheck(O))||O==="is"&&U.allowCustomizedBuiltInElements&&(U.tagNameCheck instanceof RegExp&&Qe(U.tagNameCheck,b)||U.tagNameCheck instanceof Function&&U.tagNameCheck(b))))return!1}else if(!Un[O]&&!Qe(P,Ar(b,J,""))&&!((O==="src"||O==="xlink:href"||O==="href")&&p!=="script"&&v0(b,"data:")===0&&Cr[p])&&!(Qt&&!Qe(B,Ar(b,J,"")))&&b)return!1}return!0},Is=function(p){return p!=="annotation-xml"&&ec(p,S)},Ds=function(p){bt("beforeSanitizeAttributes",p,null);let{attributes:O}=p;if(!O)return;let b={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:I},te=O.length;for(;te--;){let Ne=O[te],{name:ge,namespaceURI:It,value:Dt}=Ne,Ct=ce(ge),Fe=ge==="value"?Dt:y0(Dt);if(b.attrName=Ct,b.attrValue=Fe,b.keepAttr=!0,b.forceKeepAttr=void 0,bt("uponSanitizeAttribute",p,b),Fe=b.attrValue,b.forceKeepAttr||(Jl(ge,p),!b.keepAttr))continue;if(!pt&&Qe(/\/>/i,Fe)){Jl(ge,p);continue}Mt&&Ho([ee,V,re],Os=>{Fe=Ar(Fe,Os," ")});let As=ce(p.nodeName);if(bs(As,Ct,Fe)){if(kn&&(Ct==="id"||Ct==="name")&&(Jl(ge,p),Fe=Xl+Fe),f&&typeof w=="object"&&typeof w.getAttributeType=="function"&&!It)switch(w.getAttributeType(As,Ct)){case"TrustedHTML":{Fe=f.createHTML(Fe);break}case"TrustedScriptURL":{Fe=f.createScriptURL(Fe);break}}try{It?p.setAttributeNS(It,ge,Fe):p.setAttribute(ge,Fe),qu(t.removed)}catch{}}}bt("afterSanitizeAttributes",p,null)},tp=function p(O){let b=null,te=zs(O);for(bt("beforeSanitizeShadowDOM",O,null);b=te.nextNode();)bt("uponSanitizeShadowNode",b,null),!Ls(b)&&(b.content instanceof l&&p(b.content),Ds(b));bt("afterSanitizeShadowDOM",O,null)};return t.sanitize=function(p){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=null,te=null,Ne=null,ge=null;if(Hn=!p,Hn&&(p=""),typeof p!="string"&&!$s(p))if(typeof p.toString=="function"){if(p=p.toString(),typeof p!="string")throw Or("dirty is not a string, aborting")}else throw Or("toString is not a function");if(!t.isSupported)return p;if(kr||Zl(O),t.removed=[],typeof p=="string"&&(zt=!1),zt){if(p.nodeName){let Ct=ce(p.nodeName);if(!M[Ct]||W[Ct])throw Or("root node is forbidden and cannot be sanitized in-place")}}else if(p instanceof a)b=Ms(""),te=b.ownerDocument.importNode(p,!0),te.nodeType===1&&te.nodeName==="BODY"||te.nodeName==="HTML"?b=te:b.appendChild(te);else{if(!we&&!Mt&&!je&&p.indexOf("<")===-1)return f&&jn?f.createHTML(p):p;if(b=Ms(p),!b)return we?null:jn?x:""}b&&Er&&Vn(b.firstChild);let It=zs(zt?p:b);for(;Ne=It.nextNode();)Ls(Ne)||(Ne.content instanceof l&&tp(Ne.content),Ds(Ne));if(zt)return p;if(we){if(mt)for(ge=R.call(b.ownerDocument);b.firstChild;)ge.appendChild(b.firstChild);else ge=b;return(I.shadowroot||I.shadowrootmode)&&(ge=Y.call(r,ge,!0)),ge}let Dt=je?b.outerHTML:b.innerHTML;return je&&M["!doctype"]&&b.ownerDocument&&b.ownerDocument.doctype&&b.ownerDocument.doctype.name&&Qe(Df,b.ownerDocument.doctype.name)&&(Dt=" -`+Dt),Mt&&Ho([ee,V,re],Ct=>{Dt=Ar(Dt,Ct," ")}),f&&jn?f.createHTML(Dt):Dt},t.setConfig=function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Zl(p),kr=!0},t.clearConfig=function(){Zt=null,kr=!1},t.isValidAttribute=function(p,O,b){Zt||Zl({});let te=ce(p),Ne=ce(O);return bs(te,Ne,b)},t.addHook=function(p,O){typeof O=="function"&&(F[p]=F[p]||[],Dr(F[p],O))},t.removeHook=function(p){if(F[p])return qu(F[p])},t.removeHooks=function(p){F[p]&&(F[p]=[])},t.removeAllHooks=function(){F={}},t}var L0=Af(),b0=e=>{switch(e){case"success":return A0;case"info":return j0;case"warning":return O0;case"error":return F0;default:return null}},I0=Array(12).fill(0),D0=({visible:e})=>z.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},z.createElement("div",{className:"sonner-spinner"},I0.map((t,n)=>z.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),A0=z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},z.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"})),O0=z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},z.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"})),j0=z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},z.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"})),F0=z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},z.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"})),U0=()=>{let[e,t]=z.useState(!1);return z.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Ta=1,B0=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=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Ta++,l=this.toasts.find(a=>a.id===o),i=e.dismissible===void 0?!0:e.dismissible;return l?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}),{...a,...e,id:o,dismissible:i,title:n}):a):this.addToast({title:n,...r,dismissible:i,id:o}),o},this.dismiss=e=>(e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),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"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0;return r.then(l=>{if(l&&typeof l.ok=="boolean"&&!l.ok){o=!1;let i=typeof t.error=="function"?t.error(`HTTP error! status: ${l.status}`):t.error,a=typeof t.description=="function"?t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:i,description:a})}else if(t.success!==void 0){o=!1;let i=typeof t.success=="function"?t.success(l):t.success,a=typeof t.description=="function"?t.description(l):t.description;this.create({id:n,type:"success",message:i,description:a})}}).catch(l=>{if(t.error!==void 0){o=!1;let i=typeof t.error=="function"?t.error(l):t.error,a=typeof t.description=="function"?t.description(l):t.description;this.create({id:n,type:"error",message:i,description:a})}}).finally(()=>{var l;o&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),n},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Ta++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},vt=new B0,H0=(e,t)=>{let n=(t==null?void 0:t.id)||Ta++;return vt.addToast({title:e,...t,id:n}),n},V0=H0,lt=Object.assign(V0,{success:vt.success,info:vt.info,warning:vt.warning,error:vt.error,custom:vt.custom,message:vt.message,promise:vt.promise,dismiss:vt.dismiss,loading:vt.loading});function W0(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}W0(`:where(html[dir="ltr"]),:where([data-sonner-toaster][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%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][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%)}:where([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:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([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);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([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 #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([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)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([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;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([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;background:var(--gray1);color:var(--gray12);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}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([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}:where([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}:where([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, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--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-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-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--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, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--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-rich-colors=true] [data-sonner-toast][data-type=success],[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],[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],[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],[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:nth-child(1){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)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{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%)} -`);function Yo(e){return e.label!==void 0&&typeof e.onClick=="function"}var Y0=3,K0="32px",Q0=4e3,G0=356,X0=14,Z0=20,J0=200;function q0(...e){return e.filter(Boolean).join(" ")}var eg=e=>{var t,n,r,o,l,i,a;let{invert:u,toast:s,unstyled:g,interacting:m,setHeights:h,visibleToasts:w,heights:y,index:v,toasts:C,expanded:d,removeToast:c,closeButton:f,style:x,cancelButtonStyle:k,actionButtonStyle:L,className:R="",descriptionClassName:D="",duration:Y,position:F,gap:ee,loadingIcon:V,expandByDefault:re,classNames:N,icons:T,closeButtonAriaLabel:B="Close toast",pauseWhenPageIsHidden:J,cn:S}=e,[P,M]=z.useState(!1),[$,I]=z.useState(!1),[Z,U]=z.useState(!1),[W,Q]=z.useState(!1),[_e,nt]=z.useState(0),[Qt,pt]=z.useState(0),Mt=z.useRef(null),je=z.useRef(null),kr=v===0,Er=v+1<=w,we=s.type,mt=s.dismissible!==!1,jn=s.className||"",Eo=s.descriptionClassName||"",kn=z.useMemo(()=>y.findIndex(H=>H.toastId===s.id)||0,[y,s.id]),Xl=z.useMemo(()=>{var H;return(H=s.closeButton)!=null?H:f},[s.closeButton,f]),Fn=z.useMemo(()=>s.duration||Y||Q0,[s.duration,Y]),zt=z.useRef(0),Ke=z.useRef(0),$t=z.useRef(0),Lt=z.useRef(null),[Cr,Co]=F.split("-"),Un=z.useMemo(()=>y.reduce((H,he,oe)=>oe>=kn?H:H+he.height,0),[y,kn]),_r=U0(),Bn=s.invert||u,Gt=we==="loading";Ke.current=z.useMemo(()=>kn*ee+Un,[kn,Un]),z.useEffect(()=>{M(!0)},[]),z.useLayoutEffect(()=>{if(!P)return;let H=je.current,he=H.style.height;H.style.height="auto";let oe=H.getBoundingClientRect().height;H.style.height=he,pt(oe),h(rt=>rt.find(ot=>ot.toastId===s.id)?rt.map(ot=>ot.toastId===s.id?{...ot,height:oe}:ot):[{toastId:s.id,height:oe,position:s.position},...rt])},[P,s.title,s.description,h,s.id]);let ke=z.useCallback(()=>{I(!0),nt(Ke.current),h(H=>H.filter(he=>he.toastId!==s.id)),setTimeout(()=>{c(s)},J0)},[s,c,h,Ke]);z.useEffect(()=>{if(s.promise&&we==="loading"||s.duration===1/0||s.type==="loading")return;let H,he=Fn;return d||m||J&&_r?(()=>{if($t.current{var oe;(oe=s.onAutoClose)==null||oe.call(s,s),ke()},he)),()=>clearTimeout(H)},[d,m,re,s,Fn,ke,s.promise,we,J,_r]),z.useEffect(()=>{let H=je.current;if(H){let he=H.getBoundingClientRect().height;return pt(he),h(oe=>[{toastId:s.id,height:he,position:s.position},...oe]),()=>h(oe=>oe.filter(rt=>rt.toastId!==s.id))}},[h,s.id]),z.useEffect(()=>{s.delete&&ke()},[ke,s.delete]);function Xt(){return T!=null&&T.loading?z.createElement("div",{className:"sonner-loader","data-visible":we==="loading"},T.loading):V?z.createElement("div",{className:"sonner-loader","data-visible":we==="loading"},V):z.createElement(D0,{visible:we==="loading"})}function Hn(H){return{__html:L0.sanitize(H)}}return z.createElement("li",{"aria-live":s.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:je,className:S(R,jn,N==null?void 0:N.toast,(t=s==null?void 0:s.classNames)==null?void 0:t.toast,N==null?void 0:N.default,N==null?void 0:N[we],(n=s==null?void 0:s.classNames)==null?void 0:n[we]),"data-sonner-toast":"","data-styled":!(s.jsx||s.unstyled||g),"data-mounted":P,"data-promise":!!s.promise,"data-removed":$,"data-visible":Er,"data-y-position":Cr,"data-x-position":Co,"data-index":v,"data-front":kr,"data-swiping":Z,"data-dismissible":mt,"data-type":we,"data-invert":Bn,"data-swipe-out":W,"data-expanded":!!(d||re&&P),style:{"--index":v,"--toasts-before":v,"--z-index":C.length-v,"--offset":`${$?_e:Ke.current}px`,"--initial-height":re?"auto":`${Qt}px`,...x,...s.style},onPointerDown:H=>{Gt||!mt||(Mt.current=new Date,nt(Ke.current),H.target.setPointerCapture(H.pointerId),H.target.tagName!=="BUTTON"&&(U(!0),Lt.current={x:H.clientX,y:H.clientY}))},onPointerUp:()=>{var H,he,oe,rt;if(W||!mt)return;Lt.current=null;let ot=Number(((H=je.current)==null?void 0:H.style.getPropertyValue("--swipe-amount").replace("px",""))||0),ce=new Date().getTime()-((he=Mt.current)==null?void 0:he.getTime()),Zt=Math.abs(ot)/ce;if(Math.abs(ot)>=Z0||Zt>.11){nt(Ke.current),(oe=s.onDismiss)==null||oe.call(s,s),ke(),Q(!0);return}(rt=je.current)==null||rt.style.setProperty("--swipe-amount","0px"),U(!1)},onPointerMove:H=>{var he;if(!Lt.current||!mt)return;let oe=H.clientY-Lt.current.y,rt=H.clientX-Lt.current.x,ot=(Cr==="top"?Math.min:Math.max)(0,oe),ce=H.pointerType==="touch"?10:2;Math.abs(ot)>ce?(he=je.current)==null||he.style.setProperty("--swipe-amount",`${oe}px`):Math.abs(rt)>ce&&(Lt.current=null)}},Xl&&!s.jsx?z.createElement("button",{"aria-label":B,"data-disabled":Gt,"data-close-button":!0,onClick:Gt||!mt?()=>{}:()=>{var H;ke(),(H=s.onDismiss)==null||H.call(s,s)},className:S(N==null?void 0:N.closeButton,(r=s==null?void 0:s.classNames)==null?void 0:r.closeButton)},z.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"},z.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),z.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,s.jsx||z.isValidElement(s.title)?s.jsx||s.title:z.createElement(z.Fragment,null,we||s.icon||s.promise?z.createElement("div",{"data-icon":"",className:S(N==null?void 0:N.icon)},s.promise||s.type==="loading"&&!s.icon?s.icon||Xt():null,s.type!=="loading"?s.icon||(T==null?void 0:T[we])||b0(we):null):null,z.createElement("div",{"data-content":"",className:S(N==null?void 0:N.content)},z.createElement("div",{"data-title":"",className:S(N==null?void 0:N.title,(o=s==null?void 0:s.classNames)==null?void 0:o.title),dangerouslySetInnerHTML:Hn(s.title)}),s.description?z.createElement("div",{"data-description":"",className:S(D,Eo,N==null?void 0:N.description,(l=s==null?void 0:s.classNames)==null?void 0:l.description),dangerouslySetInnerHTML:Hn(s.description)}):null),z.isValidElement(s.cancel)?s.cancel:s.cancel&&Yo(s.cancel)?z.createElement("button",{"data-button":!0,"data-cancel":!0,style:s.cancelButtonStyle||k,onClick:H=>{Yo(s.cancel)&&mt&&(ke(),s.cancel.onClick(H))},className:S(N==null?void 0:N.cancelButton,(i=s==null?void 0:s.classNames)==null?void 0:i.cancelButton)},s.cancel.label):null,z.isValidElement(s.action)?s.action:s.action&&Yo(s.action)?z.createElement("button",{"data-button":"",style:s.actionButtonStyle||L,onClick:H=>{Yo(s.action)&&(s.action.onClick(H),!H.defaultPrevented&&ke())},className:S(N==null?void 0:N.actionButton,(a=s==null?void 0:s.classNames)==null?void 0:a.actionButton)},s.action.label):null))};function ic(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}var Of=e=>{let{invert:t,position:n="bottom-right",hotkey:r=["altKey","KeyT"],expand:o,closeButton:l,className:i,offset:a,theme:u="light",richColors:s,duration:g,style:m,visibleToasts:h=Y0,toastOptions:w,dir:y=ic(),gap:v=X0,loadingIcon:C,icons:d,containerAriaLabel:c="Notifications",pauseWhenPageIsHidden:f,cn:x=q0}=e,[k,L]=z.useState([]),R=z.useMemo(()=>Array.from(new Set([n].concat(k.filter($=>$.position).map($=>$.position)))),[k,n]),[D,Y]=z.useState([]),[F,ee]=z.useState(!1),[V,re]=z.useState(!1),[N,T]=z.useState(u!=="system"?u:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),B=z.useRef(null),J=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),S=z.useRef(null),P=z.useRef(!1),M=z.useCallback($=>L(I=>I.filter(({id:Z})=>Z!==$.id)),[]);return z.useEffect(()=>vt.subscribe($=>{if($.dismiss){L(I=>I.map(Z=>Z.id===$.id?{...Z,delete:!0}:Z));return}setTimeout(()=>{Th.flushSync(()=>{L(I=>{let Z=I.findIndex(U=>U.id===$.id);return Z!==-1?[...I.slice(0,Z),{...I[Z],...$},...I.slice(Z+1)]:[$,...I]})})})}),[]),z.useEffect(()=>{if(u!=="system"){T(u);return}u==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?T("dark"):T("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:$})=>{T($?"dark":"light")})},[u]),z.useEffect(()=>{k.length<=1&&ee(!1)},[k]),z.useEffect(()=>{let $=I=>{var Z,U;r.every(W=>I[W]||I.code===W)&&(ee(!0),(Z=B.current)==null||Z.focus()),I.code==="Escape"&&(document.activeElement===B.current||(U=B.current)!=null&&U.contains(document.activeElement))&&ee(!1)};return document.addEventListener("keydown",$),()=>document.removeEventListener("keydown",$)},[r]),z.useEffect(()=>{if(B.current)return()=>{S.current&&(S.current.focus({preventScroll:!0}),S.current=null,P.current=!1)}},[B.current]),k.length?z.createElement("section",{"aria-label":`${c} ${J}`,tabIndex:-1},R.map(($,I)=>{var Z;let[U,W]=$.split("-");return z.createElement("ol",{key:$,dir:y==="auto"?ic():y,tabIndex:-1,ref:B,className:i,"data-sonner-toaster":!0,"data-theme":N,"data-rich-colors":s,"data-y-position":U,"data-x-position":W,style:{"--front-toast-height":`${((Z=D[0])==null?void 0:Z.height)||0}px`,"--offset":typeof a=="number"?`${a}px`:a||K0,"--width":`${G0}px`,"--gap":`${v}px`,...m},onBlur:Q=>{P.current&&!Q.currentTarget.contains(Q.relatedTarget)&&(P.current=!1,S.current&&(S.current.focus({preventScroll:!0}),S.current=null))},onFocus:Q=>{Q.target instanceof HTMLElement&&Q.target.dataset.dismissible==="false"||P.current||(P.current=!0,S.current=Q.relatedTarget)},onMouseEnter:()=>ee(!0),onMouseMove:()=>ee(!0),onMouseLeave:()=>{V||ee(!1)},onPointerDown:Q=>{Q.target instanceof HTMLElement&&Q.target.dataset.dismissible==="false"||re(!0)},onPointerUp:()=>re(!1)},k.filter(Q=>!Q.position&&I===0||Q.position===$).map((Q,_e)=>{var nt,Qt;return z.createElement(eg,{key:Q.id,icons:d,index:_e,toast:Q,duration:(nt=w==null?void 0:w.duration)!=null?nt:g,className:w==null?void 0:w.className,descriptionClassName:w==null?void 0:w.descriptionClassName,invert:t,visibleToasts:h,closeButton:(Qt=w==null?void 0:w.closeButton)!=null?Qt:l,interacting:V,position:$,style:w==null?void 0:w.style,unstyled:w==null?void 0:w.unstyled,classNames:w==null?void 0:w.classNames,cancelButtonStyle:w==null?void 0:w.cancelButtonStyle,actionButtonStyle:w==null?void 0:w.actionButtonStyle,removeToast:M,toasts:k.filter(pt=>pt.position==Q.position),heights:D.filter(pt=>pt.position==Q.position),setHeights:Y,expandByDefault:o,gap:v,loadingIcon:C,expanded:F,pauseWhenPageIsHidden:f,cn:x})}))})):null};/*! Bundled license information: - -dompurify/dist/purify.es.mjs: - (*! @license DOMPurify 3.0.10 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.10/LICENSE *) -*/function tg({image:e,setImage:t,setImageUploaded:n,imageUploaded:r}){const o=E.useRef(null),[l,i]=E.useState([]);E.useEffect(()=>{const y=localStorage.getItem("uploadedImage");y&&(t(y),h(y))},[]);const a=y=>{const v=y.target.files[0],C=new FileReader;C.onloadend=()=>{const d=C.result;t(d),localStorage.setItem("uploadedImage",d),h(d)},C.readAsDataURL(v),n(!0),lt.success("Image uploaded successfully",{action:{text:"Close",onClick:()=>{lt.dismiss()}}})},u=y=>{y.preventDefault()},s=y=>{if(y.preventDefault(),!y.dataTransfer.files[0].type.includes("image")){lt.error("File type not supported",{action:{label:"Close",onClick:()=>{lt.dismiss()}}});return}const v=y.dataTransfer.files[0],C=new FileReader;C.onloadend=()=>{const d=C.result;t(d),localStorage.setItem("uploadedImage",d),h(d)},C.readAsDataURL(v),n(!0)},g=()=>{o.current.click()},m=()=>{t(null),i([]),localStorage.removeItem("uploadedImage")};E.useEffect(()=>{m()},[e]);const h=async y=>{try{const v=new Image;v.src=y,v.onload=()=>{const C=document.createElement("canvas");C.width=v.width,C.height=v.height;const d=C.getContext("2d");d.drawImage(v,0,0);const c=d.getImageData(0,0,C.width,C.height),f={};for(let k=0;kL.count-k.count).slice(0,12).map(([k,{r:L,g:R,b:D}])=>({hex:k,r:L,g:R,b:D}));i(x)}}catch(v){console.error("Error extracting colors:",v)}},w=(y,v,C)=>"#"+((1<<24)+(y<<16)+(v<<8)+C).toString(16).slice(1);return A.jsxs("div",{className:"flex flex-col items-center justify-center h-screen bg-gray-100 dark:bg-gray-900",children:[A.jsx(Of,{}),A.jsxs("div",{className:"max-w-4xl w-full p-4",children:[A.jsx("div",{className:"w-full aspect-video bg-gray-200 dark:bg-gray-800 rounded-lg overflow-hidden flex items-center justify-center cursor-pointer",onDragOver:u,onDrop:s,onClick:g,style:{border:r?"none":"3px dashed #ccc"},children:e?A.jsx("img",{src:e,alt:"Uploaded Image",className:"w-full h-full object-contain"}):A.jsx("div",{className:"text-gray-500 dark:text-gray-400 text-lg",children:"Click or Drop an Image to upload it"})}),A.jsx("input",{type:"file",accept:"image/jpeg,image/jpg,image/png,image/webp",ref:o,onChange:a,className:"hidden",limit:"1"})]})]})}function jf(e,[t,n]){return Math.min(n,Math.max(t,e))}function or(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Ff(e,t=[]){let n=[];function r(l,i){const a=E.createContext(i),u=n.length;n=[...n,i];function s(m){const{scope:h,children:w,...y}=m,v=(h==null?void 0:h[e][u])||a,C=E.useMemo(()=>y,Object.values(y));return E.createElement(v.Provider,{value:C},w)}function g(m,h){const w=(h==null?void 0:h[e][u])||a,y=E.useContext(w);if(y)return y;if(i!==void 0)return i;throw new Error(`\`${m}\` must be used within \`${l}\``)}return s.displayName=l+"Provider",[s,g]}const o=()=>{const l=n.map(i=>E.createContext(i));return function(a){const u=(a==null?void 0:a[e])||l;return E.useMemo(()=>({[`__scope${e}`]:{...a,[e]:u}}),[a,u])}};return o.scopeName=e,[r,ng(o,...t)]}function ng(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(l){const i=r.reduce((a,{useScope:u,scopeName:s})=>{const m=u(l)[`__scope${s}`];return{...a,...m}},{});return E.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Uf(e){const t=E.useRef(e);return E.useEffect(()=>{t.current=e}),E.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function rg({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=og({defaultProp:t,onChange:n}),l=e!==void 0,i=l?e:r,a=Uf(n),u=E.useCallback(s=>{if(l){const m=typeof s=="function"?s(e):s;m!==e&&a(m)}else o(s)},[l,e,o,a]);return[i,u]}function og({defaultProp:e,onChange:t}){const n=E.useState(e),[r]=n,o=E.useRef(r),l=Uf(t);return E.useEffect(()=>{o.current!==r&&(l(r),o.current=r)},[r,o,l]),n}const lg=E.createContext(void 0);function ig(e){const t=E.useContext(lg);return e||t||"ltr"}function ag(e){const t=E.useRef({value:e,previous:e});return E.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const sg=globalThis!=null&&globalThis.document?E.useLayoutEffect:()=>{};function ug(e){const[t,n]=E.useState(void 0);return sg(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const l=o[0];let i,a;if("borderBoxSize"in l){const u=l.borderBoxSize,s=Array.isArray(u)?u[0]:u;i=s.inlineSize,a=s.blockSize}else i=e.offsetWidth,a=e.offsetHeight;n({width:i,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const cg=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Ql=cg.reduce((e,t)=>{const n=E.forwardRef((r,o)=>{const{asChild:l,...i}=r,a=l?go:t;return E.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),E.createElement(a,Ye({},i,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function dg(e){const t=e+"CollectionProvider",[n,r]=Ff(t),[o,l]=n(t,{collectionRef:{current:null},itemMap:new Map}),i=w=>{const{scope:y,children:v}=w,C=z.useRef(null),d=z.useRef(new Map).current;return z.createElement(o,{scope:y,itemMap:d,collectionRef:C},v)},a=e+"CollectionSlot",u=z.forwardRef((w,y)=>{const{scope:v,children:C}=w,d=l(a,v),c=yn(y,d.collectionRef);return z.createElement(go,{ref:c},C)}),s=e+"CollectionItemSlot",g="data-radix-collection-item",m=z.forwardRef((w,y)=>{const{scope:v,children:C,...d}=w,c=z.useRef(null),f=yn(y,c),x=l(s,v);return z.useEffect(()=>(x.itemMap.set(c,{ref:c,...d}),()=>void x.itemMap.delete(c))),z.createElement(go,{[g]:"",ref:f},C)});function h(w){const y=l(e+"CollectionConsumer",w);return z.useCallback(()=>{const C=y.collectionRef.current;if(!C)return[];const d=Array.from(C.querySelectorAll(`[${g}]`));return Array.from(y.itemMap.values()).sort((x,k)=>d.indexOf(x.ref.current)-d.indexOf(k.ref.current))},[y.collectionRef,y.itemMap])}return[{Provider:i,Slot:u,ItemSlot:m},h,r]}const Bf=["PageUp","PageDown"],Hf=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Vf={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},ko="Slider",[Pa,fg,pg]=dg(ko),[Wf,Bg]=Ff(ko,[pg]),[mg,Gl]=Wf(ko),hg=E.forwardRef((e,t)=>{const{name:n,min:r=0,max:o=100,step:l=1,orientation:i="horizontal",disabled:a=!1,minStepsBetweenThumbs:u=0,defaultValue:s=[r],value:g,onValueChange:m=()=>{},onValueCommit:h=()=>{},inverted:w=!1,...y}=e,[v,C]=E.useState(null),d=yn(t,N=>C(N)),c=E.useRef(new Set),f=E.useRef(0),x=i==="horizontal",k=v?!!v.closest("form"):!0,L=x?gg:vg,[R=[],D]=rg({prop:g,defaultProp:s,onChange:N=>{var T;(T=[...c.current][f.current])===null||T===void 0||T.focus(),m(N)}}),Y=E.useRef(R);function F(N){const T=Ng(R,N);re(N,T)}function ee(N){re(N,f.current)}function V(){const N=Y.current[f.current];R[f.current]!==N&&h(R)}function re(N,T,{commit:B}={commit:!1}){const J=Mg(l),S=zg(Math.round((N-r)/l)*l+r,J),P=jf(S,[r,o]);D((M=[])=>{const $=Cg(M,P,T);if(Rg($,u*l)){f.current=$.indexOf(P);const I=String($)!==String(M);return I&&B&&h($),I?$:M}else return M})}return E.createElement(mg,{scope:e.__scopeSlider,disabled:a,min:r,max:o,valueIndexToChangeRef:f,thumbs:c.current,values:R,orientation:i},E.createElement(Pa.Provider,{scope:e.__scopeSlider},E.createElement(Pa.Slot,{scope:e.__scopeSlider},E.createElement(L,Ye({"aria-disabled":a,"data-disabled":a?"":void 0},y,{ref:d,onPointerDown:or(y.onPointerDown,()=>{a||(Y.current=R)}),min:r,max:o,inverted:w,onSlideStart:a?void 0:F,onSlideMove:a?void 0:ee,onSlideEnd:a?void 0:V,onHomeKeyDown:()=>!a&&re(r,0,{commit:!0}),onEndKeyDown:()=>!a&&re(o,R.length-1,{commit:!0}),onStepKeyDown:({event:N,direction:T})=>{if(!a){const S=Bf.includes(N.key)||N.shiftKey&&Hf.includes(N.key)?10:1,P=f.current,M=R[P],$=l*S*T;re(M+$,P,{commit:!0})}}})))),k&&R.map((N,T)=>E.createElement(Eg,{key:T,name:n?n+(R.length>1?"[]":""):void 0,value:N})))}),[Yf,Kf]=Wf(ko,{startEdge:"left",endEdge:"right",size:"width",direction:1}),gg=E.forwardRef((e,t)=>{const{min:n,max:r,dir:o,inverted:l,onSlideStart:i,onSlideMove:a,onSlideEnd:u,onStepKeyDown:s,...g}=e,[m,h]=E.useState(null),w=yn(t,f=>h(f)),y=E.useRef(),v=ig(o),C=v==="ltr",d=C&&!l||!C&&l;function c(f){const x=y.current||m.getBoundingClientRect(),k=[0,x.width],R=Cs(k,d?[n,r]:[r,n]);return y.current=x,R(f-x.left)}return E.createElement(Yf,{scope:e.__scopeSlider,startEdge:d?"left":"right",endEdge:d?"right":"left",direction:d?1:-1,size:"width"},E.createElement(Qf,Ye({dir:v,"data-orientation":"horizontal"},g,{ref:w,style:{...g.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:f=>{const x=c(f.clientX);i==null||i(x)},onSlideMove:f=>{const x=c(f.clientX);a==null||a(x)},onSlideEnd:()=>{y.current=void 0,u==null||u()},onStepKeyDown:f=>{const k=Vf[d?"from-left":"from-right"].includes(f.key);s==null||s({event:f,direction:k?-1:1})}})))}),vg=E.forwardRef((e,t)=>{const{min:n,max:r,inverted:o,onSlideStart:l,onSlideMove:i,onSlideEnd:a,onStepKeyDown:u,...s}=e,g=E.useRef(null),m=yn(t,g),h=E.useRef(),w=!o;function y(v){const C=h.current||g.current.getBoundingClientRect(),d=[0,C.height],f=Cs(d,w?[r,n]:[n,r]);return h.current=C,f(v-C.top)}return E.createElement(Yf,{scope:e.__scopeSlider,startEdge:w?"bottom":"top",endEdge:w?"top":"bottom",size:"height",direction:w?1:-1},E.createElement(Qf,Ye({"data-orientation":"vertical"},s,{ref:m,style:{...s.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:v=>{const C=y(v.clientY);l==null||l(C)},onSlideMove:v=>{const C=y(v.clientY);i==null||i(C)},onSlideEnd:()=>{h.current=void 0,a==null||a()},onStepKeyDown:v=>{const d=Vf[w?"from-bottom":"from-top"].includes(v.key);u==null||u({event:v,direction:d?-1:1})}})))}),Qf=E.forwardRef((e,t)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:o,onSlideEnd:l,onHomeKeyDown:i,onEndKeyDown:a,onStepKeyDown:u,...s}=e,g=Gl(ko,n);return E.createElement(Ql.span,Ye({},s,{ref:t,onKeyDown:or(e.onKeyDown,m=>{m.key==="Home"?(i(m),m.preventDefault()):m.key==="End"?(a(m),m.preventDefault()):Bf.concat(Hf).includes(m.key)&&(u(m),m.preventDefault())}),onPointerDown:or(e.onPointerDown,m=>{const h=m.target;h.setPointerCapture(m.pointerId),m.preventDefault(),g.thumbs.has(h)?h.focus():r(m)}),onPointerMove:or(e.onPointerMove,m=>{m.target.hasPointerCapture(m.pointerId)&&o(m)}),onPointerUp:or(e.onPointerUp,m=>{const h=m.target;h.hasPointerCapture(m.pointerId)&&(h.releasePointerCapture(m.pointerId),l(m))})}))}),yg="SliderTrack",wg=E.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=Gl(yg,n);return E.createElement(Ql.span,Ye({"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation},r,{ref:t}))}),ac="SliderRange",xg=E.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=Gl(ac,n),l=Kf(ac,n),i=E.useRef(null),a=yn(t,i),u=o.values.length,s=o.values.map(h=>Gf(h,o.min,o.max)),g=u>1?Math.min(...s):0,m=100-Math.max(...s);return E.createElement(Ql.span,Ye({"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0},r,{ref:a,style:{...e.style,[l.startEdge]:g+"%",[l.endEdge]:m+"%"}}))}),sc="SliderThumb",Sg=E.forwardRef((e,t)=>{const n=fg(e.__scopeSlider),[r,o]=E.useState(null),l=yn(t,a=>o(a)),i=E.useMemo(()=>r?n().findIndex(a=>a.ref.current===r):-1,[n,r]);return E.createElement(kg,Ye({},e,{ref:l,index:i}))}),kg=E.forwardRef((e,t)=>{const{__scopeSlider:n,index:r,...o}=e,l=Gl(sc,n),i=Kf(sc,n),[a,u]=E.useState(null),s=yn(t,C=>u(C)),g=ug(a),m=l.values[r],h=m===void 0?0:Gf(m,l.min,l.max),w=_g(r,l.values.length),y=g==null?void 0:g[i.size],v=y?Tg(y,h,i.direction):0;return E.useEffect(()=>{if(a)return l.thumbs.add(a),()=>{l.thumbs.delete(a)}},[a,l.thumbs]),E.createElement("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[i.startEdge]:`calc(${h}% + ${v}px)`}},E.createElement(Pa.ItemSlot,{scope:e.__scopeSlider},E.createElement(Ql.span,Ye({role:"slider","aria-label":e["aria-label"]||w,"aria-valuemin":l.min,"aria-valuenow":m,"aria-valuemax":l.max,"aria-orientation":l.orientation,"data-orientation":l.orientation,"data-disabled":l.disabled?"":void 0,tabIndex:l.disabled?void 0:0},o,{ref:s,style:m===void 0?{display:"none"}:e.style,onFocus:or(e.onFocus,()=>{l.valueIndexToChangeRef.current=r})}))))}),Eg=e=>{const{value:t,...n}=e,r=E.useRef(null),o=ag(t);return E.useEffect(()=>{const l=r.current,i=window.HTMLInputElement.prototype,u=Object.getOwnPropertyDescriptor(i,"value").set;if(o!==t&&u){const s=new Event("input",{bubbles:!0});u.call(l,t),l.dispatchEvent(s)}},[o,t]),E.createElement("input",Ye({style:{display:"none"}},n,{ref:r,defaultValue:t}))};function Cg(e=[],t,n){const r=[...e];return r[n]=t,r.sort((o,l)=>o-l)}function Gf(e,t,n){const l=100/(n-t)*(e-t);return jf(l,[0,100])}function _g(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function Ng(e,t){if(e.length===1)return 0;const n=e.map(o=>Math.abs(o-t)),r=Math.min(...n);return n.indexOf(r)}function Tg(e,t,n){const r=e/2,l=Cs([0,50],[0,r]);return(r-l(t)*n)*n}function Pg(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function Rg(e,t){if(t>0){const n=Pg(e);return Math.min(...n)>=t}return!0}function Cs(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function Mg(e){return(String(e).split(".")[1]||"").length}function zg(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}const Xf=hg,$g=wg,Lg=xg,bg=Sg,al=E.forwardRef(({className:e,...t},n)=>A.jsxs(Xf,{ref:n,className:$f("relative flex w-full touch-none select-none items-center",e),...t,children:[A.jsx($g,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:A.jsx(Lg,{className:"absolute h-full bg-primary"})}),A.jsx(bg,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"})]}));al.displayName=Xf.displayName;function Ig(){const[e,t]=E.useState(null),[n,r]=E.useState(!1),[o,l]=E.useState(0),[i,a]=E.useState(100),[u,s]=E.useState(100),[g,m]=E.useState(255),[h,w]=E.useState(0),[y,v]=E.useState(0),[C,d]=E.useState("#FF0000"),c=(N,T,B)=>`#${((1<<24)+(N<<16)+(T<<8)+B).toString(16).slice(1)}`;E.useEffect(()=>{localStorage.removeItem("uploadedImage")},[]),E.useEffect(()=>{const N=localStorage.getItem("uploadedImage");N&&(t(N),f(N))},[n]);const f=N=>{const T=new Image;T.src=N,T.onload=()=>{const B=document.createElement("canvas"),J=B.getContext("2d");B.width=T.width,B.height=T.height,J.drawImage(T,0,0,T.width,T.height);const P=J.getImageData(0,0,T.width,T.height).data,M=[];for(let W=0;W0){const pt=c(Q,_e,nt);M.push(pt)}}const $={};M.forEach(W=>{W in $?$[W]+=1:$[W]=1});const Z=Object.keys($).sort((W,Q)=>$[Q]-$[W])[0],U=L(Z);R(U.r,U.g,U.b)}},x=N=>{const T=N.target,B=document.createElement("canvas"),J=B.getContext("2d");B.width=T.width,B.height=T.height,J.drawImage(T,0,0,T.width,T.height);const S=T.getBoundingClientRect(),P=T.width/S.width,M=T.height/S.height,$=(N.clientX-S.left)*P,I=(N.clientY-S.top)*M,Z=J.getImageData($,I,1,1).data,[U,W,Q]=Z;m(U),w(W),v(Q),d(c(U,W,Q));const _e=R(U,W,Q);l(_e.h),a(_e.s),s(_e.l),lt.success("Color picked from image",{action:{label:"Close",onClick:()=>lt.dismiss()}})},k=(N,T,B)=>{N/=360,T/=100,B/=100;let J,S,P;if(T===0)J=S=P=B;else{const M=(Z,U,W)=>(W<0&&(W+=1),W>1&&(W-=1),W<.16666666666666666?Z+(U-Z)*6*W:W<.5?U:W<.6666666666666666?Z+(U-Z)*(.6666666666666666-W)*6:Z),$=B<.5?B*(1+T):B+T-B*T,I=2*B-$;J=M(I,$,N+1/3),S=M(I,$,N),P=M(I,$,N-1/3)}return{r:Math.round(J*255),g:Math.round(S*255),b:Math.round(P*255)}},L=N=>{const T=N.replace(/#/,"").match(/.{1,2}/g);return{r:parseInt(T[0],16),g:parseInt(T[1],16),b:parseInt(T[2],16)}},R=(N,T,B)=>{N/=255,T/=255,B/=255;const J=Math.max(N,T,B),S=Math.min(N,T,B);let P,M,$=(J+S)/2;if(J===S)P=M=0;else{const I=J-S;switch(M=$>.5?I/(2-J-S):I/(J+S),J){case N:P=(T-B)/I+(Tlt.dismiss()}})}function Y(){navigator.clipboard.writeText(C),lt.success("Copied HEX value to clipboard",{action:{label:"Close",onClick:()=>lt.dismiss()}})}function F(){navigator.clipboard.writeText(`${o}°, ${i}%, ${u}%`),lt.success("Copied HSL value to clipboard",{action:{label:"Close",onClick:()=>lt.dismiss()}})}const ee=N=>{l(N);const T=k(N,i,u);m(T.r),w(T.g),v(T.b),d(c(T.r,T.g,T.b))},V=N=>{a(N);const T=k(o,N,u);m(T.r),w(T.g),v(T.b),d(c(T.r,T.g,T.b))},re=N=>{s(N);const T=k(o,i,N);m(T.r),w(T.g),v(T.b),d(c(T.r,T.g,T.b))};return n?A.jsxs("div",{className:"flex flex-col items-center justify-center p-4 h-screen bg-gray-100 dark:bg-gray-950 ",children:[A.jsx(Of,{}),A.jsx("div",{className:"max-w-3xl w-full bg-white dark:bg-gray-900 rounded-lg shadow-lg overflow-hidden",style:{minHeight:"300px",minWidth:"700px"},children:A.jsxs("div",{className:"grid grid-cols-2 gap-6 p-6",children:[A.jsxs("div",{className:"relative flex justify-center items-center h-full",children:[A.jsx("img",{alt:"Uploaded Image",className:"w-full h-full object-cover rounded-lg",height:500,src:"/placeholder.svg",style:{aspectRatio:"500/500",objectFit:"cover"},width:500}),A.jsx("div",{className:"absolute inset-0 flex items-center justify-center border-black",style:{userSelect:"none",overflow:"hidden",scrollbarWidth:"none"},children:A.jsx("div",{className:"max-w-full max-h-full relative bg-black dark:bg-white rounded-lg border-black shadow-lg object-cover content-center overflow-auto",style:{aspectRatio:"500/500",objectFit:"cover",scrollbarWidth:"none"},children:e!==null?A.jsx("img",{src:e,onClick:x,alt:"Uploaded Image",className:"object-contain place-self-center"}):A.jsx(Dg,{className:"w-6 h-6 text-gray-500 dark:text-gray-400"})})})]}),A.jsxs("div",{className:"flex flex-col gap-6",children:[A.jsxs("div",{className:"flex items-center gap-4",children:[A.jsx("div",{className:"w-16 h-16 rounded-full border-4 border-gray-200 dark:border-gray-800 flex items-center justify-center",children:A.jsx("div",{className:"w-10 h-10 rounded-full",style:{backgroundColor:c(g,h,y)}})}),A.jsxs("div",{className:"flex-1 grid gap-1",children:[A.jsx("div",{className:"w-20 text-sm font-medium text-gray-500 dark:text-gray-400",children:"HEX"}),A.jsxs("div",{className:"flex items-center gap-4",children:[A.jsx("div",{className:"text-lg font-semibold text-gray-900 dark:text-gray-50",children:C}),A.jsx(ll,{variant:"ghost",onClick:Y,className:"max-h-12 max-w-12",children:A.jsx(Ag,{className:"w-4 h-4 text-gray-500 dark:text-gray-400"})})]})]})]}),A.jsxs("div",{className:"grid gap-4",children:[A.jsxs("div",{className:"flex items-center gap-4",children:[A.jsx("div",{className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"Hue"}),A.jsx(al,{className:"flex-1",value:[o],max:360,step:1,onValueChange:N=>ee(N)}),A.jsxs("div",{className:"w-16 text-right text-sm font-medium text-gray-900 dark:text-gray-50",children:[o,"°"]})]}),A.jsxs("div",{className:"flex items-center gap-4",children:[A.jsx("div",{className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"Saturation"}),A.jsx(al,{className:"flex-1",value:[i],max:100,step:1,onValueChange:N=>V(N)}),A.jsxs("div",{className:"w-16 text-right text-sm font-medium text-gray-900 dark:text-gray-50",children:[i,"%"]})]}),A.jsxs("div",{className:"flex items-center gap-4",children:[A.jsx("div",{className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"Brightness"}),A.jsx(al,{className:"flex-1",value:[u],max:100,step:1,onValueChange:N=>re(N)}),A.jsxs("div",{className:"w-16 text-right text-sm font-medium text-gray-900 dark:text-gray-50",children:[u,"%"]})]})]}),A.jsxs("div",{className:"grid gap-2",children:[A.jsxs("div",{className:"flex items-center gap-4",children:[A.jsx(ll,{variant:"ghost",onClick:D,className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"RGB"}),A.jsxs("div",{className:"flex-1 text-lg font-semibold text-gray-900 dark:text-gray-50",children:[g,", ",h,", ",y]})]}),A.jsxs("div",{className:"flex items-center gap-4",children:[A.jsx(ll,{variant:"ghost",onClick:F,className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"HSL"}),A.jsxs("div",{className:"flex-1 text-lg font-semibold text-gray-900 dark:text-gray-50",children:[o,"°, ",i,"%, ",u,"%"]})]})]})]})]})})]}):A.jsx(tg,{setImage:t,setImageUploaded:r,image:e,imageUploaded:n})}function Dg(e){return A.jsxs("svg",{...e,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",children:[A.jsx("path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z"}),A.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}function Ag(e){return A.jsxs("svg",{...e,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 115.77 122.88",style:{enableBackground:"new 0 0 115.77 122.88"},xmlSpace:"preserve",children:[A.jsx("style",{type:"text/css",children:".st0{fill-rule:evenodd;clip-rule:evenodd;}"}),A.jsx("g",{children:A.jsx("path",{className:"st0",d:"M89.62,13.96v7.73h12.19h0.01v0.02c3.85,0.01,7.34,1.57,9.86,4.1c2.5,2.51,4.06,5.98,4.07,9.82h0.02v0.02 v73.27v0.01h-0.02c-0.01,3.84-1.57,7.33-4.1,9.86c-2.51,2.5-5.98,4.06-9.82,4.07v0.02h-0.02h-61.7H40.1v-0.02 c-3.84-0.01-7.34-1.57-9.86-4.1c-2.5-2.51-4.06-5.98-4.07-9.82h-0.02v-0.02V92.51H13.96h-0.01v-0.02c-3.84-0.01-7.34-1.57-9.86-4.1 c-2.5-2.51-4.06-5.98-4.07-9.82H0v-0.02V13.96v-0.01h0.02c0.01-3.85,1.58-7.34,4.1-9.86c2.51-2.5,5.98-4.06,9.82-4.07V0h0.02h61.7 h0.01v0.02c3.85,0.01,7.34,1.57,9.86,4.1c2.5,2.51,4.06,5.98,4.07,9.82h0.02V13.96L89.62,13.96z M79.04,21.69v-7.73v-0.02h0.02 c0-0.91-0.39-1.75-1.01-2.37c-0.61-0.61-1.46-1-2.37-1v0.02h-0.01h-61.7h-0.02v-0.02c-0.91,0-1.75,0.39-2.37,1.01 c-0.61,0.61-1,1.46-1,2.37h0.02v0.01v64.59v0.02h-0.02c0,0.91,0.39,1.75,1.01,2.37c0.61,0.61,1.46,1,2.37,1v-0.02h0.01h12.19V35.65 v-0.01h0.02c0.01-3.85,1.58-7.34,4.1-9.86c2.51-2.5,5.98-4.06,9.82-4.07v-0.02h0.02H79.04L79.04,21.69z M105.18,108.92V35.65v-0.02 h0.02c0-0.91-0.39-1.75-1.01-2.37c-0.61-0.61-1.46-1-2.37-1v0.02h-0.01h-61.7h-0.02v-0.02c-0.91,0-1.75,0.39-2.37,1.01 c-0.61,0.61-1,1.46-1,2.37h0.02v0.01v73.27v0.02h-0.02c0,0.91,0.39,1.75,1.01,2.37c0.61,0.61,1.46,1,2.37,1v-0.02h0.01h61.7h0.02 v0.02c0.91,0,1.75-0.39,2.37-1.01c0.61-0.61,1-1.46,1-2.37h-0.02V108.92L105.18,108.92z"})})]})}function Og(){return A.jsx("div",{className:"flex min-h-[100dvh] flex-col items-center justify-center bg-background px-4 py-12 sm:px-6 lg:px-8",children:A.jsxs("div",{className:"mx-auto max-w-md text-center",children:[A.jsx(jg,{className:"mx-auto h-12 w-12 text-primary"}),A.jsx("h1",{className:"mt-4 text-3xl font-bold tracking-tight text-foreground sm:text-4xl",children:"Sorry, this website is only available for desktop"}),A.jsx("p",{className:"mt-4 text-muted-foreground",children:"We apologize for the inconvenience, but our website is currently optimized for desktop devices only. Please try accessing this site from a computer or laptop."})]})})}function jg(e){return A.jsxs("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"blue",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[A.jsx("rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2"}),A.jsx("path",{d:"M12 18h.01"})]})}const Fg=()=>{const e=window.navigator.userAgent.toLowerCase(),t=/mobile|android|iphone|ipad|tablet|touch|samsung|fridge/i.test(e),n=window.innerWidth<=1024;return!t&&!n};function Ug(){const[e,t]=z.useState(null);return z.useEffect(()=>{t(Fg())},[]),e===!0?A.jsx(Ig,{}):A.jsx(Og,{})}Mi.createRoot(document.getElementById("root")).render(A.jsx(z.StrictMode,{children:A.jsx(Ug,{})})); diff --git a/assets/index-DTMZBQHQ.css b/assets/index-DTMZBQHQ.css deleted file mode 100644 index 68c23f4..0000000 --- a/assets/index-DTMZBQHQ.css +++ /dev/null @@ -1 +0,0 @@ -*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background: 0 0% 100%;--foreground: 222.2 84% 4.9%;--card: 0 0% 100%;--card-foreground: 222.2 84% 4.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 84% 4.9%;--primary: 222.2 47.4% 11.2%;--primary-foreground: 210 40% 98%;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 210 40% 98%;--border: 214.3 31.8% 91.4%;--input: 214.3 31.8% 91.4%;--ring: 222.2 84% 4.9%;--radius: .5rem}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}*,:before,: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 / .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: }::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 / .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: }.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.mx-auto{margin-left:auto;margin-right:auto}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.aspect-video{aspect-ratio:16 / 9}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-9{height:2.25rem}.h-full{height:100%}.h-screen{height:100vh}.max-h-12{max-height:3rem}.max-h-full{max-height:100%}.min-h-\[100dvh\]{min-height:100dvh}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-20{width:5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-full{width:100%}.max-w-12{max-width:3rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-full{max-width:100%}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.grow{flex-grow:1}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.content-center{align-content:center}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.place-self-center{place-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-input{border-color:hsl(var(--input))}.border-primary{border-color:hsl(var(--primary))}.bg-background{background-color:hsl(var(--background))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-primary{background-color:hsl(var(--primary))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.text-center{text-align:center}.text-right{text-align:right}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.tracking-tight{letter-spacing:-.025em}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.underline-offset-4{text-underline-offset:4px}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(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)}.outline{outline-style:solid}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}@keyframes enter{0%{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))}}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:underline:hover{text-decoration-line:underline}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.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)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(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)}.dark\:border-gray-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.dark\:bg-gray-950:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}.dark\:bg-white:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.dark\:text-gray-50:is(.dark *){--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}}@media (min-width: 1024px){.lg\:px-8{padding-left:2rem;padding-right:2rem}} diff --git a/assets/index-DjxIFtTZ.js b/assets/index-DjxIFtTZ.js new file mode 100644 index 0000000..96e9aac --- /dev/null +++ b/assets/index-DjxIFtTZ.js @@ -0,0 +1,46 @@ +function ch(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Ad(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Od={exports:{}},dl={},$d={exports:{}},ee={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var jo=Symbol.for("react.element"),dh=Symbol.for("react.portal"),fh=Symbol.for("react.fragment"),ph=Symbol.for("react.strict_mode"),mh=Symbol.for("react.profiler"),hh=Symbol.for("react.provider"),gh=Symbol.for("react.context"),vh=Symbol.for("react.forward_ref"),yh=Symbol.for("react.suspense"),wh=Symbol.for("react.memo"),xh=Symbol.for("react.lazy"),Xu=Symbol.iterator;function Sh(e){return e===null||typeof e!="object"?null:(e=Xu&&e[Xu]||e["@@iterator"],typeof e=="function"?e:null)}var Ld={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Md=Object.assign,Dd={};function Ir(e,t,n){this.props=e,this.context=t,this.refs=Dd,this.updater=n||Ld}Ir.prototype.isReactComponent={};Ir.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")};Ir.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function zd(){}zd.prototype=Ir.prototype;function Ra(e,t,n){this.props=e,this.context=t,this.refs=Dd,this.updater=n||Ld}var _a=Ra.prototype=new zd;_a.constructor=Ra;Md(_a,Ir.prototype);_a.isPureReactComponent=!0;var Zu=Array.isArray,Id=Object.prototype.hasOwnProperty,Aa={current:null},jd={key:!0,ref:!0,__self:!0,__source:!0};function Fd(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)Id.call(t,r)&&!jd.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1>>1,z=b[L];if(0>>1;Lo(G,$))Xo(we,G)?(b[L]=we,b[X]=$,L=X):(b[L]=G,b[W]=$,L=W);else if(Xo(we,$))b[L]=we,b[X]=$,L=X;else break e}}return _}function o(b,_){var $=b.sortIndex-_.sortIndex;return $!==0?$:b.id-_.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var a=[],u=[],f=1,c=null,p=3,v=!1,y=!1,w=!1,E=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(b){for(var _=n(u);_!==null;){if(_.callback===null)r(u);else if(_.startTime<=b)r(u),_.sortIndex=_.expirationTime,t(a,_);else break;_=n(u)}}function S(b){if(w=!1,g(b),!y)if(n(a)!==null)y=!0,U(C);else{var _=n(u);_!==null&&j(S,_.startTime-b)}}function C(b,_){y=!1,w&&(w=!1,m(A),A=-1),v=!0;var $=p;try{for(g(_),c=n(a);c!==null&&(!(c.expirationTime>_)||b&&!Y());){var L=c.callback;if(typeof L=="function"){c.callback=null,p=c.priorityLevel;var z=L(c.expirationTime<=_);_=e.unstable_now(),typeof z=="function"?c.callback=z:c===n(a)&&r(a),g(_)}else r(a);c=n(a)}if(c!==null)var J=!0;else{var W=n(u);W!==null&&j(S,W.startTime-_),J=!1}return J}finally{c=null,p=$,v=!1}}var T=!1,N=null,A=-1,V=5,D=-1;function Y(){return!(e.unstable_now()-Db||125L?(b.sortIndex=$,t(u,b),n(a)===null&&b===n(u)&&(w?(m(A),A=-1):w=!0,j(S,$-L))):(b.sortIndex=z,t(a,b),y||v||(y=!0,U(C))),b},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function(b){var _=p;return function(){var $=p;p=_;try{return b.apply(this,arguments)}finally{p=$}}}})(Wd);Vd.exports=Wd;var $h=Vd.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Lh=h,rt=$h;function O(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xs=Object.prototype.hasOwnProperty,Mh=/^[: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]*$/,qu={},ec={};function Dh(e){return xs.call(ec,e)?!0:xs.call(qu,e)?!1:Mh.test(e)?ec[e]=!0:(qu[e]=!0,!1)}function zh(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?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Ih(e,t,n,r){if(t===null||typeof t>"u"||zh(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Fe(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var _e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){_e[e]=new Fe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];_e[t]=new Fe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){_e[e]=new Fe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_e[e]=new Fe(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){_e[e]=new Fe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){_e[e]=new Fe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){_e[e]=new Fe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){_e[e]=new Fe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){_e[e]=new Fe(e,5,!1,e.toLowerCase(),null,!1,!1)});var $a=/[\-:]([a-z])/g;function La(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($a,La);_e[t]=new Fe(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($a,La);_e[t]=new Fe(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($a,La);_e[t]=new Fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){_e[e]=new Fe(e,1,!1,e.toLowerCase(),null,!1,!1)});_e.xlinkHref=new Fe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){_e[e]=new Fe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ma(e,t,n,r){var o=_e.hasOwnProperty(t)?_e[t]:null;(o!==null?o.type!==0:r||!(2s||o[l]!==i[s]){var a=` +`+o[l].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=l&&0<=s);break}}}finally{Fl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?io(e):""}function jh(e){switch(e.tag){case 5:return io(e.type);case 16:return io("Lazy");case 13:return io("Suspense");case 19:return io("SuspenseList");case 0:case 2:case 15:return e=Bl(e.type,!1),e;case 11:return e=Bl(e.type.render,!1),e;case 1:return e=Bl(e.type,!0),e;default:return""}}function ks(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 cr:return"Fragment";case ur:return"Portal";case Ss:return"Profiler";case Da:return"StrictMode";case Es:return"Suspense";case Cs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Gd:return(e.displayName||"Context")+".Consumer";case Kd:return(e._context.displayName||"Context")+".Provider";case za:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ia:return t=e.displayName||null,t!==null?t:ks(e.type)||"Memo";case gn:t=e._payload,e=e._init;try{return ks(e(t))}catch{}}return null}function Fh(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ks(t);case 8:return t===Da?"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 _n(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Xd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Bh(e){var t=Xd(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Jo(e){e._valueTracker||(e._valueTracker=Bh(e))}function Zd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Xd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function zi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ns(e,t){var n=t.checked;return pe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function nc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=_n(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Jd(e,t){t=t.checked,t!=null&&Ma(e,"checked",t,!1)}function bs(e,t){Jd(e,t);var n=_n(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")?Ts(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ts(e,t.type,_n(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function rc(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 Ts(e,t,n){(t!=="number"||zi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var lo=Array.isArray;function Er(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=qo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function xo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var uo={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},Uh=["Webkit","ms","Moz","O"];Object.keys(uo).forEach(function(e){Uh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),uo[t]=uo[e]})});function nf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||uo.hasOwnProperty(e)&&uo[e]?(""+t).trim():t+"px"}function rf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=nf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Hh=pe({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 _s(e,t){if(t){if(Hh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(O(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(t.style!=null&&typeof t.style!="object")throw Error(O(62))}}function As(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 Os=null;function ja(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var $s=null,Cr=null,kr=null;function lc(e){if(e=Uo(e)){if(typeof $s!="function")throw Error(O(280));var t=e.stateNode;t&&(t=gl(t),$s(e.stateNode,e.type,t))}}function of(e){Cr?kr?kr.push(e):kr=[e]:Cr=e}function lf(){if(Cr){var e=Cr,t=kr;if(kr=Cr=null,lc(e),t)for(e=0;e>>=0,e===0?32:31-(eg(e)/tg|0)|0}var ei=64,ti=4194304;function so(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 Bi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var s=l&~o;s!==0?r=so(s):(i&=l,i!==0&&(r=so(i)))}else l=n&~o,l!==0?r=so(l):i!==0&&(r=so(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))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 Fo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Tt(t),e[t]=n}function ig(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=fo),hc=" ",gc=!1;function bf(e,t){switch(e){case"keyup":return $g.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Tf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var dr=!1;function Mg(e,t){switch(e){case"compositionend":return Tf(t);case"keypress":return t.which!==32?null:(gc=!0,hc);case"textInput":return e=t.data,e===hc&&gc?null:e;default:return null}}function Dg(e,t){if(dr)return e==="compositionend"||!Ka&&bf(e,t)?(e=kf(),Ci=Va=xn=null,dr=!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}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=xc(n)}}function Af(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Af(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Of(){for(var e=window,t=zi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=zi(e.document)}return t}function Ga(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 Wg(e){var t=Of(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Af(n.ownerDocument.documentElement,n)){if(r!==null&&Ga(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 o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Sc(n,i);var l=Sc(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.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,fr=null,js=null,mo=null,Fs=!1;function Ec(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Fs||fr==null||fr!==zi(r)||(r=fr,"selectionStart"in r&&Ga(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}),mo&&bo(mo,r)||(mo=r,r=Vi(js,"onSelect"),0hr||(e.current=Ys[hr],Ys[hr]=null,hr--)}function ie(e,t){hr++,Ys[hr]=e.current,e.current=t}var An={},Le=zn(An),We=zn(!1),Gn=An;function _r(e,t){var n=e.type.contextTypes;if(!n)return An;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ye(e){return e=e.childContextTypes,e!=null}function Yi(){ae(We),ae(Le)}function Rc(e,t,n){if(Le.current!==An)throw Error(O(168));ie(Le,t),ie(We,n)}function Bf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(O(108,Fh(e)||"Unknown",o));return pe({},n,r)}function Ki(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||An,Gn=Le.current,ie(Le,e),ie(We,We.current),!0}function _c(e,t,n){var r=e.stateNode;if(!r)throw Error(O(169));n?(e=Bf(e,t,Gn),r.__reactInternalMemoizedMergedChildContext=e,ae(We),ae(Le),ie(Le,e)):ae(We),ie(We,n)}var Gt=null,vl=!1,ts=!1;function Uf(e){Gt===null?Gt=[e]:Gt.push(e)}function r0(e){vl=!0,Uf(e)}function In(){if(!ts&&Gt!==null){ts=!0;var e=0,t=re;try{var n=Gt;for(re=1;e>=l,o-=l,Xt=1<<32-Tt(t)+o|n<A?(V=N,N=null):V=N.sibling;var D=p(m,N,g[A],S);if(D===null){N===null&&(N=V);break}e&&N&&D.alternate===null&&t(m,N),d=i(D,d,A),T===null?C=D:T.sibling=D,T=D,N=V}if(A===g.length)return n(m,N),ue&&jn(m,A),C;if(N===null){for(;AA?(V=N,N=null):V=N.sibling;var Y=p(m,N,D.value,S);if(Y===null){N===null&&(N=V);break}e&&N&&Y.alternate===null&&t(m,N),d=i(Y,d,A),T===null?C=Y:T.sibling=Y,T=Y,N=V}if(D.done)return n(m,N),ue&&jn(m,A),C;if(N===null){for(;!D.done;A++,D=g.next())D=c(m,D.value,S),D!==null&&(d=i(D,d,A),T===null?C=D:T.sibling=D,T=D);return ue&&jn(m,A),C}for(N=r(m,N);!D.done;A++,D=g.next())D=v(N,m,A,D.value,S),D!==null&&(e&&D.alternate!==null&&N.delete(D.key===null?A:D.key),d=i(D,d,A),T===null?C=D:T.sibling=D,T=D);return e&&N.forEach(function(H){return t(m,H)}),ue&&jn(m,A),C}function E(m,d,g,S){if(typeof g=="object"&&g!==null&&g.type===cr&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Zo:e:{for(var C=g.key,T=d;T!==null;){if(T.key===C){if(C=g.type,C===cr){if(T.tag===7){n(m,T.sibling),d=o(T,g.props.children),d.return=m,m=d;break e}}else if(T.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===gn&&$c(C)===T.type){n(m,T.sibling),d=o(T,g.props),d.ref=Zr(m,T,g),d.return=m,m=d;break e}n(m,T);break}else t(m,T);T=T.sibling}g.type===cr?(d=Kn(g.props.children,m.mode,S,g.key),d.return=m,m=d):(S=Ai(g.type,g.key,g.props,null,m.mode,S),S.ref=Zr(m,d,g),S.return=m,m=S)}return l(m);case ur:e:{for(T=g.key;d!==null;){if(d.key===T)if(d.tag===4&&d.stateNode.containerInfo===g.containerInfo&&d.stateNode.implementation===g.implementation){n(m,d.sibling),d=o(d,g.children||[]),d.return=m,m=d;break e}else{n(m,d);break}else t(m,d);d=d.sibling}d=us(g,m.mode,S),d.return=m,m=d}return l(m);case gn:return T=g._init,E(m,d,T(g._payload),S)}if(lo(g))return y(m,d,g,S);if(Yr(g))return w(m,d,g,S);ai(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,d!==null&&d.tag===6?(n(m,d.sibling),d=o(d,g),d.return=m,m=d):(n(m,d),d=as(g,m.mode,S),d.return=m,m=d),l(m)):n(m,d)}return E}var Or=Yf(!0),Kf=Yf(!1),Xi=zn(null),Zi=null,yr=null,Ja=null;function qa(){Ja=yr=Zi=null}function eu(e){var t=Xi.current;ae(Xi),e._currentValue=t}function Qs(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function br(e,t){Zi=e,Ja=yr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ve=!0),e.firstContext=null)}function gt(e){var t=e._currentValue;if(Ja!==e)if(e={context:e,memoizedValue:t,next:null},yr===null){if(Zi===null)throw Error(O(308));yr=e,Zi.dependencies={lanes:0,firstContext:e}}else yr=yr.next=e;return t}var Hn=null;function tu(e){Hn===null?Hn=[e]:Hn.push(e)}function Gf(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,tu(t)):(n.next=o.next,o.next=n),t.interleaved=n,tn(e,r)}function tn(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 vn=!1;function nu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Qf(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 Jt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function bn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,te&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,tn(e,n)}return o=r.interleaved,o===null?(t.next=t,tu(r)):(t.next=o.next,o.next=t),r.interleaved=t,tn(e,n)}function Ni(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ba(e,n)}}function Lc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,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 Ji(e,t,n,r){var o=e.updateQueue;vn=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var a=s,u=a.next;a.next=null,l===null?i=u:l.next=u,l=a;var f=e.alternate;f!==null&&(f=f.updateQueue,s=f.lastBaseUpdate,s!==l&&(s===null?f.firstBaseUpdate=u:s.next=u,f.lastBaseUpdate=a))}if(i!==null){var c=o.baseState;l=0,f=u=a=null,s=i;do{var p=s.lane,v=s.eventTime;if((r&p)===p){f!==null&&(f=f.next={eventTime:v,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var y=e,w=s;switch(p=t,v=n,w.tag){case 1:if(y=w.payload,typeof y=="function"){c=y.call(v,c,p);break e}c=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=w.payload,p=typeof y=="function"?y.call(v,c,p):y,p==null)break e;c=pe({},c,p);break e;case 2:vn=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[s]:p.push(s))}else v={eventTime:v,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},f===null?(u=f=v,a=c):f=f.next=v,l|=p;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;p=s,s=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(f===null&&(a=c),o.baseState=a,o.firstBaseUpdate=u,o.lastBaseUpdate=f,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Zn|=l,e.lanes=l,e.memoizedState=c}}function Mc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=rs.transition;rs.transition={};try{e(!1),t()}finally{re=n,rs.transition=r}}function fp(){return vt().memoizedState}function s0(e,t,n){var r=Pn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},pp(e))mp(t,n);else if(n=Gf(e,t,n,r),n!==null){var o=ze();Pt(n,e,r,o),hp(n,t,r)}}function a0(e,t,n){var r=Pn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(pp(e))mp(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,s=i(l,n);if(o.hasEagerState=!0,o.eagerState=s,Rt(s,l)){var a=t.interleaved;a===null?(o.next=o,tu(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=Gf(e,t,o,r),n!==null&&(o=ze(),Pt(n,e,r,o),hp(n,t,r))}}function pp(e){var t=e.alternate;return e===fe||t!==null&&t===fe}function mp(e,t){ho=el=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hp(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ba(e,n)}}var tl={readContext:gt,useCallback:Ae,useContext:Ae,useEffect:Ae,useImperativeHandle:Ae,useInsertionEffect:Ae,useLayoutEffect:Ae,useMemo:Ae,useReducer:Ae,useRef:Ae,useState:Ae,useDebugValue:Ae,useDeferredValue:Ae,useTransition:Ae,useMutableSource:Ae,useSyncExternalStore:Ae,useId:Ae,unstable_isNewReconciler:!1},u0={readContext:gt,useCallback:function(e,t){return Lt().memoizedState=[e,t===void 0?null:t],e},useContext:gt,useEffect:zc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ti(4194308,4,sp.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ti(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ti(4,2,e,t)},useMemo:function(e,t){var n=Lt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Lt();return t=n!==void 0?n(t):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=s0.bind(null,fe,e),[r.memoizedState,e]},useRef:function(e){var t=Lt();return e={current:e},t.memoizedState=e},useState:Dc,useDebugValue:cu,useDeferredValue:function(e){return Lt().memoizedState=e},useTransition:function(){var e=Dc(!1),t=e[0];return e=l0.bind(null,e[1]),Lt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=fe,o=Lt();if(ue){if(n===void 0)throw Error(O(407));n=n()}else{if(n=t(),Ne===null)throw Error(O(349));Xn&30||qf(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,zc(tp.bind(null,r,i,e),[e]),r.flags|=2048,Lo(9,ep.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Lt(),t=Ne.identifierPrefix;if(ue){var n=Zt,r=Xt;n=(r&~(1<<32-Tt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Oo++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[Mt]=t,e[Ro]=r,Np(e,t,!1,!1),t.stateNode=e;e:{switch(l=As(n,r),n){case"dialog":se("cancel",e),se("close",e),o=r;break;case"iframe":case"object":case"embed":se("load",e),o=r;break;case"video":case"audio":for(o=0;oMr&&(t.flags|=128,r=!0,Jr(i,!1),t.lanes=4194304)}else{if(!r)if(e=qi(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Jr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!ue)return Oe(t),null}else 2*ye()-i.renderingStartTime>Mr&&n!==1073741824&&(t.flags|=128,r=!0,Jr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ye(),t.sibling=null,n=de.current,ie(de,r?n&1|2:n&1),t):(Oe(t),null);case 22:case 23:return gu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Je&1073741824&&(Oe(t),t.subtreeFlags&6&&(t.flags|=8192)):Oe(t),null;case 24:return null;case 25:return null}throw Error(O(156,t.tag))}function v0(e,t){switch(Xa(t),t.tag){case 1:return Ye(t.type)&&Yi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return $r(),ae(We),ae(Le),iu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ou(t),null;case 13:if(ae(de),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));Ar()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ae(de),null;case 4:return $r(),null;case 10:return eu(t.type._context),null;case 22:case 23:return gu(),null;case 24:return null;default:return null}}var ci=!1,$e=!1,y0=typeof WeakSet=="function"?WeakSet:Set,B=null;function wr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){me(e,t,r)}else n.current=null}function oa(e,t,n){try{n()}catch(r){me(e,t,r)}}var Gc=!1;function w0(e,t){if(Bs=Ui,e=Of(),Ga(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,s=-1,a=-1,u=0,f=0,c=e,p=null;t:for(;;){for(var v;c!==n||o!==0&&c.nodeType!==3||(s=l+o),c!==i||r!==0&&c.nodeType!==3||(a=l+r),c.nodeType===3&&(l+=c.nodeValue.length),(v=c.firstChild)!==null;)p=c,c=v;for(;;){if(c===e)break t;if(p===n&&++u===o&&(s=l),p===i&&++f===r&&(a=l),(v=c.nextSibling)!==null)break;c=p,p=c.parentNode}c=v}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Us={focusedElem:e,selectionRange:n},Ui=!1,B=t;B!==null;)if(t=B,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,B=e;else for(;B!==null;){t=B;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var w=y.memoizedProps,E=y.memoizedState,m=t.stateNode,d=m.getSnapshotBeforeUpdate(t.elementType===t.type?w:kt(t.type,w),E);m.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(O(163))}}catch(S){me(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,B=e;break}B=t.return}return y=Gc,Gc=!1,y}function go(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&oa(t,n,i)}o=o.next}while(o!==r)}}function xl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,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 ia(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 Pp(e){var t=e.alternate;t!==null&&(e.alternate=null,Pp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Mt],delete t[Ro],delete t[Ws],delete t[t0],delete t[n0])),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 Rp(e){return e.tag===5||e.tag===3||e.tag===4}function Qc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Rp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function la(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=Wi));else if(r!==4&&(e=e.child,e!==null))for(la(e,t,n),e=e.sibling;e!==null;)la(e,t,n),e=e.sibling}function sa(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(sa(e,t,n),e=e.sibling;e!==null;)sa(e,t,n),e=e.sibling}var Pe=null,Nt=!1;function pn(e,t,n){for(n=n.child;n!==null;)_p(e,t,n),n=n.sibling}function _p(e,t,n){if(zt&&typeof zt.onCommitFiberUnmount=="function")try{zt.onCommitFiberUnmount(fl,n)}catch{}switch(n.tag){case 5:$e||wr(n,t);case 6:var r=Pe,o=Nt;Pe=null,pn(e,t,n),Pe=r,Nt=o,Pe!==null&&(Nt?(e=Pe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Pe.removeChild(n.stateNode));break;case 18:Pe!==null&&(Nt?(e=Pe,n=n.stateNode,e.nodeType===8?es(e.parentNode,n):e.nodeType===1&&es(e,n),ko(e)):es(Pe,n.stateNode));break;case 4:r=Pe,o=Nt,Pe=n.stateNode.containerInfo,Nt=!0,pn(e,t,n),Pe=r,Nt=o;break;case 0:case 11:case 14:case 15:if(!$e&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&oa(n,t,l),o=o.next}while(o!==r)}pn(e,t,n);break;case 1:if(!$e&&(wr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){me(n,t,s)}pn(e,t,n);break;case 21:pn(e,t,n);break;case 22:n.mode&1?($e=(r=$e)||n.memoizedState!==null,pn(e,t,n),$e=r):pn(e,t,n);break;default:pn(e,t,n)}}function Xc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new y0),t.forEach(function(r){var o=P0.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function St(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ye()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*S0(r/1960))-r,10e?16:e,Sn===null)var r=!1;else{if(e=Sn,Sn=null,ol=0,te&6)throw Error(O(331));var o=te;for(te|=4,B=e.current;B!==null;){var i=B,l=i.child;if(B.flags&16){var s=i.deletions;if(s!==null){for(var a=0;aye()-mu?Yn(e,0):pu|=n),Ke(e,t)}function Ip(e,t){t===0&&(e.mode&1?(t=ti,ti<<=1,!(ti&130023424)&&(ti=4194304)):t=1);var n=ze();e=tn(e,t),e!==null&&(Fo(e,t,n),Ke(e,n))}function T0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ip(e,n)}function P0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(O(314))}r!==null&&r.delete(t),Ip(e,n)}var jp;jp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||We.current)Ve=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ve=!1,h0(e,t,n);Ve=!!(e.flags&131072)}else Ve=!1,ue&&t.flags&1048576&&Hf(t,Qi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Pi(e,t),e=t.pendingProps;var o=_r(t,Le.current);br(t,n),o=su(null,t,r,e,o,n);var i=au();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ye(r)?(i=!0,Ki(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,nu(t),o.updater=wl,t.stateNode=o,o._reactInternals=t,Zs(t,r,e,n),t=ea(null,t,r,!0,i,n)):(t.tag=0,ue&&i&&Qa(t),De(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Pi(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=_0(r),e=kt(r,e),o){case 0:t=qs(null,t,r,e,n);break e;case 1:t=Wc(null,t,r,e,n);break e;case 11:t=Hc(null,t,r,e,n);break e;case 14:t=Vc(null,t,r,kt(r.type,e),n);break e}throw Error(O(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:kt(r,o),qs(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:kt(r,o),Wc(e,t,r,o,n);case 3:e:{if(Ep(t),e===null)throw Error(O(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Qf(e,t),Ji(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Lr(Error(O(423)),t),t=Yc(e,t,r,n,o);break e}else if(r!==o){o=Lr(Error(O(424)),t),t=Yc(e,t,r,n,o);break e}else for(et=Nn(t.stateNode.containerInfo.firstChild),tt=t,ue=!0,bt=null,n=Kf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ar(),r===o){t=nn(e,t,n);break e}De(e,t,r,n)}t=t.child}return t;case 5:return Xf(t),e===null&&Gs(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,Hs(r,o)?l=null:i!==null&&Hs(r,i)&&(t.flags|=32),Sp(e,t),De(e,t,l,n),t.child;case 6:return e===null&&Gs(t),null;case 13:return Cp(e,t,n);case 4:return ru(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Or(t,null,r,n):De(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:kt(r,o),Hc(e,t,r,o,n);case 7:return De(e,t,t.pendingProps,n),t.child;case 8:return De(e,t,t.pendingProps.children,n),t.child;case 12:return De(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,ie(Xi,r._currentValue),r._currentValue=l,i!==null)if(Rt(i.value,l)){if(i.children===o.children&&!We.current){t=nn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){l=i.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Jt(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?a.next=a:(a.next=f.next,f.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Qs(i.return,n,t),s.lanes|=n;break}a=a.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(O(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),Qs(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}De(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,br(t,n),o=gt(o),r=r(o),t.flags|=1,De(e,t,r,n),t.child;case 14:return r=t.type,o=kt(r,t.pendingProps),o=kt(r.type,o),Vc(e,t,r,o,n);case 15:return wp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:kt(r,o),Pi(e,t),t.tag=1,Ye(r)?(e=!0,Ki(t)):e=!1,br(t,n),gp(t,r,o),Zs(t,r,o,n),ea(null,t,r,!0,e,n);case 19:return kp(e,t,n);case 22:return xp(e,t,n)}throw Error(O(156,t.tag))};function Fp(e,t){return pf(e,t)}function R0(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 mt(e,t,n,r){return new R0(e,t,n,r)}function yu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _0(e){if(typeof e=="function")return yu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===za)return 11;if(e===Ia)return 14}return 2}function Rn(e,t){var n=e.alternate;return n===null?(n=mt(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 Ai(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")yu(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case cr:return Kn(n.children,o,i,t);case Da:l=8,o|=8;break;case Ss:return e=mt(12,n,t,o|2),e.elementType=Ss,e.lanes=i,e;case Es:return e=mt(13,n,t,o),e.elementType=Es,e.lanes=i,e;case Cs:return e=mt(19,n,t,o),e.elementType=Cs,e.lanes=i,e;case Qd:return El(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Kd:l=10;break e;case Gd:l=9;break e;case za:l=11;break e;case Ia:l=14;break e;case gn:l=16,r=null;break e}throw Error(O(130,e==null?e:typeof e,""))}return t=mt(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Kn(e,t,n,r){return e=mt(7,e,r,t),e.lanes=n,e}function El(e,t,n,r){return e=mt(22,e,r,t),e.elementType=Qd,e.lanes=n,e.stateNode={isHidden:!1},e}function as(e,t,n){return e=mt(6,e,null,t),e.lanes=n,e}function us(e,t,n){return t=mt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function A0(e,t,n,r,o){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=Hl(0),this.expirationTimes=Hl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function wu(e,t,n,r,o,i,l,s,a){return e=new A0(e,t,n,s,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=mt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},nu(i),e}function O0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Vp)}catch(e){console.error(e)}}Vp(),Hd.exports=it;var Vo=Hd.exports;const z0=Ad(Vo);var od=Vo;ws.createRoot=od.createRoot,ws.hydrateRoot=od.hydrateRoot;function Ge(){return Ge=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(n=>I0(n,t))}function On(...e){return h.useCallback(Wp(...e),e)}const Do=h.forwardRef((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(F0);if(i){const l=i.props.children,s=o.map(a=>a===i?h.Children.count(l)>1?h.Children.only(null):h.isValidElement(l)?l.props.children:null:a);return h.createElement(fa,Ge({},r,{ref:t}),h.isValidElement(l)?h.cloneElement(l,void 0,s):null)}return h.createElement(fa,Ge({},r,{ref:t}),n)});Do.displayName="Slot";const fa=h.forwardRef((e,t)=>{const{children:n,...r}=e;return h.isValidElement(n)?h.cloneElement(n,{...B0(r,n.props),ref:t?Wp(t,n.ref):n.ref}):h.Children.count(n)>1?h.Children.only(null):null});fa.displayName="SlotClone";const j0=({children:e})=>h.createElement(h.Fragment,null,e);function F0(e){return h.isValidElement(e)&&e.type===j0}function B0(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Yp(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;ttypeof e=="boolean"?"".concat(e):e===0?"0":e,ld=U0,H0=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return ld(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,l=Object.keys(o).map(u=>{const f=n==null?void 0:n[u],c=i==null?void 0:i[u];if(f===null)return null;const p=id(f)||id(c);return o[u][p]}),s=n&&Object.entries(n).reduce((u,f)=>{let[c,p]=f;return p===void 0||(u[c]=p),u},{}),a=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,f)=>{let{class:c,className:p,...v}=f;return Object.entries(v).every(y=>{let[w,E]=y;return Array.isArray(E)?E.includes({...i,...s}[w]):{...i,...s}[w]===E})?[...u,c,p]:u},[]);return ld(e,l,a,n==null?void 0:n.class,n==null?void 0:n.className)};function Kp(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;ts(i)))==null?void 0:l.classGroupId}const sd=/^\[(.+)\]$/;function Y0(e){if(sd.test(e)){const t=sd.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function K0(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Q0(Object.entries(e.classGroups),n).forEach(([i,l])=>{pa(l,r,i,t)}),r}function pa(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:ad(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(G0(o)){pa(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,l])=>{pa(l,ad(t,i),n,r)})})}function ad(e,t){let n=e;return t.split(Cu).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function G0(e){return e.isThemeGetter}function Q0(e,t){return t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,s])=>[t+l,s])):i);return[n,o]}):e}function X0(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(i,l){n.set(i,l),t++,t>e&&(t=0,r=n,n=new Map)}return{get(i){let l=n.get(i);if(l!==void 0)return l;if((l=r.get(i))!==void 0)return o(i,l),l},set(i,l){n.has(i)?n.set(i,l):o(i,l)}}}const Qp="!";function Z0(e){const t=e.separator,n=t.length===1,r=t[0],o=t.length;return function(l){const s=[];let a=0,u=0,f;for(let w=0;wu?f-u:void 0;return{modifiers:s,hasImportantModifier:p,baseClassName:v,maybePostfixModifierPosition:y}}}function J0(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function q0(e){return{cache:X0(e.cacheSize),splitModifiers:Z0(e),...W0(e)}}const ev=/\s+/;function tv(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=new Set;return e.trim().split(ev).map(l=>{const{modifiers:s,hasImportantModifier:a,baseClassName:u,maybePostfixModifierPosition:f}=n(l);let c=r(f?u.substring(0,f):u),p=!!f;if(!c){if(!f)return{isTailwindClass:!1,originalClassName:l};if(c=r(u),!c)return{isTailwindClass:!1,originalClassName:l};p=!1}const v=J0(s).join(":");return{isTailwindClass:!0,modifierId:a?v+Qp:v,classGroupId:c,originalClassName:l,hasPostfixModifier:p}}).reverse().filter(l=>{if(!l.isTailwindClass)return!0;const{modifierId:s,classGroupId:a,hasPostfixModifier:u}=l,f=s+a;return i.has(f)?!1:(i.add(f),o(a,u).forEach(c=>i.add(s+c)),!0)}).reverse().map(l=>l.originalClassName).join(" ")}function nv(){let e=0,t,n,r="";for(;ec(f),e());return n=q0(u),r=n.cache.get,o=n.cache.set,i=s,s(a)}function s(a){const u=r(a);if(u)return u;const f=tv(a,n);return o(a,f),f}return function(){return i(nv.apply(null,arguments))}}function le(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const Zp=/^\[(?:([a-z-]+):)?(.+)\]$/i,ov=/^\d+\/\d+$/,iv=new Set(["px","full","screen"]),lv=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,sv=/\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$/,av=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,uv=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,cv=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Yt(e){return Wn(e)||iv.has(e)||ov.test(e)}function mn(e){return Br(e,"length",yv)}function Wn(e){return!!e&&!Number.isNaN(Number(e))}function pi(e){return Br(e,"number",Wn)}function eo(e){return!!e&&Number.isInteger(Number(e))}function dv(e){return e.endsWith("%")&&Wn(e.slice(0,-1))}function Z(e){return Zp.test(e)}function hn(e){return lv.test(e)}const fv=new Set(["length","size","percentage"]);function pv(e){return Br(e,fv,Jp)}function mv(e){return Br(e,"position",Jp)}const hv=new Set(["image","url"]);function gv(e){return Br(e,hv,xv)}function vv(e){return Br(e,"",wv)}function to(){return!0}function Br(e,t,n){const r=Zp.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function yv(e){return sv.test(e)&&!av.test(e)}function Jp(){return!1}function wv(e){return uv.test(e)}function xv(e){return cv.test(e)}function Sv(){const e=le("colors"),t=le("spacing"),n=le("blur"),r=le("brightness"),o=le("borderColor"),i=le("borderRadius"),l=le("borderSpacing"),s=le("borderWidth"),a=le("contrast"),u=le("grayscale"),f=le("hueRotate"),c=le("invert"),p=le("gap"),v=le("gradientColorStops"),y=le("gradientColorStopPositions"),w=le("inset"),E=le("margin"),m=le("opacity"),d=le("padding"),g=le("saturate"),S=le("scale"),C=le("sepia"),T=le("skew"),N=le("space"),A=le("translate"),V=()=>["auto","contain","none"],D=()=>["auto","hidden","clip","visible","scroll"],Y=()=>["auto",Z,t],H=()=>[Z,t],Q=()=>["",Yt,mn],P=()=>["auto",Wn,Z],R=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],j=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],b=()=>["start","end","center","between","around","evenly","stretch"],_=()=>["","0",Z],$=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[Wn,pi],z=()=>[Wn,Z];return{cacheSize:500,separator:":",theme:{colors:[to],spacing:[Yt,mn],blur:["none","",hn,Z],brightness:L(),borderColor:[e],borderRadius:["none","","full",hn,Z],borderSpacing:H(),borderWidth:Q(),contrast:L(),grayscale:_(),hueRotate:z(),invert:_(),gap:H(),gradientColorStops:[e],gradientColorStopPositions:[dv,mn],inset:Y(),margin:Y(),opacity:L(),padding:H(),saturate:L(),scale:L(),sepia:_(),skew:z(),space:H(),translate:H()},classGroups:{aspect:[{aspect:["auto","square","video",Z]}],container:["container"],columns:[{columns:[hn]}],"break-after":[{"break-after":$()}],"break-before":[{"break-before":$()}],"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:[...R(),Z]}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-y":[{"inset-y":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",eo,Z]}],basis:[{basis:Y()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Z]}],grow:[{grow:_()}],shrink:[{shrink:_()}],order:[{order:["first","last","none",eo,Z]}],"grid-cols":[{"grid-cols":[to]}],"col-start-end":[{col:["auto",{span:["full",eo,Z]},Z]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[to]}],"row-start-end":[{row:["auto",{span:[eo,Z]},Z]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Z]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Z]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...b()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...b(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...b(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[d]}],px:[{px:[d]}],py:[{py:[d]}],ps:[{ps:[d]}],pe:[{pe:[d]}],pt:[{pt:[d]}],pr:[{pr:[d]}],pb:[{pb:[d]}],pl:[{pl:[d]}],m:[{m:[E]}],mx:[{mx:[E]}],my:[{my:[E]}],ms:[{ms:[E]}],me:[{me:[E]}],mt:[{mt:[E]}],mr:[{mr:[E]}],mb:[{mb:[E]}],ml:[{ml:[E]}],"space-x":[{"space-x":[N]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[N]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Z,t]}],"min-w":[{"min-w":[Z,t,"min","max","fit"]}],"max-w":[{"max-w":[Z,t,"none","full","min","max","fit","prose",{screen:[hn]},hn]}],h:[{h:[Z,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Z,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Z,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Z,t,"auto","min","max","fit"]}],"font-size":[{text:["base",hn,mn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",pi]}],"font-family":[{font:[to]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Z]}],"line-clamp":[{"line-clamp":["none",Wn,pi]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Yt,Z]}],"list-image":[{"list-image":["none",Z]}],"list-style-type":[{list:["none","disc","decimal",Z]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Yt,mn]}],"underline-offset":[{"underline-offset":["auto",Yt,Z]}],"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:H()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Z]}],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",Z]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...R(),mv]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",pv]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},gv]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"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":[m]}],"border-style":[{border:[...U(),"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":[m]}],"divide-style":[{divide:U()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...U()]}],"outline-offset":[{"outline-offset":[Yt,Z]}],"outline-w":[{outline:[Yt,mn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[Yt,mn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",hn,vv]}],"shadow-color":[{shadow:[to]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...j(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":j()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",hn,Z]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[c]}],saturate:[{saturate:[g]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[a]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[g]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Z]}],duration:[{duration:z()}],ease:[{ease:["linear","in","out","in-out",Z]}],delay:[{delay:z()}],animate:[{animate:["none","spin","ping","pulse","bounce",Z]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[eo,Z]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[T]}],"skew-y":[{"skew-y":[T]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Z]}],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",Z]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":H()}],"scroll-mx":[{"scroll-mx":H()}],"scroll-my":[{"scroll-my":H()}],"scroll-ms":[{"scroll-ms":H()}],"scroll-me":[{"scroll-me":H()}],"scroll-mt":[{"scroll-mt":H()}],"scroll-mr":[{"scroll-mr":H()}],"scroll-mb":[{"scroll-mb":H()}],"scroll-ml":[{"scroll-ml":H()}],"scroll-p":[{"scroll-p":H()}],"scroll-px":[{"scroll-px":H()}],"scroll-py":[{"scroll-py":H()}],"scroll-ps":[{"scroll-ps":H()}],"scroll-pe":[{"scroll-pe":H()}],"scroll-pt":[{"scroll-pt":H()}],"scroll-pr":[{"scroll-pr":H()}],"scroll-pb":[{"scroll-pb":H()}],"scroll-pl":[{"scroll-pl":H()}],"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",Z]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Yt,mn,pi]}],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-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"]}}}const Ev=rv(Sv);function ku(...e){return Ev(V0(e))}const Cv=H0("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Oi=h.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const l=r?Do:"button";return k.jsx(l,{className:ku(Cv({variant:t,size:n,className:e})),ref:i,...o})});Oi.displayName="Button";var{entries:qp,setPrototypeOf:ud,isFrozen:kv,getPrototypeOf:Nv,getOwnPropertyDescriptor:bv}=Object,{freeze:Ie,seal:yt,create:em}=Object,{apply:ma,construct:ha}=typeof Reflect<"u"&&Reflect;Ie||(Ie=function(e){return e});yt||(yt=function(e){return e});ma||(ma=function(e,t,n){return e.apply(t,n)});ha||(ha=function(e,t){return new e(...t)});var mi=ot(Array.prototype.forEach),cd=ot(Array.prototype.pop),no=ot(Array.prototype.push),$i=ot(String.prototype.toLowerCase),cs=ot(String.prototype.toString),dd=ot(String.prototype.match),ro=ot(String.prototype.replace),Tv=ot(String.prototype.indexOf),Pv=ot(String.prototype.trim),Et=ot(Object.prototype.hasOwnProperty),Ze=ot(RegExp.prototype.test),oo=Rv(TypeError);function ot(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o2&&arguments[2]!==void 0?arguments[2]:$i;ud&&ud(e,null);let r=t.length;for(;r--;){let o=t[r];if(typeof o=="string"){let i=n(o);i!==o&&(kv(t)||(t[r]=i),o=i)}e[o]=!0}return e}function _v(e){for(let t=0;t/gm),Mv=yt(/\${[\w\W]*}/gm),Dv=yt(/^data-[\-\w.\u00B7-\uFFFF]/),zv=yt(/^aria-[\-\w]+$/),tm=yt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Iv=yt(/^(?:\w+script|data):/i),jv=yt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),nm=yt(/^html$/i),Fv=yt(/^[a-z][a-z\d]*(-[a-z\d]+)+$/i),gd=Object.freeze({__proto__:null,MUSTACHE_EXPR:$v,ERB_EXPR:Lv,TMPLIT_EXPR:Mv,DATA_ATTR:Dv,ARIA_ATTR:zv,IS_ALLOWED_URI:tm,IS_SCRIPT_OR_DATA:Iv,ATTR_WHITESPACE:jv,DOCTYPE_NAME:nm,CUSTOM_ELEMENT:Fv}),Bv=function(){return typeof window>"u"?null:window},Uv=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let n=null,r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function rm(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Bv(),t=x=>rm(x);if(t.version="3.0.10",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;let{document:n}=e,r=n,o=r.currentScript,{DocumentFragment:i,HTMLTemplateElement:l,Node:s,Element:a,NodeFilter:u,NamedNodeMap:f=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:c,DOMParser:p,trustedTypes:v}=e,y=a.prototype,w=hi(y,"cloneNode"),E=hi(y,"nextSibling"),m=hi(y,"childNodes"),d=hi(y,"parentNode");if(typeof l=="function"){let x=n.createElement("template");x.content&&x.content.ownerDocument&&(n=x.content.ownerDocument)}let g,S="",{implementation:C,createNodeIterator:T,createDocumentFragment:N,getElementsByTagName:A}=n,{importNode:V}=r,D={};t.isSupported=typeof qp=="function"&&typeof d=="function"&&C&&C.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:Y,ERB_EXPR:H,TMPLIT_EXPR:Q,DATA_ATTR:P,ARIA_ATTR:R,IS_SCRIPT_OR_DATA:U,ATTR_WHITESPACE:j,CUSTOM_ELEMENT:b}=gd,{IS_ALLOWED_URI:_}=gd,$=null,L=q({},[...fd,...ds,...fs,...ps,...pd]),z=null,J=q({},[...md,...ms,...hd,...gi]),W=Object.seal(em(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),G=null,X=null,we=!0,Me=!0,wt=!1,Be=!0,st=!1,be=!1,xt=!1,an=!1,he=!1,Qe=!1,un=!1,nr=!0,at=!1,Ml="user-content-",rr=!0,Ft=!1,Xe={},Bt=null,Ut=q({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Vr=null,Qo=q({},["audio","video","img","source","image","track"]),or=null,Wr=q({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ir="http://www.w3.org/1998/Math/MathML",cn="http://www.w3.org/2000/svg",Ce="http://www.w3.org/1999/xhtml",dn=Ce,lr=!1,K=null,ge=q({},[ir,cn,Ce],cs),oe=null,ut=["application/xhtml+xml","text/html"],ct="text/html",ce=null,fn=null,ih=n.createElement("form"),Du=function(x){return x instanceof RegExp||x instanceof Function},Dl=function(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(fn&&fn===x)){if((!x||typeof x!="object")&&(x={}),x=Bn(x),oe=ut.indexOf(x.PARSER_MEDIA_TYPE)===-1?ct:x.PARSER_MEDIA_TYPE,ce=oe==="application/xhtml+xml"?cs:$i,$=Et(x,"ALLOWED_TAGS")?q({},x.ALLOWED_TAGS,ce):L,z=Et(x,"ALLOWED_ATTR")?q({},x.ALLOWED_ATTR,ce):J,K=Et(x,"ALLOWED_NAMESPACES")?q({},x.ALLOWED_NAMESPACES,cs):ge,or=Et(x,"ADD_URI_SAFE_ATTR")?q(Bn(Wr),x.ADD_URI_SAFE_ATTR,ce):Wr,Vr=Et(x,"ADD_DATA_URI_TAGS")?q(Bn(Qo),x.ADD_DATA_URI_TAGS,ce):Qo,Bt=Et(x,"FORBID_CONTENTS")?q({},x.FORBID_CONTENTS,ce):Ut,G=Et(x,"FORBID_TAGS")?q({},x.FORBID_TAGS,ce):{},X=Et(x,"FORBID_ATTR")?q({},x.FORBID_ATTR,ce):{},Xe=Et(x,"USE_PROFILES")?x.USE_PROFILES:!1,we=x.ALLOW_ARIA_ATTR!==!1,Me=x.ALLOW_DATA_ATTR!==!1,wt=x.ALLOW_UNKNOWN_PROTOCOLS||!1,Be=x.ALLOW_SELF_CLOSE_IN_ATTR!==!1,st=x.SAFE_FOR_TEMPLATES||!1,be=x.WHOLE_DOCUMENT||!1,he=x.RETURN_DOM||!1,Qe=x.RETURN_DOM_FRAGMENT||!1,un=x.RETURN_TRUSTED_TYPE||!1,an=x.FORCE_BODY||!1,nr=x.SANITIZE_DOM!==!1,at=x.SANITIZE_NAMED_PROPS||!1,rr=x.KEEP_CONTENT!==!1,Ft=x.IN_PLACE||!1,_=x.ALLOWED_URI_REGEXP||tm,dn=x.NAMESPACE||Ce,W=x.CUSTOM_ELEMENT_HANDLING||{},x.CUSTOM_ELEMENT_HANDLING&&Du(x.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(W.tagNameCheck=x.CUSTOM_ELEMENT_HANDLING.tagNameCheck),x.CUSTOM_ELEMENT_HANDLING&&Du(x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(W.attributeNameCheck=x.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),x.CUSTOM_ELEMENT_HANDLING&&typeof x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(W.allowCustomizedBuiltInElements=x.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),st&&(Me=!1),Qe&&(he=!0),Xe&&($=q({},pd),z=[],Xe.html===!0&&(q($,fd),q(z,md)),Xe.svg===!0&&(q($,ds),q(z,ms),q(z,gi)),Xe.svgFilters===!0&&(q($,fs),q(z,ms),q(z,gi)),Xe.mathMl===!0&&(q($,ps),q(z,hd),q(z,gi))),x.ADD_TAGS&&($===L&&($=Bn($)),q($,x.ADD_TAGS,ce)),x.ADD_ATTR&&(z===J&&(z=Bn(z)),q(z,x.ADD_ATTR,ce)),x.ADD_URI_SAFE_ATTR&&q(or,x.ADD_URI_SAFE_ATTR,ce),x.FORBID_CONTENTS&&(Bt===Ut&&(Bt=Bn(Bt)),q(Bt,x.FORBID_CONTENTS,ce)),rr&&($["#text"]=!0),be&&q($,["html","head","body"]),$.table&&(q($,["tbody"]),delete G.tbody),x.TRUSTED_TYPES_POLICY){if(typeof x.TRUSTED_TYPES_POLICY.createHTML!="function")throw oo('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof x.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw oo('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');g=x.TRUSTED_TYPES_POLICY,S=g.createHTML("")}else g===void 0&&(g=Uv(v,o)),g!==null&&typeof S=="string"&&(S=g.createHTML(""));Ie&&Ie(x),fn=x}},zu=q({},["mi","mo","mn","ms","mtext"]),Iu=q({},["foreignobject","desc","title","annotation-xml"]),lh=q({},["title","style","font","a","script"]),ju=q({},[...ds,...fs,...Av]),Fu=q({},[...ps,...Ov]),sh=function(x){let F=d(x);(!F||!F.tagName)&&(F={namespaceURI:dn,tagName:"template"});let I=$i(x.tagName),ne=$i(F.tagName);return K[x.namespaceURI]?x.namespaceURI===cn?F.namespaceURI===Ce?I==="svg":F.namespaceURI===ir?I==="svg"&&(ne==="annotation-xml"||zu[ne]):!!ju[I]:x.namespaceURI===ir?F.namespaceURI===Ce?I==="math":F.namespaceURI===cn?I==="math"&&Iu[ne]:!!Fu[I]:x.namespaceURI===Ce?F.namespaceURI===cn&&!Iu[ne]||F.namespaceURI===ir&&!zu[ne]?!1:!Fu[I]&&(lh[I]||!ju[I]):!!(oe==="application/xhtml+xml"&&K[x.namespaceURI]):!1},sr=function(x){no(t.removed,{element:x});try{x.parentNode.removeChild(x)}catch{x.remove()}},zl=function(x,F){try{no(t.removed,{attribute:F.getAttributeNode(x),from:F})}catch{no(t.removed,{attribute:null,from:F})}if(F.removeAttribute(x),x==="is"&&!z[x])if(he||Qe)try{sr(F)}catch{}else try{F.setAttribute(x,"")}catch{}},Bu=function(x){let F=null,I=null;if(an)x=""+x;else{let ve=dd(x,/^[\r\n\t ]+/);I=ve&&ve[0]}oe==="application/xhtml+xml"&&dn===Ce&&(x=''+x+"");let ne=g?g.createHTML(x):x;if(dn===Ce)try{F=new p().parseFromString(ne,oe)}catch{}if(!F||!F.documentElement){F=C.createDocument(dn,"template",null);try{F.documentElement.innerHTML=lr?S:ne}catch{}}let Te=F.body||F.documentElement;return x&&I&&Te.insertBefore(n.createTextNode(I),Te.childNodes[0]||null),dn===Ce?A.call(F,be?"html":"body")[0]:be?F.documentElement:Te},Uu=function(x){return T.call(x.ownerDocument||x,x,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION,null)},ah=function(x){return x instanceof c&&(typeof x.nodeName!="string"||typeof x.textContent!="string"||typeof x.removeChild!="function"||!(x.attributes instanceof f)||typeof x.removeAttribute!="function"||typeof x.setAttribute!="function"||typeof x.namespaceURI!="string"||typeof x.insertBefore!="function"||typeof x.hasChildNodes!="function")},Hu=function(x){return typeof s=="function"&&x instanceof s},Ht=function(x,F,I){D[x]&&mi(D[x],ne=>{ne.call(t,F,I,fn)})},Vu=function(x){let F=null;if(Ht("beforeSanitizeElements",x,null),ah(x))return sr(x),!0;let I=ce(x.nodeName);if(Ht("uponSanitizeElement",x,{tagName:I,allowedTags:$}),x.hasChildNodes()&&!Hu(x.firstElementChild)&&Ze(/<[/\w]/g,x.innerHTML)&&Ze(/<[/\w]/g,x.textContent))return sr(x),!0;if(!$[I]||G[I]){if(!G[I]&&Yu(I)&&(W.tagNameCheck instanceof RegExp&&Ze(W.tagNameCheck,I)||W.tagNameCheck instanceof Function&&W.tagNameCheck(I)))return!1;if(rr&&!Bt[I]){let ne=d(x)||x.parentNode,Te=m(x)||x.childNodes;if(Te&&ne){let ve=Te.length;for(let Vt=ve-1;Vt>=0;--Vt)ne.insertBefore(w(Te[Vt],!0),E(x))}}return sr(x),!0}return x instanceof a&&!sh(x)||(I==="noscript"||I==="noembed"||I==="noframes")&&Ze(/<\/no(script|embed|frames)/i,x.innerHTML)?(sr(x),!0):(st&&x.nodeType===3&&(F=x.textContent,mi([Y,H,Q],ne=>{F=ro(F,ne," ")}),x.textContent!==F&&(no(t.removed,{element:x.cloneNode()}),x.textContent=F)),Ht("afterSanitizeElements",x,null),!1)},Wu=function(x,F,I){if(nr&&(F==="id"||F==="name")&&(I in n||I in ih))return!1;if(!(Me&&!X[F]&&Ze(P,F))&&!(we&&Ze(R,F))){if(!z[F]||X[F]){if(!(Yu(x)&&(W.tagNameCheck instanceof RegExp&&Ze(W.tagNameCheck,x)||W.tagNameCheck instanceof Function&&W.tagNameCheck(x))&&(W.attributeNameCheck instanceof RegExp&&Ze(W.attributeNameCheck,F)||W.attributeNameCheck instanceof Function&&W.attributeNameCheck(F))||F==="is"&&W.allowCustomizedBuiltInElements&&(W.tagNameCheck instanceof RegExp&&Ze(W.tagNameCheck,I)||W.tagNameCheck instanceof Function&&W.tagNameCheck(I))))return!1}else if(!or[F]&&!Ze(_,ro(I,j,""))&&!((F==="src"||F==="xlink:href"||F==="href")&&x!=="script"&&Tv(I,"data:")===0&&Vr[x])&&!(wt&&!Ze(U,ro(I,j,"")))&&I)return!1}return!0},Yu=function(x){return x!=="annotation-xml"&&dd(x,b)},Ku=function(x){Ht("beforeSanitizeAttributes",x,null);let{attributes:F}=x;if(!F)return;let I={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:z},ne=F.length;for(;ne--;){let Te=F[ne],{name:ve,namespaceURI:Vt,value:Wt}=Te,Ot=ce(ve),Ue=ve==="value"?Wt:Pv(Wt);if(I.attrName=Ot,I.attrValue=Ue,I.keepAttr=!0,I.forceKeepAttr=void 0,Ht("uponSanitizeAttribute",x,I),Ue=I.attrValue,I.forceKeepAttr||(zl(ve,x),!I.keepAttr))continue;if(!Be&&Ze(/\/>/i,Ue)){zl(ve,x);continue}st&&mi([Y,H,Q],Qu=>{Ue=ro(Ue,Qu," ")});let Gu=ce(x.nodeName);if(Wu(Gu,Ot,Ue)){if(at&&(Ot==="id"||Ot==="name")&&(zl(ve,x),Ue=Ml+Ue),g&&typeof v=="object"&&typeof v.getAttributeType=="function"&&!Vt)switch(v.getAttributeType(Gu,Ot)){case"TrustedHTML":{Ue=g.createHTML(Ue);break}case"TrustedScriptURL":{Ue=g.createScriptURL(Ue);break}}try{Vt?x.setAttributeNS(Vt,ve,Ue):x.setAttribute(ve,Ue),cd(t.removed)}catch{}}}Ht("afterSanitizeAttributes",x,null)},uh=function x(F){let I=null,ne=Uu(F);for(Ht("beforeSanitizeShadowDOM",F,null);I=ne.nextNode();)Ht("uponSanitizeShadowNode",I,null),!Vu(I)&&(I.content instanceof i&&x(I.content),Ku(I));Ht("afterSanitizeShadowDOM",F,null)};return t.sanitize=function(x){let F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},I=null,ne=null,Te=null,ve=null;if(lr=!x,lr&&(x=""),typeof x!="string"&&!Hu(x))if(typeof x.toString=="function"){if(x=x.toString(),typeof x!="string")throw oo("dirty is not a string, aborting")}else throw oo("toString is not a function");if(!t.isSupported)return x;if(xt||Dl(F),t.removed=[],typeof x=="string"&&(Ft=!1),Ft){if(x.nodeName){let Ot=ce(x.nodeName);if(!$[Ot]||G[Ot])throw oo("root node is forbidden and cannot be sanitized in-place")}}else if(x instanceof s)I=Bu(""),ne=I.ownerDocument.importNode(x,!0),ne.nodeType===1&&ne.nodeName==="BODY"||ne.nodeName==="HTML"?I=ne:I.appendChild(ne);else{if(!he&&!st&&!be&&x.indexOf("<")===-1)return g&&un?g.createHTML(x):x;if(I=Bu(x),!I)return he?null:un?S:""}I&&an&&sr(I.firstChild);let Vt=Uu(Ft?x:I);for(;Te=Vt.nextNode();)Vu(Te)||(Te.content instanceof i&&uh(Te.content),Ku(Te));if(Ft)return x;if(he){if(Qe)for(ve=N.call(I.ownerDocument);I.firstChild;)ve.appendChild(I.firstChild);else ve=I;return(z.shadowroot||z.shadowrootmode)&&(ve=V.call(r,ve,!0)),ve}let Wt=be?I.outerHTML:I.innerHTML;return be&&$["!doctype"]&&I.ownerDocument&&I.ownerDocument.doctype&&I.ownerDocument.doctype.name&&Ze(nm,I.ownerDocument.doctype.name)&&(Wt=" +`+Wt),st&&mi([Y,H,Q],Ot=>{Wt=ro(Wt,Ot," ")}),g&&un?g.createHTML(Wt):Wt},t.setConfig=function(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Dl(x),xt=!0},t.clearConfig=function(){fn=null,xt=!1},t.isValidAttribute=function(x,F,I){fn||Dl({});let ne=ce(x),Te=ce(F);return Wu(ne,Te,I)},t.addHook=function(x,F){typeof F=="function"&&(D[x]=D[x]||[],no(D[x],F))},t.removeHook=function(x){if(D[x])return cd(D[x])},t.removeHooks=function(x){D[x]&&(D[x]=[])},t.removeAllHooks=function(){D={}},t}var Hv=rm(),Vv=e=>{switch(e){case"success":return Kv;case"info":return Qv;case"warning":return Gv;case"error":return Xv;default:return null}},Wv=Array(12).fill(0),Yv=({visible:e})=>M.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},M.createElement("div",{className:"sonner-spinner"},Wv.map((t,n)=>M.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),Kv=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.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"})),Gv=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},M.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"})),Qv=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.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"})),Xv=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.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"})),Zv=()=>{let[e,t]=M.useState(!1);return M.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},ga=1,Jv=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=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:ga++,i=this.toasts.find(s=>s.id===o),l=e.dismissible===void 0?!0:e.dismissible;return i?this.toasts=this.toasts.map(s=>s.id===o?(this.publish({...s,...e,id:o,title:n}),{...s,...e,id:o,dismissible:l,title:n}):s):this.addToast({title:n,...r,dismissible:l,id:o}),o},this.dismiss=e=>(e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),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"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0;return r.then(i=>{if(i&&typeof i.ok=="boolean"&&!i.ok){o=!1;let l=typeof t.error=="function"?t.error(`HTTP error! status: ${i.status}`):t.error,s=typeof t.description=="function"?t.description(`HTTP error! status: ${i.status}`):t.description;this.create({id:n,type:"error",message:l,description:s})}else if(t.success!==void 0){o=!1;let l=typeof t.success=="function"?t.success(i):t.success,s=typeof t.description=="function"?t.description(i):t.description;this.create({id:n,type:"success",message:l,description:s})}}).catch(i=>{if(t.error!==void 0){o=!1;let l=typeof t.error=="function"?t.error(i):t.error,s=typeof t.description=="function"?t.description(i):t.description;this.create({id:n,type:"error",message:l,description:s})}}).finally(()=>{var i;o&&(this.dismiss(n),n=void 0),(i=t.finally)==null||i.call(t)}),n},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||ga++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},Ct=new Jv,qv=(e,t)=>{let n=(t==null?void 0:t.id)||ga++;return Ct.addToast({title:e,...t,id:n}),n},ey=qv,dt=Object.assign(ey,{success:Ct.success,info:Ct.info,warning:Ct.warning,error:Ct.error,custom:Ct.custom,message:Ct.message,promise:Ct.promise,dismiss:Ct.dismiss,loading:Ct.loading});function ty(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}ty(`:where(html[dir="ltr"]),:where([data-sonner-toaster][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%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][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%)}:where([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:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([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);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([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 #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([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)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([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;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([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;background:var(--gray1);color:var(--gray12);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}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([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}:where([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}:where([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, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--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-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-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--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, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--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-rich-colors=true] [data-sonner-toast][data-type=success],[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],[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],[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],[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:nth-child(1){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)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{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%)} +`);function vi(e){return e.label!==void 0&&typeof e.onClick=="function"}var ny=3,ry="32px",oy=4e3,iy=356,ly=14,sy=20,ay=200;function uy(...e){return e.filter(Boolean).join(" ")}var cy=e=>{var t,n,r,o,i,l,s;let{invert:a,toast:u,unstyled:f,interacting:c,setHeights:p,visibleToasts:v,heights:y,index:w,toasts:E,expanded:m,removeToast:d,closeButton:g,style:S,cancelButtonStyle:C,actionButtonStyle:T,className:N="",descriptionClassName:A="",duration:V,position:D,gap:Y,loadingIcon:H,expandByDefault:Q,classNames:P,icons:R,closeButtonAriaLabel:U="Close toast",pauseWhenPageIsHidden:j,cn:b}=e,[_,$]=M.useState(!1),[L,z]=M.useState(!1),[J,W]=M.useState(!1),[G,X]=M.useState(!1),[we,Me]=M.useState(0),[wt,Be]=M.useState(0),st=M.useRef(null),be=M.useRef(null),xt=w===0,an=w+1<=v,he=u.type,Qe=u.dismissible!==!1,un=u.className||"",nr=u.descriptionClassName||"",at=M.useMemo(()=>y.findIndex(K=>K.toastId===u.id)||0,[y,u.id]),Ml=M.useMemo(()=>{var K;return(K=u.closeButton)!=null?K:g},[u.closeButton,g]),rr=M.useMemo(()=>u.duration||V||oy,[u.duration,V]),Ft=M.useRef(0),Xe=M.useRef(0),Bt=M.useRef(0),Ut=M.useRef(null),[Vr,Qo]=D.split("-"),or=M.useMemo(()=>y.reduce((K,ge,oe)=>oe>=at?K:K+ge.height,0),[y,at]),Wr=Zv(),ir=u.invert||a,cn=he==="loading";Xe.current=M.useMemo(()=>at*Y+or,[at,or]),M.useEffect(()=>{$(!0)},[]),M.useLayoutEffect(()=>{if(!_)return;let K=be.current,ge=K.style.height;K.style.height="auto";let oe=K.getBoundingClientRect().height;K.style.height=ge,Be(oe),p(ut=>ut.find(ct=>ct.toastId===u.id)?ut.map(ct=>ct.toastId===u.id?{...ct,height:oe}:ct):[{toastId:u.id,height:oe,position:u.position},...ut])},[_,u.title,u.description,p,u.id]);let Ce=M.useCallback(()=>{z(!0),Me(Xe.current),p(K=>K.filter(ge=>ge.toastId!==u.id)),setTimeout(()=>{d(u)},ay)},[u,d,p,Xe]);M.useEffect(()=>{if(u.promise&&he==="loading"||u.duration===1/0||u.type==="loading")return;let K,ge=rr;return m||c||j&&Wr?(()=>{if(Bt.current{var oe;(oe=u.onAutoClose)==null||oe.call(u,u),Ce()},ge)),()=>clearTimeout(K)},[m,c,Q,u,rr,Ce,u.promise,he,j,Wr]),M.useEffect(()=>{let K=be.current;if(K){let ge=K.getBoundingClientRect().height;return Be(ge),p(oe=>[{toastId:u.id,height:ge,position:u.position},...oe]),()=>p(oe=>oe.filter(ut=>ut.toastId!==u.id))}},[p,u.id]),M.useEffect(()=>{u.delete&&Ce()},[Ce,u.delete]);function dn(){return R!=null&&R.loading?M.createElement("div",{className:"sonner-loader","data-visible":he==="loading"},R.loading):H?M.createElement("div",{className:"sonner-loader","data-visible":he==="loading"},H):M.createElement(Yv,{visible:he==="loading"})}function lr(K){return{__html:Hv.sanitize(K)}}return M.createElement("li",{"aria-live":u.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:be,className:b(N,un,P==null?void 0:P.toast,(t=u==null?void 0:u.classNames)==null?void 0:t.toast,P==null?void 0:P.default,P==null?void 0:P[he],(n=u==null?void 0:u.classNames)==null?void 0:n[he]),"data-sonner-toast":"","data-styled":!(u.jsx||u.unstyled||f),"data-mounted":_,"data-promise":!!u.promise,"data-removed":L,"data-visible":an,"data-y-position":Vr,"data-x-position":Qo,"data-index":w,"data-front":xt,"data-swiping":J,"data-dismissible":Qe,"data-type":he,"data-invert":ir,"data-swipe-out":G,"data-expanded":!!(m||Q&&_),style:{"--index":w,"--toasts-before":w,"--z-index":E.length-w,"--offset":`${L?we:Xe.current}px`,"--initial-height":Q?"auto":`${wt}px`,...S,...u.style},onPointerDown:K=>{cn||!Qe||(st.current=new Date,Me(Xe.current),K.target.setPointerCapture(K.pointerId),K.target.tagName!=="BUTTON"&&(W(!0),Ut.current={x:K.clientX,y:K.clientY}))},onPointerUp:()=>{var K,ge,oe,ut;if(G||!Qe)return;Ut.current=null;let ct=Number(((K=be.current)==null?void 0:K.style.getPropertyValue("--swipe-amount").replace("px",""))||0),ce=new Date().getTime()-((ge=st.current)==null?void 0:ge.getTime()),fn=Math.abs(ct)/ce;if(Math.abs(ct)>=sy||fn>.11){Me(Xe.current),(oe=u.onDismiss)==null||oe.call(u,u),Ce(),X(!0);return}(ut=be.current)==null||ut.style.setProperty("--swipe-amount","0px"),W(!1)},onPointerMove:K=>{var ge;if(!Ut.current||!Qe)return;let oe=K.clientY-Ut.current.y,ut=K.clientX-Ut.current.x,ct=(Vr==="top"?Math.min:Math.max)(0,oe),ce=K.pointerType==="touch"?10:2;Math.abs(ct)>ce?(ge=be.current)==null||ge.style.setProperty("--swipe-amount",`${oe}px`):Math.abs(ut)>ce&&(Ut.current=null)}},Ml&&!u.jsx?M.createElement("button",{"aria-label":U,"data-disabled":cn,"data-close-button":!0,onClick:cn||!Qe?()=>{}:()=>{var K;Ce(),(K=u.onDismiss)==null||K.call(u,u)},className:b(P==null?void 0:P.closeButton,(r=u==null?void 0:u.classNames)==null?void 0:r.closeButton)},M.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"},M.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),M.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,u.jsx||M.isValidElement(u.title)?u.jsx||u.title:M.createElement(M.Fragment,null,he||u.icon||u.promise?M.createElement("div",{"data-icon":"",className:b(P==null?void 0:P.icon)},u.promise||u.type==="loading"&&!u.icon?u.icon||dn():null,u.type!=="loading"?u.icon||(R==null?void 0:R[he])||Vv(he):null):null,M.createElement("div",{"data-content":"",className:b(P==null?void 0:P.content)},M.createElement("div",{"data-title":"",className:b(P==null?void 0:P.title,(o=u==null?void 0:u.classNames)==null?void 0:o.title),dangerouslySetInnerHTML:lr(u.title)}),u.description?M.createElement("div",{"data-description":"",className:b(A,nr,P==null?void 0:P.description,(i=u==null?void 0:u.classNames)==null?void 0:i.description),dangerouslySetInnerHTML:lr(u.description)}):null),M.isValidElement(u.cancel)?u.cancel:u.cancel&&vi(u.cancel)?M.createElement("button",{"data-button":!0,"data-cancel":!0,style:u.cancelButtonStyle||C,onClick:K=>{vi(u.cancel)&&Qe&&(Ce(),u.cancel.onClick(K))},className:b(P==null?void 0:P.cancelButton,(l=u==null?void 0:u.classNames)==null?void 0:l.cancelButton)},u.cancel.label):null,M.isValidElement(u.action)?u.action:u.action&&vi(u.action)?M.createElement("button",{"data-button":"",style:u.actionButtonStyle||T,onClick:K=>{vi(u.action)&&(u.action.onClick(K),!K.defaultPrevented&&Ce())},className:b(P==null?void 0:P.actionButton,(s=u==null?void 0:u.classNames)==null?void 0:s.actionButton)},u.action.label):null))};function vd(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}var om=e=>{let{invert:t,position:n="bottom-right",hotkey:r=["altKey","KeyT"],expand:o,closeButton:i,className:l,offset:s,theme:a="light",richColors:u,duration:f,style:c,visibleToasts:p=ny,toastOptions:v,dir:y=vd(),gap:w=ly,loadingIcon:E,icons:m,containerAriaLabel:d="Notifications",pauseWhenPageIsHidden:g,cn:S=uy}=e,[C,T]=M.useState([]),N=M.useMemo(()=>Array.from(new Set([n].concat(C.filter(L=>L.position).map(L=>L.position)))),[C,n]),[A,V]=M.useState([]),[D,Y]=M.useState(!1),[H,Q]=M.useState(!1),[P,R]=M.useState(a!=="system"?a:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),U=M.useRef(null),j=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=M.useRef(null),_=M.useRef(!1),$=M.useCallback(L=>T(z=>z.filter(({id:J})=>J!==L.id)),[]);return M.useEffect(()=>Ct.subscribe(L=>{if(L.dismiss){T(z=>z.map(J=>J.id===L.id?{...J,delete:!0}:J));return}setTimeout(()=>{z0.flushSync(()=>{T(z=>{let J=z.findIndex(W=>W.id===L.id);return J!==-1?[...z.slice(0,J),{...z[J],...L},...z.slice(J+1)]:[L,...z]})})})}),[]),M.useEffect(()=>{if(a!=="system"){R(a);return}a==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?R("dark"):R("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:L})=>{R(L?"dark":"light")})},[a]),M.useEffect(()=>{C.length<=1&&Y(!1)},[C]),M.useEffect(()=>{let L=z=>{var J,W;r.every(G=>z[G]||z.code===G)&&(Y(!0),(J=U.current)==null||J.focus()),z.code==="Escape"&&(document.activeElement===U.current||(W=U.current)!=null&&W.contains(document.activeElement))&&Y(!1)};return document.addEventListener("keydown",L),()=>document.removeEventListener("keydown",L)},[r]),M.useEffect(()=>{if(U.current)return()=>{b.current&&(b.current.focus({preventScroll:!0}),b.current=null,_.current=!1)}},[U.current]),C.length?M.createElement("section",{"aria-label":`${d} ${j}`,tabIndex:-1},N.map((L,z)=>{var J;let[W,G]=L.split("-");return M.createElement("ol",{key:L,dir:y==="auto"?vd():y,tabIndex:-1,ref:U,className:l,"data-sonner-toaster":!0,"data-theme":P,"data-rich-colors":u,"data-y-position":W,"data-x-position":G,style:{"--front-toast-height":`${((J=A[0])==null?void 0:J.height)||0}px`,"--offset":typeof s=="number"?`${s}px`:s||ry,"--width":`${iy}px`,"--gap":`${w}px`,...c},onBlur:X=>{_.current&&!X.currentTarget.contains(X.relatedTarget)&&(_.current=!1,b.current&&(b.current.focus({preventScroll:!0}),b.current=null))},onFocus:X=>{X.target instanceof HTMLElement&&X.target.dataset.dismissible==="false"||_.current||(_.current=!0,b.current=X.relatedTarget)},onMouseEnter:()=>Y(!0),onMouseMove:()=>Y(!0),onMouseLeave:()=>{H||Y(!1)},onPointerDown:X=>{X.target instanceof HTMLElement&&X.target.dataset.dismissible==="false"||Q(!0)},onPointerUp:()=>Q(!1)},C.filter(X=>!X.position&&z===0||X.position===L).map((X,we)=>{var Me,wt;return M.createElement(cy,{key:X.id,icons:m,index:we,toast:X,duration:(Me=v==null?void 0:v.duration)!=null?Me:f,className:v==null?void 0:v.className,descriptionClassName:v==null?void 0:v.descriptionClassName,invert:t,visibleToasts:p,closeButton:(wt=v==null?void 0:v.closeButton)!=null?wt:i,interacting:H,position:L,style:v==null?void 0:v.style,unstyled:v==null?void 0:v.unstyled,classNames:v==null?void 0:v.classNames,cancelButtonStyle:v==null?void 0:v.cancelButtonStyle,actionButtonStyle:v==null?void 0:v.actionButtonStyle,removeToast:$,toasts:C.filter(Be=>Be.position==X.position),heights:A.filter(Be=>Be.position==X.position),setHeights:V,expandByDefault:o,gap:w,loadingIcon:E,expanded:D,pauseWhenPageIsHidden:g,cn:S})}))})):null};/*! Bundled license information: + +dompurify/dist/purify.es.mjs: + (*! @license DOMPurify 3.0.10 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.10/LICENSE *) +*/function dy({image:e,setImage:t,setImageUploaded:n,imageUploaded:r}){const o=h.useRef(null),[i,l]=h.useState([]);h.useEffect(()=>{const y=localStorage.getItem("uploadedImage");y&&(t(y),p(y))},[]);const s=y=>{const w=y.target.files[0],E=new FileReader;E.onloadend=()=>{const m=E.result;t(m),localStorage.setItem("uploadedImage",m),p(m)},E.readAsDataURL(w),n(!0),dt.success("Image uploaded successfully",{action:{text:"Close",onClick:()=>{dt.dismiss()}}})},a=y=>{y.preventDefault()},u=y=>{if(y.preventDefault(),!y.dataTransfer.files[0].type.includes("image")){dt.error("File type not supported",{action:{label:"Close",onClick:()=>{dt.dismiss()}}});return}const w=y.dataTransfer.files[0],E=new FileReader;E.onloadend=()=>{const m=E.result;t(m),localStorage.setItem("uploadedImage",m),p(m)},E.readAsDataURL(w),n(!0)},f=()=>{o.current.click()},c=()=>{t(null),l([]),localStorage.removeItem("uploadedImage")};h.useEffect(()=>{c()},[e]);const p=async y=>{try{const w=new Image;w.src=y,w.onload=()=>{const E=document.createElement("canvas");E.width=w.width,E.height=w.height;const m=E.getContext("2d");m.drawImage(w,0,0);const d=m.getImageData(0,0,E.width,E.height),g={};for(let C=0;CT.count-C.count).slice(0,12).map(([C,{r:T,g:N,b:A}])=>({hex:C,r:T,g:N,b:A}));l(S)}}catch(w){console.error("Error extracting colors:",w)}},v=(y,w,E)=>"#"+((1<<24)+(y<<16)+(w<<8)+E).toString(16).slice(1);return k.jsxs("div",{className:"flex flex-col items-center justify-center h-screen bg-gray-100 dark:bg-gray-900",children:[k.jsx(om,{}),k.jsxs("div",{className:"max-w-4xl w-full p-4",children:[k.jsx("div",{className:"w-full aspect-video bg-gray-200 dark:bg-gray-800 rounded-lg overflow-hidden flex items-center justify-center cursor-pointer",onDragOver:a,onDrop:u,onClick:f,style:{border:r?"none":"3px dashed #ccc"},children:e?k.jsx("img",{src:e,alt:"Uploaded Image",className:"w-full h-full object-contain"}):k.jsx("div",{className:"text-gray-500 dark:text-gray-400 text-lg",children:"Click or Drop an Image to upload it"})}),k.jsx("input",{type:"file",accept:"image/jpeg,image/jpg,image/png,image/webp",ref:o,onChange:s,className:"hidden",limit:"1"})]})]})}function im(e,[t,n]){return Math.min(n,Math.max(t,e))}function Sr(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function lm(e,t=[]){let n=[];function r(i,l){const s=h.createContext(l),a=n.length;n=[...n,l];function u(c){const{scope:p,children:v,...y}=c,w=(p==null?void 0:p[e][a])||s,E=h.useMemo(()=>y,Object.values(y));return h.createElement(w.Provider,{value:E},v)}function f(c,p){const v=(p==null?void 0:p[e][a])||s,y=h.useContext(v);if(y)return y;if(l!==void 0)return l;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,f]}const o=()=>{const i=n.map(l=>h.createContext(l));return function(s){const a=(s==null?void 0:s[e])||i;return h.useMemo(()=>({[`__scope${e}`]:{...s,[e]:a}}),[s,a])}};return o.scopeName=e,[r,fy(o,...t)]}function fy(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const l=r.reduce((s,{useScope:a,scopeName:u})=>{const c=a(i)[`__scope${u}`];return{...s,...c}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}function sm(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function py({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=my({defaultProp:t,onChange:n}),i=e!==void 0,l=i?e:r,s=sm(n),a=h.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[i,e,o,s]);return[l,a]}function my({defaultProp:e,onChange:t}){const n=h.useState(e),[r]=n,o=h.useRef(r),i=sm(t);return h.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}const hy=h.createContext(void 0);function gy(e){const t=h.useContext(hy);return e||t||"ltr"}function vy(e){const t=h.useRef({value:e,previous:e});return h.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}const yy=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{};function wy(e){const[t,n]=h.useState(void 0);return yy(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let l,s;if("borderBoxSize"in i){const a=i.borderBoxSize,u=Array.isArray(a)?a[0]:a;l=u.inlineSize,s=u.blockSize}else l=e.offsetWidth,s=e.offsetHeight;n({width:l,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const xy=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Tl=xy.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...l}=r,s=i?Do:t;return h.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),h.createElement(s,Ge({},l,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Sy(e){const t=e+"CollectionProvider",[n,r]=lm(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),l=v=>{const{scope:y,children:w}=v,E=M.useRef(null),m=M.useRef(new Map).current;return M.createElement(o,{scope:y,itemMap:m,collectionRef:E},w)},s=e+"CollectionSlot",a=M.forwardRef((v,y)=>{const{scope:w,children:E}=v,m=i(s,w),d=On(y,m.collectionRef);return M.createElement(Do,{ref:d},E)}),u=e+"CollectionItemSlot",f="data-radix-collection-item",c=M.forwardRef((v,y)=>{const{scope:w,children:E,...m}=v,d=M.useRef(null),g=On(y,d),S=i(u,w);return M.useEffect(()=>(S.itemMap.set(d,{ref:d,...m}),()=>void S.itemMap.delete(d))),M.createElement(Do,{[f]:"",ref:g},E)});function p(v){const y=i(e+"CollectionConsumer",v);return M.useCallback(()=>{const E=y.collectionRef.current;if(!E)return[];const m=Array.from(E.querySelectorAll(`[${f}]`));return Array.from(y.itemMap.values()).sort((S,C)=>m.indexOf(S.ref.current)-m.indexOf(C.ref.current))},[y.collectionRef,y.itemMap])}return[{Provider:l,Slot:a,ItemSlot:c},p,r]}const am=["PageUp","PageDown"],um=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],cm={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},Wo="Slider",[va,Ey,Cy]=Sy(Wo),[dm,Cx]=lm(Wo,[Cy]),[ky,Pl]=dm(Wo),Ny=h.forwardRef((e,t)=>{const{name:n,min:r=0,max:o=100,step:i=1,orientation:l="horizontal",disabled:s=!1,minStepsBetweenThumbs:a=0,defaultValue:u=[r],value:f,onValueChange:c=()=>{},onValueCommit:p=()=>{},inverted:v=!1,...y}=e,[w,E]=h.useState(null),m=On(t,P=>E(P)),d=h.useRef(new Set),g=h.useRef(0),S=l==="horizontal",C=w?!!w.closest("form"):!0,T=S?by:Ty,[N=[],A]=py({prop:f,defaultProp:u,onChange:P=>{var R;(R=[...d.current][g.current])===null||R===void 0||R.focus(),c(P)}}),V=h.useRef(N);function D(P){const R=Dy(N,P);Q(P,R)}function Y(P){Q(P,g.current)}function H(){const P=V.current[g.current];N[g.current]!==P&&p(N)}function Q(P,R,{commit:U}={commit:!1}){const j=Fy(i),b=By(Math.round((P-r)/i)*i+r,j),_=im(b,[r,o]);A(($=[])=>{const L=Ly($,_,R);if(jy(L,a*i)){g.current=L.indexOf(_);const z=String(L)!==String($);return z&&U&&p(L),z?L:$}else return $})}return h.createElement(ky,{scope:e.__scopeSlider,disabled:s,min:r,max:o,valueIndexToChangeRef:g,thumbs:d.current,values:N,orientation:l},h.createElement(va.Provider,{scope:e.__scopeSlider},h.createElement(va.Slot,{scope:e.__scopeSlider},h.createElement(T,Ge({"aria-disabled":s,"data-disabled":s?"":void 0},y,{ref:m,onPointerDown:Sr(y.onPointerDown,()=>{s||(V.current=N)}),min:r,max:o,inverted:v,onSlideStart:s?void 0:D,onSlideMove:s?void 0:Y,onSlideEnd:s?void 0:H,onHomeKeyDown:()=>!s&&Q(r,0,{commit:!0}),onEndKeyDown:()=>!s&&Q(o,N.length-1,{commit:!0}),onStepKeyDown:({event:P,direction:R})=>{if(!s){const b=am.includes(P.key)||P.shiftKey&&um.includes(P.key)?10:1,_=g.current,$=N[_],L=i*b*R;Q($+L,_,{commit:!0})}}})))),C&&N.map((P,R)=>h.createElement($y,{key:R,name:n?n+(N.length>1?"[]":""):void 0,value:P})))}),[fm,pm]=dm(Wo,{startEdge:"left",endEdge:"right",size:"width",direction:1}),by=h.forwardRef((e,t)=>{const{min:n,max:r,dir:o,inverted:i,onSlideStart:l,onSlideMove:s,onSlideEnd:a,onStepKeyDown:u,...f}=e,[c,p]=h.useState(null),v=On(t,g=>p(g)),y=h.useRef(),w=gy(o),E=w==="ltr",m=E&&!i||!E&&i;function d(g){const S=y.current||c.getBoundingClientRect(),C=[0,S.width],N=Nu(C,m?[n,r]:[r,n]);return y.current=S,N(g-S.left)}return h.createElement(fm,{scope:e.__scopeSlider,startEdge:m?"left":"right",endEdge:m?"right":"left",direction:m?1:-1,size:"width"},h.createElement(mm,Ge({dir:w,"data-orientation":"horizontal"},f,{ref:v,style:{...f.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:g=>{const S=d(g.clientX);l==null||l(S)},onSlideMove:g=>{const S=d(g.clientX);s==null||s(S)},onSlideEnd:()=>{y.current=void 0,a==null||a()},onStepKeyDown:g=>{const C=cm[m?"from-left":"from-right"].includes(g.key);u==null||u({event:g,direction:C?-1:1})}})))}),Ty=h.forwardRef((e,t)=>{const{min:n,max:r,inverted:o,onSlideStart:i,onSlideMove:l,onSlideEnd:s,onStepKeyDown:a,...u}=e,f=h.useRef(null),c=On(t,f),p=h.useRef(),v=!o;function y(w){const E=p.current||f.current.getBoundingClientRect(),m=[0,E.height],g=Nu(m,v?[r,n]:[n,r]);return p.current=E,g(w-E.top)}return h.createElement(fm,{scope:e.__scopeSlider,startEdge:v?"bottom":"top",endEdge:v?"top":"bottom",size:"height",direction:v?1:-1},h.createElement(mm,Ge({"data-orientation":"vertical"},u,{ref:c,style:{...u.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:w=>{const E=y(w.clientY);i==null||i(E)},onSlideMove:w=>{const E=y(w.clientY);l==null||l(E)},onSlideEnd:()=>{p.current=void 0,s==null||s()},onStepKeyDown:w=>{const m=cm[v?"from-bottom":"from-top"].includes(w.key);a==null||a({event:w,direction:m?-1:1})}})))}),mm=h.forwardRef((e,t)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:o,onSlideEnd:i,onHomeKeyDown:l,onEndKeyDown:s,onStepKeyDown:a,...u}=e,f=Pl(Wo,n);return h.createElement(Tl.span,Ge({},u,{ref:t,onKeyDown:Sr(e.onKeyDown,c=>{c.key==="Home"?(l(c),c.preventDefault()):c.key==="End"?(s(c),c.preventDefault()):am.concat(um).includes(c.key)&&(a(c),c.preventDefault())}),onPointerDown:Sr(e.onPointerDown,c=>{const p=c.target;p.setPointerCapture(c.pointerId),c.preventDefault(),f.thumbs.has(p)?p.focus():r(c)}),onPointerMove:Sr(e.onPointerMove,c=>{c.target.hasPointerCapture(c.pointerId)&&o(c)}),onPointerUp:Sr(e.onPointerUp,c=>{const p=c.target;p.hasPointerCapture(c.pointerId)&&(p.releasePointerCapture(c.pointerId),i(c))})}))}),Py="SliderTrack",Ry=h.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=Pl(Py,n);return h.createElement(Tl.span,Ge({"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation},r,{ref:t}))}),yd="SliderRange",_y=h.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=Pl(yd,n),i=pm(yd,n),l=h.useRef(null),s=On(t,l),a=o.values.length,u=o.values.map(p=>hm(p,o.min,o.max)),f=a>1?Math.min(...u):0,c=100-Math.max(...u);return h.createElement(Tl.span,Ge({"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0},r,{ref:s,style:{...e.style,[i.startEdge]:f+"%",[i.endEdge]:c+"%"}}))}),wd="SliderThumb",Ay=h.forwardRef((e,t)=>{const n=Ey(e.__scopeSlider),[r,o]=h.useState(null),i=On(t,s=>o(s)),l=h.useMemo(()=>r?n().findIndex(s=>s.ref.current===r):-1,[n,r]);return h.createElement(Oy,Ge({},e,{ref:i,index:l}))}),Oy=h.forwardRef((e,t)=>{const{__scopeSlider:n,index:r,...o}=e,i=Pl(wd,n),l=pm(wd,n),[s,a]=h.useState(null),u=On(t,E=>a(E)),f=wy(s),c=i.values[r],p=c===void 0?0:hm(c,i.min,i.max),v=My(r,i.values.length),y=f==null?void 0:f[l.size],w=y?zy(y,p,l.direction):0;return h.useEffect(()=>{if(s)return i.thumbs.add(s),()=>{i.thumbs.delete(s)}},[s,i.thumbs]),h.createElement("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[l.startEdge]:`calc(${p}% + ${w}px)`}},h.createElement(va.ItemSlot,{scope:e.__scopeSlider},h.createElement(Tl.span,Ge({role:"slider","aria-label":e["aria-label"]||v,"aria-valuemin":i.min,"aria-valuenow":c,"aria-valuemax":i.max,"aria-orientation":i.orientation,"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,tabIndex:i.disabled?void 0:0},o,{ref:u,style:c===void 0?{display:"none"}:e.style,onFocus:Sr(e.onFocus,()=>{i.valueIndexToChangeRef.current=r})}))))}),$y=e=>{const{value:t,...n}=e,r=h.useRef(null),o=vy(t);return h.useEffect(()=>{const i=r.current,l=window.HTMLInputElement.prototype,a=Object.getOwnPropertyDescriptor(l,"value").set;if(o!==t&&a){const u=new Event("input",{bubbles:!0});a.call(i,t),i.dispatchEvent(u)}},[o,t]),h.createElement("input",Ge({style:{display:"none"}},n,{ref:r,defaultValue:t}))};function Ly(e=[],t,n){const r=[...e];return r[n]=t,r.sort((o,i)=>o-i)}function hm(e,t,n){const i=100/(n-t)*(e-t);return im(i,[0,100])}function My(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function Dy(e,t){if(e.length===1)return 0;const n=e.map(o=>Math.abs(o-t)),r=Math.min(...n);return n.indexOf(r)}function zy(e,t,n){const r=e/2,i=Nu([0,50],[0,r]);return(r-i(t)*n)*n}function Iy(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function jy(e,t){if(t>0){const n=Iy(e);return Math.min(...n)>=t}return!0}function Nu(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function Fy(e){return(String(e).split(".")[1]||"").length}function By(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}const gm=Ny,Uy=Ry,Hy=_y,Vy=Ay,Li=h.forwardRef(({className:e,...t},n)=>k.jsxs(gm,{ref:n,className:ku("relative flex w-full touch-none select-none items-center",e),...t,children:[k.jsx(Uy,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-secondary",children:k.jsx(Hy,{className:"absolute h-full bg-primary"})}),k.jsx(Vy,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"})]}));Li.displayName=gm.displayName;function Qt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Wy(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function vm(...e){return t=>e.forEach(n=>Wy(n,t))}function Yo(...e){return h.useCallback(vm(...e),e)}function Yy(e,t=[]){let n=[];function r(i,l){const s=h.createContext(l),a=n.length;n=[...n,l];function u(c){const{scope:p,children:v,...y}=c,w=(p==null?void 0:p[e][a])||s,E=h.useMemo(()=>y,Object.values(y));return k.jsx(w.Provider,{value:E,children:v})}function f(c,p){const v=(p==null?void 0:p[e][a])||s,y=h.useContext(v);if(y)return y;if(l!==void 0)return l;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,f]}const o=()=>{const i=n.map(l=>h.createContext(l));return function(s){const a=(s==null?void 0:s[e])||i;return h.useMemo(()=>({[`__scope${e}`]:{...s,[e]:a}}),[s,a])}};return o.scopeName=e,[r,Ky(o,...t)]}function Ky(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const l=r.reduce((s,{useScope:a,scopeName:u})=>{const c=a(i)[`__scope${u}`];return{...s,...c}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}var ym=h.forwardRef((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(Gy);if(i){const l=i.props.children,s=o.map(a=>a===i?h.Children.count(l)>1?h.Children.only(null):h.isValidElement(l)?l.props.children:null:a);return k.jsx(ya,{...r,ref:t,children:h.isValidElement(l)?h.cloneElement(l,void 0,s):null})}return k.jsx(ya,{...r,ref:t,children:n})});ym.displayName="Slot";var ya=h.forwardRef((e,t)=>{const{children:n,...r}=e;if(h.isValidElement(n)){const o=Xy(n);return h.cloneElement(n,{...Qy(r,n.props),ref:t?vm(t,o):o})}return h.Children.count(n)>1?h.Children.only(null):null});ya.displayName="SlotClone";var wm=({children:e})=>k.jsx(k.Fragment,{children:e});function Gy(e){return h.isValidElement(e)&&e.type===wm}function Qy(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Xy(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Zy=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],bu=Zy.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...l}=r,s=i?ym:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),k.jsx(s,{...l,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Jy(e,t){e&&Vo.flushSync(()=>e.dispatchEvent(t))}function Ko(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function qy(e,t=globalThis==null?void 0:globalThis.document){const n=Ko(e);h.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var e1="DismissableLayer",wa="dismissableLayer.update",t1="dismissableLayer.pointerDownOutside",n1="dismissableLayer.focusOutside",xd,xm=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Sm=h.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:l,onDismiss:s,...a}=e,u=h.useContext(xm),[f,c]=h.useState(null),p=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,v]=h.useState({}),y=Yo(t,N=>c(N)),w=Array.from(u.layers),[E]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=w.indexOf(E),d=f?w.indexOf(f):-1,g=u.layersWithOutsidePointerEventsDisabled.size>0,S=d>=m,C=i1(N=>{const A=N.target,V=[...u.branches].some(D=>D.contains(A));!S||V||(o==null||o(N),l==null||l(N),N.defaultPrevented||s==null||s())},p),T=l1(N=>{const A=N.target;[...u.branches].some(D=>D.contains(A))||(i==null||i(N),l==null||l(N),N.defaultPrevented||s==null||s())},p);return qy(N=>{d===u.layers.size-1&&(r==null||r(N),!N.defaultPrevented&&s&&(N.preventDefault(),s()))},p),h.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(xd=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Sd(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=xd)}},[f,p,n,u]),h.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Sd())},[f,u]),h.useEffect(()=>{const N=()=>v({});return document.addEventListener(wa,N),()=>document.removeEventListener(wa,N)},[]),k.jsx(bu.div,{...a,ref:y,style:{pointerEvents:g?S?"auto":"none":void 0,...e.style},onFocusCapture:Qt(e.onFocusCapture,T.onFocusCapture),onBlurCapture:Qt(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:Qt(e.onPointerDownCapture,C.onPointerDownCapture)})});Sm.displayName=e1;var r1="DismissableLayerBranch",o1=h.forwardRef((e,t)=>{const n=h.useContext(xm),r=h.useRef(null),o=Yo(t,r);return h.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),k.jsx(bu.div,{...e,ref:o})});o1.displayName=r1;function i1(e,t=globalThis==null?void 0:globalThis.document){const n=Ko(e),r=h.useRef(!1),o=h.useRef(()=>{});return h.useEffect(()=>{const i=s=>{if(s.target&&!r.current){let a=function(){Em(t1,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);r.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function l1(e,t=globalThis==null?void 0:globalThis.document){const n=Ko(e),r=h.useRef(!1);return h.useEffect(()=>{const o=i=>{i.target&&!r.current&&Em(n1,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Sd(){const e=new CustomEvent(wa);document.dispatchEvent(e)}function Em(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Jy(o,i):o.dispatchEvent(i)}var xa=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{},s1=bh.useId||(()=>{}),a1=0;function u1(e){const[t,n]=h.useState(s1());return xa(()=>{n(r=>r??String(a1++))},[e]),t?`radix-${t}`:""}const c1=["top","right","bottom","left"],Dt=Math.min,qe=Math.max,sl=Math.round,yi=Math.floor,$n=e=>({x:e,y:e}),d1={left:"right",right:"left",bottom:"top",top:"bottom"},f1={start:"end",end:"start"};function Sa(e,t,n){return qe(e,Dt(t,n))}function rn(e,t){return typeof e=="function"?e(t):e}function on(e){return e.split("-")[0]}function Ur(e){return e.split("-")[1]}function Tu(e){return e==="x"?"y":"x"}function Pu(e){return e==="y"?"height":"width"}function Ln(e){return["top","bottom"].includes(on(e))?"y":"x"}function Ru(e){return Tu(Ln(e))}function p1(e,t,n){n===void 0&&(n=!1);const r=Ur(e),o=Ru(e),i=Pu(o);let l=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=al(l)),[l,al(l)]}function m1(e){const t=al(e);return[Ea(e),t,Ea(t)]}function Ea(e){return e.replace(/start|end/g,t=>f1[t])}function h1(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:l;default:return[]}}function g1(e,t,n,r){const o=Ur(e);let i=h1(on(e),n==="start",r);return o&&(i=i.map(l=>l+"-"+o),t&&(i=i.concat(i.map(Ea)))),i}function al(e){return e.replace(/left|right|bottom|top/g,t=>d1[t])}function v1(e){return{top:0,right:0,bottom:0,left:0,...e}}function Cm(e){return typeof e!="number"?v1(e):{top:e,right:e,bottom:e,left:e}}function ul(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Ed(e,t,n){let{reference:r,floating:o}=e;const i=Ln(t),l=Ru(t),s=Pu(l),a=on(t),u=i==="y",f=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let v;switch(a){case"top":v={x:f,y:r.y-o.height};break;case"bottom":v={x:f,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:c};break;case"left":v={x:r.x-o.width,y:c};break;default:v={x:r.x,y:r.y}}switch(Ur(t)){case"start":v[l]-=p*(n&&u?-1:1);break;case"end":v[l]+=p*(n&&u?-1:1);break}return v}const y1=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,s=i.filter(Boolean),a=await(l.isRTL==null?void 0:l.isRTL(t));let u=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:c}=Ed(u,r,a),p=r,v={},y=0;for(let w=0;w({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:l,elements:s,middlewareData:a}=t,{element:u,padding:f=0}=rn(e,t)||{};if(u==null)return{};const c=Cm(f),p={x:n,y:r},v=Ru(o),y=Pu(v),w=await l.getDimensions(u),E=v==="y",m=E?"top":"left",d=E?"bottom":"right",g=E?"clientHeight":"clientWidth",S=i.reference[y]+i.reference[v]-p[v]-i.floating[y],C=p[v]-i.reference[v],T=await(l.getOffsetParent==null?void 0:l.getOffsetParent(u));let N=T?T[g]:0;(!N||!await(l.isElement==null?void 0:l.isElement(T)))&&(N=s.floating[g]||i.floating[y]);const A=S/2-C/2,V=N/2-w[y]/2-1,D=Dt(c[m],V),Y=Dt(c[d],V),H=D,Q=N-w[y]-Y,P=N/2-w[y]/2+A,R=Sa(H,P,Q),U=!a.arrow&&Ur(o)!=null&&P!==R&&i.reference[y]/2-(PP<=0)){var Y,H;const P=(((Y=i.flip)==null?void 0:Y.index)||0)+1,R=N[P];if(R)return{data:{index:P,overflows:D},reset:{placement:R}};let U=(H=D.filter(j=>j.overflows[0]<=0).sort((j,b)=>j.overflows[1]-b.overflows[1])[0])==null?void 0:H.placement;if(!U)switch(v){case"bestFit":{var Q;const j=(Q=D.filter(b=>{if(T){const _=Ln(b.placement);return _===d||_==="y"}return!0}).map(b=>[b.placement,b.overflows.filter(_=>_>0).reduce((_,$)=>_+$,0)]).sort((b,_)=>b[1]-_[1])[0])==null?void 0:Q[0];j&&(U=j);break}case"initialPlacement":U=s;break}if(o!==U)return{reset:{placement:U}}}return{}}}};function Cd(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function kd(e){return c1.some(t=>e[t]>=0)}const S1=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=rn(e,t);switch(r){case"referenceHidden":{const i=await zo(t,{...o,elementContext:"reference"}),l=Cd(i,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:kd(l)}}}case"escaped":{const i=await zo(t,{...o,altBoundary:!0}),l=Cd(i,n.floating);return{data:{escapedOffsets:l,escaped:kd(l)}}}default:return{}}}}};async function E1(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),l=on(n),s=Ur(n),a=Ln(n)==="y",u=["left","top"].includes(l)?-1:1,f=i&&a?-1:1,c=rn(t,e);let{mainAxis:p,crossAxis:v,alignmentAxis:y}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof y=="number"&&(v=s==="end"?y*-1:y),a?{x:v*f,y:p*u}:{x:p*u,y:v*f}}const C1=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:l,middlewareData:s}=t,a=await E1(t,e);return l===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:l}}}}},k1=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:E=>{let{x:m,y:d}=E;return{x:m,y:d}}},...a}=rn(e,t),u={x:n,y:r},f=await zo(t,a),c=Ln(on(o)),p=Tu(c);let v=u[p],y=u[c];if(i){const E=p==="y"?"top":"left",m=p==="y"?"bottom":"right",d=v+f[E],g=v-f[m];v=Sa(d,v,g)}if(l){const E=c==="y"?"top":"left",m=c==="y"?"bottom":"right",d=y+f[E],g=y-f[m];y=Sa(d,y,g)}const w=s.fn({...t,[p]:v,[c]:y});return{...w,data:{x:w.x-n,y:w.y-r}}}}},N1=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:l}=t,{offset:s=0,mainAxis:a=!0,crossAxis:u=!0}=rn(e,t),f={x:n,y:r},c=Ln(o),p=Tu(c);let v=f[p],y=f[c];const w=rn(s,t),E=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(a){const g=p==="y"?"height":"width",S=i.reference[p]-i.floating[g]+E.mainAxis,C=i.reference[p]+i.reference[g]-E.mainAxis;vC&&(v=C)}if(u){var m,d;const g=p==="y"?"width":"height",S=["top","left"].includes(on(o)),C=i.reference[c]-i.floating[g]+(S&&((m=l.offset)==null?void 0:m[c])||0)+(S?0:E.crossAxis),T=i.reference[c]+i.reference[g]+(S?0:((d=l.offset)==null?void 0:d[c])||0)-(S?E.crossAxis:0);yT&&(y=T)}return{[p]:v,[c]:y}}}},b1=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:l=()=>{},...s}=rn(e,t),a=await zo(t,s),u=on(n),f=Ur(n),c=Ln(n)==="y",{width:p,height:v}=r.floating;let y,w;u==="top"||u==="bottom"?(y=u,w=f===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(w=u,y=f==="end"?"top":"bottom");const E=v-a.top-a.bottom,m=p-a.left-a.right,d=Dt(v-a[y],E),g=Dt(p-a[w],m),S=!t.middlewareData.shift;let C=d,T=g;if(c?T=f||S?Dt(g,m):m:C=f||S?Dt(d,E):E,S&&!f){const A=qe(a.left,0),V=qe(a.right,0),D=qe(a.top,0),Y=qe(a.bottom,0);c?T=p-2*(A!==0||V!==0?A+V:qe(a.left,a.right)):C=v-2*(D!==0||Y!==0?D+Y:qe(a.top,a.bottom))}await l({...t,availableWidth:T,availableHeight:C});const N=await o.getDimensions(i.floating);return p!==N.width||v!==N.height?{reset:{rects:!0}}:{}}}};function Hr(e){return km(e)?(e.nodeName||"").toLowerCase():"#document"}function nt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function sn(e){var t;return(t=(km(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function km(e){return e instanceof Node||e instanceof nt(e).Node}function _t(e){return e instanceof Element||e instanceof nt(e).Element}function jt(e){return e instanceof HTMLElement||e instanceof nt(e).HTMLElement}function Nd(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof nt(e).ShadowRoot}function Go(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=At(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function T1(e){return["table","td","th"].includes(Hr(e))}function Rl(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function _u(e){const t=Au(),n=_t(e)?At(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function P1(e){let t=Mn(e);for(;jt(t)&&!Dr(t);){if(_u(t))return t;if(Rl(t))return null;t=Mn(t)}return null}function Au(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Dr(e){return["html","body","#document"].includes(Hr(e))}function At(e){return nt(e).getComputedStyle(e)}function _l(e){return _t(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Mn(e){if(Hr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Nd(e)&&e.host||sn(e);return Nd(t)?t.host:t}function Nm(e){const t=Mn(e);return Dr(t)?e.ownerDocument?e.ownerDocument.body:e.body:jt(t)&&Go(t)?t:Nm(t)}function Io(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Nm(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),l=nt(o);return i?t.concat(l,l.visualViewport||[],Go(o)?o:[],l.frameElement&&n?Io(l.frameElement):[]):t.concat(o,Io(o,[],n))}function bm(e){const t=At(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=jt(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,s=sl(n)!==i||sl(r)!==l;return s&&(n=i,r=l),{width:n,height:r,$:s}}function Ou(e){return _t(e)?e:e.contextElement}function Pr(e){const t=Ou(e);if(!jt(t))return $n(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=bm(t);let l=(i?sl(n.width):n.width)/r,s=(i?sl(n.height):n.height)/o;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}const R1=$n(0);function Tm(e){const t=nt(e);return!Au()||!t.visualViewport?R1:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function _1(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==nt(e)?!1:t}function qn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Ou(e);let l=$n(1);t&&(r?_t(r)&&(l=Pr(r)):l=Pr(e));const s=_1(i,n,r)?Tm(i):$n(0);let a=(o.left+s.x)/l.x,u=(o.top+s.y)/l.y,f=o.width/l.x,c=o.height/l.y;if(i){const p=nt(i),v=r&&_t(r)?nt(r):r;let y=p,w=y.frameElement;for(;w&&r&&v!==y;){const E=Pr(w),m=w.getBoundingClientRect(),d=At(w),g=m.left+(w.clientLeft+parseFloat(d.paddingLeft))*E.x,S=m.top+(w.clientTop+parseFloat(d.paddingTop))*E.y;a*=E.x,u*=E.y,f*=E.x,c*=E.y,a+=g,u+=S,y=nt(w),w=y.frameElement}}return ul({width:f,height:c,x:a,y:u})}function A1(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",l=sn(r),s=t?Rl(t.floating):!1;if(r===l||s&&i)return n;let a={scrollLeft:0,scrollTop:0},u=$n(1);const f=$n(0),c=jt(r);if((c||!c&&!i)&&((Hr(r)!=="body"||Go(l))&&(a=_l(r)),jt(r))){const p=qn(r);u=Pr(r),f.x=p.x+r.clientLeft,f.y=p.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-a.scrollLeft*u.x+f.x,y:n.y*u.y-a.scrollTop*u.y+f.y}}function O1(e){return Array.from(e.getClientRects())}function Pm(e){return qn(sn(e)).left+_l(e).scrollLeft}function $1(e){const t=sn(e),n=_l(e),r=e.ownerDocument.body,o=qe(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=qe(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+Pm(e);const s=-n.scrollTop;return At(r).direction==="rtl"&&(l+=qe(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:s}}function L1(e,t){const n=nt(e),r=sn(e),o=n.visualViewport;let i=r.clientWidth,l=r.clientHeight,s=0,a=0;if(o){i=o.width,l=o.height;const u=Au();(!u||u&&t==="fixed")&&(s=o.offsetLeft,a=o.offsetTop)}return{width:i,height:l,x:s,y:a}}function M1(e,t){const n=qn(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=jt(e)?Pr(e):$n(1),l=e.clientWidth*i.x,s=e.clientHeight*i.y,a=o*i.x,u=r*i.y;return{width:l,height:s,x:a,y:u}}function bd(e,t,n){let r;if(t==="viewport")r=L1(e,n);else if(t==="document")r=$1(sn(e));else if(_t(t))r=M1(t,n);else{const o=Tm(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return ul(r)}function Rm(e,t){const n=Mn(e);return n===t||!_t(n)||Dr(n)?!1:At(n).position==="fixed"||Rm(n,t)}function D1(e,t){const n=t.get(e);if(n)return n;let r=Io(e,[],!1).filter(s=>_t(s)&&Hr(s)!=="body"),o=null;const i=At(e).position==="fixed";let l=i?Mn(e):e;for(;_t(l)&&!Dr(l);){const s=At(l),a=_u(l);!a&&s.position==="fixed"&&(o=null),(i?!a&&!o:!a&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Go(l)&&!a&&Rm(e,l))?r=r.filter(f=>f!==l):o=s,l=Mn(l)}return t.set(e,r),r}function z1(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const l=[...n==="clippingAncestors"?Rl(t)?[]:D1(t,this._c):[].concat(n),r],s=l[0],a=l.reduce((u,f)=>{const c=bd(t,f,o);return u.top=qe(c.top,u.top),u.right=Dt(c.right,u.right),u.bottom=Dt(c.bottom,u.bottom),u.left=qe(c.left,u.left),u},bd(t,s,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function I1(e){const{width:t,height:n}=bm(e);return{width:t,height:n}}function j1(e,t,n){const r=jt(t),o=sn(t),i=n==="fixed",l=qn(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const a=$n(0);if(r||!r&&!i)if((Hr(t)!=="body"||Go(o))&&(s=_l(t)),r){const c=qn(t,!0,i,t);a.x=c.x+t.clientLeft,a.y=c.y+t.clientTop}else o&&(a.x=Pm(o));const u=l.left+s.scrollLeft-a.x,f=l.top+s.scrollTop-a.y;return{x:u,y:f,width:l.width,height:l.height}}function hs(e){return At(e).position==="static"}function Td(e,t){return!jt(e)||At(e).position==="fixed"?null:t?t(e):e.offsetParent}function _m(e,t){const n=nt(e);if(Rl(e))return n;if(!jt(e)){let o=Mn(e);for(;o&&!Dr(o);){if(_t(o)&&!hs(o))return o;o=Mn(o)}return n}let r=Td(e,t);for(;r&&T1(r)&&hs(r);)r=Td(r,t);return r&&Dr(r)&&hs(r)&&!_u(r)?n:r||P1(e)||n}const F1=async function(e){const t=this.getOffsetParent||_m,n=this.getDimensions,r=await n(e.floating);return{reference:j1(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function B1(e){return At(e).direction==="rtl"}const U1={convertOffsetParentRelativeRectToViewportRelativeRect:A1,getDocumentElement:sn,getClippingRect:z1,getOffsetParent:_m,getElementRects:F1,getClientRects:O1,getDimensions:I1,getScale:Pr,isElement:_t,isRTL:B1};function H1(e,t){let n=null,r;const o=sn(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function l(s,a){s===void 0&&(s=!1),a===void 0&&(a=1),i();const{left:u,top:f,width:c,height:p}=e.getBoundingClientRect();if(s||t(),!c||!p)return;const v=yi(f),y=yi(o.clientWidth-(u+c)),w=yi(o.clientHeight-(f+p)),E=yi(u),d={rootMargin:-v+"px "+-y+"px "+-w+"px "+-E+"px",threshold:qe(0,Dt(1,a))||1};let g=!0;function S(C){const T=C[0].intersectionRatio;if(T!==a){if(!g)return l();T?l(!1,T):r=setTimeout(()=>{l(!1,1e-7)},1e3)}g=!1}try{n=new IntersectionObserver(S,{...d,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,d)}n.observe(e)}return l(!0),i}function V1(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,u=Ou(e),f=o||i?[...u?Io(u):[],...Io(t)]:[];f.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),i&&m.addEventListener("resize",n)});const c=u&&s?H1(u,n):null;let p=-1,v=null;l&&(v=new ResizeObserver(m=>{let[d]=m;d&&d.target===u&&v&&(v.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var g;(g=v)==null||g.observe(t)})),n()}),u&&!a&&v.observe(u),v.observe(t));let y,w=a?qn(e):null;a&&E();function E(){const m=qn(e);w&&(m.x!==w.x||m.y!==w.y||m.width!==w.width||m.height!==w.height)&&n(),w=m,y=requestAnimationFrame(E)}return n(),()=>{var m;f.forEach(d=>{o&&d.removeEventListener("scroll",n),i&&d.removeEventListener("resize",n)}),c==null||c(),(m=v)==null||m.disconnect(),v=null,a&&cancelAnimationFrame(y)}}const W1=C1,Y1=k1,K1=x1,G1=b1,Q1=S1,Pd=w1,X1=N1,Z1=(e,t,n)=>{const r=new Map,o={platform:U1,...n},i={...o.platform,_c:r};return y1(e,t,{...o,platform:i})};var Mi=typeof document<"u"?h.useLayoutEffect:h.useEffect;function cl(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,o;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(!cl(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!cl(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Am(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Rd(e,t){const n=Am(e);return Math.round(t*n)/n}function _d(e){const t=h.useRef(e);return Mi(()=>{t.current=e}),t}function J1(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:l}={},transform:s=!0,whileElementsMounted:a,open:u}=e,[f,c]=h.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,v]=h.useState(r);cl(p,r)||v(r);const[y,w]=h.useState(null),[E,m]=h.useState(null),d=h.useCallback(j=>{j!==T.current&&(T.current=j,w(j))},[]),g=h.useCallback(j=>{j!==N.current&&(N.current=j,m(j))},[]),S=i||y,C=l||E,T=h.useRef(null),N=h.useRef(null),A=h.useRef(f),V=a!=null,D=_d(a),Y=_d(o),H=h.useCallback(()=>{if(!T.current||!N.current)return;const j={placement:t,strategy:n,middleware:p};Y.current&&(j.platform=Y.current),Z1(T.current,N.current,j).then(b=>{const _={...b,isPositioned:!0};Q.current&&!cl(A.current,_)&&(A.current=_,Vo.flushSync(()=>{c(_)}))})},[p,t,n,Y]);Mi(()=>{u===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,c(j=>({...j,isPositioned:!1})))},[u]);const Q=h.useRef(!1);Mi(()=>(Q.current=!0,()=>{Q.current=!1}),[]),Mi(()=>{if(S&&(T.current=S),C&&(N.current=C),S&&C){if(D.current)return D.current(S,C,H);H()}},[S,C,H,D,V]);const P=h.useMemo(()=>({reference:T,floating:N,setReference:d,setFloating:g}),[d,g]),R=h.useMemo(()=>({reference:S,floating:C}),[S,C]),U=h.useMemo(()=>{const j={position:n,left:0,top:0};if(!R.floating)return j;const b=Rd(R.floating,f.x),_=Rd(R.floating,f.y);return s?{...j,transform:"translate("+b+"px, "+_+"px)",...Am(R.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:b,top:_}},[n,s,R.floating,f.x,f.y]);return h.useMemo(()=>({...f,update:H,refs:P,elements:R,floatingStyles:U}),[f,H,P,R,U])}const q1=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Pd({element:r.current,padding:o}).fn(n):{}:r?Pd({element:r,padding:o}).fn(n):{}}}},ew=(e,t)=>({...W1(e),options:[e,t]}),tw=(e,t)=>({...Y1(e),options:[e,t]}),nw=(e,t)=>({...X1(e),options:[e,t]}),rw=(e,t)=>({...K1(e),options:[e,t]}),ow=(e,t)=>({...G1(e),options:[e,t]}),iw=(e,t)=>({...Q1(e),options:[e,t]}),lw=(e,t)=>({...q1(e),options:[e,t]});function sw(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function aw(...e){return t=>e.forEach(n=>sw(n,t))}var Om=h.forwardRef((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(cw);if(i){const l=i.props.children,s=o.map(a=>a===i?h.Children.count(l)>1?h.Children.only(null):h.isValidElement(l)?l.props.children:null:a);return k.jsx(Ca,{...r,ref:t,children:h.isValidElement(l)?h.cloneElement(l,void 0,s):null})}return k.jsx(Ca,{...r,ref:t,children:n})});Om.displayName="Slot";var Ca=h.forwardRef((e,t)=>{const{children:n,...r}=e;if(h.isValidElement(n)){const o=fw(n);return h.cloneElement(n,{...dw(r,n.props),ref:t?aw(t,o):o})}return h.Children.count(n)>1?h.Children.only(null):null});Ca.displayName="SlotClone";var uw=({children:e})=>k.jsx(k.Fragment,{children:e});function cw(e){return h.isValidElement(e)&&e.type===uw}function dw(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function fw(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var pw=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],mw=pw.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...l}=r,s=i?Om:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),k.jsx(s,{...l,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),hw="Arrow",$m=h.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return k.jsx(mw.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:k.jsx("polygon",{points:"0,0 30,0 15,10"})})});$m.displayName=hw;var gw=$m;function vw(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Lm(...e){return t=>e.forEach(n=>vw(n,t))}function Mm(...e){return h.useCallback(Lm(...e),e)}function yw(e,t=[]){let n=[];function r(i,l){const s=h.createContext(l),a=n.length;n=[...n,l];function u(c){const{scope:p,children:v,...y}=c,w=(p==null?void 0:p[e][a])||s,E=h.useMemo(()=>y,Object.values(y));return k.jsx(w.Provider,{value:E,children:v})}function f(c,p){const v=(p==null?void 0:p[e][a])||s,y=h.useContext(v);if(y)return y;if(l!==void 0)return l;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,f]}const o=()=>{const i=n.map(l=>h.createContext(l));return function(s){const a=(s==null?void 0:s[e])||i;return h.useMemo(()=>({[`__scope${e}`]:{...s,[e]:a}}),[s,a])}};return o.scopeName=e,[r,ww(o,...t)]}function ww(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const l=r.reduce((s,{useScope:a,scopeName:u})=>{const c=a(i)[`__scope${u}`];return{...s,...c}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}var Dm=h.forwardRef((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(Sw);if(i){const l=i.props.children,s=o.map(a=>a===i?h.Children.count(l)>1?h.Children.only(null):h.isValidElement(l)?l.props.children:null:a);return k.jsx(ka,{...r,ref:t,children:h.isValidElement(l)?h.cloneElement(l,void 0,s):null})}return k.jsx(ka,{...r,ref:t,children:n})});Dm.displayName="Slot";var ka=h.forwardRef((e,t)=>{const{children:n,...r}=e;if(h.isValidElement(n)){const o=Cw(n);return h.cloneElement(n,{...Ew(r,n.props),ref:t?Lm(t,o):o})}return h.Children.count(n)>1?h.Children.only(null):null});ka.displayName="SlotClone";var xw=({children:e})=>k.jsx(k.Fragment,{children:e});function Sw(e){return h.isValidElement(e)&&e.type===xw}function Ew(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Cw(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var kw=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],zm=kw.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...l}=r,s=i?Dm:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),k.jsx(s,{...l,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Nw(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}var Na=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{};function bw(e){const[t,n]=h.useState(void 0);return Na(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let l,s;if("borderBoxSize"in i){const a=i.borderBoxSize,u=Array.isArray(a)?a[0]:a;l=u.inlineSize,s=u.blockSize}else l=e.offsetWidth,s=e.offsetHeight;n({width:l,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var $u="Popper",[Im,jm]=yw($u),[Tw,Fm]=Im($u),Bm=e=>{const{__scopePopper:t,children:n}=e,[r,o]=h.useState(null);return k.jsx(Tw,{scope:t,anchor:r,onAnchorChange:o,children:n})};Bm.displayName=$u;var Um="PopperAnchor",Hm=h.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Fm(Um,n),l=h.useRef(null),s=Mm(t,l);return h.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||l.current)}),r?null:k.jsx(zm.div,{...o,ref:s})});Hm.displayName=Um;var Lu="PopperContent",[Pw,Rw]=Im(Lu),Vm=h.forwardRef((e,t)=>{var we,Me,wt,Be,st,be;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:l=0,arrowPadding:s=0,avoidCollisions:a=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:c="partial",hideWhenDetached:p=!1,updatePositionStrategy:v="optimized",onPlaced:y,...w}=e,E=Fm(Lu,n),[m,d]=h.useState(null),g=Mm(t,xt=>d(xt)),[S,C]=h.useState(null),T=bw(S),N=(T==null?void 0:T.width)??0,A=(T==null?void 0:T.height)??0,V=r+(i!=="center"?"-"+i:""),D=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},Y=Array.isArray(u)?u:[u],H=Y.length>0,Q={padding:D,boundary:Y.filter(Aw),altBoundary:H},{refs:P,floatingStyles:R,placement:U,isPositioned:j,middlewareData:b}=J1({strategy:"fixed",placement:V,whileElementsMounted:(...xt)=>V1(...xt,{animationFrame:v==="always"}),elements:{reference:E.anchor},middleware:[ew({mainAxis:o+A,alignmentAxis:l}),a&&tw({mainAxis:!0,crossAxis:!1,limiter:c==="partial"?nw():void 0,...Q}),a&&rw({...Q}),ow({...Q,apply:({elements:xt,rects:an,availableWidth:he,availableHeight:Qe})=>{const{width:un,height:nr}=an.reference,at=xt.floating.style;at.setProperty("--radix-popper-available-width",`${he}px`),at.setProperty("--radix-popper-available-height",`${Qe}px`),at.setProperty("--radix-popper-anchor-width",`${un}px`),at.setProperty("--radix-popper-anchor-height",`${nr}px`)}}),S&&lw({element:S,padding:s}),Ow({arrowWidth:N,arrowHeight:A}),p&&iw({strategy:"referenceHidden",...Q})]}),[_,$]=Km(U),L=Nw(y);Na(()=>{j&&(L==null||L())},[j,L]);const z=(we=b.arrow)==null?void 0:we.x,J=(Me=b.arrow)==null?void 0:Me.y,W=((wt=b.arrow)==null?void 0:wt.centerOffset)!==0,[G,X]=h.useState();return Na(()=>{m&&X(window.getComputedStyle(m).zIndex)},[m]),k.jsx("div",{ref:P.setFloating,"data-radix-popper-content-wrapper":"",style:{...R,transform:j?R.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:G,"--radix-popper-transform-origin":[(Be=b.transformOrigin)==null?void 0:Be.x,(st=b.transformOrigin)==null?void 0:st.y].join(" "),...((be=b.hide)==null?void 0:be.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:k.jsx(Pw,{scope:n,placedSide:_,onArrowChange:C,arrowX:z,arrowY:J,shouldHideArrow:W,children:k.jsx(zm.div,{"data-side":_,"data-align":$,...w,ref:g,style:{...w.style,animation:j?void 0:"none"}})})})});Vm.displayName=Lu;var Wm="PopperArrow",_w={top:"bottom",right:"left",bottom:"top",left:"right"},Ym=h.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=Rw(Wm,r),l=_w[i.placedSide];return k.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:k.jsx(gw,{...o,ref:n,style:{...o.style,display:"block"}})})});Ym.displayName=Wm;function Aw(e){return e!==null}var Ow=e=>({name:"transformOrigin",options:e,fn(t){var E,m,d;const{placement:n,rects:r,middlewareData:o}=t,l=((E=o.arrow)==null?void 0:E.centerOffset)!==0,s=l?0:e.arrowWidth,a=l?0:e.arrowHeight,[u,f]=Km(n),c={start:"0%",center:"50%",end:"100%"}[f],p=(((m=o.arrow)==null?void 0:m.x)??0)+s/2,v=(((d=o.arrow)==null?void 0:d.y)??0)+a/2;let y="",w="";return u==="bottom"?(y=l?c:`${p}px`,w=`${-a}px`):u==="top"?(y=l?c:`${p}px`,w=`${r.floating.height+a}px`):u==="right"?(y=`${-a}px`,w=l?c:`${v}px`):u==="left"&&(y=`${r.floating.width+a}px`,w=l?c:`${v}px`),{data:{x:y,y:w}}}});function Km(e){const[t,n="center"]=e.split("-");return[t,n]}var $w=Bm,Lw=Hm,Mw=Vm,Dw=Ym;function zw(e,t){return h.useReducer((n,r)=>t[n][r]??n,e)}var Gm=e=>{const{present:t,children:n}=e,r=Iw(t),o=typeof n=="function"?n({present:r.isPresent}):h.Children.only(n),i=Yo(r.ref,jw(o));return typeof n=="function"||r.isPresent?h.cloneElement(o,{ref:i}):null};Gm.displayName="Presence";function Iw(e){const[t,n]=h.useState(),r=h.useRef({}),o=h.useRef(e),i=h.useRef("none"),l=e?"mounted":"unmounted",[s,a]=zw(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const u=wi(r.current);i.current=s==="mounted"?u:"none"},[s]),xa(()=>{const u=r.current,f=o.current;if(f!==e){const p=i.current,v=wi(u);e?a("MOUNT"):v==="none"||(u==null?void 0:u.display)==="none"?a("UNMOUNT"):a(f&&p!==v?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),xa(()=>{if(t){const u=c=>{const v=wi(r.current).includes(c.animationName);c.target===t&&v&&Vo.flushSync(()=>a("ANIMATION_END"))},f=c=>{c.target===t&&(i.current=wi(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:h.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function wi(e){return(e==null?void 0:e.animationName)||"none"}function jw(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Fw({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=Bw({defaultProp:t,onChange:n}),i=e!==void 0,l=i?e:r,s=Ko(n),a=h.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[i,e,o,s]);return[l,a]}function Bw({defaultProp:e,onChange:t}){const n=h.useState(e),[r]=n,o=h.useRef(r),i=Ko(t);return h.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}function Uw(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Hw(...e){return t=>e.forEach(n=>Uw(n,t))}var Qm=h.forwardRef((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(Ww);if(i){const l=i.props.children,s=o.map(a=>a===i?h.Children.count(l)>1?h.Children.only(null):h.isValidElement(l)?l.props.children:null:a);return k.jsx(ba,{...r,ref:t,children:h.isValidElement(l)?h.cloneElement(l,void 0,s):null})}return k.jsx(ba,{...r,ref:t,children:n})});Qm.displayName="Slot";var ba=h.forwardRef((e,t)=>{const{children:n,...r}=e;if(h.isValidElement(n)){const o=Kw(n);return h.cloneElement(n,{...Yw(r,n.props),ref:t?Hw(t,o):o})}return h.Children.count(n)>1?h.Children.only(null):null});ba.displayName="SlotClone";var Vw=({children:e})=>k.jsx(k.Fragment,{children:e});function Ww(e){return h.isValidElement(e)&&e.type===Vw}function Yw(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Kw(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Gw=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Qw=Gw.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...l}=r,s=i?Qm:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),k.jsx(s,{...l,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),Xw="VisuallyHidden",Xm=h.forwardRef((e,t)=>k.jsx(Qw.span,{...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}}));Xm.displayName=Xw;var Zw=Xm,[Al,kx]=Yy("Tooltip",[jm]),Ol=jm(),Zm="TooltipProvider",Jw=700,Ta="tooltip.open",[qw,Mu]=Al(Zm),Jm=e=>{const{__scopeTooltip:t,delayDuration:n=Jw,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,[l,s]=h.useState(!0),a=h.useRef(!1),u=h.useRef(0);return h.useEffect(()=>{const f=u.current;return()=>window.clearTimeout(f)},[]),k.jsx(qw,{scope:t,isOpenDelayed:l,delayDuration:n,onOpen:h.useCallback(()=>{window.clearTimeout(u.current),s(!1)},[]),onClose:h.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>s(!0),r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:h.useCallback(f=>{a.current=f},[]),disableHoverableContent:o,children:i})};Jm.displayName=Zm;var $l="Tooltip",[ex,Ll]=Al($l),qm=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:i,disableHoverableContent:l,delayDuration:s}=e,a=Mu($l,e.__scopeTooltip),u=Ol(t),[f,c]=h.useState(null),p=u1(),v=h.useRef(0),y=l??a.disableHoverableContent,w=s??a.delayDuration,E=h.useRef(!1),[m=!1,d]=Fw({prop:r,defaultProp:o,onChange:N=>{N?(a.onOpen(),document.dispatchEvent(new CustomEvent(Ta))):a.onClose(),i==null||i(N)}}),g=h.useMemo(()=>m?E.current?"delayed-open":"instant-open":"closed",[m]),S=h.useCallback(()=>{window.clearTimeout(v.current),E.current=!1,d(!0)},[d]),C=h.useCallback(()=>{window.clearTimeout(v.current),d(!1)},[d]),T=h.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>{E.current=!0,d(!0)},w)},[w,d]);return h.useEffect(()=>()=>window.clearTimeout(v.current),[]),k.jsx($w,{...u,children:k.jsx(ex,{scope:t,contentId:p,open:m,stateAttribute:g,trigger:f,onTriggerChange:c,onTriggerEnter:h.useCallback(()=>{a.isOpenDelayed?T():S()},[a.isOpenDelayed,T,S]),onTriggerLeave:h.useCallback(()=>{y?C():window.clearTimeout(v.current)},[C,y]),onOpen:S,onClose:C,disableHoverableContent:y,children:n})})};qm.displayName=$l;var Pa="TooltipTrigger",eh=h.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Ll(Pa,n),i=Mu(Pa,n),l=Ol(n),s=h.useRef(null),a=Yo(t,s,o.onTriggerChange),u=h.useRef(!1),f=h.useRef(!1),c=h.useCallback(()=>u.current=!1,[]);return h.useEffect(()=>()=>document.removeEventListener("pointerup",c),[c]),k.jsx(Lw,{asChild:!0,...l,children:k.jsx(bu.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:a,onPointerMove:Qt(e.onPointerMove,p=>{p.pointerType!=="touch"&&!f.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),f.current=!0)}),onPointerLeave:Qt(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:Qt(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",c,{once:!0})}),onFocus:Qt(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:Qt(e.onBlur,o.onClose),onClick:Qt(e.onClick,o.onClose)})})});eh.displayName=Pa;var tx="TooltipPortal",[Nx,nx]=Al(tx,{forceMount:void 0}),zr="TooltipContent",th=h.forwardRef((e,t)=>{const n=nx(zr,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,l=Ll(zr,e.__scopeTooltip);return k.jsx(Gm,{present:r||l.open,children:l.disableHoverableContent?k.jsx(nh,{side:o,...i,ref:t}):k.jsx(rx,{side:o,...i,ref:t})})}),rx=h.forwardRef((e,t)=>{const n=Ll(zr,e.__scopeTooltip),r=Mu(zr,e.__scopeTooltip),o=h.useRef(null),i=Yo(t,o),[l,s]=h.useState(null),{trigger:a,onClose:u}=n,f=o.current,{onPointerInTransitChange:c}=r,p=h.useCallback(()=>{s(null),c(!1)},[c]),v=h.useCallback((y,w)=>{const E=y.currentTarget,m={x:y.clientX,y:y.clientY},d=sx(m,E.getBoundingClientRect()),g=ax(m,d),S=ux(w.getBoundingClientRect()),C=dx([...g,...S]);s(C),c(!0)},[c]);return h.useEffect(()=>()=>p(),[p]),h.useEffect(()=>{if(a&&f){const y=E=>v(E,f),w=E=>v(E,a);return a.addEventListener("pointerleave",y),f.addEventListener("pointerleave",w),()=>{a.removeEventListener("pointerleave",y),f.removeEventListener("pointerleave",w)}}},[a,f,v,p]),h.useEffect(()=>{if(l){const y=w=>{const E=w.target,m={x:w.clientX,y:w.clientY},d=(a==null?void 0:a.contains(E))||(f==null?void 0:f.contains(E)),g=!cx(m,l);d?p():g&&(p(),u())};return document.addEventListener("pointermove",y),()=>document.removeEventListener("pointermove",y)}},[a,f,l,u,p]),k.jsx(nh,{...e,ref:i})}),[ox,ix]=Al($l,{isInside:!1}),nh=h.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:l,...s}=e,a=Ll(zr,n),u=Ol(n),{onClose:f}=a;return h.useEffect(()=>(document.addEventListener(Ta,f),()=>document.removeEventListener(Ta,f)),[f]),h.useEffect(()=>{if(a.trigger){const c=p=>{const v=p.target;v!=null&&v.contains(a.trigger)&&f()};return window.addEventListener("scroll",c,{capture:!0}),()=>window.removeEventListener("scroll",c,{capture:!0})}},[a.trigger,f]),k.jsx(Sm,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:c=>c.preventDefault(),onDismiss:f,children:k.jsxs(Mw,{"data-state":a.stateAttribute,...u,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[k.jsx(wm,{children:r}),k.jsx(ox,{scope:n,isInside:!0,children:k.jsx(Zw,{id:a.contentId,role:"tooltip",children:o||r})})]})})});th.displayName=zr;var rh="TooltipArrow",lx=h.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Ol(n);return ix(rh,n).isInside?null:k.jsx(Dw,{...o,...r,ref:t})});lx.displayName=rh;function sx(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function ax(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function ux(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function cx(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,l=t.length-1;ir!=f>r&&n<(u-s)*(r-a)/(f-a)+s&&(o=!o)}return o}function dx(e){const t=e.slice();return t.sort((n,r)=>n.xr.x?1:n.yr.y?1:0),fx(t)}function fx(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r=2;){const i=t[t.length-1],l=t[t.length-2];if((i.x-l.x)*(o.y-l.y)>=(i.y-l.y)*(o.x-l.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],l=n[n.length-2];if((i.x-l.x)*(o.y-l.y)>=(i.y-l.y)*(o.x-l.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var px=Jm,mx=qm,hx=eh,oh=th;const gs=px,vs=mx,ys=hx,Di=h.forwardRef(({className:e,sideOffset:t=4,...n},r)=>k.jsx(oh,{ref:r,sideOffset:t,className:ku("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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",e),...n}));Di.displayName=oh.displayName;function gx(){const[e,t]=h.useState(null),[n,r]=h.useState(!1),[o,i]=h.useState(0),[l,s]=h.useState(100),[a,u]=h.useState(100),[f,c]=h.useState(255),[p,v]=h.useState(0),[y,w]=h.useState(0),[E,m]=h.useState("#FF0000"),d=(P,R,U)=>`#${((1<<24)+(P<<16)+(R<<8)+U).toString(16).slice(1)}`;h.useEffect(()=>{localStorage.removeItem("uploadedImage")},[]),h.useEffect(()=>{const P=localStorage.getItem("uploadedImage");P&&(t(P),g(P))},[n]);const g=P=>{const R=new Image;R.src=P,R.onload=()=>{const U=document.createElement("canvas"),j=U.getContext("2d");U.width=R.width,U.height=R.height,j.drawImage(R,0,0,R.width,R.height);const _=j.getImageData(0,0,R.width,R.height).data,$=[];for(let G=0;G<_.length;G+=4){const X=_[G],we=_[G+1],Me=_[G+2];if(_[G+3]>0){const Be=d(X,we,Me);$.push(Be)}}const L={};$.forEach(G=>{G in L?L[G]+=1:L[G]=1});const J=Object.keys(L).sort((G,X)=>L[X]-L[G])[0],W=T(J);N(W.r,W.g,W.b)}},S=P=>{const R=P.target,U=document.createElement("canvas"),j=U.getContext("2d");U.width=R.width,U.height=R.height,j.drawImage(R,0,0,R.width,R.height);const b=R.getBoundingClientRect(),_=R.width/b.width,$=R.height/b.height,L=(P.clientX-b.left)*_,z=(P.clientY-b.top)*$,J=j.getImageData(L,z,1,1).data,[W,G,X]=J;c(W),v(G),w(X),m(d(W,G,X));const we=N(W,G,X);i(we.h),s(we.s),u(we.l),dt.success("Color picked from image",{action:{label:"Close",onClick:()=>dt.dismiss()}})},C=(P,R,U)=>{P/=360,R/=100,U/=100;let j,b,_;if(R===0)j=b=_=U;else{const $=(J,W,G)=>(G<0&&(G+=1),G>1&&(G-=1),G<.16666666666666666?J+(W-J)*6*G:G<.5?W:G<.6666666666666666?J+(W-J)*(.6666666666666666-G)*6:J),L=U<.5?U*(1+R):U+R-U*R,z=2*U-L;j=$(z,L,P+1/3),b=$(z,L,P),_=$(z,L,P-1/3)}return{r:Math.round(j*255),g:Math.round(b*255),b:Math.round(_*255)}},T=P=>{const R=P.replace(/#/,"").match(/.{1,2}/g);return{r:parseInt(R[0],16),g:parseInt(R[1],16),b:parseInt(R[2],16)}},N=(P,R,U)=>{P/=255,R/=255,U/=255;const j=Math.max(P,R,U),b=Math.min(P,R,U);let _,$,L=(j+b)/2;if(j===b)_=$=0;else{const z=j-b;switch($=L>.5?z/(2-j-b):z/(j+b),j){case P:_=(R-U)/z+(Rdt.dismiss()}})}function V(){navigator.clipboard.writeText(E),dt.success("Copied HEX value to clipboard",{action:{label:"Close",onClick:()=>dt.dismiss()}})}function D(){navigator.clipboard.writeText(`${o}°, ${l}%, ${a}%`),dt.success("Copied HSL value to clipboard",{action:{label:"Close",onClick:()=>dt.dismiss()}})}const Y=P=>{i(P);const R=C(P,l,a);c(R.r),v(R.g),w(R.b),m(d(R.r,R.g,R.b))},H=P=>{s(P);const R=C(o,P,a);c(R.r),v(R.g),w(R.b),m(d(R.r,R.g,R.b))},Q=P=>{u(P);const R=C(o,l,P);c(R.r),v(R.g),w(R.b),m(d(R.r,R.g,R.b))};return n?k.jsxs("div",{className:"flex flex-col items-center justify-center p-4 h-screen bg-gray-100 dark:bg-gray-950 ",children:[k.jsx(om,{}),k.jsx("div",{className:"max-w-3xl w-full bg-white dark:bg-gray-900 rounded-lg shadow-lg overflow-hidden",style:{minHeight:"300px",minWidth:"700px"},children:k.jsxs("div",{className:"grid grid-cols-2 gap-6 p-6",children:[k.jsxs("div",{className:"relative flex justify-center items-center h-full",children:[k.jsx("img",{alt:"Uploaded Image",className:"w-full h-full object-cover rounded-lg",height:500,src:"/placeholder.svg",style:{aspectRatio:"500/500",objectFit:"cover"},width:500}),k.jsx("div",{className:"absolute inset-0 flex items-center justify-center border-black",style:{userSelect:"none",overflow:"hidden",scrollbarWidth:"none"},children:k.jsx("div",{className:"max-w-full max-h-full relative bg-black dark:bg-white rounded-lg border-black shadow-lg object-cover content-center overflow-auto",style:{aspectRatio:"500/500",objectFit:"cover",scrollbarWidth:"none"},children:e!==null?k.jsx("img",{src:e,onClick:S,alt:"Uploaded Image",className:"object-contain place-self-center"}):k.jsx(vx,{className:"w-6 h-6 text-gray-500 dark:text-gray-400"})})})]}),k.jsxs("div",{className:"flex flex-col gap-6",children:[k.jsxs("div",{className:"flex items-center gap-4",children:[k.jsx("div",{className:"w-16 h-16 rounded-full border-4 border-gray-200 dark:border-gray-800 flex items-center justify-center",children:k.jsx("div",{className:"w-10 h-10 rounded-full",style:{backgroundColor:d(f,p,y)}})}),k.jsxs("div",{className:"flex-1 grid gap-1",children:[k.jsx("div",{className:"w-20 text-sm font-medium text-gray-500 dark:text-gray-400",children:"HEX"}),k.jsxs("div",{className:"flex items-center gap-4",children:[k.jsx("div",{className:"text-lg font-semibold text-gray-900 dark:text-gray-50",children:E}),k.jsx(gs,{children:k.jsxs(vs,{children:[k.jsx(ys,{children:k.jsx(Oi,{variant:"ghost",onClick:V,className:"max-h-12 max-w-12",children:k.jsx(yx,{className:"w-4 h-4 text-gray-500 dark:text-gray-400"})})}),k.jsx(Di,{children:k.jsx("span",{className:"text-sm text-muted-foreground",children:"Copy HEX"})})]})})]})]})]}),k.jsxs("div",{className:"grid gap-4",children:[k.jsxs("div",{className:"flex items-center gap-4",children:[k.jsx("div",{className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"Hue"}),k.jsx(Li,{className:"flex-1",value:[o],max:360,step:1,onValueChange:P=>Y(P)}),k.jsxs("div",{className:"w-16 text-right text-sm font-medium text-gray-900 dark:text-gray-50",children:[o,"°"]})]}),k.jsxs("div",{className:"flex items-center gap-4",children:[k.jsx("div",{className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"Saturation"}),k.jsx(Li,{className:"flex-1",value:[l],max:100,step:1,onValueChange:P=>H(P)}),k.jsxs("div",{className:"w-16 text-right text-sm font-medium text-gray-900 dark:text-gray-50",children:[l,"%"]})]}),k.jsxs("div",{className:"flex items-center gap-4",children:[k.jsx("div",{className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"Brightness"}),k.jsx(Li,{className:"flex-1",value:[a],max:100,step:1,onValueChange:P=>Q(P)}),k.jsxs("div",{className:"w-16 text-right text-sm font-medium text-gray-900 dark:text-gray-50",children:[a,"%"]})]})]}),k.jsxs("div",{className:"grid gap-2",children:[k.jsxs("div",{className:"flex items-center gap-4",children:[k.jsx(gs,{children:k.jsxs(vs,{children:[k.jsx(ys,{children:k.jsx(Oi,{variant:"ghost",onClick:A,className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"RGB"})}),k.jsx(Di,{children:k.jsx("span",{className:"text-sm text-muted-foreground",children:"Copy RGB"})})]})}),k.jsxs("div",{className:"flex-1 text-lg font-semibold text-gray-900 dark:text-gray-50",children:[f,", ",p,", ",y]})]}),k.jsxs("div",{className:"flex items-center gap-4",children:[k.jsx(gs,{children:k.jsxs(vs,{children:[k.jsx(ys,{children:k.jsx(Oi,{variant:"ghost",onClick:D,className:"w-16 text-right text-sm font-medium text-gray-500 dark:text-gray-400",children:"HSL"})}),k.jsx(Di,{children:k.jsx("span",{className:"text-sm text-muted-foreground",children:"Copy HSL"})})]})}),k.jsxs("div",{className:"flex-1 text-lg font-semibold text-gray-900 dark:text-gray-50",children:[o,"°, ",l,"%, ",a,"%"]})]})]})]})]})})]}):k.jsx(dy,{setImage:t,setImageUploaded:r,image:e,imageUploaded:n})}function vx(e){return k.jsxs("svg",{...e,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",children:[k.jsx("path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z"}),k.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}function yx(e){return k.jsxs("svg",{...e,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 115.77 122.88",style:{enableBackground:"new 0 0 115.77 122.88"},xmlSpace:"preserve",children:[k.jsx("style",{type:"text/css",children:".st0{fill-rule:evenodd;clip-rule:evenodd;}"}),k.jsx("g",{children:k.jsx("path",{className:"st0",d:"M89.62,13.96v7.73h12.19h0.01v0.02c3.85,0.01,7.34,1.57,9.86,4.1c2.5,2.51,4.06,5.98,4.07,9.82h0.02v0.02 v73.27v0.01h-0.02c-0.01,3.84-1.57,7.33-4.1,9.86c-2.51,2.5-5.98,4.06-9.82,4.07v0.02h-0.02h-61.7H40.1v-0.02 c-3.84-0.01-7.34-1.57-9.86-4.1c-2.5-2.51-4.06-5.98-4.07-9.82h-0.02v-0.02V92.51H13.96h-0.01v-0.02c-3.84-0.01-7.34-1.57-9.86-4.1 c-2.5-2.51-4.06-5.98-4.07-9.82H0v-0.02V13.96v-0.01h0.02c0.01-3.85,1.58-7.34,4.1-9.86c2.51-2.5,5.98-4.06,9.82-4.07V0h0.02h61.7 h0.01v0.02c3.85,0.01,7.34,1.57,9.86,4.1c2.5,2.51,4.06,5.98,4.07,9.82h0.02V13.96L89.62,13.96z M79.04,21.69v-7.73v-0.02h0.02 c0-0.91-0.39-1.75-1.01-2.37c-0.61-0.61-1.46-1-2.37-1v0.02h-0.01h-61.7h-0.02v-0.02c-0.91,0-1.75,0.39-2.37,1.01 c-0.61,0.61-1,1.46-1,2.37h0.02v0.01v64.59v0.02h-0.02c0,0.91,0.39,1.75,1.01,2.37c0.61,0.61,1.46,1,2.37,1v-0.02h0.01h12.19V35.65 v-0.01h0.02c0.01-3.85,1.58-7.34,4.1-9.86c2.51-2.5,5.98-4.06,9.82-4.07v-0.02h0.02H79.04L79.04,21.69z M105.18,108.92V35.65v-0.02 h0.02c0-0.91-0.39-1.75-1.01-2.37c-0.61-0.61-1.46-1-2.37-1v0.02h-0.01h-61.7h-0.02v-0.02c-0.91,0-1.75,0.39-2.37,1.01 c-0.61,0.61-1,1.46-1,2.37h0.02v0.01v73.27v0.02h-0.02c0,0.91,0.39,1.75,1.01,2.37c0.61,0.61,1.46,1,2.37,1v-0.02h0.01h61.7h0.02 v0.02c0.91,0,1.75-0.39,2.37-1.01c0.61-0.61,1-1.46,1-2.37h-0.02V108.92L105.18,108.92z"})})]})}function wx(){return k.jsx("div",{className:"flex min-h-[100dvh] flex-col items-center justify-center bg-background px-4 py-12 sm:px-6 lg:px-8",children:k.jsxs("div",{className:"mx-auto max-w-md text-center",children:[k.jsx(xx,{className:"mx-auto h-12 w-12 text-primary"}),k.jsx("h1",{className:"mt-4 text-3xl font-bold tracking-tight text-foreground sm:text-4xl",children:"Sorry, this website is only available for desktop"}),k.jsx("p",{className:"mt-4 text-muted-foreground",children:"We apologize for the inconvenience, but our website is currently optimized for desktop devices only. Please try accessing this site from a computer or laptop."})]})})}function xx(e){return k.jsxs("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"blue",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[k.jsx("rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2"}),k.jsx("path",{d:"M12 18h.01"})]})}const Sx=()=>{const e=window.navigator.userAgent.toLowerCase(),t=/mobile|android|iphone|ipad|tablet|touch|samsung|fridge/i.test(e),n=window.innerWidth<=1024;return!t&&!n};function Ex(){const[e,t]=M.useState(null);return M.useEffect(()=>{t(Sx())},[]),e===!0?k.jsx(gx,{}):k.jsx(wx,{})}ws.createRoot(document.getElementById("root")).render(k.jsx(M.StrictMode,{children:k.jsx(Ex,{})})); diff --git a/assets/index-Witpia2U.css b/assets/index-Witpia2U.css new file mode 100644 index 0000000..dd9c711 --- /dev/null +++ b/assets/index-Witpia2U.css @@ -0,0 +1 @@ +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background: 0 0% 100%;--foreground: 222.2 84% 4.9%;--card: 0 0% 100%;--card-foreground: 222.2 84% 4.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 84% 4.9%;--primary: 222.2 47.4% 11.2%;--primary-foreground: 210 40% 98%;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 210 40% 98%;--border: 214.3 31.8% 91.4%;--input: 214.3 31.8% 91.4%;--ring: 222.2 84% 4.9%;--radius: .5rem}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}*,:before,: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 / .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: }::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 / .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: }.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.aspect-video{aspect-ratio:16 / 9}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-9{height:2.25rem}.h-full{height:100%}.h-screen{height:100vh}.max-h-12{max-height:3rem}.max-h-full{max-height:100%}.min-h-\[100dvh\]{min-height:100dvh}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-20{width:5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-full{width:100%}.max-w-12{max-width:3rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-full{max-width:100%}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.grow{flex-grow:1}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.content-center{align-content:center}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.place-self-center{place-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.border{border-width:1px}.border-2{border-width:2px}.border-4{border-width:4px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-input{border-color:hsl(var(--input))}.border-primary{border-color:hsl(var(--primary))}.bg-background{background-color:hsl(var(--background))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.text-center{text-align:center}.text-right{text-align:right}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.tracking-tight{letter-spacing:-.025em}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.underline-offset-4{text-underline-offset:4px}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(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)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(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)}.outline{outline-style:solid}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}@keyframes enter{0%{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))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:underline:hover{text-decoration-line:underline}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.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)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(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)}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.dark\:border-gray-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.dark\:bg-gray-950:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}.dark\:bg-white:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.dark\:text-gray-50:is(.dark *){--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}}@media (min-width: 1024px){.lg\:px-8{padding-left:2rem;padding-right:2rem}} diff --git a/index.html b/index.html index 7490552..e394c4f 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,8 @@ Tint Tracker - - + +