From 39152294431d2d1b1126018a92872c230d1f992f Mon Sep 17 00:00:00 2001 From: mjarkk Date: Sun, 30 Jun 2024 22:21:33 +0200 Subject: [PATCH] update dist --- .../{index-BSwchafJ.js => index-Cqm0kIT0.js} | 46 ++++++++++--------- ...{index-DXF2CrUc.css => index-Dkiq1rZy.css} | 2 +- dist/index.html | 4 +- 3 files changed, 27 insertions(+), 25 deletions(-) rename dist/assets/{index-BSwchafJ.js => index-Cqm0kIT0.js} (58%) rename dist/assets/{index-DXF2CrUc.css => index-Dkiq1rZy.css} (90%) diff --git a/dist/assets/index-BSwchafJ.js b/dist/assets/index-Cqm0kIT0.js similarity index 58% rename from dist/assets/index-BSwchafJ.js rename to dist/assets/index-Cqm0kIT0.js index 0f65a4c..0510c46 100644 --- a/dist/assets/index-BSwchafJ.js +++ b/dist/assets/index-Cqm0kIT0.js @@ -1,4 +1,4 @@ -var zm=Object.defineProperty;var Fm=(e,t,n)=>t in e?zm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Fo=(e,t,n)=>(Fm(e,typeof t!="symbol"?t+"":t,n),n);function Um(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 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 hs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yd={exports:{}},ql={},wd={exports:{}},V={};/** +var Um=Object.defineProperty;var Bm=(e,t,n)=>t in e?Um(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Fo=(e,t,n)=>(Bm(e,typeof t!="symbol"?t+"":t,n),n);function Hm(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 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 gs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var xd={exports:{}},ei={},Sd={exports:{}},V={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var zm=Object.defineProperty;var Fm=(e,t,n)=>t in e?zm(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Oo=Symbol.for("react.element"),Bm=Symbol.for("react.portal"),Hm=Symbol.for("react.fragment"),Wm=Symbol.for("react.strict_mode"),Vm=Symbol.for("react.profiler"),Ym=Symbol.for("react.provider"),Qm=Symbol.for("react.context"),Gm=Symbol.for("react.forward_ref"),Km=Symbol.for("react.suspense"),Xm=Symbol.for("react.memo"),Zm=Symbol.for("react.lazy"),Au=Symbol.iterator;function Jm(e){return e===null||typeof e!="object"?null:(e=Au&&e[Au]||e["@@iterator"],typeof e=="function"?e:null)}var xd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Sd=Object.assign,Ed={};function Or(e,t,n){this.props=e,this.context=t,this.refs=Ed,this.updater=n||xd}Or.prototype.isReactComponent={};Or.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")};Or.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function kd(){}kd.prototype=Or.prototype;function vs(e,t,n){this.props=e,this.context=t,this.refs=Ed,this.updater=n||xd}var gs=vs.prototype=new kd;gs.constructor=vs;Sd(gs,Or.prototype);gs.isPureReactComponent=!0;var Lu=Array.isArray,Cd=Object.prototype.hasOwnProperty,ys={current:null},bd={key:!0,ref:!0,__self:!0,__source:!0};function Nd(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)Cd.call(t,r)&&!bd.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1t in e?zm(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var oh=p,lh=Symbol.for("react.element"),ih=Symbol.for("react.fragment"),ah=Object.prototype.hasOwnProperty,sh=oh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,uh={key:!0,ref:!0,__self:!0,__source:!0};function $d(e,t,n){var r,o={},l=null,i=null;n!==void 0&&(l=""+n),t.key!==void 0&&(l=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)ah.call(t,r)&&!uh.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:lh,type:e,key:l,ref:i,props:o,_owner:sh.current}}ql.Fragment=ih;ql.jsx=$d;ql.jsxs=$d;yd.exports=ql;var x=yd.exports,_d={exports:{}},qe={},Td={exports:{}},Pd={};/** + */var ih=p,ah=Symbol.for("react.element"),sh=Symbol.for("react.fragment"),uh=Object.prototype.hasOwnProperty,ch=ih.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,dh={key:!0,ref:!0,__self:!0,__source:!0};function Td(e,t,n){var r,o={},l=null,i=null;n!==void 0&&(l=""+n),t.key!==void 0&&(l=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)uh.call(t,r)&&!dh.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:ah,type:e,key:l,ref:i,props:o,_owner:ch.current}}ei.Fragment=sh;ei.jsx=Td;ei.jsxs=Td;xd.exports=ei;var x=xd.exports,Pd={exports:{}},qe={},Rd={exports:{}},Dd={};/** * @license React * scheduler.production.min.js * @@ -22,7 +22,7 @@ var zm=Object.defineProperty;var Fm=(e,t,n)=>t in e?zm(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function t($,L){var A=$.length;$.push(L);e:for(;0>>1,M=$[j];if(0>>1;jo(Ce,A))Ko(ft,Ce)?($[j]=ft,$[K]=A,j=K):($[j]=Ce,$[H]=A,j=H);else if(Ko(ft,A))$[j]=ft,$[K]=A,j=K;else break e}}return L}function o($,L){var A=$.sortIndex-L.sortIndex;return A!==0?A:$.id-L.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=[],c=1,d=null,h=3,w=!1,S=!1,y=!1,N=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,f=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v($){for(var L=n(s);L!==null;){if(L.callback===null)r(s);else if(L.startTime<=$)r(s),L.sortIndex=L.expirationTime,t(u,L);else break;L=n(s)}}function E($){if(y=!1,v($),!S)if(n(u)!==null)S=!0,ve(k);else{var L=n(s);L!==null&&je(E,L.startTime-$)}}function k($,L){S=!1,y&&(y=!1,m(b),b=-1),w=!0;var A=h;try{for(v(L),d=n(u);d!==null&&(!(d.expirationTime>L)||$&&!Q());){var j=d.callback;if(typeof j=="function"){d.callback=null,h=d.priorityLevel;var M=j(d.expirationTime<=L);L=e.unstable_now(),typeof M=="function"?d.callback=M:d===n(u)&&r(u),v(L)}else r(u);d=n(u)}if(d!==null)var q=!0;else{var H=n(s);H!==null&&je(E,H.startTime-L),q=!1}return q}finally{d=null,h=A,w=!1}}var T=!1,_=null,b=-1,U=5,I=-1;function Q(){return!(e.unstable_now()-I$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function($){switch(h){case 1:case 2:case 3:var L=3;break;default:L=h}var A=h;h=L;try{return $()}finally{h=A}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function($,L){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var A=h;h=$;try{return L()}finally{h=A}},e.unstable_scheduleCallback=function($,L,A){var j=e.unstable_now();switch(typeof A=="object"&&A!==null?(A=A.delay,A=typeof A=="number"&&0j?($.sortIndex=A,t(s,$),n(u)===null&&$===n(s)&&(y?(m(b),b=-1):y=!0,je(E,A-j))):($.sortIndex=M,t(u,$),S||w||(S=!0,ve(k))),$},e.unstable_shouldYield=Q,e.unstable_wrapCallback=function($){var L=h;return function(){var A=h;h=L;try{return $.apply(this,arguments)}finally{h=A}}}})(Pd);Td.exports=Pd;var ch=Td.exports;/** + */(function(e){function t(_,L){var A=_.length;_.push(L);e:for(;0>>1,M=_[I];if(0>>1;Io(Ce,A))Ko(ft,Ce)?(_[I]=ft,_[K]=A,I=K):(_[I]=Ce,_[H]=A,I=H);else if(Ko(ft,A))_[I]=ft,_[K]=A,I=K;else break e}}return L}function o(_,L){var A=_.sortIndex-L.sortIndex;return A!==0?A:_.id-L.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=[],c=1,d=null,h=3,w=!1,S=!1,y=!1,N=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,f=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(_){for(var L=n(s);L!==null;){if(L.callback===null)r(s);else if(L.startTime<=_)r(s),L.sortIndex=L.expirationTime,t(u,L);else break;L=n(s)}}function E(_){if(y=!1,v(_),!S)if(n(u)!==null)S=!0,ve(k);else{var L=n(s);L!==null&&Ie(E,L.startTime-_)}}function k(_,L){S=!1,y&&(y=!1,m(b),b=-1),w=!0;var A=h;try{for(v(L),d=n(u);d!==null&&(!(d.expirationTime>L)||_&&!Q());){var I=d.callback;if(typeof I=="function"){d.callback=null,h=d.priorityLevel;var M=I(d.expirationTime<=L);L=e.unstable_now(),typeof M=="function"?d.callback=M:d===n(u)&&r(u),v(L)}else r(u);d=n(u)}if(d!==null)var q=!0;else{var H=n(s);H!==null&&Ie(E,H.startTime-L),q=!1}return q}finally{d=null,h=A,w=!1}}var T=!1,$=null,b=-1,U=5,j=-1;function Q(){return!(e.unstable_now()-j_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(_){switch(h){case 1:case 2:case 3:var L=3;break;default:L=h}var A=h;h=L;try{return _()}finally{h=A}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,L){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var A=h;h=_;try{return L()}finally{h=A}},e.unstable_scheduleCallback=function(_,L,A){var I=e.unstable_now();switch(typeof A=="object"&&A!==null?(A=A.delay,A=typeof A=="number"&&0I?(_.sortIndex=A,t(s,_),n(u)===null&&_===n(s)&&(y?(m(b),b=-1):y=!0,Ie(E,A-I))):(_.sortIndex=M,t(u,_),S||w||(S=!0,ve(k))),_},e.unstable_shouldYield=Q,e.unstable_wrapCallback=function(_){var L=h;return function(){var A=h;h=L;try{return _.apply(this,arguments)}finally{h=A}}}})(Dd);Rd.exports=Dd;var fh=Rd.exports;/** * @license React * react-dom.production.min.js * @@ -30,20 +30,20 @@ var zm=Object.defineProperty;var Fm=(e,t,n)=>t in e?zm(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Rd=p,Ze=ch;function C(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"),pa=Object.prototype.hasOwnProperty,dh=/^[: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]*$/,Iu={},ju={};function fh(e){return pa.call(ju,e)?!0:pa.call(Iu,e)?!1:dh.test(e)?ju[e]=!0:(Iu[e]=!0,!1)}function ph(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 mh(e,t,n,r){if(t===null||typeof t>"u"||ph(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 Ie(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 _e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){_e[e]=new Ie(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 Ie(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){_e[e]=new Ie(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_e[e]=new Ie(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 Ie(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){_e[e]=new Ie(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){_e[e]=new Ie(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){_e[e]=new Ie(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){_e[e]=new Ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var xs=/[\-:]([a-z])/g;function Ss(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(xs,Ss);_e[t]=new Ie(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(xs,Ss);_e[t]=new Ie(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(xs,Ss);_e[t]=new Ie(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){_e[e]=new Ie(e,1,!1,e.toLowerCase(),null,!1,!1)});_e.xlinkHref=new Ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){_e[e]=new Ie(e,1,!1,e.toLowerCase(),null,!0,!0)});function Es(e,t,n,r){var o=_e.hasOwnProperty(t)?_e[t]:null;(o!==null?o.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ha=Object.prototype.hasOwnProperty,ph=/^[: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]*$/,zu={},Fu={};function mh(e){return ha.call(Fu,e)?!0:ha.call(zu,e)?!1:ph.test(e)?Fu[e]=!0:(zu[e]=!0,!1)}function hh(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 vh(e,t,n,r){if(t===null||typeof t>"u"||hh(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 je(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 $e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$e[e]=new je(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 je(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){$e[e]=new je(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$e[e]=new je(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 je(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){$e[e]=new je(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){$e[e]=new je(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){$e[e]=new je(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){$e[e]=new je(e,5,!1,e.toLowerCase(),null,!1,!1)});var Es=/[\-:]([a-z])/g;function ks(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(Es,ks);$e[t]=new je(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(Es,ks);$e[t]=new je(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(Es,ks);$e[t]=new je(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){$e[e]=new je(e,1,!1,e.toLowerCase(),null,!1,!1)});$e.xlinkHref=new je("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){$e[e]=new je(e,1,!1,e.toLowerCase(),null,!0,!0)});function Cs(e,t,n,r){var o=$e.hasOwnProperty(t)?$e[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{_i=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?eo(e):""}function hh(e){switch(e.tag){case 5:return eo(e.type);case 16:return eo("Lazy");case 13:return eo("Suspense");case 19:return eo("SuspenseList");case 0:case 2:case 15:return e=Ti(e.type,!1),e;case 11:return e=Ti(e.type.render,!1),e;case 1:return e=Ti(e.type,!0),e;default:return""}}function ga(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 ir:return"Fragment";case lr:return"Portal";case ma:return"Profiler";case ks:return"StrictMode";case ha:return"Suspense";case va:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ad:return(e.displayName||"Context")+".Consumer";case Od:return(e._context.displayName||"Context")+".Provider";case Cs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case bs:return t=e.displayName||null,t!==null?t:ga(e.type)||"Memo";case an:t=e._payload,e=e._init;try{return ga(e(t))}catch{}}return null}function vh(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 ga(t);case 8:return t===ks?"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 En(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Md(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function gh(e){var t=Md(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 Ho(e){e._valueTracker||(e._valueTracker=gh(e))}function Id(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Md(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Tl(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 ya(e,t){var n=t.checked;return ue({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Fu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=En(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&&Es(e,"checked",t,!1)}function wa(e,t){jd(e,t);var n=En(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")?xa(e,t.type,n):t.hasOwnProperty("defaultValue")&&xa(e,t.type,En(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Uu(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 xa(e,t,n){(t!=="number"||Tl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var to=Array.isArray;function gr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Wo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ho(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var oo={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},yh=["Webkit","ms","Moz","O"];Object.keys(oo).forEach(function(e){yh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),oo[t]=oo[e]})});function Bd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||oo.hasOwnProperty(e)&&oo[e]?(""+t).trim():t+"px"}function Hd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Bd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var wh=ue({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 ka(e,t){if(t){if(wh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function Ca(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 ba=null;function Ns(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Na=null,yr=null,wr=null;function Wu(e){if(e=Mo(e)){if(typeof Na!="function")throw Error(C(280));var t=e.stateNode;t&&(t=oi(t),Na(e.stateNode,e.type,t))}}function Wd(e){yr?wr?wr.push(e):wr=[e]:yr=e}function Vd(){if(yr){var e=yr,t=wr;if(wr=yr=null,Wu(e),t)for(e=0;e>>=0,e===0?32:31-(Ph(e)/Rh|0)|0}var Vo=64,Yo=4194304;function no(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 Ol(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=no(a):(l&=i,l!==0&&(r=no(l)))}else i=n&~o,i!==0?r=no(i):l!==0&&(r=no(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 Ao(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 Lh(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=io),qu=" ",ec=!1;function ff(e,t){switch(e){case"keyup":return uv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function pf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ar=!1;function dv(e,t){switch(e){case"compositionend":return pf(t);case"keypress":return t.which!==32?null:(ec=!0,qu);case"textInput":return e=t.data,e===qu&&ec?null:e;default:return null}}function fv(e,t){if(ar)return e==="compositionend"||!As&&ff(e,t)?(e=cf(),gl=Rs=dn=null,ar=!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=oc(n)}}function gf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?gf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function yf(){for(var e=window,t=Tl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Tl(e.document)}return t}function Ls(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 Sv(e){var t=yf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&gf(n.ownerDocument.documentElement,n)){if(r!==null&&Ls(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=lc(n,l);var i=lc(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,sr=null,Da=null,so=null,Oa=!1;function ic(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Oa||sr==null||sr!==Tl(r)||(r=sr,"selectionStart"in r&&Ls(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}),so&&So(so,r)||(so=r,r=Ml(Da,"onSelect"),0dr||(e.current=za[dr],za[dr]=null,dr--)}function te(e,t){dr++,za[dr]=e.current,e.current=t}var kn={},De=bn(kn),He=bn(!1),Fn=kn;function br(e,t){var n=e.type.contextTypes;if(!n)return kn;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 We(e){return e=e.childContextTypes,e!=null}function jl(){oe(He),oe(De)}function pc(e,t,n){if(De.current!==kn)throw Error(C(168));te(De,t),te(He,n)}function $f(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(C(108,vh(e)||"Unknown",o));return ue({},n,r)}function zl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||kn,Fn=De.current,te(De,e),te(He,He.current),!0}function mc(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=$f(e,t,Fn),r.__reactInternalMemoizedMergedChildContext=e,oe(He),oe(De),te(De,e)):oe(He),te(He,n)}var Wt=null,li=!1,Hi=!1;function _f(e){Wt===null?Wt=[e]:Wt.push(e)}function Ov(e){li=!0,_f(e)}function Nn(){if(!Hi&&Wt!==null){Hi=!0;var e=0,t=Z;try{var n=Wt;for(Z=1;e>=i,o-=i,Vt=1<<32-St(t)+o|n<b?(U=_,_=null):U=_.sibling;var I=h(m,_,v[b],E);if(I===null){_===null&&(_=U);break}e&&_&&I.alternate===null&&t(m,_),f=l(I,f,b),T===null?k=I:T.sibling=I,T=I,_=U}if(b===v.length)return n(m,_),le&&Rn(m,b),k;if(_===null){for(;bb?(U=_,_=null):U=_.sibling;var Q=h(m,_,I.value,E);if(Q===null){_===null&&(_=U);break}e&&_&&Q.alternate===null&&t(m,_),f=l(Q,f,b),T===null?k=Q:T.sibling=Q,T=Q,_=U}if(I.done)return n(m,_),le&&Rn(m,b),k;if(_===null){for(;!I.done;b++,I=v.next())I=d(m,I.value,E),I!==null&&(f=l(I,f,b),T===null?k=I:T.sibling=I,T=I);return le&&Rn(m,b),k}for(_=r(m,_);!I.done;b++,I=v.next())I=w(_,m,b,I.value,E),I!==null&&(e&&I.alternate!==null&&_.delete(I.key===null?b:I.key),f=l(I,f,b),T===null?k=I:T.sibling=I,T=I);return e&&_.forEach(function(B){return t(m,B)}),le&&Rn(m,b),k}function N(m,f,v,E){if(typeof v=="object"&&v!==null&&v.type===ir&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Bo:e:{for(var k=v.key,T=f;T!==null;){if(T.key===k){if(k=v.type,k===ir){if(T.tag===7){n(m,T.sibling),f=o(T,v.props.children),f.return=m,m=f;break e}}else if(T.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===an&&Sc(k)===T.type){n(m,T.sibling),f=o(T,v.props),f.ref=Yr(m,T,v),f.return=m,m=f;break e}n(m,T);break}else t(m,T);T=T.sibling}v.type===ir?(f=zn(v.props.children,m.mode,E,v.key),f.return=m,m=f):(E=bl(v.type,v.key,v.props,null,m.mode,E),E.ref=Yr(m,f,v),E.return=m,m=E)}return i(m);case lr:e:{for(T=v.key;f!==null;){if(f.key===T)if(f.tag===4&&f.stateNode.containerInfo===v.containerInfo&&f.stateNode.implementation===v.implementation){n(m,f.sibling),f=o(f,v.children||[]),f.return=m,m=f;break e}else{n(m,f);break}else t(m,f);f=f.sibling}f=Zi(v,m.mode,E),f.return=m,m=f}return i(m);case an:return T=v._init,N(m,f,T(v._payload),E)}if(to(v))return S(m,f,v,E);if(Ur(v))return y(m,f,v,E);qo(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,f!==null&&f.tag===6?(n(m,f.sibling),f=o(f,v),f.return=m,m=f):(n(m,f),f=Xi(v,m.mode,E),f.return=m,m=f),i(m)):n(m,f)}return N}var $r=Mf(!0),If=Mf(!1),Io={},Rt=bn(Io),bo=bn(Io),No=bn(Io);function Mn(e){if(e===Io)throw Error(C(174));return e}function Ws(e,t){switch(te(No,t),te(bo,e),te(Rt,Io),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ea(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ea(t,e)}oe(Rt),te(Rt,t)}function _r(){oe(Rt),oe(bo),oe(No)}function jf(e){Mn(No.current);var t=Mn(Rt.current),n=Ea(t,e.type);t!==n&&(te(bo,e),te(Rt,n))}function Vs(e){bo.current===e&&(oe(Rt),oe(bo))}var ae=bn(0);function Vl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Wi=[];function Ys(){for(var e=0;en?n:4,e(!0);var r=Vi.transition;Vi.transition={};try{e(!1),t()}finally{Z=n,Vi.transition=r}}function ep(){return ut().memoizedState}function Iv(e,t,n){var r=wn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},tp(e))np(t,n);else if(n=Df(e,t,n,r),n!==null){var o=Ae();Et(n,e,r,o),rp(n,t,r)}}function jv(e,t,n){var r=wn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(tp(e))np(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,kt(a,i)){var u=t.interleaved;u===null?(o.next=o,Bs(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}n=Df(e,t,o,r),n!==null&&(o=Ae(),Et(n,e,r,o),rp(n,t,r))}}function tp(e){var t=e.alternate;return e===se||t!==null&&t===se}function np(e,t){uo=Yl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function rp(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,_s(e,n)}}var Ql={readContext:st,useCallback:Te,useContext:Te,useEffect:Te,useImperativeHandle:Te,useInsertionEffect:Te,useLayoutEffect:Te,useMemo:Te,useReducer:Te,useRef:Te,useState:Te,useDebugValue:Te,useDeferredValue:Te,useTransition:Te,useMutableSource:Te,useSyncExternalStore:Te,useId:Te,unstable_isNewReconciler:!1},zv={readContext:st,useCallback:function(e,t){return $t().memoizedState=[e,t===void 0?null:t],e},useContext:st,useEffect:kc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Sl(4194308,4,Kf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Sl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Sl(4,2,e,t)},useMemo:function(e,t){var n=$t();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=$t();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=Iv.bind(null,se,e),[r.memoizedState,e]},useRef:function(e){var t=$t();return e={current:e},t.memoizedState=e},useState:Ec,useDebugValue:Zs,useDeferredValue:function(e){return $t().memoizedState=e},useTransition:function(){var e=Ec(!1),t=e[0];return e=Mv.bind(null,e[1]),$t().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=se,o=$t();if(le){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),Ee===null)throw Error(C(349));Bn&30||Uf(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,kc(Hf.bind(null,r,l,e),[e]),r.flags|=2048,To(9,Bf.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=$t(),t=Ee.identifierPrefix;if(le){var n=Yt,r=Vt;n=(r&~(1<<32-St(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=$o++,0")&&(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:"")?eo(e):""}function gh(e){switch(e.tag){case 5:return eo(e.type);case 16:return eo("Lazy");case 13:return eo("Suspense");case 19:return eo("SuspenseList");case 0:case 2:case 15:return e=Pi(e.type,!1),e;case 11:return e=Pi(e.type.render,!1),e;case 1:return e=Pi(e.type,!0),e;default:return""}}function wa(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 ir:return"Fragment";case lr:return"Portal";case va:return"Profiler";case bs:return"StrictMode";case ga:return"Suspense";case ya:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Md:return(e.displayName||"Context")+".Consumer";case Ld:return(e._context.displayName||"Context")+".Provider";case Ns:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case _s:return t=e.displayName||null,t!==null?t:wa(e.type)||"Memo";case an:t=e._payload,e=e._init;try{return wa(e(t))}catch{}}return null}function yh(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 wa(t);case 8:return t===bs?"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 En(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Id(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function wh(e){var t=Id(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 Ho(e){e._valueTracker||(e._valueTracker=wh(e))}function zd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Id(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Pl(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 xa(e,t){var n=t.checked;return ue({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Bu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=En(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 Fd(e,t){t=t.checked,t!=null&&Cs(e,"checked",t,!1)}function Sa(e,t){Fd(e,t);var n=En(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")?Ea(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ea(e,t.type,En(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Hu(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 Ea(e,t,n){(t!=="number"||Pl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var to=Array.isArray;function gr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Wo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ho(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var oo={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},xh=["Webkit","ms","Moz","O"];Object.keys(oo).forEach(function(e){xh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),oo[t]=oo[e]})});function Wd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||oo.hasOwnProperty(e)&&oo[e]?(""+t).trim():t+"px"}function Vd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Wd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Sh=ue({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 ba(e,t){if(t){if(Sh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function Na(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 _a=null;function $s(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var $a=null,yr=null,wr=null;function Yu(e){if(e=Mo(e)){if(typeof $a!="function")throw Error(C(280));var t=e.stateNode;t&&(t=li(t),$a(e.stateNode,e.type,t))}}function Yd(e){yr?wr?wr.push(e):wr=[e]:yr=e}function Qd(){if(yr){var e=yr,t=wr;if(wr=yr=null,Yu(e),t)for(e=0;e>>=0,e===0?32:31-(Dh(e)/Oh|0)|0}var Vo=64,Yo=4194304;function no(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 Al(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=no(a):(l&=i,l!==0&&(r=no(l)))}else i=n&~o,i!==0?r=no(i):l!==0&&(r=no(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 Ao(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 jh(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=io),tc=" ",nc=!1;function mf(e,t){switch(e){case"keyup":return dv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function hf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ar=!1;function pv(e,t){switch(e){case"compositionend":return hf(t);case"keypress":return t.which!==32?null:(nc=!0,tc);case"textInput":return e=t.data,e===tc&&nc?null:e;default:return null}}function mv(e,t){if(ar)return e==="compositionend"||!Ms&&mf(e,t)?(e=ff(),yl=Os=dn=null,ar=!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=ic(n)}}function wf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?wf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function xf(){for(var e=window,t=Pl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Pl(e.document)}return t}function js(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 kv(e){var t=xf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&wf(n.ownerDocument.documentElement,n)){if(r!==null&&js(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=ac(n,l);var i=ac(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,sr=null,Aa=null,so=null,La=!1;function sc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;La||sr==null||sr!==Pl(r)||(r=sr,"selectionStart"in r&&js(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}),so&&So(so,r)||(so=r,r=jl(Aa,"onSelect"),0dr||(e.current=Ua[dr],Ua[dr]=null,dr--)}function te(e,t){dr++,Ua[dr]=e.current,e.current=t}var kn={},De=bn(kn),He=bn(!1),Fn=kn;function br(e,t){var n=e.type.contextTypes;if(!n)return kn;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 We(e){return e=e.childContextTypes,e!=null}function zl(){oe(He),oe(De)}function hc(e,t,n){if(De.current!==kn)throw Error(C(168));te(De,t),te(He,n)}function Tf(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(C(108,yh(e)||"Unknown",o));return ue({},n,r)}function Fl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||kn,Fn=De.current,te(De,e),te(He,He.current),!0}function vc(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=Tf(e,t,Fn),r.__reactInternalMemoizedMergedChildContext=e,oe(He),oe(De),te(De,e)):oe(He),te(He,n)}var Wt=null,ii=!1,Wi=!1;function Pf(e){Wt===null?Wt=[e]:Wt.push(e)}function Lv(e){ii=!0,Pf(e)}function Nn(){if(!Wi&&Wt!==null){Wi=!0;var e=0,t=Z;try{var n=Wt;for(Z=1;e>=i,o-=i,Vt=1<<32-St(t)+o|n<b?(U=$,$=null):U=$.sibling;var j=h(m,$,v[b],E);if(j===null){$===null&&($=U);break}e&&$&&j.alternate===null&&t(m,$),f=l(j,f,b),T===null?k=j:T.sibling=j,T=j,$=U}if(b===v.length)return n(m,$),le&&Rn(m,b),k;if($===null){for(;bb?(U=$,$=null):U=$.sibling;var Q=h(m,$,j.value,E);if(Q===null){$===null&&($=U);break}e&&$&&Q.alternate===null&&t(m,$),f=l(Q,f,b),T===null?k=Q:T.sibling=Q,T=Q,$=U}if(j.done)return n(m,$),le&&Rn(m,b),k;if($===null){for(;!j.done;b++,j=v.next())j=d(m,j.value,E),j!==null&&(f=l(j,f,b),T===null?k=j:T.sibling=j,T=j);return le&&Rn(m,b),k}for($=r(m,$);!j.done;b++,j=v.next())j=w($,m,b,j.value,E),j!==null&&(e&&j.alternate!==null&&$.delete(j.key===null?b:j.key),f=l(j,f,b),T===null?k=j:T.sibling=j,T=j);return e&&$.forEach(function(B){return t(m,B)}),le&&Rn(m,b),k}function N(m,f,v,E){if(typeof v=="object"&&v!==null&&v.type===ir&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Bo:e:{for(var k=v.key,T=f;T!==null;){if(T.key===k){if(k=v.type,k===ir){if(T.tag===7){n(m,T.sibling),f=o(T,v.props.children),f.return=m,m=f;break e}}else if(T.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===an&&kc(k)===T.type){n(m,T.sibling),f=o(T,v.props),f.ref=Yr(m,T,v),f.return=m,m=f;break e}n(m,T);break}else t(m,T);T=T.sibling}v.type===ir?(f=zn(v.props.children,m.mode,E,v.key),f.return=m,m=f):(E=Nl(v.type,v.key,v.props,null,m.mode,E),E.ref=Yr(m,f,v),E.return=m,m=E)}return i(m);case lr:e:{for(T=v.key;f!==null;){if(f.key===T)if(f.tag===4&&f.stateNode.containerInfo===v.containerInfo&&f.stateNode.implementation===v.implementation){n(m,f.sibling),f=o(f,v.children||[]),f.return=m,m=f;break e}else{n(m,f);break}else t(m,f);f=f.sibling}f=Ji(v,m.mode,E),f.return=m,m=f}return i(m);case an:return T=v._init,N(m,f,T(v._payload),E)}if(to(v))return S(m,f,v,E);if(Ur(v))return y(m,f,v,E);qo(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,f!==null&&f.tag===6?(n(m,f.sibling),f=o(f,v),f.return=m,m=f):(n(m,f),f=Zi(v,m.mode,E),f.return=m,m=f),i(m)):n(m,f)}return N}var _r=If(!0),zf=If(!1),jo={},Rt=bn(jo),bo=bn(jo),No=bn(jo);function Mn(e){if(e===jo)throw Error(C(174));return e}function Ys(e,t){switch(te(No,t),te(bo,e),te(Rt,jo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ca(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ca(t,e)}oe(Rt),te(Rt,t)}function $r(){oe(Rt),oe(bo),oe(No)}function Ff(e){Mn(No.current);var t=Mn(Rt.current),n=Ca(t,e.type);t!==n&&(te(bo,e),te(Rt,n))}function Qs(e){bo.current===e&&(oe(Rt),oe(bo))}var ae=bn(0);function Yl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Vi=[];function Gs(){for(var e=0;en?n:4,e(!0);var r=Yi.transition;Yi.transition={};try{e(!1),t()}finally{Z=n,Yi.transition=r}}function np(){return ut().memoizedState}function zv(e,t,n){var r=wn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rp(e))op(t,n);else if(n=Af(e,t,n,r),n!==null){var o=Ae();Et(n,e,r,o),lp(n,t,r)}}function Fv(e,t,n){var r=wn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rp(e))op(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,kt(a,i)){var u=t.interleaved;u===null?(o.next=o,Ws(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}n=Af(e,t,o,r),n!==null&&(o=Ae(),Et(n,e,r,o),lp(n,t,r))}}function rp(e){var t=e.alternate;return e===se||t!==null&&t===se}function op(e,t){uo=Ql=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function lp(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ps(e,n)}}var Gl={readContext:st,useCallback:Te,useContext:Te,useEffect:Te,useImperativeHandle:Te,useInsertionEffect:Te,useLayoutEffect:Te,useMemo:Te,useReducer:Te,useRef:Te,useState:Te,useDebugValue:Te,useDeferredValue:Te,useTransition:Te,useMutableSource:Te,useSyncExternalStore:Te,useId:Te,unstable_isNewReconciler:!1},Uv={readContext:st,useCallback:function(e,t){return _t().memoizedState=[e,t===void 0?null:t],e},useContext:st,useEffect:bc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,El(4194308,4,Zf.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=_t();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=_t();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=zv.bind(null,se,e),[r.memoizedState,e]},useRef:function(e){var t=_t();return e={current:e},t.memoizedState=e},useState:Cc,useDebugValue:qs,useDeferredValue:function(e){return _t().memoizedState=e},useTransition:function(){var e=Cc(!1),t=e[0];return e=Iv.bind(null,e[1]),_t().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=se,o=_t();if(le){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),Ee===null)throw Error(C(349));Bn&30||Hf(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,bc(Vf.bind(null,r,l,e),[e]),r.flags|=2048,To(9,Wf.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=_t(),t=Ee.identifierPrefix;if(le){var n=Yt,r=Vt;n=(r&~(1<<32-St(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=_o++,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[_t]=t,e[Co]=r,fp(e,t,!1,!1),t.stateNode=e;e:{switch(i=Ca(n,r),n){case"dialog":re("cancel",e),re("close",e),o=r;break;case"iframe":case"object":case"embed":re("load",e),o=r;break;case"video":case"audio":for(o=0;oPr&&(t.flags|=128,r=!0,Qr(l,!1),t.lanes=4194304)}else{if(!r)if(e=Vl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Qr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!le)return Pe(t),null}else 2*pe()-l.renderingStartTime>Pr&&n!==1073741824&&(t.flags|=128,r=!0,Qr(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=pe(),t.sibling=null,n=ae.current,te(ae,r?n&1|2:n&1),t):(Pe(t),null);case 22:case 23:return ru(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ge&1073741824&&(Pe(t),t.subtreeFlags&6&&(t.flags|=8192)):Pe(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function Qv(e,t){switch(Is(t),t.tag){case 1:return We(t.type)&&jl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return _r(),oe(He),oe(De),Ys(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Vs(t),null;case 13:if(oe(ae),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));Nr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return oe(ae),null;case 4:return _r(),null;case 10:return Us(t.type._context),null;case 22:case 23:return ru(),null;case 24:return null;default:return null}}var tl=!1,Re=!1,Gv=typeof WeakSet=="function"?WeakSet:Set,O=null;function hr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ce(e,t,r)}else n.current=null}function Za(e,t,n){try{n()}catch(r){ce(e,t,r)}}var Dc=!1;function Kv(e,t){if(Aa=Al,e=yf(),Ls(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,c=0,d=e,h=null;t:for(;;){for(var w;d!==n||o!==0&&d.nodeType!==3||(a=i+o),d!==l||r!==0&&d.nodeType!==3||(u=i+r),d.nodeType===3&&(i+=d.nodeValue.length),(w=d.firstChild)!==null;)h=d,d=w;for(;;){if(d===e)break t;if(h===n&&++s===o&&(a=i),h===l&&++c===r&&(u=i),(w=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=w}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(La={focusedElem:e,selectionRange:n},Al=!1,O=t;O!==null;)if(t=O,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,O=e;else for(;O!==null;){t=O;try{var S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var y=S.memoizedProps,N=S.memoizedState,m=t.stateNode,f=m.getSnapshotBeforeUpdate(t.elementType===t.type?y:gt(t.type,y),N);m.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(E){ce(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,O=e;break}O=t.return}return S=Dc,Dc=!1,S}function co(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&&Za(t,n,l)}o=o.next}while(o!==r)}}function si(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 Ja(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 hp(e){var t=e.alternate;t!==null&&(e.alternate=null,hp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[_t],delete t[Co],delete t[ja],delete t[Rv],delete t[Dv])),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 vp(e){return e.tag===5||e.tag===3||e.tag===4}function Oc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vp(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 qa(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=Il));else if(r!==4&&(e=e.child,e!==null))for(qa(e,t,n),e=e.sibling;e!==null;)qa(e,t,n),e=e.sibling}function es(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(es(e,t,n),e=e.sibling;e!==null;)es(e,t,n),e=e.sibling}var Ne=null,yt=!1;function nn(e,t,n){for(n=n.child;n!==null;)gp(e,t,n),n=n.sibling}function gp(e,t,n){if(Pt&&typeof Pt.onCommitFiberUnmount=="function")try{Pt.onCommitFiberUnmount(ei,n)}catch{}switch(n.tag){case 5:Re||hr(n,t);case 6:var r=Ne,o=yt;Ne=null,nn(e,t,n),Ne=r,yt=o,Ne!==null&&(yt?(e=Ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ne.removeChild(n.stateNode));break;case 18:Ne!==null&&(yt?(e=Ne,n=n.stateNode,e.nodeType===8?Bi(e.parentNode,n):e.nodeType===1&&Bi(e,n),wo(e)):Bi(Ne,n.stateNode));break;case 4:r=Ne,o=yt,Ne=n.stateNode.containerInfo,yt=!0,nn(e,t,n),Ne=r,yt=o;break;case 0:case 11:case 14:case 15:if(!Re&&(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)&&Za(n,t,i),o=o.next}while(o!==r)}nn(e,t,n);break;case 1:if(!Re&&(hr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ce(n,t,a)}nn(e,t,n);break;case 21:nn(e,t,n);break;case 22:n.mode&1?(Re=(r=Re)||n.memoizedState!==null,nn(e,t,n),Re=r):nn(e,t,n);break;default:nn(e,t,n)}}function Ac(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Gv),t.forEach(function(r){var o=og.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function mt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=i),r&=~l}if(r=o,r=pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Zv(r/1960))-r,10e?16:e,fn===null)var r=!1;else{if(e=fn,fn=null,Xl=0,Y&6)throw Error(C(331));var o=Y;for(Y|=4,O=e.current;O!==null;){var l=O,i=l.child;if(O.flags&16){var a=l.deletions;if(a!==null){for(var u=0;upe()-tu?jn(e,0):eu|=n),Ve(e,t)}function bp(e,t){t===0&&(e.mode&1?(t=Yo,Yo<<=1,!(Yo&130023424)&&(Yo=4194304)):t=1);var n=Ae();e=Xt(e,t),e!==null&&(Ao(e,t,n),Ve(e,n))}function rg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),bp(e,n)}function og(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(C(314))}r!==null&&r.delete(t),bp(e,n)}var Np;Np=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,Vv(e,t,n);Be=!!(e.flags&131072)}else Be=!1,le&&t.flags&1048576&&Tf(t,Ul,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;El(e,t),e=t.pendingProps;var o=br(t,De.current);Sr(t,n),o=Gs(null,t,r,e,o,n);var l=Ks();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,We(r)?(l=!0,zl(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Hs(t),o.updater=ii,t.stateNode=o,o._reactInternals=t,Wa(t,r,e,n),t=Qa(null,t,r,!0,l,n)):(t.tag=0,le&&l&&Ms(t),Oe(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(El(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=ig(r),e=gt(r,e),o){case 0:t=Ya(null,t,r,e,n);break e;case 1:t=Tc(null,t,r,e,n);break e;case 11:t=$c(null,t,r,e,n);break e;case 14:t=_c(null,t,r,gt(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gt(r,o),Ya(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gt(r,o),Tc(e,t,r,o,n);case 3:e:{if(up(t),e===null)throw Error(C(387));r=t.pendingProps,l=t.memoizedState,o=l.element,Of(e,t),Wl(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=Tr(Error(C(423)),t),t=Pc(e,t,r,n,o);break e}else if(r!==o){o=Tr(Error(C(424)),t),t=Pc(e,t,r,n,o);break e}else for(Ke=vn(t.stateNode.containerInfo.firstChild),Xe=t,le=!0,wt=null,n=If(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Nr(),r===o){t=Zt(e,t,n);break e}Oe(e,t,r,n)}t=t.child}return t;case 5:return jf(t),e===null&&Ua(t),r=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,i=o.children,Ma(r,o)?i=null:l!==null&&Ma(r,l)&&(t.flags|=32),sp(e,t),Oe(e,t,i,n),t.child;case 6:return e===null&&Ua(t),null;case 13:return cp(e,t,n);case 4:return Ws(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=$r(t,null,r,n):Oe(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gt(r,o),$c(e,t,r,o,n);case 7:return Oe(e,t,t.pendingProps,n),t.child;case 8:return Oe(e,t,t.pendingProps.children,n),t.child;case 12:return Oe(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,te(Bl,r._currentValue),r._currentValue=i,l!==null)if(kt(l.value,i)){if(l.children===o.children&&!He.current){t=Zt(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=Qt(-1,n&-n),u.tag=2;var s=l.updateQueue;if(s!==null){s=s.shared;var c=s.pending;c===null?u.next=u:(u.next=c.next,c.next=u),s.pending=u}}l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),Ba(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(C(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Ba(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}Oe(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Sr(t,n),o=st(o),r=r(o),t.flags|=1,Oe(e,t,r,n),t.child;case 14:return r=t.type,o=gt(r,t.pendingProps),o=gt(r.type,o),_c(e,t,r,o,n);case 15:return ip(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gt(r,o),El(e,t),t.tag=1,We(r)?(e=!0,zl(t)):e=!1,Sr(t,n),Lf(t,r,o),Wa(t,r,o,n),Qa(null,t,r,!0,e,n);case 19:return dp(e,t,n);case 22:return ap(e,t,n)}throw Error(C(156,t.tag))};function $p(e,t){return Jd(e,t)}function lg(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 it(e,t,n,r){return new lg(e,t,n,r)}function lu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ig(e){if(typeof e=="function")return lu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Cs)return 11;if(e===bs)return 14}return 2}function xn(e,t){var n=e.alternate;return n===null?(n=it(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 bl(e,t,n,r,o,l){var i=2;if(r=e,typeof e=="function")lu(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case ir:return zn(n.children,o,l,t);case ks:i=8,o|=8;break;case ma:return e=it(12,n,t,o|2),e.elementType=ma,e.lanes=l,e;case ha:return e=it(13,n,t,o),e.elementType=ha,e.lanes=l,e;case va:return e=it(19,n,t,o),e.elementType=va,e.lanes=l,e;case Ld:return ci(n,o,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Od:i=10;break e;case Ad:i=9;break e;case Cs:i=11;break e;case bs:i=14;break e;case an:i=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=it(i,n,t,o),t.elementType=e,t.type=r,t.lanes=l,t}function zn(e,t,n,r){return e=it(7,e,r,t),e.lanes=n,e}function ci(e,t,n,r){return e=it(22,e,r,t),e.elementType=Ld,e.lanes=n,e.stateNode={isHidden:!1},e}function Xi(e,t,n){return e=it(6,e,null,t),e.lanes=n,e}function Zi(e,t,n){return t=it(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ag(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=Ri(0),this.expirationTimes=Ri(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ri(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function iu(e,t,n,r,o,l,i,a,u){return e=new ag(e,t,n,a,u),t===1?(t=1,l===!0&&(t|=8)):t=0,l=it(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Hs(l),e}function sg(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Rp)}catch(e){console.error(e)}}Rp(),_d.exports=qe;var hi=_d.exports;const Dp=hs(hi);var{entries:Op,setPrototypeOf:Bc,isFrozen:pg,getPrototypeOf:mg,getOwnPropertyDescriptor:hg}=Object,{freeze:Le,seal:ct,create:Ap}=Object,{apply:ls,construct:is}=typeof Reflect<"u"&&Reflect;Le||(Le=function(e){return e});ct||(ct=function(e){return e});ls||(ls=function(e,t,n){return e.apply(t,n)});is||(is=function(e,t){return new e(...t)});var ol=Je(Array.prototype.forEach),Hc=Je(Array.prototype.pop),Kr=Je(Array.prototype.push),Nl=Je(String.prototype.toLowerCase),Ji=Je(String.prototype.toString),Wc=Je(String.prototype.match),Xr=Je(String.prototype.replace),vg=Je(String.prototype.indexOf),gg=Je(String.prototype.trim),ht=Je(Object.prototype.hasOwnProperty),Qe=Je(RegExp.prototype.test),Zr=yg(TypeError);function Je(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]:Nl;Bc&&Bc(e,null);let r=t.length;for(;r--;){let o=t[r];if(typeof o=="string"){let l=n(o);l!==o&&(pg(t)||(t[r]=l),o=l)}e[o]=!0}return e}function wg(e){for(let t=0;t/gm),Cg=ct(/\${[\w\W]*}/gm),bg=ct(/^data-[\-\w.\u00B7-\uFFFF]/),Ng=ct(/^aria-[\-\w]+$/),Lp=ct(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$g=ct(/^(?:\w+script|data):/i),_g=ct(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Mp=ct(/^html$/i),Tg=ct(/^[a-z][a-z\d]*(-[a-z\d]+)+$/i),Kc=Object.freeze({__proto__:null,MUSTACHE_EXPR:Eg,ERB_EXPR:kg,TMPLIT_EXPR:Cg,DATA_ATTR:bg,ARIA_ATTR:Ng,IS_ALLOWED_URI:Lp,IS_SCRIPT_OR_DATA:$g,ATTR_WHITESPACE:_g,DOCTYPE_NAME:Mp,CUSTOM_ELEMENT:Tg}),Pg=function(){return typeof window>"u"?null:window},Rg=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 Ip(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Pg(),t=g=>Ip(g);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:c=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:h,trustedTypes:w}=e,S=u.prototype,y=ll(S,"cloneNode"),N=ll(S,"nextSibling"),m=ll(S,"childNodes"),f=ll(S,"parentNode");if(typeof i=="function"){let g=n.createElement("template");g.content&&g.content.ownerDocument&&(n=g.content.ownerDocument)}let v,E="",{implementation:k,createNodeIterator:T,createDocumentFragment:_,getElementsByTagName:b}=n,{importNode:U}=r,I={};t.isSupported=typeof Op=="function"&&typeof f=="function"&&k&&k.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:Q,ERB_EXPR:B,TMPLIT_EXPR:he,DATA_ATTR:G,ARIA_ATTR:ke,IS_SCRIPT_OR_DATA:ve,ATTR_WHITESPACE:je,CUSTOM_ELEMENT:$}=Kc,{IS_ALLOWED_URI:L}=Kc,A=null,j=W({},[...Vc,...qi,...ea,...ta,...Yc]),M=null,q=W({},[...Qc,...na,...Gc,...il]),H=Object.seal(Ap(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}})),Ce=null,K=null,ft=!0,Ct=!0,Tn=!1,At=!0,Lt=!1,ze=!1,Ir=!1,jr=!1,ge=!1,pt=!1,Kn=!1,jo=!0,Pn=!1,ki="user-content-",Xn=!0,Mt=!1,Ye={},It=null,jt=W({},["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"]),zr=null,zo=W({},["audio","video","img","source","image","track"]),Zn=null,Fr=W({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Jn="http://www.w3.org/1998/Math/MathML",qt="http://www.w3.org/2000/svg",xe="http://www.w3.org/1999/xhtml",en=xe,qn=!1,z=null,de=W({},[Jn,qt,xe],Ji),ee=null,tt=["application/xhtml+xml","text/html"],nt="text/html",ie=null,tn=null,Am=n.createElement("form"),xu=function(g){return g instanceof RegExp||g instanceof Function},Ci=function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(tn&&tn===g)){if((!g||typeof g!="object")&&(g={}),g=On(g),ee=tt.indexOf(g.PARSER_MEDIA_TYPE)===-1?nt:g.PARSER_MEDIA_TYPE,ie=ee==="application/xhtml+xml"?Ji:Nl,A=ht(g,"ALLOWED_TAGS")?W({},g.ALLOWED_TAGS,ie):j,M=ht(g,"ALLOWED_ATTR")?W({},g.ALLOWED_ATTR,ie):q,z=ht(g,"ALLOWED_NAMESPACES")?W({},g.ALLOWED_NAMESPACES,Ji):de,Zn=ht(g,"ADD_URI_SAFE_ATTR")?W(On(Fr),g.ADD_URI_SAFE_ATTR,ie):Fr,zr=ht(g,"ADD_DATA_URI_TAGS")?W(On(zo),g.ADD_DATA_URI_TAGS,ie):zo,It=ht(g,"FORBID_CONTENTS")?W({},g.FORBID_CONTENTS,ie):jt,Ce=ht(g,"FORBID_TAGS")?W({},g.FORBID_TAGS,ie):{},K=ht(g,"FORBID_ATTR")?W({},g.FORBID_ATTR,ie):{},Ye=ht(g,"USE_PROFILES")?g.USE_PROFILES:!1,ft=g.ALLOW_ARIA_ATTR!==!1,Ct=g.ALLOW_DATA_ATTR!==!1,Tn=g.ALLOW_UNKNOWN_PROTOCOLS||!1,At=g.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Lt=g.SAFE_FOR_TEMPLATES||!1,ze=g.WHOLE_DOCUMENT||!1,ge=g.RETURN_DOM||!1,pt=g.RETURN_DOM_FRAGMENT||!1,Kn=g.RETURN_TRUSTED_TYPE||!1,jr=g.FORCE_BODY||!1,jo=g.SANITIZE_DOM!==!1,Pn=g.SANITIZE_NAMED_PROPS||!1,Xn=g.KEEP_CONTENT!==!1,Mt=g.IN_PLACE||!1,L=g.ALLOWED_URI_REGEXP||Lp,en=g.NAMESPACE||xe,H=g.CUSTOM_ELEMENT_HANDLING||{},g.CUSTOM_ELEMENT_HANDLING&&xu(g.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(H.tagNameCheck=g.CUSTOM_ELEMENT_HANDLING.tagNameCheck),g.CUSTOM_ELEMENT_HANDLING&&xu(g.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(H.attributeNameCheck=g.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),g.CUSTOM_ELEMENT_HANDLING&&typeof g.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(H.allowCustomizedBuiltInElements=g.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Lt&&(Ct=!1),pt&&(ge=!0),Ye&&(A=W({},Yc),M=[],Ye.html===!0&&(W(A,Vc),W(M,Qc)),Ye.svg===!0&&(W(A,qi),W(M,na),W(M,il)),Ye.svgFilters===!0&&(W(A,ea),W(M,na),W(M,il)),Ye.mathMl===!0&&(W(A,ta),W(M,Gc),W(M,il))),g.ADD_TAGS&&(A===j&&(A=On(A)),W(A,g.ADD_TAGS,ie)),g.ADD_ATTR&&(M===q&&(M=On(M)),W(M,g.ADD_ATTR,ie)),g.ADD_URI_SAFE_ATTR&&W(Zn,g.ADD_URI_SAFE_ATTR,ie),g.FORBID_CONTENTS&&(It===jt&&(It=On(It)),W(It,g.FORBID_CONTENTS,ie)),Xn&&(A["#text"]=!0),ze&&W(A,["html","head","body"]),A.table&&(W(A,["tbody"]),delete Ce.tbody),g.TRUSTED_TYPES_POLICY){if(typeof g.TRUSTED_TYPES_POLICY.createHTML!="function")throw Zr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof g.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Zr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');v=g.TRUSTED_TYPES_POLICY,E=v.createHTML("")}else v===void 0&&(v=Rg(w,o)),v!==null&&typeof E=="string"&&(E=v.createHTML(""));Le&&Le(g),tn=g}},Su=W({},["mi","mo","mn","ms","mtext"]),Eu=W({},["foreignobject","desc","title","annotation-xml"]),Lm=W({},["title","style","font","a","script"]),ku=W({},[...qi,...ea,...xg]),Cu=W({},[...ta,...Sg]),Mm=function(g){let D=f(g);(!D||!D.tagName)&&(D={namespaceURI:en,tagName:"template"});let P=Nl(g.tagName),X=Nl(D.tagName);return z[g.namespaceURI]?g.namespaceURI===qt?D.namespaceURI===xe?P==="svg":D.namespaceURI===Jn?P==="svg"&&(X==="annotation-xml"||Su[X]):!!ku[P]:g.namespaceURI===Jn?D.namespaceURI===xe?P==="math":D.namespaceURI===qt?P==="math"&&Eu[X]:!!Cu[P]:g.namespaceURI===xe?D.namespaceURI===qt&&!Eu[X]||D.namespaceURI===Jn&&!Su[X]?!1:!Cu[P]&&(Lm[P]||!ku[P]):!!(ee==="application/xhtml+xml"&&z[g.namespaceURI]):!1},er=function(g){Kr(t.removed,{element:g});try{g.parentNode.removeChild(g)}catch{g.remove()}},bi=function(g,D){try{Kr(t.removed,{attribute:D.getAttributeNode(g),from:D})}catch{Kr(t.removed,{attribute:null,from:D})}if(D.removeAttribute(g),g==="is"&&!M[g])if(ge||pt)try{er(D)}catch{}else try{D.setAttribute(g,"")}catch{}},bu=function(g){let D=null,P=null;if(jr)g=""+g;else{let fe=Wc(g,/^[\r\n\t ]+/);P=fe&&fe[0]}ee==="application/xhtml+xml"&&en===xe&&(g=''+g+"");let X=v?v.createHTML(g):g;if(en===xe)try{D=new h().parseFromString(X,ee)}catch{}if(!D||!D.documentElement){D=k.createDocument(en,"template",null);try{D.documentElement.innerHTML=qn?E:X}catch{}}let be=D.body||D.documentElement;return g&&P&&be.insertBefore(n.createTextNode(P),be.childNodes[0]||null),en===xe?b.call(D,ze?"html":"body")[0]:ze?D.documentElement:be},Nu=function(g){return T.call(g.ownerDocument||g,g,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION,null)},Im=function(g){return g instanceof d&&(typeof g.nodeName!="string"||typeof g.textContent!="string"||typeof g.removeChild!="function"||!(g.attributes instanceof c)||typeof g.removeAttribute!="function"||typeof g.setAttribute!="function"||typeof g.namespaceURI!="string"||typeof g.insertBefore!="function"||typeof g.hasChildNodes!="function")},$u=function(g){return typeof a=="function"&&g instanceof a},zt=function(g,D,P){I[g]&&ol(I[g],X=>{X.call(t,D,P,tn)})},_u=function(g){let D=null;if(zt("beforeSanitizeElements",g,null),Im(g))return er(g),!0;let P=ie(g.nodeName);if(zt("uponSanitizeElement",g,{tagName:P,allowedTags:A}),g.hasChildNodes()&&!$u(g.firstElementChild)&&Qe(/<[/\w]/g,g.innerHTML)&&Qe(/<[/\w]/g,g.textContent))return er(g),!0;if(!A[P]||Ce[P]){if(!Ce[P]&&Pu(P)&&(H.tagNameCheck instanceof RegExp&&Qe(H.tagNameCheck,P)||H.tagNameCheck instanceof Function&&H.tagNameCheck(P)))return!1;if(Xn&&!It[P]){let X=f(g)||g.parentNode,be=m(g)||g.childNodes;if(be&&X){let fe=be.length;for(let Ft=fe-1;Ft>=0;--Ft)X.insertBefore(y(be[Ft],!0),N(g))}}return er(g),!0}return g instanceof u&&!Mm(g)||(P==="noscript"||P==="noembed"||P==="noframes")&&Qe(/<\/no(script|embed|frames)/i,g.innerHTML)?(er(g),!0):(Lt&&g.nodeType===3&&(D=g.textContent,ol([Q,B,he],X=>{D=Xr(D,X," ")}),g.textContent!==D&&(Kr(t.removed,{element:g.cloneNode()}),g.textContent=D)),zt("afterSanitizeElements",g,null),!1)},Tu=function(g,D,P){if(jo&&(D==="id"||D==="name")&&(P in n||P in Am))return!1;if(!(Ct&&!K[D]&&Qe(G,D))&&!(ft&&Qe(ke,D))){if(!M[D]||K[D]){if(!(Pu(g)&&(H.tagNameCheck instanceof RegExp&&Qe(H.tagNameCheck,g)||H.tagNameCheck instanceof Function&&H.tagNameCheck(g))&&(H.attributeNameCheck instanceof RegExp&&Qe(H.attributeNameCheck,D)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(D))||D==="is"&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&Qe(H.tagNameCheck,P)||H.tagNameCheck instanceof Function&&H.tagNameCheck(P))))return!1}else if(!Zn[D]&&!Qe(L,Xr(P,je,""))&&!((D==="src"||D==="xlink:href"||D==="href")&&g!=="script"&&vg(P,"data:")===0&&zr[g])&&!(Tn&&!Qe(ve,Xr(P,je,"")))&&P)return!1}return!0},Pu=function(g){return g!=="annotation-xml"&&Wc(g,$)},Ru=function(g){zt("beforeSanitizeAttributes",g,null);let{attributes:D}=g;if(!D)return;let P={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:M},X=D.length;for(;X--;){let be=D[X],{name:fe,namespaceURI:Ft,value:Ut}=be,bt=ie(fe),Fe=fe==="value"?Ut:gg(Ut);if(P.attrName=bt,P.attrValue=Fe,P.keepAttr=!0,P.forceKeepAttr=void 0,zt("uponSanitizeAttribute",g,P),Fe=P.attrValue,P.forceKeepAttr||(bi(fe,g),!P.keepAttr))continue;if(!At&&Qe(/\/>/i,Fe)){bi(fe,g);continue}Lt&&ol([Q,B,he],Ou=>{Fe=Xr(Fe,Ou," ")});let Du=ie(g.nodeName);if(Tu(Du,bt,Fe)){if(Pn&&(bt==="id"||bt==="name")&&(bi(fe,g),Fe=ki+Fe),v&&typeof w=="object"&&typeof w.getAttributeType=="function"&&!Ft)switch(w.getAttributeType(Du,bt)){case"TrustedHTML":{Fe=v.createHTML(Fe);break}case"TrustedScriptURL":{Fe=v.createScriptURL(Fe);break}}try{Ft?g.setAttributeNS(Ft,fe,Fe):g.setAttribute(fe,Fe),Hc(t.removed)}catch{}}}zt("afterSanitizeAttributes",g,null)},jm=function g(D){let P=null,X=Nu(D);for(zt("beforeSanitizeShadowDOM",D,null);P=X.nextNode();)zt("uponSanitizeShadowNode",P,null),!_u(P)&&(P.content instanceof l&&g(P.content),Ru(P));zt("afterSanitizeShadowDOM",D,null)};return t.sanitize=function(g){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},P=null,X=null,be=null,fe=null;if(qn=!g,qn&&(g=""),typeof g!="string"&&!$u(g))if(typeof g.toString=="function"){if(g=g.toString(),typeof g!="string")throw Zr("dirty is not a string, aborting")}else throw Zr("toString is not a function");if(!t.isSupported)return g;if(Ir||Ci(D),t.removed=[],typeof g=="string"&&(Mt=!1),Mt){if(g.nodeName){let bt=ie(g.nodeName);if(!A[bt]||Ce[bt])throw Zr("root node is forbidden and cannot be sanitized in-place")}}else if(g instanceof a)P=bu(""),X=P.ownerDocument.importNode(g,!0),X.nodeType===1&&X.nodeName==="BODY"||X.nodeName==="HTML"?P=X:P.appendChild(X);else{if(!ge&&!Lt&&!ze&&g.indexOf("<")===-1)return v&&Kn?v.createHTML(g):g;if(P=bu(g),!P)return ge?null:Kn?E:""}P&&jr&&er(P.firstChild);let Ft=Nu(Mt?g:P);for(;be=Ft.nextNode();)_u(be)||(be.content instanceof l&&jm(be.content),Ru(be));if(Mt)return g;if(ge){if(pt)for(fe=_.call(P.ownerDocument);P.firstChild;)fe.appendChild(P.firstChild);else fe=P;return(M.shadowroot||M.shadowrootmode)&&(fe=U.call(r,fe,!0)),fe}let Ut=ze?P.outerHTML:P.innerHTML;return ze&&A["!doctype"]&&P.ownerDocument&&P.ownerDocument.doctype&&P.ownerDocument.doctype.name&&Qe(Mp,P.ownerDocument.doctype.name)&&(Ut=" -`+Ut),Lt&&ol([Q,B,he],bt=>{Ut=Xr(Ut,bt," ")}),v&&Kn?v.createHTML(Ut):Ut},t.setConfig=function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ci(g),Ir=!0},t.clearConfig=function(){tn=null,Ir=!1},t.isValidAttribute=function(g,D,P){tn||Ci({});let X=ie(g),be=ie(D);return Tu(X,be,P)},t.addHook=function(g,D){typeof D=="function"&&(I[g]=I[g]||[],Kr(I[g],D))},t.removeHook=function(g){if(I[g])return Hc(I[g])},t.removeHooks=function(g){I[g]&&(I[g]=[])},t.removeAllHooks=function(){I={}},t}var Dg=Ip(),Og=e=>{switch(e){case"success":return Mg;case"info":return jg;case"warning":return Ig;case"error":return zg;default:return null}},Ag=Array(12).fill(0),Lg=({visible:e})=>R.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},R.createElement("div",{className:"sonner-spinner"},Ag.map((t,n)=>R.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),Mg=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.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"})),Ig=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},R.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"})),jg=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.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"})),zg=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.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"})),Fg=()=>{let[e,t]=R.useState(!1);return R.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},as=1,Ug=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:as++,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)||as++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},vt=new Ug,Bg=(e,t)=>{let n=(t==null?void 0:t.id)||as++;return vt.addToast({title:e,...t,id:n}),n},Hg=Bg,Ro=Object.assign(Hg,{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 Wg(e,{insertAt:t}={}){if(!e||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))}Wg(`: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 al(e){return e.label!==void 0&&typeof e.onClick=="function"}var Vg=3,Yg="32px",Qg=4e3,Gg=356,Kg=14,Xg=20,Zg=200;function Jg(...e){return e.filter(Boolean).join(" ")}var qg=e=>{var t,n,r,o,l,i,a;let{invert:u,toast:s,unstyled:c,interacting:d,setHeights:h,visibleToasts:w,heights:S,index:y,toasts:N,expanded:m,removeToast:f,closeButton:v,style:E,cancelButtonStyle:k,actionButtonStyle:T,className:_="",descriptionClassName:b="",duration:U,position:I,gap:Q,loadingIcon:B,expandByDefault:he,classNames:G,icons:ke,closeButtonAriaLabel:ve="Close toast",pauseWhenPageIsHidden:je,cn:$}=e,[L,A]=R.useState(!1),[j,M]=R.useState(!1),[q,H]=R.useState(!1),[Ce,K]=R.useState(!1),[ft,Ct]=R.useState(0),[Tn,At]=R.useState(0),Lt=R.useRef(null),ze=R.useRef(null),Ir=y===0,jr=y+1<=w,ge=s.type,pt=s.dismissible!==!1,Kn=s.className||"",jo=s.descriptionClassName||"",Pn=R.useMemo(()=>S.findIndex(z=>z.toastId===s.id)||0,[S,s.id]),ki=R.useMemo(()=>{var z;return(z=s.closeButton)!=null?z:v},[s.closeButton,v]),Xn=R.useMemo(()=>s.duration||U||Qg,[s.duration,U]),Mt=R.useRef(0),Ye=R.useRef(0),It=R.useRef(0),jt=R.useRef(null),[zr,zo]=I.split("-"),Zn=R.useMemo(()=>S.reduce((z,de,ee)=>ee>=Pn?z:z+de.height,0),[S,Pn]),Fr=Fg(),Jn=s.invert||u,qt=ge==="loading";Ye.current=R.useMemo(()=>Pn*Q+Zn,[Pn,Zn]),R.useEffect(()=>{A(!0)},[]),R.useLayoutEffect(()=>{if(!L)return;let z=ze.current,de=z.style.height;z.style.height="auto";let ee=z.getBoundingClientRect().height;z.style.height=de,At(ee),h(tt=>tt.find(nt=>nt.toastId===s.id)?tt.map(nt=>nt.toastId===s.id?{...nt,height:ee}:nt):[{toastId:s.id,height:ee,position:s.position},...tt])},[L,s.title,s.description,h,s.id]);let xe=R.useCallback(()=>{M(!0),Ct(Ye.current),h(z=>z.filter(de=>de.toastId!==s.id)),setTimeout(()=>{f(s)},Zg)},[s,f,h,Ye]);R.useEffect(()=>{if(s.promise&&ge==="loading"||s.duration===1/0||s.type==="loading")return;let z,de=Xn;return m||d||je&&Fr?(()=>{if(It.current{var ee;(ee=s.onAutoClose)==null||ee.call(s,s),xe()},de)),()=>clearTimeout(z)},[m,d,he,s,Xn,xe,s.promise,ge,je,Fr]),R.useEffect(()=>{let z=ze.current;if(z){let de=z.getBoundingClientRect().height;return At(de),h(ee=>[{toastId:s.id,height:de,position:s.position},...ee]),()=>h(ee=>ee.filter(tt=>tt.toastId!==s.id))}},[h,s.id]),R.useEffect(()=>{s.delete&&xe()},[xe,s.delete]);function en(){return ke!=null&&ke.loading?R.createElement("div",{className:"sonner-loader","data-visible":ge==="loading"},ke.loading):B?R.createElement("div",{className:"sonner-loader","data-visible":ge==="loading"},B):R.createElement(Lg,{visible:ge==="loading"})}function qn(z){return{__html:Dg.sanitize(z)}}return R.createElement("li",{"aria-live":s.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:ze,className:$(_,Kn,G==null?void 0:G.toast,(t=s==null?void 0:s.classNames)==null?void 0:t.toast,G==null?void 0:G.default,G==null?void 0:G[ge],(n=s==null?void 0:s.classNames)==null?void 0:n[ge]),"data-sonner-toast":"","data-styled":!(s.jsx||s.unstyled||c),"data-mounted":L,"data-promise":!!s.promise,"data-removed":j,"data-visible":jr,"data-y-position":zr,"data-x-position":zo,"data-index":y,"data-front":Ir,"data-swiping":q,"data-dismissible":pt,"data-type":ge,"data-invert":Jn,"data-swipe-out":Ce,"data-expanded":!!(m||he&&L),style:{"--index":y,"--toasts-before":y,"--z-index":N.length-y,"--offset":`${j?ft:Ye.current}px`,"--initial-height":he?"auto":`${Tn}px`,...E,...s.style},onPointerDown:z=>{qt||!pt||(Lt.current=new Date,Ct(Ye.current),z.target.setPointerCapture(z.pointerId),z.target.tagName!=="BUTTON"&&(H(!0),jt.current={x:z.clientX,y:z.clientY}))},onPointerUp:()=>{var z,de,ee,tt;if(Ce||!pt)return;jt.current=null;let nt=Number(((z=ze.current)==null?void 0:z.style.getPropertyValue("--swipe-amount").replace("px",""))||0),ie=new Date().getTime()-((de=Lt.current)==null?void 0:de.getTime()),tn=Math.abs(nt)/ie;if(Math.abs(nt)>=Xg||tn>.11){Ct(Ye.current),(ee=s.onDismiss)==null||ee.call(s,s),xe(),K(!0);return}(tt=ze.current)==null||tt.style.setProperty("--swipe-amount","0px"),H(!1)},onPointerMove:z=>{var de;if(!jt.current||!pt)return;let ee=z.clientY-jt.current.y,tt=z.clientX-jt.current.x,nt=(zr==="top"?Math.min:Math.max)(0,ee),ie=z.pointerType==="touch"?10:2;Math.abs(nt)>ie?(de=ze.current)==null||de.style.setProperty("--swipe-amount",`${ee}px`):Math.abs(tt)>ie&&(jt.current=null)}},ki&&!s.jsx?R.createElement("button",{"aria-label":ve,"data-disabled":qt,"data-close-button":!0,onClick:qt||!pt?()=>{}:()=>{var z;xe(),(z=s.onDismiss)==null||z.call(s,s)},className:$(G==null?void 0:G.closeButton,(r=s==null?void 0:s.classNames)==null?void 0:r.closeButton)},R.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"},R.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),R.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,s.jsx||R.isValidElement(s.title)?s.jsx||s.title:R.createElement(R.Fragment,null,ge||s.icon||s.promise?R.createElement("div",{"data-icon":"",className:$(G==null?void 0:G.icon)},s.promise||s.type==="loading"&&!s.icon?s.icon||en():null,s.type!=="loading"?s.icon||(ke==null?void 0:ke[ge])||Og(ge):null):null,R.createElement("div",{"data-content":"",className:$(G==null?void 0:G.content)},R.createElement("div",{"data-title":"",className:$(G==null?void 0:G.title,(o=s==null?void 0:s.classNames)==null?void 0:o.title),dangerouslySetInnerHTML:qn(s.title)}),s.description?R.createElement("div",{"data-description":"",className:$(b,jo,G==null?void 0:G.description,(l=s==null?void 0:s.classNames)==null?void 0:l.description),dangerouslySetInnerHTML:qn(s.description)}):null),R.isValidElement(s.cancel)?s.cancel:s.cancel&&al(s.cancel)?R.createElement("button",{"data-button":!0,"data-cancel":!0,style:s.cancelButtonStyle||k,onClick:z=>{al(s.cancel)&&pt&&(xe(),s.cancel.onClick(z))},className:$(G==null?void 0:G.cancelButton,(i=s==null?void 0:s.classNames)==null?void 0:i.cancelButton)},s.cancel.label):null,R.isValidElement(s.action)?s.action:s.action&&al(s.action)?R.createElement("button",{"data-button":"",style:s.actionButtonStyle||T,onClick:z=>{al(s.action)&&(s.action.onClick(z),!z.defaultPrevented&&xe())},className:$(G==null?void 0:G.actionButton,(a=s==null?void 0:s.classNames)==null?void 0:a.actionButton)},s.action.label):null))};function Xc(){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 e0=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:c,style:d,visibleToasts:h=Vg,toastOptions:w,dir:S=Xc(),gap:y=Kg,loadingIcon:N,icons:m,containerAriaLabel:f="Notifications",pauseWhenPageIsHidden:v,cn:E=Jg}=e,[k,T]=R.useState([]),_=R.useMemo(()=>Array.from(new Set([n].concat(k.filter(j=>j.position).map(j=>j.position)))),[k,n]),[b,U]=R.useState([]),[I,Q]=R.useState(!1),[B,he]=R.useState(!1),[G,ke]=R.useState(u!=="system"?u:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),ve=R.useRef(null),je=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),$=R.useRef(null),L=R.useRef(!1),A=R.useCallback(j=>T(M=>M.filter(({id:q})=>q!==j.id)),[]);return R.useEffect(()=>vt.subscribe(j=>{if(j.dismiss){T(M=>M.map(q=>q.id===j.id?{...q,delete:!0}:q));return}setTimeout(()=>{Dp.flushSync(()=>{T(M=>{let q=M.findIndex(H=>H.id===j.id);return q!==-1?[...M.slice(0,q),{...M[q],...j},...M.slice(q+1)]:[j,...M]})})})}),[]),R.useEffect(()=>{if(u!=="system"){ke(u);return}u==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?ke("dark"):ke("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:j})=>{ke(j?"dark":"light")})},[u]),R.useEffect(()=>{k.length<=1&&Q(!1)},[k]),R.useEffect(()=>{let j=M=>{var q,H;r.every(Ce=>M[Ce]||M.code===Ce)&&(Q(!0),(q=ve.current)==null||q.focus()),M.code==="Escape"&&(document.activeElement===ve.current||(H=ve.current)!=null&&H.contains(document.activeElement))&&Q(!1)};return document.addEventListener("keydown",j),()=>document.removeEventListener("keydown",j)},[r]),R.useEffect(()=>{if(ve.current)return()=>{$.current&&($.current.focus({preventScroll:!0}),$.current=null,L.current=!1)}},[ve.current]),k.length?R.createElement("section",{"aria-label":`${f} ${je}`,tabIndex:-1},_.map((j,M)=>{var q;let[H,Ce]=j.split("-");return R.createElement("ol",{key:j,dir:S==="auto"?Xc():S,tabIndex:-1,ref:ve,className:i,"data-sonner-toaster":!0,"data-theme":G,"data-rich-colors":s,"data-y-position":H,"data-x-position":Ce,style:{"--front-toast-height":`${((q=b[0])==null?void 0:q.height)||0}px`,"--offset":typeof a=="number"?`${a}px`:a||Yg,"--width":`${Gg}px`,"--gap":`${y}px`,...d},onBlur:K=>{L.current&&!K.currentTarget.contains(K.relatedTarget)&&(L.current=!1,$.current&&($.current.focus({preventScroll:!0}),$.current=null))},onFocus:K=>{K.target instanceof HTMLElement&&K.target.dataset.dismissible==="false"||L.current||(L.current=!0,$.current=K.relatedTarget)},onMouseEnter:()=>Q(!0),onMouseMove:()=>Q(!0),onMouseLeave:()=>{B||Q(!1)},onPointerDown:K=>{K.target instanceof HTMLElement&&K.target.dataset.dismissible==="false"||he(!0)},onPointerUp:()=>he(!1)},k.filter(K=>!K.position&&M===0||K.position===j).map((K,ft)=>{var Ct,Tn;return R.createElement(qg,{key:K.id,icons:m,index:ft,toast:K,duration:(Ct=w==null?void 0:w.duration)!=null?Ct:c,className:w==null?void 0:w.className,descriptionClassName:w==null?void 0:w.descriptionClassName,invert:t,visibleToasts:h,closeButton:(Tn=w==null?void 0:w.closeButton)!=null?Tn:l,interacting:B,position:j,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:A,toasts:k.filter(At=>At.position==K.position),heights:b.filter(At=>At.position==K.position),setHeights:U,expandByDefault:o,gap:y,loadingIcon:N,expanded:I,pauseWhenPageIsHidden:v,cn:E})}))})):null};/*! Bundled license information: +`+l.stack}return{value:e,source:t,stack:o,digest:null}}function Ki(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Qa(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Wv=typeof WeakMap=="function"?WeakMap:Map;function ip(e,t,n){n=Qt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Xl||(Xl=!0,rs=r),Qa(e,t)},n}function ap(e,t,n){n=Qt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Qa(e,t)}}var l=e.stateNode;return l!==null&&typeof l.componentDidCatch=="function"&&(n.callback=function(){Qa(e,t),typeof r!="function"&&(yn===null?yn=new Set([this]):yn.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function Nc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Wv;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=og.bind(null,e,t,n),t.then(e,e))}function _c(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function $c(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Qt(-1,1),t.tag=2,gn(n,t,1))),n.lanes|=1),e)}var Vv=Jt.ReactCurrentOwner,Be=!1;function Oe(e,t,n,r){t.child=e===null?zf(t,null,n,r):_r(t,e.child,n,r)}function Tc(e,t,n,r,o){n=n.render;var l=t.ref;return Sr(t,o),r=Xs(e,t,n,r,l,o),n=Zs(),e!==null&&!Be?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zt(e,t,o)):(le&&n&&Is(t),t.flags|=1,Oe(e,t,r,o),t.child)}function Pc(e,t,n,r,o){if(e===null){var l=n.type;return typeof l=="function"&&!au(l)&&l.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=l,sp(e,t,l,r,o)):(e=Nl(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(l=e.child,!(e.lanes&o)){var i=l.memoizedProps;if(n=n.compare,n=n!==null?n:So,n(i,r)&&e.ref===t.ref)return Zt(e,t,o)}return t.flags|=1,e=xn(l,r),e.ref=t.ref,e.return=t,t.child=e}function sp(e,t,n,r,o){if(e!==null){var l=e.memoizedProps;if(So(l,r)&&e.ref===t.ref)if(Be=!1,t.pendingProps=r=l,(e.lanes&o)!==0)e.flags&131072&&(Be=!0);else return t.lanes=e.lanes,Zt(e,t,o)}return Ga(e,t,n,r,o)}function up(e,t,n){var r=t.pendingProps,o=r.children,l=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},te(vr,Ge),Ge|=n;else{if(!(n&1073741824))return e=l!==null?l.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,te(vr,Ge),Ge|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=l!==null?l.baseLanes:n,te(vr,Ge),Ge|=r}else l!==null?(r=l.baseLanes|n,t.memoizedState=null):r=n,te(vr,Ge),Ge|=r;return Oe(e,t,o,n),t.child}function cp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ga(e,t,n,r,o){var l=We(n)?Fn:De.current;return l=br(t,l),Sr(t,o),n=Xs(e,t,n,r,l,o),r=Zs(),e!==null&&!Be?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zt(e,t,o)):(le&&r&&Is(t),t.flags|=1,Oe(e,t,n,o),t.child)}function Rc(e,t,n,r,o){if(We(n)){var l=!0;Fl(t)}else l=!1;if(Sr(t,o),t.stateNode===null)kl(e,t),jf(t,n,r),Ya(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,a=t.memoizedProps;i.props=a;var u=i.context,s=n.contextType;typeof s=="object"&&s!==null?s=st(s):(s=We(n)?Fn:De.current,s=br(t,s));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof i.getSnapshotBeforeUpdate=="function";d||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==r||u!==s)&&Ec(t,i,r,s),sn=!1;var h=t.memoizedState;i.state=h,Vl(t,r,i,o),u=t.memoizedState,a!==r||h!==u||He.current||sn?(typeof c=="function"&&(Va(t,n,c,r),u=t.memoizedState),(a=sn||Sc(t,n,a,r,h,u,s))?(d||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=s,r=a):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Lf(e,t),a=t.memoizedProps,s=t.type===t.elementType?a:gt(t.type,a),i.props=s,d=t.pendingProps,h=i.context,u=n.contextType,typeof u=="object"&&u!==null?u=st(u):(u=We(n)?Fn:De.current,u=br(t,u));var w=n.getDerivedStateFromProps;(c=typeof w=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==d||h!==u)&&Ec(t,i,r,u),sn=!1,h=t.memoizedState,i.state=h,Vl(t,r,i,o);var S=t.memoizedState;a!==d||h!==S||He.current||sn?(typeof w=="function"&&(Va(t,n,w,r),S=t.memoizedState),(s=sn||Sc(t,n,s,r,h,S,u)||!1)?(c||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,S,u),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,S,u)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=S),i.props=r,i.state=S,i.context=u,r=s):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Ka(e,t,n,r,l,o)}function Ka(e,t,n,r,o,l){cp(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&vc(t,n,!1),Zt(e,t,l);r=t.stateNode,Vv.current=t;var a=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=_r(t,e.child,null,l),t.child=_r(t,null,a,l)):Oe(e,t,a,l),t.memoizedState=r.state,o&&vc(t,n,!0),t.child}function dp(e){var t=e.stateNode;t.pendingContext?hc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&hc(e,t.context,!1),Ys(e,t.containerInfo)}function Dc(e,t,n,r,o){return Nr(),Fs(o),t.flags|=256,Oe(e,t,n,r),t.child}var Xa={dehydrated:null,treeContext:null,retryLane:0};function Za(e){return{baseLanes:e,cachePool:null,transitions:null}}function fp(e,t,n){var r=t.pendingProps,o=ae.current,l=!1,i=(t.flags&128)!==0,a;if((a=i)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(l=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),te(ae,o&1),e===null)return Ha(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,l?(r=t.mode,l=t.child,i={mode:"hidden",children:i},!(r&1)&&l!==null?(l.childLanes=0,l.pendingProps=i):l=di(i,r,0,null),e=zn(e,r,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Za(n),t.memoizedState=Xa,e):eu(t,i));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return Yv(e,t,i,r,a,o,n);if(l){l=r.fallback,i=t.mode,o=e.child,a=o.sibling;var u={mode:"hidden",children:r.children};return!(i&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=xn(o,u),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?l=xn(a,l):(l=zn(l,i,n,null),l.flags|=2),l.return=t,r.return=t,r.sibling=l,t.child=r,r=l,l=t.child,i=e.child.memoizedState,i=i===null?Za(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},l.memoizedState=i,l.childLanes=e.childLanes&~n,t.memoizedState=Xa,r}return l=e.child,e=l.sibling,r=xn(l,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function eu(e,t){return t=di({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function el(e,t,n,r){return r!==null&&Fs(r),_r(t,e.child,null,n),e=eu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Yv(e,t,n,r,o,l,i){if(n)return t.flags&256?(t.flags&=-257,r=Ki(Error(C(422))),el(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(l=r.fallback,o=t.mode,r=di({mode:"visible",children:r.children},o,0,null),l=zn(l,o,i,null),l.flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,t.mode&1&&_r(t,e.child,null,i),t.child.memoizedState=Za(i),t.memoizedState=Xa,l);if(!(t.mode&1))return el(e,t,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,l=Error(C(419)),r=Ki(l,r,void 0),el(e,t,i,r)}if(a=(i&e.childLanes)!==0,Be||a){if(r=Ee,r!==null){switch(i&-i){case 4:o=2;break;case 16:o=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|i)?0:o,o!==0&&o!==l.retryLane&&(l.retryLane=o,Xt(e,o),Et(r,e,o,-1))}return iu(),r=Ki(Error(C(421))),el(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=lg.bind(null,e),o._reactRetry=t,null):(e=l.treeContext,Ke=vn(o.nextSibling),Xe=t,le=!0,wt=null,e!==null&&(rt[ot++]=Vt,rt[ot++]=Yt,rt[ot++]=Un,Vt=e.id,Yt=e.overflow,Un=t),t=eu(t,r.children),t.flags|=4096,t)}function Oc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Wa(e.return,t,n)}function Xi(e,t,n,r,o){var l=e.memoizedState;l===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=n,l.tailMode=o)}function pp(e,t,n){var r=t.pendingProps,o=r.revealOrder,l=r.tail;if(Oe(e,t,r.children,n),r=ae.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Oc(e,n,t);else if(e.tag===19)Oc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(te(ae,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Yl(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Xi(t,!1,o,n,l);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Yl(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Xi(t,!0,n,null,l);break;case"together":Xi(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function kl(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Zt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Hn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(C(153));if(t.child!==null){for(e=t.child,n=xn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=xn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Qv(e,t,n){switch(t.tag){case 3:dp(t),Nr();break;case 5:Ff(t);break;case 1:We(t.type)&&Fl(t);break;case 4:Ys(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;te(Hl,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(te(ae,ae.current&1),t.flags|=128,null):n&t.child.childLanes?fp(e,t,n):(te(ae,ae.current&1),e=Zt(e,t,n),e!==null?e.sibling:null);te(ae,ae.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return pp(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),te(ae,ae.current),r)break;return null;case 22:case 23:return t.lanes=0,up(e,t,n)}return Zt(e,t,n)}var mp,Ja,hp,vp;mp=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Ja=function(){};hp=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Mn(Rt.current);var l=null;switch(n){case"input":o=xa(e,o),r=xa(e,r),l=[];break;case"select":o=ue({},o,{value:void 0}),r=ue({},r,{value:void 0}),l=[];break;case"textarea":o=ka(e,o),r=ka(e,r),l=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Il)}ba(n,r);var i;n=null;for(s in o)if(!r.hasOwnProperty(s)&&o.hasOwnProperty(s)&&o[s]!=null)if(s==="style"){var a=o[s];for(i in a)a.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(mo.hasOwnProperty(s)?l||(l=[]):(l=l||[]).push(s,null));for(s in r){var u=r[s];if(a=o!=null?o[s]:void 0,r.hasOwnProperty(s)&&u!==a&&(u!=null||a!=null))if(s==="style")if(a){for(i in a)!a.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&a[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(l||(l=[]),l.push(s,n)),n=u;else s==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,a=a?a.__html:void 0,u!=null&&a!==u&&(l=l||[]).push(s,u)):s==="children"?typeof u!="string"&&typeof u!="number"||(l=l||[]).push(s,""+u):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(mo.hasOwnProperty(s)?(u!=null&&s==="onScroll"&&re("scroll",e),l||a===u||(l=[])):(l=l||[]).push(s,u))}n&&(l=l||[]).push("style",n);var s=l;(t.updateQueue=s)&&(t.flags|=4)}};vp=function(e,t,n,r){n!==r&&(t.flags|=4)};function Qr(e,t){if(!le)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Pe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gv(e,t,n){var r=t.pendingProps;switch(zs(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Pe(t),null;case 1:return We(t.type)&&zl(),Pe(t),null;case 3:return r=t.stateNode,$r(),oe(He),oe(De),Gs(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Jo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,wt!==null&&(is(wt),wt=null))),Ja(e,t),Pe(t),null;case 5:Qs(t);var o=Mn(No.current);if(n=t.type,e!==null&&t.stateNode!=null)hp(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(C(166));return Pe(t),null}if(e=Mn(Rt.current),Jo(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[$t]=t,r[Co]=l,e=(t.mode&1)!==0,n){case"dialog":re("cancel",r),re("close",r);break;case"iframe":case"object":case"embed":re("load",r);break;case"video":case"audio":for(o=0;o<\/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[$t]=t,e[Co]=r,mp(e,t,!1,!1),t.stateNode=e;e:{switch(i=Na(n,r),n){case"dialog":re("cancel",e),re("close",e),o=r;break;case"iframe":case"object":case"embed":re("load",e),o=r;break;case"video":case"audio":for(o=0;oPr&&(t.flags|=128,r=!0,Qr(l,!1),t.lanes=4194304)}else{if(!r)if(e=Yl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Qr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!le)return Pe(t),null}else 2*pe()-l.renderingStartTime>Pr&&n!==1073741824&&(t.flags|=128,r=!0,Qr(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=pe(),t.sibling=null,n=ae.current,te(ae,r?n&1|2:n&1),t):(Pe(t),null);case 22:case 23:return lu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ge&1073741824&&(Pe(t),t.subtreeFlags&6&&(t.flags|=8192)):Pe(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function Kv(e,t){switch(zs(t),t.tag){case 1:return We(t.type)&&zl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return $r(),oe(He),oe(De),Gs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Qs(t),null;case 13:if(oe(ae),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));Nr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return oe(ae),null;case 4:return $r(),null;case 10:return Hs(t.type._context),null;case 22:case 23:return lu(),null;case 24:return null;default:return null}}var tl=!1,Re=!1,Xv=typeof WeakSet=="function"?WeakSet:Set,O=null;function hr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ce(e,t,r)}else n.current=null}function qa(e,t,n){try{n()}catch(r){ce(e,t,r)}}var Ac=!1;function Zv(e,t){if(Ma=Ll,e=xf(),js(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,c=0,d=e,h=null;t:for(;;){for(var w;d!==n||o!==0&&d.nodeType!==3||(a=i+o),d!==l||r!==0&&d.nodeType!==3||(u=i+r),d.nodeType===3&&(i+=d.nodeValue.length),(w=d.firstChild)!==null;)h=d,d=w;for(;;){if(d===e)break t;if(h===n&&++s===o&&(a=i),h===l&&++c===r&&(u=i),(w=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=w}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ja={focusedElem:e,selectionRange:n},Ll=!1,O=t;O!==null;)if(t=O,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,O=e;else for(;O!==null;){t=O;try{var S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var y=S.memoizedProps,N=S.memoizedState,m=t.stateNode,f=m.getSnapshotBeforeUpdate(t.elementType===t.type?y:gt(t.type,y),N);m.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(E){ce(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,O=e;break}O=t.return}return S=Ac,Ac=!1,S}function co(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&&qa(t,n,l)}o=o.next}while(o!==r)}}function ui(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 es(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 gp(e){var t=e.alternate;t!==null&&(e.alternate=null,gp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[$t],delete t[Co],delete t[Fa],delete t[Ov],delete t[Av])),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 yp(e){return e.tag===5||e.tag===3||e.tag===4}function Lc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yp(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 ts(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=Il));else if(r!==4&&(e=e.child,e!==null))for(ts(e,t,n),e=e.sibling;e!==null;)ts(e,t,n),e=e.sibling}function ns(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(ns(e,t,n),e=e.sibling;e!==null;)ns(e,t,n),e=e.sibling}var Ne=null,yt=!1;function nn(e,t,n){for(n=n.child;n!==null;)wp(e,t,n),n=n.sibling}function wp(e,t,n){if(Pt&&typeof Pt.onCommitFiberUnmount=="function")try{Pt.onCommitFiberUnmount(ti,n)}catch{}switch(n.tag){case 5:Re||hr(n,t);case 6:var r=Ne,o=yt;Ne=null,nn(e,t,n),Ne=r,yt=o,Ne!==null&&(yt?(e=Ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ne.removeChild(n.stateNode));break;case 18:Ne!==null&&(yt?(e=Ne,n=n.stateNode,e.nodeType===8?Hi(e.parentNode,n):e.nodeType===1&&Hi(e,n),wo(e)):Hi(Ne,n.stateNode));break;case 4:r=Ne,o=yt,Ne=n.stateNode.containerInfo,yt=!0,nn(e,t,n),Ne=r,yt=o;break;case 0:case 11:case 14:case 15:if(!Re&&(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)&&qa(n,t,i),o=o.next}while(o!==r)}nn(e,t,n);break;case 1:if(!Re&&(hr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ce(n,t,a)}nn(e,t,n);break;case 21:nn(e,t,n);break;case 22:n.mode&1?(Re=(r=Re)||n.memoizedState!==null,nn(e,t,n),Re=r):nn(e,t,n);break;default:nn(e,t,n)}}function Mc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Xv),t.forEach(function(r){var o=ig.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function mt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=i),r&=~l}if(r=o,r=pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*qv(r/1960))-r,10e?16:e,fn===null)var r=!1;else{if(e=fn,fn=null,Zl=0,Y&6)throw Error(C(331));var o=Y;for(Y|=4,O=e.current;O!==null;){var l=O,i=l.child;if(O.flags&16){var a=l.deletions;if(a!==null){for(var u=0;upe()-ru?In(e,0):nu|=n),Ve(e,t)}function _p(e,t){t===0&&(e.mode&1?(t=Yo,Yo<<=1,!(Yo&130023424)&&(Yo=4194304)):t=1);var n=Ae();e=Xt(e,t),e!==null&&(Ao(e,t,n),Ve(e,n))}function lg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),_p(e,n)}function ig(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(C(314))}r!==null&&r.delete(t),_p(e,n)}var $p;$p=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,Qv(e,t,n);Be=!!(e.flags&131072)}else Be=!1,le&&t.flags&1048576&&Rf(t,Bl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;kl(e,t),e=t.pendingProps;var o=br(t,De.current);Sr(t,n),o=Xs(null,t,r,e,o,n);var l=Zs();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,We(r)?(l=!0,Fl(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Vs(t),o.updater=ai,t.stateNode=o,o._reactInternals=t,Ya(t,r,e,n),t=Ka(null,t,r,!0,l,n)):(t.tag=0,le&&l&&Is(t),Oe(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(kl(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=sg(r),e=gt(r,e),o){case 0:t=Ga(null,t,r,e,n);break e;case 1:t=Rc(null,t,r,e,n);break e;case 11:t=Tc(null,t,r,e,n);break e;case 14:t=Pc(null,t,r,gt(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gt(r,o),Ga(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gt(r,o),Rc(e,t,r,o,n);case 3:e:{if(dp(t),e===null)throw Error(C(387));r=t.pendingProps,l=t.memoizedState,o=l.element,Lf(e,t),Vl(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=Tr(Error(C(423)),t),t=Dc(e,t,r,n,o);break e}else if(r!==o){o=Tr(Error(C(424)),t),t=Dc(e,t,r,n,o);break e}else for(Ke=vn(t.stateNode.containerInfo.firstChild),Xe=t,le=!0,wt=null,n=zf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Nr(),r===o){t=Zt(e,t,n);break e}Oe(e,t,r,n)}t=t.child}return t;case 5:return Ff(t),e===null&&Ha(t),r=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,i=o.children,Ia(r,o)?i=null:l!==null&&Ia(r,l)&&(t.flags|=32),cp(e,t),Oe(e,t,i,n),t.child;case 6:return e===null&&Ha(t),null;case 13:return fp(e,t,n);case 4:return Ys(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=_r(t,null,r,n):Oe(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gt(r,o),Tc(e,t,r,o,n);case 7:return Oe(e,t,t.pendingProps,n),t.child;case 8:return Oe(e,t,t.pendingProps.children,n),t.child;case 12:return Oe(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,te(Hl,r._currentValue),r._currentValue=i,l!==null)if(kt(l.value,i)){if(l.children===o.children&&!He.current){t=Zt(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=Qt(-1,n&-n),u.tag=2;var s=l.updateQueue;if(s!==null){s=s.shared;var c=s.pending;c===null?u.next=u:(u.next=c.next,c.next=u),s.pending=u}}l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),Wa(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(C(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Wa(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}Oe(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Sr(t,n),o=st(o),r=r(o),t.flags|=1,Oe(e,t,r,n),t.child;case 14:return r=t.type,o=gt(r,t.pendingProps),o=gt(r.type,o),Pc(e,t,r,o,n);case 15:return sp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gt(r,o),kl(e,t),t.tag=1,We(r)?(e=!0,Fl(t)):e=!1,Sr(t,n),jf(t,r,o),Ya(t,r,o,n),Ka(null,t,r,!0,e,n);case 19:return pp(e,t,n);case 22:return up(e,t,n)}throw Error(C(156,t.tag))};function Tp(e,t){return ef(e,t)}function ag(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 it(e,t,n,r){return new ag(e,t,n,r)}function au(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sg(e){if(typeof e=="function")return au(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ns)return 11;if(e===_s)return 14}return 2}function xn(e,t){var n=e.alternate;return n===null?(n=it(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 Nl(e,t,n,r,o,l){var i=2;if(r=e,typeof e=="function")au(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case ir:return zn(n.children,o,l,t);case bs:i=8,o|=8;break;case va:return e=it(12,n,t,o|2),e.elementType=va,e.lanes=l,e;case ga:return e=it(13,n,t,o),e.elementType=ga,e.lanes=l,e;case ya:return e=it(19,n,t,o),e.elementType=ya,e.lanes=l,e;case jd:return di(n,o,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ld:i=10;break e;case Md:i=9;break e;case Ns:i=11;break e;case _s:i=14;break e;case an:i=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=it(i,n,t,o),t.elementType=e,t.type=r,t.lanes=l,t}function zn(e,t,n,r){return e=it(7,e,r,t),e.lanes=n,e}function di(e,t,n,r){return e=it(22,e,r,t),e.elementType=jd,e.lanes=n,e.stateNode={isHidden:!1},e}function Zi(e,t,n){return e=it(6,e,null,t),e.lanes=n,e}function Ji(e,t,n){return t=it(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ug(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=Di(0),this.expirationTimes=Di(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Di(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function su(e,t,n,r,o,l,i,a,u){return e=new ug(e,t,n,a,u),t===1?(t=1,l===!0&&(t|=8)):t=0,l=it(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Vs(l),e}function cg(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Op)}catch(e){console.error(e)}}Op(),Pd.exports=qe;var vi=Pd.exports;const Ap=gs(vi);var{entries:Lp,setPrototypeOf:Wc,isFrozen:hg,getPrototypeOf:vg,getOwnPropertyDescriptor:gg}=Object,{freeze:Le,seal:ct,create:Mp}=Object,{apply:as,construct:ss}=typeof Reflect<"u"&&Reflect;Le||(Le=function(e){return e});ct||(ct=function(e){return e});as||(as=function(e,t,n){return e.apply(t,n)});ss||(ss=function(e,t){return new e(...t)});var ol=Je(Array.prototype.forEach),Vc=Je(Array.prototype.pop),Kr=Je(Array.prototype.push),_l=Je(String.prototype.toLowerCase),qi=Je(String.prototype.toString),Yc=Je(String.prototype.match),Xr=Je(String.prototype.replace),yg=Je(String.prototype.indexOf),wg=Je(String.prototype.trim),ht=Je(Object.prototype.hasOwnProperty),Qe=Je(RegExp.prototype.test),Zr=xg(TypeError);function Je(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]:_l;Wc&&Wc(e,null);let r=t.length;for(;r--;){let o=t[r];if(typeof o=="string"){let l=n(o);l!==o&&(hg(t)||(t[r]=l),o=l)}e[o]=!0}return e}function Sg(e){for(let t=0;t/gm),Ng=ct(/\${[\w\W]*}/gm),_g=ct(/^data-[\-\w.\u00B7-\uFFFF]/),$g=ct(/^aria-[\-\w]+$/),jp=ct(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Tg=ct(/^(?:\w+script|data):/i),Pg=ct(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ip=ct(/^html$/i),Rg=ct(/^[a-z][a-z\d]*(-[a-z\d]+)+$/i),Zc=Object.freeze({__proto__:null,MUSTACHE_EXPR:Cg,ERB_EXPR:bg,TMPLIT_EXPR:Ng,DATA_ATTR:_g,ARIA_ATTR:$g,IS_ALLOWED_URI:jp,IS_SCRIPT_OR_DATA:Tg,ATTR_WHITESPACE:Pg,DOCTYPE_NAME:Ip,CUSTOM_ELEMENT:Rg}),Dg=function(){return typeof window>"u"?null:window},Og=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 zp(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Dg(),t=g=>zp(g);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:c=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:h,trustedTypes:w}=e,S=u.prototype,y=ll(S,"cloneNode"),N=ll(S,"nextSibling"),m=ll(S,"childNodes"),f=ll(S,"parentNode");if(typeof i=="function"){let g=n.createElement("template");g.content&&g.content.ownerDocument&&(n=g.content.ownerDocument)}let v,E="",{implementation:k,createNodeIterator:T,createDocumentFragment:$,getElementsByTagName:b}=n,{importNode:U}=r,j={};t.isSupported=typeof Lp=="function"&&typeof f=="function"&&k&&k.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:Q,ERB_EXPR:B,TMPLIT_EXPR:he,DATA_ATTR:G,ARIA_ATTR:ke,IS_SCRIPT_OR_DATA:ve,ATTR_WHITESPACE:Ie,CUSTOM_ELEMENT:_}=Zc,{IS_ALLOWED_URI:L}=Zc,A=null,I=W({},[...Qc,...ea,...ta,...na,...Gc]),M=null,q=W({},[...Kc,...ra,...Xc,...il]),H=Object.seal(Mp(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}})),Ce=null,K=null,ft=!0,Ct=!0,Tn=!1,At=!0,Lt=!1,ze=!1,jr=!1,Ir=!1,ge=!1,pt=!1,Kn=!1,Io=!0,Pn=!1,Ci="user-content-",Xn=!0,Mt=!1,Ye={},jt=null,It=W({},["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"]),zr=null,zo=W({},["audio","video","img","source","image","track"]),Zn=null,Fr=W({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Jn="http://www.w3.org/1998/Math/MathML",qt="http://www.w3.org/2000/svg",xe="http://www.w3.org/1999/xhtml",en=xe,qn=!1,z=null,de=W({},[Jn,qt,xe],qi),ee=null,tt=["application/xhtml+xml","text/html"],nt="text/html",ie=null,tn=null,Mm=n.createElement("form"),Eu=function(g){return g instanceof RegExp||g instanceof Function},bi=function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(tn&&tn===g)){if((!g||typeof g!="object")&&(g={}),g=On(g),ee=tt.indexOf(g.PARSER_MEDIA_TYPE)===-1?nt:g.PARSER_MEDIA_TYPE,ie=ee==="application/xhtml+xml"?qi:_l,A=ht(g,"ALLOWED_TAGS")?W({},g.ALLOWED_TAGS,ie):I,M=ht(g,"ALLOWED_ATTR")?W({},g.ALLOWED_ATTR,ie):q,z=ht(g,"ALLOWED_NAMESPACES")?W({},g.ALLOWED_NAMESPACES,qi):de,Zn=ht(g,"ADD_URI_SAFE_ATTR")?W(On(Fr),g.ADD_URI_SAFE_ATTR,ie):Fr,zr=ht(g,"ADD_DATA_URI_TAGS")?W(On(zo),g.ADD_DATA_URI_TAGS,ie):zo,jt=ht(g,"FORBID_CONTENTS")?W({},g.FORBID_CONTENTS,ie):It,Ce=ht(g,"FORBID_TAGS")?W({},g.FORBID_TAGS,ie):{},K=ht(g,"FORBID_ATTR")?W({},g.FORBID_ATTR,ie):{},Ye=ht(g,"USE_PROFILES")?g.USE_PROFILES:!1,ft=g.ALLOW_ARIA_ATTR!==!1,Ct=g.ALLOW_DATA_ATTR!==!1,Tn=g.ALLOW_UNKNOWN_PROTOCOLS||!1,At=g.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Lt=g.SAFE_FOR_TEMPLATES||!1,ze=g.WHOLE_DOCUMENT||!1,ge=g.RETURN_DOM||!1,pt=g.RETURN_DOM_FRAGMENT||!1,Kn=g.RETURN_TRUSTED_TYPE||!1,Ir=g.FORCE_BODY||!1,Io=g.SANITIZE_DOM!==!1,Pn=g.SANITIZE_NAMED_PROPS||!1,Xn=g.KEEP_CONTENT!==!1,Mt=g.IN_PLACE||!1,L=g.ALLOWED_URI_REGEXP||jp,en=g.NAMESPACE||xe,H=g.CUSTOM_ELEMENT_HANDLING||{},g.CUSTOM_ELEMENT_HANDLING&&Eu(g.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(H.tagNameCheck=g.CUSTOM_ELEMENT_HANDLING.tagNameCheck),g.CUSTOM_ELEMENT_HANDLING&&Eu(g.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(H.attributeNameCheck=g.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),g.CUSTOM_ELEMENT_HANDLING&&typeof g.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(H.allowCustomizedBuiltInElements=g.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Lt&&(Ct=!1),pt&&(ge=!0),Ye&&(A=W({},Gc),M=[],Ye.html===!0&&(W(A,Qc),W(M,Kc)),Ye.svg===!0&&(W(A,ea),W(M,ra),W(M,il)),Ye.svgFilters===!0&&(W(A,ta),W(M,ra),W(M,il)),Ye.mathMl===!0&&(W(A,na),W(M,Xc),W(M,il))),g.ADD_TAGS&&(A===I&&(A=On(A)),W(A,g.ADD_TAGS,ie)),g.ADD_ATTR&&(M===q&&(M=On(M)),W(M,g.ADD_ATTR,ie)),g.ADD_URI_SAFE_ATTR&&W(Zn,g.ADD_URI_SAFE_ATTR,ie),g.FORBID_CONTENTS&&(jt===It&&(jt=On(jt)),W(jt,g.FORBID_CONTENTS,ie)),Xn&&(A["#text"]=!0),ze&&W(A,["html","head","body"]),A.table&&(W(A,["tbody"]),delete Ce.tbody),g.TRUSTED_TYPES_POLICY){if(typeof g.TRUSTED_TYPES_POLICY.createHTML!="function")throw Zr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof g.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Zr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');v=g.TRUSTED_TYPES_POLICY,E=v.createHTML("")}else v===void 0&&(v=Og(w,o)),v!==null&&typeof E=="string"&&(E=v.createHTML(""));Le&&Le(g),tn=g}},ku=W({},["mi","mo","mn","ms","mtext"]),Cu=W({},["foreignobject","desc","title","annotation-xml"]),jm=W({},["title","style","font","a","script"]),bu=W({},[...ea,...ta,...Eg]),Nu=W({},[...na,...kg]),Im=function(g){let D=f(g);(!D||!D.tagName)&&(D={namespaceURI:en,tagName:"template"});let P=_l(g.tagName),X=_l(D.tagName);return z[g.namespaceURI]?g.namespaceURI===qt?D.namespaceURI===xe?P==="svg":D.namespaceURI===Jn?P==="svg"&&(X==="annotation-xml"||ku[X]):!!bu[P]:g.namespaceURI===Jn?D.namespaceURI===xe?P==="math":D.namespaceURI===qt?P==="math"&&Cu[X]:!!Nu[P]:g.namespaceURI===xe?D.namespaceURI===qt&&!Cu[X]||D.namespaceURI===Jn&&!ku[X]?!1:!Nu[P]&&(jm[P]||!bu[P]):!!(ee==="application/xhtml+xml"&&z[g.namespaceURI]):!1},er=function(g){Kr(t.removed,{element:g});try{g.parentNode.removeChild(g)}catch{g.remove()}},Ni=function(g,D){try{Kr(t.removed,{attribute:D.getAttributeNode(g),from:D})}catch{Kr(t.removed,{attribute:null,from:D})}if(D.removeAttribute(g),g==="is"&&!M[g])if(ge||pt)try{er(D)}catch{}else try{D.setAttribute(g,"")}catch{}},_u=function(g){let D=null,P=null;if(Ir)g=""+g;else{let fe=Yc(g,/^[\r\n\t ]+/);P=fe&&fe[0]}ee==="application/xhtml+xml"&&en===xe&&(g=''+g+"");let X=v?v.createHTML(g):g;if(en===xe)try{D=new h().parseFromString(X,ee)}catch{}if(!D||!D.documentElement){D=k.createDocument(en,"template",null);try{D.documentElement.innerHTML=qn?E:X}catch{}}let be=D.body||D.documentElement;return g&&P&&be.insertBefore(n.createTextNode(P),be.childNodes[0]||null),en===xe?b.call(D,ze?"html":"body")[0]:ze?D.documentElement:be},$u=function(g){return T.call(g.ownerDocument||g,g,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION,null)},zm=function(g){return g instanceof d&&(typeof g.nodeName!="string"||typeof g.textContent!="string"||typeof g.removeChild!="function"||!(g.attributes instanceof c)||typeof g.removeAttribute!="function"||typeof g.setAttribute!="function"||typeof g.namespaceURI!="string"||typeof g.insertBefore!="function"||typeof g.hasChildNodes!="function")},Tu=function(g){return typeof a=="function"&&g instanceof a},zt=function(g,D,P){j[g]&&ol(j[g],X=>{X.call(t,D,P,tn)})},Pu=function(g){let D=null;if(zt("beforeSanitizeElements",g,null),zm(g))return er(g),!0;let P=ie(g.nodeName);if(zt("uponSanitizeElement",g,{tagName:P,allowedTags:A}),g.hasChildNodes()&&!Tu(g.firstElementChild)&&Qe(/<[/\w]/g,g.innerHTML)&&Qe(/<[/\w]/g,g.textContent))return er(g),!0;if(!A[P]||Ce[P]){if(!Ce[P]&&Du(P)&&(H.tagNameCheck instanceof RegExp&&Qe(H.tagNameCheck,P)||H.tagNameCheck instanceof Function&&H.tagNameCheck(P)))return!1;if(Xn&&!jt[P]){let X=f(g)||g.parentNode,be=m(g)||g.childNodes;if(be&&X){let fe=be.length;for(let Ft=fe-1;Ft>=0;--Ft)X.insertBefore(y(be[Ft],!0),N(g))}}return er(g),!0}return g instanceof u&&!Im(g)||(P==="noscript"||P==="noembed"||P==="noframes")&&Qe(/<\/no(script|embed|frames)/i,g.innerHTML)?(er(g),!0):(Lt&&g.nodeType===3&&(D=g.textContent,ol([Q,B,he],X=>{D=Xr(D,X," ")}),g.textContent!==D&&(Kr(t.removed,{element:g.cloneNode()}),g.textContent=D)),zt("afterSanitizeElements",g,null),!1)},Ru=function(g,D,P){if(Io&&(D==="id"||D==="name")&&(P in n||P in Mm))return!1;if(!(Ct&&!K[D]&&Qe(G,D))&&!(ft&&Qe(ke,D))){if(!M[D]||K[D]){if(!(Du(g)&&(H.tagNameCheck instanceof RegExp&&Qe(H.tagNameCheck,g)||H.tagNameCheck instanceof Function&&H.tagNameCheck(g))&&(H.attributeNameCheck instanceof RegExp&&Qe(H.attributeNameCheck,D)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(D))||D==="is"&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&Qe(H.tagNameCheck,P)||H.tagNameCheck instanceof Function&&H.tagNameCheck(P))))return!1}else if(!Zn[D]&&!Qe(L,Xr(P,Ie,""))&&!((D==="src"||D==="xlink:href"||D==="href")&&g!=="script"&&yg(P,"data:")===0&&zr[g])&&!(Tn&&!Qe(ve,Xr(P,Ie,"")))&&P)return!1}return!0},Du=function(g){return g!=="annotation-xml"&&Yc(g,_)},Ou=function(g){zt("beforeSanitizeAttributes",g,null);let{attributes:D}=g;if(!D)return;let P={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:M},X=D.length;for(;X--;){let be=D[X],{name:fe,namespaceURI:Ft,value:Ut}=be,bt=ie(fe),Fe=fe==="value"?Ut:wg(Ut);if(P.attrName=bt,P.attrValue=Fe,P.keepAttr=!0,P.forceKeepAttr=void 0,zt("uponSanitizeAttribute",g,P),Fe=P.attrValue,P.forceKeepAttr||(Ni(fe,g),!P.keepAttr))continue;if(!At&&Qe(/\/>/i,Fe)){Ni(fe,g);continue}Lt&&ol([Q,B,he],Lu=>{Fe=Xr(Fe,Lu," ")});let Au=ie(g.nodeName);if(Ru(Au,bt,Fe)){if(Pn&&(bt==="id"||bt==="name")&&(Ni(fe,g),Fe=Ci+Fe),v&&typeof w=="object"&&typeof w.getAttributeType=="function"&&!Ft)switch(w.getAttributeType(Au,bt)){case"TrustedHTML":{Fe=v.createHTML(Fe);break}case"TrustedScriptURL":{Fe=v.createScriptURL(Fe);break}}try{Ft?g.setAttributeNS(Ft,fe,Fe):g.setAttribute(fe,Fe),Vc(t.removed)}catch{}}}zt("afterSanitizeAttributes",g,null)},Fm=function g(D){let P=null,X=$u(D);for(zt("beforeSanitizeShadowDOM",D,null);P=X.nextNode();)zt("uponSanitizeShadowNode",P,null),!Pu(P)&&(P.content instanceof l&&g(P.content),Ou(P));zt("afterSanitizeShadowDOM",D,null)};return t.sanitize=function(g){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},P=null,X=null,be=null,fe=null;if(qn=!g,qn&&(g=""),typeof g!="string"&&!Tu(g))if(typeof g.toString=="function"){if(g=g.toString(),typeof g!="string")throw Zr("dirty is not a string, aborting")}else throw Zr("toString is not a function");if(!t.isSupported)return g;if(jr||bi(D),t.removed=[],typeof g=="string"&&(Mt=!1),Mt){if(g.nodeName){let bt=ie(g.nodeName);if(!A[bt]||Ce[bt])throw Zr("root node is forbidden and cannot be sanitized in-place")}}else if(g instanceof a)P=_u(""),X=P.ownerDocument.importNode(g,!0),X.nodeType===1&&X.nodeName==="BODY"||X.nodeName==="HTML"?P=X:P.appendChild(X);else{if(!ge&&!Lt&&!ze&&g.indexOf("<")===-1)return v&&Kn?v.createHTML(g):g;if(P=_u(g),!P)return ge?null:Kn?E:""}P&&Ir&&er(P.firstChild);let Ft=$u(Mt?g:P);for(;be=Ft.nextNode();)Pu(be)||(be.content instanceof l&&Fm(be.content),Ou(be));if(Mt)return g;if(ge){if(pt)for(fe=$.call(P.ownerDocument);P.firstChild;)fe.appendChild(P.firstChild);else fe=P;return(M.shadowroot||M.shadowrootmode)&&(fe=U.call(r,fe,!0)),fe}let Ut=ze?P.outerHTML:P.innerHTML;return ze&&A["!doctype"]&&P.ownerDocument&&P.ownerDocument.doctype&&P.ownerDocument.doctype.name&&Qe(Ip,P.ownerDocument.doctype.name)&&(Ut=" +`+Ut),Lt&&ol([Q,B,he],bt=>{Ut=Xr(Ut,bt," ")}),v&&Kn?v.createHTML(Ut):Ut},t.setConfig=function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};bi(g),jr=!0},t.clearConfig=function(){tn=null,jr=!1},t.isValidAttribute=function(g,D,P){tn||bi({});let X=ie(g),be=ie(D);return Ru(X,be,P)},t.addHook=function(g,D){typeof D=="function"&&(j[g]=j[g]||[],Kr(j[g],D))},t.removeHook=function(g){if(j[g])return Vc(j[g])},t.removeHooks=function(g){j[g]&&(j[g]=[])},t.removeAllHooks=function(){j={}},t}var Ag=zp(),Lg=e=>{switch(e){case"success":return Ig;case"info":return Fg;case"warning":return zg;case"error":return Ug;default:return null}},Mg=Array(12).fill(0),jg=({visible:e})=>R.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},R.createElement("div",{className:"sonner-spinner"},Mg.map((t,n)=>R.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),Ig=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.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"})),zg=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},R.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"})),Fg=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.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"})),Ug=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.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"})),Bg=()=>{let[e,t]=R.useState(!1);return R.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},us=1,Hg=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:us++,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)||us++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},vt=new Hg,Wg=(e,t)=>{let n=(t==null?void 0:t.id)||us++;return vt.addToast({title:e,...t,id:n}),n},Vg=Wg,Ro=Object.assign(Vg,{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 Yg(e,{insertAt:t}={}){if(!e||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))}Yg(`: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 al(e){return e.label!==void 0&&typeof e.onClick=="function"}var Qg=3,Gg="32px",Kg=4e3,Xg=356,Zg=14,Jg=20,qg=200;function e0(...e){return e.filter(Boolean).join(" ")}var t0=e=>{var t,n,r,o,l,i,a;let{invert:u,toast:s,unstyled:c,interacting:d,setHeights:h,visibleToasts:w,heights:S,index:y,toasts:N,expanded:m,removeToast:f,closeButton:v,style:E,cancelButtonStyle:k,actionButtonStyle:T,className:$="",descriptionClassName:b="",duration:U,position:j,gap:Q,loadingIcon:B,expandByDefault:he,classNames:G,icons:ke,closeButtonAriaLabel:ve="Close toast",pauseWhenPageIsHidden:Ie,cn:_}=e,[L,A]=R.useState(!1),[I,M]=R.useState(!1),[q,H]=R.useState(!1),[Ce,K]=R.useState(!1),[ft,Ct]=R.useState(0),[Tn,At]=R.useState(0),Lt=R.useRef(null),ze=R.useRef(null),jr=y===0,Ir=y+1<=w,ge=s.type,pt=s.dismissible!==!1,Kn=s.className||"",Io=s.descriptionClassName||"",Pn=R.useMemo(()=>S.findIndex(z=>z.toastId===s.id)||0,[S,s.id]),Ci=R.useMemo(()=>{var z;return(z=s.closeButton)!=null?z:v},[s.closeButton,v]),Xn=R.useMemo(()=>s.duration||U||Kg,[s.duration,U]),Mt=R.useRef(0),Ye=R.useRef(0),jt=R.useRef(0),It=R.useRef(null),[zr,zo]=j.split("-"),Zn=R.useMemo(()=>S.reduce((z,de,ee)=>ee>=Pn?z:z+de.height,0),[S,Pn]),Fr=Bg(),Jn=s.invert||u,qt=ge==="loading";Ye.current=R.useMemo(()=>Pn*Q+Zn,[Pn,Zn]),R.useEffect(()=>{A(!0)},[]),R.useLayoutEffect(()=>{if(!L)return;let z=ze.current,de=z.style.height;z.style.height="auto";let ee=z.getBoundingClientRect().height;z.style.height=de,At(ee),h(tt=>tt.find(nt=>nt.toastId===s.id)?tt.map(nt=>nt.toastId===s.id?{...nt,height:ee}:nt):[{toastId:s.id,height:ee,position:s.position},...tt])},[L,s.title,s.description,h,s.id]);let xe=R.useCallback(()=>{M(!0),Ct(Ye.current),h(z=>z.filter(de=>de.toastId!==s.id)),setTimeout(()=>{f(s)},qg)},[s,f,h,Ye]);R.useEffect(()=>{if(s.promise&&ge==="loading"||s.duration===1/0||s.type==="loading")return;let z,de=Xn;return m||d||Ie&&Fr?(()=>{if(jt.current{var ee;(ee=s.onAutoClose)==null||ee.call(s,s),xe()},de)),()=>clearTimeout(z)},[m,d,he,s,Xn,xe,s.promise,ge,Ie,Fr]),R.useEffect(()=>{let z=ze.current;if(z){let de=z.getBoundingClientRect().height;return At(de),h(ee=>[{toastId:s.id,height:de,position:s.position},...ee]),()=>h(ee=>ee.filter(tt=>tt.toastId!==s.id))}},[h,s.id]),R.useEffect(()=>{s.delete&&xe()},[xe,s.delete]);function en(){return ke!=null&&ke.loading?R.createElement("div",{className:"sonner-loader","data-visible":ge==="loading"},ke.loading):B?R.createElement("div",{className:"sonner-loader","data-visible":ge==="loading"},B):R.createElement(jg,{visible:ge==="loading"})}function qn(z){return{__html:Ag.sanitize(z)}}return R.createElement("li",{"aria-live":s.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:ze,className:_($,Kn,G==null?void 0:G.toast,(t=s==null?void 0:s.classNames)==null?void 0:t.toast,G==null?void 0:G.default,G==null?void 0:G[ge],(n=s==null?void 0:s.classNames)==null?void 0:n[ge]),"data-sonner-toast":"","data-styled":!(s.jsx||s.unstyled||c),"data-mounted":L,"data-promise":!!s.promise,"data-removed":I,"data-visible":Ir,"data-y-position":zr,"data-x-position":zo,"data-index":y,"data-front":jr,"data-swiping":q,"data-dismissible":pt,"data-type":ge,"data-invert":Jn,"data-swipe-out":Ce,"data-expanded":!!(m||he&&L),style:{"--index":y,"--toasts-before":y,"--z-index":N.length-y,"--offset":`${I?ft:Ye.current}px`,"--initial-height":he?"auto":`${Tn}px`,...E,...s.style},onPointerDown:z=>{qt||!pt||(Lt.current=new Date,Ct(Ye.current),z.target.setPointerCapture(z.pointerId),z.target.tagName!=="BUTTON"&&(H(!0),It.current={x:z.clientX,y:z.clientY}))},onPointerUp:()=>{var z,de,ee,tt;if(Ce||!pt)return;It.current=null;let nt=Number(((z=ze.current)==null?void 0:z.style.getPropertyValue("--swipe-amount").replace("px",""))||0),ie=new Date().getTime()-((de=Lt.current)==null?void 0:de.getTime()),tn=Math.abs(nt)/ie;if(Math.abs(nt)>=Jg||tn>.11){Ct(Ye.current),(ee=s.onDismiss)==null||ee.call(s,s),xe(),K(!0);return}(tt=ze.current)==null||tt.style.setProperty("--swipe-amount","0px"),H(!1)},onPointerMove:z=>{var de;if(!It.current||!pt)return;let ee=z.clientY-It.current.y,tt=z.clientX-It.current.x,nt=(zr==="top"?Math.min:Math.max)(0,ee),ie=z.pointerType==="touch"?10:2;Math.abs(nt)>ie?(de=ze.current)==null||de.style.setProperty("--swipe-amount",`${ee}px`):Math.abs(tt)>ie&&(It.current=null)}},Ci&&!s.jsx?R.createElement("button",{"aria-label":ve,"data-disabled":qt,"data-close-button":!0,onClick:qt||!pt?()=>{}:()=>{var z;xe(),(z=s.onDismiss)==null||z.call(s,s)},className:_(G==null?void 0:G.closeButton,(r=s==null?void 0:s.classNames)==null?void 0:r.closeButton)},R.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"},R.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),R.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,s.jsx||R.isValidElement(s.title)?s.jsx||s.title:R.createElement(R.Fragment,null,ge||s.icon||s.promise?R.createElement("div",{"data-icon":"",className:_(G==null?void 0:G.icon)},s.promise||s.type==="loading"&&!s.icon?s.icon||en():null,s.type!=="loading"?s.icon||(ke==null?void 0:ke[ge])||Lg(ge):null):null,R.createElement("div",{"data-content":"",className:_(G==null?void 0:G.content)},R.createElement("div",{"data-title":"",className:_(G==null?void 0:G.title,(o=s==null?void 0:s.classNames)==null?void 0:o.title),dangerouslySetInnerHTML:qn(s.title)}),s.description?R.createElement("div",{"data-description":"",className:_(b,Io,G==null?void 0:G.description,(l=s==null?void 0:s.classNames)==null?void 0:l.description),dangerouslySetInnerHTML:qn(s.description)}):null),R.isValidElement(s.cancel)?s.cancel:s.cancel&&al(s.cancel)?R.createElement("button",{"data-button":!0,"data-cancel":!0,style:s.cancelButtonStyle||k,onClick:z=>{al(s.cancel)&&pt&&(xe(),s.cancel.onClick(z))},className:_(G==null?void 0:G.cancelButton,(i=s==null?void 0:s.classNames)==null?void 0:i.cancelButton)},s.cancel.label):null,R.isValidElement(s.action)?s.action:s.action&&al(s.action)?R.createElement("button",{"data-button":"",style:s.actionButtonStyle||T,onClick:z=>{al(s.action)&&(s.action.onClick(z),!z.defaultPrevented&&xe())},className:_(G==null?void 0:G.actionButton,(a=s==null?void 0:s.classNames)==null?void 0:a.actionButton)},s.action.label):null))};function Jc(){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 n0=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:c,style:d,visibleToasts:h=Qg,toastOptions:w,dir:S=Jc(),gap:y=Zg,loadingIcon:N,icons:m,containerAriaLabel:f="Notifications",pauseWhenPageIsHidden:v,cn:E=e0}=e,[k,T]=R.useState([]),$=R.useMemo(()=>Array.from(new Set([n].concat(k.filter(I=>I.position).map(I=>I.position)))),[k,n]),[b,U]=R.useState([]),[j,Q]=R.useState(!1),[B,he]=R.useState(!1),[G,ke]=R.useState(u!=="system"?u:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),ve=R.useRef(null),Ie=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),_=R.useRef(null),L=R.useRef(!1),A=R.useCallback(I=>T(M=>M.filter(({id:q})=>q!==I.id)),[]);return R.useEffect(()=>vt.subscribe(I=>{if(I.dismiss){T(M=>M.map(q=>q.id===I.id?{...q,delete:!0}:q));return}setTimeout(()=>{Ap.flushSync(()=>{T(M=>{let q=M.findIndex(H=>H.id===I.id);return q!==-1?[...M.slice(0,q),{...M[q],...I},...M.slice(q+1)]:[I,...M]})})})}),[]),R.useEffect(()=>{if(u!=="system"){ke(u);return}u==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?ke("dark"):ke("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:I})=>{ke(I?"dark":"light")})},[u]),R.useEffect(()=>{k.length<=1&&Q(!1)},[k]),R.useEffect(()=>{let I=M=>{var q,H;r.every(Ce=>M[Ce]||M.code===Ce)&&(Q(!0),(q=ve.current)==null||q.focus()),M.code==="Escape"&&(document.activeElement===ve.current||(H=ve.current)!=null&&H.contains(document.activeElement))&&Q(!1)};return document.addEventListener("keydown",I),()=>document.removeEventListener("keydown",I)},[r]),R.useEffect(()=>{if(ve.current)return()=>{_.current&&(_.current.focus({preventScroll:!0}),_.current=null,L.current=!1)}},[ve.current]),k.length?R.createElement("section",{"aria-label":`${f} ${Ie}`,tabIndex:-1},$.map((I,M)=>{var q;let[H,Ce]=I.split("-");return R.createElement("ol",{key:I,dir:S==="auto"?Jc():S,tabIndex:-1,ref:ve,className:i,"data-sonner-toaster":!0,"data-theme":G,"data-rich-colors":s,"data-y-position":H,"data-x-position":Ce,style:{"--front-toast-height":`${((q=b[0])==null?void 0:q.height)||0}px`,"--offset":typeof a=="number"?`${a}px`:a||Gg,"--width":`${Xg}px`,"--gap":`${y}px`,...d},onBlur:K=>{L.current&&!K.currentTarget.contains(K.relatedTarget)&&(L.current=!1,_.current&&(_.current.focus({preventScroll:!0}),_.current=null))},onFocus:K=>{K.target instanceof HTMLElement&&K.target.dataset.dismissible==="false"||L.current||(L.current=!0,_.current=K.relatedTarget)},onMouseEnter:()=>Q(!0),onMouseMove:()=>Q(!0),onMouseLeave:()=>{B||Q(!1)},onPointerDown:K=>{K.target instanceof HTMLElement&&K.target.dataset.dismissible==="false"||he(!0)},onPointerUp:()=>he(!1)},k.filter(K=>!K.position&&M===0||K.position===I).map((K,ft)=>{var Ct,Tn;return R.createElement(t0,{key:K.id,icons:m,index:ft,toast:K,duration:(Ct=w==null?void 0:w.duration)!=null?Ct:c,className:w==null?void 0:w.className,descriptionClassName:w==null?void 0:w.descriptionClassName,invert:t,visibleToasts:h,closeButton:(Tn=w==null?void 0:w.closeButton)!=null?Tn:l,interacting:B,position:I,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:A,toasts:k.filter(At=>At.position==K.position),heights:b.filter(At=>At.position==K.position),setHeights:U,expandByDefault:o,gap:y,loadingIcon:N,expanded:j,pauseWhenPageIsHidden:v,cn:E})}))})):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 vi(e,t=!1){return t?(location.protocol==="https:"?"wss://":"ws://")+location.host+e:e}async function Do(e,t){const n=await window.fetch(vi(e),t);if(n.status>=400){let r=await n.text();try{r=JSON.parse(r).error}catch{}throw Ro.error(r),new Error(r)}return n}function gi(e,t,n){return Do(e,{...n,method:"POST",headers:{"Content-Type":"application/json",...n==null?void 0:n.headers},body:JSON.stringify(t)})}function J(){return J=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(n=>t0(n,t))}function Gn(...e){return p.useCallback(jp(...e),e)}const yi=p.forwardRef((e,t)=>{const{children:n,...r}=e,o=p.Children.toArray(n),l=o.find(n0);if(l){const i=l.props.children,a=o.map(u=>u===l?p.Children.count(i)>1?p.Children.only(null):p.isValidElement(i)?i.props.children:null:u);return p.createElement(ss,J({},r,{ref:t}),p.isValidElement(i)?p.cloneElement(i,void 0,a):null)}return p.createElement(ss,J({},r,{ref:t}),n)});yi.displayName="Slot";const ss=p.forwardRef((e,t)=>{const{children:n,...r}=e;return p.isValidElement(n)?p.cloneElement(n,{...r0(r,n.props),ref:t?jp(t,n.ref):n.ref}):p.Children.count(n)>1?p.Children.only(null):null});ss.displayName="SlotClone";const zp=({children:e})=>p.createElement(p.Fragment,null,e);function n0(e){return p.isValidElement(e)&&e.type===zp}function r0(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 Fp(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,Jc=o0,Up=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Jc(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 c=n==null?void 0:n[s],d=l==null?void 0:l[s];if(c===null)return null;const h=Zc(c)||Zc(d);return o[s][h]}),a=n&&Object.entries(n).reduce((s,c)=>{let[d,h]=c;return h===void 0||(s[d]=h),s},{}),u=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((s,c)=>{let{class:d,className:h,...w}=c;return Object.entries(w).every(S=>{let[y,N]=S;return Array.isArray(N)?N.includes({...l,...a}[y]):{...l,...a}[y]===N})?[...s,d,h]:s},[]);return Jc(e,i,u,n==null?void 0:n.class,n==null?void 0:n.className)};function Bp(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 qc=/^\[(.+)\]$/;function a0(e){if(qc.test(e)){const t=qc.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function s0(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return c0(Object.entries(e.classGroups),n).forEach(([l,i])=>{us(i,r,l,t)}),r}function us(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const l=o===""?t:ed(t,o);l.classGroupId=n;return}if(typeof o=="function"){if(u0(o)){us(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([l,i])=>{us(i,ed(t,l),n,r)})})}function ed(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 u0(e){return e.isThemeGetter}function c0(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 d0(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 Wp="!";function f0(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,c;for(let y=0;ys?c-s:void 0;return{modifiers:a,hasImportantModifier:h,baseClassName:w,maybePostfixModifierPosition:S}}}function p0(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 m0(e){return{cache:d0(e.cacheSize),splitModifiers:f0(e),...i0(e)}}const h0=/\s+/;function v0(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,l=new Set;return e.trim().split(h0).map(i=>{const{modifiers:a,hasImportantModifier:u,baseClassName:s,maybePostfixModifierPosition:c}=n(i);let d=r(c?s.substring(0,c):s),h=!!c;if(!d){if(!c)return{isTailwindClass:!1,originalClassName:i};if(d=r(s),!d)return{isTailwindClass:!1,originalClassName:i};h=!1}const w=p0(a).join(":");return{isTailwindClass:!0,modifierId:u?w+Wp:w,classGroupId:d,originalClassName:i,hasPostfixModifier:h}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:a,classGroupId:u,hasPostfixModifier:s}=i,c=a+u;return l.has(c)?!1:(l.add(c),o(u,s).forEach(d=>l.add(a+d)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function g0(){let e=0,t,n,r="";for(;ed(c),e());return n=m0(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 c=v0(u,n);return o(u,c),c}return function(){return l(g0.apply(null,arguments))}}function ne(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const Yp=/^\[(?:([a-z-]+):)?(.+)\]$/i,w0=/^\d+\/\d+$/,x0=new Set(["px","full","screen"]),S0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,E0=/\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$/,k0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,C0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,b0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Bt(e){return In(e)||x0.has(e)||w0.test(e)}function rn(e){return Mr(e,"length",O0)}function In(e){return!!e&&!Number.isNaN(Number(e))}function sl(e){return Mr(e,"number",In)}function Jr(e){return!!e&&Number.isInteger(Number(e))}function N0(e){return e.endsWith("%")&&In(e.slice(0,-1))}function F(e){return Yp.test(e)}function on(e){return S0.test(e)}const $0=new Set(["length","size","percentage"]);function _0(e){return Mr(e,$0,Qp)}function T0(e){return Mr(e,"position",Qp)}const P0=new Set(["image","url"]);function R0(e){return Mr(e,P0,L0)}function D0(e){return Mr(e,"",A0)}function qr(){return!0}function Mr(e,t,n){const r=Yp.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function O0(e){return E0.test(e)&&!k0.test(e)}function Qp(){return!1}function A0(e){return C0.test(e)}function L0(e){return b0.test(e)}function M0(){const e=ne("colors"),t=ne("spacing"),n=ne("blur"),r=ne("brightness"),o=ne("borderColor"),l=ne("borderRadius"),i=ne("borderSpacing"),a=ne("borderWidth"),u=ne("contrast"),s=ne("grayscale"),c=ne("hueRotate"),d=ne("invert"),h=ne("gap"),w=ne("gradientColorStops"),S=ne("gradientColorStopPositions"),y=ne("inset"),N=ne("margin"),m=ne("opacity"),f=ne("padding"),v=ne("saturate"),E=ne("scale"),k=ne("sepia"),T=ne("skew"),_=ne("space"),b=ne("translate"),U=()=>["auto","contain","none"],I=()=>["auto","hidden","clip","visible","scroll"],Q=()=>["auto",F,t],B=()=>[F,t],he=()=>["",Bt,rn],G=()=>["auto",In,F],ke=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ve=()=>["solid","dashed","dotted","double","none"],je=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],$=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",F],A=()=>["auto","avoid","all","avoid-page","page","left","right","column"],j=()=>[In,sl],M=()=>[In,F];return{cacheSize:500,separator:":",theme:{colors:[qr],spacing:[Bt,rn],blur:["none","",on,F],brightness:j(),borderColor:[e],borderRadius:["none","","full",on,F],borderSpacing:B(),borderWidth:he(),contrast:j(),grayscale:L(),hueRotate:M(),invert:L(),gap:B(),gradientColorStops:[e],gradientColorStopPositions:[N0,rn],inset:Q(),margin:Q(),opacity:j(),padding:B(),saturate:j(),scale:j(),sepia:L(),skew:M(),space:B(),translate:B()},classGroups:{aspect:[{aspect:["auto","square","video",F]}],container:["container"],columns:[{columns:[on]}],"break-after":[{"break-after":A()}],"break-before":[{"break-before":A()}],"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:[...ke(),F]}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:U()}],"overscroll-x":[{"overscroll-x":U()}],"overscroll-y":[{"overscroll-y":U()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Jr,F]}],basis:[{basis:Q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",F]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",Jr,F]}],"grid-cols":[{"grid-cols":[qr]}],"col-start-end":[{col:["auto",{span:["full",Jr,F]},F]}],"col-start":[{"col-start":G()}],"col-end":[{"col-end":G()}],"grid-rows":[{"grid-rows":[qr]}],"row-start-end":[{row:["auto",{span:[Jr,F]},F]}],"row-start":[{"row-start":G()}],"row-end":[{"row-end":G()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",F]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",F]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...$()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...$(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...$(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[f]}],px:[{px:[f]}],py:[{py:[f]}],ps:[{ps:[f]}],pe:[{pe:[f]}],pt:[{pt:[f]}],pr:[{pr:[f]}],pb:[{pb:[f]}],pl:[{pl:[f]}],m:[{m:[N]}],mx:[{mx:[N]}],my:[{my:[N]}],ms:[{ms:[N]}],me:[{me:[N]}],mt:[{mt:[N]}],mr:[{mr:[N]}],mb:[{mb:[N]}],ml:[{ml:[N]}],"space-x":[{"space-x":[_]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[_]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",F,t]}],"min-w":[{"min-w":[F,t,"min","max","fit"]}],"max-w":[{"max-w":[F,t,"none","full","min","max","fit","prose",{screen:[on]},on]}],h:[{h:[F,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[F,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[F,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[F,t,"auto","min","max","fit"]}],"font-size":[{text:["base",on,rn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",sl]}],"font-family":[{font:[qr]}],"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",F]}],"line-clamp":[{"line-clamp":["none",In,sl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Bt,F]}],"list-image":[{"list-image":["none",F]}],"list-style-type":[{list:["none","disc","decimal",F]}],"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:[...ve(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Bt,rn]}],"underline-offset":[{"underline-offset":["auto",Bt,F]}],"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:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",F]}],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",F]}],"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:[...ke(),T0]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",_0]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},R0]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"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":[m]}],"border-style":[{border:[...ve(),"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":[m]}],"divide-style":[{divide:ve()}],"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:["",...ve()]}],"outline-offset":[{"outline-offset":[Bt,F]}],"outline-w":[{outline:[Bt,rn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[Bt,rn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",on,D0]}],"shadow-color":[{shadow:[qr]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":je()}],"bg-blend":[{"bg-blend":je()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",on,F]}],grayscale:[{grayscale:[s]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],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":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"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",F]}],duration:[{duration:M()}],ease:[{ease:["linear","in","out","in-out",F]}],delay:[{delay:M()}],animate:[{animate:["none","spin","ping","pulse","bounce",F]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[Jr,F]}],"translate-x":[{"translate-x":[b]}],"translate-y":[{"translate-y":[b]}],"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",F]}],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",F]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"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",F]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Bt,rn,sl]}],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 I0=y0(M0);function dt(...e){return I0(l0(e))}const du=Up("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Dt=p.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},l)=>{const i=r?yi:"button";return x.jsx(i,{className:dt(du({variant:t,size:n,className:e})),ref:l,...o})});Dt.displayName="Button";const xt=p.forwardRef(({className:e,type:t,...n},r)=>x.jsx("input",{type:t,className:dt("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...n}));xt.displayName="Input";function fu(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,l;for(l=0;l=0)&&(n[o]=e[o]);return n}var j0=["color"],z0=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=fu(e,j0);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),F0=["color"],U0=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=fu(e,F0);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),B0=["color"],Gp=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=fu(e,B0);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M5.5 1C5.22386 1 5 1.22386 5 1.5C5 1.77614 5.22386 2 5.5 2H9.5C9.77614 2 10 1.77614 10 1.5C10 1.22386 9.77614 1 9.5 1H5.5ZM3 3.5C3 3.22386 3.22386 3 3.5 3H5H10H11.5C11.7761 3 12 3.22386 12 3.5C12 3.77614 11.7761 4 11.5 4H11V12C11 12.5523 10.5523 13 10 13H5C4.44772 13 4 12.5523 4 12V4L3.5 4C3.22386 4 3 3.77614 3 3.5ZM5 4H10V12H5V4Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))});function pu({open:e,setOpen:t}){return x.jsx(Dt,{size:"sm","mr-2":"",variant:"secondary",onClick:()=>t(!e),children:e?x.jsx(U0,{}):x.jsx(z0,{})})}var H0={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const td=e=>{let t;const n=new Set,r=(c,d)=>{const h=typeof c=="function"?c(t):c;if(!Object.is(h,t)){const w=t;t=d??(typeof h!="object"||h===null)?h:Object.assign({},t,h),n.forEach(S=>S(t,w))}},o=()=>t,u={setState:r,getState:o,getInitialState:()=>s,subscribe:c=>(n.add(c),()=>n.delete(c)),destroy:()=>{(H0?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},s=t=e(r,o,u);return u},W0=e=>e?td(e):td;var Kp={exports:{}},Xp={},Zp={exports:{}},Jp={};/** +*/function gi(e,t=!1){return t?(location.protocol==="https:"?"wss://":"ws://")+location.host+e:e}async function Do(e,t){const n=await window.fetch(gi(e),t);if(n.status>=400){let r=await n.text();try{r=JSON.parse(r).error}catch{}throw Ro.error(r),new Error(r)}return n}function yi(e,t,n){return Do(e,{...n,method:"POST",headers:{"Content-Type":"application/json",...n==null?void 0:n.headers},body:JSON.stringify(t)})}function J(){return J=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(n=>r0(n,t))}function Gn(...e){return p.useCallback(Fp(...e),e)}const wi=p.forwardRef((e,t)=>{const{children:n,...r}=e,o=p.Children.toArray(n),l=o.find(o0);if(l){const i=l.props.children,a=o.map(u=>u===l?p.Children.count(i)>1?p.Children.only(null):p.isValidElement(i)?i.props.children:null:u);return p.createElement(cs,J({},r,{ref:t}),p.isValidElement(i)?p.cloneElement(i,void 0,a):null)}return p.createElement(cs,J({},r,{ref:t}),n)});wi.displayName="Slot";const cs=p.forwardRef((e,t)=>{const{children:n,...r}=e;return p.isValidElement(n)?p.cloneElement(n,{...l0(r,n.props),ref:t?Fp(t,n.ref):n.ref}):p.Children.count(n)>1?p.Children.only(null):null});cs.displayName="SlotClone";const Up=({children:e})=>p.createElement(p.Fragment,null,e);function o0(e){return p.isValidElement(e)&&e.type===Up}function l0(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 Bp(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,ed=i0,Hp=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return ed(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 c=n==null?void 0:n[s],d=l==null?void 0:l[s];if(c===null)return null;const h=qc(c)||qc(d);return o[s][h]}),a=n&&Object.entries(n).reduce((s,c)=>{let[d,h]=c;return h===void 0||(s[d]=h),s},{}),u=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((s,c)=>{let{class:d,className:h,...w}=c;return Object.entries(w).every(S=>{let[y,N]=S;return Array.isArray(N)?N.includes({...l,...a}[y]):{...l,...a}[y]===N})?[...s,d,h]:s},[]);return ed(e,i,u,n==null?void 0:n.class,n==null?void 0:n.className)};function Wp(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 td=/^\[(.+)\]$/;function u0(e){if(td.test(e)){const t=td.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function c0(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return f0(Object.entries(e.classGroups),n).forEach(([l,i])=>{ds(i,r,l,t)}),r}function ds(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const l=o===""?t:nd(t,o);l.classGroupId=n;return}if(typeof o=="function"){if(d0(o)){ds(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([l,i])=>{ds(i,nd(t,l),n,r)})})}function nd(e,t){let n=e;return t.split(fu).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function d0(e){return e.isThemeGetter}function f0(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 p0(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 Yp="!";function m0(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,c;for(let y=0;ys?c-s:void 0;return{modifiers:a,hasImportantModifier:h,baseClassName:w,maybePostfixModifierPosition:S}}}function h0(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 v0(e){return{cache:p0(e.cacheSize),splitModifiers:m0(e),...s0(e)}}const g0=/\s+/;function y0(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,l=new Set;return e.trim().split(g0).map(i=>{const{modifiers:a,hasImportantModifier:u,baseClassName:s,maybePostfixModifierPosition:c}=n(i);let d=r(c?s.substring(0,c):s),h=!!c;if(!d){if(!c)return{isTailwindClass:!1,originalClassName:i};if(d=r(s),!d)return{isTailwindClass:!1,originalClassName:i};h=!1}const w=h0(a).join(":");return{isTailwindClass:!0,modifierId:u?w+Yp:w,classGroupId:d,originalClassName:i,hasPostfixModifier:h}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:a,classGroupId:u,hasPostfixModifier:s}=i,c=a+u;return l.has(c)?!1:(l.add(c),o(u,s).forEach(d=>l.add(a+d)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function w0(){let e=0,t,n,r="";for(;ed(c),e());return n=v0(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 c=y0(u,n);return o(u,c),c}return function(){return l(w0.apply(null,arguments))}}function ne(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const Gp=/^\[(?:([a-z-]+):)?(.+)\]$/i,S0=/^\d+\/\d+$/,E0=new Set(["px","full","screen"]),k0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,C0=/\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$/,b0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,N0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,_0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Bt(e){return jn(e)||E0.has(e)||S0.test(e)}function rn(e){return Mr(e,"length",L0)}function jn(e){return!!e&&!Number.isNaN(Number(e))}function sl(e){return Mr(e,"number",jn)}function Jr(e){return!!e&&Number.isInteger(Number(e))}function $0(e){return e.endsWith("%")&&jn(e.slice(0,-1))}function F(e){return Gp.test(e)}function on(e){return k0.test(e)}const T0=new Set(["length","size","percentage"]);function P0(e){return Mr(e,T0,Kp)}function R0(e){return Mr(e,"position",Kp)}const D0=new Set(["image","url"]);function O0(e){return Mr(e,D0,j0)}function A0(e){return Mr(e,"",M0)}function qr(){return!0}function Mr(e,t,n){const r=Gp.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function L0(e){return C0.test(e)&&!b0.test(e)}function Kp(){return!1}function M0(e){return N0.test(e)}function j0(e){return _0.test(e)}function I0(){const e=ne("colors"),t=ne("spacing"),n=ne("blur"),r=ne("brightness"),o=ne("borderColor"),l=ne("borderRadius"),i=ne("borderSpacing"),a=ne("borderWidth"),u=ne("contrast"),s=ne("grayscale"),c=ne("hueRotate"),d=ne("invert"),h=ne("gap"),w=ne("gradientColorStops"),S=ne("gradientColorStopPositions"),y=ne("inset"),N=ne("margin"),m=ne("opacity"),f=ne("padding"),v=ne("saturate"),E=ne("scale"),k=ne("sepia"),T=ne("skew"),$=ne("space"),b=ne("translate"),U=()=>["auto","contain","none"],j=()=>["auto","hidden","clip","visible","scroll"],Q=()=>["auto",F,t],B=()=>[F,t],he=()=>["",Bt,rn],G=()=>["auto",jn,F],ke=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ve=()=>["solid","dashed","dotted","double","none"],Ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],_=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",F],A=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>[jn,sl],M=()=>[jn,F];return{cacheSize:500,separator:":",theme:{colors:[qr],spacing:[Bt,rn],blur:["none","",on,F],brightness:I(),borderColor:[e],borderRadius:["none","","full",on,F],borderSpacing:B(),borderWidth:he(),contrast:I(),grayscale:L(),hueRotate:M(),invert:L(),gap:B(),gradientColorStops:[e],gradientColorStopPositions:[$0,rn],inset:Q(),margin:Q(),opacity:I(),padding:B(),saturate:I(),scale:I(),sepia:L(),skew:M(),space:B(),translate:B()},classGroups:{aspect:[{aspect:["auto","square","video",F]}],container:["container"],columns:[{columns:[on]}],"break-after":[{"break-after":A()}],"break-before":[{"break-before":A()}],"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:[...ke(),F]}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:U()}],"overscroll-x":[{"overscroll-x":U()}],"overscroll-y":[{"overscroll-y":U()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Jr,F]}],basis:[{basis:Q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",F]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",Jr,F]}],"grid-cols":[{"grid-cols":[qr]}],"col-start-end":[{col:["auto",{span:["full",Jr,F]},F]}],"col-start":[{"col-start":G()}],"col-end":[{"col-end":G()}],"grid-rows":[{"grid-rows":[qr]}],"row-start-end":[{row:["auto",{span:[Jr,F]},F]}],"row-start":[{"row-start":G()}],"row-end":[{"row-end":G()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",F]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",F]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",..._()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",..._(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[..._(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[f]}],px:[{px:[f]}],py:[{py:[f]}],ps:[{ps:[f]}],pe:[{pe:[f]}],pt:[{pt:[f]}],pr:[{pr:[f]}],pb:[{pb:[f]}],pl:[{pl:[f]}],m:[{m:[N]}],mx:[{mx:[N]}],my:[{my:[N]}],ms:[{ms:[N]}],me:[{me:[N]}],mt:[{mt:[N]}],mr:[{mr:[N]}],mb:[{mb:[N]}],ml:[{ml:[N]}],"space-x":[{"space-x":[$]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[$]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",F,t]}],"min-w":[{"min-w":[F,t,"min","max","fit"]}],"max-w":[{"max-w":[F,t,"none","full","min","max","fit","prose",{screen:[on]},on]}],h:[{h:[F,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[F,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[F,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[F,t,"auto","min","max","fit"]}],"font-size":[{text:["base",on,rn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",sl]}],"font-family":[{font:[qr]}],"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",F]}],"line-clamp":[{"line-clamp":["none",jn,sl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Bt,F]}],"list-image":[{"list-image":["none",F]}],"list-style-type":[{list:["none","disc","decimal",F]}],"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:[...ve(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Bt,rn]}],"underline-offset":[{"underline-offset":["auto",Bt,F]}],"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:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",F]}],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",F]}],"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:[...ke(),R0]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",P0]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},O0]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"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":[m]}],"border-style":[{border:[...ve(),"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":[m]}],"divide-style":[{divide:ve()}],"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:["",...ve()]}],"outline-offset":[{"outline-offset":[Bt,F]}],"outline-w":[{outline:[Bt,rn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[Bt,rn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",on,A0]}],"shadow-color":[{shadow:[qr]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":Ie()}],"bg-blend":[{"bg-blend":Ie()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",on,F]}],grayscale:[{grayscale:[s]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],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":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"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",F]}],duration:[{duration:M()}],ease:[{ease:["linear","in","out","in-out",F]}],delay:[{delay:M()}],animate:[{animate:["none","spin","ping","pulse","bounce",F]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[Jr,F]}],"translate-x":[{"translate-x":[b]}],"translate-y":[{"translate-y":[b]}],"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",F]}],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",F]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"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",F]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Bt,rn,sl]}],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 z0=x0(I0);function dt(...e){return z0(a0(e))}const pu=Hp("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Dt=p.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},l)=>{const i=r?wi:"button";return x.jsx(i,{className:dt(pu({variant:t,size:n,className:e})),ref:l,...o})});Dt.displayName="Button";const xt=p.forwardRef(({className:e,type:t,...n},r)=>x.jsx("input",{type:t,className:dt("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...n}));xt.displayName="Input";function mu(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,l;for(l=0;l=0)&&(n[o]=e[o]);return n}var F0=["color"],U0=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=mu(e,F0);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),B0=["color"],H0=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=mu(e,B0);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))}),W0=["color"],Xp=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=mu(e,W0);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:t}),p.createElement("path",{d:"M5.5 1C5.22386 1 5 1.22386 5 1.5C5 1.77614 5.22386 2 5.5 2H9.5C9.77614 2 10 1.77614 10 1.5C10 1.22386 9.77614 1 9.5 1H5.5ZM3 3.5C3 3.22386 3.22386 3 3.5 3H5H10H11.5C11.7761 3 12 3.22386 12 3.5C12 3.77614 11.7761 4 11.5 4H11V12C11 12.5523 10.5523 13 10 13H5C4.44772 13 4 12.5523 4 12V4L3.5 4C3.22386 4 3 3.77614 3 3.5ZM5 4H10V12H5V4Z",fill:r,fillRule:"evenodd",clipRule:"evenodd"}))});function hu({open:e,setOpen:t}){return x.jsx(Dt,{size:"sm","mr-2":"",variant:"secondary",onClick:()=>t(!e),children:e?x.jsx(H0,{}):x.jsx(U0,{})})}var V0={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const rd=e=>{let t;const n=new Set,r=(c,d)=>{const h=typeof c=="function"?c(t):c;if(!Object.is(h,t)){const w=t;t=d??(typeof h!="object"||h===null)?h:Object.assign({},t,h),n.forEach(S=>S(t,w))}},o=()=>t,u={setState:r,getState:o,getInitialState:()=>s,subscribe:c=>(n.add(c),()=>n.delete(c)),destroy:()=>{(V0?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},s=t=e(r,o,u);return u},Y0=e=>e?rd(e):rd;var Zp={exports:{}},Jp={},qp={exports:{}},em={};/** * @license React * use-sync-external-store-shim.production.min.js * @@ -51,7 +51,7 @@ dompurify/dist/purify.es.mjs: * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Rr=p;function V0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Y0=typeof Object.is=="function"?Object.is:V0,Q0=Rr.useState,G0=Rr.useEffect,K0=Rr.useLayoutEffect,X0=Rr.useDebugValue;function Z0(e,t){var n=t(),r=Q0({inst:{value:n,getSnapshot:t}}),o=r[0].inst,l=r[1];return K0(function(){o.value=n,o.getSnapshot=t,ra(o)&&l({inst:o})},[e,n,t]),G0(function(){return ra(o)&&l({inst:o}),e(function(){ra(o)&&l({inst:o})})},[e]),X0(n),n}function ra(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Y0(e,n)}catch{return!0}}function J0(e,t){return t()}var q0=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?J0:Z0;Jp.useSyncExternalStore=Rr.useSyncExternalStore!==void 0?Rr.useSyncExternalStore:q0;Zp.exports=Jp;var ey=Zp.exports;/** + */var Rr=p;function Q0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var G0=typeof Object.is=="function"?Object.is:Q0,K0=Rr.useState,X0=Rr.useEffect,Z0=Rr.useLayoutEffect,J0=Rr.useDebugValue;function q0(e,t){var n=t(),r=K0({inst:{value:n,getSnapshot:t}}),o=r[0].inst,l=r[1];return Z0(function(){o.value=n,o.getSnapshot=t,oa(o)&&l({inst:o})},[e,n,t]),X0(function(){return oa(o)&&l({inst:o}),e(function(){oa(o)&&l({inst:o})})},[e]),J0(n),n}function oa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!G0(e,n)}catch{return!0}}function ey(e,t){return t()}var ty=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?ey:q0;em.useSyncExternalStore=Rr.useSyncExternalStore!==void 0?Rr.useSyncExternalStore:ty;qp.exports=em;var ny=qp.exports;/** * @license React * use-sync-external-store-shim/with-selector.production.min.js * @@ -59,8 +59,8 @@ dompurify/dist/purify.es.mjs: * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var wi=p,ty=ey;function ny(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ry=typeof Object.is=="function"?Object.is:ny,oy=ty.useSyncExternalStore,ly=wi.useRef,iy=wi.useEffect,ay=wi.useMemo,sy=wi.useDebugValue;Xp.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var l=ly(null);if(l.current===null){var i={hasValue:!1,value:null};l.current=i}else i=l.current;l=ay(function(){function u(w){if(!s){if(s=!0,c=w,w=r(w),o!==void 0&&i.hasValue){var S=i.value;if(o(S,w))return d=S}return d=w}if(S=d,ry(c,w))return S;var y=r(w);return o!==void 0&&o(S,y)?S:(c=w,d=y)}var s=!1,c,d,h=n===void 0?null:n;return[function(){return u(t())},h===null?void 0:function(){return u(h())}]},[t,n,r,o]);var a=oy(e,l[0],l[1]);return iy(function(){i.hasValue=!0,i.value=a},[a]),sy(a),a};Kp.exports=Xp;var uy=Kp.exports;const cy=hs(uy);var qp={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{useDebugValue:dy}=R,{useSyncExternalStoreWithSelector:fy}=cy;let nd=!1;const py=e=>e;function my(e,t=py,n){(qp?"production":void 0)!=="production"&&n&&!nd&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),nd=!0);const r=fy(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return dy(r),r}const rd=e=>{(qp?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?W0(e):e,n=(r,o)=>my(t,r,o);return Object.assign(n,t),n},hy=e=>e?rd(e):rd,xi=hy(e=>({conversations:[],setConversations(t){e(n=>({...n,conversations:t}))},newConversation(t){e(n=>{for(let r=0;r{const r=[...n.conversations];for(let o=0;o{for(let r=0;ra,Object.values(a));return p.createElement(n.Provider,{value:u},i)}function o(l){const i=p.useContext(n);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${l}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",[r,o]}function em(e,t=[]){let n=[];function r(l,i){const a=p.createContext(i),u=n.length;n=[...n,i];function s(d){const{scope:h,children:w,...S}=d,y=(h==null?void 0:h[e][u])||a,N=p.useMemo(()=>S,Object.values(S));return p.createElement(y.Provider,{value:N},w)}function c(d,h){const w=(h==null?void 0:h[e][u])||a,S=p.useContext(w);if(S)return S;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${l}\``)}return s.displayName=l+"Provider",[s,c]}const o=()=>{const l=n.map(i=>p.createContext(i));return function(a){const u=(a==null?void 0:a[e])||l;return p.useMemo(()=>({[`__scope${e}`]:{...a,[e]:u}}),[a,u])}};return o.scopeName=e,[r,gy(o,...t)]}function gy(...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 d=u(l)[`__scope${s}`];return{...a,...d}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Sn(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}const cs=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},yy=rh.useId||(()=>{});let wy=0;function oa(e){const[t,n]=p.useState(yy());return cs(()=>{e||n(r=>r??String(wy++))},[e]),e||(t?`radix-${t}`:"")}function Vn(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function xy({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=Sy({defaultProp:t,onChange:n}),l=e!==void 0,i=l?e:r,a=Vn(n),u=p.useCallback(s=>{if(l){const d=typeof s=="function"?s(e):s;d!==e&&a(d)}else o(s)},[l,e,o,a]);return[i,u]}function Sy({defaultProp:e,onChange:t}){const n=p.useState(e),[r]=n,o=p.useRef(r),l=Vn(t);return p.useEffect(()=>{o.current!==r&&(l(r),o.current=r)},[r,o,l]),n}const Ey=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],$n=Ey.reduce((e,t)=>{const n=p.forwardRef((r,o)=>{const{asChild:l,...i}=r,a=l?yi:t;return p.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),p.createElement(a,J({},i,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function ky(e,t){e&&hi.flushSync(()=>e.dispatchEvent(t))}function Cy(e,t=globalThis==null?void 0:globalThis.document){const n=Vn(e);p.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const ds="dismissableLayer.update",by="dismissableLayer.pointerDownOutside",Ny="dismissableLayer.focusOutside";let od;const $y=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),_y=p.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:i,onInteractOutside:a,onDismiss:u,...s}=e,c=p.useContext($y),[d,h]=p.useState(null),w=(n=d==null?void 0:d.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,S]=p.useState({}),y=Gn(t,b=>h(b)),N=Array.from(c.layers),[m]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),f=N.indexOf(m),v=d?N.indexOf(d):-1,E=c.layersWithOutsidePointerEventsDisabled.size>0,k=v>=f,T=Ty(b=>{const U=b.target,I=[...c.branches].some(Q=>Q.contains(U));!k||I||(l==null||l(b),a==null||a(b),b.defaultPrevented||u==null||u())},w),_=Py(b=>{const U=b.target;[...c.branches].some(Q=>Q.contains(U))||(i==null||i(b),a==null||a(b),b.defaultPrevented||u==null||u())},w);return Cy(b=>{v===c.layers.size-1&&(o==null||o(b),!b.defaultPrevented&&u&&(b.preventDefault(),u()))},w),p.useEffect(()=>{if(d)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(od=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),ld(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(w.body.style.pointerEvents=od)}},[d,w,r,c]),p.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),ld())},[d,c]),p.useEffect(()=>{const b=()=>S({});return document.addEventListener(ds,b),()=>document.removeEventListener(ds,b)},[]),p.createElement($n.div,J({},s,{ref:y,style:{pointerEvents:E?k?"auto":"none":void 0,...e.style},onFocusCapture:Sn(e.onFocusCapture,_.onFocusCapture),onBlurCapture:Sn(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:Sn(e.onPointerDownCapture,T.onPointerDownCapture)}))});function Ty(e,t=globalThis==null?void 0:globalThis.document){const n=Vn(e),r=p.useRef(!1),o=p.useRef(()=>{});return p.useEffect(()=>{const l=a=>{if(a.target&&!r.current){let c=function(){tm(by,n,s,{discrete:!0})};var u=c;const s={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",l)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",l),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Py(e,t=globalThis==null?void 0:globalThis.document){const n=Vn(e),r=p.useRef(!1);return p.useEffect(()=>{const o=l=>{l.target&&!r.current&&tm(Ny,n,{originalEvent:l},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function ld(){const e=new CustomEvent(ds);document.dispatchEvent(e)}function tm(e,t,n,{discrete:r}){const o=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?ky(o,l):o.dispatchEvent(l)}const la="focusScope.autoFocusOnMount",ia="focusScope.autoFocusOnUnmount",id={bubbles:!1,cancelable:!0},Ry=p.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:l,...i}=e,[a,u]=p.useState(null),s=Vn(o),c=Vn(l),d=p.useRef(null),h=Gn(t,y=>u(y)),w=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(r){let f=function(T){if(w.paused||!a)return;const _=T.target;a.contains(_)?d.current=_:ln(d.current,{select:!0})},v=function(T){if(w.paused||!a)return;const _=T.relatedTarget;_!==null&&(a.contains(_)||ln(d.current,{select:!0}))},E=function(T){if(document.activeElement===document.body)for(const b of T)b.removedNodes.length>0&&ln(a)};var y=f,N=v,m=E;document.addEventListener("focusin",f),document.addEventListener("focusout",v);const k=new MutationObserver(E);return a&&k.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",v),k.disconnect()}}},[r,a,w.paused]),p.useEffect(()=>{if(a){sd.add(w);const y=document.activeElement;if(!a.contains(y)){const m=new CustomEvent(la,id);a.addEventListener(la,s),a.dispatchEvent(m),m.defaultPrevented||(Dy(Iy(nm(a)),{select:!0}),document.activeElement===y&&ln(a))}return()=>{a.removeEventListener(la,s),setTimeout(()=>{const m=new CustomEvent(ia,id);a.addEventListener(ia,c),a.dispatchEvent(m),m.defaultPrevented||ln(y??document.body,{select:!0}),a.removeEventListener(ia,c),sd.remove(w)},0)}}},[a,s,c,w]);const S=p.useCallback(y=>{if(!n&&!r||w.paused)return;const N=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,m=document.activeElement;if(N&&m){const f=y.currentTarget,[v,E]=Oy(f);v&&E?!y.shiftKey&&m===E?(y.preventDefault(),n&&ln(v,{select:!0})):y.shiftKey&&m===v&&(y.preventDefault(),n&&ln(E,{select:!0})):m===f&&y.preventDefault()}},[n,r,w.paused]);return p.createElement($n.div,J({tabIndex:-1},i,{ref:h,onKeyDown:S}))});function Dy(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(ln(r,{select:t}),document.activeElement!==n)return}function Oy(e){const t=nm(e),n=ad(t,e),r=ad(t.reverse(),e);return[n,r]}function nm(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ad(e,t){for(const n of e)if(!Ay(n,{upTo:t}))return n}function Ay(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Ly(e){return e instanceof HTMLInputElement&&"select"in e}function ln(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Ly(e)&&t&&e.select()}}const sd=My();function My(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=ud(e,t),e.unshift(t)},remove(t){var n;e=ud(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function ud(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Iy(e){return e.filter(t=>t.tagName!=="A")}const jy=p.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Dp.createPortal(p.createElement($n.div,J({},o,{ref:t})),r):null});function zy(e,t){return p.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const Si=e=>{const{present:t,children:n}=e,r=Fy(t),o=typeof n=="function"?n({present:r.isPresent}):p.Children.only(n),l=Gn(r.ref,o.ref);return typeof n=="function"||r.isPresent?p.cloneElement(o,{ref:l}):null};Si.displayName="Presence";function Fy(e){const[t,n]=p.useState(),r=p.useRef({}),o=p.useRef(e),l=p.useRef("none"),i=e?"mounted":"unmounted",[a,u]=zy(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const s=ul(r.current);l.current=a==="mounted"?s:"none"},[a]),cs(()=>{const s=r.current,c=o.current;if(c!==e){const h=l.current,w=ul(s);e?u("MOUNT"):w==="none"||(s==null?void 0:s.display)==="none"?u("UNMOUNT"):u(c&&h!==w?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),cs(()=>{if(t){const s=d=>{const w=ul(r.current).includes(d.animationName);d.target===t&&w&&hi.flushSync(()=>u("ANIMATION_END"))},c=d=>{d.target===t&&(l.current=ul(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",s),t.addEventListener("animationend",s),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",s),t.removeEventListener("animationend",s)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:p.useCallback(s=>{s&&(r.current=getComputedStyle(s)),n(s)},[])}}function ul(e){return(e==null?void 0:e.animationName)||"none"}let aa=0;function Uy(){p.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:cd()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:cd()),aa++,()=>{aa===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),aa--}},[])}function cd(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var Tt=function(){return Tt=Object.assign||function(t){for(var n,r=1,o=arguments.length;r"u")return o1;var t=l1(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},a1=im(),kr="data-scroll-locked",s1=function(e,t,n,r){var o=e.left,l=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),` - .`.concat(Hy,` { + */var xi=p,ry=ny;function oy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ly=typeof Object.is=="function"?Object.is:oy,iy=ry.useSyncExternalStore,ay=xi.useRef,sy=xi.useEffect,uy=xi.useMemo,cy=xi.useDebugValue;Jp.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var l=ay(null);if(l.current===null){var i={hasValue:!1,value:null};l.current=i}else i=l.current;l=uy(function(){function u(w){if(!s){if(s=!0,c=w,w=r(w),o!==void 0&&i.hasValue){var S=i.value;if(o(S,w))return d=S}return d=w}if(S=d,ly(c,w))return S;var y=r(w);return o!==void 0&&o(S,y)?S:(c=w,d=y)}var s=!1,c,d,h=n===void 0?null:n;return[function(){return u(t())},h===null?void 0:function(){return u(h())}]},[t,n,r,o]);var a=iy(e,l[0],l[1]);return sy(function(){i.hasValue=!0,i.value=a},[a]),cy(a),a};Zp.exports=Jp;var dy=Zp.exports;const fy=gs(dy);var tm={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{useDebugValue:py}=R,{useSyncExternalStoreWithSelector:my}=fy;let od=!1;const hy=e=>e;function vy(e,t=hy,n){(tm?"production":void 0)!=="production"&&n&&!od&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),od=!0);const r=my(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return py(r),r}const ld=e=>{(tm?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?Y0(e):e,n=(r,o)=>vy(t,r,o);return Object.assign(n,t),n},gy=e=>e?ld(e):ld,Si=gy(e=>({conversations:[],setConversations(t){e(n=>({...n,conversations:t}))},newConversation(t){e(n=>{for(let r=0;r{const r=[...n.conversations];for(let o=0;o{for(let r=0;ra,Object.values(a));return p.createElement(n.Provider,{value:u},i)}function o(l){const i=p.useContext(n);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${l}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",[r,o]}function nm(e,t=[]){let n=[];function r(l,i){const a=p.createContext(i),u=n.length;n=[...n,i];function s(d){const{scope:h,children:w,...S}=d,y=(h==null?void 0:h[e][u])||a,N=p.useMemo(()=>S,Object.values(S));return p.createElement(y.Provider,{value:N},w)}function c(d,h){const w=(h==null?void 0:h[e][u])||a,S=p.useContext(w);if(S)return S;if(i!==void 0)return i;throw new Error(`\`${d}\` must be used within \`${l}\``)}return s.displayName=l+"Provider",[s,c]}const o=()=>{const l=n.map(i=>p.createContext(i));return function(a){const u=(a==null?void 0:a[e])||l;return p.useMemo(()=>({[`__scope${e}`]:{...a,[e]:u}}),[a,u])}};return o.scopeName=e,[r,wy(o,...t)]}function wy(...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 d=u(l)[`__scope${s}`];return{...a,...d}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function Sn(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}const fs=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},xy=lh.useId||(()=>{});let Sy=0;function la(e){const[t,n]=p.useState(xy());return fs(()=>{e||n(r=>r??String(Sy++))},[e]),e||(t?`radix-${t}`:"")}function Vn(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function Ey({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=ky({defaultProp:t,onChange:n}),l=e!==void 0,i=l?e:r,a=Vn(n),u=p.useCallback(s=>{if(l){const d=typeof s=="function"?s(e):s;d!==e&&a(d)}else o(s)},[l,e,o,a]);return[i,u]}function ky({defaultProp:e,onChange:t}){const n=p.useState(e),[r]=n,o=p.useRef(r),l=Vn(t);return p.useEffect(()=>{o.current!==r&&(l(r),o.current=r)},[r,o,l]),n}const Cy=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],_n=Cy.reduce((e,t)=>{const n=p.forwardRef((r,o)=>{const{asChild:l,...i}=r,a=l?wi:t;return p.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),p.createElement(a,J({},i,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function by(e,t){e&&vi.flushSync(()=>e.dispatchEvent(t))}function Ny(e,t=globalThis==null?void 0:globalThis.document){const n=Vn(e);p.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const ps="dismissableLayer.update",_y="dismissableLayer.pointerDownOutside",$y="dismissableLayer.focusOutside";let id;const Ty=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Py=p.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:i,onInteractOutside:a,onDismiss:u,...s}=e,c=p.useContext(Ty),[d,h]=p.useState(null),w=(n=d==null?void 0:d.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,S]=p.useState({}),y=Gn(t,b=>h(b)),N=Array.from(c.layers),[m]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),f=N.indexOf(m),v=d?N.indexOf(d):-1,E=c.layersWithOutsidePointerEventsDisabled.size>0,k=v>=f,T=Ry(b=>{const U=b.target,j=[...c.branches].some(Q=>Q.contains(U));!k||j||(l==null||l(b),a==null||a(b),b.defaultPrevented||u==null||u())},w),$=Dy(b=>{const U=b.target;[...c.branches].some(Q=>Q.contains(U))||(i==null||i(b),a==null||a(b),b.defaultPrevented||u==null||u())},w);return Ny(b=>{v===c.layers.size-1&&(o==null||o(b),!b.defaultPrevented&&u&&(b.preventDefault(),u()))},w),p.useEffect(()=>{if(d)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(id=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),ad(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(w.body.style.pointerEvents=id)}},[d,w,r,c]),p.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),ad())},[d,c]),p.useEffect(()=>{const b=()=>S({});return document.addEventListener(ps,b),()=>document.removeEventListener(ps,b)},[]),p.createElement(_n.div,J({},s,{ref:y,style:{pointerEvents:E?k?"auto":"none":void 0,...e.style},onFocusCapture:Sn(e.onFocusCapture,$.onFocusCapture),onBlurCapture:Sn(e.onBlurCapture,$.onBlurCapture),onPointerDownCapture:Sn(e.onPointerDownCapture,T.onPointerDownCapture)}))});function Ry(e,t=globalThis==null?void 0:globalThis.document){const n=Vn(e),r=p.useRef(!1),o=p.useRef(()=>{});return p.useEffect(()=>{const l=a=>{if(a.target&&!r.current){let c=function(){rm(_y,n,s,{discrete:!0})};var u=c;const s={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",l)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",l),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Dy(e,t=globalThis==null?void 0:globalThis.document){const n=Vn(e),r=p.useRef(!1);return p.useEffect(()=>{const o=l=>{l.target&&!r.current&&rm($y,n,{originalEvent:l},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function ad(){const e=new CustomEvent(ps);document.dispatchEvent(e)}function rm(e,t,n,{discrete:r}){const o=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?by(o,l):o.dispatchEvent(l)}const ia="focusScope.autoFocusOnMount",aa="focusScope.autoFocusOnUnmount",sd={bubbles:!1,cancelable:!0},Oy=p.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:l,...i}=e,[a,u]=p.useState(null),s=Vn(o),c=Vn(l),d=p.useRef(null),h=Gn(t,y=>u(y)),w=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(r){let f=function(T){if(w.paused||!a)return;const $=T.target;a.contains($)?d.current=$:ln(d.current,{select:!0})},v=function(T){if(w.paused||!a)return;const $=T.relatedTarget;$!==null&&(a.contains($)||ln(d.current,{select:!0}))},E=function(T){if(document.activeElement===document.body)for(const b of T)b.removedNodes.length>0&&ln(a)};var y=f,N=v,m=E;document.addEventListener("focusin",f),document.addEventListener("focusout",v);const k=new MutationObserver(E);return a&&k.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",f),document.removeEventListener("focusout",v),k.disconnect()}}},[r,a,w.paused]),p.useEffect(()=>{if(a){cd.add(w);const y=document.activeElement;if(!a.contains(y)){const m=new CustomEvent(ia,sd);a.addEventListener(ia,s),a.dispatchEvent(m),m.defaultPrevented||(Ay(zy(om(a)),{select:!0}),document.activeElement===y&&ln(a))}return()=>{a.removeEventListener(ia,s),setTimeout(()=>{const m=new CustomEvent(aa,sd);a.addEventListener(aa,c),a.dispatchEvent(m),m.defaultPrevented||ln(y??document.body,{select:!0}),a.removeEventListener(aa,c),cd.remove(w)},0)}}},[a,s,c,w]);const S=p.useCallback(y=>{if(!n&&!r||w.paused)return;const N=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,m=document.activeElement;if(N&&m){const f=y.currentTarget,[v,E]=Ly(f);v&&E?!y.shiftKey&&m===E?(y.preventDefault(),n&&ln(v,{select:!0})):y.shiftKey&&m===v&&(y.preventDefault(),n&&ln(E,{select:!0})):m===f&&y.preventDefault()}},[n,r,w.paused]);return p.createElement(_n.div,J({tabIndex:-1},i,{ref:h,onKeyDown:S}))});function Ay(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(ln(r,{select:t}),document.activeElement!==n)return}function Ly(e){const t=om(e),n=ud(t,e),r=ud(t.reverse(),e);return[n,r]}function om(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function ud(e,t){for(const n of e)if(!My(n,{upTo:t}))return n}function My(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function jy(e){return e instanceof HTMLInputElement&&"select"in e}function ln(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&jy(e)&&t&&e.select()}}const cd=Iy();function Iy(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=dd(e,t),e.unshift(t)},remove(t){var n;e=dd(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function dd(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function zy(e){return e.filter(t=>t.tagName!=="A")}const Fy=p.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Ap.createPortal(p.createElement(_n.div,J({},o,{ref:t})),r):null});function Uy(e,t){return p.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const Ei=e=>{const{present:t,children:n}=e,r=By(t),o=typeof n=="function"?n({present:r.isPresent}):p.Children.only(n),l=Gn(r.ref,o.ref);return typeof n=="function"||r.isPresent?p.cloneElement(o,{ref:l}):null};Ei.displayName="Presence";function By(e){const[t,n]=p.useState(),r=p.useRef({}),o=p.useRef(e),l=p.useRef("none"),i=e?"mounted":"unmounted",[a,u]=Uy(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const s=ul(r.current);l.current=a==="mounted"?s:"none"},[a]),fs(()=>{const s=r.current,c=o.current;if(c!==e){const h=l.current,w=ul(s);e?u("MOUNT"):w==="none"||(s==null?void 0:s.display)==="none"?u("UNMOUNT"):u(c&&h!==w?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),fs(()=>{if(t){const s=d=>{const w=ul(r.current).includes(d.animationName);d.target===t&&w&&vi.flushSync(()=>u("ANIMATION_END"))},c=d=>{d.target===t&&(l.current=ul(r.current))};return t.addEventListener("animationstart",c),t.addEventListener("animationcancel",s),t.addEventListener("animationend",s),()=>{t.removeEventListener("animationstart",c),t.removeEventListener("animationcancel",s),t.removeEventListener("animationend",s)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:p.useCallback(s=>{s&&(r.current=getComputedStyle(s)),n(s)},[])}}function ul(e){return(e==null?void 0:e.animationName)||"none"}let sa=0;function Hy(){p.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:fd()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:fd()),sa++,()=>{sa===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),sa--}},[])}function fd(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var Tt=function(){return Tt=Object.assign||function(t){for(var n,r=1,o=arguments.length;r"u")return i1;var t=a1(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},u1=sm(),kr="data-scroll-locked",c1=function(e,t,n,r){var o=e.left,l=e.top,i=e.right,a=e.gap;return n===void 0&&(n="margin"),` + .`.concat(Vy,` { overflow: hidden `).concat(r,`; padding-right: `).concat(a,"px ").concat(r,`; } @@ -81,7 +81,7 @@ dompurify/dist/purify.es.mjs: right: `).concat(a,"px ").concat(r,`; } - .`).concat(_l,` { + .`).concat(Tl,` { margin-right: `).concat(a,"px ").concat(r,`; } @@ -89,22 +89,24 @@ dompurify/dist/purify.es.mjs: right: 0 `).concat(r,`; } - .`).concat(_l," .").concat(_l,` { + .`).concat(Tl," .").concat(Tl,` { margin-right: 0 `).concat(r,`; } body[`).concat(kr,`] { - `).concat(Wy,": ").concat(a,`px; + `).concat(Yy,": ").concat(a,`px; } -`)},fd=function(){var e=parseInt(document.body.getAttribute(kr)||"0",10);return isFinite(e)?e:0},u1=function(){p.useEffect(function(){return document.body.setAttribute(kr,(fd()+1).toString()),function(){var e=fd()-1;e<=0?document.body.removeAttribute(kr):document.body.setAttribute(kr,e.toString())}},[])},c1=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;u1();var l=p.useMemo(function(){return i1(o)},[o]);return p.createElement(a1,{styles:s1(l,!t,o,n?"":"!important")})},fs=!1;if(typeof window<"u")try{var cl=Object.defineProperty({},"passive",{get:function(){return fs=!0,!0}});window.addEventListener("test",cl,cl),window.removeEventListener("test",cl,cl)}catch{fs=!1}var nr=fs?{passive:!1}:!1,d1=function(e){return e.tagName==="TEXTAREA"},am=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!d1(e)&&n[t]==="visible")},f1=function(e){return am(e,"overflowY")},p1=function(e){return am(e,"overflowX")},pd=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=sm(e,n);if(r){var o=um(e,n),l=o[1],i=o[2];if(l>i)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},m1=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},h1=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},sm=function(e,t){return e==="v"?f1(t):p1(t)},um=function(e,t){return e==="v"?m1(t):h1(t)},v1=function(e,t){return e==="h"&&t==="rtl"?-1:1},g1=function(e,t,n,r,o){var l=v1(e,window.getComputedStyle(t).direction),i=l*r,a=n.target,u=t.contains(a),s=!1,c=i>0,d=0,h=0;do{var w=um(e,a),S=w[0],y=w[1],N=w[2],m=y-N-l*S;(S||m)&&sm(e,a)&&(d+=m,h+=S),a=a.parentNode}while(!u&&a!==document.body||u&&(t.contains(a)||t===a));return(c&&(o&&d===0||!o&&i>d)||!c&&(o&&h===0||!o&&-i>h))&&(s=!0),s},dl=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},md=function(e){return[e.deltaX,e.deltaY]},hd=function(e){return e&&"current"in e?e.current:e},y1=function(e,t){return e[0]===t[0]&&e[1]===t[1]},w1=function(e){return` +`)},md=function(){var e=parseInt(document.body.getAttribute(kr)||"0",10);return isFinite(e)?e:0},d1=function(){p.useEffect(function(){return document.body.setAttribute(kr,(md()+1).toString()),function(){var e=md()-1;e<=0?document.body.removeAttribute(kr):document.body.setAttribute(kr,e.toString())}},[])},f1=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;d1();var l=p.useMemo(function(){return s1(o)},[o]);return p.createElement(u1,{styles:c1(l,!t,o,n?"":"!important")})},ms=!1;if(typeof window<"u")try{var cl=Object.defineProperty({},"passive",{get:function(){return ms=!0,!0}});window.addEventListener("test",cl,cl),window.removeEventListener("test",cl,cl)}catch{ms=!1}var nr=ms?{passive:!1}:!1,p1=function(e){return e.tagName==="TEXTAREA"},um=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!p1(e)&&n[t]==="visible")},m1=function(e){return um(e,"overflowY")},h1=function(e){return um(e,"overflowX")},hd=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=cm(e,n);if(r){var o=dm(e,n),l=o[1],i=o[2];if(l>i)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},v1=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},g1=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},cm=function(e,t){return e==="v"?m1(t):h1(t)},dm=function(e,t){return e==="v"?v1(t):g1(t)},y1=function(e,t){return e==="h"&&t==="rtl"?-1:1},w1=function(e,t,n,r,o){var l=y1(e,window.getComputedStyle(t).direction),i=l*r,a=n.target,u=t.contains(a),s=!1,c=i>0,d=0,h=0;do{var w=dm(e,a),S=w[0],y=w[1],N=w[2],m=y-N-l*S;(S||m)&&cm(e,a)&&(d+=m,h+=S),a=a.parentNode}while(!u&&a!==document.body||u&&(t.contains(a)||t===a));return(c&&(o&&d===0||!o&&i>d)||!c&&(o&&h===0||!o&&-i>h))&&(s=!0),s},dl=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},vd=function(e){return[e.deltaX,e.deltaY]},gd=function(e){return e&&"current"in e?e.current:e},x1=function(e,t){return e[0]===t[0]&&e[1]===t[1]},S1=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},x1=0,rr=[];function S1(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),o=p.useState(x1++)[0],l=p.useState(function(){return im()})[0],i=p.useRef(e);p.useEffect(function(){i.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var y=By([e.lockRef.current],(e.shards||[]).map(hd),!0).filter(Boolean);return y.forEach(function(N){return N.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),y.forEach(function(N){return N.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=p.useCallback(function(y,N){if("touches"in y&&y.touches.length===2)return!i.current.allowPinchZoom;var m=dl(y),f=n.current,v="deltaX"in y?y.deltaX:f[0]-m[0],E="deltaY"in y?y.deltaY:f[1]-m[1],k,T=y.target,_=Math.abs(v)>Math.abs(E)?"h":"v";if("touches"in y&&_==="h"&&T.type==="range")return!1;var b=pd(_,T);if(!b)return!0;if(b?k=_:(k=_==="v"?"h":"v",b=pd(_,T)),!b)return!1;if(!r.current&&"changedTouches"in y&&(v||E)&&(r.current=k),!k)return!0;var U=r.current||k;return g1(U,N,y,U==="h"?v:E,!0)},[]),u=p.useCallback(function(y){var N=y;if(!(!rr.length||rr[rr.length-1]!==l)){var m="deltaY"in N?md(N):dl(N),f=t.current.filter(function(k){return k.name===N.type&&k.target===N.target&&y1(k.delta,m)})[0];if(f&&f.should){N.cancelable&&N.preventDefault();return}if(!f){var v=(i.current.shards||[]).map(hd).filter(Boolean).filter(function(k){return k.contains(N.target)}),E=v.length>0?a(N,v[0]):!i.current.noIsolation;E&&N.cancelable&&N.preventDefault()}}},[]),s=p.useCallback(function(y,N,m,f){var v={name:y,delta:N,target:m,should:f};t.current.push(v),setTimeout(function(){t.current=t.current.filter(function(E){return E!==v})},1)},[]),c=p.useCallback(function(y){n.current=dl(y),r.current=void 0},[]),d=p.useCallback(function(y){s(y.type,md(y),y.target,a(y,e.lockRef.current))},[]),h=p.useCallback(function(y){s(y.type,dl(y),y.target,a(y,e.lockRef.current))},[]);p.useEffect(function(){return rr.push(l),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",u,nr),document.addEventListener("touchmove",u,nr),document.addEventListener("touchstart",c,nr),function(){rr=rr.filter(function(y){return y!==l}),document.removeEventListener("wheel",u,nr),document.removeEventListener("touchmove",u,nr),document.removeEventListener("touchstart",c,nr)}},[]);var w=e.removeScrollBar,S=e.inert;return p.createElement(p.Fragment,null,S?p.createElement(l,{styles:w1(o)}):null,w?p.createElement(c1,{gapMode:"margin"}):null)}const E1=Zy(lm,S1);var cm=p.forwardRef(function(e,t){return p.createElement(Ei,Tt({},e,{ref:t,sideCar:E1}))});cm.classNames=Ei.classNames;const k1=cm;var C1=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},or=new WeakMap,fl=new WeakMap,pl={},da=0,dm=function(e){return e&&(e.host||dm(e.parentNode))},b1=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=dm(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},N1=function(e,t,n,r){var o=b1(t,Array.isArray(e)?e:[e]);pl[n]||(pl[n]=new WeakMap);var l=pl[n],i=[],a=new Set,u=new Set(o),s=function(d){!d||a.has(d)||(a.add(d),s(d.parentNode))};o.forEach(s);var c=function(d){!d||u.has(d)||Array.prototype.forEach.call(d.children,function(h){if(a.has(h))c(h);else try{var w=h.getAttribute(r),S=w!==null&&w!=="false",y=(or.get(h)||0)+1,N=(l.get(h)||0)+1;or.set(h,y),l.set(h,N),i.push(h),y===1&&S&&fl.set(h,!0),N===1&&h.setAttribute(n,"true"),S||h.setAttribute(r,"true")}catch(m){console.error("aria-hidden: cannot operate on ",h,m)}})};return c(t),a.clear(),da++,function(){i.forEach(function(d){var h=or.get(d)-1,w=l.get(d)-1;or.set(d,h),l.set(d,w),h||(fl.has(d)||d.removeAttribute(r),fl.delete(d)),w||d.removeAttribute(n)}),da--,da||(or=new WeakMap,or=new WeakMap,fl=new WeakMap,pl={})}},$1=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||C1(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),N1(r,o,n,"aria-hidden")):function(){return null}};const fm="Dialog",[pm,mm]=em(fm),[_1,Ot]=pm(fm),T1=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:l,modal:i=!0}=e,a=p.useRef(null),u=p.useRef(null),[s=!1,c]=xy({prop:r,defaultProp:o,onChange:l});return p.createElement(_1,{scope:t,triggerRef:a,contentRef:u,contentId:oa(),titleId:oa(),descriptionId:oa(),open:s,onOpenChange:c,onOpenToggle:p.useCallback(()=>c(d=>!d),[c]),modal:i},n)},hm="DialogPortal",[P1,vm]=pm(hm,{forceMount:void 0}),R1=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,l=Ot(hm,t);return p.createElement(P1,{scope:t,forceMount:n},p.Children.map(r,i=>p.createElement(Si,{present:n||l.open},p.createElement(jy,{asChild:!0,container:o},i))))},ps="DialogOverlay",D1=p.forwardRef((e,t)=>{const n=vm(ps,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,l=Ot(ps,e.__scopeDialog);return l.modal?p.createElement(Si,{present:r||l.open},p.createElement(O1,J({},o,{ref:t}))):null}),O1=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ot(ps,n);return p.createElement(k1,{as:yi,allowPinchZoom:!0,shards:[o.contentRef]},p.createElement($n.div,J({"data-state":wm(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),Dr="DialogContent",A1=p.forwardRef((e,t)=>{const n=vm(Dr,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,l=Ot(Dr,e.__scopeDialog);return p.createElement(Si,{present:r||l.open},l.modal?p.createElement(L1,J({},o,{ref:t})):p.createElement(M1,J({},o,{ref:t})))}),L1=p.forwardRef((e,t)=>{const n=Ot(Dr,e.__scopeDialog),r=p.useRef(null),o=Gn(t,n.contentRef,r);return p.useEffect(()=>{const l=r.current;if(l)return $1(l)},[]),p.createElement(gm,J({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Sn(e.onCloseAutoFocus,l=>{var i;l.preventDefault(),(i=n.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:Sn(e.onPointerDownOutside,l=>{const i=l.detail.originalEvent,a=i.button===0&&i.ctrlKey===!0;(i.button===2||a)&&l.preventDefault()}),onFocusOutside:Sn(e.onFocusOutside,l=>l.preventDefault())}))}),M1=p.forwardRef((e,t)=>{const n=Ot(Dr,e.__scopeDialog),r=p.useRef(!1),o=p.useRef(!1);return p.createElement(gm,J({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:l=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,l),!l.defaultPrevented){var a;r.current||(a=n.triggerRef.current)===null||a===void 0||a.focus(),l.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:l=>{var i,a;(i=e.onInteractOutside)===null||i===void 0||i.call(e,l),l.defaultPrevented||(r.current=!0,l.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const u=l.target;((a=n.triggerRef.current)===null||a===void 0?void 0:a.contains(u))&&l.preventDefault(),l.detail.originalEvent.type==="focusin"&&o.current&&l.preventDefault()}}))}),gm=p.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:l,...i}=e,a=Ot(Dr,n),u=p.useRef(null),s=Gn(t,u);return Uy(),p.createElement(p.Fragment,null,p.createElement(Ry,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:l},p.createElement(_y,J({role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":wm(a.open)},i,{ref:s,onDismiss:()=>a.onOpenChange(!1)}))),!1)}),ym="DialogTitle",I1=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ot(ym,n);return p.createElement($n.h2,J({id:o.titleId},r,{ref:t}))}),j1="DialogDescription",z1=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ot(j1,n);return p.createElement($n.p,J({id:o.descriptionId},r,{ref:t}))}),F1="DialogClose",U1=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ot(F1,n);return p.createElement($n.button,J({type:"button"},r,{ref:t,onClick:Sn(e.onClick,()=>o.onOpenChange(!1))}))});function wm(e){return e?"open":"closed"}const B1="DialogTitleWarning",[H1,Mw]=vy(B1,{contentName:Dr,titleName:ym,docsSlug:"dialog"}),W1=T1,V1=R1,Y1=D1,Q1=A1,G1=I1,K1=z1,xm=U1,X1="AlertDialog",[Z1,Iw]=em(X1,[mm]),_n=mm(),J1=e=>{const{__scopeAlertDialog:t,...n}=e,r=_n(t);return p.createElement(W1,J({},r,n,{modal:!0}))},q1=e=>{const{__scopeAlertDialog:t,...n}=e,r=_n(t);return p.createElement(V1,J({},r,n))},ew=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_n(n);return p.createElement(Y1,J({},o,r,{ref:t}))}),Sm="AlertDialogContent",[tw,nw]=Z1(Sm),rw=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,children:r,...o}=e,l=_n(n),i=p.useRef(null),a=Gn(t,i),u=p.useRef(null);return p.createElement(H1,{contentName:Sm,titleName:ow,docsSlug:"alert-dialog"},p.createElement(tw,{scope:n,cancelRef:u},p.createElement(Q1,J({role:"alertdialog"},l,o,{ref:a,onOpenAutoFocus:Sn(o.onOpenAutoFocus,s=>{var c;s.preventDefault(),(c=u.current)===null||c===void 0||c.focus({preventScroll:!0})}),onPointerDownOutside:s=>s.preventDefault(),onInteractOutside:s=>s.preventDefault()}),p.createElement(zp,null,r),!1)))}),ow="AlertDialogTitle",lw=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_n(n);return p.createElement(G1,J({},o,r,{ref:t}))}),iw=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_n(n);return p.createElement(K1,J({},o,r,{ref:t}))}),aw=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_n(n);return p.createElement(xm,J({},o,r,{ref:t}))}),sw="AlertDialogCancel",uw=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=nw(sw,n),l=_n(n),i=Gn(t,o);return p.createElement(xm,J({},l,r,{ref:i}))}),cw=J1,dw=q1,Em=ew,km=rw,Cm=aw,bm=uw,Nm=lw,$m=iw,_m=cw,fw=dw,Tm=p.forwardRef(({className:e,...t},n)=>x.jsx(Em,{className:dt("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));Tm.displayName=Em.displayName;const mu=p.forwardRef(({className:e,...t},n)=>x.jsxs(fw,{children:[x.jsx(Tm,{}),x.jsx(km,{ref:n,className:dt("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...t})]}));mu.displayName=km.displayName;const hu=({className:e,...t})=>x.jsx("div",{className:dt("flex flex-col space-y-2 text-center sm:text-left",e),...t});hu.displayName="AlertDialogHeader";const vu=({className:e,...t})=>x.jsx("div",{className:dt("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});vu.displayName="AlertDialogFooter";const gu=p.forwardRef(({className:e,...t},n)=>x.jsx(Nm,{ref:n,className:dt("text-lg font-semibold",e),...t}));gu.displayName=Nm.displayName;const pw=p.forwardRef(({className:e,...t},n)=>x.jsx($m,{ref:n,className:dt("text-sm text-muted-foreground",e),...t}));pw.displayName=$m.displayName;const yu=p.forwardRef(({className:e,...t},n)=>x.jsx(Cm,{ref:n,className:dt(du(),e),...t}));yu.displayName=Cm.displayName;const wu=p.forwardRef(({className:e,...t},n)=>x.jsx(bm,{ref:n,className:dt(du({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));wu.displayName=bm.displayName;const mw=p.forwardRef((e,t)=>p.createElement($n.label,J({},e,{ref:t,onMouseDown:n=>{var r;(r=e.onMouseDown)===null||r===void 0||r.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault()}}))),Pm=mw,hw=Up("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),lt=p.forwardRef(({className:e,...t},n)=>x.jsx(Pm,{ref:n,className:dt(hw(),e),...t}));lt.displayName=Pm.displayName;function vw({newConversation:e,open:t,close:n}){const[r,o]=p.useState({message:"Hello world!",phoneNumber:""}),l=async()=>{const a=await(await gi("/api/conversations",{phoneNumber:r.phoneNumber,message:r.message})).json();e(a),o({message:"Hello world!",phoneNumber:""})};return x.jsx(_m,{open:t,onOpenChange:()=>n(),children:x.jsxs(mu,{children:[x.jsx(hu,{children:x.jsx(gu,{children:"Create a new conversation"})}),x.jsx(lt,{htmlFor:"phoneNumber",children:"Source phone number"}),x.jsx(xt,{value:r.phoneNumber,onChange:i=>o(a=>({...a,phoneNumber:i.target.value})),type:"text",id:"phoneNumber",placeholder:"+31600000000"}),x.jsx(lt,{htmlFor:"message",children:"Message"}),x.jsx(xt,{value:r.message,onChange:i=>o(a=>({...a,message:i.target.value})),type:"text",id:"message",placeholder:"Hello world!"}),x.jsxs(vu,{children:[x.jsx(wu,{children:"Cancel"}),x.jsx(yu,{onClick:l,children:"Start"})]})]})})}function gw(e){return new Intl.DateTimeFormat("en-US",{timeStyle:"short"}).format(e)}function yw({message:e}){var r;const{updateConversation:t}=xi(),n=async o=>{const l=await gi(`/api/conversations/${e.conversationId}/btnQuickReply/${o.ID}`,{});t(await l.json())};return x.jsxs("div",{"p-2":"",flex:"","flex-col":"",items:e.direction==="out"?"start":"end",children:[x.jsxs("div",{style:{maxWidth:"70%"},"inline-block":"","py-1":"","px-2":"","bg-zinc-800":"",rounded:"",children:[e.headerMessage?x.jsx("div",{"font-bold":"",children:e.headerMessage}):void 0,x.jsxs("div",{children:[x.jsxs("span",{"text-xs":"",children:[gw(new Date(e.timestamp))," - "]}),e.message]}),e.footerMessage?x.jsx("div",{"font-bold":"","text-sm":"","text-zinc-400":"","mt-1":"",children:e.footerMessage}):void 0]}),(r=e.buttons)!=null&&r.length?x.jsx("div",{flex:"","gap-2":"","flex-wrap":"","mt-2":"",style:{maxWidth:"70%"},justify:"end",children:e.buttons.map(o=>x.jsx(Dt,{onClick:()=>n(o),variant:"secondary",children:o.text},o.ID))}):void 0]})}function ww(){const[e,t]=p.useState(!0),[n,r]=p.useState(!1),{conversations:o,setConversations:l,newConversation:i}=xi(),a=async()=>{const u=await Do("/api/conversations");l(await u.json())};return p.useEffect(()=>{a()},[]),x.jsxs(x.Fragment,{children:[x.jsxs("h2",{"m-6":"","mb-0":"",flex:"","flex-wrap":"","gap-4":"","justify-between":"","items-center":"",children:[x.jsxs("span",{"inline-flex":"","items-center":"",children:[x.jsx(pu,{open:e,setOpen:t})," Conversations"]}),x.jsx(Dt,{onClick:()=>r(!0),children:"New conversation!"})]}),o&&e?x.jsx("div",{flex:"","flex-wrap":"","gap-4":"","p-4":"",children:o.map(u=>x.jsx(xw,{conversation:u},u.phoneNumberId))}):void 0,x.jsx(vw,{open:n,newConversation:i,close:()=>r(!1)})]})}function xw({conversation:e}){const{updateConversation:t}=xi(),[n,r]=p.useState(0),o=p.useRef(null),l=async i=>{i.preventDefault();const a=i.target,u=new FormData(a),s=Object.fromEntries(u).message;if(s==="")return;a.reset();const c=await gi(`/api/conversations/${e.ID}`,{message:s});t(await c.json())};return p.useEffect(()=>{if(n===e.messages.length)return;const i=n>0;r(e.messages.length),o.current&&o.current.scrollIntoView({behavior:i?"smooth":"instant"})},[n,e]),x.jsxs("div",{"bg-zinc-900":"","w-100":"",rounded:"",children:[x.jsx("h4",{"m-0":"","p-3":"","border-solid":"","border-0":"","border-b-2":"","border-zinc-700":"","text-zinc-200":"",children:e.phoneNumber}),x.jsx("div",{"h-130":"","overflow-y-auto":"",children:x.jsxs("div",{flex:"","flex-col":"","justify-end":"",children:[e.messages.map(i=>x.jsx(yw,{message:i},i.whatsappID)),x.jsx("div",{ref:o})]})}),x.jsx("form",{"bg-zinc-700":"",onSubmit:l,children:x.jsx(xt,{type:"text",name:"message",placeholder:"message"})})]},e.phoneNumber)}const Rm=()=>({ID:0,CreatedAt:null,UpdatedAt:null,DeletedAt:null}),Dm=p.forwardRef(({className:e,...t},n)=>x.jsx("textarea",{className:dt("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));Dm.displayName="Textarea";function Sw(){const[e,t]=p.useState(!1),[n,r]=p.useState(),[o,l]=p.useState(!1),i=async()=>{const s=await Do("/api/templates");r(await s.json())},a=async s=>{if(!n)return;const c=n[s];await Do(`/api/templates/${c.ID}`,{method:"DELETE"}),r(d=>{if(!d)return;const h=[...d];return h.splice(s,1),h})};p.useEffect(()=>{i()},[]);const u=s=>{r(c=>{if(c)return[...c,s]})};return x.jsxs(x.Fragment,{children:[x.jsxs("h2",{"m-6":"","mb-0":"",flex:"","flex-wrap":"","gap-4":"","justify-between":"","items-center":"",children:[x.jsxs("span",{"inline-flex":"","items-center":"",children:[x.jsx(pu,{open:e,setOpen:t})," Message templates"]}),x.jsx(Dt,{onClick:()=>l(!0),children:"New template"})]}),n&&e?x.jsx("div",{flex:"","flex-wrap":"","gap-4":"","p-4":"",children:n.map((s,c)=>x.jsx(Ew,{template:s,remove:()=>a(c)},s.ID))}):void 0,x.jsx(kw,{open:o,newTemplate:u,close:()=>l(!1)})]})}function Ew({template:e,remove:t}){return x.jsxs("div",{flex:"","w-full":"","gap-4":"",children:[x.jsx("div",{children:x.jsx(Dt,{onClick:t,variant:"ghost",children:x.jsx(Gp,{})})}),x.jsxs("div",{"overflow-hidden":"",children:[x.jsx("h4",{children:e.name}),x.jsxs("p",{truncate:"","text-sm":"","text-zinc-400":"",children:[e.body," ",e.body]}),x.jsxs("p",{"text-sm":"","text-zinc-500":"",children:[e.header?x.jsxs("span",{children:["Header: ",x.jsx("span",{"text-zinc-400":"",children:e.header})]}):void 0," ",e.footer?x.jsxs("span",{children:["Footer: ",x.jsx("span",{"text-zinc-400":"",children:e.footer})]}):void 0,e.templateCustomButtons.map((n,r)=>x.jsxs(p.Fragment,{children:[" ",x.jsxs("span",{children:["Button ",r+1,": ",x.jsx("span",{"text-zinc-400":"",children:n.text})]})]},r))]})]})]})}const fa=()=>({...Rm(),name:"hello_world_2",header:null,body:"",footer:null,templateCustomButtons:[]});function kw({open:e,newTemplate:t,close:n}){const[r,o]=p.useState(fa()),l=async()=>{const d=await(await gi("/api/templates",r)).json();t(d),o(fa())},i=()=>o(c=>{let d="Button text";return c.templateCustomButtons.length>0&&(d+=" "+(c.templateCustomButtons.length+1)),c.templateCustomButtons.push({...Rm(),templateID:c.ID,text:d}),{...c}}),a=(c,d)=>o(h=>(h.templateCustomButtons[c].text=d,{...h})),u=c=>o(d=>(d.templateCustomButtons.splice(c,1),{...d})),s=()=>{n(),o(fa())};return x.jsx(_m,{open:e,onOpenChange:()=>s(),children:x.jsxs(mu,{children:[x.jsx(hu,{children:x.jsx(gu,{children:"Create a new conversation"})}),x.jsx(lt,{htmlFor:"header",children:"Name"}),x.jsx(xt,{value:r.name,onChange:c=>o(d=>({...d,name:c.target.value})),name:"name",id:"name",placeholder:"hello_world"}),x.jsx(lt,{htmlFor:"header",children:"Header"}),x.jsx(xt,{value:r.header??"",onChange:c=>o(d=>({...d,header:c.target.value})),name:"header",id:"header",placeholder:"Header"}),x.jsx(lt,{htmlFor:"body",children:"Body"}),x.jsx(Dm,{value:r.body,onChange:c=>o(d=>({...d,body:c.target.value})),name:"body",id:"body",placeholder:"Hello world!","h-30":""}),x.jsx(lt,{htmlFor:"footer",children:"Footer"}),x.jsx(xt,{value:r.footer??"",onChange:c=>o(d=>({...d,footer:c.target.value})),name:"footer",id:"footer",placeholder:"Hello world!"}),r.templateCustomButtons.length?x.jsx(lt,{htmlFor:"footer",children:"Buttons"}):void 0,r.templateCustomButtons.map((c,d)=>x.jsxs("div",{flex:"","w-full":"","items-center":"","gap-4":"",children:[x.jsx("div",{children:x.jsx(Dt,{onClick:()=>u(d),variant:"ghost",children:x.jsx(Gp,{})})}),x.jsxs("div",{"flex-1":"",children:[x.jsxs(lt,{htmlFor:"footer",children:["Button #",d+1]}),x.jsx(xt,{value:c.text,onChange:h=>a(d,h.target.value),name:"button-"+d,id:"button-"+d,placeholder:"Hello world!"})]})]},d)),x.jsx("div",{children:x.jsx(Dt,{variant:"secondary",onClick:i,children:"New button"})}),x.jsxs(vu,{children:[x.jsx(wu,{children:"Cancel"}),x.jsx(yu,{onClick:l,children:"Create"})]})]})})}function Om({code:e}){return x.jsxs("pre",{rounded:"","bg-zinc-800":"","p-3":"","text-sm":"","font-mono":"","overflow-x-scroll":"",children:[x.jsx("br",{}),e,x.jsx("br",{}),x.jsx("br",{})]})}function Cw({state:e}){const[t,n]=p.useState(""),r=vi(`/v18.0/${e.phoneNumberID}/messages`),o=`Bearer ${e.graphToken}`,l=JSON.stringify({messaging_product:"whatsapp",to:t,type:"template",template:{name:"hello_world",language:{code:"en_US"}}}),i=async u=>{u.preventDefault();const s=await fetch(r,{method:"POST",headers:{Authorization:o,"Content-Type":"application/json"},body:l});s.status>=400?Ro.error(await s.text()):Ro.success("Message sent check the chats below")},a=`curl -i -X POST \\ +`)},E1=0,rr=[];function k1(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),o=p.useState(E1++)[0],l=p.useState(function(){return sm()})[0],i=p.useRef(e);p.useEffect(function(){i.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var y=Wy([e.lockRef.current],(e.shards||[]).map(gd),!0).filter(Boolean);return y.forEach(function(N){return N.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),y.forEach(function(N){return N.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=p.useCallback(function(y,N){if("touches"in y&&y.touches.length===2)return!i.current.allowPinchZoom;var m=dl(y),f=n.current,v="deltaX"in y?y.deltaX:f[0]-m[0],E="deltaY"in y?y.deltaY:f[1]-m[1],k,T=y.target,$=Math.abs(v)>Math.abs(E)?"h":"v";if("touches"in y&&$==="h"&&T.type==="range")return!1;var b=hd($,T);if(!b)return!0;if(b?k=$:(k=$==="v"?"h":"v",b=hd($,T)),!b)return!1;if(!r.current&&"changedTouches"in y&&(v||E)&&(r.current=k),!k)return!0;var U=r.current||k;return w1(U,N,y,U==="h"?v:E,!0)},[]),u=p.useCallback(function(y){var N=y;if(!(!rr.length||rr[rr.length-1]!==l)){var m="deltaY"in N?vd(N):dl(N),f=t.current.filter(function(k){return k.name===N.type&&k.target===N.target&&x1(k.delta,m)})[0];if(f&&f.should){N.cancelable&&N.preventDefault();return}if(!f){var v=(i.current.shards||[]).map(gd).filter(Boolean).filter(function(k){return k.contains(N.target)}),E=v.length>0?a(N,v[0]):!i.current.noIsolation;E&&N.cancelable&&N.preventDefault()}}},[]),s=p.useCallback(function(y,N,m,f){var v={name:y,delta:N,target:m,should:f};t.current.push(v),setTimeout(function(){t.current=t.current.filter(function(E){return E!==v})},1)},[]),c=p.useCallback(function(y){n.current=dl(y),r.current=void 0},[]),d=p.useCallback(function(y){s(y.type,vd(y),y.target,a(y,e.lockRef.current))},[]),h=p.useCallback(function(y){s(y.type,dl(y),y.target,a(y,e.lockRef.current))},[]);p.useEffect(function(){return rr.push(l),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",u,nr),document.addEventListener("touchmove",u,nr),document.addEventListener("touchstart",c,nr),function(){rr=rr.filter(function(y){return y!==l}),document.removeEventListener("wheel",u,nr),document.removeEventListener("touchmove",u,nr),document.removeEventListener("touchstart",c,nr)}},[]);var w=e.removeScrollBar,S=e.inert;return p.createElement(p.Fragment,null,S?p.createElement(l,{styles:S1(o)}):null,w?p.createElement(f1,{gapMode:"margin"}):null)}const C1=qy(am,k1);var fm=p.forwardRef(function(e,t){return p.createElement(ki,Tt({},e,{ref:t,sideCar:C1}))});fm.classNames=ki.classNames;const b1=fm;var N1=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},or=new WeakMap,fl=new WeakMap,pl={},fa=0,pm=function(e){return e&&(e.host||pm(e.parentNode))},_1=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=pm(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},$1=function(e,t,n,r){var o=_1(t,Array.isArray(e)?e:[e]);pl[n]||(pl[n]=new WeakMap);var l=pl[n],i=[],a=new Set,u=new Set(o),s=function(d){!d||a.has(d)||(a.add(d),s(d.parentNode))};o.forEach(s);var c=function(d){!d||u.has(d)||Array.prototype.forEach.call(d.children,function(h){if(a.has(h))c(h);else try{var w=h.getAttribute(r),S=w!==null&&w!=="false",y=(or.get(h)||0)+1,N=(l.get(h)||0)+1;or.set(h,y),l.set(h,N),i.push(h),y===1&&S&&fl.set(h,!0),N===1&&h.setAttribute(n,"true"),S||h.setAttribute(r,"true")}catch(m){console.error("aria-hidden: cannot operate on ",h,m)}})};return c(t),a.clear(),fa++,function(){i.forEach(function(d){var h=or.get(d)-1,w=l.get(d)-1;or.set(d,h),l.set(d,w),h||(fl.has(d)||d.removeAttribute(r),fl.delete(d)),w||d.removeAttribute(n)}),fa--,fa||(or=new WeakMap,or=new WeakMap,fl=new WeakMap,pl={})}},T1=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||N1(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),$1(r,o,n,"aria-hidden")):function(){return null}};const mm="Dialog",[hm,vm]=nm(mm),[P1,Ot]=hm(mm),R1=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:l,modal:i=!0}=e,a=p.useRef(null),u=p.useRef(null),[s=!1,c]=Ey({prop:r,defaultProp:o,onChange:l});return p.createElement(P1,{scope:t,triggerRef:a,contentRef:u,contentId:la(),titleId:la(),descriptionId:la(),open:s,onOpenChange:c,onOpenToggle:p.useCallback(()=>c(d=>!d),[c]),modal:i},n)},gm="DialogPortal",[D1,ym]=hm(gm,{forceMount:void 0}),O1=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,l=Ot(gm,t);return p.createElement(D1,{scope:t,forceMount:n},p.Children.map(r,i=>p.createElement(Ei,{present:n||l.open},p.createElement(Fy,{asChild:!0,container:o},i))))},hs="DialogOverlay",A1=p.forwardRef((e,t)=>{const n=ym(hs,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,l=Ot(hs,e.__scopeDialog);return l.modal?p.createElement(Ei,{present:r||l.open},p.createElement(L1,J({},o,{ref:t}))):null}),L1=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ot(hs,n);return p.createElement(b1,{as:wi,allowPinchZoom:!0,shards:[o.contentRef]},p.createElement(_n.div,J({"data-state":Sm(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),Dr="DialogContent",M1=p.forwardRef((e,t)=>{const n=ym(Dr,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,l=Ot(Dr,e.__scopeDialog);return p.createElement(Ei,{present:r||l.open},l.modal?p.createElement(j1,J({},o,{ref:t})):p.createElement(I1,J({},o,{ref:t})))}),j1=p.forwardRef((e,t)=>{const n=Ot(Dr,e.__scopeDialog),r=p.useRef(null),o=Gn(t,n.contentRef,r);return p.useEffect(()=>{const l=r.current;if(l)return T1(l)},[]),p.createElement(wm,J({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Sn(e.onCloseAutoFocus,l=>{var i;l.preventDefault(),(i=n.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:Sn(e.onPointerDownOutside,l=>{const i=l.detail.originalEvent,a=i.button===0&&i.ctrlKey===!0;(i.button===2||a)&&l.preventDefault()}),onFocusOutside:Sn(e.onFocusOutside,l=>l.preventDefault())}))}),I1=p.forwardRef((e,t)=>{const n=Ot(Dr,e.__scopeDialog),r=p.useRef(!1),o=p.useRef(!1);return p.createElement(wm,J({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:l=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,l),!l.defaultPrevented){var a;r.current||(a=n.triggerRef.current)===null||a===void 0||a.focus(),l.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:l=>{var i,a;(i=e.onInteractOutside)===null||i===void 0||i.call(e,l),l.defaultPrevented||(r.current=!0,l.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const u=l.target;((a=n.triggerRef.current)===null||a===void 0?void 0:a.contains(u))&&l.preventDefault(),l.detail.originalEvent.type==="focusin"&&o.current&&l.preventDefault()}}))}),wm=p.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:l,...i}=e,a=Ot(Dr,n),u=p.useRef(null),s=Gn(t,u);return Hy(),p.createElement(p.Fragment,null,p.createElement(Oy,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:l},p.createElement(Py,J({role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":Sm(a.open)},i,{ref:s,onDismiss:()=>a.onOpenChange(!1)}))),!1)}),xm="DialogTitle",z1=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ot(xm,n);return p.createElement(_n.h2,J({id:o.titleId},r,{ref:t}))}),F1="DialogDescription",U1=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ot(F1,n);return p.createElement(_n.p,J({id:o.descriptionId},r,{ref:t}))}),B1="DialogClose",H1=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Ot(B1,n);return p.createElement(_n.button,J({type:"button"},r,{ref:t,onClick:Sn(e.onClick,()=>o.onOpenChange(!1))}))});function Sm(e){return e?"open":"closed"}const W1="DialogTitleWarning",[V1,Iw]=yy(W1,{contentName:Dr,titleName:xm,docsSlug:"dialog"}),Y1=R1,Q1=O1,G1=A1,K1=M1,X1=z1,Z1=U1,Em=H1,J1="AlertDialog",[q1,zw]=nm(J1,[vm]),$n=vm(),ew=e=>{const{__scopeAlertDialog:t,...n}=e,r=$n(t);return p.createElement(Y1,J({},r,n,{modal:!0}))},tw=e=>{const{__scopeAlertDialog:t,...n}=e,r=$n(t);return p.createElement(Q1,J({},r,n))},nw=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=$n(n);return p.createElement(G1,J({},o,r,{ref:t}))}),km="AlertDialogContent",[rw,ow]=q1(km),lw=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,children:r,...o}=e,l=$n(n),i=p.useRef(null),a=Gn(t,i),u=p.useRef(null);return p.createElement(V1,{contentName:km,titleName:iw,docsSlug:"alert-dialog"},p.createElement(rw,{scope:n,cancelRef:u},p.createElement(K1,J({role:"alertdialog"},l,o,{ref:a,onOpenAutoFocus:Sn(o.onOpenAutoFocus,s=>{var c;s.preventDefault(),(c=u.current)===null||c===void 0||c.focus({preventScroll:!0})}),onPointerDownOutside:s=>s.preventDefault(),onInteractOutside:s=>s.preventDefault()}),p.createElement(Up,null,r),!1)))}),iw="AlertDialogTitle",aw=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=$n(n);return p.createElement(X1,J({},o,r,{ref:t}))}),sw=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=$n(n);return p.createElement(Z1,J({},o,r,{ref:t}))}),uw=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=$n(n);return p.createElement(Em,J({},o,r,{ref:t}))}),cw="AlertDialogCancel",dw=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=ow(cw,n),l=$n(n),i=Gn(t,o);return p.createElement(Em,J({},l,r,{ref:i}))}),fw=ew,pw=tw,Cm=nw,bm=lw,Nm=uw,_m=dw,$m=aw,Tm=sw,Pm=fw,mw=pw,Rm=p.forwardRef(({className:e,...t},n)=>x.jsx(Cm,{className:dt("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));Rm.displayName=Cm.displayName;const vu=p.forwardRef(({className:e,...t},n)=>x.jsxs(mw,{children:[x.jsx(Rm,{}),x.jsx(bm,{ref:n,className:dt("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...t})]}));vu.displayName=bm.displayName;const gu=({className:e,...t})=>x.jsx("div",{className:dt("flex flex-col space-y-2 text-center sm:text-left",e),...t});gu.displayName="AlertDialogHeader";const yu=({className:e,...t})=>x.jsx("div",{className:dt("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});yu.displayName="AlertDialogFooter";const wu=p.forwardRef(({className:e,...t},n)=>x.jsx($m,{ref:n,className:dt("text-lg font-semibold",e),...t}));wu.displayName=$m.displayName;const hw=p.forwardRef(({className:e,...t},n)=>x.jsx(Tm,{ref:n,className:dt("text-sm text-muted-foreground",e),...t}));hw.displayName=Tm.displayName;const xu=p.forwardRef(({className:e,...t},n)=>x.jsx(Nm,{ref:n,className:dt(pu(),e),...t}));xu.displayName=Nm.displayName;const Su=p.forwardRef(({className:e,...t},n)=>x.jsx(_m,{ref:n,className:dt(pu({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));Su.displayName=_m.displayName;const vw=p.forwardRef((e,t)=>p.createElement(_n.label,J({},e,{ref:t,onMouseDown:n=>{var r;(r=e.onMouseDown)===null||r===void 0||r.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault()}}))),Dm=vw,gw=Hp("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),lt=p.forwardRef(({className:e,...t},n)=>x.jsx(Dm,{ref:n,className:dt(gw(),e),...t}));lt.displayName=Dm.displayName;function yw({newConversation:e,open:t,close:n}){const[r,o]=p.useState({message:"Hello world!",phoneNumber:""}),l=async()=>{const a=await(await yi("/api/conversations",{phoneNumber:r.phoneNumber,message:r.message})).json();e(a),o({message:"Hello world!",phoneNumber:""})};return x.jsx(Pm,{open:t,onOpenChange:()=>n(),children:x.jsxs(vu,{children:[x.jsx(gu,{children:x.jsx(wu,{children:"Create a new conversation"})}),x.jsx(lt,{htmlFor:"phoneNumber",children:"Source phone number"}),x.jsx(xt,{value:r.phoneNumber,onChange:i=>o(a=>({...a,phoneNumber:i.target.value})),type:"text",id:"phoneNumber",placeholder:"+31600000000"}),x.jsx(lt,{htmlFor:"message",children:"Message"}),x.jsx(xt,{value:r.message,onChange:i=>o(a=>({...a,message:i.target.value})),type:"text",id:"message",placeholder:"Hello world!"}),x.jsxs(yu,{children:[x.jsx(Su,{children:"Cancel"}),x.jsx(xu,{onClick:l,children:"Start"})]})]})})}function ww(e){return new Intl.DateTimeFormat("en-US",{timeStyle:"short"}).format(e)}function xw({message:e}){var r;const{updateConversation:t}=Si(),n=async o=>{const l=await yi(`/api/conversations/${e.conversationId}/btnQuickReply/${o.ID}`,{});t(await l.json())};return x.jsxs("div",{"p-2":"",flex:"","flex-col":"",items:e.direction==="out"?"start":"end",children:[x.jsxs("div",{style:{maxWidth:"70%"},"inline-block":"","py-1":"","px-2":"","bg-zinc-800":"",rounded:"",children:[e.headerMessage?x.jsx("div",{"font-bold":"",children:x.jsx(pa,{text:e.headerMessage})}):void 0,x.jsxs("div",{children:[x.jsxs("span",{"text-xs":"",children:[ww(new Date(e.timestamp))," - "]}),e.message.trim().split(` +`).map(o=>o.trim()).map((o,l)=>x.jsxs("span",{children:[l>0?x.jsx("br",{}):void 0,x.jsx(pa,{text:o})]},l))]}),e.footerMessage?x.jsx("div",{"font-bold":"","text-sm":"","text-zinc-400":"","mt-1":"",children:x.jsx(pa,{text:e.footerMessage})}):void 0]}),(r=e.buttons)!=null&&r.length?x.jsx("div",{flex:"","gap-2":"","flex-wrap":"","mt-2":"",style:{maxWidth:"70%"},justify:"end",children:e.buttons.map(o=>x.jsx(Dt,{onClick:()=>n(o),variant:"secondary",children:o.text},o.ID))}):void 0]})}function ml(e){return e===" "||e===` +`}function pa({text:e}){const t=[{bold:!1,italic:!1,text:""}];for(let r=0;r1&&console.log(t),t.map((r,o)=>x.jsx("span",{style:{fontWeight:r.bold?600:400,fontStyle:r.italic?"italic":"normal"},children:r.text},o))}function Sw(){const[e,t]=p.useState(!0),[n,r]=p.useState(!1),{conversations:o,setConversations:l,newConversation:i}=Si(),a=async()=>{const u=await Do("/api/conversations");l(await u.json())};return p.useEffect(()=>{a()},[]),x.jsxs(x.Fragment,{children:[x.jsxs("h2",{"m-6":"","mb-0":"",flex:"","flex-wrap":"","gap-4":"","justify-between":"","items-center":"",children:[x.jsxs("span",{"inline-flex":"","items-center":"",children:[x.jsx(hu,{open:e,setOpen:t})," Conversations"]}),x.jsx(Dt,{onClick:()=>r(!0),children:"New conversation!"})]}),o&&e?x.jsx("div",{flex:"","flex-wrap":"","gap-4":"","p-4":"",children:o.map(u=>x.jsx(Ew,{conversation:u},u.phoneNumberId))}):void 0,x.jsx(yw,{open:n,newConversation:i,close:()=>r(!1)})]})}function Ew({conversation:e}){const{updateConversation:t}=Si(),[n,r]=p.useState(0),o=p.useRef(null),l=async i=>{i.preventDefault();const a=i.target,u=new FormData(a),s=Object.fromEntries(u).message;if(s==="")return;a.reset();const c=await yi(`/api/conversations/${e.ID}`,{message:s});t(await c.json())};return p.useEffect(()=>{if(n===e.messages.length)return;const i=n>0;r(e.messages.length),o.current&&o.current.scrollIntoView({behavior:i?"smooth":"instant"})},[n,e]),x.jsxs("div",{"bg-zinc-900":"","w-100":"",rounded:"",children:[x.jsx("h4",{"m-0":"","p-3":"","border-solid":"","border-0":"","border-b-2":"","border-zinc-700":"","text-zinc-200":"",children:e.phoneNumber}),x.jsx("div",{"h-130":"","overflow-y-auto":"",children:x.jsxs("div",{flex:"","flex-col":"","justify-end":"",children:[e.messages.map(i=>x.jsx(xw,{message:i},i.whatsappID)),x.jsx("div",{ref:o})]})}),x.jsx("form",{"bg-zinc-700":"",onSubmit:l,children:x.jsx(xt,{type:"text",name:"message",placeholder:"message"})})]},e.phoneNumber)}const Om=()=>({ID:0,CreatedAt:null,UpdatedAt:null,DeletedAt:null}),Am=p.forwardRef(({className:e,...t},n)=>x.jsx("textarea",{className:dt("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));Am.displayName="Textarea";function kw(){const[e,t]=p.useState(!1),[n,r]=p.useState(),[o,l]=p.useState(!1),i=async()=>{const s=await Do("/api/templates");r(await s.json())},a=async s=>{if(!n)return;const c=n[s];await Do(`/api/templates/${c.ID}`,{method:"DELETE"}),r(d=>{if(!d)return;const h=[...d];return h.splice(s,1),h})};p.useEffect(()=>{i()},[]);const u=s=>{r(c=>{if(c)return[...c,s]})};return x.jsxs(x.Fragment,{children:[x.jsxs("h2",{"m-6":"","mb-0":"",flex:"","flex-wrap":"","gap-4":"","justify-between":"","items-center":"",children:[x.jsxs("span",{"inline-flex":"","items-center":"",children:[x.jsx(hu,{open:e,setOpen:t})," Message templates"]}),x.jsx(Dt,{onClick:()=>l(!0),children:"New template"})]}),n&&e?x.jsx("div",{flex:"","flex-wrap":"","gap-4":"","p-4":"",children:n.map((s,c)=>x.jsx(Cw,{template:s,remove:()=>a(c)},s.ID))}):void 0,x.jsx(bw,{open:o,newTemplate:u,close:()=>l(!1)})]})}function Cw({template:e,remove:t}){return x.jsxs("div",{flex:"","w-full":"","gap-4":"",children:[x.jsx("div",{children:x.jsx(Dt,{onClick:t,variant:"ghost",children:x.jsx(Xp,{})})}),x.jsxs("div",{"overflow-hidden":"",children:[x.jsx("h4",{children:e.name}),x.jsxs("p",{truncate:"","text-sm":"","text-zinc-400":"",children:[e.body," ",e.body]}),x.jsxs("p",{"text-sm":"","text-zinc-500":"",children:[e.header?x.jsxs("span",{children:["Header: ",x.jsx("span",{"text-zinc-400":"",children:e.header})]}):void 0," ",e.footer?x.jsxs("span",{children:["Footer: ",x.jsx("span",{"text-zinc-400":"",children:e.footer})]}):void 0,e.templateCustomButtons.map((n,r)=>x.jsxs(p.Fragment,{children:[" ",x.jsxs("span",{children:["Button ",r+1,": ",x.jsx("span",{"text-zinc-400":"",children:n.text})]})]},r))]})]})]})}const ma=()=>({...Om(),name:"hello_world_2",header:null,body:"",footer:null,templateCustomButtons:[]});function bw({open:e,newTemplate:t,close:n}){const[r,o]=p.useState(ma()),l=async()=>{const d=await(await yi("/api/templates",r)).json();t(d),o(ma())},i=()=>o(c=>{let d="Button text";return c.templateCustomButtons.length>0&&(d+=" "+(c.templateCustomButtons.length+1)),c.templateCustomButtons.push({...Om(),templateID:c.ID,text:d}),{...c}}),a=(c,d)=>o(h=>(h.templateCustomButtons[c].text=d,{...h})),u=c=>o(d=>(d.templateCustomButtons.splice(c,1),{...d})),s=()=>{n(),o(ma())};return x.jsx(Pm,{open:e,onOpenChange:()=>s(),children:x.jsxs(vu,{children:[x.jsx(gu,{children:x.jsx(wu,{children:"Create a new conversation"})}),x.jsx(lt,{htmlFor:"header",children:"Name"}),x.jsx(xt,{value:r.name,onChange:c=>o(d=>({...d,name:c.target.value})),name:"name",id:"name",placeholder:"hello_world"}),x.jsx(lt,{htmlFor:"header",children:"Header"}),x.jsx(xt,{value:r.header??"",onChange:c=>o(d=>({...d,header:c.target.value})),name:"header",id:"header",placeholder:"Header"}),x.jsx(lt,{htmlFor:"body",children:"Body"}),x.jsx(Am,{value:r.body,onChange:c=>o(d=>({...d,body:c.target.value})),name:"body",id:"body",placeholder:"Hello world!","h-30":""}),x.jsx(lt,{htmlFor:"footer",children:"Footer"}),x.jsx(xt,{value:r.footer??"",onChange:c=>o(d=>({...d,footer:c.target.value})),name:"footer",id:"footer",placeholder:"Hello world!"}),r.templateCustomButtons.length?x.jsx(lt,{htmlFor:"footer",children:"Buttons"}):void 0,r.templateCustomButtons.map((c,d)=>x.jsxs("div",{flex:"","w-full":"","items-center":"","gap-4":"",children:[x.jsx("div",{children:x.jsx(Dt,{onClick:()=>u(d),variant:"ghost",children:x.jsx(Xp,{})})}),x.jsxs("div",{"flex-1":"",children:[x.jsxs(lt,{htmlFor:"footer",children:["Button #",d+1]}),x.jsx(xt,{value:c.text,onChange:h=>a(d,h.target.value),name:"button-"+d,id:"button-"+d,placeholder:"Hello world!"})]})]},d)),x.jsx("div",{children:x.jsx(Dt,{variant:"secondary",onClick:i,children:"New button"})}),x.jsxs(yu,{children:[x.jsx(Su,{children:"Cancel"}),x.jsx(xu,{onClick:l,children:"Create"})]})]})})}function Lm({code:e}){return x.jsxs("pre",{rounded:"","bg-zinc-800":"","p-3":"","text-sm":"","font-mono":"","overflow-x-scroll":"",children:[x.jsx("br",{}),e,x.jsx("br",{}),x.jsx("br",{})]})}function Nw({state:e}){const[t,n]=p.useState(""),r=gi(`/v18.0/${e.phoneNumberID}/messages`),o=`Bearer ${e.graphToken}`,l=JSON.stringify({messaging_product:"whatsapp",to:t,type:"template",template:{name:"hello_world",language:{code:"en_US"}}}),i=async u=>{u.preventDefault();const s=await fetch(r,{method:"POST",headers:{Authorization:o,"Content-Type":"application/json"},body:l});s.status>=400?Ro.error(await s.text()):Ro.success("Message sent check the chats below")},a=`curl -i -X POST \\ ${r} \\ -H 'Authorization: ${o}' \\ -H 'Content-Type: application/json' \\ - -d '${l}'`;return x.jsxs("form",{onSubmit:i,"w-full":"",children:[x.jsx("h4",{children:"Hello world template"}),x.jsxs("div",{"my-4":"",children:[x.jsx(lt,{htmlFor:"phoneNumber",children:"Phone number"}),x.jsx(xt,{name:"phoneNumber",id:"phoneNumber",placeholder:"31612345678",value:t,onChange:u=>n(u.target.value)})]}),x.jsx(Om,{code:a}),x.jsx(Dt,{"mt-3":"",type:"submit",children:"Send"})]})}function bw({state:e}){const[t,n]=p.useState(""),[r,o]=p.useState("Hello world!"),l=vi(`/v18.0/${e.phoneNumberID}/messages`),i=`Bearer ${e.graphToken}`,a=JSON.stringify({messaging_product:"whatsapp",to:t,type:"text",text:{body:r}}),u=async c=>{c.preventDefault();const d=await fetch(l,{method:"POST",headers:{Authorization:i,"Content-Type":"application/json"},body:a});d.status>=400?Ro.error(await d.text()):Ro.success("Message sent check the chats below")},s=`curl -i -X POST \\ + -d '${l}'`;return x.jsxs("form",{onSubmit:i,"w-full":"",children:[x.jsx("h4",{children:"Hello world template"}),x.jsxs("div",{"my-4":"",children:[x.jsx(lt,{htmlFor:"phoneNumber",children:"Phone number"}),x.jsx(xt,{name:"phoneNumber",id:"phoneNumber",placeholder:"31612345678",value:t,onChange:u=>n(u.target.value)})]}),x.jsx(Lm,{code:a}),x.jsx(Dt,{"mt-3":"",type:"submit",children:"Send"})]})}function _w({state:e}){const[t,n]=p.useState(""),[r,o]=p.useState("Hello world!"),l=gi(`/v18.0/${e.phoneNumberID}/messages`),i=`Bearer ${e.graphToken}`,a=JSON.stringify({messaging_product:"whatsapp",to:t,type:"text",text:{body:r}}),u=async c=>{c.preventDefault();const d=await fetch(l,{method:"POST",headers:{Authorization:i,"Content-Type":"application/json"},body:a});d.status>=400?Ro.error(await d.text()):Ro.success("Message sent check the chats below")},s=`curl -i -X POST \\ ${l} \\ -H 'Authorization: ${i}' \\ -H 'Content-Type: application/json' \\ - -d '${a}'`;return x.jsxs("form",{onSubmit:u,"w-full":"",children:[x.jsx("h4",{children:"Message"}),x.jsxs("div",{"my-4":"",children:[x.jsx(lt,{htmlFor:"phoneNumber",children:"Phone number"}),x.jsx(xt,{name:"phoneNumber",id:"phoneNumber",placeholder:"31612345678",value:t,onChange:c=>n(c.target.value)})]}),x.jsxs("div",{"my-4":"",children:[x.jsx(lt,{htmlFor:"message",children:"Message"}),x.jsx(xt,{name:"message",id:"message",placeholder:"Hello world!",value:r,onChange:c=>o(c.target.value)})]}),x.jsx(Om,{code:s}),x.jsx(Dt,{"mt-3":"",type:"submit",children:"Send"})]})}function Nw({state:e}){const[t,n]=p.useState(!1);return x.jsxs(x.Fragment,{children:[x.jsx("h2",{"m-6":"","mb-0":"",flex:"","flex-wrap":"","gap-4":"","justify-between":"","items-center":"",children:x.jsxs("span",{"inline-flex":"","items-center":"",children:[x.jsx(pu,{open:t,setOpen:n})," API Examples"]})}),t?x.jsxs("div",{"p-4":"",flex:"","flex-col":"","gap-6":"",children:[x.jsx(Cw,{state:e}),x.jsx(bw,{state:e})]}):void 0]})}class $w{constructor(t){Fo(this,"closed",!1);Fo(this,"socket",null);Fo(this,"onEvent");this.onEvent=t}async start(){if(this.socket)throw"cannot start a Websocket twice";for(;await new Promise(t=>{this.socket=new WebSocket(vi("/api/events",!0)),this.socket.onmessage=n=>{this.closed||this.onEvent(JSON.parse(n.data))},this.socket.onclose=()=>setTimeout(t,5e3)}),!this.closed;);}close(){var t;this.closed=!0,(t=this.socket)==null||t.close()}}function _w(){const[e,t]=p.useState({graphToken:"",appSecret:"",phoneNumber:"",phoneNumberID:"",webhookURL:""}),n=async()=>{const r=await Do("/api/info");t(await r.json())};return p.useEffect(()=>{n()},[]),x.jsxs("div",{children:[x.jsxs("div",{"p-5":"","bg-zinc-900":"",children:[x.jsx("h1",{"m-0":"",children:"Whatsapp Dev"}),x.jsxs("p",{"m-0":"",children:[e.phoneNumber," ",x.jsxs("span",{italic:"","text-zinc-400":"",children:["(id: ",e.phoneNumberID,")"]})]})]}),x.jsx(Nw,{state:e}),x.jsx(Sw,{}),x.jsx(ww,{}),x.jsx(Tw,{})]})}function Tw(){const{addMessage:e}=xi();return p.useEffect(()=>{const t=new $w(n=>{console.log("websocket message:",n),n.type==="message"&&e(n.message)});return t.start(),()=>t.close()},[]),x.jsx(p.Fragment,{})}var ms={},vd=hi;ms.createRoot=vd.createRoot,ms.hydrateRoot=vd.hydrateRoot;var gd=["light","dark"],Pw="(prefers-color-scheme: dark)",Rw=p.createContext(void 0),Dw={setTheme:e=>{},themes:[]},Ow=()=>{var e;return(e=p.useContext(Rw))!=null?e:Dw};p.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:l,value:i,attrs:a,nonce:u})=>{let s=l==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(S=>`'${S}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=o?gd.includes(l)&&l?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${l}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(S,y=!1,N=!0)=>{let m=i?i[S]:S,f=y?S+"|| ''":`'${m}'`,v="";return o&&N&&!y&&gd.includes(S)&&(v+=`d.style.colorScheme = '${S}';`),n==="class"?y||m?v+=`c.add(${f})`:v+="null":m&&(v+=`d[s](n,${f})`),v},w=e?`!function(){${c}${h(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${s})){var t='${Pw}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${h(i?"x[e]":"e",!0)}}${s?"":"else{"+h(l,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${h(i?"x[e]":"e",!0)}}else{${h(l,!1,!1)};}${d}}catch(t){}}();`;return p.createElement("script",{nonce:u,dangerouslySetInnerHTML:{__html:w}})});const Aw=({...e})=>{const{theme:t="system"}=Ow();return x.jsx(e0,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};ms.createRoot(document.getElementById("root")).render(x.jsxs(R.StrictMode,{children:[x.jsx(_w,{}),x.jsx(Aw,{})]})); + -d '${a}'`;return x.jsxs("form",{onSubmit:u,"w-full":"",children:[x.jsx("h4",{children:"Message"}),x.jsxs("div",{"my-4":"",children:[x.jsx(lt,{htmlFor:"phoneNumber",children:"Phone number"}),x.jsx(xt,{name:"phoneNumber",id:"phoneNumber",placeholder:"31612345678",value:t,onChange:c=>n(c.target.value)})]}),x.jsxs("div",{"my-4":"",children:[x.jsx(lt,{htmlFor:"message",children:"Message"}),x.jsx(xt,{name:"message",id:"message",placeholder:"Hello world!",value:r,onChange:c=>o(c.target.value)})]}),x.jsx(Lm,{code:s}),x.jsx(Dt,{"mt-3":"",type:"submit",children:"Send"})]})}function $w({state:e}){const[t,n]=p.useState(!1);return x.jsxs(x.Fragment,{children:[x.jsx("h2",{"m-6":"","mb-0":"",flex:"","flex-wrap":"","gap-4":"","justify-between":"","items-center":"",children:x.jsxs("span",{"inline-flex":"","items-center":"",children:[x.jsx(hu,{open:t,setOpen:n})," API Examples"]})}),t?x.jsxs("div",{"p-4":"",flex:"","flex-col":"","gap-6":"",children:[x.jsx(Nw,{state:e}),x.jsx(_w,{state:e})]}):void 0]})}class Tw{constructor(t){Fo(this,"closed",!1);Fo(this,"socket",null);Fo(this,"onEvent");this.onEvent=t}async start(){if(this.socket)throw"cannot start a Websocket twice";for(;await new Promise(t=>{this.socket=new WebSocket(gi("/api/events",!0)),this.socket.onmessage=n=>{this.closed||this.onEvent(JSON.parse(n.data))},this.socket.onclose=()=>setTimeout(t,5e3)}),!this.closed;);}close(){var t;this.closed=!0,(t=this.socket)==null||t.close()}}function Pw(){const[e,t]=p.useState({graphToken:"",appSecret:"",phoneNumber:"",phoneNumberID:"",webhookURL:""}),n=async()=>{const r=await Do("/api/info");t(await r.json())};return p.useEffect(()=>{n()},[]),x.jsxs("div",{children:[x.jsxs("div",{"p-5":"","bg-zinc-900":"",children:[x.jsx("h1",{"m-0":"",children:"Whatsapp Dev"}),x.jsxs("p",{"m-0":"",children:[e.phoneNumber," ",x.jsxs("span",{italic:"","text-zinc-400":"",children:["(id: ",e.phoneNumberID,")"]})]})]}),x.jsx($w,{state:e}),x.jsx(kw,{}),x.jsx(Sw,{}),x.jsx(Rw,{})]})}function Rw(){const{addMessage:e}=Si();return p.useEffect(()=>{const t=new Tw(n=>{console.log("websocket message:",n),n.type==="message"&&e(n.message)});return t.start(),()=>t.close()},[]),x.jsx(p.Fragment,{})}var vs={},yd=vi;vs.createRoot=yd.createRoot,vs.hydrateRoot=yd.hydrateRoot;var wd=["light","dark"],Dw="(prefers-color-scheme: dark)",Ow=p.createContext(void 0),Aw={setTheme:e=>{},themes:[]},Lw=()=>{var e;return(e=p.useContext(Ow))!=null?e:Aw};p.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:l,value:i,attrs:a,nonce:u})=>{let s=l==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(S=>`'${S}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=o?wd.includes(l)&&l?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${l}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(S,y=!1,N=!0)=>{let m=i?i[S]:S,f=y?S+"|| ''":`'${m}'`,v="";return o&&N&&!y&&wd.includes(S)&&(v+=`d.style.colorScheme = '${S}';`),n==="class"?y||m?v+=`c.add(${f})`:v+="null":m&&(v+=`d[s](n,${f})`),v},w=e?`!function(){${c}${h(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${s})){var t='${Dw}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${h(i?"x[e]":"e",!0)}}${s?"":"else{"+h(l,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${h(i?"x[e]":"e",!0)}}else{${h(l,!1,!1)};}${d}}catch(t){}}();`;return p.createElement("script",{nonce:u,dangerouslySetInnerHTML:{__html:w}})});const Mw=({...e})=>{const{theme:t="system"}=Lw();return x.jsx(n0,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};vs.createRoot(document.getElementById("root")).render(x.jsxs(R.StrictMode,{children:[x.jsx(Pw,{}),x.jsx(Mw,{})]})); diff --git a/dist/assets/index-DXF2CrUc.css b/dist/assets/index-Dkiq1rZy.css similarity index 90% rename from dist/assets/index-DXF2CrUc.css rename to dist/assets/index-Dkiq1rZy.css index f21e062..86ba943 100644 --- a/dist/assets/index-DXF2CrUc.css +++ b/dist/assets/index-Dkiq1rZy.css @@ -1 +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: 240 10% 3.9%;--foreground: 0 0% 98%;--card: 240 10% 3.9%;--card-foreground: 0 0% 98%;--popover: 240 10% 3.9%;--popover-foreground: 0 0% 98%;--primary: 0 0% 98%;--primary-foreground: 240 5.9% 10%;--secondary: 240 3.7% 15.9%;--secondary-foreground: 0 0% 98%;--muted: 240 3.7% 15.9%;--muted-foreground: 240 5% 64.9%;--accent: 240 3.7% 15.9%;--accent-foreground: 0 0% 98%;--destructive: 0 62.8% 30.6%;--destructive-foreground: 0 0% 98%;--border: 240 3.7% 15.9%;--input: 240 3.7% 15.9%;--ring: 240 4.9% 83.9%}*{border-color:hsl(var(--border))}*,: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: }.m-0{margin:0}.m-6{margin:1.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.mb-0{margin-bottom:0}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.w-full{width:100%}.flex-1{flex:1 1 0%}.translate-x-\[-50\%\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-scroll{overflow-x:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded{border-radius:.25rem}.rounded-md{border-radius:calc(var(--radius) - 2px)}.border-0{border-width:0px}.border-b-2{border-bottom-width:2px}.border-solid{border-style:solid}.border-input{border-color:hsl(var(--input))}.border-zinc-700{--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity))}.bg-background{background-color:hsl(var(--background))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-primary{background-color:hsl(var(--primary))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.bg-zinc-800{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}.bg-zinc-900{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.italic{font-style:italic}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.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))}.text-zinc-200{--tw-text-opacity: 1;color:rgb(228 228 231 / var(--tw-text-opacity))}.text-zinc-400{--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity))}.text-zinc-500{--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity))}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.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-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.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))}}.duration-200{animation-duration:.2s}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.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))}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.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\=open\]\:animate-in[data-state=open]{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}.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\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:text-left{text-align:left}}h1,h2,h3,h4,h5,h6{font-family:Roboto Slab,serif;font-optical-sizing:auto;font-weight:500;font-style:normal}h1{font-size:2.5rem}h2{font-size:2.1rem}h3{font-size:1.6rem}h4{font-size:1.2rem}h5{font-size:1rem}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.disabled\:pointer-events-none:disabled{pointer-events:none}.fixed{position:fixed}.inset-0{top:0;right:0;bottom:0;left:0}.left-\[50\%\]{left:50%}.top-\[50\%\]{top:50%}.z-50{z-index:50}.grid{display:grid}[m-0=""]{margin:0}[m-6=""]{margin:1.5rem}[my-4=""]{margin-top:1rem;margin-bottom:1rem}.mt-2,[mt-2=""]{margin-top:.5rem}[mb-0=""]{margin-bottom:0}[mr-2=""]{margin-right:.5rem}[mt-1=""]{margin-top:.25rem}[mt-3=""]{margin-top:.75rem}[inline-block=""]{display:inline-block}[size~=sm]{width:24rem;height:24rem}.h-10{height:2.5rem}.h-8{height:2rem}.h-9{height:2.25rem}.max-w-lg{max-width:32rem}.min-h-\[60px\]{min-height:60px}.w-9{width:2.25rem}.w-full,[w-full=""]{width:100%}[h-130=""]{height:32.5rem}[h-30=""]{height:7.5rem}[w-100=""]{width:25rem}.flex,[flex=""]{display:flex}.inline-flex,[inline-flex=""]{display:inline-flex}[flex-1=""]{flex:1 1 0%}.flex-col,[flex-col=""]{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}[flex-wrap=""]{flex-wrap:wrap}.translate-x-\[-50\%\]{--un-translate-x:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y-\[-50\%\]{--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}[items~=start]{align-items:flex-start}[items~=end]{align-items:flex-end}.items-center,[items-center=""]{align-items:center}[justify-end=""],[justify~=end]{justify-content:flex-end}.justify-center{justify-content:center}[justify-between=""]{justify-content:space-between}.gap-4,[gap-4=""]{gap:1rem}[gap-2=""]{gap:.5rem}[gap-6=""]{gap:1.5rem}.space-y-2>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(.5rem * var(--un-space-y-reverse))}[overflow-hidden=""]{overflow:hidden}[overflow-x-scroll=""]{overflow-x:scroll}[overflow-y-auto=""]{overflow-y:auto}[truncate=""]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.border{border-width:1px}[border-0=""]{border-width:0px}.file\:border-0::file-selector-button{border-width:0px}[border-b-2=""]{border-bottom-width:2px}[border-zinc-700=""]{--un-border-opacity:1;border-color:rgb(63 63 70 / var(--un-border-opacity))}.rounded-md{border-radius:.375rem}[rounded=""]{border-radius:.25rem}[border-solid=""]{border-style:solid}.bg-black\/80{background-color:#000c}.bg-transparent{background-color:transparent}[bg-zinc-700=""]{--un-bg-opacity:1;background-color:rgb(63 63 70 / var(--un-bg-opacity))}[bg-zinc-800=""]{--un-bg-opacity:1;background-color:rgb(39 39 42 / var(--un-bg-opacity))}[bg-zinc-900=""]{--un-bg-opacity:1;background-color:rgb(24 24 27 / var(--un-bg-opacity))}.file\:bg-transparent::file-selector-button{background-color:transparent}.p-6{padding:1.5rem}[p-2=""]{padding:.5rem}[p-3=""]{padding:.75rem}[p-4=""]{padding:1rem}[p-5=""]{padding:1.25rem}.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,[py-1=""]{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}[px-2=""]{padding-left:.5rem;padding-right:.5rem}.text-center{text-align:center}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm,[text-sm=""]{font-size:.875rem;line-height:1.25rem}.text-xs,[text-xs=""]{font-size:.75rem;line-height:1rem}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}[text-zinc-200=""]{--un-text-opacity:1;color:rgb(228 228 231 / var(--un-text-opacity))}[text-zinc-400=""]{--un-text-opacity:1;color:rgb(161 161 170 / var(--un-text-opacity))}[text-zinc-500=""]{--un-text-opacity:1;color:rgb(113 113 122 / var(--un-text-opacity))}.font-medium{font-weight:500}.font-semibold{font-weight:600}[font-bold=""]{font-weight:700}.file\:font-medium::file-selector-button{font-weight:500}.leading-none{line-height:1}[font-mono=""]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}[italic=""]{font-style:italic}.hover\:underline:hover{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.disabled\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.group.toaster .group-\[\.toaster\]\:shadow-lg,.shadow-lg{--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-sm{--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgb(0 0 0 / .05));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline{outline-style:solid}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--un-ring-width:1px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}@media (min-width: 640px){.sm\:mt-0,[sm\:mt-0=""]{margin-top:0}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(.5rem * calc(1 - var(--un-space-x-reverse)));margin-right:calc(.5rem * var(--un-space-x-reverse))}.sm\:rounded-lg{border-radius:.5rem}.sm\:text-left{text-align:left}} +*,: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: 240 10% 3.9%;--foreground: 0 0% 98%;--card: 240 10% 3.9%;--card-foreground: 0 0% 98%;--popover: 240 10% 3.9%;--popover-foreground: 0 0% 98%;--primary: 0 0% 98%;--primary-foreground: 240 5.9% 10%;--secondary: 240 3.7% 15.9%;--secondary-foreground: 0 0% 98%;--muted: 240 3.7% 15.9%;--muted-foreground: 240 5% 64.9%;--accent: 240 3.7% 15.9%;--accent-foreground: 0 0% 98%;--destructive: 0 62.8% 30.6%;--destructive-foreground: 0 0% 98%;--border: 240 3.7% 15.9%;--input: 240 3.7% 15.9%;--ring: 240 4.9% 83.9%}*{border-color:hsl(var(--border))}*,: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: }.m-0{margin:0}.m-6{margin:1.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.mb-0{margin-bottom:0}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.w-full{width:100%}.flex-1{flex:1 1 0%}.translate-x-\[-50\%\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-scroll{overflow-x:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded{border-radius:.25rem}.rounded-md{border-radius:calc(var(--radius) - 2px)}.border-0{border-width:0px}.border-b-2{border-bottom-width:2px}.border-solid{border-style:solid}.border-input{border-color:hsl(var(--input))}.border-zinc-700{--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity))}.bg-background{background-color:hsl(var(--background))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-primary{background-color:hsl(var(--primary))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.bg-zinc-800{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}.bg-zinc-900{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.italic{font-style:italic}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.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))}.text-zinc-200{--tw-text-opacity: 1;color:rgb(228 228 231 / var(--tw-text-opacity))}.text-zinc-400{--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity))}.text-zinc-500{--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity))}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.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-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.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))}}.duration-200{animation-duration:.2s}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.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))}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.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\=open\]\:animate-in[data-state=open]{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}.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\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:text-left{text-align:left}}h1,h2,h3,h4,h5,h6{font-family:Roboto Slab,serif;font-optical-sizing:auto;font-weight:500;font-style:normal}h1{font-size:2.5rem}h2{font-size:2.1rem}h3{font-size:1.6rem}h4{font-size:1.2rem}h5{font-size:1rem}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.disabled\:pointer-events-none:disabled{pointer-events:none}.fixed{position:fixed}.inset-0{top:0;right:0;bottom:0;left:0}.left-\[50\%\]{left:50%}.top-\[50\%\]{top:50%}.z-50{z-index:50}.grid{display:grid}[m-0=""]{margin:0}[m-6=""]{margin:1.5rem}[my-4=""]{margin-top:1rem;margin-bottom:1rem}.mt-2,[mt-2=""]{margin-top:.5rem}[mb-0=""]{margin-bottom:0}[mr-2=""]{margin-right:.5rem}[mt-1=""]{margin-top:.25rem}[mt-3=""]{margin-top:.75rem}[inline-block=""]{display:inline-block}[size~=sm]{width:24rem;height:24rem}.h-10{height:2.5rem}.h-8{height:2rem}.h-9{height:2.25rem}.max-w-lg{max-width:32rem}.min-h-\[60px\]{min-height:60px}.w-9{width:2.25rem}.w-full,[w-full=""]{width:100%}[h-130=""]{height:32.5rem}[h-30=""]{height:7.5rem}[w-100=""]{width:25rem}.flex,[flex=""]{display:flex}.inline-flex,[inline-flex=""]{display:inline-flex}[flex-1=""]{flex:1 1 0%}.flex-col,[flex-col=""]{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}[flex-wrap=""]{flex-wrap:wrap}.translate-x-\[-50\%\]{--un-translate-x:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.translate-y-\[-50\%\]{--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}[items~=start]{align-items:flex-start}[items~=end]{align-items:flex-end}.items-center,[items-center=""]{align-items:center}[justify-end=""],[justify~=end]{justify-content:flex-end}.justify-center{justify-content:center}[justify-between=""]{justify-content:space-between}.gap-4,[gap-4=""]{gap:1rem}[gap-2=""]{gap:.5rem}[gap-6=""]{gap:1.5rem}.space-y-2>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(.5rem * var(--un-space-y-reverse))}[overflow-hidden=""]{overflow:hidden}[overflow-x-scroll=""]{overflow-x:scroll}[overflow-y-auto=""]{overflow-y:auto}[truncate=""]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.border{border-width:1px}[border-0=""]{border-width:0px}.file\:border-0::file-selector-button{border-width:0px}[border-b-2=""]{border-bottom-width:2px}[border-zinc-700=""]{--un-border-opacity:1;border-color:rgb(63 63 70 / var(--un-border-opacity))}.rounded-md{border-radius:.375rem}[rounded=""]{border-radius:.25rem}[border-solid=""]{border-style:solid}.bg-black\/80{background-color:#000c}.bg-transparent{background-color:transparent}[bg-zinc-700=""]{--un-bg-opacity:1;background-color:rgb(63 63 70 / var(--un-bg-opacity))}[bg-zinc-800=""]{--un-bg-opacity:1;background-color:rgb(39 39 42 / var(--un-bg-opacity))}[bg-zinc-900=""]{--un-bg-opacity:1;background-color:rgb(24 24 27 / var(--un-bg-opacity))}.file\:bg-transparent::file-selector-button{background-color:transparent}.p-6{padding:1.5rem}[p-2=""]{padding:.5rem}[p-3=""]{padding:.75rem}[p-4=""]{padding:1rem}[p-5=""]{padding:1.25rem}.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,[py-1=""]{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}[px-2=""]{padding-left:.5rem;padding-right:.5rem}.text-center{text-align:center}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm,[text-sm=""]{font-size:.875rem;line-height:1.25rem}.text-xs,[text-xs=""]{font-size:.75rem;line-height:1rem}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}[text-zinc-200=""]{--un-text-opacity:1;color:rgb(228 228 231 / var(--un-text-opacity))}[text-zinc-400=""]{--un-text-opacity:1;color:rgb(161 161 170 / var(--un-text-opacity))}[text-zinc-500=""]{--un-text-opacity:1;color:rgb(113 113 122 / var(--un-text-opacity))}.font-medium{font-weight:500}.font-semibold{font-weight:600}[font-bold=""]{font-weight:700}.file\:font-medium::file-selector-button{font-weight:500}.leading-none{line-height:1}[font-mono=""]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.italic,[italic=""]{font-style:italic}.hover\:underline:hover{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.disabled\:opacity-50:disabled{opacity:.5}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.group.toaster .group-\[\.toaster\]\:shadow-lg,.shadow-lg{--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-sm{--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgb(0 0 0 / .05));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline{outline-style:solid}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--un-ring-width:1px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}@media (min-width: 640px){.sm\:mt-0,[sm\:mt-0=""]{margin-top:0}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(.5rem * calc(1 - var(--un-space-x-reverse)));margin-right:calc(.5rem * var(--un-space-x-reverse))}.sm\:rounded-lg{border-radius:.5rem}.sm\:text-left{text-align:left}} diff --git a/dist/index.html b/dist/index.html index 2c60c8f..e3a88f2 100644 --- a/dist/index.html +++ b/dist/index.html @@ -20,8 +20,8 @@ color: white; } - - + +