From a045fbf95f04f1b6fc12fde0c65fed12050e8264 Mon Sep 17 00:00:00 2001 From: mjarkk Date: Fri, 26 Apr 2024 10:51:47 +0200 Subject: [PATCH] Updated the dist folder --- .../{index-c7Ib5ZA6.js => index-Bice8Pqt.js} | 38 +++++++++---------- dist/assets/index-CcCWwAGG.css | 1 - dist/assets/index-GhC8NoeC.css | 1 + dist/index.html | 4 +- src/components/templates/templates.tsx | 1 - 5 files changed, 22 insertions(+), 23 deletions(-) rename dist/assets/{index-c7Ib5ZA6.js => index-Bice8Pqt.js} (55%) delete mode 100644 dist/assets/index-CcCWwAGG.css create mode 100644 dist/assets/index-GhC8NoeC.css diff --git a/dist/assets/index-c7Ib5ZA6.js b/dist/assets/index-Bice8Pqt.js similarity index 55% rename from dist/assets/index-c7Ib5ZA6.js rename to dist/assets/index-Bice8Pqt.js index 0e88d51..efecb06 100644 --- a/dist/assets/index-c7Ib5ZA6.js +++ b/dist/assets/index-Bice8Pqt.js @@ -1,4 +1,4 @@ -var zm=Object.defineProperty;var Im=(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)=>(Im(e,typeof t!="symbol"?t+"":t,n),n);function jm(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 fs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yd={exports:{}},ql={},wd={exports:{}},V={};/** +var jm=Object.defineProperty;var Fm=(e,t,n)=>t in e?jm(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 ps(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var gd={exports:{}},ql={},yd={exports:{}},V={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var zm=Object.defineProperty;var Im=(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"),Fm=Symbol.for("react.portal"),Um=Symbol.for("react.fragment"),Bm=Symbol.for("react.strict_mode"),Hm=Symbol.for("react.profiler"),Wm=Symbol.for("react.provider"),Vm=Symbol.for("react.context"),Ym=Symbol.for("react.forward_ref"),Qm=Symbol.for("react.suspense"),Gm=Symbol.for("react.memo"),Km=Symbol.for("react.lazy"),Ou=Symbol.iterator;function Xm(e){return e===null||typeof e!="object"?null:(e=Ou&&e[Ou]||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 ps(e,t,n){this.props=e,this.context=t,this.refs=Ed,this.updater=n||xd}var ms=ps.prototype=new kd;ms.constructor=ps;Sd(ms,Or.prototype);ms.isPureReactComponent=!0;var Au=Array.isArray,Cd=Object.prototype.hasOwnProperty,hs={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 nh=p,rh=Symbol.for("react.element"),oh=Symbol.for("react.fragment"),lh=Object.prototype.hasOwnProperty,ih=nh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ah={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)lh.call(t,r)&&!ah.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:rh,type:e,key:l,ref:i,props:o,_owner:ih.current}}ql.Fragment=oh;ql.jsx=$d;ql.jsxs=$d;yd.exports=ql;var S=yd.exports,_d={exports:{}},qe={},Td={exports:{}},Pd={};/** + */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 Nd(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=Nd;ql.jsxs=Nd;gd.exports=ql;var x=gd.exports,$d={exports:{}},qe={},_d={exports:{}},Td={};/** * @license React * scheduler.production.min.js * @@ -22,7 +22,7 @@ var zm=Object.defineProperty;var Im=(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=$[I];if(0>>1;Io(Ce,A))Ko(ct,Ce)?($[I]=ct,$[K]=A,I=K):($[I]=Ce,$[H]=A,I=H);else if(Ko(ct,A))$[I]=ct,$[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=[],d=1,f=null,v=3,w=!1,x=!1,y=!1,N=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h($){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,h($),!x)if(n(u)!==null)x=!0,ve(k);else{var L=n(s);L!==null&&Ie(E,L.startTime-$)}}function k($,L){x=!1,y&&(y=!1,m(b),b=-1),w=!0;var A=v;try{for(h(L),f=n(u);f!==null&&(!(f.expirationTime>L)||$&&!Q());){var I=f.callback;if(typeof I=="function"){f.callback=null,v=f.priorityLevel;var M=I(f.expirationTime<=L);L=e.unstable_now(),typeof M=="function"?f.callback=M:f===n(u)&&r(u),h(L)}else r(u);f=n(u)}if(f!==null)var q=!0;else{var H=n(s);H!==null&&Ie(E,H.startTime-L),q=!1}return q}finally{f=null,v=A,w=!1}}var T=!1,_=null,b=-1,U=5,z=-1;function Q(){return!(e.unstable_now()-z$||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 v},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function($){switch(v){case 1:case 2:case 3:var L=3;break;default:L=v}var A=v;v=L;try{return $()}finally{v=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=v;v=$;try{return L()}finally{v=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,$),x||w||(x=!0,ve(k))),$},e.unstable_shouldYield=Q,e.unstable_wrapCallback=function($){var L=v;return function(){var A=v;v=L;try{return $.apply(this,arguments)}finally{v=A}}}})(Pd);Td.exports=Pd;var sh=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,z=-1;function Q(){return!(e.unstable_now()-z$||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}}}})(Td);_d.exports=Td;var ch=_d.exports;/** * @license React * react-dom.production.min.js * @@ -30,21 +30,21 @@ var zm=Object.defineProperty;var Im=(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=sh;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"),ca=Object.prototype.hasOwnProperty,uh=/^[: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]*$/,Mu={},zu={};function ch(e){return ca.call(zu,e)?!0:ca.call(Mu,e)?!1:uh.test(e)?zu[e]=!0:(Mu[e]=!0,!1)}function dh(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 fh(e,t,n,r){if(t===null||typeof t>"u"||dh(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 ze(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 ze(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 ze(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){_e[e]=new ze(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_e[e]=new ze(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 ze(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){_e[e]=new ze(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){_e[e]=new ze(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){_e[e]=new ze(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){_e[e]=new ze(e,5,!1,e.toLowerCase(),null,!1,!1)});var gs=/[\-:]([a-z])/g;function ys(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(gs,ys);_e[t]=new ze(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(gs,ys);_e[t]=new ze(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(gs,ys);_e[t]=new ze(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){_e[e]=new ze(e,1,!1,e.toLowerCase(),null,!1,!1)});_e.xlinkHref=new ze("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){_e[e]=new ze(e,1,!1,e.toLowerCase(),null,!0,!0)});function ws(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"),da=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]*$/,Mu={},zu={};function fh(e){return da.call(zu,e)?!0:da.call(Mu,e)?!1:dh.test(e)?zu[e]=!0:(Mu[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 ze(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 ze(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 ze(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){_e[e]=new ze(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_e[e]=new ze(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 ze(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){_e[e]=new ze(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){_e[e]=new ze(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){_e[e]=new ze(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){_e[e]=new ze(e,5,!1,e.toLowerCase(),null,!1,!1)});var ys=/[\-:]([a-z])/g;function ws(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(ys,ws);_e[t]=new ze(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(ys,ws);_e[t]=new ze(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(ys,ws);_e[t]=new ze(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){_e[e]=new ze(e,1,!1,e.toLowerCase(),null,!1,!1)});_e.xlinkHref=new ze("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){_e[e]=new ze(e,1,!1,e.toLowerCase(),null,!0,!0)});function xs(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{Ni=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?eo(e):""}function ph(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=$i(e.type,!1),e;case 11:return e=$i(e.type.render,!1),e;case 1:return e=$i(e.type,!0),e;default:return""}}function ma(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 da:return"Profiler";case xs:return"StrictMode";case fa:return"Suspense";case pa: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 Ss:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Es:return t=e.displayName||null,t!==null?t:ma(e.type)||"Memo";case ln:t=e._payload,e=e._init;try{return ma(e(t))}catch{}}return null}function mh(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 ma(t);case 8:return t===xs?"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 Sn(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 hh(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=hh(e))}function zd(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 ha(e,t){var n=t.checked;return ue({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ju(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Sn(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 Id(e,t){t=t.checked,t!=null&&ws(e,"checked",t,!1)}function va(e,t){Id(e,t);var n=Sn(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")?ga(e,t.type,n):t.hasOwnProperty("defaultValue")&&ga(e,t.type,Sn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Fu(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 ga(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},vh=["Webkit","ms","Moz","O"];Object.keys(oo).forEach(function(e){vh.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 gh=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 xa(e,t){if(t){if(gh[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 Sa(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 Ea=null;function ks(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ka=null,yr=null,wr=null;function Hu(e){if(e=Mo(e)){if(typeof ka!="function")throw Error(C(280));var t=e.stateNode;t&&(t=oi(t),ka(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,Hu(e),t)for(e=0;e>>=0,e===0?32:31-(_h(e)/Th|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-wt(t),e[t]=n}function Oh(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),Ju=" ",qu=!1;function ff(e,t){switch(e){case"keyup":return av.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 uv(e,t){switch(e){case"compositionend":return pf(t);case"keypress":return t.which!==32?null:(qu=!0,Ju);case"textInput":return e=t.data,e===Ju&&qu?null:e;default:return null}}function cv(e,t){if(ar)return e==="compositionend"||!Rs&&ff(e,t)?(e=cf(),gl=_s=cn=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=rc(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 Ds(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 wv(e){var t=yf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&gf(n.ownerDocument.documentElement,n)){if(r!==null&&Ds(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=oc(n,l);var i=oc(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,Ta=null,so=null,Pa=!1;function lc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Pa||sr==null||sr!==Tl(r)||(r=sr,"selectionStart"in r&&Ds(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(Ta,"onSelect"),0dr||(e.current=Ma[dr],Ma[dr]=null,dr--)}function te(e,t){dr++,Ma[dr]=e.current,e.current=t}var En={},De=Cn(En),He=Cn(!1),jn=En;function br(e,t){var n=e.type.contextTypes;if(!n)return En;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 Il(){oe(He),oe(De)}function fc(e,t,n){if(De.current!==En)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,mh(e)||"Unknown",o));return ue({},n,r)}function jl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||En,jn=De.current,te(De,e),te(He,He.current),!0}function pc(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=$f(e,t,jn),r.__reactInternalMemoizedMergedChildContext=e,oe(He),oe(De),te(De,e)):oe(He),te(He,n)}var Ht=null,li=!1,Ui=!1;function _f(e){Ht===null?Ht=[e]:Ht.push(e)}function Rv(e){li=!0,_f(e)}function bn(){if(!Ui&&Ht!==null){Ui=!0;var e=0,t=Z;try{var n=Ht;for(Z=1;e>=i,o-=i,Wt=1<<32-wt(t)+o|n<b?(U=_,_=null):U=_.sibling;var z=v(m,_,h[b],E);if(z===null){_===null&&(_=U);break}e&&_&&z.alternate===null&&t(m,_),c=l(z,c,b),T===null?k=z:T.sibling=z,T=z,_=U}if(b===h.length)return n(m,_),le&&Pn(m,b),k;if(_===null){for(;bb?(U=_,_=null):U=_.sibling;var Q=v(m,_,z.value,E);if(Q===null){_===null&&(_=U);break}e&&_&&Q.alternate===null&&t(m,_),c=l(Q,c,b),T===null?k=Q:T.sibling=Q,T=Q,_=U}if(z.done)return n(m,_),le&&Pn(m,b),k;if(_===null){for(;!z.done;b++,z=h.next())z=f(m,z.value,E),z!==null&&(c=l(z,c,b),T===null?k=z:T.sibling=z,T=z);return le&&Pn(m,b),k}for(_=r(m,_);!z.done;b++,z=h.next())z=w(_,m,b,z.value,E),z!==null&&(e&&z.alternate!==null&&_.delete(z.key===null?b:z.key),c=l(z,c,b),T===null?k=z:T.sibling=z,T=z);return e&&_.forEach(function(B){return t(m,B)}),le&&Pn(m,b),k}function N(m,c,h,E){if(typeof h=="object"&&h!==null&&h.type===ir&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Bo:e:{for(var k=h.key,T=c;T!==null;){if(T.key===k){if(k=h.type,k===ir){if(T.tag===7){n(m,T.sibling),c=o(T,h.props.children),c.return=m,m=c;break e}}else if(T.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===ln&&xc(k)===T.type){n(m,T.sibling),c=o(T,h.props),c.ref=Yr(m,T,h),c.return=m,m=c;break e}n(m,T);break}else t(m,T);T=T.sibling}h.type===ir?(c=In(h.props.children,m.mode,E,h.key),c.return=m,m=c):(E=bl(h.type,h.key,h.props,null,m.mode,E),E.ref=Yr(m,c,h),E.return=m,m=E)}return i(m);case lr:e:{for(T=h.key;c!==null;){if(c.key===T)if(c.tag===4&&c.stateNode.containerInfo===h.containerInfo&&c.stateNode.implementation===h.implementation){n(m,c.sibling),c=o(c,h.children||[]),c.return=m,m=c;break e}else{n(m,c);break}else t(m,c);c=c.sibling}c=Ki(h,m.mode,E),c.return=m,m=c}return i(m);case ln:return T=h._init,N(m,c,T(h._payload),E)}if(to(h))return x(m,c,h,E);if(Ur(h))return y(m,c,h,E);qo(m,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,c!==null&&c.tag===6?(n(m,c.sibling),c=o(c,h),c.return=m,m=c):(n(m,c),c=Gi(h,m.mode,E),c.return=m,m=c),i(m)):n(m,c)}return N}var $r=Mf(!0),zf=Mf(!1),zo={},Rt=Cn(zo),bo=Cn(zo),No=Cn(zo);function Ln(e){if(e===zo)throw Error(C(174));return e}function Us(e,t){switch(te(No,t),te(bo,e),te(Rt,zo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:wa(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=wa(t,e)}oe(Rt),te(Rt,t)}function _r(){oe(Rt),oe(bo),oe(No)}function If(e){Ln(No.current);var t=Ln(Rt.current),n=wa(t,e.type);t!==n&&(te(bo,e),te(Rt,n))}function Bs(e){bo.current===e&&(oe(Rt),oe(bo))}var ae=Cn(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 Bi=[];function Hs(){for(var e=0;en?n:4,e(!0);var r=Hi.transition;Hi.transition={};try{e(!1),t()}finally{Z=n,Hi.transition=r}}function ep(){return st().memoizedState}function Lv(e,t,n){var r=yn(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();xt(n,e,r,o),rp(n,t,r)}}function Mv(e,t,n){var r=yn(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,St(a,i)){var u=t.interleaved;u===null?(o.next=o,js(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}n=Df(e,t,o,r),n!==null&&(o=Ae(),xt(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,bs(e,n)}}var Ql={readContext:at,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:at,useCallback:function(e,t){return Nt().memoizedState=[e,t===void 0?null:t],e},useContext:at,useEffect:Ec,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=Nt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Nt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Lv.bind(null,se,e),[r.memoizedState,e]},useRef:function(e){var t=Nt();return e={current:e},t.memoizedState=e},useState:Sc,useDebugValue:Gs,useDeferredValue:function(e){return Nt().memoizedState=e},useTransition:function(){var e=Sc(!1),t=e[0];return e=Av.bind(null,e[1]),Nt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=se,o=Nt();if(le){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),Ee===null)throw Error(C(349));Un&30||Uf(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,Ec(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=Nt(),t=Ee.identifierPrefix;if(le){var n=Vt,r=Wt;n=(r&~(1<<32-wt(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{Ni=!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=$i(e.type,!1),e;case 11:return e=$i(e.type.render,!1),e;case 1:return e=$i(e.type,!0),e;default:return""}}function ha(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 fa:return"Profiler";case Ss:return"StrictMode";case pa:return"Suspense";case ma:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Od:return(e.displayName||"Context")+".Consumer";case Dd:return(e._context.displayName||"Context")+".Provider";case Es:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ks:return t=e.displayName||null,t!==null?t:ha(e.type)||"Memo";case an:t=e._payload,e=e._init;try{return ha(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 ha(t);case 8:return t===Ss?"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 Ld(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function gh(e){var t=Ld(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 Md(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ld(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 va(e,t){var n=t.checked;return ue({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ju(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 zd(e,t){t=t.checked,t!=null&&xs(e,"checked",t,!1)}function ga(e,t){zd(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")?ya(e,t.type,n):t.hasOwnProperty("defaultValue")&&ya(e,t.type,En(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Fu(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 ya(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 Ud(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 Bd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Ud(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 Sa(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 Ea(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 ka=null;function Cs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ca=null,yr=null,wr=null;function Hu(e){if(e=Mo(e)){if(typeof Ca!="function")throw Error(C(280));var t=e.stateNode;t&&(t=oi(t),Ca(e.stateNode,e.type,t))}}function Hd(e){yr?wr?wr.push(e):wr=[e]:yr=e}function Wd(){if(yr){var e=yr,t=wr;if(wr=yr=null,Hu(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),Ju=" ",qu=!1;function df(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 ff(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 ff(t);case"keypress":return t.which!==32?null:(qu=!0,Ju);case"textInput":return e=t.data,e===Ju&&qu?null:e;default:return null}}function fv(e,t){if(ar)return e==="compositionend"||!Ds&&df(e,t)?(e=uf(),gl=Ts=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=rc(n)}}function vf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?vf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function gf(){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 Os(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=gf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&vf(n.ownerDocument.documentElement,n)){if(r!==null&&Os(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=oc(n,l);var i=oc(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,Pa=null,so=null,Ra=!1;function lc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ra||sr==null||sr!==Tl(r)||(r=sr,"selectionStart"in r&&Os(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(Pa,"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 Il(){oe(He),oe(De)}function fc(e,t,n){if(De.current!==kn)throw Error(C(168));te(De,t),te(He,n)}function Nf(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 jl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||kn,Fn=De.current,te(De,e),te(He,He.current),!0}function pc(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=Nf(e,t,Fn),r.__reactInternalMemoizedMergedChildContext=e,oe(He),oe(De),te(De,e)):oe(He),te(He,n)}var Ht=null,li=!1,Ui=!1;function $f(e){Ht===null?Ht=[e]:Ht.push(e)}function Ov(e){li=!0,$f(e)}function Nn(){if(!Ui&&Ht!==null){Ui=!0;var e=0,t=Z;try{var n=Ht;for(Z=1;e>=i,o-=i,Wt=1<<32-St(t)+o|n<b?(U=_,_=null):U=_.sibling;var z=h(m,_,v[b],E);if(z===null){_===null&&(_=U);break}e&&_&&z.alternate===null&&t(m,_),f=l(z,f,b),T===null?k=z:T.sibling=z,T=z,_=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,_,z.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(z.done)return n(m,_),le&&Rn(m,b),k;if(_===null){for(;!z.done;b++,z=v.next())z=d(m,z.value,E),z!==null&&(f=l(z,f,b),T===null?k=z:T.sibling=z,T=z);return le&&Rn(m,b),k}for(_=r(m,_);!z.done;b++,z=v.next())z=w(_,m,b,z.value,E),z!==null&&(e&&z.alternate!==null&&_.delete(z.key===null?b:z.key),f=l(z,f,b),T===null?k=z:T.sibling=z,T=z);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&&xc(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=jn(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=Ki(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=Gi(v,m.mode,E),f.return=m,m=f),i(m)):n(m,f)}return N}var $r=Lf(!0),Mf=Lf(!1),zo={},Rt=bn(zo),bo=bn(zo),No=bn(zo);function Mn(e){if(e===zo)throw Error(C(174));return e}function Bs(e,t){switch(te(No,t),te(bo,e),te(Rt,zo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:xa(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=xa(t,e)}oe(Rt),te(Rt,t)}function _r(){oe(Rt),oe(bo),oe(No)}function zf(e){Mn(No.current);var t=Mn(Rt.current),n=xa(t,e.type);t!==n&&(te(bo,e),te(Rt,n))}function Hs(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 Bi=[];function Ws(){for(var e=0;en?n:4,e(!0);var r=Hi.transition;Hi.transition={};try{e(!1),t()}finally{Z=n,Hi.transition=r}}function qf(){return ut().memoizedState}function zv(e,t,n){var r=wn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ep(e))tp(t,n);else if(n=Rf(e,t,n,r),n!==null){var o=Ae();Et(n,e,r,o),np(n,t,r)}}function Iv(e,t,n){var r=wn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ep(e))tp(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,Fs(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}n=Rf(e,t,o,r),n!==null&&(o=Ae(),Et(n,e,r,o),np(n,t,r))}}function ep(e){var t=e.alternate;return e===se||t!==null&&t===se}function tp(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 np(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ns(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},jv={readContext:st,useCallback:function(e,t){return $t().memoizedState=[e,t===void 0?null:t],e},useContext:st,useEffect:Ec,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Sl(4194308,4,Gf.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=zv.bind(null,se,e),[r.memoizedState,e]},useRef:function(e){var t=$t();return e={current:e},t.memoizedState=e},useState:Sc,useDebugValue:Ks,useDeferredValue:function(e){return $t().memoizedState=e},useTransition:function(){var e=Sc(!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||Ff(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,Ec(Bf.bind(null,r,l,e),[e]),r.flags|=2048,To(9,Uf.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=$t(),t=Ee.identifierPrefix;if(le){var n=Vt,r=Wt;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=Sa(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 eu(),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 Vv(e,t){switch(As(t),t.tag){case 1:return We(t.type)&&Il(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return _r(),oe(He),oe(De),Hs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Bs(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 Is(t.type._context),null;case 22:case 23:return eu(),null;case 24:return null;default:return null}}var tl=!1,Re=!1,Yv=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 Ga(e,t,n){try{n()}catch(r){ce(e,t,r)}}var Rc=!1;function Qv(e,t){if(Ra=Al,e=yf(),Ds(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,d=0,f=e,v=null;t:for(;;){for(var w;f!==n||o!==0&&f.nodeType!==3||(a=i+o),f!==l||r!==0&&f.nodeType!==3||(u=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(w=f.firstChild)!==null;)v=f,f=w;for(;;){if(f===e)break t;if(v===n&&++s===o&&(a=i),v===l&&++d===r&&(u=i),(w=f.nextSibling)!==null)break;f=v,v=f.parentNode}f=w}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Da={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 x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var y=x.memoizedProps,N=x.memoizedState,m=t.stateNode,c=m.getSnapshotBeforeUpdate(t.elementType===t.type?y:ht(t.type,y),N);m.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.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 x=Rc,Rc=!1,x}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&&Ga(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 Ka(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[La],delete t[Tv],delete t[Pv])),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 Dc(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 Xa(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=zl));else if(r!==4&&(e=e.child,e!==null))for(Xa(e,t,n),e=e.sibling;e!==null;)Xa(e,t,n),e=e.sibling}function Za(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(Za(e,t,n),e=e.sibling;e!==null;)Za(e,t,n),e=e.sibling}var Ne=null,vt=!1;function tn(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=vt;Ne=null,tn(e,t,n),Ne=r,vt=o,Ne!==null&&(vt?(e=Ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ne.removeChild(n.stateNode));break;case 18:Ne!==null&&(vt?(e=Ne,n=n.stateNode,e.nodeType===8?Fi(e.parentNode,n):e.nodeType===1&&Fi(e,n),wo(e)):Fi(Ne,n.stateNode));break;case 4:r=Ne,o=vt,Ne=n.stateNode.containerInfo,vt=!0,tn(e,t,n),Ne=r,vt=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)&&Ga(n,t,i),o=o.next}while(o!==r)}tn(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)}tn(e,t,n);break;case 21:tn(e,t,n);break;case 22:n.mode&1?(Re=(r=Re)||n.memoizedState!==null,tn(e,t,n),Re=r):tn(e,t,n);break;default:tn(e,t,n)}}function Oc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Yv),t.forEach(function(r){var o=ng.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function ft(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*Kv(r/1960))-r,10e?16:e,dn===null)var r=!1;else{if(e=dn,dn=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()-Js?zn(e,0):Zs|=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=Kt(e,t),e!==null&&(Ao(e,t,n),Ve(e,n))}function tg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),bp(e,n)}function ng(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,Hv(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=Vs(null,t,r,e,o,n);var l=Ys();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,jl(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Fs(t),o.updater=ii,t.stateNode=o,o._reactInternals=t,Ua(t,r,e,n),t=Wa(null,t,r,!0,l,n)):(t.tag=0,le&&l&&Os(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=og(r),e=ht(r,e),o){case 0:t=Ha(null,t,r,e,n);break e;case 1:t=_c(null,t,r,e,n);break e;case 11:t=Nc(null,t,r,e,n);break e;case 14:t=$c(null,t,r,ht(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:ht(r,o),Ha(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ht(r,o),_c(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=Tc(e,t,r,n,o);break e}else if(r!==o){o=Tr(Error(C(424)),t),t=Tc(e,t,r,n,o);break e}else for(Ke=hn(t.stateNode.containerInfo.firstChild),Xe=t,le=!0,gt=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=Xt(e,t,n);break e}Oe(e,t,r,n)}t=t.child}return t;case 5:return If(t),e===null&&Ia(t),r=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,i=o.children,Oa(r,o)?i=null:l!==null&&Oa(r,l)&&(t.flags|=32),sp(e,t),Oe(e,t,i,n),t.child;case 6:return e===null&&Ia(t),null;case 13:return cp(e,t,n);case 4:return Us(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:ht(r,o),Nc(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(St(l.value,i)){if(l.children===o.children&&!He.current){t=Xt(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=Yt(-1,n&-n),u.tag=2;var s=l.updateQueue;if(s!==null){s=s.shared;var d=s.pending;d===null?u.next=u:(u.next=d.next,d.next=u),s.pending=u}}l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),ja(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),ja(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=at(o),r=r(o),t.flags|=1,Oe(e,t,r,n),t.child;case 14:return r=t.type,o=ht(r,t.pendingProps),o=ht(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:ht(r,o),El(e,t),t.tag=1,We(r)?(e=!0,jl(t)):e=!1,Sr(t,n),Lf(t,r,o),Ua(t,r,o,n),Wa(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 rg(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 lt(e,t,n,r){return new rg(e,t,n,r)}function nu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function og(e){if(typeof e=="function")return nu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ss)return 11;if(e===Es)return 14}return 2}function wn(e,t){var n=e.alternate;return n===null?(n=lt(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")nu(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case ir:return In(n.children,o,l,t);case xs:i=8,o|=8;break;case da:return e=lt(12,n,t,o|2),e.elementType=da,e.lanes=l,e;case fa:return e=lt(13,n,t,o),e.elementType=fa,e.lanes=l,e;case pa:return e=lt(19,n,t,o),e.elementType=pa,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 Ss:i=11;break e;case Es:i=14;break e;case ln:i=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=lt(i,n,t,o),t.elementType=e,t.type=r,t.lanes=l,t}function In(e,t,n,r){return e=lt(7,e,r,t),e.lanes=n,e}function ci(e,t,n,r){return e=lt(22,e,r,t),e.elementType=Ld,e.lanes=n,e.stateNode={isHidden:!1},e}function Gi(e,t,n){return e=lt(6,e,null,t),e.lanes=n,e}function Ki(e,t,n){return t=lt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function lg(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=Ti(0),this.expirationTimes=Ti(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ti(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ru(e,t,n,r,o,l,i,a,u){return e=new lg(e,t,n,a,u),t===1?(t=1,l===!0&&(t|=8)):t=0,l=lt(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fs(l),e}function ig(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=fs(hi);var{entries:Op,setPrototypeOf:Uc,isFrozen:dg,getPrototypeOf:fg,getOwnPropertyDescriptor:pg}=Object,{freeze:Le,seal:ut,create:Ap}=Object,{apply:ns,construct:rs}=typeof Reflect<"u"&&Reflect;Le||(Le=function(e){return e});ut||(ut=function(e){return e});ns||(ns=function(e,t,n){return e.apply(t,n)});rs||(rs=function(e,t){return new e(...t)});var ol=Je(Array.prototype.forEach),Bc=Je(Array.prototype.pop),Kr=Je(Array.prototype.push),Nl=Je(String.prototype.toLowerCase),Xi=Je(String.prototype.toString),Hc=Je(String.prototype.match),Xr=Je(String.prototype.replace),mg=Je(String.prototype.indexOf),hg=Je(String.prototype.trim),pt=Je(Object.prototype.hasOwnProperty),Qe=Je(RegExp.prototype.test),Zr=vg(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;Uc&&Uc(e,null);let r=t.length;for(;r--;){let o=t[r];if(typeof o=="string"){let l=n(o);l!==o&&(dg(t)||(t[r]=l),o=l)}e[o]=!0}return e}function gg(e){for(let t=0;t/gm),Eg=ut(/\${[\w\W]*}/gm),kg=ut(/^data-[\-\w.\u00B7-\uFFFF]/),Cg=ut(/^aria-[\-\w]+$/),Lp=ut(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),bg=ut(/^(?:\w+script|data):/i),Ng=ut(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Mp=ut(/^html$/i),$g=ut(/^[a-z][a-z\d]*(-[a-z\d]+)+$/i),Gc=Object.freeze({__proto__:null,MUSTACHE_EXPR:xg,ERB_EXPR:Sg,TMPLIT_EXPR:Eg,DATA_ATTR:kg,ARIA_ATTR:Cg,IS_ALLOWED_URI:Lp,IS_SCRIPT_OR_DATA:bg,ATTR_WHITESPACE:Ng,DOCTYPE_NAME:Mp,CUSTOM_ELEMENT:$g}),_g=function(){return typeof window>"u"?null:window},Tg=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]:_g(),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:d=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:v,trustedTypes:w}=e,x=u.prototype,y=ll(x,"cloneNode"),N=ll(x,"nextSibling"),m=ll(x,"childNodes"),c=ll(x,"parentNode");if(typeof i=="function"){let g=n.createElement("template");g.content&&g.content.ownerDocument&&(n=g.content.ownerDocument)}let h,E="",{implementation:k,createNodeIterator:T,createDocumentFragment:_,getElementsByTagName:b}=n,{importNode:U}=r,z={};t.isSupported=typeof Op=="function"&&typeof c=="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:$}=Gc,{IS_ALLOWED_URI:L}=Gc,A=null,I=W({},[...Wc,...Zi,...Ji,...qi,...Vc]),M=null,q=W({},[...Yc,...ea,...Qc,...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,ct=!0,kt=!0,_n=!1,Ot=!0,At=!1,je=!1,zr=!1,Ir=!1,ge=!1,dt=!1,Kn=!1,Io=!0,Tn=!1,Si="user-content-",Xn=!0,Lt=!1,Ye={},Mt=null,zt=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"]),jr=null,jo=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",Jt="http://www.w3.org/2000/svg",xe="http://www.w3.org/1999/xhtml",qt=xe,qn=!1,j=null,de=W({},[Jn,Jt,xe],Xi),ee=null,tt=["application/xhtml+xml","text/html"],nt="text/html",ie=null,en=null,Dm=n.createElement("form"),wu=function(g){return g instanceof RegExp||g instanceof Function},Ei=function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(en&&en===g)){if((!g||typeof g!="object")&&(g={}),g=Dn(g),ee=tt.indexOf(g.PARSER_MEDIA_TYPE)===-1?nt:g.PARSER_MEDIA_TYPE,ie=ee==="application/xhtml+xml"?Xi:Nl,A=pt(g,"ALLOWED_TAGS")?W({},g.ALLOWED_TAGS,ie):I,M=pt(g,"ALLOWED_ATTR")?W({},g.ALLOWED_ATTR,ie):q,j=pt(g,"ALLOWED_NAMESPACES")?W({},g.ALLOWED_NAMESPACES,Xi):de,Zn=pt(g,"ADD_URI_SAFE_ATTR")?W(Dn(Fr),g.ADD_URI_SAFE_ATTR,ie):Fr,jr=pt(g,"ADD_DATA_URI_TAGS")?W(Dn(jo),g.ADD_DATA_URI_TAGS,ie):jo,Mt=pt(g,"FORBID_CONTENTS")?W({},g.FORBID_CONTENTS,ie):zt,Ce=pt(g,"FORBID_TAGS")?W({},g.FORBID_TAGS,ie):{},K=pt(g,"FORBID_ATTR")?W({},g.FORBID_ATTR,ie):{},Ye=pt(g,"USE_PROFILES")?g.USE_PROFILES:!1,ct=g.ALLOW_ARIA_ATTR!==!1,kt=g.ALLOW_DATA_ATTR!==!1,_n=g.ALLOW_UNKNOWN_PROTOCOLS||!1,Ot=g.ALLOW_SELF_CLOSE_IN_ATTR!==!1,At=g.SAFE_FOR_TEMPLATES||!1,je=g.WHOLE_DOCUMENT||!1,ge=g.RETURN_DOM||!1,dt=g.RETURN_DOM_FRAGMENT||!1,Kn=g.RETURN_TRUSTED_TYPE||!1,Ir=g.FORCE_BODY||!1,Io=g.SANITIZE_DOM!==!1,Tn=g.SANITIZE_NAMED_PROPS||!1,Xn=g.KEEP_CONTENT!==!1,Lt=g.IN_PLACE||!1,L=g.ALLOWED_URI_REGEXP||Lp,qt=g.NAMESPACE||xe,H=g.CUSTOM_ELEMENT_HANDLING||{},g.CUSTOM_ELEMENT_HANDLING&&wu(g.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(H.tagNameCheck=g.CUSTOM_ELEMENT_HANDLING.tagNameCheck),g.CUSTOM_ELEMENT_HANDLING&&wu(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),At&&(kt=!1),dt&&(ge=!0),Ye&&(A=W({},Vc),M=[],Ye.html===!0&&(W(A,Wc),W(M,Yc)),Ye.svg===!0&&(W(A,Zi),W(M,ea),W(M,il)),Ye.svgFilters===!0&&(W(A,Ji),W(M,ea),W(M,il)),Ye.mathMl===!0&&(W(A,qi),W(M,Qc),W(M,il))),g.ADD_TAGS&&(A===I&&(A=Dn(A)),W(A,g.ADD_TAGS,ie)),g.ADD_ATTR&&(M===q&&(M=Dn(M)),W(M,g.ADD_ATTR,ie)),g.ADD_URI_SAFE_ATTR&&W(Zn,g.ADD_URI_SAFE_ATTR,ie),g.FORBID_CONTENTS&&(Mt===zt&&(Mt=Dn(Mt)),W(Mt,g.FORBID_CONTENTS,ie)),Xn&&(A["#text"]=!0),je&&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.');h=g.TRUSTED_TYPES_POLICY,E=h.createHTML("")}else h===void 0&&(h=Tg(w,o)),h!==null&&typeof E=="string"&&(E=h.createHTML(""));Le&&Le(g),en=g}},xu=W({},["mi","mo","mn","ms","mtext"]),Su=W({},["foreignobject","desc","title","annotation-xml"]),Om=W({},["title","style","font","a","script"]),Eu=W({},[...Zi,...Ji,...yg]),ku=W({},[...qi,...wg]),Am=function(g){let D=c(g);(!D||!D.tagName)&&(D={namespaceURI:qt,tagName:"template"});let P=Nl(g.tagName),X=Nl(D.tagName);return j[g.namespaceURI]?g.namespaceURI===Jt?D.namespaceURI===xe?P==="svg":D.namespaceURI===Jn?P==="svg"&&(X==="annotation-xml"||xu[X]):!!Eu[P]:g.namespaceURI===Jn?D.namespaceURI===xe?P==="math":D.namespaceURI===Jt?P==="math"&&Su[X]:!!ku[P]:g.namespaceURI===xe?D.namespaceURI===Jt&&!Su[X]||D.namespaceURI===Jn&&!xu[X]?!1:!ku[P]&&(Om[P]||!Eu[P]):!!(ee==="application/xhtml+xml"&&j[g.namespaceURI]):!1},er=function(g){Kr(t.removed,{element:g});try{g.parentNode.removeChild(g)}catch{g.remove()}},ki=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||dt)try{er(D)}catch{}else try{D.setAttribute(g,"")}catch{}},Cu=function(g){let D=null,P=null;if(Ir)g=""+g;else{let fe=Hc(g,/^[\r\n\t ]+/);P=fe&&fe[0]}ee==="application/xhtml+xml"&&qt===xe&&(g=''+g+"");let X=h?h.createHTML(g):g;if(qt===xe)try{D=new v().parseFromString(X,ee)}catch{}if(!D||!D.documentElement){D=k.createDocument(qt,"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),qt===xe?b.call(D,je?"html":"body")[0]:je?D.documentElement:be},bu=function(g){return T.call(g.ownerDocument||g,g,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT|s.SHOW_PROCESSING_INSTRUCTION,null)},Lm=function(g){return g instanceof f&&(typeof g.nodeName!="string"||typeof g.textContent!="string"||typeof g.removeChild!="function"||!(g.attributes instanceof d)||typeof g.removeAttribute!="function"||typeof g.setAttribute!="function"||typeof g.namespaceURI!="string"||typeof g.insertBefore!="function"||typeof g.hasChildNodes!="function")},Nu=function(g){return typeof a=="function"&&g instanceof a},It=function(g,D,P){z[g]&&ol(z[g],X=>{X.call(t,D,P,en)})},$u=function(g){let D=null;if(It("beforeSanitizeElements",g,null),Lm(g))return er(g),!0;let P=ie(g.nodeName);if(It("uponSanitizeElement",g,{tagName:P,allowedTags:A}),g.hasChildNodes()&&!Nu(g.firstElementChild)&&Qe(/<[/\w]/g,g.innerHTML)&&Qe(/<[/\w]/g,g.textContent))return er(g),!0;if(!A[P]||Ce[P]){if(!Ce[P]&&Tu(P)&&(H.tagNameCheck instanceof RegExp&&Qe(H.tagNameCheck,P)||H.tagNameCheck instanceof Function&&H.tagNameCheck(P)))return!1;if(Xn&&!Mt[P]){let X=c(g)||g.parentNode,be=m(g)||g.childNodes;if(be&&X){let fe=be.length;for(let jt=fe-1;jt>=0;--jt)X.insertBefore(y(be[jt],!0),N(g))}}return er(g),!0}return g instanceof u&&!Am(g)||(P==="noscript"||P==="noembed"||P==="noframes")&&Qe(/<\/no(script|embed|frames)/i,g.innerHTML)?(er(g),!0):(At&&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)),It("afterSanitizeElements",g,null),!1)},_u=function(g,D,P){if(Io&&(D==="id"||D==="name")&&(P in n||P in Dm))return!1;if(!(kt&&!K[D]&&Qe(G,D))&&!(ct&&Qe(ke,D))){if(!M[D]||K[D]){if(!(Tu(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"&&mg(P,"data:")===0&&jr[g])&&!(_n&&!Qe(ve,Xr(P,Ie,"")))&&P)return!1}return!0},Tu=function(g){return g!=="annotation-xml"&&Hc(g,$)},Pu=function(g){It("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:jt,value:Ft}=be,Ct=ie(fe),Fe=fe==="value"?Ft:hg(Ft);if(P.attrName=Ct,P.attrValue=Fe,P.keepAttr=!0,P.forceKeepAttr=void 0,It("uponSanitizeAttribute",g,P),Fe=P.attrValue,P.forceKeepAttr||(ki(fe,g),!P.keepAttr))continue;if(!Ot&&Qe(/\/>/i,Fe)){ki(fe,g);continue}At&&ol([Q,B,he],Du=>{Fe=Xr(Fe,Du," ")});let Ru=ie(g.nodeName);if(_u(Ru,Ct,Fe)){if(Tn&&(Ct==="id"||Ct==="name")&&(ki(fe,g),Fe=Si+Fe),h&&typeof w=="object"&&typeof w.getAttributeType=="function"&&!jt)switch(w.getAttributeType(Ru,Ct)){case"TrustedHTML":{Fe=h.createHTML(Fe);break}case"TrustedScriptURL":{Fe=h.createScriptURL(Fe);break}}try{jt?g.setAttributeNS(jt,fe,Fe):g.setAttribute(fe,Fe),Bc(t.removed)}catch{}}}It("afterSanitizeAttributes",g,null)},Mm=function g(D){let P=null,X=bu(D);for(It("beforeSanitizeShadowDOM",D,null);P=X.nextNode();)It("uponSanitizeShadowNode",P,null),!$u(P)&&(P.content instanceof l&&g(P.content),Pu(P));It("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"&&!Nu(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(zr||Ei(D),t.removed=[],typeof g=="string"&&(Lt=!1),Lt){if(g.nodeName){let Ct=ie(g.nodeName);if(!A[Ct]||Ce[Ct])throw Zr("root node is forbidden and cannot be sanitized in-place")}}else if(g instanceof a)P=Cu(""),X=P.ownerDocument.importNode(g,!0),X.nodeType===1&&X.nodeName==="BODY"||X.nodeName==="HTML"?P=X:P.appendChild(X);else{if(!ge&&!At&&!je&&g.indexOf("<")===-1)return h&&Kn?h.createHTML(g):g;if(P=Cu(g),!P)return ge?null:Kn?E:""}P&&Ir&&er(P.firstChild);let jt=bu(Lt?g:P);for(;be=jt.nextNode();)$u(be)||(be.content instanceof l&&Mm(be.content),Pu(be));if(Lt)return g;if(ge){if(dt)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 Ft=je?P.outerHTML:P.innerHTML;return je&&A["!doctype"]&&P.ownerDocument&&P.ownerDocument.doctype&&P.ownerDocument.doctype.name&&Qe(Mp,P.ownerDocument.doctype.name)&&(Ft=" -`+Ft),At&&ol([Q,B,he],Ct=>{Ft=Xr(Ft,Ct," ")}),h&&Kn?h.createHTML(Ft):Ft},t.setConfig=function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ei(g),zr=!0},t.clearConfig=function(){en=null,zr=!1},t.isValidAttribute=function(g,D,P){en||Ei({});let X=ie(g),be=ie(D);return _u(X,be,P)},t.addHook=function(g,D){typeof D=="function"&&(z[g]=z[g]||[],Kr(z[g],D))},t.removeHook=function(g){if(z[g])return Bc(z[g])},t.removeHooks=function(g){z[g]&&(z[g]=[])},t.removeAllHooks=function(){z={}},t}var Pg=zp(),Rg=e=>{switch(e){case"success":return Ag;case"info":return Mg;case"warning":return Lg;case"error":return zg;default:return null}},Dg=Array(12).fill(0),Og=({visible:e})=>R.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},R.createElement("div",{className:"sonner-spinner"},Dg.map((t,n)=>R.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),Ag=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"})),Lg=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"})),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:"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"})),Ig=()=>{let[e,t]=R.useState(!1);return R.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},os=1,jg=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:os++,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)||os++;return this.create({jsx:e(n),id:n,...t}),n},this.subscribers=[],this.toasts=[]}},mt=new jg,Fg=(e,t)=>{let n=(t==null?void 0:t.id)||os++;return mt.addToast({title:e,...t,id:n}),n},Ug=Fg,Ro=Object.assign(Ug,{success:mt.success,info:mt.info,warning:mt.warning,error:mt.error,custom:mt.custom,message:mt.message,promise:mt.promise,dismiss:mt.dismiss,loading:mt.loading});function Bg(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))}Bg(`: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 Hg=3,Wg="32px",Vg=4e3,Yg=356,Qg=14,Gg=20,Kg=200;function Xg(...e){return e.filter(Boolean).join(" ")}var Zg=e=>{var t,n,r,o,l,i,a;let{invert:u,toast:s,unstyled:d,interacting:f,setHeights:v,visibleToasts:w,heights:x,index:y,toasts:N,expanded:m,removeToast:c,closeButton:h,style:E,cancelButtonStyle:k,actionButtonStyle:T,className:_="",descriptionClassName:b="",duration:U,position:z,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),[ct,kt]=R.useState(0),[_n,Ot]=R.useState(0),At=R.useRef(null),je=R.useRef(null),zr=y===0,Ir=y+1<=w,ge=s.type,dt=s.dismissible!==!1,Kn=s.className||"",Io=s.descriptionClassName||"",Tn=R.useMemo(()=>x.findIndex(j=>j.toastId===s.id)||0,[x,s.id]),Si=R.useMemo(()=>{var j;return(j=s.closeButton)!=null?j:h},[s.closeButton,h]),Xn=R.useMemo(()=>s.duration||U||Vg,[s.duration,U]),Lt=R.useRef(0),Ye=R.useRef(0),Mt=R.useRef(0),zt=R.useRef(null),[jr,jo]=z.split("-"),Zn=R.useMemo(()=>x.reduce((j,de,ee)=>ee>=Tn?j:j+de.height,0),[x,Tn]),Fr=Ig(),Jn=s.invert||u,Jt=ge==="loading";Ye.current=R.useMemo(()=>Tn*Q+Zn,[Tn,Zn]),R.useEffect(()=>{A(!0)},[]),R.useLayoutEffect(()=>{if(!L)return;let j=je.current,de=j.style.height;j.style.height="auto";let ee=j.getBoundingClientRect().height;j.style.height=de,Ot(ee),v(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,v,s.id]);let xe=R.useCallback(()=>{M(!0),kt(Ye.current),v(j=>j.filter(de=>de.toastId!==s.id)),setTimeout(()=>{c(s)},Kg)},[s,c,v,Ye]);R.useEffect(()=>{if(s.promise&&ge==="loading"||s.duration===1/0||s.type==="loading")return;let j,de=Xn;return m||f||Ie&&Fr?(()=>{if(Mt.current{var ee;(ee=s.onAutoClose)==null||ee.call(s,s),xe()},de)),()=>clearTimeout(j)},[m,f,he,s,Xn,xe,s.promise,ge,Ie,Fr]),R.useEffect(()=>{let j=je.current;if(j){let de=j.getBoundingClientRect().height;return Ot(de),v(ee=>[{toastId:s.id,height:de,position:s.position},...ee]),()=>v(ee=>ee.filter(tt=>tt.toastId!==s.id))}},[v,s.id]),R.useEffect(()=>{s.delete&&xe()},[xe,s.delete]);function qt(){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(Og,{visible:ge==="loading"})}function qn(j){return{__html:Pg.sanitize(j)}}return R.createElement("li",{"aria-live":s.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:je,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||d),"data-mounted":L,"data-promise":!!s.promise,"data-removed":I,"data-visible":Ir,"data-y-position":jr,"data-x-position":jo,"data-index":y,"data-front":zr,"data-swiping":q,"data-dismissible":dt,"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?ct:Ye.current}px`,"--initial-height":he?"auto":`${_n}px`,...E,...s.style},onPointerDown:j=>{Jt||!dt||(At.current=new Date,kt(Ye.current),j.target.setPointerCapture(j.pointerId),j.target.tagName!=="BUTTON"&&(H(!0),zt.current={x:j.clientX,y:j.clientY}))},onPointerUp:()=>{var j,de,ee,tt;if(Ce||!dt)return;zt.current=null;let nt=Number(((j=je.current)==null?void 0:j.style.getPropertyValue("--swipe-amount").replace("px",""))||0),ie=new Date().getTime()-((de=At.current)==null?void 0:de.getTime()),en=Math.abs(nt)/ie;if(Math.abs(nt)>=Gg||en>.11){kt(Ye.current),(ee=s.onDismiss)==null||ee.call(s,s),xe(),K(!0);return}(tt=je.current)==null||tt.style.setProperty("--swipe-amount","0px"),H(!1)},onPointerMove:j=>{var de;if(!zt.current||!dt)return;let ee=j.clientY-zt.current.y,tt=j.clientX-zt.current.x,nt=(jr==="top"?Math.min:Math.max)(0,ee),ie=j.pointerType==="touch"?10:2;Math.abs(nt)>ie?(de=je.current)==null||de.style.setProperty("--swipe-amount",`${ee}px`):Math.abs(tt)>ie&&(zt.current=null)}},Si&&!s.jsx?R.createElement("button",{"aria-label":ve,"data-disabled":Jt,"data-close-button":!0,onClick:Jt||!dt?()=>{}:()=>{var j;xe(),(j=s.onDismiss)==null||j.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||qt():null,s.type!=="loading"?s.icon||(ke==null?void 0:ke[ge])||Rg(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:j=>{al(s.cancel)&&dt&&(xe(),s.cancel.onClick(j))},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:j=>{al(s.action)&&(s.action.onClick(j),!j.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 Kc(){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 Jg=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:d,style:f,visibleToasts:v=Hg,toastOptions:w,dir:x=Kc(),gap:y=Qg,loadingIcon:N,icons:m,containerAriaLabel:c="Notifications",pauseWhenPageIsHidden:h,cn:E=Xg}=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([]),[z,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(()=>mt.subscribe(I=>{if(I.dismiss){T(M=>M.map(q=>q.id===I.id?{...q,delete:!0}:q));return}setTimeout(()=>{Dp.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":`${c} ${Ie}`,tabIndex:-1},_.map((I,M)=>{var q;let[H,Ce]=I.split("-");return R.createElement("ol",{key:I,dir:x==="auto"?Kc():x,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||Wg,"--width":`${Yg}px`,"--gap":`${y}px`,...f},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,ct)=>{var kt,_n;return R.createElement(Zg,{key:K.id,icons:m,index:ct,toast:K,duration:(kt=w==null?void 0:w.duration)!=null?kt:d,className:w==null?void 0:w.className,descriptionClassName:w==null?void 0:w.descriptionClassName,invert:t,visibleToasts:v,closeButton:(_n=w==null?void 0:w.closeButton)!=null?_n: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(Ot=>Ot.position==K.position),heights:b.filter(Ot=>Ot.position==K.position),setHeights:U,expandByDefault:o,gap:y,loadingIcon:N,expanded:z,pauseWhenPageIsHidden:h,cn:E})}))})):null};/*! Bundled license information: +`+l.stack}return{value:e,source:t,stack:o,digest:null}}function Yi(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ha(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Bv=typeof WeakMap=="function"?WeakMap:Map;function rp(e,t,n){n=Yt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Kl||(Kl=!0,qa=r),Ha(e,t)},n}function op(e,t,n){n=Yt(-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(){Ha(e,t)}}var l=e.stateNode;return l!==null&&typeof l.componentDidCatch=="function"&&(n.callback=function(){Ha(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 kc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Bv;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=ng.bind(null,e,t,n),t.then(e,e))}function Cc(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 bc(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=Yt(-1,1),t.tag=2,gn(n,t,1))),n.lanes|=1),e)}var Hv=Jt.ReactCurrentOwner,Be=!1;function Oe(e,t,n,r){t.child=e===null?Mf(t,null,n,r):$r(t,e.child,n,r)}function Nc(e,t,n,r,o){n=n.render;var l=t.ref;return Sr(t,o),r=Ys(e,t,n,r,l,o),n=Qs(),e!==null&&!Be?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Xt(e,t,o)):(le&&n&&As(t),t.flags|=1,Oe(e,t,r,o),t.child)}function $c(e,t,n,r,o){if(e===null){var l=n.type;return typeof l=="function"&&!ru(l)&&l.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=l,lp(e,t,l,r,o)):(e=bl(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 Xt(e,t,o)}return t.flags|=1,e=xn(l,r),e.ref=t.ref,e.return=t,t.child=e}function lp(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,Xt(e,t,o)}return Wa(e,t,n,r,o)}function ip(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 ap(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Wa(e,t,n,r,o){var l=We(n)?Fn:De.current;return l=br(t,l),Sr(t,o),n=Ys(e,t,n,r,l,o),r=Qs(),e!==null&&!Be?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Xt(e,t,o)):(le&&r&&As(t),t.flags|=1,Oe(e,t,n,o),t.child)}function _c(e,t,n,r,o){if(We(n)){var l=!0;jl(t)}else l=!1;if(Sr(t,o),t.stateNode===null)El(e,t),Af(t,n,r),Ba(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)&&wc(t,i,r,s),sn=!1;var h=t.memoizedState;i.state=h,Wl(t,r,i,o),u=t.memoizedState,a!==r||h!==u||He.current||sn?(typeof c=="function"&&(Ua(t,n,c,r),u=t.memoizedState),(a=sn||yc(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,Df(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)&&wc(t,i,r,u),sn=!1,h=t.memoizedState,i.state=h,Wl(t,r,i,o);var S=t.memoizedState;a!==d||h!==S||He.current||sn?(typeof w=="function"&&(Ua(t,n,w,r),S=t.memoizedState),(s=sn||yc(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 Va(e,t,n,r,l,o)}function Va(e,t,n,r,o,l){ap(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&pc(t,n,!1),Xt(e,t,l);r=t.stateNode,Hv.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&&pc(t,n,!0),t.child}function sp(e){var t=e.stateNode;t.pendingContext?fc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&fc(e,t.context,!1),Bs(e,t.containerInfo)}function Tc(e,t,n,r,o){return Nr(),Ms(o),t.flags|=256,Oe(e,t,n,r),t.child}var Ya={dehydrated:null,treeContext:null,retryLane:0};function Qa(e){return{baseLanes:e,cachePool:null,transitions:null}}function up(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 ja(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=ci(i,r,0,null),e=jn(e,r,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Qa(n),t.memoizedState=Ya,e):Xs(t,i));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return Wv(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=jn(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?Qa(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},l.memoizedState=i,l.childLanes=e.childLanes&~n,t.memoizedState=Ya,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 Xs(e,t){return t=ci({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function el(e,t,n,r){return r!==null&&Ms(r),$r(t,e.child,null,n),e=Xs(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Wv(e,t,n,r,o,l,i){if(n)return t.flags&256?(t.flags&=-257,r=Yi(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=ci({mode:"visible",children:r.children},o,0,null),l=jn(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=Qa(i),t.memoizedState=Ya,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=Yi(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,Kt(e,o),Et(r,e,o,-1))}return nu(),r=Yi(Error(C(421))),el(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=rg.bind(null,e),o._reactRetry=t,null):(e=l.treeContext,Ke=vn(o.nextSibling),Xe=t,le=!0,wt=null,e!==null&&(rt[ot++]=Wt,rt[ot++]=Vt,rt[ot++]=Un,Wt=e.id,Vt=e.overflow,Un=t),t=Xs(t,r.children),t.flags|=4096,t)}function Pc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Fa(e.return,t,n)}function Qi(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 cp(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&&Pc(e,n,t);else if(e.tag===19)Pc(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&&Vl(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Qi(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&&Vl(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Qi(t,!0,n,null,l);break;case"together":Qi(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function El(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Xt(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 Vv(e,t,n){switch(t.tag){case 3:sp(t),Nr();break;case 5:zf(t);break;case 1:We(t.type)&&jl(t);break;case 4:Bs(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;te(Bl,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?up(e,t,n):(te(ae,ae.current&1),e=Xt(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 cp(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,ip(e,t,n)}return Xt(e,t,n)}var dp,Ga,fp,pp;dp=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}};Ga=function(){};fp=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=va(e,o),r=va(e,r),l=[];break;case"select":o=ue({},o,{value:void 0}),r=ue({},r,{value:void 0}),l=[];break;case"textarea":o=wa(e,o),r=wa(e,r),l=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=zl)}Sa(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)}};pp=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 Yv(e,t,n){var r=t.pendingProps;switch(Ls(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)&&Il(),Pe(t),null;case 3:return r=t.stateNode,_r(),oe(He),oe(De),Ws(),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&&(ns(wt),wt=null))),Ga(e,t),Pe(t),null;case 5:Hs(t);var o=Mn(No.current);if(n=t.type,e!==null&&t.stateNode!=null)fp(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,dp(e,t,!1,!1),t.stateNode=e;e:{switch(i=Ea(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 tu(),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(Ls(t),t.tag){case 1:return We(t.type)&&Il(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return _r(),oe(He),oe(De),Ws(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Hs(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 js(t.type._context),null;case 22:case 23:return tu(),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 Ka(e,t,n){try{n()}catch(r){ce(e,t,r)}}var Rc=!1;function Kv(e,t){if(Da=Al,e=gf(),Os(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(Oa={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=Rc,Rc=!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&&Ka(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 Xa(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 mp(e){var t=e.alternate;t!==null&&(e.alternate=null,mp(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[Ma],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 hp(e){return e.tag===5||e.tag===3||e.tag===4}function Dc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||hp(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 Za(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=zl));else if(r!==4&&(e=e.child,e!==null))for(Za(e,t,n),e=e.sibling;e!==null;)Za(e,t,n),e=e.sibling}function Ja(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(Ja(e,t,n),e=e.sibling;e!==null;)Ja(e,t,n),e=e.sibling}var Ne=null,yt=!1;function nn(e,t,n){for(n=n.child;n!==null;)vp(e,t,n),n=n.sibling}function vp(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?Fi(e.parentNode,n):e.nodeType===1&&Fi(e,n),wo(e)):Fi(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)&&Ka(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 Oc(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()-qs?In(e,0):Js|=n),Ve(e,t)}function Cp(e,t){t===0&&(e.mode&1?(t=Yo,Yo<<=1,!(Yo&130023424)&&(Yo=4194304)):t=1);var n=Ae();e=Kt(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),Cp(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),Cp(e,n)}var bp;bp=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&&_f(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=Ys(null,t,r,e,o,n);var l=Qs();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,jl(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Us(t),o.updater=ii,t.stateNode=o,o._reactInternals=t,Ba(t,r,e,n),t=Va(null,t,r,!0,l,n)):(t.tag=0,le&&l&&As(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=Wa(null,t,r,e,n);break e;case 1:t=_c(null,t,r,e,n);break e;case 11:t=Nc(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),Wa(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gt(r,o),_c(e,t,r,o,n);case 3:e:{if(sp(t),e===null)throw Error(C(387));r=t.pendingProps,l=t.memoizedState,o=l.element,Df(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=Tc(e,t,r,n,o);break e}else if(r!==o){o=Tr(Error(C(424)),t),t=Tc(e,t,r,n,o);break e}else for(Ke=vn(t.stateNode.containerInfo.firstChild),Xe=t,le=!0,wt=null,n=Mf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Nr(),r===o){t=Xt(e,t,n);break e}Oe(e,t,r,n)}t=t.child}return t;case 5:return zf(t),e===null&&ja(t),r=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,i=o.children,Aa(r,o)?i=null:l!==null&&Aa(r,l)&&(t.flags|=32),ap(e,t),Oe(e,t,i,n),t.child;case 6:return e===null&&ja(t),null;case 13:return up(e,t,n);case 4:return Bs(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),Nc(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=Xt(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=Yt(-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),Fa(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),Fa(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 lp(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,jl(t)):e=!1,Sr(t,n),Af(t,r,o),Ba(t,r,o,n),Va(null,t,r,!0,e,n);case 19:return cp(e,t,n);case 22:return ip(e,t,n)}throw Error(C(156,t.tag))};function Np(e,t){return Zd(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 ru(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ig(e){if(typeof e=="function")return ru(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Es)return 11;if(e===ks)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")ru(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case ir:return jn(n.children,o,l,t);case Ss:i=8,o|=8;break;case fa:return e=it(12,n,t,o|2),e.elementType=fa,e.lanes=l,e;case pa:return e=it(13,n,t,o),e.elementType=pa,e.lanes=l,e;case ma:return e=it(19,n,t,o),e.elementType=ma,e.lanes=l,e;case Ad:return ci(n,o,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Dd:i=10;break e;case Od:i=9;break e;case Es:i=11;break e;case ks: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 jn(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=Ad,e.lanes=n,e.stateNode={isHidden:!1},e}function Gi(e,t,n){return e=it(6,e,null,t),e.lanes=n,e}function Ki(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=Ti(0),this.expirationTimes=Ti(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ti(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ou(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},Us(l),e}function sg(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Pp)}catch(e){console.error(e)}}Pp(),$d.exports=qe;var hi=$d.exports;const Rp=ps(hi);var{entries:Dp,setPrototypeOf:Uc,isFrozen:pg,getPrototypeOf:mg,getOwnPropertyDescriptor:hg}=Object,{freeze:Le,seal:ct,create:Op}=Object,{apply:rs,construct:os}=typeof Reflect<"u"&&Reflect;Le||(Le=function(e){return e});ct||(ct=function(e){return e});rs||(rs=function(e,t,n){return e.apply(t,n)});os||(os=function(e,t){return new e(...t)});var ol=Je(Array.prototype.forEach),Bc=Je(Array.prototype.pop),Kr=Je(Array.prototype.push),Nl=Je(String.prototype.toLowerCase),Xi=Je(String.prototype.toString),Hc=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;Uc&&Uc(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]+$/),Ap=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),Lp=ct(/^html$/i),Tg=ct(/^[a-z][a-z\d]*(-[a-z\d]+)+$/i),Gc=Object.freeze({__proto__:null,MUSTACHE_EXPR:Eg,ERB_EXPR:kg,TMPLIT_EXPR:Cg,DATA_ATTR:bg,ARIA_ATTR:Ng,IS_ALLOWED_URI:Ap,IS_SCRIPT_OR_DATA:$g,ATTR_WHITESPACE:_g,DOCTYPE_NAME:Lp,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 Mp(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Pg(),t=g=>Mp(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,z={};t.isSupported=typeof Dp=="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:$}=Gc,{IS_ALLOWED_URI:L}=Gc,A=null,I=W({},[...Wc,...Zi,...Ji,...qi,...Vc]),M=null,q=W({},[...Yc,...ea,...Qc,...il]),H=Object.seal(Op(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,Ot=!0,At=!1,je=!1,zr=!1,Ir=!1,ge=!1,pt=!1,Kn=!1,Io=!0,Pn=!1,Si="user-content-",Xn=!0,Lt=!1,Ye={},Mt=null,zt=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"]),jr=null,jo=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,j=null,de=W({},[Jn,qt,xe],Xi),ee=null,tt=["application/xhtml+xml","text/html"],nt="text/html",ie=null,tn=null,Am=n.createElement("form"),wu=function(g){return g instanceof RegExp||g instanceof Function},Ei=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"?Xi:Nl,A=ht(g,"ALLOWED_TAGS")?W({},g.ALLOWED_TAGS,ie):I,M=ht(g,"ALLOWED_ATTR")?W({},g.ALLOWED_ATTR,ie):q,j=ht(g,"ALLOWED_NAMESPACES")?W({},g.ALLOWED_NAMESPACES,Xi):de,Zn=ht(g,"ADD_URI_SAFE_ATTR")?W(On(Fr),g.ADD_URI_SAFE_ATTR,ie):Fr,jr=ht(g,"ADD_DATA_URI_TAGS")?W(On(jo),g.ADD_DATA_URI_TAGS,ie):jo,Mt=ht(g,"FORBID_CONTENTS")?W({},g.FORBID_CONTENTS,ie):zt,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,Ot=g.ALLOW_SELF_CLOSE_IN_ATTR!==!1,At=g.SAFE_FOR_TEMPLATES||!1,je=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,Lt=g.IN_PLACE||!1,L=g.ALLOWED_URI_REGEXP||Ap,en=g.NAMESPACE||xe,H=g.CUSTOM_ELEMENT_HANDLING||{},g.CUSTOM_ELEMENT_HANDLING&&wu(g.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(H.tagNameCheck=g.CUSTOM_ELEMENT_HANDLING.tagNameCheck),g.CUSTOM_ELEMENT_HANDLING&&wu(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),At&&(Ct=!1),pt&&(ge=!0),Ye&&(A=W({},Vc),M=[],Ye.html===!0&&(W(A,Wc),W(M,Yc)),Ye.svg===!0&&(W(A,Zi),W(M,ea),W(M,il)),Ye.svgFilters===!0&&(W(A,Ji),W(M,ea),W(M,il)),Ye.mathMl===!0&&(W(A,qi),W(M,Qc),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&&(Mt===zt&&(Mt=On(Mt)),W(Mt,g.FORBID_CONTENTS,ie)),Xn&&(A["#text"]=!0),je&&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}},xu=W({},["mi","mo","mn","ms","mtext"]),Su=W({},["foreignobject","desc","title","annotation-xml"]),Lm=W({},["title","style","font","a","script"]),Eu=W({},[...Zi,...Ji,...xg]),ku=W({},[...qi,...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 j[g.namespaceURI]?g.namespaceURI===qt?D.namespaceURI===xe?P==="svg":D.namespaceURI===Jn?P==="svg"&&(X==="annotation-xml"||xu[X]):!!Eu[P]:g.namespaceURI===Jn?D.namespaceURI===xe?P==="math":D.namespaceURI===qt?P==="math"&&Su[X]:!!ku[P]:g.namespaceURI===xe?D.namespaceURI===qt&&!Su[X]||D.namespaceURI===Jn&&!xu[X]?!1:!ku[P]&&(Lm[P]||!Eu[P]):!!(ee==="application/xhtml+xml"&&j[g.namespaceURI]):!1},er=function(g){Kr(t.removed,{element:g});try{g.parentNode.removeChild(g)}catch{g.remove()}},ki=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{}},Cu=function(g){let D=null,P=null;if(Ir)g=""+g;else{let fe=Hc(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,je?"html":"body")[0]:je?D.documentElement:be},bu=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")},Nu=function(g){return typeof a=="function"&&g instanceof a},It=function(g,D,P){z[g]&&ol(z[g],X=>{X.call(t,D,P,tn)})},$u=function(g){let D=null;if(It("beforeSanitizeElements",g,null),zm(g))return er(g),!0;let P=ie(g.nodeName);if(It("uponSanitizeElement",g,{tagName:P,allowedTags:A}),g.hasChildNodes()&&!Nu(g.firstElementChild)&&Qe(/<[/\w]/g,g.innerHTML)&&Qe(/<[/\w]/g,g.textContent))return er(g),!0;if(!A[P]||Ce[P]){if(!Ce[P]&&Tu(P)&&(H.tagNameCheck instanceof RegExp&&Qe(H.tagNameCheck,P)||H.tagNameCheck instanceof Function&&H.tagNameCheck(P)))return!1;if(Xn&&!Mt[P]){let X=f(g)||g.parentNode,be=m(g)||g.childNodes;if(be&&X){let fe=be.length;for(let jt=fe-1;jt>=0;--jt)X.insertBefore(y(be[jt],!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):(At&&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)),It("afterSanitizeElements",g,null),!1)},_u=function(g,D,P){if(Io&&(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(!(Tu(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"&&vg(P,"data:")===0&&jr[g])&&!(Tn&&!Qe(ve,Xr(P,Ie,"")))&&P)return!1}return!0},Tu=function(g){return g!=="annotation-xml"&&Hc(g,$)},Pu=function(g){It("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:jt,value:Ft}=be,bt=ie(fe),Fe=fe==="value"?Ft:gg(Ft);if(P.attrName=bt,P.attrValue=Fe,P.keepAttr=!0,P.forceKeepAttr=void 0,It("uponSanitizeAttribute",g,P),Fe=P.attrValue,P.forceKeepAttr||(ki(fe,g),!P.keepAttr))continue;if(!Ot&&Qe(/\/>/i,Fe)){ki(fe,g);continue}At&&ol([Q,B,he],Du=>{Fe=Xr(Fe,Du," ")});let Ru=ie(g.nodeName);if(_u(Ru,bt,Fe)){if(Pn&&(bt==="id"||bt==="name")&&(ki(fe,g),Fe=Si+Fe),v&&typeof w=="object"&&typeof w.getAttributeType=="function"&&!jt)switch(w.getAttributeType(Ru,bt)){case"TrustedHTML":{Fe=v.createHTML(Fe);break}case"TrustedScriptURL":{Fe=v.createScriptURL(Fe);break}}try{jt?g.setAttributeNS(jt,fe,Fe):g.setAttribute(fe,Fe),Bc(t.removed)}catch{}}}It("afterSanitizeAttributes",g,null)},Im=function g(D){let P=null,X=bu(D);for(It("beforeSanitizeShadowDOM",D,null);P=X.nextNode();)It("uponSanitizeShadowNode",P,null),!$u(P)&&(P.content instanceof l&&g(P.content),Pu(P));It("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"&&!Nu(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(zr||Ei(D),t.removed=[],typeof g=="string"&&(Lt=!1),Lt){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=Cu(""),X=P.ownerDocument.importNode(g,!0),X.nodeType===1&&X.nodeName==="BODY"||X.nodeName==="HTML"?P=X:P.appendChild(X);else{if(!ge&&!At&&!je&&g.indexOf("<")===-1)return v&&Kn?v.createHTML(g):g;if(P=Cu(g),!P)return ge?null:Kn?E:""}P&&Ir&&er(P.firstChild);let jt=bu(Lt?g:P);for(;be=jt.nextNode();)$u(be)||(be.content instanceof l&&Im(be.content),Pu(be));if(Lt)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 Ft=je?P.outerHTML:P.innerHTML;return je&&A["!doctype"]&&P.ownerDocument&&P.ownerDocument.doctype&&P.ownerDocument.doctype.name&&Qe(Lp,P.ownerDocument.doctype.name)&&(Ft=" +`+Ft),At&&ol([Q,B,he],bt=>{Ft=Xr(Ft,bt," ")}),v&&Kn?v.createHTML(Ft):Ft},t.setConfig=function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ei(g),zr=!0},t.clearConfig=function(){tn=null,zr=!1},t.isValidAttribute=function(g,D,P){tn||Ei({});let X=ie(g),be=ie(D);return _u(X,be,P)},t.addHook=function(g,D){typeof D=="function"&&(z[g]=z[g]||[],Kr(z[g],D))},t.removeHook=function(g){if(z[g])return Bc(z[g])},t.removeHooks=function(g){z[g]&&(z[g]=[])},t.removeAllHooks=function(){z={}},t}var Dg=Mp(),Og=e=>{switch(e){case"success":return Mg;case"info":return Ig;case"warning":return zg;case"error":return jg;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"})),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"})),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:"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"})),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-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},ls=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:ls++,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)||ls++;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)||ls++;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:z,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,Ot]=R.useState(0),At=R.useRef(null),je=R.useRef(null),zr=y===0,Ir=y+1<=w,ge=s.type,pt=s.dismissible!==!1,Kn=s.className||"",Io=s.descriptionClassName||"",Pn=R.useMemo(()=>S.findIndex(j=>j.toastId===s.id)||0,[S,s.id]),Si=R.useMemo(()=>{var j;return(j=s.closeButton)!=null?j:v},[s.closeButton,v]),Xn=R.useMemo(()=>s.duration||U||Qg,[s.duration,U]),Lt=R.useRef(0),Ye=R.useRef(0),Mt=R.useRef(0),zt=R.useRef(null),[jr,jo]=z.split("-"),Zn=R.useMemo(()=>S.reduce((j,de,ee)=>ee>=Pn?j:j+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 j=je.current,de=j.style.height;j.style.height="auto";let ee=j.getBoundingClientRect().height;j.style.height=de,Ot(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(j=>j.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 j,de=Xn;return m||d||Ie&&Fr?(()=>{if(Mt.current{var ee;(ee=s.onAutoClose)==null||ee.call(s,s),xe()},de)),()=>clearTimeout(j)},[m,d,he,s,Xn,xe,s.promise,ge,Ie,Fr]),R.useEffect(()=>{let j=je.current;if(j){let de=j.getBoundingClientRect().height;return Ot(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(j){return{__html:Dg.sanitize(j)}}return R.createElement("li",{"aria-live":s.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:je,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":jr,"data-x-position":jo,"data-index":y,"data-front":zr,"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:j=>{qt||!pt||(At.current=new Date,Ct(Ye.current),j.target.setPointerCapture(j.pointerId),j.target.tagName!=="BUTTON"&&(H(!0),zt.current={x:j.clientX,y:j.clientY}))},onPointerUp:()=>{var j,de,ee,tt;if(Ce||!pt)return;zt.current=null;let nt=Number(((j=je.current)==null?void 0:j.style.getPropertyValue("--swipe-amount").replace("px",""))||0),ie=new Date().getTime()-((de=At.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=je.current)==null||tt.style.setProperty("--swipe-amount","0px"),H(!1)},onPointerMove:j=>{var de;if(!zt.current||!pt)return;let ee=j.clientY-zt.current.y,tt=j.clientX-zt.current.x,nt=(jr==="top"?Math.min:Math.max)(0,ee),ie=j.pointerType==="touch"?10:2;Math.abs(nt)>ie?(de=je.current)==null||de.style.setProperty("--swipe-amount",`${ee}px`):Math.abs(tt)>ie&&(zt.current=null)}},Si&&!s.jsx?R.createElement("button",{"aria-label":ve,"data-disabled":qt,"data-close-button":!0,onClick:qt||!pt?()=>{}:()=>{var j;xe(),(j=s.onDismiss)==null||j.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,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:j=>{al(s.cancel)&&pt&&(xe(),s.cancel.onClick(j))},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:j=>{al(s.action)&&(s.action.onClick(j),!j.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 Kc(){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=Kc(),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(I=>I.position).map(I=>I.position)))),[k,n]),[b,U]=R.useState([]),[z,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(()=>{Rp.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"?Kc():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===I).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: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(Ot=>Ot.position==K.position),heights:b.filter(Ot=>Ot.position==K.position),setHeights:U,expandByDefault:o,gap:y,loadingIcon:N,expanded:z,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 au(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;ta,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 Ip(e,t=[]){let n=[];function r(l,i){const a=p.createContext(i),u=n.length;n=[...n,i];function s(f){const{scope:v,children:w,...x}=f,y=(v==null?void 0:v[e][u])||a,N=p.useMemo(()=>x,Object.values(x));return p.createElement(y.Provider,{value:N},w)}function d(f,v){const w=(v==null?void 0:v[e][u])||a,x=p.useContext(w);if(x)return x;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${l}\``)}return s.displayName=l+"Provider",[s,d]}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,e0(o,...t)]}function e0(...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 f=u(l)[`__scope${s}`];return{...a,...f}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}function t0(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function jp(...e){return t=>e.forEach(n=>t0(n,t))}function Qn(...e){return p.useCallback(jp(...e),e)}function xn(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 ls=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},n0=th.useId||(()=>{});let r0=0;function ta(e){const[t,n]=p.useState(n0());return ls(()=>{e||n(r=>r??String(r0++))},[e]),e||(t?`radix-${t}`:"")}function Wn(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 o0({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=l0({defaultProp:t,onChange:n}),l=e!==void 0,i=l?e:r,a=Wn(n),u=p.useCallback(s=>{if(l){const f=typeof s=="function"?s(e):s;f!==e&&a(f)}else o(s)},[l,e,o,a]);return[i,u]}function l0({defaultProp:e,onChange:t}){const n=p.useState(e),[r]=n,o=p.useRef(r),l=Wn(t);return p.useEffect(()=>{o.current!==r&&(l(r),o.current=r)},[r,o,l]),n}const gi=p.forwardRef((e,t)=>{const{children:n,...r}=e,o=p.Children.toArray(n),l=o.find(i0);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(is,J({},r,{ref:t}),p.isValidElement(i)?p.cloneElement(i,void 0,a):null)}return p.createElement(is,J({},r,{ref:t}),n)});gi.displayName="Slot";const is=p.forwardRef((e,t)=>{const{children:n,...r}=e;return p.isValidElement(n)?p.cloneElement(n,{...a0(r,n.props),ref:t?jp(t,n.ref):n.ref}):p.Children.count(n)>1?p.Children.only(null):null});is.displayName="SlotClone";const Fp=({children:e})=>p.createElement(p.Fragment,null,e);function i0(e){return p.isValidElement(e)&&e.type===Fp}function a0(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}}const s0=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Nn=s0.reduce((e,t)=>{const n=p.forwardRef((r,o)=>{const{asChild:l,...i}=r,a=l?gi: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 u0(e,t){e&&hi.flushSync(()=>e.dispatchEvent(t))}function c0(e,t=globalThis==null?void 0:globalThis.document){const n=Wn(e);p.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const as="dismissableLayer.update",d0="dismissableLayer.pointerDownOutside",f0="dismissableLayer.focusOutside";let Xc;const p0=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),m0=p.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:i,onInteractOutside:a,onDismiss:u,...s}=e,d=p.useContext(p0),[f,v]=p.useState(null),w=(n=f==null?void 0:f.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,x]=p.useState({}),y=Qn(t,b=>v(b)),N=Array.from(d.layers),[m]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),c=N.indexOf(m),h=f?N.indexOf(f):-1,E=d.layersWithOutsidePointerEventsDisabled.size>0,k=h>=c,T=h0(b=>{const U=b.target,z=[...d.branches].some(Q=>Q.contains(U));!k||z||(l==null||l(b),a==null||a(b),b.defaultPrevented||u==null||u())},w),_=v0(b=>{const U=b.target;[...d.branches].some(Q=>Q.contains(U))||(i==null||i(b),a==null||a(b),b.defaultPrevented||u==null||u())},w);return c0(b=>{h===d.layers.size-1&&(o==null||o(b),!b.defaultPrevented&&u&&(b.preventDefault(),u()))},w),p.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Xc=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Zc(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(w.body.style.pointerEvents=Xc)}},[f,w,r,d]),p.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Zc())},[f,d]),p.useEffect(()=>{const b=()=>x({});return document.addEventListener(as,b),()=>document.removeEventListener(as,b)},[]),p.createElement(Nn.div,J({},s,{ref:y,style:{pointerEvents:E?k?"auto":"none":void 0,...e.style},onFocusCapture:xn(e.onFocusCapture,_.onFocusCapture),onBlurCapture:xn(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:xn(e.onPointerDownCapture,T.onPointerDownCapture)}))});function h0(e,t=globalThis==null?void 0:globalThis.document){const n=Wn(e),r=p.useRef(!1),o=p.useRef(()=>{});return p.useEffect(()=>{const l=a=>{if(a.target&&!r.current){let d=function(){Up(d0,n,s,{discrete:!0})};var u=d;const s={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=d,t.addEventListener("click",o.current,{once:!0})):d()}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 v0(e,t=globalThis==null?void 0:globalThis.document){const n=Wn(e),r=p.useRef(!1);return p.useEffect(()=>{const o=l=>{l.target&&!r.current&&Up(f0,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 Zc(){const e=new CustomEvent(as);document.dispatchEvent(e)}function Up(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?u0(o,l):o.dispatchEvent(l)}const na="focusScope.autoFocusOnMount",ra="focusScope.autoFocusOnUnmount",Jc={bubbles:!1,cancelable:!0},g0=p.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:l,...i}=e,[a,u]=p.useState(null),s=Wn(o),d=Wn(l),f=p.useRef(null),v=Qn(t,y=>u(y)),w=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(r){let c=function(T){if(w.paused||!a)return;const _=T.target;a.contains(_)?f.current=_:on(f.current,{select:!0})},h=function(T){if(w.paused||!a)return;const _=T.relatedTarget;_!==null&&(a.contains(_)||on(f.current,{select:!0}))},E=function(T){if(document.activeElement===document.body)for(const b of T)b.removedNodes.length>0&&on(a)};var y=c,N=h,m=E;document.addEventListener("focusin",c),document.addEventListener("focusout",h);const k=new MutationObserver(E);return a&&k.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",c),document.removeEventListener("focusout",h),k.disconnect()}}},[r,a,w.paused]),p.useEffect(()=>{if(a){ed.add(w);const y=document.activeElement;if(!a.contains(y)){const m=new CustomEvent(na,Jc);a.addEventListener(na,s),a.dispatchEvent(m),m.defaultPrevented||(y0(k0(Bp(a)),{select:!0}),document.activeElement===y&&on(a))}return()=>{a.removeEventListener(na,s),setTimeout(()=>{const m=new CustomEvent(ra,Jc);a.addEventListener(ra,d),a.dispatchEvent(m),m.defaultPrevented||on(y??document.body,{select:!0}),a.removeEventListener(ra,d),ed.remove(w)},0)}}},[a,s,d,w]);const x=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 c=y.currentTarget,[h,E]=w0(c);h&&E?!y.shiftKey&&m===E?(y.preventDefault(),n&&on(h,{select:!0})):y.shiftKey&&m===h&&(y.preventDefault(),n&&on(E,{select:!0})):m===c&&y.preventDefault()}},[n,r,w.paused]);return p.createElement(Nn.div,J({tabIndex:-1},i,{ref:v,onKeyDown:x}))});function y0(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(on(r,{select:t}),document.activeElement!==n)return}function w0(e){const t=Bp(e),n=qc(t,e),r=qc(t.reverse(),e);return[n,r]}function Bp(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 qc(e,t){for(const n of e)if(!x0(n,{upTo:t}))return n}function x0(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 S0(e){return e instanceof HTMLInputElement&&"select"in e}function on(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&S0(e)&&t&&e.select()}}const ed=E0();function E0(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=td(e,t),e.unshift(t)},remove(t){var n;e=td(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function td(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function k0(e){return e.filter(t=>t.tagName!=="A")}const C0=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(Nn.div,J({},o,{ref:t})),r):null});function b0(e,t){return p.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const yi=e=>{const{present:t,children:n}=e,r=N0(t),o=typeof n=="function"?n({present:r.isPresent}):p.Children.only(n),l=Qn(r.ref,o.ref);return typeof n=="function"||r.isPresent?p.cloneElement(o,{ref:l}):null};yi.displayName="Presence";function N0(e){const[t,n]=p.useState(),r=p.useRef({}),o=p.useRef(e),l=p.useRef("none"),i=e?"mounted":"unmounted",[a,u]=b0(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const s=sl(r.current);l.current=a==="mounted"?s:"none"},[a]),ls(()=>{const s=r.current,d=o.current;if(d!==e){const v=l.current,w=sl(s);e?u("MOUNT"):w==="none"||(s==null?void 0:s.display)==="none"?u("UNMOUNT"):u(d&&v!==w?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),ls(()=>{if(t){const s=f=>{const w=sl(r.current).includes(f.animationName);f.target===t&&w&&hi.flushSync(()=>u("ANIMATION_END"))},d=f=>{f.target===t&&(l.current=sl(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",s),t.addEventListener("animationend",s),()=>{t.removeEventListener("animationstart",d),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 sl(e){return(e==null?void 0:e.animationName)||"none"}let oa=0;function $0(){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:nd()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:nd()),oa++,()=>{oa===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),oa--}},[])}function nd(){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 _t=function(){return _t=Object.assign||function(t){for(var n,r=1,o=arguments.length;r"u")return W0;var t=V0(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])}},Q0=Yp(),kr="data-scroll-locked",G0=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(T0,` { +*/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 su(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;ta,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 zp(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,n0(o,...t)]}function n0(...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 r0(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Ip(...e){return t=>e.forEach(n=>r0(n,t))}function Gn(...e){return p.useCallback(Ip(...e),e)}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 is=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},o0=rh.useId||(()=>{});let l0=0;function ta(e){const[t,n]=p.useState(o0());return is(()=>{e||n(r=>r??String(l0++))},[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 i0({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=a0({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 a0({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 gi=p.forwardRef((e,t)=>{const{children:n,...r}=e,o=p.Children.toArray(n),l=o.find(s0);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(as,J({},r,{ref:t}),p.isValidElement(i)?p.cloneElement(i,void 0,a):null)}return p.createElement(as,J({},r,{ref:t}),n)});gi.displayName="Slot";const as=p.forwardRef((e,t)=>{const{children:n,...r}=e;return p.isValidElement(n)?p.cloneElement(n,{...u0(r,n.props),ref:t?Ip(t,n.ref):n.ref}):p.Children.count(n)>1?p.Children.only(null):null});as.displayName="SlotClone";const jp=({children:e})=>p.createElement(p.Fragment,null,e);function s0(e){return p.isValidElement(e)&&e.type===jp}function u0(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}}const c0=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],$n=c0.reduce((e,t)=>{const n=p.forwardRef((r,o)=>{const{asChild:l,...i}=r,a=l?gi: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 d0(e,t){e&&hi.flushSync(()=>e.dispatchEvent(t))}function f0(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 ss="dismissableLayer.update",p0="dismissableLayer.pointerDownOutside",m0="dismissableLayer.focusOutside";let Xc;const h0=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),v0=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(h0),[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=g0(b=>{const U=b.target,z=[...c.branches].some(Q=>Q.contains(U));!k||z||(l==null||l(b),a==null||a(b),b.defaultPrevented||u==null||u())},w),_=y0(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 f0(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&&(Xc=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),Zc(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(w.body.style.pointerEvents=Xc)}},[d,w,r,c]),p.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),Zc())},[d,c]),p.useEffect(()=>{const b=()=>S({});return document.addEventListener(ss,b),()=>document.removeEventListener(ss,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 g0(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(){Fp(p0,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 y0(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&&Fp(m0,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 Zc(){const e=new CustomEvent(ss);document.dispatchEvent(e)}function Fp(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?d0(o,l):o.dispatchEvent(l)}const na="focusScope.autoFocusOnMount",ra="focusScope.autoFocusOnUnmount",Jc={bubbles:!1,cancelable:!0},w0=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){ed.add(w);const y=document.activeElement;if(!a.contains(y)){const m=new CustomEvent(na,Jc);a.addEventListener(na,s),a.dispatchEvent(m),m.defaultPrevented||(x0(b0(Up(a)),{select:!0}),document.activeElement===y&&ln(a))}return()=>{a.removeEventListener(na,s),setTimeout(()=>{const m=new CustomEvent(ra,Jc);a.addEventListener(ra,c),a.dispatchEvent(m),m.defaultPrevented||ln(y??document.body,{select:!0}),a.removeEventListener(ra,c),ed.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]=S0(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 x0(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(ln(r,{select:t}),document.activeElement!==n)return}function S0(e){const t=Up(e),n=qc(t,e),r=qc(t.reverse(),e);return[n,r]}function Up(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 qc(e,t){for(const n of e)if(!E0(n,{upTo:t}))return n}function E0(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 k0(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&&k0(e)&&t&&e.select()}}const ed=C0();function C0(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=td(e,t),e.unshift(t)},remove(t){var n;e=td(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function td(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function b0(e){return e.filter(t=>t.tagName!=="A")}const N0=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?Rp.createPortal(p.createElement($n.div,J({},o,{ref:t})),r):null});function $0(e,t){return p.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const yi=e=>{const{present:t,children:n}=e,r=_0(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};yi.displayName="Presence";function _0(e){const[t,n]=p.useState(),r=p.useRef({}),o=p.useRef(e),l=p.useRef("none"),i=e?"mounted":"unmounted",[a,u]=$0(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const s=sl(r.current);l.current=a==="mounted"?s:"none"},[a]),is(()=>{const s=r.current,c=o.current;if(c!==e){const h=l.current,w=sl(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]),is(()=>{if(t){const s=d=>{const w=sl(r.current).includes(d.animationName);d.target===t&&w&&hi.flushSync(()=>u("ANIMATION_END"))},c=d=>{d.target===t&&(l.current=sl(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 sl(e){return(e==null?void 0:e.animationName)||"none"}let oa=0;function T0(){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:nd()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:nd()),oa++,()=>{oa===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),oa--}},[])}function nd(){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 Y0;var t=Q0(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])}},K0=Vp(),kr="data-scroll-locked",X0=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(R0,` { overflow: hidden `).concat(r,`; padding-right: `).concat(a,"px ").concat(r,`; } @@ -78,12 +78,12 @@ dompurify/dist/purify.es.mjs: } body[`).concat(kr,`] { - `).concat(P0,": ").concat(a,`px; + `).concat(D0,": ").concat(a,`px; } -`)},od=function(){var e=parseInt(document.body.getAttribute(kr)||"0",10);return isFinite(e)?e:0},K0=function(){p.useEffect(function(){return document.body.setAttribute(kr,(od()+1).toString()),function(){var e=od()-1;e<=0?document.body.removeAttribute(kr):document.body.setAttribute(kr,e.toString())}},[])},X0=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;K0();var l=p.useMemo(function(){return Y0(o)},[o]);return p.createElement(Q0,{styles:G0(l,!t,o,n?"":"!important")})},ss=!1;if(typeof window<"u")try{var ul=Object.defineProperty({},"passive",{get:function(){return ss=!0,!0}});window.addEventListener("test",ul,ul),window.removeEventListener("test",ul,ul)}catch{ss=!1}var nr=ss?{passive:!1}:!1,Z0=function(e){return e.tagName==="TEXTAREA"},Qp=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Z0(e)&&n[t]==="visible")},J0=function(e){return Qp(e,"overflowY")},q0=function(e){return Qp(e,"overflowX")},ld=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Gp(e,n);if(r){var o=Kp(e,n),l=o[1],i=o[2];if(l>i)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},ey=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},ty=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Gp=function(e,t){return e==="v"?J0(t):q0(t)},Kp=function(e,t){return e==="v"?ey(t):ty(t)},ny=function(e,t){return e==="h"&&t==="rtl"?-1:1},ry=function(e,t,n,r,o){var l=ny(e,window.getComputedStyle(t).direction),i=l*r,a=n.target,u=t.contains(a),s=!1,d=i>0,f=0,v=0;do{var w=Kp(e,a),x=w[0],y=w[1],N=w[2],m=y-N-l*x;(x||m)&&Gp(e,a)&&(f+=m,v+=x),a=a.parentNode}while(!u&&a!==document.body||u&&(t.contains(a)||t===a));return(d&&(o&&f===0||!o&&i>f)||!d&&(o&&v===0||!o&&-i>v))&&(s=!0),s},cl=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},id=function(e){return[e.deltaX,e.deltaY]},ad=function(e){return e&&"current"in e?e.current:e},oy=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ly=function(e){return` +`)},od=function(){var e=parseInt(document.body.getAttribute(kr)||"0",10);return isFinite(e)?e:0},Z0=function(){p.useEffect(function(){return document.body.setAttribute(kr,(od()+1).toString()),function(){var e=od()-1;e<=0?document.body.removeAttribute(kr):document.body.setAttribute(kr,e.toString())}},[])},J0=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;Z0();var l=p.useMemo(function(){return G0(o)},[o]);return p.createElement(K0,{styles:X0(l,!t,o,n?"":"!important")})},us=!1;if(typeof window<"u")try{var ul=Object.defineProperty({},"passive",{get:function(){return us=!0,!0}});window.addEventListener("test",ul,ul),window.removeEventListener("test",ul,ul)}catch{us=!1}var nr=us?{passive:!1}:!1,q0=function(e){return e.tagName==="TEXTAREA"},Yp=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!q0(e)&&n[t]==="visible")},ey=function(e){return Yp(e,"overflowY")},ty=function(e){return Yp(e,"overflowX")},ld=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Qp(e,n);if(r){var o=Gp(e,n),l=o[1],i=o[2];if(l>i)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},ny=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},ry=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Qp=function(e,t){return e==="v"?ey(t):ty(t)},Gp=function(e,t){return e==="v"?ny(t):ry(t)},oy=function(e,t){return e==="h"&&t==="rtl"?-1:1},ly=function(e,t,n,r,o){var l=oy(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=Gp(e,a),S=w[0],y=w[1],N=w[2],m=y-N-l*S;(S||m)&&Qp(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},cl=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},id=function(e){return[e.deltaX,e.deltaY]},ad=function(e){return e&&"current"in e?e.current:e},iy=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ay=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},iy=0,rr=[];function ay(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),o=p.useState(iy++)[0],l=p.useState(function(){return Yp()})[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=_0([e.lockRef.current],(e.shards||[]).map(ad),!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=cl(y),c=n.current,h="deltaX"in y?y.deltaX:c[0]-m[0],E="deltaY"in y?y.deltaY:c[1]-m[1],k,T=y.target,_=Math.abs(h)>Math.abs(E)?"h":"v";if("touches"in y&&_==="h"&&T.type==="range")return!1;var b=ld(_,T);if(!b)return!0;if(b?k=_:(k=_==="v"?"h":"v",b=ld(_,T)),!b)return!1;if(!r.current&&"changedTouches"in y&&(h||E)&&(r.current=k),!k)return!0;var U=r.current||k;return ry(U,N,y,U==="h"?h:E,!0)},[]),u=p.useCallback(function(y){var N=y;if(!(!rr.length||rr[rr.length-1]!==l)){var m="deltaY"in N?id(N):cl(N),c=t.current.filter(function(k){return k.name===N.type&&k.target===N.target&&oy(k.delta,m)})[0];if(c&&c.should){N.cancelable&&N.preventDefault();return}if(!c){var h=(i.current.shards||[]).map(ad).filter(Boolean).filter(function(k){return k.contains(N.target)}),E=h.length>0?a(N,h[0]):!i.current.noIsolation;E&&N.cancelable&&N.preventDefault()}}},[]),s=p.useCallback(function(y,N,m,c){var h={name:y,delta:N,target:m,should:c};t.current.push(h),setTimeout(function(){t.current=t.current.filter(function(E){return E!==h})},1)},[]),d=p.useCallback(function(y){n.current=cl(y),r.current=void 0},[]),f=p.useCallback(function(y){s(y.type,id(y),y.target,a(y,e.lockRef.current))},[]),v=p.useCallback(function(y){s(y.type,cl(y),y.target,a(y,e.lockRef.current))},[]);p.useEffect(function(){return rr.push(l),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:v}),document.addEventListener("wheel",u,nr),document.addEventListener("touchmove",u,nr),document.addEventListener("touchstart",d,nr),function(){rr=rr.filter(function(y){return y!==l}),document.removeEventListener("wheel",u,nr),document.removeEventListener("touchmove",u,nr),document.removeEventListener("touchstart",d,nr)}},[]);var w=e.removeScrollBar,x=e.inert;return p.createElement(p.Fragment,null,x?p.createElement(l,{styles:ly(o)}):null,w?p.createElement(X0,{gapMode:"margin"}):null)}const sy=z0(Vp,ay);var Xp=p.forwardRef(function(e,t){return p.createElement(wi,_t({},e,{ref:t,sideCar:sy}))});Xp.classNames=wi.classNames;const uy=Xp;var cy=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},or=new WeakMap,dl=new WeakMap,fl={},sa=0,Zp=function(e){return e&&(e.host||Zp(e.parentNode))},dy=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Zp(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})},fy=function(e,t,n,r){var o=dy(t,Array.isArray(e)?e:[e]);fl[n]||(fl[n]=new WeakMap);var l=fl[n],i=[],a=new Set,u=new Set(o),s=function(f){!f||a.has(f)||(a.add(f),s(f.parentNode))};o.forEach(s);var d=function(f){!f||u.has(f)||Array.prototype.forEach.call(f.children,function(v){if(a.has(v))d(v);else try{var w=v.getAttribute(r),x=w!==null&&w!=="false",y=(or.get(v)||0)+1,N=(l.get(v)||0)+1;or.set(v,y),l.set(v,N),i.push(v),y===1&&x&&dl.set(v,!0),N===1&&v.setAttribute(n,"true"),x||v.setAttribute(r,"true")}catch(m){console.error("aria-hidden: cannot operate on ",v,m)}})};return d(t),a.clear(),sa++,function(){i.forEach(function(f){var v=or.get(f)-1,w=l.get(f)-1;or.set(f,v),l.set(f,w),v||(dl.has(f)||f.removeAttribute(r),dl.delete(f)),w||f.removeAttribute(n)}),sa--,sa||(or=new WeakMap,or=new WeakMap,dl=new WeakMap,fl={})}},py=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||cy(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),fy(r,o,n,"aria-hidden")):function(){return null}};const Jp="Dialog",[qp,em]=Ip(Jp),[my,Dt]=qp(Jp),hy=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,d]=o0({prop:r,defaultProp:o,onChange:l});return p.createElement(my,{scope:t,triggerRef:a,contentRef:u,contentId:ta(),titleId:ta(),descriptionId:ta(),open:s,onOpenChange:d,onOpenToggle:p.useCallback(()=>d(f=>!f),[d]),modal:i},n)},tm="DialogPortal",[vy,nm]=qp(tm,{forceMount:void 0}),gy=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,l=Dt(tm,t);return p.createElement(vy,{scope:t,forceMount:n},p.Children.map(r,i=>p.createElement(yi,{present:n||l.open},p.createElement(C0,{asChild:!0,container:o},i))))},us="DialogOverlay",yy=p.forwardRef((e,t)=>{const n=nm(us,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,l=Dt(us,e.__scopeDialog);return l.modal?p.createElement(yi,{present:r||l.open},p.createElement(wy,J({},o,{ref:t}))):null}),wy=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Dt(us,n);return p.createElement(uy,{as:gi,allowPinchZoom:!0,shards:[o.contentRef]},p.createElement(Nn.div,J({"data-state":lm(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),Rr="DialogContent",xy=p.forwardRef((e,t)=>{const n=nm(Rr,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,l=Dt(Rr,e.__scopeDialog);return p.createElement(yi,{present:r||l.open},l.modal?p.createElement(Sy,J({},o,{ref:t})):p.createElement(Ey,J({},o,{ref:t})))}),Sy=p.forwardRef((e,t)=>{const n=Dt(Rr,e.__scopeDialog),r=p.useRef(null),o=Qn(t,n.contentRef,r);return p.useEffect(()=>{const l=r.current;if(l)return py(l)},[]),p.createElement(rm,J({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:xn(e.onCloseAutoFocus,l=>{var i;l.preventDefault(),(i=n.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:xn(e.onPointerDownOutside,l=>{const i=l.detail.originalEvent,a=i.button===0&&i.ctrlKey===!0;(i.button===2||a)&&l.preventDefault()}),onFocusOutside:xn(e.onFocusOutside,l=>l.preventDefault())}))}),Ey=p.forwardRef((e,t)=>{const n=Dt(Rr,e.__scopeDialog),r=p.useRef(!1),o=p.useRef(!1);return p.createElement(rm,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()}}))}),rm=p.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:l,...i}=e,a=Dt(Rr,n),u=p.useRef(null),s=Qn(t,u);return $0(),p.createElement(p.Fragment,null,p.createElement(g0,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:l},p.createElement(m0,J({role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":lm(a.open)},i,{ref:s,onDismiss:()=>a.onOpenChange(!1)}))),!1)}),om="DialogTitle",ky=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Dt(om,n);return p.createElement(Nn.h2,J({id:o.titleId},r,{ref:t}))}),Cy="DialogDescription",by=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Dt(Cy,n);return p.createElement(Nn.p,J({id:o.descriptionId},r,{ref:t}))}),Ny="DialogClose",$y=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Dt(Ny,n);return p.createElement(Nn.button,J({type:"button"},r,{ref:t,onClick:xn(e.onClick,()=>o.onOpenChange(!1))}))});function lm(e){return e?"open":"closed"}const _y="DialogTitleWarning",[Ty,Lw]=qg(_y,{contentName:Rr,titleName:om,docsSlug:"dialog"}),Py=hy,Ry=gy,Dy=yy,Oy=xy,Ay=ky,Ly=by,im=$y,My="AlertDialog",[zy,Mw]=Ip(My,[em]),$n=em(),Iy=e=>{const{__scopeAlertDialog:t,...n}=e,r=$n(t);return p.createElement(Py,J({},r,n,{modal:!0}))},jy=e=>{const{__scopeAlertDialog:t,...n}=e,r=$n(t);return p.createElement(Ry,J({},r,n))},Fy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=$n(n);return p.createElement(Dy,J({},o,r,{ref:t}))}),am="AlertDialogContent",[Uy,By]=zy(am),Hy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,children:r,...o}=e,l=$n(n),i=p.useRef(null),a=Qn(t,i),u=p.useRef(null);return p.createElement(Ty,{contentName:am,titleName:Wy,docsSlug:"alert-dialog"},p.createElement(Uy,{scope:n,cancelRef:u},p.createElement(Oy,J({role:"alertdialog"},l,o,{ref:a,onOpenAutoFocus:xn(o.onOpenAutoFocus,s=>{var d;s.preventDefault(),(d=u.current)===null||d===void 0||d.focus({preventScroll:!0})}),onPointerDownOutside:s=>s.preventDefault(),onInteractOutside:s=>s.preventDefault()}),p.createElement(Fp,null,r),!1)))}),Wy="AlertDialogTitle",Vy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=$n(n);return p.createElement(Ay,J({},o,r,{ref:t}))}),Yy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=$n(n);return p.createElement(Ly,J({},o,r,{ref:t}))}),Qy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=$n(n);return p.createElement(im,J({},o,r,{ref:t}))}),Gy="AlertDialogCancel",Ky=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=By(Gy,n),l=$n(n),i=Qn(t,o);return p.createElement(im,J({},l,r,{ref:i}))}),Xy=Iy,Zy=jy,sm=Fy,um=Hy,cm=Qy,dm=Ky,fm=Vy,pm=Yy;function mm(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 sd=/^\[(.+)\]$/;function e1(e){if(sd.test(e)){const t=sd.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function t1(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return r1(Object.entries(e.classGroups),n).forEach(([l,i])=>{cs(i,r,l,t)}),r}function cs(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const l=o===""?t:ud(t,o);l.classGroupId=n;return}if(typeof o=="function"){if(n1(o)){cs(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([l,i])=>{cs(i,ud(t,l),n,r)})})}function ud(e,t){let n=e;return t.split(su).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function n1(e){return e.isThemeGetter}function r1(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 o1(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 vm="!";function l1(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,d;for(let y=0;ys?d-s:void 0;return{modifiers:a,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:x}}}function i1(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 a1(e){return{cache:o1(e.cacheSize),splitModifiers:l1(e),...qy(e)}}const s1=/\s+/;function u1(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,l=new Set;return e.trim().split(s1).map(i=>{const{modifiers:a,hasImportantModifier:u,baseClassName:s,maybePostfixModifierPosition:d}=n(i);let f=r(d?s.substring(0,d):s),v=!!d;if(!f){if(!d)return{isTailwindClass:!1,originalClassName:i};if(f=r(s),!f)return{isTailwindClass:!1,originalClassName:i};v=!1}const w=i1(a).join(":");return{isTailwindClass:!0,modifierId:u?w+vm:w,classGroupId:f,originalClassName:i,hasPostfixModifier:v}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:a,classGroupId:u,hasPostfixModifier:s}=i,d=a+u;return l.has(d)?!1:(l.add(d),o(u,s).forEach(f=>l.add(a+f)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function c1(){let e=0,t,n,r="";for(;ef(d),e());return n=a1(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 d=u1(u,n);return o(u,d),d}return function(){return l(c1.apply(null,arguments))}}function ne(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const ym=/^\[(?:([a-z-]+):)?(.+)\]$/i,f1=/^\d+\/\d+$/,p1=new Set(["px","full","screen"]),m1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,h1=/\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$/,v1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,g1=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,y1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Ut(e){return Mn(e)||p1.has(e)||f1.test(e)}function nn(e){return Mr(e,"length",N1)}function Mn(e){return!!e&&!Number.isNaN(Number(e))}function pl(e){return Mr(e,"number",Mn)}function Jr(e){return!!e&&Number.isInteger(Number(e))}function w1(e){return e.endsWith("%")&&Mn(e.slice(0,-1))}function F(e){return ym.test(e)}function rn(e){return m1.test(e)}const x1=new Set(["length","size","percentage"]);function S1(e){return Mr(e,x1,wm)}function E1(e){return Mr(e,"position",wm)}const k1=new Set(["image","url"]);function C1(e){return Mr(e,k1,_1)}function b1(e){return Mr(e,"",$1)}function qr(){return!0}function Mr(e,t,n){const r=ym.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function N1(e){return h1.test(e)&&!v1.test(e)}function wm(){return!1}function $1(e){return g1.test(e)}function _1(e){return y1.test(e)}function T1(){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"),d=ne("hueRotate"),f=ne("invert"),v=ne("gap"),w=ne("gradientColorStops"),x=ne("gradientColorStopPositions"),y=ne("inset"),N=ne("margin"),m=ne("opacity"),c=ne("padding"),h=ne("saturate"),E=ne("scale"),k=ne("sepia"),T=ne("skew"),_=ne("space"),b=ne("translate"),U=()=>["auto","contain","none"],z=()=>["auto","hidden","clip","visible","scroll"],Q=()=>["auto",F,t],B=()=>[F,t],he=()=>["",Ut,nn],G=()=>["auto",Mn,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=()=>[Mn,pl],M=()=>[Mn,F];return{cacheSize:500,separator:":",theme:{colors:[qr],spacing:[Ut,nn],blur:["none","",rn,F],brightness:I(),borderColor:[e],borderRadius:["none","","full",rn,F],borderSpacing:B(),borderWidth:he(),contrast:I(),grayscale:L(),hueRotate:M(),invert:L(),gap:B(),gradientColorStops:[e],gradientColorStopPositions:[w1,nn],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:[rn]}],"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:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],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:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"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:[c]}],px:[{px:[c]}],py:[{py:[c]}],ps:[{ps:[c]}],pe:[{pe:[c]}],pt:[{pt:[c]}],pr:[{pr:[c]}],pb:[{pb:[c]}],pl:[{pl:[c]}],m:[{m:[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:[rn]},rn]}],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",rn,nn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",pl]}],"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",Mn,pl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ut,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",Ut,nn]}],"underline-offset":[{"underline-offset":["auto",Ut,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(),E1]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",S1]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},C1]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"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":[Ut,F]}],"outline-w":[{outline:[Ut,nn]}],"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":[Ut,nn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",rn,b1]}],"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",rn,F]}],grayscale:[{grayscale:[s]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[h]}],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":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[h]}],"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:[Ut,nn,pl]}],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 P1=d1(T1);function Et(...e){return P1(Jy(e))}function xm(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,dd=R1,Sm=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return dd(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 d=n==null?void 0:n[s],f=l==null?void 0:l[s];if(d===null)return null;const v=cd(d)||cd(f);return o[s][v]}),a=n&&Object.entries(n).reduce((s,d)=>{let[f,v]=d;return v===void 0||(s[f]=v),s},{}),u=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((s,d)=>{let{class:f,className:v,...w}=d;return Object.entries(w).every(x=>{let[y,N]=x;return Array.isArray(N)?N.includes({...l,...a}[y]):{...l,...a}[y]===N})?[...s,f,v]:s},[]);return dd(e,i,u,n==null?void 0:n.class,n==null?void 0:n.className)},uu=Sm("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"}}),Gn=p.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},l)=>{const i=r?gi:"button";return S.jsx(i,{className:Et(uu({variant:t,size:n,className:e})),ref:l,...o})});Gn.displayName="Button";const Em=Xy,D1=Zy,km=p.forwardRef(({className:e,...t},n)=>S.jsx(sm,{className:Et("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}));km.displayName=sm.displayName;const cu=p.forwardRef(({className:e,...t},n)=>S.jsxs(D1,{children:[S.jsx(km,{}),S.jsx(um,{ref:n,className:Et("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})]}));cu.displayName=um.displayName;const du=({className:e,...t})=>S.jsx("div",{className:Et("flex flex-col space-y-2 text-center sm:text-left",e),...t});du.displayName="AlertDialogHeader";const fu=({className:e,...t})=>S.jsx("div",{className:Et("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});fu.displayName="AlertDialogFooter";const pu=p.forwardRef(({className:e,...t},n)=>S.jsx(fm,{ref:n,className:Et("text-lg font-semibold",e),...t}));pu.displayName=fm.displayName;const mu=p.forwardRef(({className:e,...t},n)=>S.jsx(pm,{ref:n,className:Et("text-sm text-muted-foreground",e),...t}));mu.displayName=pm.displayName;const hu=p.forwardRef(({className:e,...t},n)=>S.jsx(cm,{ref:n,className:Et(uu(),e),...t}));hu.displayName=cm.displayName;const vu=p.forwardRef(({className:e,...t},n)=>S.jsx(dm,{ref:n,className:Et(uu({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));vu.displayName=dm.displayName;const yt=p.forwardRef(({className:e,type:t,...n},r)=>S.jsx("input",{type:t,className:Et("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}));yt.displayName="Input";const O1=p.forwardRef((e,t)=>p.createElement(Nn.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()}}))),Cm=O1,A1=Sm("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Tt=p.forwardRef(({className:e,...t},n)=>S.jsx(Cm,{ref:n,className:Et(A1(),e),...t}));Tt.displayName=Cm.displayName;function gu(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 L1=["color"],M1=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=gu(e,L1);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"}))}),z1=["color"],I1=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=gu(e,z1);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"}))}),j1=["color"],F1=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=gu(e,j1);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 yu({open:e,setOpen:t}){return S.jsx(Gn,{size:"sm","mr-2":"",variant:"secondary",onClick:()=>t(!e),children:e?S.jsx(I1,{}):S.jsx(M1,{})})}var U1={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const fd=e=>{let t;const n=new Set,r=(d,f)=>{const v=typeof d=="function"?d(t):d;if(!Object.is(v,t)){const w=t;t=f??(typeof v!="object"||v===null)?v:Object.assign({},t,v),n.forEach(x=>x(t,w))}},o=()=>t,u={setState:r,getState:o,getInitialState:()=>s,subscribe:d=>(n.add(d),()=>n.delete(d)),destroy:()=>{(U1?"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},B1=e=>e?fd(e):fd;var bm={exports:{}},Nm={},$m={exports:{}},_m={};/** +`)},sy=0,rr=[];function uy(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),o=p.useState(sy++)[0],l=p.useState(function(){return Vp()})[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=P0([e.lockRef.current],(e.shards||[]).map(ad),!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=cl(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=ld(_,T);if(!b)return!0;if(b?k=_:(k=_==="v"?"h":"v",b=ld(_,T)),!b)return!1;if(!r.current&&"changedTouches"in y&&(v||E)&&(r.current=k),!k)return!0;var U=r.current||k;return ly(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?id(N):cl(N),f=t.current.filter(function(k){return k.name===N.type&&k.target===N.target&&iy(k.delta,m)})[0];if(f&&f.should){N.cancelable&&N.preventDefault();return}if(!f){var v=(i.current.shards||[]).map(ad).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=cl(y),r.current=void 0},[]),d=p.useCallback(function(y){s(y.type,id(y),y.target,a(y,e.lockRef.current))},[]),h=p.useCallback(function(y){s(y.type,cl(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:ay(o)}):null,w?p.createElement(J0,{gapMode:"margin"}):null)}const cy=j0(Wp,uy);var Kp=p.forwardRef(function(e,t){return p.createElement(wi,Tt({},e,{ref:t,sideCar:cy}))});Kp.classNames=wi.classNames;const dy=Kp;var fy=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},or=new WeakMap,dl=new WeakMap,fl={},sa=0,Xp=function(e){return e&&(e.host||Xp(e.parentNode))},py=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Xp(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})},my=function(e,t,n,r){var o=py(t,Array.isArray(e)?e:[e]);fl[n]||(fl[n]=new WeakMap);var l=fl[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&&dl.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(),sa++,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||(dl.has(d)||d.removeAttribute(r),dl.delete(d)),w||d.removeAttribute(n)}),sa--,sa||(or=new WeakMap,or=new WeakMap,dl=new WeakMap,fl={})}},hy=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||fy(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),my(r,o,n,"aria-hidden")):function(){return null}};const Zp="Dialog",[Jp,qp]=zp(Zp),[vy,Dt]=Jp(Zp),gy=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]=i0({prop:r,defaultProp:o,onChange:l});return p.createElement(vy,{scope:t,triggerRef:a,contentRef:u,contentId:ta(),titleId:ta(),descriptionId:ta(),open:s,onOpenChange:c,onOpenToggle:p.useCallback(()=>c(d=>!d),[c]),modal:i},n)},em="DialogPortal",[yy,tm]=Jp(em,{forceMount:void 0}),wy=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,l=Dt(em,t);return p.createElement(yy,{scope:t,forceMount:n},p.Children.map(r,i=>p.createElement(yi,{present:n||l.open},p.createElement(N0,{asChild:!0,container:o},i))))},cs="DialogOverlay",xy=p.forwardRef((e,t)=>{const n=tm(cs,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,l=Dt(cs,e.__scopeDialog);return l.modal?p.createElement(yi,{present:r||l.open},p.createElement(Sy,J({},o,{ref:t}))):null}),Sy=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Dt(cs,n);return p.createElement(dy,{as:gi,allowPinchZoom:!0,shards:[o.contentRef]},p.createElement($n.div,J({"data-state":om(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),Rr="DialogContent",Ey=p.forwardRef((e,t)=>{const n=tm(Rr,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,l=Dt(Rr,e.__scopeDialog);return p.createElement(yi,{present:r||l.open},l.modal?p.createElement(ky,J({},o,{ref:t})):p.createElement(Cy,J({},o,{ref:t})))}),ky=p.forwardRef((e,t)=>{const n=Dt(Rr,e.__scopeDialog),r=p.useRef(null),o=Gn(t,n.contentRef,r);return p.useEffect(()=>{const l=r.current;if(l)return hy(l)},[]),p.createElement(nm,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())}))}),Cy=p.forwardRef((e,t)=>{const n=Dt(Rr,e.__scopeDialog),r=p.useRef(!1),o=p.useRef(!1);return p.createElement(nm,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()}}))}),nm=p.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:l,...i}=e,a=Dt(Rr,n),u=p.useRef(null),s=Gn(t,u);return T0(),p.createElement(p.Fragment,null,p.createElement(w0,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:l},p.createElement(v0,J({role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":om(a.open)},i,{ref:s,onDismiss:()=>a.onOpenChange(!1)}))),!1)}),rm="DialogTitle",by=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Dt(rm,n);return p.createElement($n.h2,J({id:o.titleId},r,{ref:t}))}),Ny="DialogDescription",$y=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Dt(Ny,n);return p.createElement($n.p,J({id:o.descriptionId},r,{ref:t}))}),_y="DialogClose",Ty=p.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Dt(_y,n);return p.createElement($n.button,J({type:"button"},r,{ref:t,onClick:Sn(e.onClick,()=>o.onOpenChange(!1))}))});function om(e){return e?"open":"closed"}const Py="DialogTitleWarning",[Ry,Mw]=t0(Py,{contentName:Rr,titleName:rm,docsSlug:"dialog"}),Dy=gy,Oy=wy,Ay=xy,Ly=Ey,My=by,zy=$y,lm=Ty,Iy="AlertDialog",[jy,zw]=zp(Iy,[qp]),_n=qp(),Fy=e=>{const{__scopeAlertDialog:t,...n}=e,r=_n(t);return p.createElement(Dy,J({},r,n,{modal:!0}))},Uy=e=>{const{__scopeAlertDialog:t,...n}=e,r=_n(t);return p.createElement(Oy,J({},r,n))},By=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_n(n);return p.createElement(Ay,J({},o,r,{ref:t}))}),im="AlertDialogContent",[Hy,Wy]=jy(im),Vy=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(Ry,{contentName:im,titleName:Yy,docsSlug:"alert-dialog"},p.createElement(Hy,{scope:n,cancelRef:u},p.createElement(Ly,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(jp,null,r),!1)))}),Yy="AlertDialogTitle",Qy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_n(n);return p.createElement(My,J({},o,r,{ref:t}))}),Gy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_n(n);return p.createElement(zy,J({},o,r,{ref:t}))}),Ky=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=_n(n);return p.createElement(lm,J({},o,r,{ref:t}))}),Xy="AlertDialogCancel",Zy=p.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=Wy(Xy,n),l=_n(n),i=Gn(t,o);return p.createElement(lm,J({},l,r,{ref:i}))}),Jy=Fy,qy=Uy,am=By,sm=Vy,um=Ky,cm=Zy,dm=Qy,fm=Gy;function pm(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 sd=/^\[(.+)\]$/;function n1(e){if(sd.test(e)){const t=sd.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function r1(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return l1(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:ud(t,o);l.classGroupId=n;return}if(typeof o=="function"){if(o1(o)){ds(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([l,i])=>{ds(i,ud(t,l),n,r)})})}function ud(e,t){let n=e;return t.split(uu).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function o1(e){return e.isThemeGetter}function l1(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 i1(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 hm="!";function a1(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 s1(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 u1(e){return{cache:i1(e.cacheSize),splitModifiers:a1(e),...t1(e)}}const c1=/\s+/;function d1(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,l=new Set;return e.trim().split(c1).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=s1(a).join(":");return{isTailwindClass:!0,modifierId:u?w+hm: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 f1(){let e=0,t,n,r="";for(;ed(c),e());return n=u1(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=d1(u,n);return o(u,c),c}return function(){return l(f1.apply(null,arguments))}}function ne(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const gm=/^\[(?:([a-z-]+):)?(.+)\]$/i,m1=/^\d+\/\d+$/,h1=new Set(["px","full","screen"]),v1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,g1=/\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$/,y1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,w1=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,x1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Ut(e){return zn(e)||h1.has(e)||m1.test(e)}function rn(e){return Mr(e,"length",_1)}function zn(e){return!!e&&!Number.isNaN(Number(e))}function pl(e){return Mr(e,"number",zn)}function Jr(e){return!!e&&Number.isInteger(Number(e))}function S1(e){return e.endsWith("%")&&zn(e.slice(0,-1))}function F(e){return gm.test(e)}function on(e){return v1.test(e)}const E1=new Set(["length","size","percentage"]);function k1(e){return Mr(e,E1,ym)}function C1(e){return Mr(e,"position",ym)}const b1=new Set(["image","url"]);function N1(e){return Mr(e,b1,P1)}function $1(e){return Mr(e,"",T1)}function qr(){return!0}function Mr(e,t,n){const r=gm.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function _1(e){return g1.test(e)&&!y1.test(e)}function ym(){return!1}function T1(e){return w1.test(e)}function P1(e){return x1.test(e)}function R1(){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"],z=()=>["auto","hidden","clip","visible","scroll"],Q=()=>["auto",F,t],B=()=>[F,t],he=()=>["",Ut,rn],G=()=>["auto",zn,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=()=>[zn,pl],M=()=>[zn,F];return{cacheSize:500,separator:":",theme:{colors:[qr],spacing:[Ut,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:[S1,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:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],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",pl]}],"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",zn,pl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ut,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",Ut,rn]}],"underline-offset":[{"underline-offset":["auto",Ut,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(),C1]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",k1]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},N1]}],"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":[Ut,F]}],"outline-w":[{outline:[Ut,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":[Ut,rn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",on,$1]}],"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:[Ut,rn,pl]}],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 D1=p1(R1);function dt(...e){return D1(e1(e))}function wm(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,dd=O1,xm=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return dd(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=cd(c)||cd(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 dd(e,i,u,n==null?void 0:n.class,n==null?void 0:n.className)},cu=xm("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"}}),Zt=p.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},l)=>{const i=r?gi:"button";return x.jsx(i,{className:dt(cu({variant:t,size:n,className:e})),ref:l,...o})});Zt.displayName="Button";const Sm=Jy,A1=qy,Em=p.forwardRef(({className:e,...t},n)=>x.jsx(am,{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}));Em.displayName=am.displayName;const du=p.forwardRef(({className:e,...t},n)=>x.jsxs(A1,{children:[x.jsx(Em,{}),x.jsx(sm,{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})]}));du.displayName=sm.displayName;const fu=({className:e,...t})=>x.jsx("div",{className:dt("flex flex-col space-y-2 text-center sm:text-left",e),...t});fu.displayName="AlertDialogHeader";const pu=({className:e,...t})=>x.jsx("div",{className:dt("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});pu.displayName="AlertDialogFooter";const mu=p.forwardRef(({className:e,...t},n)=>x.jsx(dm,{ref:n,className:dt("text-lg font-semibold",e),...t}));mu.displayName=dm.displayName;const L1=p.forwardRef(({className:e,...t},n)=>x.jsx(fm,{ref:n,className:dt("text-sm text-muted-foreground",e),...t}));L1.displayName=fm.displayName;const hu=p.forwardRef(({className:e,...t},n)=>x.jsx(um,{ref:n,className:dt(cu(),e),...t}));hu.displayName=um.displayName;const vu=p.forwardRef(({className:e,...t},n)=>x.jsx(cm,{ref:n,className:dt(cu({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));vu.displayName=cm.displayName;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";const M1=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()}}))),km=M1,z1=xm("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),lt=p.forwardRef(({className:e,...t},n)=>x.jsx(km,{ref:n,className:dt(z1(),e),...t}));lt.displayName=km.displayName;function gu(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 I1=["color"],j1=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=gu(e,I1);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"}))}),F1=["color"],U1=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=gu(e,F1);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"}))}),B1=["color"],Cm=p.forwardRef(function(e,t){var n=e.color,r=n===void 0?"currentColor":n,o=gu(e,B1);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 yu({open:e,setOpen:t}){return x.jsx(Zt,{size:"sm","mr-2":"",variant:"secondary",onClick:()=>t(!e),children:e?x.jsx(U1,{}):x.jsx(j1,{})})}var H1={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const fd=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:()=>{(H1?"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},W1=e=>e?fd(e):fd;var bm={exports:{}},Nm={},$m={exports:{}},_m={};/** * @license React * use-sync-external-store-shim.production.min.js * @@ -91,7 +91,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 Dr=p;function H1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var W1=typeof Object.is=="function"?Object.is:H1,V1=Dr.useState,Y1=Dr.useEffect,Q1=Dr.useLayoutEffect,G1=Dr.useDebugValue;function K1(e,t){var n=t(),r=V1({inst:{value:n,getSnapshot:t}}),o=r[0].inst,l=r[1];return Q1(function(){o.value=n,o.getSnapshot=t,ua(o)&&l({inst:o})},[e,n,t]),Y1(function(){return ua(o)&&l({inst:o}),e(function(){ua(o)&&l({inst:o})})},[e]),G1(n),n}function ua(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!W1(e,n)}catch{return!0}}function X1(e,t){return t()}var Z1=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?X1:K1;_m.useSyncExternalStore=Dr.useSyncExternalStore!==void 0?Dr.useSyncExternalStore:Z1;$m.exports=_m;var J1=$m.exports;/** + */var Dr=p;function V1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Y1=typeof Object.is=="function"?Object.is:V1,Q1=Dr.useState,G1=Dr.useEffect,K1=Dr.useLayoutEffect,X1=Dr.useDebugValue;function Z1(e,t){var n=t(),r=Q1({inst:{value:n,getSnapshot:t}}),o=r[0].inst,l=r[1];return K1(function(){o.value=n,o.getSnapshot=t,ua(o)&&l({inst:o})},[e,n,t]),G1(function(){return ua(o)&&l({inst:o}),e(function(){ua(o)&&l({inst:o})})},[e]),X1(n),n}function ua(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Y1(e,n)}catch{return!0}}function J1(e,t){return t()}var q1=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?J1:Z1;_m.useSyncExternalStore=Dr.useSyncExternalStore!==void 0?Dr.useSyncExternalStore:q1;$m.exports=_m;var ew=$m.exports;/** * @license React * use-sync-external-store-shim/with-selector.production.min.js * @@ -99,12 +99,12 @@ 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 xi=p,q1=J1;function ew(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var tw=typeof Object.is=="function"?Object.is:ew,nw=q1.useSyncExternalStore,rw=xi.useRef,ow=xi.useEffect,lw=xi.useMemo,iw=xi.useDebugValue;Nm.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var l=rw(null);if(l.current===null){var i={hasValue:!1,value:null};l.current=i}else i=l.current;l=lw(function(){function u(w){if(!s){if(s=!0,d=w,w=r(w),o!==void 0&&i.hasValue){var x=i.value;if(o(x,w))return f=x}return f=w}if(x=f,tw(d,w))return x;var y=r(w);return o!==void 0&&o(x,y)?x:(d=w,f=y)}var s=!1,d,f,v=n===void 0?null:n;return[function(){return u(t())},v===null?void 0:function(){return u(v())}]},[t,n,r,o]);var a=nw(e,l[0],l[1]);return ow(function(){i.hasValue=!0,i.value=a},[a]),iw(a),a};bm.exports=Nm;var aw=bm.exports;const sw=fs(aw);var Tm={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{useDebugValue:uw}=R,{useSyncExternalStoreWithSelector:cw}=sw;let pd=!1;const dw=e=>e;function fw(e,t=dw,n){(Tm?"production":void 0)!=="production"&&n&&!pd&&(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"),pd=!0);const r=cw(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return uw(r),r}const md=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"?B1(e):e,n=(r,o)=>fw(t,r,o);return Object.assign(n,t),n},pw=e=>e?md(e):md,Pm=pw(e=>({conversations:[],setConversations(t){e(n=>({...n,conversations:t}))},newConversation(t){e(n=>{for(let r=0;r{const o=[...r.conversations];return o[t]=n,{...r,conversations:o}})},addMessage(t){e(n=>{for(let r=0;r{const s=await Do("/api/conversations");l(await s.json())};return p.useEffect(()=>{u()},[]),S.jsxs(S.Fragment,{children:[S.jsxs("h2",{"m-6":"","mb-0":"",flex:"","flex-wrap":"","gap-4":"","justify-between":"","items-center":"",children:[S.jsxs("span",{"inline-flex":"","items-center":"",children:[S.jsx(yu,{open:e,setOpen:t})," Conversations"]}),S.jsx(Gn,{onClick:()=>r(!0),children:"New conversation!"})]}),o&&e?S.jsx("div",{flex:"","flex-wrap":"","gap-4":"","p-4":"",children:o.map((s,d)=>S.jsx(vw,{conversation:s,updateConversation:f=>a(d,f)},s.phoneNumberId))}):void 0,S.jsx(yw,{open:n,newConversation:i,close:()=>r(!1)})]})}function hw(e){return new Intl.DateTimeFormat("en-US",{timeStyle:"short"}).format(e)}function vw({conversation:e,updateConversation:t}){const n=async r=>{r.preventDefault();const o=r.target,l=new FormData(o),i=Object.fromEntries(l).message;if(i==="")return;o.reset();const u=await(await au(`/api/conversations/${e.ID}`,{message:i})).json();t(u)};return S.jsxs("div",{"bg-zinc-900":"","w-100":"",rounded:"",children:[S.jsx("h4",{"m-0":"","p-3":"","border-solid":"","border-0":"","border-b-2":"","border-zinc-700":"","text-zinc-200":"",children:e.phoneNumber}),S.jsx("div",{"h-130":"","overflow-hidden":"",flex:"","flex-col":"","justify-end":"",children:e.messages.map(r=>S.jsx(gw,{message:r},r.whatsappID))}),S.jsx("form",{"bg-zinc-700":"",onSubmit:n,children:S.jsx(yt,{type:"text",name:"message",placeholder:"message"})})]},e.phoneNumber)}function gw({message:e}){return S.jsx("div",{"p-2":"",flex:"",justify:e.direction==="out"?"start":"end",children:S.jsxs("div",{style:{maxWidth:"70%"},"inline-block":"","py-1":"","px-2":"","bg-zinc-800":"",rounded:"",children:[e.headerMessage?S.jsx("div",{"font-bold":"",children:e.headerMessage}):void 0,S.jsxs("div",{children:[S.jsxs("span",{"text-xs":"",children:[hw(new Date(e.timestamp))," - "]}),e.message]}),e.footerMessage?S.jsx("div",{"font-bold":"","text-sm":"","text-zinc-400":"","mt-1":"",children:e.footerMessage}):void 0]})})}function yw({newConversation:e,open:t,close:n}){const[r,o]=p.useState({message:"Hello world!",phoneNumber:""}),l=async()=>{const a=await(await au("/api/conversations",{phoneNumber:r.phoneNumber,message:r.message})).json();e(a),o({message:"Hello world!",phoneNumber:""})};return S.jsx(Em,{open:t,onOpenChange:()=>n(),children:S.jsxs(cu,{children:[S.jsxs(du,{children:[S.jsx(pu,{children:"Create a new conversation"}),S.jsx(mu,{})]}),S.jsx(Tt,{htmlFor:"phoneNumber",children:"Source phone number"}),S.jsx(yt,{value:r.phoneNumber,onChange:i=>o(a=>({...a,phoneNumber:i.target.value})),type:"text",id:"phoneNumber",placeholder:"+31600000000"}),S.jsx(Tt,{htmlFor:"message",children:"Message"}),S.jsx(yt,{value:r.message,onChange:i=>o(a=>({...a,message:i.target.value})),type:"text",id:"message",placeholder:"Hello world!"}),S.jsxs(fu,{children:[S.jsx(vu,{children:"Cancel"}),S.jsx(hu,{onClick:l,children:"Start"})]})]})})}const ww=()=>({ID:0,CreatedAt:null,UpdatedAt:null,DeletedAt:null});function xw(){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 d=n[s];await Do(`/api/templates/${d.ID}`,{method:"DELETE"}),r(f=>{if(!f)return;const v=[...f];return v.splice(s,1),v})};p.useEffect(()=>{i()},[]);const u=s=>{r(d=>{if(d)return[...d,s]})};return S.jsxs(S.Fragment,{children:[S.jsxs("h2",{"m-6":"","mb-0":"",flex:"","flex-wrap":"","gap-4":"","justify-between":"","items-center":"",children:[S.jsxs("span",{"inline-flex":"","items-center":"",children:[S.jsx(yu,{open:e,setOpen:t})," Message templates"]}),S.jsx(Gn,{onClick:()=>l(!0),children:"New template"})]}),n&&e?S.jsx("div",{flex:"","flex-wrap":"","gap-4":"","p-4":"",children:n.map((s,d)=>S.jsx(Sw,{template:s,remove:()=>a(d)},s.ID))}):void 0,S.jsx(Ew,{open:o,newTemplate:u,close:()=>l(!1)})]})}function Sw({template:e,remove:t}){return S.jsxs("div",{flex:"","w-full":"","gap-4":"",children:[S.jsx("div",{children:S.jsx(Gn,{onClick:t,variant:"ghost",children:S.jsx(F1,{})})}),S.jsxs("div",{"overflow-hidden":"",children:[S.jsx("h4",{children:e.name}),S.jsxs("p",{truncate:"","text-sm":"","text-zinc-400":"",children:[e.body," ",e.body]}),S.jsxs("p",{"text-sm":"","text-zinc-500":"",children:[e.header?S.jsxs("span",{children:["Header: ",S.jsx("span",{"text-zinc-400":"",children:e.header})]}):void 0," ",e.footer?S.jsxs("span",{children:["Footer: ",S.jsx("span",{"text-zinc-400":"",children:e.footer})]}):void 0,e.templateCustomButtons.map((n,r)=>S.jsxs(p.Fragment,{children:[" ",S.jsxs("span",{children:["Button ",r+1,": ",S.jsx("span",{"text-zinc-400":"",children:n.text})]})]},r))]})]})]})}const hd=()=>({...ww(),name:"hello_world_2",header:null,body:"",footer:null,templateCustomButtons:[]});function Ew({open:e,newTemplate:t,close:n}){const[r,o]=p.useState(hd()),l=async()=>{const a=await(await au("/api/templates",r)).json();t(a),o(hd())};return S.jsx(Em,{open:e,onOpenChange:()=>n(),children:S.jsxs(cu,{children:[S.jsxs(du,{children:[S.jsx(pu,{children:"Create a new conversation"}),S.jsx(mu,{})]}),S.jsx(Tt,{htmlFor:"header",children:"Name"}),S.jsx(yt,{value:r.name,onChange:i=>o(a=>({...a,header:i.target.value})),name:"name",id:"name",placeholder:"hello_world"}),S.jsx(Tt,{htmlFor:"header",children:"Header"}),S.jsx(yt,{value:r.header??"",onChange:i=>o(a=>({...a,header:i.target.value})),name:"header",id:"header",placeholder:"Header"}),S.jsx(Tt,{htmlFor:"body",children:"Body"}),S.jsx(yt,{value:r.body,onChange:i=>o(a=>({...a,body:i.target.value})),name:"body",id:"body",placeholder:"Hello world!"}),S.jsx(Tt,{htmlFor:"footer",children:"Footer"}),S.jsx(yt,{value:r.footer??"",onChange:i=>o(a=>({...a,footer:i.target.value})),name:"footer",id:"footer",placeholder:"Hello world!"}),S.jsxs(fu,{children:[S.jsx(vu,{children:"Cancel"}),S.jsx(hu,{onClick:l,children:"Start"})]})]})})}function Rm({code:e}){return S.jsxs("pre",{rounded:"","bg-zinc-800":"","p-3":"","text-sm":"","font-mono":"","overflow-x-scroll":"",children:[S.jsx("br",{}),e,S.jsx("br",{}),S.jsx("br",{})]})}function kw({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 \\ + */var xi=p,tw=ew;function nw(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var rw=typeof Object.is=="function"?Object.is:nw,ow=tw.useSyncExternalStore,lw=xi.useRef,iw=xi.useEffect,aw=xi.useMemo,sw=xi.useDebugValue;Nm.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var l=lw(null);if(l.current===null){var i={hasValue:!1,value:null};l.current=i}else i=l.current;l=aw(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,rw(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=ow(e,l[0],l[1]);return iw(function(){i.hasValue=!0,i.value=a},[a]),sw(a),a};bm.exports=Nm;var uw=bm.exports;const cw=ps(uw);var Tm={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{useDebugValue:dw}=R,{useSyncExternalStoreWithSelector:fw}=cw;let pd=!1;const pw=e=>e;function mw(e,t=pw,n){(Tm?"production":void 0)!=="production"&&n&&!pd&&(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"),pd=!0);const r=fw(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return dw(r),r}const md=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"?W1(e):e,n=(r,o)=>mw(t,r,o);return Object.assign(n,t),n},hw=e=>e?md(e):md,Pm=hw(e=>({conversations:[],setConversations(t){e(n=>({...n,conversations:t}))},newConversation(t){e(n=>{for(let r=0;r{const o=[...r.conversations];return o[t]=n,{...r,conversations:o}})},addMessage(t){e(n=>{for(let r=0;r{const s=await Do("/api/conversations");l(await s.json())};return p.useEffect(()=>{u()},[]),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(yu,{open:e,setOpen:t})," Conversations"]}),x.jsx(Zt,{onClick:()=>r(!0),children:"New conversation!"})]}),o&&e?x.jsx("div",{flex:"","flex-wrap":"","gap-4":"","p-4":"",children:o.map((s,c)=>x.jsx(yw,{conversation:s,updateConversation:d=>a(c,d)},s.phoneNumberId))}):void 0,x.jsx(xw,{open:n,newConversation:i,close:()=>r(!1)})]})}function gw(e){return new Intl.DateTimeFormat("en-US",{timeStyle:"short"}).format(e)}function yw({conversation:e,updateConversation:t}){const n=async r=>{r.preventDefault();const o=r.target,l=new FormData(o),i=Object.fromEntries(l).message;if(i==="")return;o.reset();const u=await(await su(`/api/conversations/${e.ID}`,{message:i})).json();t(u)};return 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-hidden":"",flex:"","flex-col":"","justify-end":"",children:e.messages.map(r=>x.jsx(ww,{message:r},r.whatsappID))}),x.jsx("form",{"bg-zinc-700":"",onSubmit:n,children:x.jsx(xt,{type:"text",name:"message",placeholder:"message"})})]},e.phoneNumber)}function ww({message:e}){return x.jsx("div",{"p-2":"",flex:"",justify: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]})})}function xw({newConversation:e,open:t,close:n}){const[r,o]=p.useState({message:"Hello world!",phoneNumber:""}),l=async()=>{const a=await(await su("/api/conversations",{phoneNumber:r.phoneNumber,message:r.message})).json();e(a),o({message:"Hello world!",phoneNumber:""})};return x.jsx(Sm,{open:t,onOpenChange:()=>n(),children:x.jsxs(du,{children:[x.jsx(fu,{children:x.jsx(mu,{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(pu,{children:[x.jsx(vu,{children:"Cancel"}),x.jsx(hu,{onClick:l,children:"Start"})]})]})})}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(yu,{open:e,setOpen:t})," Message templates"]}),x.jsx(Zt,{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(Zt,{onClick:t,variant:"ghost",children:x.jsx(Cm,{})})}),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 ca=()=>({...Rm(),name:"hello_world_2",header:null,body:"",footer:null,templateCustomButtons:[]});function kw({open:e,newTemplate:t,close:n}){const[r,o]=p.useState(ca()),l=async()=>{const d=await(await su("/api/templates",r)).json();t(d),o(ca())},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(ca())};return x.jsx(Sm,{open:e,onOpenChange:()=>s(),children:x.jsxs(du,{children:[x.jsx(fu,{children:x.jsx(mu,{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(Zt,{onClick:()=>u(d),variant:"ghost",children:x.jsx(Cm,{})})}),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(Zt,{variant:"secondary",onClick:i,children:"New button"})}),x.jsxs(pu,{children:[x.jsx(vu,{children:"Cancel"}),x.jsx(hu,{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 \\ ${r} \\ -H 'Authorization: ${o}' \\ -H 'Content-Type: application/json' \\ - -d '${l}'`;return S.jsxs("form",{onSubmit:i,"w-full":"",children:[S.jsx("h4",{children:"Hello world template"}),S.jsxs("div",{"my-4":"",children:[S.jsx(Tt,{htmlFor:"phoneNumber",children:"Phone number"}),S.jsx(yt,{name:"phoneNumber",id:"phoneNumber",placeholder:"31612345678",value:t,onChange:u=>n(u.target.value)})]}),S.jsx(Rm,{code:a}),S.jsx(Gn,{"mt-3":"",type:"submit",children:"Send"})]})}function Cw({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 d=>{d.preventDefault();const f=await fetch(l,{method:"POST",headers:{Authorization:i,"Content-Type":"application/json"},body:a});f.status>=400?Ro.error(await f.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(Om,{code:a}),x.jsx(Zt,{"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 \\ ${l} \\ -H 'Authorization: ${i}' \\ -H 'Content-Type: application/json' \\ - -d '${a}'`;return S.jsxs("form",{onSubmit:u,"w-full":"",children:[S.jsx("h4",{children:"Message"}),S.jsxs("div",{"my-4":"",children:[S.jsx(Tt,{htmlFor:"phoneNumber",children:"Phone number"}),S.jsx(yt,{name:"phoneNumber",id:"phoneNumber",placeholder:"31612345678",value:t,onChange:d=>n(d.target.value)})]}),S.jsxs("div",{"my-4":"",children:[S.jsx(Tt,{htmlFor:"message",children:"Message"}),S.jsx(yt,{name:"message",id:"message",placeholder:"Hello world!",value:r,onChange:d=>o(d.target.value)})]}),S.jsx(Rm,{code:s}),S.jsx(Gn,{"mt-3":"",type:"submit",children:"Send"})]})}function bw({state:e}){const[t,n]=p.useState(!1);return S.jsxs(S.Fragment,{children:[S.jsx("h2",{"m-6":"","mb-0":"",flex:"","flex-wrap":"","gap-4":"","justify-between":"","items-center":"",children:S.jsxs("span",{"inline-flex":"","items-center":"",children:[S.jsx(yu,{open:t,setOpen:n})," API Examples"]})}),t?S.jsxs("div",{"p-4":"",flex:"","flex-col":"","gap-6":"",children:[S.jsx(kw,{state:e}),S.jsx(Cw,{state:e})]}):void 0]})}class Nw{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()},[]),S.jsxs("div",{children:[S.jsxs("div",{"p-5":"","bg-zinc-900":"",children:[S.jsx("h1",{"m-0":"",children:"Whatsapp Dev"}),S.jsxs("p",{"m-0":"",children:[e.phoneNumber," ",S.jsxs("span",{italic:"","text-zinc-400":"",children:["(id: ",e.phoneNumberID,")"]})]})]}),S.jsx(bw,{state:e}),S.jsx(xw,{}),S.jsx(mw,{}),S.jsx(_w,{})]})}function _w(){const{addMessage:e}=Pm();return p.useEffect(()=>{const t=new Nw(n=>{console.log("websocket message:",n),n.type==="message"&&e(n.message)});return t.start(),()=>t.close()},[]),S.jsx(p.Fragment,{})}var ds={},vd=hi;ds.createRoot=vd.createRoot,ds.hydrateRoot=vd.hydrateRoot;var gd=["light","dark"],Tw="(prefers-color-scheme: dark)",Pw=p.createContext(void 0),Rw={setTheme:e=>{},themes:[]},Dw=()=>{var e;return(e=p.useContext(Pw))!=null?e:Rw};p.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:l,value:i,attrs:a,nonce:u})=>{let s=l==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(x=>`'${x}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=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":"",v=(x,y=!1,N=!0)=>{let m=i?i[x]:x,c=y?x+"|| ''":`'${m}'`,h="";return o&&N&&!y&&gd.includes(x)&&(h+=`d.style.colorScheme = '${x}';`),n==="class"?y||m?h+=`c.add(${c})`:h+="null":m&&(h+=`d[s](n,${c})`),h},w=e?`!function(){${d}${v(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${s})){var t='${Tw}',m=window.matchMedia(t);if(m.media!==t||m.matches){${v("dark")}}else{${v("light")}}}else if(e){${i?`var x=${JSON.stringify(i)};`:""}${v(i?"x[e]":"e",!0)}}${s?"":"else{"+v(l,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${i?`var x=${JSON.stringify(i)};`:""}${v(i?"x[e]":"e",!0)}}else{${v(l,!1,!1)};}${f}}catch(t){}}();`;return p.createElement("script",{nonce:u,dangerouslySetInnerHTML:{__html:w}})});const Ow=({...e})=>{const{theme:t="system"}=Dw();return S.jsx(Jg,{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})};ds.createRoot(document.getElementById("root")).render(S.jsxs(R.StrictMode,{children:[S.jsx($w,{}),S.jsx(Ow,{})]})); + -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(Zt,{"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(yu,{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(vw,{}),x.jsx(Tw,{})]})}function Tw(){const{addMessage:e}=Pm();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 fs={},hd=hi;fs.createRoot=hd.createRoot,fs.hydrateRoot=hd.hydrateRoot;var vd=["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?vd.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&&vd.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})};fs.createRoot(document.getElementById("root")).render(x.jsxs(R.StrictMode,{children:[x.jsx(_w,{}),x.jsx(Aw,{})]})); diff --git a/dist/assets/index-CcCWwAGG.css b/dist/assets/index-CcCWwAGG.css deleted file mode 100644 index 275db29..0000000 --- a/dist/assets/index-CcCWwAGG.css +++ /dev/null @@ -1 +0,0 @@ -*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background: 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%}.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-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-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}.w-9{width:2.25rem}.w-full,[w-full=""]{width:100%}[h-130=""]{height:32.5rem}[w-100=""]{width:25rem}.flex,[flex=""]{display:flex}.inline-flex,[inline-flex=""]{display:inline-flex}.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-center,[items-center=""]{align-items:center}[justify~=start]{justify-content:flex-start}[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-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}[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}} diff --git a/dist/assets/index-GhC8NoeC.css b/dist/assets/index-GhC8NoeC.css new file mode 100644 index 0000000..aebd8a9 --- /dev/null +++ b/dist/assets/index-GhC8NoeC.css @@ -0,0 +1 @@ +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background: 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-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-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-center,[items-center=""]{align-items:center}[justify~=start]{justify-content:flex-start}[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-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}[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}} diff --git a/dist/index.html b/dist/index.html index fb7b21a..d019884 100644 --- a/dist/index.html +++ b/dist/index.html @@ -16,8 +16,8 @@ color: white; } - - + +
diff --git a/src/components/templates/templates.tsx b/src/components/templates/templates.tsx index 8c54898..a388f13 100644 --- a/src/components/templates/templates.tsx +++ b/src/components/templates/templates.tsx @@ -3,7 +3,6 @@ import { AlertDialogAction, AlertDialogCancel, AlertDialogContent, - AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle,